From 1970ae94cea28c38eab97083e80e4999103c72ec Mon Sep 17 00:00:00 2001
From: jdamick
Date: Mon, 21 Nov 2016 11:26:00 -0500
Subject: [PATCH] minimize & update dependencies (#4)
* added simple dag
* removed dead code
* minimized dependencies - added a simple dag so we can remove dependency on terraform
* fixed DFS to be DFS not BFS, oops
---
glide.lock | 48 +-
glide.yaml | 4 -
graph/dag.go | 285 +
graph/dag_test.go | 322 +
stacks/config.go | 69 +-
stacks/config_test.go | 2 +
vendor/github.com/Sirupsen/logrus/.travis.yml | 1 +
vendor/github.com/Sirupsen/logrus/README.md | 47 +-
vendor/github.com/Sirupsen/logrus/alt_exit.go | 64 +
.../Sirupsen/logrus/alt_exit_test.go | 74 +
vendor/github.com/Sirupsen/logrus/entry.go | 57 +-
.../github.com/Sirupsen/logrus/formatter.go | 15 +-
.../logrus/formatters/logstash/logstash.go | 61 -
.../formatters/logstash/logstash_test.go | 52 -
vendor/github.com/Sirupsen/logrus/logger.go | 162 +-
.../Sirupsen/logrus/logger_bench_test.go | 61 +
.../Sirupsen/logrus/terminal_appengine.go | 8 +
.../Sirupsen/logrus/terminal_bsd.go | 1 +
.../Sirupsen/logrus/terminal_linux.go | 2 +
.../Sirupsen/logrus/terminal_notwindows.go | 1 +
.../Sirupsen/logrus/terminal_solaris.go | 2 +-
.../Sirupsen/logrus/terminal_windows.go | 2 +-
.../Sirupsen/logrus/text_formatter.go | 27 +-
vendor/github.com/Sirupsen/logrus/writer.go | 28 +-
vendor/github.com/aws/aws-sdk-go/CHANGELOG.md | 82 +-
vendor/github.com/aws/aws-sdk-go/README.md | 7 +-
.../aws/aws-sdk-go/aws/awsutil/prettify.go | 6 +
.../github.com/aws/aws-sdk-go/aws/config.go | 17 +
.../aws/corehandlers/handlers_test.go | 4 +-
.../ec2rolecreds/ec2_role_provider.go | 2 +-
.../aws/aws-sdk-go/aws/ec2metadata/api.go | 4 +-
.../aws/aws-sdk-go/aws/signer/v4/v4.go | 4 +
.../aws/aws-sdk-go/aws/signer/v4/v4_test.go | 40 +
.../github.com/aws/aws-sdk-go/aws/version.go | 2 +-
.../awstesting/sandbox/Dockerfile.golang-tip | 3 +-
.../service/dynamodb/unitTest/README.md | 49 +
.../service/dynamodb/unitTest/unitTest.go | 41 +
.../dynamodb/unitTest/unitTest_test.go | 59 +
.../sqs/mockingClientsForTests/README.md | 9 +
.../mockingClientsForTests/ifaceExample.go | 77 +
.../ifaceExample_test.go | 63 +
.../apis/apigateway/2015-07-09/api-2.json | 43 +-
.../apis/apigateway/2015-07-09/docs-2.json | 32 +-
.../2016-02-06/api-2.json | 4 +-
.../2016-02-06/docs-2.json | 128 +-
.../apis/cloudformation/2010-05-15/api-2.json | 97 +-
.../cloudformation/2010-05-15/docs-2.json | 97 +-
.../cloudformation/2010-05-15/examples-1.json | 153 +
.../cloudformation/2010-05-15/waiters-2.json | 114 +-
.../apis/cognito-idp/2016-04-18/api-2.json | 19 +-
.../apis/cognito-idp/2016-04-18/docs-2.json | 21 +-
.../apis/directconnect/2012-10-25/api-2.json | 143 +
.../apis/directconnect/2012-10-25/docs-2.json | 104 +-
.../models/apis/ds/2015-04-16/api-2.json | 142 +
.../models/apis/ds/2015-04-16/docs-2.json | 112 +-
.../apis/ecr/2015-09-21/paginators-1.json | 22 +
.../apis/elasticache/2015-02-02/api-2.json | 6 +-
.../apis/elasticache/2015-02-02/docs-2.json | 12 +-
.../elasticmapreduce/2009-03-31/api-2.json | 326 +-
.../elasticmapreduce/2009-03-31/docs-2.json | 305 +-
.../elastictranscoder/2012-09-25/api-2.json | 56 +-
.../elastictranscoder/2012-09-25/docs-2.json | 231 +-
.../2012-09-25/examples-1.json | 5 +
.../models/apis/email/2010-12-01/api-2.json | 428 +-
.../models/apis/email/2010-12-01/docs-2.json | 277 +-
.../apis/gamelift/2015-10-01/api-2.json | 59 +-
.../apis/gamelift/2015-10-01/docs-2.json | 109 +-
.../models/apis/kinesis/2013-12-02/api-2.json | 91 +-
.../apis/kinesis/2013-12-02/docs-2.json | 95 +-
.../models/apis/lambda/2015-03-31/api-2.json | 89 +-
.../models/apis/lambda/2015-03-31/docs-2.json | 86 +-
.../models/apis/logs/2014-03-28/api-2.json | 8 +-
.../models/apis/logs/2014-03-28/docs-2.json | 417 +-
.../meteringmarketplace/2016-01-14/api-2.json | 135 +
.../2016-01-14/docs-2.json | 109 +-
.../apis/monitoring/2010-08-01/api-2.json | 32 +-
.../apis/monitoring/2010-08-01/docs-2.json | 247 +-
.../models/apis/route53/2013-04-01/api-2.json | 384 +-
.../apis/route53/2013-04-01/docs-2.json | 256 +-
.../apis/servicecatalog/2015-12-10/api-2.json | 1242 +-
.../servicecatalog/2015-12-10/docs-2.json | 763 +-
.../models/apis/sqs/2012-11-05/api-2.json | 111 +-
.../models/apis/sqs/2012-11-05/docs-2.json | 141 +-
.../apis/sqs/2012-11-05/examples-1.json | 613 -
.../aws/aws-sdk-go/private/model/api/api.go | 3 +
.../aws/aws-sdk-go/private/model/api/shape.go | 52 +-
.../private/protocol/ec2query/build_test.go | 78 +
.../protocol/ec2query/unmarshal_test.go | 102 +
.../private/protocol/jsonrpc/build_test.go | 72 +
.../protocol/jsonrpc/unmarshal_test.go | 114 +
.../private/protocol/query/build_test.go | 138 +
.../private/protocol/query/unmarshal_test.go | 186 +
.../aws-sdk-go/private/protocol/rest/build.go | 9 +-
.../private/protocol/rest/build_test.go | 30 +
.../private/protocol/restjson/build_test.go | 252 +
.../protocol/restjson/unmarshal_test.go | 174 +
.../private/protocol/restxml/build_test.go | 282 +
.../protocol/restxml/unmarshal_test.go | 198 +
.../aws/aws-sdk-go/service/acm/api.go | 354 +
.../aws/aws-sdk-go/service/apigateway/api.go | 2958 +++-
.../service/apigateway/examples_test.go | 19 +-
.../service/applicationautoscaling/api.go | 1072 +-
.../service/applicationautoscaling/service.go | 42 +-
.../applicationdiscoveryservice/api.go | 360 +
.../aws/aws-sdk-go/service/autoscaling/api.go | 2146 ++-
.../aws/aws-sdk-go/service/budgets/api.go | 456 +
.../aws-sdk-go/service/cloudformation/api.go | 1797 ++-
.../cloudformationiface/interface.go | 4 +
.../service/cloudformation/examples_test.go | 40 +-
.../service/cloudformation/service.go | 17 +-
.../service/cloudformation/waiters.go | 82 +-
.../aws/aws-sdk-go/service/cloudfront/api.go | 1830 +++
.../aws/aws-sdk-go/service/cloudhsm/api.go | 600 +
.../aws/aws-sdk-go/service/cloudsearch/api.go | 1170 ++
.../service/cloudsearchdomain/api.go | 354 +
.../aws/aws-sdk-go/service/cloudtrail/api.go | 714 +
.../aws/aws-sdk-go/service/cloudwatch/api.go | 1261 +-
.../service/cloudwatch/examples_test.go | 24 +-
.../service/cloudwatchevents/api.go | 432 +
.../aws-sdk-go/service/cloudwatchlogs/api.go | 1925 ++-
.../service/cloudwatchlogs/examples_test.go | 4 +-
.../service/cloudwatchlogs/service.go | 8 +-
.../aws/aws-sdk-go/service/codecommit/api.go | 444 +
.../aws/aws-sdk-go/service/codedeploy/api.go | 1440 ++
.../aws-sdk-go/service/codepipeline/api.go | 1440 ++
.../aws-sdk-go/service/cognitoidentity/api.go | 534 +
.../service/cognitoidentityprovider/api.go | 2275 ++-
.../cognitoidentityprovider/examples_test.go | 22 +-
.../aws/aws-sdk-go/service/cognitosync/api.go | 702 +
.../aws-sdk-go/service/configservice/api.go | 1158 ++
.../service/databasemigrationservice/api.go | 1614 +-
.../aws-sdk-go/service/datapipeline/api.go | 684 +
.../aws/aws-sdk-go/service/devicefarm/api.go | 1854 +++
.../aws-sdk-go/service/directconnect/api.go | 1220 ++
.../directconnectiface/interface.go | 12 +
.../service/directconnect/examples_test.go | 89 +
.../service/directoryservice/api.go | 1904 ++-
.../directoryserviceiface/interface.go | 12 +
.../service/directoryservice/examples_test.go | 81 +
.../aws/aws-sdk-go/service/dynamodb/api.go | 1356 ++
.../marshaler_examples_test.go | 2 +-
.../aws-sdk-go/service/dynamodbstreams/api.go | 288 +
.../aws/aws-sdk-go/service/ec2/api.go | 12496 +++++++++++++++-
.../aws/aws-sdk-go/service/ecr/api.go | 831 +
.../service/ecr/ecriface/interface.go | 6 +
.../aws/aws-sdk-go/service/ecs/api.go | 1680 +++
.../aws/aws-sdk-go/service/efs/api.go | 336 +
.../aws/aws-sdk-go/service/elasticache/api.go | 2566 +++-
.../service/elasticache/examples_test.go | 2 +
.../service/elasticbeanstalk/api.go | 2070 +++
.../service/elasticsearchservice/api.go | 480 +
.../service/elastictranscoder/api.go | 2661 +++-
.../elastictranscoder/examples_test.go | 74 +-
.../aws/aws-sdk-go/service/elb/api.go | 972 ++
.../aws/aws-sdk-go/service/elbv2/api.go | 1104 ++
.../aws/aws-sdk-go/service/emr/api.go | 3848 ++++-
.../service/emr/emriface/interface.go | 12 +
.../aws-sdk-go/service/emr/examples_test.go | 208 +-
.../aws/aws-sdk-go/service/emr/service.go | 9 +-
.../aws/aws-sdk-go/service/firehose/api.go | 786 +
.../aws/aws-sdk-go/service/gamelift/api.go | 2176 ++-
.../service/gamelift/examples_test.go | 26 +
.../gamelift/gameliftiface/interface.go | 4 +
.../aws-sdk-go/service/gamelift/service.go | 6 +
.../aws/aws-sdk-go/service/glacier/api.go | 1116 ++
.../aws/aws-sdk-go/service/iam/api.go | 3390 ++++-
.../aws/aws-sdk-go/service/inspector/api.go | 1362 ++
.../aws/aws-sdk-go/service/iot/api.go | 1970 ++-
.../aws-sdk-go/service/iotdataplane/api.go | 60 +
.../aws/aws-sdk-go/service/kinesis/api.go | 1019 +-
.../service/kinesis/examples_test.go | 50 +
.../service/kinesis/kinesisiface/interface.go | 8 +
.../service/kinesisanalytics/api.go | 948 ++
.../aws/aws-sdk-go/service/kms/api.go | 906 ++
.../aws/aws-sdk-go/service/lambda/api.go | 1054 +-
.../service/lambda/examples_test.go | 30 +-
.../aws-sdk-go/service/machinelearning/api.go | 1992 ++-
.../marketplacecommerceanalytics/api.go | 96 +
.../service/marketplacemetering/api.go | 565 +-
.../marketplacemetering/examples_test.go | 59 +
.../marketplacemeteringiface/interface.go | 12 +-
.../service/marketplacemetering/service.go | 14 +-
.../aws-sdk-go/service/mobileanalytics/api.go | 78 +
.../aws/aws-sdk-go/service/opsworks/api.go | 3652 ++++-
.../aws/aws-sdk-go/service/rds/api.go | 5766 ++++++-
.../aws/aws-sdk-go/service/redshift/api.go | 3466 ++++-
.../aws/aws-sdk-go/service/route53/api.go | 3521 ++++-
.../service/route53/examples_test.go | 143 +-
.../service/route53/route53iface/interface.go | 24 +-
.../aws-sdk-go/service/route53domains/api.go | 888 ++
.../aws/aws-sdk-go/service/s3/api.go | 4036 ++++-
.../aws-sdk-go/service/servicecatalog/api.go | 8932 +++++++++--
.../service/servicecatalog/examples_test.go | 994 +-
.../servicecatalogiface/interface.go | 132 +-
.../aws/aws-sdk-go/service/ses/api.go | 2907 +++-
.../aws-sdk-go/service/ses/examples_test.go | 245 +-
.../service/ses/sesiface/interface.go | 28 +
.../aws/aws-sdk-go/service/simpledb/api.go | 330 +
.../aws/aws-sdk-go/service/sms/api.go | 498 +
.../aws/aws-sdk-go/service/snowball/api.go | 540 +
.../aws/aws-sdk-go/service/sns/api.go | 564 +
.../aws/aws-sdk-go/service/sqs/api.go | 1343 +-
.../aws-sdk-go/service/sqs/examples_test.go | 9 +-
.../aws/aws-sdk-go/service/sqs/service.go | 14 +-
.../aws/aws-sdk-go/service/ssm/api.go | 1224 ++
.../aws-sdk-go/service/storagegateway/api.go | 1924 ++-
.../aws/aws-sdk-go/service/sts/api.go | 348 +
.../aws/aws-sdk-go/service/support/api.go | 720 +
.../aws/aws-sdk-go/service/swf/api.go | 3484 ++++-
.../aws/aws-sdk-go/service/waf/api.go | 1332 ++
.../aws/aws-sdk-go/service/workspaces/api.go | 648 +
.../github.com/aymerick/raymond/.gitmodules | 3 -
vendor/github.com/dnaeon/go-vcr/.gitignore | 3 +
vendor/github.com/dnaeon/go-vcr/.travis.yml | 8 +-
vendor/github.com/dnaeon/go-vcr/Makefile | 5 +-
vendor/github.com/dnaeon/go-vcr/README.md | 2 +
.../dnaeon/go-vcr/recorder/recorder.go | 30 +-
.../dnaeon/go-vcr/recorder/recorder_test.go | 201 +-
vendor/github.com/dnaeon/go-vcr/test_cover.sh | 10 +
vendor/github.com/hashicorp/errwrap/LICENSE | 354 -
vendor/github.com/hashicorp/errwrap/README.md | 89 -
.../github.com/hashicorp/errwrap/errwrap.go | 169 -
.../hashicorp/errwrap/errwrap_test.go | 94 -
.../hashicorp/go-multierror/.travis.yml | 12 -
.../hashicorp/go-multierror/LICENSE | 353 -
.../hashicorp/go-multierror/Makefile | 31 -
.../hashicorp/go-multierror/README.md | 97 -
.../hashicorp/go-multierror/append.go | 37 -
.../hashicorp/go-multierror/append_test.go | 64 -
.../hashicorp/go-multierror/flatten.go | 26 -
.../hashicorp/go-multierror/flatten_test.go | 48 -
.../hashicorp/go-multierror/format.go | 23 -
.../hashicorp/go-multierror/format_test.go | 23 -
.../hashicorp/go-multierror/multierror.go | 51 -
.../go-multierror/multierror_test.go | 70 -
.../hashicorp/go-multierror/prefix.go | 37 -
.../hashicorp/go-multierror/prefix_test.go | 33 -
.../hashicorp/go-multierror/scripts/deps.sh | 54 -
.../github.com/hashicorp/hcl/decoder_test.go | 24 +-
.../hashicorp/hcl/hcl/parser/parser_test.go | 4 -
.../hashicorp/hcl/hcl/printer/nodes.go | 52 +-
.../hashicorp/hcl/hcl/printer/printer_test.go | 4 +
.../testdata/comment_multiline_indent.golden | 12 +
.../testdata/comment_multiline_indent.input | 13 +
.../comment_multiline_no_stanza.golden | 7 +
.../comment_multiline_no_stanza.input | 6 +
.../testdata/comment_multiline_stanza.golden | 10 +
.../testdata/comment_multiline_stanza.input | 10 +
.../printer/testdata/multiline_string.golden | 7 +
.../printer/testdata/multiline_string.input | 7 +
.../hashicorp/hcl/hcl/scanner/scanner_test.go | 4 +-
.../hashicorp/hcl/hcl/strconv/quote.go | 12 +-
.../hashicorp/hcl/hcl/strconv/quote_test.go | 2 +-
.../hashicorp/hcl/hcl/token/token_test.go | 6 +
.../hashicorp/hcl/json/parser/flatten.go | 6 +
.../hashicorp/hcl/json/parser/parser.go | 1 +
.../hashicorp/hcl/json/parser/parser_test.go | 42 +-
.../hcl/test-fixtures/escape_backslash.hcl | 5 +
.../test-fixtures/structure_list_empty.json | 3 +
.../terraform/.github/CONTRIBUTING.md | 515 -
.../terraform/.github/ISSUE_TEMPLATE.md | 43 -
.../github.com/hashicorp/terraform/.gitignore | 27 -
.../hashicorp/terraform/.travis.yml | 25 -
.../hashicorp/terraform/BUILDING.md | 56 -
.../hashicorp/terraform/CHANGELOG.md | 2716 ----
vendor/github.com/hashicorp/terraform/LICENSE | 354 -
.../github.com/hashicorp/terraform/Makefile | 95 -
.../github.com/hashicorp/terraform/README.md | 154 -
.../hashicorp/terraform/Vagrantfile | 76 -
.../builtin/bins/provider-archive/main.go | 12 -
.../builtin/bins/provider-atlas/main.go | 12 -
.../builtin/bins/provider-aws/main.go | 12 -
.../builtin/bins/provider-azure/main.go | 12 -
.../builtin/bins/provider-azurerm/main.go | 12 -
.../builtin/bins/provider-bitbucket/main.go | 12 -
.../builtin/bins/provider-chef/main.go | 12 -
.../builtin/bins/provider-clc/main.go | 12 -
.../builtin/bins/provider-cloudflare/main.go | 12 -
.../builtin/bins/provider-cloudstack/main.go | 12 -
.../builtin/bins/provider-cobbler/main.go | 12 -
.../builtin/bins/provider-consul/main.go | 12 -
.../builtin/bins/provider-datadog/main.go | 12 -
.../bins/provider-digitalocean/main.go | 12 -
.../builtin/bins/provider-dme/main.go | 12 -
.../builtin/bins/provider-dnsimple/main.go | 12 -
.../builtin/bins/provider-docker/main.go | 12 -
.../builtin/bins/provider-dyn/main.go | 12 -
.../builtin/bins/provider-fastly/main.go | 12 -
.../builtin/bins/provider-github/main.go | 12 -
.../builtin/bins/provider-google/main.go | 12 -
.../builtin/bins/provider-grafana/main.go | 12 -
.../builtin/bins/provider-heroku/main.go | 12 -
.../builtin/bins/provider-influxdb/main.go | 12 -
.../builtin/bins/provider-librato/main.go | 12 -
.../builtin/bins/provider-logentries/main.go | 12 -
.../bins/provider-logentries/main_test.go | 1 -
.../builtin/bins/provider-mailgun/main.go | 12 -
.../builtin/bins/provider-mysql/main.go | 12 -
.../builtin/bins/provider-null/main.go | 15 -
.../builtin/bins/provider-openstack/main.go | 12 -
.../builtin/bins/provider-packet/main.go | 12 -
.../builtin/bins/provider-postgresql/main.go | 12 -
.../builtin/bins/provider-powerdns/main.go | 12 -
.../builtin/bins/provider-random/main.go | 15 -
.../builtin/bins/provider-rundeck/main.go | 12 -
.../builtin/bins/provider-scaleway/main.go | 12 -
.../builtin/bins/provider-softlayer/main.go | 12 -
.../builtin/bins/provider-statuscake/main.go | 12 -
.../builtin/bins/provider-template/main.go | 12 -
.../builtin/bins/provider-terraform/main.go | 12 -
.../builtin/bins/provider-test/main.go | 15 -
.../builtin/bins/provider-tls/main.go | 12 -
.../builtin/bins/provider-triton/main.go | 12 -
.../builtin/bins/provider-ultradns/main.go | 12 -
.../builtin/bins/provider-vcd/main.go | 12 -
.../builtin/bins/provider-vsphere/main.go | 12 -
.../builtin/bins/provisioner-chef/main.go | 15 -
.../builtin/bins/provisioner-file/main.go | 15 -
.../bins/provisioner-local-exec/main.go | 15 -
.../bins/provisioner-remote-exec/main.go | 15 -
.../builtin/providers/archive/.gitignore | 1 -
.../builtin/providers/archive/archiver.go | 47 -
.../builtin/providers/archive/provider.go | 16 -
.../providers/archive/provider_test.go | 18 -
.../archive/resource_archive_file.go | 183 -
.../archive/resource_archive_file_test.go | 109 -
.../archive/test-fixtures/test-dir/file1.txt | 1 -
.../archive/test-fixtures/test-dir/file2.txt | 1 -
.../archive/test-fixtures/test-dir/file3.txt | 1 -
.../archive/test-fixtures/test-file.txt | 1 -
.../builtin/providers/archive/zip_archiver.go | 107 -
.../providers/archive/zip_archiver_test.go | 84 -
.../providers/atlas/data_source_artifact.go | 149 -
.../atlas/data_source_artifact_test.go | 150 -
.../builtin/providers/atlas/provider.go | 71 -
.../builtin/providers/atlas/provider_test.go | 35 -
.../providers/atlas/resource_artifact.go | 176 -
.../providers/atlas/resource_artifact_test.go | 150 -
.../builtin/providers/aws/auth_helpers.go | 214 -
.../providers/aws/auth_helpers_test.go | 891 --
.../builtin/providers/aws/autoscaling_tags.go | 184 -
.../providers/aws/autoscaling_tags_test.go | 122 -
.../terraform/builtin/providers/aws/awserr.go | 14 -
...nt_distribution_configuration_structure.go | 1040 --
...stribution_configuration_structure_test.go | 1071 --
.../terraform/builtin/providers/aws/config.go | 385 -
.../providers/aws/core_acceptance_test.go | 41 -
.../aws/data_source_availability_zones.go | 87 -
.../data_source_availability_zones_test.go | 142 -
.../providers/aws/data_source_aws_ami.go | 499 -
.../providers/aws/data_source_aws_ami_test.go | 276 -
.../aws/data_source_aws_availability_zone.go | 89 -
.../data_source_aws_availability_zone_test.go | 57 -
...data_source_aws_billing_service_account.go | 29 -
...source_aws_billing_service_account_test.go | 27 -
.../aws/data_source_aws_caller_identity.go | 40 -
.../data_source_aws_caller_identity_test.go | 48 -
.../data_source_aws_cloudformation_stack.go | 117 -
...ta_source_aws_cloudformation_stack_test.go | 78 -
...ata_source_aws_ecs_container_definition.go | 107 -
...ource_aws_ecs_container_definition_test.go | 65 -
.../data_source_aws_elb_service_account.go | 59 -
...ata_source_aws_elb_service_account_test.go | 40 -
.../data_source_aws_iam_policy_document.go | 221 -
...ata_source_aws_iam_policy_document_test.go | 161 -
.../aws/data_source_aws_ip_ranges.go | 151 -
.../aws/data_source_aws_ip_ranges_test.go | 128 -
...ata_source_aws_redshift_service_account.go | 49 -
...ource_aws_redshift_service_account_test.go | 38 -
.../providers/aws/data_source_aws_region.go | 84 -
.../aws/data_source_aws_region_test.go | 64 -
.../aws/data_source_aws_s3_bucket_object.go | 227 -
.../data_source_aws_s3_bucket_object_test.go | 297 -
.../providers/aws/data_source_aws_subnet.go | 123 -
.../aws/data_source_aws_subnet_test.go | 125 -
.../providers/aws/data_source_aws_vpc.go | 121 -
.../providers/aws/data_source_aws_vpc_test.go | 95 -
.../providers/aws/diff_suppress_funcs.go | 15 -
.../builtin/providers/aws/ec2_filters.go | 163 -
.../builtin/providers/aws/ec2_filters_test.go | 158 -
.../builtin/providers/aws/hosted_zones.go | 26 -
.../providers/aws/hosted_zones_test.go | 19 -
.../builtin/providers/aws/iam_policy_model.go | 95 -
.../import_aws_api_gateway_account_test.go | 28 -
.../aws/import_aws_api_gateway_key_test.go | 28 -
.../aws/import_aws_autoscaling_group_test.go | 33 -
.../aws/import_aws_cloudfront_distribution.go | 28 -
...import_aws_cloudfront_distribution_test.go | 35 -
..._cloudfront_origin_access_identity_test.go | 28 -
.../aws/import_aws_cloudtrail_test.go | 31 -
.../import_aws_cloudwatch_event_rule_test.go | 29 -
.../import_aws_cloudwatch_log_group_test.go | 29 -
...import_aws_cloudwatch_metric_alarm_test.go | 28 -
.../aws/import_aws_customer_gateway_test.go | 28 -
.../import_aws_db_event_subscription_test.go | 28 -
.../aws/import_aws_db_instance_test.go | 33 -
.../aws/import_aws_db_option_group_test.go | 31 -
...mport_aws_db_parameter_group_group_test.go | 31 -
.../aws/import_aws_db_security_group_test.go | 33 -
.../aws/import_aws_db_subnet_group_test.go | 30 -
.../aws/import_aws_dynamodb_table_test.go | 28 -
.../aws/import_aws_ebs_volume_test.go | 27 -
.../aws/import_aws_ecr_repository_test.go | 28 -
.../aws/import_aws_efs_file_system_test.go | 29 -
.../aws/import_aws_efs_mount_target_test.go | 28 -
..._aws_elastic_beanstalk_application_test.go | 28 -
..._aws_elastic_beanstalk_environment_test.go | 28 -
.../import_aws_elasticache_cluster_test.go | 36 -
...rt_aws_elasticache_parameter_group_test.go | 28 -
..._aws_elasticache_replication_group_test.go | 37 -
...mport_aws_elasticache_subnet_group_test.go | 34 -
.../providers/aws/import_aws_elb_test.go | 28 -
.../providers/aws/import_aws_flow_log_test.go | 28 -
.../aws/import_aws_glacier_vault_test.go | 28 -
...rt_aws_iam_account_password_policy_test.go | 28 -
.../aws/import_aws_iam_group_test.go | 28 -
.../aws/import_aws_iam_saml_provider_test.go | 28 -
.../providers/aws/import_aws_iam_user_test.go | 30 -
.../providers/aws/import_aws_instance_test.go | 29 -
.../aws/import_aws_internet_gateway_test.go | 28 -
.../providers/aws/import_aws_key_pair_test.go | 29 -
.../providers/aws/import_aws_kms_key_test.go | 29 -
.../aws/import_aws_lambda_function_test.go | 81 -
.../import_aws_launch_configuration_test.go | 29 -
.../aws/import_aws_nat_gateway_test.go | 28 -
.../providers/aws/import_aws_network_acl.go | 95 -
.../aws/import_aws_network_acl_test.go | 37 -
.../aws/import_aws_network_interface_test.go | 28 -
.../import_aws_opsworks_custom_layer_test.go | 31 -
.../aws/import_aws_opsworks_stack_test.go | 31 -
.../aws/import_aws_placement_group_test.go | 28 -
.../import_aws_rds_cluster_instance_test.go | 29 -
...rt_aws_rds_cluster_parameter_group_test.go | 28 -
.../aws/import_aws_rds_cluster_test.go | 32 -
.../aws/import_aws_redshift_cluster_test.go | 32 -
...mport_aws_redshift_parameter_group_test.go | 28 -
...import_aws_redshift_security_group_test.go | 33 -
.../import_aws_redshift_subnet_group_test.go | 30 -
.../import_aws_route53_delegation_set_test.go | 28 -
.../import_aws_route53_health_check_test.go | 28 -
.../aws/import_aws_route53_zone_test.go | 29 -
.../providers/aws/import_aws_route_table.go | 92 -
.../aws/import_aws_route_table_test.go | 37 -
.../providers/aws/import_aws_s3_bucket.go | 39 -
.../import_aws_s3_bucket_notification_test.go | 66 -
.../aws/import_aws_s3_bucket_test.go | 77 -
.../aws/import_aws_security_group.go | 92 -
.../aws/import_aws_security_group_test.go | 56 -
.../aws/import_aws_ses_receipt_filter_test.go | 28 -
.../import_aws_ses_receipt_rule_set_test.go | 28 -
.../aws/import_aws_simpledb_domain_test.go | 28 -
.../import_aws_sns_topic_subscription_test.go | 30 -
.../aws/import_aws_sns_topic_test.go | 28 -
...ort_aws_spot_datafeed_subscription_test.go | 30 -
.../aws/import_aws_sqs_queue_test.go | 32 -
.../providers/aws/import_aws_subnet_test.go | 28 -
.../aws/import_aws_vpc_dhcp_options_test.go | 27 -
.../aws/import_aws_vpc_endpoint_test.go | 28 -
.../import_aws_vpc_peering_connection_test.go | 30 -
.../providers/aws/import_aws_vpc_test.go | 28 -
.../aws/import_aws_vpn_connection_test.go | 28 -
.../aws/import_aws_vpn_gateway_test.go | 28 -
.../providers/aws/network_acl_entry.go | 123 -
.../providers/aws/network_acl_entry_test.go | 174 -
.../builtin/providers/aws/opsworks_layers.go | 645 -
.../builtin/providers/aws/provider.go | 565 -
.../builtin/providers/aws/provider_test.go | 45 -
.../builtin/providers/aws/resource_aws_alb.go | 368 -
.../aws/resource_aws_alb_listener.go | 262 -
.../aws/resource_aws_alb_listener_rule.go | 252 -
.../resource_aws_alb_listener_rule_test.go | 216 -
.../aws/resource_aws_alb_listener_test.go | 385 -
.../aws/resource_aws_alb_target_group.go | 465 -
...esource_aws_alb_target_group_attachment.go | 131 -
...ce_aws_alb_target_group_attachment_test.go | 154 -
.../aws/resource_aws_alb_target_group_test.go | 556 -
.../providers/aws/resource_aws_alb_test.go | 722 -
.../builtin/providers/aws/resource_aws_ami.go | 524 -
.../providers/aws/resource_aws_ami_copy.go | 89 -
.../aws/resource_aws_ami_copy_test.go | 198 -
.../aws/resource_aws_ami_from_instance.go | 70 -
.../resource_aws_ami_from_instance_test.go | 160 -
.../aws/resource_aws_ami_launch_permission.go | 104 -
...resource_aws_ami_launch_permission_test.go | 105 -
.../providers/aws/resource_aws_ami_test.go | 8 -
.../aws/resource_aws_api_gateway_account.go | 127 -
.../resource_aws_api_gateway_account_test.go | 205 -
.../aws/resource_aws_api_gateway_api_key.go | 171 -
.../resource_aws_api_gateway_api_key_test.go | 175 -
.../resource_aws_api_gateway_authorizer.go | 212 -
...esource_aws_api_gateway_authorizer_test.go | 319 -
...ource_aws_api_gateway_base_path_mapping.go | 128 -
..._aws_api_gateway_base_path_mapping_test.go | 138 -
...urce_aws_api_gateway_client_certificate.go | 125 -
...aws_api_gateway_client_certificate_test.go | 128 -
.../resource_aws_api_gateway_deployment.go | 169 -
...esource_aws_api_gateway_deployment_test.go | 157 -
.../resource_aws_api_gateway_domain_name.go | 182 -
...source_aws_api_gateway_domain_name_test.go | 211 -
.../resource_aws_api_gateway_integration.go | 221 -
...ce_aws_api_gateway_integration_response.go | 176 -
...s_api_gateway_integration_response_test.go | 286 -
...source_aws_api_gateway_integration_test.go | 237 -
.../aws/resource_aws_api_gateway_method.go | 270 -
...esource_aws_api_gateway_method_response.go | 210 -
...ce_aws_api_gateway_method_response_test.go | 229 -
.../resource_aws_api_gateway_method_test.go | 350 -
.../aws/resource_aws_api_gateway_model.go | 168 -
.../resource_aws_api_gateway_model_test.go | 136 -
.../aws/resource_aws_api_gateway_resource.go | 148 -
.../resource_aws_api_gateway_resource_test.go | 121 -
.../aws/resource_aws_api_gateway_rest_api.go | 161 -
.../resource_aws_api_gateway_rest_api_test.go | 135 -
...source_aws_app_cookie_stickiness_policy.go | 215 -
...e_aws_app_cookie_stickiness_policy_test.go | 246 -
.../aws/resource_aws_appautoscaling_policy.go | 331 -
...resource_aws_appautoscaling_policy_test.go | 173 -
.../aws/resource_aws_appautoscaling_target.go | 215 -
...resource_aws_appautoscaling_target_test.go | 301 -
.../aws/resource_aws_autoscaling_group.go | 834 --
.../resource_aws_autoscaling_group_test.go | 1304 --
.../resource_aws_autoscaling_group_waiting.go | 132 -
...urce_aws_autoscaling_group_waiting_test.go | 224 -
...resource_aws_autoscaling_lifecycle_hook.go | 194 -
...rce_aws_autoscaling_lifecycle_hook_test.go | 280 -
.../resource_aws_autoscaling_notification.go | 211 -
...ource_aws_autoscaling_notification_test.go | 335 -
.../aws/resource_aws_autoscaling_policy.go | 309 -
.../resource_aws_autoscaling_policy_test.go | 318 -
.../aws/resource_aws_autoscaling_schedule.go | 176 -
.../resource_aws_autoscaling_schedule_test.go | 223 -
.../aws/resource_aws_cloudformation_stack.go | 628 -
.../resource_aws_cloudformation_stack_test.go | 485 -
.../resource_aws_cloudfront_distribution.go | 671 -
...source_aws_cloudfront_distribution_test.go | 748 -
...e_aws_cloudfront_origin_access_identity.go | 138 -
..._cloudfront_origin_access_identity_test.go | 125 -
.../providers/aws/resource_aws_cloudtrail.go | 328 -
.../aws/resource_aws_cloudtrail_test.go | 649 -
.../aws/resource_aws_cloudwatch_event_rule.go | 287 -
...resource_aws_cloudwatch_event_rule_test.go | 267 -
.../resource_aws_cloudwatch_event_target.go | 212 -
...source_aws_cloudwatch_event_target_test.go | 251 -
.../aws/resource_aws_cloudwatch_log_group.go | 158 -
.../resource_aws_cloudwatch_log_group_test.go | 187 -
...source_aws_cloudwatch_log_metric_filter.go | 187 -
...e_aws_cloudwatch_log_metric_filter_test.go | 185 -
.../aws/resource_aws_cloudwatch_log_stream.go | 133 -
...resource_aws_cloudwatch_log_stream_test.go | 152 -
..._aws_cloudwatch_log_subscription_filter.go | 171 -
...cloudwatch_log_subscription_filter_test.go | 173 -
.../resource_aws_cloudwatch_metric_alarm.go | 294 -
...source_aws_cloudwatch_metric_alarm_test.go | 118 -
.../aws/resource_aws_codecommit_repository.go | 197 -
...resource_aws_codecommit_repository_test.go | 186 -
.../aws/resource_aws_codecommit_trigger.go | 163 -
.../resource_aws_codecommit_trigger_test.go | 104 -
.../aws/resource_aws_codedeploy_app.go | 127 -
.../aws/resource_aws_codedeploy_app_test.go | 81 -
...esource_aws_codedeploy_deployment_group.go | 526 -
...ce_aws_codedeploy_deployment_group_test.go | 841 --
.../aws/resource_aws_customer_gateway.go | 239 -
.../aws/resource_aws_customer_gateway_test.go | 205 -
.../aws/resource_aws_db_event_subscription.go | 385 -
...resource_aws_db_event_subscription_test.go | 258 -
.../providers/aws/resource_aws_db_instance.go | 1064 --
.../aws/resource_aws_db_instance_test.go | 767 -
.../aws/resource_aws_db_option_group.go | 370 -
.../aws/resource_aws_db_option_group_test.go | 389 -
.../aws/resource_aws_db_parameter_group.go | 291 -
.../resource_aws_db_parameter_group_test.go | 673 -
.../aws/resource_aws_db_security_group.go | 434 -
.../resource_aws_db_security_group_test.go | 154 -
.../aws/resource_aws_db_subnet_group.go | 257 -
.../aws/resource_aws_db_subnet_group_test.go | 294 -
.../aws/resource_aws_default_network_acl.go | 283 -
.../resource_aws_default_network_acl_test.go | 428 -
.../aws/resource_aws_default_route_table.go | 204 -
.../resource_aws_default_route_table_test.go | 240 -
.../resource_aws_default_security_group.go | 149 -
...esource_aws_default_security_group_test.go | 185 -
...esource_aws_directory_service_directory.go | 489 -
...ce_aws_directory_service_directory_test.go | 408 -
.../aws/resource_aws_dynamodb_table.go | 892 --
.../aws/resource_aws_dynamodb_table_test.go | 406 -
.../providers/aws/resource_aws_ebs_volume.go | 252 -
.../aws/resource_aws_ebs_volume_test.go | 118 -
.../aws/resource_aws_ecr_repository.go | 152 -
.../aws/resource_aws_ecr_repository_policy.go | 141 -
...resource_aws_ecr_repository_policy_test.go | 92 -
.../aws/resource_aws_ecr_repository_test.go | 76 -
.../providers/aws/resource_aws_ecs_cluster.go | 149 -
.../aws/resource_aws_ecs_cluster_test.go | 70 -
.../providers/aws/resource_aws_ecs_service.go | 409 -
.../aws/resource_aws_ecs_service_test.go | 845 --
.../aws/resource_aws_ecs_task_definition.go | 196 -
.../resource_aws_ecs_task_definition_test.go | 483 -
.../aws/resource_aws_efs_file_system.go | 255 -
.../aws/resource_aws_efs_file_system_test.go | 304 -
.../aws/resource_aws_efs_mount_target.go | 298 -
.../aws/resource_aws_efs_mount_target_test.go | 272 -
.../builtin/providers/aws/resource_aws_eip.go | 326 -
.../aws/resource_aws_eip_association.go | 163 -
.../aws/resource_aws_eip_association_test.go | 214 -
.../providers/aws/resource_aws_eip_test.go | 540 -
...ource_aws_elastic_beanstalk_application.go | 152 -
..._aws_elastic_beanstalk_application_test.go | 100 -
...lastic_beanstalk_configuration_template.go | 240 -
...c_beanstalk_configuration_template_test.go | 224 -
...ource_aws_elastic_beanstalk_environment.go | 844 --
...s_elastic_beanstalk_environment_migrate.go | 35 -
...stic_beanstalk_environment_migrate_test.go | 57 -
..._aws_elastic_beanstalk_environment_test.go | 883 --
...esource_aws_elastic_transcoder_pipeline.go | 480 -
...ce_aws_elastic_transcoder_pipeline_test.go | 515 -
.../resource_aws_elastic_transcoder_preset.go | 639 -
...urce_aws_elastic_transcoder_preset_test.go | 240 -
.../aws/resource_aws_elasticache_cluster.go | 674 -
.../resource_aws_elasticache_cluster_test.go | 524 -
...esource_aws_elasticache_parameter_group.go | 215 -
...ce_aws_elasticache_parameter_group_test.go | 203 -
...ource_aws_elasticache_replication_group.go | 453 -
..._aws_elasticache_replication_group_test.go | 546 -
...resource_aws_elasticache_security_group.go | 144 -
...rce_aws_elasticache_security_group_test.go | 97 -
.../resource_aws_elasticache_subnet_group.go | 176 -
...ource_aws_elasticache_subnet_group_test.go | 226 -
.../aws/resource_aws_elasticsearch_domain.go | 455 -
.../resource_aws_elasticsearch_domain_test.go | 231 -
.../builtin/providers/aws/resource_aws_elb.go | 945 --
.../aws/resource_aws_elb_attachment.go | 121 -
.../aws/resource_aws_elb_attachment_test.go | 232 -
.../providers/aws/resource_aws_elb_test.go | 1485 --
.../providers/aws/resource_aws_emr_cluster.go | 668 -
.../aws/resource_aws_emr_cluster_test.go | 373 -
.../aws/resource_aws_emr_instance_group.go | 251 -
.../resource_aws_emr_instance_group_test.go | 356 -
.../providers/aws/resource_aws_flow_log.go | 169 -
.../aws/resource_aws_flow_log_test.go | 217 -
.../aws/resource_aws_glacier_vault.go | 416 -
.../aws/resource_aws_glacier_vault_test.go | 242 -
.../aws/resource_aws_iam_access_key.go | 144 -
.../aws/resource_aws_iam_access_key_test.go | 135 -
...esource_aws_iam_account_password_policy.go | 168 -
...ce_aws_iam_account_password_policy_test.go | 105 -
.../providers/aws/resource_aws_iam_group.go | 129 -
.../aws/resource_aws_iam_group_membership.go | 169 -
.../resource_aws_iam_group_membership_test.go | 233 -
.../aws/resource_aws_iam_group_policy.go | 112 -
...esource_aws_iam_group_policy_attachment.go | 124 -
...ce_aws_iam_group_policy_attachment_test.go | 192 -
.../aws/resource_aws_iam_group_policy_test.go | 144 -
.../aws/resource_aws_iam_group_test.go | 120 -
.../aws/resource_aws_iam_instance_profile.go | 259 -
.../resource_aws_iam_instance_profile_test.go | 143 -
.../providers/aws/resource_aws_iam_policy.go | 227 -
.../aws/resource_aws_iam_policy_attachment.go | 374 -
...resource_aws_iam_policy_attachment_test.go | 335 -
.../providers/aws/resource_aws_iam_role.go | 212 -
.../aws/resource_aws_iam_role_policy.go | 126 -
...resource_aws_iam_role_policy_attachment.go | 126 -
...rce_aws_iam_role_policy_attachment_test.go | 222 -
.../aws/resource_aws_iam_role_policy_test.go | 204 -
.../aws/resource_aws_iam_role_test.go | 278 -
.../aws/resource_aws_iam_saml_provider.go | 123 -
.../resource_aws_iam_saml_provider_test.go | 100 -
.../resource_aws_iam_server_certificate.go | 230 -
...esource_aws_iam_server_certificate_test.go | 357 -
.../providers/aws/resource_aws_iam_user.go | 204 -
.../aws/resource_aws_iam_user_policy.go | 112 -
...resource_aws_iam_user_policy_attachment.go | 123 -
...rce_aws_iam_user_policy_attachment_test.go | 192 -
.../aws/resource_aws_iam_user_policy_test.go | 138 -
.../aws/resource_aws_iam_user_ssh_key.go | 153 -
.../aws/resource_aws_iam_user_ssh_key_test.go | 143 -
.../aws/resource_aws_iam_user_test.go | 120 -
.../providers/aws/resource_aws_instance.go | 1192 --
.../aws/resource_aws_instance_migrate.go | 111 -
.../aws/resource_aws_instance_migrate_test.go | 159 -
.../aws/resource_aws_instance_test.go | 1175 --
.../aws/resource_aws_internet_gateway.go | 354 -
.../aws/resource_aws_internet_gateway_test.go | 236 -
.../providers/aws/resource_aws_key_pair.go | 111 -
.../aws/resource_aws_key_pair_migrate.go | 36 -
.../aws/resource_aws_key_pair_migrate_test.go | 55 -
.../aws/resource_aws_key_pair_test.go | 144 -
...ce_aws_kinesis_firehose_delivery_stream.go | 783 -
...inesis_firehose_delivery_stream_migrate.go | 59 -
...s_firehose_delivery_stream_migrate_test.go | 93 -
...s_kinesis_firehose_delivery_stream_test.go | 587 -
.../aws/resource_aws_kinesis_stream.go | 362 -
.../aws/resource_aws_kinesis_stream_test.go | 307 -
.../providers/aws/resource_aws_kms_alias.go | 182 -
.../aws/resource_aws_kms_alias_test.go | 170 -
.../providers/aws/resource_aws_kms_key.go | 389 -
.../aws/resource_aws_kms_key_test.go | 246 -
.../aws/resource_aws_lambda_alias.go | 138 -
.../aws/resource_aws_lambda_alias_test.go | 159 -
...esource_aws_lambda_event_source_mapping.go | 211 -
...ce_aws_lambda_event_source_mapping_test.go | 335 -
.../aws/resource_aws_lambda_function.go | 477 -
.../aws/resource_aws_lambda_function_test.go | 764 -
.../aws/resource_aws_lambda_permission.go | 372 -
.../resource_aws_lambda_permission_test.go | 722 -
.../aws/resource_aws_launch_configuration.go | 658 -
.../resource_aws_launch_configuration_test.go | 432 -
...esource_aws_lb_cookie_stickiness_policy.go | 181 -
...ce_aws_lb_cookie_stickiness_policy_test.go | 192 -
.../resource_aws_lb_ssl_negotiation_policy.go | 185 -
...urce_aws_lb_ssl_negotiation_policy_test.go | 263 -
...aws_load_balancer_backend_server_policy.go | 138 -
...oad_balancer_backend_server_policy_test.go | 388 -
...ource_aws_load_balancer_listener_policy.go | 138 -
..._aws_load_balancer_listener_policy_test.go | 233 -
.../aws/resource_aws_load_balancer_policy.go | 352 -
.../resource_aws_load_balancer_policy_test.go | 240 -
...source_aws_main_route_table_association.go | 169 -
...e_aws_main_route_table_association_test.go | 169 -
.../providers/aws/resource_aws_nat_gateway.go | 195 -
.../aws/resource_aws_nat_gateway_test.go | 160 -
.../providers/aws/resource_aws_network_acl.go | 617 -
.../aws/resource_aws_network_acl_rule.go | 269 -
.../aws/resource_aws_network_acl_rule_test.go | 197 -
.../aws/resource_aws_network_acl_test.go | 681 -
.../aws/resource_aws_network_interface.go | 368 -
.../resource_aws_network_interface_test.go | 504 -
.../aws/resource_aws_opsworks_application.go | 598 -
.../resource_aws_opsworks_application_test.go | 221 -
.../aws/resource_aws_opsworks_custom_layer.go | 17 -
...resource_aws_opsworks_custom_layer_test.go | 319 -
.../resource_aws_opsworks_ganglia_layer.go | 33 -
.../resource_aws_opsworks_haproxy_layer.go | 48 -
.../aws/resource_aws_opsworks_instance.go | 1013 --
.../resource_aws_opsworks_instance_test.go | 274 -
.../resource_aws_opsworks_java_app_layer.go | 42 -
.../resource_aws_opsworks_memcached_layer.go | 22 -
.../aws/resource_aws_opsworks_mysql_layer.go | 27 -
.../resource_aws_opsworks_nodejs_app_layer.go | 22 -
.../aws/resource_aws_opsworks_permission.go | 154 -
.../resource_aws_opsworks_permission_test.go | 41 -
.../resource_aws_opsworks_php_app_layer.go | 16 -
.../resource_aws_opsworks_rails_app_layer.go | 47 -
.../aws/resource_aws_opsworks_stack.go | 485 -
.../aws/resource_aws_opsworks_stack_test.go | 594 -
.../resource_aws_opsworks_static_web_layer.go | 16 -
.../aws/resource_aws_opsworks_user_profile.go | 136 -
...resource_aws_opsworks_user_profile_test.go | 37 -
.../aws/resource_aws_placement_group.go | 153 -
.../aws/resource_aws_placement_group_test.go | 106 -
.../aws/resource_aws_proxy_protocol_policy.go | 267 -
...resource_aws_proxy_protocol_policy_test.go | 127 -
.../providers/aws/resource_aws_rds_cluster.go | 639 -
.../aws/resource_aws_rds_cluster_instance.go | 362 -
.../resource_aws_rds_cluster_instance_test.go | 362 -
...esource_aws_rds_cluster_parameter_group.go | 275 -
...ce_aws_rds_cluster_parameter_group_test.go | 355 -
.../aws/resource_aws_rds_cluster_test.go | 322 -
.../aws/resource_aws_redshift_cluster.go | 907 --
.../aws/resource_aws_redshift_cluster_test.go | 715 -
.../resource_aws_redshift_parameter_group.go | 242 -
...ource_aws_redshift_parameter_group_test.go | 206 -
.../resource_aws_redshift_security_group.go | 400 -
...source_aws_redshift_security_group_test.go | 425 -
.../aws/resource_aws_redshift_subnet_group.go | 190 -
...resource_aws_redshift_subnet_group_test.go | 220 -
.../providers/aws/resource_aws_route.go | 412 -
.../resource_aws_route53_delegation_set.go | 111 -
...esource_aws_route53_delegation_set_test.go | 157 -
.../aws/resource_aws_route53_health_check.go | 355 -
.../resource_aws_route53_health_check_test.go | 316 -
.../aws/resource_aws_route53_record.go | 750 -
.../resource_aws_route53_record_migrate.go | 62 -
...esource_aws_route53_record_migrate_test.go | 110 -
.../aws/resource_aws_route53_record_test.go | 1037 --
.../aws/resource_aws_route53_zone.go | 387 -
.../resource_aws_route53_zone_association.go | 149 -
...ource_aws_route53_zone_association_test.go | 218 -
.../aws/resource_aws_route53_zone_test.go | 473 -
.../providers/aws/resource_aws_route_table.go | 461 -
.../resource_aws_route_table_association.go | 155 -
...source_aws_route_table_association_test.go | 162 -
.../aws/resource_aws_route_table_test.go | 450 -
.../providers/aws/resource_aws_route_test.go | 414 -
.../providers/aws/resource_aws_s3_bucket.go | 1527 --
.../resource_aws_s3_bucket_notification.go | 467 -
...esource_aws_s3_bucket_notification_test.go | 519 -
.../aws/resource_aws_s3_bucket_object.go | 329 -
.../aws/resource_aws_s3_bucket_object_test.go | 590 -
.../aws/resource_aws_s3_bucket_policy.go | 107 -
.../aws/resource_aws_s3_bucket_policy_test.go | 180 -
.../aws/resource_aws_s3_bucket_test.go | 1189 --
.../aws/resource_aws_security_group.go | 1082 --
.../aws/resource_aws_security_group_rule.go | 596 -
...esource_aws_security_group_rule_migrate.go | 105 -
...ce_aws_security_group_rule_migrate_test.go | 67 -
.../resource_aws_security_group_rule_test.go | 1046 --
..._aws_security_group_rules_matching_test.go | 714 -
.../aws/resource_aws_security_group_test.go | 1860 ---
...esource_aws_ses_active_receipt_rule_set.go | 80 -
...ce_aws_ses_active_receipt_rule_set_test.go | 87 -
.../aws/resource_aws_ses_receipt_filter.go | 109 -
.../resource_aws_ses_receipt_filter_test.go | 99 -
.../aws/resource_aws_ses_receipt_rule.go | 764 -
.../aws/resource_aws_ses_receipt_rule_set.go | 108 -
.../resource_aws_ses_receipt_rule_set_test.go | 91 -
.../aws/resource_aws_ses_receipt_rule_test.go | 292 -
.../aws/resource_aws_simpledb_domain.go | 84 -
.../aws/resource_aws_simpledb_domain_test.go | 80 -
.../providers/aws/resource_aws_sns_topic.go | 221 -
.../aws/resource_aws_sns_topic_policy.go | 178 -
.../aws/resource_aws_sns_topic_policy_test.go | 49 -
.../resource_aws_sns_topic_subscription.go | 295 -
...esource_aws_sns_topic_subscription_test.go | 105 -
.../aws/resource_aws_sns_topic_test.go | 246 -
...resource_aws_spot_datafeed_subscription.go | 93 -
...rce_aws_spot_datafeed_subscription_test.go | 139 -
.../aws/resource_aws_spot_fleet_request.go | 1015 --
...resource_aws_spot_fleet_request_migrate.go | 33 -
...rce_aws_spot_fleet_request_migrate_test.go | 43 -
.../resource_aws_spot_fleet_request_test.go | 942 --
.../aws/resource_aws_spot_instance_request.go | 337 -
...resource_aws_spot_instance_request_test.go | 418 -
.../providers/aws/resource_aws_sqs_queue.go | 248 -
.../aws/resource_aws_sqs_queue_policy.go | 100 -
.../aws/resource_aws_sqs_queue_policy_test.go | 63 -
.../aws/resource_aws_sqs_queue_test.go | 364 -
.../aws/resource_aws_ssm_association.go | 123 -
.../aws/resource_aws_ssm_association_test.go | 135 -
.../aws/resource_aws_ssm_document.go | 346 -
.../aws/resource_aws_ssm_document_test.go | 248 -
.../providers/aws/resource_aws_subnet.go | 228 -
.../providers/aws/resource_aws_subnet_test.go | 121 -
.../aws/resource_aws_volume_attachment.go | 201 -
.../resource_aws_volume_attachment_test.go | 93 -
.../builtin/providers/aws/resource_aws_vpc.go | 453 -
.../aws/resource_aws_vpc_dhcp_options.go | 281 -
...source_aws_vpc_dhcp_options_association.go | 99 -
...e_aws_vpc_dhcp_options_association_test.go | 99 -
.../aws/resource_aws_vpc_dhcp_options_test.go | 119 -
.../aws/resource_aws_vpc_endpoint.go | 221 -
.../aws/resource_aws_vpc_endpoint_test.go | 229 -
.../resource_aws_vpc_peering_connection.go | 367 -
...esource_aws_vpc_peering_connection_test.go | 404 -
.../providers/aws/resource_aws_vpc_test.go | 287 -
.../aws/resource_aws_vpn_connection.go | 441 -
.../aws/resource_aws_vpn_connection_test.go | 207 -
.../providers/aws/resource_aws_vpn_gateway.go | 326 -
.../resource_aws_vpn_gateway_attachment.go | 210 -
...esource_aws_vpn_gateway_attachment_test.go | 163 -
.../aws/resource_aws_vpn_gateway_test.go | 468 -
.../aws/resource_vpn_connection_route.go | 140 -
.../aws/resource_vpn_connection_route_test.go | 197 -
.../builtin/providers/aws/s3_tags.go | 113 -
.../builtin/providers/aws/s3_tags_test.go | 85 -
.../builtin/providers/aws/structure.go | 1614 --
.../builtin/providers/aws/structure_test.go | 1170 --
.../terraform/builtin/providers/aws/tags.go | 212 -
.../builtin/providers/aws/tagsBeanstalk.go | 52 -
.../providers/aws/tagsBeanstalk_test.go | 85 -
.../builtin/providers/aws/tagsCloudFront.go | 98 -
.../builtin/providers/aws/tagsCloudtrail.go | 92 -
.../providers/aws/tagsCloudtrail_test.go | 73 -
.../terraform/builtin/providers/aws/tagsEC.go | 95 -
.../builtin/providers/aws/tagsEC_test.go | 85 -
.../builtin/providers/aws/tagsEFS.go | 94 -
.../builtin/providers/aws/tagsEFS_test.go | 85 -
.../builtin/providers/aws/tagsELB.go | 94 -
.../builtin/providers/aws/tagsELB_test.go | 85 -
.../builtin/providers/aws/tagsRDS.go | 113 -
.../builtin/providers/aws/tagsRDS_test.go | 85 -
.../builtin/providers/aws/tagsRedshift.go | 88 -
.../providers/aws/tagsRedshift_test.go | 54 -
.../aws/tags_elasticsearchservice.go | 94 -
.../aws/tags_elasticsearchservice_test.go | 85 -
.../builtin/providers/aws/tags_kinesis.go | 105 -
.../providers/aws/tags_kinesis_test.go | 84 -
.../builtin/providers/aws/tags_route53.go | 91 -
.../providers/aws/tags_route53_test.go | 85 -
.../builtin/providers/aws/tags_test.go | 85 -
.../cloudformation-template.json | 19 -
.../aws/test-fixtures/emr_configurations.json | 28 -
.../iam-ssl-unix-line-endings.pem | 19 -
.../iam-ssl-windows-line-endings.pem | 19 -
.../aws/test-fixtures/lambda_func.js | 9 -
.../aws/test-fixtures/lambda_func_modified.js | 9 -
.../aws/test-fixtures/lambdatest.zip | Bin 342 -> 0 bytes
.../test-fixtures/saml-metadata-modified.xml | 14 -
.../aws/test-fixtures/saml-metadata.xml | 14 -
.../builtin/providers/aws/validators.go | 501 -
.../builtin/providers/aws/validators_test.go | 689 -
.../aws/website_endpoint_url_test.go | 30 -
.../builtin/providers/azure/config.go | 146 -
.../builtin/providers/azure/constants.go | 48 -
.../builtin/providers/azure/errors.go | 5 -
.../builtin/providers/azure/provider.go | 146 -
.../builtin/providers/azure/provider_test.go | 169 -
.../azure/resource_azure_affinity_group.go | 168 -
.../resource_azure_affinity_group_test.go | 121 -
.../azure/resource_azure_data_disk.go | 343 -
.../azure/resource_azure_data_disk_test.go | 244 -
.../azure/resource_azure_dns_server.go | 240 -
.../azure/resource_azure_dns_server_test.go | 145 -
.../azure/resource_azure_hosted_service.go | 168 -
.../resource_azure_hosted_service_test.go | 132 -
.../azure/resource_azure_instance.go | 846 --
.../azure/resource_azure_instance_test.go | 615 -
.../azure/resource_azure_local_network.go | 253 -
.../resource_azure_local_network_test.go | 144 -
.../azure/resource_azure_security_group.go | 110 -
.../resource_azure_security_group_rule.go | 310 -
...resource_azure_security_group_rule_test.go | 249 -
.../resource_azure_security_group_test.go | 102 -
.../resource_azure_sql_database_server.go | 118 -
...azure_sql_database_server_firewall_rule.go | 225 -
..._sql_database_server_firewall_rule_test.go | 253 -
...resource_azure_sql_database_server_test.go | 158 -
.../resource_azure_sql_database_service.go | 234 -
...esource_azure_sql_database_service_test.go | 195 -
.../azure/resource_azure_storage_blob.go | 172 -
.../azure/resource_azure_storage_blob_test.go | 153 -
.../azure/resource_azure_storage_container.go | 163 -
.../resource_azure_storage_container_test.go | 97 -
.../azure/resource_azure_storage_queue.go | 103 -
.../resource_azure_storage_queue_test.go | 93 -
.../azure/resource_azure_storage_service.go | 217 -
.../resource_azure_storage_service_test.go | 78 -
.../azure/resource_azure_virtual_network.go | 367 -
.../resource_azure_virtual_network_test.go | 283 -
.../builtin/providers/azure/resources.go | 1 -
.../builtin/providers/azure/utils_test.go | 20 -
.../builtin/providers/azurerm/config.go | 442 -
.../import_arm_availability_set_test.go | 34 -
.../azurerm/import_arm_cdn_profile_test.go | 33 -
.../azurerm/import_arm_dns_zone_test.go | 33 -
.../import_arm_local_network_gateway_test.go | 28 -
.../import_arm_network_security_group_test.go | 28 -
.../import_arm_network_security_rule_test.go | 29 -
.../azurerm/import_arm_public_ip_test.go | 33 -
.../azurerm/import_arm_resource_group_test.go | 33 -
...import_arm_servicebus_subscription_test.go | 33 -
.../import_arm_servicebus_topic_test.go | 33 -
.../import_arm_sql_firewall_rule_test.go | 34 -
.../import_arm_storage_account_test.go | 35 -
...mport_arm_traffic_manager_endpoint_test.go | 33 -
...import_arm_traffic_manager_profile_test.go | 33 -
...import_arm_virtual_network_peering_test.go | 33 -
.../import_arm_virtual_network_test.go | 33 -
.../builtin/providers/azurerm/loadbalancer.go | 144 -
.../azurerm/network_security_rule.go | 46 -
.../azurerm/network_security_rule_test.go | 115 -
.../builtin/providers/azurerm/provider.go | 253 -
.../providers/azurerm/provider_test.go | 40 -
.../azurerm/resource_arm_availability_set.go | 153 -
.../resource_arm_availability_set_test.go | 261 -
.../azurerm/resource_arm_cdn_endpoint.go | 425 -
.../azurerm/resource_arm_cdn_endpoint_test.go | 260 -
.../azurerm/resource_arm_cdn_profile.go | 176 -
.../azurerm/resource_arm_cdn_profile_test.go | 211 -
.../azurerm/resource_arm_dns_a_record.go | 165 -
.../azurerm/resource_arm_dns_a_record_test.go | 226 -
.../azurerm/resource_arm_dns_aaaa_record.go | 165 -
.../resource_arm_dns_aaaa_record_test.go | 226 -
.../azurerm/resource_arm_dns_cname_record.go | 155 -
.../resource_arm_dns_cname_record_test.go | 262 -
.../azurerm/resource_arm_dns_mx_record.go | 212 -
.../resource_arm_dns_mx_record_test.go | 267 -
.../azurerm/resource_arm_dns_ns_record.go | 194 -
.../resource_arm_dns_ns_record_test.go | 257 -
.../azurerm/resource_arm_dns_srv_record.go | 228 -
.../resource_arm_dns_srv_record_test.go | 285 -
.../azurerm/resource_arm_dns_txt_record.go | 194 -
.../resource_arm_dns_txt_record_test.go | 257 -
.../azurerm/resource_arm_dns_zone.go | 153 -
.../azurerm/resource_arm_dns_zone_test.go | 90 -
.../azurerm/resource_arm_loadbalancer.go | 275 -
...e_arm_loadbalancer_backend_address_pool.go | 218 -
..._loadbalancer_backend_address_pool_test.go | 145 -
.../resource_arm_loadbalancer_nat_pool.go | 255 -
...resource_arm_loadbalancer_nat_pool_test.go | 157 -
.../resource_arm_loadbalancer_nat_rule.go | 257 -
...resource_arm_loadbalancer_nat_rule_test.go | 156 -
.../resource_arm_loadbalancer_probe.go | 252 -
.../resource_arm_loadbalancer_probe_test.go | 152 -
.../azurerm/resource_arm_loadbalancer_rule.go | 353 -
.../resource_arm_loadbalancer_rule_test.go | 204 -
.../azurerm/resource_arm_loadbalancer_test.go | 293 -
.../resource_arm_local_network_gateway.go | 151 -
...resource_arm_local_network_gateway_test.go | 160 -
.../resource_arm_network_interface_card.go | 427 -
...esource_arm_network_interface_card_test.go | 392 -
.../resource_arm_network_security_group.go | 316 -
...esource_arm_network_security_group_test.go | 305 -
.../resource_arm_network_security_rule.go | 219 -
...resource_arm_network_security_rule_test.go | 248 -
.../azurerm/resource_arm_public_ip.go | 245 -
.../azurerm/resource_arm_public_ip_test.go | 402 -
.../azurerm/resource_arm_resource_group.go | 187 -
.../resource_arm_resource_group_test.go | 189 -
.../providers/azurerm/resource_arm_route.go | 144 -
.../azurerm/resource_arm_route_table.go | 242 -
.../azurerm/resource_arm_route_table_test.go | 341 -
.../azurerm/resource_arm_route_test.go | 207 -
.../azurerm/resource_arm_search_service.go | 178 -
.../resource_arm_search_service_test.go | 152 -
.../resource_arm_servicebus_namespace.go | 211 -
.../resource_arm_servicebus_namespace_test.go | 190 -
.../resource_arm_servicebus_subscription.go | 212 -
...source_arm_servicebus_subscription_test.go | 236 -
.../azurerm/resource_arm_servicebus_topic.go | 223 -
.../resource_arm_servicebus_topic_test.go | 161 -
.../azurerm/resource_arm_sql_database.go | 257 -
.../azurerm/resource_arm_sql_database_test.go | 276 -
.../azurerm/resource_arm_sql_firewall_rule.go | 145 -
.../resource_arm_sql_firewall_rule_test.go | 137 -
.../azurerm/resource_arm_sql_server.go | 154 -
.../azurerm/resource_arm_sql_server_test.go | 164 -
.../azurerm/resource_arm_storage_account.go | 415 -
.../resource_arm_storage_account_test.go | 288 -
.../azurerm/resource_arm_storage_blob.go | 593 -
.../azurerm/resource_arm_storage_blob_test.go | 641 -
.../azurerm/resource_arm_storage_container.go | 227 -
.../resource_arm_storage_container_test.go | 241 -
.../azurerm/resource_arm_storage_queue.go | 165 -
.../resource_arm_storage_queue_test.go | 168 -
.../azurerm/resource_arm_storage_table.go | 146 -
.../resource_arm_storage_table_test.go | 237 -
.../providers/azurerm/resource_arm_subnet.go | 185 -
.../azurerm/resource_arm_subnet_test.go | 156 -
.../resource_arm_template_deployment.go | 223 -
.../resource_arm_template_deployment_test.go | 376 -
.../resource_arm_traffic_manager_endpoint.go | 237 -
...ource_arm_traffic_manager_endpoint_test.go | 591 -
.../resource_arm_traffic_manager_profile.go | 282 -
...source_arm_traffic_manager_profile_test.go | 303 -
.../azurerm/resource_arm_virtual_machine.go | 1262 --
.../resource_arm_virtual_machine_scale_set.go | 1088 --
...urce_arm_virtual_machine_scale_set_test.go | 333 -
.../resource_arm_virtual_machine_test.go | 1666 --
.../azurerm/resource_arm_virtual_network.go | 262 -
.../resource_arm_virtual_network_peering.go | 184 -
...source_arm_virtual_network_peering_test.go | 265 -
.../resource_arm_virtual_network_test.go | 238 -
.../builtin/providers/azurerm/resourceid.go | 97 -
.../providers/azurerm/resourceid_test.go | 133 -
.../builtin/providers/azurerm/structure.go | 24 -
.../providers/azurerm/structure_test.go | 55 -
.../builtin/providers/azurerm/tags.go | 77 -
.../builtin/providers/azurerm/tags_test.go | 97 -
.../builtin/providers/azurerm/validators.go | 10 -
.../providers/azurerm/validators_test.go | 58 -
.../builtin/providers/bitbucket/client.go | 65 -
.../builtin/providers/bitbucket/provider.go | 38 -
.../providers/bitbucket/provider_test.go | 39 -
.../bitbucket/resource_default_reviewers.go | 121 -
.../resource_default_reviewers_test.go | 67 -
.../providers/bitbucket/resource_hook.go | 208 -
.../providers/bitbucket/resource_hook_test.go | 78 -
.../bitbucket/resource_repository.go | 247 -
.../bitbucket/resource_repository_test.go | 69 -
.../builtin/providers/chef/provider.go | 112 -
.../builtin/providers/chef/provider_test.go | 62 -
.../providers/chef/resource_data_bag.go | 77 -
.../providers/chef/resource_data_bag_item.go | 120 -
.../chef/resource_data_bag_item_test.go | 95 -
.../providers/chef/resource_data_bag_test.go | 70 -
.../providers/chef/resource_environment.go | 183 -
.../chef/resource_environment_test.go | 120 -
.../builtin/providers/chef/resource_node.go | 216 -
.../providers/chef/resource_node_test.go | 139 -
.../builtin/providers/chef/resource_role.go | 185 -
.../providers/chef/resource_role_test.go | 121 -
.../builtin/providers/clc/provider.go | 228 -
.../builtin/providers/clc/provider_test.go | 40 -
.../providers/clc/resource_clc_group.go | 163 -
.../providers/clc/resource_clc_group_test.go | 155 -
.../clc/resource_clc_load_balancer.go | 130 -
.../clc/resource_clc_load_balancer_pool.go | 179 -
.../resource_clc_load_balancer_pool_test.go | 173 -
.../clc/resource_clc_load_balancer_test.go | 3 -
.../providers/clc/resource_clc_public_ip.go | 193 -
.../clc/resource_clc_public_ip_test.go | 160 -
.../providers/clc/resource_clc_server.go | 375 -
.../providers/clc/resource_clc_server_test.go | 266 -
.../builtin/providers/cloudflare/config.go | 23 -
.../builtin/providers/cloudflare/provider.go | 42 -
.../providers/cloudflare/provider_test.go | 43 -
.../cloudflare/resource_cloudflare_record.go | 202 -
.../resource_cloudflare_record_migrate.go | 95 -
...resource_cloudflare_record_migrate_test.go | 335 -
.../resource_cloudflare_record_test.go | 282 -
.../builtin/providers/cloudstack/config.go | 21 -
.../builtin/providers/cloudstack/provider.go | 80 -
.../providers/cloudstack/provider_test.go | 225 -
.../resource_cloudstack_affinity_group.go | 134 -
...resource_cloudstack_affinity_group_test.go | 105 -
.../cloudstack/resource_cloudstack_disk.go | 372 -
.../resource_cloudstack_disk_test.go | 244 -
.../resource_cloudstack_egress_firewall.go | 546 -
...esource_cloudstack_egress_firewall_test.go | 191 -
.../resource_cloudstack_firewall.go | 547 -
.../resource_cloudstack_firewall_test.go | 213 -
.../resource_cloudstack_instance.go | 564 -
.../resource_cloudstack_instance_test.go | 318 -
.../resource_cloudstack_ipaddress.go | 148 -
.../resource_cloudstack_ipaddress_test.go | 131 -
.../resource_cloudstack_loadbalancer_rule.go | 238 -
...ource_cloudstack_loadbalancer_rule_test.go | 423 -
.../cloudstack/resource_cloudstack_network.go | 368 -
.../resource_cloudstack_network_acl.go | 121 -
.../resource_cloudstack_network_acl_rule.go | 673 -
...source_cloudstack_network_acl_rule_test.go | 306 -
.../resource_cloudstack_network_acl_test.go | 111 -
.../resource_cloudstack_network_test.go | 278 -
.../cloudstack/resource_cloudstack_nic.go | 145 -
.../resource_cloudstack_nic_test.go | 194 -
.../resource_cloudstack_port_forward.go | 409 -
.../resource_cloudstack_port_forward_test.go | 180 -
...resource_cloudstack_secondary_ipaddress.go | 154 -
...rce_cloudstack_secondary_ipaddress_test.go | 239 -
.../resource_cloudstack_ssh_keypair.go | 145 -
.../resource_cloudstack_ssh_keypair_test.go | 169 -
.../resource_cloudstack_static_nat.go | 156 -
.../resource_cloudstack_static_nat_test.go | 123 -
.../resource_cloudstack_template.go | 318 -
.../resource_cloudstack_template_test.go | 194 -
.../cloudstack/resource_cloudstack_vpc.go | 248 -
.../resource_cloudstack_vpc_test.go | 119 -
.../resource_cloudstack_vpn_connection.go | 95 -
...resource_cloudstack_vpn_connection_test.go | 138 -
...esource_cloudstack_vpn_customer_gateway.go | 193 -
...ce_cloudstack_vpn_customer_gateway_test.go | 267 -
.../resource_cloudstack_vpn_gateway.go | 92 -
.../resource_cloudstack_vpn_gateway_test.go | 95 -
.../builtin/providers/cloudstack/resources.go | 137 -
.../builtin/providers/cloudstack/tags.go | 77 -
.../builtin/providers/cloudstack/tags_test.go | 70 -
.../cobbler/acceptance_env/deploy.sh | 94 -
.../providers/cobbler/acceptance_env/main.tf | 74 -
.../builtin/providers/cobbler/config.go | 33 -
.../builtin/providers/cobbler/provider.go | 76 -
.../providers/cobbler/provider_test.go | 46 -
.../cobbler/resource_cobbler_distro.go | 224 -
.../cobbler/resource_cobbler_distro_test.go | 129 -
.../resource_cobbler_kickstart_file.go | 83 -
.../resource_cobbler_kickstart_file_test.go | 79 -
.../cobbler/resource_cobbler_profile.go | 369 -
.../cobbler/resource_cobbler_profile_test.go | 149 -
.../cobbler/resource_cobbler_snippet.go | 83 -
.../cobbler/resource_cobbler_snippet_test.go | 79 -
.../cobbler/resource_cobbler_system.go | 851 --
.../cobbler/resource_cobbler_system_test.go | 380 -
.../builtin/providers/consul/config.go | 56 -
.../consul/data_source_consul_keys.go | 96 -
.../consul/data_source_consul_keys_test.go | 44 -
.../builtin/providers/consul/key_client.go | 96 -
.../consul/resource_consul_agent_service.go | 139 -
.../resource_consul_agent_service_test.go | 90 -
.../consul/resource_consul_catalog_entry.go | 270 -
.../resource_consul_catalog_entry_test.go | 100 -
.../consul/resource_consul_key_prefix.go | 221 -
.../consul/resource_consul_key_prefix_test.go | 150 -
.../providers/consul/resource_consul_keys.go | 340 -
.../consul/resource_consul_keys_migrate.go | 92 -
.../resource_consul_keys_migrate_test.go | 90 -
.../consul/resource_consul_keys_test.go | 140 -
.../providers/consul/resource_consul_node.go | 156 -
.../consul/resource_consul_node_test.go | 87 -
.../consul/resource_consul_prepared_query.go | 271 -
.../resource_consul_prepared_query_test.go | 171 -
.../consul/resource_consul_service.go | 139 -
.../consul/resource_consul_service_test.go | 90 -
.../providers/consul/resource_provider.go | 92 -
.../consul/resource_provider_test.go | 83 -
.../providers/consul/test-fixtures/README.md | 41 -
.../consul/test-fixtures/agent.json.example | 11 -
.../consul/test-fixtures/agentcert.pem | 27 -
.../consul/test-fixtures/agentkey.pem | 27 -
.../providers/consul/test-fixtures/cacert.pem | 22 -
.../consul/test-fixtures/usercert.pem | 25 -
.../consul/test-fixtures/userkey.pem | 27 -
.../builtin/providers/datadog/config.go | 23 -
.../datadog/import_datadog_monitor_test.go | 56 -
.../builtin/providers/datadog/provider.go | 43 -
.../providers/datadog/provider_test.go | 38 -
.../datadog/resource_datadog_monitor.go | 400 -
.../datadog/resource_datadog_monitor_test.go | 312 -
.../datadog/resource_datadog_timeboard.go | 246 -
.../resource_datadog_timeboard_test.go | 133 -
.../builtin/providers/digitalocean/config.go | 63 -
.../import_digitalocean_domain_test.go | 34 -
.../import_digitalocean_droplet_test.go | 30 -
.../import_digitalocean_floating_ip_test.go | 49 -
.../import_digitalocean_ssh_key_test.go | 28 -
.../import_digitalocean_tag_test.go | 28 -
.../import_digitalocean_volume_test.go | 32 -
.../providers/digitalocean/provider.go | 40 -
.../providers/digitalocean/provider_test.go | 35 -
.../resource_digitalocean_domain.go | 89 -
.../resource_digitalocean_domain_test.go | 101 -
.../resource_digitalocean_droplet.go | 591 -
.../resource_digitalocean_droplet_test.go | 424 -
.../resource_digitalocean_floating_ip.go | 200 -
.../resource_digitalocean_floating_ip_test.go | 126 -
.../resource_digitalocean_record.go | 216 -
.../resource_digitalocean_record_test.go | 313 -
.../resource_digitalocean_ssh_key.go | 142 -
.../resource_digitalocean_ssh_key_test.go | 115 -
.../digitalocean/resource_digitalocean_tag.go | 104 -
.../resource_digitalocean_tag_test.go | 93 -
.../resource_digitalocean_volume.go | 146 -
.../resource_digitalocean_volume_test.go | 145 -
.../builtin/providers/digitalocean/tags.go | 72 -
.../providers/digitalocean/tags_test.go | 51 -
.../terraform/builtin/providers/dme/config.go | 34 -
.../builtin/providers/dme/provider.go | 63 -
.../builtin/providers/dme/provider_test.go | 48 -
.../providers/dme/resource_dme_record.go | 250 -
.../providers/dme/resource_dme_record_test.go | 546 -
.../builtin/providers/dnsimple/config.go | 26 -
.../builtin/providers/dnsimple/provider.go | 42 -
.../providers/dnsimple/provider_test.go | 43 -
.../dnsimple/resource_dnsimple_record.go | 160 -
.../dnsimple/resource_dnsimple_record_test.go | 166 -
.../builtin/providers/docker/config.go | 33 -
.../data_source_docker_registry_image.go | 166 -
.../data_source_docker_registry_image_test.go | 52 -
.../builtin/providers/docker/provider.go | 60 -
.../builtin/providers/docker/provider_test.go | 36 -
.../docker/resource_docker_container.go | 437 -
.../docker/resource_docker_container_funcs.go | 414 -
.../docker/resource_docker_container_test.go | 287 -
.../providers/docker/resource_docker_image.go | 37 -
.../docker/resource_docker_image_funcs.go | 205 -
.../docker/resource_docker_image_test.go | 136 -
.../docker/resource_docker_network.go | 135 -
.../docker/resource_docker_network_funcs.go | 115 -
.../docker/resource_docker_network_test.go | 65 -
.../docker/resource_docker_volume.go | 102 -
.../docker/resource_docker_volume_test.go | 67 -
.../terraform/builtin/providers/dyn/config.go | 28 -
.../builtin/providers/dyn/provider.go | 50 -
.../builtin/providers/dyn/provider_test.go | 47 -
.../providers/dyn/resource_dyn_record.go | 198 -
.../providers/dyn/resource_dyn_record_test.go | 239 -
.../builtin/providers/fastly/config.go | 31 -
.../providers/fastly/data_source_ip_ranges.go | 70 -
.../fastly/data_source_ip_ranges_test.go | 73 -
.../builtin/providers/fastly/provider.go | 37 -
.../builtin/providers/fastly/provider_test.go | 35 -
.../fastly/resource_fastly_service_v1.go | 1872 ---
...ce_fastly_service_v1_cache_setting_test.go | 205 -
...rce_fastly_service_v1_conditionals_test.go | 122 -
.../resource_fastly_service_v1_gzip_test.go | 238 -
...resource_fastly_service_v1_headers_test.go | 234 -
..._fastly_service_v1_request_setting_test.go | 129 -
...source_fastly_service_v1_s3logging_test.go | 287 -
.../fastly/resource_fastly_service_v1_test.go | 458 -
.../resource_fastly_service_v1_vcl_test.go | 152 -
.../builtin/providers/github/config.go | 39 -
.../builtin/providers/github/provider.go | 67 -
.../builtin/providers/github/provider_test.go | 46 -
.../github/resource_github_membership.go | 83 -
.../github/resource_github_membership_test.go | 115 -
.../github/resource_github_repository.go | 170 -
...resource_github_repository_collaborator.go | 99 -
...rce_github_repository_collaborator_test.go | 135 -
.../github/resource_github_repository_test.go | 203 -
.../providers/github/resource_github_team.go | 101 -
.../github/resource_github_team_membership.go | 100 -
.../resource_github_team_membership_test.go | 154 -
.../github/resource_github_team_repository.go | 106 -
.../resource_github_team_repository_test.go | 154 -
.../github/resource_github_team_test.go | 110 -
.../builtin/providers/github/util.go | 47 -
.../providers/github/util_permissions.go | 24 -
.../builtin/providers/github/util_test.go | 55 -
.../providers/google/compute_operation.go | 162 -
.../builtin/providers/google/config.go | 161 -
.../builtin/providers/google/config_test.go | 50 -
.../google/data_source_google_iam_policy.go | 103 -
.../builtin/providers/google/disk_type.go | 15 -
.../builtin/providers/google/dns_change.go | 45 -
.../builtin/providers/google/image.go | 91 -
.../google/import_compute_autoscaler_test.go | 28 -
.../google/import_compute_firewall_test.go | 32 -
.../import_compute_forwarding_rule_test.go | 32 -
.../import_compute_http_health_check_test.go | 28 -
...ort_compute_instance_group_manager_test.go | 65 -
.../import_compute_instance_template_test.go | 114 -
.../google/import_compute_target_pool_test.go | 28 -
.../builtin/providers/google/metadata.go | 73 -
.../builtin/providers/google/provider.go | 280 -
.../builtin/providers/google/provider_test.go | 85 -
.../google/resource_compute_address.go | 143 -
.../google/resource_compute_address_test.go | 82 -
.../google/resource_compute_autoscaler.go | 374 -
.../resource_compute_autoscaler_test.go | 246 -
.../resource_compute_backend_service.go | 405 -
.../resource_compute_backend_service_test.go | 293 -
.../providers/google/resource_compute_disk.go | 204 -
.../google/resource_compute_disk_test.go | 89 -
.../google/resource_compute_firewall.go | 323 -
.../resource_compute_firewall_migrate.go | 93 -
.../resource_compute_firewall_migrate_test.go | 81 -
.../google/resource_compute_firewall_test.go | 163 -
.../resource_compute_forwarding_rule.go | 227 -
.../resource_compute_forwarding_rule_test.go | 134 -
.../google/resource_compute_global_address.go | 122 -
.../resource_compute_global_address_test.go | 82 -
...resource_compute_global_forwarding_rule.go | 196 -
...rce_compute_global_forwarding_rule_test.go | 225 -
.../resource_compute_http_health_check.go | 261 -
...resource_compute_http_health_check_test.go | 172 -
.../resource_compute_https_health_check.go | 254 -
...esource_compute_https_health_check_test.go | 172 -
.../google/resource_compute_image.go | 176 -
.../google/resource_compute_image_test.go | 85 -
.../google/resource_compute_instance.go | 1001 --
.../google/resource_compute_instance_group.go | 343 -
...resource_compute_instance_group_manager.go | 442 -
...rce_compute_instance_group_manager_test.go | 495 -
.../resource_compute_instance_group_test.go | 299 -
.../resource_compute_instance_migrate.go | 140 -
.../resource_compute_instance_migrate_test.go | 96 -
.../resource_compute_instance_template.go | 768 -
...resource_compute_instance_template_test.go | 423 -
.../google/resource_compute_instance_test.go | 1097 --
.../google/resource_compute_network.go | 171 -
.../google/resource_compute_network_test.go | 181 -
.../resource_compute_project_metadata.go | 203 -
.../resource_compute_project_metadata_test.go | 217 -
.../google/resource_compute_route.go | 227 -
.../google/resource_compute_route_test.go | 91 -
.../resource_compute_ssl_certificate.go | 148 -
.../resource_compute_ssl_certificate_test.go | 81 -
.../google/resource_compute_subnetwork.go | 193 -
.../resource_compute_subnetwork_test.go | 105 -
.../resource_compute_target_http_proxy.go | 174 -
...resource_compute_target_http_proxy_test.go | 241 -
.../resource_compute_target_https_proxy.go | 267 -
...esource_compute_target_https_proxy_test.go | 215 -
.../google/resource_compute_target_pool.go | 450 -
.../resource_compute_target_pool_test.go | 89 -
.../google/resource_compute_url_map.go | 702 -
.../google/resource_compute_url_map_test.go | 312 -
.../google/resource_compute_vpn_gateway.go | 167 -
.../resource_compute_vpn_gateway_test.go | 99 -
.../google/resource_compute_vpn_tunnel.go | 307 -
.../resource_compute_vpn_tunnel_test.go | 128 -
.../google/resource_container_cluster.go | 549 -
.../google/resource_container_cluster_test.go | 177 -
.../google/resource_dns_managed_zone.go | 131 -
.../google/resource_dns_managed_zone_test.go | 83 -
.../google/resource_dns_record_set.go | 258 -
.../google/resource_dns_record_set_test.go | 169 -
.../google/resource_google_project.go | 300 -
.../google/resource_google_project_test.go | 472 -
.../google/resource_pubsub_subscription.go | 144 -
.../resource_pubsub_subscription_test.go | 75 -
.../providers/google/resource_pubsub_topic.go | 78 -
.../google/resource_pubsub_topic_test.go | 69 -
.../providers/google/resource_sql_database.go | 143 -
.../google/resource_sql_database_instance.go | 1030 --
.../resource_sql_database_instance_test.go | 510 -
.../google/resource_sql_database_test.go | 115 -
.../providers/google/resource_sql_user.go | 205 -
.../google/resource_sql_user_test.go | 142 -
.../google/resource_storage_bucket.go | 271 -
.../google/resource_storage_bucket_acl.go | 303 -
.../resource_storage_bucket_acl_test.go | 245 -
.../google/resource_storage_bucket_object.go | 158 -
.../resource_storage_bucket_object_test.go | 145 -
.../google/resource_storage_bucket_test.go | 276 -
.../google/resource_storage_object_acl.go | 265 -
.../resource_storage_object_acl_test.go | 330 -
.../builtin/providers/google/service_scope.go | 31 -
.../providers/google/sqladmin_operation.go | 80 -
.../google/test-fixtures/fake_account.json | 7 -
.../google/test-fixtures/fake_client.json | 11 -
.../google/test-fixtures/ssl_cert/test.crt | 21 -
.../google/test-fixtures/ssl_cert/test.csr | 17 -
.../google/test-fixtures/ssl_cert/test.key | 27 -
.../builtin/providers/grafana/provider.go | 41 -
.../providers/grafana/provider_test.go | 54 -
.../providers/grafana/resource_dashboard.go | 127 -
.../grafana/resource_dashboard_test.go | 83 -
.../providers/grafana/resource_data_source.go | 184 -
.../grafana/resource_data_source_test.go | 87 -
.../builtin/providers/heroku/config.go | 29 -
.../builtin/providers/heroku/provider.go | 47 -
.../builtin/providers/heroku/provider_test.go | 39 -
.../providers/heroku/resource_heroku_addon.go | 168 -
.../heroku/resource_heroku_addon_test.go | 161 -
.../providers/heroku/resource_heroku_app.go | 444 -
.../heroku/resource_heroku_app_test.go | 372 -
.../providers/heroku/resource_heroku_cert.go | 134 -
.../heroku/resource_heroku_cert_test.go | 117 -
.../heroku/resource_heroku_domain.go | 86 -
.../heroku/resource_heroku_domain_test.go | 109 -
.../providers/heroku/resource_heroku_drain.go | 101 -
.../heroku/resource_heroku_drain_test.go | 111 -
.../heroku/test-fixtures/terraform.cert | 19 -
.../heroku/test-fixtures/terraform.key | 27 -
.../providers/influxdb/continuous_query.go | 120 -
.../influxdb/continuous_query_test.go | 87 -
.../builtin/providers/influxdb/provider.go | 75 -
.../providers/influxdb/provider_test.go | 36 -
.../providers/influxdb/resource_database.go | 99 -
.../influxdb/resource_database_test.go | 71 -
.../providers/influxdb/resource_user.go | 271 -
.../providers/influxdb/resource_user_test.go | 349 -
.../builtin/providers/librato/provider.go | 43 -
.../providers/librato/provider_test.go | 39 -
.../librato/resource_librato_alert.go | 437 -
.../librato/resource_librato_alert_test.go | 279 -
.../librato/resource_librato_service.go | 207 -
.../librato/resource_librato_service_test.go | 153 -
.../librato/resource_librato_space.go | 139 -
.../librato/resource_librato_space_chart.go | 447 -
.../resource_librato_space_chart_test.go | 230 -
.../librato/resource_librato_space_test.go | 110 -
.../providers/logentries/expect/expect.go | 81 -
.../builtin/providers/logentries/provider.go | 42 -
.../providers/logentries/provider_test.go | 34 -
.../logentries/resource_logentries_log.go | 235 -
.../resource_logentries_log_test.go | 310 -
.../logentries/resource_logentries_logset.go | 84 -
.../resource_logentries_logset_test.go | 125 -
.../builtin/providers/mailgun/config.go | 27 -
.../builtin/providers/mailgun/provider.go | 36 -
.../providers/mailgun/provider_test.go | 35 -
.../mailgun/resource_mailgun_domain.go | 207 -
.../mailgun/resource_mailgun_domain_test.go | 128 -
.../builtin/providers/mysql/provider.go | 116 -
.../builtin/providers/mysql/provider_test.go | 55 -
.../providers/mysql/resource_database.go | 174 -
.../providers/mysql/resource_database_test.go | 91 -
.../builtin/providers/mysql/resource_grant.go | 121 -
.../providers/mysql/resource_grant_test.go | 125 -
.../builtin/providers/mysql/resource_user.go | 116 -
.../providers/mysql/resource_user_test.go | 101 -
.../builtin/providers/null/data_source.go | 54 -
.../builtin/providers/null/provider.go | 21 -
.../builtin/providers/null/provider_test.go | 18 -
.../builtin/providers/null/resource.go | 43 -
.../builtin/providers/openstack/config.go | 142 -
.../providers/openstack/devstack/deploy.sh | 166 -
...t_openstack_blockstorage_volume_v1_test.go | 29 -
...t_openstack_blockstorage_volume_v2_test.go | 29 -
...rt_openstack_compute_floatingip_v2_test.go | 29 -
...mport_openstack_compute_keypair_v2_test.go | 29 -
...port_openstack_compute_secgroup_v2_test.go | 29 -
...t_openstack_compute_servergroup_v2_test.go | 29 -
.../import_openstack_fw_firewall_v1_test.go | 29 -
.../import_openstack_fw_policy_v1_test.go | 29 -
.../import_openstack_fw_rule_v1_test.go | 29 -
.../import_openstack_lb_member_v1_test.go | 29 -
.../import_openstack_lb_monitor_v1_test.go | 29 -
.../import_openstack_lb_pool_v1_test.go | 29 -
.../import_openstack_lb_vip_v1_test.go | 29 -
...openstack_networking_floatingip_v2_test.go | 29 -
...rt_openstack_networking_network_v2_test.go | 29 -
...mport_openstack_networking_port_v2_test.go | 29 -
...nstack_networking_secgroup_rule_v2_test.go | 29 -
...t_openstack_networking_secgroup_v2_test.go | 29 -
...ort_openstack_networking_subnet_v2_test.go | 29 -
.../builtin/providers/openstack/provider.go | 153 -
.../providers/openstack/provider_test.go | 75 -
...source_openstack_blockstorage_volume_v1.go | 330 -
...e_openstack_blockstorage_volume_v1_test.go | 175 -
...source_openstack_blockstorage_volume_v2.go | 342 -
...e_openstack_blockstorage_volume_v2_test.go | 188 -
...esource_openstack_compute_floatingip_v2.go | 110 -
...ce_openstack_compute_floatingip_v2_test.go | 123 -
.../resource_openstack_compute_instance_v2.go | 1520 --
...urce_openstack_compute_instance_v2_test.go | 1308 --
.../resource_openstack_compute_keypair_v2.go | 95 -
...ource_openstack_compute_keypair_v2_test.go | 88 -
.../resource_openstack_compute_secgroup_v2.go | 395 -
...urce_openstack_compute_secgroup_v2_test.go | 368 -
...source_openstack_compute_servergroup_v2.go | 126 -
...e_openstack_compute_servergroup_v2_test.go | 138 -
.../resource_openstack_fw_firewall_v1.go | 247 -
.../resource_openstack_fw_firewall_v1_test.go | 140 -
.../resource_openstack_fw_policy_v1.go | 202 -
.../resource_openstack_fw_policy_v1_test.go | 185 -
.../resource_openstack_fw_rule_v1.go | 226 -
.../resource_openstack_fw_rule_v1_test.go | 185 -
.../resource_openstack_lb_listener_v2.go | 314 -
.../resource_openstack_lb_listener_v2_test.go | 142 -
.../resource_openstack_lb_loadbalancer_v2.go | 257 -
...ource_openstack_lb_loadbalancer_v2_test.go | 128 -
.../resource_openstack_lb_member_v1.go | 232 -
.../resource_openstack_lb_member_v1_test.go | 139 -
.../resource_openstack_lb_member_v2.go | 272 -
.../resource_openstack_lb_member_v2_test.go | 171 -
.../resource_openstack_lb_monitor_v1.go | 282 -
.../resource_openstack_lb_monitor_v1_test.go | 110 -
.../resource_openstack_lb_monitor_v2.go | 287 -
.../resource_openstack_lb_monitor_v2_test.go | 176 -
.../resource_openstack_lb_pool_v1.go | 431 -
.../resource_openstack_lb_pool_v1_test.go | 359 -
.../resource_openstack_lb_pool_v2.go | 320 -
.../resource_openstack_lb_pool_v2_test.go | 155 -
.../openstack/resource_openstack_lb_vip_v1.go | 391 -
.../resource_openstack_lb_vip_v1_test.go | 160 -
...urce_openstack_networking_floatingip_v2.go | 287 -
...openstack_networking_floatingip_v2_test.go | 216 -
...esource_openstack_networking_network_v2.go | 300 -
...ce_openstack_networking_network_v2_test.go | 254 -
.../resource_openstack_networking_port_v2.go | 387 -
...ource_openstack_networking_port_v2_test.go | 224 -
...penstack_networking_router_interface_v2.go | 187 -
...ack_networking_router_interface_v2_test.go | 167 -
...ce_openstack_networking_router_route_v2.go | 214 -
...enstack_networking_router_route_v2_test.go | 324 -
...resource_openstack_networking_router_v2.go | 312 -
...rce_openstack_networking_router_v2_test.go | 143 -
...e_openstack_networking_secgroup_rule_v2.go | 219 -
...nstack_networking_secgroup_rule_v2_test.go | 154 -
...source_openstack_networking_secgroup_v2.go | 159 -
...e_openstack_networking_secgroup_v2_test.go | 100 -
...resource_openstack_networking_subnet_v2.go | 446 -
...rce_openstack_networking_subnet_v2_test.go | 240 -
...ce_openstack_objectstorage_container_v1.go | 148 -
...enstack_objectstorage_container_v1_test.go | 77 -
.../builtin/providers/openstack/util.go | 22 -
.../builtin/providers/packet/config.go | 19 -
.../builtin/providers/packet/errors.go | 43 -
.../builtin/providers/packet/provider.go | 36 -
.../builtin/providers/packet/provider_test.go | 35 -
.../packet/resource_packet_device.go | 303 -
.../packet/resource_packet_project.go | 117 -
.../packet/resource_packet_project_test.go | 86 -
.../packet/resource_packet_ssh_key.go | 122 -
.../packet/resource_packet_ssh_key_test.go | 95 -
.../packet/resource_packet_volume.go | 281 -
.../packet/resource_packet_volume_test.go | 92 -
.../builtin/providers/postgresql/config.go | 46 -
.../builtin/providers/postgresql/provider.go | 69 -
.../providers/postgresql/provider_test.go | 42 -
.../resource_postgresql_database.go | 160 -
.../resource_postgresql_database_test.go | 142 -
.../postgresql/resource_postgresql_role.go | 180 -
.../resource_postgresql_role_test.go | 132 -
.../builtin/providers/powerdns/client.go | 367 -
.../builtin/providers/powerdns/config.go | 24 -
.../builtin/providers/powerdns/provider.go | 40 -
.../providers/powerdns/provider_test.go | 39 -
.../powerdns/resource_powerdns_record.go | 147 -
.../powerdns/resource_powerdns_record_test.go | 398 -
.../rabbitmq/acceptance_env/deploy.sh | 26 -
.../providers/rabbitmq/import_binding_test.go | 34 -
.../rabbitmq/import_exchange_test.go | 34 -
.../rabbitmq/import_permissions_test.go | 34 -
.../providers/rabbitmq/import_policy_test.go | 34 -
.../providers/rabbitmq/import_queue_test.go | 34 -
.../providers/rabbitmq/import_user_test.go | 33 -
.../providers/rabbitmq/import_vhost_test.go | 32 -
.../builtin/providers/rabbitmq/provider.go | 123 -
.../providers/rabbitmq/provider_test.go | 46 -
.../providers/rabbitmq/resource_binding.go | 195 -
.../rabbitmq/resource_binding_test.go | 121 -
.../providers/rabbitmq/resource_exchange.go | 189 -
.../rabbitmq/resource_exchange_test.go | 103 -
.../rabbitmq/resource_permissions.go | 205 -
.../rabbitmq/resource_permissions_test.go | 124 -
.../providers/rabbitmq/resource_policy.go | 239 -
.../rabbitmq/resource_policy_test.go | 141 -
.../providers/rabbitmq/resource_queue.go | 180 -
.../providers/rabbitmq/resource_queue_test.go | 102 -
.../providers/rabbitmq/resource_user.go | 174 -
.../providers/rabbitmq/resource_user_test.go | 94 -
.../providers/rabbitmq/resource_vhost.go | 85 -
.../providers/rabbitmq/resource_vhost_test.go | 79 -
.../builtin/providers/rabbitmq/util.go | 14 -
.../builtin/providers/random/provider.go | 31 -
.../builtin/providers/random/provider_test.go | 31 -
.../builtin/providers/random/resource_id.go | 76 -
.../providers/random/resource_id_test.go | 58 -
.../providers/random/resource_shuffle.go | 82 -
.../providers/random/resource_shuffle_test.go | 91 -
.../builtin/providers/random/seed.go | 24 -
.../builtin/providers/rundeck/provider.go | 51 -
.../providers/rundeck/provider_test.go | 98 -
.../builtin/providers/rundeck/resource_job.go | 565 -
.../providers/rundeck/resource_job_test.go | 103 -
.../providers/rundeck/resource_private_key.go | 114 -
.../rundeck/resource_private_key_test.go | 92 -
.../providers/rundeck/resource_project.go | 293 -
.../rundeck/resource_project_test.go | 98 -
.../providers/rundeck/resource_public_key.go | 148 -
.../rundeck/resource_public_key_test.go | 99 -
.../builtin/providers/scaleway/config.go | 64 -
.../data_source_scaleway_bootscript.go | 119 -
.../data_source_scaleway_bootscript_test.go | 72 -
.../scaleway/data_source_scaleway_image.go | 133 -
.../data_source_scaleway_image_test.go | 72 -
.../builtin/providers/scaleway/helpers.go | 72 -
.../scaleway/import_scaleway_ip_test.go | 28 -
.../import_scaleway_security_group_test.go | 28 -
.../scaleway/import_scaleway_server_test.go | 28 -
.../scaleway/import_scaleway_volume_test.go | 28 -
.../builtin/providers/scaleway/provider.go | 58 -
.../providers/scaleway/provider_test.go | 38 -
.../scaleway/resource_scaleway_ip.go | 92 -
.../scaleway/resource_scaleway_ip_test.go | 144 -
.../resource_scaleway_security_group.go | 131 -
.../resource_scaleway_security_group_rule.go | 179 -
...ource_scaleway_security_group_rule_test.go | 181 -
.../resource_scaleway_security_group_test.go | 104 -
.../scaleway/resource_scaleway_server.go | 226 -
.../scaleway/resource_scaleway_server_test.go | 202 -
.../scaleway/resource_scaleway_volume.go | 131 -
.../resource_scaleway_volume_attachment.go | 201 -
...esource_scaleway_volume_attachment_test.go | 93 -
.../scaleway/resource_scaleway_volume_test.go | 107 -
.../builtin/providers/softlayer/config.go | 39 -
.../builtin/providers/softlayer/provider.go | 41 -
.../providers/softlayer/provider_test.go | 38 -
.../softlayer/resource_softlayer_ssh_key.go | 159 -
.../resource_softlayer_ssh_key_test.go | 131 -
.../resource_softlayer_virtual_guest.go | 545 -
.../resource_softlayer_virtual_guest_test.go | 299 -
.../builtin/providers/statuscake/provider.go | 40 -
.../providers/statuscake/provider_test.go | 38 -
.../statuscake/resource_statuscaketest.go | 162 -
.../resource_statuscaketest_test.go | 118 -
.../template/datasource_cloudinit_config.go | 183 -
.../datasource_cloudinit_config_test.go | 80 -
.../template/datasource_template_file.go | 179 -
.../template/datasource_template_file_test.go | 149 -
.../builtin/providers/template/provider.go | 25 -
.../providers/template/provider_test.go | 13 -
.../providers/terraform/data_source_state.go | 91 -
.../terraform/data_source_state_test.go | 82 -
.../builtin/providers/terraform/flatten.go | 76 -
.../builtin/providers/terraform/provider.go | 21 -
.../providers/terraform/provider_test.go | 31 -
.../terraform/test-fixtures/basic.tfstate | 7 -
.../test-fixtures/complex_outputs.tfstate | 88 -
.../builtin/providers/test/data_source.go | 44 -
.../providers/test/data_source_test.go | 57 -
.../builtin/providers/test/provider.go | 22 -
.../builtin/providers/test/provider_test.go | 24 -
.../builtin/providers/test/resource.go | 154 -
.../builtin/providers/test/resource_test.go | 398 -
.../builtin/providers/tls/provider.go | 112 -
.../builtin/providers/tls/provider_test.go | 95 -
.../providers/tls/resource_cert_request.go | 127 -
.../tls/resource_cert_request_test.go | 121 -
.../providers/tls/resource_certificate.go | 210 -
.../tls/resource_locally_signed_cert.go | 79 -
.../tls/resource_locally_signed_cert_test.go | 166 -
.../providers/tls/resource_private_key.go | 178 -
.../tls/resource_private_key_test.go | 192 -
.../tls/resource_self_signed_cert.go | 101 -
.../tls/resource_self_signed_cert_test.go | 157 -
.../terraform/builtin/providers/tls/util.go | 76 -
.../builtin/providers/triton/provider.go | 122 -
.../builtin/providers/triton/provider_test.go | 44 -
.../providers/triton/resource_fabric.go | 178 -
.../providers/triton/resource_fabric_test.go | 104 -
.../triton/resource_firewall_rule.go | 112 -
.../triton/resource_firewall_rule_test.go | 152 -
.../builtin/providers/triton/resource_key.go | 118 -
.../providers/triton/resource_key_test.go | 89 -
.../providers/triton/resource_machine.go | 586 -
.../providers/triton/resource_machine_test.go | 449 -
.../builtin/providers/triton/resource_vlan.go | 139 -
.../providers/triton/resource_vlan_test.go | 127 -
.../builtin/providers/triton/utils.go | 30 -
.../builtin/providers/ultradns/config.go | 28 -
.../builtin/providers/ultradns/provider.go | 49 -
.../providers/ultradns/provider_test.go | 43 -
.../ultradns/resource_ultradns_record.go | 218 -
.../ultradns/resource_ultradns_record_test.go | 177 -
.../terraform/builtin/providers/vcd/config.go | 42 -
.../builtin/providers/vcd/provider.go | 86 -
.../builtin/providers/vcd/provider_test.go | 50 -
.../providers/vcd/resource_vcd_dnat.go | 139 -
.../providers/vcd/resource_vcd_dnat_test.go | 120 -
.../vcd/resource_vcd_firewall_rules.go | 200 -
.../vcd/resource_vcd_firewall_rules_test.go | 108 -
.../providers/vcd/resource_vcd_network.go | 267 -
.../vcd/resource_vcd_network_test.go | 107 -
.../providers/vcd/resource_vcd_snat.go | 124 -
.../providers/vcd/resource_vcd_snat_test.go | 119 -
.../providers/vcd/resource_vcd_vapp.go | 371 -
.../providers/vcd/resource_vcd_vapp_test.go | 180 -
.../builtin/providers/vcd/structure.go | 113 -
.../builtin/providers/vsphere/README.md | 57 -
.../builtin/providers/vsphere/config.go | 85 -
.../builtin/providers/vsphere/provider.go | 103 -
.../providers/vsphere/provider_test.go | 44 -
.../vsphere/resource_vsphere_file.go | 405 -
.../vsphere/resource_vsphere_file_test.go | 350 -
.../vsphere/resource_vsphere_folder.go | 237 -
.../vsphere/resource_vsphere_folder_test.go | 276 -
.../vsphere/resource_vsphere_virtual_disk.go | 294 -
.../resource_vsphere_virtual_disk_test.go | 129 -
.../resource_vsphere_virtual_machine.go | 2117 ---
...esource_vsphere_virtual_machine_migrate.go | 62 -
...ce_vsphere_virtual_machine_migrate_test.go | 92 -
.../resource_vsphere_virtual_machine_test.go | 1565 --
.../provisioners/chef/linux_provisioner.go | 120 -
.../chef/linux_provisioner_test.go | 308 -
.../provisioners/chef/resource_provisioner.go | 720 -
.../chef/resource_provisioner_test.go | 348 -
.../chef/test-fixtures/ohaihint.json | 1 -
.../provisioners/chef/windows_provisioner.go | 88 -
.../chef/windows_provisioner_test.go | 335 -
.../provisioners/file/resource_provisioner.go | 155 -
.../file/resource_provisioner_test.go | 82 -
.../local-exec/resource_provisioner.go | 95 -
.../local-exec/resource_provisioner_test.go | 77 -
.../remote-exec/resource_provisioner.go | 252 -
.../remote-exec/resource_provisioner_test.go | 165 -
.../remote-exec/test-fixtures/script1.sh | 3 -
.../hashicorp/terraform/checkpoint.go | 81 -
.../hashicorp/terraform/command/apply.go | 439 -
.../terraform/command/apply_destroy_test.go | 211 -
.../hashicorp/terraform/command/apply_test.go | 1482 --
.../hashicorp/terraform/command/cli_ui.go | 51 -
.../terraform/command/cli_ui_test.go | 11 -
.../hashicorp/terraform/command/command.go | 65 -
.../terraform/command/command_test.go | 324 -
.../command/counthookaction_string.go | 16 -
.../hashicorp/terraform/command/flag_kv.go | 239 -
.../terraform/command/flag_kv_test.go | 254 -
.../hashicorp/terraform/command/fmt.go | 94 -
.../hashicorp/terraform/command/fmt_test.go | 206 -
.../terraform/command/format_plan.go | 224 -
.../terraform/command/format_plan_test.go | 91 -
.../terraform/command/format_state.go | 152 -
.../hashicorp/terraform/command/get.go | 88 -
.../hashicorp/terraform/command/get_test.go | 114 -
.../hashicorp/terraform/command/graph.go | 115 -
.../hashicorp/terraform/command/graph_test.go | 105 -
.../terraform/command/hcl_printer.go | 196 -
.../hashicorp/terraform/command/hook_count.go | 111 -
.../terraform/command/hook_count_action.go | 11 -
.../terraform/command/hook_count_test.go | 218 -
.../hashicorp/terraform/command/hook_state.go | 33 -
.../terraform/command/hook_state_test.go | 29 -
.../hashicorp/terraform/command/hook_ui.go | 338 -
.../hashicorp/terraform/command/import.go | 130 -
.../terraform/command/import_test.go | 737 -
.../hashicorp/terraform/command/init.go | 169 -
.../hashicorp/terraform/command/init_test.go | 289 -
.../terraform/command/internal_plugin.go | 90 -
.../terraform/command/internal_plugin_core.go | 13 -
.../terraform/command/internal_plugin_list.go | 120 -
.../terraform/command/internal_plugin_test.go | 34 -
.../hashicorp/terraform/command/meta.go | 465 -
.../hashicorp/terraform/command/meta_test.go | 270 -
.../terraform/command/module_storage.go | 29 -
.../terraform/command/module_storage_test.go | 11 -
.../hashicorp/terraform/command/output.go | 271 -
.../terraform/command/output_test.go | 499 -
.../hashicorp/terraform/command/plan.go | 229 -
.../hashicorp/terraform/command/plan_test.go | 646 -
.../hashicorp/terraform/command/push.go | 517 -
.../hashicorp/terraform/command/push_test.go | 782 -
.../hashicorp/terraform/command/refresh.go | 165 -
.../terraform/command/refresh_test.go | 771 -
.../hashicorp/terraform/command/remote.go | 61 -
.../terraform/command/remote_config.go | 380 -
.../terraform/command/remote_config_test.go | 449 -
.../terraform/command/remote_pull.go | 86 -
.../terraform/command/remote_pull_test.go | 116 -
.../terraform/command/remote_push.go | 96 -
.../terraform/command/remote_push_test.go | 69 -
.../hashicorp/terraform/command/show.go | 131 -
.../hashicorp/terraform/command/show_test.go | 185 -
.../hashicorp/terraform/command/state.go | 280 -
.../terraform/command/state_command.go | 40 -
.../hashicorp/terraform/command/state_list.go | 101 -
.../terraform/command/state_list_test.go | 59 -
.../hashicorp/terraform/command/state_meta.go | 67 -
.../hashicorp/terraform/command/state_mv.go | 230 -
.../terraform/command/state_mv_test.go | 516 -
.../hashicorp/terraform/command/state_rm.go | 102 -
.../terraform/command/state_rm_test.go | 108 -
.../hashicorp/terraform/command/state_show.go | 105 -
.../terraform/command/state_show_test.go | 156 -
.../hashicorp/terraform/command/state_test.go | 22 -
.../hashicorp/terraform/command/taint.go | 184 -
.../hashicorp/terraform/command/taint_test.go | 366 -
.../apply-config-invalid/main.tf | 3 -
.../apply-destroy-targeted/main.tf | 7 -
.../command/test-fixtures/apply-error/main.tf | 7 -
.../command/test-fixtures/apply-input/main.tf | 3 -
.../apply-sensitive-output/main.tf | 12 -
.../test-fixtures/apply-shutdown/main.tf | 7 -
.../command/test-fixtures/apply-vars/main.tf | 5 -
.../command/test-fixtures/apply/main.tf | 3 -
.../command/test-fixtures/get/foo/main.tf | 0
.../command/test-fixtures/get/main.tf | 3 -
.../command/test-fixtures/graph/main.tf | 3 -
.../command/test-fixtures/init/hello.tf | 0
.../command/test-fixtures/parallelism/main.tf | 10 -
.../test-fixtures/plan-emptydiff/main.tf | 0
.../test-fixtures/plan-invalid/main.tf | 7 -
.../command/test-fixtures/plan-vars/main.tf | 5 -
.../command/test-fixtures/plan/main.tf | 9 -
.../test-fixtures/push-input-partial/main.tf | 8 -
.../command/test-fixtures/push-input/main.tf | 7 -
.../push-no-upload/child/main.tf | 1 -
.../test-fixtures/push-no-upload/main.tf | 1 -
.../command/test-fixtures/push-tfvars/main.tf | 22 -
.../push-tfvars/terraform.tfvars | 2 -
.../command/test-fixtures/push/main.tf | 5 -
.../test-fixtures/refresh-output/main.tf | 7 -
.../test-fixtures/refresh-unset-var/main.tf | 7 -
.../command/test-fixtures/refresh-var/main.tf | 7 -
.../command/test-fixtures/refresh/main.tf | 3 -
.../incorrectmodulename/main.tf | 6 -
.../validate-invalid/interpolation/main.tf | 11 -
.../test-fixtures/validate-invalid/main.tf | 8 -
.../validate-invalid/missing_quote/main.tf | 9 -
.../validate-invalid/missing_var/main.tf | 8 -
.../validate-invalid/multiple_modules/main.tf | 5 -
.../multiple_providers/main.tf | 11 -
.../multiple_resources/main.tf | 5 -
.../validate-invalid/outputs/main.tf | 3 -
.../test-fixtures/validate-valid/main.tf | 9 -
.../hashicorp/terraform/command/ui_input.go | 136 -
.../terraform/command/ui_input_test.go | 44 -
.../hashicorp/terraform/command/untaint.go | 171 -
.../terraform/command/untaint_test.go | 389 -
.../hashicorp/terraform/command/validate.go | 59 -
.../terraform/command/validate_test.go | 124 -
.../hashicorp/terraform/command/version.go | 75 -
.../terraform/command/version_test.go | 11 -
.../hashicorp/terraform/commands.go | 209 -
.../terraform/communicator/communicator.go | 53 -
.../communicator/communicator_mock.go | 91 -
.../communicator/communicator_test.go | 30 -
.../terraform/communicator/remote/command.go | 67 -
.../communicator/remote/command_test.go | 1 -
.../terraform/communicator/shared/shared.go | 17 -
.../communicator/shared/shared_test.go | 26 -
.../communicator/ssh/communicator.go | 646 -
.../communicator/ssh/communicator_test.go | 273 -
.../terraform/communicator/ssh/password.go | 28 -
.../communicator/ssh/password_test.go | 28 -
.../terraform/communicator/ssh/provisioner.go | 274 -
.../communicator/ssh/provisioner_test.go | 129 -
.../communicator/winrm/communicator.go | 216 -
.../communicator/winrm/communicator_test.go | 170 -
.../communicator/winrm/provisioner.go | 123 -
.../communicator/winrm/provisioner_test.go | 189 -
.../github.com/hashicorp/terraform/config.go | 358 -
.../hashicorp/terraform/config/append.go | 76 -
.../hashicorp/terraform/config/append_test.go | 102 -
.../hashicorp/terraform/config/config.go | 984 --
.../terraform/config/config_string.go | 302 -
.../hashicorp/terraform/config/config_test.go | 578 -
.../hashicorp/terraform/config/config_tree.go | 43 -
.../hashicorp/terraform/config/import_tree.go | 113 -
.../hashicorp/terraform/config/interpolate.go | 357 -
.../terraform/config/interpolate_funcs.go | 998 --
.../config/interpolate_funcs_test.go | 1658 --
.../terraform/config/interpolate_test.go | 259 -
.../terraform/config/interpolate_walk.go | 302 -
.../terraform/config/interpolate_walk_test.go | 193 -
.../hashicorp/terraform/config/lang.go | 11 -
.../hashicorp/terraform/config/loader.go | 214 -
.../hashicorp/terraform/config/loader_hcl.go | 866 --
.../terraform/config/loader_hcl_test.go | 9 -
.../hashicorp/terraform/config/loader_test.go | 1093 --
.../hashicorp/terraform/config/merge.go | 183 -
.../hashicorp/terraform/config/merge_test.go | 168 -
.../terraform/config/module/copy_dir.go | 114 -
.../hashicorp/terraform/config/module/get.go | 71 -
.../terraform/config/module/inode.go | 21 -
.../terraform/config/module/inode_freebsd.go | 21 -
.../terraform/config/module/inode_windows.go | 8 -
.../terraform/config/module/module.go | 7 -
.../terraform/config/module/module_test.go | 38 -
.../module/test-fixtures/basic-dot/main.tf | 5 -
.../basic-git/DOTgit/COMMIT_EDITMSG | 7 -
.../test-fixtures/basic-git/DOTgit/HEAD | 1 -
.../test-fixtures/basic-git/DOTgit/config | 7 -
.../basic-git/DOTgit/description | 1 -
.../DOTgit/hooks/applypatch-msg.sample | 15 -
.../basic-git/DOTgit/hooks/commit-msg.sample | 24 -
.../basic-git/DOTgit/hooks/post-update.sample | 8 -
.../DOTgit/hooks/pre-applypatch.sample | 14 -
.../basic-git/DOTgit/hooks/pre-commit.sample | 49 -
.../basic-git/DOTgit/hooks/pre-push.sample | 54 -
.../basic-git/DOTgit/hooks/pre-rebase.sample | 169 -
.../DOTgit/hooks/prepare-commit-msg.sample | 36 -
.../basic-git/DOTgit/hooks/update.sample | 128 -
.../test-fixtures/basic-git/DOTgit/index | Bin 184 -> 0 bytes
.../basic-git/DOTgit/info/exclude | 6 -
.../test-fixtures/basic-git/DOTgit/logs/HEAD | 7 -
.../basic-git/DOTgit/logs/refs/heads/master | 4 -
.../DOTgit/logs/refs/heads/test-branch | 2 -
.../14/6492b04efe0aae2b8288c5c0aef6a951030fde | Bin 170 -> 0 bytes
.../1d/3d6744266642cb7623e2c678c33c77b075c49f | Bin 84 -> 0 bytes
.../1f/31e97f053caeb5d6b7bffa3faf82941c99efa2 | Bin 167 -> 0 bytes
.../24/3f0fc5c4e586d1a3daa54c981b6f34e9ab1085 | Bin 164 -> 0 bytes
.../38/30637158f774a20edcc0bf1c4d07b0bf87c43d | Bin 59 -> 0 bytes
.../40/4618c9d96dfa0a5d365b518e0dfbb5a387c649 | Bin 84 -> 0 bytes
.../49/7bc37401eb3c9b11865b1768725b64066eccee | 2 -
.../7b/7614f8759ac8b5e4b02be65ad8e2667be6dd87 | 2 -
.../8c/1a79ca1f98b6d00f5bf5c6cc9e8d3c092dd3ba | Bin 51 -> 0 bytes
.../96/43088174e25a9bd91c27970a580af0085c9f32 | Bin 52 -> 0 bytes
.../b7/757b6a3696ad036e9aa2f5b4856d09e7f17993 | Bin 82 -> 0 bytes
.../e6/9de29bb2d1d6434b8b29ae775ad8c2e48c5391 | Bin 15 -> 0 bytes
.../basic-git/DOTgit/refs/heads/master | 1 -
.../basic-git/DOTgit/refs/heads/test-branch | 1 -
.../basic-git/DOTgit/refs/tags/v1.0 | 1 -
.../module/test-fixtures/basic-git/main.tf | 5 -
.../test-fixtures/basic-git/subdir/sub.tf | 0
.../test-fixtures/basic-hg/.hg/00changelog.i | Bin 57 -> 0 bytes
.../module/test-fixtures/basic-hg/.hg/branch | 1 -
.../basic-hg/.hg/cache/branch2-served | 3 -
.../test-fixtures/basic-hg/.hg/cache/tags | 2 -
.../test-fixtures/basic-hg/.hg/dirstate | Bin 64 -> 0 bytes
.../basic-hg/.hg/last-message.txt | 2 -
.../test-fixtures/basic-hg/.hg/requires | 4 -
.../basic-hg/.hg/store/00changelog.i | Bin 355 -> 0 bytes
.../basic-hg/.hg/store/00manifest.i | Bin 246 -> 0 bytes
.../basic-hg/.hg/store/data/main.tf.i | Bin 112 -> 0 bytes
.../basic-hg/.hg/store/data/main__branch.tf.i | Bin 64 -> 0 bytes
.../test-fixtures/basic-hg/.hg/store/fncache | 2 -
.../basic-hg/.hg/store/phaseroots | 1 -
.../test-fixtures/basic-hg/.hg/store/undo | Bin 59 -> 0 bytes
.../basic-hg/.hg/store/undo.phaseroots | 1 -
.../test-fixtures/basic-hg/.hg/undo.bookmarks | 0
.../test-fixtures/basic-hg/.hg/undo.branch | 1 -
.../test-fixtures/basic-hg/.hg/undo.desc | 2 -
.../test-fixtures/basic-hg/.hg/undo.dirstate | Bin 95 -> 0 bytes
.../module/test-fixtures/basic-hg/main.tf | 5 -
.../module/test-fixtures/basic-parent/a/a.tf | 3 -
.../module/test-fixtures/basic-parent/c/c.tf | 1 -
.../module/test-fixtures/basic-parent/main.tf | 3 -
.../basic-subdir/foo/sub/baz/main.tf | 0
.../basic-subdir/foo/sub/main.tf | 3 -
.../module/test-fixtures/basic-subdir/main.tf | 3 -
.../module/test-fixtures/basic/foo/main.tf | 1 -
.../config/module/test-fixtures/basic/main.tf | 5 -
.../module/test-fixtures/basic/subdir/sub.tf | 0
.../test-fixtures/child/foo/bar/main.tf | 2 -
.../module/test-fixtures/child/foo/main.tf | 5 -
.../config/module/test-fixtures/child/main.tf | 5 -
.../module/test-fixtures/dup/foo/main.tf | 0
.../config/module/test-fixtures/dup/main.tf | 7 -
.../child/main.tf | 1 -
.../validate-bad-output-to-module/main.tf | 8 -
.../validate-bad-output/child/main.tf | 0
.../test-fixtures/validate-bad-output/main.tf | 7 -
.../validate-bad-var/child/main.tf | 0
.../test-fixtures/validate-bad-var/main.tf | 5 -
.../validate-child-bad/child/main.tf | 3 -
.../test-fixtures/validate-child-bad/main.tf | 3 -
.../validate-child-good/child/main.tf | 3 -
.../test-fixtures/validate-child-good/main.tf | 8 -
.../validate-required-var/child/main.tf | 1 -
.../validate-required-var/main.tf | 3 -
.../test-fixtures/validate-root-bad/main.tf | 3 -
.../hashicorp/terraform/config/module/tree.go | 381 -
.../terraform/config/module/tree_gob.go | 57 -
.../terraform/config/module/tree_gob_test.go | 37 -
.../terraform/config/module/tree_test.go | 371 -
.../hashicorp/terraform/config/raw_config.go | 340 -
.../terraform/config/raw_config_test.go | 368 -
.../terraform/config/resource_mode.go | 9 -
.../terraform/config/resource_mode_string.go | 16 -
.../config/test-fixtures/.gitattributes | 1 -
.../config/test-fixtures/attributes.tf | 15 -
.../config/test-fixtures/attributes.tf.json | 27 -
.../config/test-fixtures/bad-variable-type.tf | 3 -
.../config/test-fixtures/bad_type.tf.nope | 1 -
.../terraform/config/test-fixtures/basic.tf | 75 -
.../config/test-fixtures/basic.tf.json | 91 -
.../config/test-fixtures/connection.tf | 23 -
.../config/test-fixtures/copy-basic/main.tf | 19 -
.../config/test-fixtures/count-int/main.tf | 3 -
.../config/test-fixtures/count-string/main.tf | 3 -
.../config/test-fixtures/count-var/main.tf | 3 -
.../test-fixtures/create-before-destroy.tf | 14 -
.../config/test-fixtures/data-count/main.tf | 3 -
.../data-source-arity-mistake.tf | 3 -
.../config/test-fixtures/dir-basic/README.md | 2 -
.../test-fixtures/dir-basic/nested/nested.tf | 3 -
.../config/test-fixtures/dir-basic/one.tf | 21 -
.../config/test-fixtures/dir-basic/two.tf | 24 -
.../config/test-fixtures/dir-empty/.gitkeep | 0
.../config/test-fixtures/dir-merge/one.tf | 8 -
.../config/test-fixtures/dir-merge/two.tf | 2 -
.../test-fixtures/dir-override-var/main.tf | 4 -
.../dir-override-var/main_override.tf | 3 -
.../dir-override/foo_override.tf.json | 16 -
.../config/test-fixtures/dir-override/one.tf | 22 -
.../dir-override/override.tf.json | 10 -
.../config/test-fixtures/dir-override/two.tf | 24 -
.../dir-temporary-files/#emacs-two.tf# | 20 -
.../dir-temporary-files/.#emacs-one.tf | 17 -
.../dir-temporary-files/.hidden.tf | 0
.../test-fixtures/empty-collections/main.tf | 11 -
.../terraform/config/test-fixtures/empty.tf | 0
.../config/test-fixtures/escapedquotes.tf | 7 -
.../terraform/config/test-fixtures/heredoc.tf | 51 -
.../config/test-fixtures/ignore-changes.tf | 17 -
.../terraform/config/test-fixtures/import.tf | 10 -
.../config/test-fixtures/import/one.tf | 7 -
.../test-fixtures/interpolations/concat.hcl | 1 -
.../test-fixtures/lifecycle_cbd_typo.tf | 5 -
.../terraform/config/test-fixtures/modules.tf | 4 -
.../test-fixtures/prevent-destroy-string.tf | 10 -
.../config/test-fixtures/provisioners.tf | 11 -
.../test-fixtures/resource-arity-mistake.tf | 5 -
.../test-fixtures/resource-no-name.tf.json | 11 -
.../validate-bad-depends-on/main.tf | 3 -
.../validate-bad-multi-resource/main.tf | 7 -
.../validate-count-bad-context/main.tf | 11 -
.../validate-count-below-zero/main.tf | 3 -
.../validate-count-count-var/main.tf | 3 -
.../test-fixtures/validate-count-int/main.tf | 5 -
.../validate-count-module-var/main.tf | 7 -
.../validate-count-not-int/main.tf | 5 -
.../validate-count-resource-var-multi/main.tf | 5 -
.../validate-count-resource-var/main.tf | 5 -
.../validate-count-user-var/main.tf | 5 -
.../validate-count-var-invalid/main.tf | 3 -
.../validate-count-var-unknown/main.tf | 3 -
.../test-fixtures/validate-count-var/main.tf | 3 -
.../test-fixtures/validate-count-zero/main.tf | 3 -
.../validate-depends-on-var/main.tf | 7 -
.../test-fixtures/validate-dup-module/main.tf | 7 -
.../validate-dup-resource/main.tf | 7 -
.../test-fixtures/validate-good/main.tf | 37 -
.../validate-ignore-changes-bad/main.tf | 21 -
.../validate-ignore-changes/main.tf | 21 -
.../validate-module-name-bad/main.tf | 3 -
.../validate-module-source-var/main.tf | 3 -
.../validate-module-var-int/main.tf | 4 -
.../validate-module-var-list/main.tf | 4 -
.../validate-module-var-map/main.tf | 7 -
.../validate-module-var-self/main.tf | 4 -
.../validate-output-bad-field/main.tf | 7 -
.../test-fixtures/validate-output-dup/main.tf | 10 -
.../validate-path-var-invalid/main.tf | 3 -
.../test-fixtures/validate-path-var/main.tf | 3 -
.../validate-prov-conn-splat-other/main.tf | 9 -
.../validate-prov-conn-splat-self/main.tf | 7 -
.../validate-prov-splat-other/main.tf | 7 -
.../validate-prov-splat-self/main.tf | 7 -
.../validate-provider-multi-good/main.tf | 7 -
.../validate-provider-multi-ref-bad/main.tf | 7 -
.../validate-provider-multi-ref-good/main.tf | 7 -
.../validate-provider-multi/main.tf | 7 -
.../validate-resource-prov-self/main.tf | 11 -
.../validate-resource-self/main.tf | 3 -
.../main.tf | 6 -
.../validate-unknown-resource-var/main.tf | 6 -
.../validate-unknownthing/main.tf | 1 -
.../validate-unknownvar-count/main.tf | 5 -
.../test-fixtures/validate-unknownvar/main.tf | 8 -
.../validate-var-default-interpolate/main.tf | 3 -
.../validate-var-default-list-type/main.tf | 3 -
.../validate-var-default/main.tf | 9 -
.../test-fixtures/validate-var-dup/main.tf | 2 -
.../validate-var-module-invalid/main.tf | 3 -
.../test-fixtures/validate-var-module/main.tf | 5 -
.../main.tf | 7 -
.../validate-var-multi-func/main.tf | 7 -
.../main.tf | 9 -
.../validate-var-multi-non-slice/main.tf | 7 -
.../test-fixtures/variable-mismatched-type.tf | 7 -
.../config/test-fixtures/variables.tf | 7 -
.../test-fixtures/windows-line-endings.tf | 6 -
.../hashicorp/terraform/config_test.go | 68 -
.../hashicorp/terraform/config_unix.go | 54 -
.../hashicorp/terraform/config_windows.go | 46 -
.../contrib/api-coverage/aws_api_coverage.rb | 49 -
.../contrib/zsh-completion/README.md | 5 -
.../contrib/zsh-completion/_terraform | 161 -
.../contrib/zsh-completion/install.sh | 13 -
.../github.com/hashicorp/terraform/dag/dag.go | 362 -
.../hashicorp/terraform/dag/dag_test.go | 325 -
.../hashicorp/terraform/dag/edge.go | 37 -
.../hashicorp/terraform/dag/edge_test.go | 26 -
.../hashicorp/terraform/dag/graph.go | 278 -
.../hashicorp/terraform/dag/graph_test.go | 171 -
.../github.com/hashicorp/terraform/dag/set.go | 87 -
.../hashicorp/terraform/dag/tarjan.go | 107 -
.../hashicorp/terraform/dag/tarjan_test.go | 86 -
.../hashicorp/terraform/deps/v0-4-0.json | 81 -
.../hashicorp/terraform/deps/v0-4-1.json | 286 -
.../hashicorp/terraform/deps/v0-5-0.json | 121 -
.../hashicorp/terraform/deps/v0-5-3.json | 301 -
.../hashicorp/terraform/deps/v0-6-0.json | 385 -
.../hashicorp/terraform/deps/v0-6-1.json | 385 -
.../hashicorp/terraform/deps/v0-6-10.json | 653 -
.../hashicorp/terraform/deps/v0-6-2.json | 385 -
.../hashicorp/terraform/deps/v0-6-3.json | 385 -
.../hashicorp/terraform/deps/v0-6-4.json | 440 -
.../hashicorp/terraform/deps/v0-6-5.json | 476 -
.../hashicorp/terraform/deps/v0-6-6.json | 489 -
.../hashicorp/terraform/deps/v0-6-7.json | 525 -
.../hashicorp/terraform/deps/v0-6-8.json | 529 -
.../hashicorp/terraform/deps/v0-6-9.json | 643 -
.../hashicorp/terraform/digraph/basic.go | 89 -
.../hashicorp/terraform/digraph/basic_test.go | 53 -
.../hashicorp/terraform/digraph/digraph.go | 34 -
.../hashicorp/terraform/digraph/graphviz.go | 28 -
.../terraform/digraph/graphviz_test.go | 64 -
.../hashicorp/terraform/digraph/tarjan.go | 111 -
.../terraform/digraph/tarjan_test.go | 82 -
.../hashicorp/terraform/digraph/util.go | 113 -
.../hashicorp/terraform/digraph/util_test.go | 233 -
.../hashicorp/terraform/dot/graph.go | 224 -
.../hashicorp/terraform/dot/graph_writer.go | 47 -
.../hashicorp/terraform/examples/README.md | 16 -
.../terraform/examples/aws-asg/README.md | 28 -
.../terraform/examples/aws-asg/main.tf | 86 -
.../terraform/examples/aws-asg/outputs.tf | 15 -
.../terraform/examples/aws-asg/userdata.sh | 3 -
.../terraform/examples/aws-asg/variables.tf | 41 -
.../aws-cloudwatch-events/kinesis/README.md | 14 -
.../aws-cloudwatch-events/kinesis/main.tf | 76 -
.../aws-cloudwatch-events/kinesis/outputs.tf | 7 -
.../kinesis/variables.tf | 24 -
.../aws-cloudwatch-events/sns/README.md | 15 -
.../aws-cloudwatch-events/sns/main.tf | 30 -
.../aws-cloudwatch-events/sns/outputs.tf | 7 -
.../aws-cloudwatch-events/sns/variables.tf | 19 -
.../terraform/examples/aws-count/README.md | 13 -
.../terraform/examples/aws-count/main.tf | 29 -
.../terraform/examples/aws-count/outputs.tf | 3 -
.../terraform/examples/aws-count/variables.tf | 14 -
.../terraform/examples/aws-ecs-alb/README.md | 33 -
.../examples/aws-ecs-alb/cloud-config.yml | 43 -
.../aws-ecs-alb/instance-profile-policy.json | 31 -
.../terraform/examples/aws-ecs-alb/main.tf | 324 -
.../terraform/examples/aws-ecs-alb/outputs.tf | 15 -
.../examples/aws-ecs-alb/task-definition.json | 22 -
.../examples/aws-ecs-alb/variables.tf | 37 -
.../terraform/examples/aws-eip/README.md | 11 -
.../terraform/examples/aws-eip/main.tf | 68 -
.../terraform/examples/aws-eip/outputs.tf | 7 -
.../terraform/examples/aws-eip/userdata.sh | 4 -
.../terraform/examples/aws-eip/variables.tf | 16 -
.../terraform/examples/aws-elb/README.md | 11 -
.../terraform/examples/aws-elb/main.tf | 121 -
.../terraform/examples/aws-elb/outputs.tf | 3 -
.../terraform/examples/aws-elb/userdata.sh | 4 -
.../terraform/examples/aws-elb/variables.tf | 16 -
.../examples/aws-networking/.gitignore | 3 -
.../examples/aws-networking/README.md | 11 -
.../aws-networking/numbering/variables.tf | 27 -
.../aws-networking/region/numbering.tf | 1 -
.../examples/aws-networking/region/outputs.tf | 11 -
.../aws-networking/region/security_group.tf | 25 -
.../examples/aws-networking/region/subnets.tf | 14 -
.../aws-networking/region/variables.tf | 9 -
.../examples/aws-networking/region/vpc.tf | 7 -
.../examples/aws-networking/regions.tf | 11 -
.../aws-networking/subnet/numbering.tf | 1 -
.../examples/aws-networking/subnet/outputs.tf | 3 -
.../aws-networking/subnet/security_group.tf | 12 -
.../examples/aws-networking/subnet/subnet.tf | 13 -
.../aws-networking/subnet/variables.tf | 11 -
.../examples/aws-networking/variables.tf | 3 -
.../terraform/examples/aws-rds/README.md | 18 -
.../terraform/examples/aws-rds/main.tf | 19 -
.../terraform/examples/aws-rds/outputs.tf | 11 -
.../examples/aws-rds/sg-variables.tf | 9 -
.../terraform/examples/aws-rds/sg.tf | 23 -
.../examples/aws-rds/subnet-variables.tf | 23 -
.../terraform/examples/aws-rds/subnets.tf | 19 -
.../terraform/examples/aws-rds/variables.tf | 42 -
.../aws-s3-cross-account-access/README.md | 20 -
.../aws-s3-cross-account-access/main.tf | 55 -
.../aws-s3-cross-account-access/prod.txt | 1 -
.../terraform.template.tfvars | 10 -
.../aws-s3-cross-account-access/test.txt | 1 -
.../aws-s3-cross-account-access/variables.tf | 11 -
.../terraform/examples/aws-two-tier/README.md | 36 -
.../terraform/examples/aws-two-tier/main.tf | 142 -
.../examples/aws-two-tier/outputs.tf | 3 -
.../examples/aws-two-tier/variables.tf | 28 -
.../terraform/examples/clc/README.md | 9 -
.../hashicorp/terraform/examples/clc/main.tf | 96 -
.../terraform/examples/clc/outputs.tf | 27 -
.../terraform/examples/clc/variables.tf | 20 -
.../terraform/examples/consul/README.md | 49 -
.../terraform/examples/consul/main.tf | 44 -
.../terraform/examples/consul/variables.tf | 14 -
.../examples/cross-provider/README.md | 11 -
.../terraform/examples/cross-provider/main.tf | 26 -
.../examples/cross-provider/outputs.tf | 3 -
.../examples/cross-provider/variables.tf | 3 -
.../terraform/examples/digitalocean/README.md | 15 -
.../terraform/examples/digitalocean/main.tf | 44 -
.../examples/digitalocean/outputs.tf | 7 -
.../examples/digitalocean/variable.tf | 74 -
.../terraform/examples/gce-vpn/README.md | 17 -
.../terraform/examples/gce-vpn/variables.tf | 11 -
.../terraform/examples/gce-vpn/vpn.tf | 182 -
.../examples/google-two-tier/.gitignore | 1 -
.../examples/google-two-tier/README.md | 50 -
.../examples/google-two-tier/main.tf | 96 -
.../examples/google-two-tier/output.tf | 7 -
.../google-two-tier/scripts/install.sh | 8 -
.../google-two-tier/terraform.tfvars.example | 6 -
.../examples/google-two-tier/variables.tf | 36 -
.../openstack-with-networking/README.md | 63 -
.../openstack-with-networking/main.tf | 85 -
.../openstack-with-networking/openrc.sample | 7 -
.../openstack-with-networking/outputs.tf | 3 -
.../openstack-with-networking/variables.tf | 21 -
.../hashicorp/terraform/flatmap/expand.go | 74 -
.../terraform/flatmap/expand_test.go | 85 -
.../hashicorp/terraform/flatmap/flatten.go | 71 -
.../terraform/flatmap/flatten_test.go | 88 -
.../hashicorp/terraform/flatmap/map.go | 82 -
.../hashicorp/terraform/flatmap/map_test.go | 120 -
vendor/github.com/hashicorp/terraform/help.go | 87 -
.../hashicorp/terraform/helper/README.md | 7 -
.../terraform/helper/acctest/acctest.go | 2 -
.../terraform/helper/acctest/random.go | 46 -
.../terraform/helper/acctest/remotetests.go | 27 -
.../terraform/helper/config/decode.go | 28 -
.../terraform/helper/config/validator.go | 214 -
.../terraform/helper/config/validator_test.go | 200 -
.../hashicorp/terraform/helper/copy/copy.go | 121 -
.../terraform/helper/diff/diff_test.go | 92 -
.../terraform/helper/diff/resource_builder.go | 218 -
.../helper/diff/resource_builder_test.go | 471 -
.../terraform/helper/hashcode/hashcode.go | 22 -
.../helper/hashcode/hashcode_test.go | 26 -
.../helper/hilmapstructure/hilmapstructure.go | 41 -
.../terraform/helper/logging/logging.go | 99 -
.../terraform/helper/mutexkv/mutexkv.go | 51 -
.../terraform/helper/mutexkv/mutexkv_test.go | 67 -
.../terraform/helper/pathorcontents/read.go | 40 -
.../helper/pathorcontents/read_test.go | 140 -
.../terraform/helper/resource/error.go | 75 -
.../hashicorp/terraform/helper/resource/id.go | 53 -
.../terraform/helper/resource/id_test.go | 51 -
.../terraform/helper/resource/map.go | 140 -
.../terraform/helper/resource/map_test.go | 81 -
.../terraform/helper/resource/resource.go | 49 -
.../terraform/helper/resource/state.go | 190 -
.../terraform/helper/resource/state_test.go | 217 -
.../terraform/helper/resource/testing.go | 683 -
.../helper/resource/testing_config.go | 156 -
.../helper/resource/testing_import_state.go | 137 -
.../resource/testing_import_state_test.go | 310 -
.../terraform/helper/resource/testing_test.go | 499 -
.../terraform/helper/resource/wait.go | 84 -
.../terraform/helper/resource/wait_test.go | 76 -
.../terraform/helper/schema/README.md | 11 -
.../schema/data_source_resource_shim.go | 59 -
.../terraform/helper/schema/equal.go | 6 -
.../terraform/helper/schema/field_reader.go | 270 -
.../helper/schema/field_reader_config.go | 292 -
.../helper/schema/field_reader_config_test.go | 350 -
.../helper/schema/field_reader_diff.go | 203 -
.../helper/schema/field_reader_diff_test.go | 476 -
.../helper/schema/field_reader_map.go | 227 -
.../helper/schema/field_reader_map_test.go | 108 -
.../helper/schema/field_reader_multi.go | 63 -
.../helper/schema/field_reader_multi_test.go | 270 -
.../helper/schema/field_reader_test.go | 401 -
.../terraform/helper/schema/field_writer.go | 8 -
.../helper/schema/field_writer_map.go | 319 -
.../helper/schema/field_writer_map_test.go | 263 -
.../helper/schema/getsource_string.go | 36 -
.../terraform/helper/schema/provider.go | 336 -
.../terraform/helper/schema/provider_test.go | 330 -
.../terraform/helper/schema/resource.go | 386 -
.../terraform/helper/schema/resource_data.go | 465 -
.../helper/schema/resource_data_get_source.go | 17 -
.../helper/schema/resource_data_test.go | 3026 ----
.../helper/schema/resource_importer.go | 52 -
.../terraform/helper/schema/resource_test.go | 940 --
.../terraform/helper/schema/schema.go | 1393 --
.../terraform/helper/schema/schema_test.go | 3988 -----
.../terraform/helper/schema/serialize.go | 122 -
.../terraform/helper/schema/serialize_test.go | 238 -
.../hashicorp/terraform/helper/schema/set.go | 209 -
.../terraform/helper/schema/set_test.go | 113 -
.../terraform/helper/schema/valuetype.go | 21 -
.../helper/schema/valuetype_string.go | 16 -
.../terraform/helper/signalwrapper/wrapper.go | 182 -
.../helper/signalwrapper/wrapper_test.go | 94 -
.../terraform/helper/validation/validation.go | 49 -
.../helper/validation/validation_test.go | 91 -
vendor/github.com/hashicorp/terraform/main.go | 237 -
.../github.com/hashicorp/terraform/panic.go | 67 -
.../hashicorp/terraform/plugin/plugin.go | 13 -
.../hashicorp/terraform/plugin/plugin_test.go | 17 -
.../terraform/plugin/resource_provider.go | 550 -
.../plugin/resource_provider_test.go | 772 -
.../terraform/plugin/resource_provisioner.go | 145 -
.../plugin/resource_provisioner_test.go | 193 -
.../hashicorp/terraform/plugin/serve.go | 47 -
.../hashicorp/terraform/plugin/ui_input.go | 51 -
.../terraform/plugin/ui_input_test.go | 49 -
.../hashicorp/terraform/plugin/ui_output.go | 29 -
.../terraform/plugin/ui_output_test.go | 35 -
.../hashicorp/terraform/scripts/build.sh | 101 -
.../terraform/scripts/changelog-links.sh | 29 -
.../hashicorp/terraform/scripts/dist.sh | 44 -
.../hashicorp/terraform/scripts/errcheck.sh | 25 -
.../terraform/scripts/generate-plugins.go | 283 -
.../scripts/generate-plugins_test.go | 102 -
.../hashicorp/terraform/scripts/gofmtcheck.sh | 13 -
.../terraform/scripts/gogetcookie.sh | 10 -
.../hashicorp/terraform/scripts/travis.sh | 14 -
.../hashicorp/terraform/state/backup.go | 63 -
.../hashicorp/terraform/state/backup_test.go | 29 -
.../hashicorp/terraform/state/cache.go | 239 -
.../hashicorp/terraform/state/cache_test.go | 111 -
.../hashicorp/terraform/state/inmem.go | 28 -
.../hashicorp/terraform/state/inmem_test.go | 16 -
.../hashicorp/terraform/state/local.go | 115 -
.../hashicorp/terraform/state/local_test.go | 68 -
.../terraform/state/remote/artifactory.go | 117 -
.../state/remote/artifactory_test.go | 55 -
.../hashicorp/terraform/state/remote/atlas.go | 366 -
.../terraform/state/remote/atlas_test.go | 385 -
.../hashicorp/terraform/state/remote/azure.go | 179 -
.../terraform/state/remote/azure_test.go | 155 -
.../terraform/state/remote/client_inmem.go | 32 -
.../terraform/state/remote/consul.go | 91 -
.../terraform/state/remote/consul_test.go | 27 -
.../hashicorp/terraform/state/remote/etcd.go | 78 -
.../terraform/state/remote/etcd_test.go | 38 -
.../hashicorp/terraform/state/remote/file.go | 64 -
.../terraform/state/remote/file_test.go | 29 -
.../hashicorp/terraform/state/remote/gcs.go | 175 -
.../terraform/state/remote/gcs_test.go | 69 -
.../hashicorp/terraform/state/remote/http.go | 181 -
.../terraform/state/remote/http_test.go | 55 -
.../hashicorp/terraform/state/remote/manta.go | 124 -
.../terraform/state/remote/manta_test.go | 58 -
.../terraform/state/remote/remote.go | 50 -
.../terraform/state/remote/remote_test.go | 135 -
.../hashicorp/terraform/state/remote/s3.go | 190 -
.../terraform/state/remote/s3_test.go | 131 -
.../hashicorp/terraform/state/remote/state.go | 62 -
.../terraform/state/remote/state_test.go | 27 -
.../hashicorp/terraform/state/remote/swift.go | 114 -
.../terraform/state/remote/swift_test.go | 31 -
.../hashicorp/terraform/state/state.go | 42 -
.../hashicorp/terraform/state/testing.go | 151 -
.../hashicorp/terraform/terraform/context.go | 617 -
.../terraform/terraform/context_apply_test.go | 5268 -------
.../terraform/terraform/context_import.go | 74 -
.../terraform/context_import_test.go | 617 -
.../terraform/terraform/context_input_test.go | 660 -
.../terraform/terraform/context_plan_test.go | 2514 ----
.../terraform/context_refresh_test.go | 883 --
.../terraform/terraform/context_test.go | 344 -
.../terraform/context_validate_test.go | 823 -
.../hashicorp/terraform/terraform/diff.go | 634 -
.../terraform/terraform/diff_test.go | 733 -
.../hashicorp/terraform/terraform/eval.go | 63 -
.../terraform/terraform/eval_apply.go | 295 -
.../terraform/eval_check_prevent_destroy.go | 32 -
.../terraform/terraform/eval_context.go | 80 -
.../terraform/eval_context_builtin.go | 349 -
.../terraform/eval_context_builtin_test.go | 42 -
.../terraform/terraform/eval_context_mock.go | 200 -
.../terraform/terraform/eval_count.go | 58 -
.../terraform/terraform/eval_diff.go | 409 -
.../terraform/terraform/eval_diff_test.go | 78 -
.../terraform/terraform/eval_error.go | 20 -
.../terraform/terraform/eval_filter.go | 25 -
.../terraform/eval_filter_operation.go | 49 -
.../hashicorp/terraform/terraform/eval_if.go | 26 -
.../terraform/terraform/eval_import_state.go | 76 -
.../terraform/terraform/eval_interpolate.go | 24 -
.../terraform/eval_interpolate_test.go | 37 -
.../terraform/terraform/eval_noop.go | 8 -
.../terraform/terraform/eval_output.go | 119 -
.../terraform/terraform/eval_output_test.go | 56 -
.../terraform/terraform/eval_provider.go | 145 -
.../terraform/terraform/eval_provider_test.go | 153 -
.../terraform/terraform/eval_provisioner.go | 47 -
.../terraform/eval_provisioner_test.go | 65 -
.../terraform/terraform/eval_read_data.go | 139 -
.../terraform/terraform/eval_refresh.go | 55 -
.../terraform/terraform/eval_resource.go | 13 -
.../terraform/terraform/eval_sequence.go | 23 -
.../terraform/terraform/eval_sequence_test.go | 9 -
.../terraform/terraform/eval_state.go | 323 -
.../terraform/terraform/eval_state_test.go | 187 -
.../terraform/terraform/eval_test.go | 40 -
.../terraform/terraform/eval_validate.go | 148 -
.../terraform/terraform/eval_validate_test.go | 184 -
.../terraform/terraform/eval_variable.go | 270 -
.../terraform/terraform/eval_variable_test.go | 142 -
.../terraform/terraform/evaltree_provider.go | 119 -
.../hashicorp/terraform/terraform/graph.go | 255 -
.../terraform/terraform/graph_builder.go | 200 -
.../terraform/graph_builder_import.go | 63 -
.../terraform/terraform/graph_builder_test.go | 357 -
.../terraform/terraform/graph_config_node.go | 41 -
.../terraform/graph_config_node_module.go | 213 -
.../graph_config_node_module_test.go | 80 -
.../terraform/graph_config_node_output.go | 106 -
.../terraform/graph_config_node_provider.go | 131 -
.../terraform/graph_config_node_resource.go | 531 -
.../terraform/graph_config_node_test.go | 110 -
.../terraform/graph_config_node_type.go | 16 -
.../terraform/graph_config_node_variable.go | 274 -
.../graph_config_node_variable_test.go | 21 -
.../terraform/terraform/graph_dot.go | 185 -
.../terraform/terraform/graph_dot_test.go | 287 -
.../terraform/graph_interface_subgraph.go | 7 -
.../terraform/terraform/graph_test.go | 98 -
.../terraform/terraform/graph_walk.go | 30 -
.../terraform/terraform/graph_walk_context.go | 154 -
.../terraform/graph_walk_operation.go | 18 -
.../terraform/terraform/graph_walk_test.go | 9 -
.../terraform/graphnodeconfigtype_string.go | 16 -
.../hashicorp/terraform/terraform/hook.go | 137 -
.../terraform/terraform/hook_mock.go | 237 -
.../terraform/terraform/hook_stop.go | 87 -
.../terraform/terraform/hook_stop_test.go | 9 -
.../terraform/terraform/hook_test.go | 9 -
.../terraform/terraform/instancetype.go | 13 -
.../terraform/instancetype_string.go | 16 -
.../terraform/terraform/interpolate.go | 720 -
.../terraform/terraform/interpolate_test.go | 684 -
.../hashicorp/terraform/terraform/path.go | 24 -
.../hashicorp/terraform/terraform/plan.go | 146 -
.../terraform/terraform/plan_test.go | 73 -
.../hashicorp/terraform/terraform/resource.go | 284 -
.../terraform/terraform/resource_address.go | 219 -
.../terraform/resource_address_test.go | 463 -
.../terraform/terraform/resource_provider.go | 178 -
.../terraform/resource_provider_mock.go | 274 -
.../terraform/resource_provider_mock_test.go | 10 -
.../terraform/resource_provider_test.go | 189 -
.../terraform/resource_provisioner.go | 34 -
.../terraform/resource_provisioner_mock.go | 53 -
.../resource_provisioner_mock_test.go | 9 -
.../terraform/terraform/resource_test.go | 250 -
.../terraform/terraform/semantics.go | 135 -
.../terraform/terraform/semantics_test.go | 57 -
.../hashicorp/terraform/terraform/state.go | 1986 ---
.../terraform/terraform/state_add.go | 373 -
.../terraform/terraform/state_add_test.go | 640 -
.../terraform/terraform/state_filter.go | 253 -
.../terraform/terraform/state_filter_test.go | 155 -
.../terraform/terraform/state_test.go | 1676 ---
.../terraform/state_upgrade_v1_to_v2.go | 174 -
.../terraform/state_upgrade_v2_to_v3.go | 142 -
.../hashicorp/terraform/terraform/state_v1.go | 145 -
.../terraform/terraform/terraform_test.go | 1470 --
.../test-fixtures/apply-blank/main.tf | 1 -
.../test-fixtures/apply-cancel/main.tf | 7 -
.../test-fixtures/apply-compute/main.tf | 13 -
.../main.tf | 10 -
.../test-fixtures/apply-count-dec-one/main.tf | 3 -
.../test-fixtures/apply-count-dec/main.tf | 8 -
.../test-fixtures/apply-count-tainted/main.tf | 4 -
.../apply-count-variable-ref/main.tf | 11 -
.../apply-count-variable/main.tf | 8 -
.../apply-depends-create-before/main.tf | 11 -
.../test-fixtures/apply-destroy-cbd/main.tf | 7 -
.../apply-destroy-computed/child/main.tf | 5 -
.../apply-destroy-computed/main.tf | 6 -
.../child/main.tf | 5 -
.../apply-destroy-cross-providers/main.tf | 6 -
.../apply-destroy-data-resource/main.tf | 5 -
.../child/main.tf | 3 -
.../child/subchild/main.tf | 5 -
.../child/subchild/subsubchild/main.tf | 1 -
.../main.tf | 3 -
.../child/child2/main.tf | 5 -
.../child/main.tf | 8 -
.../main.tf | 9 -
.../child/main.tf | 5 -
.../apply-destroy-mod-var-and-count/main.tf | 4 -
.../child/child.tf | 7 -
.../main.tf | 4 -
.../child/main.tf | 1 -
.../main.tf | 3 -
.../child/main.tf | 9 -
.../apply-destroy-module-with-attrs/main.tf | 10 -
.../middle/bottom/bottom.tf | 5 -
.../middle/middle.tf | 10 -
.../top.tf | 4 -
.../apply-destroy-nested-module/child/main.tf | 3 -
.../child/subchild/main.tf | 1 -
.../apply-destroy-nested-module/main.tf | 5 -
.../apply-destroy-outputs/main.tf | 14 -
.../apply-destroy-provisioner/main.tf | 5 -
.../test-fixtures/apply-destroy/main.tf | 9 -
.../apply-empty-module/child/main.tf | 11 -
.../test-fixtures/apply-empty-module/main.tf | 7 -
.../apply-error-create-before/main.tf | 6 -
.../test-fixtures/apply-error/main.tf | 7 -
.../apply-good-create-before-update/main.tf | 7 -
.../apply-good-create-before/main.tf | 6 -
.../test-fixtures/apply-good/main.tf | 7 -
.../test-fixtures/apply-idattr/main.tf | 2 -
.../apply-ignore-changes-create/main.tf | 7 -
.../apply-ignore-changes-dep/main.tf | 12 -
.../apply-ignore-changes-wildcard/main.tf | 7 -
.../apply-map-var-override/main.tf | 14 -
.../amodule/main.tf | 9 -
.../apply-map-var-through-module/main.tf | 19 -
.../test-fixtures/apply-minimal/main.tf | 5 -
.../apply-module-bool/child/main.tf | 7 -
.../test-fixtures/apply-module-bool/main.tf | 8 -
.../apply-module-destroy-order/child/main.tf | 5 -
.../apply-module-destroy-order/main.tf | 7 -
.../child/grandchild/main.tf | 1 -
.../child/main.tf | 3 -
.../main.tf | 7 -
.../apply-module-only-provider/child/main.tf | 2 -
.../apply-module-only-provider/main.tf | 5 -
.../main.tf | 3 -
.../apply-module-provider-alias/child/main.tf | 7 -
.../apply-module-provider-alias/main.tf | 3 -
.../child/main.tf | 3 -
.../child/subchild/main.tf | 1 -
.../main.tf | 3 -
.../child/main.tf | 5 -
.../apply-module-var-resource-count/main.tf | 6 -
.../test-fixtures/apply-module/child/main.tf | 3 -
.../test-fixtures/apply-module/main.tf | 11 -
.../main.tf | 8 -
.../apply-multi-provider/main.tf | 7 -
.../test-fixtures/apply-multi-var/main.tf | 10 -
.../apply-output-add-after/main.tf | 6 -
.../apply-output-add-after/outputs.tf.json | 10 -
.../apply-output-add-before/main.tf | 6 -
.../apply-output-add-before/outputs.tf.json | 7 -
.../apply-output-invalid/main.tf | 12 -
.../test-fixtures/apply-output-list/main.tf | 12 -
.../apply-output-multi-index/main.tf | 12 -
.../test-fixtures/apply-output-multi/main.tf | 12 -
.../test-fixtures/apply-output-orphan/main.tf | 1 -
.../test-fixtures/apply-output/main.tf | 11 -
.../apply-provider-alias/main.tf | 12 -
.../apply-provider-computed/main.tf | 9 -
.../apply-provider-warning/main.tf | 1 -
.../apply-provisioner-compute/main.tf | 13 -
.../apply-provisioner-conninfo/main.tf | 23 -
.../apply-provisioner-diff/main.tf | 4 -
.../main.tf | 7 -
.../apply-provisioner-fail-create/main.tf | 3 -
.../apply-provisioner-fail/main.tf | 7 -
.../main.tf | 7 -
.../apply-provisioner-multi-self-ref/main.tf | 8 -
.../apply-provisioner-resource-ref/main.tf | 7 -
.../apply-provisioner-self-ref/main.tf | 7 -
.../test-fixtures/apply-ref-count/main.tf | 7 -
.../apply-resource-count-one-list/main.tf | 7 -
.../apply-resource-count-zero-list/main.tf | 7 -
.../apply-taint-dep-requires-new/main.tf | 10 -
.../test-fixtures/apply-taint-dep/main.tf | 10 -
.../test-fixtures/apply-taint/main.tf | 4 -
.../apply-tainted-targets/main.tf | 3 -
.../apply-targeted-count/main.tf | 7 -
.../apply-targeted-module-dep/child/main.tf | 5 -
.../apply-targeted-module-dep/main.tf | 7 -
.../child/main.tf | 7 -
.../apply-targeted-module-resource/main.tf | 7 -
.../apply-targeted-module/child/main.tf | 7 -
.../apply-targeted-module/main.tf | 11 -
.../test-fixtures/apply-targeted/main.tf | 7 -
.../apply-unknown-interpolate/child/main.tf | 1 -
.../apply-unknown-interpolate/main.tf | 6 -
.../test-fixtures/apply-unknown/main.tf | 4 -
.../test-fixtures/apply-vars-env/main.tf | 20 -
.../test-fixtures/apply-vars/main.tf | 33 -
.../test-fixtures/graph-basic/main.tf | 24 -
.../test-fixtures/graph-builder-basic/main.tf | 5 -
.../graph-builder-cbd-non-cbd/main.tf | 9 -
.../graph-builder-modules/consul/main.tf | 2 -
.../graph-builder-modules/main.tf | 16 -
.../foo/bar/main.tf | 2 -
.../foo/main.tf | 6 -
.../graph-builder-multi-level-module/main.tf | 4 -
.../graph-builder-orphan-deps/main.tf | 1 -
.../graph-count-var-resource/main.tf | 9 -
.../test-fixtures/graph-count/main.tf | 7 -
.../test-fixtures/graph-cycle/main.tf | 18 -
.../graph-depends-on-count/main.tf | 6 -
.../test-fixtures/graph-depends-on/main.tf | 5 -
.../graph-diff-create-before/main.tf | 8 -
.../test-fixtures/graph-diff-destroy/main.tf | 8 -
.../graph-diff-module-dep-module/bar/main.tf | 3 -
.../graph-diff-module-dep-module/foo/main.tf | 5 -
.../graph-diff-module-dep-module/main.tf | 8 -
.../graph-diff-module-dep/child/main.tf | 5 -
.../graph-diff-module-dep/main.tf | 8 -
.../graph-diff-module/child/main.tf | 5 -
.../test-fixtures/graph-diff-module/main.tf | 7 -
.../test-fixtures/graph-diff/main.tf | 2 -
.../test-fixtures/graph-missing-deps/main.tf | 5 -
.../test-fixtures/graph-module-orphan/main.tf | 10 -
.../graph-modules/consul/main.tf | 3 -
.../test-fixtures/graph-modules/main.tf | 16 -
.../graph-node-module-expand/child/main.tf | 4 -
.../graph-node-module-expand/main.tf | 3 -
.../graph-node-module-flatten/child/main.tf | 1 -
.../graph-node-module-flatten/main.tf | 3 -
.../test-fixtures/graph-outputs/main.tf | 5 -
.../graph-provider-alias/main.tf | 10 -
.../graph-provider-prune/main.tf | 5 -
.../test-fixtures/graph-provisioners/main.tf | 32 -
.../graph-resource-expand-prov-deps/main.tf | 7 -
.../graph-resource-expand/main.tf | 3 -
.../test-fixtures/graph-tainted/main.tf | 18 -
.../test-fixtures/import-provider/main.tf | 3 -
.../input-bad-var-default/main.tf | 5 -
.../terraform/test-fixtures/input-hcl/main.tf | 12 -
.../input-interpolate-var/child/main.tf | 5 -
.../input-interpolate-var/main.tf | 7 -
.../input-interpolate-var/source/main.tf | 1 -
.../main.tf | 9 -
.../moda/main.tf | 3 -
.../modb/main.tf | 7 -
.../input-provider-multi/main.tf | 9 -
.../input-provider-once/child/main.tf | 2 -
.../test-fixtures/input-provider-once/main.tf | 5 -
.../test-fixtures/input-provider-vars/main.tf | 5 -
.../child/main.tf | 1 -
.../main.tf | 7 -
.../input-provider-with-vars/main.tf | 7 -
.../test-fixtures/input-provider/main.tf | 1 -
.../test-fixtures/input-var-default/main.tf | 7 -
.../child/main.tf | 5 -
.../input-var-partially-computed/main.tf | 7 -
.../test-fixtures/input-vars-unset/main.tf | 7 -
.../test-fixtures/input-vars/main.tf | 22 -
.../interpolate-multi-interp/main.tf | 3 -
.../interpolate-multi-vars/main.tf | 7 -
.../interpolate-path-module/child/main.tf | 0
.../interpolate-path-module/main.tf | 3 -
.../interpolate-resource-variable/main.tf | 1 -
.../test-fixtures/issue-5254/step-0/main.tf | 10 -
.../test-fixtures/issue-5254/step-1/main.tf | 11 -
.../test-fixtures/issue-7824/main.tf | 6 -
.../terraform/test-fixtures/new-good/main.tf | 6 -
.../test-fixtures/new-graph-cycle/main.tf | 7 -
.../test-fixtures/new-pc-cache/main.tf | 12 -
.../new-provider-validate/main.tf | 5 -
.../test-fixtures/new-variables/main.tf | 4 -
.../plan-cbd-maintain-root/main.tf | 13 -
.../plan-computed-data-count/main.tf | 9 -
.../plan-computed-data-resource/main.tf | 8 -
.../test-fixtures/plan-computed-list/main.tf | 8 -
.../plan-computed-value-in-map/main.tf | 15 -
.../plan-computed-value-in-map/mod/main.tf | 8 -
.../test-fixtures/plan-computed/main.tf | 8 -
.../test-fixtures/plan-count-computed/main.tf | 8 -
.../test-fixtures/plan-count-dec/main.tf | 7 -
.../test-fixtures/plan-count-inc/main.tf | 8 -
.../plan-count-index-zero/main.tf | 3 -
.../test-fixtures/plan-count-index/main.tf | 4 -
.../plan-count-one-index/main.tf | 8 -
.../test-fixtures/plan-count-var/main.tf | 10 -
.../test-fixtures/plan-count-zero/main.tf | 8 -
.../test-fixtures/plan-count/main.tf | 8 -
.../main.tf | 6 -
.../plan-data-source-type-mismatch/main.tf | 4 -
.../test-fixtures/plan-destroy/main.tf | 7 -
.../test-fixtures/plan-diffvar/main.tf | 7 -
.../test-fixtures/plan-empty/main.tf | 5 -
.../test-fixtures/plan-escaped-var/main.tf | 3 -
.../terraform/test-fixtures/plan-good/main.tf | 7 -
.../plan-ignore-changes-wildcard/main.tf | 12 -
.../test-fixtures/plan-ignore-changes/main.tf | 9 -
.../plan-module-cycle/child/main.tf | 5 -
.../test-fixtures/plan-module-cycle/main.tf | 12 -
.../plan-module-deadlock/child/main.tf | 4 -
.../plan-module-deadlock/main.tf | 3 -
.../plan-module-destroy-gh-1835/a/main.tf | 5 -
.../plan-module-destroy-gh-1835/b/main.tf | 5 -
.../plan-module-destroy-gh-1835/main.tf | 8 -
.../child/main.tf | 8 -
.../plan-module-destroy-multivar/main.tf | 4 -
.../plan-module-destroy/child/main.tf | 3 -
.../test-fixtures/plan-module-destroy/main.tf | 7 -
.../plan-module-input-computed/child/main.tf | 5 -
.../plan-module-input-computed/main.tf | 8 -
.../plan-module-input-var/child/main.tf | 5 -
.../plan-module-input-var/main.tf | 10 -
.../plan-module-input/child/main.tf | 5 -
.../test-fixtures/plan-module-input/main.tf | 8 -
.../plan-module-map-literal/child/main.tf | 12 -
.../plan-module-map-literal/main.tf | 7 -
.../plan-module-multi-var/child/main.tf | 10 -
.../plan-module-multi-var/main.tf | 9 -
.../child/main.tf | 8 -
.../plan-module-provider-defaults-var/main.tf | 11 -
.../child/main.tf | 8 -
.../plan-module-provider-defaults/main.tf | 11 -
.../child/main.tf | 3 -
.../plan-module-provider-inherit/main.tf | 11 -
.../plan-module-var-computed/child/main.tf | 7 -
.../plan-module-var-computed/main.tf | 7 -
.../inner/main.tf | 12 -
.../main.tf | 7 -
.../plan-module-var/child/main.tf | 7 -
.../test-fixtures/plan-module-var/main.tf | 7 -
.../plan-module-variable-from-splat/main.tf | 9 -
.../mod/main.tf | 12 -
.../inner/main.tf | 13 -
.../plan-module-wrong-var-type-nested/main.tf | 3 -
.../middle/main.tf | 19 -
.../plan-module-wrong-var-type/inner/main.tf | 7 -
.../plan-module-wrong-var-type/main.tf | 10 -
.../plan-modules-remove-provisioners/main.tf | 5 -
.../parent/child/main.tf | 2 -
.../parent/main.tf | 7 -
.../test-fixtures/plan-modules-remove/main.tf | 3 -
.../test-fixtures/plan-modules/child/main.tf | 3 -
.../test-fixtures/plan-modules/main.tf | 11 -
.../terraform/test-fixtures/plan-nil/main.tf | 3 -
.../test-fixtures/plan-orphan/main.tf | 3 -
.../test-fixtures/plan-path-var/main.tf | 5 -
.../plan-prevent-destroy-bad/main.tf | 7 -
.../plan-prevent-destroy-good/main.tf | 5 -
.../test-fixtures/plan-provider-init/main.tf | 9 -
.../test-fixtures/plan-provider/main.tf | 7 -
.../plan-taint-interpolated-count/main.tf | 7 -
.../test-fixtures/plan-taint/main.tf | 7 -
.../plan-targeted-module-orphan/main.tf | 6 -
.../child/main.tf | 5 -
.../main.tf | 12 -
.../plan-targeted-orphan/main.tf | 6 -
.../plan-targeted-over-ten/main.tf | 3 -
.../plan-targeted-with-tainted/main.tf | 5 -
.../test-fixtures/plan-targeted/main.tf | 7 -
.../test-fixtures/plan-var-list-err/main.tf | 16 -
.../test-fixtures/refresh-basic/main.tf | 1 -
.../refresh-data-resource-basic/main.tf | 5 -
.../refresh-module-computed-var/child/main.tf | 5 -
.../refresh-module-computed-var/main.tf | 8 -
.../child/main.tf | 9 -
.../main.tf | 8 -
.../child/grandchild/main.tf | 3 -
.../refresh-module-orphan/child/main.tf | 10 -
.../refresh-module-orphan/main.tf | 10 -
.../refresh-module-var-module/bar/main.tf | 3 -
.../refresh-module-var-module/foo/main.tf | 7 -
.../refresh-module-var-module/main.tf | 8 -
.../refresh-modules/child/main.tf | 1 -
.../test-fixtures/refresh-modules/main.tf | 5 -
.../test-fixtures/refresh-no-state/main.tf | 1 -
.../refresh-output-partial/main.tf | 7 -
.../test-fixtures/refresh-output/main.tf | 5 -
.../refresh-targeted-count/main.tf | 9 -
.../test-fixtures/refresh-targeted/main.tf | 8 -
.../refresh-unknown-provider/main.tf | 4 -
.../test-fixtures/refresh-vars/main.tf | 5 -
.../test-fixtures/smc-uservars/main.tf | 15 -
.../state-filter/complete.tfstate | 1311 --
.../state-filter/nested-modules.tfstate | 47 -
.../state-filter/resource-in-module-2.tfstate | 20 -
.../test-fixtures/state-filter/small.tfstate | 122 -
.../state-filter/small_test_instance.tfstate | 27 -
.../state-module-orphans/bar/main.tf | 1 -
.../state-module-orphans/main.tf | 3 -
.../main.tf | 9 -
.../main.tf | 9 -
.../transform-destroy-basic/main.tf | 5 -
.../transform-destroy-deps/main.tf | 5 -
.../transform-destroy-prefix/main.tf | 3 -
.../transform-destroy-prune-count/main.tf | 6 -
.../transform-flatten/child/main.tf | 9 -
.../test-fixtures/transform-flatten/main.tf | 12 -
.../transform-orphan-basic/main.tf | 1 -
.../transform-orphan-modules/main.tf | 1 -
.../transform-orphan-output-basic/main.tf | 1 -
.../transform-provider-basic/main.tf | 2 -
.../child/main.tf | 7 -
.../transform-provider-disable-keep/main.tf | 9 -
.../transform-provider-disable/child/main.tf | 7 -
.../transform-provider-disable/main.tf | 7 -
.../transform-provider-missing/main.tf | 3 -
.../transform-provider-prune/main.tf | 2 -
.../transform-provisioner-basic/main.tf | 3 -
.../transform-provisioner-prune/main.tf | 3 -
.../transform-resource-count-basic/main.tf | 3 -
.../transform-resource-count-deps/main.tf | 8 -
.../transform-resource-count-negative/main.tf | 4 -
.../transform-root-basic/main.tf | 5 -
.../transform-tainted-basic/main.tf | 1 -
.../transform-targets-basic/main.tf | 16 -
.../transform-targets-destroy/main.tf | 18 -
.../transform-trans-reduce-basic/main.tf | 10 -
.../test-fixtures/uservars-map/main.tf | 3 -
.../test-fixtures/validate-bad-count/main.tf | 3 -
.../validate-bad-module-output/child/main.tf | 0
.../validate-bad-module-output/main.tf | 7 -
.../validate-bad-pc-empty/main.tf | 1 -
.../test-fixtures/validate-bad-pc/main.tf | 5 -
.../validate-bad-prov-conf/main.tf | 9 -
.../test-fixtures/validate-bad-rc/main.tf | 3 -
.../test-fixtures/validate-bad-var/main.tf | 7 -
.../dest/main.tf | 5 -
.../validate-computed-module-var-ref/main.tf | 8 -
.../source/main.tf | 3 -
.../validate-computed-var/main.tf | 9 -
.../validate-count-negative/main.tf | 3 -
.../validate-count-variable/main.tf | 6 -
.../test-fixtures/validate-cycle/main.tf | 19 -
.../validate-good-module/child/main.tf | 3 -
.../validate-good-module/main.tf | 7 -
.../test-fixtures/validate-good/main.tf | 8 -
.../validate-module-bad-rc/child/main.tf | 1 -
.../validate-module-bad-rc/main.tf | 3 -
.../validate-module-deps-cycle/a/main.tf | 5 -
.../validate-module-deps-cycle/b/main.tf | 5 -
.../validate-module-deps-cycle/main.tf | 8 -
.../validate-module-pc-inherit-orphan/main.tf | 9 -
.../child/main.tf | 1 -
.../validate-module-pc-inherit-unused/main.tf | 7 -
.../validate-module-pc-inherit/child/main.tf | 3 -
.../validate-module-pc-inherit/main.tf | 9 -
.../validate-module-pc-vars/child/main.tf | 7 -
.../validate-module-pc-vars/main.tf | 7 -
.../validate-required-var/main.tf | 5 -
.../validate-resource-name-symbol/main.tf | 3 -
.../validate-self-ref-multi-all/main.tf | 4 -
.../validate-self-ref-multi/main.tf | 4 -
.../test-fixtures/validate-self-ref/main.tf | 3 -
.../test-fixtures/validate-targeted/main.tf | 13 -
.../main.tf | 5 -
.../validate-variable-ref/main.tf | 5 -
.../test-fixtures/vars-basic/main.tf | 14 -
.../terraform/terraform/transform.go | 21 -
.../terraform/terraform/transform_config.go | 123 -
.../terraform/transform_config_test.go | 150 -
.../terraform/terraform/transform_deposed.go | 157 -
.../terraform/terraform/transform_destroy.go | 239 -
.../terraform/transform_destroy_test.go | 481 -
.../terraform/terraform/transform_expand.go | 65 -
.../terraform/transform_expand_test.go | 77 -
.../terraform/terraform/transform_flatten.go | 107 -
.../terraform/transform_flatten_test.go | 95 -
.../terraform/transform_import_state.go | 237 -
.../terraform/terraform/transform_module.go | 62 -
.../terraform/transform_module_test.go | 1 -
.../terraform/terraform/transform_noop.go | 104 -
.../terraform/transform_noop_test.go | 54 -
.../terraform/terraform/transform_orphan.go | 418 -
.../terraform/transform_orphan_test.go | 389 -
.../terraform/terraform/transform_output.go | 98 -
.../terraform/transform_output_test.go | 51 -
.../terraform/terraform/transform_provider.go | 551 -
.../terraform/transform_provider_test.go | 424 -
.../terraform/transform_provisioner.go | 218 -
.../terraform/transform_provisioner_test.go | 105 -
.../terraform/terraform/transform_proxy.go | 62 -
.../terraform/transform_proxy_test.go | 52 -
.../terraform/terraform/transform_resource.go | 953 --
.../terraform/transform_resource_test.go | 69 -
.../terraform/terraform/transform_root.go | 42 -
.../terraform/transform_root_test.go | 58 -
.../terraform/terraform/transform_targets.go | 137 -
.../terraform/transform_targets_test.go | 71 -
.../transform_transitive_reduction.go | 20 -
.../transform_transitive_reduction_test.go | 39 -
.../terraform/terraform/transform_vertex.go | 44 -
.../terraform/transform_vertex_test.go | 58 -
.../hashicorp/terraform/terraform/ui_input.go | 26 -
.../terraform/terraform/ui_input_mock.go | 23 -
.../terraform/terraform/ui_input_prefix.go | 19 -
.../terraform/ui_input_prefix_test.go | 26 -
.../terraform/terraform/ui_output.go | 7 -
.../terraform/terraform/ui_output_callback.go | 9 -
.../terraform/ui_output_callback_test.go | 9 -
.../terraform/terraform/ui_output_mock.go | 16 -
.../terraform/ui_output_mock_test.go | 9 -
.../terraform/ui_output_provisioner.go | 15 -
.../terraform/ui_output_provisioner_test.go | 30 -
.../terraform/upgrade_state_v1_test.go | 183 -
.../terraform/upgrade_state_v2_test.go | 202 -
.../hashicorp/terraform/terraform/util.go | 72 -
.../terraform/terraform/util_test.go | 48 -
.../terraform/terraform/variables.go | 145 -
.../terraform/terraform/variables_test.go | 114 -
.../hashicorp/terraform/terraform/version.go | 31 -
.../terraform/walkoperation_string.go | 16 -
.../hashicorp/terraform/test-fixtures/config | 4 -
.../github.com/hashicorp/terraform/version.go | 9 -
.../hashicorp/terraform/website/Gemfile | 4 -
.../hashicorp/terraform/website/Gemfile.lock | 194 -
.../hashicorp/terraform/website/LICENSE.md | 10 -
.../hashicorp/terraform/website/Makefile | 10 -
.../hashicorp/terraform/website/README.md | 18 -
.../hashicorp/terraform/website/Vagrantfile | 36 -
.../hashicorp/terraform/website/config.rb | 7 -
.../hashicorp/terraform/website/config.ru | 38 -
.../website/helpers/sidebar_helpers.rb | 12 -
.../hashicorp/terraform/website/packer.json | 43 -
.../terraform/website/scripts/deploy.sh | 114 -
.../terraform/website/source/.gitignore | 2 -
.../terraform/website/source/404.html.erb | 11 -
.../source/assets/images/bg-galaxy.jpg | Bin 13211 -> 0 bytes
.../source/assets/images/bg-static.png | Bin 77162 -> 0 bytes
.../assets/images/docs/atlas-workflow.png | Bin 87156 -> 0 bytes
.../assets/images/docs/module_graph.png | Bin 6006 -> 0 bytes
.../images/docs/module_graph_expand.png | Bin 9444 -> 0 bytes
.../website/source/assets/images/favicon.png | Bin 479 -> 0 bytes
.../assets/images/feature-iterate-bg.png | Bin 54693 -> 0 bytes
.../assets/images/feature-iterate-bg@2x.png | Bin 118994 -> 0 bytes
.../assets/images/footer-hashicorp-logo.png | Bin 700 -> 0 bytes
.../images/footer-hashicorp-logo@2x.png | Bin 977 -> 0 bytes
.../images/footer-hashicorp-white-logo.png | Bin 784 -> 0 bytes
.../images/footer-hashicorp-white-logo@2x.png | Bin 1265 -> 0 bytes
.../source/assets/images/graph-example.png | Bin 20829 -> 0 bytes
.../assets/images/header-download-icon.png | Bin 162 -> 0 bytes
.../assets/images/header-download-icon@2x.png | Bin 248 -> 0 bytes
.../assets/images/header-github-icon.png | Bin 193 -> 0 bytes
.../assets/images/header-github-icon@2x.png | Bin 314 -> 0 bytes
.../assets/images/header-nav-divider.png | Bin 177 -> 0 bytes
.../assets/images/header-nav-divider@2x.png | Bin 253 -> 0 bytes
.../website/source/assets/images/hero-bg.png | Bin 1730419 -> 0 bytes
.../assets/images/logo-header-black@2x.png | Bin 973 -> 0 bytes
.../source/assets/images/logo-header.png | Bin 546 -> 0 bytes
.../source/assets/images/logo-header@2x.png | Bin 975 -> 0 bytes
.../source/assets/images/logo-static.png | Bin 109568 -> 0 bytes
.../source/assets/images/logo_large.png | Bin 166985 -> 0 bytes
.../website/source/assets/images/readme.png | Bin 269796 -> 0 bytes
.../source/assets/images/sidebar-wire.png | Bin 64749 -> 0 bytes
.../source/assets/images/white-wireframe.png | Bin 91201 -> 0 bytes
.../assets/images/white-wireframe@2x.png | Bin 219481 -> 0 bytes
.../source/assets/javascripts/app/_Docs.js | 46 -
.../javascripts/app/_Engine.Particle.Fixed.js | 77 -
.../javascripts/app/_Engine.Particle.js | 154 -
.../javascripts/app/_Engine.Point.Puller.js | 153 -
.../assets/javascripts/app/_Engine.Point.js | 118 -
.../javascripts/app/_Engine.Polygon.Puller.js | 29 -
.../assets/javascripts/app/_Engine.Polygon.js | 80 -
.../javascripts/app/_Engine.Shape.Puller.js | 179 -
.../assets/javascripts/app/_Engine.Shape.js | 159 -
.../javascripts/app/_Engine.Typewriter.js | 71 -
.../source/assets/javascripts/app/_Engine.js | 388 -
.../source/assets/javascripts/app/_Grid.js | 2384 ---
.../source/assets/javascripts/app/_Init.js | 89 -
.../source/assets/javascripts/app/_Logo.js | 1330 --
.../source/assets/javascripts/app/_Puller.js | 136 -
.../source/assets/javascripts/app/_Sidebar.js | 50 -
.../source/assets/javascripts/application.js | 25 -
.../source/assets/javascripts/lib/_Base.js | 145 -
.../assets/javascripts/lib/_Chainable.js | 92 -
.../lib/_Function.prototype.bind.js | 21 -
.../javascripts/lib/_String.substitute.js | 14 -
.../source/assets/javascripts/lib/_Vector.js | 111 -
.../source/assets/javascripts/lib/_dbg.js | 60 -
.../assets/stylesheets/_announcement-bnr.scss | 142 -
.../source/assets/stylesheets/_buttons.scss | 65 -
.../source/assets/stylesheets/_community.scss | 20 -
.../source/assets/stylesheets/_docs.scss | 324 -
.../source/assets/stylesheets/_downloads.scss | 59 -
.../source/assets/stylesheets/_fonts.scss | 27 -
.../source/assets/stylesheets/_footer.scss | 100 -
.../source/assets/stylesheets/_global.scss | 90 -
.../source/assets/stylesheets/_header.scss | 81 -
.../source/assets/stylesheets/_home.scss | 749 -
.../source/assets/stylesheets/_jumbotron.scss | 443 -
.../source/assets/stylesheets/_mixins.scss | 724 -
.../source/assets/stylesheets/_sidebar.scss | 23 -
.../source/assets/stylesheets/_utilities.scss | 21 -
.../source/assets/stylesheets/_variables.scss | 57 -
.../assets/stylesheets/application.scss | 36 -
.../hashicorp-shared/_hashicorp-header.scss | 341 -
.../hashicorp-shared/_hashicorp-sidebar.scss | 293 -
.../hashicorp-shared/_hashicorp-utility.scss | 87 -
.../hashicorp-shared/_project-utility.scss | 72 -
.../website/source/community.html.erb | 93 -
.../source/docs/commands/apply.html.markdown | 66 -
.../docs/commands/destroy.html.markdown | 31 -
.../source/docs/commands/fmt.html.markdown | 28 -
.../source/docs/commands/get.html.markdown | 28 -
.../source/docs/commands/graph.html.markdown | 51 -
.../source/docs/commands/import.html.md | 70 -
.../source/docs/commands/index.html.markdown | 57 -
.../source/docs/commands/init.html.markdown | 64 -
.../source/docs/commands/output.html.markdown | 79 -
.../source/docs/commands/plan.html.markdown | 83 -
.../source/docs/commands/push.html.markdown | 133 -
.../docs/commands/refresh.html.markdown | 55 -
.../docs/commands/remote-config.html.markdown | 60 -
.../docs/commands/remote-pull.html.markdown | 23 -
.../docs/commands/remote-push.html.markdown | 27 -
.../source/docs/commands/remote.html.markdown | 33 -
.../source/docs/commands/show.html.markdown | 29 -
.../docs/commands/state/addressing.html.md | 20 -
.../source/docs/commands/state/index.html.md | 54 -
.../source/docs/commands/state/list.html.md | 64 -
.../source/docs/commands/state/mv.html.md | 91 -
.../source/docs/commands/state/rm.html.md | 65 -
.../source/docs/commands/state/show.html.md | 48 -
.../source/docs/commands/taint.html.markdown | 63 -
.../docs/commands/untaint.html.markdown | 63 -
.../docs/commands/validate.html.markdown | 33 -
.../source/docs/configuration/atlas.html.md | 58 -
.../docs/configuration/data-sources.html.md | 107 -
.../environment-variables.html.md | 78 -
.../source/docs/configuration/index.html.md | 25 -
.../docs/configuration/interpolation.html.md | 345 -
.../source/docs/configuration/load.html.md | 36 -
.../source/docs/configuration/modules.html.md | 69 -
.../source/docs/configuration/outputs.html.md | 95 -
.../docs/configuration/override.html.md | 54 -
.../docs/configuration/providers.html.md | 119 -
.../docs/configuration/resources.html.md | 232 -
.../source/docs/configuration/syntax.html.md | 133 -
.../docs/configuration/variables.html.md | 255 -
.../source/docs/import/importability.html.md | 155 -
.../website/source/docs/import/index.html.md | 35 -
.../website/source/docs/import/usage.html.md | 53 -
.../website/source/docs/index.html.markdown | 14 -
.../source/docs/internals/debugging.html.md | 79 -
.../source/docs/internals/graph.html.md | 115 -
.../source/docs/internals/index.html.md | 19 -
.../docs/internals/internal-plugins.html.md | 75 -
.../source/docs/internals/lifecycle.html.md | 58 -
.../resource-addressing.html.markdown | 72 -
.../source/docs/modules/create.html.markdown | 91 -
.../source/docs/modules/index.html.markdown | 17 -
.../source/docs/modules/sources.html.markdown | 167 -
.../source/docs/modules/usage.html.markdown | 126 -
.../source/docs/plugins/basics.html.md | 98 -
.../website/source/docs/plugins/index.html.md | 24 -
.../source/docs/plugins/provider.html.md | 257 -
.../providers/archive/index.html.markdown | 20 -
.../docs/providers/archive/r/file.html.md | 47 -
.../providers/atlas/d/artifact.html.markdown | 86 -
.../docs/providers/atlas/index.html.markdown | 43 -
.../providers/atlas/r/artifact.html.markdown | 89 -
.../docs/providers/aws/d/ami.html.markdown | 119 -
.../aws/d/availability_zone.html.markdown | 98 -
.../aws/d/availability_zones.html.markdown | 52 -
.../aws/d/billing_service_account.markdown | 60 -
.../aws/d/caller_identity.html.markdown | 35 -
.../aws/d/cloudformation_stack.html.markdown | 49 -
.../d/ecs_container_definition.html.markdown | 41 -
.../aws/d/elb_service_account.html.markdown | 71 -
.../aws/d/iam_policy_document.html.markdown | 141 -
.../providers/aws/d/ip_ranges.html.markdown | 59 -
.../d/redshift_service_account.html.markdown | 57 -
.../docs/providers/aws/d/region.html.markdown | 54 -
.../aws/d/s3_bucket_object.html.markdown | 81 -
.../docs/providers/aws/d/subnet.html.markdown | 81 -
.../docs/providers/aws/d/vpc.html.markdown | 79 -
.../docs/providers/aws/index.html.markdown | 259 -
.../docs/providers/aws/r/alb.html.markdown | 75 -
.../aws/r/alb_listener.html.markdown | 68 -
.../aws/r/alb_listener_rule.html.markdown | 73 -
.../aws/r/alb_target_group.html.markdown | 72 -
.../alb_target_group_attachment.html.markdown | 50 -
.../docs/providers/aws/r/ami.html.markdown | 100 -
.../providers/aws/r/ami_copy.html.markdown | 59 -
.../aws/r/ami_from_instance.html.markdown | 57 -
.../aws/r/ami_launch_permission.html.markdown | 33 -
.../aws/r/api_gateway_account.html.markdown | 93 -
.../aws/r/api_gateway_api_key.html.markdown | 62 -
.../r/api_gateway_authorizer.html.markdown | 112 -
...pi_gateway_base_path_mapping.html.markdown | 47 -
...i_gateway_client_certificate.html.markdown | 44 -
.../r/api_gateway_deployment.html.markdown | 70 -
.../r/api_gateway_domain_name.html.markdown | 75 -
.../r/api_gateway_integration.html.markdown | 62 -
...gateway_integration_response.html.markdown | 74 -
.../aws/r/api_gateway_method.html.markdown | 51 -
.../api_gateway_method_response.html.markdown | 61 -
.../aws/r/api_gateway_model.html.markdown | 48 -
.../aws/r/api_gateway_resource.html.markdown | 41 -
.../aws/r/api_gateway_rest_api.html.markdown | 34 -
...app_cookie_stickiness_policy.html.markdown | 55 -
.../aws/r/appautoscaling_policy.html.markdown | 74 -
.../aws/r/appautoscaling_target.html.markdown | 40 -
.../aws/r/autoscaling_group.html.markdown | 194 -
.../autoscaling_lifecycle_hooks.html.markdown | 55 -
.../r/autoscaling_notification.html.markdown | 68 -
.../aws/r/autoscaling_policy.html.markdown | 97 -
.../aws/r/autoscaling_schedule.html.markdown | 57 -
.../aws/r/cloudformation_stack.html.markdown | 63 -
.../r/cloudfront_distribution.html.markdown | 381 -
...front_origin_access_identity.html.markdown | 112 -
.../providers/aws/r/cloudtrail.html.markdown | 98 -
.../aws/r/cloudwatch_event_rule.html.markdown | 66 -
.../r/cloudwatch_event_target.html.markdown | 62 -
.../aws/r/cloudwatch_log_group.html.markdown | 42 -
...cloudwatch_log_metric_filter.html.markdown | 54 -
.../aws/r/cloudwatch_log_stream.html.markdown | 37 -
...atch_log_subscription_filter.html.markdown | 39 -
.../r/cloudwatch_metric_alarm.html.markdown | 95 -
.../r/code_commit_repository.html.markdown | 41 -
.../aws/r/code_commit_trigger.html.markdown | 40 -
.../aws/r/codedeploy_app.html.markdown | 32 -
.../codedeploy_deployment_group.html.markdown | 122 -
.../aws/r/customer_gateway.html.markdown | 55 -
.../aws/r/db_event_subscription.html.markdown | 43 -
.../providers/aws/r/db_instance.html.markdown | 153 -
.../aws/r/db_option_group.html.markdown | 72 -
.../aws/r/db_parameter_group.html.markdown | 61 -
.../aws/r/db_security_group.html.markdown | 59 -
.../aws/r/db_subnet_group.html.markdown | 48 -
.../aws/r/default_network_acl.html.markdown | 176 -
.../aws/r/default_route_table.html.markdown | 88 -
.../r/default_security_group.html.markdown | 127 -
.../directory_service_directory.html.markdown | 76 -
.../aws/r/dynamodb_table.html.markdown | 118 -
.../docs/providers/aws/r/ebs_volume.html.md | 53 -
.../aws/r/ecr_repository.html.markdown | 47 -
.../aws/r/ecr_repository_policy.html.markdown | 71 -
.../providers/aws/r/ecs_cluster.html.markdown | 32 -
.../providers/aws/r/ecs_service.html.markdown | 67 -
.../aws/r/ecs_task_definition.html.markdown | 70 -
.../aws/r/efs_file_system.html.markdown | 54 -
.../aws/r/efs_mount_target.html.markdown | 64 -
.../docs/providers/aws/r/eip.html.markdown | 125 -
.../aws/r/eip_association.html.markdown | 67 -
...lastic_beanstalk_application.html.markdown | 48 -
...stalk_configuration_template.html.markdown | 68 -
...lastic_beanstalk_environment.html.markdown | 136 -
.../elastic_transcoder_pipeline.html.markdown | 94 -
.../r/elastic_transcoder_preset.html.markdown | 160 -
.../aws/r/elasticache_cluster.html.markdown | 133 -
.../elasticache_parameter_group.html.markdown | 57 -
...lasticache_replication_group.html.markdown | 79 -
.../elasticache_security_group.html.markdown | 47 -
.../r/elasticache_subnet_group.html.markdown | 65 -
.../aws/r/elasticsearch_domain.html.markdown | 91 -
.../docs/providers/aws/r/elb.html.markdown | 150 -
.../aws/r/elb_attachment.html.markdown | 34 -
.../docs/providers/aws/r/emr_cluster.html.md | 397 -
.../aws/r/emr_instance_group.html.md | 50 -
.../providers/aws/r/flow_log.html.markdown | 94 -
.../aws/r/glacier_vault.html.markdown | 82 -
.../aws/r/iam_access_key.html.markdown | 62 -
.../iam_account_password_policy.html.markdown | 60 -
.../providers/aws/r/iam_group.html.markdown | 47 -
.../aws/r/iam_group_membership.html.markdown | 56 -
.../aws/r/iam_group_policy.html.markdown | 55 -
.../r/iam_group_policy_attachment.markdown | 35 -
.../aws/r/iam_instance_profile.html.markdown | 61 -
.../providers/aws/r/iam_policy.html.markdown | 56 -
.../aws/r/iam_policy_attachment.html.markdown | 56 -
.../providers/aws/r/iam_role.html.markdown | 49 -
.../aws/r/iam_role_policy.html.markdown | 69 -
.../aws/r/iam_role_policy_attachment.markdown | 35 -
.../aws/r/iam_saml_provider.html.markdown | 42 -
.../r/iam_server_certificate.html.markdown | 119 -
.../providers/aws/r/iam_user.html.markdown | 71 -
.../aws/r/iam_user_policy.html.markdown | 56 -
.../aws/r/iam_user_policy_attachment.markdown | 35 -
.../aws/r/iam_user_ssh_key.html.markdown | 43 -
.../providers/aws/r/instance.html.markdown | 171 -
.../aws/r/internet_gateway.html.markdown | 57 -
.../providers/aws/r/key_pair.html.markdown | 50 -
...sis_firehose_delivery_stream.html.markdown | 178 -
.../aws/r/kinesis_stream.html.markdown | 56 -
.../providers/aws/r/kms_alias.html.markdown | 41 -
.../providers/aws/r/kms_key.html.markdown | 49 -
.../aws/r/lambda_alias.html.markdown | 39 -
.../lambda_event_source_mapping.html.markdown | 47 -
.../aws/r/lambda_function.html.markdown | 95 -
.../aws/r/lambda_permission.html.markdown | 124 -
.../aws/r/launch_configuration.html.markdown | 224 -
.../lb_cookie_stickiness_policy.html.markdown | 56 -
.../r/lb_ssl_negotiation_policy.html.markdown | 89 -
...lancer_backend_server_policy.html.markdown | 85 -
...oad_balancer_listener_policy.html.markdown | 73 -
.../aws/r/load_balancer_policy.html.markdown | 108 -
.../r/main_route_table_assoc.html.markdown | 44 -
.../providers/aws/r/nat_gateway.html.markdown | 59 -
.../providers/aws/r/network_acl.html.markdown | 83 -
.../aws/r/network_acl_rule.html.markdown | 56 -
.../aws/r/network_interface.markdown | 64 -
.../aws/r/opsworks_application.html.markdown | 94 -
.../aws/r/opsworks_custom_layer.html.markdown | 76 -
.../r/opsworks_ganglia_layer.html.markdown | 68 -
.../r/opsworks_haproxy_layer.html.markdown | 71 -
.../aws/r/opsworks_instance.html.markdown | 132 -
.../r/opsworks_java_app_layer.html.markdown | 69 -
.../r/opsworks_memcached_layer.html.markdown | 65 -
.../aws/r/opsworks_mysql_layer.html.markdown | 66 -
.../r/opsworks_nodejs_app_layer.html.markdown | 65 -
.../aws/r/opsworks_permission.html.markdown | 39 -
.../r/opsworks_php_app_layer.html.markdown | 64 -
.../r/opsworks_rails_app_layer.html.markdown | 70 -
.../aws/r/opsworks_stack.html.markdown | 87 -
.../r/opsworks_static_web_layer.html.markdown | 63 -
.../aws/r/opsworks_user_profile.html.markdown | 35 -
.../aws/r/placement_group.html.markdown | 42 -
.../aws/r/proxy_protocol_policy.html.markdown | 55 -
.../providers/aws/r/rds_cluster.html.markdown | 121 -
.../aws/r/rds_cluster_instance.html.markdown | 107 -
.../r/rds_cluster_parameter_group.markdown | 63 -
.../aws/r/redshift_cluster.html.markdown | 97 -
.../r/redshift_parameter_group.html.markdown | 60 -
.../r/redshift_security_group.html.markdown | 52 -
.../aws/r/redshift_subnet_group.html.markdown | 64 -
.../docs/providers/aws/r/route.html.markdown | 60 -
.../r/route53_delegation_set.html.markdown | 54 -
.../aws/r/route53_health_check.html.markdown | 93 -
.../aws/r/route53_record.html.markdown | 135 -
.../aws/r/route53_zone.html.markdown | 82 -
.../r/route53_zone_association.html.markdown | 54 -
.../providers/aws/r/route_table.html.markdown | 71 -
.../r/route_table_association.html.markdown | 34 -
.../providers/aws/r/s3_bucket.html.markdown | 260 -
.../r/s3_bucket_notification.html.markdown | 315 -
.../aws/r/s3_bucket_object.html.markdown | 80 -
.../aws/r/s3_bucket_policy.html.markdown | 37 -
.../aws/r/security_group.html.markdown | 163 -
.../aws/r/security_group_rule.html.markdown | 85 -
.../ses_active_receipt_rule_set.html.markdown | 25 -
.../aws/r/ses_receipt_filter.html.markdown | 29 -
.../aws/r/ses_receipt_rule.html.markdown | 99 -
.../aws/r/ses_receipt_rule_set.html.markdown | 25 -
.../aws/r/simpledb_domain.html.markdown | 39 -
.../providers/aws/r/sns_topic.html.markdown | 43 -
.../aws/r/sns_topic_policy.html.markdown | 49 -
.../r/sns_topic_subscription.html.markdown | 106 -
.../spot_datafeed_subscription.html.markdown | 39 -
.../aws/r/spot_fleet_request.html.markdown | 111 -
.../aws/r/spot_instance_request.html.markdown | 84 -
.../providers/aws/r/sqs_queue.html.markdown | 50 -
.../aws/r/sqs_queue_policy.html.markdown | 51 -
.../aws/r/ssm_association.html.markdown | 79 -
.../aws/r/ssm_document.html.markdown | 73 -
.../docs/providers/aws/r/subnet.html.markdown | 55 -
.../aws/r/volume_attachment.html.markdown | 59 -
.../docs/providers/aws/r/vpc.html.markdown | 75 -
.../aws/r/vpc_dhcp_options.html.markdown | 72 -
...vpc_dhcp_options_association.html.markdown | 37 -
.../aws/r/vpc_endpoint.html.markdown | 47 -
.../providers/aws/r/vpc_peering.html.markdown | 125 -
.../aws/r/vpn_connection.html.markdown | 72 -
.../aws/r/vpn_connection_route.html.markdown | 55 -
.../providers/aws/r/vpn_gateway.html.markdown | 46 -
.../r/vpn_gateway_attachment.html.markdown | 57 -
.../docs/providers/azure/index.html.markdown | 71 -
.../azure/r/affinity_group.html.markdown | 42 -
.../providers/azure/r/data_disk.html.markdown | 70 -
.../azure/r/dns_server.html.markdown | 35 -
.../azure/r/hosted_service.html.markdown | 50 -
.../providers/azure/r/instance.html.markdown | 152 -
.../r/local_network_connection.html.markdown | 39 -
.../azure/r/security_group.html.markdown | 42 -
.../azure/r/security_group_rule.html.markdown | 88 -
.../azure/r/sql_database_server.html.markdown | 50 -
...atabase_server_firewall_rule.html.markdown | 57 -
.../r/sql_database_service.html.markdown | 52 -
.../azure/r/storage_blob.html.markdown | 49 -
.../azure/r/storage_container.html.markdown | 43 -
.../azure/r/storage_queue.html.markdown | 36 -
.../azure/r/storage_service.html.markdown | 55 -
.../azure/r/virtual_network.html.markdown | 62 -
.../providers/azurerm/index.html.markdown | 107 -
.../azurerm/r/availability_set.html.markdown | 62 -
.../azurerm/r/cdn_endpoint.html.markdown | 87 -
.../azurerm/r/cdn_profile.html.markdown | 54 -
.../azurerm/r/dns_a_record.html.markdown | 53 -
.../azurerm/r/dns_aaaa_record.html.markdown | 53 -
.../azurerm/r/dns_cname_record.html.markdown | 53 -
.../azurerm/r/dns_mx_record.html.markdown | 72 -
.../azurerm/r/dns_ns_record.html.markdown | 67 -
.../azurerm/r/dns_srv_record.html.markdown | 74 -
.../azurerm/r/dns_txt_record.html.markdown | 66 -
.../azurerm/r/dns_zone.html.markdown | 51 -
.../azurerm/r/loadbalancer.html.markdown | 62 -
...alancer_backend_address_pool.html.markdown | 62 -
.../r/loadbalancer_nat_pool.html.markdown | 72 -
.../r/loadbalancer_nat_rule.html.markdown | 70 -
.../r/loadbalancer_probe.html.markdown | 70 -
.../azurerm/r/loadbalancer_rule.html.markdown | 75 -
.../r/local_network_gateway.html.markdown | 56 -
.../azurerm/r/network_interface.html.markdown | 103 -
.../r/network_security_group.html.markdown | 99 -
.../r/network_security_rule.html.markdown | 84 -
.../azurerm/r/public_ip.html.markdown | 70 -
.../azurerm/r/resource_group.html.markdown | 51 -
.../providers/azurerm/r/route.html.markdown | 61 -
.../azurerm/r/route_table.html.markdown | 71 -
.../azurerm/r/search_service.html.markdown | 55 -
.../r/servicebus_namespace.html.markdown | 68 -
.../r/servicebus_subscription.html.markdown | 107 -
.../azurerm/r/servicebus_topic.html.markdown | 104 -
.../azurerm/r/sql_database.html.markdown | 72 -
.../azurerm/r/sql_firewall_rule.html.markdown | 67 -
.../azurerm/r/sql_server.html.markdown | 57 -
.../azurerm/r/storage_account.html.markdown | 87 -
.../azurerm/r/storage_blob.html.markdown | 80 -
.../azurerm/r/storage_container.html.markdown | 59 -
.../azurerm/r/storage_queue.html.markdown | 51 -
.../azurerm/r/storage_table.html.markdown | 51 -
.../providers/azurerm/r/subnet.html.markdown | 61 -
.../r/template_deployment.html.markdown | 98 -
.../r/traffic_manager_endpoint.html.markdown | 111 -
.../r/traffic_manager_profile.html.markdown | 104 -
.../azurerm/r/virtual_machine.html.markdown | 314 -
.../virtual_machine_scale_sets.html.markdown | 209 -
.../azurerm/r/virtual_network.html.markdown | 92 -
.../r/virtual_network_peering.html.markdown | 102 -
.../providers/bitbucket/index.html.markdown | 41 -
.../r/default_reviewers.html.markdown | 35 -
.../providers/bitbucket/r/hook.html.markdown | 39 -
.../bitbucket/r/repository.html.markdown | 48 -
.../docs/providers/chef/index.html.markdown | 60 -
.../providers/chef/r/data_bag.html.markdown | 38 -
.../chef/r/data_bag_item.html.markdown | 48 -
.../chef/r/environment.html.markdown | 40 -
.../docs/providers/chef/r/node.html.markdown | 48 -
.../docs/providers/chef/r/role.html.markdown | 40 -
.../docs/providers/clc/index.html.markdown | 59 -
.../docs/providers/clc/r/group.html.markdown | 55 -
.../clc/r/load_balancer.html.markdown | 45 -
.../clc/r/load_balancer_pool.html.markdown | 76 -
.../providers/clc/r/public_ip.html.markdown | 85 -
.../docs/providers/clc/r/server.html.markdown | 182 -
.../providers/cloudflare/index.html.markdown | 39 -
.../cloudflare/r/record.html.markdown | 50 -
.../providers/cloudstack/index.html.markdown | 55 -
.../cloudstack/r/affinity_group.html.markdown | 42 -
.../providers/cloudstack/r/disk.html.markdown | 61 -
.../r/egress_firewall.html.markdown | 64 -
.../cloudstack/r/firewall.html.markdown | 64 -
.../cloudstack/r/instance.html.markdown | 85 -
.../cloudstack/r/ipaddress.html.markdown | 41 -
.../r/loadbalancer_rule.html.markdown | 66 -
.../cloudstack/r/network.html.markdown | 74 -
.../cloudstack/r/network_acl.html.markdown | 43 -
.../r/network_acl_rule.html.markdown | 75 -
.../providers/cloudstack/r/nic.html.markdown | 43 -
.../cloudstack/r/port_forward.html.markdown | 58 -
.../r/secondary_ipaddress.html.markdown | 41 -
.../cloudstack/r/ssh_keypair.html.markdown | 47 -
.../cloudstack/r/static_nat.html.markdown | 51 -
.../cloudstack/r/template.html.markdown | 81 -
.../providers/cloudstack/r/vpc.html.markdown | 55 -
.../cloudstack/r/vpn_connection.html.markdown | 38 -
.../r/vpn_customer_gateway.html.markdown | 59 -
.../cloudstack/r/vpn_gateway.html.markdown | 35 -
.../providers/cobbler/index.html.markdown | 45 -
.../providers/cobbler/r/distro.html.markdown | 84 -
.../cobbler/r/kickstart_file.html.markdown | 29 -
.../providers/cobbler/r/profile.html.markdown | 92 -
.../providers/cobbler/r/snippet.html.markdown | 29 -
.../providers/cobbler/r/system.html.markdown | 189 -
.../providers/consul/d/keys.html.markdown | 67 -
.../docs/providers/consul/index.html.markdown | 53 -
.../consul/r/agent_service.html.markdown | 47 -
.../consul/r/catalog_entry.html.markdown | 58 -
.../consul/r/key_prefix.html.markdown | 79 -
.../providers/consul/r/keys.html.markdown | 74 -
.../providers/consul/r/node.html.markdown | 37 -
.../consul/r/prepared_query.markdown | 99 -
.../providers/consul/r/service.html.markdown | 47 -
.../providers/datadog/index.html.markdown | 43 -
.../providers/datadog/r/monitor.html.markdown | 111 -
.../datadog/r/timeboard.html.markdown | 101 -
.../docs/providers/dme/index.html.markdown | 44 -
.../docs/providers/dme/r/record.html.markdown | 249 -
.../providers/dnsimple/index.html.markdown | 39 -
.../providers/dnsimple/r/record.html.markdown | 59 -
.../docs/providers/do/index.html.markdown | 41 -
.../docs/providers/do/r/domain.html.markdown | 46 -
.../docs/providers/do/r/droplet.html.markdown | 80 -
.../providers/do/r/floating_ip.html.markdown | 52 -
.../docs/providers/do/r/record.html.markdown | 49 -
.../docs/providers/do/r/ssh_key.html.markdown | 49 -
.../docs/providers/do/r/tag.html.markdown | 54 -
.../docs/providers/do/r/volume.markdown | 54 -
.../docker/d/registry_image.html.markdown | 40 -
.../docs/providers/docker/index.html.markdown | 66 -
.../docker/r/container.html.markdown | 141 -
.../providers/docker/r/image.html.markdown | 60 -
.../providers/docker/r/network.html.markdown | 58 -
.../providers/docker/r/volume.html.markdown | 39 -
.../docs/providers/dyn/index.html.markdown | 39 -
.../docs/providers/dyn/r/record.html.markdown | 41 -
.../fastly/d/ip_ranges.html.markdown | 37 -
.../docs/providers/fastly/index.html.markdown | 87 -
.../fastly/r/service_v1.html.markdown | 312 -
.../docs/providers/github/index.html.markdown | 46 -
.../github/r/membership.html.markdown | 33 -
.../github/r/repository.html.markdown | 71 -
.../r/repository_collaborator.html.markdown | 45 -
.../providers/github/r/team.html.markdown | 40 -
.../github/r/team_membership.html.markdown | 46 -
.../github/r/team_repository.html.markdown | 48 -
.../google/d/google_iam_policy.html.markdown | 60 -
.../docs/providers/google/index.html.markdown | 96 -
.../google/r/compute_address.html.markdown | 45 -
.../google/r/compute_autoscaler.html.markdown | 147 -
.../r/compute_backend_service.html.markdown | 129 -
.../google/r/compute_disk.html.markdown | 54 -
.../google/r/compute_firewall.html.markdown | 71 -
.../r/compute_forwarding_rule.html.markdown | 59 -
.../r/compute_global_address.html.markdown | 43 -
...mpute_global_forwarding_rule.html.markdown | 98 -
.../r/compute_http_health_check.html.markdown | 66 -
.../compute_https_health_check.html.markdown | 63 -
.../google/r/compute_image.html.markdown | 77 -
.../google/r/compute_instance.html.markdown | 198 -
.../r/compute_instance_group.html.markdown | 93 -
...mpute_instance_group_manager.html.markdown | 100 -
.../r/compute_instance_template.html.markdown | 248 -
.../google/r/compute_network.html.markdown | 56 -
.../r/compute_project_metadata.html.markdown | 39 -
.../google/r/compute_route.html.markdown | 73 -
.../r/compute_ssl_certificate.html.markdown | 57 -
.../google/r/compute_subnetwork.html.markdown | 55 -
.../r/compute_target_http_proxy.html.markdown | 88 -
.../compute_target_https_proxy.html.markdown | 102 -
.../r/compute_target_pool.html.markdown | 75 -
.../google/r/compute_url_map.html.markdown | 159 -
.../r/compute_vpn_gateway.html.markdown | 112 -
.../google/r/compute_vpn_tunnel.html.markdown | 121 -
.../google/r/container_cluster.html.markdown | 144 -
.../google/r/dns_managed_zone.markdown | 46 -
.../google/r/dns_record_set.markdown | 71 -
.../google/r/google_project.html.markdown | 61 -
.../r/pubsub_subscription.html.markdown | 70 -
.../google/r/pubsub_topic.html.markdown | 38 -
.../google/r/sql_database.html.markdown | 50 -
.../r/sql_database_instance.html.markdown | 165 -
.../providers/google/r/sql_user.html.markdown | 55 -
.../google/r/storage_bucket.html.markdown | 68 -
.../google/r/storage_bucket_acl.html.markdown | 47 -
.../r/storage_bucket_object.html.markdown | 53 -
.../google/r/storage_object_acl.html.markdown | 54 -
.../providers/grafana/index.html.markdown | 38 -
.../providers/grafana/r/dashboard.html.md | 47 -
.../providers/grafana/r/data_source.html.md | 77 -
.../docs/providers/heroku/index.html.markdown | 40 -
.../providers/heroku/r/addon.html.markdown | 54 -
.../docs/providers/heroku/r/app.html.markdown | 70 -
.../providers/heroku/r/cert.html.markdown | 51 -
.../providers/heroku/r/domain.html.markdown | 43 -
.../providers/heroku/r/drain.html.markdown | 35 -
.../source/docs/providers/index.html.markdown | 21 -
.../providers/influxdb/index.html.markdown | 51 -
.../influxdb/r/continuous_query.html.md | 38 -
.../providers/influxdb/r/database.html.md | 30 -
.../docs/providers/influxdb/r/user.html.md | 47 -
.../providers/librato/index.html.markdown | 39 -
.../providers/librato/r/alert.html.markdown | 66 -
.../providers/librato/r/service.html.markdown | 44 -
.../providers/librato/r/space.html.markdown | 34 -
.../librato/r/space_chart.html.markdown | 110 -
.../providers/logentries/index.html.markdown | 72 -
.../providers/logentries/r/log.html.markdown | 38 -
.../logentries/r/logset.html.markdown | 28 -
.../providers/mailgun/index.html.markdown | 36 -
.../providers/mailgun/r/domain.html.markdown | 55 -
.../docs/providers/mysql/index.html.markdown | 72 -
.../providers/mysql/r/database.html.markdown | 54 -
.../providers/mysql/r/grant.html.markdown | 52 -
.../docs/providers/mysql/r/user.html.markdown | 37 -
.../providers/openstack/index.html.markdown | 159 -
.../r/blockstorage_volume_v1.html.markdown | 83 -
.../r/blockstorage_volume_v2.html.markdown | 88 -
.../r/compute_floatingip_v2.html.markdown | 53 -
.../r/compute_instance_v2.html.markdown | 486 -
.../r/compute_keypair_v2.html.markdown | 51 -
.../r/compute_secgroup_v2.html.markdown | 124 -
.../r/compute_servergroup_v2.html.markdown | 61 -
.../openstack/r/fw_firewall_v1.html.markdown | 89 -
.../openstack/r/fw_policy_v1.html.markdown | 87 -
.../openstack/r/fw_rule_v1.html.markdown | 98 -
.../openstack/r/lb_listener_v2.html.markdown | 78 -
.../r/lb_loadbalancer_v2.html.markdown | 68 -
.../openstack/r/lb_member_v1.html.markdown | 66 -
.../openstack/r/lb_member_v2.html.markdown | 68 -
.../openstack/r/lb_monitor_v1.html.markdown | 90 -
.../openstack/r/lb_monitor_v2.html.markdown | 81 -
.../openstack/r/lb_pool_v1.html.markdown | 188 -
.../openstack/r/lb_pool_v2.html.markdown | 85 -
.../openstack/r/lb_vip_v1.html.markdown | 108 -
.../r/networking_floatingip_v2.html.markdown | 65 -
.../r/networking_network_v2.html.markdown | 103 -
.../r/networking_port_v2.html.markdown | 112 -
...tworking_router_interface_v2.html.markdown | 63 -
.../networking_router_route_v2.html.markdown | 76 -
.../r/networking_router_v2.html.markdown | 61 -
.../networking_secgroup_rule_v2.html.markdown | 97 -
.../r/networking_secgroup_v2.html.markdown | 58 -
.../r/networking_subnet_v2.html.markdown | 112 -
.../objectstorage_container_v1.html.markdown | 68 -
.../docs/providers/packet/index.html.markdown | 46 -
.../providers/packet/r/device.html.markdown | 55 -
.../providers/packet/r/project.html.markdown | 40 -
.../providers/packet/r/ssh_key.html.markdown | 43 -
.../providers/packet/r/volume.html.markdown | 60 -
.../providers/postgresql/index.html.markdown | 67 -
.../r/postgresql_database.html.markdown | 30 -
.../r/postgresql_role.html.markdown | 37 -
.../providers/powerdns/index.html.markdown | 36 -
.../providers/powerdns/r/record.html.markdown | 52 -
.../providers/rabbitmq/index.html.markdown | 55 -
.../rabbitmq/r/binding.html.markdown | 89 -
.../rabbitmq/r/exchange.html.markdown | 75 -
.../rabbitmq/r/permissions.html.markdown | 66 -
.../providers/rabbitmq/r/policy.html.markdown | 75 -
.../providers/rabbitmq/r/queue.html.markdown | 71 -
.../providers/rabbitmq/r/user.html.markdown | 45 -
.../providers/rabbitmq/r/vhost.html.markdown | 37 -
.../docs/providers/random/index.html.markdown | 73 -
.../source/docs/providers/random/r/id.html.md | 69 -
.../docs/providers/random/r/shuffle.html.md | 59 -
.../providers/rundeck/index.html.markdown | 75 -
.../docs/providers/rundeck/r/job.html.md | 166 -
.../providers/rundeck/r/private_key.html.md | 39 -
.../docs/providers/rundeck/r/project.html.md | 90 -
.../providers/rundeck/r/public_key.html.md | 51 -
.../scaleway/d/bootscript.html.markdown | 49 -
.../providers/scaleway/d/image.html.markdown | 49 -
.../providers/scaleway/index.html.markdown | 96 -
.../providers/scaleway/r/ip.html.markdown | 42 -
.../scaleway/r/security_group.html.markdown | 44 -
.../r/security_group_rule.html.markdown | 50 -
.../providers/scaleway/r/server.html.markdown | 53 -
.../providers/scaleway/r/volume.html.markdown | 52 -
.../r/volume_attachment.html.markdown | 48 -
.../providers/softlayer/index.html.markdown | 84 -
.../softlayer/r/ssh_key.html.markdown | 39 -
.../softlayer/r/virtual_guest.html.markdown | 134 -
.../providers/statuscake/index.html.markdown | 38 -
.../providers/statuscake/r/test.html.markdown | 41 -
.../template/d/cloudinit_config.html.markdown | 81 -
.../docs/providers/template/d/file.html.md | 55 -
.../providers/template/index.html.markdown | 34 -
.../terraform/d/remote_state.html.md | 45 -
.../providers/terraform/index.html.markdown | 31 -
.../docs/providers/tls/index.html.markdown | 72 -
.../docs/providers/tls/r/cert_request.html.md | 86 -
.../tls/r/locally_signed_cert.html.md | 118 -
.../docs/providers/tls/r/private_key.html.md | 72 -
.../providers/tls/r/self_signed_cert.html.md | 138 -
.../docs/providers/triton/index.html.markdown | 35 -
.../r/triton_firewall_rule.html.markdown | 50 -
.../triton/r/triton_key.html.markdown | 35 -
.../triton/r/triton_machine.html.markdown | 78 -
.../providers/ultradns/index.html.markdown | 39 -
.../providers/ultradns/r/record.html.markdown | 48 -
.../docs/providers/vcd/index.html.markdown | 64 -
.../docs/providers/vcd/r/dnat.html.markdown | 32 -
.../vcd/r/firewall_rules.html.markdown | 83 -
.../providers/vcd/r/network.html.markdown | 57 -
.../docs/providers/vcd/r/snat.html.markdown | 30 -
.../docs/providers/vcd/r/vapp.html.markdown | 61 -
.../providers/vsphere/index.html.markdown | 197 -
.../providers/vsphere/r/file.html.markdown | 53 -
.../providers/vsphere/r/folder.html.markdown | 28 -
.../vsphere/r/virtual_disk.html.markdown | 33 -
.../vsphere/r/virtual_machine.html.markdown | 148 -
.../docs/provisioners/chef.html.markdown | 147 -
.../provisioners/connection.html.markdown | 110 -
.../docs/provisioners/file.html.markdown | 86 -
.../docs/provisioners/index.html.markdown | 17 -
.../provisioners/local-exec.html.markdown | 40 -
.../provisioners/null_resource.html.markdown | 60 -
.../provisioners/remote-exec.html.markdown | 72 -
.../website/source/docs/state/import.html.md | 15 -
.../website/source/docs/state/index.html.md | 52 -
.../docs/state/remote/artifactory.html.md | 54 -
.../source/docs/state/remote/atlas.html.md | 43 -
.../source/docs/state/remote/azure.html.md | 48 -
.../source/docs/state/remote/consul.html.md | 49 -
.../source/docs/state/remote/etcd.html.md | 41 -
.../source/docs/state/remote/gcs.html.md | 56 -
.../source/docs/state/remote/http.html.md | 40 -
.../source/docs/state/remote/index.html.md | 64 -
.../source/docs/state/remote/local.html.md | 36 -
.../source/docs/state/remote/manta.html.md | 46 -
.../source/docs/state/remote/s3.html.md | 61 -
.../source/docs/state/remote/swift.html.md | 44 -
.../website/source/downloads.html.erb | 64 -
.../terraform/website/source/index.html.erb | 227 -
.../source/intro/examples/aws.html.markdown | 28 -
.../intro/examples/consul.html.markdown | 58 -
.../source/intro/examples/count.markdown | 20 -
.../intro/examples/cross-provider.markdown | 21 -
.../source/intro/examples/index.html.markdown | 66 -
.../intro/getting-started/build.html.md | 227 -
.../intro/getting-started/change.html.md | 124 -
.../getting-started/dependencies.html.md | 189 -
.../intro/getting-started/destroy.html.md | 66 -
.../getting-started/install.html.markdown | 74 -
.../intro/getting-started/modules.html.md | 165 -
.../getting-started/next-steps.html.markdown | 30 -
.../intro/getting-started/outputs.html.md | 82 -
.../intro/getting-started/provision.html.md | 112 -
.../getting-started/remote.html.markdown | 86 -
.../intro/getting-started/variables.html.md | 238 -
.../intro/hashicorp-ecosystem.html.markdown | 30 -
.../website/source/intro/index.html.markdown | 73 -
.../source/intro/use-cases.html.markdown | 121 -
.../source/intro/vs/boto.html.markdown | 24 -
.../source/intro/vs/chef-puppet.html.markdown | 23 -
.../intro/vs/cloudformation.html.markdown | 39 -
.../source/intro/vs/custom.html.markdown | 40 -
.../source/intro/vs/index.html.markdown | 21 -
.../source/layouts/_announcement-bnr.erb | 18 -
.../website/source/layouts/_footer.erb | 89 -
.../website/source/layouts/_header.erb | 38 -
.../website/source/layouts/_meta.erb | 21 -
.../website/source/layouts/_sidebar.erb | 26 -
.../website/source/layouts/archive.erb | 26 -
.../website/source/layouts/atlas.erb | 33 -
.../terraform/website/source/layouts/aws.erb | 1039 --
.../website/source/layouts/azure.erb | 98 -
.../website/source/layouts/azurerm.erb | 273 -
.../website/source/layouts/bitbucket.erb | 32 -
.../terraform/website/source/layouts/chef.erb | 38 -
.../terraform/website/source/layouts/clc.erb | 38 -
.../website/source/layouts/cloudflare.erb | 26 -
.../website/source/layouts/cloudstack.erb | 102 -
.../website/source/layouts/cobbler.erb | 38 -
.../website/source/layouts/commands-state.erb | 42 -
.../website/source/layouts/consul.erb | 54 -
.../website/source/layouts/datadog.erb | 29 -
.../website/source/layouts/digitalocean.erb | 48 -
.../terraform/website/source/layouts/dme.erb | 26 -
.../website/source/layouts/dnsimple.erb | 26 -
.../website/source/layouts/docker.erb | 47 -
.../terraform/website/source/layouts/docs.erb | 443 -
.../website/source/layouts/downloads.erb | 21 -
.../terraform/website/source/layouts/dyn.erb | 24 -
.../website/source/layouts/fastly.erb | 37 -
.../website/source/layouts/github.erb | 41 -
.../website/source/layouts/google.erb | 199 -
.../website/source/layouts/grafana.erb | 29 -
.../website/source/layouts/heroku.erb | 42 -
.../website/source/layouts/influxdb.erb | 32 -
.../website/source/layouts/inner.erb | 12 -
.../website/source/layouts/intro.erb | 112 -
.../website/source/layouts/layout.erb | 5 -
.../website/source/layouts/librato.erb | 35 -
.../website/source/layouts/logentries.erb | 29 -
.../website/source/layouts/mailgun.erb | 26 -
.../website/source/layouts/mysql.erb | 32 -
.../website/source/layouts/openstack.erb | 141 -
.../website/source/layouts/packet.erb | 35 -
.../website/source/layouts/postgresql.erb | 29 -
.../website/source/layouts/powerdns.erb | 26 -
.../website/source/layouts/rabbitmq.erb | 44 -
.../website/source/layouts/random.erb | 29 -
.../website/source/layouts/remotestate.erb | 56 -
.../website/source/layouts/rundeck.erb | 35 -
.../website/source/layouts/scaleway.erb | 53 -
.../website/source/layouts/softlayer.erb | 29 -
.../website/source/layouts/statuscake.erb | 26 -
.../source/layouts/svg/_svg-by-hashicorp.erb | 17 -
.../source/layouts/svg/_svg-download.erb | 4 -
.../source/layouts/svg/_svg-enterprise.erb | 41 -
.../source/layouts/svg/_svg-github.erb | 9 -
.../layouts/svg/_svg-hashicorp-logo.erb | 7 -
.../website/source/layouts/template.erb | 29 -
.../website/source/layouts/terraform.erb | 26 -
.../terraform/website/source/layouts/tls.erb | 35 -
.../website/source/layouts/triton.erb | 33 -
.../website/source/layouts/ultradns.erb | 26 -
.../terraform/website/source/layouts/vcd.erb | 38 -
.../website/source/layouts/vsphere.erb | 35 -
.../terraform/website/source/robots.txt | 8 -
.../website/source/sitemap.xml.builder | 19 -
.../source/upgrade-guides/0-7.html.markdown | 236 -
.../source/upgrade-guides/index.html.markdown | 13 -
vendor/github.com/kr/fs/LICENSE | 27 -
vendor/github.com/kr/fs/Readme | 3 -
vendor/github.com/kr/fs/example_test.go | 19 -
vendor/github.com/kr/fs/filesystem.go | 36 -
vendor/github.com/kr/fs/walk.go | 95 -
vendor/github.com/kr/fs/walk_test.go | 209 -
vendor/github.com/pkg/errors/.gitignore | 24 -
vendor/github.com/pkg/errors/.travis.yml | 11 -
vendor/github.com/pkg/errors/LICENSE | 23 -
vendor/github.com/pkg/errors/README.md | 52 -
vendor/github.com/pkg/errors/appveyor.yml | 32 -
vendor/github.com/pkg/errors/bench_test.go | 60 -
vendor/github.com/pkg/errors/errors.go | 269 -
vendor/github.com/pkg/errors/errors_test.go | 225 -
vendor/github.com/pkg/errors/example_test.go | 205 -
vendor/github.com/pkg/errors/format_test.go | 535 -
vendor/github.com/pkg/errors/stack.go | 178 -
vendor/github.com/pkg/errors/stack_test.go | 292 -
vendor/github.com/pkg/sftp/.gitignore | 8 -
vendor/github.com/pkg/sftp/.travis.yml | 25 -
vendor/github.com/pkg/sftp/CONTRIBUTORS | 2 -
vendor/github.com/pkg/sftp/LICENSE | 9 -
vendor/github.com/pkg/sftp/README.md | 27 -
vendor/github.com/pkg/sftp/attrs.go | 237 -
vendor/github.com/pkg/sftp/attrs_stubs.go | 11 -
vendor/github.com/pkg/sftp/attrs_test.go | 45 -
vendor/github.com/pkg/sftp/attrs_unix.go | 17 -
vendor/github.com/pkg/sftp/client.go | 1128 --
.../sftp/client_integration_darwin_test.go | 42 -
.../pkg/sftp/client_integration_linux_test.go | 42 -
.../pkg/sftp/client_integration_test.go | 1697 ---
vendor/github.com/pkg/sftp/client_test.go | 145 -
vendor/github.com/pkg/sftp/conn.go | 122 -
vendor/github.com/pkg/sftp/debug.go | 9 -
vendor/github.com/pkg/sftp/example_test.go | 90 -
.../examples/buffered-read-benchmark/main.go | 77 -
.../examples/buffered-write-benchmark/main.go | 83 -
.../pkg/sftp/examples/sftp-server/README.md | 12 -
.../pkg/sftp/examples/sftp-server/main.go | 143 -
.../examples/streaming-read-benchmark/main.go | 84 -
.../streaming-write-benchmark/main.go | 84 -
vendor/github.com/pkg/sftp/other_test.go | 5 -
vendor/github.com/pkg/sftp/packet.go | 901 --
vendor/github.com/pkg/sftp/packet_test.go | 345 -
vendor/github.com/pkg/sftp/release.go | 5 -
vendor/github.com/pkg/sftp/server.go | 607 -
.../pkg/sftp/server_integration_test.go | 671 -
.../pkg/sftp/server_standalone/main.go | 47 -
.../pkg/sftp/server_statvfs_darwin.go | 21 -
.../pkg/sftp/server_statvfs_impl.go | 25 -
.../pkg/sftp/server_statvfs_linux.go | 22 -
.../pkg/sftp/server_statvfs_stubs.go | 11 -
vendor/github.com/pkg/sftp/server_stubs.go | 12 -
vendor/github.com/pkg/sftp/server_test.go | 64 -
vendor/github.com/pkg/sftp/server_unix.go | 143 -
vendor/github.com/pkg/sftp/sftp.go | 217 -
.../prometheus/common/model/labels.go | 12 +-
.../prometheus/common/model/labels_test.go | 13 +-
.../prometheus/common/model/labelset.go | 2 +-
.../prometheus/common/model/metric.go | 9 +-
.../prometheus/common/model/metric_test.go | 13 +-
vendor/github.com/spf13/afero/README.md | 10 +-
vendor/github.com/spf13/afero/afero.go | 2 +-
.../spf13/afero/{sftp => sftpfs}/file.go | 0
.../spf13/afero/{ => sftpfs}/sftp.go | 65 +-
.../spf13/afero/{ => sftpfs}/sftp_test_go | 0
vendor/github.com/spf13/cast/cast_test.go | 7 +
vendor/github.com/spf13/cast/caste.go | 1 +
vendor/github.com/spf13/cobra/cobra_test.go | 2 +-
vendor/github.com/spf13/cobra/doc/man_docs.md | 4 +-
vendor/github.com/spf13/viper/viper.go | 5 +
vendor/golang.org/x/crypto/.gitattributes | 10 -
vendor/golang.org/x/crypto/.gitignore | 2 -
vendor/golang.org/x/crypto/AUTHORS | 3 -
vendor/golang.org/x/crypto/CONTRIBUTING.md | 31 -
vendor/golang.org/x/crypto/CONTRIBUTORS | 3 -
vendor/golang.org/x/crypto/LICENSE | 27 -
vendor/golang.org/x/crypto/PATENTS | 22 -
vendor/golang.org/x/crypto/README | 3 -
vendor/golang.org/x/crypto/acme/acme.go | 946 --
vendor/golang.org/x/crypto/acme/acme_test.go | 1189 --
.../x/crypto/acme/autocert/autocert.go | 776 -
.../x/crypto/acme/autocert/autocert_test.go | 390 -
.../x/crypto/acme/autocert/cache.go | 130 -
.../x/crypto/acme/autocert/cache_test.go | 58 -
.../x/crypto/acme/autocert/renewal.go | 125 -
.../x/crypto/acme/autocert/renewal_test.go | 190 -
vendor/golang.org/x/crypto/acme/jws.go | 153 -
vendor/golang.org/x/crypto/acme/jws_test.go | 266 -
vendor/golang.org/x/crypto/acme/types.go | 209 -
vendor/golang.org/x/crypto/bcrypt/base64.go | 35 -
vendor/golang.org/x/crypto/bcrypt/bcrypt.go | 294 -
.../golang.org/x/crypto/bcrypt/bcrypt_test.go | 226 -
vendor/golang.org/x/crypto/blake2b/blake2b.go | 188 -
.../x/crypto/blake2b/blake2bAVX2_amd64.go | 32 -
.../x/crypto/blake2b/blake2bAVX2_amd64.s | 196 -
.../x/crypto/blake2b/blake2b_amd64.go | 24 -
.../x/crypto/blake2b/blake2b_amd64.s | 275 -
.../x/crypto/blake2b/blake2b_generic.go | 179 -
.../x/crypto/blake2b/blake2b_ref.go | 14 -
.../x/crypto/blake2b/blake2b_test.go | 443 -
vendor/golang.org/x/crypto/blake2s/blake2s.go | 160 -
.../x/crypto/blake2s/blake2s_386.go | 36 -
.../golang.org/x/crypto/blake2s/blake2s_386.s | 460 -
.../x/crypto/blake2s/blake2s_amd64.go | 39 -
.../x/crypto/blake2s/blake2s_amd64.s | 463 -
.../x/crypto/blake2s/blake2s_generic.go | 174 -
.../x/crypto/blake2s/blake2s_ref.go | 18 -
.../x/crypto/blake2s/blake2s_test.go | 357 -
vendor/golang.org/x/crypto/blowfish/block.go | 159 -
.../x/crypto/blowfish/blowfish_test.go | 274 -
vendor/golang.org/x/crypto/blowfish/cipher.go | 91 -
vendor/golang.org/x/crypto/blowfish/const.go | 199 -
vendor/golang.org/x/crypto/bn256/bn256.go | 404 -
.../golang.org/x/crypto/bn256/bn256_test.go | 304 -
vendor/golang.org/x/crypto/bn256/constants.go | 44 -
vendor/golang.org/x/crypto/bn256/curve.go | 278 -
.../golang.org/x/crypto/bn256/example_test.go | 43 -
vendor/golang.org/x/crypto/bn256/gfp12.go | 200 -
vendor/golang.org/x/crypto/bn256/gfp2.go | 219 -
vendor/golang.org/x/crypto/bn256/gfp6.go | 296 -
vendor/golang.org/x/crypto/bn256/optate.go | 395 -
vendor/golang.org/x/crypto/bn256/twist.go | 249 -
vendor/golang.org/x/crypto/cast5/cast5.go | 526 -
.../golang.org/x/crypto/cast5/cast5_test.go | 106 -
.../chacha20poly1305/chacha20poly1305.go | 83 -
.../chacha20poly1305_amd64.go | 80 -
.../chacha20poly1305/chacha20poly1305_amd64.s | 2707 ----
.../chacha20poly1305_generic.go | 70 -
.../chacha20poly1305_noasm.go | 15 -
.../chacha20poly1305/chacha20poly1305_test.go | 182 -
.../chacha20poly1305_test_vectors.go | 332 -
.../internal/chacha20/chacha_generic.go | 199 -
.../internal/chacha20/chacha_test.go | 29 -
vendor/golang.org/x/crypto/codereview.cfg | 1 -
.../x/crypto/curve25519/const_amd64.s | 20 -
.../x/crypto/curve25519/cswap_amd64.s | 88 -
.../x/crypto/curve25519/curve25519.go | 841 --
.../x/crypto/curve25519/curve25519_test.go | 29 -
vendor/golang.org/x/crypto/curve25519/doc.go | 23 -
.../x/crypto/curve25519/freeze_amd64.s | 71 -
.../x/crypto/curve25519/ladderstep_amd64.s | 1375 --
.../x/crypto/curve25519/mont25519_amd64.go | 240 -
.../x/crypto/curve25519/mul_amd64.s | 167 -
.../x/crypto/curve25519/square_amd64.s | 130 -
vendor/golang.org/x/crypto/ed25519/ed25519.go | 181 -
.../x/crypto/ed25519/ed25519_test.go | 183 -
.../ed25519/internal/edwards25519/const.go | 1422 --
.../internal/edwards25519/edwards25519.go | 1771 ---
.../x/crypto/ed25519/testdata/sign.input.gz | Bin 50330 -> 0 bytes
.../golang.org/x/crypto/hkdf/example_test.go | 61 -
vendor/golang.org/x/crypto/hkdf/hkdf.go | 75 -
vendor/golang.org/x/crypto/hkdf/hkdf_test.go | 370 -
vendor/golang.org/x/crypto/md4/md4.go | 118 -
vendor/golang.org/x/crypto/md4/md4_test.go | 71 -
vendor/golang.org/x/crypto/md4/md4block.go | 89 -
vendor/golang.org/x/crypto/nacl/box/box.go | 86 -
.../golang.org/x/crypto/nacl/box/box_test.go | 78 -
.../x/crypto/nacl/secretbox/example_test.go | 53 -
.../x/crypto/nacl/secretbox/secretbox.go | 149 -
.../x/crypto/nacl/secretbox/secretbox_test.go | 91 -
vendor/golang.org/x/crypto/ocsp/ocsp.go | 714 -
vendor/golang.org/x/crypto/ocsp/ocsp_test.go | 778 -
.../x/crypto/openpgp/armor/armor.go | 219 -
.../x/crypto/openpgp/armor/armor_test.go | 95 -
.../x/crypto/openpgp/armor/encode.go | 160 -
.../x/crypto/openpgp/canonical_text.go | 59 -
.../x/crypto/openpgp/canonical_text_test.go | 52 -
.../x/crypto/openpgp/clearsign/clearsign.go | 376 -
.../openpgp/clearsign/clearsign_test.go | 210 -
.../x/crypto/openpgp/elgamal/elgamal.go | 122 -
.../x/crypto/openpgp/elgamal/elgamal_test.go | 49 -
.../x/crypto/openpgp/errors/errors.go | 72 -
vendor/golang.org/x/crypto/openpgp/keys.go | 639 -
.../golang.org/x/crypto/openpgp/keys_test.go | 404 -
.../x/crypto/openpgp/packet/compressed.go | 123 -
.../crypto/openpgp/packet/compressed_test.go | 41 -
.../x/crypto/openpgp/packet/config.go | 91 -
.../x/crypto/openpgp/packet/encrypted_key.go | 199 -
.../openpgp/packet/encrypted_key_test.go | 146 -
.../x/crypto/openpgp/packet/literal.go | 89 -
.../x/crypto/openpgp/packet/ocfb.go | 143 -
.../x/crypto/openpgp/packet/ocfb_test.go | 46 -
.../openpgp/packet/one_pass_signature.go | 73 -
.../x/crypto/openpgp/packet/opaque.go | 162 -
.../x/crypto/openpgp/packet/opaque_test.go | 67 -
.../x/crypto/openpgp/packet/packet.go | 539 -
.../x/crypto/openpgp/packet/packet_test.go | 255 -
.../x/crypto/openpgp/packet/private_key.go | 380 -
.../crypto/openpgp/packet/private_key_test.go | 270 -
.../x/crypto/openpgp/packet/public_key.go | 750 -
.../crypto/openpgp/packet/public_key_test.go | 202 -
.../x/crypto/openpgp/packet/public_key_v3.go | 280 -
.../openpgp/packet/public_key_v3_test.go | 82 -
.../x/crypto/openpgp/packet/reader.go | 76 -
.../x/crypto/openpgp/packet/signature.go | 731 -
.../x/crypto/openpgp/packet/signature_test.go | 78 -
.../x/crypto/openpgp/packet/signature_v3.go | 146 -
.../openpgp/packet/signature_v3_test.go | 92 -
.../openpgp/packet/symmetric_key_encrypted.go | 155 -
.../packet/symmetric_key_encrypted_test.go | 103 -
.../openpgp/packet/symmetrically_encrypted.go | 290 -
.../packet/symmetrically_encrypted_test.go | 123 -
.../x/crypto/openpgp/packet/userattribute.go | 91 -
.../openpgp/packet/userattribute_test.go | 109 -
.../x/crypto/openpgp/packet/userid.go | 160 -
.../x/crypto/openpgp/packet/userid_test.go | 87 -
vendor/golang.org/x/crypto/openpgp/read.go | 442 -
.../golang.org/x/crypto/openpgp/read_test.go | 613 -
vendor/golang.org/x/crypto/openpgp/s2k/s2k.go | 273 -
.../x/crypto/openpgp/s2k/s2k_test.go | 137 -
vendor/golang.org/x/crypto/openpgp/write.go | 378 -
.../golang.org/x/crypto/openpgp/write_test.go | 273 -
.../x/crypto/otr/libotr_test_helper.c | 197 -
vendor/golang.org/x/crypto/otr/otr.go | 1408 --
vendor/golang.org/x/crypto/otr/otr_test.go | 470 -
vendor/golang.org/x/crypto/otr/smp.go | 572 -
vendor/golang.org/x/crypto/pbkdf2/pbkdf2.go | 77 -
.../golang.org/x/crypto/pbkdf2/pbkdf2_test.go | 157 -
.../golang.org/x/crypto/pkcs12/bmp-string.go | 50 -
.../x/crypto/pkcs12/bmp-string_test.go | 63 -
vendor/golang.org/x/crypto/pkcs12/crypto.go | 131 -
.../golang.org/x/crypto/pkcs12/crypto_test.go | 125 -
vendor/golang.org/x/crypto/pkcs12/errors.go | 23 -
.../crypto/pkcs12/internal/rc2/bench_test.go | 27 -
.../x/crypto/pkcs12/internal/rc2/rc2.go | 274 -
.../x/crypto/pkcs12/internal/rc2/rc2_test.go | 93 -
vendor/golang.org/x/crypto/pkcs12/mac.go | 45 -
vendor/golang.org/x/crypto/pkcs12/mac_test.go | 42 -
vendor/golang.org/x/crypto/pkcs12/pbkdf.go | 170 -
.../golang.org/x/crypto/pkcs12/pbkdf_test.go | 34 -
vendor/golang.org/x/crypto/pkcs12/pkcs12.go | 342 -
.../golang.org/x/crypto/pkcs12/pkcs12_test.go | 138 -
vendor/golang.org/x/crypto/pkcs12/safebags.go | 57 -
.../golang.org/x/crypto/poly1305/poly1305.go | 32 -
.../x/crypto/poly1305/poly1305_test.go | 92 -
.../golang.org/x/crypto/poly1305/sum_amd64.go | 22 -
.../golang.org/x/crypto/poly1305/sum_amd64.s | 125 -
.../golang.org/x/crypto/poly1305/sum_arm.go | 22 -
vendor/golang.org/x/crypto/poly1305/sum_arm.s | 427 -
.../golang.org/x/crypto/poly1305/sum_ref.go | 1531 --
.../x/crypto/ripemd160/ripemd160.go | 120 -
.../x/crypto/ripemd160/ripemd160_test.go | 64 -
.../x/crypto/ripemd160/ripemd160block.go | 161 -
.../x/crypto/salsa20/salsa/hsalsa20.go | 144 -
.../x/crypto/salsa20/salsa/salsa2020_amd64.s | 889 --
.../x/crypto/salsa20/salsa/salsa208.go | 199 -
.../x/crypto/salsa20/salsa/salsa20_amd64.go | 23 -
.../x/crypto/salsa20/salsa/salsa20_ref.go | 234 -
.../x/crypto/salsa20/salsa/salsa_test.go | 35 -
vendor/golang.org/x/crypto/salsa20/salsa20.go | 54 -
.../x/crypto/salsa20/salsa20_test.go | 139 -
vendor/golang.org/x/crypto/scrypt/scrypt.go | 243 -
.../golang.org/x/crypto/scrypt/scrypt_test.go | 160 -
vendor/golang.org/x/crypto/sha3/doc.go | 66 -
vendor/golang.org/x/crypto/sha3/hashes.go | 65 -
vendor/golang.org/x/crypto/sha3/keccakf.go | 412 -
.../golang.org/x/crypto/sha3/keccakf_amd64.go | 13 -
.../golang.org/x/crypto/sha3/keccakf_amd64.s | 390 -
vendor/golang.org/x/crypto/sha3/register.go | 18 -
vendor/golang.org/x/crypto/sha3/sha3.go | 193 -
vendor/golang.org/x/crypto/sha3/sha3_test.go | 306 -
vendor/golang.org/x/crypto/sha3/shake.go | 60 -
.../sha3/testdata/keccakKats.json.deflate | Bin 521342 -> 0 bytes
vendor/golang.org/x/crypto/sha3/xor.go | 16 -
.../golang.org/x/crypto/sha3/xor_generic.go | 28 -
.../golang.org/x/crypto/sha3/xor_unaligned.go | 58 -
.../golang.org/x/crypto/ssh/agent/client.go | 659 -
.../x/crypto/ssh/agent/client_test.go | 343 -
.../x/crypto/ssh/agent/example_test.go | 40 -
.../golang.org/x/crypto/ssh/agent/forward.go | 103 -
.../golang.org/x/crypto/ssh/agent/keyring.go | 215 -
.../x/crypto/ssh/agent/keyring_test.go | 76 -
.../golang.org/x/crypto/ssh/agent/server.go | 451 -
.../x/crypto/ssh/agent/server_test.go | 207 -
.../x/crypto/ssh/agent/testdata_test.go | 64 -
.../golang.org/x/crypto/ssh/benchmark_test.go | 122 -
vendor/golang.org/x/crypto/ssh/buffer.go | 98 -
vendor/golang.org/x/crypto/ssh/buffer_test.go | 87 -
vendor/golang.org/x/crypto/ssh/certs.go | 503 -
vendor/golang.org/x/crypto/ssh/certs_test.go | 216 -
vendor/golang.org/x/crypto/ssh/channel.go | 633 -
vendor/golang.org/x/crypto/ssh/cipher.go | 579 -
vendor/golang.org/x/crypto/ssh/cipher_test.go | 127 -
vendor/golang.org/x/crypto/ssh/client.go | 213 -
vendor/golang.org/x/crypto/ssh/client_auth.go | 473 -
.../x/crypto/ssh/client_auth_test.go | 472 -
vendor/golang.org/x/crypto/ssh/client_test.go | 39 -
vendor/golang.org/x/crypto/ssh/common.go | 356 -
vendor/golang.org/x/crypto/ssh/connection.go | 143 -
vendor/golang.org/x/crypto/ssh/doc.go | 18 -
.../golang.org/x/crypto/ssh/example_test.go | 262 -
vendor/golang.org/x/crypto/ssh/handshake.go | 460 -
.../golang.org/x/crypto/ssh/handshake_test.go | 486 -
vendor/golang.org/x/crypto/ssh/kex.go | 540 -
vendor/golang.org/x/crypto/ssh/kex_test.go | 50 -
vendor/golang.org/x/crypto/ssh/keys.go | 880 --
vendor/golang.org/x/crypto/ssh/keys_test.go | 456 -
vendor/golang.org/x/crypto/ssh/mac.go | 57 -
.../golang.org/x/crypto/ssh/mempipe_test.go | 110 -
vendor/golang.org/x/crypto/ssh/messages.go | 758 -
.../golang.org/x/crypto/ssh/messages_test.go | 288 -
vendor/golang.org/x/crypto/ssh/mux.go | 330 -
vendor/golang.org/x/crypto/ssh/mux_test.go | 502 -
vendor/golang.org/x/crypto/ssh/server.go | 488 -
vendor/golang.org/x/crypto/ssh/session.go | 627 -
.../golang.org/x/crypto/ssh/session_test.go | 770 -
vendor/golang.org/x/crypto/ssh/tcpip.go | 407 -
vendor/golang.org/x/crypto/ssh/tcpip_test.go | 20 -
.../x/crypto/ssh/terminal/terminal.go | 892 --
.../x/crypto/ssh/terminal/terminal_test.go | 291 -
.../golang.org/x/crypto/ssh/terminal/util.go | 133 -
.../x/crypto/ssh/terminal/util_bsd.go | 12 -
.../x/crypto/ssh/terminal/util_linux.go | 11 -
.../x/crypto/ssh/terminal/util_plan9.go | 58 -
.../x/crypto/ssh/terminal/util_solaris.go | 73 -
.../x/crypto/ssh/terminal/util_windows.go | 174 -
.../x/crypto/ssh/test/agent_unix_test.go | 59 -
.../golang.org/x/crypto/ssh/test/cert_test.go | 47 -
vendor/golang.org/x/crypto/ssh/test/doc.go | 7 -
.../x/crypto/ssh/test/forward_unix_test.go | 160 -
.../x/crypto/ssh/test/session_test.go | 365 -
.../x/crypto/ssh/test/tcpip_test.go | 46 -
.../x/crypto/ssh/test/test_unix_test.go | 268 -
.../x/crypto/ssh/test/testdata_test.go | 64 -
.../golang.org/x/crypto/ssh/testdata/doc.go | 8 -
.../golang.org/x/crypto/ssh/testdata/keys.go | 120 -
.../golang.org/x/crypto/ssh/testdata_test.go | 63 -
vendor/golang.org/x/crypto/ssh/transport.go | 333 -
.../golang.org/x/crypto/ssh/transport_test.go | 109 -
vendor/golang.org/x/crypto/tea/cipher.go | 109 -
vendor/golang.org/x/crypto/tea/tea_test.go | 93 -
vendor/golang.org/x/crypto/twofish/twofish.go | 342 -
.../x/crypto/twofish/twofish_test.go | 129 -
vendor/golang.org/x/crypto/xtea/block.go | 66 -
vendor/golang.org/x/crypto/xtea/cipher.go | 82 -
vendor/golang.org/x/crypto/xtea/xtea_test.go | 229 -
vendor/golang.org/x/crypto/xts/xts.go | 138 -
vendor/golang.org/x/crypto/xts/xts_test.go | 85 -
vendor/golang.org/x/sys/unix/syscall_linux.go | 3 +-
.../x/sys/unix/zsyscall_linux_386.go | 15 +-
.../x/sys/unix/zsyscall_linux_amd64.go | 15 +-
.../x/sys/unix/zsyscall_linux_arm.go | 15 +-
.../x/sys/unix/zsyscall_linux_arm64.go | 15 +-
.../x/sys/unix/zsyscall_linux_mips64.go | 15 +-
.../x/sys/unix/zsyscall_linux_mips64le.go | 15 +-
.../x/sys/unix/zsyscall_linux_ppc64.go | 15 +-
.../x/sys/unix/zsyscall_linux_ppc64le.go | 15 +-
.../x/sys/unix/zsyscall_linux_s390x.go | 15 +-
.../x/sys/unix/zsyscall_linux_sparc64.go | 15 +-
.../x/text/internal/export/idna/idna.go | 75 +-
.../x/text/internal/export/idna/idna_test.go | 9 +-
4028 files changed, 135107 insertions(+), 545746 deletions(-)
create mode 100644 graph/dag.go
create mode 100644 graph/dag_test.go
create mode 100644 vendor/github.com/Sirupsen/logrus/alt_exit.go
create mode 100644 vendor/github.com/Sirupsen/logrus/alt_exit_test.go
delete mode 100644 vendor/github.com/Sirupsen/logrus/formatters/logstash/logstash.go
delete mode 100644 vendor/github.com/Sirupsen/logrus/formatters/logstash/logstash_test.go
create mode 100644 vendor/github.com/Sirupsen/logrus/logger_bench_test.go
create mode 100644 vendor/github.com/Sirupsen/logrus/terminal_appengine.go
create mode 100644 vendor/github.com/aws/aws-sdk-go/example/service/dynamodb/unitTest/README.md
create mode 100644 vendor/github.com/aws/aws-sdk-go/example/service/dynamodb/unitTest/unitTest.go
create mode 100644 vendor/github.com/aws/aws-sdk-go/example/service/dynamodb/unitTest/unitTest_test.go
create mode 100644 vendor/github.com/aws/aws-sdk-go/example/sqs/mockingClientsForTests/README.md
create mode 100644 vendor/github.com/aws/aws-sdk-go/example/sqs/mockingClientsForTests/ifaceExample.go
create mode 100644 vendor/github.com/aws/aws-sdk-go/example/sqs/mockingClientsForTests/ifaceExample_test.go
create mode 100644 vendor/github.com/aws/aws-sdk-go/models/apis/ecr/2015-09-21/paginators-1.json
create mode 100644 vendor/github.com/aws/aws-sdk-go/models/apis/elastictranscoder/2012-09-25/examples-1.json
create mode 100644 vendor/github.com/aws/aws-sdk-go/private/protocol/rest/build_test.go
delete mode 100644 vendor/github.com/aymerick/raymond/.gitmodules
create mode 100755 vendor/github.com/dnaeon/go-vcr/test_cover.sh
delete mode 100644 vendor/github.com/hashicorp/errwrap/LICENSE
delete mode 100644 vendor/github.com/hashicorp/errwrap/README.md
delete mode 100644 vendor/github.com/hashicorp/errwrap/errwrap.go
delete mode 100644 vendor/github.com/hashicorp/errwrap/errwrap_test.go
delete mode 100644 vendor/github.com/hashicorp/go-multierror/.travis.yml
delete mode 100644 vendor/github.com/hashicorp/go-multierror/LICENSE
delete mode 100644 vendor/github.com/hashicorp/go-multierror/Makefile
delete mode 100644 vendor/github.com/hashicorp/go-multierror/README.md
delete mode 100644 vendor/github.com/hashicorp/go-multierror/append.go
delete mode 100644 vendor/github.com/hashicorp/go-multierror/append_test.go
delete mode 100644 vendor/github.com/hashicorp/go-multierror/flatten.go
delete mode 100644 vendor/github.com/hashicorp/go-multierror/flatten_test.go
delete mode 100644 vendor/github.com/hashicorp/go-multierror/format.go
delete mode 100644 vendor/github.com/hashicorp/go-multierror/format_test.go
delete mode 100644 vendor/github.com/hashicorp/go-multierror/multierror.go
delete mode 100644 vendor/github.com/hashicorp/go-multierror/multierror_test.go
delete mode 100644 vendor/github.com/hashicorp/go-multierror/prefix.go
delete mode 100644 vendor/github.com/hashicorp/go-multierror/prefix_test.go
delete mode 100755 vendor/github.com/hashicorp/go-multierror/scripts/deps.sh
create mode 100644 vendor/github.com/hashicorp/hcl/hcl/printer/testdata/comment_multiline_indent.golden
create mode 100644 vendor/github.com/hashicorp/hcl/hcl/printer/testdata/comment_multiline_indent.input
create mode 100644 vendor/github.com/hashicorp/hcl/hcl/printer/testdata/comment_multiline_no_stanza.golden
create mode 100644 vendor/github.com/hashicorp/hcl/hcl/printer/testdata/comment_multiline_no_stanza.input
create mode 100644 vendor/github.com/hashicorp/hcl/hcl/printer/testdata/comment_multiline_stanza.golden
create mode 100644 vendor/github.com/hashicorp/hcl/hcl/printer/testdata/comment_multiline_stanza.input
create mode 100644 vendor/github.com/hashicorp/hcl/hcl/printer/testdata/multiline_string.golden
create mode 100644 vendor/github.com/hashicorp/hcl/hcl/printer/testdata/multiline_string.input
create mode 100644 vendor/github.com/hashicorp/hcl/test-fixtures/escape_backslash.hcl
create mode 100644 vendor/github.com/hashicorp/hcl/test-fixtures/structure_list_empty.json
delete mode 100644 vendor/github.com/hashicorp/terraform/.github/CONTRIBUTING.md
delete mode 100644 vendor/github.com/hashicorp/terraform/.github/ISSUE_TEMPLATE.md
delete mode 100644 vendor/github.com/hashicorp/terraform/.gitignore
delete mode 100644 vendor/github.com/hashicorp/terraform/.travis.yml
delete mode 100644 vendor/github.com/hashicorp/terraform/BUILDING.md
delete mode 100644 vendor/github.com/hashicorp/terraform/CHANGELOG.md
delete mode 100644 vendor/github.com/hashicorp/terraform/LICENSE
delete mode 100644 vendor/github.com/hashicorp/terraform/Makefile
delete mode 100644 vendor/github.com/hashicorp/terraform/README.md
delete mode 100644 vendor/github.com/hashicorp/terraform/Vagrantfile
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/bins/provider-archive/main.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/bins/provider-atlas/main.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/bins/provider-aws/main.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/bins/provider-azure/main.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/bins/provider-azurerm/main.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/bins/provider-bitbucket/main.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/bins/provider-chef/main.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/bins/provider-clc/main.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/bins/provider-cloudflare/main.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/bins/provider-cloudstack/main.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/bins/provider-cobbler/main.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/bins/provider-consul/main.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/bins/provider-datadog/main.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/bins/provider-digitalocean/main.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/bins/provider-dme/main.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/bins/provider-dnsimple/main.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/bins/provider-docker/main.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/bins/provider-dyn/main.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/bins/provider-fastly/main.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/bins/provider-github/main.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/bins/provider-google/main.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/bins/provider-grafana/main.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/bins/provider-heroku/main.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/bins/provider-influxdb/main.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/bins/provider-librato/main.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/bins/provider-logentries/main.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/bins/provider-logentries/main_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/bins/provider-mailgun/main.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/bins/provider-mysql/main.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/bins/provider-null/main.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/bins/provider-openstack/main.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/bins/provider-packet/main.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/bins/provider-postgresql/main.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/bins/provider-powerdns/main.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/bins/provider-random/main.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/bins/provider-rundeck/main.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/bins/provider-scaleway/main.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/bins/provider-softlayer/main.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/bins/provider-statuscake/main.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/bins/provider-template/main.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/bins/provider-terraform/main.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/bins/provider-test/main.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/bins/provider-tls/main.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/bins/provider-triton/main.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/bins/provider-ultradns/main.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/bins/provider-vcd/main.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/bins/provider-vsphere/main.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/bins/provisioner-chef/main.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/bins/provisioner-file/main.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/bins/provisioner-local-exec/main.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/bins/provisioner-remote-exec/main.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/archive/.gitignore
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/archive/archiver.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/archive/provider.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/archive/provider_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/archive/resource_archive_file.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/archive/resource_archive_file_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/archive/test-fixtures/test-dir/file1.txt
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/archive/test-fixtures/test-dir/file2.txt
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/archive/test-fixtures/test-dir/file3.txt
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/archive/test-fixtures/test-file.txt
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/archive/zip_archiver.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/archive/zip_archiver_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/atlas/data_source_artifact.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/atlas/data_source_artifact_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/atlas/provider.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/atlas/provider_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/atlas/resource_artifact.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/atlas/resource_artifact_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/auth_helpers.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/auth_helpers_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/autoscaling_tags.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/autoscaling_tags_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/awserr.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/cloudfront_distribution_configuration_structure.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/cloudfront_distribution_configuration_structure_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/config.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/core_acceptance_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/data_source_availability_zones.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/data_source_availability_zones_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/data_source_aws_ami.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/data_source_aws_ami_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/data_source_aws_availability_zone.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/data_source_aws_availability_zone_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/data_source_aws_billing_service_account.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/data_source_aws_billing_service_account_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/data_source_aws_caller_identity.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/data_source_aws_caller_identity_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/data_source_aws_cloudformation_stack.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/data_source_aws_cloudformation_stack_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/data_source_aws_ecs_container_definition.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/data_source_aws_ecs_container_definition_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/data_source_aws_elb_service_account.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/data_source_aws_elb_service_account_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/data_source_aws_iam_policy_document.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/data_source_aws_iam_policy_document_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/data_source_aws_ip_ranges.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/data_source_aws_ip_ranges_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/data_source_aws_redshift_service_account.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/data_source_aws_redshift_service_account_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/data_source_aws_region.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/data_source_aws_region_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/data_source_aws_s3_bucket_object.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/data_source_aws_s3_bucket_object_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/data_source_aws_subnet.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/data_source_aws_subnet_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/data_source_aws_vpc.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/data_source_aws_vpc_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/diff_suppress_funcs.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/ec2_filters.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/ec2_filters_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/hosted_zones.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/hosted_zones_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/iam_policy_model.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/import_aws_api_gateway_account_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/import_aws_api_gateway_key_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/import_aws_autoscaling_group_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/import_aws_cloudfront_distribution.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/import_aws_cloudfront_distribution_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/import_aws_cloudfront_origin_access_identity_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/import_aws_cloudtrail_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/import_aws_cloudwatch_event_rule_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/import_aws_cloudwatch_log_group_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/import_aws_cloudwatch_metric_alarm_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/import_aws_customer_gateway_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/import_aws_db_event_subscription_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/import_aws_db_instance_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/import_aws_db_option_group_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/import_aws_db_parameter_group_group_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/import_aws_db_security_group_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/import_aws_db_subnet_group_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/import_aws_dynamodb_table_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/import_aws_ebs_volume_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/import_aws_ecr_repository_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/import_aws_efs_file_system_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/import_aws_efs_mount_target_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/import_aws_elastic_beanstalk_application_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/import_aws_elastic_beanstalk_environment_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/import_aws_elasticache_cluster_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/import_aws_elasticache_parameter_group_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/import_aws_elasticache_replication_group_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/import_aws_elasticache_subnet_group_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/import_aws_elb_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/import_aws_flow_log_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/import_aws_glacier_vault_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/import_aws_iam_account_password_policy_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/import_aws_iam_group_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/import_aws_iam_saml_provider_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/import_aws_iam_user_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/import_aws_instance_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/import_aws_internet_gateway_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/import_aws_key_pair_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/import_aws_kms_key_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/import_aws_lambda_function_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/import_aws_launch_configuration_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/import_aws_nat_gateway_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/import_aws_network_acl.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/import_aws_network_acl_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/import_aws_network_interface_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/import_aws_opsworks_custom_layer_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/import_aws_opsworks_stack_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/import_aws_placement_group_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/import_aws_rds_cluster_instance_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/import_aws_rds_cluster_parameter_group_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/import_aws_rds_cluster_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/import_aws_redshift_cluster_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/import_aws_redshift_parameter_group_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/import_aws_redshift_security_group_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/import_aws_redshift_subnet_group_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/import_aws_route53_delegation_set_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/import_aws_route53_health_check_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/import_aws_route53_zone_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/import_aws_route_table.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/import_aws_route_table_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/import_aws_s3_bucket.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/import_aws_s3_bucket_notification_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/import_aws_s3_bucket_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/import_aws_security_group.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/import_aws_security_group_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/import_aws_ses_receipt_filter_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/import_aws_ses_receipt_rule_set_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/import_aws_simpledb_domain_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/import_aws_sns_topic_subscription_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/import_aws_sns_topic_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/import_aws_spot_datafeed_subscription_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/import_aws_sqs_queue_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/import_aws_subnet_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/import_aws_vpc_dhcp_options_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/import_aws_vpc_endpoint_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/import_aws_vpc_peering_connection_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/import_aws_vpc_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/import_aws_vpn_connection_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/import_aws_vpn_gateway_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/network_acl_entry.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/network_acl_entry_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/opsworks_layers.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/provider.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/provider_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_alb.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_alb_listener.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_alb_listener_rule.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_alb_listener_rule_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_alb_listener_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_alb_target_group.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_alb_target_group_attachment.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_alb_target_group_attachment_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_alb_target_group_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_alb_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_ami.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_ami_copy.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_ami_copy_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_ami_from_instance.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_ami_from_instance_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_ami_launch_permission.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_ami_launch_permission_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_ami_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_api_gateway_account.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_api_gateway_account_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_api_gateway_api_key.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_api_gateway_api_key_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_api_gateway_authorizer.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_api_gateway_authorizer_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_api_gateway_base_path_mapping.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_api_gateway_base_path_mapping_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_api_gateway_client_certificate.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_api_gateway_client_certificate_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_api_gateway_deployment.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_api_gateway_deployment_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_api_gateway_domain_name.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_api_gateway_domain_name_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_api_gateway_integration.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_api_gateway_integration_response.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_api_gateway_integration_response_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_api_gateway_integration_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_api_gateway_method.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_api_gateway_method_response.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_api_gateway_method_response_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_api_gateway_method_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_api_gateway_model.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_api_gateway_model_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_api_gateway_resource.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_api_gateway_resource_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_api_gateway_rest_api.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_api_gateway_rest_api_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_app_cookie_stickiness_policy.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_app_cookie_stickiness_policy_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_appautoscaling_policy.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_appautoscaling_policy_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_appautoscaling_target.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_appautoscaling_target_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_autoscaling_group.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_autoscaling_group_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_autoscaling_group_waiting.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_autoscaling_group_waiting_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_autoscaling_lifecycle_hook.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_autoscaling_lifecycle_hook_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_autoscaling_notification.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_autoscaling_notification_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_autoscaling_policy.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_autoscaling_policy_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_autoscaling_schedule.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_autoscaling_schedule_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_cloudformation_stack.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_cloudformation_stack_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_cloudfront_distribution.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_cloudfront_distribution_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_cloudfront_origin_access_identity.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_cloudfront_origin_access_identity_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_cloudtrail.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_cloudtrail_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_cloudwatch_event_rule.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_cloudwatch_event_rule_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_cloudwatch_event_target.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_cloudwatch_event_target_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_cloudwatch_log_group.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_cloudwatch_log_group_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_cloudwatch_log_metric_filter.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_cloudwatch_log_metric_filter_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_cloudwatch_log_stream.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_cloudwatch_log_stream_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_cloudwatch_log_subscription_filter.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_cloudwatch_log_subscription_filter_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_cloudwatch_metric_alarm.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_cloudwatch_metric_alarm_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_codecommit_repository.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_codecommit_repository_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_codecommit_trigger.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_codecommit_trigger_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_codedeploy_app.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_codedeploy_app_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_codedeploy_deployment_group.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_codedeploy_deployment_group_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_customer_gateway.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_customer_gateway_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_db_event_subscription.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_db_event_subscription_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_db_instance.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_db_instance_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_db_option_group.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_db_option_group_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_db_parameter_group.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_db_parameter_group_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_db_security_group.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_db_security_group_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_db_subnet_group.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_db_subnet_group_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_default_network_acl.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_default_network_acl_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_default_route_table.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_default_route_table_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_default_security_group.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_default_security_group_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_directory_service_directory.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_directory_service_directory_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_dynamodb_table.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_dynamodb_table_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_ebs_volume.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_ebs_volume_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_ecr_repository.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_ecr_repository_policy.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_ecr_repository_policy_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_ecr_repository_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_ecs_cluster.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_ecs_cluster_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_ecs_service.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_ecs_service_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_ecs_task_definition.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_ecs_task_definition_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_efs_file_system.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_efs_file_system_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_efs_mount_target.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_efs_mount_target_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_eip.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_eip_association.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_eip_association_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_eip_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_elastic_beanstalk_application.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_elastic_beanstalk_application_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_elastic_beanstalk_configuration_template.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_elastic_beanstalk_configuration_template_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_elastic_beanstalk_environment.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_elastic_beanstalk_environment_migrate.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_elastic_beanstalk_environment_migrate_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_elastic_beanstalk_environment_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_elastic_transcoder_pipeline.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_elastic_transcoder_pipeline_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_elastic_transcoder_preset.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_elastic_transcoder_preset_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_elasticache_cluster.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_elasticache_cluster_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_elasticache_parameter_group.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_elasticache_parameter_group_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_elasticache_replication_group.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_elasticache_replication_group_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_elasticache_security_group.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_elasticache_security_group_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_elasticache_subnet_group.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_elasticache_subnet_group_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_elasticsearch_domain.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_elasticsearch_domain_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_elb.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_elb_attachment.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_elb_attachment_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_elb_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_emr_cluster.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_emr_cluster_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_emr_instance_group.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_emr_instance_group_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_flow_log.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_flow_log_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_glacier_vault.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_glacier_vault_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_iam_access_key.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_iam_access_key_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_iam_account_password_policy.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_iam_account_password_policy_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_iam_group.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_iam_group_membership.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_iam_group_membership_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_iam_group_policy.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_iam_group_policy_attachment.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_iam_group_policy_attachment_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_iam_group_policy_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_iam_group_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_iam_instance_profile.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_iam_instance_profile_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_iam_policy.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_iam_policy_attachment.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_iam_policy_attachment_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_iam_role.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_iam_role_policy.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_iam_role_policy_attachment.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_iam_role_policy_attachment_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_iam_role_policy_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_iam_role_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_iam_saml_provider.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_iam_saml_provider_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_iam_server_certificate.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_iam_server_certificate_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_iam_user.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_iam_user_policy.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_iam_user_policy_attachment.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_iam_user_policy_attachment_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_iam_user_policy_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_iam_user_ssh_key.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_iam_user_ssh_key_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_iam_user_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_instance.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_instance_migrate.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_instance_migrate_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_instance_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_internet_gateway.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_internet_gateway_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_key_pair.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_key_pair_migrate.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_key_pair_migrate_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_key_pair_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_kinesis_firehose_delivery_stream.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_kinesis_firehose_delivery_stream_migrate.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_kinesis_firehose_delivery_stream_migrate_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_kinesis_firehose_delivery_stream_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_kinesis_stream.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_kinesis_stream_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_kms_alias.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_kms_alias_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_kms_key.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_kms_key_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_lambda_alias.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_lambda_alias_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_lambda_event_source_mapping.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_lambda_event_source_mapping_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_lambda_function.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_lambda_function_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_lambda_permission.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_lambda_permission_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_launch_configuration.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_launch_configuration_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_lb_cookie_stickiness_policy.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_lb_cookie_stickiness_policy_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_lb_ssl_negotiation_policy.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_lb_ssl_negotiation_policy_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_load_balancer_backend_server_policy.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_load_balancer_backend_server_policy_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_load_balancer_listener_policy.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_load_balancer_listener_policy_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_load_balancer_policy.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_load_balancer_policy_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_main_route_table_association.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_main_route_table_association_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_nat_gateway.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_nat_gateway_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_network_acl.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_network_acl_rule.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_network_acl_rule_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_network_acl_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_network_interface.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_network_interface_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_opsworks_application.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_opsworks_application_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_opsworks_custom_layer.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_opsworks_custom_layer_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_opsworks_ganglia_layer.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_opsworks_haproxy_layer.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_opsworks_instance.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_opsworks_instance_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_opsworks_java_app_layer.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_opsworks_memcached_layer.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_opsworks_mysql_layer.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_opsworks_nodejs_app_layer.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_opsworks_permission.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_opsworks_permission_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_opsworks_php_app_layer.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_opsworks_rails_app_layer.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_opsworks_stack.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_opsworks_stack_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_opsworks_static_web_layer.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_opsworks_user_profile.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_opsworks_user_profile_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_placement_group.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_placement_group_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_proxy_protocol_policy.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_proxy_protocol_policy_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_rds_cluster.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_rds_cluster_instance.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_rds_cluster_instance_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_rds_cluster_parameter_group.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_rds_cluster_parameter_group_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_rds_cluster_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_redshift_cluster.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_redshift_cluster_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_redshift_parameter_group.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_redshift_parameter_group_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_redshift_security_group.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_redshift_security_group_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_redshift_subnet_group.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_redshift_subnet_group_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_route.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_route53_delegation_set.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_route53_delegation_set_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_route53_health_check.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_route53_health_check_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_route53_record.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_route53_record_migrate.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_route53_record_migrate_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_route53_record_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_route53_zone.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_route53_zone_association.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_route53_zone_association_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_route53_zone_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_route_table.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_route_table_association.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_route_table_association_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_route_table_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_route_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_s3_bucket.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_s3_bucket_notification.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_s3_bucket_notification_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_s3_bucket_object.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_s3_bucket_object_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_s3_bucket_policy.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_s3_bucket_policy_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_s3_bucket_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_security_group.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_security_group_rule.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_security_group_rule_migrate.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_security_group_rule_migrate_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_security_group_rule_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_security_group_rules_matching_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_security_group_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_ses_active_receipt_rule_set.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_ses_active_receipt_rule_set_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_ses_receipt_filter.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_ses_receipt_filter_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_ses_receipt_rule.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_ses_receipt_rule_set.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_ses_receipt_rule_set_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_ses_receipt_rule_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_simpledb_domain.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_simpledb_domain_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_sns_topic.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_sns_topic_policy.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_sns_topic_policy_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_sns_topic_subscription.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_sns_topic_subscription_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_sns_topic_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_spot_datafeed_subscription.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_spot_datafeed_subscription_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_spot_fleet_request.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_spot_fleet_request_migrate.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_spot_fleet_request_migrate_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_spot_fleet_request_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_spot_instance_request.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_spot_instance_request_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_sqs_queue.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_sqs_queue_policy.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_sqs_queue_policy_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_sqs_queue_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_ssm_association.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_ssm_association_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_ssm_document.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_ssm_document_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_subnet.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_subnet_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_volume_attachment.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_volume_attachment_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_vpc.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_vpc_dhcp_options.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_vpc_dhcp_options_association.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_vpc_dhcp_options_association_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_vpc_dhcp_options_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_vpc_endpoint.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_vpc_endpoint_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_vpc_peering_connection.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_vpc_peering_connection_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_vpc_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_vpn_connection.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_vpn_connection_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_vpn_gateway.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_vpn_gateway_attachment.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_vpn_gateway_attachment_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_vpn_gateway_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_vpn_connection_route.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/resource_vpn_connection_route_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/s3_tags.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/s3_tags_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/structure.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/structure_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/tags.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/tagsBeanstalk.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/tagsBeanstalk_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/tagsCloudFront.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/tagsCloudtrail.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/tagsCloudtrail_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/tagsEC.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/tagsEC_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/tagsEFS.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/tagsEFS_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/tagsELB.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/tagsELB_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/tagsRDS.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/tagsRDS_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/tagsRedshift.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/tagsRedshift_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/tags_elasticsearchservice.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/tags_elasticsearchservice_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/tags_kinesis.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/tags_kinesis_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/tags_route53.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/tags_route53_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/tags_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/test-fixtures/cloudformation-template.json
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/test-fixtures/emr_configurations.json
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/test-fixtures/iam-ssl-unix-line-endings.pem
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/test-fixtures/iam-ssl-windows-line-endings.pem
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/test-fixtures/lambda_func.js
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/test-fixtures/lambda_func_modified.js
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/test-fixtures/lambdatest.zip
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/test-fixtures/saml-metadata-modified.xml
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/test-fixtures/saml-metadata.xml
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/validators.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/validators_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/aws/website_endpoint_url_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azure/config.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azure/constants.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azure/errors.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azure/provider.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azure/provider_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azure/resource_azure_affinity_group.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azure/resource_azure_affinity_group_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azure/resource_azure_data_disk.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azure/resource_azure_data_disk_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azure/resource_azure_dns_server.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azure/resource_azure_dns_server_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azure/resource_azure_hosted_service.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azure/resource_azure_hosted_service_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azure/resource_azure_instance.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azure/resource_azure_instance_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azure/resource_azure_local_network.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azure/resource_azure_local_network_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azure/resource_azure_security_group.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azure/resource_azure_security_group_rule.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azure/resource_azure_security_group_rule_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azure/resource_azure_security_group_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azure/resource_azure_sql_database_server.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azure/resource_azure_sql_database_server_firewall_rule.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azure/resource_azure_sql_database_server_firewall_rule_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azure/resource_azure_sql_database_server_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azure/resource_azure_sql_database_service.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azure/resource_azure_sql_database_service_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azure/resource_azure_storage_blob.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azure/resource_azure_storage_blob_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azure/resource_azure_storage_container.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azure/resource_azure_storage_container_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azure/resource_azure_storage_queue.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azure/resource_azure_storage_queue_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azure/resource_azure_storage_service.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azure/resource_azure_storage_service_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azure/resource_azure_virtual_network.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azure/resource_azure_virtual_network_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azure/resources.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azure/utils_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/config.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/import_arm_availability_set_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/import_arm_cdn_profile_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/import_arm_dns_zone_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/import_arm_local_network_gateway_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/import_arm_network_security_group_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/import_arm_network_security_rule_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/import_arm_public_ip_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/import_arm_resource_group_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/import_arm_servicebus_subscription_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/import_arm_servicebus_topic_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/import_arm_sql_firewall_rule_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/import_arm_storage_account_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/import_arm_traffic_manager_endpoint_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/import_arm_traffic_manager_profile_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/import_arm_virtual_network_peering_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/import_arm_virtual_network_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/loadbalancer.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/network_security_rule.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/network_security_rule_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/provider.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/provider_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_availability_set.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_availability_set_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_cdn_endpoint.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_cdn_endpoint_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_cdn_profile.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_cdn_profile_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_dns_a_record.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_dns_a_record_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_dns_aaaa_record.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_dns_aaaa_record_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_dns_cname_record.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_dns_cname_record_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_dns_mx_record.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_dns_mx_record_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_dns_ns_record.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_dns_ns_record_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_dns_srv_record.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_dns_srv_record_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_dns_txt_record.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_dns_txt_record_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_dns_zone.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_dns_zone_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_loadbalancer.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_loadbalancer_backend_address_pool.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_loadbalancer_backend_address_pool_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_loadbalancer_nat_pool.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_loadbalancer_nat_pool_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_loadbalancer_nat_rule.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_loadbalancer_nat_rule_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_loadbalancer_probe.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_loadbalancer_probe_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_loadbalancer_rule.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_loadbalancer_rule_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_loadbalancer_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_local_network_gateway.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_local_network_gateway_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_network_interface_card.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_network_interface_card_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_network_security_group.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_network_security_group_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_network_security_rule.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_network_security_rule_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_public_ip.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_public_ip_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_resource_group.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_resource_group_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_route.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_route_table.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_route_table_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_route_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_search_service.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_search_service_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_servicebus_namespace.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_servicebus_namespace_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_servicebus_subscription.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_servicebus_subscription_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_servicebus_topic.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_servicebus_topic_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_sql_database.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_sql_database_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_sql_firewall_rule.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_sql_firewall_rule_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_sql_server.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_sql_server_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_storage_account.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_storage_account_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_storage_blob.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_storage_blob_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_storage_container.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_storage_container_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_storage_queue.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_storage_queue_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_storage_table.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_storage_table_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_subnet.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_subnet_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_template_deployment.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_template_deployment_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_traffic_manager_endpoint.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_traffic_manager_endpoint_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_traffic_manager_profile.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_traffic_manager_profile_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_virtual_machine.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_virtual_machine_scale_set.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_virtual_machine_scale_set_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_virtual_machine_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_virtual_network.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_virtual_network_peering.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_virtual_network_peering_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_virtual_network_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resourceid.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/resourceid_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/structure.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/structure_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/tags.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/tags_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/validators.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/azurerm/validators_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/bitbucket/client.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/bitbucket/provider.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/bitbucket/provider_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/bitbucket/resource_default_reviewers.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/bitbucket/resource_default_reviewers_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/bitbucket/resource_hook.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/bitbucket/resource_hook_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/bitbucket/resource_repository.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/bitbucket/resource_repository_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/chef/provider.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/chef/provider_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/chef/resource_data_bag.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/chef/resource_data_bag_item.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/chef/resource_data_bag_item_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/chef/resource_data_bag_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/chef/resource_environment.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/chef/resource_environment_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/chef/resource_node.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/chef/resource_node_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/chef/resource_role.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/chef/resource_role_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/clc/provider.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/clc/provider_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/clc/resource_clc_group.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/clc/resource_clc_group_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/clc/resource_clc_load_balancer.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/clc/resource_clc_load_balancer_pool.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/clc/resource_clc_load_balancer_pool_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/clc/resource_clc_load_balancer_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/clc/resource_clc_public_ip.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/clc/resource_clc_public_ip_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/clc/resource_clc_server.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/clc/resource_clc_server_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/cloudflare/config.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/cloudflare/provider.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/cloudflare/provider_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/cloudflare/resource_cloudflare_record.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/cloudflare/resource_cloudflare_record_migrate.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/cloudflare/resource_cloudflare_record_migrate_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/cloudflare/resource_cloudflare_record_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/cloudstack/config.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/cloudstack/provider.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/cloudstack/provider_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/cloudstack/resource_cloudstack_affinity_group.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/cloudstack/resource_cloudstack_affinity_group_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/cloudstack/resource_cloudstack_disk.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/cloudstack/resource_cloudstack_disk_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/cloudstack/resource_cloudstack_egress_firewall.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/cloudstack/resource_cloudstack_egress_firewall_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/cloudstack/resource_cloudstack_firewall.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/cloudstack/resource_cloudstack_firewall_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/cloudstack/resource_cloudstack_instance.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/cloudstack/resource_cloudstack_instance_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/cloudstack/resource_cloudstack_ipaddress.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/cloudstack/resource_cloudstack_ipaddress_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/cloudstack/resource_cloudstack_loadbalancer_rule.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/cloudstack/resource_cloudstack_loadbalancer_rule_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/cloudstack/resource_cloudstack_network.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/cloudstack/resource_cloudstack_network_acl.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/cloudstack/resource_cloudstack_network_acl_rule.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/cloudstack/resource_cloudstack_network_acl_rule_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/cloudstack/resource_cloudstack_network_acl_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/cloudstack/resource_cloudstack_network_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/cloudstack/resource_cloudstack_nic.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/cloudstack/resource_cloudstack_nic_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/cloudstack/resource_cloudstack_port_forward.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/cloudstack/resource_cloudstack_port_forward_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/cloudstack/resource_cloudstack_secondary_ipaddress.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/cloudstack/resource_cloudstack_secondary_ipaddress_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/cloudstack/resource_cloudstack_ssh_keypair.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/cloudstack/resource_cloudstack_ssh_keypair_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/cloudstack/resource_cloudstack_static_nat.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/cloudstack/resource_cloudstack_static_nat_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/cloudstack/resource_cloudstack_template.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/cloudstack/resource_cloudstack_template_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/cloudstack/resource_cloudstack_vpc.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/cloudstack/resource_cloudstack_vpc_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/cloudstack/resource_cloudstack_vpn_connection.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/cloudstack/resource_cloudstack_vpn_connection_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/cloudstack/resource_cloudstack_vpn_customer_gateway.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/cloudstack/resource_cloudstack_vpn_customer_gateway_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/cloudstack/resource_cloudstack_vpn_gateway.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/cloudstack/resource_cloudstack_vpn_gateway_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/cloudstack/resources.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/cloudstack/tags.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/cloudstack/tags_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/cobbler/acceptance_env/deploy.sh
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/cobbler/acceptance_env/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/cobbler/config.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/cobbler/provider.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/cobbler/provider_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/cobbler/resource_cobbler_distro.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/cobbler/resource_cobbler_distro_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/cobbler/resource_cobbler_kickstart_file.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/cobbler/resource_cobbler_kickstart_file_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/cobbler/resource_cobbler_profile.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/cobbler/resource_cobbler_profile_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/cobbler/resource_cobbler_snippet.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/cobbler/resource_cobbler_snippet_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/cobbler/resource_cobbler_system.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/cobbler/resource_cobbler_system_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/consul/config.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/consul/data_source_consul_keys.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/consul/data_source_consul_keys_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/consul/key_client.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/consul/resource_consul_agent_service.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/consul/resource_consul_agent_service_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/consul/resource_consul_catalog_entry.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/consul/resource_consul_catalog_entry_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/consul/resource_consul_key_prefix.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/consul/resource_consul_key_prefix_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/consul/resource_consul_keys.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/consul/resource_consul_keys_migrate.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/consul/resource_consul_keys_migrate_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/consul/resource_consul_keys_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/consul/resource_consul_node.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/consul/resource_consul_node_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/consul/resource_consul_prepared_query.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/consul/resource_consul_prepared_query_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/consul/resource_consul_service.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/consul/resource_consul_service_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/consul/resource_provider.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/consul/resource_provider_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/consul/test-fixtures/README.md
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/consul/test-fixtures/agent.json.example
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/consul/test-fixtures/agentcert.pem
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/consul/test-fixtures/agentkey.pem
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/consul/test-fixtures/cacert.pem
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/consul/test-fixtures/usercert.pem
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/consul/test-fixtures/userkey.pem
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/datadog/config.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/datadog/import_datadog_monitor_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/datadog/provider.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/datadog/provider_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/datadog/resource_datadog_monitor.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/datadog/resource_datadog_monitor_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/datadog/resource_datadog_timeboard.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/datadog/resource_datadog_timeboard_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/digitalocean/config.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/digitalocean/import_digitalocean_domain_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/digitalocean/import_digitalocean_droplet_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/digitalocean/import_digitalocean_floating_ip_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/digitalocean/import_digitalocean_ssh_key_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/digitalocean/import_digitalocean_tag_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/digitalocean/import_digitalocean_volume_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/digitalocean/provider.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/digitalocean/provider_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/digitalocean/resource_digitalocean_domain.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/digitalocean/resource_digitalocean_domain_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/digitalocean/resource_digitalocean_droplet.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/digitalocean/resource_digitalocean_droplet_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/digitalocean/resource_digitalocean_floating_ip.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/digitalocean/resource_digitalocean_floating_ip_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/digitalocean/resource_digitalocean_record.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/digitalocean/resource_digitalocean_record_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/digitalocean/resource_digitalocean_ssh_key.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/digitalocean/resource_digitalocean_ssh_key_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/digitalocean/resource_digitalocean_tag.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/digitalocean/resource_digitalocean_tag_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/digitalocean/resource_digitalocean_volume.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/digitalocean/resource_digitalocean_volume_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/digitalocean/tags.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/digitalocean/tags_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/dme/config.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/dme/provider.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/dme/provider_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/dme/resource_dme_record.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/dme/resource_dme_record_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/dnsimple/config.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/dnsimple/provider.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/dnsimple/provider_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/dnsimple/resource_dnsimple_record.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/dnsimple/resource_dnsimple_record_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/docker/config.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/docker/data_source_docker_registry_image.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/docker/data_source_docker_registry_image_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/docker/provider.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/docker/provider_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/docker/resource_docker_container.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/docker/resource_docker_container_funcs.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/docker/resource_docker_container_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/docker/resource_docker_image.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/docker/resource_docker_image_funcs.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/docker/resource_docker_image_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/docker/resource_docker_network.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/docker/resource_docker_network_funcs.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/docker/resource_docker_network_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/docker/resource_docker_volume.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/docker/resource_docker_volume_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/dyn/config.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/dyn/provider.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/dyn/provider_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/dyn/resource_dyn_record.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/dyn/resource_dyn_record_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/fastly/config.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/fastly/data_source_ip_ranges.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/fastly/data_source_ip_ranges_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/fastly/provider.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/fastly/provider_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/fastly/resource_fastly_service_v1.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/fastly/resource_fastly_service_v1_cache_setting_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/fastly/resource_fastly_service_v1_conditionals_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/fastly/resource_fastly_service_v1_gzip_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/fastly/resource_fastly_service_v1_headers_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/fastly/resource_fastly_service_v1_request_setting_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/fastly/resource_fastly_service_v1_s3logging_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/fastly/resource_fastly_service_v1_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/fastly/resource_fastly_service_v1_vcl_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/github/config.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/github/provider.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/github/provider_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/github/resource_github_membership.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/github/resource_github_membership_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/github/resource_github_repository.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/github/resource_github_repository_collaborator.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/github/resource_github_repository_collaborator_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/github/resource_github_repository_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/github/resource_github_team.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/github/resource_github_team_membership.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/github/resource_github_team_membership_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/github/resource_github_team_repository.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/github/resource_github_team_repository_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/github/resource_github_team_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/github/util.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/github/util_permissions.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/github/util_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/compute_operation.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/config.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/config_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/data_source_google_iam_policy.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/disk_type.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/dns_change.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/image.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/import_compute_autoscaler_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/import_compute_firewall_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/import_compute_forwarding_rule_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/import_compute_http_health_check_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/import_compute_instance_group_manager_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/import_compute_instance_template_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/import_compute_target_pool_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/metadata.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/provider.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/provider_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/resource_compute_address.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/resource_compute_address_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/resource_compute_autoscaler.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/resource_compute_autoscaler_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/resource_compute_backend_service.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/resource_compute_backend_service_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/resource_compute_disk.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/resource_compute_disk_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/resource_compute_firewall.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/resource_compute_firewall_migrate.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/resource_compute_firewall_migrate_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/resource_compute_firewall_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/resource_compute_forwarding_rule.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/resource_compute_forwarding_rule_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/resource_compute_global_address.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/resource_compute_global_address_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/resource_compute_global_forwarding_rule.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/resource_compute_global_forwarding_rule_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/resource_compute_http_health_check.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/resource_compute_http_health_check_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/resource_compute_https_health_check.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/resource_compute_https_health_check_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/resource_compute_image.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/resource_compute_image_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/resource_compute_instance.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/resource_compute_instance_group.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/resource_compute_instance_group_manager.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/resource_compute_instance_group_manager_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/resource_compute_instance_group_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/resource_compute_instance_migrate.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/resource_compute_instance_migrate_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/resource_compute_instance_template.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/resource_compute_instance_template_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/resource_compute_instance_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/resource_compute_network.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/resource_compute_network_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/resource_compute_project_metadata.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/resource_compute_project_metadata_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/resource_compute_route.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/resource_compute_route_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/resource_compute_ssl_certificate.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/resource_compute_ssl_certificate_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/resource_compute_subnetwork.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/resource_compute_subnetwork_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/resource_compute_target_http_proxy.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/resource_compute_target_http_proxy_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/resource_compute_target_https_proxy.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/resource_compute_target_https_proxy_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/resource_compute_target_pool.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/resource_compute_target_pool_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/resource_compute_url_map.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/resource_compute_url_map_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/resource_compute_vpn_gateway.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/resource_compute_vpn_gateway_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/resource_compute_vpn_tunnel.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/resource_compute_vpn_tunnel_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/resource_container_cluster.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/resource_container_cluster_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/resource_dns_managed_zone.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/resource_dns_managed_zone_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/resource_dns_record_set.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/resource_dns_record_set_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/resource_google_project.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/resource_google_project_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/resource_pubsub_subscription.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/resource_pubsub_subscription_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/resource_pubsub_topic.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/resource_pubsub_topic_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/resource_sql_database.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/resource_sql_database_instance.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/resource_sql_database_instance_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/resource_sql_database_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/resource_sql_user.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/resource_sql_user_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/resource_storage_bucket.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/resource_storage_bucket_acl.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/resource_storage_bucket_acl_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/resource_storage_bucket_object.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/resource_storage_bucket_object_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/resource_storage_bucket_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/resource_storage_object_acl.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/resource_storage_object_acl_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/service_scope.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/sqladmin_operation.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/test-fixtures/fake_account.json
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/test-fixtures/fake_client.json
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/test-fixtures/ssl_cert/test.crt
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/test-fixtures/ssl_cert/test.csr
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/google/test-fixtures/ssl_cert/test.key
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/grafana/provider.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/grafana/provider_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/grafana/resource_dashboard.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/grafana/resource_dashboard_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/grafana/resource_data_source.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/grafana/resource_data_source_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/heroku/config.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/heroku/provider.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/heroku/provider_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/heroku/resource_heroku_addon.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/heroku/resource_heroku_addon_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/heroku/resource_heroku_app.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/heroku/resource_heroku_app_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/heroku/resource_heroku_cert.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/heroku/resource_heroku_cert_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/heroku/resource_heroku_domain.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/heroku/resource_heroku_domain_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/heroku/resource_heroku_drain.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/heroku/resource_heroku_drain_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/heroku/test-fixtures/terraform.cert
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/heroku/test-fixtures/terraform.key
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/influxdb/continuous_query.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/influxdb/continuous_query_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/influxdb/provider.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/influxdb/provider_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/influxdb/resource_database.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/influxdb/resource_database_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/influxdb/resource_user.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/influxdb/resource_user_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/librato/provider.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/librato/provider_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/librato/resource_librato_alert.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/librato/resource_librato_alert_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/librato/resource_librato_service.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/librato/resource_librato_service_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/librato/resource_librato_space.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/librato/resource_librato_space_chart.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/librato/resource_librato_space_chart_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/librato/resource_librato_space_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/logentries/expect/expect.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/logentries/provider.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/logentries/provider_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/logentries/resource_logentries_log.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/logentries/resource_logentries_log_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/logentries/resource_logentries_logset.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/logentries/resource_logentries_logset_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/mailgun/config.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/mailgun/provider.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/mailgun/provider_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/mailgun/resource_mailgun_domain.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/mailgun/resource_mailgun_domain_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/mysql/provider.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/mysql/provider_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/mysql/resource_database.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/mysql/resource_database_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/mysql/resource_grant.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/mysql/resource_grant_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/mysql/resource_user.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/mysql/resource_user_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/null/data_source.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/null/provider.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/null/provider_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/null/resource.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/openstack/config.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/openstack/devstack/deploy.sh
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/openstack/import_openstack_blockstorage_volume_v1_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/openstack/import_openstack_blockstorage_volume_v2_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/openstack/import_openstack_compute_floatingip_v2_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/openstack/import_openstack_compute_keypair_v2_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/openstack/import_openstack_compute_secgroup_v2_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/openstack/import_openstack_compute_servergroup_v2_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/openstack/import_openstack_fw_firewall_v1_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/openstack/import_openstack_fw_policy_v1_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/openstack/import_openstack_fw_rule_v1_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/openstack/import_openstack_lb_member_v1_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/openstack/import_openstack_lb_monitor_v1_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/openstack/import_openstack_lb_pool_v1_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/openstack/import_openstack_lb_vip_v1_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/openstack/import_openstack_networking_floatingip_v2_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/openstack/import_openstack_networking_network_v2_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/openstack/import_openstack_networking_port_v2_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/openstack/import_openstack_networking_secgroup_rule_v2_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/openstack/import_openstack_networking_secgroup_v2_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/openstack/import_openstack_networking_subnet_v2_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/openstack/provider.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/openstack/provider_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/openstack/resource_openstack_blockstorage_volume_v1.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/openstack/resource_openstack_blockstorage_volume_v1_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/openstack/resource_openstack_blockstorage_volume_v2.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/openstack/resource_openstack_blockstorage_volume_v2_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/openstack/resource_openstack_compute_floatingip_v2.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/openstack/resource_openstack_compute_floatingip_v2_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/openstack/resource_openstack_compute_instance_v2.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/openstack/resource_openstack_compute_instance_v2_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/openstack/resource_openstack_compute_keypair_v2.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/openstack/resource_openstack_compute_keypair_v2_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/openstack/resource_openstack_compute_secgroup_v2.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/openstack/resource_openstack_compute_secgroup_v2_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/openstack/resource_openstack_compute_servergroup_v2.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/openstack/resource_openstack_compute_servergroup_v2_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/openstack/resource_openstack_fw_firewall_v1.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/openstack/resource_openstack_fw_firewall_v1_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/openstack/resource_openstack_fw_policy_v1.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/openstack/resource_openstack_fw_policy_v1_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/openstack/resource_openstack_fw_rule_v1.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/openstack/resource_openstack_fw_rule_v1_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/openstack/resource_openstack_lb_listener_v2.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/openstack/resource_openstack_lb_listener_v2_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/openstack/resource_openstack_lb_loadbalancer_v2.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/openstack/resource_openstack_lb_loadbalancer_v2_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/openstack/resource_openstack_lb_member_v1.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/openstack/resource_openstack_lb_member_v1_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/openstack/resource_openstack_lb_member_v2.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/openstack/resource_openstack_lb_member_v2_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/openstack/resource_openstack_lb_monitor_v1.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/openstack/resource_openstack_lb_monitor_v1_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/openstack/resource_openstack_lb_monitor_v2.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/openstack/resource_openstack_lb_monitor_v2_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/openstack/resource_openstack_lb_pool_v1.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/openstack/resource_openstack_lb_pool_v1_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/openstack/resource_openstack_lb_pool_v2.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/openstack/resource_openstack_lb_pool_v2_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/openstack/resource_openstack_lb_vip_v1.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/openstack/resource_openstack_lb_vip_v1_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/openstack/resource_openstack_networking_floatingip_v2.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/openstack/resource_openstack_networking_floatingip_v2_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/openstack/resource_openstack_networking_network_v2.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/openstack/resource_openstack_networking_network_v2_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/openstack/resource_openstack_networking_port_v2.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/openstack/resource_openstack_networking_port_v2_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/openstack/resource_openstack_networking_router_interface_v2.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/openstack/resource_openstack_networking_router_interface_v2_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/openstack/resource_openstack_networking_router_route_v2.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/openstack/resource_openstack_networking_router_route_v2_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/openstack/resource_openstack_networking_router_v2.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/openstack/resource_openstack_networking_router_v2_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/openstack/resource_openstack_networking_secgroup_rule_v2.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/openstack/resource_openstack_networking_secgroup_rule_v2_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/openstack/resource_openstack_networking_secgroup_v2.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/openstack/resource_openstack_networking_secgroup_v2_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/openstack/resource_openstack_networking_subnet_v2.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/openstack/resource_openstack_networking_subnet_v2_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/openstack/resource_openstack_objectstorage_container_v1.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/openstack/resource_openstack_objectstorage_container_v1_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/openstack/util.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/packet/config.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/packet/errors.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/packet/provider.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/packet/provider_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/packet/resource_packet_device.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/packet/resource_packet_project.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/packet/resource_packet_project_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/packet/resource_packet_ssh_key.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/packet/resource_packet_ssh_key_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/packet/resource_packet_volume.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/packet/resource_packet_volume_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/postgresql/config.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/postgresql/provider.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/postgresql/provider_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/postgresql/resource_postgresql_database.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/postgresql/resource_postgresql_database_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/postgresql/resource_postgresql_role.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/postgresql/resource_postgresql_role_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/powerdns/client.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/powerdns/config.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/powerdns/provider.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/powerdns/provider_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/powerdns/resource_powerdns_record.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/powerdns/resource_powerdns_record_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/rabbitmq/acceptance_env/deploy.sh
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/rabbitmq/import_binding_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/rabbitmq/import_exchange_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/rabbitmq/import_permissions_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/rabbitmq/import_policy_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/rabbitmq/import_queue_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/rabbitmq/import_user_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/rabbitmq/import_vhost_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/rabbitmq/provider.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/rabbitmq/provider_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/rabbitmq/resource_binding.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/rabbitmq/resource_binding_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/rabbitmq/resource_exchange.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/rabbitmq/resource_exchange_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/rabbitmq/resource_permissions.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/rabbitmq/resource_permissions_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/rabbitmq/resource_policy.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/rabbitmq/resource_policy_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/rabbitmq/resource_queue.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/rabbitmq/resource_queue_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/rabbitmq/resource_user.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/rabbitmq/resource_user_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/rabbitmq/resource_vhost.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/rabbitmq/resource_vhost_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/rabbitmq/util.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/random/provider.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/random/provider_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/random/resource_id.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/random/resource_id_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/random/resource_shuffle.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/random/resource_shuffle_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/random/seed.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/rundeck/provider.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/rundeck/provider_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/rundeck/resource_job.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/rundeck/resource_job_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/rundeck/resource_private_key.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/rundeck/resource_private_key_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/rundeck/resource_project.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/rundeck/resource_project_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/rundeck/resource_public_key.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/rundeck/resource_public_key_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/scaleway/config.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/scaleway/data_source_scaleway_bootscript.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/scaleway/data_source_scaleway_bootscript_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/scaleway/data_source_scaleway_image.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/scaleway/data_source_scaleway_image_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/scaleway/helpers.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/scaleway/import_scaleway_ip_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/scaleway/import_scaleway_security_group_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/scaleway/import_scaleway_server_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/scaleway/import_scaleway_volume_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/scaleway/provider.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/scaleway/provider_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/scaleway/resource_scaleway_ip.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/scaleway/resource_scaleway_ip_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/scaleway/resource_scaleway_security_group.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/scaleway/resource_scaleway_security_group_rule.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/scaleway/resource_scaleway_security_group_rule_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/scaleway/resource_scaleway_security_group_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/scaleway/resource_scaleway_server.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/scaleway/resource_scaleway_server_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/scaleway/resource_scaleway_volume.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/scaleway/resource_scaleway_volume_attachment.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/scaleway/resource_scaleway_volume_attachment_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/scaleway/resource_scaleway_volume_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/softlayer/config.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/softlayer/provider.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/softlayer/provider_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/softlayer/resource_softlayer_ssh_key.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/softlayer/resource_softlayer_ssh_key_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/softlayer/resource_softlayer_virtual_guest.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/softlayer/resource_softlayer_virtual_guest_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/statuscake/provider.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/statuscake/provider_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/statuscake/resource_statuscaketest.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/statuscake/resource_statuscaketest_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/template/datasource_cloudinit_config.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/template/datasource_cloudinit_config_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/template/datasource_template_file.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/template/datasource_template_file_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/template/provider.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/template/provider_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/terraform/data_source_state.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/terraform/data_source_state_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/terraform/flatten.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/terraform/provider.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/terraform/provider_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/terraform/test-fixtures/basic.tfstate
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/terraform/test-fixtures/complex_outputs.tfstate
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/test/data_source.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/test/data_source_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/test/provider.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/test/provider_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/test/resource.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/test/resource_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/tls/provider.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/tls/provider_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/tls/resource_cert_request.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/tls/resource_cert_request_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/tls/resource_certificate.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/tls/resource_locally_signed_cert.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/tls/resource_locally_signed_cert_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/tls/resource_private_key.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/tls/resource_private_key_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/tls/resource_self_signed_cert.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/tls/resource_self_signed_cert_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/tls/util.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/triton/provider.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/triton/provider_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/triton/resource_fabric.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/triton/resource_fabric_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/triton/resource_firewall_rule.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/triton/resource_firewall_rule_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/triton/resource_key.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/triton/resource_key_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/triton/resource_machine.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/triton/resource_machine_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/triton/resource_vlan.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/triton/resource_vlan_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/triton/utils.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/ultradns/config.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/ultradns/provider.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/ultradns/provider_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/ultradns/resource_ultradns_record.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/ultradns/resource_ultradns_record_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/vcd/config.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/vcd/provider.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/vcd/provider_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/vcd/resource_vcd_dnat.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/vcd/resource_vcd_dnat_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/vcd/resource_vcd_firewall_rules.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/vcd/resource_vcd_firewall_rules_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/vcd/resource_vcd_network.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/vcd/resource_vcd_network_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/vcd/resource_vcd_snat.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/vcd/resource_vcd_snat_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/vcd/resource_vcd_vapp.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/vcd/resource_vcd_vapp_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/vcd/structure.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/vsphere/README.md
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/vsphere/config.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/vsphere/provider.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/vsphere/provider_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/vsphere/resource_vsphere_file.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/vsphere/resource_vsphere_file_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/vsphere/resource_vsphere_folder.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/vsphere/resource_vsphere_folder_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/vsphere/resource_vsphere_virtual_disk.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/vsphere/resource_vsphere_virtual_disk_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/vsphere/resource_vsphere_virtual_machine.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/vsphere/resource_vsphere_virtual_machine_migrate.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/vsphere/resource_vsphere_virtual_machine_migrate_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/providers/vsphere/resource_vsphere_virtual_machine_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/provisioners/chef/linux_provisioner.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/provisioners/chef/linux_provisioner_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/provisioners/chef/resource_provisioner.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/provisioners/chef/resource_provisioner_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/provisioners/chef/test-fixtures/ohaihint.json
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/provisioners/chef/windows_provisioner.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/provisioners/chef/windows_provisioner_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/provisioners/file/resource_provisioner.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/provisioners/file/resource_provisioner_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/provisioners/local-exec/resource_provisioner.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/provisioners/local-exec/resource_provisioner_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/provisioners/remote-exec/resource_provisioner.go
delete mode 100644 vendor/github.com/hashicorp/terraform/builtin/provisioners/remote-exec/resource_provisioner_test.go
delete mode 100755 vendor/github.com/hashicorp/terraform/builtin/provisioners/remote-exec/test-fixtures/script1.sh
delete mode 100644 vendor/github.com/hashicorp/terraform/checkpoint.go
delete mode 100644 vendor/github.com/hashicorp/terraform/command/apply.go
delete mode 100644 vendor/github.com/hashicorp/terraform/command/apply_destroy_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/command/apply_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/command/cli_ui.go
delete mode 100644 vendor/github.com/hashicorp/terraform/command/cli_ui_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/command/command.go
delete mode 100644 vendor/github.com/hashicorp/terraform/command/command_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/command/counthookaction_string.go
delete mode 100644 vendor/github.com/hashicorp/terraform/command/flag_kv.go
delete mode 100644 vendor/github.com/hashicorp/terraform/command/flag_kv_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/command/fmt.go
delete mode 100644 vendor/github.com/hashicorp/terraform/command/fmt_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/command/format_plan.go
delete mode 100644 vendor/github.com/hashicorp/terraform/command/format_plan_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/command/format_state.go
delete mode 100644 vendor/github.com/hashicorp/terraform/command/get.go
delete mode 100644 vendor/github.com/hashicorp/terraform/command/get_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/command/graph.go
delete mode 100644 vendor/github.com/hashicorp/terraform/command/graph_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/command/hcl_printer.go
delete mode 100644 vendor/github.com/hashicorp/terraform/command/hook_count.go
delete mode 100644 vendor/github.com/hashicorp/terraform/command/hook_count_action.go
delete mode 100644 vendor/github.com/hashicorp/terraform/command/hook_count_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/command/hook_state.go
delete mode 100644 vendor/github.com/hashicorp/terraform/command/hook_state_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/command/hook_ui.go
delete mode 100644 vendor/github.com/hashicorp/terraform/command/import.go
delete mode 100644 vendor/github.com/hashicorp/terraform/command/import_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/command/init.go
delete mode 100644 vendor/github.com/hashicorp/terraform/command/init_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/command/internal_plugin.go
delete mode 100644 vendor/github.com/hashicorp/terraform/command/internal_plugin_core.go
delete mode 100644 vendor/github.com/hashicorp/terraform/command/internal_plugin_list.go
delete mode 100644 vendor/github.com/hashicorp/terraform/command/internal_plugin_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/command/meta.go
delete mode 100644 vendor/github.com/hashicorp/terraform/command/meta_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/command/module_storage.go
delete mode 100644 vendor/github.com/hashicorp/terraform/command/module_storage_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/command/output.go
delete mode 100644 vendor/github.com/hashicorp/terraform/command/output_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/command/plan.go
delete mode 100644 vendor/github.com/hashicorp/terraform/command/plan_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/command/push.go
delete mode 100644 vendor/github.com/hashicorp/terraform/command/push_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/command/refresh.go
delete mode 100644 vendor/github.com/hashicorp/terraform/command/refresh_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/command/remote.go
delete mode 100644 vendor/github.com/hashicorp/terraform/command/remote_config.go
delete mode 100644 vendor/github.com/hashicorp/terraform/command/remote_config_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/command/remote_pull.go
delete mode 100644 vendor/github.com/hashicorp/terraform/command/remote_pull_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/command/remote_push.go
delete mode 100644 vendor/github.com/hashicorp/terraform/command/remote_push_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/command/show.go
delete mode 100644 vendor/github.com/hashicorp/terraform/command/show_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/command/state.go
delete mode 100644 vendor/github.com/hashicorp/terraform/command/state_command.go
delete mode 100644 vendor/github.com/hashicorp/terraform/command/state_list.go
delete mode 100644 vendor/github.com/hashicorp/terraform/command/state_list_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/command/state_meta.go
delete mode 100644 vendor/github.com/hashicorp/terraform/command/state_mv.go
delete mode 100644 vendor/github.com/hashicorp/terraform/command/state_mv_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/command/state_rm.go
delete mode 100644 vendor/github.com/hashicorp/terraform/command/state_rm_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/command/state_show.go
delete mode 100644 vendor/github.com/hashicorp/terraform/command/state_show_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/command/state_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/command/taint.go
delete mode 100644 vendor/github.com/hashicorp/terraform/command/taint_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/command/test-fixtures/apply-config-invalid/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/command/test-fixtures/apply-destroy-targeted/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/command/test-fixtures/apply-error/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/command/test-fixtures/apply-input/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/command/test-fixtures/apply-sensitive-output/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/command/test-fixtures/apply-shutdown/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/command/test-fixtures/apply-vars/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/command/test-fixtures/apply/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/command/test-fixtures/get/foo/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/command/test-fixtures/get/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/command/test-fixtures/graph/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/command/test-fixtures/init/hello.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/command/test-fixtures/parallelism/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/command/test-fixtures/plan-emptydiff/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/command/test-fixtures/plan-invalid/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/command/test-fixtures/plan-vars/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/command/test-fixtures/plan/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/command/test-fixtures/push-input-partial/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/command/test-fixtures/push-input/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/command/test-fixtures/push-no-upload/child/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/command/test-fixtures/push-no-upload/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/command/test-fixtures/push-tfvars/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/command/test-fixtures/push-tfvars/terraform.tfvars
delete mode 100644 vendor/github.com/hashicorp/terraform/command/test-fixtures/push/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/command/test-fixtures/refresh-output/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/command/test-fixtures/refresh-unset-var/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/command/test-fixtures/refresh-var/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/command/test-fixtures/refresh/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/command/test-fixtures/validate-invalid/incorrectmodulename/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/command/test-fixtures/validate-invalid/interpolation/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/command/test-fixtures/validate-invalid/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/command/test-fixtures/validate-invalid/missing_quote/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/command/test-fixtures/validate-invalid/missing_var/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/command/test-fixtures/validate-invalid/multiple_modules/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/command/test-fixtures/validate-invalid/multiple_providers/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/command/test-fixtures/validate-invalid/multiple_resources/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/command/test-fixtures/validate-invalid/outputs/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/command/test-fixtures/validate-valid/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/command/ui_input.go
delete mode 100644 vendor/github.com/hashicorp/terraform/command/ui_input_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/command/untaint.go
delete mode 100644 vendor/github.com/hashicorp/terraform/command/untaint_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/command/validate.go
delete mode 100644 vendor/github.com/hashicorp/terraform/command/validate_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/command/version.go
delete mode 100644 vendor/github.com/hashicorp/terraform/command/version_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/commands.go
delete mode 100644 vendor/github.com/hashicorp/terraform/communicator/communicator.go
delete mode 100644 vendor/github.com/hashicorp/terraform/communicator/communicator_mock.go
delete mode 100644 vendor/github.com/hashicorp/terraform/communicator/communicator_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/communicator/remote/command.go
delete mode 100644 vendor/github.com/hashicorp/terraform/communicator/remote/command_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/communicator/shared/shared.go
delete mode 100644 vendor/github.com/hashicorp/terraform/communicator/shared/shared_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/communicator/ssh/communicator.go
delete mode 100644 vendor/github.com/hashicorp/terraform/communicator/ssh/communicator_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/communicator/ssh/password.go
delete mode 100644 vendor/github.com/hashicorp/terraform/communicator/ssh/password_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/communicator/ssh/provisioner.go
delete mode 100644 vendor/github.com/hashicorp/terraform/communicator/ssh/provisioner_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/communicator/winrm/communicator.go
delete mode 100644 vendor/github.com/hashicorp/terraform/communicator/winrm/communicator_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/communicator/winrm/provisioner.go
delete mode 100644 vendor/github.com/hashicorp/terraform/communicator/winrm/provisioner_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/config.go
delete mode 100644 vendor/github.com/hashicorp/terraform/config/append.go
delete mode 100644 vendor/github.com/hashicorp/terraform/config/append_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/config/config.go
delete mode 100644 vendor/github.com/hashicorp/terraform/config/config_string.go
delete mode 100644 vendor/github.com/hashicorp/terraform/config/config_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/config/config_tree.go
delete mode 100644 vendor/github.com/hashicorp/terraform/config/import_tree.go
delete mode 100644 vendor/github.com/hashicorp/terraform/config/interpolate.go
delete mode 100644 vendor/github.com/hashicorp/terraform/config/interpolate_funcs.go
delete mode 100644 vendor/github.com/hashicorp/terraform/config/interpolate_funcs_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/config/interpolate_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/config/interpolate_walk.go
delete mode 100644 vendor/github.com/hashicorp/terraform/config/interpolate_walk_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/config/lang.go
delete mode 100644 vendor/github.com/hashicorp/terraform/config/loader.go
delete mode 100644 vendor/github.com/hashicorp/terraform/config/loader_hcl.go
delete mode 100644 vendor/github.com/hashicorp/terraform/config/loader_hcl_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/config/loader_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/config/merge.go
delete mode 100644 vendor/github.com/hashicorp/terraform/config/merge_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/config/module/copy_dir.go
delete mode 100644 vendor/github.com/hashicorp/terraform/config/module/get.go
delete mode 100644 vendor/github.com/hashicorp/terraform/config/module/inode.go
delete mode 100644 vendor/github.com/hashicorp/terraform/config/module/inode_freebsd.go
delete mode 100644 vendor/github.com/hashicorp/terraform/config/module/inode_windows.go
delete mode 100644 vendor/github.com/hashicorp/terraform/config/module/module.go
delete mode 100644 vendor/github.com/hashicorp/terraform/config/module/module_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/config/module/test-fixtures/basic-dot/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/module/test-fixtures/basic-git/DOTgit/COMMIT_EDITMSG
delete mode 100644 vendor/github.com/hashicorp/terraform/config/module/test-fixtures/basic-git/DOTgit/HEAD
delete mode 100644 vendor/github.com/hashicorp/terraform/config/module/test-fixtures/basic-git/DOTgit/config
delete mode 100644 vendor/github.com/hashicorp/terraform/config/module/test-fixtures/basic-git/DOTgit/description
delete mode 100755 vendor/github.com/hashicorp/terraform/config/module/test-fixtures/basic-git/DOTgit/hooks/applypatch-msg.sample
delete mode 100755 vendor/github.com/hashicorp/terraform/config/module/test-fixtures/basic-git/DOTgit/hooks/commit-msg.sample
delete mode 100755 vendor/github.com/hashicorp/terraform/config/module/test-fixtures/basic-git/DOTgit/hooks/post-update.sample
delete mode 100755 vendor/github.com/hashicorp/terraform/config/module/test-fixtures/basic-git/DOTgit/hooks/pre-applypatch.sample
delete mode 100755 vendor/github.com/hashicorp/terraform/config/module/test-fixtures/basic-git/DOTgit/hooks/pre-commit.sample
delete mode 100755 vendor/github.com/hashicorp/terraform/config/module/test-fixtures/basic-git/DOTgit/hooks/pre-push.sample
delete mode 100755 vendor/github.com/hashicorp/terraform/config/module/test-fixtures/basic-git/DOTgit/hooks/pre-rebase.sample
delete mode 100755 vendor/github.com/hashicorp/terraform/config/module/test-fixtures/basic-git/DOTgit/hooks/prepare-commit-msg.sample
delete mode 100755 vendor/github.com/hashicorp/terraform/config/module/test-fixtures/basic-git/DOTgit/hooks/update.sample
delete mode 100644 vendor/github.com/hashicorp/terraform/config/module/test-fixtures/basic-git/DOTgit/index
delete mode 100644 vendor/github.com/hashicorp/terraform/config/module/test-fixtures/basic-git/DOTgit/info/exclude
delete mode 100644 vendor/github.com/hashicorp/terraform/config/module/test-fixtures/basic-git/DOTgit/logs/HEAD
delete mode 100644 vendor/github.com/hashicorp/terraform/config/module/test-fixtures/basic-git/DOTgit/logs/refs/heads/master
delete mode 100644 vendor/github.com/hashicorp/terraform/config/module/test-fixtures/basic-git/DOTgit/logs/refs/heads/test-branch
delete mode 100644 vendor/github.com/hashicorp/terraform/config/module/test-fixtures/basic-git/DOTgit/objects/14/6492b04efe0aae2b8288c5c0aef6a951030fde
delete mode 100644 vendor/github.com/hashicorp/terraform/config/module/test-fixtures/basic-git/DOTgit/objects/1d/3d6744266642cb7623e2c678c33c77b075c49f
delete mode 100644 vendor/github.com/hashicorp/terraform/config/module/test-fixtures/basic-git/DOTgit/objects/1f/31e97f053caeb5d6b7bffa3faf82941c99efa2
delete mode 100644 vendor/github.com/hashicorp/terraform/config/module/test-fixtures/basic-git/DOTgit/objects/24/3f0fc5c4e586d1a3daa54c981b6f34e9ab1085
delete mode 100644 vendor/github.com/hashicorp/terraform/config/module/test-fixtures/basic-git/DOTgit/objects/38/30637158f774a20edcc0bf1c4d07b0bf87c43d
delete mode 100644 vendor/github.com/hashicorp/terraform/config/module/test-fixtures/basic-git/DOTgit/objects/40/4618c9d96dfa0a5d365b518e0dfbb5a387c649
delete mode 100644 vendor/github.com/hashicorp/terraform/config/module/test-fixtures/basic-git/DOTgit/objects/49/7bc37401eb3c9b11865b1768725b64066eccee
delete mode 100644 vendor/github.com/hashicorp/terraform/config/module/test-fixtures/basic-git/DOTgit/objects/7b/7614f8759ac8b5e4b02be65ad8e2667be6dd87
delete mode 100644 vendor/github.com/hashicorp/terraform/config/module/test-fixtures/basic-git/DOTgit/objects/8c/1a79ca1f98b6d00f5bf5c6cc9e8d3c092dd3ba
delete mode 100644 vendor/github.com/hashicorp/terraform/config/module/test-fixtures/basic-git/DOTgit/objects/96/43088174e25a9bd91c27970a580af0085c9f32
delete mode 100644 vendor/github.com/hashicorp/terraform/config/module/test-fixtures/basic-git/DOTgit/objects/b7/757b6a3696ad036e9aa2f5b4856d09e7f17993
delete mode 100644 vendor/github.com/hashicorp/terraform/config/module/test-fixtures/basic-git/DOTgit/objects/e6/9de29bb2d1d6434b8b29ae775ad8c2e48c5391
delete mode 100644 vendor/github.com/hashicorp/terraform/config/module/test-fixtures/basic-git/DOTgit/refs/heads/master
delete mode 100644 vendor/github.com/hashicorp/terraform/config/module/test-fixtures/basic-git/DOTgit/refs/heads/test-branch
delete mode 100644 vendor/github.com/hashicorp/terraform/config/module/test-fixtures/basic-git/DOTgit/refs/tags/v1.0
delete mode 100644 vendor/github.com/hashicorp/terraform/config/module/test-fixtures/basic-git/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/module/test-fixtures/basic-git/subdir/sub.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/module/test-fixtures/basic-hg/.hg/00changelog.i
delete mode 100644 vendor/github.com/hashicorp/terraform/config/module/test-fixtures/basic-hg/.hg/branch
delete mode 100644 vendor/github.com/hashicorp/terraform/config/module/test-fixtures/basic-hg/.hg/cache/branch2-served
delete mode 100644 vendor/github.com/hashicorp/terraform/config/module/test-fixtures/basic-hg/.hg/cache/tags
delete mode 100644 vendor/github.com/hashicorp/terraform/config/module/test-fixtures/basic-hg/.hg/dirstate
delete mode 100644 vendor/github.com/hashicorp/terraform/config/module/test-fixtures/basic-hg/.hg/last-message.txt
delete mode 100644 vendor/github.com/hashicorp/terraform/config/module/test-fixtures/basic-hg/.hg/requires
delete mode 100644 vendor/github.com/hashicorp/terraform/config/module/test-fixtures/basic-hg/.hg/store/00changelog.i
delete mode 100644 vendor/github.com/hashicorp/terraform/config/module/test-fixtures/basic-hg/.hg/store/00manifest.i
delete mode 100644 vendor/github.com/hashicorp/terraform/config/module/test-fixtures/basic-hg/.hg/store/data/main.tf.i
delete mode 100644 vendor/github.com/hashicorp/terraform/config/module/test-fixtures/basic-hg/.hg/store/data/main__branch.tf.i
delete mode 100644 vendor/github.com/hashicorp/terraform/config/module/test-fixtures/basic-hg/.hg/store/fncache
delete mode 100644 vendor/github.com/hashicorp/terraform/config/module/test-fixtures/basic-hg/.hg/store/phaseroots
delete mode 100644 vendor/github.com/hashicorp/terraform/config/module/test-fixtures/basic-hg/.hg/store/undo
delete mode 100644 vendor/github.com/hashicorp/terraform/config/module/test-fixtures/basic-hg/.hg/store/undo.phaseroots
delete mode 100644 vendor/github.com/hashicorp/terraform/config/module/test-fixtures/basic-hg/.hg/undo.bookmarks
delete mode 100644 vendor/github.com/hashicorp/terraform/config/module/test-fixtures/basic-hg/.hg/undo.branch
delete mode 100644 vendor/github.com/hashicorp/terraform/config/module/test-fixtures/basic-hg/.hg/undo.desc
delete mode 100644 vendor/github.com/hashicorp/terraform/config/module/test-fixtures/basic-hg/.hg/undo.dirstate
delete mode 100644 vendor/github.com/hashicorp/terraform/config/module/test-fixtures/basic-hg/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/module/test-fixtures/basic-parent/a/a.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/module/test-fixtures/basic-parent/c/c.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/module/test-fixtures/basic-parent/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/module/test-fixtures/basic-subdir/foo/sub/baz/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/module/test-fixtures/basic-subdir/foo/sub/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/module/test-fixtures/basic-subdir/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/module/test-fixtures/basic/foo/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/module/test-fixtures/basic/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/module/test-fixtures/basic/subdir/sub.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/module/test-fixtures/child/foo/bar/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/module/test-fixtures/child/foo/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/module/test-fixtures/child/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/module/test-fixtures/dup/foo/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/module/test-fixtures/dup/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/module/test-fixtures/validate-bad-output-to-module/child/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/module/test-fixtures/validate-bad-output-to-module/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/module/test-fixtures/validate-bad-output/child/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/module/test-fixtures/validate-bad-output/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/module/test-fixtures/validate-bad-var/child/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/module/test-fixtures/validate-bad-var/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/module/test-fixtures/validate-child-bad/child/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/module/test-fixtures/validate-child-bad/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/module/test-fixtures/validate-child-good/child/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/module/test-fixtures/validate-child-good/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/module/test-fixtures/validate-required-var/child/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/module/test-fixtures/validate-required-var/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/module/test-fixtures/validate-root-bad/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/module/tree.go
delete mode 100644 vendor/github.com/hashicorp/terraform/config/module/tree_gob.go
delete mode 100644 vendor/github.com/hashicorp/terraform/config/module/tree_gob_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/config/module/tree_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/config/raw_config.go
delete mode 100644 vendor/github.com/hashicorp/terraform/config/raw_config_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/config/resource_mode.go
delete mode 100644 vendor/github.com/hashicorp/terraform/config/resource_mode_string.go
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/.gitattributes
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/attributes.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/attributes.tf.json
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/bad-variable-type.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/bad_type.tf.nope
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/basic.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/basic.tf.json
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/connection.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/copy-basic/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/count-int/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/count-string/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/count-var/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/create-before-destroy.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/data-count/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/data-source-arity-mistake.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/dir-basic/README.md
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/dir-basic/nested/nested.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/dir-basic/one.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/dir-basic/two.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/dir-empty/.gitkeep
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/dir-merge/one.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/dir-merge/two.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/dir-override-var/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/dir-override-var/main_override.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/dir-override/foo_override.tf.json
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/dir-override/one.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/dir-override/override.tf.json
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/dir-override/two.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/dir-temporary-files/#emacs-two.tf#
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/dir-temporary-files/.#emacs-one.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/dir-temporary-files/.hidden.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/empty-collections/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/empty.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/escapedquotes.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/heredoc.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/ignore-changes.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/import.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/import/one.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/interpolations/concat.hcl
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/lifecycle_cbd_typo.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/modules.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/prevent-destroy-string.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/provisioners.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/resource-arity-mistake.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/resource-no-name.tf.json
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/validate-bad-depends-on/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/validate-bad-multi-resource/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/validate-count-bad-context/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/validate-count-below-zero/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/validate-count-count-var/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/validate-count-int/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/validate-count-module-var/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/validate-count-not-int/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/validate-count-resource-var-multi/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/validate-count-resource-var/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/validate-count-user-var/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/validate-count-var-invalid/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/validate-count-var-unknown/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/validate-count-var/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/validate-count-zero/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/validate-depends-on-var/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/validate-dup-module/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/validate-dup-resource/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/validate-good/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/validate-ignore-changes-bad/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/validate-ignore-changes/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/validate-module-name-bad/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/validate-module-source-var/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/validate-module-var-int/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/validate-module-var-list/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/validate-module-var-map/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/validate-module-var-self/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/validate-output-bad-field/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/validate-output-dup/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/validate-path-var-invalid/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/validate-path-var/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/validate-prov-conn-splat-other/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/validate-prov-conn-splat-self/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/validate-prov-splat-other/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/validate-prov-splat-self/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/validate-provider-multi-good/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/validate-provider-multi-ref-bad/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/validate-provider-multi-ref-good/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/validate-provider-multi/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/validate-resource-prov-self/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/validate-resource-self/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/validate-unknown-resource-var-output/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/validate-unknown-resource-var/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/validate-unknownthing/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/validate-unknownvar-count/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/validate-unknownvar/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/validate-var-default-interpolate/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/validate-var-default-list-type/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/validate-var-default/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/validate-var-dup/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/validate-var-module-invalid/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/validate-var-module/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/validate-var-multi-exact-non-slice/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/validate-var-multi-func/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/validate-var-multi-non-slice-provisioner/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/validate-var-multi-non-slice/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/variable-mismatched-type.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/variables.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config/test-fixtures/windows-line-endings.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/config_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/config_unix.go
delete mode 100644 vendor/github.com/hashicorp/terraform/config_windows.go
delete mode 100644 vendor/github.com/hashicorp/terraform/contrib/api-coverage/aws_api_coverage.rb
delete mode 100644 vendor/github.com/hashicorp/terraform/contrib/zsh-completion/README.md
delete mode 100644 vendor/github.com/hashicorp/terraform/contrib/zsh-completion/_terraform
delete mode 100755 vendor/github.com/hashicorp/terraform/contrib/zsh-completion/install.sh
delete mode 100644 vendor/github.com/hashicorp/terraform/dag/dag.go
delete mode 100644 vendor/github.com/hashicorp/terraform/dag/dag_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/dag/edge.go
delete mode 100644 vendor/github.com/hashicorp/terraform/dag/edge_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/dag/graph.go
delete mode 100644 vendor/github.com/hashicorp/terraform/dag/graph_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/dag/set.go
delete mode 100644 vendor/github.com/hashicorp/terraform/dag/tarjan.go
delete mode 100644 vendor/github.com/hashicorp/terraform/dag/tarjan_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/deps/v0-4-0.json
delete mode 100644 vendor/github.com/hashicorp/terraform/deps/v0-4-1.json
delete mode 100644 vendor/github.com/hashicorp/terraform/deps/v0-5-0.json
delete mode 100644 vendor/github.com/hashicorp/terraform/deps/v0-5-3.json
delete mode 100644 vendor/github.com/hashicorp/terraform/deps/v0-6-0.json
delete mode 100644 vendor/github.com/hashicorp/terraform/deps/v0-6-1.json
delete mode 100644 vendor/github.com/hashicorp/terraform/deps/v0-6-10.json
delete mode 100644 vendor/github.com/hashicorp/terraform/deps/v0-6-2.json
delete mode 100644 vendor/github.com/hashicorp/terraform/deps/v0-6-3.json
delete mode 100644 vendor/github.com/hashicorp/terraform/deps/v0-6-4.json
delete mode 100644 vendor/github.com/hashicorp/terraform/deps/v0-6-5.json
delete mode 100644 vendor/github.com/hashicorp/terraform/deps/v0-6-6.json
delete mode 100644 vendor/github.com/hashicorp/terraform/deps/v0-6-7.json
delete mode 100644 vendor/github.com/hashicorp/terraform/deps/v0-6-8.json
delete mode 100644 vendor/github.com/hashicorp/terraform/deps/v0-6-9.json
delete mode 100644 vendor/github.com/hashicorp/terraform/digraph/basic.go
delete mode 100644 vendor/github.com/hashicorp/terraform/digraph/basic_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/digraph/digraph.go
delete mode 100644 vendor/github.com/hashicorp/terraform/digraph/graphviz.go
delete mode 100644 vendor/github.com/hashicorp/terraform/digraph/graphviz_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/digraph/tarjan.go
delete mode 100644 vendor/github.com/hashicorp/terraform/digraph/tarjan_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/digraph/util.go
delete mode 100644 vendor/github.com/hashicorp/terraform/digraph/util_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/dot/graph.go
delete mode 100644 vendor/github.com/hashicorp/terraform/dot/graph_writer.go
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/README.md
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/aws-asg/README.md
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/aws-asg/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/aws-asg/outputs.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/aws-asg/userdata.sh
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/aws-asg/variables.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/aws-cloudwatch-events/kinesis/README.md
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/aws-cloudwatch-events/kinesis/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/aws-cloudwatch-events/kinesis/outputs.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/aws-cloudwatch-events/kinesis/variables.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/aws-cloudwatch-events/sns/README.md
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/aws-cloudwatch-events/sns/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/aws-cloudwatch-events/sns/outputs.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/aws-cloudwatch-events/sns/variables.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/aws-count/README.md
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/aws-count/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/aws-count/outputs.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/aws-count/variables.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/aws-ecs-alb/README.md
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/aws-ecs-alb/cloud-config.yml
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/aws-ecs-alb/instance-profile-policy.json
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/aws-ecs-alb/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/aws-ecs-alb/outputs.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/aws-ecs-alb/task-definition.json
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/aws-ecs-alb/variables.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/aws-eip/README.md
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/aws-eip/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/aws-eip/outputs.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/aws-eip/userdata.sh
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/aws-eip/variables.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/aws-elb/README.md
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/aws-elb/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/aws-elb/outputs.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/aws-elb/userdata.sh
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/aws-elb/variables.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/aws-networking/.gitignore
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/aws-networking/README.md
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/aws-networking/numbering/variables.tf
delete mode 120000 vendor/github.com/hashicorp/terraform/examples/aws-networking/region/numbering.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/aws-networking/region/outputs.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/aws-networking/region/security_group.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/aws-networking/region/subnets.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/aws-networking/region/variables.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/aws-networking/region/vpc.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/aws-networking/regions.tf
delete mode 120000 vendor/github.com/hashicorp/terraform/examples/aws-networking/subnet/numbering.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/aws-networking/subnet/outputs.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/aws-networking/subnet/security_group.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/aws-networking/subnet/subnet.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/aws-networking/subnet/variables.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/aws-networking/variables.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/aws-rds/README.md
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/aws-rds/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/aws-rds/outputs.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/aws-rds/sg-variables.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/aws-rds/sg.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/aws-rds/subnet-variables.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/aws-rds/subnets.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/aws-rds/variables.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/aws-s3-cross-account-access/README.md
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/aws-s3-cross-account-access/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/aws-s3-cross-account-access/prod.txt
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/aws-s3-cross-account-access/terraform.template.tfvars
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/aws-s3-cross-account-access/test.txt
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/aws-s3-cross-account-access/variables.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/aws-two-tier/README.md
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/aws-two-tier/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/aws-two-tier/outputs.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/aws-two-tier/variables.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/clc/README.md
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/clc/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/clc/outputs.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/clc/variables.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/consul/README.md
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/consul/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/consul/variables.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/cross-provider/README.md
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/cross-provider/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/cross-provider/outputs.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/cross-provider/variables.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/digitalocean/README.md
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/digitalocean/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/digitalocean/outputs.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/digitalocean/variable.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/gce-vpn/README.md
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/gce-vpn/variables.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/gce-vpn/vpn.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/google-two-tier/.gitignore
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/google-two-tier/README.md
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/google-two-tier/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/google-two-tier/output.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/google-two-tier/scripts/install.sh
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/google-two-tier/terraform.tfvars.example
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/google-two-tier/variables.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/openstack-with-networking/README.md
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/openstack-with-networking/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/openstack-with-networking/openrc.sample
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/openstack-with-networking/outputs.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/examples/openstack-with-networking/variables.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/flatmap/expand.go
delete mode 100644 vendor/github.com/hashicorp/terraform/flatmap/expand_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/flatmap/flatten.go
delete mode 100644 vendor/github.com/hashicorp/terraform/flatmap/flatten_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/flatmap/map.go
delete mode 100644 vendor/github.com/hashicorp/terraform/flatmap/map_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/help.go
delete mode 100644 vendor/github.com/hashicorp/terraform/helper/README.md
delete mode 100644 vendor/github.com/hashicorp/terraform/helper/acctest/acctest.go
delete mode 100644 vendor/github.com/hashicorp/terraform/helper/acctest/random.go
delete mode 100644 vendor/github.com/hashicorp/terraform/helper/acctest/remotetests.go
delete mode 100644 vendor/github.com/hashicorp/terraform/helper/config/decode.go
delete mode 100644 vendor/github.com/hashicorp/terraform/helper/config/validator.go
delete mode 100644 vendor/github.com/hashicorp/terraform/helper/config/validator_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/helper/copy/copy.go
delete mode 100644 vendor/github.com/hashicorp/terraform/helper/diff/diff_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/helper/diff/resource_builder.go
delete mode 100644 vendor/github.com/hashicorp/terraform/helper/diff/resource_builder_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/helper/hashcode/hashcode.go
delete mode 100644 vendor/github.com/hashicorp/terraform/helper/hashcode/hashcode_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/helper/hilmapstructure/hilmapstructure.go
delete mode 100644 vendor/github.com/hashicorp/terraform/helper/logging/logging.go
delete mode 100644 vendor/github.com/hashicorp/terraform/helper/mutexkv/mutexkv.go
delete mode 100644 vendor/github.com/hashicorp/terraform/helper/mutexkv/mutexkv_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/helper/pathorcontents/read.go
delete mode 100644 vendor/github.com/hashicorp/terraform/helper/pathorcontents/read_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/helper/resource/error.go
delete mode 100644 vendor/github.com/hashicorp/terraform/helper/resource/id.go
delete mode 100644 vendor/github.com/hashicorp/terraform/helper/resource/id_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/helper/resource/map.go
delete mode 100644 vendor/github.com/hashicorp/terraform/helper/resource/map_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/helper/resource/resource.go
delete mode 100644 vendor/github.com/hashicorp/terraform/helper/resource/state.go
delete mode 100644 vendor/github.com/hashicorp/terraform/helper/resource/state_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/helper/resource/testing.go
delete mode 100644 vendor/github.com/hashicorp/terraform/helper/resource/testing_config.go
delete mode 100644 vendor/github.com/hashicorp/terraform/helper/resource/testing_import_state.go
delete mode 100644 vendor/github.com/hashicorp/terraform/helper/resource/testing_import_state_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/helper/resource/testing_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/helper/resource/wait.go
delete mode 100644 vendor/github.com/hashicorp/terraform/helper/resource/wait_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/helper/schema/README.md
delete mode 100644 vendor/github.com/hashicorp/terraform/helper/schema/data_source_resource_shim.go
delete mode 100644 vendor/github.com/hashicorp/terraform/helper/schema/equal.go
delete mode 100644 vendor/github.com/hashicorp/terraform/helper/schema/field_reader.go
delete mode 100644 vendor/github.com/hashicorp/terraform/helper/schema/field_reader_config.go
delete mode 100644 vendor/github.com/hashicorp/terraform/helper/schema/field_reader_config_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/helper/schema/field_reader_diff.go
delete mode 100644 vendor/github.com/hashicorp/terraform/helper/schema/field_reader_diff_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/helper/schema/field_reader_map.go
delete mode 100644 vendor/github.com/hashicorp/terraform/helper/schema/field_reader_map_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/helper/schema/field_reader_multi.go
delete mode 100644 vendor/github.com/hashicorp/terraform/helper/schema/field_reader_multi_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/helper/schema/field_reader_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/helper/schema/field_writer.go
delete mode 100644 vendor/github.com/hashicorp/terraform/helper/schema/field_writer_map.go
delete mode 100644 vendor/github.com/hashicorp/terraform/helper/schema/field_writer_map_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/helper/schema/getsource_string.go
delete mode 100644 vendor/github.com/hashicorp/terraform/helper/schema/provider.go
delete mode 100644 vendor/github.com/hashicorp/terraform/helper/schema/provider_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/helper/schema/resource.go
delete mode 100644 vendor/github.com/hashicorp/terraform/helper/schema/resource_data.go
delete mode 100644 vendor/github.com/hashicorp/terraform/helper/schema/resource_data_get_source.go
delete mode 100644 vendor/github.com/hashicorp/terraform/helper/schema/resource_data_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/helper/schema/resource_importer.go
delete mode 100644 vendor/github.com/hashicorp/terraform/helper/schema/resource_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/helper/schema/schema.go
delete mode 100644 vendor/github.com/hashicorp/terraform/helper/schema/schema_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/helper/schema/serialize.go
delete mode 100644 vendor/github.com/hashicorp/terraform/helper/schema/serialize_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/helper/schema/set.go
delete mode 100644 vendor/github.com/hashicorp/terraform/helper/schema/set_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/helper/schema/valuetype.go
delete mode 100644 vendor/github.com/hashicorp/terraform/helper/schema/valuetype_string.go
delete mode 100644 vendor/github.com/hashicorp/terraform/helper/signalwrapper/wrapper.go
delete mode 100644 vendor/github.com/hashicorp/terraform/helper/signalwrapper/wrapper_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/helper/validation/validation.go
delete mode 100644 vendor/github.com/hashicorp/terraform/helper/validation/validation_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/main.go
delete mode 100644 vendor/github.com/hashicorp/terraform/panic.go
delete mode 100644 vendor/github.com/hashicorp/terraform/plugin/plugin.go
delete mode 100644 vendor/github.com/hashicorp/terraform/plugin/plugin_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/plugin/resource_provider.go
delete mode 100644 vendor/github.com/hashicorp/terraform/plugin/resource_provider_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/plugin/resource_provisioner.go
delete mode 100644 vendor/github.com/hashicorp/terraform/plugin/resource_provisioner_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/plugin/serve.go
delete mode 100644 vendor/github.com/hashicorp/terraform/plugin/ui_input.go
delete mode 100644 vendor/github.com/hashicorp/terraform/plugin/ui_input_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/plugin/ui_output.go
delete mode 100644 vendor/github.com/hashicorp/terraform/plugin/ui_output_test.go
delete mode 100755 vendor/github.com/hashicorp/terraform/scripts/build.sh
delete mode 100755 vendor/github.com/hashicorp/terraform/scripts/changelog-links.sh
delete mode 100755 vendor/github.com/hashicorp/terraform/scripts/dist.sh
delete mode 100755 vendor/github.com/hashicorp/terraform/scripts/errcheck.sh
delete mode 100644 vendor/github.com/hashicorp/terraform/scripts/generate-plugins.go
delete mode 100644 vendor/github.com/hashicorp/terraform/scripts/generate-plugins_test.go
delete mode 100755 vendor/github.com/hashicorp/terraform/scripts/gofmtcheck.sh
delete mode 100755 vendor/github.com/hashicorp/terraform/scripts/gogetcookie.sh
delete mode 100755 vendor/github.com/hashicorp/terraform/scripts/travis.sh
delete mode 100644 vendor/github.com/hashicorp/terraform/state/backup.go
delete mode 100644 vendor/github.com/hashicorp/terraform/state/backup_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/state/cache.go
delete mode 100644 vendor/github.com/hashicorp/terraform/state/cache_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/state/inmem.go
delete mode 100644 vendor/github.com/hashicorp/terraform/state/inmem_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/state/local.go
delete mode 100644 vendor/github.com/hashicorp/terraform/state/local_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/state/remote/artifactory.go
delete mode 100644 vendor/github.com/hashicorp/terraform/state/remote/artifactory_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/state/remote/atlas.go
delete mode 100644 vendor/github.com/hashicorp/terraform/state/remote/atlas_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/state/remote/azure.go
delete mode 100644 vendor/github.com/hashicorp/terraform/state/remote/azure_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/state/remote/client_inmem.go
delete mode 100644 vendor/github.com/hashicorp/terraform/state/remote/consul.go
delete mode 100644 vendor/github.com/hashicorp/terraform/state/remote/consul_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/state/remote/etcd.go
delete mode 100644 vendor/github.com/hashicorp/terraform/state/remote/etcd_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/state/remote/file.go
delete mode 100644 vendor/github.com/hashicorp/terraform/state/remote/file_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/state/remote/gcs.go
delete mode 100644 vendor/github.com/hashicorp/terraform/state/remote/gcs_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/state/remote/http.go
delete mode 100644 vendor/github.com/hashicorp/terraform/state/remote/http_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/state/remote/manta.go
delete mode 100644 vendor/github.com/hashicorp/terraform/state/remote/manta_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/state/remote/remote.go
delete mode 100644 vendor/github.com/hashicorp/terraform/state/remote/remote_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/state/remote/s3.go
delete mode 100644 vendor/github.com/hashicorp/terraform/state/remote/s3_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/state/remote/state.go
delete mode 100644 vendor/github.com/hashicorp/terraform/state/remote/state_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/state/remote/swift.go
delete mode 100644 vendor/github.com/hashicorp/terraform/state/remote/swift_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/state/state.go
delete mode 100644 vendor/github.com/hashicorp/terraform/state/testing.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/context.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/context_apply_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/context_import.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/context_import_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/context_input_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/context_plan_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/context_refresh_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/context_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/context_validate_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/diff.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/diff_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/eval.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/eval_apply.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/eval_check_prevent_destroy.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/eval_context.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/eval_context_builtin.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/eval_context_builtin_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/eval_context_mock.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/eval_count.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/eval_diff.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/eval_diff_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/eval_error.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/eval_filter.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/eval_filter_operation.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/eval_if.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/eval_import_state.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/eval_interpolate.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/eval_interpolate_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/eval_noop.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/eval_output.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/eval_output_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/eval_provider.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/eval_provider_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/eval_provisioner.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/eval_provisioner_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/eval_read_data.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/eval_refresh.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/eval_resource.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/eval_sequence.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/eval_sequence_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/eval_state.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/eval_state_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/eval_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/eval_validate.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/eval_validate_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/eval_variable.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/eval_variable_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/evaltree_provider.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/graph.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/graph_builder.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/graph_builder_import.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/graph_builder_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/graph_config_node.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/graph_config_node_module.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/graph_config_node_module_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/graph_config_node_output.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/graph_config_node_provider.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/graph_config_node_resource.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/graph_config_node_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/graph_config_node_type.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/graph_config_node_variable.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/graph_config_node_variable_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/graph_dot.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/graph_dot_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/graph_interface_subgraph.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/graph_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/graph_walk.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/graph_walk_context.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/graph_walk_operation.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/graph_walk_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/graphnodeconfigtype_string.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/hook.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/hook_mock.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/hook_stop.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/hook_stop_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/hook_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/instancetype.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/instancetype_string.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/interpolate.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/interpolate_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/path.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/plan.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/plan_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/resource.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/resource_address.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/resource_address_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/resource_provider.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/resource_provider_mock.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/resource_provider_mock_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/resource_provider_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/resource_provisioner.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/resource_provisioner_mock.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/resource_provisioner_mock_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/resource_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/semantics.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/semantics_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/state.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/state_add.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/state_add_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/state_filter.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/state_filter_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/state_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/state_upgrade_v1_to_v2.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/state_upgrade_v2_to_v3.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/state_v1.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/terraform_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-blank/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-cancel/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-compute/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-computed-attr-ref-type-mismatch/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-count-dec-one/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-count-dec/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-count-tainted/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-count-variable-ref/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-count-variable/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-depends-create-before/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-destroy-cbd/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-destroy-computed/child/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-destroy-computed/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-destroy-cross-providers/child/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-destroy-cross-providers/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-destroy-data-resource/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-destroy-deeply-nested-module/child/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-destroy-deeply-nested-module/child/subchild/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-destroy-deeply-nested-module/child/subchild/subsubchild/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-destroy-deeply-nested-module/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-destroy-mod-var-and-count-nested/child/child2/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-destroy-mod-var-and-count-nested/child/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-destroy-mod-var-and-count-nested/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-destroy-mod-var-and-count/child/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-destroy-mod-var-and-count/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-destroy-mod-var-provider-config/child/child.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-destroy-mod-var-provider-config/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-destroy-module-resource-prefix/child/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-destroy-module-resource-prefix/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-destroy-module-with-attrs/child/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-destroy-module-with-attrs/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-destroy-nested-module-with-attrs/middle/bottom/bottom.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-destroy-nested-module-with-attrs/middle/middle.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-destroy-nested-module-with-attrs/top.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-destroy-nested-module/child/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-destroy-nested-module/child/subchild/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-destroy-nested-module/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-destroy-outputs/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-destroy-provisioner/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-destroy/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-empty-module/child/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-empty-module/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-error-create-before/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-error/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-good-create-before-update/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-good-create-before/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-good/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-idattr/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-ignore-changes-create/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-ignore-changes-dep/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-ignore-changes-wildcard/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-map-var-override/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-map-var-through-module/amodule/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-map-var-through-module/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-minimal/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-module-bool/child/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-module-bool/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-module-destroy-order/child/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-module-destroy-order/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-module-grandchild-provider-inherit/child/grandchild/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-module-grandchild-provider-inherit/child/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-module-grandchild-provider-inherit/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-module-only-provider/child/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-module-only-provider/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-module-orphan-provider-inherit/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-module-provider-alias/child/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-module-provider-alias/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-module-provider-close-nested/child/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-module-provider-close-nested/child/subchild/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-module-provider-close-nested/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-module-var-resource-count/child/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-module-var-resource-count/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-module/child/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-module/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-multi-depose-create-before-destroy/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-multi-provider/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-multi-var/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-output-add-after/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-output-add-after/outputs.tf.json
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-output-add-before/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-output-add-before/outputs.tf.json
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-output-invalid/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-output-list/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-output-multi-index/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-output-multi/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-output-orphan/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-output/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-provider-alias/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-provider-computed/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-provider-warning/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-provisioner-compute/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-provisioner-conninfo/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-provisioner-diff/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-provisioner-fail-create-before/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-provisioner-fail-create/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-provisioner-fail/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-provisioner-multi-self-ref-count/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-provisioner-multi-self-ref/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-provisioner-resource-ref/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-provisioner-self-ref/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-ref-count/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-resource-count-one-list/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-resource-count-zero-list/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-taint-dep-requires-new/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-taint-dep/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-taint/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-tainted-targets/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-targeted-count/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-targeted-module-dep/child/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-targeted-module-dep/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-targeted-module-resource/child/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-targeted-module-resource/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-targeted-module/child/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-targeted-module/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-targeted/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-unknown-interpolate/child/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-unknown-interpolate/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-unknown/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-vars-env/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/apply-vars/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/graph-basic/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/graph-builder-basic/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/graph-builder-cbd-non-cbd/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/graph-builder-modules/consul/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/graph-builder-modules/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/graph-builder-multi-level-module/foo/bar/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/graph-builder-multi-level-module/foo/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/graph-builder-multi-level-module/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/graph-builder-orphan-deps/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/graph-count-var-resource/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/graph-count/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/graph-cycle/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/graph-depends-on-count/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/graph-depends-on/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/graph-diff-create-before/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/graph-diff-destroy/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/graph-diff-module-dep-module/bar/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/graph-diff-module-dep-module/foo/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/graph-diff-module-dep-module/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/graph-diff-module-dep/child/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/graph-diff-module-dep/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/graph-diff-module/child/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/graph-diff-module/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/graph-diff/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/graph-missing-deps/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/graph-module-orphan/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/graph-modules/consul/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/graph-modules/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/graph-node-module-expand/child/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/graph-node-module-expand/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/graph-node-module-flatten/child/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/graph-node-module-flatten/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/graph-outputs/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/graph-provider-alias/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/graph-provider-prune/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/graph-provisioners/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/graph-resource-expand-prov-deps/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/graph-resource-expand/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/graph-tainted/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/import-provider/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/input-bad-var-default/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/input-hcl/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/input-interpolate-var/child/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/input-interpolate-var/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/input-interpolate-var/source/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/input-module-computed-output-element/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/input-module-computed-output-element/moda/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/input-module-computed-output-element/modb/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/input-provider-multi/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/input-provider-once/child/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/input-provider-once/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/input-provider-vars/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/input-provider-with-vars-and-module/child/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/input-provider-with-vars-and-module/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/input-provider-with-vars/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/input-provider/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/input-var-default/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/input-var-partially-computed/child/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/input-var-partially-computed/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/input-vars-unset/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/input-vars/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/interpolate-multi-interp/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/interpolate-multi-vars/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/interpolate-path-module/child/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/interpolate-path-module/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/interpolate-resource-variable/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/issue-5254/step-0/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/issue-5254/step-1/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/issue-7824/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/new-good/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/new-graph-cycle/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/new-pc-cache/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/new-provider-validate/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/new-variables/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/plan-cbd-maintain-root/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/plan-computed-data-count/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/plan-computed-data-resource/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/plan-computed-list/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/plan-computed-value-in-map/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/plan-computed-value-in-map/mod/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/plan-computed/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/plan-count-computed/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/plan-count-dec/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/plan-count-inc/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/plan-count-index-zero/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/plan-count-index/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/plan-count-one-index/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/plan-count-var/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/plan-count-zero/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/plan-count/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/plan-data-resource-becomes-computed/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/plan-data-source-type-mismatch/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/plan-destroy/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/plan-diffvar/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/plan-empty/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/plan-escaped-var/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/plan-good/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/plan-ignore-changes-wildcard/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/plan-ignore-changes/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/plan-module-cycle/child/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/plan-module-cycle/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/plan-module-deadlock/child/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/plan-module-deadlock/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/plan-module-destroy-gh-1835/a/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/plan-module-destroy-gh-1835/b/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/plan-module-destroy-gh-1835/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/plan-module-destroy-multivar/child/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/plan-module-destroy-multivar/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/plan-module-destroy/child/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/plan-module-destroy/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/plan-module-input-computed/child/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/plan-module-input-computed/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/plan-module-input-var/child/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/plan-module-input-var/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/plan-module-input/child/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/plan-module-input/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/plan-module-map-literal/child/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/plan-module-map-literal/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/plan-module-multi-var/child/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/plan-module-multi-var/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/plan-module-provider-defaults-var/child/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/plan-module-provider-defaults-var/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/plan-module-provider-defaults/child/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/plan-module-provider-defaults/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/plan-module-provider-inherit/child/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/plan-module-provider-inherit/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/plan-module-var-computed/child/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/plan-module-var-computed/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/plan-module-var-with-default-value/inner/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/plan-module-var-with-default-value/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/plan-module-var/child/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/plan-module-var/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/plan-module-variable-from-splat/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/plan-module-variable-from-splat/mod/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/plan-module-wrong-var-type-nested/inner/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/plan-module-wrong-var-type-nested/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/plan-module-wrong-var-type-nested/middle/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/plan-module-wrong-var-type/inner/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/plan-module-wrong-var-type/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/plan-modules-remove-provisioners/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/plan-modules-remove-provisioners/parent/child/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/plan-modules-remove-provisioners/parent/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/plan-modules-remove/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/plan-modules/child/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/plan-modules/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/plan-nil/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/plan-orphan/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/plan-path-var/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/plan-prevent-destroy-bad/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/plan-prevent-destroy-good/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/plan-provider-init/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/plan-provider/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/plan-taint-interpolated-count/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/plan-taint/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/plan-targeted-module-orphan/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/plan-targeted-module-untargeted-variable/child/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/plan-targeted-module-untargeted-variable/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/plan-targeted-orphan/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/plan-targeted-over-ten/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/plan-targeted-with-tainted/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/plan-targeted/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/plan-var-list-err/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/refresh-basic/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/refresh-data-resource-basic/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/refresh-module-computed-var/child/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/refresh-module-computed-var/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/refresh-module-input-computed-output/child/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/refresh-module-input-computed-output/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/refresh-module-orphan/child/grandchild/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/refresh-module-orphan/child/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/refresh-module-orphan/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/refresh-module-var-module/bar/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/refresh-module-var-module/foo/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/refresh-module-var-module/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/refresh-modules/child/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/refresh-modules/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/refresh-no-state/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/refresh-output-partial/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/refresh-output/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/refresh-targeted-count/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/refresh-targeted/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/refresh-unknown-provider/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/refresh-vars/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/smc-uservars/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/state-filter/complete.tfstate
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/state-filter/nested-modules.tfstate
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/state-filter/resource-in-module-2.tfstate
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/state-filter/small.tfstate
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/state-filter/small_test_instance.tfstate
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/state-module-orphans/bar/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/state-module-orphans/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/transform-create-before-destroy-basic/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/transform-create-before-destroy-twice/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/transform-destroy-basic/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/transform-destroy-deps/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/transform-destroy-prefix/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/transform-destroy-prune-count/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/transform-flatten/child/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/transform-flatten/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/transform-orphan-basic/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/transform-orphan-modules/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/transform-orphan-output-basic/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/transform-provider-basic/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/transform-provider-disable-keep/child/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/transform-provider-disable-keep/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/transform-provider-disable/child/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/transform-provider-disable/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/transform-provider-missing/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/transform-provider-prune/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/transform-provisioner-basic/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/transform-provisioner-prune/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/transform-resource-count-basic/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/transform-resource-count-deps/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/transform-resource-count-negative/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/transform-root-basic/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/transform-tainted-basic/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/transform-targets-basic/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/transform-targets-destroy/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/transform-trans-reduce-basic/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/uservars-map/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/validate-bad-count/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/validate-bad-module-output/child/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/validate-bad-module-output/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/validate-bad-pc-empty/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/validate-bad-pc/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/validate-bad-prov-conf/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/validate-bad-rc/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/validate-bad-var/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/validate-computed-module-var-ref/dest/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/validate-computed-module-var-ref/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/validate-computed-module-var-ref/source/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/validate-computed-var/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/validate-count-negative/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/validate-count-variable/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/validate-cycle/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/validate-good-module/child/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/validate-good-module/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/validate-good/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/validate-module-bad-rc/child/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/validate-module-bad-rc/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/validate-module-deps-cycle/a/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/validate-module-deps-cycle/b/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/validate-module-deps-cycle/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/validate-module-pc-inherit-orphan/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/validate-module-pc-inherit-unused/child/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/validate-module-pc-inherit-unused/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/validate-module-pc-inherit/child/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/validate-module-pc-inherit/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/validate-module-pc-vars/child/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/validate-module-pc-vars/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/validate-required-var/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/validate-resource-name-symbol/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/validate-self-ref-multi-all/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/validate-self-ref-multi/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/validate-self-ref/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/validate-targeted/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/validate-var-no-default-explicit-type/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/validate-variable-ref/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/test-fixtures/vars-basic/main.tf
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/transform.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/transform_config.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/transform_config_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/transform_deposed.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/transform_destroy.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/transform_destroy_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/transform_expand.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/transform_expand_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/transform_flatten.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/transform_flatten_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/transform_import_state.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/transform_module.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/transform_module_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/transform_noop.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/transform_noop_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/transform_orphan.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/transform_orphan_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/transform_output.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/transform_output_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/transform_provider.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/transform_provider_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/transform_provisioner.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/transform_provisioner_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/transform_proxy.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/transform_proxy_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/transform_resource.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/transform_resource_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/transform_root.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/transform_root_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/transform_targets.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/transform_targets_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/transform_transitive_reduction.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/transform_transitive_reduction_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/transform_vertex.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/transform_vertex_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/ui_input.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/ui_input_mock.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/ui_input_prefix.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/ui_input_prefix_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/ui_output.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/ui_output_callback.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/ui_output_callback_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/ui_output_mock.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/ui_output_mock_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/ui_output_provisioner.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/ui_output_provisioner_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/upgrade_state_v1_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/upgrade_state_v2_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/util.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/util_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/variables.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/variables_test.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/version.go
delete mode 100644 vendor/github.com/hashicorp/terraform/terraform/walkoperation_string.go
delete mode 100644 vendor/github.com/hashicorp/terraform/test-fixtures/config
delete mode 100644 vendor/github.com/hashicorp/terraform/version.go
delete mode 100644 vendor/github.com/hashicorp/terraform/website/Gemfile
delete mode 100644 vendor/github.com/hashicorp/terraform/website/Gemfile.lock
delete mode 100644 vendor/github.com/hashicorp/terraform/website/LICENSE.md
delete mode 100644 vendor/github.com/hashicorp/terraform/website/Makefile
delete mode 100644 vendor/github.com/hashicorp/terraform/website/README.md
delete mode 100644 vendor/github.com/hashicorp/terraform/website/Vagrantfile
delete mode 100644 vendor/github.com/hashicorp/terraform/website/config.rb
delete mode 100644 vendor/github.com/hashicorp/terraform/website/config.ru
delete mode 100644 vendor/github.com/hashicorp/terraform/website/helpers/sidebar_helpers.rb
delete mode 100644 vendor/github.com/hashicorp/terraform/website/packer.json
delete mode 100755 vendor/github.com/hashicorp/terraform/website/scripts/deploy.sh
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/.gitignore
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/404.html.erb
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/assets/images/bg-galaxy.jpg
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/assets/images/bg-static.png
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/assets/images/docs/atlas-workflow.png
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/assets/images/docs/module_graph.png
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/assets/images/docs/module_graph_expand.png
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/assets/images/favicon.png
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/assets/images/feature-iterate-bg.png
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/assets/images/feature-iterate-bg@2x.png
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/assets/images/footer-hashicorp-logo.png
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/assets/images/footer-hashicorp-logo@2x.png
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/assets/images/footer-hashicorp-white-logo.png
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/assets/images/footer-hashicorp-white-logo@2x.png
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/assets/images/graph-example.png
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/assets/images/header-download-icon.png
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/assets/images/header-download-icon@2x.png
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/assets/images/header-github-icon.png
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/assets/images/header-github-icon@2x.png
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/assets/images/header-nav-divider.png
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/assets/images/header-nav-divider@2x.png
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/assets/images/hero-bg.png
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/assets/images/logo-header-black@2x.png
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/assets/images/logo-header.png
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/assets/images/logo-header@2x.png
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/assets/images/logo-static.png
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/assets/images/logo_large.png
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/assets/images/readme.png
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/assets/images/sidebar-wire.png
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/assets/images/white-wireframe.png
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/assets/images/white-wireframe@2x.png
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/assets/javascripts/app/_Docs.js
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/assets/javascripts/app/_Engine.Particle.Fixed.js
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/assets/javascripts/app/_Engine.Particle.js
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/assets/javascripts/app/_Engine.Point.Puller.js
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/assets/javascripts/app/_Engine.Point.js
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/assets/javascripts/app/_Engine.Polygon.Puller.js
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/assets/javascripts/app/_Engine.Polygon.js
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/assets/javascripts/app/_Engine.Shape.Puller.js
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/assets/javascripts/app/_Engine.Shape.js
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/assets/javascripts/app/_Engine.Typewriter.js
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/assets/javascripts/app/_Engine.js
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/assets/javascripts/app/_Grid.js
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/assets/javascripts/app/_Init.js
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/assets/javascripts/app/_Logo.js
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/assets/javascripts/app/_Puller.js
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/assets/javascripts/app/_Sidebar.js
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/assets/javascripts/application.js
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/assets/javascripts/lib/_Base.js
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/assets/javascripts/lib/_Chainable.js
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/assets/javascripts/lib/_Function.prototype.bind.js
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/assets/javascripts/lib/_String.substitute.js
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/assets/javascripts/lib/_Vector.js
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/assets/javascripts/lib/_dbg.js
delete mode 100755 vendor/github.com/hashicorp/terraform/website/source/assets/stylesheets/_announcement-bnr.scss
delete mode 100755 vendor/github.com/hashicorp/terraform/website/source/assets/stylesheets/_buttons.scss
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/assets/stylesheets/_community.scss
delete mode 100755 vendor/github.com/hashicorp/terraform/website/source/assets/stylesheets/_docs.scss
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/assets/stylesheets/_downloads.scss
delete mode 100755 vendor/github.com/hashicorp/terraform/website/source/assets/stylesheets/_fonts.scss
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/assets/stylesheets/_footer.scss
delete mode 100755 vendor/github.com/hashicorp/terraform/website/source/assets/stylesheets/_global.scss
delete mode 100755 vendor/github.com/hashicorp/terraform/website/source/assets/stylesheets/_header.scss
delete mode 100755 vendor/github.com/hashicorp/terraform/website/source/assets/stylesheets/_home.scss
delete mode 100755 vendor/github.com/hashicorp/terraform/website/source/assets/stylesheets/_jumbotron.scss
delete mode 100755 vendor/github.com/hashicorp/terraform/website/source/assets/stylesheets/_mixins.scss
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/assets/stylesheets/_sidebar.scss
delete mode 100755 vendor/github.com/hashicorp/terraform/website/source/assets/stylesheets/_utilities.scss
delete mode 100755 vendor/github.com/hashicorp/terraform/website/source/assets/stylesheets/_variables.scss
delete mode 100755 vendor/github.com/hashicorp/terraform/website/source/assets/stylesheets/application.scss
delete mode 100755 vendor/github.com/hashicorp/terraform/website/source/assets/stylesheets/hashicorp-shared/_hashicorp-header.scss
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/assets/stylesheets/hashicorp-shared/_hashicorp-sidebar.scss
delete mode 100755 vendor/github.com/hashicorp/terraform/website/source/assets/stylesheets/hashicorp-shared/_hashicorp-utility.scss
delete mode 100755 vendor/github.com/hashicorp/terraform/website/source/assets/stylesheets/hashicorp-shared/_project-utility.scss
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/community.html.erb
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/commands/apply.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/commands/destroy.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/commands/fmt.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/commands/get.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/commands/graph.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/commands/import.html.md
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/commands/index.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/commands/init.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/commands/output.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/commands/plan.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/commands/push.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/commands/refresh.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/commands/remote-config.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/commands/remote-pull.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/commands/remote-push.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/commands/remote.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/commands/show.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/commands/state/addressing.html.md
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/commands/state/index.html.md
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/commands/state/list.html.md
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/commands/state/mv.html.md
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/commands/state/rm.html.md
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/commands/state/show.html.md
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/commands/taint.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/commands/untaint.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/commands/validate.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/configuration/atlas.html.md
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/configuration/data-sources.html.md
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/configuration/environment-variables.html.md
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/configuration/index.html.md
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/configuration/interpolation.html.md
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/configuration/load.html.md
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/configuration/modules.html.md
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/configuration/outputs.html.md
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/configuration/override.html.md
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/configuration/providers.html.md
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/configuration/resources.html.md
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/configuration/syntax.html.md
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/configuration/variables.html.md
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/import/importability.html.md
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/import/index.html.md
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/import/usage.html.md
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/index.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/internals/debugging.html.md
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/internals/graph.html.md
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/internals/index.html.md
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/internals/internal-plugins.html.md
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/internals/lifecycle.html.md
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/internals/resource-addressing.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/modules/create.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/modules/index.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/modules/sources.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/modules/usage.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/plugins/basics.html.md
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/plugins/index.html.md
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/plugins/provider.html.md
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/archive/index.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/archive/r/file.html.md
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/atlas/d/artifact.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/atlas/index.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/atlas/r/artifact.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/d/ami.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/d/availability_zone.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/d/availability_zones.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/d/billing_service_account.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/d/caller_identity.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/d/cloudformation_stack.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/d/ecs_container_definition.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/d/elb_service_account.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/d/iam_policy_document.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/d/ip_ranges.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/d/redshift_service_account.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/d/region.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/d/s3_bucket_object.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/d/subnet.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/d/vpc.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/index.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/alb.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/alb_listener.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/alb_listener_rule.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/alb_target_group.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/alb_target_group_attachment.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/ami.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/ami_copy.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/ami_from_instance.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/ami_launch_permission.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/api_gateway_account.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/api_gateway_api_key.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/api_gateway_authorizer.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/api_gateway_base_path_mapping.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/api_gateway_client_certificate.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/api_gateway_deployment.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/api_gateway_domain_name.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/api_gateway_integration.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/api_gateway_integration_response.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/api_gateway_method.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/api_gateway_method_response.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/api_gateway_model.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/api_gateway_resource.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/api_gateway_rest_api.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/app_cookie_stickiness_policy.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/appautoscaling_policy.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/appautoscaling_target.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/autoscaling_group.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/autoscaling_lifecycle_hooks.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/autoscaling_notification.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/autoscaling_policy.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/autoscaling_schedule.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/cloudformation_stack.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/cloudfront_distribution.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/cloudfront_origin_access_identity.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/cloudtrail.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/cloudwatch_event_rule.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/cloudwatch_event_target.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/cloudwatch_log_group.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/cloudwatch_log_metric_filter.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/cloudwatch_log_stream.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/cloudwatch_log_subscription_filter.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/cloudwatch_metric_alarm.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/code_commit_repository.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/code_commit_trigger.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/codedeploy_app.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/codedeploy_deployment_group.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/customer_gateway.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/db_event_subscription.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/db_instance.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/db_option_group.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/db_parameter_group.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/db_security_group.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/db_subnet_group.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/default_network_acl.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/default_route_table.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/default_security_group.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/directory_service_directory.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/dynamodb_table.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/ebs_volume.html.md
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/ecr_repository.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/ecr_repository_policy.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/ecs_cluster.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/ecs_service.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/ecs_task_definition.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/efs_file_system.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/efs_mount_target.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/eip.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/eip_association.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/elastic_beanstalk_application.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/elastic_beanstalk_configuration_template.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/elastic_beanstalk_environment.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/elastic_transcoder_pipeline.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/elastic_transcoder_preset.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/elasticache_cluster.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/elasticache_parameter_group.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/elasticache_replication_group.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/elasticache_security_group.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/elasticache_subnet_group.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/elasticsearch_domain.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/elb.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/elb_attachment.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/emr_cluster.html.md
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/emr_instance_group.html.md
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/flow_log.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/glacier_vault.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/iam_access_key.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/iam_account_password_policy.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/iam_group.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/iam_group_membership.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/iam_group_policy.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/iam_group_policy_attachment.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/iam_instance_profile.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/iam_policy.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/iam_policy_attachment.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/iam_role.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/iam_role_policy.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/iam_role_policy_attachment.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/iam_saml_provider.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/iam_server_certificate.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/iam_user.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/iam_user_policy.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/iam_user_policy_attachment.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/iam_user_ssh_key.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/instance.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/internet_gateway.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/key_pair.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/kinesis_firehose_delivery_stream.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/kinesis_stream.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/kms_alias.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/kms_key.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/lambda_alias.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/lambda_event_source_mapping.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/lambda_function.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/lambda_permission.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/launch_configuration.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/lb_cookie_stickiness_policy.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/lb_ssl_negotiation_policy.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/load_balancer_backend_server_policy.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/load_balancer_listener_policy.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/load_balancer_policy.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/main_route_table_assoc.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/nat_gateway.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/network_acl.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/network_acl_rule.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/network_interface.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/opsworks_application.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/opsworks_custom_layer.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/opsworks_ganglia_layer.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/opsworks_haproxy_layer.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/opsworks_instance.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/opsworks_java_app_layer.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/opsworks_memcached_layer.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/opsworks_mysql_layer.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/opsworks_nodejs_app_layer.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/opsworks_permission.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/opsworks_php_app_layer.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/opsworks_rails_app_layer.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/opsworks_stack.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/opsworks_static_web_layer.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/opsworks_user_profile.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/placement_group.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/proxy_protocol_policy.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/rds_cluster.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/rds_cluster_instance.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/rds_cluster_parameter_group.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/redshift_cluster.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/redshift_parameter_group.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/redshift_security_group.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/redshift_subnet_group.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/route.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/route53_delegation_set.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/route53_health_check.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/route53_record.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/route53_zone.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/route53_zone_association.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/route_table.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/route_table_association.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/s3_bucket.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/s3_bucket_notification.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/s3_bucket_object.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/s3_bucket_policy.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/security_group.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/security_group_rule.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/ses_active_receipt_rule_set.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/ses_receipt_filter.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/ses_receipt_rule.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/ses_receipt_rule_set.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/simpledb_domain.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/sns_topic.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/sns_topic_policy.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/sns_topic_subscription.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/spot_datafeed_subscription.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/spot_fleet_request.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/spot_instance_request.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/sqs_queue.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/sqs_queue_policy.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/ssm_association.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/ssm_document.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/subnet.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/volume_attachment.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/vpc.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/vpc_dhcp_options.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/vpc_dhcp_options_association.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/vpc_endpoint.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/vpc_peering.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/vpn_connection.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/vpn_connection_route.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/vpn_gateway.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/aws/r/vpn_gateway_attachment.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/azure/index.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/azure/r/affinity_group.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/azure/r/data_disk.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/azure/r/dns_server.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/azure/r/hosted_service.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/azure/r/instance.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/azure/r/local_network_connection.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/azure/r/security_group.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/azure/r/security_group_rule.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/azure/r/sql_database_server.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/azure/r/sql_database_server_firewall_rule.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/azure/r/sql_database_service.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/azure/r/storage_blob.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/azure/r/storage_container.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/azure/r/storage_queue.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/azure/r/storage_service.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/azure/r/virtual_network.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/azurerm/index.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/azurerm/r/availability_set.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/azurerm/r/cdn_endpoint.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/azurerm/r/cdn_profile.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/azurerm/r/dns_a_record.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/azurerm/r/dns_aaaa_record.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/azurerm/r/dns_cname_record.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/azurerm/r/dns_mx_record.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/azurerm/r/dns_ns_record.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/azurerm/r/dns_srv_record.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/azurerm/r/dns_txt_record.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/azurerm/r/dns_zone.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/azurerm/r/loadbalancer.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/azurerm/r/loadbalancer_backend_address_pool.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/azurerm/r/loadbalancer_nat_pool.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/azurerm/r/loadbalancer_nat_rule.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/azurerm/r/loadbalancer_probe.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/azurerm/r/loadbalancer_rule.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/azurerm/r/local_network_gateway.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/azurerm/r/network_interface.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/azurerm/r/network_security_group.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/azurerm/r/network_security_rule.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/azurerm/r/public_ip.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/azurerm/r/resource_group.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/azurerm/r/route.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/azurerm/r/route_table.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/azurerm/r/search_service.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/azurerm/r/servicebus_namespace.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/azurerm/r/servicebus_subscription.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/azurerm/r/servicebus_topic.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/azurerm/r/sql_database.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/azurerm/r/sql_firewall_rule.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/azurerm/r/sql_server.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/azurerm/r/storage_account.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/azurerm/r/storage_blob.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/azurerm/r/storage_container.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/azurerm/r/storage_queue.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/azurerm/r/storage_table.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/azurerm/r/subnet.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/azurerm/r/template_deployment.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/azurerm/r/traffic_manager_endpoint.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/azurerm/r/traffic_manager_profile.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/azurerm/r/virtual_machine.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/azurerm/r/virtual_machine_scale_sets.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/azurerm/r/virtual_network.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/azurerm/r/virtual_network_peering.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/bitbucket/index.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/bitbucket/r/default_reviewers.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/bitbucket/r/hook.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/bitbucket/r/repository.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/chef/index.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/chef/r/data_bag.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/chef/r/data_bag_item.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/chef/r/environment.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/chef/r/node.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/chef/r/role.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/clc/index.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/clc/r/group.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/clc/r/load_balancer.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/clc/r/load_balancer_pool.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/clc/r/public_ip.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/clc/r/server.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/cloudflare/index.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/cloudflare/r/record.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/cloudstack/index.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/cloudstack/r/affinity_group.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/cloudstack/r/disk.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/cloudstack/r/egress_firewall.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/cloudstack/r/firewall.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/cloudstack/r/instance.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/cloudstack/r/ipaddress.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/cloudstack/r/loadbalancer_rule.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/cloudstack/r/network.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/cloudstack/r/network_acl.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/cloudstack/r/network_acl_rule.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/cloudstack/r/nic.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/cloudstack/r/port_forward.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/cloudstack/r/secondary_ipaddress.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/cloudstack/r/ssh_keypair.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/cloudstack/r/static_nat.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/cloudstack/r/template.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/cloudstack/r/vpc.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/cloudstack/r/vpn_connection.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/cloudstack/r/vpn_customer_gateway.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/cloudstack/r/vpn_gateway.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/cobbler/index.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/cobbler/r/distro.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/cobbler/r/kickstart_file.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/cobbler/r/profile.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/cobbler/r/snippet.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/cobbler/r/system.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/consul/d/keys.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/consul/index.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/consul/r/agent_service.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/consul/r/catalog_entry.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/consul/r/key_prefix.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/consul/r/keys.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/consul/r/node.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/consul/r/prepared_query.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/consul/r/service.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/datadog/index.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/datadog/r/monitor.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/datadog/r/timeboard.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/dme/index.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/dme/r/record.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/dnsimple/index.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/dnsimple/r/record.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/do/index.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/do/r/domain.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/do/r/droplet.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/do/r/floating_ip.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/do/r/record.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/do/r/ssh_key.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/do/r/tag.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/do/r/volume.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/docker/d/registry_image.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/docker/index.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/docker/r/container.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/docker/r/image.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/docker/r/network.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/docker/r/volume.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/dyn/index.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/dyn/r/record.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/fastly/d/ip_ranges.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/fastly/index.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/fastly/r/service_v1.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/github/index.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/github/r/membership.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/github/r/repository.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/github/r/repository_collaborator.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/github/r/team.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/github/r/team_membership.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/github/r/team_repository.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/google/d/google_iam_policy.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/google/index.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/google/r/compute_address.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/google/r/compute_autoscaler.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/google/r/compute_backend_service.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/google/r/compute_disk.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/google/r/compute_firewall.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/google/r/compute_forwarding_rule.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/google/r/compute_global_address.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/google/r/compute_global_forwarding_rule.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/google/r/compute_http_health_check.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/google/r/compute_https_health_check.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/google/r/compute_image.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/google/r/compute_instance.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/google/r/compute_instance_group.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/google/r/compute_instance_group_manager.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/google/r/compute_instance_template.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/google/r/compute_network.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/google/r/compute_project_metadata.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/google/r/compute_route.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/google/r/compute_ssl_certificate.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/google/r/compute_subnetwork.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/google/r/compute_target_http_proxy.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/google/r/compute_target_https_proxy.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/google/r/compute_target_pool.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/google/r/compute_url_map.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/google/r/compute_vpn_gateway.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/google/r/compute_vpn_tunnel.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/google/r/container_cluster.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/google/r/dns_managed_zone.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/google/r/dns_record_set.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/google/r/google_project.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/google/r/pubsub_subscription.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/google/r/pubsub_topic.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/google/r/sql_database.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/google/r/sql_database_instance.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/google/r/sql_user.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/google/r/storage_bucket.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/google/r/storage_bucket_acl.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/google/r/storage_bucket_object.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/google/r/storage_object_acl.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/grafana/index.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/grafana/r/dashboard.html.md
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/grafana/r/data_source.html.md
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/heroku/index.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/heroku/r/addon.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/heroku/r/app.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/heroku/r/cert.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/heroku/r/domain.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/heroku/r/drain.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/index.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/influxdb/index.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/influxdb/r/continuous_query.html.md
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/influxdb/r/database.html.md
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/influxdb/r/user.html.md
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/librato/index.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/librato/r/alert.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/librato/r/service.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/librato/r/space.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/librato/r/space_chart.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/logentries/index.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/logentries/r/log.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/logentries/r/logset.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/mailgun/index.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/mailgun/r/domain.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/mysql/index.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/mysql/r/database.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/mysql/r/grant.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/mysql/r/user.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/openstack/index.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/openstack/r/blockstorage_volume_v1.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/openstack/r/blockstorage_volume_v2.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/openstack/r/compute_floatingip_v2.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/openstack/r/compute_instance_v2.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/openstack/r/compute_keypair_v2.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/openstack/r/compute_secgroup_v2.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/openstack/r/compute_servergroup_v2.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/openstack/r/fw_firewall_v1.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/openstack/r/fw_policy_v1.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/openstack/r/fw_rule_v1.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/openstack/r/lb_listener_v2.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/openstack/r/lb_loadbalancer_v2.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/openstack/r/lb_member_v1.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/openstack/r/lb_member_v2.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/openstack/r/lb_monitor_v1.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/openstack/r/lb_monitor_v2.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/openstack/r/lb_pool_v1.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/openstack/r/lb_pool_v2.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/openstack/r/lb_vip_v1.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/openstack/r/networking_floatingip_v2.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/openstack/r/networking_network_v2.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/openstack/r/networking_port_v2.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/openstack/r/networking_router_interface_v2.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/openstack/r/networking_router_route_v2.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/openstack/r/networking_router_v2.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/openstack/r/networking_secgroup_rule_v2.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/openstack/r/networking_secgroup_v2.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/openstack/r/networking_subnet_v2.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/openstack/r/objectstorage_container_v1.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/packet/index.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/packet/r/device.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/packet/r/project.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/packet/r/ssh_key.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/packet/r/volume.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/postgresql/index.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/postgresql/r/postgresql_database.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/postgresql/r/postgresql_role.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/powerdns/index.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/powerdns/r/record.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/rabbitmq/index.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/rabbitmq/r/binding.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/rabbitmq/r/exchange.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/rabbitmq/r/permissions.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/rabbitmq/r/policy.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/rabbitmq/r/queue.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/rabbitmq/r/user.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/rabbitmq/r/vhost.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/random/index.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/random/r/id.html.md
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/random/r/shuffle.html.md
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/rundeck/index.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/rundeck/r/job.html.md
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/rundeck/r/private_key.html.md
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/rundeck/r/project.html.md
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/rundeck/r/public_key.html.md
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/scaleway/d/bootscript.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/scaleway/d/image.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/scaleway/index.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/scaleway/r/ip.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/scaleway/r/security_group.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/scaleway/r/security_group_rule.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/scaleway/r/server.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/scaleway/r/volume.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/scaleway/r/volume_attachment.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/softlayer/index.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/softlayer/r/ssh_key.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/softlayer/r/virtual_guest.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/statuscake/index.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/statuscake/r/test.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/template/d/cloudinit_config.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/template/d/file.html.md
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/template/index.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/terraform/d/remote_state.html.md
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/terraform/index.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/tls/index.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/tls/r/cert_request.html.md
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/tls/r/locally_signed_cert.html.md
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/tls/r/private_key.html.md
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/tls/r/self_signed_cert.html.md
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/triton/index.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/triton/r/triton_firewall_rule.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/triton/r/triton_key.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/triton/r/triton_machine.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/ultradns/index.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/ultradns/r/record.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/vcd/index.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/vcd/r/dnat.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/vcd/r/firewall_rules.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/vcd/r/network.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/vcd/r/snat.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/vcd/r/vapp.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/vsphere/index.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/vsphere/r/file.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/vsphere/r/folder.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/vsphere/r/virtual_disk.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/providers/vsphere/r/virtual_machine.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/provisioners/chef.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/provisioners/connection.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/provisioners/file.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/provisioners/index.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/provisioners/local-exec.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/provisioners/null_resource.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/provisioners/remote-exec.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/state/import.html.md
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/state/index.html.md
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/state/remote/artifactory.html.md
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/state/remote/atlas.html.md
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/state/remote/azure.html.md
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/state/remote/consul.html.md
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/state/remote/etcd.html.md
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/state/remote/gcs.html.md
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/state/remote/http.html.md
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/state/remote/index.html.md
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/state/remote/local.html.md
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/state/remote/manta.html.md
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/state/remote/s3.html.md
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/docs/state/remote/swift.html.md
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/downloads.html.erb
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/index.html.erb
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/intro/examples/aws.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/intro/examples/consul.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/intro/examples/count.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/intro/examples/cross-provider.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/intro/examples/index.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/intro/getting-started/build.html.md
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/intro/getting-started/change.html.md
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/intro/getting-started/dependencies.html.md
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/intro/getting-started/destroy.html.md
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/intro/getting-started/install.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/intro/getting-started/modules.html.md
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/intro/getting-started/next-steps.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/intro/getting-started/outputs.html.md
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/intro/getting-started/provision.html.md
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/intro/getting-started/remote.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/intro/getting-started/variables.html.md
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/intro/hashicorp-ecosystem.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/intro/index.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/intro/use-cases.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/intro/vs/boto.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/intro/vs/chef-puppet.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/intro/vs/cloudformation.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/intro/vs/custom.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/intro/vs/index.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/layouts/_announcement-bnr.erb
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/layouts/_footer.erb
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/layouts/_header.erb
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/layouts/_meta.erb
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/layouts/_sidebar.erb
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/layouts/archive.erb
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/layouts/atlas.erb
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/layouts/aws.erb
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/layouts/azure.erb
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/layouts/azurerm.erb
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/layouts/bitbucket.erb
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/layouts/chef.erb
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/layouts/clc.erb
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/layouts/cloudflare.erb
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/layouts/cloudstack.erb
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/layouts/cobbler.erb
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/layouts/commands-state.erb
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/layouts/consul.erb
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/layouts/datadog.erb
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/layouts/digitalocean.erb
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/layouts/dme.erb
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/layouts/dnsimple.erb
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/layouts/docker.erb
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/layouts/docs.erb
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/layouts/downloads.erb
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/layouts/dyn.erb
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/layouts/fastly.erb
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/layouts/github.erb
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/layouts/google.erb
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/layouts/grafana.erb
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/layouts/heroku.erb
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/layouts/influxdb.erb
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/layouts/inner.erb
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/layouts/intro.erb
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/layouts/layout.erb
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/layouts/librato.erb
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/layouts/logentries.erb
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/layouts/mailgun.erb
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/layouts/mysql.erb
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/layouts/openstack.erb
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/layouts/packet.erb
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/layouts/postgresql.erb
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/layouts/powerdns.erb
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/layouts/rabbitmq.erb
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/layouts/random.erb
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/layouts/remotestate.erb
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/layouts/rundeck.erb
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/layouts/scaleway.erb
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/layouts/softlayer.erb
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/layouts/statuscake.erb
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/layouts/svg/_svg-by-hashicorp.erb
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/layouts/svg/_svg-download.erb
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/layouts/svg/_svg-enterprise.erb
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/layouts/svg/_svg-github.erb
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/layouts/svg/_svg-hashicorp-logo.erb
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/layouts/template.erb
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/layouts/terraform.erb
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/layouts/tls.erb
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/layouts/triton.erb
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/layouts/ultradns.erb
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/layouts/vcd.erb
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/layouts/vsphere.erb
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/robots.txt
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/sitemap.xml.builder
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/upgrade-guides/0-7.html.markdown
delete mode 100644 vendor/github.com/hashicorp/terraform/website/source/upgrade-guides/index.html.markdown
delete mode 100644 vendor/github.com/kr/fs/LICENSE
delete mode 100644 vendor/github.com/kr/fs/Readme
delete mode 100644 vendor/github.com/kr/fs/example_test.go
delete mode 100644 vendor/github.com/kr/fs/filesystem.go
delete mode 100644 vendor/github.com/kr/fs/walk.go
delete mode 100644 vendor/github.com/kr/fs/walk_test.go
delete mode 100644 vendor/github.com/pkg/errors/.gitignore
delete mode 100644 vendor/github.com/pkg/errors/.travis.yml
delete mode 100644 vendor/github.com/pkg/errors/LICENSE
delete mode 100644 vendor/github.com/pkg/errors/README.md
delete mode 100644 vendor/github.com/pkg/errors/appveyor.yml
delete mode 100644 vendor/github.com/pkg/errors/bench_test.go
delete mode 100644 vendor/github.com/pkg/errors/errors.go
delete mode 100644 vendor/github.com/pkg/errors/errors_test.go
delete mode 100644 vendor/github.com/pkg/errors/example_test.go
delete mode 100644 vendor/github.com/pkg/errors/format_test.go
delete mode 100644 vendor/github.com/pkg/errors/stack.go
delete mode 100644 vendor/github.com/pkg/errors/stack_test.go
delete mode 100644 vendor/github.com/pkg/sftp/.gitignore
delete mode 100644 vendor/github.com/pkg/sftp/.travis.yml
delete mode 100644 vendor/github.com/pkg/sftp/CONTRIBUTORS
delete mode 100644 vendor/github.com/pkg/sftp/LICENSE
delete mode 100644 vendor/github.com/pkg/sftp/README.md
delete mode 100644 vendor/github.com/pkg/sftp/attrs.go
delete mode 100644 vendor/github.com/pkg/sftp/attrs_stubs.go
delete mode 100644 vendor/github.com/pkg/sftp/attrs_test.go
delete mode 100644 vendor/github.com/pkg/sftp/attrs_unix.go
delete mode 100644 vendor/github.com/pkg/sftp/client.go
delete mode 100644 vendor/github.com/pkg/sftp/client_integration_darwin_test.go
delete mode 100644 vendor/github.com/pkg/sftp/client_integration_linux_test.go
delete mode 100644 vendor/github.com/pkg/sftp/client_integration_test.go
delete mode 100644 vendor/github.com/pkg/sftp/client_test.go
delete mode 100644 vendor/github.com/pkg/sftp/conn.go
delete mode 100644 vendor/github.com/pkg/sftp/debug.go
delete mode 100644 vendor/github.com/pkg/sftp/example_test.go
delete mode 100644 vendor/github.com/pkg/sftp/examples/buffered-read-benchmark/main.go
delete mode 100644 vendor/github.com/pkg/sftp/examples/buffered-write-benchmark/main.go
delete mode 100644 vendor/github.com/pkg/sftp/examples/sftp-server/README.md
delete mode 100644 vendor/github.com/pkg/sftp/examples/sftp-server/main.go
delete mode 100644 vendor/github.com/pkg/sftp/examples/streaming-read-benchmark/main.go
delete mode 100644 vendor/github.com/pkg/sftp/examples/streaming-write-benchmark/main.go
delete mode 100644 vendor/github.com/pkg/sftp/other_test.go
delete mode 100644 vendor/github.com/pkg/sftp/packet.go
delete mode 100644 vendor/github.com/pkg/sftp/packet_test.go
delete mode 100644 vendor/github.com/pkg/sftp/release.go
delete mode 100644 vendor/github.com/pkg/sftp/server.go
delete mode 100644 vendor/github.com/pkg/sftp/server_integration_test.go
delete mode 100644 vendor/github.com/pkg/sftp/server_standalone/main.go
delete mode 100644 vendor/github.com/pkg/sftp/server_statvfs_darwin.go
delete mode 100644 vendor/github.com/pkg/sftp/server_statvfs_impl.go
delete mode 100644 vendor/github.com/pkg/sftp/server_statvfs_linux.go
delete mode 100644 vendor/github.com/pkg/sftp/server_statvfs_stubs.go
delete mode 100644 vendor/github.com/pkg/sftp/server_stubs.go
delete mode 100644 vendor/github.com/pkg/sftp/server_test.go
delete mode 100644 vendor/github.com/pkg/sftp/server_unix.go
delete mode 100644 vendor/github.com/pkg/sftp/sftp.go
rename vendor/github.com/spf13/afero/{sftp => sftpfs}/file.go (100%)
rename vendor/github.com/spf13/afero/{ => sftpfs}/sftp.go (57%)
rename vendor/github.com/spf13/afero/{ => sftpfs}/sftp_test_go (100%)
delete mode 100644 vendor/golang.org/x/crypto/.gitattributes
delete mode 100644 vendor/golang.org/x/crypto/.gitignore
delete mode 100644 vendor/golang.org/x/crypto/AUTHORS
delete mode 100644 vendor/golang.org/x/crypto/CONTRIBUTING.md
delete mode 100644 vendor/golang.org/x/crypto/CONTRIBUTORS
delete mode 100644 vendor/golang.org/x/crypto/LICENSE
delete mode 100644 vendor/golang.org/x/crypto/PATENTS
delete mode 100644 vendor/golang.org/x/crypto/README
delete mode 100644 vendor/golang.org/x/crypto/acme/acme.go
delete mode 100644 vendor/golang.org/x/crypto/acme/acme_test.go
delete mode 100644 vendor/golang.org/x/crypto/acme/autocert/autocert.go
delete mode 100644 vendor/golang.org/x/crypto/acme/autocert/autocert_test.go
delete mode 100644 vendor/golang.org/x/crypto/acme/autocert/cache.go
delete mode 100644 vendor/golang.org/x/crypto/acme/autocert/cache_test.go
delete mode 100644 vendor/golang.org/x/crypto/acme/autocert/renewal.go
delete mode 100644 vendor/golang.org/x/crypto/acme/autocert/renewal_test.go
delete mode 100644 vendor/golang.org/x/crypto/acme/jws.go
delete mode 100644 vendor/golang.org/x/crypto/acme/jws_test.go
delete mode 100644 vendor/golang.org/x/crypto/acme/types.go
delete mode 100644 vendor/golang.org/x/crypto/bcrypt/base64.go
delete mode 100644 vendor/golang.org/x/crypto/bcrypt/bcrypt.go
delete mode 100644 vendor/golang.org/x/crypto/bcrypt/bcrypt_test.go
delete mode 100644 vendor/golang.org/x/crypto/blake2b/blake2b.go
delete mode 100644 vendor/golang.org/x/crypto/blake2b/blake2bAVX2_amd64.go
delete mode 100644 vendor/golang.org/x/crypto/blake2b/blake2bAVX2_amd64.s
delete mode 100644 vendor/golang.org/x/crypto/blake2b/blake2b_amd64.go
delete mode 100644 vendor/golang.org/x/crypto/blake2b/blake2b_amd64.s
delete mode 100644 vendor/golang.org/x/crypto/blake2b/blake2b_generic.go
delete mode 100644 vendor/golang.org/x/crypto/blake2b/blake2b_ref.go
delete mode 100644 vendor/golang.org/x/crypto/blake2b/blake2b_test.go
delete mode 100644 vendor/golang.org/x/crypto/blake2s/blake2s.go
delete mode 100644 vendor/golang.org/x/crypto/blake2s/blake2s_386.go
delete mode 100644 vendor/golang.org/x/crypto/blake2s/blake2s_386.s
delete mode 100644 vendor/golang.org/x/crypto/blake2s/blake2s_amd64.go
delete mode 100644 vendor/golang.org/x/crypto/blake2s/blake2s_amd64.s
delete mode 100644 vendor/golang.org/x/crypto/blake2s/blake2s_generic.go
delete mode 100644 vendor/golang.org/x/crypto/blake2s/blake2s_ref.go
delete mode 100644 vendor/golang.org/x/crypto/blake2s/blake2s_test.go
delete mode 100644 vendor/golang.org/x/crypto/blowfish/block.go
delete mode 100644 vendor/golang.org/x/crypto/blowfish/blowfish_test.go
delete mode 100644 vendor/golang.org/x/crypto/blowfish/cipher.go
delete mode 100644 vendor/golang.org/x/crypto/blowfish/const.go
delete mode 100644 vendor/golang.org/x/crypto/bn256/bn256.go
delete mode 100644 vendor/golang.org/x/crypto/bn256/bn256_test.go
delete mode 100644 vendor/golang.org/x/crypto/bn256/constants.go
delete mode 100644 vendor/golang.org/x/crypto/bn256/curve.go
delete mode 100644 vendor/golang.org/x/crypto/bn256/example_test.go
delete mode 100644 vendor/golang.org/x/crypto/bn256/gfp12.go
delete mode 100644 vendor/golang.org/x/crypto/bn256/gfp2.go
delete mode 100644 vendor/golang.org/x/crypto/bn256/gfp6.go
delete mode 100644 vendor/golang.org/x/crypto/bn256/optate.go
delete mode 100644 vendor/golang.org/x/crypto/bn256/twist.go
delete mode 100644 vendor/golang.org/x/crypto/cast5/cast5.go
delete mode 100644 vendor/golang.org/x/crypto/cast5/cast5_test.go
delete mode 100644 vendor/golang.org/x/crypto/chacha20poly1305/chacha20poly1305.go
delete mode 100644 vendor/golang.org/x/crypto/chacha20poly1305/chacha20poly1305_amd64.go
delete mode 100644 vendor/golang.org/x/crypto/chacha20poly1305/chacha20poly1305_amd64.s
delete mode 100644 vendor/golang.org/x/crypto/chacha20poly1305/chacha20poly1305_generic.go
delete mode 100644 vendor/golang.org/x/crypto/chacha20poly1305/chacha20poly1305_noasm.go
delete mode 100644 vendor/golang.org/x/crypto/chacha20poly1305/chacha20poly1305_test.go
delete mode 100644 vendor/golang.org/x/crypto/chacha20poly1305/chacha20poly1305_test_vectors.go
delete mode 100644 vendor/golang.org/x/crypto/chacha20poly1305/internal/chacha20/chacha_generic.go
delete mode 100644 vendor/golang.org/x/crypto/chacha20poly1305/internal/chacha20/chacha_test.go
delete mode 100644 vendor/golang.org/x/crypto/codereview.cfg
delete mode 100644 vendor/golang.org/x/crypto/curve25519/const_amd64.s
delete mode 100644 vendor/golang.org/x/crypto/curve25519/cswap_amd64.s
delete mode 100644 vendor/golang.org/x/crypto/curve25519/curve25519.go
delete mode 100644 vendor/golang.org/x/crypto/curve25519/curve25519_test.go
delete mode 100644 vendor/golang.org/x/crypto/curve25519/doc.go
delete mode 100644 vendor/golang.org/x/crypto/curve25519/freeze_amd64.s
delete mode 100644 vendor/golang.org/x/crypto/curve25519/ladderstep_amd64.s
delete mode 100644 vendor/golang.org/x/crypto/curve25519/mont25519_amd64.go
delete mode 100644 vendor/golang.org/x/crypto/curve25519/mul_amd64.s
delete mode 100644 vendor/golang.org/x/crypto/curve25519/square_amd64.s
delete mode 100644 vendor/golang.org/x/crypto/ed25519/ed25519.go
delete mode 100644 vendor/golang.org/x/crypto/ed25519/ed25519_test.go
delete mode 100644 vendor/golang.org/x/crypto/ed25519/internal/edwards25519/const.go
delete mode 100644 vendor/golang.org/x/crypto/ed25519/internal/edwards25519/edwards25519.go
delete mode 100644 vendor/golang.org/x/crypto/ed25519/testdata/sign.input.gz
delete mode 100644 vendor/golang.org/x/crypto/hkdf/example_test.go
delete mode 100644 vendor/golang.org/x/crypto/hkdf/hkdf.go
delete mode 100644 vendor/golang.org/x/crypto/hkdf/hkdf_test.go
delete mode 100644 vendor/golang.org/x/crypto/md4/md4.go
delete mode 100644 vendor/golang.org/x/crypto/md4/md4_test.go
delete mode 100644 vendor/golang.org/x/crypto/md4/md4block.go
delete mode 100644 vendor/golang.org/x/crypto/nacl/box/box.go
delete mode 100644 vendor/golang.org/x/crypto/nacl/box/box_test.go
delete mode 100644 vendor/golang.org/x/crypto/nacl/secretbox/example_test.go
delete mode 100644 vendor/golang.org/x/crypto/nacl/secretbox/secretbox.go
delete mode 100644 vendor/golang.org/x/crypto/nacl/secretbox/secretbox_test.go
delete mode 100644 vendor/golang.org/x/crypto/ocsp/ocsp.go
delete mode 100644 vendor/golang.org/x/crypto/ocsp/ocsp_test.go
delete mode 100644 vendor/golang.org/x/crypto/openpgp/armor/armor.go
delete mode 100644 vendor/golang.org/x/crypto/openpgp/armor/armor_test.go
delete mode 100644 vendor/golang.org/x/crypto/openpgp/armor/encode.go
delete mode 100644 vendor/golang.org/x/crypto/openpgp/canonical_text.go
delete mode 100644 vendor/golang.org/x/crypto/openpgp/canonical_text_test.go
delete mode 100644 vendor/golang.org/x/crypto/openpgp/clearsign/clearsign.go
delete mode 100644 vendor/golang.org/x/crypto/openpgp/clearsign/clearsign_test.go
delete mode 100644 vendor/golang.org/x/crypto/openpgp/elgamal/elgamal.go
delete mode 100644 vendor/golang.org/x/crypto/openpgp/elgamal/elgamal_test.go
delete mode 100644 vendor/golang.org/x/crypto/openpgp/errors/errors.go
delete mode 100644 vendor/golang.org/x/crypto/openpgp/keys.go
delete mode 100644 vendor/golang.org/x/crypto/openpgp/keys_test.go
delete mode 100644 vendor/golang.org/x/crypto/openpgp/packet/compressed.go
delete mode 100644 vendor/golang.org/x/crypto/openpgp/packet/compressed_test.go
delete mode 100644 vendor/golang.org/x/crypto/openpgp/packet/config.go
delete mode 100644 vendor/golang.org/x/crypto/openpgp/packet/encrypted_key.go
delete mode 100644 vendor/golang.org/x/crypto/openpgp/packet/encrypted_key_test.go
delete mode 100644 vendor/golang.org/x/crypto/openpgp/packet/literal.go
delete mode 100644 vendor/golang.org/x/crypto/openpgp/packet/ocfb.go
delete mode 100644 vendor/golang.org/x/crypto/openpgp/packet/ocfb_test.go
delete mode 100644 vendor/golang.org/x/crypto/openpgp/packet/one_pass_signature.go
delete mode 100644 vendor/golang.org/x/crypto/openpgp/packet/opaque.go
delete mode 100644 vendor/golang.org/x/crypto/openpgp/packet/opaque_test.go
delete mode 100644 vendor/golang.org/x/crypto/openpgp/packet/packet.go
delete mode 100644 vendor/golang.org/x/crypto/openpgp/packet/packet_test.go
delete mode 100644 vendor/golang.org/x/crypto/openpgp/packet/private_key.go
delete mode 100644 vendor/golang.org/x/crypto/openpgp/packet/private_key_test.go
delete mode 100644 vendor/golang.org/x/crypto/openpgp/packet/public_key.go
delete mode 100644 vendor/golang.org/x/crypto/openpgp/packet/public_key_test.go
delete mode 100644 vendor/golang.org/x/crypto/openpgp/packet/public_key_v3.go
delete mode 100644 vendor/golang.org/x/crypto/openpgp/packet/public_key_v3_test.go
delete mode 100644 vendor/golang.org/x/crypto/openpgp/packet/reader.go
delete mode 100644 vendor/golang.org/x/crypto/openpgp/packet/signature.go
delete mode 100644 vendor/golang.org/x/crypto/openpgp/packet/signature_test.go
delete mode 100644 vendor/golang.org/x/crypto/openpgp/packet/signature_v3.go
delete mode 100644 vendor/golang.org/x/crypto/openpgp/packet/signature_v3_test.go
delete mode 100644 vendor/golang.org/x/crypto/openpgp/packet/symmetric_key_encrypted.go
delete mode 100644 vendor/golang.org/x/crypto/openpgp/packet/symmetric_key_encrypted_test.go
delete mode 100644 vendor/golang.org/x/crypto/openpgp/packet/symmetrically_encrypted.go
delete mode 100644 vendor/golang.org/x/crypto/openpgp/packet/symmetrically_encrypted_test.go
delete mode 100644 vendor/golang.org/x/crypto/openpgp/packet/userattribute.go
delete mode 100644 vendor/golang.org/x/crypto/openpgp/packet/userattribute_test.go
delete mode 100644 vendor/golang.org/x/crypto/openpgp/packet/userid.go
delete mode 100644 vendor/golang.org/x/crypto/openpgp/packet/userid_test.go
delete mode 100644 vendor/golang.org/x/crypto/openpgp/read.go
delete mode 100644 vendor/golang.org/x/crypto/openpgp/read_test.go
delete mode 100644 vendor/golang.org/x/crypto/openpgp/s2k/s2k.go
delete mode 100644 vendor/golang.org/x/crypto/openpgp/s2k/s2k_test.go
delete mode 100644 vendor/golang.org/x/crypto/openpgp/write.go
delete mode 100644 vendor/golang.org/x/crypto/openpgp/write_test.go
delete mode 100644 vendor/golang.org/x/crypto/otr/libotr_test_helper.c
delete mode 100644 vendor/golang.org/x/crypto/otr/otr.go
delete mode 100644 vendor/golang.org/x/crypto/otr/otr_test.go
delete mode 100644 vendor/golang.org/x/crypto/otr/smp.go
delete mode 100644 vendor/golang.org/x/crypto/pbkdf2/pbkdf2.go
delete mode 100644 vendor/golang.org/x/crypto/pbkdf2/pbkdf2_test.go
delete mode 100644 vendor/golang.org/x/crypto/pkcs12/bmp-string.go
delete mode 100644 vendor/golang.org/x/crypto/pkcs12/bmp-string_test.go
delete mode 100644 vendor/golang.org/x/crypto/pkcs12/crypto.go
delete mode 100644 vendor/golang.org/x/crypto/pkcs12/crypto_test.go
delete mode 100644 vendor/golang.org/x/crypto/pkcs12/errors.go
delete mode 100644 vendor/golang.org/x/crypto/pkcs12/internal/rc2/bench_test.go
delete mode 100644 vendor/golang.org/x/crypto/pkcs12/internal/rc2/rc2.go
delete mode 100644 vendor/golang.org/x/crypto/pkcs12/internal/rc2/rc2_test.go
delete mode 100644 vendor/golang.org/x/crypto/pkcs12/mac.go
delete mode 100644 vendor/golang.org/x/crypto/pkcs12/mac_test.go
delete mode 100644 vendor/golang.org/x/crypto/pkcs12/pbkdf.go
delete mode 100644 vendor/golang.org/x/crypto/pkcs12/pbkdf_test.go
delete mode 100644 vendor/golang.org/x/crypto/pkcs12/pkcs12.go
delete mode 100644 vendor/golang.org/x/crypto/pkcs12/pkcs12_test.go
delete mode 100644 vendor/golang.org/x/crypto/pkcs12/safebags.go
delete mode 100644 vendor/golang.org/x/crypto/poly1305/poly1305.go
delete mode 100644 vendor/golang.org/x/crypto/poly1305/poly1305_test.go
delete mode 100644 vendor/golang.org/x/crypto/poly1305/sum_amd64.go
delete mode 100644 vendor/golang.org/x/crypto/poly1305/sum_amd64.s
delete mode 100644 vendor/golang.org/x/crypto/poly1305/sum_arm.go
delete mode 100644 vendor/golang.org/x/crypto/poly1305/sum_arm.s
delete mode 100644 vendor/golang.org/x/crypto/poly1305/sum_ref.go
delete mode 100644 vendor/golang.org/x/crypto/ripemd160/ripemd160.go
delete mode 100644 vendor/golang.org/x/crypto/ripemd160/ripemd160_test.go
delete mode 100644 vendor/golang.org/x/crypto/ripemd160/ripemd160block.go
delete mode 100644 vendor/golang.org/x/crypto/salsa20/salsa/hsalsa20.go
delete mode 100644 vendor/golang.org/x/crypto/salsa20/salsa/salsa2020_amd64.s
delete mode 100644 vendor/golang.org/x/crypto/salsa20/salsa/salsa208.go
delete mode 100644 vendor/golang.org/x/crypto/salsa20/salsa/salsa20_amd64.go
delete mode 100644 vendor/golang.org/x/crypto/salsa20/salsa/salsa20_ref.go
delete mode 100644 vendor/golang.org/x/crypto/salsa20/salsa/salsa_test.go
delete mode 100644 vendor/golang.org/x/crypto/salsa20/salsa20.go
delete mode 100644 vendor/golang.org/x/crypto/salsa20/salsa20_test.go
delete mode 100644 vendor/golang.org/x/crypto/scrypt/scrypt.go
delete mode 100644 vendor/golang.org/x/crypto/scrypt/scrypt_test.go
delete mode 100644 vendor/golang.org/x/crypto/sha3/doc.go
delete mode 100644 vendor/golang.org/x/crypto/sha3/hashes.go
delete mode 100644 vendor/golang.org/x/crypto/sha3/keccakf.go
delete mode 100644 vendor/golang.org/x/crypto/sha3/keccakf_amd64.go
delete mode 100644 vendor/golang.org/x/crypto/sha3/keccakf_amd64.s
delete mode 100644 vendor/golang.org/x/crypto/sha3/register.go
delete mode 100644 vendor/golang.org/x/crypto/sha3/sha3.go
delete mode 100644 vendor/golang.org/x/crypto/sha3/sha3_test.go
delete mode 100644 vendor/golang.org/x/crypto/sha3/shake.go
delete mode 100644 vendor/golang.org/x/crypto/sha3/testdata/keccakKats.json.deflate
delete mode 100644 vendor/golang.org/x/crypto/sha3/xor.go
delete mode 100644 vendor/golang.org/x/crypto/sha3/xor_generic.go
delete mode 100644 vendor/golang.org/x/crypto/sha3/xor_unaligned.go
delete mode 100644 vendor/golang.org/x/crypto/ssh/agent/client.go
delete mode 100644 vendor/golang.org/x/crypto/ssh/agent/client_test.go
delete mode 100644 vendor/golang.org/x/crypto/ssh/agent/example_test.go
delete mode 100644 vendor/golang.org/x/crypto/ssh/agent/forward.go
delete mode 100644 vendor/golang.org/x/crypto/ssh/agent/keyring.go
delete mode 100644 vendor/golang.org/x/crypto/ssh/agent/keyring_test.go
delete mode 100644 vendor/golang.org/x/crypto/ssh/agent/server.go
delete mode 100644 vendor/golang.org/x/crypto/ssh/agent/server_test.go
delete mode 100644 vendor/golang.org/x/crypto/ssh/agent/testdata_test.go
delete mode 100644 vendor/golang.org/x/crypto/ssh/benchmark_test.go
delete mode 100644 vendor/golang.org/x/crypto/ssh/buffer.go
delete mode 100644 vendor/golang.org/x/crypto/ssh/buffer_test.go
delete mode 100644 vendor/golang.org/x/crypto/ssh/certs.go
delete mode 100644 vendor/golang.org/x/crypto/ssh/certs_test.go
delete mode 100644 vendor/golang.org/x/crypto/ssh/channel.go
delete mode 100644 vendor/golang.org/x/crypto/ssh/cipher.go
delete mode 100644 vendor/golang.org/x/crypto/ssh/cipher_test.go
delete mode 100644 vendor/golang.org/x/crypto/ssh/client.go
delete mode 100644 vendor/golang.org/x/crypto/ssh/client_auth.go
delete mode 100644 vendor/golang.org/x/crypto/ssh/client_auth_test.go
delete mode 100644 vendor/golang.org/x/crypto/ssh/client_test.go
delete mode 100644 vendor/golang.org/x/crypto/ssh/common.go
delete mode 100644 vendor/golang.org/x/crypto/ssh/connection.go
delete mode 100644 vendor/golang.org/x/crypto/ssh/doc.go
delete mode 100644 vendor/golang.org/x/crypto/ssh/example_test.go
delete mode 100644 vendor/golang.org/x/crypto/ssh/handshake.go
delete mode 100644 vendor/golang.org/x/crypto/ssh/handshake_test.go
delete mode 100644 vendor/golang.org/x/crypto/ssh/kex.go
delete mode 100644 vendor/golang.org/x/crypto/ssh/kex_test.go
delete mode 100644 vendor/golang.org/x/crypto/ssh/keys.go
delete mode 100644 vendor/golang.org/x/crypto/ssh/keys_test.go
delete mode 100644 vendor/golang.org/x/crypto/ssh/mac.go
delete mode 100644 vendor/golang.org/x/crypto/ssh/mempipe_test.go
delete mode 100644 vendor/golang.org/x/crypto/ssh/messages.go
delete mode 100644 vendor/golang.org/x/crypto/ssh/messages_test.go
delete mode 100644 vendor/golang.org/x/crypto/ssh/mux.go
delete mode 100644 vendor/golang.org/x/crypto/ssh/mux_test.go
delete mode 100644 vendor/golang.org/x/crypto/ssh/server.go
delete mode 100644 vendor/golang.org/x/crypto/ssh/session.go
delete mode 100644 vendor/golang.org/x/crypto/ssh/session_test.go
delete mode 100644 vendor/golang.org/x/crypto/ssh/tcpip.go
delete mode 100644 vendor/golang.org/x/crypto/ssh/tcpip_test.go
delete mode 100644 vendor/golang.org/x/crypto/ssh/terminal/terminal.go
delete mode 100644 vendor/golang.org/x/crypto/ssh/terminal/terminal_test.go
delete mode 100644 vendor/golang.org/x/crypto/ssh/terminal/util.go
delete mode 100644 vendor/golang.org/x/crypto/ssh/terminal/util_bsd.go
delete mode 100644 vendor/golang.org/x/crypto/ssh/terminal/util_linux.go
delete mode 100644 vendor/golang.org/x/crypto/ssh/terminal/util_plan9.go
delete mode 100644 vendor/golang.org/x/crypto/ssh/terminal/util_solaris.go
delete mode 100644 vendor/golang.org/x/crypto/ssh/terminal/util_windows.go
delete mode 100644 vendor/golang.org/x/crypto/ssh/test/agent_unix_test.go
delete mode 100644 vendor/golang.org/x/crypto/ssh/test/cert_test.go
delete mode 100644 vendor/golang.org/x/crypto/ssh/test/doc.go
delete mode 100644 vendor/golang.org/x/crypto/ssh/test/forward_unix_test.go
delete mode 100644 vendor/golang.org/x/crypto/ssh/test/session_test.go
delete mode 100644 vendor/golang.org/x/crypto/ssh/test/tcpip_test.go
delete mode 100644 vendor/golang.org/x/crypto/ssh/test/test_unix_test.go
delete mode 100644 vendor/golang.org/x/crypto/ssh/test/testdata_test.go
delete mode 100644 vendor/golang.org/x/crypto/ssh/testdata/doc.go
delete mode 100644 vendor/golang.org/x/crypto/ssh/testdata/keys.go
delete mode 100644 vendor/golang.org/x/crypto/ssh/testdata_test.go
delete mode 100644 vendor/golang.org/x/crypto/ssh/transport.go
delete mode 100644 vendor/golang.org/x/crypto/ssh/transport_test.go
delete mode 100644 vendor/golang.org/x/crypto/tea/cipher.go
delete mode 100644 vendor/golang.org/x/crypto/tea/tea_test.go
delete mode 100644 vendor/golang.org/x/crypto/twofish/twofish.go
delete mode 100644 vendor/golang.org/x/crypto/twofish/twofish_test.go
delete mode 100644 vendor/golang.org/x/crypto/xtea/block.go
delete mode 100644 vendor/golang.org/x/crypto/xtea/cipher.go
delete mode 100644 vendor/golang.org/x/crypto/xtea/xtea_test.go
delete mode 100644 vendor/golang.org/x/crypto/xts/xts.go
delete mode 100644 vendor/golang.org/x/crypto/xts/xts_test.go
diff --git a/glide.lock b/glide.lock
index ac13cec..adce33d 100644
--- a/glide.lock
+++ b/glide.lock
@@ -1,8 +1,8 @@
-hash: 8336df10445698bfa4601cf9f26ca4ffb7ad1f262b48b530580892098f43541e
-updated: 2016-10-27T13:09:29.099139468-04:00
+hash: 3693692a36a0a89ab104b496eca3d7b920d5ed0c8c92acdfc9fde14af27d765e
+updated: 2016-11-21T10:00:50.926092105-05:00
imports:
- name: github.com/aws/aws-sdk-go
- version: 6c577e9e7b08a6d10bad1c9703227cd0403a8dd7
+ version: 898c81ba64b9a467379d35e3fabad133beae0ee4
subpackages:
- aws
- aws/awserr
@@ -39,7 +39,7 @@ imports:
- name: github.com/blang/semver
version: 60ec3488bfea7cca02b021d106d9911120d25fe9
- name: github.com/dnaeon/go-vcr
- version: 63159db44a01322f126c9516eeeecdee16c3e0ee
+ version: 82c8877b55452fe358f69d77685e57700f78c30a
subpackages:
- cassette
- recorder
@@ -51,12 +51,8 @@ imports:
version: fd9ec7deca8bf46ecd2a795baaacf2b3a9be1197
- name: github.com/go-ini/ini
version: 6e4869b434bd001f6983749881c7ead3545887d8
-- name: github.com/hashicorp/errwrap
- version: 7554cd9344cec97297fa6649b055a8c98c2a1e55
-- name: github.com/hashicorp/go-multierror
- version: 8c5f0ad9360406a3807ce7de6bc73269a91a6e51
- name: github.com/hashicorp/hcl
- version: 99ce73d4fe576449f7a689d4fc2b2ad09a86bdaa
+ version: c3e054bfd4dcf77b9965ed2b79b22afa2f41d4eb
subpackages:
- hcl/ast
- hcl/parser
@@ -66,18 +62,12 @@ imports:
- json/parser
- json/scanner
- json/token
-- name: github.com/hashicorp/terraform
- version: fa6a83ebdc323f2b415779786e102e69ddbf9a48
- subpackages:
- - dag
- name: github.com/hjson/hjson-go
version: 94a8f0bea3436e0721b2e28b85df411d75a399fa
- name: github.com/inconshreveable/mousetrap
version: 76626ae9c91c4f2a10f34cad8ce83ea42c93bb75
- name: github.com/jmespath/go-jmespath
version: bd40a432e4c76585ef6b72d3fd96fb9b6dc7b68d
-- name: github.com/kr/fs
- version: 2788f0dbd16903de03cb8186e5c7d97b69ad387b
- name: github.com/magiconair/properties
version: 0723e352fa358f9322c938cc2dadda874e9151a9
- name: github.com/mitchellh/mapstructure
@@ -86,47 +76,35 @@ imports:
version: df1e16fde7fc330a0ca68167c23bf7ed6ac31d6d
- name: github.com/pelletier/go-toml
version: 45932ad32dfdd20826f5671da37a5f3ce9f26a8d
-- name: github.com/pkg/errors
- version: 839d9e913e063e28dfd0e6c7b7512793e0a48be9
-- name: github.com/pkg/sftp
- version: 4d0e916071f68db74f8a73926335f809396d6b42
- name: github.com/prometheus/common
- version: 85637ea67b04b5c3bb25e671dacded2977f8f9f6
+ version: 0d5de9d6d8629cb8bee6d4674da4127cd8b615a3
subpackages:
- log
- name: github.com/Sirupsen/logrus
- version: 4b6ea7319e214d98c938f12692336f7ca9348d6b
+ version: d26492970760ca5d33129d2d799e34be5c4782eb
- name: github.com/spf13/afero
- version: 52e4a6cfac46163658bd4f123c49b6ee7dc75f78
+ version: 06b7e5f50606ecd49148a01a6008942d9b669217
subpackages:
- mem
- - sftp
- name: github.com/spf13/cast
- version: 2580bc98dc0e62908119e4737030cc2fdfc45e4c
+ version: 24b6558033ffe202bf42f0f3b870dcc798dd2ba8
- name: github.com/spf13/cobra
- version: 6e91dded25d73176bf7f60b40dd7aa1f0bf9be8d
+ version: 9495bc009a56819bdb0ddbc1a373e29c140bc674
- name: github.com/spf13/jwalterweatherman
version: 33c24e77fb80341fe7130ee7c594256ff08ccc46
- name: github.com/spf13/pflag
version: 5ccb023bc27df288a957c5e994cd44fd19619465
- name: github.com/spf13/viper
- version: 80ab6657f9ec7e5761f6603320d3d58dfe6970f6
-- name: golang.org/x/crypto
- version: ca7e7f10cb9fd9c1a6ff7f60436c086d73714180
- subpackages:
- - curve25519
- - ed25519
- - ed25519/internal/edwards25519
- - ssh
+ version: 651d9d916abc3c3d6a91a12549495caba5edffd2
- name: golang.org/x/sys
- version: c200b10b5d5e122be351b67af224adc6128af5bf
+ version: b699b7032584f0953262cb2788a0ca19bb494703
subpackages:
- unix
- windows
- windows/registry
- windows/svc/eventlog
- name: golang.org/x/text
- version: a8b38433e35b65ba247bb267317037dee1b70cea
+ version: a263ba8db058568bb9beba166777d9c9dbe75d68
subpackages:
- transform
- unicode/norm
diff --git a/glide.yaml b/glide.yaml
index 8063cce..bedadd0 100644
--- a/glide.yaml
+++ b/glide.yaml
@@ -21,10 +21,6 @@ import:
- package: github.com/dustin/go-jsonpointer
- package: github.com/go-ini/ini
version: ^1.21.1
-- package: github.com/hashicorp/terraform
- version: ^0.7.5
- subpackages:
- - dag
- package: github.com/spf13/cobra
- package: github.com/spf13/viper
- package: golang.org/x/text
diff --git a/graph/dag.go b/graph/dag.go
new file mode 100644
index 0000000..20d2013
--- /dev/null
+++ b/graph/dag.go
@@ -0,0 +1,285 @@
+//
+// Copyright 2016 Capital One Services, LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and limitations under the License.
+//
+package graph
+
+import (
+ "container/list"
+ "fmt"
+ "io"
+)
+
+type Vertex struct {
+ Name string
+}
+
+type Edge struct {
+ Parent *Vertex
+ Child *Vertex
+}
+
+type DAG struct {
+ Root *Vertex
+ Edges *list.List
+ Vertices map[*Vertex][]*Edge
+}
+
+func NewDAG() *DAG {
+ return &DAG{Vertices: make(map[*Vertex][]*Edge), Edges: list.New()}
+}
+
+func (d *DAG) AddRoot(v *Vertex) {
+ d.Root = v
+ d.AddVertex(v)
+ // check for duplicates
+}
+
+func (d *DAG) AddVertex(v *Vertex) {
+ if _, ok := d.Vertices[v]; !ok {
+ d.Vertices[v] = []*Edge{}
+ }
+}
+
+func (d *DAG) AddEdge(e *Edge) {
+ if e.Parent == nil && d.Root != nil {
+ e.Parent = d.Root
+ }
+ d.Edges.PushBack(e)
+ if !d.VertexExists(e.Parent) {
+ d.AddVertex(e.Parent)
+ }
+ if !d.VertexExists(e.Child) {
+ d.AddVertex(e.Child)
+ }
+ if edges, ok := d.Vertices[e.Parent]; ok {
+ d.Vertices[e.Parent] = append(edges, e)
+ }
+}
+
+func (d *DAG) FindVertexByName(name string) *Vertex {
+ for k, _ := range d.Vertices {
+ if k.Name == name {
+ return k
+ }
+ }
+ return nil
+}
+
+func (d *DAG) AddEdgeBetweenVertices(parentName, childName string) *Edge {
+ p := d.FindVertexByName(parentName)
+ if p == nil {
+ p = &Vertex{Name: parentName}
+ }
+
+ c := d.FindVertexByName(childName)
+ if c == nil {
+ c = &Vertex{Name: childName}
+ }
+
+ e := &Edge{Parent: p, Child: c}
+ d.AddEdge(e)
+ return e
+}
+
+func (d *DAG) VertexExists(v *Vertex) bool {
+ if _, ok := d.Vertices[v]; ok {
+ return true
+ }
+ return false
+}
+
+func (d *DAG) VertexListFromRoot() []*Vertex {
+ return d.VertexList(d.Root)
+}
+
+func (d *DAG) VertexList(start *Vertex) []*Vertex {
+ result := []*Vertex{}
+ if start != nil {
+ d.VisitDepthFirst(start, func(vert *Vertex) bool {
+ result = append(result, vert)
+ return true
+ })
+ }
+
+ return result
+}
+
+// VertexVisitorFunc visits each vertex, only once
+// and returns false to stop visiting, or else true to continue
+type VertexVisitorFunc func(vertex *Vertex) bool
+
+func (d *DAG) VisitDepthFirstFromRoot(visitor VertexVisitorFunc) {
+ d.VisitDepthFirst(d.Root, visitor)
+}
+
+func (d *DAG) VisitDepthFirst(startVertex *Vertex, visitor VertexVisitorFunc) {
+ visited := map[*Vertex]bool{}
+ result := []*Vertex{}
+ start := startVertex
+
+ if start != nil {
+ downVerts := list.New()
+ downVerts.PushBack(start)
+ for el := downVerts.Front(); el != nil; el = downVerts.Front() {
+ vert := castVertex(el)
+ downVerts.Remove(el)
+ if _, found := visited[vert]; !found {
+ result = append(result, vert)
+ visited[vert] = true
+
+ cont := visitor(vert)
+ if !cont {
+ return
+ }
+ edges := d.Vertices[vert]
+ for _, edge := range edges {
+ downVerts.PushFront(edge.Child)
+ }
+ }
+ }
+ }
+}
+
+func (d *DAG) Print(w io.Writer) {
+ start := d.Root
+ downVerts := list.New()
+ downVerts.PushBack(start)
+ for el := downVerts.Front(); el != nil; el = el.Next() {
+ vert := castVertex(el)
+ edges := d.Vertices[vert]
+ for _, edge := range edges {
+ downVerts.PushBack(edge.Child)
+ fmt.Fprintf(w, "%#v -> %#v\n", edge.Parent, edge.Child)
+ }
+ }
+}
+
+func (d *DAG) RemoveEdge(e *Edge) {
+ if edges, ok := d.Vertices[e.Parent]; ok {
+ rmIndex := -1
+ for index, edge := range edges {
+ if edge == e {
+ rmIndex = index
+ }
+ }
+ if rmIndex >= 0 {
+ edges = append(edges[:rmIndex], edges[rmIndex+1:]...)
+ }
+ d.Vertices[e.Parent] = edges
+ }
+ rmEdges := []*list.Element{}
+ for el := d.Edges.Front(); el != nil; el = el.Next() {
+ edge := castEdge(el)
+ if edge == e {
+ rmEdges = append(rmEdges, el)
+ }
+ }
+ for _, el := range rmEdges {
+ d.Edges.Remove(el)
+ }
+}
+
+func arrayContainsVertex(verts []*Vertex, vert *Vertex) bool {
+ for _, v := range verts {
+ if v == vert {
+ return true
+ }
+ }
+ return false
+}
+
+func (d *DAG) TransitiveReduction() {
+ downVerts := list.New()
+ downVerts.PushBack(d.Root)
+ for el := downVerts.Front(); el != nil; el = el.Next() {
+ vert := castVertex(el)
+
+ // get edges for this vertex
+ edges := d.Vertices[vert]
+ lowerEdges := []*Edge{}
+ for _, edge := range edges {
+ // get the list of edges below each child of this vertex
+ lowerEdges = append(lowerEdges, d.Vertices[edge.Child]...)
+ }
+ // A -> B -> C & A -> C, edges: A->B, lower edge: B->C
+
+ // check if any of the other vertices in adjacenet edges exist below the vertex being examined
+ for _, lowerEdge := range lowerEdges {
+ verts := d.VertexList(lowerEdge.Child)
+ for _, upperEdge := range edges {
+ if arrayContainsVertex(verts, upperEdge.Child) {
+ d.RemoveEdge(upperEdge)
+ }
+ }
+ }
+
+ edges = d.Vertices[vert]
+ for _, edge := range edges {
+ downVerts.PushBack(edge.Child)
+ }
+ }
+}
+
+func (d *DAG) HasCycles() bool {
+
+ edges := map[string]bool{}
+ vertsVisited := map[*Vertex]bool{}
+
+ cycleFound := false
+ d.VisitDepthFirstFromRoot(func(vertex *Vertex) bool {
+ vertEdges := d.Vertices[vertex]
+ vertsVisited[vertex] = true
+ for _, edge := range vertEdges {
+ id := fmt.Sprintf("%v%v", edge.Parent, edge.Child)
+
+ if _, found := vertsVisited[edge.Child]; found {
+ cycleFound = true
+ return false
+ }
+
+ if _, found := edges[id]; !found {
+ edges[id] = true
+ } else {
+ cycleFound = true
+ return false
+ }
+ }
+ return true
+ })
+ return cycleFound
+}
+
+func castEdge(el *list.Element) *Edge {
+ return el.Value.(*Edge)
+}
+
+func castVertex(el *list.Element) *Vertex {
+ return el.Value.(*Vertex)
+}
+
+type EdgeVistorFunc func(edge *Edge)
+
+func (d *DAG) VisitEdges(visitor EdgeVistorFunc) {
+ for el := d.Edges.Front(); el != nil; el = el.Next() {
+ edge := castEdge(el)
+ visitor(edge)
+ }
+}
+
+func (e *Edge) String() string {
+ return fmt.Sprintf("%s -> %s", e.Parent.Name, e.Child.Name)
+}
+func (v *Vertex) String() string {
+ return fmt.Sprintf("%s", v.Name)
+}
diff --git a/graph/dag_test.go b/graph/dag_test.go
new file mode 100644
index 0000000..e225eaa
--- /dev/null
+++ b/graph/dag_test.go
@@ -0,0 +1,322 @@
+//
+// Copyright 2016 Capital One Services, LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and limitations under the License.
+//
+package graph
+
+import (
+ "fmt"
+ "os"
+ "testing"
+
+ "github.com/stretchr/testify/assert"
+)
+
+func TestDagCreation(t *testing.T) {
+ dag := NewDAG()
+ r := &Vertex{Name: "blah"}
+ c := &Vertex{Name: "alskdjf"}
+ c2 := &Vertex{Name: "12341234"}
+ c3 := &Vertex{Name: "99999"}
+ c4 := &Vertex{Name: "C4"}
+ dag.AddRoot(r)
+ dag.AddEdge(&Edge{Parent: r, Child: c})
+ dag.AddEdge(&Edge{Parent: c, Child: c2})
+ dag.AddEdge(&Edge{Parent: c2, Child: c3})
+ dag.AddEdge(&Edge{Parent: r, Child: c3})
+ dag.AddEdge(&Edge{Parent: c3, Child: c4})
+
+ //fmt.Printf("%#v\n", dag.VertexListFromRoot())
+ for i, v := range dag.VertexListFromRoot() {
+ //fmt.Printf("[%d] = %#v\n", i, v)
+ switch i {
+ case 0:
+ assert.Equal(t, v.Name, "blah")
+ case 1:
+ assert.Equal(t, v.Name, "99999")
+ case 2:
+ assert.Equal(t, v.Name, "C4")
+ case 3:
+ assert.Equal(t, v.Name, "alskdjf")
+ case 4:
+ assert.Equal(t, v.Name, "12341234")
+ default:
+ assert.True(t, false)
+ }
+ }
+
+ // fmt.Printf("------------\n")
+ // fmt.Printf("%#v -> %#v\n", r, c)
+ // fmt.Printf("%#v -> %#v\n", c, c2)
+ // fmt.Printf("%#v -> %#v\n", c2, c3)
+ // fmt.Printf("%#v -> %#v\n", r, c3)
+ // fmt.Printf("%#v -> %#v\n", c3, c4)
+ // fmt.Printf("------------\n")
+ dag.Print(os.Stdout)
+
+ assert.Equal(t, dag.FindVertexByName("99999"), c3)
+}
+
+func TestDagTransitiveReduction(t *testing.T) {
+ dag := NewDAG()
+ r := &Vertex{Name: "blah"}
+ c := &Vertex{Name: "alskdjf"}
+ c2 := &Vertex{Name: "12341234"}
+ c3 := &Vertex{Name: "99999"}
+ c4 := &Vertex{Name: "C4"}
+ dag.AddRoot(r)
+ dag.AddEdge(&Edge{Parent: r, Child: c})
+ dag.AddEdge(&Edge{Parent: c, Child: c2})
+ dag.AddEdge(&Edge{Parent: c2, Child: c3})
+ dag.AddEdge(&Edge{Parent: r, Child: c3}) // extra edge
+ dag.AddEdge(&Edge{Parent: c3, Child: c4})
+
+ assert.Equal(t, dag.Edges.Len(), 5)
+ dag.TransitiveReduction()
+ assert.Equal(t, dag.Edges.Len(), 4)
+ dag.VisitEdges(func(edge *Edge) {
+ assert.False(t, edge.Parent == r && edge.Child == c3)
+ })
+ dag.Print(os.Stdout)
+
+ fmt.Printf("%#v\n", dag.VertexListFromRoot())
+ for i, v := range dag.VertexListFromRoot() {
+ fmt.Printf("[%d] = %#v\n", i, v)
+ }
+
+ // fmt.Printf("------------\n")
+ // fmt.Printf("%#v -> %#v\n", r, c)
+ // fmt.Printf("%#v -> %#v\n", c, c2)
+ // fmt.Printf("%#v -> %#v\n", c2, c3)
+ // fmt.Printf("%#v -> %#v\n", r, c3)
+ // fmt.Printf("%#v -> %#v\n", c3, c4)
+ // fmt.Printf("------------\n")
+}
+
+func TestDagCycleCheck1(t *testing.T) {
+ dag := NewDAG()
+ a := &Vertex{Name: "A"}
+ b := &Vertex{Name: "B"}
+ c := &Vertex{Name: "C"}
+ d := &Vertex{Name: "D"}
+ e := &Vertex{Name: "E"}
+
+ dag.AddRoot(a)
+ // A->B->C->D A->D->E C->A
+ dag.AddEdge(&Edge{Parent: a, Child: b})
+ dag.AddEdge(&Edge{Parent: a, Child: d})
+ dag.AddEdge(&Edge{Parent: b, Child: c})
+ dag.AddEdge(&Edge{Parent: c, Child: d})
+ dag.AddEdge(&Edge{Parent: c, Child: a})
+ dag.AddEdge(&Edge{Parent: d, Child: e})
+
+ assert.True(t, dag.HasCycles())
+}
+
+func TestDagCycleCheck2(t *testing.T) {
+ dag := NewDAG()
+ a := &Vertex{Name: "0"}
+ b := &Vertex{Name: "1"}
+ c := &Vertex{Name: "2"}
+ d := &Vertex{Name: "3"}
+
+ dag.AddRoot(a)
+
+ // 0->1->2 0->2 2->0 2->3 3->3
+ dag.AddEdge(&Edge{Parent: a, Child: b})
+ dag.AddEdge(&Edge{Parent: a, Child: c})
+
+ dag.AddEdge(&Edge{Parent: b, Child: c})
+
+ dag.AddEdge(&Edge{Parent: c, Child: a})
+ dag.AddEdge(&Edge{Parent: c, Child: d})
+
+ dag.AddEdge(&Edge{Parent: d, Child: d})
+
+ assert.True(t, dag.HasCycles())
+}
+
+func TestDagDFS(t *testing.T) {
+ dag := NewDAG()
+
+ r := "ROOT"
+ s1 := "nagios-internal-dns"
+ s2 := "nagios-r53"
+ s3 := "nagios-elb"
+ s4 := "nagios-server"
+ s5 := "nagios-db"
+ // r-> s1 -> s2 r->s3->s4->s5
+ dag.AddRoot(&Vertex{Name: r})
+ assert.NotNil(t, dag.AddEdgeBetweenVertices(r, s1))
+ assert.NotNil(t, dag.AddEdgeBetweenVertices(s1, s2))
+
+ assert.NotNil(t, dag.AddEdgeBetweenVertices(r, s3))
+ assert.NotNil(t, dag.AddEdgeBetweenVertices(s3, s4))
+ assert.NotNil(t, dag.AddEdgeBetweenVertices(s4, s5))
+
+ index := 0
+ dag.VisitDepthFirst(dag.Root, func(vert *Vertex) bool {
+ switch index {
+ case 0:
+ assert.Equal(t, r, vert.Name)
+ case 1:
+ assert.Equal(t, s3, vert.Name)
+ case 2:
+ assert.Equal(t, s4, vert.Name)
+ case 3:
+ assert.Equal(t, s5, vert.Name)
+ case 4:
+ assert.Equal(t, s1, vert.Name)
+ case 5:
+ assert.Equal(t, s2, vert.Name)
+ default:
+ assert.True(t, false) // shouldnt get here
+ }
+ index++
+ return true
+ })
+}
+
+func TestSimpleDag(t *testing.T) {
+ dag := NewDAG()
+ r := "ROOT"
+ s1 := "nagios-internal-dns"
+ s2 := "nagios-r53"
+ s3 := "nagios-elb"
+ s4 := "nagios-server"
+ /*
+ vr := &Vertex{Name: r}
+ v1 := &Vertex{Name: s1}
+ v2 := &Vertex{Name: s2}
+ v3 := &Vertex{Name: s3}
+ v4 := &Vertex{Name: s4}
+ dag.AddRoot(vr)
+ dag.AddEdge(&Edge{Parent: vr, Child: v1})
+ dag.AddEdge(&Edge{Parent: v1, Child: v2})
+ dag.AddEdge(&Edge{Parent: vr, Child: v3})
+
+ assert.Equal(t, dag.FindVertexByName(s3), v3)
+ dag.AddEdge(&Edge{Parent: v3, Child: v4})
+ */
+ // r-> s1 -> s2 r->s3->s4
+ dag.AddRoot(&Vertex{Name: r})
+ assert.NotNil(t, dag.AddEdgeBetweenVertices(r, s1))
+ assert.NotNil(t, dag.AddEdgeBetweenVertices(s1, s2))
+
+ assert.NotNil(t, dag.AddEdgeBetweenVertices(r, s3))
+ assert.NotNil(t, dag.AddEdgeBetweenVertices(s3, s4))
+
+ for i, v := range dag.VertexListFromRoot() {
+ //fmt.Printf("[%d] = %#v\n", i, v)
+ switch i {
+ case 0:
+ assert.Equal(t, v.Name, "ROOT")
+ case 1:
+ assert.Equal(t, v.Name, "nagios-elb")
+ case 2:
+ assert.Equal(t, v.Name, "nagios-server")
+ case 3:
+ assert.Equal(t, v.Name, "nagios-internal-dns")
+ case 4:
+ assert.Equal(t, v.Name, "nagios-r53")
+ default:
+ assert.True(t, false) // shouldnt get here
+ }
+ }
+ // for k, v := range dag.Vertices {
+ // fmt.Printf("k[%s] = %#v\n", k, v)
+ // for _, e := range v {
+ // fmt.Printf(" k[%s] = %#v -> %#v\n", k, e.Parent.Name, e.Child.Name)
+ // }
+ // }
+}
+
+func TestDagExampleTransitiveReduction(t *testing.T) {
+ dag := NewDAG()
+ a := &Vertex{Name: "A"}
+ b := &Vertex{Name: "B"}
+ c := &Vertex{Name: "C"}
+ d := &Vertex{Name: "D"}
+ e := &Vertex{Name: "E"}
+
+ dag.AddRoot(a)
+ dag.AddEdge(&Edge{Parent: a, Child: b})
+ dag.AddEdge(&Edge{Parent: a, Child: d})
+ dag.AddEdge(&Edge{Parent: a, Child: c})
+ dag.AddEdge(&Edge{Parent: a, Child: e})
+
+ dag.AddEdge(&Edge{Parent: b, Child: d})
+
+ dag.AddEdge(&Edge{Parent: d, Child: e})
+
+ dag.AddEdge(&Edge{Parent: c, Child: d})
+ dag.AddEdge(&Edge{Parent: c, Child: e})
+
+ dag.Print(os.Stdout)
+ dag.TransitiveReduction()
+ fmt.Printf("------------\n")
+ dag.Print(os.Stdout)
+ fmt.Printf("------------\n")
+ fmt.Printf("%#v\n", dag.VertexListFromRoot())
+
+ for i, v := range dag.VertexListFromRoot() {
+ fmt.Printf("[%d] = %#v\n", i, v)
+ switch i {
+ case 0:
+ assert.Equal(t, v.Name, "A")
+ case 1:
+ assert.Equal(t, v.Name, "C")
+ case 2:
+ assert.Equal(t, v.Name, "D")
+ case 3:
+ assert.Equal(t, v.Name, "E")
+ case 4:
+ assert.Equal(t, v.Name, "B")
+ default:
+ assert.True(t, false) // shouldnt get here
+ }
+ }
+ /*
+ el[0]: &graph.Vertex{Name:"A"} - &graph.Vertex{Name:"B"}
+ el[1]: &graph.Vertex{Name:"A"} - &graph.Vertex{Name:"C"}
+ el[2]: &graph.Vertex{Name:"B"} - &graph.Vertex{Name:"D"}
+ el[3]: &graph.Vertex{Name:"D"} - &graph.Vertex{Name:"E"}
+ el[4]: &graph.Vertex{Name:"C"} - &graph.Vertex{Name:"D"}
+ */
+ vertIdx := 0
+ dag.VisitEdges(func(edge *Edge) {
+ fmt.Printf("el[%d]: %#v - %#v\n", vertIdx, edge.Parent, edge.Child)
+ switch vertIdx {
+ case 0:
+ assert.Equal(t, edge.Parent.Name, "A")
+ assert.Equal(t, edge.Child.Name, "B")
+ case 1:
+ assert.Equal(t, edge.Parent.Name, "A")
+ assert.Equal(t, edge.Child.Name, "C")
+ case 2:
+ assert.Equal(t, edge.Parent.Name, "B")
+ assert.Equal(t, edge.Child.Name, "D")
+ case 3:
+ assert.Equal(t, edge.Parent.Name, "D")
+ assert.Equal(t, edge.Child.Name, "E")
+ case 4:
+ assert.Equal(t, edge.Parent.Name, "C")
+ assert.Equal(t, edge.Child.Name, "D")
+ default:
+ assert.True(t, false) // shouldnt get here
+ }
+ vertIdx++
+ })
+
+ fmt.Printf("------------\n")
+}
diff --git a/stacks/config.go b/stacks/config.go
index 37f1415..9179c2c 100644
--- a/stacks/config.go
+++ b/stacks/config.go
@@ -20,11 +20,11 @@ import (
"regexp"
"strings"
+ "github.com/capitalone/stack-deployment-tool/graph"
"github.com/capitalone/stack-deployment-tool/utils"
log "github.com/Sirupsen/logrus"
jsonptr "github.com/dustin/go-jsonpointer"
- dag "github.com/hashicorp/terraform/dag"
)
type Fetcher interface {
@@ -126,18 +126,8 @@ func (c *StacksConfig) FetchEnvStacks(stackRef string) *EnvStacksConfig {
Env: env, StackLabels: stackLabels, Config: c, Stacks: stacks}
}
-func orderedArray(stackLabels []string, deps *dag.AcyclicGraph) []string {
- var result []string
- root, err := deps.Root()
- // stacks that need to be ordered, go first, then everything else.
- if err == nil {
- rootName := root.(dag.NamedVertex).Name()
- log.Debugf("root: %+v\n", rootName)
- // walk children
- result = childrenNames(root, deps)
- } else {
- log.Errorf("Error walking DAG: %#v", err)
- }
+func orderedArray(stackLabels []string, deps *graph.DAG) []string {
+ result := childrenNames(deps.Root, deps)
log.Debugf("orderedArray result: %#v\n", result)
return result
}
@@ -146,65 +136,42 @@ type LabeledVertex interface {
Label() string
}
-type RootNamedVertex struct {
-}
-
-func (r *RootNamedVertex) Name() string {
- return "ROOT"
-}
+var root = &graph.Vertex{Name: "ROOT"}
-func depsGraph(stacks map[string]StackConfig) *dag.AcyclicGraph {
- root := RootNamedVertex{}
+func depsGraph(stacks map[string]StackConfig) *graph.DAG {
// order stack names based on DAG
- depsGraph := &dag.AcyclicGraph{}
- depsGraph.Add(&root)
+ depsGraph := graph.NewDAG()
+
+ depsGraph.AddRoot(root)
for _, st := range stacks {
s := st
- depsGraph.Add(&s)
// depends on maps to the stack label
for _, d := range s.dependsOn() {
src := stacks[d]
if s.Label() != d { // dont add a connection to myself.
- e := dag.BasicEdge(&src, &s)
- depsGraph.Add(&src)
- depsGraph.Connect(e)
+ depsGraph.AddEdgeBetweenVertices(src.Label(), s.Label())
+ } else { // add it off the root
+ depsGraph.AddEdgeBetweenVertices(root.Name, s.Label())
}
}
if len(s.dependsOn()) == 0 {
// add to the root
- depsGraph.Connect(dag.BasicEdge(&root, &s))
- }
- }
- // make sure there are not multiple roots..
- for _, v := range depsGraph.Vertices() {
- if v == &root {
- continue
+ depsGraph.AddEdgeBetweenVertices(root.Name, s.Label())
}
- if depsGraph.UpEdges(v).Len() == 0 {
- depsGraph.Connect(dag.BasicEdge(&root, v))
- }
- }
-
- err := depsGraph.Validate()
- if err != nil {
- log.Fatalf("dependencies invalid, %+v", err)
}
depsGraph.TransitiveReduction()
return depsGraph
}
-// built in methods dont walk correctly because they use Set's that are built on maps with no order guarantees..
-func childrenNames(vertex dag.Vertex, deps *dag.AcyclicGraph) []string {
+func childrenNames(vertex *graph.Vertex, deps *graph.DAG) []string {
var verts []string
- start := dag.AsVertexList(deps.DownEdges(vertex))
- memoFunc := func(v dag.Vertex, d int) error {
- verts = append(verts, v.(LabeledVertex).Label())
- return nil
+ start := deps.VertexList(vertex)
+ for _, v := range start {
+ if v != root {
+ verts = append(verts, v.Name)
+ }
}
- if err := deps.DepthFirstWalk(start, memoFunc); err != nil {
- log.Errorf("Error finding children: %+v", err)
- }
return verts
}
diff --git a/stacks/config_test.go b/stacks/config_test.go
index 442e283..7b7801c 100644
--- a/stacks/config_test.go
+++ b/stacks/config_test.go
@@ -139,6 +139,8 @@ func TestDependsOn(t *testing.T) {
// no order constraints
assert.Contains(t, qa.StackLabels, "nagios-elb")
assert.Contains(t, qa.StackLabels, "nagios-server")
+
+ // qa2
qa2 := c.FetchEnvStacks("qa2")
dns1 := indexInArray("nagios-internal-dns", qa2.StackLabels)
diff --git a/vendor/github.com/Sirupsen/logrus/.travis.yml b/vendor/github.com/Sirupsen/logrus/.travis.yml
index ff23150..dee4eb2 100644
--- a/vendor/github.com/Sirupsen/logrus/.travis.yml
+++ b/vendor/github.com/Sirupsen/logrus/.travis.yml
@@ -3,6 +3,7 @@ go:
- 1.3
- 1.4
- 1.5
+ - 1.6
- tip
install:
- go get -t ./...
diff --git a/vendor/github.com/Sirupsen/logrus/README.md b/vendor/github.com/Sirupsen/logrus/README.md
index 6e1721a..126cd1f 100644
--- a/vendor/github.com/Sirupsen/logrus/README.md
+++ b/vendor/github.com/Sirupsen/logrus/README.md
@@ -218,6 +218,7 @@ Note: Syslog hook also support connecting to local syslog (Ex. "/dev/log" or "/v
| [Rollrus](https://github.com/heroku/rollrus) | Hook for sending errors to rollbar |
| [Fluentd](https://github.com/evalphobia/logrus_fluent) | Hook for logging to fluentd |
| [Mongodb](https://github.com/weekface/mgorus) | Hook for logging to mongodb |
+| [Influxus] (http://github.com/vlad-doru/influxus) | Hook for concurrently logging to [InfluxDB] (http://influxdata.com/) |
| [InfluxDB](https://github.com/Abramovic/logrus_influxdb) | Hook for logging to influxdb |
| [Octokit](https://github.com/dorajistyle/logrus-octokit-hook) | Hook for logging to github via octokit |
| [DeferPanic](https://github.com/deferpanic/dp-logrus) | Hook for logging to DeferPanic |
@@ -226,6 +227,12 @@ Note: Syslog hook also support connecting to local syslog (Ex. "/dev/log" or "/v
| [KafkaLogrus](https://github.com/goibibo/KafkaLogrus) | Hook for logging to kafka |
| [Typetalk](https://github.com/dragon3/logrus-typetalk-hook) | Hook for logging to [Typetalk](https://www.typetalk.in/) |
| [ElasticSearch](https://github.com/sohlich/elogrus) | Hook for logging to ElasticSearch|
+| [Sumorus](https://github.com/doublefree/sumorus) | Hook for logging to [SumoLogic](https://www.sumologic.com/)|
+| [Scribe](https://github.com/sagar8192/logrus-scribe-hook) | Hook for logging to [Scribe](https://github.com/facebookarchive/scribe)|
+| [Logstash](https://github.com/bshuster-repo/logrus-logstash-hook) | Hook for logging to [Logstash](https://www.elastic.co/products/logstash) |
+| [logz.io](https://github.com/ripcurld00d/logrus-logzio-hook) | Hook for logging to [logz.io](https://logz.io), a Log as a Service using Logstash |
+| [Logmatic.io](https://github.com/logmatic/logmatic-go) | Hook for logging to [Logmatic.io](http://logmatic.io/) |
+| [Pushover](https://github.com/toorop/logrus_pushover) | Send error via [Pushover](https://pushover.net) |
#### Level logging
@@ -304,14 +311,10 @@ The built-in logging formatters are:
field to `true`. To force no colored output even if there is a TTY set the
`DisableColors` field to `true`
* `logrus.JSONFormatter`. Logs fields as JSON.
-* `logrus/formatters/logstash.LogstashFormatter`. Logs fields as [Logstash](http://logstash.net) Events.
-
- ```go
- logrus.SetFormatter(&logstash.LogstashFormatter{Type: "application_name"})
- ```
Third party logging formatters:
+* [`logstash`](https://github.com/bshuster-repo/logrus-logstash-hook). Logs fields as [Logstash](http://logstash.net) Events.
* [`prefixed`](https://github.com/x-cray/logrus-prefixed-formatter). Displays log entry source along with alternative layout.
* [`zalgo`](https://github.com/aybabtme/logzalgo). Invoking the P͉̫o̳̼̊w̖͈̰͎e̬͔̭͂r͚̼̹̲ ̫͓͉̳͈ō̠͕͖̚f̝͍̠ ͕̲̞͖͑Z̖̫̤̫ͪa͉̬͈̗l͖͎g̳̥o̰̥̅!̣͔̲̻͊̄ ̙̘̦̹̦.
@@ -367,6 +370,7 @@ entries. It should not be a feature of the application-level logger.
| Tool | Description |
| ---- | ----------- |
|[Logrus Mate](https://github.com/gogap/logrus_mate)|Logrus mate is a tool for Logrus to manage loggers, you can initial logger's level, hook and formatter by config file, the logger will generated with different config at different environment.|
+|[Logrus Viper Helper](https://github.com/heirko/go-contrib/tree/master/logrusHelper)|An Helper arround Logrus to wrap with spf13/Viper to load configuration with fangs! And to simplify Logrus configuration use some behavior of [Logrus Mate](https://github.com/gogap/logrus_mate). [sample](https://github.com/heirko/iris-contrib/blob/master/middleware/logrus-logger/example) |
#### Testing
@@ -386,3 +390,36 @@ assert.Equal("Hello error", hook.LastEntry().Message)
hook.Reset()
assert.Nil(hook.LastEntry())
```
+
+#### Fatal handlers
+
+Logrus can register one or more functions that will be called when any `fatal`
+level message is logged. The registered handlers will be executed before
+logrus performs a `os.Exit(1)`. This behavior may be helpful if callers need
+to gracefully shutdown. Unlike a `panic("Something went wrong...")` call which can be intercepted with a deferred `recover` a call to `os.Exit(1)` can not be intercepted.
+
+```
+...
+handler := func() {
+ // gracefully shutdown something...
+}
+logrus.RegisterExitHandler(handler)
+...
+```
+
+#### Thread safty
+
+By default Logger is protected by mutex for concurrent writes, this mutex is invoked when calling hooks and writing logs.
+If you are sure such locking is not needed, you can call logger.SetNoLock() to disable the locking.
+
+Situation when locking is not needed includes:
+
+* You have no hooks registered, or hooks calling is already thread-safe.
+
+* Writing to logger.Out is already thread-safe, for example:
+
+ 1) logger.Out is protected by locks.
+
+ 2) logger.Out is a os.File handler opened with `O_APPEND` flag, and every write is smaller than 4k. (This allow multi-thread/multi-process writing)
+
+ (Refer to http://www.notthewizard.com/2014/06/17/are-files-appends-really-atomic/)
diff --git a/vendor/github.com/Sirupsen/logrus/alt_exit.go b/vendor/github.com/Sirupsen/logrus/alt_exit.go
new file mode 100644
index 0000000..b4c9e84
--- /dev/null
+++ b/vendor/github.com/Sirupsen/logrus/alt_exit.go
@@ -0,0 +1,64 @@
+package logrus
+
+// The following code was sourced and modified from the
+// https://bitbucket.org/tebeka/atexit package governed by the following license:
+//
+// Copyright (c) 2012 Miki Tebeka .
+//
+// Permission is hereby granted, free of charge, to any person obtaining a copy of
+// this software and associated documentation files (the "Software"), to deal in
+// the Software without restriction, including without limitation the rights to
+// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
+// the Software, and to permit persons to whom the Software is furnished to do so,
+// subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included in all
+// copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
+// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
+// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
+// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+import (
+ "fmt"
+ "os"
+)
+
+var handlers = []func(){}
+
+func runHandler(handler func()) {
+ defer func() {
+ if err := recover(); err != nil {
+ fmt.Fprintln(os.Stderr, "Error: Logrus exit handler error:", err)
+ }
+ }()
+
+ handler()
+}
+
+func runHandlers() {
+ for _, handler := range handlers {
+ runHandler(handler)
+ }
+}
+
+// Exit runs all the Logrus atexit handlers and then terminates the program using os.Exit(code)
+func Exit(code int) {
+ runHandlers()
+ os.Exit(code)
+}
+
+// RegisterExitHandler adds a Logrus Exit handler, call logrus.Exit to invoke
+// all handlers. The handlers will also be invoked when any Fatal log entry is
+// made.
+//
+// This method is useful when a caller wishes to use logrus to log a fatal
+// message but also needs to gracefully shutdown. An example usecase could be
+// closing database connections, or sending a alert that the application is
+// closing.
+func RegisterExitHandler(handler func()) {
+ handlers = append(handlers, handler)
+}
diff --git a/vendor/github.com/Sirupsen/logrus/alt_exit_test.go b/vendor/github.com/Sirupsen/logrus/alt_exit_test.go
new file mode 100644
index 0000000..022b778
--- /dev/null
+++ b/vendor/github.com/Sirupsen/logrus/alt_exit_test.go
@@ -0,0 +1,74 @@
+package logrus
+
+import (
+ "io/ioutil"
+ "os/exec"
+ "testing"
+ "time"
+)
+
+func TestRegister(t *testing.T) {
+ current := len(handlers)
+ RegisterExitHandler(func() {})
+ if len(handlers) != current+1 {
+ t.Fatalf("can't add handler")
+ }
+}
+
+func TestHandler(t *testing.T) {
+ gofile := "/tmp/testprog.go"
+ if err := ioutil.WriteFile(gofile, testprog, 0666); err != nil {
+ t.Fatalf("can't create go file")
+ }
+
+ outfile := "/tmp/testprog.out"
+ arg := time.Now().UTC().String()
+ err := exec.Command("go", "run", gofile, outfile, arg).Run()
+ if err == nil {
+ t.Fatalf("completed normally, should have failed")
+ }
+
+ data, err := ioutil.ReadFile(outfile)
+ if err != nil {
+ t.Fatalf("can't read output file %s", outfile)
+ }
+
+ if string(data) != arg {
+ t.Fatalf("bad data")
+ }
+}
+
+var testprog = []byte(`
+// Test program for atexit, gets output file and data as arguments and writes
+// data to output file in atexit handler.
+package main
+
+import (
+ "github.com/Sirupsen/logrus"
+ "flag"
+ "fmt"
+ "io/ioutil"
+)
+
+var outfile = ""
+var data = ""
+
+func handler() {
+ ioutil.WriteFile(outfile, []byte(data), 0666)
+}
+
+func badHandler() {
+ n := 0
+ fmt.Println(1/n)
+}
+
+func main() {
+ flag.Parse()
+ outfile = flag.Arg(0)
+ data = flag.Arg(1)
+
+ logrus.RegisterExitHandler(handler)
+ logrus.RegisterExitHandler(badHandler)
+ logrus.Fatal("Bye bye")
+}
+`)
diff --git a/vendor/github.com/Sirupsen/logrus/entry.go b/vendor/github.com/Sirupsen/logrus/entry.go
index 89e966e..4edbe7a 100644
--- a/vendor/github.com/Sirupsen/logrus/entry.go
+++ b/vendor/github.com/Sirupsen/logrus/entry.go
@@ -3,11 +3,21 @@ package logrus
import (
"bytes"
"fmt"
- "io"
"os"
+ "sync"
"time"
)
+var bufferPool *sync.Pool
+
+func init() {
+ bufferPool = &sync.Pool{
+ New: func() interface{} {
+ return new(bytes.Buffer)
+ },
+ }
+}
+
// Defines the key when adding errors using WithError.
var ErrorKey = "error"
@@ -29,6 +39,9 @@ type Entry struct {
// Message passed to Debug, Info, Warn, Error, Fatal or Panic
Message string
+
+ // When formatter is called in entry.log(), an Buffer may be set to entry
+ Buffer *bytes.Buffer
}
func NewEntry(logger *Logger) *Entry {
@@ -39,21 +52,15 @@ func NewEntry(logger *Logger) *Entry {
}
}
-// Returns a reader for the entry, which is a proxy to the formatter.
-func (entry *Entry) Reader() (*bytes.Buffer, error) {
- serialized, err := entry.Logger.Formatter.Format(entry)
- return bytes.NewBuffer(serialized), err
-}
-
// Returns the string representation from the reader and ultimately the
// formatter.
func (entry *Entry) String() (string, error) {
- reader, err := entry.Reader()
+ serialized, err := entry.Logger.Formatter.Format(entry)
if err != nil {
return "", err
}
-
- return reader.String(), err
+ str := string(serialized)
+ return str, nil
}
// Add an error as single field (using the key defined in ErrorKey) to the Entry.
@@ -81,6 +88,7 @@ func (entry *Entry) WithFields(fields Fields) *Entry {
// This function is not declared with a pointer value because otherwise
// race conditions will occur when using multiple goroutines
func (entry Entry) log(level Level, msg string) {
+ var buffer *bytes.Buffer
entry.Time = time.Now()
entry.Level = level
entry.Message = msg
@@ -90,20 +98,23 @@ func (entry Entry) log(level Level, msg string) {
fmt.Fprintf(os.Stderr, "Failed to fire hook: %v\n", err)
entry.Logger.mu.Unlock()
}
-
- reader, err := entry.Reader()
+ buffer = bufferPool.Get().(*bytes.Buffer)
+ buffer.Reset()
+ defer bufferPool.Put(buffer)
+ entry.Buffer = buffer
+ serialized, err := entry.Logger.Formatter.Format(&entry)
+ entry.Buffer = nil
if err != nil {
entry.Logger.mu.Lock()
fmt.Fprintf(os.Stderr, "Failed to obtain reader, %v\n", err)
entry.Logger.mu.Unlock()
- }
-
- entry.Logger.mu.Lock()
- defer entry.Logger.mu.Unlock()
-
- _, err = io.Copy(entry.Logger.Out, reader)
- if err != nil {
- fmt.Fprintf(os.Stderr, "Failed to write to log, %v\n", err)
+ } else {
+ entry.Logger.mu.Lock()
+ _, err = entry.Logger.Out.Write(serialized)
+ if err != nil {
+ fmt.Fprintf(os.Stderr, "Failed to write to log, %v\n", err)
+ }
+ entry.Logger.mu.Unlock()
}
// To avoid Entry#log() returning a value that only would make sense for
@@ -150,7 +161,7 @@ func (entry *Entry) Fatal(args ...interface{}) {
if entry.Logger.Level >= FatalLevel {
entry.log(FatalLevel, fmt.Sprint(args...))
}
- os.Exit(1)
+ Exit(1)
}
func (entry *Entry) Panic(args ...interface{}) {
@@ -198,7 +209,7 @@ func (entry *Entry) Fatalf(format string, args ...interface{}) {
if entry.Logger.Level >= FatalLevel {
entry.Fatal(fmt.Sprintf(format, args...))
}
- os.Exit(1)
+ Exit(1)
}
func (entry *Entry) Panicf(format string, args ...interface{}) {
@@ -245,7 +256,7 @@ func (entry *Entry) Fatalln(args ...interface{}) {
if entry.Logger.Level >= FatalLevel {
entry.Fatal(entry.sprintlnn(args...))
}
- os.Exit(1)
+ Exit(1)
}
func (entry *Entry) Panicln(args ...interface{}) {
diff --git a/vendor/github.com/Sirupsen/logrus/formatter.go b/vendor/github.com/Sirupsen/logrus/formatter.go
index 104d689..b5fbe93 100644
--- a/vendor/github.com/Sirupsen/logrus/formatter.go
+++ b/vendor/github.com/Sirupsen/logrus/formatter.go
@@ -31,18 +31,15 @@ type Formatter interface {
// It's not exported because it's still using Data in an opinionated way. It's to
// avoid code duplication between the two default formatters.
func prefixFieldClashes(data Fields) {
- _, ok := data["time"]
- if ok {
- data["fields.time"] = data["time"]
+ if t, ok := data["time"]; ok {
+ data["fields.time"] = t
}
- _, ok = data["msg"]
- if ok {
- data["fields.msg"] = data["msg"]
+ if m, ok := data["msg"]; ok {
+ data["fields.msg"] = m
}
- _, ok = data["level"]
- if ok {
- data["fields.level"] = data["level"]
+ if l, ok := data["level"]; ok {
+ data["fields.level"] = l
}
}
diff --git a/vendor/github.com/Sirupsen/logrus/formatters/logstash/logstash.go b/vendor/github.com/Sirupsen/logrus/formatters/logstash/logstash.go
deleted file mode 100644
index aad646a..0000000
--- a/vendor/github.com/Sirupsen/logrus/formatters/logstash/logstash.go
+++ /dev/null
@@ -1,61 +0,0 @@
-package logstash
-
-import (
- "encoding/json"
- "fmt"
-
- "github.com/Sirupsen/logrus"
-)
-
-// Formatter generates json in logstash format.
-// Logstash site: http://logstash.net/
-type LogstashFormatter struct {
- Type string // if not empty use for logstash type field.
-
- // TimestampFormat sets the format used for timestamps.
- TimestampFormat string
-}
-
-func (f *LogstashFormatter) Format(entry *logrus.Entry) ([]byte, error) {
- fields := make(logrus.Fields)
- for k, v := range entry.Data {
- fields[k] = v
- }
-
- fields["@version"] = 1
-
- if f.TimestampFormat == "" {
- f.TimestampFormat = logrus.DefaultTimestampFormat
- }
-
- fields["@timestamp"] = entry.Time.Format(f.TimestampFormat)
-
- // set message field
- v, ok := entry.Data["message"]
- if ok {
- fields["fields.message"] = v
- }
- fields["message"] = entry.Message
-
- // set level field
- v, ok = entry.Data["level"]
- if ok {
- fields["fields.level"] = v
- }
- fields["level"] = entry.Level.String()
-
- // set type field
- if f.Type != "" {
- v, ok = entry.Data["type"]
- if ok {
- fields["fields.type"] = v
- }
- fields["type"] = f.Type
- }
-
- serialized, err := json.Marshal(fields)
- if err != nil {
- return nil, fmt.Errorf("Failed to marshal fields to JSON, %v", err)
- }
- return append(serialized, '\n'), nil
-}
diff --git a/vendor/github.com/Sirupsen/logrus/formatters/logstash/logstash_test.go b/vendor/github.com/Sirupsen/logrus/formatters/logstash/logstash_test.go
deleted file mode 100644
index d8814a0..0000000
--- a/vendor/github.com/Sirupsen/logrus/formatters/logstash/logstash_test.go
+++ /dev/null
@@ -1,52 +0,0 @@
-package logstash
-
-import (
- "bytes"
- "encoding/json"
- "github.com/Sirupsen/logrus"
- "github.com/stretchr/testify/assert"
- "testing"
-)
-
-func TestLogstashFormatter(t *testing.T) {
- assert := assert.New(t)
-
- lf := LogstashFormatter{Type: "abc"}
-
- fields := logrus.Fields{
- "message": "def",
- "level": "ijk",
- "type": "lmn",
- "one": 1,
- "pi": 3.14,
- "bool": true,
- }
-
- entry := logrus.WithFields(fields)
- entry.Message = "msg"
- entry.Level = logrus.InfoLevel
-
- b, _ := lf.Format(entry)
-
- var data map[string]interface{}
- dec := json.NewDecoder(bytes.NewReader(b))
- dec.UseNumber()
- dec.Decode(&data)
-
- // base fields
- assert.Equal(json.Number("1"), data["@version"])
- assert.NotEmpty(data["@timestamp"])
- assert.Equal("abc", data["type"])
- assert.Equal("msg", data["message"])
- assert.Equal("info", data["level"])
-
- // substituted fields
- assert.Equal("def", data["fields.message"])
- assert.Equal("ijk", data["fields.level"])
- assert.Equal("lmn", data["fields.type"])
-
- // formats
- assert.Equal(json.Number("1"), data["one"])
- assert.Equal(json.Number("3.14"), data["pi"])
- assert.Equal(true, data["bool"])
-}
diff --git a/vendor/github.com/Sirupsen/logrus/logger.go b/vendor/github.com/Sirupsen/logrus/logger.go
index 2fdb231..b769f3d 100644
--- a/vendor/github.com/Sirupsen/logrus/logger.go
+++ b/vendor/github.com/Sirupsen/logrus/logger.go
@@ -26,8 +26,31 @@ type Logger struct {
// to) `logrus.Info`, which allows Info(), Warn(), Error() and Fatal() to be
// logged. `logrus.Debug` is useful in
Level Level
- // Used to sync writing to the log.
- mu sync.Mutex
+ // Used to sync writing to the log. Locking is enabled by Default
+ mu MutexWrap
+ // Reusable empty entry
+ entryPool sync.Pool
+}
+
+type MutexWrap struct {
+ lock sync.Mutex
+ disabled bool
+}
+
+func (mw *MutexWrap) Lock() {
+ if !mw.disabled {
+ mw.lock.Lock()
+ }
+}
+
+func (mw *MutexWrap) Unlock() {
+ if !mw.disabled {
+ mw.lock.Unlock()
+ }
+}
+
+func (mw *MutexWrap) Disable() {
+ mw.disabled = true
}
// Creates a new logger. Configuration should be set by changing `Formatter`,
@@ -51,162 +74,235 @@ func New() *Logger {
}
}
-// Adds a field to the log entry, note that you it doesn't log until you call
+func (logger *Logger) newEntry() *Entry {
+ entry, ok := logger.entryPool.Get().(*Entry)
+ if ok {
+ return entry
+ }
+ return NewEntry(logger)
+}
+
+func (logger *Logger) releaseEntry(entry *Entry) {
+ logger.entryPool.Put(entry)
+}
+
+// Adds a field to the log entry, note that it doesn't log until you call
// Debug, Print, Info, Warn, Fatal or Panic. It only creates a log entry.
// If you want multiple fields, use `WithFields`.
func (logger *Logger) WithField(key string, value interface{}) *Entry {
- return NewEntry(logger).WithField(key, value)
+ entry := logger.newEntry()
+ defer logger.releaseEntry(entry)
+ return entry.WithField(key, value)
}
// Adds a struct of fields to the log entry. All it does is call `WithField` for
// each `Field`.
func (logger *Logger) WithFields(fields Fields) *Entry {
- return NewEntry(logger).WithFields(fields)
+ entry := logger.newEntry()
+ defer logger.releaseEntry(entry)
+ return entry.WithFields(fields)
}
// Add an error as single field to the log entry. All it does is call
// `WithError` for the given `error`.
func (logger *Logger) WithError(err error) *Entry {
- return NewEntry(logger).WithError(err)
+ entry := logger.newEntry()
+ defer logger.releaseEntry(entry)
+ return entry.WithError(err)
}
func (logger *Logger) Debugf(format string, args ...interface{}) {
if logger.Level >= DebugLevel {
- NewEntry(logger).Debugf(format, args...)
+ entry := logger.newEntry()
+ entry.Debugf(format, args...)
+ logger.releaseEntry(entry)
}
}
func (logger *Logger) Infof(format string, args ...interface{}) {
if logger.Level >= InfoLevel {
- NewEntry(logger).Infof(format, args...)
+ entry := logger.newEntry()
+ entry.Infof(format, args...)
+ logger.releaseEntry(entry)
}
}
func (logger *Logger) Printf(format string, args ...interface{}) {
- NewEntry(logger).Printf(format, args...)
+ entry := logger.newEntry()
+ entry.Printf(format, args...)
+ logger.releaseEntry(entry)
}
func (logger *Logger) Warnf(format string, args ...interface{}) {
if logger.Level >= WarnLevel {
- NewEntry(logger).Warnf(format, args...)
+ entry := logger.newEntry()
+ entry.Warnf(format, args...)
+ logger.releaseEntry(entry)
}
}
func (logger *Logger) Warningf(format string, args ...interface{}) {
if logger.Level >= WarnLevel {
- NewEntry(logger).Warnf(format, args...)
+ entry := logger.newEntry()
+ entry.Warnf(format, args...)
+ logger.releaseEntry(entry)
}
}
func (logger *Logger) Errorf(format string, args ...interface{}) {
if logger.Level >= ErrorLevel {
- NewEntry(logger).Errorf(format, args...)
+ entry := logger.newEntry()
+ entry.Errorf(format, args...)
+ logger.releaseEntry(entry)
}
}
func (logger *Logger) Fatalf(format string, args ...interface{}) {
if logger.Level >= FatalLevel {
- NewEntry(logger).Fatalf(format, args...)
+ entry := logger.newEntry()
+ entry.Fatalf(format, args...)
+ logger.releaseEntry(entry)
}
- os.Exit(1)
+ Exit(1)
}
func (logger *Logger) Panicf(format string, args ...interface{}) {
if logger.Level >= PanicLevel {
- NewEntry(logger).Panicf(format, args...)
+ entry := logger.newEntry()
+ entry.Panicf(format, args...)
+ logger.releaseEntry(entry)
}
}
func (logger *Logger) Debug(args ...interface{}) {
if logger.Level >= DebugLevel {
- NewEntry(logger).Debug(args...)
+ entry := logger.newEntry()
+ entry.Debug(args...)
+ logger.releaseEntry(entry)
}
}
func (logger *Logger) Info(args ...interface{}) {
if logger.Level >= InfoLevel {
- NewEntry(logger).Info(args...)
+ entry := logger.newEntry()
+ entry.Info(args...)
+ logger.releaseEntry(entry)
}
}
func (logger *Logger) Print(args ...interface{}) {
- NewEntry(logger).Info(args...)
+ entry := logger.newEntry()
+ entry.Info(args...)
+ logger.releaseEntry(entry)
}
func (logger *Logger) Warn(args ...interface{}) {
if logger.Level >= WarnLevel {
- NewEntry(logger).Warn(args...)
+ entry := logger.newEntry()
+ entry.Warn(args...)
+ logger.releaseEntry(entry)
}
}
func (logger *Logger) Warning(args ...interface{}) {
if logger.Level >= WarnLevel {
- NewEntry(logger).Warn(args...)
+ entry := logger.newEntry()
+ entry.Warn(args...)
+ logger.releaseEntry(entry)
}
}
func (logger *Logger) Error(args ...interface{}) {
if logger.Level >= ErrorLevel {
- NewEntry(logger).Error(args...)
+ entry := logger.newEntry()
+ entry.Error(args...)
+ logger.releaseEntry(entry)
}
}
func (logger *Logger) Fatal(args ...interface{}) {
if logger.Level >= FatalLevel {
- NewEntry(logger).Fatal(args...)
+ entry := logger.newEntry()
+ entry.Fatal(args...)
+ logger.releaseEntry(entry)
}
- os.Exit(1)
+ Exit(1)
}
func (logger *Logger) Panic(args ...interface{}) {
if logger.Level >= PanicLevel {
- NewEntry(logger).Panic(args...)
+ entry := logger.newEntry()
+ entry.Panic(args...)
+ logger.releaseEntry(entry)
}
}
func (logger *Logger) Debugln(args ...interface{}) {
if logger.Level >= DebugLevel {
- NewEntry(logger).Debugln(args...)
+ entry := logger.newEntry()
+ entry.Debugln(args...)
+ logger.releaseEntry(entry)
}
}
func (logger *Logger) Infoln(args ...interface{}) {
if logger.Level >= InfoLevel {
- NewEntry(logger).Infoln(args...)
+ entry := logger.newEntry()
+ entry.Infoln(args...)
+ logger.releaseEntry(entry)
}
}
func (logger *Logger) Println(args ...interface{}) {
- NewEntry(logger).Println(args...)
+ entry := logger.newEntry()
+ entry.Println(args...)
+ logger.releaseEntry(entry)
}
func (logger *Logger) Warnln(args ...interface{}) {
if logger.Level >= WarnLevel {
- NewEntry(logger).Warnln(args...)
+ entry := logger.newEntry()
+ entry.Warnln(args...)
+ logger.releaseEntry(entry)
}
}
func (logger *Logger) Warningln(args ...interface{}) {
if logger.Level >= WarnLevel {
- NewEntry(logger).Warnln(args...)
+ entry := logger.newEntry()
+ entry.Warnln(args...)
+ logger.releaseEntry(entry)
}
}
func (logger *Logger) Errorln(args ...interface{}) {
if logger.Level >= ErrorLevel {
- NewEntry(logger).Errorln(args...)
+ entry := logger.newEntry()
+ entry.Errorln(args...)
+ logger.releaseEntry(entry)
}
}
func (logger *Logger) Fatalln(args ...interface{}) {
if logger.Level >= FatalLevel {
- NewEntry(logger).Fatalln(args...)
+ entry := logger.newEntry()
+ entry.Fatalln(args...)
+ logger.releaseEntry(entry)
}
- os.Exit(1)
+ Exit(1)
}
func (logger *Logger) Panicln(args ...interface{}) {
if logger.Level >= PanicLevel {
- NewEntry(logger).Panicln(args...)
+ entry := logger.newEntry()
+ entry.Panicln(args...)
+ logger.releaseEntry(entry)
}
}
+
+//When file is opened with appending mode, it's safe to
+//write concurrently to a file (within 4k message on Linux).
+//In these cases user can choose to disable the lock.
+func (logger *Logger) SetNoLock() {
+ logger.mu.Disable()
+}
diff --git a/vendor/github.com/Sirupsen/logrus/logger_bench_test.go b/vendor/github.com/Sirupsen/logrus/logger_bench_test.go
new file mode 100644
index 0000000..dd23a35
--- /dev/null
+++ b/vendor/github.com/Sirupsen/logrus/logger_bench_test.go
@@ -0,0 +1,61 @@
+package logrus
+
+import (
+ "os"
+ "testing"
+)
+
+// smallFields is a small size data set for benchmarking
+var loggerFields = Fields{
+ "foo": "bar",
+ "baz": "qux",
+ "one": "two",
+ "three": "four",
+}
+
+func BenchmarkDummyLogger(b *testing.B) {
+ nullf, err := os.OpenFile("/dev/null", os.O_WRONLY, 0666)
+ if err != nil {
+ b.Fatalf("%v", err)
+ }
+ defer nullf.Close()
+ doLoggerBenchmark(b, nullf, &TextFormatter{DisableColors: true}, smallFields)
+}
+
+func BenchmarkDummyLoggerNoLock(b *testing.B) {
+ nullf, err := os.OpenFile("/dev/null", os.O_WRONLY|os.O_APPEND, 0666)
+ if err != nil {
+ b.Fatalf("%v", err)
+ }
+ defer nullf.Close()
+ doLoggerBenchmarkNoLock(b, nullf, &TextFormatter{DisableColors: true}, smallFields)
+}
+
+func doLoggerBenchmark(b *testing.B, out *os.File, formatter Formatter, fields Fields) {
+ logger := Logger{
+ Out: out,
+ Level: InfoLevel,
+ Formatter: formatter,
+ }
+ entry := logger.WithFields(fields)
+ b.RunParallel(func(pb *testing.PB) {
+ for pb.Next() {
+ entry.Info("aaa")
+ }
+ })
+}
+
+func doLoggerBenchmarkNoLock(b *testing.B, out *os.File, formatter Formatter, fields Fields) {
+ logger := Logger{
+ Out: out,
+ Level: InfoLevel,
+ Formatter: formatter,
+ }
+ logger.SetNoLock()
+ entry := logger.WithFields(fields)
+ b.RunParallel(func(pb *testing.PB) {
+ for pb.Next() {
+ entry.Info("aaa")
+ }
+ })
+}
diff --git a/vendor/github.com/Sirupsen/logrus/terminal_appengine.go b/vendor/github.com/Sirupsen/logrus/terminal_appengine.go
new file mode 100644
index 0000000..1960169
--- /dev/null
+++ b/vendor/github.com/Sirupsen/logrus/terminal_appengine.go
@@ -0,0 +1,8 @@
+// +build appengine
+
+package logrus
+
+// IsTerminal returns true if stderr's file descriptor is a terminal.
+func IsTerminal() bool {
+ return true
+}
diff --git a/vendor/github.com/Sirupsen/logrus/terminal_bsd.go b/vendor/github.com/Sirupsen/logrus/terminal_bsd.go
index 71f8d67..5f6be4d 100644
--- a/vendor/github.com/Sirupsen/logrus/terminal_bsd.go
+++ b/vendor/github.com/Sirupsen/logrus/terminal_bsd.go
@@ -1,4 +1,5 @@
// +build darwin freebsd openbsd netbsd dragonfly
+// +build !appengine
package logrus
diff --git a/vendor/github.com/Sirupsen/logrus/terminal_linux.go b/vendor/github.com/Sirupsen/logrus/terminal_linux.go
index a2c0b40..308160c 100644
--- a/vendor/github.com/Sirupsen/logrus/terminal_linux.go
+++ b/vendor/github.com/Sirupsen/logrus/terminal_linux.go
@@ -3,6 +3,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+// +build !appengine
+
package logrus
import "syscall"
diff --git a/vendor/github.com/Sirupsen/logrus/terminal_notwindows.go b/vendor/github.com/Sirupsen/logrus/terminal_notwindows.go
index b343b3a..329038f 100644
--- a/vendor/github.com/Sirupsen/logrus/terminal_notwindows.go
+++ b/vendor/github.com/Sirupsen/logrus/terminal_notwindows.go
@@ -4,6 +4,7 @@
// license that can be found in the LICENSE file.
// +build linux darwin freebsd openbsd netbsd dragonfly
+// +build !appengine
package logrus
diff --git a/vendor/github.com/Sirupsen/logrus/terminal_solaris.go b/vendor/github.com/Sirupsen/logrus/terminal_solaris.go
index 3e70bf7..a3c6f6e 100644
--- a/vendor/github.com/Sirupsen/logrus/terminal_solaris.go
+++ b/vendor/github.com/Sirupsen/logrus/terminal_solaris.go
@@ -1,4 +1,4 @@
-// +build solaris
+// +build solaris,!appengine
package logrus
diff --git a/vendor/github.com/Sirupsen/logrus/terminal_windows.go b/vendor/github.com/Sirupsen/logrus/terminal_windows.go
index 0146845..3727e8a 100644
--- a/vendor/github.com/Sirupsen/logrus/terminal_windows.go
+++ b/vendor/github.com/Sirupsen/logrus/terminal_windows.go
@@ -3,7 +3,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-// +build windows
+// +build windows,!appengine
package logrus
diff --git a/vendor/github.com/Sirupsen/logrus/text_formatter.go b/vendor/github.com/Sirupsen/logrus/text_formatter.go
index 06ef202..9114b3c 100644
--- a/vendor/github.com/Sirupsen/logrus/text_formatter.go
+++ b/vendor/github.com/Sirupsen/logrus/text_formatter.go
@@ -57,6 +57,7 @@ type TextFormatter struct {
}
func (f *TextFormatter) Format(entry *Entry) ([]byte, error) {
+ var b *bytes.Buffer
var keys []string = make([]string, 0, len(entry.Data))
for k := range entry.Data {
keys = append(keys, k)
@@ -65,8 +66,11 @@ func (f *TextFormatter) Format(entry *Entry) ([]byte, error) {
if !f.DisableSorting {
sort.Strings(keys)
}
-
- b := &bytes.Buffer{}
+ if entry.Buffer != nil {
+ b = entry.Buffer
+ } else {
+ b = &bytes.Buffer{}
+ }
prefixFieldClashes(entry.Data)
@@ -118,7 +122,8 @@ func (f *TextFormatter) printColored(b *bytes.Buffer, entry *Entry, keys []strin
}
for _, k := range keys {
v := entry.Data[k]
- fmt.Fprintf(b, " \x1b[%dm%s\x1b[0m=%+v", levelColor, k, v)
+ fmt.Fprintf(b, " \x1b[%dm%s\x1b[0m=", levelColor, k)
+ f.appendValue(b, v)
}
}
@@ -128,34 +133,36 @@ func needsQuoting(text string) bool {
(ch >= 'A' && ch <= 'Z') ||
(ch >= '0' && ch <= '9') ||
ch == '-' || ch == '.') {
- return false
+ return true
}
}
- return true
+ return false
}
func (f *TextFormatter) appendKeyValue(b *bytes.Buffer, key string, value interface{}) {
b.WriteString(key)
b.WriteByte('=')
+ f.appendValue(b, value)
+ b.WriteByte(' ')
+}
+func (f *TextFormatter) appendValue(b *bytes.Buffer, value interface{}) {
switch value := value.(type) {
case string:
- if needsQuoting(value) {
+ if !needsQuoting(value) {
b.WriteString(value)
} else {
fmt.Fprintf(b, "%q", value)
}
case error:
errmsg := value.Error()
- if needsQuoting(errmsg) {
+ if !needsQuoting(errmsg) {
b.WriteString(errmsg)
} else {
- fmt.Fprintf(b, "%q", value)
+ fmt.Fprintf(b, "%q", errmsg)
}
default:
fmt.Fprint(b, value)
}
-
- b.WriteByte(' ')
}
diff --git a/vendor/github.com/Sirupsen/logrus/writer.go b/vendor/github.com/Sirupsen/logrus/writer.go
index 1e30b1c..f74d2aa 100644
--- a/vendor/github.com/Sirupsen/logrus/writer.go
+++ b/vendor/github.com/Sirupsen/logrus/writer.go
@@ -7,18 +7,40 @@ import (
)
func (logger *Logger) Writer() *io.PipeWriter {
+ return logger.WriterLevel(InfoLevel)
+}
+
+func (logger *Logger) WriterLevel(level Level) *io.PipeWriter {
reader, writer := io.Pipe()
- go logger.writerScanner(reader)
+ var printFunc func(args ...interface{})
+ switch level {
+ case DebugLevel:
+ printFunc = logger.Debug
+ case InfoLevel:
+ printFunc = logger.Info
+ case WarnLevel:
+ printFunc = logger.Warn
+ case ErrorLevel:
+ printFunc = logger.Error
+ case FatalLevel:
+ printFunc = logger.Fatal
+ case PanicLevel:
+ printFunc = logger.Panic
+ default:
+ printFunc = logger.Print
+ }
+
+ go logger.writerScanner(reader, printFunc)
runtime.SetFinalizer(writer, writerFinalizer)
return writer
}
-func (logger *Logger) writerScanner(reader *io.PipeReader) {
+func (logger *Logger) writerScanner(reader *io.PipeReader, printFunc func(args ...interface{})) {
scanner := bufio.NewScanner(reader)
for scanner.Scan() {
- logger.Print(scanner.Text())
+ printFunc(scanner.Text())
}
if err := scanner.Err(); err != nil {
logger.Errorf("Error while reading from Writer: %s", err)
diff --git a/vendor/github.com/aws/aws-sdk-go/CHANGELOG.md b/vendor/github.com/aws/aws-sdk-go/CHANGELOG.md
index 38ba675..80921a7 100644
--- a/vendor/github.com/aws/aws-sdk-go/CHANGELOG.md
+++ b/vendor/github.com/aws/aws-sdk-go/CHANGELOG.md
@@ -1,3 +1,83 @@
+Release v1.5.8 (2016-11-18)
+===
+
+Service Client Updates
+---
+`service/application-autoscaling`: Updates service API and documentation
+`service/elasticmapreduce`: Updates service API and documentation
+`service/elastictranscoder`: Updates service API, documentation, and examples
+`service/gamelift`: Updates service API and documentation
+`service/lambda`: Updates service API and documentation
+
+Release v1.5.7 (2016-11-18)
+===
+
+Service Client Updates
+---
+`service/apigateway`: Updates service API and documentation
+`service/meteringmarketplace`: Updates service API and documentation
+`service/monitoring`: Updates service API and documentation
+`service/sqs`: Updates service API, documentation, and examples
+
+Release v1.5.6 (2016-11-16)
+===
+
+Service Client Updates
+---
+`service/route53`: Updates service API and documentation
+`service/servicecatalog`: Updates service API and documentation
+
+Release v1.5.5 (2016-11-15)
+===
+
+Service Client Updates
+---
+`service/ds`: Updates service API and documentation
+`service/elasticache`: Updates service API and documentation
+`service/kinesis`: Updates service API and documentation
+
+Release v1.5.4 (2016-11-15)
+===
+
+Service Client Updates
+---
+`service/cognito-idp`: Updates service API and documentation
+
+Release v1.5.3 (2016-11-11)
+===
+
+Service Client Updates
+---
+`service/cloudformation`: Updates service documentation and examples
+`service/logs`: Updates service API and documentation
+
+Release v1.5.2 (2016-11-03)
+===
+
+Service Client Updates
+---
+`service/directconnect`: Updates service API and documentation
+
+Release v1.5.1 (2016-11-02)
+===
+
+Service Client Updates
+---
+`service/email`: Updates service API and documentation
+
+Release v1.5.0 (2016-11-01)
+===
+
+Service Client Updates
+---
+`service/cloudformation`: Updates service API and documentation
+`service/ecr`: Updates service paginators
+
+SDK Feature Updates
+---
+* `private/model/api`: Add generated setters for API parameters (#918)
+ * Adds setters to the SDK's API parameter types, and are a convenience method that reduce the need to use `aws.String` and like utility.
+
Release v1.4.22 (2016-10-25)
===
@@ -43,7 +123,7 @@ Service Client Updates
SDK Feature Updates
---
* `service/dynamodb/dynamodbattribute`: Add UnmarshalListOfMaps #897
- * Adds support for unmarshalling a list of maps. This is useful for unmarshalling the DynamoDB AttributeValue list of maps returned by APIs like Query and Scan.
+ * Adds support for unmarshaling a list of maps. This is useful for unmarshaling the DynamoDB AttributeValue list of maps returned by APIs like Query and Scan.
Release v1.4.18 (2016-10-17)
===
diff --git a/vendor/github.com/aws/aws-sdk-go/README.md b/vendor/github.com/aws/aws-sdk-go/README.md
index 947643a..df806f4 100644
--- a/vendor/github.com/aws/aws-sdk-go/README.md
+++ b/vendor/github.com/aws/aws-sdk-go/README.md
@@ -84,10 +84,15 @@ import (
)
func main() {
+ sess, err := session.NewSession()
+ if err != nil {
+ panic(err)
+ }
+
// Create an EC2 service object in the "us-west-2" region
// Note that you can also configure your region globally by
// exporting the AWS_REGION environment variable
- svc := ec2.New(session.NewSession(), &aws.Config{Region: aws.String("us-west-2")})
+ svc := ec2.New(sess, &aws.Config{Region: aws.String("us-west-2")})
// Call the DescribeInstances Operation
resp, err := svc.DescribeInstances(nil)
diff --git a/vendor/github.com/aws/aws-sdk-go/aws/awsutil/prettify.go b/vendor/github.com/aws/aws-sdk-go/aws/awsutil/prettify.go
index fc38172..710eb43 100644
--- a/vendor/github.com/aws/aws-sdk-go/aws/awsutil/prettify.go
+++ b/vendor/github.com/aws/aws-sdk-go/aws/awsutil/prettify.go
@@ -61,6 +61,12 @@ func prettify(v reflect.Value, indent int, buf *bytes.Buffer) {
buf.WriteString("\n" + strings.Repeat(" ", indent) + "}")
case reflect.Slice:
+ strtype := v.Type().String()
+ if strtype == "[]uint8" {
+ fmt.Fprintf(buf, " len %d", v.Len())
+ break
+ }
+
nl, id, id2 := "", "", ""
if v.Len() > 3 {
nl, id, id2 = "\n", strings.Repeat(" ", indent), strings.Repeat(" ", indent+2)
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 34c2bab..bf23d1e 100644
--- a/vendor/github.com/aws/aws-sdk-go/aws/config.go
+++ b/vendor/github.com/aws/aws-sdk-go/aws/config.go
@@ -182,6 +182,19 @@ type Config struct {
// the delay of a request see the aws/client.DefaultRetryer and
// aws/request.Retryer.
SleepDelay func(time.Duration)
+
+ // DisableRestProtocolURICleaning will not clean the URL path when making rest protocol requests.
+ // Will default to false. This would only be used for empty directory names in s3 requests.
+ //
+ // Example:
+ // sess, err := session.NewSession(&aws.Config{DisableRestProtocolURICleaning: aws.Bool(true))
+ //
+ // svc := s3.New(sess)
+ // out, err := svc.GetObject(&s3.GetObjectInput {
+ // Bucket: aws.String("bucketname"),
+ // Key: aws.String("//foo//bar//moo"),
+ // })
+ DisableRestProtocolURICleaning *bool
}
// NewConfig returns a new Config pointer that can be chained with builder
@@ -403,6 +416,10 @@ func mergeInConfig(dst *Config, other *Config) {
if other.SleepDelay != nil {
dst.SleepDelay = other.SleepDelay
}
+
+ if other.DisableRestProtocolURICleaning != nil {
+ dst.DisableRestProtocolURICleaning = other.DisableRestProtocolURICleaning
+ }
}
// Copy will return a shallow copy of the Config object. If any additional
diff --git a/vendor/github.com/aws/aws-sdk-go/aws/corehandlers/handlers_test.go b/vendor/github.com/aws/aws-sdk-go/aws/corehandlers/handlers_test.go
index ec9d78f..7992851 100644
--- a/vendor/github.com/aws/aws-sdk-go/aws/corehandlers/handlers_test.go
+++ b/vendor/github.com/aws/aws-sdk-go/aws/corehandlers/handlers_test.go
@@ -161,7 +161,9 @@ func setupContentLengthTestServer(t *testing.T, hasContentLength bool, contentLe
server := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
_, ok := r.Header["Content-Length"]
assert.Equal(t, hasContentLength, ok, "expect content length to be set, %t", hasContentLength)
- assert.Equal(t, contentLength, r.ContentLength)
+ if hasContentLength {
+ assert.Equal(t, contentLength, r.ContentLength)
+ }
b, err := ioutil.ReadAll(r.Body)
assert.NoError(t, err)
diff --git a/vendor/github.com/aws/aws-sdk-go/aws/credentials/ec2rolecreds/ec2_role_provider.go b/vendor/github.com/aws/aws-sdk-go/aws/credentials/ec2rolecreds/ec2_role_provider.go
index aa9d689..c397495 100644
--- a/vendor/github.com/aws/aws-sdk-go/aws/credentials/ec2rolecreds/ec2_role_provider.go
+++ b/vendor/github.com/aws/aws-sdk-go/aws/credentials/ec2rolecreds/ec2_role_provider.go
@@ -111,7 +111,7 @@ func (m *EC2RoleProvider) Retrieve() (credentials.Value, error) {
}, nil
}
-// A ec2RoleCredRespBody provides the shape for unmarshalling credential
+// A ec2RoleCredRespBody provides the shape for unmarshaling credential
// request responses.
type ec2RoleCredRespBody struct {
// Success State
diff --git a/vendor/github.com/aws/aws-sdk-go/aws/ec2metadata/api.go b/vendor/github.com/aws/aws-sdk-go/aws/ec2metadata/api.go
index e5755d1..984407a 100644
--- a/vendor/github.com/aws/aws-sdk-go/aws/ec2metadata/api.go
+++ b/vendor/github.com/aws/aws-sdk-go/aws/ec2metadata/api.go
@@ -133,7 +133,7 @@ func (c *EC2Metadata) Available() bool {
return true
}
-// An EC2IAMInfo provides the shape for unmarshalling
+// An EC2IAMInfo provides the shape for unmarshaling
// an IAM info from the metadata API
type EC2IAMInfo struct {
Code string
@@ -142,7 +142,7 @@ type EC2IAMInfo struct {
InstanceProfileID string
}
-// An EC2InstanceIdentityDocument provides the shape for unmarshalling
+// An EC2InstanceIdentityDocument provides the shape for unmarshaling
// an instance identity document
type EC2InstanceIdentityDocument struct {
DevpayProductCodes []string `json:"devpayProductCodes"`
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 986530b..90fe1ff 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
@@ -300,6 +300,10 @@ func (v4 Signer) signWithBody(r *http.Request, body io.ReadSeeker, service, regi
DisableURIPathEscaping: v4.DisableURIPathEscaping,
}
+ for key := range ctx.Query {
+ sort.Strings(ctx.Query[key])
+ }
+
if ctx.isRequestSigned() {
ctx.Time = currentTimeFn()
ctx.handlePresignRemoval()
diff --git a/vendor/github.com/aws/aws-sdk-go/aws/signer/v4/v4_test.go b/vendor/github.com/aws/aws-sdk-go/aws/signer/v4/v4_test.go
index cf7a9ac..b225a86 100644
--- a/vendor/github.com/aws/aws-sdk-go/aws/signer/v4/v4_test.go
+++ b/vendor/github.com/aws/aws-sdk-go/aws/signer/v4/v4_test.go
@@ -101,6 +101,28 @@ func TestPresignRequest(t *testing.T) {
assert.Equal(t, expectedTarget, q.Get("X-Amz-Target"))
}
+func TestPresignBodyWithArrayRequest(t *testing.T) {
+ req, body := buildRequest("dynamodb", "us-east-1", "{}")
+ req.URL.RawQuery = "Foo=z&Foo=o&Foo=m&Foo=a"
+
+ signer := buildSigner()
+ signer.Presign(req, body, "dynamodb", "us-east-1", 300*time.Second, time.Unix(0, 0))
+
+ expectedDate := "19700101T000000Z"
+ expectedHeaders := "content-length;content-type;host;x-amz-meta-other-header;x-amz-meta-other-header_with_underscore"
+ expectedSig := "fef6002062400bbf526d70f1a6456abc0fb2e213fe1416012737eebd42a62924"
+ expectedCred := "AKID/19700101/us-east-1/dynamodb/aws4_request"
+ expectedTarget := "prefix.Operation"
+
+ q := req.URL.Query()
+ assert.Equal(t, expectedSig, q.Get("X-Amz-Signature"))
+ assert.Equal(t, expectedCred, q.Get("X-Amz-Credential"))
+ assert.Equal(t, expectedHeaders, q.Get("X-Amz-SignedHeaders"))
+ assert.Equal(t, expectedDate, q.Get("X-Amz-Date"))
+ assert.Empty(t, q.Get("X-Amz-Meta-Other-Header"))
+ assert.Equal(t, expectedTarget, q.Get("X-Amz-Target"))
+}
+
func TestSignRequest(t *testing.T) {
req, body := buildRequest("dynamodb", "us-east-1", "{}")
signer := buildSigner()
@@ -384,6 +406,24 @@ func TestSignWithRequestBody_Overwrite(t *testing.T) {
assert.Equal(t, http.StatusOK, resp.StatusCode)
}
+func TestBuildCanonicalRequest(t *testing.T) {
+ req, body := buildRequest("dynamodb", "us-east-1", "{}")
+ req.URL.RawQuery = "Foo=z&Foo=o&Foo=m&Foo=a"
+ ctx := &signingCtx{
+ ServiceName: "dynamodb",
+ Region: "us-east-1",
+ Request: req,
+ Body: body,
+ Query: req.URL.Query(),
+ Time: time.Now(),
+ ExpireTime: 5 * time.Second,
+ }
+
+ ctx.buildCanonicalString()
+ expected := "https://example.org/bucket/key-._~,!@#$%^&*()?Foo=z&Foo=o&Foo=m&Foo=a"
+ assert.Equal(t, expected, ctx.Request.URL.String())
+}
+
func BenchmarkPresignRequest(b *testing.B) {
signer := buildSigner()
req, body := buildRequest("dynamodb", "us-east-1", "{}")
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 b01cd70..9492440 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.4.22"
+const SDKVersion = "1.5.8"
diff --git a/vendor/github.com/aws/aws-sdk-go/awstesting/sandbox/Dockerfile.golang-tip b/vendor/github.com/aws/aws-sdk-go/awstesting/sandbox/Dockerfile.golang-tip
index 70148d5..6d51663 100644
--- a/vendor/github.com/aws/aws-sdk-go/awstesting/sandbox/Dockerfile.golang-tip
+++ b/vendor/github.com/aws/aws-sdk-go/awstesting/sandbox/Dockerfile.golang-tip
@@ -3,8 +3,7 @@
# https://github.com/docker-library/golang/blob/master/1.6/wheezy/Dockerfile
FROM buildpack-deps:wheezy-scm
-ENV GOLANG_VERSION tip
-ENV GOLANG_SRC_REPO_URL https://go.googlesource.com/go
+ENV GOLANG_SRC_REPO_URL https://github.com/golang/go
ENV GOLANG_BOOTSTRAP_URL https://storage.googleapis.com/golang/go1.4.3.linux-amd64.tar.gz
ENV GOLANG_BOOTSTRAP_SHA256 ce3140662f45356eb78bc16a88fc7cfb29fb00e18d7c632608245b789b2086d2
diff --git a/vendor/github.com/aws/aws-sdk-go/example/service/dynamodb/unitTest/README.md b/vendor/github.com/aws/aws-sdk-go/example/service/dynamodb/unitTest/README.md
new file mode 100644
index 0000000..b6f3d32
--- /dev/null
+++ b/vendor/github.com/aws/aws-sdk-go/example/service/dynamodb/unitTest/README.md
@@ -0,0 +1,49 @@
+# Example
+You can instantiate `*dynamodb.DynamoDB` and pass that as a parameter to all
+methods connecting to DynamoDB, or as `unitTest` demonstrates, create your own
+`type` and pass it along as a field.
+
+## Test-compatible DynamoDB field
+If you use `*dynamodb.DynamoDB` as a field, you will be unable to unit test it,
+as documented in #88. Cast it instead as `dynamodbiface.DynamoDBAPI`:
+```go
+type ItemGetter struct {
+ DynamoDB dynamodbiface.DynamoDBAPI
+}
+```
+
+## Querying actual DyanmoDB
+You'll need an `*aws.Config` and `*session.Session` for these to work correctly:
+```go
+// Setup
+var getter = new(ItemGetter)
+var config *aws.Config = &aws.Config{Region: aws.String("us-west-2"),}
+var sess *session.Session = session.NewSession(config)
+var svc *dynamodb.DynamoDB = dynamodb.New()
+getter.DynamoDB = dynamodbiface.DynamoDBAPI(svc)
+// Finally
+getter.DyanmoDB.GetItem(/* ... */)
+```
+
+## Querying in tests
+Construct a `fakeDynamoDB` and add the necessary methods for each of those
+structs (custom ones for `ItemGetter` and [whatever methods you're using for
+DynamoDB](https://github.com/aws/aws-sdk-go/blob/master/service/dynamodb/dynamodbiface/interface.go)),
+and you're good to go!
+```go
+type fakeDynamoDB struct {
+ dynamodbiface.DynamoDBAPI
+}
+var getter = new(ItemGetter)
+getter.DynamoDB = &fakeDynamoDB{}
+// And to run it (assuming you've mocked fakeDynamoDB.GetItem)
+getter.DyanmoDB.GetItem(/* ... */)
+```
+
+## Output
+```
+$ go test -cover
+PASS
+coverage: 100.0% of statements
+ok _/Users/shatil/workspace/aws-sdk-go/example/service/dynamodb/unitTest 0.008s
+```
diff --git a/vendor/github.com/aws/aws-sdk-go/example/service/dynamodb/unitTest/unitTest.go b/vendor/github.com/aws/aws-sdk-go/example/service/dynamodb/unitTest/unitTest.go
new file mode 100644
index 0000000..74e65f9
--- /dev/null
+++ b/vendor/github.com/aws/aws-sdk-go/example/service/dynamodb/unitTest/unitTest.go
@@ -0,0 +1,41 @@
+// +build example
+
+// Package unitTest demonstrates how to unit test, without needing to pass a
+// connector to every function, code that uses DynamoDB.
+package unitTest
+
+import (
+ "github.com/aws/aws-sdk-go/aws"
+ "github.com/aws/aws-sdk-go/service/dynamodb"
+ "github.com/aws/aws-sdk-go/service/dynamodb/dynamodbattribute"
+ "github.com/aws/aws-sdk-go/service/dynamodb/dynamodbiface"
+)
+
+// ItemGetter can be assigned a DynamoDB connector like:
+// svc := dynamodb.DynamoDB(sess)
+// getter.DynamoDB = dynamodbiface.DynamoDBAPI(svc)
+type ItemGetter struct {
+ DynamoDB dynamodbiface.DynamoDBAPI
+}
+
+// Get a value from a DynamoDB table containing entries like:
+// {"id": "my primary key", "value": "valuable value"}
+func (ig *ItemGetter) Get(id string) (value string) {
+ var input = &dynamodb.GetItemInput{
+ Key: map[string]*dynamodb.AttributeValue{
+ "id": {
+ S: aws.String(id),
+ },
+ },
+ TableName: aws.String("my_table"),
+ AttributesToGet: []*string{
+ aws.String("value"),
+ },
+ }
+ if output, err := ig.DynamoDB.GetItem(input); err == nil {
+ if _, ok := output.Item["value"]; ok {
+ dynamodbattribute.Unmarshal(output.Item["value"], &value)
+ }
+ }
+ return
+}
diff --git a/vendor/github.com/aws/aws-sdk-go/example/service/dynamodb/unitTest/unitTest_test.go b/vendor/github.com/aws/aws-sdk-go/example/service/dynamodb/unitTest/unitTest_test.go
new file mode 100644
index 0000000..83078ac
--- /dev/null
+++ b/vendor/github.com/aws/aws-sdk-go/example/service/dynamodb/unitTest/unitTest_test.go
@@ -0,0 +1,59 @@
+// +build example
+
+// Unit tests for package unitTest.
+package unitTest
+
+import (
+ "errors"
+ "testing"
+
+ "github.com/aws/aws-sdk-go/aws"
+ "github.com/aws/aws-sdk-go/service/dynamodb"
+ "github.com/aws/aws-sdk-go/service/dynamodb/dynamodbiface"
+)
+
+// A fakeDynamoDB instance. During testing, instatiate ItemGetter, then simply
+// assign an instance of fakeDynamoDB to it.
+type fakeDynamoDB struct {
+ dynamodbiface.DynamoDBAPI
+ payload map[string]string // Store expected return values
+ err error
+}
+
+// Mock GetItem such that the output returned carries values identical to input.
+func (fd *fakeDynamoDB) GetItem(input *dynamodb.GetItemInput) (*dynamodb.GetItemOutput, error) {
+ output := new(dynamodb.GetItemOutput)
+ output.Item = make(map[string]*dynamodb.AttributeValue)
+ for key, value := range fd.payload {
+ output.Item[key] = &dynamodb.AttributeValue{
+ S: aws.String(value),
+ }
+ }
+ return output, fd.err
+}
+
+func TestItemGetterGet(t *testing.T) {
+ expectedKey := "expected key"
+ expectedValue := "expected value"
+ getter := new(ItemGetter)
+ getter.DynamoDB = &fakeDynamoDB{
+ payload: map[string]string{"id": expectedKey, "value": expectedValue},
+ }
+ if actualValue := getter.Get(expectedKey); actualValue != expectedValue {
+ t.Errorf("Expected %q but got %q", expectedValue, actualValue)
+ }
+}
+
+// When DynamoDB.GetItem returns a non-nil error, expect an empty string.
+func TestItemGetterGetFail(t *testing.T) {
+ expectedKey := "expected key"
+ expectedValue := "expected value"
+ getter := new(ItemGetter)
+ getter.DynamoDB = &fakeDynamoDB{
+ payload: map[string]string{"id": expectedKey, "value": expectedValue},
+ err: errors.New("any error"),
+ }
+ if actualValue := getter.Get(expectedKey); len(actualValue) > 0 {
+ t.Errorf("Expected %q but got %q", expectedValue, actualValue)
+ }
+}
diff --git a/vendor/github.com/aws/aws-sdk-go/example/sqs/mockingClientsForTests/README.md b/vendor/github.com/aws/aws-sdk-go/example/sqs/mockingClientsForTests/README.md
new file mode 100644
index 0000000..7564f32
--- /dev/null
+++ b/vendor/github.com/aws/aws-sdk-go/example/sqs/mockingClientsForTests/README.md
@@ -0,0 +1,9 @@
+# Example
+
+This example shows how the SDK's API interfaces can be used by your code intead of the concrete service client type directly. Using this pattern allows you to mock out your code's usage of the SDK's service client for testing.
+
+# Usage
+
+Use the `go test` tool to verify the `Queue` type's `GetMessages` function correctly unmarshals the SQS message responses.
+
+`go test ./`
diff --git a/vendor/github.com/aws/aws-sdk-go/example/sqs/mockingClientsForTests/ifaceExample.go b/vendor/github.com/aws/aws-sdk-go/example/sqs/mockingClientsForTests/ifaceExample.go
new file mode 100644
index 0000000..ab74874
--- /dev/null
+++ b/vendor/github.com/aws/aws-sdk-go/example/sqs/mockingClientsForTests/ifaceExample.go
@@ -0,0 +1,77 @@
+package main
+
+import (
+ "encoding/json"
+ "fmt"
+ "os"
+
+ "github.com/aws/aws-sdk-go/aws"
+ "github.com/aws/aws-sdk-go/aws/session"
+ "github.com/aws/aws-sdk-go/service/sqs"
+ "github.com/aws/aws-sdk-go/service/sqs/sqsiface"
+)
+
+func main() {
+ if len(os.Args) < 2 {
+ fmt.Fprintln(os.Stderr, "Queue URL required.")
+ os.Exit(1)
+ }
+
+ sess := session.Must(session.NewSession())
+
+ q := Queue{
+ Client: sqs.New(sess),
+ URL: os.Args[1],
+ }
+
+ msgs, err := q.GetMessages(20)
+ if err != nil {
+ fmt.Fprintln(os.Stderr, err.Error())
+ os.Exit(1)
+ }
+
+ fmt.Println("Messages:")
+ for _, msg := range msgs {
+ fmt.Printf("%s>%s: %s\n", msg.From, msg.To, msg.Msg)
+ }
+}
+
+// Queue provides the ability to handle SQS messages.
+type Queue struct {
+ Client sqsiface.SQSAPI
+ URL string
+}
+
+// Message is a concrete representation of the SQS message
+type Message struct {
+ From string `json:"from"`
+ To string `json:"to"`
+ Msg string `json:"msg"`
+}
+
+// GetMessages returns the parsed messages from SQS if any. If an error
+// occurs that error will be returned.
+func (q *Queue) GetMessages(waitTimeout int64) ([]Message, error) {
+ params := sqs.ReceiveMessageInput{
+ QueueUrl: aws.String(q.URL),
+ }
+ if waitTimeout > 0 {
+ params.WaitTimeSeconds = aws.Int64(waitTimeout)
+ }
+ resp, err := q.Client.ReceiveMessage(¶ms)
+ if err != nil {
+ return nil, fmt.Errorf("failed to get messages, %v", err)
+ }
+
+ msgs := make([]Message, len(resp.Messages))
+ for i, msg := range resp.Messages {
+ parsedMsg := Message{}
+ if err := json.Unmarshal([]byte(aws.StringValue(msg.Body)), &parsedMsg); err != nil {
+ return nil, fmt.Errorf("failed to unmarshal message, %v", err)
+ }
+
+ msgs[i] = parsedMsg
+ }
+
+ return msgs, nil
+}
diff --git a/vendor/github.com/aws/aws-sdk-go/example/sqs/mockingClientsForTests/ifaceExample_test.go b/vendor/github.com/aws/aws-sdk-go/example/sqs/mockingClientsForTests/ifaceExample_test.go
new file mode 100644
index 0000000..bd781b9
--- /dev/null
+++ b/vendor/github.com/aws/aws-sdk-go/example/sqs/mockingClientsForTests/ifaceExample_test.go
@@ -0,0 +1,63 @@
+package main
+
+import (
+ "fmt"
+ "testing"
+
+ "github.com/aws/aws-sdk-go/aws"
+ "github.com/aws/aws-sdk-go/service/sqs"
+ "github.com/aws/aws-sdk-go/service/sqs/sqsiface"
+)
+
+type mockedReceiveMsgs struct {
+ sqsiface.SQSAPI
+ Resp sqs.ReceiveMessageOutput
+}
+
+func (m mockedReceiveMsgs) ReceiveMessage(in *sqs.ReceiveMessageInput) (*sqs.ReceiveMessageOutput, error) {
+ // Only need to return mocked response output
+ return &m.Resp, nil
+}
+
+func TestQueueGetMessage(t *testing.T) {
+ cases := []struct {
+ Resp sqs.ReceiveMessageOutput
+ Expected []Message
+ }{
+ { // Case 1, expect parsed responses
+ Resp: sqs.ReceiveMessageOutput{
+ Messages: []*sqs.Message{
+ {Body: aws.String(`{"from":"user_1","to":"room_1","msg":"Hello!"}`)},
+ {Body: aws.String(`{"from":"user_2","to":"room_1","msg":"Hi user_1 :)"}`)},
+ },
+ },
+ Expected: []Message{
+ {From: "user_1", To: "room_1", Msg: "Hello!"},
+ {From: "user_2", To: "room_1", Msg: "Hi user_1 :)"},
+ },
+ },
+ { // Case 2, not messages returned
+ Resp: sqs.ReceiveMessageOutput{},
+ Expected: []Message{},
+ },
+ }
+
+ for i, c := range cases {
+ q := Queue{
+ Client: mockedReceiveMsgs{Resp: c.Resp},
+ URL: fmt.Sprintf("mockURL_%d", i),
+ }
+ msgs, err := q.GetMessages(20)
+ if err != nil {
+ t.Fatalf("%d, unexpected error, %v", i, err)
+ }
+ if a, e := len(msgs), len(c.Expected); a != e {
+ t.Fatalf("%d, expected %d messages, got %d", i, e, a)
+ }
+ for j, msg := range msgs {
+ if a, e := msg, c.Expected[j]; a != e {
+ t.Errorf("%d, expected %v message, got %v", i, e, a)
+ }
+ }
+ }
+}
diff --git a/vendor/github.com/aws/aws-sdk-go/models/apis/apigateway/2015-07-09/api-2.json b/vendor/github.com/aws/aws-sdk-go/models/apis/apigateway/2015-07-09/api-2.json
index ffc1965..22389bb 100644
--- a/vendor/github.com/aws/aws-sdk-go/models/apis/apigateway/2015-07-09/api-2.json
+++ b/vendor/github.com/aws/aws-sdk-go/models/apis/apigateway/2015-07-09/api-2.json
@@ -179,7 +179,8 @@
{"shape":"UnauthorizedException"},
{"shape":"TooManyRequestsException"},
{"shape":"LimitExceededException"},
- {"shape":"ConflictException"}
+ {"shape":"ConflictException"},
+ {"shape":"NotFoundException"}
]
},
"CreateUsagePlanKey":{
@@ -963,7 +964,8 @@
{"shape":"BadRequestException"},
{"shape":"UnauthorizedException"},
{"shape":"TooManyRequestsException"},
- {"shape":"ConflictException"}
+ {"shape":"ConflictException"},
+ {"shape":"NotFoundException"}
]
},
"ImportApiKeys":{
@@ -1553,6 +1555,13 @@
"error":{"httpStatusCode":409},
"exception":true
},
+ "ContentHandlingStrategy":{
+ "type":"string",
+ "enum":[
+ "CONVERT_TO_BINARY",
+ "CONVERT_TO_TEXT"
+ ]
+ },
"CreateApiKeyRequest":{
"type":"structure",
"members":{
@@ -1608,10 +1617,7 @@
},
"CreateDeploymentRequest":{
"type":"structure",
- "required":[
- "restApiId",
- "stageName"
- ],
+ "required":["restApiId"],
"members":{
"restApiId":{
"shape":"String",
@@ -1689,7 +1695,8 @@
"members":{
"name":{"shape":"String"},
"description":{"shape":"String"},
- "cloneFrom":{"shape":"String"}
+ "cloneFrom":{"shape":"String"},
+ "binaryMediaTypes":{"shape":"ListOfString"}
}
},
"CreateStageRequest":{
@@ -2156,7 +2163,7 @@
"locationName":"api_Key"
},
"includeValue":{
- "shape":"Boolean",
+ "shape":"NullableBoolean",
"location":"querystring",
"locationName":"includeValue"
}
@@ -2180,8 +2187,13 @@
"location":"querystring",
"locationName":"name"
},
+ "customerId":{
+ "shape":"String",
+ "location":"querystring",
+ "locationName":"customerId"
+ },
"includeValues":{
- "shape":"Boolean",
+ "shape":"NullableBoolean",
"location":"querystring",
"locationName":"includeValues"
}
@@ -2864,6 +2876,7 @@
"requestParameters":{"shape":"MapOfStringToString"},
"requestTemplates":{"shape":"MapOfStringToString"},
"passthroughBehavior":{"shape":"String"},
+ "contentHandling":{"shape":"ContentHandlingStrategy"},
"cacheNamespace":{"shape":"String"},
"cacheKeyParameters":{"shape":"ListOfString"},
"integrationResponses":{"shape":"MapOfIntegrationResponse"}
@@ -2875,7 +2888,8 @@
"statusCode":{"shape":"StatusCode"},
"selectionPattern":{"shape":"String"},
"responseParameters":{"shape":"MapOfStringToString"},
- "responseTemplates":{"shape":"MapOfStringToString"}
+ "responseTemplates":{"shape":"MapOfStringToString"},
+ "contentHandling":{"shape":"ContentHandlingStrategy"}
}
},
"IntegrationType":{
@@ -3162,7 +3176,8 @@
"requestTemplates":{"shape":"MapOfStringToString"},
"passthroughBehavior":{"shape":"String"},
"cacheNamespace":{"shape":"String"},
- "cacheKeyParameters":{"shape":"ListOfString"}
+ "cacheKeyParameters":{"shape":"ListOfString"},
+ "contentHandling":{"shape":"ContentHandlingStrategy"}
}
},
"PutIntegrationResponseRequest":{
@@ -3196,7 +3211,8 @@
},
"selectionPattern":{"shape":"String"},
"responseParameters":{"shape":"MapOfStringToString"},
- "responseTemplates":{"shape":"MapOfStringToString"}
+ "responseTemplates":{"shape":"MapOfStringToString"},
+ "contentHandling":{"shape":"ContentHandlingStrategy"}
}
},
"PutMethodRequest":{
@@ -3343,7 +3359,8 @@
"name":{"shape":"String"},
"description":{"shape":"String"},
"createdDate":{"shape":"Timestamp"},
- "warnings":{"shape":"ListOfString"}
+ "warnings":{"shape":"ListOfString"},
+ "binaryMediaTypes":{"shape":"ListOfString"}
}
},
"RestApis":{
diff --git a/vendor/github.com/aws/aws-sdk-go/models/apis/apigateway/2015-07-09/docs-2.json b/vendor/github.com/aws/aws-sdk-go/models/apis/apigateway/2015-07-09/docs-2.json
index c2fbd26..23e6216 100644
--- a/vendor/github.com/aws/aws-sdk-go/models/apis/apigateway/2015-07-09/docs-2.json
+++ b/vendor/github.com/aws/aws-sdk-go/models/apis/apigateway/2015-07-09/docs-2.json
@@ -133,9 +133,9 @@
}
},
"AuthorizerType": {
- "base": "The authorizer type. the only current value is TOKEN.
",
+ "base": "The authorizer type. the current value is TOKEN
for a Lambda function or COGNITO_USER_POOLS
for an Amazon Cognito Your User Pool.
",
"refs": {
- "Authorizer$type": "[Required] The type of the authorizer. Currently, the only valid type is TOKEN.
",
+ "Authorizer$type": "[Required] The type of the authorizer. Currently, the valid type is TOKEN
for a Lambda function or COGNITO_USER_POOLS
for an Amazon Cognito user pool.
",
"CreateAuthorizerRequest$type": "[Required] The type of the authorizer.
"
}
},
@@ -177,8 +177,6 @@
"CreateApiKeyRequest$enabled": "Specifies whether the ApiKey can be used by callers.
",
"CreateApiKeyRequest$generateDistinctId": "Specifies whether (true
) or not (false
) the key identifier is distinct from the created API key value.
",
"CreateStageRequest$cacheClusterEnabled": "Whether cache clustering is enabled for the stage.
",
- "GetApiKeyRequest$includeValue": "A boolean flag to specify whether (true
) or not (false
) the result contains the key value.
",
- "GetApiKeysRequest$includeValues": "A boolean flag to specify whether (true
) or not (false
) the result contains key values.
",
"GetModelRequest$flatten": "A query parameter of a Boolean value to resolve (true
) all external model references and returns a flattened model schema or not (false
) The default is false
.
",
"ImportApiKeysRequest$failOnWarnings": "A query parameter to indicate whether to rollback ApiKey importation (true
) or not (false
) when error is encountered.
",
"ImportRestApiRequest$failOnWarnings": "A query parameter to indicate whether to rollback the API creation (true
) or not (false
) when a warning is encountered. The default value is false
.
",
@@ -223,6 +221,15 @@
"refs": {
}
},
+ "ContentHandlingStrategy": {
+ "base": null,
+ "refs": {
+ "Integration$contentHandling": "Specifies how to handle request payload content type conversions. Supported values are CONVERT_TO_BINARY
and CONVERT_TO_TEXT
, with the following behaviors:
If this property is not defined, the request payload will be passed through from the method request to integration request without modification, provided that the passthroughBehaviors
is configured to support payload pass-through.
",
+ "IntegrationResponse$contentHandling": "Specifies how to handle response payload content type conversions. Supported values are CONVERT_TO_BINARY
and CONVERT_TO_TEXT
, with the following behaviors:
CONVERT_TO_BINARY
: Converts a response payload from a Base64-encoded string to the corresponding binary blob.
CONVERT_TO_TEXT
: Converts a response payload from a binary blob to a Base64-encoded string.
If this property is not defined, the response payload will be passed through from the integration response to the method response without modification.
",
+ "PutIntegrationRequest$contentHandling": "Specifies how to handle request payload content type conversions. Supported values are CONVERT_TO_BINARY
and CONVERT_TO_TEXT
, with the following behaviors:
If this property is not defined, the request payload will be passed through from the method request to integration request without modification, provided that the passthroughBehaviors
is configured to support payload pass-through.
",
+ "PutIntegrationResponseRequest$contentHandling": "Specifies how to handle response payload content type conversions. Supported values are CONVERT_TO_BINARY
and CONVERT_TO_TEXT
, with the following behaviors:
CONVERT_TO_BINARY
: Converts a response payload from a Base64-encoded string to the corresponding binary blob.
CONVERT_TO_TEXT
: Converts a response payload from a binary blob to a Base64-encoded string.
If this property is not defined, the response payload will be passed through from the integration response to the method response without modification.
"
+ }
+ },
"CreateApiKeyRequest": {
"base": "Request to create an ApiKey resource.
",
"refs": {
@@ -595,7 +602,7 @@
}
},
"Integration": {
- "base": "Represents an HTTP, AWS, or Mock integration.
",
+ "base": "Represents an HTTP, HTTP_PROXY, AWS, AWS_PROXY, or Mock integration.
",
"refs": {
"Method$methodIntegration": "Gets the method's integration responsible for passing the client-submitted request to the back end and performing necessary transformations to make the request compliant with the back end.
"
}
@@ -621,7 +628,7 @@
"ListOfARNs": {
"base": null,
"refs": {
- "Authorizer$providerARNs": "A list of the provider ARNs of the authorizer.
",
+ "Authorizer$providerARNs": "A list of the provider ARNs of the authorizer. For an TOKEN
authorizer, this is not defined. For authorizers of the COGNITO_USER_POOLS
type, each element corresponds to a user pool ARN of this format: arn:aws:cognito-idp:{region}:{account_id}:userpool/{user_pool_id}
.
",
"CreateAuthorizerRequest$providerARNs": "A list of the Cognito Your User Pool authorizer's provider ARNs.
"
}
},
@@ -734,10 +741,12 @@
"ApiKeyIds$ids": "A list of all the ApiKey identifiers.
",
"ApiKeyIds$warnings": "A list of warning messages.
",
"ApiKeys$warnings": "A list of warning messages logged during the import of API keys when the failOnWarnings
option is set to true.
",
+ "CreateRestApiRequest$binaryMediaTypes": "The list of binary media types supported by the RestApi. By default, the RestApi supports only UTF-8-encoded text payloads.
",
"Integration$cacheKeyParameters": "Specifies the integration's cache key parameters.
",
"MapOfStringToList$value": null,
"PutIntegrationRequest$cacheKeyParameters": "Specifies a put integration input's cache key parameters.
",
- "RestApi$warnings": "The warning messages reported when failonwarnings
is turned on during API import.
"
+ "RestApi$warnings": "The warning messages reported when failonwarnings
is turned on during API import.
",
+ "RestApi$binaryMediaTypes": "The list of binary media types supported by the RestApi. By default, the RestApi supports only UTF-8-encoded text payloads.
"
}
},
"ListOfUsage": {
@@ -897,6 +906,8 @@
"base": null,
"refs": {
"CreateDeploymentRequest$cacheClusterEnabled": "Enables a cache cluster for the Stage resource specified in the input.
",
+ "GetApiKeyRequest$includeValue": "A boolean flag to specify whether (true
) or not (false
) the result contains the key value.
",
+ "GetApiKeysRequest$includeValues": "A boolean flag to specify whether (true
) or not (false
) the result contains key values.
",
"MapOfStringToBoolean$value": null,
"Method$apiKeyRequired": "A boolean flag specifying whether a valid ApiKey is required to invoke this method.
"
}
@@ -1067,10 +1078,10 @@
"Authorizer$id": "The identifier for the authorizer resource.
",
"Authorizer$name": "[Required] The name of the authorizer.
",
"Authorizer$authType": "Optional customer-defined field, used in Swagger imports/exports. Has no functional impact.
",
- "Authorizer$authorizerUri": "[Required] Specifies the authorizer's Uniform Resource Identifier (URI). For TOKEN authorizers, this must be a well-formed Lambda function URI. The URI should be of the form arn:aws:apigateway:{region}:lambda:path/{service_api}
. Region
is used to determine the right endpoint. In this case, path
is used to indicate that the remaining substring in the URI should be treated as the path to the resource, including the initial /
. For Lambda functions, this is usually of the form /2015-03-31/functions/[FunctionARN]/invocations
",
+ "Authorizer$authorizerUri": "[Required] Specifies the authorizer's Uniform Resource Identifier (URI). For TOKEN
authorizers, this must be a well-formed Lambda function URI, for example, arn:aws:apigateway:us-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-2:{account_id}:function:{lambda_function_name}/invocations
. In general, the URI has this form arn:aws:apigateway:{region}:lambda:path/{service_api}
, where {region}
is the same as the region hosting the Lambda function, path
indicates that the remaining substring in the URI should be treated as the path to the resource, including the initial /
. For Lambda functions, this is usually of the form /2015-03-31/functions/[FunctionARN]/invocations.
",
"Authorizer$authorizerCredentials": "Specifies the credentials required for the authorizer, if any. Two options are available. 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.
",
- "Authorizer$identitySource": "[Required] The source of the identity in an incoming request. For TOKEN authorizers, this value is a mapping expression with the same syntax as integration parameter mappings. The only valid source for tokens is 'header', so the expression should match 'method.request.header.[headerName]'. The value of the header '[headerName]' will be interpreted as the incoming token.
",
- "Authorizer$identityValidationExpression": "A validation expression for the incoming identity. For TOKEN authorizers, this value should be a regular expression. The incoming token from the client is matched against this expression, and will proceed if the token matches. If the token doesn't match, the client receives a 401 Unauthorized response.
",
+ "Authorizer$identitySource": "[Required] The source of the identity in an incoming request. For a TOKEN
authorizer, this value is a mapping expression with the same syntax as integration parameter mappings. The only valid source for tokens is 'header', so the expression should match 'method.request.header.[headerName]'. The value of the header '[headerName]' will be interpreted as the incoming token. For COGNITO_USER_POOLS
authorizers, this property is used.
",
+ "Authorizer$identityValidationExpression": "A validation expression for the incoming identity. For TOKEN
authorizers, this value should be a regular expression. The incoming token from the client is matched against this expression, and will proceed if the token matches. If the token doesn't match, the client receives a 401 Unauthorized response.
",
"Authorizers$position": null,
"BadRequestException$message": null,
"BasePathMapping$basePath": "The base path name that callers of the API must provide as part of the URL after the domain name.
",
@@ -1173,6 +1184,7 @@
"GetApiKeyRequest$apiKey": "The identifier of the ApiKey resource.
",
"GetApiKeysRequest$position": "The position of the current ApiKeys resource to get information about.
",
"GetApiKeysRequest$nameQuery": "The name of queried API keys.
",
+ "GetApiKeysRequest$customerId": null,
"GetAuthorizerRequest$restApiId": "The RestApi identifier for the Authorizer resource.
",
"GetAuthorizerRequest$authorizerId": "The identifier of the Authorizer resource.
",
"GetAuthorizersRequest$restApiId": "The RestApi identifier for the Authorizers resource.
",
diff --git a/vendor/github.com/aws/aws-sdk-go/models/apis/application-autoscaling/2016-02-06/api-2.json b/vendor/github.com/aws/aws-sdk-go/models/apis/application-autoscaling/2016-02-06/api-2.json
index 236a813..d10658b 100644
--- a/vendor/github.com/aws/aws-sdk-go/models/apis/application-autoscaling/2016-02-06/api-2.json
+++ b/vendor/github.com/aws/aws-sdk-go/models/apis/application-autoscaling/2016-02-06/api-2.json
@@ -365,7 +365,8 @@
"type":"string",
"enum":[
"ecs:service:DesiredCount",
- "ec2:spot-fleet-request:TargetCapacity"
+ "ec2:spot-fleet-request:TargetCapacity",
+ "elasticmapreduce:instancegroup:InstanceCount"
]
},
"ScalableTarget":{
@@ -466,6 +467,7 @@
"type":"string",
"enum":[
"ecs",
+ "elasticmapreduce",
"ec2"
]
},
diff --git a/vendor/github.com/aws/aws-sdk-go/models/apis/application-autoscaling/2016-02-06/docs-2.json b/vendor/github.com/aws/aws-sdk-go/models/apis/application-autoscaling/2016-02-06/docs-2.json
index 16cf8c4..98dcd9b 100644
--- a/vendor/github.com/aws/aws-sdk-go/models/apis/application-autoscaling/2016-02-06/docs-2.json
+++ b/vendor/github.com/aws/aws-sdk-go/models/apis/application-autoscaling/2016-02-06/docs-2.json
@@ -1,14 +1,14 @@
{
"version": "2.0",
- "service": "Application Auto Scaling is a general purpose Auto Scaling service for supported elastic AWS resources. With Application Auto Scaling, you can automatically scale your AWS resources, with an experience similar to that of Auto Scaling.
Application Auto Scaling supports scaling the following AWS resources:
You can use Application Auto Scaling to accomplish the following tasks:
-
Define scaling policies for automatically adjusting your AWS resources
-
Scale your resources in response to CloudWatch alarms
-
View history of your scaling events
Application Auto Scaling is available in the following regions:
-
us-east-1
-
us-west-1
-
us-west-2
-
ap-southeast-1
-
ap-southeast-2
-
ap-northeast-1
-
eu-central-1
-
eu-west-1
",
+ "service": "With Application Auto Scaling, you can automatically scale your AWS resources. The experience similar to that of Auto Scaling. You can use Application Auto Scaling to accomplish the following tasks:
-
Define scaling policies to automatically scale your AWS resources
-
Scale your resources in response to CloudWatch alarms
-
View the history of your scaling events
Application Auto Scaling can scale the following AWS resources:
For a list of supported regions, see AWS Regions and Endpoints: Application Auto Scaling in the AWS General Reference.
",
"operations": {
- "DeleteScalingPolicy": "Deletes an Application Auto Scaling scaling policy that was previously created. If you are no longer using a scaling policy, you can delete it with this operation.
Deleting a policy deletes the underlying alarm action, but does not delete the CloudWatch alarm associated with the scaling policy, even if it no longer has an associated action.
To create a new scaling policy or update an existing one, see PutScalingPolicy.
",
- "DeregisterScalableTarget": "Deregisters a scalable target that was previously registered. If you are no longer using a scalable target, you can delete it with this operation. When you deregister a scalable target, all of the scaling policies that are associated with that scalable target are deleted.
To create a new scalable target or update an existing one, see RegisterScalableTarget.
",
- "DescribeScalableTargets": "Provides descriptive information for scalable targets with a specified service namespace.
You can filter the results in a service namespace with the ResourceIds
and ScalableDimension
parameters.
To create a new scalable target or update an existing one, see RegisterScalableTarget. If you are no longer using a scalable target, you can deregister it with DeregisterScalableTarget.
",
- "DescribeScalingActivities": "Provides descriptive information for scaling activities with a specified service namespace for the previous six weeks.
You can filter the results in a service namespace with the ResourceId
and ScalableDimension
parameters.
Scaling activities are triggered by CloudWatch alarms that are associated with scaling policies. To view the existing scaling policies for a service namespace, see DescribeScalingPolicies. To create a new scaling policy or update an existing one, see PutScalingPolicy.
",
- "DescribeScalingPolicies": "Provides descriptive information for scaling policies with a specified service namespace.
You can filter the results in a service namespace with the ResourceId
, ScalableDimension
, and PolicyNames
parameters.
To create a new scaling policy or update an existing one, see PutScalingPolicy. If you are no longer using a scaling policy, you can delete it with DeleteScalingPolicy.
",
- "PutScalingPolicy": "Creates or updates a policy for an existing Application Auto Scaling scalable target. Each scalable target is identified by service namespace, a resource ID, and a scalable dimension, and a scaling policy applies to a scalable target that is identified by those three attributes. You cannot create a scaling policy without first registering a scalable target with RegisterScalableTarget.
To update an existing policy, use the existing policy name and set the parameters you want to change. Any existing parameter not changed in an update to an existing policy is not changed in this update request.
You can view the existing scaling policies for a service namespace with DescribeScalingPolicies. If you are no longer using a scaling policy, you can delete it with DeleteScalingPolicy.
",
- "RegisterScalableTarget": "Registers or updates a scalable target. A scalable target is a resource that can be scaled out or in with Application Auto Scaling. After you have registered a scalable target, you can use this operation to update the minimum and maximum values for your scalable dimension.
After you register a scalable target with Application Auto Scaling, you can create and apply scaling policies to it with PutScalingPolicy. You can view the existing scaling policies for a service namespace with DescribeScalableTargets. If you are no longer using a scalable target, you can deregister it with DeregisterScalableTarget.
"
+ "DeleteScalingPolicy": "Deletes the specified Application Auto Scaling scaling policy.
Deleting a policy deletes the underlying alarm action, but does not delete the CloudWatch alarm associated with the scaling policy, even if it no longer has an associated action.
To create a scaling policy or update an existing one, see PutScalingPolicy.
",
+ "DeregisterScalableTarget": "Deregisters a scalable target.
Deregistering a scalable target deletes the scaling policies that are associated with it.
To create a scalable target or update an existing one, see RegisterScalableTarget.
",
+ "DescribeScalableTargets": "Provides descriptive information about the scalable targets in the specified namespace.
You can filter the results using the ResourceIds
and ScalableDimension
parameters.
To create a scalable target or update an existing one, see RegisterScalableTarget. If you are no longer using a scalable target, you can deregister it using DeregisterScalableTarget.
",
+ "DescribeScalingActivities": "Provides descriptive information about the scaling activities in the specified namespace from the previous six weeks.
You can filter the results using the ResourceId
and ScalableDimension
parameters.
Scaling activities are triggered by CloudWatch alarms that are associated with scaling policies. To view the scaling policies for a service namespace, see DescribeScalingPolicies. To create a scaling policy or update an existing one, see PutScalingPolicy.
",
+ "DescribeScalingPolicies": "Provides descriptive information about the scaling policies in the specified namespace.
You can filter the results using the ResourceId
, ScalableDimension
, and PolicyNames
parameters.
To create a scaling policy or update an existing one, see PutScalingPolicy. If you are no longer using a scaling policy, you can delete it using DeleteScalingPolicy.
",
+ "PutScalingPolicy": "Creates or updates a policy for an Application Auto Scaling scalable target.
Each scalable target is identified by a service namespace, resource ID, and scalable dimension. A scaling policy applies to the scalable target identified by those three attributes. You cannot create a scaling policy without first registering a scalable target using RegisterScalableTarget.
To update a policy, specify its policy name and the parameters that you want to change. Any parameters that you don't specify are not changed by this update request.
You can view the scaling policies for a service namespace using DescribeScalingPolicies. If you are no longer using a scaling policy, you can delete it using DeleteScalingPolicy.
",
+ "RegisterScalableTarget": "Registers or updates a scalable target. A scalable target is a resource that Application Auto Scaling can scale out or scale in. After you have registered a scalable target, you can use this operation to update the minimum and maximum values for your scalable dimension.
After you register a scalable target, you can create and apply scaling policies using PutScalingPolicy. You can view the scaling policies for a service namespace using DescribeScalableTargets. If you are no longer using a scalable target, you can deregister it using DeregisterScalableTarget.
"
},
"shapes": {
"AdjustmentType": {
@@ -18,7 +18,7 @@
}
},
"Alarm": {
- "base": "An object representing a CloudWatch alarm associated with a scaling policy.
",
+ "base": "Represents a CloudWatch alarm associated with a scaling policy.
",
"refs": {
"Alarms$member": null
}
@@ -26,7 +26,7 @@
"Alarms": {
"base": null,
"refs": {
- "ScalingPolicy$Alarms": "The CloudWatch alarms that are associated with the scaling policy.
"
+ "ScalingPolicy$Alarms": "The CloudWatch alarms associated with the scaling policy.
"
}
},
"ConcurrentUpdateException": {
@@ -125,9 +125,9 @@
"MaxResults": {
"base": null,
"refs": {
- "DescribeScalableTargetsRequest$MaxResults": "The maximum number of scalable target results returned by DescribeScalableTargets
in paginated output. When this parameter is used, DescribeScalableTargets
returns up to MaxResults
results in a single page along with a NextToken
response element. The remaining results of the initial request can be seen by sending another DescribeScalableTargets
request with the returned NextToken
value. This value can be between 1 and 50. If this parameter is not used, then DescribeScalableTargets
returns up to 50 results and a NextToken
value, if applicable.
",
- "DescribeScalingActivitiesRequest$MaxResults": "The maximum number of scaling activity results returned by DescribeScalingActivities
in paginated output. When this parameter is used, DescribeScalingActivities
returns up to MaxResults
results in a single page along with a NextToken
response element. The remaining results of the initial request can be seen by sending another DescribeScalingActivities
request with the returned NextToken
value. This value can be between 1 and 50. If this parameter is not used, then DescribeScalingActivities
returns up to 50 results and a NextToken
value, if applicable.
",
- "DescribeScalingPoliciesRequest$MaxResults": "The maximum number of scaling policy results returned by DescribeScalingPolicies
in paginated output. When this parameter is used, DescribeScalingPolicies
returns up to MaxResults
results in a single page along with a NextToken
response element. The remaining results of the initial request can be seen by sending another DescribeScalingPolicies
request with the returned NextToken
value. This value can be between 1 and 50. If this parameter is not used, then DescribeScalingPolicies
returns up to 50 results and a NextToken
value, if applicable.
"
+ "DescribeScalableTargetsRequest$MaxResults": "The maximum number of scalable target 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 at a time, along with a NextToken
value. To get the next set of results, include the NextToken
value in a subsequent call. If this parameter is not used, the operation returns up to 50 results and a NextToken
value, if applicable.
",
+ "DescribeScalingActivitiesRequest$MaxResults": "The maximum number of scalable target 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 at a time, along with a NextToken
value. To get the next set of results, include the NextToken
value in a subsequent call. If this parameter is not used, the operation returns up to 50 results and a NextToken
value, if applicable.
",
+ "DescribeScalingPoliciesRequest$MaxResults": "The maximum number of scalable target 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 at a time, along with a NextToken
value. To get the next set of results, include the NextToken
value in a subsequent call. If this parameter is not used, the operation returns up to 50 results and a NextToken
value, if applicable.
"
}
},
"MetricAggregationType": {
@@ -164,7 +164,7 @@
"PolicyType": {
"base": null,
"refs": {
- "PutScalingPolicyRequest$PolicyType": "The policy type. If you are creating a new policy, this parameter is required. If you are updating an existing policy, this parameter is not required.
",
+ "PutScalingPolicyRequest$PolicyType": "The policy type. If you are creating a new policy, this parameter is required. If you are updating a policy, this parameter is not required.
",
"ScalingPolicy$PolicyType": "The scaling policy type.
"
}
},
@@ -191,10 +191,10 @@
"ResourceCapacity": {
"base": null,
"refs": {
- "RegisterScalableTargetRequest$MinCapacity": "The minimum value for this scalable target to scale in to in response to scaling activities. This parameter is required if you are registering a new scalable target, and it is optional if you are updating an existing one.
",
- "RegisterScalableTargetRequest$MaxCapacity": "The maximum value for this scalable target to scale out to in response to scaling activities. This parameter is required if you are registering a new scalable target, and it is optional if you are updating an existing one.
",
- "ScalableTarget$MinCapacity": "The minimum value for this scalable target to scale in to in response to scaling activities.
",
- "ScalableTarget$MaxCapacity": "The maximum value for this scalable target to scale out to in response to scaling activities.
"
+ "RegisterScalableTargetRequest$MinCapacity": "The minimum value to scale to in response to a scale in event. This parameter is required if you are registering a scalable target and optional if you are updating one.
",
+ "RegisterScalableTargetRequest$MaxCapacity": "The maximum value to scale to in response to a scale out event. This parameter is required if you are registering a scalable target and optional if you are updating one.
",
+ "ScalableTarget$MinCapacity": "The minimum value to scale to in response to a scale in event.
",
+ "ScalableTarget$MaxCapacity": "The maximum value to scale to in response to a scale out event.
"
}
},
"ResourceId": {
@@ -202,53 +202,53 @@
"refs": {
"Alarm$AlarmName": "The name of the alarm.
",
"Alarm$AlarmARN": "The Amazon Resource Name (ARN) of the alarm.
",
- "ScalingActivity$ActivityId": "The unique identifier string for the scaling activity.
"
+ "ScalingActivity$ActivityId": "The unique identifier of the scaling activity.
"
}
},
"ResourceIdMaxLen1600": {
"base": null,
"refs": {
- "DeleteScalingPolicyRequest$PolicyName": "The name of the scaling policy to delete.
",
- "DeleteScalingPolicyRequest$ResourceId": "The resource type and unique identifier string for the resource associated with the scaling policy. For Amazon ECS services, the resource type is services
, and the identifier is the cluster name and service name; for example, service/default/sample-webapp
. For Amazon EC2 Spot fleet requests, the resource type is spot-fleet-request
, and the identifier is the Spot fleet request ID; for example, spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE
.
",
- "DeregisterScalableTargetRequest$ResourceId": "The resource type and unique identifier string for the resource associated with the scalable target. For Amazon ECS services, the resource type is services
, and the identifier is the cluster name and service name; for example, service/default/sample-webapp
. For Amazon EC2 Spot fleet requests, the resource type is spot-fleet-request
, and the identifier is the Spot fleet request ID; for example, spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE
.
",
- "DescribeScalingActivitiesRequest$ResourceId": "The resource type and unique identifier string for the resource associated with the scaling activity. For Amazon ECS services, the resource type is services
, and the identifier is the cluster name and service name; for example, service/default/sample-webapp
. For Amazon EC2 Spot fleet requests, the resource type is spot-fleet-request
, and the identifier is the Spot fleet request ID; for example, spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE
. If you specify a scalable dimension, you must also specify a resource ID.
",
- "DescribeScalingPoliciesRequest$ResourceId": "The unique resource identifier string of the scalable target that the scaling policy is associated with. For Amazon ECS services, the resource type is services
, and the identifier is the cluster name and service name; for example, service/default/sample-webapp
. For Amazon EC2 Spot fleet requests, the resource type is spot-fleet-request
, and the identifier is the Spot fleet request ID; for example, spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE
. If you specify a scalable dimension, you must also specify a resource ID.
",
- "PutScalingPolicyRequest$ResourceId": "The unique resource identifier string for the scalable target that this scaling policy applies to. For Amazon ECS services, the resource type is services
, and the identifier is the cluster name and service name; for example, service/default/sample-webapp
. For Amazon EC2 Spot fleet requests, the resource type is spot-fleet-request
, and the identifier is the Spot fleet request ID; for example, spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE
.
",
+ "DeleteScalingPolicyRequest$PolicyName": "The name of the scaling policy.
",
+ "DeleteScalingPolicyRequest$ResourceId": "The identifier of the resource associated with the scalable target. This string consists of the resource type and unique identifier.
-
ECS service - The resource type is service
and the unique identifier is the cluster name and service name. Example: service/default/sample-webapp
.
-
Spot fleet request - The resource type is spot-fleet-request
and the unique identifier is the Spot fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE
.
-
EMR cluster - The resource type is instancegroup
and the unique identifier is the cluster ID and instance group ID. Example: instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0
.
",
+ "DeregisterScalableTargetRequest$ResourceId": "The identifier of the resource associated with the scalable target. This string consists of the resource type and unique identifier.
-
ECS service - The resource type is service
and the unique identifier is the cluster name and service name. Example: service/default/sample-webapp
.
-
Spot fleet request - The resource type is spot-fleet-request
and the unique identifier is the Spot fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE
.
-
EMR cluster - The resource type is instancegroup
and the unique identifier is the cluster ID and instance group ID. Example: instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0
.
",
+ "DescribeScalingActivitiesRequest$ResourceId": "The identifier of the resource associated with the scaling activity. This string consists of the resource type and unique identifier. If you specify a scalable dimension, you must also specify a resource ID.
-
ECS service - The resource type is service
and the unique identifier is the cluster name and service name. Example: service/default/sample-webapp
.
-
Spot fleet request - The resource type is spot-fleet-request
and the unique identifier is the Spot fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE
.
-
EMR cluster - The resource type is instancegroup
and the unique identifier is the cluster ID and instance group ID. Example: instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0
.
",
+ "DescribeScalingPoliciesRequest$ResourceId": "The identifier of the resource associated with the scaling policy. This string consists of the resource type and unique identifier. If you specify a scalable dimension, you must also specify a resource ID.
-
ECS service - The resource type is service
and the unique identifier is the cluster name and service name. Example: service/default/sample-webapp
.
-
Spot fleet request - The resource type is spot-fleet-request
and the unique identifier is the Spot fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE
.
-
EMR cluster - The resource type is instancegroup
and the unique identifier is the cluster ID and instance group ID. Example: instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0
.
",
+ "PutScalingPolicyRequest$ResourceId": "The identifier of the resource associated with the scaling policy. This string consists of the resource type and unique identifier.
-
ECS service - The resource type is service
and the unique identifier is the cluster name and service name. Example: service/default/sample-webapp
.
-
Spot fleet request - The resource type is spot-fleet-request
and the unique identifier is the Spot fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE
.
-
EMR cluster - The resource type is instancegroup
and the unique identifier is the cluster ID and instance group ID. Example: instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0
.
",
"PutScalingPolicyResponse$PolicyARN": "The Amazon Resource Name (ARN) of the resulting scaling policy.
",
- "RegisterScalableTargetRequest$ResourceId": "The resource type and unique identifier string for the resource to associate with the scalable target. For Amazon ECS services, the resource type is services
, and the identifier is the cluster name and service name; for example, service/default/sample-webapp
. For Amazon EC2 Spot fleet requests, the resource type is spot-fleet-request
, and the identifier is the Spot fleet request ID; for example, spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE
.
",
- "RegisterScalableTargetRequest$RoleARN": "The ARN of the IAM role that allows Application Auto Scaling to modify your scalable target on your behalf. This parameter is required if you are registering a new scalable target, and it is optional if you are updating an existing one.
",
+ "RegisterScalableTargetRequest$ResourceId": "The identifier of the resource associated with the scalable target. This string consists of the resource type and unique identifier.
-
ECS service - The resource type is service
and the unique identifier is the cluster name and service name. Example: service/default/sample-webapp
.
-
Spot fleet request - The resource type is spot-fleet-request
and the unique identifier is the Spot fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE
.
-
EMR cluster - The resource type is instancegroup
and the unique identifier is the cluster ID and instance group ID. Example: instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0
.
",
+ "RegisterScalableTargetRequest$RoleARN": "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.
",
"ResourceIdsMaxLen1600$member": null,
- "ScalableTarget$ResourceId": "The resource type and unique identifier string for the resource associated with the scalable target. For Amazon ECS services, the resource type is services
, and the identifier is the cluster name and service name; for example, service/default/sample-webapp
. For Amazon EC2 Spot fleet requests, the resource type is spot-fleet-request
, and the identifier is the Spot fleet request ID; for example, spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE
.
",
- "ScalableTarget$RoleARN": "The ARN of the IAM role that allows Application Auto Scaling to modify your scalable target on your behalf.
",
- "ScalingActivity$ResourceId": "The resource type and unique identifier string for the resource associated with the scaling activity. For Amazon ECS services, the resource type is services
, and the identifier is the cluster name and service name; for example, service/default/sample-webapp
. For Amazon EC2 Spot fleet requests, the resource type is spot-fleet-request
, and the identifier is the Spot fleet request ID; for example, spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE
.
",
+ "ScalableTarget$ResourceId": "The identifier of the resource associated with the scalable target. This string consists of the resource type and unique identifier.
-
ECS service - The resource type is service
and the unique identifier is the cluster name and service name. Example: service/default/sample-webapp
.
-
Spot fleet request - The resource type is spot-fleet-request
and the unique identifier is the Spot fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE
.
-
EMR cluster - The resource type is instancegroup
and the unique identifier is the cluster ID and instance group ID. Example: instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0
.
",
+ "ScalableTarget$RoleARN": "The ARN of an IAM role that allows Application Auto Scaling to modify the scalable target on your behalf.
",
+ "ScalingActivity$ResourceId": "The identifier of the resource associated with the scaling activity. This string consists of the resource type and unique identifier.
-
ECS service - The resource type is service
and the unique identifier is the cluster name and service name. Example: service/default/sample-webapp
.
-
Spot fleet request - The resource type is spot-fleet-request
and the unique identifier is the Spot fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE
.
-
EMR cluster - The resource type is instancegroup
and the unique identifier is the cluster ID and instance group ID. Example: instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0
.
",
"ScalingPolicy$PolicyARN": "The Amazon Resource Name (ARN) of the scaling policy.
",
- "ScalingPolicy$ResourceId": "The resource type and unique identifier string for the resource associated with the scaling policy. For Amazon ECS services, the resource type is services
, and the identifier is the cluster name and service name; for example, service/default/sample-webapp
. For Amazon EC2 Spot fleet requests, the resource type is spot-fleet-request
, and the identifier is the Spot fleet request ID; for example, spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE
.
"
+ "ScalingPolicy$ResourceId": "The identifier of the resource associated with the scaling policy. This string consists of the resource type and unique identifier.
-
ECS service - The resource type is service
and the unique identifier is the cluster name and service name. Example: service/default/sample-webapp
.
-
Spot fleet request - The resource type is spot-fleet-request
and the unique identifier is the Spot fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE
.
-
EMR cluster - The resource type is instancegroup
and the unique identifier is the cluster ID and instance group ID. Example: instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0
.
"
}
},
"ResourceIdsMaxLen1600": {
"base": null,
"refs": {
- "DescribeScalableTargetsRequest$ResourceIds": "The resource type and unique identifier string for the resource associated with the scalable target. For Amazon ECS services, the resource type is services
, and the identifier is the cluster name and service name; for example, service/default/sample-webapp
. For Amazon EC2 Spot fleet requests, the resource type is spot-fleet-request
, and the identifier is the Spot fleet request ID; for example, spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE
. If you specify a scalable dimension, you must also specify a resource ID.
",
+ "DescribeScalableTargetsRequest$ResourceIds": "The identifier of the resource associated with the scalable target. This string consists of the resource type and unique identifier. If you specify a scalable dimension, you must also specify a resource ID.
-
ECS service - The resource type is service
and the unique identifier is the cluster name and service name. Example: service/default/sample-webapp
.
-
Spot fleet request - The resource type is spot-fleet-request
and the unique identifier is the Spot fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE
.
-
EMR cluster - The resource type is instancegroup
and the unique identifier is the cluster ID and instance group ID. Example: instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0
.
",
"DescribeScalingPoliciesRequest$PolicyNames": "The names of the scaling policies to describe.
"
}
},
"ScalableDimension": {
"base": null,
"refs": {
- "DeleteScalingPolicyRequest$ScalableDimension": "The scalable dimension associated with the scaling policy. The scalable dimension contains the service namespace, resource type, and scaling property, such as ecs:service:DesiredCount
for the desired task count of an Amazon ECS service, or ec2:spot-fleet-request:TargetCapacity
for the target capacity of an Amazon EC2 Spot fleet request.
",
- "DeregisterScalableTargetRequest$ScalableDimension": "The scalable dimension associated with the scalable target. The scalable dimension contains the service namespace, resource type, and scaling property, such as ecs:service:DesiredCount
for the desired task count of an Amazon ECS service, or ec2:spot-fleet-request:TargetCapacity
for the target capacity of an Amazon EC2 Spot fleet request.
",
- "DescribeScalableTargetsRequest$ScalableDimension": "The scalable dimension associated with the scalable target. The scalable dimension contains the service namespace, resource type, and scaling property, such as ecs:service:DesiredCount
for the desired task count of an Amazon ECS service, or ec2:spot-fleet-request:TargetCapacity
for the target capacity of an Amazon EC2 Spot fleet request. If you specify a scalable dimension, you must also specify a resource ID.
",
- "DescribeScalingActivitiesRequest$ScalableDimension": "The scalable dimension associated with the scaling activity. The scalable dimension contains the service namespace, resource type, and scaling property, such as ecs:service:DesiredCount
for the desired task count of an Amazon ECS service, or ec2:spot-fleet-request:TargetCapacity
for the target capacity of an Amazon EC2 Spot fleet request. If you specify a scalable dimension, you must also specify a resource ID.
",
- "DescribeScalingPoliciesRequest$ScalableDimension": "The scalable dimension of the scalable target that the scaling policy is associated with. The scalable dimension contains the service namespace, resource type, and scaling property, such as ecs:service:DesiredCount
for the desired task count of an Amazon ECS service, or ec2:spot-fleet-request:TargetCapacity
for the target capacity of an Amazon EC2 Spot fleet request. If you specify a scalable dimension, you must also specify a resource ID.
",
- "PutScalingPolicyRequest$ScalableDimension": "The scalable dimension of the scalable target that this scaling policy applies to. The scalable dimension contains the service namespace, resource type, and scaling property, such as ecs:service:DesiredCount
for the desired task count of an Amazon ECS service, or ec2:spot-fleet-request:TargetCapacity
for the target capacity of an Amazon EC2 Spot fleet request.
",
- "RegisterScalableTargetRequest$ScalableDimension": "The scalable dimension associated with the scalable target. The scalable dimension contains the service namespace, resource type, and scaling property, such as ecs:service:DesiredCount
for the desired task count of an Amazon ECS service, or ec2:spot-fleet-request:TargetCapacity
for the target capacity of an Amazon EC2 Spot fleet request.
",
- "ScalableTarget$ScalableDimension": "The scalable dimension associated with the scalable target. The scalable dimension contains the service namespace, resource type, and scaling property, such as ecs:service:DesiredCount
for the desired task count of an Amazon ECS service, or ec2:spot-fleet-request:TargetCapacity
for the target capacity of an Amazon EC2 Spot fleet request.
",
- "ScalingActivity$ScalableDimension": "The scalable dimension associated with the scaling activity. The scalable dimension contains the service namespace, resource type, and scaling property, such as ecs:service:DesiredCount
for the desired task count of an Amazon ECS service, or ec2:spot-fleet-request:TargetCapacity
for the target capacity of an Amazon EC2 Spot fleet request.
",
- "ScalingPolicy$ScalableDimension": "The scalable dimension associated with the scaling policy. The scalable dimension contains the service namespace, resource type, and scaling property, such as ecs:service:DesiredCount
for the desired task count of an Amazon ECS service, or ec2:spot-fleet-request:TargetCapacity
for the target capacity of an Amazon EC2 Spot fleet request.
"
+ "DeleteScalingPolicyRequest$ScalableDimension": "The scalable dimension. This string consists of the service namespace, resource type, and scaling property.
-
ecs:service:DesiredCount
- The desired task count of an ECS service.
-
ec2:spot-fleet-request:TargetCapacity
- The target capacity of a Spot fleet request.
-
elasticmapreduce:instancegroup:InstanceCount
- The instance count of an EMR Instance Group.
",
+ "DeregisterScalableTargetRequest$ScalableDimension": "The scalable dimension associated with the scalable target. This string consists of the service namespace, resource type, and scaling property.
-
ecs:service:DesiredCount
- The desired task count of an ECS service.
-
ec2:spot-fleet-request:TargetCapacity
- The target capacity of a Spot fleet request.
-
elasticmapreduce:instancegroup:InstanceCount
- The instance count of an EMR Instance Group.
",
+ "DescribeScalableTargetsRequest$ScalableDimension": "The scalable dimension associated with the scalable target. This string consists of the service namespace, resource type, and scaling property. If you specify a scalable dimension, you must also specify a resource ID.
-
ecs:service:DesiredCount
- The desired task count of an ECS service.
-
ec2:spot-fleet-request:TargetCapacity
- The target capacity of a Spot fleet request.
-
elasticmapreduce:instancegroup:InstanceCount
- The instance count of an EMR Instance Group.
",
+ "DescribeScalingActivitiesRequest$ScalableDimension": "The scalable dimension. This string consists of the service namespace, resource type, and scaling property. If you specify a scalable dimension, you must also specify a resource ID.
-
ecs:service:DesiredCount
- The desired task count of an ECS service.
-
ec2:spot-fleet-request:TargetCapacity
- The target capacity of a Spot fleet request.
-
elasticmapreduce:instancegroup:InstanceCount
- The instance count of an EMR Instance Group.
",
+ "DescribeScalingPoliciesRequest$ScalableDimension": "The scalable dimension. This string consists of the service namespace, resource type, and scaling property. If you specify a scalable dimension, you must also specify a resource ID.
-
ecs:service:DesiredCount
- The desired task count of an ECS service.
-
ec2:spot-fleet-request:TargetCapacity
- The target capacity of a Spot fleet request.
-
elasticmapreduce:instancegroup:InstanceCount
- The instance count of an EMR Instance Group.
",
+ "PutScalingPolicyRequest$ScalableDimension": "The scalable dimension. This string consists of the service namespace, resource type, and scaling property.
-
ecs:service:DesiredCount
- The desired task count of an ECS service.
-
ec2:spot-fleet-request:TargetCapacity
- The target capacity of a Spot fleet request.
-
elasticmapreduce:instancegroup:InstanceCount
- The instance count of an EMR Instance Group.
",
+ "RegisterScalableTargetRequest$ScalableDimension": "The scalable dimension associated with the scalable target. This string consists of the service namespace, resource type, and scaling property.
-
ecs:service:DesiredCount
- The desired task count of an ECS service.
-
ec2:spot-fleet-request:TargetCapacity
- The target capacity of a Spot fleet request.
-
elasticmapreduce:instancegroup:InstanceCount
- The instance count of an EMR Instance Group.
",
+ "ScalableTarget$ScalableDimension": "The scalable dimension associated with the scalable target. This string consists of the service namespace, resource type, and scaling property.
-
ecs:service:DesiredCount
- The desired task count of an ECS service.
-
ec2:spot-fleet-request:TargetCapacity
- The target capacity of a Spot fleet request.
-
elasticmapreduce:instancegroup:InstanceCount
- The instance count of an EMR Instance Group.
",
+ "ScalingActivity$ScalableDimension": "The scalable dimension. This string consists of the service namespace, resource type, and scaling property.
-
ecs:service:DesiredCount
- The desired task count of an ECS service.
-
ec2:spot-fleet-request:TargetCapacity
- The target capacity of a Spot fleet request.
-
elasticmapreduce:instancegroup:InstanceCount
- The instance count of an EMR Instance Group.
",
+ "ScalingPolicy$ScalableDimension": "The scalable dimension. This string consists of the service namespace, resource type, and scaling property.
-
ecs:service:DesiredCount
- The desired task count of an ECS service.
-
ec2:spot-fleet-request:TargetCapacity
- The target capacity of a Spot fleet request.
-
elasticmapreduce:instancegroup:InstanceCount
- The instance count of an EMR Instance Group.
"
}
},
"ScalableTarget": {
- "base": "An object representing a scalable target.
",
+ "base": "Represents a scalable target.
",
"refs": {
"ScalableTargets$member": null
}
@@ -266,7 +266,7 @@
}
},
"ScalingActivity": {
- "base": "An object representing a scaling activity.
",
+ "base": "Represents a scaling activity.
",
"refs": {
"ScalingActivities$member": null
}
@@ -290,7 +290,7 @@
}
},
"ScalingPolicy": {
- "base": "An object representing a scaling policy.
",
+ "base": "Represents a scaling policy.
",
"refs": {
"ScalingPolicies$member": null
}
@@ -298,20 +298,20 @@
"ServiceNamespace": {
"base": null,
"refs": {
- "DeleteScalingPolicyRequest$ServiceNamespace": "The namespace for the AWS service that the scaling policy is associated with. For more information, see AWS Service Namespaces in the Amazon Web Services General Reference.
",
- "DeregisterScalableTargetRequest$ServiceNamespace": "The namespace for the AWS service that the scalable target is associated with. For more information, see AWS Service Namespaces in the Amazon Web Services General Reference.
",
- "DescribeScalableTargetsRequest$ServiceNamespace": "The namespace for the AWS service that the scalable target is associated with. For more information, see AWS Service Namespaces in the Amazon Web Services General Reference.
",
- "DescribeScalingActivitiesRequest$ServiceNamespace": "The namespace for the AWS service that the scaling activity is associated with. For more information, see AWS Service Namespaces in the Amazon Web Services General Reference.
",
- "DescribeScalingPoliciesRequest$ServiceNamespace": "The AWS service namespace of the scalable target that the scaling policy is associated with. For more information, see AWS Service Namespaces in the Amazon Web Services General Reference.
",
- "PutScalingPolicyRequest$ServiceNamespace": "The AWS service namespace of the scalable target that this scaling policy applies to. For more information, see AWS Service Namespaces in the Amazon Web Services General Reference.
",
- "RegisterScalableTargetRequest$ServiceNamespace": "The namespace for the AWS service that the scalable target is associated with. For Amazon ECS services, the namespace value is ecs
. For more information, see AWS Service Namespaces in the Amazon Web Services General Reference.
",
- "ScalableTarget$ServiceNamespace": "The namespace for the AWS service that the scalable target is associated with. For more information, see AWS Service Namespaces in the Amazon Web Services General Reference.
",
- "ScalingActivity$ServiceNamespace": "The namespace for the AWS service that the scaling activity is associated with. For more information, see AWS Service Namespaces in the Amazon Web Services General Reference.
",
- "ScalingPolicy$ServiceNamespace": "The namespace for the AWS service that the scaling policy is associated with. For more information, see AWS Service Namespaces in the Amazon Web Services General Reference.
"
+ "DeleteScalingPolicyRequest$ServiceNamespace": "The namespace of the AWS service. For more information, see AWS Service Namespaces in the Amazon Web Services General Reference.
",
+ "DeregisterScalableTargetRequest$ServiceNamespace": "The namespace of the AWS service. For more information, see AWS Service Namespaces in the Amazon Web Services General Reference.
",
+ "DescribeScalableTargetsRequest$ServiceNamespace": "The namespace of the AWS service. For more information, see AWS Service Namespaces in the Amazon Web Services General Reference.
",
+ "DescribeScalingActivitiesRequest$ServiceNamespace": "The namespace of the AWS service. For more information, see AWS Service Namespaces in the Amazon Web Services General Reference.
",
+ "DescribeScalingPoliciesRequest$ServiceNamespace": "The namespace of the AWS service. For more information, see AWS Service Namespaces in the Amazon Web Services General Reference.
",
+ "PutScalingPolicyRequest$ServiceNamespace": "The namespace of the AWS service. For more information, see AWS Service Namespaces in the Amazon Web Services General Reference.
",
+ "RegisterScalableTargetRequest$ServiceNamespace": "The namespace of the AWS service. For more information, see AWS Service Namespaces in the Amazon Web Services General Reference.
",
+ "ScalableTarget$ServiceNamespace": "The namespace of the AWS service. For more information, see AWS Service Namespaces in the Amazon Web Services General Reference.
",
+ "ScalingActivity$ServiceNamespace": "The namespace of the AWS service. For more information, see AWS Service Namespaces in the Amazon Web Services General Reference.
",
+ "ScalingPolicy$ServiceNamespace": "The namespace of the AWS service. For more information, see AWS Service Namespaces in the Amazon Web Services General Reference.
"
}
},
"StepAdjustment": {
- "base": "An object representing a step adjustment for a StepScalingPolicyConfiguration. Describes an adjustment based on the difference between the value of the aggregated CloudWatch metric and the breach threshold that you've defined for the alarm.
For the following examples, suppose that you have an alarm with a breach threshold of 50:
-
If you want the adjustment to be triggered when the metric is greater than or equal to 50 and less than 60, specify a lower bound of 0 and an upper bound of 10.
-
If you want the adjustment to be triggered when the metric is greater than 40 and less than or equal to 50, specify a lower bound of -10 and an upper bound of 0.
There are a few rules for the step adjustments for your step policy:
-
The ranges of your step adjustments can't overlap or have a gap.
-
At most one step adjustment can have a null lower bound. If one step adjustment has a negative lower bound, then there must be a step adjustment with a null lower bound.
-
At most one step adjustment can have a null upper bound. If one step adjustment has a positive upper bound, then there must be a step adjustment with a null upper bound.
-
The upper and lower bound can't be null in the same step adjustment.
",
+ "base": "Represents a step adjustment for a StepScalingPolicyConfiguration. Describes an adjustment based on the difference between the value of the aggregated CloudWatch metric and the breach threshold that you've defined for the alarm.
For the following examples, suppose that you have an alarm with a breach threshold of 50:
-
To trigger the adjustment when the metric is greater than or equal to 50 and less than 60, specify a lower bound of 0 and an upper bound of 10.
-
To trigger the adjustment when the metric is greater than 40 and less than or equal to 50, specify a lower bound of -10 and an upper bound of 0.
There are a few rules for the step adjustments for your step policy:
-
The ranges of your step adjustments can't overlap or have a gap.
-
At most one step adjustment can have a null lower bound. If one step adjustment has a negative lower bound, then there must be a step adjustment with a null lower bound.
-
At most one step adjustment can have a null upper bound. If one step adjustment has a positive upper bound, then there must be a step adjustment with a null upper bound.
-
The upper and lower bound can't be null in the same step adjustment.
",
"refs": {
"StepAdjustments$member": null
}
@@ -323,9 +323,9 @@
}
},
"StepScalingPolicyConfiguration": {
- "base": "An object representing a step scaling policy configuration.
",
+ "base": "Represents a step scaling policy configuration.
",
"refs": {
- "PutScalingPolicyRequest$StepScalingPolicyConfiguration": "The configuration for the step scaling policy. If you are creating a new policy, this parameter is required. If you are updating an existing policy, this parameter is not required. For more information, see StepScalingPolicyConfiguration and StepAdjustment.
",
+ "PutScalingPolicyRequest$StepScalingPolicyConfiguration": "The configuration for the step scaling policy. If you are creating a new policy, this parameter is required. If you are updating a policy, this parameter is not required. For more information, see StepScalingPolicyConfiguration and StepAdjustment.
",
"ScalingPolicy$StepScalingPolicyConfiguration": "The configuration for the step scaling policy.
"
}
},
@@ -346,12 +346,12 @@
"XmlString": {
"base": null,
"refs": {
- "DescribeScalableTargetsRequest$NextToken": "The NextToken
value returned from a previous paginated DescribeScalableTargets
request. 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.
",
- "DescribeScalableTargetsResponse$NextToken": "The NextToken
value to include in a future DescribeScalableTargets
request. When the results of a DescribeScalableTargets
request exceed MaxResults
, this value can be used to retrieve the next page of results. This value is null
when there are no more results to return.
",
- "DescribeScalingActivitiesRequest$NextToken": "The NextToken
value returned from a previous paginated DescribeScalingActivities
request. 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.
",
- "DescribeScalingActivitiesResponse$NextToken": "The NextToken
value to include in a future DescribeScalingActivities
request. When the results of a DescribeScalingActivities
request exceed MaxResults
, this value can be used to retrieve the next page of results. This value is null
when there are no more results to return.
",
- "DescribeScalingPoliciesRequest$NextToken": "The NextToken
value returned from a previous paginated DescribeScalingPolicies
request. 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.
",
- "DescribeScalingPoliciesResponse$NextToken": "The NextToken
value to include in a future DescribeScalingPolicies
request. When the results of a DescribeScalingPolicies
request exceed MaxResults
, this value can be used to retrieve the next page of results. This value is null
when there are no more results to return.
",
+ "DescribeScalableTargetsRequest$NextToken": "The token for the next set of results.
",
+ "DescribeScalableTargetsResponse$NextToken": "The token required to get the next set of results. This value is null
if there are no more results to return.
",
+ "DescribeScalingActivitiesRequest$NextToken": "The token for the next set of results.
",
+ "DescribeScalingActivitiesResponse$NextToken": "The token required to get the next set of results. This value is null
if there are no more results to return.
",
+ "DescribeScalingPoliciesRequest$NextToken": "The token for the next set of results.
",
+ "DescribeScalingPoliciesResponse$NextToken": "The token required to get the next set of results. This value is null
if there are no more results to return.
",
"ScalingActivity$Description": "A simple description of what action the scaling activity intends to accomplish.
",
"ScalingActivity$Cause": "A simple description of what caused the scaling activity to happen.
",
"ScalingActivity$StatusMessage": "A simple message about the current status of the scaling activity.
",
diff --git a/vendor/github.com/aws/aws-sdk-go/models/apis/cloudformation/2010-05-15/api-2.json b/vendor/github.com/aws/aws-sdk-go/models/apis/cloudformation/2010-05-15/api-2.json
index 543361e..f9b0bf6 100644
--- a/vendor/github.com/aws/aws-sdk-go/models/apis/cloudformation/2010-05-15/api-2.json
+++ b/vendor/github.com/aws/aws-sdk-go/models/apis/cloudformation/2010-05-15/api-2.json
@@ -237,6 +237,18 @@
"resultWrapper":"ListChangeSetsResult"
}
},
+ "ListExports":{
+ "name":"ListExports",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"ListExportsInput"},
+ "output":{
+ "shape":"ListExportsOutput",
+ "resultWrapper":"ListExportsResult"
+ }
+ },
"ListStackResources":{
"name":"ListStackResources",
"http":{
@@ -425,6 +437,13 @@
"Description":{"shape":"Description"}
}
},
+ "ChangeSetType":{
+ "type":"string",
+ "enum":[
+ "CREATE",
+ "UPDATE"
+ ]
+ },
"ChangeSource":{
"type":"string",
"enum":[
@@ -453,7 +472,8 @@
"required":["StackName"],
"members":{
"StackName":{"shape":"StackNameOrId"},
- "RoleARN":{"shape":"RoleARN"}
+ "RoleARN":{"shape":"RoleARN"},
+ "ResourcesToSkip":{"shape":"ResourcesToSkip"}
}
},
"ContinueUpdateRollbackOutput":{
@@ -480,13 +500,15 @@
"Tags":{"shape":"Tags"},
"ChangeSetName":{"shape":"ChangeSetName"},
"ClientToken":{"shape":"ClientToken"},
- "Description":{"shape":"Description"}
+ "Description":{"shape":"Description"},
+ "ChangeSetType":{"shape":"ChangeSetType"}
}
},
"CreateChangeSetOutput":{
"type":"structure",
"members":{
- "Id":{"shape":"ChangeSetId"}
+ "Id":{"shape":"ChangeSetId"},
+ "StackId":{"shape":"StackId"}
}
},
"CreateStackInput":{
@@ -692,6 +714,20 @@
"OBSOLETE"
]
},
+ "Export":{
+ "type":"structure",
+ "members":{
+ "ExportingStackId":{"shape":"StackId"},
+ "Name":{"shape":"ExportName"},
+ "Value":{"shape":"ExportValue"}
+ }
+ },
+ "ExportName":{"type":"string"},
+ "ExportValue":{"type":"string"},
+ "Exports":{
+ "type":"list",
+ "member":{"shape":"Export"}
+ },
"GetStackPolicyInput":{
"type":"structure",
"required":["StackName"],
@@ -707,15 +743,17 @@
},
"GetTemplateInput":{
"type":"structure",
- "required":["StackName"],
"members":{
- "StackName":{"shape":"StackName"}
+ "StackName":{"shape":"StackName"},
+ "ChangeSetName":{"shape":"ChangeSetNameOrId"},
+ "TemplateStage":{"shape":"TemplateStage"}
}
},
"GetTemplateOutput":{
"type":"structure",
"members":{
- "TemplateBody":{"shape":"TemplateBody"}
+ "TemplateBody":{"shape":"TemplateBody"},
+ "StagesAvailable":{"shape":"StageList"}
}
},
"GetTemplateSummaryInput":{
@@ -735,7 +773,8 @@
"CapabilitiesReason":{"shape":"CapabilitiesReason"},
"ResourceTypes":{"shape":"ResourceTypes"},
"Version":{"shape":"Version"},
- "Metadata":{"shape":"Metadata"}
+ "Metadata":{"shape":"Metadata"},
+ "DeclaredTransforms":{"shape":"TransformsList"}
}
},
"InsufficientCapabilitiesException":{
@@ -789,6 +828,19 @@
"NextToken":{"shape":"NextToken"}
}
},
+ "ListExportsInput":{
+ "type":"structure",
+ "members":{
+ "NextToken":{"shape":"NextToken"}
+ }
+ },
+ "ListExportsOutput":{
+ "type":"structure",
+ "members":{
+ "Exports":{"shape":"Exports"},
+ "NextToken":{"shape":"NextToken"}
+ }
+ },
"ListStackResourcesInput":{
"type":"structure",
"required":["StackName"],
@@ -981,6 +1033,10 @@
"RequiresRecreation":{"shape":"RequiresRecreation"}
}
},
+ "ResourceToSkip":{
+ "type":"string",
+ "pattern":"[a-zA-Z0-9]+|[a-zA-Z][-a-zA-Z0-9]*\\.[a-zA-Z0-9]+"
+ },
"ResourceType":{
"type":"string",
"max":256,
@@ -990,6 +1046,10 @@
"type":"list",
"member":{"shape":"ResourceType"}
},
+ "ResourcesToSkip":{
+ "type":"list",
+ "member":{"shape":"ResourceToSkip"}
+ },
"RetainResources":{
"type":"list",
"member":{"shape":"LogicalResourceId"}
@@ -1037,6 +1097,7 @@
"members":{
"StackId":{"shape":"StackId"},
"StackName":{"shape":"StackName"},
+ "ChangeSetId":{"shape":"ChangeSetId"},
"Description":{"shape":"Description"},
"Parameters":{"shape":"Parameters"},
"CreationTime":{"shape":"CreationTime"},
@@ -1188,7 +1249,8 @@
"UPDATE_ROLLBACK_IN_PROGRESS",
"UPDATE_ROLLBACK_FAILED",
"UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS",
- "UPDATE_ROLLBACK_COMPLETE"
+ "UPDATE_ROLLBACK_COMPLETE",
+ "REVIEW_IN_PROGRESS"
]
},
"StackStatusFilter":{
@@ -1222,6 +1284,10 @@
"type":"list",
"member":{"shape":"Stack"}
},
+ "StageList":{
+ "type":"list",
+ "member":{"shape":"TemplateStage"}
+ },
"Tag":{
"type":"structure",
"members":{
@@ -1253,6 +1319,13 @@
"type":"list",
"member":{"shape":"TemplateParameter"}
},
+ "TemplateStage":{
+ "type":"string",
+ "enum":[
+ "Original",
+ "Processed"
+ ]
+ },
"TemplateURL":{
"type":"string",
"max":1024,
@@ -1263,6 +1336,11 @@
"min":1
},
"Timestamp":{"type":"timestamp"},
+ "TransformName":{"type":"string"},
+ "TransformsList":{
+ "type":"list",
+ "member":{"shape":"TransformName"}
+ },
"UpdateStackInput":{
"type":"structure",
"required":["StackName"],
@@ -1305,7 +1383,8 @@
"Parameters":{"shape":"TemplateParameters"},
"Description":{"shape":"Description"},
"Capabilities":{"shape":"Capabilities"},
- "CapabilitiesReason":{"shape":"CapabilitiesReason"}
+ "CapabilitiesReason":{"shape":"CapabilitiesReason"},
+ "DeclaredTransforms":{"shape":"TransformsList"}
}
},
"Version":{"type":"string"}
diff --git a/vendor/github.com/aws/aws-sdk-go/models/apis/cloudformation/2010-05-15/docs-2.json b/vendor/github.com/aws/aws-sdk-go/models/apis/cloudformation/2010-05-15/docs-2.json
index a4b2aa1..fc7715d 100644
--- a/vendor/github.com/aws/aws-sdk-go/models/apis/cloudformation/2010-05-15/docs-2.json
+++ b/vendor/github.com/aws/aws-sdk-go/models/apis/cloudformation/2010-05-15/docs-2.json
@@ -1,10 +1,10 @@
{
"version": "2.0",
- "service": "AWS CloudFormation AWS CloudFormation enables you to create and manage AWS infrastructure deployments predictably and repeatedly. AWS CloudFormation helps you leverage AWS products such as Amazon EC2, EBS, Amazon SNS, ELB, and Auto Scaling to build highly-reliable, highly scalable, cost effective applications without worrying about creating and configuring the underlying AWS infrastructure.
With AWS CloudFormation, you declare all of your resources and dependencies in a template file. The template defines a collection of resources as a single unit called a stack. AWS CloudFormation creates and deletes all member resources of the stack together and manages all dependencies between the resources for you.
For more information about this product, go to the CloudFormation Product Page.
Amazon CloudFormation makes use of other AWS products. If you need additional technical information about a specific AWS product, you can find the product's technical documentation at http://docs.aws.amazon.com/.
",
+ "service": "AWS CloudFormation AWS CloudFormation allows you to create and manage AWS infrastructure deployments predictably and repeatedly. You can use AWS CloudFormation to leverage AWS products, such as Amazon Elastic Compute Cloud, Amazon Elastic Block Store, Amazon Simple Notification Service, Elastic Load Balancing, and Auto Scaling to build highly-reliable, highly scalable, cost-effective applications without creating or configuring the underlying AWS infrastructure.
With AWS CloudFormation, you declare all of your resources and dependencies in a template file. The template defines a collection of resources as a single unit called a stack. AWS CloudFormation creates and deletes all member resources of the stack together and manages all dependencies between the resources for you.
For more information about AWS CloudFormation, see the AWS CloudFormation Product Page.
Amazon CloudFormation makes use of other AWS products. If you need additional technical information about a specific AWS product, you can find the product's technical documentation at http://docs.aws.amazon.com/.
",
"operations": {
"CancelUpdateStack": "Cancels an update on the specified stack. If the call completes successfully, the stack rolls back the update and reverts to the previous stack configuration.
You can cancel only stacks that are in the UPDATE_IN_PROGRESS state.
",
"ContinueUpdateRollback": "For a specified stack that is in the UPDATE_ROLLBACK_FAILED
state, continues rolling it back to the UPDATE_ROLLBACK_COMPLETE
state. Depending on the cause of the failure, you can manually fix the error and continue the rollback. By continuing the rollback, you can return your stack to a working state (the UPDATE_ROLLBACK_COMPLETE
state), and then try to update the stack again.
A stack goes into the UPDATE_ROLLBACK_FAILED
state when AWS CloudFormation cannot roll back all changes after a failed stack update. For example, you might have a stack that is rolling back to an old database instance that was deleted outside of AWS CloudFormation. Because AWS CloudFormation doesn't know the database was deleted, it assumes that the database instance still exists and attempts to roll back to it, causing the update rollback to fail.
",
- "CreateChangeSet": "Creates a list of changes for a stack. AWS CloudFormation generates the change set by comparing the stack's information with the information that you submit. A change set can help you understand which resources AWS CloudFormation will change and how it will change them before you update your stack. Change sets allow you to check before you make a change so that you don't delete or replace critical resources.
AWS CloudFormation doesn't make any changes to the stack when you create a change set. To make the specified changes, you must execute the change set by using the ExecuteChangeSet action.
After the call successfully completes, AWS CloudFormation starts creating the change set. To check the status of the change set, use the DescribeChangeSet action.
",
+ "CreateChangeSet": "Creates a list of changes for a stack. AWS CloudFormation generates the change set by comparing the template's information with the information that you submit. A change set can help you understand which resources AWS CloudFormation will change, and how it will change them, before you update your stack. Change sets allow you to check before making a change to avoid deleting or replacing critical resources.
AWS CloudFormation doesn't make any changes to the stack when you create a change set. To make the specified changes, you must execute the change set by using the ExecuteChangeSet action.
After the call successfully completes, AWS CloudFormation starts creating the change set. To check the status of the change set, use the DescribeChangeSet action.
",
"CreateStack": "Creates a stack as specified in the template. After the call completes successfully, the stack creation starts. You can check the status of the stack via the DescribeStacks API.
",
"DeleteChangeSet": "Deletes the specified change set. Deleting change sets ensures that no one executes the wrong change set.
If the call successfully completes, AWS CloudFormation successfully deleted the change set.
",
"DeleteStack": "Deletes a specified stack. Once the call completes successfully, stack deletion starts. Deleted stacks do not show up in the DescribeStacks API if the deletion has been completed successfully.
",
@@ -20,6 +20,7 @@
"GetTemplate": "Returns the template body for a specified stack. You can get the template for running or deleted stacks.
For deleted stacks, GetTemplate returns the template for up to 90 days after the stack has been deleted.
If the template does not exist, a ValidationError
is returned.
",
"GetTemplateSummary": "Returns information about a new or existing template. The GetTemplateSummary
action is useful for viewing parameter information, such as default parameter values and parameter types, before you create or update a stack.
You can use the GetTemplateSummary
action when you submit a template, or you can get template information for a running or deleted stack.
For deleted stacks, GetTemplateSummary
returns the template information for up to 90 days after the stack has been deleted. If the template does not exist, a ValidationError
is returned.
",
"ListChangeSets": "Returns the ID and status of each active change set for a stack. For example, AWS CloudFormation lists change sets that are in the CREATE_IN_PROGRESS
or CREATE_PENDING
state.
",
+ "ListExports": "Lists all exported output values in the account and region in which you call this action. Use this action to see the exported output values that you can import into other stacks. To import values, use the Fn::ImportValue
function.
For more information, see AWS CloudFormation Export Stack Output Values.
",
"ListStackResources": "Returns descriptions of all resources of the specified stack.
For deleted stacks, ListStackResources returns resource information for up to 90 days after the stack has been deleted.
",
"ListStacks": "Returns the summary information for stacks whose status matches the specified StackStatusFilter. Summary information for stacks that have been deleted is kept for 90 days after the stack is deleted. If no StackStatusFilter is specified, summary information for all stacks is returned (including existing stacks and stacks that have been deleted).
",
"SetStackPolicy": "Sets a stack policy for a specified stack.
",
@@ -110,7 +111,8 @@
"refs": {
"ChangeSetSummary$ChangeSetId": "The ID of the change set.
",
"CreateChangeSetOutput$Id": "The Amazon Resource Name (ARN) of the change set.
",
- "DescribeChangeSetOutput$ChangeSetId": "The ARN of the change set.
"
+ "DescribeChangeSetOutput$ChangeSetId": "The ARN of the change set.
",
+ "Stack$ChangeSetId": "The unique ID of the change set.
"
}
},
"ChangeSetName": {
@@ -126,7 +128,8 @@
"refs": {
"DeleteChangeSetInput$ChangeSetName": "The name or Amazon Resource Name (ARN) of the change set that you want to delete.
",
"DescribeChangeSetInput$ChangeSetName": "The name or Amazon Resource Name (ARN) of the change set that you want to describe.
",
- "ExecuteChangeSetInput$ChangeSetName": "The name or ARN of the change set that you want use to update the specified stack.
"
+ "ExecuteChangeSetInput$ChangeSetName": "The name or ARN of the change set that you want use to update the specified stack.
",
+ "GetTemplateInput$ChangeSetName": "Returns the template for a change set using the Amazon Resource Name (ARN) or name of the change set. If you specify a name, you must also specify the StackName
.
"
}
},
"ChangeSetNotFoundException": {
@@ -160,6 +163,12 @@
"ChangeSetSummaries$member": null
}
},
+ "ChangeSetType": {
+ "base": null,
+ "refs": {
+ "CreateChangeSetInput$ChangeSetType": "The type of change set operation.
Valid values are CREATE
and UPDATE
. The default value is UPDATE
.
-
CREATE
- Specify to use the change set to create a new stack. While AWS CloudFormation creates the stack, the stack has the REVIEW_IN_PROGRESS
status and an expected StackId
, but no template or resources. Except for its StackId
, the stack is completely empty until you execute the change set. You can apply multiple change sets to a stack.
-
UPDATE
- Specify to create a change set for an existing stack.
"
+ }
+ },
"ChangeSource": {
"base": null,
"refs": {
@@ -366,6 +375,30 @@
"DescribeChangeSetOutput$ExecutionStatus": "If the change set execution status is AVAILABLE
, you can execute the change set. If you can’t execute the change set, the status indicates why. For example, a change set might be in an UNAVAILABLE
state because AWS CloudFormation is still creating it or in an OBSOLETE
state because the stack was already updated.
"
}
},
+ "Export": {
+ "base": "The Export
structure describes the exported output values for a stack.
",
+ "refs": {
+ "Exports$member": null
+ }
+ },
+ "ExportName": {
+ "base": null,
+ "refs": {
+ "Export$Name": "The name of exported output value. Use this name and the Fn::ImportValue
function to import the associated value into other stacks. The name is defined in the Export
field in the associated stack's Outputs
section.
"
+ }
+ },
+ "ExportValue": {
+ "base": null,
+ "refs": {
+ "Export$Value": "The value of the exported output, such as a resource physical ID. This value is defined in the Export
field in the associated stack's Outputs
section.
"
+ }
+ },
+ "Exports": {
+ "base": null,
+ "refs": {
+ "ListExportsOutput$Exports": "The output for the ListExports action.
"
+ }
+ },
"GetStackPolicyInput": {
"base": "The input for the GetStackPolicy action.
",
"refs": {
@@ -440,6 +473,16 @@
"refs": {
}
},
+ "ListExportsInput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "ListExportsOutput": {
+ "base": null,
+ "refs": {
+ }
+ },
"ListStackResourcesInput": {
"base": "The input for the ListStackResource action.
",
"refs": {
@@ -494,6 +537,8 @@
"DescribeStacksOutput$NextToken": "If the output exceeds 1 MB in size, a string that identifies the next page of stacks. If no additional page exists, this value is null.
",
"ListChangeSetsInput$NextToken": "A string (provided by the ListChangeSets response output) that identifies the next page of change sets that you want to retrieve.
",
"ListChangeSetsOutput$NextToken": "If the output exceeds 1 MB, a string that identifies the next page of change sets. If there is no additional page, this value is null.
",
+ "ListExportsInput$NextToken": "A string (provided by the ListExports response output) that identifies the next page of exported output values that you asked to retrieve.
",
+ "ListExportsOutput$NextToken": "If the output exceeds 100 exported output values, a string that identifies the next page of exports. If there is no additional page, this value is null.
",
"ListStackResourcesInput$NextToken": "A string that identifies the next page of stack resources that you want to retrieve.
",
"ListStackResourcesOutput$NextToken": "If the output exceeds 1 MB, a string that identifies the next page of stack resources. If no additional page exists, this value is null.
",
"ListStacksInput$NextToken": "A string that identifies the next page of stacks that you want to retrieve.
",
@@ -706,6 +751,12 @@
"ResourceChangeDetail$Target": "A ResourceTargetDefinition
structure that describes the field that AWS CloudFormation will change and whether the resource will be recreated.
"
}
},
+ "ResourceToSkip": {
+ "base": null,
+ "refs": {
+ "ResourcesToSkip$member": null
+ }
+ },
"ResourceType": {
"base": null,
"refs": {
@@ -726,6 +777,12 @@
"UpdateStackInput$ResourceTypes": "The template resource types that you have permissions to work with for this update stack action, such as AWS::EC2::Instance
, AWS::EC2::*
, or Custom::MyCustomInstance
.
If the list of resource types doesn't include a resource that you're updating, the stack update fails. By default, AWS CloudFormation grants permissions to all resource types. AWS Identity and Access Management (IAM) uses this parameter for AWS CloudFormation-specific condition keys in IAM policies. For more information, see Controlling Access with AWS Identity and Access Management.
"
}
},
+ "ResourcesToSkip": {
+ "base": null,
+ "refs": {
+ "ContinueUpdateRollbackInput$ResourcesToSkip": "A list of the logical IDs of the resources that AWS CloudFormation skips during the continue update rollback operation. You can specify only resources that are in the UPDATE_FAILED
state because a rollback failed. You can't specify resources that are in the UPDATE_FAILED
state for other reasons, for example, because an update was canceled. To check why a resource update failed, use the DescribeStackResources action, and view the resource status reason.
Specify this property to skip rolling back resources that AWS CloudFormation can't successfully roll back. We recommend that you troubleshoot resources before skipping them. AWS CloudFormation sets the status of the specified resources to UPDATE_COMPLETE
and continues to roll back the stack. After the rollback is complete, the state of the skipped resources will be inconsistent with the state of the resources in the stack template. Before performing another stack update, you must update the stack or resources to be consistent with each other. If you don't, subsequent stack updates might fail, and the stack will become unrecoverable.
Specify the minimum number of resources required to successfully roll back your stack. For example, a failed resource update might cause dependent resources to fail. In this case, it might not be necessary to skip the dependent resources.
To specify resources in a nested stack, use the following format: NestedStackName.ResourceLogicalID
. You can specify a nested stack resource (the logical ID of an AWS::CloudFormation::Stack
resource) only if it's in one of the following states: DELETE_IN_PROGRESS
, DELETE_COMPLETE
, or DELETE_FAILED
.
"
+ }
+ },
"RetainResources": {
"base": null,
"refs": {
@@ -736,7 +793,7 @@
"base": null,
"refs": {
"ContinueUpdateRollbackInput$RoleARN": "The Amazon Resource Name (ARN) of an AWS Identity and Access Management (IAM) role that AWS CloudFormation assumes to roll back the stack. AWS CloudFormation uses the role's credentials to make calls on your behalf. AWS CloudFormation always uses this role for all future operations on the stack. As long as users have permission to operate on the stack, AWS CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least privilege.
If you don't specify a value, AWS CloudFormation uses the role that was previously associated with the stack. If no role is available, AWS CloudFormation uses a temporary session that is generated from your user credentials.
",
- "CreateChangeSetInput$RoleARN": "The Amazon Resource Name (ARN) of an AWS Identity and Access Management (IAM) role that AWS CloudFormation assumes when executing the change set. AWS CloudFormation uses the role's credentials to make calls on your behalf. AWS CloudFormation always uses this role for all future operations on the stack. As long as users have permission to operate on the stack, AWS CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least privilege.
If you don't specify a value, AWS CloudFormation uses the role that was previously associated with the stack. If no role is available, AWS CloudFormation uses a temporary session that is generated from your user credentials.
",
+ "CreateChangeSetInput$RoleARN": "The Amazon Resource Name (ARN) of an AWS Identity and Access Management (IAM) role that AWS CloudFormation assumes when executing the change set. AWS CloudFormation uses the role's credentials to make calls on your behalf. AWS CloudFormation uses this role for all future operations on the stack. As long as users have permission to operate on the stack, AWS CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least privilege.
If you don't specify a value, AWS CloudFormation uses the role that was previously associated with the stack. If no role is available, AWS CloudFormation uses a temporary session that is generated from your user credentials.
",
"CreateStackInput$RoleARN": "The Amazon Resource Name (ARN) of an AWS Identity and Access Management (IAM) role that AWS CloudFormation assumes to create the stack. AWS CloudFormation uses the role's credentials to make calls on your behalf. AWS CloudFormation always uses this role for all future operations on the stack. As long as users have permission to operate on the stack, AWS CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least privilege.
If you don't specify a value, AWS CloudFormation uses the role that was previously associated with the stack. If no role is available, AWS CloudFormation uses a temporary session that is generated from your user credentials.
",
"DeleteStackInput$RoleARN": "The Amazon Resource Name (ARN) of an AWS Identity and Access Management (IAM) role that AWS CloudFormation assumes to delete the stack. AWS CloudFormation uses the role's credentials to make calls on your behalf.
If you don't specify a value, AWS CloudFormation uses the role that was previously associated with the stack. If no role is available, AWS CloudFormation uses a temporary session that is generated from your user credentials.
",
"Stack$RoleARN": "The Amazon Resource Name (ARN) of an AWS Identity and Access Management (IAM) role that is associated with the stack. During a stack operation, AWS CloudFormation uses this role's credentials to make calls on your behalf.
",
@@ -781,8 +838,10 @@
"base": null,
"refs": {
"ChangeSetSummary$StackId": "The ID of the stack with which the change set is associated.
",
+ "CreateChangeSetOutput$StackId": "The unique ID of the stack.
",
"CreateStackOutput$StackId": "Unique identifier of the stack.
",
"DescribeChangeSetOutput$StackId": "The ARN of the stack that is associated with the change set.
",
+ "Export$ExportingStackId": "The stack that contains the exported output name and value.
",
"Stack$StackId": "Unique identifier of the stack.
",
"StackEvent$StackId": "The unique ID name of the instance of the stack.
",
"StackResource$StackId": "Unique identifier of the stack.
",
@@ -818,7 +877,7 @@
"StackNameOrId": {
"base": null,
"refs": {
- "ContinueUpdateRollbackInput$StackName": "The name or the unique ID of the stack that you want to continue rolling back.
",
+ "ContinueUpdateRollbackInput$StackName": "The name or the unique ID of the stack that you want to continue rolling back.
Don't specify the name of a nested stack (a stack that was created by using the AWS::CloudFormation::Stack
resource). Instead, use this operation on the parent stack (the stack that contains the AWS::CloudFormation::Stack
resource).
",
"CreateChangeSetInput$StackName": "The name or the unique ID of the stack for which you are creating a change set. AWS CloudFormation generates the change set by comparing this stack's information with the information that you submit, such as a modified template or different parameter input values.
",
"DeleteChangeSetInput$StackName": "If you specified the name of a change set to delete, specify the stack name or ID (ARN) that is associated with it.
",
"DescribeChangeSetInput$StackName": "If you specified the name of a change set, specify the stack name or ID (ARN) of the change set you want to describe.
",
@@ -926,6 +985,12 @@
"DescribeStacksOutput$Stacks": "A list of stack structures.
"
}
},
+ "StageList": {
+ "base": null,
+ "refs": {
+ "GetTemplateOutput$StagesAvailable": "The template type.
-
For stacks, you can use either the Original
or the Processed
template type.
-
For change sets, you can use only the Original
template type. After the transforms are processed, you can use the Processed
template type.
If you create a change set for a new stack, you must select the template type.
"
+ }
+ },
"Tag": {
"base": "The Tag type enables you to specify a key-value pair that can be used to store information about an AWS CloudFormation stack.
",
"refs": {
@@ -984,6 +1049,13 @@
"ValidateTemplateOutput$Parameters": "A list of TemplateParameter
structures.
"
}
},
+ "TemplateStage": {
+ "base": null,
+ "refs": {
+ "GetTemplateInput$TemplateStage": "The stage of the template that is returned.
Valid values are Original
and Processed
. The default value is Original
.
",
+ "StageList$member": null
+ }
+ },
"TemplateURL": {
"base": null,
"refs": {
@@ -1011,6 +1083,19 @@
"StackResourceSummary$LastUpdatedTimestamp": "Time the status was updated.
"
}
},
+ "TransformName": {
+ "base": null,
+ "refs": {
+ "TransformsList$member": null
+ }
+ },
+ "TransformsList": {
+ "base": null,
+ "refs": {
+ "GetTemplateSummaryOutput$DeclaredTransforms": "A list of the transforms that are declared in the template.
",
+ "ValidateTemplateOutput$DeclaredTransforms": "A list of the transforms that are declared in the template.
"
+ }
+ },
"UpdateStackInput": {
"base": "The input for an UpdateStack action.
",
"refs": {
diff --git a/vendor/github.com/aws/aws-sdk-go/models/apis/cloudformation/2010-05-15/examples-1.json b/vendor/github.com/aws/aws-sdk-go/models/apis/cloudformation/2010-05-15/examples-1.json
index 0ea7e3b..e780262 100644
--- a/vendor/github.com/aws/aws-sdk-go/models/apis/cloudformation/2010-05-15/examples-1.json
+++ b/vendor/github.com/aws/aws-sdk-go/models/apis/cloudformation/2010-05-15/examples-1.json
@@ -1,5 +1,158 @@
{
"version": "1.0",
"examples": {
+ "CancelUpdateStack": [
+ {
+ "input": {
+ "StackName": "MyStack"
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ }
+ },
+ "description": "This example cancels an update of the specified stack.",
+ "id": "to-cancel-a-stack-update-that-is-in-progress-1472747085196",
+ "title": "To cancel a stack update in progress"
+ }
+ ],
+ "UpdateStack": [
+ {
+ "input": {
+ "NotificationARNs": [
+
+ ],
+ "Parameters": [
+ {
+ "ParameterKey": "KeyPairName",
+ "ParameterValue": "ExampleKeyPair"
+ },
+ {
+ "ParameterKey": "SubnetIDs",
+ "ParameterValue": "ExampleSubnetID1, ExampleSubnetID2"
+ }
+ ],
+ "ResourceTypes": [
+
+ ],
+ "StackName": "MyStack",
+ "Tags": [
+
+ ],
+ "TemplateURL": "https://s3.amazonaws.com/example/updated.template"
+ },
+ "output": {
+ "StackId": ""
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ }
+ },
+ "description": "This example updates the template and input parameters for the specified stack.",
+ "id": "to-update-an-aws-cloudformation-stack-1472841931621",
+ "title": "To update an AWS CloudFormation stack"
+ },
+ {
+ "input": {
+ "NotificationARNs": [
+
+ ],
+ "Parameters": [
+ {
+ "ParameterKey": "KeyPairName",
+ "UsePreviousValue": true
+ },
+ {
+ "ParameterKey": "SubnetIDs",
+ "ParameterValue": "SampleSubnetID1, UpdatedSampleSubnetID2"
+ }
+ ],
+ "ResourceTypes": [
+
+ ],
+ "StackName": "MyStack",
+ "Tags": [
+
+ ],
+ "TemplateURL": "https://s3.amazonaws.com/example/updated.template"
+ },
+ "output": {
+ "StackId": ""
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ }
+ },
+ "description": "This example updates only the the specified parameter value for the specified stack. If you don't specify a parameter value, AWS CloudFormation uses the default value from the template.",
+ "id": "to-update-an-aws-cloudformation-stack-1472841931621",
+ "title": "To update an AWS CloudFormation stack"
+ },
+ {
+ "input": {
+ "Capabilities": [
+
+ ],
+ "NotificationARNs": [
+ "arn:aws:sns:use-east-1:123456789012:mytopic1",
+ "arn:aws:sns:us-east-1:123456789012:mytopic2"
+ ],
+ "Parameters": [
+
+ ],
+ "ResourceTypes": [
+
+ ],
+ "StackName": "MyStack",
+ "Tags": [
+
+ ],
+ "TemplateURL": "https://s3.amazonaws.com/example/updated.template",
+ "UsePreviousTemplate": true
+ },
+ "output": {
+ "StackId": ""
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ }
+ },
+ "description": "This example adds two stack notification topics to the specified stack.",
+ "id": "to-update-an-aws-cloudformation-stack-1472841931621",
+ "title": "To update an AWS CloudFormation stack"
+ }
+ ],
+ "ValidateTemplate": [
+ {
+ "input": {
+ "TemplateBody": "MyTemplate.json"
+ },
+ "output": {
+ "Capabilities": [
+
+ ],
+ "CapabilitiesReason": "",
+ "Description": "AWS CloudFormation Example Template S3_Bucket: An example template that shows how to create a publicly-accessible S3 bucket. IMPORTANT: This template creates an S3 bucket. You will be billed for the AWS resources used if you create a stack from this template.",
+ "Parameters": [
+
+ ]
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ }
+ },
+ "description": "This example validates the specified template.",
+ "id": "to-validate-an-aws-cloudformation-template-1472839072307",
+ "title": "To validate an AWS CloudFormation template"
+ }
+ ]
}
}
diff --git a/vendor/github.com/aws/aws-sdk-go/models/apis/cloudformation/2010-05-15/waiters-2.json b/vendor/github.com/aws/aws-sdk-go/models/apis/cloudformation/2010-05-15/waiters-2.json
index f3a5cde..260e4b2 100644
--- a/vendor/github.com/aws/aws-sdk-go/models/apis/cloudformation/2010-05-15/waiters-2.json
+++ b/vendor/github.com/aws/aws-sdk-go/models/apis/cloudformation/2010-05-15/waiters-2.json
@@ -25,51 +25,39 @@
"description": "Wait until stack status is CREATE_COMPLETE.",
"acceptors": [
{
+ "argument": "Stacks[].StackStatus",
"expected": "CREATE_COMPLETE",
"matcher": "pathAll",
- "state": "success",
- "argument": "Stacks[].StackStatus"
+ "state": "success"
},
{
+ "argument": "Stacks[].StackStatus",
"expected": "CREATE_FAILED",
"matcher": "pathAny",
- "state": "failure",
- "argument": "Stacks[].StackStatus"
+ "state": "failure"
},
{
+ "argument": "Stacks[].StackStatus",
"expected": "DELETE_COMPLETE",
"matcher": "pathAny",
- "argument": "Stacks[].StackStatus",
"state": "failure"
},
{
- "expected": "DELETE_IN_PROGRESS",
- "matcher": "pathAny",
"argument": "Stacks[].StackStatus",
- "state": "failure"
- },
- {
"expected": "DELETE_FAILED",
"matcher": "pathAny",
- "argument": "Stacks[].StackStatus",
"state": "failure"
},
{
- "expected": "ROLLBACK_COMPLETE",
- "matcher": "pathAny",
- "state": "failure",
- "argument": "Stacks[].StackStatus"
- },
- {
+ "argument": "Stacks[].StackStatus",
"expected": "ROLLBACK_FAILED",
"matcher": "pathAny",
- "state": "failure",
- "argument": "Stacks[].StackStatus"
+ "state": "failure"
},
{
- "expected": "ROLLBACK_IN_PROGRESS",
- "matcher": "pathAny",
"argument": "Stacks[].StackStatus",
+ "expected": "ROLLBACK_COMPLETE",
+ "matcher": "pathAny",
"state": "failure"
},
{
@@ -86,25 +74,19 @@
"description": "Wait until stack status is DELETE_COMPLETE.",
"acceptors": [
{
+ "argument": "Stacks[].StackStatus",
"expected": "DELETE_COMPLETE",
"matcher": "pathAll",
- "state": "success",
- "argument": "Stacks[].StackStatus"
+ "state": "success"
},
{
"expected": "ValidationError",
"matcher": "error",
"state": "success"
},
- {
- "expected": "DELETE_FAILED",
- "matcher": "pathAny",
- "state": "failure",
- "argument": "Stacks[].StackStatus"
- },
{
"argument": "Stacks[].StackStatus",
- "expected": "CREATE_COMPLETE",
+ "expected": "DELETE_FAILED",
"matcher": "pathAny",
"state": "failure"
},
@@ -114,60 +96,12 @@
"matcher": "pathAny",
"state": "failure"
},
- {
- "argument": "Stacks[].StackStatus",
- "expected": "CREATE_IN_PROGRESS",
- "matcher": "pathAny",
- "state": "failure"
- },
- {
- "argument": "Stacks[].StackStatus",
- "expected": "ROLLBACK_COMPLETE",
- "matcher": "pathAny",
- "state": "failure"
- },
{
"argument": "Stacks[].StackStatus",
"expected": "ROLLBACK_FAILED",
"matcher": "pathAny",
"state": "failure"
},
- {
- "argument": "Stacks[].StackStatus",
- "expected": "ROLLBACK_IN_PROGRESS",
- "matcher": "pathAny",
- "state": "failure"
- },
- {
- "argument": "Stacks[].StackStatus",
- "expected": "UPDATE_COMPLETE",
- "matcher": "pathAny",
- "state": "failure"
- },
- {
- "argument": "Stacks[].StackStatus",
- "expected": "UPDATE_COMPLETE_CLEANUP_IN_PROGRESS",
- "matcher": "pathAny",
- "state": "failure"
- },
- {
- "argument": "Stacks[].StackStatus",
- "expected": "UPDATE_IN_PROGRESS",
- "matcher": "pathAny",
- "state": "failure"
- },
- {
- "argument": "Stacks[].StackStatus",
- "expected": "UPDATE_ROLLBACK_COMPLETE",
- "matcher": "pathAny",
- "state": "failure"
- },
- {
- "argument": "Stacks[].StackStatus",
- "expected": "UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS",
- "matcher": "pathAny",
- "state": "failure"
- },
{
"argument": "Stacks[].StackStatus",
"expected": "UPDATE_ROLLBACK_FAILED",
@@ -189,10 +123,10 @@
"description": "Wait until stack status is UPDATE_COMPLETE.",
"acceptors": [
{
+ "argument": "Stacks[].StackStatus",
"expected": "UPDATE_COMPLETE",
"matcher": "pathAll",
- "state": "success",
- "argument": "Stacks[].StackStatus"
+ "state": "success"
},
{
"expected": "UPDATE_FAILED",
@@ -200,29 +134,17 @@
"state": "failure",
"argument": "Stacks[].StackStatus"
},
- {
- "expected": "UPDATE_ROLLBACK_COMPLETE",
- "matcher": "pathAny",
- "state": "failure",
- "argument": "Stacks[].StackStatus"
- },
- {
- "expected": "UPDATE_ROLLBACK_FAILED",
- "matcher": "pathAny",
- "state": "failure",
- "argument": "Stacks[].StackStatus"
- },
{
"argument": "Stacks[].StackStatus",
- "expected": "UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS",
+ "expected": "UPDATE_ROLLBACK_FAILED",
"matcher": "pathAny",
"state": "failure"
},
{
- "argument": "Stacks[].StackStatus",
- "expected": "UPDATE_ROLLBACK_IN_PROGRESS",
+ "expected": "UPDATE_ROLLBACK_COMPLETE",
"matcher": "pathAny",
- "state": "failure"
+ "state": "failure",
+ "argument": "Stacks[].StackStatus"
},
{
"expected": "ValidationError",
diff --git a/vendor/github.com/aws/aws-sdk-go/models/apis/cognito-idp/2016-04-18/api-2.json b/vendor/github.com/aws/aws-sdk-go/models/apis/cognito-idp/2016-04-18/api-2.json
index b8011ef..a46644a 100644
--- a/vendor/github.com/aws/aws-sdk-go/models/apis/cognito-idp/2016-04-18/api-2.json
+++ b/vendor/github.com/aws/aws-sdk-go/models/apis/cognito-idp/2016-04-18/api-2.json
@@ -1796,7 +1796,8 @@
"DeviceConfiguration":{"shape":"DeviceConfigurationType"},
"EmailConfiguration":{"shape":"EmailConfigurationType"},
"SmsConfiguration":{"shape":"SmsConfigurationType"},
- "AdminCreateUserConfig":{"shape":"AdminCreateUserConfigType"}
+ "AdminCreateUserConfig":{"shape":"AdminCreateUserConfigType"},
+ "Schema":{"shape":"SchemaAttributesListType"}
}
},
"CreateUserPoolResponse":{
@@ -2467,9 +2468,18 @@
"members":{
"Name":{"shape":"CustomAttributeNameType"},
"AttributeDataType":{"shape":"AttributeDataType"},
- "DeveloperOnlyAttribute":{"shape":"BooleanType"},
- "Mutable":{"shape":"BooleanType"},
- "Required":{"shape":"BooleanType"},
+ "DeveloperOnlyAttribute":{
+ "shape":"BooleanType",
+ "box":true
+ },
+ "Mutable":{
+ "shape":"BooleanType",
+ "box":true
+ },
+ "Required":{
+ "shape":"BooleanType",
+ "box":true
+ },
"NumberAttributeConstraints":{"shape":"NumberAttributeConstraintsType"},
"StringAttributeConstraints":{"shape":"StringAttributeConstraintsType"}
}
@@ -2542,6 +2552,7 @@
},
"SmsConfigurationType":{
"type":"structure",
+ "required":["SnsCallerArn"],
"members":{
"SnsCallerArn":{"shape":"ArnType"},
"ExternalId":{"shape":"StringType"}
diff --git a/vendor/github.com/aws/aws-sdk-go/models/apis/cognito-idp/2016-04-18/docs-2.json b/vendor/github.com/aws/aws-sdk-go/models/apis/cognito-idp/2016-04-18/docs-2.json
index dd074c9..58daa93 100644
--- a/vendor/github.com/aws/aws-sdk-go/models/apis/cognito-idp/2016-04-18/docs-2.json
+++ b/vendor/github.com/aws/aws-sdk-go/models/apis/cognito-idp/2016-04-18/docs-2.json
@@ -348,10 +348,10 @@
"AuthenticationResultType": {
"base": "The result type of the authentication result.
",
"refs": {
- "AdminInitiateAuthResponse$AuthenticationResult": null,
- "AdminRespondToAuthChallengeResponse$AuthenticationResult": null,
- "InitiateAuthResponse$AuthenticationResult": null,
- "RespondToAuthChallengeResponse$AuthenticationResult": null
+ "AdminInitiateAuthResponse$AuthenticationResult": "The result of the authentication response.
",
+ "AdminRespondToAuthChallengeResponse$AuthenticationResult": "The result returned by the server in response to the authentication request.
",
+ "InitiateAuthResponse$AuthenticationResult": "The result returned by the server in response to the request to initiate authentication.
",
+ "RespondToAuthChallengeResponse$AuthenticationResult": "The result returned by the server in response to the request to respond to the authentication challenge.
"
}
},
"BooleanType": {
@@ -478,10 +478,10 @@
"base": "The type of code delivery details being returned from the server.
",
"refs": {
"CodeDeliveryDetailsListType$member": null,
- "ForgotPasswordResponse$CodeDeliveryDetails": null,
- "GetUserAttributeVerificationCodeResponse$CodeDeliveryDetails": "The code delivery details returned by the server response to get the user attribute verification code.
",
- "ResendConfirmationCodeResponse$CodeDeliveryDetails": null,
- "SignUpResponse$CodeDeliveryDetails": null
+ "ForgotPasswordResponse$CodeDeliveryDetails": "The code delivery details returned by the server in response to the request to reset a password.
",
+ "GetUserAttributeVerificationCodeResponse$CodeDeliveryDetails": "The code delivery details returned by the server in response to the request to get the user attribute verification code.
",
+ "ResendConfirmationCodeResponse$CodeDeliveryDetails": "The code delivery details returned by the server in response to the request to resend the confirmation code.
",
+ "SignUpResponse$CodeDeliveryDetails": "The code delivery details returned by the server response to the user registration request.
"
}
},
"CodeDeliveryFailureException": {
@@ -1167,7 +1167,7 @@
}
},
"ResendConfirmationCodeResponse": {
- "base": "The response from the server when the Amazon Cognito service makes the request to resend a confirmation code.
",
+ "base": "The response from the server when the Amazon Cognito Your User Pools service makes the request to resend a confirmation code.
",
"refs": {
}
},
@@ -1196,6 +1196,7 @@
"SchemaAttributesListType": {
"base": null,
"refs": {
+ "CreateUserPoolRequest$Schema": "An array of schema attributes for the new user pool. These attributes can be standard or custom attributes.
",
"UserPoolType$SchemaAttributes": "A container with the schema attributes of a user pool.
"
}
},
@@ -1629,7 +1630,7 @@
"AdminUserGlobalSignOutRequest$Username": "The user name.
",
"ConfirmForgotPasswordRequest$Username": "The user name of the user for whom you want to enter a code to retrieve a forgotten password.
",
"ConfirmSignUpRequest$Username": "The user name of the user whose registration you wish to confirm.
",
- "ForgotPasswordRequest$Username": "The user name of the user for whom you want to enter a code to retrieve a forgotten password.
",
+ "ForgotPasswordRequest$Username": "The user name of the user for whom you want to enter a code to reset a forgotten password.
",
"GetUserResponse$Username": "The user name of the user you wish to retrieve from the get user request.
",
"ResendConfirmationCodeRequest$Username": "The user name of the user to whom you wish to resend a confirmation code.
",
"SignUpRequest$Username": "The user name of the user you wish to register.
",
diff --git a/vendor/github.com/aws/aws-sdk-go/models/apis/directconnect/2012-10-25/api-2.json b/vendor/github.com/aws/aws-sdk-go/models/apis/directconnect/2012-10-25/api-2.json
index 1a2870b..22c24cc 100644
--- a/vendor/github.com/aws/aws-sdk-go/models/apis/directconnect/2012-10-25/api-2.json
+++ b/vendor/github.com/aws/aws-sdk-go/models/apis/directconnect/2012-10-25/api-2.json
@@ -256,6 +256,19 @@
{"shape":"DirectConnectClientException"}
]
},
+ "DescribeTags":{
+ "name":"DescribeTags",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"DescribeTagsRequest"},
+ "output":{"shape":"DescribeTagsResponse"},
+ "errors":[
+ {"shape":"DirectConnectServerException"},
+ {"shape":"DirectConnectClientException"}
+ ]
+ },
"DescribeVirtualGateways":{
"name":"DescribeVirtualGateways",
"http":{
@@ -280,6 +293,34 @@
{"shape":"DirectConnectServerException"},
{"shape":"DirectConnectClientException"}
]
+ },
+ "TagResource":{
+ "name":"TagResource",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"TagResourceRequest"},
+ "output":{"shape":"TagResourceResponse"},
+ "errors":[
+ {"shape":"DuplicateTagKeysException"},
+ {"shape":"TooManyTagsException"},
+ {"shape":"DirectConnectServerException"},
+ {"shape":"DirectConnectClientException"}
+ ]
+ },
+ "UntagResource":{
+ "name":"UntagResource",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"UntagResourceRequest"},
+ "output":{"shape":"UntagResourceResponse"},
+ "errors":[
+ {"shape":"DirectConnectServerException"},
+ {"shape":"DirectConnectClientException"}
+ ]
}
},
"shapes":{
@@ -545,6 +586,19 @@
"interconnectId":{"shape":"InterconnectId"}
}
},
+ "DescribeTagsRequest":{
+ "type":"structure",
+ "required":["resourceArns"],
+ "members":{
+ "resourceArns":{"shape":"ResourceArnList"}
+ }
+ },
+ "DescribeTagsResponse":{
+ "type":"structure",
+ "members":{
+ "resourceTags":{"shape":"ResourceTagList"}
+ }
+ },
"DescribeVirtualInterfacesRequest":{
"type":"structure",
"members":{
@@ -566,6 +620,12 @@
},
"exception":true
},
+ "DuplicateTagKeysException":{
+ "type":"structure",
+ "members":{
+ },
+ "exception":true
+ },
"ErrorMessage":{"type":"string"},
"Interconnect":{
"type":"structure",
@@ -712,6 +772,22 @@
"PartnerName":{"type":"string"},
"ProviderName":{"type":"string"},
"Region":{"type":"string"},
+ "ResourceArn":{"type":"string"},
+ "ResourceArnList":{
+ "type":"list",
+ "member":{"shape":"ResourceArn"}
+ },
+ "ResourceTag":{
+ "type":"structure",
+ "members":{
+ "resourceArn":{"shape":"ResourceArn"},
+ "tags":{"shape":"TagList"}
+ }
+ },
+ "ResourceTagList":{
+ "type":"list",
+ "member":{"shape":"ResourceTag"}
+ },
"RouteFilterPrefix":{
"type":"structure",
"members":{
@@ -723,6 +799,73 @@
"member":{"shape":"RouteFilterPrefix"}
},
"RouterConfig":{"type":"string"},
+ "Tag":{
+ "type":"structure",
+ "required":["key"],
+ "members":{
+ "key":{"shape":"TagKey"},
+ "value":{"shape":"TagValue"}
+ }
+ },
+ "TagKey":{
+ "type":"string",
+ "max":128,
+ "min":1,
+ "pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$"
+ },
+ "TagKeyList":{
+ "type":"list",
+ "member":{"shape":"TagKey"}
+ },
+ "TagList":{
+ "type":"list",
+ "member":{"shape":"Tag"},
+ "min":1
+ },
+ "TagResourceRequest":{
+ "type":"structure",
+ "required":[
+ "resourceArn",
+ "tags"
+ ],
+ "members":{
+ "resourceArn":{"shape":"ResourceArn"},
+ "tags":{"shape":"TagList"}
+ }
+ },
+ "TagResourceResponse":{
+ "type":"structure",
+ "members":{
+ }
+ },
+ "TagValue":{
+ "type":"string",
+ "max":256,
+ "min":0,
+ "pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$"
+ },
+ "TooManyTagsException":{
+ "type":"structure",
+ "members":{
+ },
+ "exception":true
+ },
+ "UntagResourceRequest":{
+ "type":"structure",
+ "required":[
+ "resourceArn",
+ "tagKeys"
+ ],
+ "members":{
+ "resourceArn":{"shape":"ResourceArn"},
+ "tagKeys":{"shape":"TagKeyList"}
+ }
+ },
+ "UntagResourceResponse":{
+ "type":"structure",
+ "members":{
+ }
+ },
"VLAN":{"type":"integer"},
"VirtualGateway":{
"type":"structure",
diff --git a/vendor/github.com/aws/aws-sdk-go/models/apis/directconnect/2012-10-25/docs-2.json b/vendor/github.com/aws/aws-sdk-go/models/apis/directconnect/2012-10-25/docs-2.json
index 08b826d..42aa9ad 100644
--- a/vendor/github.com/aws/aws-sdk-go/models/apis/directconnect/2012-10-25/docs-2.json
+++ b/vendor/github.com/aws/aws-sdk-go/models/apis/directconnect/2012-10-25/docs-2.json
@@ -21,8 +21,11 @@
"DescribeInterconnectLoa": "Returns the LOA-CFA for an Interconnect.
The Letter of Authorization - Connecting Facility Assignment (LOA-CFA) is a document that is used when establishing your cross connect to AWS at the colocation facility. For more information, see Requesting Cross Connects at AWS Direct Connect Locations in the AWS Direct Connect user guide.
",
"DescribeInterconnects": "Returns a list of interconnects owned by the AWS account.
If an interconnect ID is provided, it will only return this particular interconnect.
",
"DescribeLocations": "Returns the list of AWS Direct Connect locations in the current AWS region. These are the locations that may be selected when calling CreateConnection or CreateInterconnect.
",
+ "DescribeTags": "Describes the tags associated with the specified Direct Connect resources.
",
"DescribeVirtualGateways": "Returns a list of virtual private gateways owned by the AWS account.
You can create one or more AWS Direct Connect private virtual interfaces linking to a virtual private gateway. A virtual private gateway can be managed via Amazon Virtual Private Cloud (VPC) console or the EC2 CreateVpnGateway action.
",
- "DescribeVirtualInterfaces": "Displays all virtual interfaces for an AWS account. Virtual interfaces deleted fewer than 15 minutes before DescribeVirtualInterfaces is called are also returned. If a connection ID is included then only virtual interfaces associated with this connection will be returned. If a virtual interface ID is included then only a single virtual interface will be returned.
A virtual interface (VLAN) transmits the traffic between the AWS Direct Connect location and the customer.
If a connection ID is provided, only virtual interfaces provisioned on the specified connection will be returned. If a virtual interface ID is provided, only this particular virtual interface will be returned.
"
+ "DescribeVirtualInterfaces": "Displays all virtual interfaces for an AWS account. Virtual interfaces deleted fewer than 15 minutes before DescribeVirtualInterfaces is called are also returned. If a connection ID is included then only virtual interfaces associated with this connection will be returned. If a virtual interface ID is included then only a single virtual interface will be returned.
A virtual interface (VLAN) transmits the traffic between the AWS Direct Connect location and the customer.
If a connection ID is provided, only virtual interfaces provisioned on the specified connection will be returned. If a virtual interface ID is provided, only this particular virtual interface will be returned.
",
+ "TagResource": "Adds the specified tags to the specified Direct Connect resource. Each Direct Connect resource can have a maximum of 50 tags.
Each tag consists of a key and an optional value. If a tag with the same key is already associated with the Direct Connect resource, this action updates its value.
",
+ "UntagResource": "Removes one or more tags from the specified Direct Connect resource.
"
},
"shapes": {
"ASN": {
@@ -254,6 +257,16 @@
"refs": {
}
},
+ "DescribeTagsRequest": {
+ "base": "Container for the parameters to the DescribeTags operation.
",
+ "refs": {
+ }
+ },
+ "DescribeTagsResponse": {
+ "base": "The response received when DescribeTags is called.
",
+ "refs": {
+ }
+ },
"DescribeVirtualInterfacesRequest": {
"base": "Container for the parameters to the DescribeVirtualInterfaces operation.
",
"refs": {
@@ -269,6 +282,11 @@
"refs": {
}
},
+ "DuplicateTagKeysException": {
+ "base": "A tag key was specified more than once.
",
+ "refs": {
+ }
+ },
"ErrorMessage": {
"base": null,
"refs": {
@@ -434,6 +452,33 @@
"Interconnect$region": null
}
},
+ "ResourceArn": {
+ "base": null,
+ "refs": {
+ "ResourceArnList$member": null,
+ "ResourceTag$resourceArn": "The Amazon Resource Name (ARN) of the Direct Connect resource.
",
+ "TagResourceRequest$resourceArn": "The Amazon Resource Name (ARN) of the Direct Connect resource.
Example: arn:aws:directconnect:us-east-1:123456789012:dxcon/dxcon-fg5678gh
",
+ "UntagResourceRequest$resourceArn": "The Amazon Resource Name (ARN) of the Direct Connect resource.
"
+ }
+ },
+ "ResourceArnList": {
+ "base": null,
+ "refs": {
+ "DescribeTagsRequest$resourceArns": "The Amazon Resource Names (ARNs) of the Direct Connect resources.
"
+ }
+ },
+ "ResourceTag": {
+ "base": "The tags associated with a Direct Connect resource.
",
+ "refs": {
+ "ResourceTagList$member": null
+ }
+ },
+ "ResourceTagList": {
+ "base": null,
+ "refs": {
+ "DescribeTagsResponse$resourceTags": "Information about the tags.
"
+ }
+ },
"RouteFilterPrefix": {
"base": "A route filter prefix that the customer can advertise through Border Gateway Protocol (BGP) over a public virtual interface.
",
"refs": {
@@ -454,6 +499,63 @@
"VirtualInterface$customerRouterConfig": "Information for generating the customer router configuration.
"
}
},
+ "Tag": {
+ "base": "Information about a tag.
",
+ "refs": {
+ "TagList$member": null
+ }
+ },
+ "TagKey": {
+ "base": null,
+ "refs": {
+ "Tag$key": "The key of the tag.
",
+ "TagKeyList$member": null
+ }
+ },
+ "TagKeyList": {
+ "base": null,
+ "refs": {
+ "UntagResourceRequest$tagKeys": "The list of tag keys to remove.
"
+ }
+ },
+ "TagList": {
+ "base": null,
+ "refs": {
+ "ResourceTag$tags": "The tags.
",
+ "TagResourceRequest$tags": "The list of tags to add.
"
+ }
+ },
+ "TagResourceRequest": {
+ "base": "Container for the parameters to the TagResource operation.
",
+ "refs": {
+ }
+ },
+ "TagResourceResponse": {
+ "base": "The response received when TagResource is called.
",
+ "refs": {
+ }
+ },
+ "TagValue": {
+ "base": null,
+ "refs": {
+ "Tag$value": "The value of the tag.
"
+ }
+ },
+ "TooManyTagsException": {
+ "base": "You have reached the limit on the number of tags that can be assigned to a Direct Connect resource.
",
+ "refs": {
+ }
+ },
+ "UntagResourceRequest": {
+ "base": "Container for the parameters to the UntagResource operation.
",
+ "refs": {
+ }
+ },
+ "UntagResourceResponse": {
+ "base": "The response received when UntagResource is called.
",
+ "refs": {
+ }
+ },
"VLAN": {
"base": "The VLAN ID.
Example: 101
",
"refs": {
diff --git a/vendor/github.com/aws/aws-sdk-go/models/apis/ds/2015-04-16/api-2.json b/vendor/github.com/aws/aws-sdk-go/models/apis/ds/2015-04-16/api-2.json
index 17e9282..18d36e2 100644
--- a/vendor/github.com/aws/aws-sdk-go/models/apis/ds/2015-04-16/api-2.json
+++ b/vendor/github.com/aws/aws-sdk-go/models/apis/ds/2015-04-16/api-2.json
@@ -45,6 +45,20 @@
{"shape":"ServiceException"}
]
},
+ "CancelSchemaExtension":{
+ "name":"CancelSchemaExtension",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"CancelSchemaExtensionRequest"},
+ "output":{"shape":"CancelSchemaExtensionResult"},
+ "errors":[
+ {"shape":"EntityDoesNotExistException"},
+ {"shape":"ClientException"},
+ {"shape":"ServiceException"}
+ ]
+ },
"ConnectDirectory":{
"name":"ConnectDirectory",
"http":{
@@ -441,6 +455,21 @@
{"shape":"ServiceException"}
]
},
+ "ListSchemaExtensions":{
+ "name":"ListSchemaExtensions",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"ListSchemaExtensionsRequest"},
+ "output":{"shape":"ListSchemaExtensionsResult"},
+ "errors":[
+ {"shape":"InvalidNextTokenException"},
+ {"shape":"EntityDoesNotExistException"},
+ {"shape":"ClientException"},
+ {"shape":"ServiceException"}
+ ]
+ },
"ListTagsForResource":{
"name":"ListTagsForResource",
"http":{
@@ -518,6 +547,23 @@
{"shape":"ServiceException"}
]
},
+ "StartSchemaExtension":{
+ "name":"StartSchemaExtension",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"StartSchemaExtensionRequest"},
+ "output":{"shape":"StartSchemaExtensionResult"},
+ "errors":[
+ {"shape":"DirectoryUnavailableException"},
+ {"shape":"EntityDoesNotExistException"},
+ {"shape":"InvalidParameterException"},
+ {"shape":"SnapshotLimitExceededException"},
+ {"shape":"ClientException"},
+ {"shape":"ServiceException"}
+ ]
+ },
"UpdateConditionalForwarder":{
"name":"UpdateConditionalForwarder",
"http":{
@@ -642,6 +688,22 @@
"type":"list",
"member":{"shape":"AvailabilityZone"}
},
+ "CancelSchemaExtensionRequest":{
+ "type":"structure",
+ "required":[
+ "DirectoryId",
+ "SchemaExtensionId"
+ ],
+ "members":{
+ "DirectoryId":{"shape":"DirectoryId"},
+ "SchemaExtensionId":{"shape":"SchemaExtensionId"}
+ }
+ },
+ "CancelSchemaExtensionResult":{
+ "type":"structure",
+ "members":{
+ }
+ },
"CidrIp":{
"type":"string",
"pattern":"^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])(\\/([1-9]|[1-2][0-9]|3[0-2]))$"
@@ -821,6 +883,7 @@
"DirectoryId":{"shape":"DirectoryId"}
}
},
+ "CreateSnapshotBeforeSchemaExtension":{"type":"boolean"},
"CreateSnapshotRequest":{
"type":"structure",
"required":["DirectoryId"],
@@ -1222,6 +1285,7 @@
"members":{
}
},
+ "EndDateTime":{"type":"timestamp"},
"EntityAlreadyExistsException":{
"type":"structure",
"members":{
@@ -1357,6 +1421,11 @@
},
"LastUpdatedDateTime":{"type":"timestamp"},
"LaunchTime":{"type":"timestamp"},
+ "LdifContent":{
+ "type":"string",
+ "max":500000,
+ "min":1
+ },
"Limit":{
"type":"integer",
"min":0
@@ -1377,6 +1446,22 @@
"NextToken":{"shape":"NextToken"}
}
},
+ "ListSchemaExtensionsRequest":{
+ "type":"structure",
+ "required":["DirectoryId"],
+ "members":{
+ "DirectoryId":{"shape":"DirectoryId"},
+ "NextToken":{"shape":"NextToken"},
+ "Limit":{"shape":"Limit"}
+ }
+ },
+ "ListSchemaExtensionsResult":{
+ "type":"structure",
+ "members":{
+ "SchemaExtensionsInfo":{"shape":"SchemaExtensionsInfo"},
+ "NextToken":{"shape":"NextToken"}
+ }
+ },
"ListTagsForResourceRequest":{
"type":"structure",
"required":["ResourceId"],
@@ -1547,6 +1632,41 @@
"min":1,
"pattern":"[&\\w+-.@]+"
},
+ "SchemaExtensionId":{
+ "type":"string",
+ "pattern":"^e-[0-9a-f]{10}$"
+ },
+ "SchemaExtensionInfo":{
+ "type":"structure",
+ "members":{
+ "DirectoryId":{"shape":"DirectoryId"},
+ "SchemaExtensionId":{"shape":"SchemaExtensionId"},
+ "Description":{"shape":"Description"},
+ "SchemaExtensionStatus":{"shape":"SchemaExtensionStatus"},
+ "SchemaExtensionStatusReason":{"shape":"SchemaExtensionStatusReason"},
+ "StartDateTime":{"shape":"StartDateTime"},
+ "EndDateTime":{"shape":"EndDateTime"}
+ }
+ },
+ "SchemaExtensionStatus":{
+ "type":"string",
+ "enum":[
+ "Initializing",
+ "CreatingSnapshot",
+ "UpdatingSchema",
+ "Replicating",
+ "CancelInProgress",
+ "RollbackInProgress",
+ "Cancelled",
+ "Failed",
+ "Completed"
+ ]
+ },
+ "SchemaExtensionStatusReason":{"type":"string"},
+ "SchemaExtensionsInfo":{
+ "type":"list",
+ "member":{"shape":"SchemaExtensionInfo"}
+ },
"SecurityGroupId":{
"type":"string",
"pattern":"^(sg-[0-9a-f]{8})$"
@@ -1631,6 +1751,28 @@
},
"SsoEnabled":{"type":"boolean"},
"StageReason":{"type":"string"},
+ "StartDateTime":{"type":"timestamp"},
+ "StartSchemaExtensionRequest":{
+ "type":"structure",
+ "required":[
+ "DirectoryId",
+ "CreateSnapshotBeforeSchemaExtension",
+ "LdifContent",
+ "Description"
+ ],
+ "members":{
+ "DirectoryId":{"shape":"DirectoryId"},
+ "CreateSnapshotBeforeSchemaExtension":{"shape":"CreateSnapshotBeforeSchemaExtension"},
+ "LdifContent":{"shape":"LdifContent"},
+ "Description":{"shape":"Description"}
+ }
+ },
+ "StartSchemaExtensionResult":{
+ "type":"structure",
+ "members":{
+ "SchemaExtensionId":{"shape":"SchemaExtensionId"}
+ }
+ },
"StartTime":{"type":"timestamp"},
"StateLastUpdatedDateTime":{"type":"timestamp"},
"SubnetId":{
diff --git a/vendor/github.com/aws/aws-sdk-go/models/apis/ds/2015-04-16/docs-2.json b/vendor/github.com/aws/aws-sdk-go/models/apis/ds/2015-04-16/docs-2.json
index 65c3177..0313661 100644
--- a/vendor/github.com/aws/aws-sdk-go/models/apis/ds/2015-04-16/docs-2.json
+++ b/vendor/github.com/aws/aws-sdk-go/models/apis/ds/2015-04-16/docs-2.json
@@ -2,18 +2,19 @@
"version": "2.0",
"service": "AWS Directory Service This is the AWS Directory Service API Reference. This guide provides detailed information about AWS Directory Service operations, data types, parameters, and errors.
",
"operations": {
- "AddIpRoutes": "If the DNS server for your on-premises domain uses a publicly addressable IP address, you must add a CIDR address block to correctly route traffic to and from your Microsoft AD on Amazon Web Services. AddIpRoutes adds this address block. You can also use AddIpRoutes to facilitate routing traffic that uses public IP ranges from your Microsoft AD on AWS to a peer VPC.
",
- "AddTagsToResource": "Adds or overwrites one or more tags for the specified Amazon Directory Services directory. Each directory can have a maximum of 10 tags. Each tag consists of a key and optional value. Tag keys must be unique to each resource.
",
- "ConnectDirectory": "Creates an AD Connector to connect to an on-premises directory.
",
+ "AddIpRoutes": "If the DNS server for your on-premises domain uses a publicly addressable IP address, you must add a CIDR address block to correctly route traffic to and from your Microsoft AD on Amazon Web Services. AddIpRoutes adds this address block. You can also use AddIpRoutes to facilitate routing traffic that uses public IP ranges from your Microsoft AD on AWS to a peer VPC.
Before you call AddIpRoutes, ensure that all of the required permissions have been explicitly granted through a policy. For details about what permissions are required to run the AddIpRoutes operation, see AWS Directory Service API Permissions: Actions, Resources, and Conditions Reference.
",
+ "AddTagsToResource": "Adds or overwrites one or more tags for the specified Amazon Directory Services directory. Each directory can have a maximum of 50 tags. Each tag consists of a key and optional value. Tag keys must be unique to each resource.
",
+ "CancelSchemaExtension": "Cancels an in-progress schema extension to a Microsoft AD directory. Once a schema extension has started replicating to all domain controllers, the task can no longer be canceled. A schema extension can be canceled during any of the following states; Initializing
, CreatingSnapshot
, and UpdatingSchema
.
",
+ "ConnectDirectory": "Creates an AD Connector to connect to an on-premises directory.
Before you call ConnectDirectory, ensure that all of the required permissions have been explicitly granted through a policy. For details about what permissions are required to run the ConnectDirectory operation, see AWS Directory Service API Permissions: Actions, Resources, and Conditions Reference.
",
"CreateAlias": "Creates an alias for a directory and assigns the alias to the directory. The alias is used to construct the access URL for the directory, such as http://<alias>.awsapps.com
.
After an alias has been created, it cannot be deleted or reused, so this operation should only be used when absolutely necessary.
",
"CreateComputer": "Creates a computer account in the specified directory, and joins the computer to the directory.
",
"CreateConditionalForwarder": "Creates a conditional forwarder associated with your AWS directory. Conditional forwarders are required in order to set up a trust relationship with another domain. The conditional forwarder points to the trusted domain.
",
- "CreateDirectory": "Creates a Simple AD directory.
",
- "CreateMicrosoftAD": "Creates a Microsoft AD in the AWS cloud.
",
+ "CreateDirectory": "Creates a Simple AD directory.
Before you call CreateDirectory, ensure that all of the required permissions have been explicitly granted through a policy. For details about what permissions are required to run the CreateDirectory operation, see AWS Directory Service API Permissions: Actions, Resources, and Conditions Reference.
",
+ "CreateMicrosoftAD": "Creates a Microsoft AD in the AWS cloud.
Before you call CreateMicrosoftAD, ensure that all of the required permissions have been explicitly granted through a policy. For details about what permissions are required to run the CreateMicrosoftAD operation, see AWS Directory Service API Permissions: Actions, Resources, and Conditions Reference.
",
"CreateSnapshot": "Creates a snapshot of a Simple AD or Microsoft AD directory in the AWS cloud.
You cannot take snapshots of AD Connector directories.
",
"CreateTrust": "AWS Directory Service for Microsoft Active Directory allows you to configure trust relationships. For example, you can establish a trust between your Microsoft AD in the AWS cloud, and your existing on-premises Microsoft Active Directory. This would allow you to provide users and groups access to resources in either domain, with a single set of credentials.
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.
",
"DeleteConditionalForwarder": "Deletes a conditional forwarder that has been set up for your AWS directory.
",
- "DeleteDirectory": "Deletes an AWS Directory Service directory.
",
+ "DeleteDirectory": "Deletes an AWS Directory Service directory.
Before you call DeleteDirectory, ensure that all of the required permissions have been explicitly granted through a policy. For details about what permissions are required to run the DeleteDirectory operation, see AWS Directory Service API Permissions: Actions, Resources, and Conditions Reference.
",
"DeleteSnapshot": "Deletes a directory snapshot.
",
"DeleteTrust": "Deletes an existing trust relationship between your Microsoft AD in the AWS cloud and an external domain.
",
"DeregisterEventTopic": "Removes the specified directory as a publisher to the specified SNS topic.
",
@@ -29,11 +30,13 @@
"GetDirectoryLimits": "Obtains directory limit information for the current region.
",
"GetSnapshotLimits": "Obtains the manual snapshot limits for a directory.
",
"ListIpRoutes": "Lists the address blocks that you have added to a directory.
",
+ "ListSchemaExtensions": "Lists all schema extensions applied to a Microsoft AD Directory.
",
"ListTagsForResource": "Lists all tags on an Amazon Directory Services directory.
",
"RegisterEventTopic": "Associates a directory with an SNS topic. This establishes the directory as a publisher to the specified SNS topic. You can then receive email or text (SMS) messages when the status of your directory changes. You get notified if your directory goes from an Active status to an Impaired or Inoperable status. You also receive a notification when the directory returns to an Active status.
",
"RemoveIpRoutes": "Removes IP address blocks from a directory.
",
"RemoveTagsFromResource": "Removes tags from an Amazon Directory Services directory.
",
"RestoreFromSnapshot": "Restores a directory using an existing directory snapshot.
When you restore a directory from a snapshot, any changes made to the directory after the snapshot date are overwritten.
This action returns as soon as the restore operation is initiated. You can monitor the progress of the restore operation by calling the DescribeDirectories operation with the directory identifier. When the DirectoryDescription.Stage value changes to Active
, the restore operation is complete.
",
+ "StartSchemaExtension": "Applies a schema extension to a Microsoft AD directory.
",
"UpdateConditionalForwarder": "Updates a conditional forwarder that has been set up for your AWS directory.
",
"UpdateRadius": "Updates the Remote Authentication Dial In User Service (RADIUS) server information for an AD Connector directory.
",
"VerifyTrust": "AWS Directory Service for Microsoft Active Directory allows you to configure and verify trust relationships.
This action verifies a trust relationship between your Microsoft AD in the AWS cloud and an external domain.
"
@@ -122,6 +125,16 @@
"DirectoryVpcSettingsDescription$AvailabilityZones": "The list of Availability Zones that the directory is in.
"
}
},
+ "CancelSchemaExtensionRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "CancelSchemaExtensionResult": {
+ "base": null,
+ "refs": {
+ }
+ },
"CidrIp": {
"base": null,
"refs": {
@@ -253,6 +266,12 @@
"refs": {
}
},
+ "CreateSnapshotBeforeSchemaExtension": {
+ "base": null,
+ "refs": {
+ "StartSchemaExtensionRequest$CreateSnapshotBeforeSchemaExtension": "If true, creates a snapshot of the directory before applying the schema extension.
"
+ }
+ },
"CreateSnapshotRequest": {
"base": "Contains the inputs for the CreateSnapshot operation.
",
"refs": {
@@ -394,7 +413,9 @@
"CreateMicrosoftADRequest$Description": "A textual description for the directory. This label will appear on the AWS console Directory Details
page after the directory is created.
",
"DirectoryDescription$Description": "The textual description for the directory.
",
"IpRoute$Description": "Description of the address block.
",
- "IpRouteInfo$Description": "Description of the IpRouteInfo.
"
+ "IpRouteInfo$Description": "Description of the IpRouteInfo.
",
+ "SchemaExtensionInfo$Description": "A description of the schema extension.
",
+ "StartSchemaExtensionRequest$Description": "A description of the schema extension.
"
}
},
"DirectoryConnectSettings": {
@@ -425,6 +446,7 @@
"base": null,
"refs": {
"AddIpRoutesRequest$DirectoryId": "Identifier (ID) of the directory to which to add the address block.
",
+ "CancelSchemaExtensionRequest$DirectoryId": "The identifier of the directory whose schema extension will be canceled.
",
"ConnectDirectoryResult$DirectoryId": "The identifier of the new directory.
",
"CreateAliasRequest$DirectoryId": "The identifier of the directory for which to create the alias.
",
"CreateAliasResult$DirectoryId": "The identifier of the directory.
",
@@ -452,9 +474,12 @@
"GetSnapshotLimitsRequest$DirectoryId": "Contains the identifier of the directory to obtain the limits for.
",
"IpRouteInfo$DirectoryId": "Identifier (ID) of the directory associated with the IP addresses.
",
"ListIpRoutesRequest$DirectoryId": "Identifier (ID) of the directory for which you want to retrieve the IP addresses.
",
+ "ListSchemaExtensionsRequest$DirectoryId": "The identifier of the directory from which to retrieve the schema extension information.
",
"RegisterEventTopicRequest$DirectoryId": "The Directory ID that will publish status messages to the SNS topic.
",
"RemoveIpRoutesRequest$DirectoryId": "Identifier (ID) of the directory from which you want to remove the IP addresses.
",
+ "SchemaExtensionInfo$DirectoryId": "The identifier of the directory to which the schema extension is applied.
",
"Snapshot$DirectoryId": "The directory identifier.
",
+ "StartSchemaExtensionRequest$DirectoryId": "The identifier of the directory for which the schema extension will be applied to.
",
"Trust$DirectoryId": "The Directory ID of the AWS directory involved in the trust relationship.
",
"UpdateConditionalForwarderRequest$DirectoryId": "The directory ID of the AWS directory for which to update the conditional forwarder.
",
"UpdateRadiusRequest$DirectoryId": "The identifier of the directory for which to update the RADIUS server information.
"
@@ -584,6 +609,12 @@
"refs": {
}
},
+ "EndDateTime": {
+ "base": null,
+ "refs": {
+ "SchemaExtensionInfo$EndDateTime": "The date and time that the schema extension was completed.
"
+ }
+ },
"EntityAlreadyExistsException": {
"base": "The specified entity already exists.
",
"refs": {
@@ -727,6 +758,12 @@
"DirectoryDescription$LaunchTime": "Specifies when the directory was created.
"
}
},
+ "LdifContent": {
+ "base": null,
+ "refs": {
+ "StartSchemaExtensionRequest$LdifContent": "The LDIF file represented as a string. The file size can be no larger than 1MB.
"
+ }
+ },
"Limit": {
"base": null,
"refs": {
@@ -740,6 +777,7 @@
"DirectoryLimits$ConnectedDirectoriesLimit": "The maximum number of connected directories allowed in the region.
",
"DirectoryLimits$ConnectedDirectoriesCurrentCount": "The current number of connected directories in the region.
",
"ListIpRoutesRequest$Limit": "Maximum number of items to return. If this value is zero, the maximum number of items is specified by the limitations of the operation.
",
+ "ListSchemaExtensionsRequest$Limit": "The maximum number of items to return.
",
"ListTagsForResourceRequest$Limit": "Reserved for future use.
",
"SnapshotLimits$ManualSnapshotsLimit": "The maximum number of manual snapshots allowed.
",
"SnapshotLimits$ManualSnapshotsCurrentCount": "The current number of manual snapshots of the directory.
"
@@ -755,6 +793,16 @@
"refs": {
}
},
+ "ListSchemaExtensionsRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "ListSchemaExtensionsResult": {
+ "base": null,
+ "refs": {
+ }
+ },
"ListTagsForResourceRequest": {
"base": null,
"refs": {
@@ -782,6 +830,8 @@
"DescribeTrustsResult$NextToken": "If not null, more results are available. Pass this value for the NextToken parameter in a subsequent call to DescribeTrusts to retrieve the next set of items.
",
"ListIpRoutesRequest$NextToken": "The ListIpRoutes.NextToken value from a previous call to ListIpRoutes. Pass null if this is the first call.
",
"ListIpRoutesResult$NextToken": "If not null, more results are available. Pass this value for the NextToken parameter in a subsequent call to ListIpRoutes to retrieve the next set of items.
",
+ "ListSchemaExtensionsRequest$NextToken": "The ListSchemaExtensions.NextToken
value from a previous call to ListSchemaExtensions
. Pass null if this is the first call.
",
+ "ListSchemaExtensionsResult$NextToken": "If not null, more results are available. Pass this value for the NextToken
parameter in a subsequent call to ListSchemaExtensions
to retrieve the next set of items.
",
"ListTagsForResourceRequest$NextToken": "Reserved for future use.
",
"ListTagsForResourceResult$NextToken": "Reserved for future use.
"
}
@@ -946,6 +996,38 @@
"Computer$ComputerId": "The identifier of the computer.
"
}
},
+ "SchemaExtensionId": {
+ "base": null,
+ "refs": {
+ "CancelSchemaExtensionRequest$SchemaExtensionId": "The identifier of the schema extension that will be canceled.
",
+ "SchemaExtensionInfo$SchemaExtensionId": "The identifier of the schema extension.
",
+ "StartSchemaExtensionResult$SchemaExtensionId": "The identifier of the schema extension that will be applied.
"
+ }
+ },
+ "SchemaExtensionInfo": {
+ "base": "Information about a schema extension.
",
+ "refs": {
+ "SchemaExtensionsInfo$member": null
+ }
+ },
+ "SchemaExtensionStatus": {
+ "base": null,
+ "refs": {
+ "SchemaExtensionInfo$SchemaExtensionStatus": "The current status of the schema extension.
"
+ }
+ },
+ "SchemaExtensionStatusReason": {
+ "base": null,
+ "refs": {
+ "SchemaExtensionInfo$SchemaExtensionStatusReason": "The reason for the SchemaExtensionStatus
.
"
+ }
+ },
+ "SchemaExtensionsInfo": {
+ "base": null,
+ "refs": {
+ "ListSchemaExtensionsResult$SchemaExtensionsInfo": "Information about the schema extensions applied to the directory.
"
+ }
+ },
"SecurityGroupId": {
"base": null,
"refs": {
@@ -1041,6 +1123,22 @@
"DirectoryDescription$StageReason": "Additional information about the directory stage.
"
}
},
+ "StartDateTime": {
+ "base": null,
+ "refs": {
+ "SchemaExtensionInfo$StartDateTime": "The date and time that the schema extension started being applied to the directory.
"
+ }
+ },
+ "StartSchemaExtensionRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "StartSchemaExtensionResult": {
+ "base": null,
+ "refs": {
+ }
+ },
"StartTime": {
"base": null,
"refs": {
diff --git a/vendor/github.com/aws/aws-sdk-go/models/apis/ecr/2015-09-21/paginators-1.json b/vendor/github.com/aws/aws-sdk-go/models/apis/ecr/2015-09-21/paginators-1.json
new file mode 100644
index 0000000..dad0647
--- /dev/null
+++ b/vendor/github.com/aws/aws-sdk-go/models/apis/ecr/2015-09-21/paginators-1.json
@@ -0,0 +1,22 @@
+{
+ "pagination": {
+ "ListImages": {
+ "input_token": "nextToken",
+ "output_token": "nextToken",
+ "limit_key": "maxResults",
+ "result_key": "imageIds"
+ },
+ "DescribeImages": {
+ "input_token": "nextToken",
+ "output_token": "nextToken",
+ "limit_key": "maxResults",
+ "result_key": "imageDetails"
+ },
+ "DescribeRepositories": {
+ "input_token": "nextToken",
+ "output_token": "nextToken",
+ "limit_key": "maxResults",
+ "result_key": "repositories"
+ }
+ }
+}
diff --git a/vendor/github.com/aws/aws-sdk-go/models/apis/elasticache/2015-02-02/api-2.json b/vendor/github.com/aws/aws-sdk-go/models/apis/elasticache/2015-02-02/api-2.json
index fff0993..30b710a 100644
--- a/vendor/github.com/aws/aws-sdk-go/models/apis/elasticache/2015-02-02/api-2.json
+++ b/vendor/github.com/aws/aws-sdk-go/models/apis/elasticache/2015-02-02/api-2.json
@@ -1255,7 +1255,8 @@
"NotificationTopicArn":{"shape":"String"},
"AutoMinorVersionUpgrade":{"shape":"BooleanOptional"},
"SnapshotRetentionLimit":{"shape":"IntegerOptional"},
- "SnapshotWindow":{"shape":"String"}
+ "SnapshotWindow":{"shape":"String"},
+ "AuthToken":{"shape":"String"}
}
},
"CreateCacheClusterResult":{
@@ -1350,7 +1351,8 @@
"NotificationTopicArn":{"shape":"String"},
"AutoMinorVersionUpgrade":{"shape":"BooleanOptional"},
"SnapshotRetentionLimit":{"shape":"IntegerOptional"},
- "SnapshotWindow":{"shape":"String"}
+ "SnapshotWindow":{"shape":"String"},
+ "AuthToken":{"shape":"String"}
}
},
"CreateReplicationGroupResult":{
diff --git a/vendor/github.com/aws/aws-sdk-go/models/apis/elasticache/2015-02-02/docs-2.json b/vendor/github.com/aws/aws-sdk-go/models/apis/elasticache/2015-02-02/docs-2.json
index 995cf0e..8c9e2f1 100644
--- a/vendor/github.com/aws/aws-sdk-go/models/apis/elasticache/2015-02-02/docs-2.json
+++ b/vendor/github.com/aws/aws-sdk-go/models/apis/elasticache/2015-02-02/docs-2.json
@@ -9,7 +9,7 @@
"CreateCacheParameterGroup": "Creates a new cache parameter group. A cache parameter group is a collection of parameters that you apply to all of the nodes in a cache cluster.
",
"CreateCacheSecurityGroup": "Creates a new cache security group. Use a cache security group to control access to one or more cache clusters.
Cache security groups are only used when you are creating a cache cluster outside of an Amazon Virtual Private Cloud (Amazon VPC). If you are creating a cache cluster inside of a VPC, use a cache subnet group instead. For more information, see CreateCacheSubnetGroup.
",
"CreateCacheSubnetGroup": "Creates a new cache subnet group.
Use this parameter only when you are creating a cluster in an Amazon Virtual Private Cloud (Amazon VPC).
",
- "CreateReplicationGroup": "Creates a Redis (cluster mode disabled) or a Redis (cluster mode enabled) replication group.
A Redis (cluster mode disabled) replication group is a collection of cache clusters, where one of the cache clusters is a read/write primary and the others are read-only replicas. Writes to the primary are asynchronously propagated to the replicas.
A Redis (cluster mode enabled) replication group is a collection of 1 to 15 node groups (shards). Each node group (shard) has one read/write primary node and up to 5 read-only replica nodes. Writes to the primary are asynchronously propagated to the replicas. Redis (cluster mode enabled) replication groups partition the data across node groups (shards).
When a Redis (cluster mode disabled) replication group has been successfully created, you can add one or more read replicas to it, up to a total of 5 read replicas. You cannot alter a Redis (cluster mode enabled) replication group once it has been created.
This operation is valid for Redis only.
",
+ "CreateReplicationGroup": "Creates a Redis (cluster mode disabled) or a Redis (cluster mode enabled) replication group.
A Redis (cluster mode disabled) replication group is a collection of cache clusters, where one of the cache clusters is a read/write primary and the others are read-only replicas. Writes to the primary are asynchronously propagated to the replicas.
A Redis (cluster mode enabled) replication group is a collection of 1 to 15 node groups (shards). Each node group (shard) has one read/write primary node and up to 5 read-only replica nodes. Writes to the primary are asynchronously propagated to the replicas. Redis (cluster mode enabled) replication groups partition the data across node groups (shards).
When a Redis (cluster mode disabled) replication group has been successfully created, you can add one or more read replicas to it, up to a total of 5 read replicas. You cannot alter a Redis (cluster mode enabled) replication group after it has been created.
This operation is valid for Redis only.
",
"CreateSnapshot": "Creates a copy of an entire cache cluster or replication group at a specific moment in time.
This operation is valid for Redis only.
",
"DeleteCacheCluster": "Deletes a previously provisioned cache cluster. DeleteCacheCluster
deletes all associated cache nodes, node endpoints and the cache cluster itself. When you receive a successful response from this operation, Amazon ElastiCache immediately begins deleting the cache cluster; you cannot cancel or revert this operation.
This operation cannot be used to delete a cache cluster that is the last read replica of a replication group or node group (shard) that has Multi-AZ mode enabled or a cache cluster from a Redis (cluster mode enabled) replication group.
Due to current limitations on Redis (cluster mode disabled), this operation or parameter is not supported on Redis (cluster mode enabled) replication groups.
",
"DeleteCacheParameterGroup": "Deletes the specified cache parameter group. You cannot delete a cache parameter group if it is associated with any cache clusters.
",
@@ -127,7 +127,7 @@
"CreateReplicationGroupMessage$AutoMinorVersionUpgrade": "This parameter is currently disabled.
",
"DeleteReplicationGroupMessage$RetainPrimaryCluster": "If set to true
, all of the read replicas are deleted, but the primary node is retained.
",
"DescribeCacheClustersMessage$ShowCacheNodeInfo": "An optional flag that can be included in the DescribeCacheCluster request to retrieve information about the individual cache nodes.
",
- "DescribeSnapshotsMessage$ShowNodeGroupConfig": "A boolean value which if true, the node group (shard) configuration is included in the snapshot description.
",
+ "DescribeSnapshotsMessage$ShowNodeGroupConfig": "A Boolean value which if true, the node group (shard) configuration is included in the snapshot description.
",
"ModifyCacheClusterMessage$AutoMinorVersionUpgrade": "This parameter is currently disabled.
",
"ModifyReplicationGroupMessage$AutomaticFailoverEnabled": "Determines whether a read replica is automatically promoted to read/write primary if the existing primary encounters a failure.
Valid values: true
| false
ElastiCache Multi-AZ replication groups are not supported on:
-
Redis versions earlier than 2.8.6.
-
Redis (cluster mode disabled):T1 and T2 cache node types.
Redis (cluster mode enabled): T1 node types.
",
"ModifyReplicationGroupMessage$AutoMinorVersionUpgrade": "This parameter is currently disabled.
"
@@ -656,7 +656,7 @@
"CreateCacheClusterMessage$NumCacheNodes": "The initial number of cache nodes that the cache cluster has.
For clusters running Redis, this value must be 1. For clusters running Memcached, this value must be between 1 and 20.
If you need more than 20 nodes for your Memcached cluster, please fill out the ElastiCache Limit Increase Request form at http://aws.amazon.com/contact-us/elasticache-node-limit-request/.
",
"CreateCacheClusterMessage$Port": "The port number on which each of the cache nodes accepts connections.
",
"CreateCacheClusterMessage$SnapshotRetentionLimit": "The number of days for which ElastiCache retains automatic snapshots before deleting them. For example, if you set SnapshotRetentionLimit
to 5, a snapshot taken today is retained for 5 days before being deleted.
This parameter is only valid if the Engine
parameter is redis
.
Default: 0 (i.e., automatic backups are disabled for this cache cluster).
",
- "CreateReplicationGroupMessage$NumCacheClusters": "The number of clusters this replication group initially has.
This parameter is not used if there is more than one node group (shard). You should use ReplicasPerNodeGroup
instead.
If Multi-AZ
is enabled
, the value of this parameter must be at least 2.
The maximum permitted value for NumCacheClusters
is 6 (primary plus 5 replicas). If you need to exceed this limit, fill out the ElastiCache Limit Increase Request form at http://aws.amazon.com/contact-us/elasticache-node-limit-request/.
",
+ "CreateReplicationGroupMessage$NumCacheClusters": "The number of clusters this replication group initially has.
This parameter is not used if there is more than one node group (shard). You should use ReplicasPerNodeGroup
instead.
If Multi-AZ
is enabled
, the value of this parameter must be at least 2.
The maximum permitted value for NumCacheClusters
is 6 (primary plus 5 replicas).
",
"CreateReplicationGroupMessage$NumNodeGroups": "An optional parameter that specifies the number of node groups (shards) for this Redis (cluster mode enabled) replication group. For Redis (cluster mode disabled) either omit this parameter or set it to 1.
Default: 1
",
"CreateReplicationGroupMessage$ReplicasPerNodeGroup": "An optional parameter that specifies the number of replica nodes in each node group (shard). Valid values are 0 to 5.
",
"CreateReplicationGroupMessage$Port": "The port number on which each member of the replication group accepts connections.
",
@@ -789,7 +789,7 @@
}
},
"NodeGroup": {
- "base": "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.
",
+ "base": "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.
",
"refs": {
"NodeGroupList$member": null
}
@@ -1199,6 +1199,7 @@
"CreateCacheClusterMessage$PreferredMaintenanceWindow": "Specifies the weekly time range during which maintenance on the cache cluster is performed. It is specified as a range in the format ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance window is a 60 minute period. Valid values for ddd
are:
Specifies the weekly time range during which maintenance on the cluster is performed. It is specified as a range in the format ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance window is a 60 minute period.
Valid values for ddd
are:
-
sun
-
mon
-
tue
-
wed
-
thu
-
fri
-
sat
Example: sun:23:00-mon:01:30
",
"CreateCacheClusterMessage$NotificationTopicArn": "The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic to which notifications are sent.
The Amazon SNS topic owner must be the same as the cache cluster owner.
",
"CreateCacheClusterMessage$SnapshotWindow": "The daily time range (in UTC) during which ElastiCache begins taking a daily snapshot of your node group (shard).
Example: 05:00-09:00
If you do not specify this parameter, ElastiCache automatically chooses an appropriate time range.
Note: This parameter is only valid if the Engine
parameter is redis
.
",
+ "CreateCacheClusterMessage$AuthToken": "The password used to access a password protected server.
Password constraints:
-
Must be only printable ASCII characters.
-
Must be at least 16 characters and no more than 128 characters in length.
-
Cannot contain any of the following characters: '/', '\"', or \"@\".
For more information, see AUTH password at Redis.
",
"CreateCacheParameterGroupMessage$CacheParameterGroupName": "A user-specified name for the cache parameter group.
",
"CreateCacheParameterGroupMessage$CacheParameterGroupFamily": "The name of the cache parameter group family that the cache parameter group can be used with.
Valid values are: memcached1.4
| redis2.6
| redis2.8
| redis3.2
",
"CreateCacheParameterGroupMessage$Description": "A user-specified description for the cache parameter group.
",
@@ -1218,6 +1219,7 @@
"CreateReplicationGroupMessage$PreferredMaintenanceWindow": "Specifies the weekly time range during which maintenance on the cache cluster is performed. It is specified as a range in the format ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance window is a 60 minute period. Valid values for ddd
are:
Specifies the weekly time range during which maintenance on the cluster is performed. It is specified as a range in the format ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance window is a 60 minute period.
Valid values for ddd
are:
-
sun
-
mon
-
tue
-
wed
-
thu
-
fri
-
sat
Example: sun:23:00-mon:01:30
",
"CreateReplicationGroupMessage$NotificationTopicArn": "The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic to which notifications are sent.
The Amazon SNS topic owner must be the same as the cache cluster owner.
",
"CreateReplicationGroupMessage$SnapshotWindow": "The daily time range (in UTC) during which ElastiCache begins taking a daily snapshot of your node group (shard).
Example: 05:00-09:00
If you do not specify this parameter, ElastiCache automatically chooses an appropriate time range.
This parameter is only valid if the Engine
parameter is redis
.
",
+ "CreateReplicationGroupMessage$AuthToken": "The password used to access a password protected server.
Password constraints:
-
Must be only printable ASCII characters.
-
Must be at least 16 characters and no more than 128 characters in length.
-
Cannot contain any of the following characters: '/', '\"', or \"@\".
For more information, see AUTH password at Redis.
",
"CreateSnapshotMessage$ReplicationGroupId": "The identifier of an existing replication group. The snapshot is created from this replication group.
",
"CreateSnapshotMessage$CacheClusterId": "The identifier of an existing cache cluster. The snapshot is created from this cache cluster.
",
"CreateSnapshotMessage$SnapshotName": "A name for the snapshot being created.
",
@@ -1339,7 +1341,7 @@
"RemoveTagsFromResourceMessage$ResourceName": "The Amazon Resource Name (ARN) of the resource from which you want the tags removed, for example arn:aws:elasticache:us-west-2:0123456789:cluster:myCluster
or arn:aws:elasticache:us-west-2:0123456789:snapshot:mySnapshot
.
For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces.
",
"ReplicationGroup$ReplicationGroupId": "The identifier for the replication group.
",
"ReplicationGroup$Description": "The description of the replication group.
",
- "ReplicationGroup$Status": "The current state of this replication group - creating
, available
, etc.
",
+ "ReplicationGroup$Status": "The current state of this replication group - creating
, available
, modifying
, deleting
, create-failed
, snapshotting
.
",
"ReplicationGroup$SnapshottingClusterId": "The cache cluster ID that is used as the daily snapshot source for the replication group.
",
"ReplicationGroup$SnapshotWindow": "The daily time range (in UTC) during which ElastiCache begins taking a daily snapshot of your node group (shard).
Example: 05:00-09:00
If you do not specify this parameter, ElastiCache automatically chooses an appropriate time range.
Note: This parameter is only valid if the Engine
parameter is redis
.
",
"ReplicationGroupMessage$Marker": "Provides an identifier to allow retrieval of paginated results.
",
diff --git a/vendor/github.com/aws/aws-sdk-go/models/apis/elasticmapreduce/2009-03-31/api-2.json b/vendor/github.com/aws/aws-sdk-go/models/apis/elasticmapreduce/2009-03-31/api-2.json
index 7b4b645..52098ed 100644
--- a/vendor/github.com/aws/aws-sdk-go/models/apis/elasticmapreduce/2009-03-31/api-2.json
+++ b/vendor/github.com/aws/aws-sdk-go/models/apis/elasticmapreduce/2009-03-31/api-2.json
@@ -49,6 +49,19 @@
{"shape":"InvalidRequestException"}
]
},
+ "CancelSteps":{
+ "name":"CancelSteps",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"CancelStepsInput"},
+ "output":{"shape":"CancelStepsOutput"},
+ "errors":[
+ {"shape":"InternalServerError"},
+ {"shape":"InvalidRequestException"}
+ ]
+ },
"CreateSecurityConfiguration":{
"name":"CreateSecurityConfiguration",
"http":{
@@ -216,6 +229,24 @@
{"shape":"InternalServerError"}
]
},
+ "PutAutoScalingPolicy":{
+ "name":"PutAutoScalingPolicy",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"PutAutoScalingPolicyInput"},
+ "output":{"shape":"PutAutoScalingPolicyOutput"}
+ },
+ "RemoveAutoScalingPolicy":{
+ "name":"RemoveAutoScalingPolicy",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"RemoveAutoScalingPolicyInput"},
+ "output":{"shape":"RemoveAutoScalingPolicyOutput"}
+ },
"RemoveTags":{
"name":"RemoveTags",
"http":{
@@ -336,6 +367,14 @@
"members":{
}
},
+ "AdjustmentType":{
+ "type":"string",
+ "enum":[
+ "CHANGE_IN_CAPACITY",
+ "PERCENT_CHANGE_IN_CAPACITY",
+ "EXACT_CAPACITY"
+ ]
+ },
"Application":{
"type":"structure",
"members":{
@@ -349,6 +388,58 @@
"type":"list",
"member":{"shape":"Application"}
},
+ "AutoScalingPolicy":{
+ "type":"structure",
+ "required":[
+ "Constraints",
+ "Rules"
+ ],
+ "members":{
+ "Constraints":{"shape":"ScalingConstraints"},
+ "Rules":{"shape":"ScalingRuleList"}
+ }
+ },
+ "AutoScalingPolicyDescription":{
+ "type":"structure",
+ "members":{
+ "Status":{"shape":"AutoScalingPolicyStatus"},
+ "Constraints":{"shape":"ScalingConstraints"},
+ "Rules":{"shape":"ScalingRuleList"}
+ }
+ },
+ "AutoScalingPolicyState":{
+ "type":"string",
+ "enum":[
+ "PENDING",
+ "ATTACHING",
+ "ATTACHED",
+ "DETACHING",
+ "DETACHED",
+ "FAILED"
+ ]
+ },
+ "AutoScalingPolicyStateChangeReason":{
+ "type":"structure",
+ "members":{
+ "Code":{"shape":"AutoScalingPolicyStateChangeReasonCode"},
+ "Message":{"shape":"String"}
+ }
+ },
+ "AutoScalingPolicyStateChangeReasonCode":{
+ "type":"string",
+ "enum":[
+ "USER_REQUEST",
+ "PROVISION_FAILURE",
+ "CLEANUP_FAILURE"
+ ]
+ },
+ "AutoScalingPolicyStatus":{
+ "type":"structure",
+ "members":{
+ "State":{"shape":"AutoScalingPolicyState"},
+ "StateChangeReason":{"shape":"AutoScalingPolicyStateChangeReason"}
+ }
+ },
"Boolean":{"type":"boolean"},
"BooleanObject":{"type":"boolean"},
"BootstrapActionConfig":{
@@ -376,6 +467,58 @@
"type":"list",
"member":{"shape":"BootstrapActionDetail"}
},
+ "CancelStepsInfo":{
+ "type":"structure",
+ "members":{
+ "StepId":{"shape":"StepId"},
+ "Status":{"shape":"CancelStepsRequestStatus"},
+ "Reason":{"shape":"String"}
+ }
+ },
+ "CancelStepsInfoList":{
+ "type":"list",
+ "member":{"shape":"CancelStepsInfo"}
+ },
+ "CancelStepsInput":{
+ "type":"structure",
+ "members":{
+ "ClusterId":{"shape":"XmlStringMaxLen256"},
+ "StepIds":{"shape":"StepIdsList"}
+ }
+ },
+ "CancelStepsOutput":{
+ "type":"structure",
+ "members":{
+ "CancelStepsInfoList":{"shape":"CancelStepsInfoList"}
+ }
+ },
+ "CancelStepsRequestStatus":{
+ "type":"string",
+ "enum":[
+ "SUBMITTED",
+ "FAILED"
+ ]
+ },
+ "CloudWatchAlarmDefinition":{
+ "type":"structure",
+ "required":[
+ "ComparisonOperator",
+ "MetricName",
+ "Period",
+ "Threshold"
+ ],
+ "members":{
+ "ComparisonOperator":{"shape":"ComparisonOperator"},
+ "EvaluationPeriods":{"shape":"Integer"},
+ "MetricName":{"shape":"String"},
+ "Namespace":{"shape":"String"},
+ "Period":{"shape":"Integer"},
+ "Statistic":{"shape":"Statistic"},
+ "Threshold":{"shape":"NonNegativeDouble"},
+ "Unit":{"shape":"Unit"},
+ "Dimensions":{"shape":"MetricDimensionList"}
+ }
+ },
"Cluster":{
"type":"structure",
"members":{
@@ -396,7 +539,9 @@
"NormalizedInstanceHours":{"shape":"Integer"},
"MasterPublicDnsName":{"shape":"String"},
"Configurations":{"shape":"ConfigurationList"},
- "SecurityConfiguration":{"shape":"XmlString"}
+ "SecurityConfiguration":{"shape":"XmlString"},
+ "AutoScalingRole":{"shape":"XmlString"},
+ "ScaleDownBehavior":{"shape":"ScaleDownBehavior"}
}
},
"ClusterId":{"type":"string"},
@@ -476,6 +621,15 @@
"type":"list",
"member":{"shape":"Command"}
},
+ "ComparisonOperator":{
+ "type":"string",
+ "enum":[
+ "GREATER_THAN_OR_EQUAL",
+ "GREATER_THAN",
+ "LESS_THAN",
+ "LESS_THAN_OR_EQUAL"
+ ]
+ },
"Configuration":{
"type":"structure",
"members":{
@@ -708,7 +862,8 @@
"Configurations":{"shape":"ConfigurationList"},
"EbsBlockDevices":{"shape":"EbsBlockDeviceList"},
"EbsOptimized":{"shape":"BooleanObject"},
- "ShrinkPolicy":{"shape":"ShrinkPolicy"}
+ "ShrinkPolicy":{"shape":"ShrinkPolicy"},
+ "AutoScalingPolicy":{"shape":"AutoScalingPolicyDescription"}
}
},
"InstanceGroupConfig":{
@@ -726,7 +881,8 @@
"InstanceType":{"shape":"InstanceType"},
"InstanceCount":{"shape":"Integer"},
"Configurations":{"shape":"ConfigurationList"},
- "EbsConfiguration":{"shape":"EbsConfiguration"}
+ "EbsConfiguration":{"shape":"EbsConfiguration"},
+ "AutoScalingPolicy":{"shape":"AutoScalingPolicy"}
}
},
"InstanceGroupConfigList":{
@@ -964,7 +1120,9 @@
"SupportedProducts":{"shape":"SupportedProductsList"},
"VisibleToAllUsers":{"shape":"Boolean"},
"JobFlowRole":{"shape":"XmlString"},
- "ServiceRole":{"shape":"XmlString"}
+ "ServiceRole":{"shape":"XmlString"},
+ "AutoScalingRole":{"shape":"XmlString"},
+ "ScaleDownBehavior":{"shape":"ScaleDownBehavior"}
}
},
"JobFlowDetailList":{
@@ -1159,9 +1317,21 @@
"SPOT"
]
},
+ "MetricDimension":{
+ "type":"structure",
+ "members":{
+ "Key":{"shape":"String"},
+ "Value":{"shape":"String"}
+ }
+ },
+ "MetricDimensionList":{
+ "type":"list",
+ "member":{"shape":"MetricDimension"}
+ },
"ModifyInstanceGroupsInput":{
"type":"structure",
"members":{
+ "ClusterId":{"shape":"ClusterId"},
"InstanceGroups":{"shape":"InstanceGroupModifyConfigList"}
}
},
@@ -1169,6 +1339,10 @@
"type":"list",
"member":{"shape":"SupportedProductConfig"}
},
+ "NonNegativeDouble":{
+ "type":"double",
+ "min":0.0
+ },
"PlacementType":{
"type":"structure",
"required":["AvailabilityZone"],
@@ -1176,6 +1350,43 @@
"AvailabilityZone":{"shape":"XmlString"}
}
},
+ "PutAutoScalingPolicyInput":{
+ "type":"structure",
+ "required":[
+ "ClusterId",
+ "InstanceGroupId",
+ "AutoScalingPolicy"
+ ],
+ "members":{
+ "ClusterId":{"shape":"ClusterId"},
+ "InstanceGroupId":{"shape":"InstanceGroupId"},
+ "AutoScalingPolicy":{"shape":"AutoScalingPolicy"}
+ }
+ },
+ "PutAutoScalingPolicyOutput":{
+ "type":"structure",
+ "members":{
+ "ClusterId":{"shape":"ClusterId"},
+ "InstanceGroupId":{"shape":"InstanceGroupId"},
+ "AutoScalingPolicy":{"shape":"AutoScalingPolicyDescription"}
+ }
+ },
+ "RemoveAutoScalingPolicyInput":{
+ "type":"structure",
+ "required":[
+ "ClusterId",
+ "InstanceGroupId"
+ ],
+ "members":{
+ "ClusterId":{"shape":"ClusterId"},
+ "InstanceGroupId":{"shape":"InstanceGroupId"}
+ }
+ },
+ "RemoveAutoScalingPolicyOutput":{
+ "type":"structure",
+ "members":{
+ }
+ },
"RemoveTagsInput":{
"type":"structure",
"required":[
@@ -1216,7 +1427,9 @@
"JobFlowRole":{"shape":"XmlString"},
"ServiceRole":{"shape":"XmlString"},
"Tags":{"shape":"TagList"},
- "SecurityConfiguration":{"shape":"XmlString"}
+ "SecurityConfiguration":{"shape":"XmlString"},
+ "AutoScalingRole":{"shape":"XmlString"},
+ "ScaleDownBehavior":{"shape":"ScaleDownBehavior"}
}
},
"RunJobFlowOutput":{
@@ -1225,6 +1438,57 @@
"JobFlowId":{"shape":"XmlStringMaxLen256"}
}
},
+ "ScaleDownBehavior":{
+ "type":"string",
+ "enum":[
+ "TERMINATE_AT_INSTANCE_HOUR",
+ "TERMINATE_AT_TASK_COMPLETION"
+ ]
+ },
+ "ScalingAction":{
+ "type":"structure",
+ "required":["SimpleScalingPolicyConfiguration"],
+ "members":{
+ "Market":{"shape":"MarketType"},
+ "SimpleScalingPolicyConfiguration":{"shape":"SimpleScalingPolicyConfiguration"}
+ }
+ },
+ "ScalingConstraints":{
+ "type":"structure",
+ "required":[
+ "MinCapacity",
+ "MaxCapacity"
+ ],
+ "members":{
+ "MinCapacity":{"shape":"Integer"},
+ "MaxCapacity":{"shape":"Integer"}
+ }
+ },
+ "ScalingRule":{
+ "type":"structure",
+ "required":[
+ "Name",
+ "Action",
+ "Trigger"
+ ],
+ "members":{
+ "Name":{"shape":"String"},
+ "Description":{"shape":"String"},
+ "Action":{"shape":"ScalingAction"},
+ "Trigger":{"shape":"ScalingTrigger"}
+ }
+ },
+ "ScalingRuleList":{
+ "type":"list",
+ "member":{"shape":"ScalingRule"}
+ },
+ "ScalingTrigger":{
+ "type":"structure",
+ "required":["CloudWatchAlarmDefinition"],
+ "members":{
+ "CloudWatchAlarmDefinition":{"shape":"CloudWatchAlarmDefinition"}
+ }
+ },
"ScriptBootstrapActionConfig":{
"type":"structure",
"required":["Path"],
@@ -1277,6 +1541,25 @@
"InstanceResizePolicy":{"shape":"InstanceResizePolicy"}
}
},
+ "SimpleScalingPolicyConfiguration":{
+ "type":"structure",
+ "required":["ScalingAdjustment"],
+ "members":{
+ "AdjustmentType":{"shape":"AdjustmentType"},
+ "ScalingAdjustment":{"shape":"Integer"},
+ "CoolDown":{"shape":"Integer"}
+ }
+ },
+ "Statistic":{
+ "type":"string",
+ "enum":[
+ "SAMPLE_COUNT",
+ "AVERAGE",
+ "SUM",
+ "MINIMUM",
+ "MAXIMUM"
+ ]
+ },
"Step":{
"type":"structure",
"members":{
@@ -1353,6 +1636,7 @@
"type":"string",
"enum":[
"PENDING",
+ "CANCEL_PENDING",
"RUNNING",
"COMPLETED",
"CANCELLED",
@@ -1445,6 +1729,38 @@
"JobFlowIds":{"shape":"XmlStringList"}
}
},
+ "Unit":{
+ "type":"string",
+ "enum":[
+ "NONE",
+ "SECONDS",
+ "MICRO_SECONDS",
+ "MILLI_SECONDS",
+ "BYTES",
+ "KILO_BYTES",
+ "MEGA_BYTES",
+ "GIGA_BYTES",
+ "TERA_BYTES",
+ "BITS",
+ "KILO_BITS",
+ "MEGA_BITS",
+ "GIGA_BITS",
+ "TERA_BITS",
+ "PERCENT",
+ "COUNT",
+ "BYTES_PER_SECOND",
+ "KILO_BYTES_PER_SECOND",
+ "MEGA_BYTES_PER_SECOND",
+ "GIGA_BYTES_PER_SECOND",
+ "TERA_BYTES_PER_SECOND",
+ "BITS_PER_SECOND",
+ "KILO_BITS_PER_SECOND",
+ "MEGA_BITS_PER_SECOND",
+ "GIGA_BITS_PER_SECOND",
+ "TERA_BITS_PER_SECOND",
+ "COUNT_PER_SECOND"
+ ]
+ },
"VolumeSpecification":{
"type":"structure",
"required":[
diff --git a/vendor/github.com/aws/aws-sdk-go/models/apis/elasticmapreduce/2009-03-31/docs-2.json b/vendor/github.com/aws/aws-sdk-go/models/apis/elasticmapreduce/2009-03-31/docs-2.json
index cd87ca5..6c75315 100644
--- a/vendor/github.com/aws/aws-sdk-go/models/apis/elasticmapreduce/2009-03-31/docs-2.json
+++ b/vendor/github.com/aws/aws-sdk-go/models/apis/elasticmapreduce/2009-03-31/docs-2.json
@@ -1,14 +1,15 @@
{
"version": "2.0",
- "service": "Amazon Elastic MapReduce (Amazon EMR) is a web service that makes it easy to process large amounts of data efficiently. Amazon EMR uses Hadoop processing combined with several AWS products to do tasks such as web indexing, data mining, log file analysis, machine learning, scientific simulation, and data warehousing.
",
+ "service": "Amazon EMR is a web service that makes it easy to process large amounts of data efficiently. Amazon EMR uses Hadoop processing combined with several AWS products to do tasks such as web indexing, data mining, log file analysis, machine learning, scientific simulation, and data warehousing.
",
"operations": {
- "AddInstanceGroups": "AddInstanceGroups adds an instance group to a running cluster.
",
- "AddJobFlowSteps": "AddJobFlowSteps adds new steps to a running job flow. A maximum of 256 steps are allowed in each job flow.
If your job flow is long-running (such as a Hive data warehouse) or complex, you may require more than 256 steps to process your data. You can bypass 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, go to Add More than 256 Steps to a Job Flow in the Amazon Elastic MapReduce Developer's Guide.
A step specifies the location of a JAR file stored either on the master node of the job flow or in Amazon S3. Each step is performed by the main function of the main class of the JAR file. The main class can be specified either in the manifest of the JAR or by using the MainFunction parameter of the step.
Elastic MapReduce executes each step in the order listed. For a step to be considered complete, the main function must exit with a zero exit code and all Hadoop jobs started while the step was running must have completed and run successfully.
You can only add steps to a job flow that is in one of the following states: STARTING, BOOTSTRAPPING, RUNNING, or WAITING.
",
+ "AddInstanceGroups": "Adds one or more instance groups to a running cluster.
",
+ "AddJobFlowSteps": "AddJobFlowSteps adds new steps to a running job flow. A maximum of 256 steps are allowed in each job flow.
If your job flow is long-running (such as a Hive data warehouse) or complex, you may require more than 256 steps to process your data. You can bypass 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 Job Flow in the Amazon EMR Developer's Guide.
A step specifies the location of a JAR file stored either on the master node of the job flow or in Amazon S3. Each step is performed by the main function of the main class of the JAR file. The main class can be specified either in the manifest of the JAR or by using the MainFunction parameter of the step.
Amazon EMR executes each step in the order listed. For a step to be considered complete, the main function must exit with a zero exit code and all Hadoop jobs started while the step was running must have completed and run successfully.
You can only add steps to a job flow that is in one of the following states: STARTING, BOOTSTRAPPING, RUNNING, or WAITING.
",
"AddTags": "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.
",
- "CreateSecurityConfiguration": "Creates a security configuration using EMR Security Configurations, which are stored in the service. Security Configurations enable you to more easily create a configuration, reuse it, and apply it whenever a cluster is created.
",
+ "CancelSteps": "Cancels a pending step or steps in a running cluster. Available only in Amazon EMR versions 4.8.0 and later, excluding version 5.0.0. A maximum of 256 steps are allowed in each CancelSteps request. CancelSteps is idempotent but asynchronous; it does not guarantee a step will be canceled, even if the request is successfully submitted. You can only cancel steps that are in a PENDING
state.
",
+ "CreateSecurityConfiguration": "Creates a security configuration, which is stored in the service and can be specified when a cluster is created.
",
"DeleteSecurityConfiguration": "Deletes a security configuration.
",
"DescribeCluster": "Provides cluster-level details including status, hardware and software configuration, VPC settings, and so on. For information about the cluster steps, see ListSteps.
",
- "DescribeJobFlows": " This API is deprecated and will eventually be removed. We recommend you use ListClusters, DescribeCluster, ListSteps, ListInstanceGroups and ListBootstrapActions instead.
DescribeJobFlows returns a list of job flows that match all of the supplied parameters. The parameters can include a list of job flow IDs, job flow states, and restrictions on job flow creation date and time.
Regardless of supplied parameters, only job flows created within the last two months are returned.
If no parameters are supplied, then job flows matching either of the following criteria are returned:
-
Job flows created and completed in the last two weeks
-
Job flows created within the last two months that are in one of the following states: RUNNING
, WAITING
, SHUTTING_DOWN
, STARTING
Amazon Elastic MapReduce can return a maximum of 512 job flow descriptions.
",
+ "DescribeJobFlows": "This API is deprecated and will eventually be removed. We recommend you use ListClusters, DescribeCluster, ListSteps, ListInstanceGroups and ListBootstrapActions instead.
DescribeJobFlows returns a list of job flows that match all of the supplied parameters. The parameters can include a list of job flow IDs, job flow states, and restrictions on job flow creation date and time.
Regardless of supplied parameters, only job flows created within the last two months are returned.
If no parameters are supplied, then job flows matching either of the following criteria are returned:
-
Job flows created and completed in the last two weeks
-
Job flows created within the last two months that are in one of the following states: RUNNING
, WAITING
, SHUTTING_DOWN
, STARTING
Amazon EMR can return a maximum of 512 job flow descriptions.
",
"DescribeSecurityConfiguration": "Provides the details of a security configuration by returning the configuration JSON.
",
"DescribeStep": "Provides more detail about the cluster step.
",
"ListBootstrapActions": "Provides information about the bootstrap actions associated with a cluster.
",
@@ -16,13 +17,15 @@
"ListInstanceGroups": "Provides all available details about the instance groups in a cluster.
",
"ListInstances": "Provides information about the cluster instances that Amazon EMR provisions on behalf of a user when it creates the cluster. For example, this operation indicates when the EC2 instances reach the Ready state, when instances become available to Amazon EMR to use for jobs, and the IP addresses for cluster instances, etc.
",
"ListSecurityConfigurations": "Lists all the security configurations visible to this account, providing their creation dates and times, and their names. This call returns a maximum of 50 clusters per call, but returns a marker to track the paging of the cluster list across multiple ListSecurityConfigurations calls.
",
- "ListSteps": "Provides a list of steps for the cluster.
",
+ "ListSteps": "Provides a list of steps for the cluster in reverse order unless you specify stepIds with the request.
",
"ModifyInstanceGroups": "ModifyInstanceGroups modifies the number of nodes and configuration settings of an instance group. The input parameters include the new target instance count for the group and the instance group ID. The call will either succeed or fail atomically.
",
+ "PutAutoScalingPolicy": "Creates or updates an automatic scaling policy for a core instance group or task instance group 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.
",
+ "RemoveAutoScalingPolicy": "Removes an automatic scaling policy from a specified instance group within an EMR cluster.
",
"RemoveTags": "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.
The following example removes the stack tag with value Prod from a cluster:
",
- "RunJobFlow": " RunJobFlow creates and starts running a new job flow. The job flow will run the steps specified. Once the job flow completes, the cluster is stopped and the HDFS partition is lost. To prevent loss of data, configure the last step of the job flow to store results in Amazon S3. If the JobFlowInstancesConfig KeepJobFlowAliveWhenNoSteps
parameter is set to TRUE
, the job flow will transition to the WAITING state rather than shutting down once the steps have completed.
For additional protection, you can set the JobFlowInstancesConfig TerminationProtected
parameter to TRUE
to lock the job flow and prevent it from being terminated by API call, user intervention, or in the event of a job flow error.
A maximum of 256 steps are allowed in each job flow.
If your job flow is long-running (such as a Hive data warehouse) or complex, you may require more than 256 steps to process your data. You can bypass 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, go to Add More than 256 Steps to a Job Flow in the Amazon Elastic MapReduce Developer's Guide.
For long running job flows, we recommend that you periodically store your results.
",
- "SetTerminationProtection": "SetTerminationProtection locks a job flow so the Amazon EC2 instances in the cluster cannot be terminated by user intervention, an API call, or in the event of a job-flow error. The cluster still terminates upon successful completion of the job flow. Calling SetTerminationProtection on a job flow is analogous to calling the Amazon EC2 DisableAPITermination API on all of the EC2 instances in a cluster.
SetTerminationProtection is used to prevent accidental termination of a job flow and to ensure that in the event of an error, the instances will persist so you can recover any data stored in their ephemeral instance storage.
To terminate a job flow that has been locked by setting SetTerminationProtection to true
, you must first unlock the job flow by a subsequent call to SetTerminationProtection in which you set the value to false
.
For more information, go to Protecting a Job Flow from Termination in the Amazon Elastic MapReduce Developer's Guide.
",
+ "RunJobFlow": "RunJobFlow creates and starts running a new job flow. The job flow will run the steps specified. After the job flow completes, the cluster is stopped and the HDFS partition is lost. To prevent loss of data, configure the last step of the job flow to store results in Amazon S3. If the JobFlowInstancesConfig KeepJobFlowAliveWhenNoSteps
parameter is set to TRUE
, the job flow will transition to the WAITING state rather than shutting down after the steps have completed.
For additional protection, you can set the JobFlowInstancesConfig TerminationProtected
parameter to TRUE
to lock the job flow and prevent it from being terminated by API call, user intervention, or in the event of a job flow error.
A maximum of 256 steps are allowed in each job flow.
If your job flow is long-running (such as a Hive data warehouse) or complex, you may require more than 256 steps to process your data. You can bypass 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 Job Flow in the Amazon EMR Management Guide.
For long running job flows, we recommend that you periodically store your results.
",
+ "SetTerminationProtection": "SetTerminationProtection locks a job flow so the EC2 instances in the cluster cannot be terminated by user intervention, an API call, or in the event of a job-flow error. The cluster still terminates upon successful completion of the job flow. Calling SetTerminationProtection on a job flow is analogous to calling the Amazon EC2 DisableAPITermination API on all of the EC2 instances in a cluster.
SetTerminationProtection is used to prevent accidental termination of a job flow and to ensure that in the event of an error, the instances will persist so you can recover any data stored in their ephemeral instance storage.
To terminate a job flow that has been locked by setting SetTerminationProtection to true
, you must first unlock the job flow by a subsequent call to SetTerminationProtection in which you set the value to false
.
For more information, seeProtecting a Job Flow from Termination in the Amazon EMR Guide.
",
"SetVisibleToAllUsers": "Sets whether all AWS Identity and Access Management (IAM) users under your account can access the specified job flows. This action works on running job flows. You can also set the visibility of a job flow when you launch it using the VisibleToAllUsers
parameter of RunJobFlow. The SetVisibleToAllUsers action can be called only by an IAM user who created the job flow or the AWS account that owns the job flow.
",
- "TerminateJobFlows": "TerminateJobFlows shuts a list of job flows down. When a job flow is shut down, any step not yet completed is canceled and the EC2 instances on which the job flow is running are stopped. Any log files not already saved are uploaded to Amazon S3 if a LogUri was specified when the job flow was created.
The maximum number of JobFlows allowed is 10. The call to TerminateJobFlows is asynchronous. Depending on the configuration of the job flow, it may take up to 5-20 minutes for the job flow to completely terminate and release allocated resources, such as Amazon EC2 instances.
"
+ "TerminateJobFlows": "TerminateJobFlows shuts a list of job flows down. When a job flow is shut down, any step not yet completed is canceled and the EC2 instances on which the job flow is running are stopped. Any log files not already saved are uploaded to Amazon S3 if a LogUri was specified when the job flow was created.
The maximum number of JobFlows allowed is 10. The call to TerminateJobFlows is asynchronous. Depending on the configuration of the job flow, it may take up to 1-5 minutes for the job flow to completely terminate and release allocated resources, such as Amazon EC2 instances.
"
},
"shapes": {
"ActionOnFailure": {
@@ -63,6 +66,12 @@
"refs": {
}
},
+ "AdjustmentType": {
+ "base": null,
+ "refs": {
+ "SimpleScalingPolicyConfiguration$AdjustmentType": "The way in which EC2 instances are added (if ScalingAdjustment
is a positive number) or terminated (if ScalingAdjustment
is a negative number) each time the scaling activity is triggered. CHANGE_IN_CAPACITY
is the default. CHANGE_IN_CAPACITY
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
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.
"
+ }
+ },
"Application": {
"base": "An application is any Amazon or third-party software that you can add to the cluster. This structure contains a list of strings that indicates the 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 Launch a Job Flow on the MapR Distribution for Hadoop. Currently supported values are:
-
\"mapr-m3\" - launch the job flow using MapR M3 Edition.
-
\"mapr-m5\" - launch the job flow using MapR M5 Edition.
-
\"mapr\" with the user arguments specifying \"--edition,m3\" or \"--edition,m5\" - launch the job flow using MapR M3 or M5 Edition, respectively.
In Amazon EMR releases 4.0 and greater, the only accepted parameter is the application name. To pass arguments to applications, you supply a configuration for each application.
",
"refs": {
@@ -76,6 +85,44 @@
"RunJobFlowInput$Applications": " Amazon EMR releases 4.x or later.
A list of applications for the cluster. Valid values are: \"Hadoop\", \"Hive\", \"Mahout\", \"Pig\", and \"Spark.\" They are case insensitive.
"
}
},
+ "AutoScalingPolicy": {
+ "base": "An automatic scaling policy for a core instance group or task instance group 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.
",
+ "refs": {
+ "InstanceGroupConfig$AutoScalingPolicy": "An automatic scaling policy for a core instance group or task instance group 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.
",
+ "PutAutoScalingPolicyInput$AutoScalingPolicy": "Specifies the definition of the automatic scaling policy.
"
+ }
+ },
+ "AutoScalingPolicyDescription": {
+ "base": "An automatic scaling policy for a core instance group or task instance group 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.
",
+ "refs": {
+ "InstanceGroup$AutoScalingPolicy": "An automatic scaling policy for a core instance group or task instance group 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.
",
+ "PutAutoScalingPolicyOutput$AutoScalingPolicy": "The automatic scaling policy definition.
"
+ }
+ },
+ "AutoScalingPolicyState": {
+ "base": null,
+ "refs": {
+ "AutoScalingPolicyStatus$State": ""
+ }
+ },
+ "AutoScalingPolicyStateChangeReason": {
+ "base": "The reason for an AutoScalingPolicyStatus change.
",
+ "refs": {
+ "AutoScalingPolicyStatus$StateChangeReason": "The reason for a change in status.
"
+ }
+ },
+ "AutoScalingPolicyStateChangeReasonCode": {
+ "base": null,
+ "refs": {
+ "AutoScalingPolicyStateChangeReason$Code": "The code indicating the reason for the change in status.USER_REQUEST
indicates that the scaling policy status was changed by a user. PROVISION_FAILURE
indicates that the status change was because the policy failed to provision. CLEANUP_FAILURE
indicates something unclean happened.-->
"
+ }
+ },
+ "AutoScalingPolicyStatus": {
+ "base": "The status of an automatic scaling policy.
",
+ "refs": {
+ "AutoScalingPolicyDescription$Status": "The status of an automatic scaling policy.
"
+ }
+ },
"Boolean": {
"base": null,
"refs": {
@@ -95,12 +142,12 @@
"BooleanObject": {
"base": null,
"refs": {
- "EbsConfiguration$EbsOptimized": null,
+ "EbsConfiguration$EbsOptimized": "Indicates whether an Amazon EBS volume is EBS-optimized.
",
"InstanceGroup$EbsOptimized": "If the instance group is EBS-optimized. An Amazon EBS-optimized instance uses an optimized configuration stack and provides additional, dedicated capacity for Amazon EBS I/O.
"
}
},
"BootstrapActionConfig": {
- "base": null,
+ "base": "Configuration of a bootstrap action.
",
"refs": {
"BootstrapActionConfigList$member": null,
"BootstrapActionDetail$BootstrapActionConfig": "A description of the bootstrap action.
"
@@ -124,6 +171,40 @@
"JobFlowDetail$BootstrapActions": "A list of the bootstrap actions run by the job flow.
"
}
},
+ "CancelStepsInfo": {
+ "base": null,
+ "refs": {
+ "CancelStepsInfoList$member": null
+ }
+ },
+ "CancelStepsInfoList": {
+ "base": null,
+ "refs": {
+ "CancelStepsOutput$CancelStepsInfoList": "A list of CancelStepsInfo, which shows the status of specified cancel requests for each StepID
specified.
"
+ }
+ },
+ "CancelStepsInput": {
+ "base": "The input argument to the CancelSteps operation.
",
+ "refs": {
+ }
+ },
+ "CancelStepsOutput": {
+ "base": " The output for the CancelSteps operation.
",
+ "refs": {
+ }
+ },
+ "CancelStepsRequestStatus": {
+ "base": null,
+ "refs": {
+ "CancelStepsInfo$Status": null
+ }
+ },
+ "CloudWatchAlarmDefinition": {
+ "base": "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.
",
+ "refs": {
+ "ScalingTrigger$CloudWatchAlarmDefinition": "The definition of a CloudWatch metric alarm. When the defined alarm conditions are met along with other trigger parameters, scaling activity begins.
"
+ }
+ },
"Cluster": {
"base": "The detailed description of the cluster.
",
"refs": {
@@ -137,10 +218,14 @@
"ClusterSummary$Id": "The unique identifier for the cluster.
",
"DescribeClusterInput$ClusterId": "The identifier of the cluster to describe.
",
"DescribeStepInput$ClusterId": "The identifier of the cluster with steps to describe.
",
- "ListBootstrapActionsInput$ClusterId": "The cluster identifier for the bootstrap actions to list .
",
+ "ListBootstrapActionsInput$ClusterId": "The cluster identifier for the bootstrap actions to list.
",
"ListInstanceGroupsInput$ClusterId": "The identifier of the cluster for which to list the instance groups.
",
"ListInstancesInput$ClusterId": "The identifier of the cluster for which to list the instances.
",
- "ListStepsInput$ClusterId": "The identifier of the cluster for which to list the steps.
"
+ "ListStepsInput$ClusterId": "The identifier of the cluster for which to list the steps.
",
+ "ModifyInstanceGroupsInput$ClusterId": "The ID of the cluster to which the instance group belongs.
",
+ "PutAutoScalingPolicyInput$ClusterId": "Specifies the ID of a cluster. The instance group to which the automatic scaling policy is applied is within this cluster.
",
+ "PutAutoScalingPolicyOutput$ClusterId": "Specifies the ID of a cluster. The instance group to which the automatic scaling policy is applied is within this cluster.
",
+ "RemoveAutoScalingPolicyInput$ClusterId": "Specifies the ID of a cluster. The instance group to which the automatic scaling policy is applied is within this cluster.
"
}
},
"ClusterState": {
@@ -202,7 +287,13 @@
"CommandList": {
"base": null,
"refs": {
- "ListBootstrapActionsOutput$BootstrapActions": "The bootstrap actions associated with the cluster .
"
+ "ListBootstrapActionsOutput$BootstrapActions": "The bootstrap actions associated with the cluster.
"
+ }
+ },
+ "ComparisonOperator": {
+ "base": null,
+ "refs": {
+ "CloudWatchAlarmDefinition$ComparisonOperator": "Determines how the metric specified by MetricName
is compared to the value specified by Threshold
.
"
}
},
"Configuration": {
@@ -255,8 +346,8 @@
"JobFlowExecutionStatusDetail$StartDateTime": "The start date and time of the job flow.
",
"JobFlowExecutionStatusDetail$ReadyDateTime": "The date and time when the job flow was ready to start running bootstrap actions.
",
"JobFlowExecutionStatusDetail$EndDateTime": "The completion date and time of the job flow.
",
- "ListClustersInput$CreatedAfter": "The creation date and time beginning value filter for listing clusters .
",
- "ListClustersInput$CreatedBefore": "The creation date and time end value filter for listing clusters .
",
+ "ListClustersInput$CreatedAfter": "The creation date and time beginning value filter for listing clusters.
",
+ "ListClustersInput$CreatedBefore": "The creation date and time end value filter for listing clusters.
",
"SecurityConfigurationSummary$CreationDateTime": "The date and time the security configuration was created.
",
"StepExecutionStatusDetail$CreationDateTime": "The creation date and time of the step.
",
"StepExecutionStatusDetail$StartDateTime": "The start date and time of the step.
",
@@ -326,7 +417,7 @@
"EC2InstanceIdsToTerminateList": {
"base": null,
"refs": {
- "InstanceGroupModifyConfig$EC2InstanceIdsToTerminate": "The EC2 InstanceIds to terminate. Once you terminate the instances, the instance group will not return to its original requested size.
"
+ "InstanceGroupModifyConfig$EC2InstanceIdsToTerminate": "The EC2 InstanceIds to terminate. After you terminate the instances, the instance group will not return to its original requested size.
"
}
},
"EbsBlockDevice": {
@@ -344,7 +435,7 @@
"EbsBlockDeviceConfigList": {
"base": null,
"refs": {
- "EbsConfiguration$EbsBlockDeviceConfigs": null
+ "EbsConfiguration$EbsBlockDeviceConfigs": "An array of Amazon EBS volume specifications attached to a cluster instance.
"
}
},
"EbsBlockDeviceList": {
@@ -354,9 +445,9 @@
}
},
"EbsConfiguration": {
- "base": null,
+ "base": "The Amazon EBS configuration of a cluster instance.
",
"refs": {
- "InstanceGroupConfig$EbsConfiguration": "EBS configurations that will be attached to each Amazon EC2 instance in the instance group.
"
+ "InstanceGroupConfig$EbsConfiguration": "EBS configurations that will be attached to each EC2 instance in the instance group.
"
}
},
"EbsVolume": {
@@ -374,7 +465,7 @@
"Ec2InstanceAttributes": {
"base": "Provides information about the EC2 instances in a cluster grouped by category. For example, key name, subnet ID, IAM instance profile, and so on.
",
"refs": {
- "Cluster$Ec2InstanceAttributes": null
+ "Cluster$Ec2InstanceAttributes": "Provides information about the EC2 instances in a cluster grouped by category. For example, key name, subnet ID, IAM instance profile, and so on.
"
}
},
"ErrorCode": {
@@ -430,7 +521,7 @@
"InstanceGroupConfigList": {
"base": null,
"refs": {
- "AddInstanceGroupsInput$InstanceGroups": "Instance Groups to add.
",
+ "AddInstanceGroupsInput$InstanceGroups": "Instance groups to add.
",
"JobFlowInstancesConfig$InstanceGroups": "Configuration for the job flow's instance groups.
"
}
},
@@ -450,7 +541,10 @@
"base": null,
"refs": {
"InstanceGroup$Id": "The identifier of the instance group.
",
- "ListInstancesInput$InstanceGroupId": "The identifier of the instance group for which to list the instances.
"
+ "ListInstancesInput$InstanceGroupId": "The identifier of the instance group for which to list the instances.
",
+ "PutAutoScalingPolicyInput$InstanceGroupId": "Specifies the ID of the instance group to which the automatic scaling policy is applied.
",
+ "PutAutoScalingPolicyOutput$InstanceGroupId": "Specifies the ID of the instance group to which the scaling policy is applied.
",
+ "RemoveAutoScalingPolicyInput$InstanceGroupId": "Specifies the ID of the instance group to which the scaling policy is applied.
"
}
},
"InstanceGroupIdsList": {
@@ -590,8 +684,8 @@
"base": null,
"refs": {
"InstanceGroup$InstanceType": "The EC2 instance type for all instances in the instance group.
",
- "InstanceGroupConfig$InstanceType": "The Amazon EC2 instance type for all instances in the instance group.
",
- "InstanceGroupDetail$InstanceType": "Amazon EC2 Instance type.
",
+ "InstanceGroupConfig$InstanceType": "The EC2 instance type for all instances in the instance group.
",
+ "InstanceGroupDetail$InstanceType": "EC2 instance type.
",
"JobFlowInstancesConfig$MasterInstanceType": "The EC2 instance type of the master node.
",
"JobFlowInstancesConfig$SlaveInstanceType": "The EC2 instance type of the slave nodes.
",
"JobFlowInstancesDetail$MasterInstanceType": "The Amazon EC2 master node instance type.
",
@@ -601,9 +695,11 @@
"Integer": {
"base": null,
"refs": {
+ "CloudWatchAlarmDefinition$EvaluationPeriods": "The number of periods, expressed in seconds using Period
, during which the alarm condition must exist before the alarm triggers automatic scaling activity. The default value is 1
.
",
+ "CloudWatchAlarmDefinition$Period": "The period, in seconds, over which the statistic is applied. EMR CloudWatch metrics are emitted every five minutes (300 seconds), so if an EMR CloudWatch metric is specified, specify 300
.
",
"Cluster$NormalizedInstanceHours": "An approximation of the cost of the job flow, represented in m1.small/hours. This value is incremented one time for every hour an m1.small instance runs. Larger instances are weighted more, so an EC2 instance that is roughly four times more expensive would result in the normalized instance hours being incremented by four. This result is only an approximation and does not reflect the actual billing rate.
",
"ClusterSummary$NormalizedInstanceHours": "An approximation of the cost of the job flow, represented in m1.small/hours. This value is incremented one time for every hour an m1.small instance runs. Larger instances are weighted more, so an EC2 instance that is roughly four times more expensive would result in the normalized instance hours being incremented by four. This result is only an approximation and does not reflect the actual billing rate.
",
- "EbsBlockDeviceConfig$VolumesPerInstance": "Number of EBS volumes with specific volume configuration, that will be associated with every instance in the instance group
",
+ "EbsBlockDeviceConfig$VolumesPerInstance": "Number of EBS volumes with a specific volume configuration that will be associated with every instance in the instance group
",
"InstanceGroup$RequestedInstanceCount": "The target number of instances for the instance group.
",
"InstanceGroup$RunningInstanceCount": "The number of instances currently running in this instance group.
",
"InstanceGroupConfig$InstanceCount": "Target number of instances for the instance group.
",
@@ -611,10 +707,14 @@
"InstanceGroupDetail$InstanceRunningCount": "Actual count of running instances.
",
"InstanceGroupModifyConfig$InstanceCount": "Target size for the instance group.
",
"InstanceResizePolicy$InstanceTerminationTimeout": "Decommissioning timeout override for the specific list of instances to be terminated.
",
- "JobFlowInstancesConfig$InstanceCount": "The number of Amazon EC2 instances used to execute the job flow.
",
+ "JobFlowInstancesConfig$InstanceCount": "The number of EC2 instances used to execute the job flow.
",
"JobFlowInstancesDetail$InstanceCount": "The number of Amazon EC2 instances in the cluster. If the value is 1, the same instance serves as both the master and slave node. If the value is greater than 1, one instance is the master node and all others are slave nodes.
",
- "JobFlowInstancesDetail$NormalizedInstanceHours": "An approximation of the cost of the job flow, represented in m1.small/hours. This value is incremented once for every hour an m1.small runs. Larger instances are weighted more, so an Amazon EC2 instance that is roughly four times more expensive would result in the normalized instance hours being incremented by four. This result is only an approximation and does not reflect the actual billing rate.
",
+ "JobFlowInstancesDetail$NormalizedInstanceHours": "An approximation of the cost of the job flow, represented in m1.small/hours. This value is incremented one time for every hour that an m1.small runs. Larger instances are weighted more, so an Amazon EC2 instance that is roughly four times more expensive would result in the normalized instance hours being incremented by four. This result is only an approximation and does not reflect the actual billing rate.
",
+ "ScalingConstraints$MinCapacity": "The lower boundary of EC2 instances in an instance group below which scaling activities are not allowed to shrink. Scale-in activities will not terminate instances below this boundary.
",
+ "ScalingConstraints$MaxCapacity": "The upper boundary of EC2 instances in an instance group beyond which scaling activities are not allowed to grow. Scale-out activities will not add instances beyond this boundary.
",
"ShrinkPolicy$DecommissionTimeout": "The desired timeout for decommissioning an instance. Overrides the default YARN decommissioning timeout.
",
+ "SimpleScalingPolicyConfiguration$ScalingAdjustment": "The amount by which to scale in or scale out, based on the specified AdjustmentType
. 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 capacity.
",
+ "SimpleScalingPolicyConfiguration$CoolDown": "The amount of time, in seconds, after a scaling activity completes before any further trigger-related scaling activities can start. The default value is 0.
",
"VolumeSpecification$Iops": "The number of I/O operations per second (IOPS) that the volume supports.
",
"VolumeSpecification$SizeInGB": "The volume size, in gibibytes (GiB). This can be a number from 1 - 1024. If the volume type is EBS-optimized, the minimum value is 10.
"
}
@@ -695,7 +795,7 @@
}
},
"ListBootstrapActionsOutput": {
- "base": "This output contains the boostrap actions detail .
",
+ "base": "This output contains the bootstrap actions detail.
",
"refs": {
}
},
@@ -770,8 +870,21 @@
"base": null,
"refs": {
"InstanceGroup$Market": "The marketplace to provision instances for this group. Valid values are ON_DEMAND or SPOT.
",
- "InstanceGroupConfig$Market": "Market type of the Amazon EC2 instances used to create a cluster node.
",
- "InstanceGroupDetail$Market": "Market type of the Amazon EC2 instances used to create a cluster node.
"
+ "InstanceGroupConfig$Market": "Market type of the EC2 instances used to create a cluster node.
",
+ "InstanceGroupDetail$Market": "Market type of the EC2 instances used to create a cluster node.
",
+ "ScalingAction$Market": "Not available for instance groups. Instance groups use the market type specified for the group.
"
+ }
+ },
+ "MetricDimension": {
+ "base": "A CloudWatch dimension, which is specified using a Key
(known as a Name
in CloudWatch), Value pair. By default, Amazon EMR uses one dimension whose Key
is JobFlowID
and Value
is a variable representing the cluster ID, which is ${emr:cluster_id}
. This enables the rule to bootstrap when the cluster ID becomes available, and also enables a single automatic scaling policy to be reused for multiple clusters and instance groups.
",
+ "refs": {
+ "MetricDimensionList$member": null
+ }
+ },
+ "MetricDimensionList": {
+ "base": null,
+ "refs": {
+ "CloudWatchAlarmDefinition$Dimensions": "A CloudWatch metric dimension.
"
}
},
"ModifyInstanceGroupsInput": {
@@ -785,6 +898,12 @@
"RunJobFlowInput$NewSupportedProducts": " For Amazon EMR releases 3.x and 2.x. For Amazon EMR releases 4.x and greater, use Applications.
A list of strings that indicates third-party software to use with the job 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. Currently supported values are:
-
\"mapr-m3\" - launch the cluster using MapR M3 Edition.
-
\"mapr-m5\" - launch the cluster using MapR M5 Edition.
-
\"mapr\" with the user arguments specifying \"--edition,m3\" or \"--edition,m5\" - launch the job flow using MapR M3 or M5 Edition respectively.
-
\"mapr-m7\" - launch the cluster using MapR M7 Edition.
-
\"hunk\" - launch the cluster with the Hunk Big Data Analtics Platform.
-
\"hue\"- launch the cluster with Hue installed.
-
\"spark\" - launch the cluster with Apache Spark installed.
-
\"ganglia\" - launch the cluster with the Ganglia Monitoring System installed.
"
}
},
+ "NonNegativeDouble": {
+ "base": null,
+ "refs": {
+ "CloudWatchAlarmDefinition$Threshold": "The value against which the specified statistic is compared.
"
+ }
+ },
"PlacementType": {
"base": "The Amazon EC2 location for the job flow.
",
"refs": {
@@ -792,6 +911,26 @@
"JobFlowInstancesDetail$Placement": "The Amazon EC2 Availability Zone for the job flow.
"
}
},
+ "PutAutoScalingPolicyInput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "PutAutoScalingPolicyOutput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "RemoveAutoScalingPolicyInput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "RemoveAutoScalingPolicyOutput": {
+ "base": null,
+ "refs": {
+ }
+ },
"RemoveTagsInput": {
"base": "This input identifies a cluster and a list of tags to remove.
",
"refs": {
@@ -819,10 +958,50 @@
"refs": {
}
},
- "ScriptBootstrapActionConfig": {
+ "ScaleDownBehavior": {
"base": null,
"refs": {
- "BootstrapActionConfig$ScriptBootstrapAction": null
+ "Cluster$ScaleDownBehavior": "The way that individual Amazon EC2 instances terminate when an automatic scale-in activity occurs or an instance group is resized. TERMINATE_AT_INSTANCE_HOUR
indicates that Amazon EMR terminates nodes at the instance-hour boundary, regardless of when the request to terminate the instance was submitted. This option is only available with Amazon EMR 5.1.0 and later and is the default for clusters created using that version. TERMINATE_AT_TASK_COMPLETION
indicates that Amazon EMR blacklists and drains tasks from nodes before terminating the Amazon EC2 instances, regardless of the instance-hour boundary. With either behavior, Amazon EMR removes the least active nodes first and blocks instance termination if it could lead to HDFS corruption. TERMINATE_AT_TASK_COMPLETION
is available only in Amazon EMR version 4.1.0 and later, and is the default for versions of Amazon EMR earlier than 5.1.0.
",
+ "JobFlowDetail$ScaleDownBehavior": "The way that individual Amazon EC2 instances terminate when an automatic scale-in activity occurs or an instance group is resized. TERMINATE_AT_INSTANCE_HOUR
indicates that Amazon EMR terminates nodes at the instance-hour boundary, regardless of when the request to terminate the instance was submitted. This option is only available with Amazon EMR 5.1.0 and later and is the default for clusters created using that version. TERMINATE_AT_TASK_COMPLETION
indicates that Amazon EMR blacklists and drains tasks from nodes before terminating the Amazon EC2 instances, regardless of the instance-hour boundary. With either behavior, Amazon EMR removes the least active nodes first and blocks instance termination if it could lead to HDFS corruption. TERMINATE_AT_TASK_COMPLETION
available only in Amazon EMR version 4.1.0 and later, and is the default for versions of Amazon EMR earlier than 5.1.0.
",
+ "RunJobFlowInput$ScaleDownBehavior": "Specifies the way that individual Amazon EC2 instances terminate when an automatic scale-in activity occurs or an instance group is resized. TERMINATE_AT_INSTANCE_HOUR
indicates that Amazon EMR terminates nodes at the instance-hour boundary, regardless of when the request to terminate the instance was submitted. This option is only available with Amazon EMR 5.1.0 and later and is the default for clusters created using that version. TERMINATE_AT_TASK_COMPLETION
indicates that Amazon EMR blacklists and drains tasks from nodes before terminating the Amazon EC2 instances, regardless of the instance-hour boundary. With either behavior, Amazon EMR removes the least active nodes first and blocks instance termination if it could lead to HDFS corruption. TERMINATE_AT_TASK_COMPLETION
available only in Amazon EMR version 4.1.0 and later, and is the default for versions of Amazon EMR earlier than 5.1.0.
"
+ }
+ },
+ "ScalingAction": {
+ "base": "The type of adjustment the automatic scaling activity makes when triggered, and the periodicity of the adjustment.
",
+ "refs": {
+ "ScalingRule$Action": "The conditions that trigger an automatic scaling activity.
"
+ }
+ },
+ "ScalingConstraints": {
+ "base": "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.
",
+ "refs": {
+ "AutoScalingPolicy$Constraints": "The upper and lower EC2 instance limits for an automatic scaling policy. Automatic scaling activity will not cause an instance group to grow above or below these limits.
",
+ "AutoScalingPolicyDescription$Constraints": "The upper and lower EC2 instance limits for an automatic scaling policy. Automatic scaling activity will not cause an instance group to grow above or below these limits.
"
+ }
+ },
+ "ScalingRule": {
+ "base": "A scale-in or scale-out rule that defines scaling activity, including the 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.
",
+ "refs": {
+ "ScalingRuleList$member": null
+ }
+ },
+ "ScalingRuleList": {
+ "base": null,
+ "refs": {
+ "AutoScalingPolicy$Rules": "The scale-in and scale-out rules that comprise the automatic scaling policy.
",
+ "AutoScalingPolicyDescription$Rules": "The scale-in and scale-out rules that comprise the automatic scaling policy.
"
+ }
+ },
+ "ScalingTrigger": {
+ "base": "The conditions that trigger an automatic scaling activity.
",
+ "refs": {
+ "ScalingRule$Trigger": "The CloudWatch alarm definition that determines when automatic scaling activity is triggered.
"
+ }
+ },
+ "ScriptBootstrapActionConfig": {
+ "base": "Configuration of the script to run during a bootstrap action.
",
+ "refs": {
+ "BootstrapActionConfig$ScriptBootstrapAction": "The script run by the bootstrap action.
"
}
},
"SecurityConfigurationList": {
@@ -861,6 +1040,18 @@
"InstanceGroupModifyConfig$ShrinkPolicy": "Policy for customizing shrink operations.
"
}
},
+ "SimpleScalingPolicyConfiguration": {
+ "base": "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.
",
+ "refs": {
+ "ScalingAction$SimpleScalingPolicyConfiguration": "The type of adjustment the automatic scaling activity makes when triggered, and the periodicity of the adjustment.
"
+ }
+ },
+ "Statistic": {
+ "base": null,
+ "refs": {
+ "CloudWatchAlarmDefinition$Statistic": "The statistic to apply to the metric associated with the alarm. The default is AVERAGE
.
"
+ }
+ },
"Step": {
"base": "This represents a step in a cluster.
",
"refs": {
@@ -908,6 +1099,7 @@
"StepId": {
"base": null,
"refs": {
+ "CancelStepsInfo$StepId": null,
"DescribeStepInput$StepId": "The identifier of the step to describe.
",
"Step$Id": "The identifier of the cluster step.
",
"StepSummary$Id": "The identifier of the cluster step.
"
@@ -916,7 +1108,8 @@
"StepIdsList": {
"base": null,
"refs": {
- "AddJobFlowStepsOutput$StepIds": "The identifiers of the list of steps added to the job flow.
"
+ "AddJobFlowStepsOutput$StepIds": "The identifiers of the list of steps added to the job flow.
",
+ "CancelStepsInput$StepIds": "The list of StepIDs
to cancel. Use ListSteps to get steps and their states for the specified cluster.
"
}
},
"StepState": {
@@ -974,6 +1167,10 @@
"refs": {
"Application$Name": "The name of the application.
",
"Application$Version": "The version of the application.
",
+ "AutoScalingPolicyStateChangeReason$Message": "A friendly, more verbose message that accompanies an automatic scaling policy state change.
",
+ "CancelStepsInfo$Reason": null,
+ "CloudWatchAlarmDefinition$MetricName": "The name of the CloudWatch metric that is watched to determine an alarm condition.
",
+ "CloudWatchAlarmDefinition$Namespace": "The namespace for the CloudWatch metric. The default is AWS/ElasticMapReduce
.
",
"Cluster$Name": "The name of the cluster.
",
"Cluster$LogUri": "The path to the Amazon S3 location where logs for this cluster are stored.
",
"Cluster$RequestedAmiVersion": "The AMI version requested for this cluster.
",
@@ -1012,6 +1209,10 @@
"InstanceGroup$BidPrice": "The bid price for each EC2 instance in the instance group when launching nodes as Spot Instances, expressed in USD.
",
"InstanceGroupStateChangeReason$Message": "The status change reason description.
",
"InstanceStateChangeReason$Message": "The status change reason description.
",
+ "MetricDimension$Key": "The dimension name.
",
+ "MetricDimension$Value": "The dimension value.
",
+ "ScalingRule$Name": "The name used to identify an automatic scaling rule. Rule names must be unique within a scaling policy.
",
+ "ScalingRule$Description": "A friendly, more verbose description of the automatic scaling rule.
",
"Step$Name": "The name of the cluster step.
",
"StepStateChangeReason$Message": "The descriptive message for the state change reason.
",
"StepSummary$Name": "The name of the cluster step.
",
@@ -1052,11 +1253,11 @@
"base": null,
"refs": {
"JobFlowDetail$SupportedProducts": "A list of strings set by third party software when the job flow is launched. If you are not using third party software to manage the job flow this value is empty.
",
- "RunJobFlowInput$SupportedProducts": " For Amazon EMR releases 3.x and 2.x. For Amazon EMR releases 4.x and greater, use Applications.
A list of strings that indicates third-party software to use with the job flow. For more information, go to Use Third Party Applications with Amazon EMR. Currently supported values are:
"
+ "RunJobFlowInput$SupportedProducts": " For Amazon EMR releases 3.x and 2.x. For Amazon EMR releases 4.x and greater, use Applications.
A list of strings that indicates third-party software to use with the job flow. For more information, see Use Third Party Applications with Amazon EMR. Currently supported values are:
"
}
},
"Tag": {
- "base": "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 clu\\ sters to track your Amazon EMR resource allocation costs. For more information, see Tagging Amazon EMR Resources.
",
+ "base": "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.
",
"refs": {
"TagList$member": null
}
@@ -1064,7 +1265,7 @@
"TagList": {
"base": null,
"refs": {
- "AddTagsInput$Tags": "A list of tags to associate with a cluster and propagate to Amazon EC2 instances. Tags are user-defined key/value pairs that consist of a required key string with a maximum of 128 characters, and an optional value string with a maximum of 256 characters.
",
+ "AddTagsInput$Tags": "A list of tags to associate with a cluster and propagate to EC2 instances. Tags are user-defined key/value pairs that consist of a required key string with a maximum of 128 characters, and an optional value string with a maximum of 256 characters.
",
"Cluster$Tags": "A list of tags associated with a cluster.
",
"RunJobFlowInput$Tags": "A list of tags to associate with a cluster and propagate to Amazon EC2 instances.
"
}
@@ -1074,17 +1275,24 @@
"refs": {
}
},
+ "Unit": {
+ "base": null,
+ "refs": {
+ "CloudWatchAlarmDefinition$Unit": "The unit of measure associated with the CloudWatch metric being watched. The value specified for Unit
must correspond to the units specified in the CloudWatch metric.
"
+ }
+ },
"VolumeSpecification": {
- "base": "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.
",
+ "base": "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.
",
"refs": {
- "EbsBlockDevice$VolumeSpecification": "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.
",
- "EbsBlockDeviceConfig$VolumeSpecification": "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.
"
+ "EbsBlockDevice$VolumeSpecification": "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.
",
+ "EbsBlockDeviceConfig$VolumeSpecification": "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.
"
}
},
"XmlString": {
"base": null,
"refs": {
"Cluster$SecurityConfiguration": "The name of the security configuration applied to the cluster.
",
+ "Cluster$AutoScalingRole": "An IAM role for automatic scaling policies. The default role is EMR_AutoScaling_DefaultRole
. The IAM role provides permissions that the automatic scaling feature requires to launch and terminate EC2 instances in an instance group.
",
"CreateSecurityConfigurationInput$Name": "The name of the security configuration.
",
"CreateSecurityConfigurationOutput$Name": "The name of the security configuration.
",
"DeleteSecurityConfigurationInput$Name": "The name of the security configuration.
",
@@ -1096,6 +1304,7 @@
"JobFlowDetail$LogUri": "The location in Amazon S3 where log files for the job are stored.
",
"JobFlowDetail$JobFlowRole": "The IAM role that was specified when the job flow was launched. The EC2 instances of the job flow assume this role.
",
"JobFlowDetail$ServiceRole": "The IAM role that will be assumed by the Amazon EMR service to access AWS resources on your behalf.
",
+ "JobFlowDetail$AutoScalingRole": "An IAM role for automatic scaling policies. The default role is EMR_AutoScaling_DefaultRole
. The IAM role provides a way for the automatic scaling feature to get the required permissions it needs to launch and terminate EC2 instances in an instance group.
",
"JobFlowExecutionStatusDetail$LastStateChangeReason": "Description of the job flow last changed state.
",
"JobFlowInstancesDetail$MasterPublicDnsName": "The DNS name of the master node.
",
"JobFlowInstancesDetail$MasterInstanceId": "The Amazon EC2 instance identifier of the master node.
",
@@ -1107,7 +1316,8 @@
"RunJobFlowInput$JobFlowRole": "Also called instance profile and EC2 role. An IAM role for an EMR cluster. The EC2 instances of the cluster assume this role. The default role is EMR_EC2_DefaultRole
. In order to use the default role, you must have already created it using the CLI or console.
",
"RunJobFlowInput$ServiceRole": "The IAM role that will be assumed by the Amazon EMR service to access AWS resources on your behalf.
",
"RunJobFlowInput$SecurityConfiguration": "The name of a security configuration to apply to the cluster.
",
- "ScriptBootstrapActionConfig$Path": null,
+ "RunJobFlowInput$AutoScalingRole": "An IAM role for automatic scaling policies. The default role is EMR_AutoScaling_DefaultRole
. The IAM role provides permissions that the automatic scaling feature requires to launch and terminate EC2 instances in an instance group.
",
+ "ScriptBootstrapActionConfig$Path": "Location of the script to run during a bootstrap action. Can be either a location in Amazon S3 or on a local file system.
",
"SecurityConfigurationSummary$Name": "The name of the security configuration.
",
"StepExecutionStatusDetail$LastStateChangeReason": "A description of the step's current state.
",
"XmlStringList$member": null
@@ -1119,7 +1329,7 @@
"DescribeJobFlowsInput$JobFlowIds": "Return only job flows whose job flow ID is contained in this list.
",
"HadoopJarStepConfig$Args": "A list of command line arguments passed to the JAR file's main function when executed.
",
"ListStepsInput$StepIds": "The filter to limit the step list based on the identifier of the steps.
",
- "ScriptBootstrapActionConfig$Args": null,
+ "ScriptBootstrapActionConfig$Args": "A list of command line arguments to pass to the bootstrap action script.
",
"SetTerminationProtectionInput$JobFlowIds": " A list of strings that uniquely identify the job flows to protect. This identifier is returned by RunJobFlow and can also be obtained from DescribeJobFlows .
",
"SetVisibleToAllUsersInput$JobFlowIds": "Identifiers of the job flows to receive the new visibility setting.
",
"SupportedProductConfig$Args": "The list of user-supplied arguments.
",
@@ -1132,9 +1342,10 @@
"AddInstanceGroupsInput$JobFlowId": "Job flow in which to add the instance groups.
",
"AddInstanceGroupsOutput$JobFlowId": "The job flow ID in which the instance groups are added.
",
"AddJobFlowStepsInput$JobFlowId": "A string that uniquely identifies the job flow. This identifier is returned by RunJobFlow and can also be obtained from ListClusters.
",
- "BootstrapActionConfig$Name": null,
+ "BootstrapActionConfig$Name": "The name of the bootstrap action.
",
+ "CancelStepsInput$ClusterId": "The ClusterID
for which specified steps will be canceled. Use RunJobFlow and ListClusters to get ClusterIDs.
",
"InstanceGroupConfig$Name": "Friendly name given to the instance group.
",
- "InstanceGroupConfig$BidPrice": "Bid price for each Amazon EC2 instance in the instance group when launching nodes as Spot Instances, expressed in USD.
",
+ "InstanceGroupConfig$BidPrice": "Bid price for each EC2 instance in the instance group when launching nodes as Spot Instances, expressed in USD.
",
"InstanceGroupDetail$InstanceGroupId": "Unique identifier for the instance group.
",
"InstanceGroupDetail$Name": "Friendly name for the instance group.
",
"InstanceGroupDetail$BidPrice": "Bid price for EC2 Instances when launching nodes as Spot Instances, expressed in USD.
",
@@ -1142,8 +1353,8 @@
"InstanceGroupModifyConfig$InstanceGroupId": "Unique ID of the instance group to expand or shrink.
",
"JobFlowDetail$JobFlowId": "The job flow identifier.
",
"JobFlowDetail$Name": "The name of the job flow.
",
- "JobFlowDetail$AmiVersion": "The version of the AMI used to initialize Amazon EC2 instances in the job flow. For a list of AMI versions currently supported by Amazon ElasticMapReduce, go to AMI Versions Supported in Elastic MapReduce in the Amazon Elastic MapReduce Developer Guide.
",
- "JobFlowInstancesConfig$Ec2KeyName": "The name of the Amazon EC2 key pair that can be used to ssh to the master node as the user called \"hadoop.\"
",
+ "JobFlowDetail$AmiVersion": "The version of the AMI used to initialize Amazon EC2 instances in the job flow. For a list of AMI versions currently supported by Amazon EMR, see AMI Versions Supported in EMR in the Amazon EMR Developer Guide.
",
+ "JobFlowInstancesConfig$Ec2KeyName": "The name of the EC2 key pair that can be used to ssh to the master node as the user called \"hadoop.\"
",
"JobFlowInstancesConfig$HadoopVersion": "The Hadoop version for the job flow. Valid inputs are \"0.18\" (deprecated), \"0.20\" (deprecated), \"0.20.205\" (deprecated), \"1.0.3\", \"2.2.0\", or \"2.4.0\". If you do not set this value, the default of 0.18 is used, unless the AmiVersion parameter is set in the RunJobFlow call, in which case the default version of Hadoop for that AMI version is used.
",
"JobFlowInstancesConfig$Ec2SubnetId": "To launch the job flow in Amazon Virtual Private Cloud (Amazon VPC), set this parameter to the identifier of the Amazon VPC subnet where you want the job flow to launch. If you do not specify this value, the job flow is launched in the normal Amazon Web Services cloud, outside of an Amazon VPC.
Amazon VPC currently does not support cluster compute quadruple extra large (cc1.4xlarge) instances. Thus you cannot specify the cc1.4xlarge instance type for nodes of a job flow launched in a Amazon VPC.
",
"JobFlowInstancesConfig$EmrManagedMasterSecurityGroup": "The identifier of the Amazon EC2 security group for the master node.
",
@@ -1153,7 +1364,7 @@
"JobFlowInstancesDetail$Ec2SubnetId": "For job flows launched within Amazon Virtual Private Cloud, this value specifies the identifier of the subnet where the job flow was launched.
",
"JobFlowInstancesDetail$HadoopVersion": "The Hadoop version for the job flow.
",
"RunJobFlowInput$Name": "The name of the job flow.
",
- "RunJobFlowInput$AmiVersion": " For Amazon EMR releases 3.x and 2.x. For Amazon EMR releases 4.x and greater, use ReleaseLabel.
The version of the Amazon Machine Image (AMI) to use when launching Amazon EC2 instances in the job flow. The following values are valid:
If the AMI supports multiple versions of Hadoop (for example, AMI 1.0 supports both Hadoop 0.18 and 0.20) you can use the JobFlowInstancesConfig HadoopVersion
parameter to modify the version of Hadoop from the defaults shown above.
For details about the AMI versions currently supported by Amazon Elastic MapReduce, go to AMI Versions Supported in Elastic MapReduce in the Amazon Elastic MapReduce Developer's Guide.
",
+ "RunJobFlowInput$AmiVersion": " For Amazon EMR releases 3.x and 2.x. For Amazon EMR releases 4.x and greater, use ReleaseLabel.
The version of the Amazon Machine Image (AMI) to use when launching Amazon EC2 instances in the job flow. The following values are valid:
If the AMI supports multiple versions of Hadoop (for example, AMI 1.0 supports both Hadoop 0.18 and 0.20) you can use the JobFlowInstancesConfig HadoopVersion
parameter to modify the version of Hadoop from the defaults shown above.
For details about the AMI versions currently supported by Amazon Elastic MapReduce, see AMI Versions Supported in Elastic MapReduce in the Amazon Elastic MapReduce Developer Guide.
Previously, the EMR AMI version API parameter options allowed you to use latest for the latest AMI version rather than specify a numerical value. Some regions no longer support this deprecated option as they only have a newer release label version of EMR, which requires you to specify an EMR release label release (EMR 4.x or later).
",
"RunJobFlowInput$ReleaseLabel": " Amazon EMR releases 4.x or later.
The release label for the Amazon EMR release. For Amazon EMR 3.x and 2.x AMIs, use amiVersion instead instead of ReleaseLabel.
",
"RunJobFlowOutput$JobFlowId": "An unique identifier for the job flow.
",
"SecurityGroupsList$member": null,
diff --git a/vendor/github.com/aws/aws-sdk-go/models/apis/elastictranscoder/2012-09-25/api-2.json b/vendor/github.com/aws/aws-sdk-go/models/apis/elastictranscoder/2012-09-25/api-2.json
index d94feda..04d8cf7 100644
--- a/vendor/github.com/aws/aws-sdk-go/models/apis/elastictranscoder/2012-09-25/api-2.json
+++ b/vendor/github.com/aws/aws-sdk-go/models/apis/elastictranscoder/2012-09-25/api-2.json
@@ -239,7 +239,8 @@
{"shape":"ResourceNotFoundException"},
{"shape":"AccessDeniedException"},
{"shape":"InternalServiceException"}
- ]
+ ],
+ "deprecated":true
},
"UpdatePipeline":{
"name":"UpdatePipeline",
@@ -458,8 +459,14 @@
"Captions":{
"type":"structure",
"members":{
- "MergePolicy":{"shape":"CaptionMergePolicy"},
- "CaptionSources":{"shape":"CaptionSources"},
+ "MergePolicy":{
+ "shape":"CaptionMergePolicy",
+ "deprecated":true
+ },
+ "CaptionSources":{
+ "shape":"CaptionSources",
+ "deprecated":true
+ },
"CaptionFormats":{"shape":"CaptionFormats"}
}
},
@@ -467,7 +474,8 @@
"type":"structure",
"members":{
"TimeSpan":{"shape":"TimeSpan"}
- }
+ },
+ "deprecated":true
},
"CodecOption":{
"type":"string",
@@ -482,7 +490,8 @@
},
"Composition":{
"type":"list",
- "member":{"shape":"Clip"}
+ "member":{"shape":"Clip"},
+ "deprecated":true
},
"CreateJobOutput":{
"type":"structure",
@@ -495,7 +504,10 @@
"SegmentDuration":{"shape":"FloatString"},
"Watermarks":{"shape":"JobWatermarks"},
"AlbumArt":{"shape":"JobAlbumArt"},
- "Composition":{"shape":"Composition"},
+ "Composition":{
+ "shape":"Composition",
+ "deprecated":true
+ },
"Captions":{"shape":"Captions"},
"Encryption":{"shape":"Encryption"}
}
@@ -522,13 +534,11 @@
},
"CreateJobRequest":{
"type":"structure",
- "required":[
- "PipelineId",
- "Input"
- ],
+ "required":["PipelineId"],
"members":{
"PipelineId":{"shape":"Id"},
"Input":{"shape":"JobInput"},
+ "Inputs":{"shape":"JobInputs"},
"Output":{"shape":"CreateJobOutput"},
"Outputs":{"shape":"CreateJobOutputs"},
"OutputKeyPrefix":{"shape":"Key"},
@@ -717,6 +727,13 @@
"error":{"httpStatusCode":400},
"exception":true
},
+ "InputCaptions":{
+ "type":"structure",
+ "members":{
+ "MergePolicy":{"shape":"CaptionMergePolicy"},
+ "CaptionSources":{"shape":"CaptionSources"}
+ }
+ },
"Interlaced":{
"type":"string",
"pattern":"(^auto$)|(^true$)|(^false$)"
@@ -735,6 +752,7 @@
"Arn":{"shape":"String"},
"PipelineId":{"shape":"Id"},
"Input":{"shape":"JobInput"},
+ "Inputs":{"shape":"JobInputs"},
"Output":{"shape":"JobOutput"},
"Outputs":{"shape":"JobOutputs"},
"OutputKeyPrefix":{"shape":"Key"},
@@ -765,9 +783,16 @@
"Interlaced":{"shape":"Interlaced"},
"Container":{"shape":"JobContainer"},
"Encryption":{"shape":"Encryption"},
+ "TimeSpan":{"shape":"TimeSpan"},
+ "InputCaptions":{"shape":"InputCaptions"},
"DetectedProperties":{"shape":"DetectedProperties"}
}
},
+ "JobInputs":{
+ "type":"list",
+ "member":{"shape":"JobInput"},
+ "max":10000
+ },
"JobOutput":{
"type":"structure",
"members":{
@@ -788,7 +813,10 @@
"DurationMillis":{"shape":"NullableLong"},
"Watermarks":{"shape":"JobWatermarks"},
"AlbumArt":{"shape":"JobAlbumArt"},
- "Composition":{"shape":"Composition"},
+ "Composition":{
+ "shape":"Composition",
+ "deprecated":true
+ },
"Captions":{"shape":"Captions"},
"Encryption":{"shape":"Encryption"},
"AppliedColorSpaceConversion":{"shape":"String"}
@@ -1253,14 +1281,16 @@
"InputBucket":{"shape":"BucketName"},
"OutputBucket":{"shape":"BucketName"},
"Topics":{"shape":"SnsTopics"}
- }
+ },
+ "deprecated":true
},
"TestRoleResponse":{
"type":"structure",
"members":{
"Success":{"shape":"Success"},
"Messages":{"shape":"ExceptionMessages"}
- }
+ },
+ "deprecated":true
},
"ThumbnailPattern":{
"type":"string",
diff --git a/vendor/github.com/aws/aws-sdk-go/models/apis/elastictranscoder/2012-09-25/docs-2.json b/vendor/github.com/aws/aws-sdk-go/models/apis/elastictranscoder/2012-09-25/docs-2.json
index 5ae30b3..2738608 100644
--- a/vendor/github.com/aws/aws-sdk-go/models/apis/elastictranscoder/2012-09-25/docs-2.json
+++ b/vendor/github.com/aws/aws-sdk-go/models/apis/elastictranscoder/2012-09-25/docs-2.json
@@ -2,10 +2,10 @@
"version": "2.0",
"service": "AWS Elastic Transcoder Service The AWS Elastic Transcoder Service.
",
"operations": {
- "CancelJob": "The CancelJob operation cancels an unfinished job.
You can only cancel a job that has a status of Submitted
. To prevent a pipeline from starting to process a job while you're getting the job identifier, use UpdatePipelineStatus to temporarily pause the pipeline.",
- "CreateJob": " When you create a job, Elastic Transcoder returns JSON data that includes the values that you specified plus information about the job that is created.
If you have specified more than one output for your jobs (for example, one output for the Kindle Fire and another output for the Apple iPhone 4s), you currently must use the Elastic Transcoder API to list the jobs (as opposed to the AWS Console).
",
+ "CancelJob": "The CancelJob operation cancels an unfinished job.
You can only cancel a job that has a status of Submitted
. To prevent a pipeline from starting to process a job while you're getting the job identifier, use UpdatePipelineStatus to temporarily pause the pipeline.
",
+ "CreateJob": "When you create a job, Elastic Transcoder returns JSON data that includes the values that you specified plus information about the job that is created.
If you have specified more than one output for your jobs (for example, one output for the Kindle Fire and another output for the Apple iPhone 4s), you currently must use the Elastic Transcoder API to list the jobs (as opposed to the AWS Console).
",
"CreatePipeline": "The CreatePipeline operation creates a pipeline with settings that you specify.
",
- "CreatePreset": "The CreatePreset operation creates a preset with settings that you specify.
Elastic Transcoder checks the CreatePreset settings to ensure that they meet Elastic Transcoder requirements and to determine whether they comply with H.264 standards. If your settings are not valid for Elastic Transcoder, Elastic Transcoder returns an HTTP 400 response (ValidationException
) and does not create the preset. If the settings are valid for Elastic Transcoder but aren't strictly compliant with the H.264 standard, Elastic Transcoder creates the preset and returns a warning message in the response. This helps you determine whether your settings comply with the H.264 standard while giving you greater flexibility with respect to the video that Elastic Transcoder produces. Elastic Transcoder uses the H.264 video-compression format. For more information, see the International Telecommunication Union publication Recommendation ITU-T H.264: Advanced video coding for generic audiovisual services.
",
+ "CreatePreset": "The CreatePreset operation creates a preset with settings that you specify.
Elastic Transcoder checks the CreatePreset settings to ensure that they meet Elastic Transcoder requirements and to determine whether they comply with H.264 standards. If your settings are not valid for Elastic Transcoder, Elastic Transcoder returns an HTTP 400 response (ValidationException
) and does not create the preset. If the settings are valid for Elastic Transcoder but aren't strictly compliant with the H.264 standard, Elastic Transcoder creates the preset and returns a warning message in the response. This helps you determine whether your settings comply with the H.264 standard while giving you greater flexibility with respect to the video that Elastic Transcoder produces.
Elastic Transcoder uses the H.264 video-compression format. For more information, see the International Telecommunication Union publication Recommendation ITU-T H.264: Advanced video coding for generic audiovisual services.
",
"DeletePipeline": "The DeletePipeline operation removes a pipeline.
You can only delete a pipeline that has never been used or that is not currently in use (doesn't contain any active jobs). If the pipeline is currently in use, DeletePipeline
returns an error.
",
"DeletePreset": "The DeletePreset operation removes a preset that you've added in an AWS region.
You can't delete the default presets that are included with Elastic Transcoder.
",
"ListJobsByPipeline": "The ListJobsByPipeline operation gets a list of the jobs currently in a pipeline.
Elastic Transcoder returns all of the jobs currently in the specified pipeline. The response body contains one element for each job that satisfies the search criteria.
",
@@ -16,7 +16,7 @@
"ReadPipeline": "The ReadPipeline operation gets detailed information about a pipeline.
",
"ReadPreset": "The ReadPreset operation gets detailed information about a preset.
",
"TestRole": "The TestRole operation tests the IAM role used to create the pipeline.
The TestRole
action lets you determine whether the IAM role you are using has sufficient permissions to let Elastic Transcoder perform tasks associated with the transcoding process. The action attempts to assume the specified IAM role, checks read access to the input and output buckets, and tries to send a test notification to Amazon SNS topics that you specify.
",
- "UpdatePipeline": " Use the UpdatePipeline
operation to update settings for a pipeline. When you change pipeline settings, your changes take effect immediately. Jobs that you have already submitted and that Elastic Transcoder has not started to process are affected in addition to jobs that you submit after you change settings.
",
+ "UpdatePipeline": " Use the UpdatePipeline
operation to update settings for a pipeline.
When you change pipeline settings, your changes take effect immediately. Jobs that you have already submitted and that Elastic Transcoder has not started to process are affected in addition to jobs that you submit after you change settings.
",
"UpdatePipelineNotifications": "With the UpdatePipelineNotifications operation, you can update Amazon Simple Notification Service (Amazon SNS) notifications for a pipeline.
When you update notifications for a pipeline, Elastic Transcoder returns the values that you specified in the request.
",
"UpdatePipelineStatus": "The UpdatePipelineStatus operation pauses or reactivates a pipeline, so that the pipeline stops or restarts the processing of jobs.
Changing the pipeline status is useful if you want to cancel one or more jobs. You can't cancel jobs after Elastic Transcoder has started processing them; if you pause the pipeline to which you submitted the jobs, you have more time to get the job IDs for the jobs that you want to cancel, and to send a CancelJob request.
"
},
@@ -30,11 +30,11 @@
"AccessControls": {
"base": null,
"refs": {
- "Permission$Access": " The permission that you want to give to the AWS user that is listed in Grantee. Valid values include:
READ
: The grantee can read the thumbnails and metadata for thumbnails that Elastic Transcoder adds to the Amazon S3 bucket. READ_ACP
: The grantee can read the object ACL for thumbnails that Elastic Transcoder adds to the Amazon S3 bucket. WRITE_ACP
: The grantee can write the ACL for the thumbnails that Elastic Transcoder adds to the Amazon S3 bucket. FULL_CONTROL
: The grantee has READ, READ_ACP, and WRITE_ACP permissions for the thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.
"
+ "Permission$Access": " The permission that you want to give to the AWS user that is listed in Grantee. Valid values include:
-
READ
: The grantee can read the thumbnails and metadata for thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.
-
READ_ACP
: The grantee can read the object ACL for thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.
-
WRITE_ACP
: The grantee can write the ACL for the thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.
-
FULL_CONTROL
: The grantee has READ, READ_ACP, and WRITE_ACP permissions for the thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.
"
}
},
"AccessDeniedException": {
- "base": " General authentication failure. The request was not signed correctly.
",
+ "base": "General authentication failure. The request was not signed correctly.
",
"refs": {
}
},
@@ -47,7 +47,7 @@
"Artworks": {
"base": null,
"refs": {
- "JobAlbumArt$Artwork": "The file to be used as album art. There can be multiple artworks associated with an audio file, to a maximum of 20. Valid formats are .jpg
and .png
"
+ "JobAlbumArt$Artwork": "The file to be used as album art. There can be multiple artworks associated with an audio file, to a maximum of 20. Valid formats are .jpg
and .png
"
}
},
"Ascending": {
@@ -63,8 +63,8 @@
"base": null,
"refs": {
"JobInput$AspectRatio": " The aspect ratio of the input file. If you want Elastic Transcoder to automatically detect the aspect ratio of the input file, specify auto
. If you want to specify the aspect ratio for the output file, enter one of the following values:
1:1
, 4:3
, 3:2
, 16:9
If you specify a value other than auto
, Elastic Transcoder disables automatic detection of the aspect ratio.
",
- "Thumbnails$AspectRatio": " To better control resolution and aspect ratio of thumbnails, we recommend that you use the values MaxWidth
, MaxHeight
, SizingPolicy
, and PaddingPolicy
instead of Resolution
and AspectRatio
. The two groups of settings are mutually exclusive. Do not use them together.
The aspect ratio of thumbnails. Valid values include:
auto
, 1:1
, 4:3
, 3:2
, 16:9
If you specify auto
, Elastic Transcoder tries to preserve the aspect ratio of the video in the output file.
",
- "VideoParameters$AspectRatio": " To better control resolution and aspect ratio of output videos, we recommend that you use the values MaxWidth
, MaxHeight
, SizingPolicy
, PaddingPolicy
, and DisplayAspectRatio
instead of Resolution
and AspectRatio
. The two groups of settings are mutually exclusive. Do not use them together.
The display aspect ratio of the video in the output file. Valid values include:
auto
, 1:1
, 4:3
, 3:2
, 16:9
If you specify auto
, Elastic Transcoder tries to preserve the aspect ratio of the input file.
If you specify an aspect ratio for the output file that differs from aspect ratio of the input file, Elastic Transcoder adds pillarboxing (black bars on the sides) or letterboxing (black bars on the top and bottom) to maintain the aspect ratio of the active region of the video.
",
+ "Thumbnails$AspectRatio": " To better control resolution and aspect ratio of thumbnails, we recommend that you use the values MaxWidth
, MaxHeight
, SizingPolicy
, and PaddingPolicy
instead of Resolution
and AspectRatio
. The two groups of settings are mutually exclusive. Do not use them together.
The aspect ratio of thumbnails. Valid values include:
auto
, 1:1
, 4:3
, 3:2
, 16:9
If you specify auto
, Elastic Transcoder tries to preserve the aspect ratio of the video in the output file.
",
+ "VideoParameters$AspectRatio": " To better control resolution and aspect ratio of output videos, we recommend that you use the values MaxWidth
, MaxHeight
, SizingPolicy
, PaddingPolicy
, and DisplayAspectRatio
instead of Resolution
and AspectRatio
. The two groups of settings are mutually exclusive. Do not use them together.
The display aspect ratio of the video in the output file. Valid values include:
auto
, 1:1
, 4:3
, 3:2
, 16:9
If you specify auto
, Elastic Transcoder tries to preserve the aspect ratio of the input file.
If you specify an aspect ratio for the output file that differs from aspect ratio of the input file, Elastic Transcoder adds pillarboxing (black bars on the sides) or letterboxing (black bars on the top and bottom) to maintain the aspect ratio of the active region of the video.
",
"VideoParameters$DisplayAspectRatio": "The value that Elastic Transcoder adds to the metadata in the output file.
"
}
},
@@ -89,7 +89,7 @@
"AudioChannels": {
"base": null,
"refs": {
- "AudioParameters$Channels": "The number of audio channels in the output file. The following values are valid:
auto
, 0
, 1
, 2
One channel carries the information played by a single speaker. For example, a stereo track with two channels sends one channel to the left speaker, and the other channel to the right speaker. The output channels are organized into tracks. If you want Elastic Transcoder to automatically detect the number of audio channels in the input file and use that value for the output file, select auto
.
The output of a specific channel value and inputs are as follows:
auto
channel specified, with any input: Pass through up to eight input channels. 0
channels specified, with any input: Audio omitted from the output. 1
channel specified, with at least one input channel: Mono sound. 2
channels specified, with any input: Two identical mono channels or stereo. For more information about tracks, see Audio:AudioPackingMode.
For more information about how Elastic Transcoder organizes channels and tracks, see Audio:AudioPackingMode
.
"
+ "AudioParameters$Channels": "The number of audio channels in the output file. The following values are valid:
auto
, 0
, 1
, 2
One channel carries the information played by a single speaker. For example, a stereo track with two channels sends one channel to the left speaker, and the other channel to the right speaker. The output channels are organized into tracks. If you want Elastic Transcoder to automatically detect the number of audio channels in the input file and use that value for the output file, select auto
.
The output of a specific channel value and inputs are as follows:
-
auto
channel specified, with any input: Pass through up to eight input channels.
-
0
channels specified, with any input: Audio omitted from the output.
-
1
channel specified, with at least one input channel: Mono sound.
-
2
channels specified, with any input: Two identical mono channels or stereo. For more information about tracks, see Audio:AudioPackingMode.
For more information about how Elastic Transcoder organizes channels and tracks, see Audio:AudioPackingMode
.
"
}
},
"AudioCodec": {
@@ -101,19 +101,19 @@
"AudioCodecOptions": {
"base": "Options associated with your audio codec.
",
"refs": {
- "AudioParameters$CodecOptions": "If you specified AAC
for Audio:Codec
, this is the AAC
compression profile to use. Valid values include:
auto
, AAC-LC
, HE-AAC
, HE-AACv2
If you specify auto
, Elastic Transcoder chooses a profile based on the bit rate of the output file.
"
+ "AudioParameters$CodecOptions": "If you specified AAC
for Audio:Codec
, this is the AAC
compression profile to use. Valid values include:
auto
, AAC-LC
, HE-AAC
, HE-AACv2
If you specify auto
, Elastic Transcoder chooses a profile based on the bit rate of the output file.
"
}
},
"AudioCodecProfile": {
"base": null,
"refs": {
- "AudioCodecOptions$Profile": "You can only choose an audio profile when you specify AAC for the value of Audio:Codec.
Specify the AAC profile for the output file. Elastic Transcoder supports the following profiles:
auto
: If you specify auto
, Elastic Transcoder will select the profile based on the bit rate selected for the output file. AAC-LC
: The most common AAC profile. Use for bit rates larger than 64 kbps. HE-AAC
: Not supported on some older players and devices. Use for bit rates between 40 and 80 kbps. HE-AACv2
: Not supported on some players and devices. Use for bit rates less than 48 kbps.
All outputs in a Smooth
playlist must have the same value for Profile
.
If you created any presets before AAC profiles were added, Elastic Transcoder automatically updated your presets to use AAC-LC. You can change the value as required.
"
+ "AudioCodecOptions$Profile": "You can only choose an audio profile when you specify AAC for the value of Audio:Codec.
Specify the AAC profile for the output file. Elastic Transcoder supports the following profiles:
-
auto
: If you specify auto
, Elastic Transcoder selects the profile based on the bit rate selected for the output file.
-
AAC-LC
: The most common AAC profile. Use for bit rates larger than 64 kbps.
-
HE-AAC
: Not supported on some older players and devices. Use for bit rates between 40 and 80 kbps.
-
HE-AACv2
: Not supported on some players and devices. Use for bit rates less than 48 kbps.
All outputs in a Smooth
playlist must have the same value for Profile
.
If you created any presets before AAC profiles were added, Elastic Transcoder automatically updated your presets to use AAC-LC. You can change the value as required.
"
}
},
"AudioPackingMode": {
"base": null,
"refs": {
- "AudioParameters$AudioPackingMode": "The method of organizing audio channels and tracks. Use Audio:Channels
to specify the number of channels in your output, and Audio:AudioPackingMode
to specify the number of tracks and their relation to the channels. If you do not specify an Audio:AudioPackingMode
, Elastic Transcoder uses SingleTrack
.
The following values are valid:
SingleTrack
, OneChannelPerTrack
, and OneChannelPerTrackWithMosTo8Tracks
When you specify SingleTrack
, Elastic Transcoder creates a single track for your output. The track can have up to eight channels. Use SingleTrack
for all non-mxf
containers.
The outputs of SingleTrack
for a specific channel value and inputs are as follows:
0
channels with any input: Audio omitted from the output 1, 2, or auto
channels with no audio input: Audio omitted from the output 1
channel with any input with audio: One track with one channel, downmixed if necessary 2
channels with one track with one channel: One track with two identical channels 2 or auto
channels with two tracks with one channel each: One track with two channels 2 or auto
channels with one track with two channels: One track with two channels 2
channels with one track with multiple channels: One track with two channels auto
channels with one track with one channel: One track with one channel auto
channels with one track with multiple channels: One track with multiple channels
When you specify OneChannelPerTrack
, Elastic Transcoder creates a new track for every channel in your output. Your output can have up to eight single-channel tracks.
The outputs of OneChannelPerTrack
for a specific channel value and inputs are as follows:
0
channels with any input: Audio omitted from the output 1, 2, or auto
channels with no audio input: Audio omitted from the output 1
channel with any input with audio: One track with one channel, downmixed if necessary 2
channels with one track with one channel: Two tracks with one identical channel each 2 or auto
channels with two tracks with one channel each: Two tracks with one channel each 2 or auto
channels with one track with two channels: Two tracks with one channel each 2
channels with one track with multiple channels: Two tracks with one channel each auto
channels with one track with one channel: One track with one channel auto
channels with one track with multiple channels: Up to eight tracks with one channel each
When you specify OneChannelPerTrackWithMosTo8Tracks
, Elastic Transcoder creates eight single-channel tracks for your output. All tracks that do not contain audio data from an input channel are MOS, or Mit Out Sound, tracks.
The outputs of OneChannelPerTrackWithMosTo8Tracks
for a specific channel value and inputs are as follows:
0
channels with any input: Audio omitted from the output 1, 2, or auto
channels with no audio input: Audio omitted from the output 1
channel with any input with audio: One track with one channel, downmixed if necessary, plus six MOS tracks 2
channels with one track with one channel: Two tracks with one identical channel each, plus six MOS tracks 2 or auto
channels with two tracks with one channel each: Two tracks with one channel each, plus six MOS tracks 2 or auto
channels with one track with two channels: Two tracks with one channel each, plus six MOS tracks 2
channels with one track with multiple channels: Two tracks with one channel each, plus six MOS tracks auto
channels with one track with one channel: One track with one channel, plus seven MOS tracks auto
channels with one track with multiple channels: Up to eight tracks with one channel each, plus MOS tracks until there are eight tracks in all
"
+ "AudioParameters$AudioPackingMode": "The method of organizing audio channels and tracks. Use Audio:Channels
to specify the number of channels in your output, and Audio:AudioPackingMode
to specify the number of tracks and their relation to the channels. If you do not specify an Audio:AudioPackingMode
, Elastic Transcoder uses SingleTrack
.
The following values are valid:
SingleTrack
, OneChannelPerTrack
, and OneChannelPerTrackWithMosTo8Tracks
When you specify SingleTrack
, Elastic Transcoder creates a single track for your output. The track can have up to eight channels. Use SingleTrack
for all non-mxf
containers.
The outputs of SingleTrack
for a specific channel value and inputs are as follows:
-
0
channels with any input: Audio omitted from the output
-
1, 2, or auto
channels with no audio input: Audio omitted from the output
-
1
channel with any input with audio: One track with one channel, downmixed if necessary
-
2
channels with one track with one channel: One track with two identical channels
-
2 or auto
channels with two tracks with one channel each: One track with two channels
-
2 or auto
channels with one track with two channels: One track with two channels
-
2
channels with one track with multiple channels: One track with two channels
-
auto
channels with one track with one channel: One track with one channel
-
auto
channels with one track with multiple channels: One track with multiple channels
When you specify OneChannelPerTrack
, Elastic Transcoder creates a new track for every channel in your output. Your output can have up to eight single-channel tracks.
The outputs of OneChannelPerTrack
for a specific channel value and inputs are as follows:
-
0
channels with any input: Audio omitted from the output
-
1, 2, or auto
channels with no audio input: Audio omitted from the output
-
1
channel with any input with audio: One track with one channel, downmixed if necessary
-
2
channels with one track with one channel: Two tracks with one identical channel each
-
2 or auto
channels with two tracks with one channel each: Two tracks with one channel each
-
2 or auto
channels with one track with two channels: Two tracks with one channel each
-
2
channels with one track with multiple channels: Two tracks with one channel each
-
auto
channels with one track with one channel: One track with one channel
-
auto
channels with one track with multiple channels: Up to eight tracks with one channel each
When you specify OneChannelPerTrackWithMosTo8Tracks
, Elastic Transcoder creates eight single-channel tracks for your output. All tracks that do not contain audio data from an input channel are MOS, or Mit Out Sound, tracks.
The outputs of OneChannelPerTrackWithMosTo8Tracks
for a specific channel value and inputs are as follows:
-
0
channels with any input: Audio omitted from the output
-
1, 2, or auto
channels with no audio input: Audio omitted from the output
-
1
channel with any input with audio: One track with one channel, downmixed if necessary, plus six MOS tracks
-
2
channels with one track with one channel: Two tracks with one identical channel each, plus six MOS tracks
-
2 or auto
channels with two tracks with one channel each: Two tracks with one channel each, plus six MOS tracks
-
2 or auto
channels with one track with two channels: Two tracks with one channel each, plus six MOS tracks
-
2
channels with one track with multiple channels: Two tracks with one channel each, plus six MOS tracks
-
auto
channels with one track with one channel: One track with one channel, plus seven MOS tracks
-
auto
channels with one track with multiple channels: Up to eight tracks with one channel each, plus MOS tracks until there are eight tracks in all
"
}
},
"AudioParameters": {
@@ -126,7 +126,7 @@
"AudioSampleRate": {
"base": null,
"refs": {
- "AudioParameters$SampleRate": "The sample rate of the audio stream in the output file, in Hertz. Valid values include:
auto
, 22050
, 32000
, 44100
, 48000
, 96000
If you specify auto
, Elastic Transcoder automatically detects the sample rate.
"
+ "AudioParameters$SampleRate": "The sample rate of the audio stream in the output file, in Hertz. Valid values include:
auto
, 22050
, 32000
, 44100
, 48000
, 96000
If you specify auto
, Elastic Transcoder automatically detects the sample rate.
"
}
},
"AudioSigned": {
@@ -138,9 +138,9 @@
"Base64EncodedString": {
"base": null,
"refs": {
- "Encryption$Key": "The data encryption key that you want Elastic Transcoder to use to encrypt your output file, or that was used to encrypt your input file. The key must be base64-encoded and it must be one of the following bit lengths before being base64-encoded:
128
, 192
, or 256
.
The key must also be encrypted by using the Amazon Key Management Service.
",
+ "Encryption$Key": "The data encryption key that you want Elastic Transcoder to use to encrypt your output file, or that was used to encrypt your input file. The key must be base64-encoded and it must be one of the following bit lengths before being base64-encoded:
128
, 192
, or 256
.
The key must also be encrypted by using the Amazon Key Management Service.
",
"Encryption$KeyMd5": "The MD5 digest of the key that you used to encrypt your input file, or that you want Elastic Transcoder to use to encrypt your output file. Elastic Transcoder uses the key digest as a checksum to make sure your key was not corrupted in transit. The key MD5 must be base64-encoded, and it must be exactly 16 bytes long before being base64-encoded.
",
- "HlsContentProtection$Key": "If you want Elastic Transcoder to generate a key for you, leave this field blank.
If you choose to supply your own key, you must encrypt the key by using AWS KMS. The key must be base64-encoded, and it must be one of the following bit lengths before being base64-encoded:
128
, 192
, or 256
.
",
+ "HlsContentProtection$Key": "If you want Elastic Transcoder to generate a key for you, leave this field blank.
If you choose to supply your own key, you must encrypt the key by using AWS KMS. The key must be base64-encoded, and it must be one of the following bit lengths before being base64-encoded:
128
, 192
, or 256
.
",
"HlsContentProtection$KeyMd5": "If Elastic Transcoder is generating your key for you, you must leave this field blank.
The MD5 digest of the key that you want Elastic Transcoder to use to encrypt your output file, and that you want Elastic Transcoder to use as a checksum to make sure your key was not corrupted in transit. The key MD5 must be base64-encoded, and it must be exactly 16 bytes before being base64- encoded.
"
}
},
@@ -148,12 +148,12 @@
"base": null,
"refs": {
"CreatePipelineRequest$InputBucket": "The Amazon S3 bucket in which you saved the media files that you want to transcode.
",
- "CreatePipelineRequest$OutputBucket": "The Amazon S3 bucket in which you want Elastic Transcoder to save the transcoded files. (Use this, or use ContentConfig:Bucket plus ThumbnailConfig:Bucket.)
Specify this value when all of the following are true:
- You want to save transcoded files, thumbnails (if any), and playlists (if any) together in one bucket.
- You do not want to specify the users or groups who have access to the transcoded files, thumbnails, and playlists.
- You do not want to specify the permissions that Elastic Transcoder grants to the files. When Elastic Transcoder saves files in
OutputBucket
, it grants full control over the files only to the AWS account that owns the role that is specified by Role
. - You want to associate the transcoded files and thumbnails with the Amazon S3 Standard storage class.
If you want to save transcoded files and playlists in one bucket and thumbnails in another bucket, specify which users can access the transcoded files or the permissions the users have, or change the Amazon S3 storage class, omit OutputBucket
and specify values for ContentConfig
and ThumbnailConfig
instead.
",
+ "CreatePipelineRequest$OutputBucket": "The Amazon S3 bucket in which you want Elastic Transcoder to save the transcoded files. (Use this, or use ContentConfig:Bucket plus ThumbnailConfig:Bucket.)
Specify this value when all of the following are true:
-
You want to save transcoded files, thumbnails (if any), and playlists (if any) together in one bucket.
-
You do not want to specify the users or groups who have access to the transcoded files, thumbnails, and playlists.
-
You do not want to specify the permissions that Elastic Transcoder grants to the files.
When Elastic Transcoder saves files in OutputBucket
, it grants full control over the files only to the AWS account that owns the role that is specified by Role
.
-
You want to associate the transcoded files and thumbnails with the Amazon S3 Standard storage class.
If you want to save transcoded files and playlists in one bucket and thumbnails in another bucket, specify which users can access the transcoded files or the permissions the users have, or change the Amazon S3 storage class, omit OutputBucket
and specify values for ContentConfig
and ThumbnailConfig
instead.
",
"Pipeline$InputBucket": "The Amazon S3 bucket from which Elastic Transcoder gets media files for transcoding and the graphics files, if any, that you want to use for watermarks.
",
"Pipeline$OutputBucket": "The Amazon S3 bucket in which you want Elastic Transcoder to save transcoded files, thumbnails, and playlists. Either you specify this value, or you specify both ContentConfig
and ThumbnailConfig
.
",
- "PipelineOutputConfig$Bucket": " The Amazon S3 bucket in which you want Elastic Transcoder to save the transcoded files. Specify this value when all of the following are true:
- You want to save transcoded files, thumbnails (if any), and playlists (if any) together in one bucket.
- You do not want to specify the users or groups who have access to the transcoded files, thumbnails, and playlists.
- You do not want to specify the permissions that Elastic Transcoder grants to the files.
- You want to associate the transcoded files and thumbnails with the Amazon S3 Standard storage class.
If you want to save transcoded files and playlists in one bucket and thumbnails in another bucket, specify which users can access the transcoded files or the permissions the users have, or change the Amazon S3 storage class, omit OutputBucket and specify values for ContentConfig
and ThumbnailConfig
instead. ",
+ "PipelineOutputConfig$Bucket": " The Amazon S3 bucket in which you want Elastic Transcoder to save the transcoded files. Specify this value when all of the following are true:
-
You want to save transcoded files, thumbnails (if any), and playlists (if any) together in one bucket.
-
You do not want to specify the users or groups who have access to the transcoded files, thumbnails, and playlists.
-
You do not want to specify the permissions that Elastic Transcoder grants to the files.
-
You want to associate the transcoded files and thumbnails with the Amazon S3 Standard storage class.
If you want to save transcoded files and playlists in one bucket and thumbnails in another bucket, specify which users can access the transcoded files or the permissions the users have, or change the Amazon S3 storage class, omit OutputBucket and specify values for ContentConfig
and ThumbnailConfig
instead.
",
"TestRoleRequest$InputBucket": "The Amazon S3 bucket that contains media files to be transcoded. The action attempts to read from this bucket.
",
- "TestRoleRequest$OutputBucket": "The Amazon S3 bucket that Elastic Transcoder will write transcoded media files to. The action attempts to read from this bucket.
",
+ "TestRoleRequest$OutputBucket": "The Amazon S3 bucket that Elastic Transcoder writes transcoded media files to. The action attempts to read from this bucket.
",
"UpdatePipelineRequest$InputBucket": "The Amazon S3 bucket in which you saved the media files that you want to transcode and the graphics that you want to use as watermarks.
"
}
},
@@ -176,13 +176,13 @@
"CaptionFormatFormat": {
"base": null,
"refs": {
- "CaptionFormat$Format": "The format you specify determines whether Elastic Transcoder generates an embedded or sidecar caption for this output.
Valid Embedded Caption Formats:
for FLAC: None
For MP3: None
For MP4: mov-text
For MPEG-TS: None
For ogg: None
For webm: None
Valid Sidecar Caption Formats: Elastic Transcoder supports dfxp (first div element only), scc, srt, and webvtt. If you want ttml or smpte-tt compatible captions, specify dfxp as your output format.
fmp4
captions have an extension of .ismt
"
+ "CaptionFormat$Format": "The format you specify determines whether Elastic Transcoder generates an embedded or sidecar caption for this output.
-
Valid Embedded Caption Formats:
-
for FLAC: None
-
For MP3: None
-
For MP4: mov-text
-
For MPEG-TS: None
-
For ogg: None
-
For webm: None
-
Valid Sidecar Caption Formats: Elastic Transcoder supports dfxp (first div element only), scc, srt, and webvtt. If you want ttml or smpte-tt compatible captions, specify dfxp as your output format.
fmp4
captions have an extension of .ismt
"
}
},
"CaptionFormatPattern": {
"base": null,
"refs": {
- "CaptionFormat$Pattern": "The prefix for caption filenames, in the form description-{language}
, where:
- description is a description of the video.
{language}
is a literal value that Elastic Transcoder replaces with the two- or three-letter code for the language of the caption in the output file names.
If you don't include {language}
in the file name pattern, Elastic Transcoder automatically appends \"{language}
\" to the value that you specify for the description. In addition, Elastic Transcoder automatically appends the count to the end of the segment files.
For example, suppose you're transcoding into srt format. When you enter \"Sydney-{language}-sunrise\", and the language of the captions is English (en), the name of the first caption file will be Sydney-en-sunrise00000.srt.
"
+ "CaptionFormat$Pattern": "The prefix for caption filenames, in the form description-{language}
, where:
If you don't include {language}
in the file name pattern, Elastic Transcoder automatically appends \"{language}
\" to the value that you specify for the description. In addition, Elastic Transcoder automatically appends the count to the end of the segment files.
For example, suppose you're transcoding into srt format. When you enter \"Sydney-{language}-sunrise\", and the language of the captions is English (en), the name of the first caption file is be Sydney-en-sunrise00000.srt.
"
}
},
"CaptionFormats": {
@@ -194,7 +194,8 @@
"CaptionMergePolicy": {
"base": null,
"refs": {
- "Captions$MergePolicy": "A policy that determines how Elastic Transcoder handles the existence of multiple captions.
MergeOverride: Elastic Transcoder transcodes both embedded and sidecar captions into outputs. If captions for a language are embedded in the input file and also appear in a sidecar file, Elastic Transcoder uses the sidecar captions and ignores the embedded captions for that language.
MergeRetain: Elastic Transcoder transcodes both embedded and sidecar captions into outputs. If captions for a language are embedded in the input file and also appear in a sidecar file, Elastic Transcoder uses the embedded captions and ignores the sidecar captions for that language. If CaptionSources
is empty, Elastic Transcoder omits all sidecar captions from the output files.
Override: Elastic Transcoder transcodes only the sidecar captions that you specify in CaptionSources
.
MergePolicy
cannot be null.
"
+ "Captions$MergePolicy": "A policy that determines how Elastic Transcoder handles the existence of multiple captions.
-
MergeOverride: Elastic Transcoder transcodes both embedded and sidecar captions into outputs. If captions for a language are embedded in the input file and also appear in a sidecar file, Elastic Transcoder uses the sidecar captions and ignores the embedded captions for that language.
-
MergeRetain: Elastic Transcoder transcodes both embedded and sidecar captions into outputs. If captions for a language are embedded in the input file and also appear in a sidecar file, Elastic Transcoder uses the embedded captions and ignores the sidecar captions for that language. If CaptionSources
is empty, Elastic Transcoder omits all sidecar captions from the output files.
-
Override: Elastic Transcoder transcodes only the sidecar captions that you specify in CaptionSources
.
MergePolicy
cannot be null.
",
+ "InputCaptions$MergePolicy": "A policy that determines how Elastic Transcoder handles the existence of multiple captions.
-
MergeOverride: Elastic Transcoder transcodes both embedded and sidecar captions into outputs. If captions for a language are embedded in the input file and also appear in a sidecar file, Elastic Transcoder uses the sidecar captions and ignores the embedded captions for that language.
-
MergeRetain: Elastic Transcoder transcodes both embedded and sidecar captions into outputs. If captions for a language are embedded in the input file and also appear in a sidecar file, Elastic Transcoder uses the embedded captions and ignores the sidecar captions for that language. If CaptionSources
is empty, Elastic Transcoder omits all sidecar captions from the output files.
-
Override: Elastic Transcoder transcodes only the sidecar captions that you specify in CaptionSources
.
MergePolicy
cannot be null.
"
}
},
"CaptionSource": {
@@ -206,14 +207,15 @@
"CaptionSources": {
"base": null,
"refs": {
- "Captions$CaptionSources": "Source files for the input sidecar captions used during the transcoding process. To omit all sidecar captions, leave CaptionSources
blank.
"
+ "Captions$CaptionSources": "Source files for the input sidecar captions used during the transcoding process. To omit all sidecar captions, leave CaptionSources
blank.
",
+ "InputCaptions$CaptionSources": "Source files for the input sidecar captions used during the transcoding process. To omit all sidecar captions, leave CaptionSources
blank.
"
}
},
"Captions": {
"base": "The captions to be created, if any.
",
"refs": {
- "CreateJobOutput$Captions": "You can configure Elastic Transcoder to transcode captions, or subtitles, from one format to another. All captions must be in UTF-8. Elastic Transcoder supports two types of captions:
Embedded: Embedded captions are included in the same file as the audio and video. Elastic Transcoder supports only one embedded caption per language, to a maximum of 300 embedded captions per file.
Valid input values include: CEA-608 (EIA-608
, first non-empty channel only), CEA-708 (EIA-708
, first non-empty channel only), and mov-text
Valid outputs include: mov-text
Elastic Transcoder supports a maximum of one embedded format per output.
Sidecar: Sidecar captions are kept in a separate metadata file from the audio and video data. Sidecar captions require a player that is capable of understanding the relationship between the video file and the sidecar file. Elastic Transcoder supports only one sidecar caption per language, to a maximum of 20 sidecar captions per file.
Valid input values include: dfxp
(first div element only), ebu-tt
, scc
, smpt
, srt
, ttml
(first div element only), and webvtt
Valid outputs include: dfxp
(first div element only), scc
, srt
, and webvtt
.
If you want ttml or smpte-tt compatible captions, specify dfxp as your output format.
Elastic Transcoder does not support OCR (Optical Character Recognition), does not accept pictures as a valid input for captions, and is not available for audio-only transcoding. Elastic Transcoder does not preserve text formatting (for example, italics) during the transcoding process.
To remove captions or leave the captions empty, set Captions
to null. To pass through existing captions unchanged, set the MergePolicy
to MergeRetain
, and pass in a null CaptionSources
array.
For more information on embedded files, see the Subtitles Wikipedia page.
For more information on sidecar files, see the Extensible Metadata Platform and Sidecar file Wikipedia pages.
",
- "JobOutput$Captions": "You can configure Elastic Transcoder to transcode captions, or subtitles, from one format to another. All captions must be in UTF-8. Elastic Transcoder supports two types of captions:
Embedded: Embedded captions are included in the same file as the audio and video. Elastic Transcoder supports only one embedded caption per language, to a maximum of 300 embedded captions per file.
Valid input values include: CEA-608 (EIA-608
, first non-empty channel only), CEA-708 (EIA-708
, first non-empty channel only), and mov-text
Valid outputs include: mov-text
Elastic Transcoder supports a maximum of one embedded format per output.
Sidecar: Sidecar captions are kept in a separate metadata file from the audio and video data. Sidecar captions require a player that is capable of understanding the relationship between the video file and the sidecar file. Elastic Transcoder supports only one sidecar caption per language, to a maximum of 20 sidecar captions per file.
Valid input values include: dfxp
(first div element only), ebu-tt
, scc
, smpt
, srt
, ttml
(first div element only), and webvtt
Valid outputs include: dfxp
(first div element only), scc
, srt
, and webvtt
.
If you want ttml or smpte-tt compatible captions, specify dfxp as your output format.
Elastic Transcoder does not support OCR (Optical Character Recognition), does not accept pictures as a valid input for captions, and is not available for audio-only transcoding. Elastic Transcoder does not preserve text formatting (for example, italics) during the transcoding process.
To remove captions or leave the captions empty, set Captions
to null. To pass through existing captions unchanged, set the MergePolicy
to MergeRetain
, and pass in a null CaptionSources
array.
For more information on embedded files, see the Subtitles Wikipedia page.
For more information on sidecar files, see the Extensible Metadata Platform and Sidecar file Wikipedia pages.
"
+ "CreateJobOutput$Captions": "You can configure Elastic Transcoder to transcode captions, or subtitles, from one format to another. All captions must be in UTF-8. Elastic Transcoder supports two types of captions:
-
Embedded: Embedded captions are included in the same file as the audio and video. Elastic Transcoder supports only one embedded caption per language, to a maximum of 300 embedded captions per file.
Valid input values include: CEA-608 (EIA-608
, first non-empty channel only), CEA-708 (EIA-708
, first non-empty channel only), and mov-text
Valid outputs include: mov-text
Elastic Transcoder supports a maximum of one embedded format per output.
-
Sidecar: Sidecar captions are kept in a separate metadata file from the audio and video data. Sidecar captions require a player that is capable of understanding the relationship between the video file and the sidecar file. Elastic Transcoder supports only one sidecar caption per language, to a maximum of 20 sidecar captions per file.
Valid input values include: dfxp
(first div element only), ebu-tt
, scc
, smpt
, srt
, ttml
(first div element only), and webvtt
Valid outputs include: dfxp
(first div element only), scc
, srt
, and webvtt
.
If you want ttml or smpte-tt compatible captions, specify dfxp as your output format.
Elastic Transcoder does not support OCR (Optical Character Recognition), does not accept pictures as a valid input for captions, and is not available for audio-only transcoding. Elastic Transcoder does not preserve text formatting (for example, italics) during the transcoding process.
To remove captions or leave the captions empty, set Captions
to null. To pass through existing captions unchanged, set the MergePolicy
to MergeRetain
, and pass in a null CaptionSources
array.
For more information on embedded files, see the Subtitles Wikipedia page.
For more information on sidecar files, see the Extensible Metadata Platform and Sidecar file Wikipedia pages.
",
+ "JobOutput$Captions": "You can configure Elastic Transcoder to transcode captions, or subtitles, from one format to another. All captions must be in UTF-8. Elastic Transcoder supports two types of captions:
-
Embedded: Embedded captions are included in the same file as the audio and video. Elastic Transcoder supports only one embedded caption per language, to a maximum of 300 embedded captions per file.
Valid input values include: CEA-608 (EIA-608
, first non-empty channel only), CEA-708 (EIA-708
, first non-empty channel only), and mov-text
Valid outputs include: mov-text
Elastic Transcoder supports a maximum of one embedded format per output.
-
Sidecar: Sidecar captions are kept in a separate metadata file from the audio and video data. Sidecar captions require a player that is capable of understanding the relationship between the video file and the sidecar file. Elastic Transcoder supports only one sidecar caption per language, to a maximum of 20 sidecar captions per file.
Valid input values include: dfxp
(first div element only), ebu-tt
, scc
, smpt
, srt
, ttml
(first div element only), and webvtt
Valid outputs include: dfxp
(first div element only), scc
, srt
, and webvtt
.
If you want ttml or smpte-tt compatible captions, specify dfxp as your output format.
Elastic Transcoder does not support OCR (Optical Character Recognition), does not accept pictures as a valid input for captions, and is not available for audio-only transcoding. Elastic Transcoder does not preserve text formatting (for example, italics) during the transcoding process.
To remove captions or leave the captions empty, set Captions
to null. To pass through existing captions unchanged, set the MergePolicy
to MergeRetain
, and pass in a null CaptionSources
array.
For more information on embedded files, see the Subtitles Wikipedia page.
For more information on sidecar files, see the Extensible Metadata Platform and Sidecar file Wikipedia pages.
"
}
},
"Clip": {
@@ -232,7 +234,7 @@
"CodecOptions": {
"base": null,
"refs": {
- "VideoParameters$CodecOptions": " Profile (H.264/VP8 Only)
The H.264 profile that you want to use for the output file. Elastic Transcoder supports the following profiles:
baseline
: The profile most commonly used for videoconferencing and for mobile applications. main
: The profile used for standard-definition digital TV broadcasts. high
: The profile used for high-definition digital TV broadcasts and for Blu-ray discs.
Level (H.264 Only)
The H.264 level that you want to use for the output file. Elastic Transcoder supports the following levels:
1
, 1b
, 1.1
, 1.2
, 1.3
, 2
, 2.1
, 2.2
, 3
, 3.1
, 3.2
, 4
, 4.1
MaxReferenceFrames (H.264 Only)
Applicable only when the value of Video:Codec is H.264. The maximum number of previously decoded frames to use as a reference for decoding future frames. Valid values are integers 0 through 16, but we recommend that you not use a value greater than the following:
Min(Floor(Maximum decoded picture buffer in macroblocks * 256 / (Width in pixels * Height in pixels)), 16)
where Width in pixels and Height in pixels represent either MaxWidth and MaxHeight, or Resolution. Maximum decoded picture buffer in macroblocks depends on the value of the Level
object. See the list below. (A macroblock is a block of pixels measuring 16x16.)
- 1 - 396
- 1b - 396
- 1.1 - 900
- 1.2 - 2376
- 1.3 - 2376
- 2 - 2376
- 2.1 - 4752
- 2.2 - 8100
- 3 - 8100
- 3.1 - 18000
- 3.2 - 20480
- 4 - 32768
- 4.1 - 32768
MaxBitRate (Optional, H.264/MPEG2/VP8 only)
The maximum number of bits per second in a video buffer; the size of the buffer is specified by BufferSize
. Specify a value between 16 and 62,500. You can reduce the bandwidth required to stream a video by reducing the maximum bit rate, but this also reduces the quality of the video.
BufferSize (Optional, H.264/MPEG2/VP8 only)
The maximum number of bits in any x seconds of the output video. This window is commonly 10 seconds, the standard segment duration when you're using FMP4 or MPEG-TS for the container type of the output video. Specify an integer greater than 0. If you specify MaxBitRate
and omit BufferSize
, Elastic Transcoder sets BufferSize
to 10 times the value of MaxBitRate
.
InterlacedMode (Optional, H.264/MPEG2 Only)
The interlace mode for the output video.
Interlaced video is used to double the perceived frame rate for a video by interlacing two fields (one field on every other line, the other field on the other lines) so that the human eye registers multiple pictures per frame. Interlacing reduces the bandwidth required for transmitting a video, but can result in blurred images and flickering.
Valid values include Progressive
(no interlacing, top to bottom), TopFirst
(top field first), BottomFirst
(bottom field first), and Auto
.
If InterlaceMode
is not specified, Elastic Transcoder uses Progressive
for the output. If Auto
is specified, Elastic Transcoder interlaces the output.
ColorSpaceConversionMode (Optional, H.264/MPEG2 Only)
The color space conversion Elastic Transcoder applies to the output video. Color spaces are the algorithms used by the computer to store information about how to render color. Bt.601
is the standard for standard definition video, while Bt.709
is the standard for high definition video.
Valid values include None
, Bt709toBt601
, Bt601toBt709
, and Auto
.
If you chose Auto
for ColorSpaceConversionMode
and your output is interlaced, your frame rate is one of 23.97
, 24
, 25
, 29.97
, 50
, or 60
, your SegmentDuration
is null, and you are using one of the resolution changes from the list below, Elastic Transcoder applies the following color space conversions:
- Standard to HD, 720x480 to 1920x1080 - Elastic Transcoder applies
Bt601ToBt709
- Standard to HD, 720x576 to 1920x1080 - Elastic Transcoder applies
Bt601ToBt709
- HD to Standard, 1920x1080 to 720x480 - Elastic Transcoder applies
Bt709ToBt601
- HD to Standard, 1920x1080 to 720x576 - Elastic Transcoder applies
Bt709ToBt601
Elastic Transcoder may change the behavior of the ColorspaceConversionMode
Auto
mode in the future. All outputs in a playlist must use the same ColorSpaceConversionMode
. If you do not specify a ColorSpaceConversionMode
, Elastic Transcoder does not change the color space of a file. If you are unsure what ColorSpaceConversionMode
was applied to your output file, you can check the AppliedColorSpaceConversion
parameter included in your job response. If your job does not have an AppliedColorSpaceConversion
in its response, no ColorSpaceConversionMode
was applied.
ChromaSubsampling
The sampling pattern for the chroma (color) channels of the output video. Valid values include yuv420p
and yuv422p
.
yuv420p
samples the chroma information of every other horizontal and every other vertical line, yuv422p
samples the color information of every horizontal line and every other vertical line.
LoopCount (Gif Only)
The number of times you want the output gif to loop. Valid values include Infinite
and integers between 0
and 100
, inclusive.
"
+ "VideoParameters$CodecOptions": " Profile (H.264/VP8/VP9 Only)
The H.264 profile that you want to use for the output file. Elastic Transcoder supports the following profiles:
-
baseline
: The profile most commonly used for videoconferencing and for mobile applications.
-
main
: The profile used for standard-definition digital TV broadcasts.
-
high
: The profile used for high-definition digital TV broadcasts and for Blu-ray discs.
Level (H.264 Only)
The H.264 level that you want to use for the output file. Elastic Transcoder supports the following levels:
1
, 1b
, 1.1
, 1.2
, 1.3
, 2
, 2.1
, 2.2
, 3
, 3.1
, 3.2
, 4
, 4.1
MaxReferenceFrames (H.264 Only)
Applicable only when the value of Video:Codec is H.264. The maximum number of previously decoded frames to use as a reference for decoding future frames. Valid values are integers 0 through 16, but we recommend that you not use a value greater than the following:
Min(Floor(Maximum decoded picture buffer in macroblocks * 256 / (Width in pixels * Height in pixels)), 16)
where Width in pixels and Height in pixels represent either MaxWidth and MaxHeight, or Resolution. Maximum decoded picture buffer in macroblocks depends on the value of the Level
object. See the list below. (A macroblock is a block of pixels measuring 16x16.)
-
1 - 396
-
1b - 396
-
1.1 - 900
-
1.2 - 2376
-
1.3 - 2376
-
2 - 2376
-
2.1 - 4752
-
2.2 - 8100
-
3 - 8100
-
3.1 - 18000
-
3.2 - 20480
-
4 - 32768
-
4.1 - 32768
MaxBitRate (Optional, H.264/MPEG2/VP8/VP9 only)
The maximum number of bits per second in a video buffer; the size of the buffer is specified by BufferSize
. Specify a value between 16 and 62,500. You can reduce the bandwidth required to stream a video by reducing the maximum bit rate, but this also reduces the quality of the video.
BufferSize (Optional, H.264/MPEG2/VP8/VP9 only)
The maximum number of bits in any x seconds of the output video. This window is commonly 10 seconds, the standard segment duration when you're using FMP4 or MPEG-TS for the container type of the output video. Specify an integer greater than 0. If you specify MaxBitRate
and omit BufferSize
, Elastic Transcoder sets BufferSize
to 10 times the value of MaxBitRate
.
InterlacedMode (Optional, H.264/MPEG2 Only)
The interlace mode for the output video.
Interlaced video is used to double the perceived frame rate for a video by interlacing two fields (one field on every other line, the other field on the other lines) so that the human eye registers multiple pictures per frame. Interlacing reduces the bandwidth required for transmitting a video, but can result in blurred images and flickering.
Valid values include Progressive
(no interlacing, top to bottom), TopFirst
(top field first), BottomFirst
(bottom field first), and Auto
.
If InterlaceMode
is not specified, Elastic Transcoder uses Progressive
for the output. If Auto
is specified, Elastic Transcoder interlaces the output.
ColorSpaceConversionMode (Optional, H.264/MPEG2 Only)
The color space conversion Elastic Transcoder applies to the output video. Color spaces are the algorithms used by the computer to store information about how to render color. Bt.601
is the standard for standard definition video, while Bt.709
is the standard for high definition video.
Valid values include None
, Bt709toBt601
, Bt601toBt709
, and Auto
.
If you chose Auto
for ColorSpaceConversionMode
and your output is interlaced, your frame rate is one of 23.97
, 24
, 25
, 29.97
, 50
, or 60
, your SegmentDuration
is null, and you are using one of the resolution changes from the list below, Elastic Transcoder applies the following color space conversions:
-
Standard to HD, 720x480 to 1920x1080 - Elastic Transcoder applies Bt601ToBt709
-
Standard to HD, 720x576 to 1920x1080 - Elastic Transcoder applies Bt601ToBt709
-
HD to Standard, 1920x1080 to 720x480 - Elastic Transcoder applies Bt709ToBt601
-
HD to Standard, 1920x1080 to 720x576 - Elastic Transcoder applies Bt709ToBt601
Elastic Transcoder may change the behavior of the ColorspaceConversionMode
Auto
mode in the future. All outputs in a playlist must use the same ColorSpaceConversionMode
.
If you do not specify a ColorSpaceConversionMode
, Elastic Transcoder does not change the color space of a file. If you are unsure what ColorSpaceConversionMode
was applied to your output file, you can check the AppliedColorSpaceConversion
parameter included in your job response. If your job does not have an AppliedColorSpaceConversion
in its response, no ColorSpaceConversionMode
was applied.
ChromaSubsampling
The sampling pattern for the chroma (color) channels of the output video. Valid values include yuv420p
and yuv422p
.
yuv420p
samples the chroma information of every other horizontal and every other vertical line, yuv422p
samples the color information of every horizontal line and every other vertical line.
LoopCount (Gif Only)
The number of times you want the output gif to loop. Valid values include Infinite
and integers between 0
and 100
, inclusive.
"
}
},
"Composition": {
@@ -246,7 +248,7 @@
"base": "The CreateJobOutput
structure.
",
"refs": {
"CreateJobOutputs$member": null,
- "CreateJobRequest$Output": null
+ "CreateJobRequest$Output": " A section of the request body that provides information about the transcoded (target) file. We strongly recommend that you use the Outputs
syntax instead of the Output
syntax.
"
}
},
"CreateJobOutputs": {
@@ -343,30 +345,30 @@
"refs": {
"Artwork$MaxWidth": "The maximum width of the output album art in pixels. If you specify auto
, Elastic Transcoder uses 600 as the default value. If you specify a numeric value, enter an even integer between 32 and 4096, inclusive.
",
"Artwork$MaxHeight": "The maximum height of the output album art in pixels. If you specify auto
, Elastic Transcoder uses 600 as the default value. If you specify a numeric value, enter an even integer between 32 and 3072, inclusive.
",
- "Thumbnails$MaxWidth": "The maximum width of thumbnails in pixels. If you specify auto, Elastic Transcoder uses 1920 (Full HD) as the default value. If you specify a numeric value, enter an even integer between 32 and 4096.
",
- "Thumbnails$MaxHeight": "The maximum height of thumbnails in pixels. If you specify auto, Elastic Transcoder uses 1080 (Full HD) as the default value. If you specify a numeric value, enter an even integer between 32 and 3072.
",
+ "Thumbnails$MaxWidth": "The maximum width of thumbnails in pixels. If you specify auto, Elastic Transcoder uses 1920 (Full HD) as the default value. If you specify a numeric value, enter an even integer between 32 and 4096.
",
+ "Thumbnails$MaxHeight": "The maximum height of thumbnails in pixels. If you specify auto, Elastic Transcoder uses 1080 (Full HD) as the default value. If you specify a numeric value, enter an even integer between 32 and 3072.
",
"VideoParameters$MaxWidth": " The maximum width of the output video in pixels. If you specify auto
, Elastic Transcoder uses 1920 (Full HD) as the default value. If you specify a numeric value, enter an even integer between 128 and 4096.
",
"VideoParameters$MaxHeight": "The maximum height of the output video in pixels. If you specify auto
, Elastic Transcoder uses 1080 (Full HD) as the default value. If you specify a numeric value, enter an even integer between 96 and 3072.
"
}
},
"Encryption": {
- "base": "The encryption settings, if any, that are used for decrypting your input files or encrypting your output files. If your input file is encrypted, you must specify the mode that Elastic Transcoder will use to decrypt your file, otherwise you must specify the mode you want Elastic Transcoder to use to encrypt your output files.
",
+ "base": "The encryption settings, if any, that are used for decrypting your input files or encrypting your output files. If your input file is encrypted, you must specify the mode that Elastic Transcoder uses to decrypt your file, otherwise you must specify the mode you want Elastic Transcoder to use to encrypt your output files.
",
"refs": {
"Artwork$Encryption": "The encryption settings, if any, that you want Elastic Transcoder to apply to your artwork.
",
"CaptionFormat$Encryption": "The encryption settings, if any, that you want Elastic Transcoder to apply to your caption formats.
",
- "CaptionSource$Encryption": "The encryption settings, if any, that you want Elastic Transcoder to apply to your caption sources.
",
+ "CaptionSource$Encryption": "The encryption settings, if any, that Elastic Transcoder needs to decyrpt your caption sources, or that you want Elastic Transcoder to apply to your caption sources.
",
"CreateJobOutput$ThumbnailEncryption": "The encryption settings, if any, that you want Elastic Transcoder to apply to your thumbnail.
",
"CreateJobOutput$Encryption": "You can specify encryption settings for any output files that you want to use for a transcoding job. This includes the output file and any watermarks, thumbnails, album art, or captions that you want to use. You must specify encryption settings for each file individually.
",
- "JobInput$Encryption": "The encryption settings, if any, that are used for decrypting your input files. If your input file is encrypted, you must specify the mode that Elastic Transcoder will use to decrypt your file.
",
+ "JobInput$Encryption": "The encryption settings, if any, that are used for decrypting your input files. If your input file is encrypted, you must specify the mode that Elastic Transcoder uses to decrypt your file.
",
"JobOutput$ThumbnailEncryption": "The encryption settings, if any, that you want Elastic Transcoder to apply to your thumbnail.
",
- "JobOutput$Encryption": "The encryption settings, if any, that you want Elastic Transcoder to apply to your output files. If you choose to use encryption, you must specify a mode to use. If you choose not to use encryption, Elastic Transcoder will write an unencrypted file to your Amazon S3 bucket.
",
+ "JobOutput$Encryption": "The encryption settings, if any, that you want Elastic Transcoder to apply to your output files. If you choose to use encryption, you must specify a mode to use. If you choose not to use encryption, Elastic Transcoder writes an unencrypted file to your Amazon S3 bucket.
",
"JobWatermark$Encryption": "The encryption settings, if any, that you want Elastic Transcoder to apply to your watermarks.
"
}
},
"EncryptionMode": {
"base": null,
"refs": {
- "Encryption$Mode": "The specific server-side encryption mode that you want Elastic Transcoder to use when decrypting your input files or encrypting your output files. Elastic Transcoder supports the following options:
S3: Amazon S3 creates and manages the keys used for encrypting your files.
S3-AWS-KMS: Amazon S3 calls the Amazon Key Management Service, which creates and manages the keys that are used for encrypting your files. If you specify S3-AWS-KMS
and you don't want to use the default key, you must add the AWS-KMS key that you want to use to your pipeline.
AES-CBC-PKCS7: A padded cipher-block mode of operation originally used for HLS files.
AES-CTR: AES Counter Mode.
AES-GCM: AES Galois Counter Mode, a mode of operation that is an authenticated encryption format, meaning that a file, key, or initialization vector that has been tampered with will fail the decryption process.
For all three AES options, you must provide the following settings, which must be base64-encoded:
Key
Key MD5
Initialization Vector
For the AES modes, your private encryption keys and your unencrypted data are never stored by AWS; therefore, it is important that you safely manage your encryption keys. If you lose them, you won't be able to unencrypt your data.
"
+ "Encryption$Mode": "The specific server-side encryption mode that you want Elastic Transcoder to use when decrypting your input files or encrypting your output files. Elastic Transcoder supports the following options:
-
S3: Amazon S3 creates and manages the keys used for encrypting your files.
-
S3-AWS-KMS: Amazon S3 calls the Amazon Key Management Service, which creates and manages the keys that are used for encrypting your files. If you specify S3-AWS-KMS
and you don't want to use the default key, you must add the AWS-KMS key that you want to use to your pipeline.
-
AES-CBC-PKCS7: A padded cipher-block mode of operation originally used for HLS files.
-
AES-CTR: AES Counter Mode.
-
AES-GCM: AES Galois Counter Mode, a mode of operation that is an authenticated encryption format, meaning that a file, key, or initialization vector that has been tampered with fails the decryption process.
For all three AES options, you must provide the following settings, which must be base64-encoded:
-
Key
-
Key MD5
-
Initialization Vector
For the AES modes, your private encryption keys and your unencrypted data are never stored by AWS; therefore, it is important that you safely manage your encryption keys. If you lose them, you won't be able to unencrypt your data.
"
}
},
"ExceptionMessages": {
@@ -378,22 +380,22 @@
"Filename": {
"base": null,
"refs": {
- "CreateJobPlaylist$Name": "The name that you want Elastic Transcoder to assign to the master playlist, for example, nyc-vacation.m3u8. If the name includes a /
character, the section of the name before the last /
must be identical for all Name
objects. If you create more than one master playlist, the values of all Name
objects must be unique.
Note: Elastic Transcoder automatically appends the relevant file extension to the file name (.m3u8
for HLSv3
and HLSv4
playlists, and .ism
and .ismc
for Smooth
playlists). If you include a file extension in Name
, the file name will have two extensions.
",
- "Playlist$Name": "The name that you want Elastic Transcoder to assign to the master playlist, for example, nyc-vacation.m3u8. If the name includes a /
character, the section of the name before the last /
must be identical for all Name
objects. If you create more than one master playlist, the values of all Name
objects must be unique.
Note: Elastic Transcoder automatically appends the relevant file extension to the file name (.m3u8
for HLSv3
and HLSv4
playlists, and .ism
and .ismc
for Smooth
playlists). If you include a file extension in Name
, the file name will have two extensions.
"
+ "CreateJobPlaylist$Name": "The name that you want Elastic Transcoder to assign to the master playlist, for example, nyc-vacation.m3u8. If the name includes a /
character, the section of the name before the last /
must be identical for all Name
objects. If you create more than one master playlist, the values of all Name
objects must be unique.
Elastic Transcoder automatically appends the relevant file extension to the file name (.m3u8
for HLSv3
and HLSv4
playlists, and .ism
and .ismc
for Smooth
playlists). If you include a file extension in Name
, the file name will have two extensions.
",
+ "Playlist$Name": "The name that you want Elastic Transcoder to assign to the master playlist, for example, nyc-vacation.m3u8. If the name includes a /
character, the section of the name before the last /
must be identical for all Name
objects. If you create more than one master playlist, the values of all Name
objects must be unique.
Elastic Transcoder automatically appends the relevant file extension to the file name (.m3u8
for HLSv3
and HLSv4
playlists, and .ism
and .ismc
for Smooth
playlists). If you include a file extension in Name
, the file name will have two extensions.
"
}
},
"FixedGOP": {
"base": null,
"refs": {
- "VideoParameters$FixedGOP": "Applicable only when the value of Video:Codec is one of H.264
, MPEG2
, or VP8
.
Whether to use a fixed value for FixedGOP
. Valid values are true
and false
:
true
: Elastic Transcoder uses the value of KeyframesMaxDist
for the distance between key frames (the number of frames in a group of pictures, or GOP). false
: The distance between key frames can vary.
FixedGOP
must be set to true
for fmp4
containers.
"
+ "VideoParameters$FixedGOP": "Applicable only when the value of Video:Codec is one of H.264
, MPEG2
, or VP8
.
Whether to use a fixed value for FixedGOP
. Valid values are true
and false
:
-
true
: Elastic Transcoder uses the value of KeyframesMaxDist
for the distance between key frames (the number of frames in a group of pictures, or GOP).
-
false
: The distance between key frames can vary.
FixedGOP
must be set to true
for fmp4
containers.
"
}
},
"FloatString": {
"base": null,
"refs": {
- "CreateJobOutput$SegmentDuration": "(Outputs in Fragmented MP4 or MPEG-TS format only.If you specify a preset in PresetId
for which the value of Container
is fmp4
(Fragmented MP4) or ts
(MPEG-TS), SegmentDuration
is the target maximum duration of each segment in seconds. For HLSv3
format playlists, each media segment is stored in a separate .ts
file. For HLSv4
and Smooth
playlists, all media segments for an output are stored in a single file. Each segment is approximately the length of the SegmentDuration
, though individual segments might be shorter or longer.
The range of valid values is 1 to 60 seconds. If the duration of the video is not evenly divisible by SegmentDuration
, the duration of the last segment is the remainder of total length/SegmentDuration.
Elastic Transcoder creates an output-specific playlist for each output HLS
output that you specify in OutputKeys. To add an output to the master playlist for this job, include it in the OutputKeys
of the associated playlist.
",
+ "CreateJobOutput$SegmentDuration": " (Outputs in Fragmented MP4 or MPEG-TS format only.
If you specify a preset in PresetId
for which the value of Container
is fmp4
(Fragmented MP4) or ts
(MPEG-TS), SegmentDuration
is the target maximum duration of each segment in seconds. For HLSv3
format playlists, each media segment is stored in a separate .ts
file. For HLSv4
and Smooth
playlists, all media segments for an output are stored in a single file. Each segment is approximately the length of the SegmentDuration
, though individual segments might be shorter or longer.
The range of valid values is 1 to 60 seconds. If the duration of the video is not evenly divisible by SegmentDuration
, the duration of the last segment is the remainder of total length/SegmentDuration.
Elastic Transcoder creates an output-specific playlist for each output HLS
output that you specify in OutputKeys. To add an output to the master playlist for this job, include it in the OutputKeys
of the associated playlist.
",
"DetectedProperties$FrameRate": "The detected frame rate of the input file, in frames per second.
",
- "JobOutput$SegmentDuration": "(Outputs in Fragmented MP4 or MPEG-TS format only.If you specify a preset in PresetId
for which the value of Container
is fmp4
(Fragmented MP4) or ts
(MPEG-TS), SegmentDuration
is the target maximum duration of each segment in seconds. For HLSv3
format playlists, each media segment is stored in a separate .ts
file. For HLSv4
and Smooth
playlists, all media segments for an output are stored in a single file. Each segment is approximately the length of the SegmentDuration
, though individual segments might be shorter or longer.
The range of valid values is 1 to 60 seconds. If the duration of the video is not evenly divisible by SegmentDuration
, the duration of the last segment is the remainder of total length/SegmentDuration.
Elastic Transcoder creates an output-specific playlist for each output HLS
output that you specify in OutputKeys. To add an output to the master playlist for this job, include it in the OutputKeys
of the associated playlist.
",
+ "JobOutput$SegmentDuration": " (Outputs in Fragmented MP4 or MPEG-TS format only.
If you specify a preset in PresetId
for which the value of Container
is fmp4
(Fragmented MP4) or ts
(MPEG-TS), SegmentDuration
is the target maximum duration of each segment in seconds. For HLSv3
format playlists, each media segment is stored in a separate .ts
file. For HLSv4
, MPEG-DASH
, and Smooth
playlists, all media segments for an output are stored in a single file. Each segment is approximately the length of the SegmentDuration
, though individual segments might be shorter or longer.
The range of valid values is 1 to 60 seconds. If the duration of the video is not evenly divisible by SegmentDuration
, the duration of the last segment is the remainder of total length/SegmentDuration.
Elastic Transcoder creates an output-specific playlist for each output HLS
output that you specify in OutputKeys. To add an output to the master playlist for this job, include it in the OutputKeys
of the associated playlist.
",
"JobOutput$FrameRate": "Frame rate of the output file, in frames per second.
"
}
},
@@ -401,7 +403,7 @@
"base": null,
"refs": {
"JobInput$FrameRate": "The frame rate of the input file. If you want Elastic Transcoder to automatically detect the frame rate of the input file, specify auto
. If you want to specify the frame rate for the input file, enter one of the following values:
10
, 15
, 23.97
, 24
, 25
, 29.97
, 30
, 60
If you specify a value other than auto
, Elastic Transcoder disables automatic detection of the frame rate.
",
- "VideoParameters$FrameRate": "The frames per second for the video stream in the output file. Valid values include:
auto
, 10
, 15
, 23.97
, 24
, 25
, 29.97
, 30
, 60
If you specify auto
, Elastic Transcoder uses the detected frame rate of the input source. If you specify a frame rate, we recommend that you perform the following calculation:
Frame rate = maximum recommended decoding speed in luma samples/second / (width in pixels * height in pixels)
where:
- width in pixels and height in pixels represent the Resolution of the output video.
- maximum recommended decoding speed in Luma samples/second is less than or equal to the maximum value listed in the following table, based on the value that you specified for Level.
The maximum recommended decoding speed in Luma samples/second for each level is described in the following list (Level - Decoding speed):
- 1 - 380160
- 1b - 380160
- 1.1 - 76800
- 1.2 - 1536000
- 1.3 - 3041280
- 2 - 3041280
- 2.1 - 5068800
- 2.2 - 5184000
- 3 - 10368000
- 3.1 - 27648000
- 3.2 - 55296000
- 4 - 62914560
- 4.1 - 62914560
"
+ "VideoParameters$FrameRate": "The frames per second for the video stream in the output file. Valid values include:
auto
, 10
, 15
, 23.97
, 24
, 25
, 29.97
, 30
, 60
If you specify auto
, Elastic Transcoder uses the detected frame rate of the input source. If you specify a frame rate, we recommend that you perform the following calculation:
Frame rate = maximum recommended decoding speed in luma samples/second / (width in pixels * height in pixels)
where:
-
width in pixels and height in pixels represent the Resolution of the output video.
-
maximum recommended decoding speed in Luma samples/second is less than or equal to the maximum value listed in the following table, based on the value that you specified for Level.
The maximum recommended decoding speed in Luma samples/second for each level is described in the following list (Level - Decoding speed):
-
1 - 380160
-
1b - 380160
-
1.1 - 76800
-
1.2 - 1536000
-
1.3 - 3041280
-
2 - 3041280
-
2.1 - 5068800
-
2.2 - 5184000
-
3 - 10368000
-
3.1 - 27648000
-
3.2 - 55296000
-
4 - 62914560
-
4.1 - 62914560
"
}
},
"Grantee": {
@@ -413,7 +415,7 @@
"GranteeType": {
"base": null,
"refs": {
- "Permission$GranteeType": "The type of value that appears in the Grantee object:
Canonical
: Either the canonical user ID for an AWS account or an origin access identity for an Amazon CloudFront distribution. A canonical user ID is not the same as an AWS account number. Email
: The registered email address of an AWS account. Group
: One of the following predefined Amazon S3 groups: AllUsers
, AuthenticatedUsers
, or LogDelivery
.
"
+ "Permission$GranteeType": "The type of value that appears in the Grantee object:
-
Canonical
: Either the canonical user ID for an AWS account or an origin access identity for an Amazon CloudFront distribution.
A canonical user ID is not the same as an AWS account number.
-
Email
: The registered email address of an AWS account.
-
Group
: One of the following predefined Amazon S3 groups: AllUsers
, AuthenticatedUsers
, or LogDelivery
.
"
}
},
"HlsContentProtection": {
@@ -426,27 +428,27 @@
"HlsContentProtectionMethod": {
"base": null,
"refs": {
- "HlsContentProtection$Method": "The content protection method for your output. The only valid value is: aes-128
.
This value will be written into the method attribute of the EXT-X-KEY
metadata tag in the output playlist.
"
+ "HlsContentProtection$Method": "The content protection method for your output. The only valid value is: aes-128
.
This value is written into the method attribute of the EXT-X-KEY
metadata tag in the output playlist.
"
}
},
"HorizontalAlign": {
"base": null,
"refs": {
- "PresetWatermark$HorizontalAlign": "The horizontal position of the watermark unless you specify a non-zero value for HorizontalOffset
:
- Left: The left edge of the watermark is aligned with the left border of the video.
- Right: The right edge of the watermark is aligned with the right border of the video.
- Center: The watermark is centered between the left and right borders.
"
+ "PresetWatermark$HorizontalAlign": "The horizontal position of the watermark unless you specify a non-zero value for HorizontalOffset
:
-
Left: The left edge of the watermark is aligned with the left border of the video.
-
Right: The right edge of the watermark is aligned with the right border of the video.
-
Center: The watermark is centered between the left and right borders.
"
}
},
"Id": {
"base": null,
"refs": {
- "CancelJobRequest$Id": "The identifier of the job that you want to cancel.
To get a list of the jobs (including their jobId
) that have a status of Submitted
, use the ListJobsByStatus API action.
",
+ "CancelJobRequest$Id": "The identifier of the job that you want to cancel.
To get a list of the jobs (including their jobId
) that have a status of Submitted
, use the ListJobsByStatus API action.
",
"CreateJobOutput$PresetId": " The Id
of the preset to use for this job. The preset determines the audio, video, and thumbnail settings that Elastic Transcoder uses for transcoding.
",
"CreateJobRequest$PipelineId": "The Id
of the pipeline that you want Elastic Transcoder to use for transcoding. The pipeline determines several settings, including the Amazon S3 bucket from which Elastic Transcoder gets the files to transcode and the bucket into which Elastic Transcoder puts the transcoded files.
",
"DeletePipelineRequest$Id": "The identifier of the pipeline that you want to delete.
",
"DeletePresetRequest$Id": "The identifier of the preset for which you want to get detailed information.
",
- "Job$Id": " The identifier that Elastic Transcoder assigned to the job. You use this value to get settings for the job or to delete the job.
",
+ "Job$Id": "The identifier that Elastic Transcoder assigned to the job. You use this value to get settings for the job or to delete the job.
",
"Job$PipelineId": " The Id
of the pipeline that you want Elastic Transcoder to use for transcoding. The pipeline determines several settings, including the Amazon S3 bucket from which Elastic Transcoder gets the files to transcode and the bucket into which Elastic Transcoder puts the transcoded files.
",
"JobOutput$PresetId": "The value of the Id
object for the preset that you want to use for this job. The preset determines the audio, video, and thumbnail settings that Elastic Transcoder uses for transcoding. To use a preset that you created, specify the preset ID that Elastic Transcoder returned in the response when you created the preset. You can also use the Elastic Transcoder system presets, which you can get with ListPresets
.
",
- "ListJobsByPipelineRequest$PipelineId": " The ID of the pipeline for which you want to get job information.
",
+ "ListJobsByPipelineRequest$PipelineId": "The ID of the pipeline for which you want to get job information.
",
"ListJobsByPipelineRequest$PageToken": " When Elastic Transcoder returns more than one page of results, use pageToken
in subsequent GET
requests to get each successive page of results.
",
"ListJobsByPipelineResponse$NextPageToken": " A value that you use to access the second and subsequent pages of results, if any. When the jobs in the specified pipeline fit on one page or when you've reached the last page of results, the value of NextPageToken
is null
.
",
"ListJobsByStatusRequest$PageToken": " When Elastic Transcoder returns more than one page of results, use pageToken
in subsequent GET
requests to get each successive page of results.
",
@@ -455,12 +457,12 @@
"ListPipelinesResponse$NextPageToken": "A value that you use to access the second and subsequent pages of results, if any. When the pipelines fit on one page or when you've reached the last page of results, the value of NextPageToken
is null
.
",
"ListPresetsRequest$PageToken": "When Elastic Transcoder returns more than one page of results, use pageToken
in subsequent GET
requests to get each successive page of results.
",
"ListPresetsResponse$NextPageToken": "A value that you use to access the second and subsequent pages of results, if any. When the presets fit on one page or when you've reached the last page of results, the value of NextPageToken
is null
.
",
- "Pipeline$Id": "The identifier for the pipeline. You use this value to identify the pipeline in which you want to perform a variety of operations, such as creating a job or a preset.
",
+ "Pipeline$Id": "The identifier for the pipeline. You use this value to identify the pipeline in which you want to perform a variety of operations, such as creating a job or a preset.
",
"Preset$Id": "Identifier for the new preset. You use this value to get settings for the preset or to delete it.
",
"ReadJobRequest$Id": "The identifier of the job for which you want to get detailed information.
",
"ReadPipelineRequest$Id": "The identifier of the pipeline to read.
",
"ReadPresetRequest$Id": "The identifier of the preset for which you want to get detailed information.
",
- "UpdatePipelineNotificationsRequest$Id": " The identifier of the pipeline for which you want to change notification settings.
",
+ "UpdatePipelineNotificationsRequest$Id": "The identifier of the pipeline for which you want to change notification settings.
",
"UpdatePipelineRequest$Id": "The ID of the pipeline that you want to update.
",
"UpdatePipelineStatusRequest$Id": "The identifier of the pipeline to update.
"
}
@@ -470,10 +472,16 @@
"refs": {
}
},
+ "InputCaptions": {
+ "base": "The captions to be created, if any.
",
+ "refs": {
+ "JobInput$InputCaptions": "You can configure Elastic Transcoder to transcode captions, or subtitles, from one format to another. All captions must be in UTF-8. Elastic Transcoder supports two types of captions:
-
Embedded: Embedded captions are included in the same file as the audio and video. Elastic Transcoder supports only one embedded caption per language, to a maximum of 300 embedded captions per file.
Valid input values include: CEA-608 (EIA-608
, first non-empty channel only), CEA-708 (EIA-708
, first non-empty channel only), and mov-text
Valid outputs include: mov-text
Elastic Transcoder supports a maximum of one embedded format per output.
-
Sidecar: Sidecar captions are kept in a separate metadata file from the audio and video data. Sidecar captions require a player that is capable of understanding the relationship between the video file and the sidecar file. Elastic Transcoder supports only one sidecar caption per language, to a maximum of 20 sidecar captions per file.
Valid input values include: dfxp
(first div element only), ebu-tt
, scc
, smpt
, srt
, ttml
(first div element only), and webvtt
Valid outputs include: dfxp
(first div element only), scc
, srt
, and webvtt
.
If you want ttml or smpte-tt compatible captions, specify dfxp as your output format.
Elastic Transcoder does not support OCR (Optical Character Recognition), does not accept pictures as a valid input for captions, and is not available for audio-only transcoding. Elastic Transcoder does not preserve text formatting (for example, italics) during the transcoding process.
To remove captions or leave the captions empty, set Captions
to null. To pass through existing captions unchanged, set the MergePolicy
to MergeRetain
, and pass in a null CaptionSources
array.
For more information on embedded files, see the Subtitles Wikipedia page.
For more information on sidecar files, see the Extensible Metadata Platform and Sidecar file Wikipedia pages.
"
+ }
+ },
"Interlaced": {
"base": null,
"refs": {
- "JobInput$Interlaced": "Whether the input file is interlaced. If you want Elastic Transcoder to automatically detect whether the input file is interlaced, specify auto
. If you want to specify whether the input file is interlaced, enter one of the following values:
true
, false
If you specify a value other than auto
, Elastic Transcoder disables automatic detection of interlacing.
"
+ "JobInput$Interlaced": "Whether the input file is interlaced. If you want Elastic Transcoder to automatically detect whether the input file is interlaced, specify auto
. If you want to specify whether the input file is interlaced, enter one of the following values:
true
, false
If you specify a value other than auto
, Elastic Transcoder disables automatic detection of interlacing.
"
}
},
"InternalServiceException": {
@@ -484,7 +492,7 @@
"Job": {
"base": "A section of the response body that provides information about the job that is created.
",
"refs": {
- "CreateJobResponse$Job": " A section of the response body that provides information about the job that is created.
",
+ "CreateJobResponse$Job": "A section of the response body that provides information about the job that is created.
",
"Jobs$member": null,
"ReadJobResponse$Job": "A section of the response body that provides information about the job.
"
}
@@ -506,27 +514,35 @@
"base": "Information about the file that you're transcoding.
",
"refs": {
"CreateJobRequest$Input": "A section of the request body that provides information about the file that is being transcoded.
",
- "Job$Input": " A section of the request or response body that provides information about the file that is being transcoded.
"
+ "Job$Input": "A section of the request or response body that provides information about the file that is being transcoded.
",
+ "JobInputs$member": null
+ }
+ },
+ "JobInputs": {
+ "base": null,
+ "refs": {
+ "CreateJobRequest$Inputs": "A section of the request body that provides information about the files that are being transcoded.
",
+ "Job$Inputs": "Information about the files that you're transcoding. If you specified multiple files for this job, Elastic Transcoder stitches the files together to make one output.
"
}
},
"JobOutput": {
- "base": "Outputs recommended instead.If you specified one output for a job, information about that output. If you specified multiple outputs for a job, the Output
object lists information about the first output. This duplicates the information that is listed for the first output in the Outputs
object.
",
+ "base": " Outputs recommended instead.
If you specified one output for a job, information about that output. If you specified multiple outputs for a job, the Output
object lists information about the first output. This duplicates the information that is listed for the first output in the Outputs
object.
",
"refs": {
- "Job$Output": "If you specified one output for a job, information about that output. If you specified multiple outputs for a job, the Output object lists information about the first output. This duplicates the information that is listed for the first output in the Outputs object.
Outputs recommended instead. A section of the request or response body that provides information about the transcoded (target) file.
",
+ "Job$Output": "If you specified one output for a job, information about that output. If you specified multiple outputs for a job, the Output object lists information about the first output. This duplicates the information that is listed for the first output in the Outputs object.
Outputs recommended instead.
A section of the request or response body that provides information about the transcoded (target) file.
",
"JobOutputs$member": null
}
},
"JobOutputs": {
"base": null,
"refs": {
- "Job$Outputs": "Information about the output files. We recommend that you use the Outputs
syntax for all jobs, even when you want Elastic Transcoder to transcode a file into only one format. Do not use both the Outputs
and Output
syntaxes in the same request. You can create a maximum of 30 outputs per job.
If you specify more than one output for a job, Elastic Transcoder creates the files for each output in the order in which you specify them in the job.
"
+ "Job$Outputs": "Information about the output files. We recommend that you use the Outputs
syntax for all jobs, even when you want Elastic Transcoder to transcode a file into only one format. Do not use both the Outputs
and Output
syntaxes in the same request. You can create a maximum of 30 outputs per job.
If you specify more than one output for a job, Elastic Transcoder creates the files for each output in the order in which you specify them in the job.
"
}
},
"JobStatus": {
"base": null,
"refs": {
"Job$Status": " The status of the job: Submitted
, Progressing
, Complete
, Canceled
, or Error
.
",
- "JobOutput$Status": " The status of one output in a job. If you specified only one output for the job, Outputs:Status
is always the same as Job:Status
. If you specified more than one output:
Job:Status
and Outputs:Status
for all of the outputs is Submitted until Elastic Transcoder starts to process the first output. - When Elastic Transcoder starts to process the first output,
Outputs:Status
for that output and Job:Status
both change to Progressing. For each output, the value of Outputs:Status
remains Submitted until Elastic Transcoder starts to process the output. - Job:Status remains Progressing until all of the outputs reach a terminal status, either Complete or Error.
- When all of the outputs reach a terminal status,
Job:Status
changes to Complete only if Outputs:Status
for all of the outputs is Complete
. If Outputs:Status
for one or more outputs is Error
, the terminal status for Job:Status
is also Error
.
The value of Status
is one of the following: Submitted
, Progressing
, Complete
, Canceled
, or Error
. ",
+ "JobOutput$Status": " The status of one output in a job. If you specified only one output for the job, Outputs:Status
is always the same as Job:Status
. If you specified more than one output:
-
Job:Status
and Outputs:Status
for all of the outputs is Submitted until Elastic Transcoder starts to process the first output.
-
When Elastic Transcoder starts to process the first output, Outputs:Status
for that output and Job:Status
both change to Progressing. For each output, the value of Outputs:Status
remains Submitted until Elastic Transcoder starts to process the output.
-
Job:Status remains Progressing until all of the outputs reach a terminal status, either Complete or Error.
-
When all of the outputs reach a terminal status, Job:Status
changes to Complete only if Outputs:Status
for all of the outputs is Complete
. If Outputs:Status
for one or more outputs is Error
, the terminal status for Job:Status
is also Error
.
The value of Status
is one of the following: Submitted
, Progressing
, Complete
, Canceled
, or Error
.
",
"ListJobsByStatusRequest$Status": "To get information about all of the jobs associated with the current AWS account that have a given status, specify the following status: Submitted
, Progressing
, Complete
, Canceled
, or Error
.
",
"Playlist$Status": "The status of the job with which the playlist is associated.
"
}
@@ -541,7 +557,7 @@
"base": null,
"refs": {
"CreateJobOutput$Watermarks": "Information about the watermarks that you want Elastic Transcoder to add to the video during transcoding. You can specify up to four watermarks for each output. Settings for each watermark must be defined in the preset for the current output.
",
- "JobOutput$Watermarks": "Information about the watermarks that you want Elastic Transcoder to add to the video during transcoding. You can specify up to four watermarks for each output. Settings for each watermark must be defined in the preset that you specify in Preset
for the current output.
Watermarks are added to the output video in the sequence in which you list them in the job output—the first watermark in the list is added to the output video first, the second watermark in the list is added next, and so on. As a result, if the settings in a preset cause Elastic Transcoder to place all watermarks in the same location, the second watermark that you add will cover the first one, the third one will cover the second, and the fourth one will cover the third.
"
+ "JobOutput$Watermarks": "Information about the watermarks that you want Elastic Transcoder to add to the video during transcoding. You can specify up to four watermarks for each output. Settings for each watermark must be defined in the preset that you specify in Preset
for the current output.
Watermarks are added to the output video in the sequence in which you list them in the job output—the first watermark in the list is added to the output video first, the second watermark in the list is added next, and so on. As a result, if the settings in a preset cause Elastic Transcoder to place all watermarks in the same location, the second watermark that you add covers the first one, the third one covers the second, and the fourth one covers the third.
"
}
},
"Jobs": {
@@ -561,7 +577,7 @@
"Key": {
"base": null,
"refs": {
- "CaptionSource$Language": "A string that specifies the language of the caption. Specify this as one of:
For more information on ISO language codes and language names, see the List of ISO 639-1 codes.
",
+ "CaptionSource$Language": "A string that specifies the language of the caption. If you specified multiple inputs with captions, the caption language must match in order to be included in the output. Specify this as one of:
For more information on ISO language codes and language names, see the List of ISO 639-1 codes.
",
"CreateJobOutput$Key": " The name to assign to the transcoded file. Elastic Transcoder saves the file in the Amazon S3 bucket specified by the OutputBucket
object in the pipeline that is specified by the pipeline ID. If a file with the specified name already exists in the output bucket, the job fails.
",
"CreateJobRequest$OutputKeyPrefix": "The value, if any, that you want Elastic Transcoder to prepend to the names of all files that this job creates, including output files, thumbnails, and playlists.
",
"Job$OutputKeyPrefix": "The value, if any, that you want Elastic Transcoder to prepend to the names of all files that this job creates, including output files, thumbnails, and playlists. We recommend that you add a / or some other delimiter to the end of the OutputKeyPrefix
.
",
@@ -580,7 +596,7 @@
"KeyIdGuid": {
"base": null,
"refs": {
- "PlayReadyDrm$KeyId": "The ID for your DRM key, so that your DRM license provider knows which key to provide.
The key ID must be provided in big endian, and Elastic Transcoder will convert it to little endian before inserting it into the PlayReady DRM headers. If you are unsure whether your license server provides your key ID in big or little endian, check with your DRM provider.
"
+ "PlayReadyDrm$KeyId": "The ID for your DRM key, so that your DRM license provider knows which key to provide.
The key ID must be provided in big endian, and Elastic Transcoder converts it to little endian before inserting it into the PlayReady DRM headers. If you are unsure whether your license server provides your key ID in big or little endian, check with your DRM provider.
"
}
},
"KeyStoragePolicy": {
@@ -656,7 +672,7 @@
"MergePolicy": {
"base": null,
"refs": {
- "JobAlbumArt$MergePolicy": "A policy that determines how Elastic Transcoder will handle the existence of multiple album artwork files.
Replace:
The specified album art will replace any existing album art. Prepend:
The specified album art will be placed in front of any existing album art. Append:
The specified album art will be placed after any existing album art. Fallback:
If the original input file contains artwork, Elastic Transcoder will use that artwork for the output. If the original input does not contain artwork, Elastic Transcoder will use the specified album art file.
"
+ "JobAlbumArt$MergePolicy": "A policy that determines how Elastic Transcoder handles the existence of multiple album artwork files.
-
Replace:
The specified album art replaces any existing album art.
-
Prepend:
The specified album art is placed in front of any existing album art.
-
Append:
The specified album art is placed after any existing album art.
-
Fallback:
If the original input file contains artwork, Elastic Transcoder uses that artwork for the output. If the original input does not contain artwork, Elastic Transcoder uses the specified album art file.
"
}
},
"Name": {
@@ -673,17 +689,17 @@
"NonEmptyBase64EncodedString": {
"base": null,
"refs": {
- "PlayReadyDrm$Key": "The DRM key for your file, provided by your DRM license provider. The key must be base64-encoded, and it must be one of the following bit lengths before being base64-encoded:
128
, 192
, or 256
.
The key must also be encrypted by using AWS KMS.
",
+ "PlayReadyDrm$Key": "The DRM key for your file, provided by your DRM license provider. The key must be base64-encoded, and it must be one of the following bit lengths before being base64-encoded:
128
, 192
, or 256
.
The key must also be encrypted by using AWS KMS.
",
"PlayReadyDrm$KeyMd5": "The MD5 digest of the key used for DRM on your file, and that you want Elastic Transcoder to use as a checksum to make sure your key was not corrupted in transit. The key MD5 must be base64-encoded, and it must be exactly 16 bytes before being base64-encoded.
"
}
},
"Notifications": {
- "base": "The Amazon Simple Notification Service (Amazon SNS) topic or topics to notify in order to report job status.
To receive notifications, you must also subscribe to the new topic in the Amazon SNS console.",
+ "base": "The Amazon Simple Notification Service (Amazon SNS) topic or topics to notify in order to report job status.
To receive notifications, you must also subscribe to the new topic in the Amazon SNS console.
",
"refs": {
- "CreatePipelineRequest$Notifications": "The Amazon Simple Notification Service (Amazon SNS) topic that you want to notify to report job status.
To receive notifications, you must also subscribe to the new topic in the Amazon SNS console. - Progressing: The topic ARN for the Amazon Simple Notification Service (Amazon SNS) topic that you want to notify when Elastic Transcoder has started to process a job in this pipeline. This is the ARN that Amazon SNS returned when you created the topic. For more information, see Create a Topic in the Amazon Simple Notification Service Developer Guide.
- Completed: The topic ARN for the Amazon SNS topic that you want to notify when Elastic Transcoder has finished processing a job in this pipeline. This is the ARN that Amazon SNS returned when you created the topic.
- Warning: The topic ARN for the Amazon SNS topic that you want to notify when Elastic Transcoder encounters a warning condition while processing a job in this pipeline. This is the ARN that Amazon SNS returned when you created the topic.
- Error: The topic ARN for the Amazon SNS topic that you want to notify when Elastic Transcoder encounters an error condition while processing a job in this pipeline. This is the ARN that Amazon SNS returned when you created the topic.
",
- "Pipeline$Notifications": "The Amazon Simple Notification Service (Amazon SNS) topic that you want to notify to report job status.
To receive notifications, you must also subscribe to the new topic in the Amazon SNS console. - Progressing (optional): The Amazon Simple Notification Service (Amazon SNS) topic that you want to notify when Elastic Transcoder has started to process the job.
- Completed (optional): The Amazon SNS topic that you want to notify when Elastic Transcoder has finished processing the job.
- Warning (optional): The Amazon SNS topic that you want to notify when Elastic Transcoder encounters a warning condition.
- Error (optional): The Amazon SNS topic that you want to notify when Elastic Transcoder encounters an error condition.
",
- "UpdatePipelineNotificationsRequest$Notifications": "The topic ARN for the Amazon Simple Notification Service (Amazon SNS) topic that you want to notify to report job status.
To receive notifications, you must also subscribe to the new topic in the Amazon SNS console. - Progressing: The topic ARN for the Amazon Simple Notification Service (Amazon SNS) topic that you want to notify when Elastic Transcoder has started to process jobs that are added to this pipeline. This is the ARN that Amazon SNS returned when you created the topic.
- Completed: The topic ARN for the Amazon SNS topic that you want to notify when Elastic Transcoder has finished processing a job. This is the ARN that Amazon SNS returned when you created the topic.
- Warning: The topic ARN for the Amazon SNS topic that you want to notify when Elastic Transcoder encounters a warning condition. This is the ARN that Amazon SNS returned when you created the topic.
- Error: The topic ARN for the Amazon SNS topic that you want to notify when Elastic Transcoder encounters an error condition. This is the ARN that Amazon SNS returned when you created the topic.
",
- "UpdatePipelineRequest$Notifications": null
+ "CreatePipelineRequest$Notifications": "The Amazon Simple Notification Service (Amazon SNS) topic that you want to notify to report job status.
To receive notifications, you must also subscribe to the new topic in the Amazon SNS console.
-
Progressing: The topic ARN for the Amazon Simple Notification Service (Amazon SNS) topic that you want to notify when Elastic Transcoder has started to process a job in this pipeline. This is the ARN that Amazon SNS returned when you created the topic. For more information, see Create a Topic in the Amazon Simple Notification Service Developer Guide.
-
Completed: The topic ARN for the Amazon SNS topic that you want to notify when Elastic Transcoder has finished processing a job in this pipeline. This is the ARN that Amazon SNS returned when you created the topic.
-
Warning: The topic ARN for the Amazon SNS topic that you want to notify when Elastic Transcoder encounters a warning condition while processing a job in this pipeline. This is the ARN that Amazon SNS returned when you created the topic.
-
Error: The topic ARN for the Amazon SNS topic that you want to notify when Elastic Transcoder encounters an error condition while processing a job in this pipeline. This is the ARN that Amazon SNS returned when you created the topic.
",
+ "Pipeline$Notifications": "The Amazon Simple Notification Service (Amazon SNS) topic that you want to notify to report job status.
To receive notifications, you must also subscribe to the new topic in the Amazon SNS console.
-
Progressing (optional): The Amazon Simple Notification Service (Amazon SNS) topic that you want to notify when Elastic Transcoder has started to process the job.
-
Completed (optional): The Amazon SNS topic that you want to notify when Elastic Transcoder has finished processing the job.
-
Warning (optional): The Amazon SNS topic that you want to notify when Elastic Transcoder encounters a warning condition.
-
Error (optional): The Amazon SNS topic that you want to notify when Elastic Transcoder encounters an error condition.
",
+ "UpdatePipelineNotificationsRequest$Notifications": "The topic ARN for the Amazon Simple Notification Service (Amazon SNS) topic that you want to notify to report job status.
To receive notifications, you must also subscribe to the new topic in the Amazon SNS console.
-
Progressing: The topic ARN for the Amazon Simple Notification Service (Amazon SNS) topic that you want to notify when Elastic Transcoder has started to process jobs that are added to this pipeline. This is the ARN that Amazon SNS returned when you created the topic.
-
Completed: The topic ARN for the Amazon SNS topic that you want to notify when Elastic Transcoder has finished processing a job. This is the ARN that Amazon SNS returned when you created the topic.
-
Warning: The topic ARN for the Amazon SNS topic that you want to notify when Elastic Transcoder encounters a warning condition. This is the ARN that Amazon SNS returned when you created the topic.
-
Error: The topic ARN for the Amazon SNS topic that you want to notify when Elastic Transcoder encounters an error condition. This is the ARN that Amazon SNS returned when you created the topic.
",
+ "UpdatePipelineRequest$Notifications": "The topic ARN for the Amazon Simple Notification Service (Amazon SNS) topic that you want to notify to report job status.
To receive notifications, you must also subscribe to the new topic in the Amazon SNS console.
-
Progressing: The topic ARN for the Amazon Simple Notification Service (Amazon SNS) topic that you want to notify when Elastic Transcoder has started to process jobs that are added to this pipeline. This is the ARN that Amazon SNS returned when you created the topic.
-
Completed: The topic ARN for the Amazon SNS topic that you want to notify when Elastic Transcoder has finished processing a job. This is the ARN that Amazon SNS returned when you created the topic.
-
Warning: The topic ARN for the Amazon SNS topic that you want to notify when Elastic Transcoder encounters a warning condition. This is the ARN that Amazon SNS returned when you created the topic.
-
Error: The topic ARN for the Amazon SNS topic that you want to notify when Elastic Transcoder encounters an error condition. This is the ARN that Amazon SNS returned when you created the topic.
"
}
},
"NullableInteger": {
@@ -711,7 +727,7 @@
"OneTo512String": {
"base": null,
"refs": {
- "PlayReadyDrm$LicenseAcquisitionUrl": "The location of the license key required to play DRM content. The URL must be an absolute path, and is referenced by the PlayReady header. The PlayReady header is referenced in the protection header of the client manifest for Smooth Streaming outputs, and in the EXT-X-DXDRM and EXT-XDXDRMINFO metadata tags for HLS playlist outputs. An example URL looks like this: https://www.example.com/exampleKey/
"
+ "PlayReadyDrm$LicenseAcquisitionUrl": "The location of the license key required to play DRM content. The URL must be an absolute path, and is referenced by the PlayReady header. The PlayReady header is referenced in the protection header of the client manifest for Smooth Streaming outputs, and in the EXT-X-DXDRM and EXT-XDXDRMINFO metadata tags for HLS playlist outputs. An example URL looks like this: https://www.example.com/exampleKey/
"
}
},
"Opacity": {
@@ -723,8 +739,8 @@
"OutputKeys": {
"base": null,
"refs": {
- "CreateJobPlaylist$OutputKeys": "For each output in this job that you want to include in a master playlist, the value of the Outputs:Key
object.
-
If your output is not HLS
or does not have a segment duration set, the name of the output file is a concatenation of OutputKeyPrefix
and Outputs:Key
:
OutputKeyPrefixOutputs:Key
-
If your output is HLSv3
and has a segment duration set, or is not included in a playlist, Elastic Transcoder creates an output playlist file with a file extension of .m3u8
, and a series of .ts
files that include a five-digit sequential counter beginning with 00000:
OutputKeyPrefixOutputs:Key
.m3u8
OutputKeyPrefixOutputs:Key
00000.ts
-
If your output is HLSv4
, has a segment duration set, and is included in an HLSv4
playlist, Elastic Transcoder creates an output playlist file with a file extension of _v4.m3u8
. If the output is video, Elastic Transcoder also creates an output file with an extension of _iframe.m3u8
:
OutputKeyPrefixOutputs:Key
_v4.m3u8
OutputKeyPrefixOutputs:Key
_iframe.m3u8
OutputKeyPrefixOutputs:Key
.ts
Elastic Transcoder automatically appends the relevant file extension to the file name. If you include a file extension in Output Key, the file name will have two extensions.
If you include more than one output in a playlist, any segment duration settings, clip settings, or caption settings must be the same for all outputs in the playlist. For Smooth
playlists, the Audio:Profile
, Video:Profile
, and Video:FrameRate
to Video:KeyframesMaxDist
ratio must be the same for all outputs.
",
- "Playlist$OutputKeys": "For each output in this job that you want to include in a master playlist, the value of the Outputs:Key object.
-
If your output is not HLS
or does not have a segment duration set, the name of the output file is a concatenation of OutputKeyPrefix
and Outputs:Key
:
OutputKeyPrefixOutputs:Key
-
If your output is HLSv3
and has a segment duration set, or is not included in a playlist, Elastic Transcoder creates an output playlist file with a file extension of .m3u8
, and a series of .ts
files that include a five-digit sequential counter beginning with 00000:
OutputKeyPrefixOutputs:Key
.m3u8
OutputKeyPrefixOutputs:Key
00000.ts
-
If your output is HLSv4
, has a segment duration set, and is included in an HLSv4
playlist, Elastic Transcoder creates an output playlist file with a file extension of _v4.m3u8
. If the output is video, Elastic Transcoder also creates an output file with an extension of _iframe.m3u8
:
OutputKeyPrefixOutputs:Key
_v4.m3u8
OutputKeyPrefixOutputs:Key
_iframe.m3u8
OutputKeyPrefixOutputs:Key
.ts
Elastic Transcoder automatically appends the relevant file extension to the file name. If you include a file extension in Output Key, the file name will have two extensions.
If you include more than one output in a playlist, any segment duration settings, clip settings, or caption settings must be the same for all outputs in the playlist. For Smooth
playlists, the Audio:Profile
, Video:Profile
, and Video:FrameRate
to Video:KeyframesMaxDist
ratio must be the same for all outputs.
"
+ "CreateJobPlaylist$OutputKeys": "For each output in this job that you want to include in a master playlist, the value of the Outputs:Key
object.
-
If your output is not HLS
or does not have a segment duration set, the name of the output file is a concatenation of OutputKeyPrefix
and Outputs:Key
:
OutputKeyPrefixOutputs:Key
-
If your output is HLSv3
and has a segment duration set, or is not included in a playlist, Elastic Transcoder creates an output playlist file with a file extension of .m3u8
, and a series of .ts
files that include a five-digit sequential counter beginning with 00000:
OutputKeyPrefixOutputs:Key
.m3u8
OutputKeyPrefixOutputs:Key
00000.ts
-
If your output is HLSv4
, has a segment duration set, and is included in an HLSv4
playlist, Elastic Transcoder creates an output playlist file with a file extension of _v4.m3u8
. If the output is video, Elastic Transcoder also creates an output file with an extension of _iframe.m3u8
:
OutputKeyPrefixOutputs:Key
_v4.m3u8
OutputKeyPrefixOutputs:Key
_iframe.m3u8
OutputKeyPrefixOutputs:Key
.ts
Elastic Transcoder automatically appends the relevant file extension to the file name. If you include a file extension in Output Key, the file name will have two extensions.
If you include more than one output in a playlist, any segment duration settings, clip settings, or caption settings must be the same for all outputs in the playlist. For Smooth
playlists, the Audio:Profile
, Video:Profile
, and Video:FrameRate
to Video:KeyframesMaxDist
ratio must be the same for all outputs.
",
+ "Playlist$OutputKeys": "For each output in this job that you want to include in a master playlist, the value of the Outputs:Key object.
-
If your output is not HLS
or does not have a segment duration set, the name of the output file is a concatenation of OutputKeyPrefix
and Outputs:Key
:
OutputKeyPrefixOutputs:Key
-
If your output is HLSv3
and has a segment duration set, or is not included in a playlist, Elastic Transcoder creates an output playlist file with a file extension of .m3u8
, and a series of .ts
files that include a five-digit sequential counter beginning with 00000:
OutputKeyPrefixOutputs:Key
.m3u8
OutputKeyPrefixOutputs:Key
00000.ts
-
If your output is HLSv4
, has a segment duration set, and is included in an HLSv4
playlist, Elastic Transcoder creates an output playlist file with a file extension of _v4.m3u8
. If the output is video, Elastic Transcoder also creates an output file with an extension of _iframe.m3u8
:
OutputKeyPrefixOutputs:Key
_v4.m3u8
OutputKeyPrefixOutputs:Key
_iframe.m3u8
OutputKeyPrefixOutputs:Key
.ts
Elastic Transcoder automatically appends the relevant file extension to the file name. If you include a file extension in Output Key, the file name will have two extensions.
If you include more than one output in a playlist, any segment duration settings, clip settings, or caption settings must be the same for all outputs in the playlist. For Smooth
playlists, the Audio:Profile
, Video:Profile
, and Video:FrameRate
to Video:KeyframesMaxDist
ratio must be the same for all outputs.
"
}
},
"PaddingPolicy": {
@@ -753,27 +769,27 @@
"CreatePipelineResponse$Pipeline": "A section of the response body that provides information about the pipeline that is created.
",
"Pipelines$member": null,
"ReadPipelineResponse$Pipeline": "A section of the response body that provides information about the pipeline.
",
- "UpdatePipelineNotificationsResponse$Pipeline": "A section of the response body that provides information about the pipeline.
",
- "UpdatePipelineResponse$Pipeline": null,
+ "UpdatePipelineNotificationsResponse$Pipeline": "A section of the response body that provides information about the pipeline associated with this notification.
",
+ "UpdatePipelineResponse$Pipeline": "The pipeline updated by this UpdatePipelineResponse
call.
",
"UpdatePipelineStatusResponse$Pipeline": "A section of the response body that provides information about the pipeline.
"
}
},
"PipelineOutputConfig": {
"base": "The PipelineOutputConfig
structure.
",
"refs": {
- "CreatePipelineRequest$ContentConfig": "The optional ContentConfig
object specifies information about the Amazon S3 bucket in which you want Elastic Transcoder to save transcoded files and playlists: which bucket to use, which users you want to have access to the files, the type of access you want users to have, and the storage class that you want to assign to the files.
If you specify values for ContentConfig
, you must also specify values for ThumbnailConfig
.
If you specify values for ContentConfig
and ThumbnailConfig
, omit the OutputBucket
object.
- Bucket: The Amazon S3 bucket in which you want Elastic Transcoder to save transcoded files and playlists.
- Permissions (Optional): The Permissions object specifies which users you want to have access to transcoded files and the type of access you want them to have. You can grant permissions to a maximum of 30 users and/or predefined Amazon S3 groups.
- Grantee Type: Specify the type of value that appears in the
Grantee
object: - Canonical: The value in the
Grantee
object is either the canonical user ID for an AWS account or an origin access identity for an Amazon CloudFront distribution. For more information about canonical user IDs, see Access Control List (ACL) Overview in the Amazon Simple Storage Service Developer Guide. For more information about using CloudFront origin access identities to require that users use CloudFront URLs instead of Amazon S3 URLs, see Using an Origin Access Identity to Restrict Access to Your Amazon S3 Content. A canonical user ID is not the same as an AWS account number. - Email: The value in the
Grantee
object is the registered email address of an AWS account. - Group: The value in the
Grantee
object is one of the following predefined Amazon S3 groups: AllUsers
, AuthenticatedUsers
, or LogDelivery
.
- Grantee: The AWS user or group that you want to have access to transcoded files and playlists. To identify the user or group, you can specify the canonical user ID for an AWS account, an origin access identity for a CloudFront distribution, the registered email address of an AWS account, or a predefined Amazon S3 group
- Access: The permission that you want to give to the AWS user that you specified in
Grantee
. Permissions are granted on the files that Elastic Transcoder adds to the bucket, including playlists and video files. Valid values include: READ
: The grantee can read the objects and metadata for objects that Elastic Transcoder adds to the Amazon S3 bucket. READ_ACP
: The grantee can read the object ACL for objects that Elastic Transcoder adds to the Amazon S3 bucket. WRITE_ACP
: The grantee can write the ACL for the objects that Elastic Transcoder adds to the Amazon S3 bucket. FULL_CONTROL
: The grantee has READ
, READ_ACP
, and WRITE_ACP
permissions for the objects that Elastic Transcoder adds to the Amazon S3 bucket.
- StorageClass: The Amazon S3 storage class,
Standard
or ReducedRedundancy
, that you want Elastic Transcoder to assign to the video files and playlists that it stores in your Amazon S3 bucket.
",
- "CreatePipelineRequest$ThumbnailConfig": "The ThumbnailConfig
object specifies several values, including the Amazon S3 bucket in which you want Elastic Transcoder to save thumbnail files, which users you want to have access to the files, the type of access you want users to have, and the storage class that you want to assign to the files.
If you specify values for ContentConfig
, you must also specify values for ThumbnailConfig
even if you don't want to create thumbnails.
If you specify values for ContentConfig
and ThumbnailConfig
, omit the OutputBucket
object.
- Bucket: The Amazon S3 bucket in which you want Elastic Transcoder to save thumbnail files.
- Permissions (Optional): The
Permissions
object specifies which users and/or predefined Amazon S3 groups you want to have access to thumbnail files, and the type of access you want them to have. You can grant permissions to a maximum of 30 users and/or predefined Amazon S3 groups. - GranteeType: Specify the type of value that appears in the Grantee object:
- Canonical: The value in the
Grantee
object is either the canonical user ID for an AWS account or an origin access identity for an Amazon CloudFront distribution. A canonical user ID is not the same as an AWS account number. - Email: The value in the
Grantee
object is the registered email address of an AWS account. - Group: The value in the
Grantee
object is one of the following predefined Amazon S3 groups: AllUsers
, AuthenticatedUsers
, or LogDelivery
.
- Grantee: The AWS user or group that you want to have access to thumbnail files. To identify the user or group, you can specify the canonical user ID for an AWS account, an origin access identity for a CloudFront distribution, the registered email address of an AWS account, or a predefined Amazon S3 group.
- Access: The permission that you want to give to the AWS user that you specified in
Grantee
. Permissions are granted on the thumbnail files that Elastic Transcoder adds to the bucket. Valid values include: READ
: The grantee can read the thumbnails and metadata for objects that Elastic Transcoder adds to the Amazon S3 bucket. READ_ACP
: The grantee can read the object ACL for thumbnails that Elastic Transcoder adds to the Amazon S3 bucket. WRITE_ACP
: The grantee can write the ACL for the thumbnails that Elastic Transcoder adds to the Amazon S3 bucket. FULL_CONTROL
: The grantee has READ
, READ_ACP
, and WRITE_ACP
permissions for the thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.
- StorageClass: The Amazon S3 storage class,
Standard
or ReducedRedundancy
, that you want Elastic Transcoder to assign to the thumbnails that it stores in your Amazon S3 bucket.
",
- "Pipeline$ContentConfig": "Information about the Amazon S3 bucket in which you want Elastic Transcoder to save transcoded files and playlists. Either you specify both ContentConfig
and ThumbnailConfig
, or you specify OutputBucket
.
- Bucket: The Amazon S3 bucket in which you want Elastic Transcoder to save transcoded files and playlists.
- Permissions: A list of the users and/or predefined Amazon S3 groups you want to have access to transcoded files and playlists, and the type of access that you want them to have.
- GranteeType: The type of value that appears in the
Grantee
object: Canonical
: Either the canonical user ID for an AWS account or an origin access identity for an Amazon CloudFront distribution. Email
: The registered email address of an AWS account. Group
: One of the following predefined Amazon S3 groups: AllUsers
, AuthenticatedUsers
, or LogDelivery
.
Grantee
: The AWS user or group that you want to have access to transcoded files and playlists. Access
: The permission that you want to give to the AWS user that is listed in Grantee
. Valid values include: READ
: The grantee can read the objects and metadata for objects that Elastic Transcoder adds to the Amazon S3 bucket. READ_ACP
: The grantee can read the object ACL for objects that Elastic Transcoder adds to the Amazon S3 bucket. WRITE_ACP
: The grantee can write the ACL for the objects that Elastic Transcoder adds to the Amazon S3 bucket. FULL_CONTROL
: The grantee has READ
, READ_ACP
, and WRITE_ACP
permissions for the objects that Elastic Transcoder adds to the Amazon S3 bucket.
- StorageClass: The Amazon S3 storage class, Standard or ReducedRedundancy, that you want Elastic Transcoder to assign to the video files and playlists that it stores in your Amazon S3 bucket.
",
- "Pipeline$ThumbnailConfig": "Information about the Amazon S3 bucket in which you want Elastic Transcoder to save thumbnail files. Either you specify both ContentConfig
and ThumbnailConfig
, or you specify OutputBucket
.
Bucket
: The Amazon S3 bucket in which you want Elastic Transcoder to save thumbnail files. Permissions
: A list of the users and/or predefined Amazon S3 groups you want to have access to thumbnail files, and the type of access that you want them to have. - GranteeType: The type of value that appears in the Grantee object:
Canonical
: Either the canonical user ID for an AWS account or an origin access identity for an Amazon CloudFront distribution. A canonical user ID is not the same as an AWS account number. Email
: The registered email address of an AWS account. Group
: One of the following predefined Amazon S3 groups: AllUsers
, AuthenticatedUsers
, or LogDelivery
.
Grantee
: The AWS user or group that you want to have access to thumbnail files. - Access: The permission that you want to give to the AWS user that is listed in Grantee. Valid values include:
READ
: The grantee can read the thumbnails and metadata for thumbnails that Elastic Transcoder adds to the Amazon S3 bucket. READ_ACP
: The grantee can read the object ACL for thumbnails that Elastic Transcoder adds to the Amazon S3 bucket. WRITE_ACP
: The grantee can write the ACL for the thumbnails that Elastic Transcoder adds to the Amazon S3 bucket. FULL_CONTROL
: The grantee has READ, READ_ACP, and WRITE_ACP permissions for the thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.
StorageClass
: The Amazon S3 storage class, Standard
or ReducedRedundancy
, that you want Elastic Transcoder to assign to the thumbnails that it stores in your Amazon S3 bucket.
",
- "UpdatePipelineRequest$ContentConfig": "The optional ContentConfig
object specifies information about the Amazon S3 bucket in which you want Elastic Transcoder to save transcoded files and playlists: which bucket to use, which users you want to have access to the files, the type of access you want users to have, and the storage class that you want to assign to the files.
If you specify values for ContentConfig
, you must also specify values for ThumbnailConfig
.
If you specify values for ContentConfig
and ThumbnailConfig
, omit the OutputBucket
object.
- Bucket: The Amazon S3 bucket in which you want Elastic Transcoder to save transcoded files and playlists.
- Permissions (Optional): The Permissions object specifies which users you want to have access to transcoded files and the type of access you want them to have. You can grant permissions to a maximum of 30 users and/or predefined Amazon S3 groups.
- Grantee Type: Specify the type of value that appears in the
Grantee
object: - Canonical: The value in the
Grantee
object is either the canonical user ID for an AWS account or an origin access identity for an Amazon CloudFront distribution. For more information about canonical user IDs, see Access Control List (ACL) Overview in the Amazon Simple Storage Service Developer Guide. For more information about using CloudFront origin access identities to require that users use CloudFront URLs instead of Amazon S3 URLs, see Using an Origin Access Identity to Restrict Access to Your Amazon S3 Content. A canonical user ID is not the same as an AWS account number. - Email: The value in the
Grantee
object is the registered email address of an AWS account. - Group: The value in the
Grantee
object is one of the following predefined Amazon S3 groups: AllUsers
, AuthenticatedUsers
, or LogDelivery
.
- Grantee: The AWS user or group that you want to have access to transcoded files and playlists. To identify the user or group, you can specify the canonical user ID for an AWS account, an origin access identity for a CloudFront distribution, the registered email address of an AWS account, or a predefined Amazon S3 group
- Access: The permission that you want to give to the AWS user that you specified in
Grantee
. Permissions are granted on the files that Elastic Transcoder adds to the bucket, including playlists and video files. Valid values include: READ
: The grantee can read the objects and metadata for objects that Elastic Transcoder adds to the Amazon S3 bucket. READ_ACP
: The grantee can read the object ACL for objects that Elastic Transcoder adds to the Amazon S3 bucket. WRITE_ACP
: The grantee can write the ACL for the objects that Elastic Transcoder adds to the Amazon S3 bucket. FULL_CONTROL
: The grantee has READ
, READ_ACP
, and WRITE_ACP
permissions for the objects that Elastic Transcoder adds to the Amazon S3 bucket.
- StorageClass: The Amazon S3 storage class,
Standard
or ReducedRedundancy
, that you want Elastic Transcoder to assign to the video files and playlists that it stores in your Amazon S3 bucket.
",
- "UpdatePipelineRequest$ThumbnailConfig": "The ThumbnailConfig
object specifies several values, including the Amazon S3 bucket in which you want Elastic Transcoder to save thumbnail files, which users you want to have access to the files, the type of access you want users to have, and the storage class that you want to assign to the files.
If you specify values for ContentConfig
, you must also specify values for ThumbnailConfig
even if you don't want to create thumbnails.
If you specify values for ContentConfig
and ThumbnailConfig
, omit the OutputBucket
object.
- Bucket: The Amazon S3 bucket in which you want Elastic Transcoder to save thumbnail files.
- Permissions (Optional): The
Permissions
object specifies which users and/or predefined Amazon S3 groups you want to have access to thumbnail files, and the type of access you want them to have. You can grant permissions to a maximum of 30 users and/or predefined Amazon S3 groups. - GranteeType: Specify the type of value that appears in the Grantee object:
- Canonical: The value in the
Grantee
object is either the canonical user ID for an AWS account or an origin access identity for an Amazon CloudFront distribution. A canonical user ID is not the same as an AWS account number. - Email: The value in the
Grantee
object is the registered email address of an AWS account. - Group: The value in the
Grantee
object is one of the following predefined Amazon S3 groups: AllUsers
, AuthenticatedUsers
, or LogDelivery
.
- Grantee: The AWS user or group that you want to have access to thumbnail files. To identify the user or group, you can specify the canonical user ID for an AWS account, an origin access identity for a CloudFront distribution, the registered email address of an AWS account, or a predefined Amazon S3 group.
- Access: The permission that you want to give to the AWS user that you specified in
Grantee
. Permissions are granted on the thumbnail files that Elastic Transcoder adds to the bucket. Valid values include: READ
: The grantee can read the thumbnails and metadata for objects that Elastic Transcoder adds to the Amazon S3 bucket. READ_ACP
: The grantee can read the object ACL for thumbnails that Elastic Transcoder adds to the Amazon S3 bucket. WRITE_ACP
: The grantee can write the ACL for the thumbnails that Elastic Transcoder adds to the Amazon S3 bucket. FULL_CONTROL
: The grantee has READ
, READ_ACP
, and WRITE_ACP
permissions for the thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.
- StorageClass: The Amazon S3 storage class,
Standard
or ReducedRedundancy
, that you want Elastic Transcoder to assign to the thumbnails that it stores in your Amazon S3 bucket.
"
+ "CreatePipelineRequest$ContentConfig": "The optional ContentConfig
object specifies information about the Amazon S3 bucket in which you want Elastic Transcoder to save transcoded files and playlists: which bucket to use, which users you want to have access to the files, the type of access you want users to have, and the storage class that you want to assign to the files.
If you specify values for ContentConfig
, you must also specify values for ThumbnailConfig
.
If you specify values for ContentConfig
and ThumbnailConfig
, omit the OutputBucket
object.
-
Bucket: The Amazon S3 bucket in which you want Elastic Transcoder to save transcoded files and playlists.
-
Permissions (Optional): The Permissions object specifies which users you want to have access to transcoded files and the type of access you want them to have. You can grant permissions to a maximum of 30 users and/or predefined Amazon S3 groups.
-
Grantee Type: Specify the type of value that appears in the Grantee
object:
-
Canonical: The value in the Grantee
object is either the canonical user ID for an AWS account or an origin access identity for an Amazon CloudFront distribution. For more information about canonical user IDs, see Access Control List (ACL) Overview in the Amazon Simple Storage Service Developer Guide. For more information about using CloudFront origin access identities to require that users use CloudFront URLs instead of Amazon S3 URLs, see Using an Origin Access Identity to Restrict Access to Your Amazon S3 Content.
A canonical user ID is not the same as an AWS account number.
-
Email: The value in the Grantee
object is the registered email address of an AWS account.
-
Group: The value in the Grantee
object is one of the following predefined Amazon S3 groups: AllUsers
, AuthenticatedUsers
, or LogDelivery
.
-
Grantee: The AWS user or group that you want to have access to transcoded files and playlists. To identify the user or group, you can specify the canonical user ID for an AWS account, an origin access identity for a CloudFront distribution, the registered email address of an AWS account, or a predefined Amazon S3 group
-
Access: The permission that you want to give to the AWS user that you specified in Grantee
. Permissions are granted on the files that Elastic Transcoder adds to the bucket, including playlists and video files. Valid values include:
-
READ
: The grantee can read the objects and metadata for objects that Elastic Transcoder adds to the Amazon S3 bucket.
-
READ_ACP
: The grantee can read the object ACL for objects that Elastic Transcoder adds to the Amazon S3 bucket.
-
WRITE_ACP
: The grantee can write the ACL for the objects that Elastic Transcoder adds to the Amazon S3 bucket.
-
FULL_CONTROL
: The grantee has READ
, READ_ACP
, and WRITE_ACP
permissions for the objects that Elastic Transcoder adds to the Amazon S3 bucket.
-
StorageClass: The Amazon S3 storage class, Standard
or ReducedRedundancy
, that you want Elastic Transcoder to assign to the video files and playlists that it stores in your Amazon S3 bucket.
",
+ "CreatePipelineRequest$ThumbnailConfig": "The ThumbnailConfig
object specifies several values, including the Amazon S3 bucket in which you want Elastic Transcoder to save thumbnail files, which users you want to have access to the files, the type of access you want users to have, and the storage class that you want to assign to the files.
If you specify values for ContentConfig
, you must also specify values for ThumbnailConfig
even if you don't want to create thumbnails.
If you specify values for ContentConfig
and ThumbnailConfig
, omit the OutputBucket
object.
-
Bucket: The Amazon S3 bucket in which you want Elastic Transcoder to save thumbnail files.
-
Permissions (Optional): The Permissions
object specifies which users and/or predefined Amazon S3 groups you want to have access to thumbnail files, and the type of access you want them to have. You can grant permissions to a maximum of 30 users and/or predefined Amazon S3 groups.
-
GranteeType: Specify the type of value that appears in the Grantee object:
-
Canonical: The value in the Grantee
object is either the canonical user ID for an AWS account or an origin access identity for an Amazon CloudFront distribution.
A canonical user ID is not the same as an AWS account number.
-
Email: The value in the Grantee
object is the registered email address of an AWS account.
-
Group: The value in the Grantee
object is one of the following predefined Amazon S3 groups: AllUsers
, AuthenticatedUsers
, or LogDelivery
.
-
Grantee: The AWS user or group that you want to have access to thumbnail files. To identify the user or group, you can specify the canonical user ID for an AWS account, an origin access identity for a CloudFront distribution, the registered email address of an AWS account, or a predefined Amazon S3 group.
-
Access: The permission that you want to give to the AWS user that you specified in Grantee
. Permissions are granted on the thumbnail files that Elastic Transcoder adds to the bucket. Valid values include:
-
READ
: The grantee can read the thumbnails and metadata for objects that Elastic Transcoder adds to the Amazon S3 bucket.
-
READ_ACP
: The grantee can read the object ACL for thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.
-
WRITE_ACP
: The grantee can write the ACL for the thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.
-
FULL_CONTROL
: The grantee has READ
, READ_ACP
, and WRITE_ACP
permissions for the thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.
-
StorageClass: The Amazon S3 storage class, Standard
or ReducedRedundancy
, that you want Elastic Transcoder to assign to the thumbnails that it stores in your Amazon S3 bucket.
",
+ "Pipeline$ContentConfig": "Information about the Amazon S3 bucket in which you want Elastic Transcoder to save transcoded files and playlists. Either you specify both ContentConfig
and ThumbnailConfig
, or you specify OutputBucket
.
-
Bucket: The Amazon S3 bucket in which you want Elastic Transcoder to save transcoded files and playlists.
-
Permissions: A list of the users and/or predefined Amazon S3 groups you want to have access to transcoded files and playlists, and the type of access that you want them to have.
-
GranteeType: The type of value that appears in the Grantee
object:
-
Canonical
: Either the canonical user ID for an AWS account or an origin access identity for an Amazon CloudFront distribution.
-
Email
: The registered email address of an AWS account.
-
Group
: One of the following predefined Amazon S3 groups: AllUsers
, AuthenticatedUsers
, or LogDelivery
.
-
Grantee
: The AWS user or group that you want to have access to transcoded files and playlists.
-
Access
: The permission that you want to give to the AWS user that is listed in Grantee
. Valid values include:
-
READ
: The grantee can read the objects and metadata for objects that Elastic Transcoder adds to the Amazon S3 bucket.
-
READ_ACP
: The grantee can read the object ACL for objects that Elastic Transcoder adds to the Amazon S3 bucket.
-
WRITE_ACP
: The grantee can write the ACL for the objects that Elastic Transcoder adds to the Amazon S3 bucket.
-
FULL_CONTROL
: The grantee has READ
, READ_ACP
, and WRITE_ACP
permissions for the objects that Elastic Transcoder adds to the Amazon S3 bucket.
-
StorageClass: The Amazon S3 storage class, Standard or ReducedRedundancy, that you want Elastic Transcoder to assign to the video files and playlists that it stores in your Amazon S3 bucket.
",
+ "Pipeline$ThumbnailConfig": "Information about the Amazon S3 bucket in which you want Elastic Transcoder to save thumbnail files. Either you specify both ContentConfig
and ThumbnailConfig
, or you specify OutputBucket
.
-
Bucket
: The Amazon S3 bucket in which you want Elastic Transcoder to save thumbnail files.
-
Permissions
: A list of the users and/or predefined Amazon S3 groups you want to have access to thumbnail files, and the type of access that you want them to have.
-
GranteeType: The type of value that appears in the Grantee object:
-
Canonical
: Either the canonical user ID for an AWS account or an origin access identity for an Amazon CloudFront distribution.
A canonical user ID is not the same as an AWS account number.
-
Email
: The registered email address of an AWS account.
-
Group
: One of the following predefined Amazon S3 groups: AllUsers
, AuthenticatedUsers
, or LogDelivery
.
-
Grantee
: The AWS user or group that you want to have access to thumbnail files.
-
Access: The permission that you want to give to the AWS user that is listed in Grantee. Valid values include:
-
READ
: The grantee can read the thumbnails and metadata for thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.
-
READ_ACP
: The grantee can read the object ACL for thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.
-
WRITE_ACP
: The grantee can write the ACL for the thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.
-
FULL_CONTROL
: The grantee has READ, READ_ACP, and WRITE_ACP permissions for the thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.
-
StorageClass
: The Amazon S3 storage class, Standard
or ReducedRedundancy
, that you want Elastic Transcoder to assign to the thumbnails that it stores in your Amazon S3 bucket.
",
+ "UpdatePipelineRequest$ContentConfig": "The optional ContentConfig
object specifies information about the Amazon S3 bucket in which you want Elastic Transcoder to save transcoded files and playlists: which bucket to use, which users you want to have access to the files, the type of access you want users to have, and the storage class that you want to assign to the files.
If you specify values for ContentConfig
, you must also specify values for ThumbnailConfig
.
If you specify values for ContentConfig
and ThumbnailConfig
, omit the OutputBucket
object.
-
Bucket: The Amazon S3 bucket in which you want Elastic Transcoder to save transcoded files and playlists.
-
Permissions (Optional): The Permissions object specifies which users you want to have access to transcoded files and the type of access you want them to have. You can grant permissions to a maximum of 30 users and/or predefined Amazon S3 groups.
-
Grantee Type: Specify the type of value that appears in the Grantee
object:
-
Canonical: The value in the Grantee
object is either the canonical user ID for an AWS account or an origin access identity for an Amazon CloudFront distribution. For more information about canonical user IDs, see Access Control List (ACL) Overview in the Amazon Simple Storage Service Developer Guide. For more information about using CloudFront origin access identities to require that users use CloudFront URLs instead of Amazon S3 URLs, see Using an Origin Access Identity to Restrict Access to Your Amazon S3 Content.
A canonical user ID is not the same as an AWS account number.
-
Email: The value in the Grantee
object is the registered email address of an AWS account.
-
Group: The value in the Grantee
object is one of the following predefined Amazon S3 groups: AllUsers
, AuthenticatedUsers
, or LogDelivery
.
-
Grantee: The AWS user or group that you want to have access to transcoded files and playlists. To identify the user or group, you can specify the canonical user ID for an AWS account, an origin access identity for a CloudFront distribution, the registered email address of an AWS account, or a predefined Amazon S3 group
-
Access: The permission that you want to give to the AWS user that you specified in Grantee
. Permissions are granted on the files that Elastic Transcoder adds to the bucket, including playlists and video files. Valid values include:
-
READ
: The grantee can read the objects and metadata for objects that Elastic Transcoder adds to the Amazon S3 bucket.
-
READ_ACP
: The grantee can read the object ACL for objects that Elastic Transcoder adds to the Amazon S3 bucket.
-
WRITE_ACP
: The grantee can write the ACL for the objects that Elastic Transcoder adds to the Amazon S3 bucket.
-
FULL_CONTROL
: The grantee has READ
, READ_ACP
, and WRITE_ACP
permissions for the objects that Elastic Transcoder adds to the Amazon S3 bucket.
-
StorageClass: The Amazon S3 storage class, Standard
or ReducedRedundancy
, that you want Elastic Transcoder to assign to the video files and playlists that it stores in your Amazon S3 bucket.
",
+ "UpdatePipelineRequest$ThumbnailConfig": "The ThumbnailConfig
object specifies several values, including the Amazon S3 bucket in which you want Elastic Transcoder to save thumbnail files, which users you want to have access to the files, the type of access you want users to have, and the storage class that you want to assign to the files.
If you specify values for ContentConfig
, you must also specify values for ThumbnailConfig
even if you don't want to create thumbnails.
If you specify values for ContentConfig
and ThumbnailConfig
, omit the OutputBucket
object.
-
Bucket: The Amazon S3 bucket in which you want Elastic Transcoder to save thumbnail files.
-
Permissions (Optional): The Permissions
object specifies which users and/or predefined Amazon S3 groups you want to have access to thumbnail files, and the type of access you want them to have. You can grant permissions to a maximum of 30 users and/or predefined Amazon S3 groups.
-
GranteeType: Specify the type of value that appears in the Grantee object:
-
Canonical: The value in the Grantee
object is either the canonical user ID for an AWS account or an origin access identity for an Amazon CloudFront distribution.
A canonical user ID is not the same as an AWS account number.
-
Email: The value in the Grantee
object is the registered email address of an AWS account.
-
Group: The value in the Grantee
object is one of the following predefined Amazon S3 groups: AllUsers
, AuthenticatedUsers
, or LogDelivery
.
-
Grantee: The AWS user or group that you want to have access to thumbnail files. To identify the user or group, you can specify the canonical user ID for an AWS account, an origin access identity for a CloudFront distribution, the registered email address of an AWS account, or a predefined Amazon S3 group.
-
Access: The permission that you want to give to the AWS user that you specified in Grantee
. Permissions are granted on the thumbnail files that Elastic Transcoder adds to the bucket. Valid values include:
-
READ
: The grantee can read the thumbnails and metadata for objects that Elastic Transcoder adds to the Amazon S3 bucket.
-
READ_ACP
: The grantee can read the object ACL for thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.
-
WRITE_ACP
: The grantee can write the ACL for the thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.
-
FULL_CONTROL
: The grantee has READ
, READ_ACP
, and WRITE_ACP
permissions for the thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.
-
StorageClass: The Amazon S3 storage class, Standard
or ReducedRedundancy
, that you want Elastic Transcoder to assign to the thumbnails that it stores in your Amazon S3 bucket.
"
}
},
"PipelineStatus": {
"base": null,
"refs": {
- "Pipeline$Status": "The current status of the pipeline:
Active
: The pipeline is processing jobs. Paused
: The pipeline is not currently processing jobs.
",
- "UpdatePipelineStatusRequest$Status": "The desired status of the pipeline:
-
Active
: The pipeline is processing jobs. -
Paused
: The pipeline is not currently processing jobs.
"
+ "Pipeline$Status": "The current status of the pipeline:
",
+ "UpdatePipelineStatusRequest$Status": "The desired status of the pipeline:
"
}
},
"Pipelines": {
@@ -785,10 +801,10 @@
"PixelsOrPercent": {
"base": null,
"refs": {
- "PresetWatermark$MaxWidth": "The maximum width of the watermark in one of the following formats:
- number of pixels (px): The minimum value is 16 pixels, and the maximum value is the value of
MaxWidth
. - integer percentage (%): The range of valid values is 0 to 100. Use the value of
Target
to specify whether you want Elastic Transcoder to include the black bars that are added by Elastic Transcoder, if any, in the calculation. If you specify the value in pixels, it must be less than or equal to the value of MaxWidth
.
",
- "PresetWatermark$MaxHeight": "The maximum height of the watermark in one of the following formats:
- number of pixels (px): The minimum value is 16 pixels, and the maximum value is the value of
MaxHeight
. - integer percentage (%): The range of valid values is 0 to 100. Use the value of
Target
to specify whether you want Elastic Transcoder to include the black bars that are added by Elastic Transcoder, if any, in the calculation.
If you specify the value in pixels, it must be less than or equal to the value of MaxHeight
.",
- "PresetWatermark$HorizontalOffset": "The amount by which you want the horizontal position of the watermark to be offset from the position specified by HorizontalAlign:
- number of pixels (px): The minimum value is 0 pixels, and the maximum value is the value of MaxWidth.
- integer percentage (%): The range of valid values is 0 to 100.
For example, if you specify Left for HorizontalAlign
and 5px for HorizontalOffset
, the left side of the watermark appears 5 pixels from the left border of the output video. HorizontalOffset
is only valid when the value of HorizontalAlign
is Left
or Right
. If you specify an offset that causes the watermark to extend beyond the left or right border and Elastic Transcoder has not added black bars, the watermark is cropped. If Elastic Transcoder has added black bars, the watermark extends into the black bars. If the watermark extends beyond the black bars, it is cropped.
Use the value of Target
to specify whether you want to include the black bars that are added by Elastic Transcoder, if any, in the offset calculation.
",
- "PresetWatermark$VerticalOffset": "VerticalOffset
The amount by which you want the vertical position of the watermark to be offset from the position specified by VerticalAlign:
- number of pixels (px): The minimum value is 0 pixels, and the maximum value is the value of
MaxHeight
. - integer percentage (%): The range of valid values is 0 to 100.
For example, if you specify Top
for VerticalAlign
and 5px
for VerticalOffset
, the top of the watermark appears 5 pixels from the top border of the output video. VerticalOffset
is only valid when the value of VerticalAlign is Top or Bottom.
If you specify an offset that causes the watermark to extend beyond the top or bottom border and Elastic Transcoder has not added black bars, the watermark is cropped. If Elastic Transcoder has added black bars, the watermark extends into the black bars. If the watermark extends beyond the black bars, it is cropped.
Use the value of Target
to specify whether you want Elastic Transcoder to include the black bars that are added by Elastic Transcoder, if any, in the offset calculation.
"
+ "PresetWatermark$MaxWidth": "The maximum width of the watermark in one of the following formats:
-
number of pixels (px): The minimum value is 16 pixels, and the maximum value is the value of MaxWidth
.
-
integer percentage (%): The range of valid values is 0 to 100. Use the value of Target
to specify whether you want Elastic Transcoder to include the black bars that are added by Elastic Transcoder, if any, in the calculation.
If you specify the value in pixels, it must be less than or equal to the value of MaxWidth
.
",
+ "PresetWatermark$MaxHeight": "The maximum height of the watermark in one of the following formats:
-
number of pixels (px): The minimum value is 16 pixels, and the maximum value is the value of MaxHeight
.
-
integer percentage (%): The range of valid values is 0 to 100. Use the value of Target
to specify whether you want Elastic Transcoder to include the black bars that are added by Elastic Transcoder, if any, in the calculation.
If you specify the value in pixels, it must be less than or equal to the value of MaxHeight
.
",
+ "PresetWatermark$HorizontalOffset": "The amount by which you want the horizontal position of the watermark to be offset from the position specified by HorizontalAlign:
-
number of pixels (px): The minimum value is 0 pixels, and the maximum value is the value of MaxWidth.
-
integer percentage (%): The range of valid values is 0 to 100.
For example, if you specify Left for HorizontalAlign
and 5px for HorizontalOffset
, the left side of the watermark appears 5 pixels from the left border of the output video.
HorizontalOffset
is only valid when the value of HorizontalAlign
is Left
or Right
. If you specify an offset that causes the watermark to extend beyond the left or right border and Elastic Transcoder has not added black bars, the watermark is cropped. If Elastic Transcoder has added black bars, the watermark extends into the black bars. If the watermark extends beyond the black bars, it is cropped.
Use the value of Target
to specify whether you want to include the black bars that are added by Elastic Transcoder, if any, in the offset calculation.
",
+ "PresetWatermark$VerticalOffset": " VerticalOffset
The amount by which you want the vertical position of the watermark to be offset from the position specified by VerticalAlign:
-
number of pixels (px): The minimum value is 0 pixels, and the maximum value is the value of MaxHeight
.
-
integer percentage (%): The range of valid values is 0 to 100.
For example, if you specify Top
for VerticalAlign
and 5px
for VerticalOffset
, the top of the watermark appears 5 pixels from the top border of the output video.
VerticalOffset
is only valid when the value of VerticalAlign is Top or Bottom.
If you specify an offset that causes the watermark to extend beyond the top or bottom border and Elastic Transcoder has not added black bars, the watermark is cropped. If Elastic Transcoder has added black bars, the watermark extends into the black bars. If the watermark extends beyond the black bars, it is cropped.
Use the value of Target
to specify whether you want Elastic Transcoder to include the black bars that are added by Elastic Transcoder, if any, in the offset calculation.
"
}
},
"PlayReadyDrm": {
@@ -820,13 +836,13 @@
"Playlists": {
"base": null,
"refs": {
- "Job$Playlists": "Outputs in Fragmented MP4 or MPEG-TS format only.If you specify a preset in PresetId
for which the value of Container
is fmp4 (Fragmented MP4) or ts (MPEG-TS), Playlists
contains information about the master playlists that you want Elastic Transcoder to create.
The maximum number of master playlists in a job is 30.
"
+ "Job$Playlists": " Outputs in Fragmented MP4 or MPEG-TS format only.
If you specify a preset in PresetId
for which the value of Container
is fmp4 (Fragmented MP4) or ts (MPEG-TS), Playlists
contains information about the master playlists that you want Elastic Transcoder to create.
The maximum number of master playlists in a job is 30.
"
}
},
"Preset": {
"base": "Presets are templates that contain most of the settings for transcoding media files from one format to another. Elastic Transcoder includes some default presets for common formats, for example, several iPod and iPhone versions. You can also create your own presets for formats that aren't included among the default presets. You specify which preset you want to use when you create a job.
",
"refs": {
- "CreatePresetResponse$Preset": " A section of the response body that provides information about the preset that is created.
",
+ "CreatePresetResponse$Preset": "A section of the response body that provides information about the preset that is created.
",
"Presets$member": null,
"ReadPresetResponse$Preset": "A section of the response body that provides information about the preset.
"
}
@@ -854,7 +870,7 @@
"base": null,
"refs": {
"JobWatermark$PresetWatermarkId": "The ID of the watermark settings that Elastic Transcoder uses to add watermarks to the video during transcoding. The settings are in the preset specified by Preset for the current output. In that preset, the value of Watermarks Id tells Elastic Transcoder which settings to use.
",
- "PresetWatermark$Id": "A unique identifier for the settings for one watermark. The value of Id
can be up to 40 characters long."
+ "PresetWatermark$Id": " A unique identifier for the settings for one watermark. The value of Id
can be up to 40 characters long.
"
}
},
"PresetWatermarks": {
@@ -903,16 +919,16 @@
"base": null,
"refs": {
"JobInput$Resolution": "This value must be auto
, which causes Elastic Transcoder to automatically detect the resolution of the input file.
",
- "VideoParameters$Resolution": " To better control resolution and aspect ratio of output videos, we recommend that you use the values MaxWidth
, MaxHeight
, SizingPolicy
, PaddingPolicy
, and DisplayAspectRatio
instead of Resolution
and AspectRatio
. The two groups of settings are mutually exclusive. Do not use them together.
The width and height of the video in the output file, in pixels. Valid values are auto
and width x height:
auto
: Elastic Transcoder attempts to preserve the width and height of the input file, subject to the following rules. width x height
: The width and height of the output video in pixels.
Note the following about specifying the width and height:
- The width must be an even integer between 128 and 4096, inclusive.
- The height must be an even integer between 96 and 3072, inclusive.
- If you specify a resolution that is less than the resolution of the input file, Elastic Transcoder rescales the output file to the lower resolution.
- If you specify a resolution that is greater than the resolution of the input file, Elastic Transcoder rescales the output to the higher resolution.
- We recommend that you specify a resolution for which the product of width and height is less than or equal to the applicable value in the following list (List - Max width x height value):
- 1 - 25344
- 1b - 25344
- 1.1 - 101376
- 1.2 - 101376
- 1.3 - 101376
- 2 - 101376
- 2.1 - 202752
- 2.2 - 404720
- 3 - 404720
- 3.1 - 921600
- 3.2 - 1310720
- 4 - 2097152
- 4.1 - 2097152
"
+ "VideoParameters$Resolution": " To better control resolution and aspect ratio of output videos, we recommend that you use the values MaxWidth
, MaxHeight
, SizingPolicy
, PaddingPolicy
, and DisplayAspectRatio
instead of Resolution
and AspectRatio
. The two groups of settings are mutually exclusive. Do not use them together.
The width and height of the video in the output file, in pixels. Valid values are auto
and width x height:
-
auto
: Elastic Transcoder attempts to preserve the width and height of the input file, subject to the following rules.
-
width x height
: The width and height of the output video in pixels.
Note the following about specifying the width and height:
-
The width must be an even integer between 128 and 4096, inclusive.
-
The height must be an even integer between 96 and 3072, inclusive.
-
If you specify a resolution that is less than the resolution of the input file, Elastic Transcoder rescales the output file to the lower resolution.
-
If you specify a resolution that is greater than the resolution of the input file, Elastic Transcoder rescales the output to the higher resolution.
-
We recommend that you specify a resolution for which the product of width and height is less than or equal to the applicable value in the following list (List - Max width x height value):
-
1 - 25344
-
1b - 25344
-
1.1 - 101376
-
1.2 - 101376
-
1.3 - 101376
-
2 - 101376
-
2.1 - 202752
-
2.2 - 404720
-
3 - 404720
-
3.1 - 921600
-
3.2 - 1310720
-
4 - 2097152
-
4.1 - 2097152
"
}
},
"ResourceInUseException": {
- "base": " The resource you are attempting to change is in use. For example, you are attempting to delete a pipeline that is currently in use.
",
+ "base": "The resource you are attempting to change is in use. For example, you are attempting to delete a pipeline that is currently in use.
",
"refs": {
}
},
"ResourceNotFoundException": {
- "base": " The requested resource does not exist or is not available. For example, the pipeline to which you're trying to add a job doesn't exist or is still being created.
",
+ "base": "The requested resource does not exist or is not available. For example, the pipeline to which you're trying to add a job doesn't exist or is still being created.
",
"refs": {
}
},
@@ -929,15 +945,15 @@
"base": null,
"refs": {
"CreateJobOutput$Rotate": " The number of degrees clockwise by which you want Elastic Transcoder to rotate the output relative to the input. Enter one of the following values: auto
, 0
, 90
, 180
, 270
. The value auto
generally works only if the file that you're transcoding contains rotation metadata.
",
- "JobOutput$Rotate": " The number of degrees clockwise by which you want Elastic Transcoder to rotate the output relative to the input. Enter one of the following values:
auto
, 0
, 90
, 180
, 270
The value auto
generally works only if the file that you're transcoding contains rotation metadata.
"
+ "JobOutput$Rotate": "The number of degrees clockwise by which you want Elastic Transcoder to rotate the output relative to the input. Enter one of the following values:
auto
, 0
, 90
, 180
, 270
The value auto
generally works only if the file that you're transcoding contains rotation metadata.
"
}
},
"SizingPolicy": {
"base": null,
"refs": {
- "Artwork$SizingPolicy": "Specify one of the following values to control scaling of the output album art:
Fit:
Elastic Transcoder scales the output art so it matches the value that you specified in either MaxWidth
or MaxHeight
without exceeding the other value. Fill:
Elastic Transcoder scales the output art so it matches the value that you specified in either MaxWidth
or MaxHeight
and matches or exceeds the other value. Elastic Transcoder centers the output art and then crops it in the dimension (if any) that exceeds the maximum value. Stretch:
Elastic Transcoder stretches the output art to match the values that you specified for MaxWidth
and MaxHeight
. If the relative proportions of the input art and the output art are different, the output art will be distorted. Keep:
Elastic Transcoder does not scale the output art. If either dimension of the input art exceeds the values that you specified for MaxWidth
and MaxHeight
, Elastic Transcoder crops the output art. ShrinkToFit:
Elastic Transcoder scales the output art down so that its dimensions match the values that you specified for at least one of MaxWidth
and MaxHeight
without exceeding either value. If you specify this option, Elastic Transcoder does not scale the art up. ShrinkToFill
Elastic Transcoder scales the output art down so that its dimensions match the values that you specified for at least one of MaxWidth
and MaxHeight
without dropping below either value. If you specify this option, Elastic Transcoder does not scale the art up.
",
- "Thumbnails$SizingPolicy": "Specify one of the following values to control scaling of thumbnails:
Fit
: Elastic Transcoder scales thumbnails so they match the value that you specified in thumbnail MaxWidth or MaxHeight settings without exceeding the other value. Fill
: Elastic Transcoder scales thumbnails so they match the value that you specified in thumbnail MaxWidth
or MaxHeight
settings and matches or exceeds the other value. Elastic Transcoder centers the image in thumbnails and then crops in the dimension (if any) that exceeds the maximum value. Stretch
: Elastic Transcoder stretches thumbnails to match the values that you specified for thumbnail MaxWidth
and MaxHeight
settings. If the relative proportions of the input video and thumbnails are different, the thumbnails will be distorted. Keep
: Elastic Transcoder does not scale thumbnails. If either dimension of the input video exceeds the values that you specified for thumbnail MaxWidth
and MaxHeight
settings, Elastic Transcoder crops the thumbnails. ShrinkToFit
: Elastic Transcoder scales thumbnails down so that their dimensions match the values that you specified for at least one of thumbnail MaxWidth
and MaxHeight
without exceeding either value. If you specify this option, Elastic Transcoder does not scale thumbnails up. ShrinkToFill
: Elastic Transcoder scales thumbnails down so that their dimensions match the values that you specified for at least one of MaxWidth
and MaxHeight
without dropping below either value. If you specify this option, Elastic Transcoder does not scale thumbnails up.
",
- "VideoParameters$SizingPolicy": "Specify one of the following values to control scaling of the output video:
Fit
: Elastic Transcoder scales the output video so it matches the value that you specified in either MaxWidth
or MaxHeight
without exceeding the other value. Fill
: Elastic Transcoder scales the output video so it matches the value that you specified in either MaxWidth
or MaxHeight
and matches or exceeds the other value. Elastic Transcoder centers the output video and then crops it in the dimension (if any) that exceeds the maximum value. Stretch
: Elastic Transcoder stretches the output video to match the values that you specified for MaxWidth
and MaxHeight
. If the relative proportions of the input video and the output video are different, the output video will be distorted. Keep
: Elastic Transcoder does not scale the output video. If either dimension of the input video exceeds the values that you specified for MaxWidth
and MaxHeight
, Elastic Transcoder crops the output video. ShrinkToFit
: Elastic Transcoder scales the output video down so that its dimensions match the values that you specified for at least one of MaxWidth
and MaxHeight
without exceeding either value. If you specify this option, Elastic Transcoder does not scale the video up. ShrinkToFill
: Elastic Transcoder scales the output video down so that its dimensions match the values that you specified for at least one of MaxWidth
and MaxHeight
without dropping below either value. If you specify this option, Elastic Transcoder does not scale the video up.
"
+ "Artwork$SizingPolicy": "Specify one of the following values to control scaling of the output album art:
-
Fit:
Elastic Transcoder scales the output art so it matches the value that you specified in either MaxWidth
or MaxHeight
without exceeding the other value.
-
Fill:
Elastic Transcoder scales the output art so it matches the value that you specified in either MaxWidth
or MaxHeight
and matches or exceeds the other value. Elastic Transcoder centers the output art and then crops it in the dimension (if any) that exceeds the maximum value.
-
Stretch:
Elastic Transcoder stretches the output art to match the values that you specified for MaxWidth
and MaxHeight
. If the relative proportions of the input art and the output art are different, the output art will be distorted.
-
Keep:
Elastic Transcoder does not scale the output art. If either dimension of the input art exceeds the values that you specified for MaxWidth
and MaxHeight
, Elastic Transcoder crops the output art.
-
ShrinkToFit:
Elastic Transcoder scales the output art down so that its dimensions match the values that you specified for at least one of MaxWidth
and MaxHeight
without exceeding either value. If you specify this option, Elastic Transcoder does not scale the art up.
-
ShrinkToFill
Elastic Transcoder scales the output art down so that its dimensions match the values that you specified for at least one of MaxWidth
and MaxHeight
without dropping below either value. If you specify this option, Elastic Transcoder does not scale the art up.
",
+ "Thumbnails$SizingPolicy": "Specify one of the following values to control scaling of thumbnails:
-
Fit
: Elastic Transcoder scales thumbnails so they match the value that you specified in thumbnail MaxWidth or MaxHeight settings without exceeding the other value.
-
Fill
: Elastic Transcoder scales thumbnails so they match the value that you specified in thumbnail MaxWidth
or MaxHeight
settings and matches or exceeds the other value. Elastic Transcoder centers the image in thumbnails and then crops in the dimension (if any) that exceeds the maximum value.
-
Stretch
: Elastic Transcoder stretches thumbnails to match the values that you specified for thumbnail MaxWidth
and MaxHeight
settings. If the relative proportions of the input video and thumbnails are different, the thumbnails will be distorted.
-
Keep
: Elastic Transcoder does not scale thumbnails. If either dimension of the input video exceeds the values that you specified for thumbnail MaxWidth
and MaxHeight
settings, Elastic Transcoder crops the thumbnails.
-
ShrinkToFit
: Elastic Transcoder scales thumbnails down so that their dimensions match the values that you specified for at least one of thumbnail MaxWidth
and MaxHeight
without exceeding either value. If you specify this option, Elastic Transcoder does not scale thumbnails up.
-
ShrinkToFill
: Elastic Transcoder scales thumbnails down so that their dimensions match the values that you specified for at least one of MaxWidth
and MaxHeight
without dropping below either value. If you specify this option, Elastic Transcoder does not scale thumbnails up.
",
+ "VideoParameters$SizingPolicy": "Specify one of the following values to control scaling of the output video:
-
Fit
: Elastic Transcoder scales the output video so it matches the value that you specified in either MaxWidth
or MaxHeight
without exceeding the other value.
-
Fill
: Elastic Transcoder scales the output video so it matches the value that you specified in either MaxWidth
or MaxHeight
and matches or exceeds the other value. Elastic Transcoder centers the output video and then crops it in the dimension (if any) that exceeds the maximum value.
-
Stretch
: Elastic Transcoder stretches the output video to match the values that you specified for MaxWidth
and MaxHeight
. If the relative proportions of the input video and the output video are different, the output video will be distorted.
-
Keep
: Elastic Transcoder does not scale the output video. If either dimension of the input video exceeds the values that you specified for MaxWidth
and MaxHeight
, Elastic Transcoder crops the output video.
-
ShrinkToFit
: Elastic Transcoder scales the output video down so that its dimensions match the values that you specified for at least one of MaxWidth
and MaxHeight
without exceeding either value. If you specify this option, Elastic Transcoder does not scale the video up.
-
ShrinkToFill
: Elastic Transcoder scales the output video down so that its dimensions match the values that you specified for at least one of MaxWidth
and MaxHeight
without dropping below either value. If you specify this option, Elastic Transcoder does not scale the video up.
"
}
},
"SnsTopic": {
@@ -969,13 +985,13 @@
"ExceptionMessages$member": null,
"Job$Arn": "The Amazon Resource Name (ARN) for the job.
",
"JobOutput$Id": "A sequential counter, starting with 1, that identifies an output among the outputs from the current job. In the Output syntax, this value is always 1.
",
- "JobOutput$AppliedColorSpaceConversion": "If Elastic Transcoder used a preset with a ColorSpaceConversionMode
to transcode the output file, the AppliedColorSpaceConversion
parameter shows the conversion used. If no ColorSpaceConversionMode
was defined in the preset, this parameter will not be included in the job response.
",
+ "JobOutput$AppliedColorSpaceConversion": "If Elastic Transcoder used a preset with a ColorSpaceConversionMode
to transcode the output file, the AppliedColorSpaceConversion
parameter shows the conversion used. If no ColorSpaceConversionMode
was defined in the preset, this parameter is not be included in the job response.
",
"Pipeline$Arn": "The Amazon Resource Name (ARN) for the pipeline.
",
"Preset$Arn": "The Amazon Resource Name (ARN) for the preset.
",
"UserMetadata$key": null,
"UserMetadata$value": null,
"Warning$Code": "The code of the cross-regional warning.
",
- "Warning$Message": "The message explaining what resources are in a different region from the pipeline.
Note: AWS KMS keys must be in the same region as the pipeline.
"
+ "Warning$Message": "The message explaining what resources are in a different region from the pipeline.
AWS KMS keys must be in the same region as the pipeline.
"
}
},
"Success": {
@@ -987,7 +1003,7 @@
"Target": {
"base": null,
"refs": {
- "PresetWatermark$Target": "A value that determines how Elastic Transcoder interprets values that you specified for HorizontalOffset
, VerticalOffset
, MaxWidth
, and MaxHeight
:
- Content:
HorizontalOffset
and VerticalOffset
values are calculated based on the borders of the video excluding black bars added by Elastic Transcoder, if any. In addition, MaxWidth
and MaxHeight
, if specified as a percentage, are calculated based on the borders of the video excluding black bars added by Elastic Transcoder, if any. - Frame:
HorizontalOffset
and VerticalOffset
values are calculated based on the borders of the video including black bars added by Elastic Transcoder, if any. In addition, MaxWidth
and MaxHeight
, if specified as a percentage, are calculated based on the borders of the video including black bars added by Elastic Transcoder, if any.
"
+ "PresetWatermark$Target": "A value that determines how Elastic Transcoder interprets values that you specified for HorizontalOffset
, VerticalOffset
, MaxWidth
, and MaxHeight
:
-
Content: HorizontalOffset
and VerticalOffset
values are calculated based on the borders of the video excluding black bars added by Elastic Transcoder, if any. In addition, MaxWidth
and MaxHeight
, if specified as a percentage, are calculated based on the borders of the video excluding black bars added by Elastic Transcoder, if any.
-
Frame: HorizontalOffset
and VerticalOffset
values are calculated based on the borders of the video including black bars added by Elastic Transcoder, if any. In addition, MaxWidth
and MaxHeight
, if specified as a percentage, are calculated based on the borders of the video including black bars added by Elastic Transcoder, if any.
"
}
},
"TestRoleRequest": {
@@ -1003,14 +1019,14 @@
"ThumbnailPattern": {
"base": null,
"refs": {
- "CreateJobOutput$ThumbnailPattern": "Whether you want Elastic Transcoder to create thumbnails for your videos and, if so, how you want Elastic Transcoder to name the files.
If you don't want Elastic Transcoder to create thumbnails, specify \"\".
If you do want Elastic Transcoder to create thumbnails, specify the information that you want to include in the file name for each thumbnail. You can specify the following values in any sequence:
-
{count}
(Required): If you want to create thumbnails, you must include {count}
in the ThumbnailPattern
object. Wherever you specify {count}
, Elastic Transcoder adds a five-digit sequence number (beginning with 00001) to thumbnail file names. The number indicates where a given thumbnail appears in the sequence of thumbnails for a transcoded file.
If you specify a literal value and/or {resolution}
but you omit {count}
, Elastic Transcoder returns a validation error and does not create the job. -
Literal values (Optional): You can specify literal values anywhere in the ThumbnailPattern
object. For example, you can include them as a file name prefix or as a delimiter between {resolution}
and {count}
.
-
{resolution}
(Optional): If you want Elastic Transcoder to include the resolution in the file name, include {resolution}
in the ThumbnailPattern
object.
When creating thumbnails, Elastic Transcoder automatically saves the files in the format (.jpg or .png) that appears in the preset that you specified in the PresetID
value of CreateJobOutput
. Elastic Transcoder also appends the applicable file name extension.
",
- "JobOutput$ThumbnailPattern": "Whether you want Elastic Transcoder to create thumbnails for your videos and, if so, how you want Elastic Transcoder to name the files.
If you don't want Elastic Transcoder to create thumbnails, specify \"\".
If you do want Elastic Transcoder to create thumbnails, specify the information that you want to include in the file name for each thumbnail. You can specify the following values in any sequence:
-
{count}
(Required): If you want to create thumbnails, you must include {count}
in the ThumbnailPattern
object. Wherever you specify {count}
, Elastic Transcoder adds a five-digit sequence number (beginning with 00001) to thumbnail file names. The number indicates where a given thumbnail appears in the sequence of thumbnails for a transcoded file.
If you specify a literal value and/or {resolution}
but you omit {count}
, Elastic Transcoder returns a validation error and does not create the job. -
Literal values (Optional): You can specify literal values anywhere in the ThumbnailPattern
object. For example, you can include them as a file name prefix or as a delimiter between {resolution}
and {count}
.
-
{resolution}
(Optional): If you want Elastic Transcoder to include the resolution in the file name, include {resolution}
in the ThumbnailPattern
object.
When creating thumbnails, Elastic Transcoder automatically saves the files in the format (.jpg or .png) that appears in the preset that you specified in the PresetID
value of CreateJobOutput
. Elastic Transcoder also appends the applicable file name extension.
"
+ "CreateJobOutput$ThumbnailPattern": "Whether you want Elastic Transcoder to create thumbnails for your videos and, if so, how you want Elastic Transcoder to name the files.
If you don't want Elastic Transcoder to create thumbnails, specify \"\".
If you do want Elastic Transcoder to create thumbnails, specify the information that you want to include in the file name for each thumbnail. You can specify the following values in any sequence:
-
{count}
(Required): If you want to create thumbnails, you must include {count}
in the ThumbnailPattern
object. Wherever you specify {count}
, Elastic Transcoder adds a five-digit sequence number (beginning with 00001) to thumbnail file names. The number indicates where a given thumbnail appears in the sequence of thumbnails for a transcoded file.
If you specify a literal value and/or {resolution}
but you omit {count}
, Elastic Transcoder returns a validation error and does not create the job.
-
Literal values (Optional): You can specify literal values anywhere in the ThumbnailPattern
object. For example, you can include them as a file name prefix or as a delimiter between {resolution}
and {count}
.
-
{resolution}
(Optional): If you want Elastic Transcoder to include the resolution in the file name, include {resolution}
in the ThumbnailPattern
object.
When creating thumbnails, Elastic Transcoder automatically saves the files in the format (.jpg or .png) that appears in the preset that you specified in the PresetID
value of CreateJobOutput
. Elastic Transcoder also appends the applicable file name extension.
",
+ "JobOutput$ThumbnailPattern": "Whether you want Elastic Transcoder to create thumbnails for your videos and, if so, how you want Elastic Transcoder to name the files.
If you don't want Elastic Transcoder to create thumbnails, specify \"\".
If you do want Elastic Transcoder to create thumbnails, specify the information that you want to include in the file name for each thumbnail. You can specify the following values in any sequence:
-
{count}
(Required): If you want to create thumbnails, you must include {count}
in the ThumbnailPattern
object. Wherever you specify {count}
, Elastic Transcoder adds a five-digit sequence number (beginning with 00001) to thumbnail file names. The number indicates where a given thumbnail appears in the sequence of thumbnails for a transcoded file.
If you specify a literal value and/or {resolution}
but you omit {count}
, Elastic Transcoder returns a validation error and does not create the job.
-
Literal values (Optional): You can specify literal values anywhere in the ThumbnailPattern
object. For example, you can include them as a file name prefix or as a delimiter between {resolution}
and {count}
.
-
{resolution}
(Optional): If you want Elastic Transcoder to include the resolution in the file name, include {resolution}
in the ThumbnailPattern
object.
When creating thumbnails, Elastic Transcoder automatically saves the files in the format (.jpg or .png) that appears in the preset that you specified in the PresetID
value of CreateJobOutput
. Elastic Transcoder also appends the applicable file name extension.
"
}
},
"ThumbnailResolution": {
"base": null,
"refs": {
- "Thumbnails$Resolution": " To better control resolution and aspect ratio of thumbnails, we recommend that you use the values MaxWidth
, MaxHeight
, SizingPolicy
, and PaddingPolicy
instead of Resolution
and AspectRatio
. The two groups of settings are mutually exclusive. Do not use them together.
The width and height of thumbnail files in pixels. Specify a value in the format width
x height
where both values are even integers. The values cannot exceed the width and height that you specified in the Video:Resolution
object.
"
+ "Thumbnails$Resolution": " To better control resolution and aspect ratio of thumbnails, we recommend that you use the values MaxWidth
, MaxHeight
, SizingPolicy
, and PaddingPolicy
instead of Resolution
and AspectRatio
. The two groups of settings are mutually exclusive. Do not use them together.
The width and height of thumbnail files in pixels. Specify a value in the format width
x height
where both values are even integers. The values cannot exceed the width and height that you specified in the Video:Resolution
object.
"
}
},
"Thumbnails": {
@@ -1036,7 +1052,8 @@
"TimeSpan": {
"base": "Settings that determine when a clip begins and how long it lasts.
",
"refs": {
- "Clip$TimeSpan": "Settings that determine when a clip begins and how long it lasts.
"
+ "Clip$TimeSpan": "Settings that determine when a clip begins and how long it lasts.
",
+ "JobInput$TimeSpan": "Settings for clipping an input. Each input can have different clip settings.
"
}
},
"Timing": {
@@ -1061,7 +1078,7 @@
}
},
"UpdatePipelineResponse": {
- "base": "When you update a pipeline, Elastic Transcoder returns the values that you specified in the request.
",
+ "base": "When you update a pipeline, Elastic Transcoder returns the values that you specified in the request.
",
"refs": {
}
},
@@ -1071,15 +1088,15 @@
}
},
"UpdatePipelineStatusResponse": {
- "base": "When you update status for a pipeline, Elastic Transcoder returns the values that you specified in the request.",
+ "base": "When you update status for a pipeline, Elastic Transcoder returns the values that you specified in the request.
",
"refs": {
}
},
"UserMetadata": {
"base": null,
"refs": {
- "CreateJobRequest$UserMetadata": "User-defined metadata that you want to associate with an Elastic Transcoder job. You specify metadata in key/value
pairs, and you can add up to 10 key/value
pairs per job. Elastic Transcoder does not guarantee that key/value
pairs will be returned in the same order in which you specify them.
",
- "Job$UserMetadata": "User-defined metadata that you want to associate with an Elastic Transcoder job. You specify metadata in key/value
pairs, and you can add up to 10 key/value
pairs per job. Elastic Transcoder does not guarantee that key/value
pairs will be returned in the same order in which you specify them.
Metadata keys
and values
must use characters from the following list:
"
+ "CreateJobRequest$UserMetadata": "User-defined metadata that you want to associate with an Elastic Transcoder job. You specify metadata in key/value
pairs, and you can add up to 10 key/value
pairs per job. Elastic Transcoder does not guarantee that key/value
pairs are returned in the same order in which you specify them.
",
+ "Job$UserMetadata": "User-defined metadata that you want to associate with an Elastic Transcoder job. You specify metadata in key/value
pairs, and you can add up to 10 key/value
pairs per job. Elastic Transcoder does not guarantee that key/value
pairs are returned in the same order in which you specify them.
Metadata keys
and values
must use characters from the following list:
"
}
},
"ValidationException": {
@@ -1090,19 +1107,19 @@
"VerticalAlign": {
"base": null,
"refs": {
- "PresetWatermark$VerticalAlign": "The vertical position of the watermark unless you specify a non-zero value for VerticalOffset
:
- Top: The top edge of the watermark is aligned with the top border of the video.
- Bottom: The bottom edge of the watermark is aligned with the bottom border of the video.
- Center: The watermark is centered between the top and bottom borders.
"
+ "PresetWatermark$VerticalAlign": "The vertical position of the watermark unless you specify a non-zero value for VerticalOffset
:
-
Top: The top edge of the watermark is aligned with the top border of the video.
-
Bottom: The bottom edge of the watermark is aligned with the bottom border of the video.
-
Center: The watermark is centered between the top and bottom borders.
"
}
},
"VideoBitRate": {
"base": null,
"refs": {
- "VideoParameters$BitRate": "The bit rate of the video stream in the output file, in kilobits/second. Valid values depend on the values of Level
and Profile
. If you specify auto
, Elastic Transcoder uses the detected bit rate of the input source. If you specify a value other than auto
, we recommend that you specify a value less than or equal to the maximum H.264-compliant value listed for your level and profile:
Level - Maximum video bit rate in kilobits/second (baseline and main Profile) : maximum video bit rate in kilobits/second (high Profile)
- 1 - 64 : 80
- 1b - 128 : 160
- 1.1 - 192 : 240
- 1.2 - 384 : 480
- 1.3 - 768 : 960
- 2 - 2000 : 2500
- 3 - 10000 : 12500
- 3.1 - 14000 : 17500
- 3.2 - 20000 : 25000
- 4 - 20000 : 25000
- 4.1 - 50000 : 62500
"
+ "VideoParameters$BitRate": "The bit rate of the video stream in the output file, in kilobits/second. Valid values depend on the values of Level
and Profile
. If you specify auto
, Elastic Transcoder uses the detected bit rate of the input source. If you specify a value other than auto
, we recommend that you specify a value less than or equal to the maximum H.264-compliant value listed for your level and profile:
Level - Maximum video bit rate in kilobits/second (baseline and main Profile) : maximum video bit rate in kilobits/second (high Profile)
-
1 - 64 : 80
-
1b - 128 : 160
-
1.1 - 192 : 240
-
1.2 - 384 : 480
-
1.3 - 768 : 960
-
2 - 2000 : 2500
-
3 - 10000 : 12500
-
3.1 - 14000 : 17500
-
3.2 - 20000 : 25000
-
4 - 20000 : 25000
-
4.1 - 50000 : 62500
"
}
},
"VideoCodec": {
"base": null,
"refs": {
- "VideoParameters$Codec": "The video codec for the output file. Valid values include gif
, H.264
, mpeg2
, and vp8
. You can only specify vp8
when the container type is webm
, gif
when the container type is gif
, and mpeg2
when the container type is mpg
.
"
+ "VideoParameters$Codec": "The video codec for the output file. Valid values include gif
, H.264
, mpeg2
, vp8
, and vp9
. You can only specify vp8
and vp9
when the container type is webm
, gif
when the container type is gif
, and mpeg2
when the container type is mpg
.
"
}
},
"VideoParameters": {
@@ -1136,7 +1153,7 @@
"WatermarkSizingPolicy": {
"base": null,
"refs": {
- "PresetWatermark$SizingPolicy": "A value that controls scaling of the watermark:
- Fit: Elastic Transcoder scales the watermark so it matches the value that you specified in either
MaxWidth
or MaxHeight
without exceeding the other value. - Stretch: Elastic Transcoder stretches the watermark to match the values that you specified for
MaxWidth
and MaxHeight
. If the relative proportions of the watermark and the values of MaxWidth
and MaxHeight
are different, the watermark will be distorted. - ShrinkToFit: Elastic Transcoder scales the watermark down so that its dimensions match the values that you specified for at least one of
MaxWidth
and MaxHeight
without exceeding either value. If you specify this option, Elastic Transcoder does not scale the watermark up.
"
+ "PresetWatermark$SizingPolicy": "A value that controls scaling of the watermark:
-
Fit: Elastic Transcoder scales the watermark so it matches the value that you specified in either MaxWidth
or MaxHeight
without exceeding the other value.
-
Stretch: Elastic Transcoder stretches the watermark to match the values that you specified for MaxWidth
and MaxHeight
. If the relative proportions of the watermark and the values of MaxWidth
and MaxHeight
are different, the watermark will be distorted.
-
ShrinkToFit: Elastic Transcoder scales the watermark down so that its dimensions match the values that you specified for at least one of MaxWidth
and MaxHeight
without exceeding either value. If you specify this option, Elastic Transcoder does not scale the watermark up.
"
}
},
"ZeroTo255String": {
diff --git a/vendor/github.com/aws/aws-sdk-go/models/apis/elastictranscoder/2012-09-25/examples-1.json b/vendor/github.com/aws/aws-sdk-go/models/apis/elastictranscoder/2012-09-25/examples-1.json
new file mode 100644
index 0000000..0ea7e3b
--- /dev/null
+++ b/vendor/github.com/aws/aws-sdk-go/models/apis/elastictranscoder/2012-09-25/examples-1.json
@@ -0,0 +1,5 @@
+{
+ "version": "1.0",
+ "examples": {
+ }
+}
diff --git a/vendor/github.com/aws/aws-sdk-go/models/apis/email/2010-12-01/api-2.json b/vendor/github.com/aws/aws-sdk-go/models/apis/email/2010-12-01/api-2.json
index 7d21f19..7c95917 100644
--- a/vendor/github.com/aws/aws-sdk-go/models/apis/email/2010-12-01/api-2.json
+++ b/vendor/github.com/aws/aws-sdk-go/models/apis/email/2010-12-01/api-2.json
@@ -28,6 +28,42 @@
{"shape":"LimitExceededException"}
]
},
+ "CreateConfigurationSet":{
+ "name":"CreateConfigurationSet",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"CreateConfigurationSetRequest"},
+ "output":{
+ "shape":"CreateConfigurationSetResponse",
+ "resultWrapper":"CreateConfigurationSetResult"
+ },
+ "errors":[
+ {"shape":"ConfigurationSetAlreadyExistsException"},
+ {"shape":"InvalidConfigurationSetException"},
+ {"shape":"LimitExceededException"}
+ ]
+ },
+ "CreateConfigurationSetEventDestination":{
+ "name":"CreateConfigurationSetEventDestination",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"CreateConfigurationSetEventDestinationRequest"},
+ "output":{
+ "shape":"CreateConfigurationSetEventDestinationResponse",
+ "resultWrapper":"CreateConfigurationSetEventDestinationResult"
+ },
+ "errors":[
+ {"shape":"ConfigurationSetDoesNotExistException"},
+ {"shape":"EventDestinationAlreadyExistsException"},
+ {"shape":"InvalidCloudWatchDestinationException"},
+ {"shape":"InvalidFirehoseDestinationException"},
+ {"shape":"LimitExceededException"}
+ ]
+ },
"CreateReceiptFilter":{
"name":"CreateReceiptFilter",
"http":{
@@ -81,6 +117,37 @@
{"shape":"LimitExceededException"}
]
},
+ "DeleteConfigurationSet":{
+ "name":"DeleteConfigurationSet",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"DeleteConfigurationSetRequest"},
+ "output":{
+ "shape":"DeleteConfigurationSetResponse",
+ "resultWrapper":"DeleteConfigurationSetResult"
+ },
+ "errors":[
+ {"shape":"ConfigurationSetDoesNotExistException"}
+ ]
+ },
+ "DeleteConfigurationSetEventDestination":{
+ "name":"DeleteConfigurationSetEventDestination",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"DeleteConfigurationSetEventDestinationRequest"},
+ "output":{
+ "shape":"DeleteConfigurationSetEventDestinationResponse",
+ "resultWrapper":"DeleteConfigurationSetEventDestinationResult"
+ },
+ "errors":[
+ {"shape":"ConfigurationSetDoesNotExistException"},
+ {"shape":"EventDestinationDoesNotExistException"}
+ ]
+ },
"DeleteIdentity":{
"name":"DeleteIdentity",
"http":{
@@ -167,6 +234,21 @@
"resultWrapper":"DescribeActiveReceiptRuleSetResult"
}
},
+ "DescribeConfigurationSet":{
+ "name":"DescribeConfigurationSet",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"DescribeConfigurationSetRequest"},
+ "output":{
+ "shape":"DescribeConfigurationSetResponse",
+ "resultWrapper":"DescribeConfigurationSetResult"
+ },
+ "errors":[
+ {"shape":"ConfigurationSetDoesNotExistException"}
+ ]
+ },
"DescribeReceiptRule":{
"name":"DescribeReceiptRule",
"http":{
@@ -280,6 +362,18 @@
"resultWrapper":"GetSendStatisticsResult"
}
},
+ "ListConfigurationSets":{
+ "name":"ListConfigurationSets",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"ListConfigurationSetsRequest"},
+ "output":{
+ "shape":"ListConfigurationSetsResponse",
+ "resultWrapper":"ListConfigurationSetsResult"
+ }
+ },
"ListIdentities":{
"name":"ListIdentities",
"http":{
@@ -398,7 +492,8 @@
},
"errors":[
{"shape":"MessageRejected"},
- {"shape":"MailFromDomainNotVerifiedException"}
+ {"shape":"MailFromDomainNotVerifiedException"},
+ {"shape":"ConfigurationSetDoesNotExistException"}
]
},
"SendRawEmail":{
@@ -414,7 +509,8 @@
},
"errors":[
{"shape":"MessageRejected"},
- {"shape":"MailFromDomainNotVerifiedException"}
+ {"shape":"MailFromDomainNotVerifiedException"},
+ {"shape":"ConfigurationSetDoesNotExistException"}
]
},
"SetActiveReceiptRuleSet":{
@@ -508,6 +604,24 @@
{"shape":"RuleDoesNotExistException"}
]
},
+ "UpdateConfigurationSetEventDestination":{
+ "name":"UpdateConfigurationSetEventDestination",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"UpdateConfigurationSetEventDestinationRequest"},
+ "output":{
+ "shape":"UpdateConfigurationSetEventDestinationResponse",
+ "resultWrapper":"UpdateConfigurationSetEventDestinationResult"
+ },
+ "errors":[
+ {"shape":"ConfigurationSetDoesNotExistException"},
+ {"shape":"EventDestinationDoesNotExistException"},
+ {"shape":"InvalidCloudWatchDestinationException"},
+ {"shape":"InvalidFirehoseDestinationException"}
+ ]
+ },
"UpdateReceiptRule":{
"name":"UpdateReceiptRule",
"http":{
@@ -691,6 +805,74 @@
"members":{
}
},
+ "CloudWatchDestination":{
+ "type":"structure",
+ "required":["DimensionConfigurations"],
+ "members":{
+ "DimensionConfigurations":{"shape":"CloudWatchDimensionConfigurations"}
+ }
+ },
+ "CloudWatchDimensionConfiguration":{
+ "type":"structure",
+ "required":[
+ "DimensionName",
+ "DimensionValueSource",
+ "DefaultDimensionValue"
+ ],
+ "members":{
+ "DimensionName":{"shape":"DimensionName"},
+ "DimensionValueSource":{"shape":"DimensionValueSource"},
+ "DefaultDimensionValue":{"shape":"DefaultDimensionValue"}
+ }
+ },
+ "CloudWatchDimensionConfigurations":{
+ "type":"list",
+ "member":{"shape":"CloudWatchDimensionConfiguration"}
+ },
+ "ConfigurationSet":{
+ "type":"structure",
+ "required":["Name"],
+ "members":{
+ "Name":{"shape":"ConfigurationSetName"}
+ }
+ },
+ "ConfigurationSetAlreadyExistsException":{
+ "type":"structure",
+ "members":{
+ "ConfigurationSetName":{"shape":"ConfigurationSetName"}
+ },
+ "error":{
+ "code":"ConfigurationSetAlreadyExists",
+ "httpStatusCode":400,
+ "senderFault":true
+ },
+ "exception":true
+ },
+ "ConfigurationSetAttribute":{
+ "type":"string",
+ "enum":["eventDestinations"]
+ },
+ "ConfigurationSetAttributeList":{
+ "type":"list",
+ "member":{"shape":"ConfigurationSetAttribute"}
+ },
+ "ConfigurationSetDoesNotExistException":{
+ "type":"structure",
+ "members":{
+ "ConfigurationSetName":{"shape":"ConfigurationSetName"}
+ },
+ "error":{
+ "code":"ConfigurationSetDoesNotExist",
+ "httpStatusCode":400,
+ "senderFault":true
+ },
+ "exception":true
+ },
+ "ConfigurationSetName":{"type":"string"},
+ "ConfigurationSets":{
+ "type":"list",
+ "member":{"shape":"ConfigurationSet"}
+ },
"Content":{
"type":"structure",
"required":["Data"],
@@ -700,6 +882,34 @@
}
},
"Counter":{"type":"long"},
+ "CreateConfigurationSetEventDestinationRequest":{
+ "type":"structure",
+ "required":[
+ "ConfigurationSetName",
+ "EventDestination"
+ ],
+ "members":{
+ "ConfigurationSetName":{"shape":"ConfigurationSetName"},
+ "EventDestination":{"shape":"EventDestination"}
+ }
+ },
+ "CreateConfigurationSetEventDestinationResponse":{
+ "type":"structure",
+ "members":{
+ }
+ },
+ "CreateConfigurationSetRequest":{
+ "type":"structure",
+ "required":["ConfigurationSet"],
+ "members":{
+ "ConfigurationSet":{"shape":"ConfigurationSet"}
+ }
+ },
+ "CreateConfigurationSetResponse":{
+ "type":"structure",
+ "members":{
+ }
+ },
"CreateReceiptFilterRequest":{
"type":"structure",
"required":["Filter"],
@@ -750,6 +960,35 @@
"TemporaryFailure"
]
},
+ "DefaultDimensionValue":{"type":"string"},
+ "DeleteConfigurationSetEventDestinationRequest":{
+ "type":"structure",
+ "required":[
+ "ConfigurationSetName",
+ "EventDestinationName"
+ ],
+ "members":{
+ "ConfigurationSetName":{"shape":"ConfigurationSetName"},
+ "EventDestinationName":{"shape":"EventDestinationName"}
+ }
+ },
+ "DeleteConfigurationSetEventDestinationResponse":{
+ "type":"structure",
+ "members":{
+ }
+ },
+ "DeleteConfigurationSetRequest":{
+ "type":"structure",
+ "required":["ConfigurationSetName"],
+ "members":{
+ "ConfigurationSetName":{"shape":"ConfigurationSetName"}
+ }
+ },
+ "DeleteConfigurationSetResponse":{
+ "type":"structure",
+ "members":{
+ }
+ },
"DeleteIdentityPolicyRequest":{
"type":"structure",
"required":[
@@ -837,6 +1076,21 @@
"Rules":{"shape":"ReceiptRulesList"}
}
},
+ "DescribeConfigurationSetRequest":{
+ "type":"structure",
+ "required":["ConfigurationSetName"],
+ "members":{
+ "ConfigurationSetName":{"shape":"ConfigurationSetName"},
+ "ConfigurationSetAttributeNames":{"shape":"ConfigurationSetAttributeList"}
+ }
+ },
+ "DescribeConfigurationSetResponse":{
+ "type":"structure",
+ "members":{
+ "ConfigurationSet":{"shape":"ConfigurationSet"},
+ "EventDestinations":{"shape":"EventDestinations"}
+ }
+ },
"DescribeReceiptRuleRequest":{
"type":"structure",
"required":[
@@ -877,6 +1131,14 @@
}
},
"DiagnosticCode":{"type":"string"},
+ "DimensionName":{"type":"string"},
+ "DimensionValueSource":{
+ "type":"string",
+ "enum":[
+ "messageTag",
+ "emailHeader"
+ ]
+ },
"DkimAttributes":{
"type":"map",
"key":{"shape":"Identity"},
@@ -895,6 +1157,65 @@
},
"DsnStatus":{"type":"string"},
"Enabled":{"type":"boolean"},
+ "EventDestination":{
+ "type":"structure",
+ "required":[
+ "Name",
+ "MatchingEventTypes"
+ ],
+ "members":{
+ "Name":{"shape":"EventDestinationName"},
+ "Enabled":{"shape":"Enabled"},
+ "MatchingEventTypes":{"shape":"EventTypes"},
+ "KinesisFirehoseDestination":{"shape":"KinesisFirehoseDestination"},
+ "CloudWatchDestination":{"shape":"CloudWatchDestination"}
+ }
+ },
+ "EventDestinationAlreadyExistsException":{
+ "type":"structure",
+ "members":{
+ "ConfigurationSetName":{"shape":"ConfigurationSetName"},
+ "EventDestinationName":{"shape":"EventDestinationName"}
+ },
+ "error":{
+ "code":"EventDestinationAlreadyExists",
+ "httpStatusCode":400,
+ "senderFault":true
+ },
+ "exception":true
+ },
+ "EventDestinationDoesNotExistException":{
+ "type":"structure",
+ "members":{
+ "ConfigurationSetName":{"shape":"ConfigurationSetName"},
+ "EventDestinationName":{"shape":"EventDestinationName"}
+ },
+ "error":{
+ "code":"EventDestinationDoesNotExist",
+ "httpStatusCode":400,
+ "senderFault":true
+ },
+ "exception":true
+ },
+ "EventDestinationName":{"type":"string"},
+ "EventDestinations":{
+ "type":"list",
+ "member":{"shape":"EventDestination"}
+ },
+ "EventType":{
+ "type":"string",
+ "enum":[
+ "send",
+ "reject",
+ "bounce",
+ "complaint",
+ "delivery"
+ ]
+ },
+ "EventTypes":{
+ "type":"list",
+ "member":{"shape":"EventType"}
+ },
"Explanation":{"type":"string"},
"ExtensionField":{
"type":"structure",
@@ -1066,6 +1387,43 @@
"VerificationToken":{"shape":"VerificationToken"}
}
},
+ "InvalidCloudWatchDestinationException":{
+ "type":"structure",
+ "members":{
+ "ConfigurationSetName":{"shape":"ConfigurationSetName"},
+ "EventDestinationName":{"shape":"EventDestinationName"}
+ },
+ "error":{
+ "code":"InvalidCloudWatchDestination",
+ "httpStatusCode":400,
+ "senderFault":true
+ },
+ "exception":true
+ },
+ "InvalidConfigurationSetException":{
+ "type":"structure",
+ "members":{
+ },
+ "error":{
+ "code":"InvalidConfigurationSet",
+ "httpStatusCode":400,
+ "senderFault":true
+ },
+ "exception":true
+ },
+ "InvalidFirehoseDestinationException":{
+ "type":"structure",
+ "members":{
+ "ConfigurationSetName":{"shape":"ConfigurationSetName"},
+ "EventDestinationName":{"shape":"EventDestinationName"}
+ },
+ "error":{
+ "code":"InvalidFirehoseDestination",
+ "httpStatusCode":400,
+ "senderFault":true
+ },
+ "exception":true
+ },
"InvalidLambdaFunctionException":{
"type":"structure",
"members":{
@@ -1120,6 +1478,17 @@
"RequestResponse"
]
},
+ "KinesisFirehoseDestination":{
+ "type":"structure",
+ "required":[
+ "IAMRoleARN",
+ "DeliveryStreamARN"
+ ],
+ "members":{
+ "IAMRoleARN":{"shape":"AmazonResourceName"},
+ "DeliveryStreamARN":{"shape":"AmazonResourceName"}
+ }
+ },
"LambdaAction":{
"type":"structure",
"required":["FunctionArn"],
@@ -1141,6 +1510,20 @@
},
"exception":true
},
+ "ListConfigurationSetsRequest":{
+ "type":"structure",
+ "members":{
+ "NextToken":{"shape":"NextToken"},
+ "MaxItems":{"shape":"MaxItems"}
+ }
+ },
+ "ListConfigurationSetsResponse":{
+ "type":"structure",
+ "members":{
+ "ConfigurationSets":{"shape":"ConfigurationSets"},
+ "NextToken":{"shape":"NextToken"}
+ }
+ },
"ListIdentitiesRequest":{
"type":"structure",
"members":{
@@ -1254,6 +1637,23 @@
},
"exception":true
},
+ "MessageTag":{
+ "type":"structure",
+ "required":[
+ "Name",
+ "Value"
+ ],
+ "members":{
+ "Name":{"shape":"MessageTagName"},
+ "Value":{"shape":"MessageTagValue"}
+ }
+ },
+ "MessageTagList":{
+ "type":"list",
+ "member":{"shape":"MessageTag"}
+ },
+ "MessageTagName":{"type":"string"},
+ "MessageTagValue":{"type":"string"},
"NextToken":{"type":"string"},
"NotificationAttributes":{
"type":"map",
@@ -1537,7 +1937,9 @@
"ReplyToAddresses":{"shape":"AddressList"},
"ReturnPath":{"shape":"Address"},
"SourceArn":{"shape":"AmazonResourceName"},
- "ReturnPathArn":{"shape":"AmazonResourceName"}
+ "ReturnPathArn":{"shape":"AmazonResourceName"},
+ "Tags":{"shape":"MessageTagList"},
+ "ConfigurationSetName":{"shape":"ConfigurationSetName"}
}
},
"SendEmailResponse":{
@@ -1556,7 +1958,9 @@
"RawMessage":{"shape":"RawMessage"},
"FromArn":{"shape":"AmazonResourceName"},
"SourceArn":{"shape":"AmazonResourceName"},
- "ReturnPathArn":{"shape":"AmazonResourceName"}
+ "ReturnPathArn":{"shape":"AmazonResourceName"},
+ "Tags":{"shape":"MessageTagList"},
+ "ConfigurationSetName":{"shape":"ConfigurationSetName"}
}
},
"SendRawEmailResponse":{
@@ -1696,6 +2100,22 @@
"Optional"
]
},
+ "UpdateConfigurationSetEventDestinationRequest":{
+ "type":"structure",
+ "required":[
+ "ConfigurationSetName",
+ "EventDestination"
+ ],
+ "members":{
+ "ConfigurationSetName":{"shape":"ConfigurationSetName"},
+ "EventDestination":{"shape":"EventDestination"}
+ }
+ },
+ "UpdateConfigurationSetEventDestinationResponse":{
+ "type":"structure",
+ "members":{
+ }
+ },
"UpdateReceiptRuleRequest":{
"type":"structure",
"required":[
diff --git a/vendor/github.com/aws/aws-sdk-go/models/apis/email/2010-12-01/docs-2.json b/vendor/github.com/aws/aws-sdk-go/models/apis/email/2010-12-01/docs-2.json
index 187eda2..3090344 100644
--- a/vendor/github.com/aws/aws-sdk-go/models/apis/email/2010-12-01/docs-2.json
+++ b/vendor/github.com/aws/aws-sdk-go/models/apis/email/2010-12-01/docs-2.json
@@ -3,9 +3,13 @@
"service": "Amazon Simple Email Service This is the API Reference for Amazon Simple Email Service (Amazon SES). This documentation is intended to be used in conjunction with the Amazon SES Developer Guide.
For a list of Amazon SES endpoints to use in service requests, see Regions and Amazon SES in the Amazon SES Developer Guide.
",
"operations": {
"CloneReceiptRuleSet": "Creates a receipt rule set by cloning an existing one. All receipt rules and configurations are copied to the new receipt rule set and are completely independent of the source rule set.
For information about setting up rule sets, see the Amazon SES Developer Guide.
This action is throttled at one request per second.
",
+ "CreateConfigurationSet": "Creates a configuration set.
Configuration sets enable you to publish email sending events. For information about using configuration sets, see the Amazon SES Developer Guide.
This action is throttled at one request per second.
",
+ "CreateConfigurationSetEventDestination": "Creates a configuration set event destination.
When you create or update an event destination, you must provide one, and only one, destination. The destination can be either Amazon CloudWatch or Amazon Kinesis Firehose.
An event destination is the AWS service to 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.
This action is throttled at one request per second.
",
"CreateReceiptFilter": "Creates a new IP address filter.
For information about setting up IP address filters, see the Amazon SES Developer Guide.
This action is throttled at one request per second.
",
"CreateReceiptRule": "Creates a receipt rule.
For information about setting up receipt rules, see the Amazon SES Developer Guide.
This action is throttled at one request per second.
",
"CreateReceiptRuleSet": "Creates an empty receipt rule set.
For information about setting up receipt rule sets, see the Amazon SES Developer Guide.
This action is throttled at one request per second.
",
+ "DeleteConfigurationSet": "Deletes a configuration set.
Configuration sets enable you to publish email sending events. For information about using configuration sets, see the Amazon SES Developer Guide.
This action is throttled at one request per second.
",
+ "DeleteConfigurationSetEventDestination": "Deletes 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.
This action is throttled at one request per second.
",
"DeleteIdentity": "Deletes the specified identity (an email address or a domain) from the list of verified identities.
This action is throttled at one request per second.
",
"DeleteIdentityPolicy": "Deletes the specified sending authorization policy for the given identity (an email address or a domain). This API returns successfully even if a policy with the specified name does not exist.
This API is for the identity owner only. If you have not verified the identity, this API will return an error.
Sending authorization is a feature that enables an identity owner to authorize other senders to use its identities. For information about using sending authorization, see the Amazon SES Developer Guide.
This action is throttled at one request per second.
",
"DeleteReceiptFilter": "Deletes the specified IP address filter.
For information about managing IP address filters, see the Amazon SES Developer Guide.
This action is throttled at one request per second.
",
@@ -13,6 +17,7 @@
"DeleteReceiptRuleSet": "Deletes the specified receipt rule set and all of the receipt rules it contains.
The currently active rule set cannot be deleted.
For information about managing receipt rule sets, see the Amazon SES Developer Guide.
This action is throttled at one request per second.
",
"DeleteVerifiedEmailAddress": "Deletes the specified email address from the list of verified addresses.
The DeleteVerifiedEmailAddress action is deprecated as of the May 15, 2012 release of Domain Verification. The DeleteIdentity action is now preferred.
This action is throttled at one request per second.
",
"DescribeActiveReceiptRuleSet": "Returns the metadata and receipt rules for the receipt rule set that is currently active.
For information about setting up receipt rule sets, see the Amazon SES Developer Guide.
This action is throttled at one request per second.
",
+ "DescribeConfigurationSet": "Returns the details of the specified configuration set.
Configuration sets enable you to publish email sending events. For information about using configuration sets, see the Amazon SES Developer Guide.
This action is throttled at one request per second.
",
"DescribeReceiptRule": "Returns the details of the specified receipt rule.
For information about setting up receipt rules, see the Amazon SES Developer Guide.
This action is throttled at one request per second.
",
"DescribeReceiptRuleSet": "Returns the details of the specified receipt rule set.
For information about managing receipt rule sets, see the Amazon SES Developer Guide.
This action is throttled at one request per second.
",
"GetIdentityDkimAttributes": "Returns the current status of Easy DKIM signing for an entity. For domain name identities, this action also returns the DKIM tokens that are required for Easy DKIM signing, and whether Amazon SES has successfully verified that these tokens have been published.
This action takes a list of identities as input and returns the following information for each:
-
Whether Easy DKIM signing is enabled or disabled.
-
A set of DKIM tokens that represent the identity. If the identity is an email address, the tokens represent the domain of that address.
-
Whether Amazon SES has successfully verified the DKIM tokens published in the domain's DNS. This information is only returned for domain name identities, not for email addresses.
This action is throttled at one request per second and can only get DKIM attributes for up to 100 identities at a time.
For more information about creating DNS records using DKIM tokens, go to the Amazon SES Developer Guide.
",
@@ -22,6 +27,7 @@
"GetIdentityVerificationAttributes": "Given a list of identities (email addresses and/or domains), returns the verification status and (for domain identities) the verification token for each identity.
This action is throttled at one request per second and can only get verification attributes for up to 100 identities at a time.
",
"GetSendQuota": "Returns the user's current sending limits.
This action is throttled at one request per second.
",
"GetSendStatistics": "Returns the user's sending statistics. The result is a list of data points, representing the last two weeks of sending activity.
Each data point in the list contains statistics for a 15-minute interval.
This action is throttled at one request per second.
",
+ "ListConfigurationSets": "Lists the 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.
This action is throttled at one request per second and can return up to 50 configuration sets at a time.
",
"ListIdentities": "Returns a list containing all of the identities (email addresses and domains) for your AWS account, regardless of verification status.
This action is throttled at one request per second.
",
"ListIdentityPolicies": "Returns a list of sending authorization policies that are attached to the given identity (an email address or a domain). This API returns only a list. If you want the actual policy content, you can use GetIdentityPolicies
.
This API is for the identity owner only. If you have not verified the identity, this API will return an error.
Sending authorization is a feature that enables an identity owner to authorize other senders to use its identities. For information about using sending authorization, see the Amazon SES Developer Guide.
This action is throttled at one request per second.
",
"ListReceiptFilters": "Lists the IP address filters associated with your AWS account.
For information about managing IP address filters, see the Amazon SES Developer Guide.
This action is throttled at one request per second.
",
@@ -39,6 +45,7 @@
"SetIdentityMailFromDomain": "Enables or disables the custom MAIL FROM domain setup for a verified identity (an email address or a domain).
To send emails using the specified MAIL FROM domain, you must add an MX record to your MAIL FROM domain's DNS settings. If you want your emails to pass Sender Policy Framework (SPF) checks, you must also add or update an SPF record. For more information, see the Amazon SES Developer Guide.
This action is throttled at one request per second.
",
"SetIdentityNotificationTopic": "Given an identity (an email address or a domain), sets the Amazon Simple Notification Service (Amazon SNS) topic to which Amazon SES will publish bounce, complaint, and/or delivery notifications for emails sent with that identity as the Source
.
Unless feedback forwarding is enabled, you must specify Amazon SNS topics for bounce and complaint notifications. For more information, see SetIdentityFeedbackForwardingEnabled
.
This action is throttled at one request per second.
For more information about feedback notification, see the Amazon SES Developer Guide.
",
"SetReceiptRulePosition": "Sets the position of the specified receipt rule in the receipt rule set.
For information about managing receipt rules, see the Amazon SES Developer Guide.
This action is throttled at one request per second.
",
+ "UpdateConfigurationSetEventDestination": "Updates the event destination of a configuration set.
When you create or update an event destination, you must provide one, and only one, destination. The destination can be either Amazon CloudWatch or Amazon Kinesis Firehose.
Event destinations are associated with configuration sets, which enable you to publish email sending events to Amazon CloudWatch or Amazon Kinesis Firehose. For information about using configuration sets, see the Amazon SES Developer Guide.
This action is throttled at one request per second.
",
"UpdateReceiptRule": "Updates a receipt rule.
For information about managing receipt rules, see the Amazon SES Developer Guide.
This action is throttled at one request per second.
",
"VerifyDomainDkim": "Returns a set of DKIM tokens for a domain. DKIM tokens are character strings that represent your domain's identity. Using these tokens, you will need to create DNS CNAME records that point to DKIM public keys hosted by Amazon SES. Amazon Web Services will eventually detect that you have updated your DNS records; this detection process may take up to 72 hours. Upon successful detection, Amazon SES will be able to DKIM-sign email originating from that domain.
This action is throttled at one request per second.
To enable or disable Easy DKIM signing for a domain, use the SetIdentityDkimEnabled
action.
For more information about creating DNS records using DKIM tokens, go to the Amazon SES Developer Guide.
",
"VerifyDomainIdentity": "Verifies a domain.
This action is throttled at one request per second.
",
@@ -80,7 +87,7 @@
}
},
"AlreadyExistsException": {
- "base": "Indicates that a resource could not be created due to a naming conflict.
",
+ "base": "Indicates that a resource could not be created because of a naming conflict.
",
"refs": {
}
},
@@ -91,6 +98,8 @@
"BouncedRecipientInfo$RecipientArn": "This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to receive email for the recipient of the bounced email. For more information about sending authorization, see the Amazon SES Developer Guide.
",
"InvalidLambdaFunctionException$FunctionArn": null,
"InvalidSnsTopicException$Topic": null,
+ "KinesisFirehoseDestination$IAMRoleARN": "The ARN of the IAM role under which Amazon SES publishes email sending events to the Amazon Kinesis Firehose stream.
",
+ "KinesisFirehoseDestination$DeliveryStreamARN": "The ARN of the Amazon Kinesis Firehose stream to which to publish email sending events.
",
"LambdaAction$TopicArn": "The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the Lambda action is taken. An example of an Amazon SNS topic ARN is arn:aws:sns:us-west-2:123456789012:MyTopic
. For more information about Amazon SNS topics, see the Amazon SNS Developer Guide.
",
"LambdaAction$FunctionArn": "The Amazon Resource Name (ARN) of the AWS Lambda function. An example of an AWS Lambda function ARN is arn:aws:lambda:us-west-2:account-id:function:MyFunction
. For more information about AWS Lambda, see the AWS Lambda Developer Guide.
",
"S3Action$TopicArn": "The ARN of the Amazon SNS topic to notify when the message is saved to the Amazon S3 bucket. An example of an Amazon SNS topic ARN is arn:aws:sns:us-west-2:123456789012:MyTopic
. For more information about Amazon SNS topics, see the Amazon SNS Developer Guide.
",
@@ -195,6 +204,79 @@
"refs": {
}
},
+ "CloudWatchDestination": {
+ "base": "Contains information associated with an Amazon CloudWatch event destination to which email sending events are published.
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.
",
+ "refs": {
+ "EventDestination$CloudWatchDestination": "An object that contains the names, default values, and sources of the dimensions associated with an Amazon CloudWatch event destination.
"
+ }
+ },
+ "CloudWatchDimensionConfiguration": {
+ "base": "Contains the dimension configuration to use when you publish email sending events to Amazon CloudWatch.
For information about publishing email sending events to Amazon CloudWatch, see the Amazon SES Developer Guide.
",
+ "refs": {
+ "CloudWatchDimensionConfigurations$member": null
+ }
+ },
+ "CloudWatchDimensionConfigurations": {
+ "base": null,
+ "refs": {
+ "CloudWatchDestination$DimensionConfigurations": "A list of dimensions upon which to categorize your emails when you publish email sending events to Amazon CloudWatch.
"
+ }
+ },
+ "ConfigurationSet": {
+ "base": "The name of the configuration set.
Configuration sets enable you to publish email sending events. For information about using configuration sets, see the Amazon SES Developer Guide.
",
+ "refs": {
+ "ConfigurationSets$member": null,
+ "CreateConfigurationSetRequest$ConfigurationSet": "A data structure that contains the name of the configuration set.
",
+ "DescribeConfigurationSetResponse$ConfigurationSet": "The configuration set object associated with the specified configuration set.
"
+ }
+ },
+ "ConfigurationSetAlreadyExistsException": {
+ "base": "Indicates that the configuration set could not be created because of a naming conflict.
",
+ "refs": {
+ }
+ },
+ "ConfigurationSetAttribute": {
+ "base": null,
+ "refs": {
+ "ConfigurationSetAttributeList$member": null
+ }
+ },
+ "ConfigurationSetAttributeList": {
+ "base": null,
+ "refs": {
+ "DescribeConfigurationSetRequest$ConfigurationSetAttributeNames": "A list of configuration set attributes to return.
"
+ }
+ },
+ "ConfigurationSetDoesNotExistException": {
+ "base": "Indicates that the configuration set does not exist.
",
+ "refs": {
+ }
+ },
+ "ConfigurationSetName": {
+ "base": null,
+ "refs": {
+ "ConfigurationSet$Name": "The name of the configuration set. The name must:
-
Contain only ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
-
Contain less than 64 characters.
",
+ "ConfigurationSetAlreadyExistsException$ConfigurationSetName": null,
+ "ConfigurationSetDoesNotExistException$ConfigurationSetName": null,
+ "CreateConfigurationSetEventDestinationRequest$ConfigurationSetName": "The name of the configuration set to which to apply the event destination.
",
+ "DeleteConfigurationSetEventDestinationRequest$ConfigurationSetName": "The name of the configuration set from which to delete the event destination.
",
+ "DeleteConfigurationSetRequest$ConfigurationSetName": "The name of the configuration set to delete.
",
+ "DescribeConfigurationSetRequest$ConfigurationSetName": "The name of the configuration set to describe.
",
+ "EventDestinationAlreadyExistsException$ConfigurationSetName": null,
+ "EventDestinationDoesNotExistException$ConfigurationSetName": null,
+ "InvalidCloudWatchDestinationException$ConfigurationSetName": null,
+ "InvalidFirehoseDestinationException$ConfigurationSetName": null,
+ "SendEmailRequest$ConfigurationSetName": "The name of the configuration set to use when you send an email using SendEmail
.
",
+ "SendRawEmailRequest$ConfigurationSetName": "The name of the configuration set to use when you send an email using SendRawEmail
.
",
+ "UpdateConfigurationSetEventDestinationRequest$ConfigurationSetName": "The name of the configuration set that you want to update.
"
+ }
+ },
+ "ConfigurationSets": {
+ "base": null,
+ "refs": {
+ "ListConfigurationSetsResponse$ConfigurationSets": "A list of configuration sets.
"
+ }
+ },
"Content": {
"base": "Represents textual data, plus an optional character set specification.
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.
",
"refs": {
@@ -206,12 +288,32 @@
"Counter": {
"base": null,
"refs": {
- "SendDataPoint$DeliveryAttempts": "Number of emails that have been enqueued for sending.
",
+ "SendDataPoint$DeliveryAttempts": "Number of emails that have been sent.
",
"SendDataPoint$Bounces": "Number of emails that have bounced.
",
"SendDataPoint$Complaints": "Number of unwanted emails that were rejected by recipients.
",
"SendDataPoint$Rejects": "Number of emails rejected by Amazon SES.
"
}
},
+ "CreateConfigurationSetEventDestinationRequest": {
+ "base": "Represents a request to create a configuration set event destination. A configuration set event destination, which can be either Amazon CloudWatch or Amazon Kinesis 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.
",
+ "refs": {
+ }
+ },
+ "CreateConfigurationSetEventDestinationResponse": {
+ "base": "An empty element returned on a successful request.
",
+ "refs": {
+ }
+ },
+ "CreateConfigurationSetRequest": {
+ "base": "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.
",
+ "refs": {
+ }
+ },
+ "CreateConfigurationSetResponse": {
+ "base": "An empty element returned on a successful request.
",
+ "refs": {
+ }
+ },
"CreateReceiptFilterRequest": {
"base": "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.
",
"refs": {
@@ -248,6 +350,32 @@
"IdentityMailFromDomainAttributes$MailFromDomainStatus": "The state that indicates whether Amazon SES has successfully read the MX record required for custom MAIL FROM domain setup. If the state is Success
, Amazon SES uses the specified custom MAIL FROM domain when the verified identity sends an email. All other states indicate that Amazon SES takes the action described by BehaviorOnMXFailure
.
"
}
},
+ "DefaultDimensionValue": {
+ "base": null,
+ "refs": {
+ "CloudWatchDimensionConfiguration$DefaultDimensionValue": "The default value of the dimension that is published to Amazon CloudWatch 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 (-).
-
Contain less than 256 characters.
"
+ }
+ },
+ "DeleteConfigurationSetEventDestinationRequest": {
+ "base": "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.
",
+ "refs": {
+ }
+ },
+ "DeleteConfigurationSetEventDestinationResponse": {
+ "base": "An empty element returned on a successful request.
",
+ "refs": {
+ }
+ },
+ "DeleteConfigurationSetRequest": {
+ "base": "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.
",
+ "refs": {
+ }
+ },
+ "DeleteConfigurationSetResponse": {
+ "base": "An empty element returned on a successful request.
",
+ "refs": {
+ }
+ },
"DeleteIdentityPolicyRequest": {
"base": "Represents a request to delete a sending authorization policy 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.
",
"refs": {
@@ -313,6 +441,16 @@
"refs": {
}
},
+ "DescribeConfigurationSetRequest": {
+ "base": "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.
",
+ "refs": {
+ }
+ },
+ "DescribeConfigurationSetResponse": {
+ "base": "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.
",
+ "refs": {
+ }
+ },
"DescribeReceiptRuleRequest": {
"base": "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.
",
"refs": {
@@ -345,6 +483,18 @@
"RecipientDsnFields$DiagnosticCode": "An extended explanation of what went wrong; this is usually an SMTP response. See RFC 3463 for the correct formatting of this parameter.
"
}
},
+ "DimensionName": {
+ "base": null,
+ "refs": {
+ "CloudWatchDimensionConfiguration$DimensionName": "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 (-).
-
Contain less than 256 characters.
"
+ }
+ },
+ "DimensionValueSource": {
+ "base": null,
+ "refs": {
+ "CloudWatchDimensionConfiguration$DimensionValueSource": "The place where Amazon SES finds the value of a dimension to publish to Amazon CloudWatch. If you want Amazon SES to use the message tags that you specify using an X-SES-MESSAGE-TAGS
header or a parameter to the SendEmail
/SendRawEmail
API, choose messageTag
. If you want Amazon SES to use your own email headers, choose emailHeader
.
"
+ }
+ },
"DkimAttributes": {
"base": null,
"refs": {
@@ -373,7 +523,8 @@
"Enabled": {
"base": null,
"refs": {
- "IdentityDkimAttributes$DkimEnabled": "True if DKIM signing is enabled for email sent from the identity; false otherwise.
",
+ "EventDestination$Enabled": "Sets whether Amazon SES publishes events to this destination when you send an email with the associated configuration set. Set to true
to enable publishing to this destination; set to false
to prevent publishing to this destination. The default value is false
.
",
+ "IdentityDkimAttributes$DkimEnabled": "True if DKIM signing is enabled for email sent from the identity; false otherwise. The default value is true.
",
"IdentityNotificationAttributes$ForwardingEnabled": "Describes whether Amazon SES will forward bounce and complaint notifications as email. true
indicates that Amazon SES will forward bounce and complaint notifications as email, while false
indicates that bounce and complaint notifications will be published only to the specified bounce and complaint Amazon SNS topics.
",
"IdentityNotificationAttributes$HeadersInBounceNotificationsEnabled": "Describes whether Amazon SES includes the original email headers in Amazon SNS notifications of type Bounce
. A value of true
specifies that Amazon SES will include headers in bounce notifications, and a value of false
specifies that Amazon SES will not include headers in bounce notifications.
",
"IdentityNotificationAttributes$HeadersInComplaintNotificationsEnabled": "Describes whether Amazon SES includes the original email headers in Amazon SNS notifications of type Complaint
. A value of true
specifies that Amazon SES will include headers in complaint notifications, and a value of false
specifies that Amazon SES will not include headers in complaint notifications.
",
@@ -385,6 +536,53 @@
"SetIdentityHeadersInNotificationsEnabledRequest$Enabled": "Sets whether Amazon SES includes the original email headers in Amazon SNS notifications of the specified notification type. A value of true
specifies that Amazon SES will include headers in notifications, and a value of false
specifies that Amazon SES will not include headers in notifications.
This value can only be set when NotificationType
is already set to use a particular Amazon SNS topic.
"
}
},
+ "EventDestination": {
+ "base": "Contains information about the event destination to which the specified email sending events are published.
When you create or update an event destination, you must provide one, and only one, destination. The destination can be either Amazon CloudWatch or Amazon Kinesis Firehose.
Event destinations are associated with configuration sets, which enable you to publish email sending events to Amazon CloudWatch or Amazon Kinesis Firehose. For information about using configuration sets, see the Amazon SES Developer Guide.
",
+ "refs": {
+ "CreateConfigurationSetEventDestinationRequest$EventDestination": "An object that describes the AWS service to which Amazon SES will publish the email sending events associated with the specified configuration set.
",
+ "EventDestinations$member": null,
+ "UpdateConfigurationSetEventDestinationRequest$EventDestination": "The event destination object that you want to apply to the specified configuration set.
"
+ }
+ },
+ "EventDestinationAlreadyExistsException": {
+ "base": "Indicates that the event destination could not be created because of a naming conflict.
",
+ "refs": {
+ }
+ },
+ "EventDestinationDoesNotExistException": {
+ "base": "Indicates that the event destination does not exist.
",
+ "refs": {
+ }
+ },
+ "EventDestinationName": {
+ "base": null,
+ "refs": {
+ "DeleteConfigurationSetEventDestinationRequest$EventDestinationName": "The name of the event destination to delete.
",
+ "EventDestination$Name": "The name of the event destination. The name must:
-
Contain only ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
-
Contain less than 64 characters.
",
+ "EventDestinationAlreadyExistsException$EventDestinationName": null,
+ "EventDestinationDoesNotExistException$EventDestinationName": null,
+ "InvalidCloudWatchDestinationException$EventDestinationName": null,
+ "InvalidFirehoseDestinationException$EventDestinationName": null
+ }
+ },
+ "EventDestinations": {
+ "base": null,
+ "refs": {
+ "DescribeConfigurationSetResponse$EventDestinations": "A list of event destinations associated with the configuration set.
"
+ }
+ },
+ "EventType": {
+ "base": null,
+ "refs": {
+ "EventTypes$member": null
+ }
+ },
+ "EventTypes": {
+ "base": null,
+ "refs": {
+ "EventDestination$MatchingEventTypes": "The type of email sending events to publish to the event destination.
"
+ }
+ },
"Explanation": {
"base": null,
"refs": {
@@ -548,6 +746,21 @@
"VerificationAttributes$value": null
}
},
+ "InvalidCloudWatchDestinationException": {
+ "base": "Indicates that the Amazon CloudWatch destination is invalid. See the error message for details.
",
+ "refs": {
+ }
+ },
+ "InvalidConfigurationSetException": {
+ "base": "Indicates that the configuration set is invalid. See the error message for details.
",
+ "refs": {
+ }
+ },
+ "InvalidFirehoseDestinationException": {
+ "base": "Indicates that the Amazon Kinesis Firehose destination is invalid. See the error message for details.
",
+ "refs": {
+ }
+ },
"InvalidLambdaFunctionException": {
"base": "Indicates that the provided AWS Lambda function is invalid, or that Amazon SES could not execute the provided function, possibly due to permissions issues. For information about giving permissions, see the Amazon SES Developer Guide.
",
"refs": {
@@ -574,6 +787,12 @@
"LambdaAction$InvocationType": "The invocation type of the AWS Lambda function. An invocation type of RequestResponse
means that the execution of the function will immediately result in a response, and a value of Event
means that the function will be invoked asynchronously. The default value is Event
. For information about AWS Lambda invocation types, see the AWS Lambda Developer Guide.
There is a 30-second timeout on RequestResponse
invocations. You should use Event
invocation in most cases. Use RequestResponse
only when you want to make a mail flow decision, such as whether to stop the receipt rule or the receipt rule set.
"
}
},
+ "KinesisFirehoseDestination": {
+ "base": "Contains the delivery stream ARN and the IAM role ARN associated with an Amazon Kinesis Firehose event destination.
Event destinations, such as Amazon Kinesis Firehose, 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.
",
+ "refs": {
+ "EventDestination$KinesisFirehoseDestination": "An object that contains the delivery stream ARN and the IAM role ARN associated with an Amazon Kinesis Firehose event destination.
"
+ }
+ },
"LambdaAction": {
"base": "When included in a receipt rule, this action calls an AWS Lambda function and, optionally, publishes a notification to Amazon Simple Notification Service (Amazon SNS).
To enable Amazon SES to call your AWS Lambda function or to publish to an Amazon SNS topic of another account, Amazon SES must have permission to access those resources. For information about giving permissions, see the Amazon SES Developer Guide.
For information about using AWS Lambda actions in receipt rules, see the Amazon SES Developer Guide.
",
"refs": {
@@ -587,7 +806,17 @@
}
},
"LimitExceededException": {
- "base": "Indicates that a resource could not be created due to service limits. For a list of Amazon SES limits, see the Amazon SES Developer Guide.
",
+ "base": "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.
",
+ "refs": {
+ }
+ },
+ "ListConfigurationSetsRequest": {
+ "base": "Represents a request to list the 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.
",
+ "refs": {
+ }
+ },
+ "ListConfigurationSetsResponse": {
+ "base": "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.
",
"refs": {
}
},
@@ -612,7 +841,7 @@
}
},
"ListReceiptFiltersRequest": {
- "base": ": 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.
",
+ "base": "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.
",
"refs": {
}
},
@@ -663,6 +892,7 @@
"MaxItems": {
"base": null,
"refs": {
+ "ListConfigurationSetsRequest$MaxItems": "The number of configuration sets to return.
",
"ListIdentitiesRequest$MaxItems": "The maximum number of identities per page. Possible values are 1-1000 inclusive.
"
}
},
@@ -704,9 +934,36 @@
"refs": {
}
},
+ "MessageTag": {
+ "base": "Contains the name and value of a tag that you can provide to SendEmail
or SendRawEmail
to apply to an email.
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.
",
+ "refs": {
+ "MessageTagList$member": null
+ }
+ },
+ "MessageTagList": {
+ "base": null,
+ "refs": {
+ "SendEmailRequest$Tags": "A list of tags, in the form of name/value pairs, to apply to an email that you send using SendEmail
. Tags correspond to characteristics of the email that you define, so that you can publish email sending events.
",
+ "SendRawEmailRequest$Tags": "A list of tags, in the form of name/value pairs, to apply to an email that you send using SendRawEmail
. Tags correspond to characteristics of the email that you define, so that you can publish email sending events.
"
+ }
+ },
+ "MessageTagName": {
+ "base": null,
+ "refs": {
+ "MessageTag$Name": "The name of the tag. The name must:
-
Contain only ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
-
Contain less than 256 characters.
"
+ }
+ },
+ "MessageTagValue": {
+ "base": null,
+ "refs": {
+ "MessageTag$Value": "The value of the tag. The value must:
-
Contain only ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
-
Contain less than 256 characters.
"
+ }
+ },
"NextToken": {
"base": null,
"refs": {
+ "ListConfigurationSetsRequest$NextToken": "A token returned from a previous call to ListConfigurationSets
to indicate the position of the configuration set in the configuration set list.
",
+ "ListConfigurationSetsResponse$NextToken": "A token indicating that there are additional configuration sets available to be listed. Pass this token to successive calls of ListConfigurationSets
.
",
"ListIdentitiesRequest$NextToken": "The token to use for pagination.
",
"ListIdentitiesResponse$NextToken": "The token used for pagination.
",
"ListReceiptRuleSetsRequest$NextToken": "A token returned from a previous call to ListReceiptRuleSets
to indicate the position in the receipt rule set list.
",
@@ -1129,6 +1386,16 @@
"ReceiptRule$TlsPolicy": "Specifies whether Amazon SES should require that incoming email is delivered over a connection encrypted with Transport Layer Security (TLS). If this parameter is set to Require
, Amazon SES will bounce emails that are not received over TLS. The default is Optional
.
"
}
},
+ "UpdateConfigurationSetEventDestinationRequest": {
+ "base": "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.
",
+ "refs": {
+ }
+ },
+ "UpdateConfigurationSetEventDestinationResponse": {
+ "base": "An empty element returned on a successful request.
",
+ "refs": {
+ }
+ },
"UpdateReceiptRuleRequest": {
"base": "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.
",
"refs": {
diff --git a/vendor/github.com/aws/aws-sdk-go/models/apis/gamelift/2015-10-01/api-2.json b/vendor/github.com/aws/aws-sdk-go/models/apis/gamelift/2015-10-01/api-2.json
index 0500189..4d1de7c 100644
--- a/vendor/github.com/aws/aws-sdk-go/models/apis/gamelift/2015-10-01/api-2.json
+++ b/vendor/github.com/aws/aws-sdk-go/models/apis/gamelift/2015-10-01/api-2.json
@@ -398,6 +398,21 @@
{"shape":"InvalidRequestException"}
]
},
+ "GetInstanceAccess":{
+ "name":"GetInstanceAccess",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"GetInstanceAccessInput"},
+ "output":{"shape":"GetInstanceAccessOutput"},
+ "errors":[
+ {"shape":"UnauthorizedException"},
+ {"shape":"InvalidRequestException"},
+ {"shape":"NotFoundException"},
+ {"shape":"InternalServiceException"}
+ ]
+ },
"ListAliases":{
"name":"ListAliases",
"http":{
@@ -1150,7 +1165,14 @@
"FLEET_VALIDATION_TIMED_OUT",
"FLEET_ACTIVATION_FAILED",
"FLEET_ACTIVATION_FAILED_NO_INSTANCES",
- "FLEET_NEW_GAME_SESSION_PROTECTION_POLICY_UPDATED"
+ "FLEET_NEW_GAME_SESSION_PROTECTION_POLICY_UPDATED",
+ "SERVER_PROCESS_INVALID_PATH",
+ "SERVER_PROCESS_SDK_INITIALIZATION_TIMEOUT",
+ "SERVER_PROCESS_PROCESS_READY_TIMEOUT",
+ "SERVER_PROCESS_CRASHED",
+ "SERVER_PROCESS_TERMINATED_UNHEALTHY",
+ "SERVER_PROCESS_FORCE_TERMINATED",
+ "SERVER_PROCESS_PROCESS_EXIT_TIMEOUT"
]
},
"EventList":{
@@ -1323,6 +1345,23 @@
"PreSignedUrl":{"shape":"NonZeroAndMaxString"}
}
},
+ "GetInstanceAccessInput":{
+ "type":"structure",
+ "required":[
+ "FleetId",
+ "InstanceId"
+ ],
+ "members":{
+ "FleetId":{"shape":"FleetId"},
+ "InstanceId":{"shape":"InstanceId"}
+ }
+ },
+ "GetInstanceAccessOutput":{
+ "type":"structure",
+ "members":{
+ "InstanceAccess":{"shape":"InstanceAccess"}
+ }
+ },
"IdStringModel":{
"type":"string",
"max":48,
@@ -1348,6 +1387,24 @@
"CreationTime":{"shape":"Timestamp"}
}
},
+ "InstanceAccess":{
+ "type":"structure",
+ "members":{
+ "FleetId":{"shape":"FleetId"},
+ "InstanceId":{"shape":"InstanceId"},
+ "IpAddress":{"shape":"IpAddress"},
+ "OperatingSystem":{"shape":"OperatingSystem"},
+ "Credentials":{"shape":"InstanceCredentials"}
+ }
+ },
+ "InstanceCredentials":{
+ "type":"structure",
+ "members":{
+ "UserName":{"shape":"NonEmptyString"},
+ "Secret":{"shape":"NonEmptyString"}
+ },
+ "sensitive":true
+ },
"InstanceId":{
"type":"string",
"pattern":"[a-zA-Z0-9\\.-]+"
diff --git a/vendor/github.com/aws/aws-sdk-go/models/apis/gamelift/2015-10-01/docs-2.json b/vendor/github.com/aws/aws-sdk-go/models/apis/gamelift/2015-10-01/docs-2.json
index d74891b..094ac95 100644
--- a/vendor/github.com/aws/aws-sdk-go/models/apis/gamelift/2015-10-01/docs-2.json
+++ b/vendor/github.com/aws/aws-sdk-go/models/apis/gamelift/2015-10-01/docs-2.json
@@ -1,11 +1,11 @@
{
"version": "2.0",
- "service": "Amazon GameLift Service Welcome to the Amazon GameLift API Reference. Amazon GameLift is a managed Amazon Web Services (AWS) service for developers who need a scalable, server-based solution for multiplayer games. Amazon GameLift provides setup and deployment of game servers, and handles infrastructure scaling and session management.
This reference describes the low-level service API for GameLift. You can call this API directly or use the AWS SDK for your preferred language. The AWS SDK includes a set of high-level GameLift actions multiplayer game sessions. Alternatively, you can use the AWS command-line interface (CLI) tool, which includes commands for GameLift. For administrative actions, you can also use the Amazon GameLift console.
More Resources
Manage Games and Players Through GameLift
Call these actions from your game clients and/or services to create and manage multiplayer game sessions and player sessions.
-
Game sessions:
-
Player sessions:
-
Other actions:
Set Up and Manage Game Servers
Use these administrative actions to configure GameLift to host your game servers. When setting up GameLift, you will need to (1) configure a build for your game and upload build files, and (2) set up one or more fleets to host game sessions. Once you've created and activated a fleet, you can assign aliases to it, scale capacity, track performance and utilization, etc.
-
Game builds:
-
Fleets:
-
Manage fleet aliases:
-
Manage autoscaling:
To view changes to the API, see the GameLift Document History page.
",
+ "service": "Amazon GameLift Service Welcome to the Amazon GameLift API Reference. Amazon GameLift is a managed Amazon Web Services (AWS) service for developers who need a scalable, server-based solution for multiplayer games. Amazon GameLift provides setup and deployment of game servers, and handles infrastructure scaling and session management.
This reference describes the low-level service API for GameLift. You can call this API directly or use the AWS SDK for your preferred language. The AWS SDK includes a set of high-level GameLift actions multiplayer game sessions. Alternatively, you can use the AWS command-line interface (CLI) tool, which includes commands for GameLift. For administrative actions, you can also use the Amazon GameLift console.
More Resources
Manage Games and Players Through GameLift
Call these actions from your game clients and/or services to create and manage multiplayer game sessions and player sessions.
-
Game sessions:
-
Player sessions:
-
Other actions:
Set Up and Manage Game Servers
Use these administrative actions to configure GameLift to host your game servers. When setting up GameLift, you will need to (1) configure a build for your game and upload build files, and (2) set up one or more fleets to host game sessions. Once you've created and activated a fleet, you can assign aliases to it, scale capacity, track performance and utilization, etc.
-
Game builds:
-
Fleets:
-
Manage your instances:
-
Manage fleet aliases:
-
Manage autoscaling:
To view changes to the API, see the GameLift Document History page.
",
"operations": {
"CreateAlias": "Creates an alias for a fleet. You can use an alias to anonymize your fleet by referencing an alias instead of a specific fleet when you create game sessions. Amazon GameLift supports two types of routing strategies for aliases: simple and terminal. Use a simple alias to point to an active fleet. Use a terminal alias to display a message to incoming traffic instead of routing players to an active fleet. This option is useful when a game server is no longer supported but you want to provide better messaging than a standard 404 error.
To create a fleet alias, specify an alias name, routing strategy, and optional description. If successful, a new alias record is returned, including an alias ID, which you can reference when creating a game session. To reassign the alias to another fleet ID, call UpdateAlias.
",
"CreateBuild": "Initializes a new build record and generates information required to upload a game build to Amazon GameLift. Once the build record has been created and its status is INITIALIZED
, you can upload your game build.
Do not use this API action unless you are using your own Amazon Simple Storage Service (Amazon S3) client and need to manually upload your build files. Instead, to create a build, use the CLI command upload-build
, which creates a new build record and uploads the build files in one step. (See the Amazon GameLift Developer Guide help on packaging and uploading your build.)
To create a new build, identify the operating system of the game server binaries. All game servers in a build must use the same operating system. Optionally, specify a build name and version; this metadata is stored with other properties in the build record and is displayed in the GameLift console (it is not visible to players). If successful, this action returns the newly created build record along with the Amazon S3 storage location and AWS account credentials. Use the location and credentials to upload your game build.
",
"CreateFleet": "Creates a new fleet to run your game servers. A fleet is a set of Amazon Elastic Compute Cloud (Amazon EC2) instances, each of which can run multiple server processes to host game sessions. You configure a fleet to create instances with certain hardware specifications (see Amazon EC2 Instance Types for more information), and deploy a specified game build to each instance. A newly created fleet passes through several statuses; once it reaches the ACTIVE
status, it can begin hosting game sessions.
To create a new fleet, provide a fleet name, an EC2 instance type, and a build ID of the game build to deploy. You can also configure the new fleet with the following settings: (1) a runtime configuration describing what server processes to run on each instance in the fleet (required to create fleet), (2) access permissions for inbound traffic, (3) fleet-wide game session protection, and (4) the location of default log files for GameLift to upload and store.
If the CreateFleet
call is successful, Amazon GameLift performs the following tasks:
-
Creates a fleet record and sets the status to NEW
(followed by other statuses as the fleet is activated).
-
Sets the fleet's capacity to 1 \"desired\", which causes GameLift to start one new EC2 instance.
-
Starts launching server processes on the instance. If the fleet is configured to run multiple server processes per instance, GameLift staggers each launch by a few seconds.
-
Begins writing events to the fleet event log, which can be accessed in the GameLift console.
-
Sets the fleet's status to ACTIVE
once one server process in the fleet is ready to host a game session.
After a fleet is created, use the following actions to change fleet properties and configuration:
-
UpdateFleetAttributes -- Update fleet metadata, including name and description.
-
UpdateFleetCapacity -- Increase or decrease the number of instances you want the fleet to maintain.
-
UpdateFleetPortSettings -- Change the IP address and port ranges that allow access to incoming traffic.
-
UpdateRuntimeConfiguration -- Change how server processes are launched in the fleet, including launch path, launch parameters, and the number of concurrent processes.
",
- "CreateGameSession": "Creates a multiplayer game session for players. This action creates a game session record and assigns the new session to an instance in the specified fleet, which initializes a new server process to host the game session. A fleet must be in an ACTIVE
status before a game session can be created in it.
To create a game session, specify either a fleet ID or an alias ID and indicate the maximum number of players the game session allows. You can also provide a name and a set of properties for your game (optional). If successful, a GameSession object is returned containing session properties, including an IP address. By default, newly created game sessions are set to accept adding any new players to the game session. Use UpdateGameSession to change the creation policy.
",
+ "CreateGameSession": "Creates a multiplayer game session for players. This action creates a game session record and assigns an available server process in the specified fleet to host the game session. A fleet must be in an ACTIVE
status before a game session can be created in it.
To create a game session, specify either fleet ID or alias ID, and indicate a maximum number of players to allow in the game session. You can also provide a name and game-specific properties for this game session. If successful, a GameSession object is returned containing session properties, including an IP address. By default, newly created game sessions allow new players to join. Use UpdateGameSession to change the game sessions player session creation policy.
When creating a game session on a fleet with a resource limit creation policy, the request should include a creator ID. If none is provided, GameLift does not evaluate the fleet's resource limit creation policy.
",
"CreatePlayerSession": "Adds a player to a game session and creates a player session record. A game session must be in an ACTIVE
status, have a creation policy of ALLOW_ALL
, and have an open player slot before players can be added to the session.
To create a player session, specify a game session ID and player ID. If successful, the player is added to the game session and a new PlayerSession object is returned.
",
"CreatePlayerSessions": "Adds a group of players to a game session. Similar to CreatePlayerSession, this action allows you to add multiple players in a single call, which is useful for games that provide party and/or matchmaking features. A game session must be in an ACTIVE
status, have a creation policy of ALLOW_ALL
, and have an open player slot before players can be added to the session.
To create player sessions, specify a game session ID and a list of player IDs. If successful, the players are added to the game session and a set of new PlayerSession objects is returned.
",
"DeleteAlias": "Deletes an alias. This action removes all record of the alias; game clients attempting to access a server process using the deleted alias receive an error. To delete an alias, specify the alias ID to be deleted.
",
@@ -22,16 +22,17 @@
"DescribeFleetUtilization": "Retrieves utilization statistics for one or more fleets. You can request utilization data for all fleets, or specify a list of one or more fleet IDs. When requesting multiple fleets, use the pagination parameters to retrieve results as a set of sequential pages. If successful, a FleetUtilization object is returned for each requested fleet ID. When specifying a list of fleet IDs, utilization objects are returned only for fleets that currently exist.
Some API actions may limit the number of fleet IDs allowed in one request. If a request exceeds this limit, the request fails and the error message includes the maximum allowed.
",
"DescribeGameSessionDetails": "Retrieves properties, including the protection policy in force, for one or more game sessions. This action can be used in several ways: (1) provide a GameSessionId
to request details for a specific game session; (2) provide either a FleetId
or an AliasId
to request properties for all game sessions running on a fleet.
To get game session record(s), specify just one of the following: game session ID, fleet ID, or alias ID. You can filter this request by game session status. Use the pagination parameters to retrieve results as a set of sequential pages. If successful, a GameSessionDetail object is returned for each session matching the request.
",
"DescribeGameSessions": "Retrieves a set of one or more game sessions and properties. This action can be used in several ways: (1) provide a GameSessionId
to request properties for a specific game session; (2) provide a FleetId
or an AliasId
to request properties for all game sessions running on a fleet. You can also use SearchGameSessions, which allows you to retrieve all game sessions or filter on certain criteria, but only returns game sessions with a status of ACTIVE. If you need to retrieve the protection policy for each game session, use DescribeGameSessionDetails.
To get game session record(s), specify just one of the following: game session ID, fleet ID, or alias ID. You can filter this request by game session status. Use the pagination parameters to retrieve results as a set of sequential pages. If successful, a GameSession object is returned for each session matching the request.
",
- "DescribeInstances": "Retrieves information about instances in a fleet.
To get information on a specific instance, specify both a fleet ID and instance ID. To get information for all instances in a fleet, specify a fleet ID only. Use the pagination parameters to retrieve results as a set of sequential pages. If successful, an Instance object is returned for each result.
",
+ "DescribeInstances": "Retrieves information about a fleet's instances, including instance IDs. Use this action to get details on all instances in the fleet or get details on one specific instance.
To get a specific instance, specify fleet ID and instance ID. To get all instances in a fleet, specify a fleet ID only. Use the pagination parameters to retrieve results as a set of sequential pages. If successful, an Instance object is returned for each result.
",
"DescribePlayerSessions": "Retrieves properties for one or more player sessions. This action can be used in several ways: (1) provide a PlayerSessionId
parameter to request properties for a specific player session; (2) provide a GameSessionId
parameter to request properties for all player sessions in the specified game session; (3) provide a PlayerId
parameter to request properties for all player sessions of a specified player.
To get game session record(s), specify only one of the following: a player session ID, a game session ID, or a player ID. You can filter this request by player session status. Use the pagination parameters to retrieve results as a set of sequential pages. If successful, a PlayerSession object is returned for each session matching the request.
",
"DescribeRuntimeConfiguration": "Retrieves the current runtime configuration for the specified fleet. The runtime configuration tells GameLift how to launch server processes on instances in the fleet.
",
"DescribeScalingPolicies": "Retrieves all scaling policies applied to a fleet.
To get a fleet's scaling policies, specify the fleet ID. You can filter this request by policy status, such as to retrieve only active scaling policies. Use the pagination parameters to retrieve results as a set of sequential pages. If successful, set of ScalingPolicy objects is returned for the fleet.
",
"GetGameSessionLogUrl": "Retrieves the location of stored game session logs for a specified game session. When a game session is terminated, Amazon GameLift automatically stores the logs in Amazon S3. Use this URL to download the logs.
See the AWS Service Limits page for maximum log file sizes. Log files that exceed this limit are not saved.
",
+ "GetInstanceAccess": "Requests remote access to a fleet instance. Remote access is useful for debugging, gathering benchmarking data, or watching activity in real time.
Access requires credentials that match the operating system of the instance. For a Windows instance, GameLift returns a username and password as strings for use with a Windows Remote Desktop client. For a Linux instance, GameLift returns a username and RSA private key, also as strings, for use with an SSH client. The private key must be saved in the proper format to a .pem file before using. If you're making this request using the AWS CLI, saving the secret can be handled as part of the GetInstanceAccess request (see the example later in this topic). For more information on remote access, see Remotely Accessing an Instance.
To request access to a specific instance, specify the IDs of the instance and the fleet it belongs to. If successful, an InstanceAccess object is returned containing the instance's IP address and a set of credentials.
",
"ListAliases": "Retrieves a collection of alias records for this AWS account. You can filter the result set by alias name and/or routing strategy type. Use the pagination parameters to retrieve results in sequential pages.
Aliases are not listed in any particular order.
",
"ListBuilds": "Retrieves build records for all builds associated with the AWS account in use. You can limit results to builds that are in a specific status by using the Status
parameter. Use the pagination parameters to retrieve results in a set of sequential pages.
Build records are not listed in any particular order.
",
"ListFleets": "Retrieves a collection of fleet records for this AWS account. You can filter the result set by build ID. Use the pagination parameters to retrieve results in sequential pages.
Fleet records are not listed in any particular order.
",
"PutScalingPolicy": "Creates or updates a scaling policy for a fleet. An active scaling policy prompts Amazon GameLift to track a certain metric for a fleet and automatically change the fleet's capacity in specific circumstances. Each scaling policy contains one rule statement. Fleets can have multiple scaling policies in force simultaneously.
A scaling policy rule statement has the following structure:
If [MetricName]
is [ComparisonOperator]
[Threshold]
for [EvaluationPeriods]
minutes, then [ScalingAdjustmentType]
to/by [ScalingAdjustment]
.
For example, this policy: \"If the number of idle instances exceeds 20 for more than 15 minutes, then reduce the fleet capacity by 10 instances\" could be implemented as the following rule statement:
If [IdleInstances] is [GreaterThanOrEqualToThreshold] [20] for [15] minutes, then [ChangeInCapacity] by [-10].
To create or update a scaling policy, specify a unique combination of name and fleet ID, and set the rule values. All parameters for this action are required. If successful, the policy name is returned. Scaling policies cannot be suspended or made inactive. To stop enforcing a scaling policy, call DeleteScalingPolicy.
",
- "RequestUploadCredentials": "Retrieves a fresh set of upload credentials and the assigned Amazon S3 storage location for a specific build. Valid credentials are required to upload your game build files to Amazon S3.
Call this action only if you need credentials for a build created with CreateBuild
. This is a rare situation; in most cases, builds are created using the CLI command upload-build
, which creates a build record and also uploads build files.
Upload credentials are returned when you create the build, but they have a limited lifespan. You can get fresh credentials and use them to re-upload game files until the status of that build changes to READY
. Once this happens, you must create a brand new build.
",
+ "RequestUploadCredentials": "Retrieves a fresh set of upload credentials and the assigned Amazon S3 storage location for a specific build. Valid credentials are required to upload your game build files to Amazon S3.
Call this action only if you need credentials for a build created with CreateBuild
. This is a rare situation; in most cases, builds are created using the CLI command upload-build
, which creates a build record and also uploads build files.
Upload credentials are returned when you create the build, but they have a limited lifespan. You can get fresh credentials and use them to re-upload game files until the status of that build changes to READY
. Once this happens, you must create a brand new build.
",
"ResolveAlias": "Retrieves the fleet ID that a specified alias is currently pointing to.
",
"SearchGameSessions": "Retrieves a set of game sessions that match a set of search criteria and sorts them in a specified order. Currently a game session search is limited to a single fleet. Search results include only game sessions that are in ACTIVE status. If you need to retrieve game sessions with a status other than active, use DescribeGameSessions. If you need to retrieve the protection policy for each game session, use DescribeGameSessionDetails.
You can search or sort by the following game session attributes:
-
gameSessionId -- ID value assigned to a game session. This unique value is returned in a GameSession object when a new game session is created.
-
gameSessionName -- Name assigned to a game session. This value is set when requesting a new game session with CreateGameSession or updating with UpdateGameSession. Game session names do not need to be unique to a game session.
-
creationTimeMillis -- Value indicating when a game session was created. It is expressed in Unix time as milliseconds.
-
playerSessionCount -- Number of players currently connected to a game session. This value changes rapidly as players join the session or drop out.
-
maximumSessions -- Maximum number of player sessions allowed for a game session. This value is set when requesting a new game session with CreateGameSession or updating with UpdateGameSession.
-
hasAvailablePlayerSessions -- Boolean value indicating whether or not a game session has reached its maximum number of players. When searching with this attribute, the search value must be true
or false
. It is highly recommended that all search requests include this filter attribute to optimize search performance and return only sessions that players can join.
To search or sort, specify either a fleet ID or an alias ID, and provide a search filter expression, a sort expression, or both. Use the pagination parameters to retrieve results as a set of sequential pages. If successful, a collection of GameSession objects matching the request is returned.
Returned values for playerSessionCount
and hasAvailablePlayerSessions
change quickly as players join sessions and others drop out. Results should be considered a snapshot in time. Be sure to refresh search results often, and handle sessions that fill up before a player can join.
",
"UpdateAlias": "Updates properties for an alias. To update properties, specify the alias ID to be updated and provide the information to be changed. To reassign an alias to another fleet, provide an updated routing strategy. If successful, the updated alias record is returned.
",
@@ -75,19 +76,19 @@
"ArnStringModel": {
"base": null,
"refs": {
- "CreatePlayerSessionInput$GameSessionId": "Unique identifier for the game session to add a player to. Game session ID format is as follows: \"arn:aws:gamelift:<region>::gamesession/fleet-<fleet ID>/<ID string>\". The value of <ID string> is either a custom ID string (if one was specified when the game session was created) an auto-generated string.
",
- "CreatePlayerSessionsInput$GameSessionId": "Unique identifier for the game session to add players to. Game session ID format is as follows: \"arn:aws:gamelift:<region>::gamesession/fleet-<fleet ID>/<ID string>\". The value of <ID string> is either a custom ID string (if one was specified when the game session was created) an auto-generated string.
",
- "DescribeGameSessionDetailsInput$GameSessionId": "Unique identifier for the game session to retrieve information on. Game session ID format is as follows: \"arn:aws:gamelift:<region>::gamesession/fleet-<fleet ID>/<ID string>\". The value of <ID string> is either a custom ID string (if one was specified when the game session was created) an auto-generated string.
",
- "DescribeGameSessionsInput$GameSessionId": "Unique identifier for the game session to retrieve information on. Game session ID format is as follows: \"arn:aws:gamelift:<region>::gamesession/fleet-<fleet ID>/<ID string>\". The value of <ID string> is either a custom ID string (if one was specified when the game session was created) an auto-generated string.
",
- "DescribePlayerSessionsInput$GameSessionId": "Unique identifier for the game session to get player sessions for.Game session ID format is as follows: \"arn:aws:gamelift:<region>::gamesession/fleet-<fleet ID>/<ID string>\". The value of <ID string> is either a custom ID string (if one was specified when the game session was created) an auto-generated string.
",
- "GetGameSessionLogUrlInput$GameSessionId": "Unique identifier for the game session to get logs for. Game session ID format is as follows: \"arn:aws:gamelift:<region>::gamesession/fleet-<fleet ID>/<ID string>\". The value of <ID string> is either a custom ID string (if one was specified when the game session was created) an auto-generated string.
",
- "UpdateGameSessionInput$GameSessionId": "Unique identifier for the game session to update. Game session ID format is as follows: \"arn:aws:gamelift:<region>::gamesession/fleet-<fleet ID>/<ID string>\". The value of <ID string> is either a custom ID string (if one was specified when the game session was created) an auto-generated string.
"
+ "CreatePlayerSessionInput$GameSessionId": "Unique identifier for the game session to add a player to. Game session ID format is as follows: \"arn:aws:gamelift:<region>::gamesession/fleet-<fleet ID>/<ID string>\". The value of <ID string> is either a custom ID string (if one was specified when the game session was created) an autogenerated string.
",
+ "CreatePlayerSessionsInput$GameSessionId": "Unique identifier for the game session to add players to. Game session ID format is as follows: \"arn:aws:gamelift:<region>::gamesession/fleet-<fleet ID>/<ID string>\". The value of <ID string> is either a custom ID string (if one was specified when the game session was created) an autogenerated string.
",
+ "DescribeGameSessionDetailsInput$GameSessionId": "Unique identifier for the game session to retrieve information on. Game session ID format is as follows: \"arn:aws:gamelift:<region>::gamesession/fleet-<fleet ID>/<ID string>\". The value of <ID string> is either a custom ID string (if one was specified when the game session was created) an autogenerated string.
",
+ "DescribeGameSessionsInput$GameSessionId": "Unique identifier for the game session to retrieve information on. Game session ID format is as follows: \"arn:aws:gamelift:<region>::gamesession/fleet-<fleet ID>/<ID string>\". The value of <ID string> is either a custom ID string (if one was specified when the game session was created) an autogenerated string.
",
+ "DescribePlayerSessionsInput$GameSessionId": "Unique identifier for the game session to get player sessions for. Game session ID format is as follows: \"arn:aws:gamelift:<region>::gamesession/fleet-<fleet ID>/<ID string>\". The value of <ID string> is either a custom ID string (if one was specified when the game session was created) an autogenerated string.
",
+ "GetGameSessionLogUrlInput$GameSessionId": "Unique identifier for the game session to get logs for. Game session ID format is as follows: \"arn:aws:gamelift:<region>::gamesession/fleet-<fleet ID>/<ID string>\". The value of <ID string> is either a custom ID string (if one was specified when the game session was created) an autogenerated string.
",
+ "UpdateGameSessionInput$GameSessionId": "Unique identifier for the game session to update. Game session ID format is as follows: \"arn:aws:gamelift:<region>::gamesession/fleet-<fleet ID>/<ID string>\". The value of <ID string> is either a custom ID string (if one was specified when the game session was created) an autogenerated string.
"
}
},
"AwsCredentials": {
"base": "AWS access credentials required to upload game build files to Amazon GameLift. These credentials are generated with CreateBuild, and are valid for a limited time. If they expire before you upload your game build, get a new set by calling RequestUploadCredentials.
",
"refs": {
- "CreateBuildOutput$UploadCredentials": "AWS credentials required when uploading a game build to the storage location. These credentials have a limited lifespan and are valid only for the build they were issued for. If you need to get fresh credentials, call RequestUploadCredentials
.
",
+ "CreateBuildOutput$UploadCredentials": "AWS credentials required when uploading a game build to the storage location. These credentials have a limited lifespan and are valid only for the build they were issued for. If you need to get fresh credentials, call RequestUploadCredentials
.
",
"RequestUploadCredentialsOutput$UploadCredentials": "AWS credentials required when uploading a game build to the storage location. These credentials have a limited lifespan and are valid only for the build they were issued for.
"
}
},
@@ -394,7 +395,7 @@
}
},
"Event": {
- "base": "Log entry describing an event involving an Amazon GameLift resource (such as a fleet).
",
+ "base": "Log entry describing an event involving Amazon GameLift resources (such as a fleet). In addition to tracking activity, event codes and messages can provide additional information for troubleshooting and debugging problems.
",
"refs": {
"EventList$member": null
}
@@ -402,7 +403,7 @@
"EventCode": {
"base": null,
"refs": {
- "Event$EventCode": "Type of event being logged.
"
+ "Event$EventCode": "Type of event being logged.
"
}
},
"EventList": {
@@ -459,7 +460,9 @@
"FleetIdList$member": null,
"FleetUtilization$FleetId": "Unique identifier for a fleet.
",
"GameSession$FleetId": "Unique identifier for a fleet.
",
+ "GetInstanceAccessInput$FleetId": "Unique identifier for a fleet. Specify the fleet that contain the instance you want access to. The fleet can be in any of the following statuses: ACTIVATING, ACTIVE, or ERROR. Fleets with an ERROR status can be accessed for a few hours before being deleted.
",
"Instance$FleetId": "Unique identifier for the fleet that the instance belongs to.
",
+ "InstanceAccess$FleetId": "Unique identifier for the fleet containing the instance being accessed.
",
"PlayerSession$FleetId": "Unique identifier for a fleet.
",
"PutScalingPolicyInput$FleetId": "Unique identity for the fleet to scale with this policy.
",
"ResolveAliasOutput$FleetId": "Fleet ID associated with the requested alias.
",
@@ -585,10 +588,20 @@
"refs": {
}
},
+ "GetInstanceAccessInput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "GetInstanceAccessOutput": {
+ "base": null,
+ "refs": {
+ }
+ },
"IdStringModel": {
"base": null,
"refs": {
- "CreateGameSessionInput$GameSessionId": "Custom string to include in the game session ID, with a maximum length of 48 characters. If this parameter is set, GameLift creates a game session ID in the following format: \"arn:aws:gamelift:<region>::gamesession/fleet-<fleet ID>/<custom ID string>\". For example, this full game session ID: \"arn:aws:gamelift:us-west-2::gamesession/fleet-2ec2aae5-c2c7-43ca-b19d-8249fe5fddf2/my-game-session\" includes the custom ID string \"my-game-session\". If this parameter is not set, GameLift creates a game session ID in the same format with an auto-generated ID string.
"
+ "CreateGameSessionInput$GameSessionId": "Custom string to include in the game session ID, with a maximum length of 48 characters. If this parameter is set, GameLift creates a game session ID in the following format: \"arn:aws:gamelift:<region>::gamesession/fleet-<fleet ID>/<custom ID string>\". For example, this full game session ID: \"arn:aws:gamelift:us-west-2::gamesession/fleet-2ec2aae5-c2c7-43ca-b19d-8249fe5fddf2/my-game-session\" includes the custom ID string \"my-game-session\". If this parameter is not set, GameLift creates a game session ID in the same format with an autogenerated ID string.
"
}
},
"IdempotentParameterMismatchException": {
@@ -597,16 +610,30 @@
}
},
"Instance": {
- "base": "Properties describing an instance of a virtual computing resource that is hosting game servers. Fleets contain zero or more instances.
",
+ "base": "Properties that describe an instance of a virtual computing resource that hosts one or more game servers. A fleet contains zero or more instances.
",
"refs": {
"InstanceList$member": null
}
},
+ "InstanceAccess": {
+ "base": "Information required to remotely connect to a fleet instance. Access is requested by calling GetInstanceAccess.
",
+ "refs": {
+ "GetInstanceAccessOutput$InstanceAccess": "Object containing connection information for a fleet instance, including IP address and access credentials.
"
+ }
+ },
+ "InstanceCredentials": {
+ "base": "Set of credentials required to remotely access a fleet instance. Access credentials are requested by calling GetInstanceAccess and returned in an InstanceAccess object.
",
+ "refs": {
+ "InstanceAccess$Credentials": "Credentials required to access the instance.
"
+ }
+ },
"InstanceId": {
"base": null,
"refs": {
"DescribeInstancesInput$InstanceId": "Unique identifier for an instance. Specify an instance to retrieve information for or leave blank to get information on all instances in the fleet.
",
- "Instance$InstanceId": "Unique identifier for the instance.
"
+ "GetInstanceAccessInput$InstanceId": "Unique identifier for an instance. Specify the instance you want to get access to. You can access an instance in any status.
",
+ "Instance$InstanceId": "Unique identifier for the instance.
",
+ "InstanceAccess$InstanceId": "Unique identifier for the instance being accessed.
"
}
},
"InstanceList": {
@@ -653,6 +680,7 @@
"refs": {
"GameSession$IpAddress": "IP address of the game session. To connect to a GameLift server process, an app needs both the IP address and port number.
",
"Instance$IpAddress": "IP address assigned to the instance.
",
+ "InstanceAccess$IpAddress": "IP address assigned to the instance.
",
"PlayerSession$IpAddress": "Game session IP address. All player sessions reference the game session location.
"
}
},
@@ -744,6 +772,8 @@
"FleetCapacityExceededException$Message": null,
"GameSessionFullException$Message": null,
"IdempotentParameterMismatchException$Message": null,
+ "InstanceCredentials$UserName": "User login string.
",
+ "InstanceCredentials$Secret": "Secret string. For Windows instances, the secret is a password. For Linux instances, it is a private key.
",
"InternalServiceException$Message": null,
"InvalidFleetStatusException$Message": null,
"InvalidGameSessionStatusException$Message": null,
@@ -766,8 +796,8 @@
"base": null,
"refs": {
"CreateAliasInput$Description": "Human-readable description of an alias.
",
- "CreateBuildInput$Name": "Descriptive label associated with a build. Build names do not need to be unique. A build name can be changed later using UpdateBuild
.
",
- "CreateBuildInput$Version": "Version associated with this build. Version strings do not need to be unique to a build. A build version can be changed later using UpdateBuild
.
",
+ "CreateBuildInput$Name": "Descriptive label associated with a build. Build names do not need to be unique. A build name can be changed later using UpdateBuild
.
",
+ "CreateBuildInput$Version": "Version associated with this build. Version strings do not need to be unique to a build. A build version can be changed later using UpdateBuild
.
",
"CreateFleetInput$Name": "Descriptive label associated with a fleet. Fleet names do not need to be unique.
",
"CreateFleetInput$Description": "Human-readable description of a fleet.
",
"CreateFleetInput$ServerLaunchPath": "This parameter is no longer used. Instead, specify a server launch path using the RuntimeConfiguration
parameter. (Requests that specify a server launch path and launch parameters instead of a runtime configuration will continue to work.)
",
@@ -804,9 +834,9 @@
"FleetAttributes$Name": "Descriptive label associated with a fleet. Fleet names do not need to be unique.
",
"FleetAttributes$ServerLaunchPath": "Path to a game server executable in the fleet's build, specified for fleets created prior to 2016-08-04 (or AWS SDK v. 0.12.16). Server launch paths for fleets created after this date are specified in the fleet's RuntimeConfiguration
.
",
"FleetAttributes$ServerLaunchParameters": "Game server launch parameters specified for fleets created prior to 2016-08-04 (or AWS SDK v. 0.12.16). Server launch parameters for fleets created after this date are specified in the fleet's RuntimeConfiguration
.
",
- "GameSession$GameSessionId": "Unique identifier for a game session. Game session ID format is as follows: \"arn:aws:gamelift:<region>::gamesession/fleet-<fleet ID>/<ID string>\". The value of <ID string> is either a custom ID string (if one was specified when the game session was created) an auto-generated string.
",
+ "GameSession$GameSessionId": "Unique identifier for a game session. Game session ID format is as follows: \"arn:aws:gamelift:<region>::gamesession/fleet-<fleet ID>/<ID string>\". The value of <ID string> is either a custom ID string (if one was specified when the game session was created) an autogenerated string.
",
"GameSession$Name": "Descriptive label associated with a game session. Session names do not need to be unique.
",
- "GameSession$CreatorId": "Player ID of the person or entity that created the game session. This ID is used to enforce a resource protection policy (if one exists) that limits the number of concurrent active game sessions one player can have.
",
+ "GameSession$CreatorId": "Player ID of the person or entity that created the game session. This ID is used to enforce a resource protection policy (if one exists) that limits the number of concurrent active game sessions for a single player.
",
"GetGameSessionLogUrlOutput$PreSignedUrl": "Location of the requested game session logs, available for download.
",
"ListFleetsInput$NextToken": "Token indicating the start of the next sequential page of results. Use the token that is returned with a previous call to this action. To specify the start of the result set, do not specify a value.
",
"ListFleetsOutput$NextToken": "Token indicating where to resume retrieving results on the next call to this action. If no token is returned, these results represent the end of the list.
",
@@ -820,7 +850,7 @@
"SearchGameSessionsInput$SortExpression": "Instructions on how to sort the search results. If no sort expression is included, the request returns results in random order. A sort expression consists of the following elements:
-
Operand -- Name of a game session attribute. Valid values are gameSessionName
, gameSessionId
, creationTimeMillis
, playerSessionCount
, maximumSessions
, hasAvailablePlayerSessions
.
-
Order -- Valid sort orders are ASC
(ascending) and DESC
(descending).
For example, this sort expression returns the oldest active sessions first: \"SortExpression\": \"creationTimeMillis ASC\"
. Results with a null value for the sort operand are returned at the end of the list.
",
"SearchGameSessionsInput$NextToken": "Token indicating the start of the next sequential page of results. Use the token that is returned with a previous call to this action. To specify the start of the result set, do not specify a value.
",
"SearchGameSessionsOutput$NextToken": "Token indicating where to resume retrieving results on the next call to this action. If no token is returned, these results represent the end of the list.
",
- "ServerProcess$LaunchPath": "Location in the game build of the server executable. All game builds are installed on instances at the root C:\\game\\...
, so an executable file located at MyGame\\latest\\server.exe
has a launch path of \"C:\\game\\MyGame\\latest\\server.exe
\".
",
+ "ServerProcess$LaunchPath": "Location of the server executable in a game build. All game builds are installed on instances at the root : for Windows instances C:\\game
, and for Linux instances /local/game
. A Windows game build with an executable file located at MyGame\\latest\\server.exe
must have a launch path of \"C:\\game\\MyGame\\latest\\server.exe
\". A Linux game build with an executable file located at MyGame/latest/server.exe
must have a launch path of \"/local/game/MyGame/latest/server.exe
\".
",
"ServerProcess$Parameters": "Optional list of parameters to pass to the server executable on launch.
",
"StringList$member": null,
"UpdateAliasInput$Description": "Human-readable description of an alias.
",
@@ -842,7 +872,8 @@
"Build$OperatingSystem": "Operating system that the game server binaries are built to run on. This value determines the type of fleet resources that you can use for this build.
",
"CreateBuildInput$OperatingSystem": "Operating system that the game server binaries are built to run on. This value determines the type of fleet resources that you can use for this build.
",
"FleetAttributes$OperatingSystem": "Operating system of the fleet's computing resources. A fleet's operating system depends on the OS specified for the build that is deployed on this fleet.
",
- "Instance$OperatingSystem": "Operating system being used on this instance.
"
+ "Instance$OperatingSystem": "Operating system that is running on this instance.
",
+ "InstanceAccess$OperatingSystem": "Operating system that is running on the instance.
"
}
},
"PlayerIdList": {
@@ -1052,8 +1083,8 @@
"StringList": {
"base": null,
"refs": {
- "CreateFleetInput$LogPaths": "Location of default log files. When a server process is shut down, Amazon GameLift captures and stores any log files in this location. These logs are in addition to game session logs; see more on game session logs in the Amazon GameLift Developer Guide. If no default log path for a fleet is specified, GameLift will automatically upload logs stored on each instance at C:\\game\\logs
. Use the GameLift console to access stored logs.
",
- "FleetAttributes$LogPaths": "Location of default log files. When a server process is shut down, Amazon GameLift captures and stores any log files in this location. These logs are in addition to game session logs; see more on game session logs in the Amazon GameLift Developer Guide. If no default log path for a fleet is specified, GameLift will automatically upload logs stored on each instance at C:\\game\\logs
. Use the GameLift console to access stored logs.
"
+ "CreateFleetInput$LogPaths": "Location of default log files. When a server process is shut down, Amazon GameLift captures and stores any log files in this location. These logs are in addition to game session logs; see more on game session logs in the Amazon GameLift Developer Guide. If no default log path for a fleet is specified, GameLift will automatically upload logs stored on each instance at C:\\game\\logs
(for Windows) or /local/game/logs
(for Linux). Use the GameLift console to access stored logs.
",
+ "FleetAttributes$LogPaths": "Location of default log files. When a server process is shut down, Amazon GameLift captures and stores any log files in this location. These logs are in addition to game session logs; see more on game session logs in the Amazon GameLift Developer Guide. If no default log path for a fleet is specified, GameLift will automatically upload logs that are stored on each instance at C:\\game\\logs
(for Windows) or /local/game/logs
(for Linux). Use the GameLift console to access stored logs.
"
}
},
"TerminalRoutingStrategyException": {
@@ -1064,19 +1095,19 @@
"Timestamp": {
"base": null,
"refs": {
- "Alias$CreationTime": "Time stamp indicating when this data object was created. Format is a number expressed in Unix time as milliseconds (ex: \"1469498468.057\".
",
- "Alias$LastUpdatedTime": "Time stamp indicating when this data object was last modified. Format is a number expressed in Unix time as milliseconds (ex: \"1469498468.057\".
",
- "Build$CreationTime": "Time stamp indicating when this data object was created. Format is a number expressed in Unix time as milliseconds (ex: \"1469498468.057\".
",
- "DescribeFleetEventsInput$StartTime": "Earliest date to retrieve event logs for. If no start time is specified, this call returns entries starting from when the fleet was created to the specified end time. Format is a number expressed in Unix time as milliseconds (ex: \"1469498468.057\".
",
- "DescribeFleetEventsInput$EndTime": "Most recent date to retrieve event logs for. If no end time is specified, this call returns entries from the specified start time up to the present. Format is a number expressed in Unix time as milliseconds (ex: \"1469498468.057\".
",
- "Event$EventTime": "Time stamp indicating when this event occurred. Format is a number expressed in Unix time as milliseconds (ex: \"1469498468.057\".
",
- "FleetAttributes$CreationTime": "Time stamp indicating when this data object was created. Format is a number expressed in Unix time as milliseconds (ex: \"1469498468.057\".
",
- "FleetAttributes$TerminationTime": "Time stamp indicating when this data object was terminated. Format is a number expressed in Unix time as milliseconds (ex: \"1469498468.057\".
",
- "GameSession$CreationTime": "Time stamp indicating when this data object was created. Format is a number expressed in Unix time as milliseconds (ex: \"1469498468.057\".
",
- "GameSession$TerminationTime": "Time stamp indicating when this data object was terminated. Format is a number expressed in Unix time as milliseconds (ex: \"1469498468.057\".
",
+ "Alias$CreationTime": "Time stamp indicating when this data object was created. Format is a number expressed in Unix time as milliseconds (ex: \"1469498468.057\").
",
+ "Alias$LastUpdatedTime": "Time stamp indicating when this data object was last modified. Format is a number expressed in Unix time as milliseconds (ex: \"1469498468.057\").
",
+ "Build$CreationTime": "Time stamp indicating when this data object was created. Format is a number expressed in Unix time as milliseconds (ex: \"1469498468.057\").
",
+ "DescribeFleetEventsInput$StartTime": "Earliest date to retrieve event logs for. If no start time is specified, this call returns entries starting from when the fleet was created to the specified end time. Format is a number expressed in Unix time as milliseconds (ex: \"1469498468.057\").
",
+ "DescribeFleetEventsInput$EndTime": "Most recent date to retrieve event logs for. If no end time is specified, this call returns entries from the specified start time up to the present. Format is a number expressed in Unix time as milliseconds (ex: \"1469498468.057\").
",
+ "Event$EventTime": "Time stamp indicating when this event occurred. Format is a number expressed in Unix time as milliseconds (ex: \"1469498468.057\").
",
+ "FleetAttributes$CreationTime": "Time stamp indicating when this data object was created. Format is a number expressed in Unix time as milliseconds (ex: \"1469498468.057\").
",
+ "FleetAttributes$TerminationTime": "Time stamp indicating when this data object was terminated. Format is a number expressed in Unix time as milliseconds (ex: \"1469498468.057\").
",
+ "GameSession$CreationTime": "Time stamp indicating when this data object was created. Format is a number expressed in Unix time as milliseconds (ex: \"1469498468.057\").
",
+ "GameSession$TerminationTime": "Time stamp indicating when this data object was terminated. Format is a number expressed in Unix time as milliseconds (ex: \"1469498468.057\").
",
"Instance$CreationTime": "Time stamp indicating when this data object was created. Format is a number expressed in Unix time as milliseconds (ex: \"1469498468.057\").
",
- "PlayerSession$CreationTime": "Time stamp indicating when this data object was created. Format is a number expressed in Unix time as milliseconds (ex: \"1469498468.057\".
",
- "PlayerSession$TerminationTime": "Time stamp indicating when this data object was terminated. Format is a number expressed in Unix time as milliseconds (ex: \"1469498468.057\".
"
+ "PlayerSession$CreationTime": "Time stamp indicating when this data object was created. Format is a number expressed in Unix time as milliseconds (ex: \"1469498468.057\").
",
+ "PlayerSession$TerminationTime": "Time stamp indicating when this data object was terminated. Format is a number expressed in Unix time as milliseconds (ex: \"1469498468.057\").
"
}
},
"UnauthorizedException": {
@@ -1173,8 +1204,8 @@
"FleetUtilization$MaximumPlayerSessionCount": "Maximum players allowed across all game sessions currently being hosted on all instances in the fleet.
",
"GameSession$CurrentPlayerSessionCount": "Number of players currently in the game session.
",
"GameSession$MaximumPlayerSessionCount": "Maximum number of players allowed in the game session.
",
- "ResourceCreationLimitPolicy$NewGameSessionsPerCreator": "Maximum number of game sessions an individual can create during the policy period.
",
- "ResourceCreationLimitPolicy$PolicyPeriodInMinutes": "Time span used to evaluate the resource creation limit policy.
",
+ "ResourceCreationLimitPolicy$NewGameSessionsPerCreator": "Maximum number of game sessions that an individual can create during the policy period.
",
+ "ResourceCreationLimitPolicy$PolicyPeriodInMinutes": "Time span used in evaluating the resource creation limit policy.
",
"UpdateFleetCapacityInput$DesiredInstances": "Number of EC2 instances you want this fleet to host.
",
"UpdateFleetCapacityInput$MinSize": "Minimum value allowed for the fleet's instance count. Default if not set is 0.
",
"UpdateFleetCapacityInput$MaxSize": "Maximum value allowed for the fleet's instance count. Default if not set is 1.
",
diff --git a/vendor/github.com/aws/aws-sdk-go/models/apis/kinesis/2013-12-02/api-2.json b/vendor/github.com/aws/aws-sdk-go/models/apis/kinesis/2013-12-02/api-2.json
index 1f24a5a..3ff7669 100644
--- a/vendor/github.com/aws/aws-sdk-go/models/apis/kinesis/2013-12-02/api-2.json
+++ b/vendor/github.com/aws/aws-sdk-go/models/apis/kinesis/2013-12-02/api-2.json
@@ -48,7 +48,6 @@
"errors":[
{"shape":"ResourceInUseException"},
{"shape":"ResourceNotFoundException"},
- {"shape":"LimitExceededException"},
{"shape":"InvalidArgumentException"}
]
},
@@ -64,6 +63,18 @@
{"shape":"LimitExceededException"}
]
},
+ "DescribeLimits":{
+ "name":"DescribeLimits",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"DescribeLimitsInput"},
+ "output":{"shape":"DescribeLimitsOutput"},
+ "errors":[
+ {"shape":"LimitExceededException"}
+ ]
+ },
"DescribeStream":{
"name":"DescribeStream",
"http":{
@@ -146,7 +157,6 @@
"errors":[
{"shape":"ResourceInUseException"},
{"shape":"ResourceNotFoundException"},
- {"shape":"LimitExceededException"},
{"shape":"InvalidArgumentException"}
]
},
@@ -245,6 +255,21 @@
{"shape":"InvalidArgumentException"},
{"shape":"LimitExceededException"}
]
+ },
+ "UpdateShardCount":{
+ "name":"UpdateShardCount",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"UpdateShardCountInput"},
+ "output":{"shape":"UpdateShardCountOutput"},
+ "errors":[
+ {"shape":"InvalidArgumentException"},
+ {"shape":"LimitExceededException"},
+ {"shape":"ResourceInUseException"},
+ {"shape":"ResourceNotFoundException"}
+ ]
}
},
"shapes":{
@@ -259,7 +284,6 @@
"Tags":{"shape":"TagMap"}
}
},
- "ApproximateArrivalTimestamp":{"type":"timestamp"},
"BooleanObject":{"type":"boolean"},
"CreateStreamInput":{
"type":"structure",
@@ -285,7 +309,7 @@
],
"members":{
"StreamName":{"shape":"StreamName"},
- "RetentionPeriodHours":{"shape":"RetentionPeriodHours"}
+ "RetentionPeriodHours":{"shape":"PositiveIntegerObject"}
}
},
"DeleteStreamInput":{
@@ -295,6 +319,22 @@
"StreamName":{"shape":"StreamName"}
}
},
+ "DescribeLimitsInput":{
+ "type":"structure",
+ "members":{
+ }
+ },
+ "DescribeLimitsOutput":{
+ "type":"structure",
+ "required":[
+ "ShardLimit",
+ "OpenShardCount"
+ ],
+ "members":{
+ "ShardLimit":{"shape":"ShardCountObject"},
+ "OpenShardCount":{"shape":"ShardCountObject"}
+ }
+ },
"DescribeStreamInput":{
"type":"structure",
"required":["StreamName"],
@@ -431,7 +471,7 @@
],
"members":{
"StreamName":{"shape":"StreamName"},
- "RetentionPeriodHours":{"shape":"RetentionPeriodHours"}
+ "RetentionPeriodHours":{"shape":"PositiveIntegerObject"}
}
},
"InvalidArgumentException":{
@@ -636,7 +676,7 @@
],
"members":{
"SequenceNumber":{"shape":"SequenceNumber"},
- "ApproximateArrivalTimestamp":{"shape":"ApproximateArrivalTimestamp"},
+ "ApproximateArrivalTimestamp":{"shape":"Timestamp"},
"Data":{"shape":"Data"},
"PartitionKey":{"shape":"PartitionKey"}
}
@@ -670,10 +710,9 @@
},
"exception":true
},
- "RetentionPeriodHours":{
- "type":"integer",
- "max":168,
- "min":24
+ "ScalingType":{
+ "type":"string",
+ "enum":["UNIFORM_SCALING"]
},
"SequenceNumber":{
"type":"string",
@@ -702,6 +741,11 @@
"SequenceNumberRange":{"shape":"SequenceNumberRange"}
}
},
+ "ShardCountObject":{
+ "type":"integer",
+ "max":1000000,
+ "min":0
+ },
"ShardId":{
"type":"string",
"max":128,
@@ -750,6 +794,7 @@
"Shards",
"HasMoreShards",
"RetentionPeriodHours",
+ "StreamCreationTimestamp",
"EnhancedMonitoring"
],
"members":{
@@ -758,7 +803,8 @@
"StreamStatus":{"shape":"StreamStatus"},
"Shards":{"shape":"ShardList"},
"HasMoreShards":{"shape":"BooleanObject"},
- "RetentionPeriodHours":{"shape":"RetentionPeriodHours"},
+ "RetentionPeriodHours":{"shape":"PositiveIntegerObject"},
+ "StreamCreationTimestamp":{"shape":"Timestamp"},
"EnhancedMonitoring":{"shape":"EnhancedMonitoringList"}
}
},
@@ -817,6 +863,27 @@
"max":256,
"min":0
},
- "Timestamp":{"type":"timestamp"}
+ "Timestamp":{"type":"timestamp"},
+ "UpdateShardCountInput":{
+ "type":"structure",
+ "required":[
+ "StreamName",
+ "TargetShardCount",
+ "ScalingType"
+ ],
+ "members":{
+ "StreamName":{"shape":"StreamName"},
+ "TargetShardCount":{"shape":"PositiveIntegerObject"},
+ "ScalingType":{"shape":"ScalingType"}
+ }
+ },
+ "UpdateShardCountOutput":{
+ "type":"structure",
+ "members":{
+ "StreamName":{"shape":"StreamName"},
+ "CurrentShardCount":{"shape":"PositiveIntegerObject"},
+ "TargetShardCount":{"shape":"PositiveIntegerObject"}
+ }
+ }
}
}
diff --git a/vendor/github.com/aws/aws-sdk-go/models/apis/kinesis/2013-12-02/docs-2.json b/vendor/github.com/aws/aws-sdk-go/models/apis/kinesis/2013-12-02/docs-2.json
index 09cf0fc..f95340e 100644
--- a/vendor/github.com/aws/aws-sdk-go/models/apis/kinesis/2013-12-02/docs-2.json
+++ b/vendor/github.com/aws/aws-sdk-go/models/apis/kinesis/2013-12-02/docs-2.json
@@ -2,23 +2,25 @@
"version": "2.0",
"service": "Amazon Kinesis Streams Service API Reference Amazon Kinesis Streams is a managed service that scales elastically for real time processing of streaming big data.
",
"operations": {
- "AddTagsToStream": "Adds or updates tags for the specified Amazon 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.
",
- "CreateStream": "Creates an Amazon 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.
You specify and control the number of shards that a stream is composed of. 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.
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 in two different accounts can have the same name, and two streams in the 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 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 try to do one of the following:
- Have more than five streams in the
CREATING
state at any point in time. - Create more shards than are authorized for your account.
For the default shard limit for an AWS account, see Streams Limits in the Amazon Kinesis Streams Developer Guide. If you need to increase this limit, contact AWS Support.
You can use DescribeStream
to check the stream status, which is returned in StreamStatus
.
CreateStream has a limit of 5 transactions per second per account.
",
+ "AddTagsToStream": "Adds or updates tags for the specified Amazon 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.
",
+ "CreateStream": "Creates an Amazon 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.
You specify and control the number of shards that a stream is composed of. 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.
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 in two different accounts can have the same name, and two streams in the 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 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 try to do one of the following:
For the default shard limit for an AWS account, see Streams Limits in the Amazon Kinesis Streams Developer Guide. If you need to increase this limit, contact AWS Support.
You can use DescribeStream
to check the stream status, which is returned in StreamStatus
.
CreateStream has a limit of 5 transactions per second per account.
",
"DecreaseStreamRetentionPeriod": "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.
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 stream that is older than 24 hours is inaccessible.
",
- "DeleteStream": "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
.
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 completes the deletion.
Note: Amazon Kinesis 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.
When you delete a stream, any shards in that stream are also deleted, and any tags are dissociated from the stream.
You can use the DescribeStream operation to check the state of the stream, which is returned in StreamStatus
.
DeleteStream has a limit of 5 transactions per second per account.
",
- "DescribeStream": "Describes the specified Amazon Kinesis stream.
The information about the stream includes its current status, its Amazon Resource Name (ARN), and an array of shard objects. For each shard object, there is information about the hash key and sequence number ranges that the shard spans, and the IDs of any earlier shards that played in a role in creating the shard. A sequence number is the identifier associated with every record ingested in the stream. The sequence number is assigned when a record is put into the stream.
You can limit the number of returned shards using the Limit
parameter. The number of shards in a stream may be too large to return from a single call to DescribeStream
. You can detect this by using the HasMoreShards
flag in the returned output. HasMoreShards
is set to true
when there is more data available.
DescribeStream
is a paginated operation. If there are more shards available, you can request them using the shard ID of the last shard returned. Specify this ID in the ExclusiveStartShardId
parameter in a subsequent request to DescribeStream
.
There are no guarantees about the chronological order shards returned in DescribeStream
results. If you want to process shards in chronological order, use ParentShardId
to track lineage to the oldest shard.
DescribeStream has a limit of 10 transactions per second per account.
",
+ "DeleteStream": "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
.
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 completes the deletion.
Note: Amazon Kinesis 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.
When you delete a stream, any shards in that stream are also deleted, and any tags are dissociated from the stream.
You can use the DescribeStream operation to check the state of the stream, which is returned in StreamStatus
.
DeleteStream has a limit of 5 transactions per second per account.
",
+ "DescribeLimits": "Describes the shard limits and usage for the account.
If you update your account limits, the old limits might be returned for a few minutes.
This operation has a limit of 1 transaction per second per account.
",
+ "DescribeStream": "Describes the specified Amazon Kinesis stream.
The information returned includes the stream name, Amazon Resource Name (ARN), creation time, enhanced metric configuration, and shard map. The shard map is an array of shard objects. For each shard object, there is the hash key and sequence number ranges that the shard spans, and the IDs of any earlier shards that played in a role in creating the shard. Every record ingested in the stream is identified by a sequence number, which is assigned when the record is put into the stream.
You can limit the number of shards returned by each call. For more information, see Retrieving Shards from a Stream in the Amazon Kinesis Streams Developer Guide.
There are no guarantees about the chronological order shards returned. To process shards in chronological order, use the ID of the parent shard to track the lineage to the oldest shard.
This operation has a limit of 10 transactions per second per account.
",
"DisableEnhancedMonitoring": "Disables enhanced monitoring.
",
"EnableEnhancedMonitoring": "Enables enhanced Amazon Kinesis stream monitoring for shard-level metrics.
",
"GetRecords": "Gets data records from an Amazon 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.
You can scale by provisioning multiple shards per stream while considering service limits (for more information, see Streams Limits in the Amazon Kinesis Streams Developer Guide). Your application should have one thread per shard, each reading continuously from its stream. To read 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.
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 supported size or throughput by using the Limit
parameter to specify the maximum number of records that GetRecords can return. Consider your average record size when determining this limit.
The size of the data returned by GetRecords varies depending on the utilization of the shard. The maximum size of data that GetRecords can return is 10 MB. 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.
To detect whether the application is falling behind in processing, you can use the MillisBehindLatest
response attribute. You can also monitor the stream using CloudWatch metrics and other mechanisms (see Monitoring in the Amazon Kinesis Streams Developer Guide).
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 (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 always increasing. For example, records in a shard or across a stream might have timestamps that are out of order.
",
- "GetShardIterator": "Gets an Amazon Kinesis shard iterator. A shard iterator expires five minutes after it is returned to the requester.
A shard iterator specifies the shard position from which to start reading data records sequentially. The position is specified using the sequence number of a data record in a shard. A sequence number is the identifier associated with every record ingested in the stream, and is assigned when a record is put into the stream. Each stream has one or more shards.
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.
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 for subsequent reads use the shard iterator returned by the GetRecords request in NextShardIterator
. A new shard iterator is returned by every GetRecords request in NextShardIterator
, which you use in the ShardIterator
parameter of the next GetRecords request.
If a GetShardIterator request is made too often, you receive a ProvisionedThroughputExceededException
. For more information about throughput limits, see GetRecords, and Streams Limits 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.
GetShardIterator has a limit of 5 transactions per second per account per open shard.
",
+ "GetShardIterator": "Gets an Amazon Kinesis shard iterator. A shard iterator expires five minutes after it is returned to the requester.
A shard iterator specifies the shard position from which to start reading data records sequentially. The position is specified using the sequence number of a data record in a shard. A sequence number is the identifier associated with every record ingested in the stream, and is assigned when a record is put into the stream. Each stream has one or more shards.
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.
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 for subsequent reads use the shard iterator returned by the GetRecords request in NextShardIterator
. A new shard iterator is returned by every GetRecords request in NextShardIterator
, which you use in the ShardIterator
parameter of the next GetRecords request.
If a GetShardIterator request is made too often, you receive a ProvisionedThroughputExceededException
. For more information about throughput limits, see GetRecords, and Streams Limits 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.
GetShardIterator has a limit of 5 transactions per second per account per open shard.
",
"IncreaseStreamRetentionPeriod": "Increases 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 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 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.
",
- "ListStreams": "Lists your Amazon 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 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 request more streams by using the name of the last stream returned by the ListStreams
request in the ExclusiveStartStreamName
parameter in a subsequent request to ListStreams
. The group of stream names returned by the subsequent request is then added to the list. You can continue this process until all the stream names have been collected in the list.
ListStreams has a limit of 5 transactions per second per account.
",
+ "ListStreams": "Lists your Amazon 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 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 request more streams by using the name of the last stream returned by the ListStreams
request in the ExclusiveStartStreamName
parameter in a subsequent request to ListStreams
. The group of stream names returned by the subsequent request is then added to the list. You can continue this process until all the stream names have been collected in the list.
ListStreams has a limit of 5 transactions per second per account.
",
"ListTagsForStream": "Lists the tags for the specified Amazon Kinesis stream.
",
- "MergeShards": "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.
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 the shard to be merged and the adjacent shard for a stream. For more information about merging shards, see Merge Two Shards in the Amazon Kinesis Streams Developer Guide.
If the stream is in the ACTIVE
state, you can call MergeShards
. If a stream is in the CREATING
, UPDATING
, or DELETING
state, MergeShards
returns a ResourceInUseException
. If the specified stream does not exist, MergeShards
returns a ResourceNotFoundException
.
You can use DescribeStream to check the state of the stream, which is returned in StreamStatus
.
MergeShards
is an asynchronous operation. Upon receiving a MergeShards
request, Amazon Kinesis immediately returns a response and sets the StreamStatus
to UPDATING
. After the operation is completed, Amazon Kinesis sets the StreamStatus
to ACTIVE
. Read and write operations continue to work while the stream is in the UPDATING
state.
You use DescribeStream to determine the shard IDs that are specified in the MergeShards
request.
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.
",
- "PutRecord": "Writes a single data record into an Amazon Kinesis stream. Call PutRecord
to send data into the stream for real-time ingestion and subsequent processing, one record at a time. 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 must specify the name of the stream that captures, stores, and transports the data; a partition key; and the data blob itself.
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.
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 integer values and to map associated data records to shards using the hash key ranges of the shards. You can override hashing the partition key to determine the shard by explicitly specifying a hash value using the ExplicitHashKey
parameter. For more information, see Adding Data to a Stream in the Amazon Kinesis Streams Developer Guide.
PutRecord
returns the shard ID of where the data record was placed and the sequence number that was assigned to the data record.
Sequence numbers increase over time and are specific to a shard within a stream, not across all shards within a stream. To guarantee strictly increasing ordering, write serially to a shard and use the SequenceNumberForOrdering
parameter. For more information, see Adding Data to a Stream in the Amazon Kinesis Streams Developer Guide.
If a PutRecord
request cannot be processed because of insufficient provisioned throughput on the shard involved in the request, PutRecord
throws ProvisionedThroughputExceededException
.
Data records are accessible for only 24 hours from the time that they are added to a stream.
",
+ "MergeShards": "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.
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 the shard to be merged and the adjacent shard for a stream. For more information about merging shards, see Merge Two Shards in the Amazon Kinesis Streams Developer Guide.
If the stream is in the ACTIVE
state, you can call MergeShards
. If a stream is in the CREATING
, UPDATING
, or DELETING
state, MergeShards
returns a ResourceInUseException
. If the specified stream does not exist, MergeShards
returns a ResourceNotFoundException
.
You can use DescribeStream to check the state of the stream, which is returned in StreamStatus
.
MergeShards
is an asynchronous operation. Upon receiving a MergeShards
request, Amazon Kinesis immediately returns a response and sets the StreamStatus
to UPDATING
. After the operation is completed, Amazon Kinesis sets the StreamStatus
to ACTIVE
. Read and write operations continue to work while the stream is in the UPDATING
state.
You use DescribeStream to determine the shard IDs that are specified in the MergeShards
request.
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.
",
+ "PutRecord": "Writes a single data record into an Amazon Kinesis stream. Call PutRecord
to send data into the stream for real-time ingestion and subsequent processing, one record at a time. 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 must specify the name of the stream that captures, stores, and transports the data; a partition key; and the data blob itself.
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.
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 integer values and to map associated data records to shards using the hash key ranges of the shards. You can override hashing the partition key to determine the shard by explicitly specifying a hash value using the ExplicitHashKey
parameter. For more information, see Adding Data to a Stream in the Amazon Kinesis Streams Developer Guide.
PutRecord
returns the shard ID of where the data record was placed and the sequence number that was assigned to the data record.
Sequence numbers increase over time and are specific to a shard within a stream, not across all shards within a stream. To guarantee strictly increasing ordering, write serially to a shard and use the SequenceNumberForOrdering
parameter. For more information, see Adding Data to a Stream in the Amazon Kinesis Streams Developer Guide.
If a PutRecord
request cannot be processed because of insufficient provisioned throughput on the shard involved in the request, PutRecord
throws ProvisionedThroughputExceededException
.
Data records are accessible for only 24 hours from the time that they are added to a stream.
",
"PutRecords": "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.
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, including partition keys. 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 must specify the name of the stream that captures, stores, and transports the data; and an array of request Records
, with each record in the array requiring a partition key and data blob. The record size limit applies to the total size of the partition key and data blob.
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, 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 in the Amazon Kinesis Streams Developer Guide.
Each record in the Records
array may include an optional parameter, ExplicitHashKey
, which overrides the partition key to shard mapping. This parameter allows a data producer to determine explicitly the shard where the record is stored. For more information, see Adding Multiple Records with PutRecords in the Amazon Kinesis Streams Developer Guide.
The PutRecords
response includes an array of response Records
. Each record in the response array directly correlates with a record in the request array using natural ordering, from the top to the bottom of the request and response. The response Records
array always includes the same number of records as the request array.
The response Records
array includes both successfully and unsuccessfully processed records. Amazon Kinesis attempts to process all records in each PutRecords
request. A single record failure does not stop the processing of subsequent records.
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. 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
exception including the account ID, stream name, and shard ID of the record that was throttled. For more information about partially successful responses, see Adding Multiple Records with PutRecords in the Amazon Kinesis Streams Developer Guide.
By default, data records are accessible for only 24 hours from the time that they are added to an Amazon Kinesis stream. This retention period can be modified using the DecreaseStreamRetentionPeriod and IncreaseStreamRetentionPeriod operations.
",
"RemoveTagsFromStream": "Removes tags from the specified Amazon 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.
",
- "SplitShard": "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.
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 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 in the Amazon Kinesis Streams Developer Guide.
You can use DescribeStream to determine the shard ID and hash key values for the ShardToSplit
and NewStartingHashKey
parameters that are specified 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 status to ACTIVE
. Read and write operations continue to work while the stream is in the UPDATING
state.
You can use DescribeStream
to check the status of the stream, which is returned in StreamStatus
. If the stream is in the ACTIVE
state, you can call SplitShard
. If a stream is in CREATING
or UPDATING
or DELETING
states, DescribeStream
returns a ResourceInUseException
.
If the specified stream does not exist, DescribeStream
returns a ResourceNotFoundException
. If you try to create more shards than are authorized for your account, you receive a LimitExceededException
.
For the default shard limit for an AWS account, see Streams Limits in the Amazon Kinesis Streams Developer Guide. If you need to increase this limit, contact AWS Support.
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": "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.
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 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 in the Amazon Kinesis Streams Developer Guide.
You can use DescribeStream to determine the shard ID and hash key values for the ShardToSplit
and NewStartingHashKey
parameters that are specified 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 status to ACTIVE
. Read and write operations continue to work while the stream is in the UPDATING
state.
You can use DescribeStream
to check the status of the stream, which is returned in StreamStatus
. If the stream is in the ACTIVE
state, you can call SplitShard
. If a stream is in CREATING
or UPDATING
or DELETING
states, DescribeStream
returns a ResourceInUseException
.
If the specified stream does not exist, DescribeStream
returns a ResourceNotFoundException
. If you try to create more shards than are authorized for your account, you receive a LimitExceededException
.
For the default shard limit for an AWS account, see Streams Limits in the Amazon Kinesis Streams Developer Guide. If you need to increase this limit, contact AWS Support.
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.
",
+ "UpdateShardCount": "Updates the shard count of the specified stream to the specified number of 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 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 and merges and 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 a rate limit of twice per rolling 24 hour period. You cannot scale above double your current shard count, scale below half your current shard count, or exceed the shard limits for your account.
For the default limits for an AWS account, see Streams Limits in the Amazon Kinesis Streams Developer Guide. If you need to increase a limit, contact AWS Support.
"
},
"shapes": {
"AddTagsToStreamInput": {
@@ -26,12 +28,6 @@
"refs": {
}
},
- "ApproximateArrivalTimestamp": {
- "base": null,
- "refs": {
- "Record$ApproximateArrivalTimestamp": "The approximate time that the record was inserted into the stream.
"
- }
- },
"BooleanObject": {
"base": null,
"refs": {
@@ -48,7 +44,7 @@
"Data": {
"base": null,
"refs": {
- "PutRecordInput$Data": "The data blob to put into the record, which is base64-encoded when the blob is serialized. 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).
",
+ "PutRecordInput$Data": "The data blob to put into the record, which is base64-encoded when the blob is serialized. 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).
",
"PutRecordsRequestEntry$Data": "The data blob to put into the record, which is base64-encoded when the blob is serialized. 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).
",
"Record$Data": "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).
"
}
@@ -63,6 +59,16 @@
"refs": {
}
},
+ "DescribeLimitsInput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DescribeLimitsOutput": {
+ "base": null,
+ "refs": {
+ }
+ },
"DescribeStreamInput": {
"base": "Represents the input for DescribeStream
.
",
"refs": {
@@ -71,7 +77,7 @@
"DescribeStreamInputLimit": {
"base": null,
"refs": {
- "DescribeStreamInput$Limit": "The maximum number of shards to return.
"
+ "DescribeStreamInput$Limit": "The maximum number of shards to return in a single call. The default value is 100. If you specify a value greater than 100, at most 100 shards are returned.
"
}
},
"DescribeStreamOutput": {
@@ -232,9 +238,9 @@
"MetricsNameList": {
"base": null,
"refs": {
- "DisableEnhancedMonitoringInput$ShardLevelMetrics": "List of shard-level metrics to disable.
The following are the valid shard-level metrics. The value \"ALL
\" disables every metric.
-
IncomingBytes
-
IncomingRecords
-
OutgoingBytes
-
OutgoingRecords
-
WriteProvisionedThroughputExceeded
-
ReadProvisionedThroughputExceeded
-
IteratorAgeMilliseconds
-
ALL
For more information, see Monitoring the Amazon Kinesis Streams Service with Amazon CloudWatch in the Amazon Kinesis Streams Developer Guide.
",
- "EnableEnhancedMonitoringInput$ShardLevelMetrics": "List of shard-level metrics to enable.
The following are the valid shard-level metrics. The value \"ALL
\" enables every metric.
-
IncomingBytes
-
IncomingRecords
-
OutgoingBytes
-
OutgoingRecords
-
WriteProvisionedThroughputExceeded
-
ReadProvisionedThroughputExceeded
-
IteratorAgeMilliseconds
-
ALL
For more information, see Monitoring the Amazon Kinesis Streams Service with Amazon CloudWatch in the Amazon Kinesis Streams Developer Guide.
",
- "EnhancedMetrics$ShardLevelMetrics": "List of shard-level metrics.
The following are the valid shard-level metrics. The value \"ALL
\" enhances every metric.
-
IncomingBytes
-
IncomingRecords
-
OutgoingBytes
-
OutgoingRecords
-
WriteProvisionedThroughputExceeded
-
ReadProvisionedThroughputExceeded
-
IteratorAgeMilliseconds
-
ALL
For more information, see Monitoring the Amazon Kinesis Streams Service with Amazon CloudWatch in the Amazon Kinesis Streams Developer Guide.
",
+ "DisableEnhancedMonitoringInput$ShardLevelMetrics": "List of shard-level metrics to disable.
The following are the valid shard-level metrics. The value \"ALL
\" disables every metric.
For more information, see Monitoring the Amazon Kinesis Streams Service with Amazon CloudWatch in the Amazon Kinesis Streams Developer Guide.
",
+ "EnableEnhancedMonitoringInput$ShardLevelMetrics": "List of shard-level metrics to enable.
The following are the valid shard-level metrics. The value \"ALL
\" enables every metric.
For more information, see Monitoring the Amazon Kinesis Streams Service with Amazon CloudWatch in the Amazon Kinesis Streams Developer Guide.
",
+ "EnhancedMetrics$ShardLevelMetrics": "List of shard-level metrics.
The following are the valid shard-level metrics. The value \"ALL
\" enhances every metric.
For more information, see Monitoring the Amazon Kinesis Streams Service with Amazon CloudWatch in the Amazon Kinesis Streams Developer Guide.
",
"EnhancedMonitoringOutput$CurrentShardLevelMetrics": "Represents the current state of the metrics that are in the enhanced state before the operation.
",
"EnhancedMonitoringOutput$DesiredShardLevelMetrics": "Represents the list of all the metrics that would be in the enhanced state after the operation.
"
}
@@ -257,7 +263,13 @@
"base": null,
"refs": {
"CreateStreamInput$ShardCount": "The number of shards that the stream will use. The throughput of the stream is a function of the number of shards; more shards are required for greater provisioned throughput.
DefaultShardLimit;
",
- "PutRecordsOutput$FailedRecordCount": "The number of unsuccessfully processed records in a PutRecords
request.
"
+ "DecreaseStreamRetentionPeriodInput$RetentionPeriodHours": "The new retention period of the stream, in hours. Must be less than the current retention period.
",
+ "IncreaseStreamRetentionPeriodInput$RetentionPeriodHours": "The new retention period of the stream, in hours. Must be more than the current retention period.
",
+ "PutRecordsOutput$FailedRecordCount": "The number of unsuccessfully processed records in a PutRecords
request.
",
+ "StreamDescription$RetentionPeriodHours": "The current retention period, in hours.
",
+ "UpdateShardCountInput$TargetShardCount": "The new number of shards.
",
+ "UpdateShardCountOutput$CurrentShardCount": "The current number of shards.
",
+ "UpdateShardCountOutput$TargetShardCount": "The updated number of shards.
"
}
},
"ProvisionedThroughputExceededException": {
@@ -281,7 +293,7 @@
}
},
"PutRecordsOutput": {
- "base": "PutRecords
results.
",
+ "base": " PutRecords
results.
",
"refs": {
}
},
@@ -332,16 +344,14 @@
}
},
"ResourceNotFoundException": {
- "base": "The requested resource could not be found. The stream might not be specified correctly, or it might not be in the ACTIVE
state if the operation requires it.
",
+ "base": "The requested resource could not be found. The stream might not be specified correctly.
",
"refs": {
}
},
- "RetentionPeriodHours": {
+ "ScalingType": {
"base": null,
"refs": {
- "DecreaseStreamRetentionPeriodInput$RetentionPeriodHours": "The new retention period of the stream, in hours. Must be less than the current retention period.
",
- "IncreaseStreamRetentionPeriodInput$RetentionPeriodHours": "The new retention period of the stream, in hours. Must be more than the current retention period.
",
- "StreamDescription$RetentionPeriodHours": "The current retention period, in hours.
"
+ "UpdateShardCountInput$ScalingType": "The scaling type. Uniform scaling creates shards of equal size.
"
}
},
"SequenceNumber": {
@@ -368,6 +378,13 @@
"ShardList$member": null
}
},
+ "ShardCountObject": {
+ "base": null,
+ "refs": {
+ "DescribeLimitsOutput$ShardLimit": "The maximum number of shards.
",
+ "DescribeLimitsOutput$OpenShardCount": "The number of open shards.
"
+ }
+ },
"ShardId": {
"base": null,
"refs": {
@@ -394,7 +411,7 @@
"ShardIteratorType": {
"base": null,
"refs": {
- "GetShardIteratorInput$ShardIteratorType": "Determines how the shard iterator is used to start reading data records from the shard.
The following are the valid Amazon Kinesis shard iterator types:
- AT_SEQUENCE_NUMBER - Start reading from the position denoted by a specific sequence number, provided in the value
StartingSequenceNumber
. - AFTER_SEQUENCE_NUMBER - Start reading right after the position denoted 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
. - TRIM_HORIZON - Start reading at the last untrimmed record in the shard in the system, which is the oldest data record in the shard.
- LATEST - Start reading just after the most recent record in the shard, so that you always read the most recent data in the shard.
"
+ "GetShardIteratorInput$ShardIteratorType": "Determines how the shard iterator is used to start reading data records from the shard.
The following are the valid Amazon Kinesis shard iterator types:
AT_SEQUENCE_NUMBER - Start reading from the position denoted by a specific sequence number, provided in the value StartingSequenceNumber
.
AFTER_SEQUENCE_NUMBER - Start reading right after the position denoted 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
.
TRIM_HORIZON - Start reading at the last untrimmed record in the shard in the system, which is the oldest data record in the shard.
LATEST - Start reading just after the most recent record in the shard, so that you always read the most recent data in the shard.
"
}
},
"ShardList": {
@@ -417,7 +434,7 @@
"StreamDescription": {
"base": "Represents the output for DescribeStream.
",
"refs": {
- "DescribeStreamOutput$StreamDescription": "The current status of the stream, the stream ARN, an array of shard objects that comprise the stream, and states whether there are more shards available.
"
+ "DescribeStreamOutput$StreamDescription": "The current status of the stream, the stream ARN, an array of shard objects that comprise the stream, and whether there are more shards available.
"
}
},
"StreamName": {
@@ -441,7 +458,9 @@
"RemoveTagsFromStreamInput$StreamName": "The name of the stream.
",
"SplitShardInput$StreamName": "The name of the stream for the shard split.
",
"StreamDescription$StreamName": "The name of the stream being described.
",
- "StreamNameList$member": null
+ "StreamNameList$member": null,
+ "UpdateShardCountInput$StreamName": "The name of the stream.
",
+ "UpdateShardCountOutput$StreamName": "The name of the stream.
"
}
},
"StreamNameList": {
@@ -453,7 +472,7 @@
"StreamStatus": {
"base": null,
"refs": {
- "StreamDescription$StreamStatus": "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
. DELETING
- The stream is being deleted. The specified stream is in the DELETING
state until Amazon Kinesis 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.
"
+ "StreamDescription$StreamStatus": "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
.
-
DELETING
- The stream is being deleted. The specified stream is in the DELETING
state until Amazon Kinesis 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.
"
}
},
"Tag": {
@@ -499,7 +518,19 @@
"Timestamp": {
"base": null,
"refs": {
- "GetShardIteratorInput$Timestamp": "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).
"
+ "GetShardIteratorInput$Timestamp": "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).
",
+ "Record$ApproximateArrivalTimestamp": "The approximate time that the record was inserted into the stream.
",
+ "StreamDescription$StreamCreationTimestamp": "The approximate time that the stream was created.
"
+ }
+ },
+ "UpdateShardCountInput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "UpdateShardCountOutput": {
+ "base": null,
+ "refs": {
}
}
}
diff --git a/vendor/github.com/aws/aws-sdk-go/models/apis/lambda/2015-03-31/api-2.json b/vendor/github.com/aws/aws-sdk-go/models/apis/lambda/2015-03-31/api-2.json
index b65ffda..19c9e30 100644
--- a/vendor/github.com/aws/aws-sdk-go/models/apis/lambda/2015-03-31/api-2.json
+++ b/vendor/github.com/aws/aws-sdk-go/models/apis/lambda/2015-03-31/api-2.json
@@ -227,7 +227,11 @@
{"shape":"EC2AccessDeniedException"},
{"shape":"InvalidSubnetIDException"},
{"shape":"InvalidSecurityGroupIDException"},
- {"shape":"InvalidZipFileException"}
+ {"shape":"InvalidZipFileException"},
+ {"shape":"KMSDisabledException"},
+ {"shape":"KMSInvalidStateException"},
+ {"shape":"KMSAccessDeniedException"},
+ {"shape":"KMSNotFoundException"}
]
},
"InvokeAsync":{
@@ -540,7 +544,9 @@
"Timeout":{"shape":"Timeout"},
"MemorySize":{"shape":"MemorySize"},
"Publish":{"shape":"Boolean"},
- "VpcConfig":{"shape":"VpcConfig"}
+ "VpcConfig":{"shape":"VpcConfig"},
+ "Environment":{"shape":"Environment"},
+ "KMSKeyArn":{"shape":"KMSKeyArn"}
}
},
"Date":{"type":"timestamp"},
@@ -633,6 +639,39 @@
"exception":true
},
"Enabled":{"type":"boolean"},
+ "Environment":{
+ "type":"structure",
+ "members":{
+ "Variables":{"shape":"EnvironmentVariables"}
+ }
+ },
+ "EnvironmentError":{
+ "type":"structure",
+ "members":{
+ "ErrorCode":{"shape":"String"},
+ "Message":{"shape":"String"}
+ }
+ },
+ "EnvironmentResponse":{
+ "type":"structure",
+ "members":{
+ "Variables":{"shape":"EnvironmentVariables"},
+ "Error":{"shape":"EnvironmentError"}
+ }
+ },
+ "EnvironmentVariableName":{
+ "type":"string",
+ "pattern":"[a-zA-Z]([a-zA-Z0-9_])+"
+ },
+ "EnvironmentVariableValue":{
+ "type":"string",
+ "pattern":"[^,]*"
+ },
+ "EnvironmentVariables":{
+ "type":"map",
+ "key":{"shape":"EnvironmentVariableName"},
+ "value":{"shape":"EnvironmentVariableValue"}
+ },
"EventSourceMappingConfiguration":{
"type":"structure",
"members":{
@@ -698,7 +737,9 @@
"LastModified":{"shape":"Timestamp"},
"CodeSha256":{"shape":"String"},
"Version":{"shape":"Version"},
- "VpcConfig":{"shape":"VpcConfigResponse"}
+ "VpcConfig":{"shape":"VpcConfigResponse"},
+ "Environment":{"shape":"EnvironmentResponse"},
+ "KMSKeyArn":{"shape":"KMSKeyArn"}
}
},
"FunctionList":{
@@ -943,6 +984,46 @@
},
"deprecated":true
},
+ "KMSAccessDeniedException":{
+ "type":"structure",
+ "members":{
+ "Type":{"shape":"String"},
+ "Message":{"shape":"String"}
+ },
+ "error":{"httpStatusCode":502},
+ "exception":true
+ },
+ "KMSDisabledException":{
+ "type":"structure",
+ "members":{
+ "Type":{"shape":"String"},
+ "Message":{"shape":"String"}
+ },
+ "error":{"httpStatusCode":502},
+ "exception":true
+ },
+ "KMSInvalidStateException":{
+ "type":"structure",
+ "members":{
+ "Type":{"shape":"String"},
+ "Message":{"shape":"String"}
+ },
+ "error":{"httpStatusCode":502},
+ "exception":true
+ },
+ "KMSKeyArn":{
+ "type":"string",
+ "pattern":"(arn:aws:[a-z0-9-.]+:.*)|()"
+ },
+ "KMSNotFoundException":{
+ "type":"structure",
+ "members":{
+ "Type":{"shape":"String"},
+ "Message":{"shape":"String"}
+ },
+ "error":{"httpStatusCode":502},
+ "exception":true
+ },
"ListAliasesRequest":{
"type":"structure",
"required":["FunctionName"],
@@ -1332,6 +1413,8 @@
"Timeout":{"shape":"Timeout"},
"MemorySize":{"shape":"MemorySize"},
"VpcConfig":{"shape":"VpcConfig"},
+ "Environment":{"shape":"Environment"},
+ "KMSKeyArn":{"shape":"KMSKeyArn"},
"Runtime":{"shape":"Runtime"}
}
},
diff --git a/vendor/github.com/aws/aws-sdk-go/models/apis/lambda/2015-03-31/docs-2.json b/vendor/github.com/aws/aws-sdk-go/models/apis/lambda/2015-03-31/docs-2.json
index c701051..80991a3 100644
--- a/vendor/github.com/aws/aws-sdk-go/models/apis/lambda/2015-03-31/docs-2.json
+++ b/vendor/github.com/aws/aws-sdk-go/models/apis/lambda/2015-03-31/docs-2.json
@@ -14,7 +14,7 @@
"GetFunction": "Returns the configuration information of the Lambda function and a presigned URL link to the .zip file you uploaded with CreateFunction so you can download the .zip file. Note that the URL is valid for up to 10 minutes. The configuration information is the same information you provided as parameters when uploading the function.
Using the optional Qualifier
parameter, you can specify a specific function version for which you want this information. If you don't specify this parameter, the API uses unqualified function ARN which return information about the $LATEST
version of the Lambda function. For more information, see AWS Lambda Function Versioning and Aliases.
This operation requires permission for the lambda:GetFunction
action.
",
"GetFunctionConfiguration": "Returns the configuration information of the Lambda function. This the same information you provided as parameters when uploading the function by using CreateFunction.
If you are using the versioning feature, you can retrieve this information for a specific function version by using the optional Qualifier
parameter and specifying the function version or alias that points to it. If you don't provide it, the API returns information about the $LATEST version of the function. For more information about versioning, see AWS Lambda Function Versioning and Aliases.
This operation requires permission for the lambda:GetFunctionConfiguration
operation.
",
"GetPolicy": "Returns the resource policy associated with the specified Lambda function.
If you are using the versioning feature, you can get the resource policy associated with the specific Lambda function version or alias by specifying the version or alias name using the Qualifier
parameter. For more information about versioning, see AWS Lambda Function Versioning and Aliases.
For information about adding permissions, see AddPermission.
You need permission for the lambda:GetPolicy action.
",
- "Invoke": "Invokes a specific Lambda function.
If you are using the versioning feature, you can invoke the specific function version by providing function version or alias name that is pointing to the function version using the Qualifier
parameter in the request. If you don't provide the Qualifier
parameter, the $LATEST
version of the Lambda function is invoked. Invocations occur at least once in response to an event and functions must be idempotent to handle this. For information about the versioning feature, see AWS Lambda Function Versioning and Aliases.
This operation requires permission for the lambda:InvokeFunction
action.
",
+ "Invoke": "Invokes a specific Lambda function. For an example, see Create the Lambda Function and Test It Manually.
If you are using the versioning feature, you can invoke the specific function version by providing function version or alias name that is pointing to the function version using the Qualifier
parameter in the request. If you don't provide the Qualifier
parameter, the $LATEST
version of the Lambda function is invoked. Invocations occur at least once in response to an event and functions must be idempotent to handle this. For information about the versioning feature, see AWS Lambda Function Versioning and Aliases.
This operation requires permission for the lambda:InvokeFunction
action.
",
"InvokeAsync": "This API is deprecated. We recommend you use Invoke
API (see Invoke).
Submits an invocation request to AWS Lambda. Upon receiving the request, Lambda executes the specified function asynchronously. To see the logs generated by the Lambda function execution, see the CloudWatch Logs console.
This operation requires permission for the lambda:InvokeFunction
action.
",
"ListAliases": "Returns list of aliases created for a Lambda function. For each alias, the response includes information such as the alias ARN, description, alias name, and the function version to which it points. For more information, see Introduction to AWS Lambda Aliases.
This requires permission for the lambda:ListAliases action.
",
"ListEventSourceMappings": "Returns a list of event source mappings you created using the CreateEventSourceMapping
(see CreateEventSourceMapping).
For each mapping, the API returns configuration information. You can optionally specify filters to retrieve specific event source mappings.
If you are using the versioning feature, you can get list of event source mappings for a specific Lambda function version or an alias as described in the FunctionName
parameter. For information about the versioning feature, see AWS Lambda Function Versioning and Aliases.
This operation requires permission for the lambda:ListEventSourceMappings
action.
",
@@ -88,7 +88,7 @@
"refs": {
"FunctionCode$ZipFile": "The contents of your zip file containing your deployment package. If you are using the web API directly, the contents of the zip file must be base64-encoded. If you are using the AWS SDKs or the AWS CLI, the SDKs or CLI will do the encoding for you. For more information about creating a .zip file, go to Execution Permissions in the AWS Lambda Developer Guide.
",
"InvocationRequest$Payload": "JSON that you want to provide to your Lambda function as input.
",
- "InvocationResponse$Payload": " It is the JSON representation of the object returned by the Lambda function. In This is present only if the invocation type is RequestResponse
.
In the event of a function error this field contains a message describing the error. For the Handled
errors the Lambda function will report this message. For Unhandled
errors AWS Lambda reports the message.
",
+ "InvocationResponse$Payload": " It is the JSON representation of the object returned by the Lambda function. This is present only if the invocation type is RequestResponse
.
In the event of a function error this field contains a message describing the error. For the Handled
errors the Lambda function will report this message. For Unhandled
errors AWS Lambda reports the message.
",
"UpdateFunctionCodeRequest$ZipFile": "The contents of your zip file containing your deployment package. If you are using the web API directly, the contents of the zip file must be base64-encoded. If you are using the AWS SDKs or the AWS CLI, the SDKs or CLI will do the encoding for you. For more information about creating a .zip file, go to Execution Permissions in the AWS Lambda Developer Guide.
"
}
},
@@ -185,6 +185,44 @@
"UpdateEventSourceMappingRequest$Enabled": "Specifies whether AWS Lambda should actively poll the stream or not. If disabled, AWS Lambda will not poll the stream.
"
}
},
+ "Environment": {
+ "base": "The parent object that contains your environment's configuration settings.
",
+ "refs": {
+ "CreateFunctionRequest$Environment": null,
+ "UpdateFunctionConfigurationRequest$Environment": "The parent object that contains your environment's configuration settings.
"
+ }
+ },
+ "EnvironmentError": {
+ "base": "The parent object that contains error information associated with your configuration settings.
",
+ "refs": {
+ "EnvironmentResponse$Error": null
+ }
+ },
+ "EnvironmentResponse": {
+ "base": "The parent object returned that contains your environment's configuration settings or any error information associated with your configuration settings.
",
+ "refs": {
+ "FunctionConfiguration$Environment": "The parent object that contains your environment's configuration settings.
"
+ }
+ },
+ "EnvironmentVariableName": {
+ "base": null,
+ "refs": {
+ "EnvironmentVariables$key": null
+ }
+ },
+ "EnvironmentVariableValue": {
+ "base": null,
+ "refs": {
+ "EnvironmentVariables$value": null
+ }
+ },
+ "EnvironmentVariables": {
+ "base": null,
+ "refs": {
+ "Environment$Variables": "The key-value pairs that represent your environment's configuration settings. The value you specify cannot contain a \",\".
",
+ "EnvironmentResponse$Variables": "The key-value pairs returned that represent your environment's configuration settings or error information.
"
+ }
+ },
"EventSourceMappingConfiguration": {
"base": "Describes mapping between an Amazon Kinesis stream and a Lambda function.
",
"refs": {
@@ -291,7 +329,7 @@
}
},
"GetFunctionResponse": {
- "base": "This response contains the object for the Lambda function location (see .
",
+ "base": "This response contains the object for the Lambda function location (see FunctionCodeLocation.
",
"refs": {
}
},
@@ -376,6 +414,34 @@
"refs": {
}
},
+ "KMSAccessDeniedException": {
+ "base": "Lambda was unable to decrypt the environment variables becauses KMS access was denied. Please check the Lambda function's KMS permissions.
",
+ "refs": {
+ }
+ },
+ "KMSDisabledException": {
+ "base": "Lambda was unable to decrypt the environment variables because the KMS key used is disabled. Please check the Lambda function's KMS key settings.
",
+ "refs": {
+ }
+ },
+ "KMSInvalidStateException": {
+ "base": "Lambda was unable to decrypt the environment variables because the KMS key used is in an invalid state for Decrypt. Please check the function's KMS key settings.
",
+ "refs": {
+ }
+ },
+ "KMSKeyArn": {
+ "base": null,
+ "refs": {
+ "CreateFunctionRequest$KMSKeyArn": "The Amazon Resource Name (ARN) of the KMS key used to encrypt your function's environment variables. If not provided, AWS Lambda will use a default service key.
",
+ "FunctionConfiguration$KMSKeyArn": "The Amazon Resource Name (ARN) of the KMS key used to encrypt your function's environment variables. If empty, it means you are using the AWS Lambda default service key.
",
+ "UpdateFunctionConfigurationRequest$KMSKeyArn": "The Amazon Resource Name (ARN) of the KMS key used to encrypt your function's environment variables. If you elect to use the AWS Lambda default service key, pass in an empty string (\"\") for this parameter.
"
+ }
+ },
+ "KMSNotFoundException": {
+ "base": "Lambda was unable to decrypt the environment variables because the KMS key was not found. Please check the function's KMS key settings.
",
+ "refs": {
+ }
+ },
"ListAliasesRequest": {
"base": null,
"refs": {
@@ -392,7 +458,7 @@
}
},
"ListEventSourceMappingsResponse": {
- "base": "Contains a list of event sources (see )
",
+ "base": "Contains a list of event sources (see EventSourceMappingConfiguration)
",
"refs": {
}
},
@@ -551,7 +617,7 @@
"SourceOwner": {
"base": null,
"refs": {
- "AddPermissionRequest$SourceAccount": "This parameter is used for S3 and SES only. The AWS account ID (without a hyphen) of the source owner. For example, if the SourceArn
identifies a bucket, then this is the bucket owner's account ID. You can use this additional condition to ensure the bucket you specify is owned by a specific account (it is possible the bucket owner deleted the bucket and some other AWS account created the bucket). You can also use this condition to specify all sources (that is, you don't specify the SourceArn
) owned by a specific account.
"
+ "AddPermissionRequest$SourceAccount": "This parameter is used for S3, SES, CloudWatch Logs and CloudWatch Rules only. The AWS account ID (without a hyphen) of the source owner. For example, if the SourceArn
identifies a bucket, then this is the bucket owner's account ID. You can use this additional condition to ensure the bucket you specify is owned by a specific account (it is possible the bucket owner deleted the bucket and some other AWS account created the bucket). You can also use this condition to specify all sources (that is, you don't specify the SourceArn
) owned by a specific account.
"
}
},
"StatementId": {
@@ -577,6 +643,8 @@
"EC2UnexpectedException$EC2ErrorCode": null,
"ENILimitReachedException$Type": null,
"ENILimitReachedException$Message": null,
+ "EnvironmentError$ErrorCode": "The error code returned by the environment error object.
",
+ "EnvironmentError$Message": "The message returned by the environment error object.
",
"EventSourceMappingConfiguration$UUID": "The AWS Lambda assigned opaque identifier for the mapping.
",
"EventSourceMappingConfiguration$LastProcessingResult": "The result of the last AWS Lambda invocation of your Lambda function.
",
"EventSourceMappingConfiguration$State": "The state of the event source mapping. It can be Creating
, Enabled
, Disabled
, Enabling
, Disabling
, Updating
, or Deleting
.
",
@@ -599,6 +667,14 @@
"InvocationRequest$ClientContext": "Using the ClientContext
you can pass client-specific information to the Lambda function you are invoking. You can then process the client information in your Lambda function as you choose through the context variable. For an example of a ClientContext
JSON, see PutEvents in the Amazon Mobile Analytics API Reference and User Guide.
The ClientContext JSON must be base64-encoded.
",
"InvocationResponse$FunctionError": "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
errors are those detected and reported by AWS Lambda. Unhandled errors include out of memory errors and function timeouts. For information about how to report an Handled
error, see Programming Model.
",
"InvocationResponse$LogResult": " It is the base64-encoded logs for the Lambda function invocation. This is present only if the invocation type is RequestResponse
and the logs were requested.
",
+ "KMSAccessDeniedException$Type": null,
+ "KMSAccessDeniedException$Message": null,
+ "KMSDisabledException$Type": null,
+ "KMSDisabledException$Message": null,
+ "KMSInvalidStateException$Type": null,
+ "KMSInvalidStateException$Message": null,
+ "KMSNotFoundException$Type": null,
+ "KMSNotFoundException$Message": null,
"ListAliasesRequest$Marker": "Optional string. An opaque pagination token returned from a previous ListAliases
operation. If present, indicates where to continue the listing.
",
"ListAliasesResponse$NextMarker": "A string, present if there are more aliases.
",
"ListEventSourceMappingsRequest$Marker": "Optional string. An opaque pagination token returned from a previous ListEventSourceMappings
operation. If present, specifies to continue the list from where the returning call left off.
",
diff --git a/vendor/github.com/aws/aws-sdk-go/models/apis/logs/2014-03-28/api-2.json b/vendor/github.com/aws/aws-sdk-go/models/apis/logs/2014-03-28/api-2.json
index 8175404..ecccb5a 100644
--- a/vendor/github.com/aws/aws-sdk-go/models/apis/logs/2014-03-28/api-2.json
+++ b/vendor/github.com/aws/aws-sdk-go/models/apis/logs/2014-03-28/api-2.json
@@ -555,12 +555,13 @@
},
"DescribeMetricFiltersRequest":{
"type":"structure",
- "required":["logGroupName"],
"members":{
"logGroupName":{"shape":"LogGroupName"},
"filterNamePrefix":{"shape":"FilterName"},
"nextToken":{"shape":"NextToken"},
- "limit":{"shape":"DescribeLimit"}
+ "limit":{"shape":"DescribeLimit"},
+ "metricName":{"shape":"MetricName"},
+ "metricNamespace":{"shape":"MetricNamespace"}
}
},
"DescribeMetricFiltersResponse":{
@@ -861,7 +862,8 @@
"filterName":{"shape":"FilterName"},
"filterPattern":{"shape":"FilterPattern"},
"metricTransformations":{"shape":"MetricTransformations"},
- "creationTime":{"shape":"Timestamp"}
+ "creationTime":{"shape":"Timestamp"},
+ "logGroupName":{"shape":"LogGroupName"}
}
},
"MetricFilterMatchRecord":{
diff --git a/vendor/github.com/aws/aws-sdk-go/models/apis/logs/2014-03-28/docs-2.json b/vendor/github.com/aws/aws-sdk-go/models/apis/logs/2014-03-28/docs-2.json
index bb5e61e..b4065a5 100644
--- a/vendor/github.com/aws/aws-sdk-go/models/apis/logs/2014-03-28/docs-2.json
+++ b/vendor/github.com/aws/aws-sdk-go/models/apis/logs/2014-03-28/docs-2.json
@@ -1,31 +1,31 @@
{
"version": "2.0",
- "service": "You can use Amazon CloudWatch Logs to monitor, store, and access your log files from Amazon Elastic Compute Cloud (Amazon EC2) instances, Amazon CloudTrail, or other sources. You can then retrieve the associated log data from CloudWatch Logs using the Amazon CloudWatch console, the CloudWatch Logs commands in the AWS CLI, the CloudWatch Logs API, or the CloudWatch Logs SDK.
You can use CloudWatch Logs to:
-
Monitor Logs from Amazon EC2 Instances in Real-time: You can use CloudWatch Logs to monitor applications and systems using log data. For example, CloudWatch Logs can track the number of errors that occur in your application logs and send you a notification whenever the rate of errors exceeds a threshold you specify. CloudWatch Logs uses your log data for monitoring; so, no code changes are required. For example, you can monitor application logs for specific literal terms (such as \"NullReferenceException\") or count the number of occurrences of a literal term at a particular position in log data (such as \"404\" status codes in an Apache access log). When the term you are searching for is found, CloudWatch Logs reports the data to a Amazon CloudWatch metric that you specify.
-
Monitor Amazon CloudTrail Logged Events: You can create alarms in Amazon CloudWatch and receive notifications of particular API activity as captured by CloudTrail and use the notification to perform troubleshooting.
-
Archive Log Data: You can use CloudWatch Logs to store your log data in highly durable storage. You can change the log retention setting so that any log events older than this setting are automatically deleted. The CloudWatch Logs agent makes it easy to quickly send both rotated and non-rotated log data off of a host and into the log service. You can then access the raw log data when you need it.
",
+ "service": "You can use Amazon CloudWatch Logs to monitor, store, and access your log files from EC2 instances, Amazon CloudTrail, or other sources. You can then retrieve the associated log data from CloudWatch Logs using the Amazon CloudWatch console, the CloudWatch Logs commands in the AWS CLI, the CloudWatch Logs API, or the CloudWatch Logs SDK.
You can use CloudWatch Logs to:
-
Monitor Logs from Amazon EC2 Instances in Real-time: You can use CloudWatch Logs to monitor applications and systems using log data. For example, CloudWatch Logs can track the number of errors that occur in your application logs and send you a notification whenever the rate of errors exceeds a threshold you specify. CloudWatch Logs uses your log data for monitoring; so, no code changes are required. For example, you can monitor application logs for specific literal terms (such as \"NullReferenceException\") or count the number of occurrences of a literal term at a particular position in log data (such as \"404\" status codes in an Apache access log). When the term you are searching for is found, CloudWatch Logs reports the data to a Amazon CloudWatch metric that you specify.
-
Monitor Amazon CloudTrail Logged Events: You can create alarms in Amazon CloudWatch and receive notifications of particular API activity as captured by CloudTrail and use the notification to perform troubleshooting.
-
Archive Log Data: You can use CloudWatch Logs to store your log data in highly durable storage. You can change the log retention setting so that any log events older than this setting are automatically deleted. The CloudWatch Logs agent makes it easy to quickly send both rotated and non-rotated log data off of a host and into the log service. You can then access the raw log data when you need it.
",
"operations": {
- "CancelExportTask": "Cancels an export task if it is in PENDING
or RUNNING
state.
",
- "CreateExportTask": "Creates an ExportTask
which allows you to efficiently export data from a Log Group to your Amazon S3 bucket.
This is an asynchronous call. If all the required information is provided, this API will initiate an export task and respond with the task Id. Once started, DescribeExportTasks
can be used to get the status of an export task. You can only have one active (RUNNING
or PENDING
) export task at a time, per account.
You can export logs from multiple log groups or multiple time ranges to the same Amazon S3 bucket. To separate out log data for each export task, you can specify a prefix that will be used as the Amazon S3 key prefix for all exported objects.
",
- "CreateLogGroup": "Creates a new log group with the specified name. The name of the log group must be unique within a region for an AWS account. You can create up to 500 log groups per account.
You must use the following guidelines when naming a log group:
-
Log group names can be between 1 and 512 characters long.
-
Allowed characters are a-z, A-Z, 0-9, '_' (underscore), '-' (hyphen), '/' (forward slash), and '.' (period).
",
- "CreateLogStream": "Creates a new log stream in the specified log group. The name of the log stream must be unique within the log group. There is no limit on the number of log streams that can exist in a log group.
You must use the following guidelines when naming a log stream:
",
- "DeleteDestination": "Deletes the destination with the specified name and eventually disables all the subscription filters that publish to it. This will not delete the physical resource encapsulated by the destination.
",
- "DeleteLogGroup": "Deletes the log group with the specified name and permanently deletes all the archived log events associated with it.
",
- "DeleteLogStream": "Deletes a log stream and permanently deletes all the archived log events associated with it.
",
- "DeleteMetricFilter": "Deletes a metric filter associated with the specified log group.
",
- "DeleteRetentionPolicy": "Deletes the retention policy of the specified log group. Log events would not expire if they belong to log groups without a retention policy.
",
- "DeleteSubscriptionFilter": "Deletes a subscription filter associated with the specified log group.
",
- "DescribeDestinations": "Returns all the destinations that are associated with the AWS account making the request. The list returned in the response is ASCII-sorted by destination name.
By default, this operation returns up to 50 destinations. If there are more destinations to list, the response would contain a nextToken
value in the response body. You can also limit the number of destinations returned in the response by specifying the limit
parameter in the request.
",
- "DescribeExportTasks": "Returns all the export tasks that are associated with the AWS account making the request. The export tasks can be filtered based on TaskId
or TaskStatus
.
By default, this operation returns up to 50 export tasks that satisfy the specified filters. If there are more export tasks to list, the response would contain a nextToken
value in the response body. You can also limit the number of export tasks returned in the response by specifying the limit
parameter in the request.
",
- "DescribeLogGroups": "Returns all the log groups that are associated with the AWS account making the request. The list returned in the response is ASCII-sorted by log group name.
By default, this operation returns up to 50 log groups. If there are more log groups to list, the response would contain a nextToken
value in the response body. You can also limit the number of log groups returned in the response by specifying the limit
parameter in the request.
",
- "DescribeLogStreams": "Returns all the log streams that are associated with the specified log group. The list returned in the response is ASCII-sorted by log stream name.
By default, this operation returns up to 50 log streams. If there are more log streams to list, the response would contain a nextToken
value in the response body. You can also limit the number of log streams returned in the response by specifying the limit
parameter in the request. This operation has a limit of five transactions per second, after which transactions are throttled.
",
- "DescribeMetricFilters": "Returns all the metrics filters associated with the specified log group. The list returned in the response is ASCII-sorted by filter name.
By default, this operation returns up to 50 metric filters. If there are more metric filters to list, the response would contain a nextToken
value in the response body. You can also limit the number of metric filters returned in the response by specifying the limit
parameter in the request.
",
- "DescribeSubscriptionFilters": "Returns all the subscription filters associated with the specified log group. The list returned in the response is ASCII-sorted by filter name.
By default, this operation returns up to 50 subscription filters. If there are more subscription filters to list, the response would contain a nextToken
value in the response body. You can also limit the number of subscription filters returned in the response by specifying the limit
parameter in the request.
",
- "FilterLogEvents": "Retrieves log events, optionally filtered by a filter pattern from the specified log group. You can provide an optional time range to filter the results on the event timestamp
. You can limit the streams searched to an explicit list of logStreamNames
.
By default, this operation returns as much matching log events as can fit in a response size of 1MB, up to 10,000 log events, or all the events found within a time-bounded scan window. If the response includes a nextToken
, then there is more data to search, and the search can be resumed with a new request providing the nextToken. The response will contain a list of searchedLogStreams
that contains information about which streams were searched in the request and whether they have been searched completely or require further pagination. The limit
parameter in the request can be used to specify the maximum number of events to return in a page.
",
- "GetLogEvents": "Retrieves log events from the specified log stream. You can provide an optional time range to filter the results on the event timestamp
.
By default, this operation returns as much log events as can fit in a response size of 1MB, up to 10,000 log events. The response will always include a nextForwardToken
and a nextBackwardToken
in the response body. You can use any of these tokens in subsequent GetLogEvents
requests to paginate through events in either forward or backward direction. You can also limit the number of log events returned in the response by specifying the limit
parameter in the request.
",
- "PutDestination": "Creates or updates a Destination
. A destination encapsulates a physical resource (such as a Kinesis stream) and allows you to subscribe to a real-time stream of log events of a different account, ingested through PutLogEvents
requests. Currently, the only supported physical resource is a Amazon Kinesis stream belonging to the same account as the destination.
A destination controls what is written to its Amazon Kinesis stream through an access policy. By default, PutDestination does not set any access policy with the destination, which means a cross-account user will not be able to call PutSubscriptionFilter
against this destination. To enable that, the destination owner must call PutDestinationPolicy
after PutDestination.
",
- "PutDestinationPolicy": "Creates or updates an access policy associated with an existing Destination
. An access policy is an IAM policy document that is used to authorize claims to register a subscription filter against a given destination.
",
- "PutLogEvents": "Uploads a batch of log events to the specified log stream.
Every PutLogEvents request must include the sequenceToken
obtained from the response of the previous request. An upload in a newly created log stream does not require a sequenceToken
. You can also get the sequenceToken
using DescribeLogStreams.
The batch of events must satisfy the following constraints:
-
The maximum batch size is 1,048,576 bytes, and this size is calculated as the sum of all event messages in UTF-8, plus 26 bytes for each log event.
-
None of the log events in the batch can be more than 2 hours in the future.
-
None of the log events in the batch can be older than 14 days or the retention period of the log group.
-
The log events in the batch must be in chronological ordered by their timestamp
.
-
The maximum number of log events in a batch is 10,000.
-
A batch of log events in a single PutLogEvents request cannot span more than 24 hours. Otherwise, the PutLogEvents operation will fail.
",
- "PutMetricFilter": "Creates or updates a metric filter and associates it with the specified log group. Metric filters allow you to configure rules to extract metric data from log events ingested through PutLogEvents
requests.
The maximum number of metric filters that can be associated with a log group is 100.
",
+ "CancelExportTask": "Cancels the specified export task.
The task must be in the PENDING
or RUNNING
state.
",
+ "CreateExportTask": "Creates an export task, which allows you to efficiently export data from a log group to an Amazon S3 bucket.
This is an asynchronous call. If all the required information is provided, this operation initiates an export task and responds with the ID of the task. After the task has started, you can use DescribeExportTasks to get the status of the export task. Each account can only have one active (RUNNING
or PENDING
) export task at a time. To cancel an export task, use CancelExportTask.
You can export logs from multiple log groups or multiple time ranges to the same S3 bucket. To separate out log data for each export task, you can specify a prefix that will be used as the Amazon S3 key prefix for all exported objects.
",
+ "CreateLogGroup": "Creates a log group with the specified name.
You can create up to 5000 log groups per account.
You must use the following guidelines when naming a log group:
-
Log group names must be unique within a region for an AWS account.
-
Log group names can be between 1 and 512 characters long.
-
Log group names consist of the following characters: a-z, A-Z, 0-9, '_' (underscore), '-' (hyphen), '/' (forward slash), and '.' (period).
",
+ "CreateLogStream": "Creates a log stream for the specified log group.
There is no limit on the number of log streams that you can create for a log group.
You must use the following guidelines when naming a log stream:
-
Log stream names must be unique within the log group.
-
Log stream names can be between 1 and 512 characters long.
-
The ':' (colon) and '*' (asterisk) characters are not allowed.
",
+ "DeleteDestination": "Deletes the specified destination, and eventually disables all the subscription filters that publish to it. This operation does not delete the physical resource encapsulated by the destination.
",
+ "DeleteLogGroup": "Deletes the specified log group and permanently deletes all the archived log events associated with the log group.
",
+ "DeleteLogStream": "Deletes the specified log stream and permanently deletes all the archived log events associated with the log stream.
",
+ "DeleteMetricFilter": "Deletes the specified metric filter.
",
+ "DeleteRetentionPolicy": "Deletes the specified retention policy.
Log events do not expire if they belong to log groups without a retention policy.
",
+ "DeleteSubscriptionFilter": "Deletes the specified subscription filter.
",
+ "DescribeDestinations": "Lists all your destinations. The results are ASCII-sorted by destination name.
",
+ "DescribeExportTasks": "Lists the specified export tasks. You can list all your export tasks or filter the results based on task ID or task status.
",
+ "DescribeLogGroups": "Lists the specified log groups. You can list all your log groups or filter the results by prefix. The results are ASCII-sorted by log group name.
",
+ "DescribeLogStreams": "Lists the log streams for the specified log group. You can list all the log streams or filter the results by prefix. You can also control how the results are ordered.
This operation has a limit of five transactions per second, after which transactions are throttled.
",
+ "DescribeMetricFilters": "Lists the specified metric filters. You can list all the metric filters or filter the results by log name, prefix, metric name, or metric namespace. The results are ASCII-sorted by filter name.
",
+ "DescribeSubscriptionFilters": "Lists the subscription filters for the specified log group. You can list all the subscription filters or filter the results by prefix. The results are ASCII-sorted by filter name.
",
+ "FilterLogEvents": "Lists log events from the specified log group. You can list all the log events or filter the results using a filter pattern, a time range, and the name of the log stream.
By default, this operation returns as many log events as can fit in 1MB (up to 10,000 log events), or all the events found within the time range that you specify. If the results include a token, then there are more log events available, and you can get additional results by specifying the token in a subsequent call.
",
+ "GetLogEvents": "Lists log events from the specified log stream. You can list all the log events or filter using a time range.
By default, this operation returns as many log events as can fit in a response size of 1MB (up to 10,000 log events). If the results include tokens, there are more log events available. You can get additional log events by specifying one of the tokens in a subsequent call.
",
+ "PutDestination": "Creates or updates a destination. A destination encapsulates a physical resource (such as a Kinesis stream) and enables you to subscribe to a real-time stream of log events of a different account, ingested using PutLogEvents. Currently, the only supported physical resource is a Amazon Kinesis stream belonging to the same account as the destination.
A destination controls what is written to its Amazon Kinesis stream through an access policy. By default, PutDestination
does not set any access policy with the destination, which means a cross-account user cannot call PutSubscriptionFilter against this destination. To enable this, the destination owner must call PutDestinationPolicy after PutDestination
.
",
+ "PutDestinationPolicy": "Creates or updates an access policy associated with an existing destination. An access policy is an IAM policy document that is used to authorize claims to register a subscription filter against a given destination.
",
+ "PutLogEvents": "Uploads a batch of log events to the specified log stream.
You must include the sequence token obtained from the response of the previous call. An upload in a newly created log stream does not require a sequence token. You can also get the sequence token using DescribeLogStreams.
The batch of events must satisfy the following constraints:
-
The maximum batch size is 1,048,576 bytes, and this size is calculated as the sum of all event messages in UTF-8, plus 26 bytes for each log event.
-
None of the log events in the batch can be more than 2 hours in the future.
-
None of the log events in the batch can be older than 14 days or the retention period of the log group.
-
The log events in the batch must be in chronological ordered by their timestamp.
-
The maximum number of log events in a batch is 10,000.
-
A batch of log events in a single PutLogEvents request cannot span more than 24 hours. Otherwise, the PutLogEvents operation will fail.
",
+ "PutMetricFilter": "Creates or updates a metric filter and associates it with the specified log group. Metric filters allow you to configure rules to extract metric data from log events ingested through PutLogEvents.
The maximum number of metric filters that can be associated with a log group is 100.
",
"PutRetentionPolicy": "Sets the retention of the specified log group. A retention policy allows you to configure the number of days you want to retain log events in the specified log group.
",
- "PutSubscriptionFilter": "Creates or updates a subscription filter and associates it with the specified log group. Subscription filters allow you to subscribe to a real-time stream of log events ingested through PutLogEvents
requests and have them delivered to a specific destination. Currently, the supported destinations are:
-
An Amazon Kinesis stream belonging to the same account as the subscription filter, for same-account delivery.
-
A logical destination (used via an ARN of Destination
) belonging to a different account, for cross-account delivery.
-
An Amazon Kinesis Firehose stream belonging to the same account as the subscription filter, for same-account delivery.
-
An AWS Lambda function belonging to the same account as the subscription filter, for same-account delivery.
Currently there can only be one subscription filter associated with a log group.
",
+ "PutSubscriptionFilter": "Creates or updates a subscription filter and associates it with the specified log group. Subscription filters allow you to subscribe to a real-time stream of log events ingested through PutLogEvents and have them delivered to a specific destination. Currently, the supported destinations are:
-
An Amazon Kinesis stream belonging to the same account as the subscription filter, for same-account delivery.
-
A logical destination that belongs to a different account, for cross-account delivery.
-
An Amazon Kinesis Firehose stream that belongs to the same account as the subscription filter, for same-account delivery.
-
An AWS Lambda function that belongs to the same account as the subscription filter, for same-account delivery.
There can only be one subscription filter associated with a log group.
",
"TestMetricFilter": "Tests the filter pattern of a metric filter against a sample of log event messages. You can use this operation to validate the correctness of a metric filter pattern.
"
},
"shapes": {
@@ -33,15 +33,15 @@
"base": null,
"refs": {
"Destination$accessPolicy": "An IAM policy document that governs which AWS accounts can create subscription filters against this destination.
",
- "PutDestinationPolicyRequest$accessPolicy": "An IAM policy document that authorizes cross-account users to deliver their log events to associated destination.
"
+ "PutDestinationPolicyRequest$accessPolicy": "An IAM policy document that authorizes cross-account users to deliver their log events to the associated destination.
"
}
},
"Arn": {
"base": null,
"refs": {
- "Destination$arn": "ARN of this destination.
",
- "LogGroup$arn": null,
- "LogStream$arn": null
+ "Destination$arn": "The ARN of this destination.
",
+ "LogGroup$arn": "The Amazon Resource Name (ARN) of the log group.
",
+ "LogStream$arn": "The Amazon Resource Name (ARN) of the log stream.
"
}
},
"CancelExportTaskRequest": {
@@ -70,12 +70,12 @@
}
},
"DataAlreadyAcceptedException": {
- "base": null,
+ "base": "The event was already logged.
",
"refs": {
}
},
"Days": {
- "base": "Specifies the number of days you want to retain log events in the specified log group. Possible values are: 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, 1827, 3653.
",
+ "base": "The number of days to retain the log events in the specified log group. Possible values are: 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, 1827, and 3653.
",
"refs": {
"LogGroup$retentionInDays": null,
"PutRetentionPolicyRequest$retentionInDays": null
@@ -84,7 +84,7 @@
"DefaultValue": {
"base": null,
"refs": {
- "MetricTransformation$defaultValue": "(Optional) A default value to emit when a filter pattern does not match a log event. Can be null.
"
+ "MetricTransformation$defaultValue": "(Optional) The value to emit when a filter pattern does not match a log event. This value can be null.
"
}
},
"DeleteDestinationRequest": {
@@ -120,7 +120,7 @@
"Descending": {
"base": null,
"refs": {
- "DescribeLogStreamsRequest$descending": "If set to true, results are returned in descending order. If you don't specify a value or set it to false, results are returned in ascending order.
"
+ "DescribeLogStreamsRequest$descending": "If the value is true, results are returned in descending order. If the value is to false, results are returned in ascending order. The default value is false.
"
}
},
"DescribeDestinationsRequest": {
@@ -144,14 +144,14 @@
}
},
"DescribeLimit": {
- "base": "The maximum number of results to return.
",
+ "base": null,
"refs": {
- "DescribeDestinationsRequest$limit": null,
- "DescribeExportTasksRequest$limit": "The maximum number of items returned in the response. If you don't specify a value, the request would return up to 50 items.
",
- "DescribeLogGroupsRequest$limit": "The maximum number of items returned in the response. If you don't specify a value, the request would return up to 50 items.
",
- "DescribeLogStreamsRequest$limit": "The maximum number of items returned in the response. If you don't specify a value, the request would return up to 50 items.
",
- "DescribeMetricFiltersRequest$limit": "The maximum number of items returned in the response. If you don't specify a value, the request would return up to 50 items.
",
- "DescribeSubscriptionFiltersRequest$limit": null
+ "DescribeDestinationsRequest$limit": "The maximum number of items returned. If you don't specify a value, the default is up to 50 items.
",
+ "DescribeExportTasksRequest$limit": "The maximum number of items returned. If you don't specify a value, the default is up to 50 items.
",
+ "DescribeLogGroupsRequest$limit": "The maximum number of items returned. If you don't specify a value, the default is up to 50 items.
",
+ "DescribeLogStreamsRequest$limit": "The maximum number of items returned. If you don't specify a value, the default is up to 50 items.
",
+ "DescribeMetricFiltersRequest$limit": "The maximum number of items returned. If you don't specify a value, the default is up to 50 items.
",
+ "DescribeSubscriptionFiltersRequest$limit": "The maximum number of items returned. If you don't specify a value, the default is up to 50 items.
"
}
},
"DescribeLogGroupsRequest": {
@@ -195,25 +195,25 @@
}
},
"Destination": {
- "base": "A cross account destination that is the recipient of subscription log events.
",
+ "base": "Represents a cross-account destination that receives subscription log events.
",
"refs": {
"Destinations$member": null,
- "PutDestinationResponse$destination": null
+ "PutDestinationResponse$destination": "The destination.
"
}
},
"DestinationArn": {
"base": null,
"refs": {
- "PutSubscriptionFilterRequest$destinationArn": "The ARN of the destination to deliver matching log events to. Currently, the supported destinations are:
-
An Amazon Kinesis stream belonging to the same account as the subscription filter, for same-account delivery.
-
A logical destination (used via an ARN of Destination
) belonging to a different account, for cross-account delivery.
-
An Amazon Kinesis Firehose stream belonging to the same account as the subscription filter, for same-account delivery.
-
An AWS Lambda function belonging to the same account as the subscription filter, for same-account delivery.
",
- "SubscriptionFilter$destinationArn": null
+ "PutSubscriptionFilterRequest$destinationArn": "The ARN of the destination to deliver matching log events to. Currently, the supported destinations are:
-
An Amazon Kinesis stream belonging to the same account as the subscription filter, for same-account delivery.
-
A logical destination (specified using an ARN) belonging to a different account, for cross-account delivery.
-
An Amazon Kinesis Firehose stream belonging to the same account as the subscription filter, for same-account delivery.
-
An AWS Lambda function belonging to the same account as the subscription filter, for same-account delivery.
",
+ "SubscriptionFilter$destinationArn": "The Amazon Resource Name (ARN) of the destination.
"
}
},
"DestinationName": {
"base": null,
"refs": {
- "DeleteDestinationRequest$destinationName": "The name of destination to delete.
",
- "DescribeDestinationsRequest$DestinationNamePrefix": "Will only return destinations that match the provided destinationNamePrefix. If you don't specify a value, no prefix is applied.
",
- "Destination$destinationName": "Name of the destination.
",
+ "DeleteDestinationRequest$destinationName": "The name of the destination.
",
+ "DescribeDestinationsRequest$DestinationNamePrefix": "The prefix to match. If you don't specify a value, no prefix filter is applied.
",
+ "Destination$destinationName": "The name of the destination.
",
"PutDestinationPolicyRequest$destinationName": "A name for an existing destination.
",
"PutDestinationRequest$destinationName": "A name for the destination.
"
}
@@ -221,50 +221,50 @@
"Destinations": {
"base": null,
"refs": {
- "DescribeDestinationsResponse$destinations": null
+ "DescribeDestinationsResponse$destinations": "The destinations.
"
}
},
"EventId": {
"base": null,
"refs": {
- "FilteredLogEvent$eventId": "A unique identifier for this event.
"
+ "FilteredLogEvent$eventId": "The ID of the event.
"
}
},
"EventMessage": {
"base": null,
"refs": {
"FilteredLogEvent$message": "The data contained in the log event.
",
- "InputLogEvent$message": null,
- "MetricFilterMatchRecord$eventMessage": null,
- "OutputLogEvent$message": null,
+ "InputLogEvent$message": "The raw event message.
",
+ "MetricFilterMatchRecord$eventMessage": "The raw event data.
",
+ "OutputLogEvent$message": "The data contained in the log event.
",
"TestEventMessages$member": null
}
},
"EventNumber": {
"base": null,
"refs": {
- "MetricFilterMatchRecord$eventNumber": null
+ "MetricFilterMatchRecord$eventNumber": "The event number.
"
}
},
"EventsLimit": {
- "base": "The maximum number of events to return.
",
+ "base": null,
"refs": {
- "FilterLogEventsRequest$limit": "The maximum number of events to return in a page of results. Default is 10,000 events.
",
- "GetLogEventsRequest$limit": "The maximum number of log events returned in the response. If you don't specify a value, the request would return as many log events as can fit in a response size of 1MB, up to 10,000 log events.
"
+ "FilterLogEventsRequest$limit": "The maximum number of events to return. The default is 10,000 events.
",
+ "GetLogEventsRequest$limit": "The maximum number of log events returned. If you don't specify a value, the maximum is as many log events as can fit in a response size of 1MB, up to 10,000 log events.
"
}
},
"ExportDestinationBucket": {
"base": null,
"refs": {
- "CreateExportTaskRequest$destination": "Name of Amazon S3 bucket to which the log data will be exported.
Note: Only buckets in the same AWS region are supported.
",
- "ExportTask$destination": "Name of Amazon S3 bucket to which the log data was exported.
"
+ "CreateExportTaskRequest$destination": "The name of S3 bucket for the exported log data. The bucket must be in the same AWS region.
",
+ "ExportTask$destination": "The name of Amazon S3 bucket to which the log data was exported.
"
}
},
"ExportDestinationPrefix": {
"base": null,
"refs": {
- "CreateExportTaskRequest$destinationPrefix": "Prefix that will be used as the start of Amazon S3 key for every object exported. If not specified, this defaults to 'exportedlogs'.
",
- "ExportTask$destinationPrefix": "Prefix that was used as the start of Amazon S3 key for every object exported.
"
+ "CreateExportTaskRequest$destinationPrefix": "The prefix used as the start of the key for every object exported. If you don't specify a value, the default is exportedlogs
.
",
+ "ExportTask$destinationPrefix": "The prefix that was used as the start of Amazon S3 key for every object exported.
"
}
},
"ExportTask": {
@@ -282,10 +282,10 @@
"ExportTaskId": {
"base": null,
"refs": {
- "CancelExportTaskRequest$taskId": "Id of the export task to cancel.
",
- "CreateExportTaskResponse$taskId": "Id of the export task that got created.
",
- "DescribeExportTasksRequest$taskId": "Export task that matches the specified task Id will be returned. This can result in zero or one export task.
",
- "ExportTask$taskId": "Id of the export task.
"
+ "CancelExportTaskRequest$taskId": "The ID of the export task.
",
+ "CreateExportTaskResponse$taskId": "The ID of the export task.
",
+ "DescribeExportTasksRequest$taskId": "The ID of the export task. Specifying a task ID filters the results to zero or one export tasks.
",
+ "ExportTask$taskId": "The ID of the export task.
"
}
},
"ExportTaskName": {
@@ -298,38 +298,38 @@
"ExportTaskStatus": {
"base": "Represents the status of an export task.
",
"refs": {
- "ExportTask$status": "Status of the export task.
"
+ "ExportTask$status": "The status of the export task.
"
}
},
"ExportTaskStatusCode": {
"base": null,
"refs": {
- "DescribeExportTasksRequest$statusCode": "All export tasks that matches the specified status code will be returned. This can return zero or more export tasks.
",
- "ExportTaskStatus$code": "Status code of the export task.
"
+ "DescribeExportTasksRequest$statusCode": "The status code of the export task. Specifying a status code filters the results to zero or more export tasks.
",
+ "ExportTaskStatus$code": "The status code of the export task.
"
}
},
"ExportTaskStatusMessage": {
"base": null,
"refs": {
- "ExportTaskStatus$message": "Status message related to the code
.
"
+ "ExportTaskStatus$message": "The status message related to the status code.
"
}
},
"ExportTasks": {
- "base": "A list of export tasks.
",
+ "base": null,
"refs": {
- "DescribeExportTasksResponse$exportTasks": null
+ "DescribeExportTasksResponse$exportTasks": "The export tasks.
"
}
},
"ExtractedValues": {
"base": null,
"refs": {
- "MetricFilterMatchRecord$extractedValues": null
+ "MetricFilterMatchRecord$extractedValues": "The values extracted from the event data by the filter.
"
}
},
"FilterCount": {
- "base": "The number of metric filters associated with the log group.
",
+ "base": null,
"refs": {
- "LogGroup$metricFilterCount": null
+ "LogGroup$metricFilterCount": "The number of metric filters.
"
}
},
"FilterLogEventsRequest": {
@@ -343,39 +343,39 @@
}
},
"FilterName": {
- "base": "A name for a metric or subscription filter.
",
+ "base": null,
"refs": {
- "DeleteMetricFilterRequest$filterName": "The name of the metric filter to delete.
",
- "DeleteSubscriptionFilterRequest$filterName": "The name of the subscription filter to delete.
",
- "DescribeMetricFiltersRequest$filterNamePrefix": "Will only return metric filters that match the provided filterNamePrefix. If you don't specify a value, no prefix filter is applied.
",
- "DescribeSubscriptionFiltersRequest$filterNamePrefix": "Will only return subscription filters that match the provided filterNamePrefix. If you don't specify a value, no prefix filter is applied.
",
- "MetricFilter$filterName": null,
+ "DeleteMetricFilterRequest$filterName": "The name of the metric filter.
",
+ "DeleteSubscriptionFilterRequest$filterName": "The name of the subscription filter.
",
+ "DescribeMetricFiltersRequest$filterNamePrefix": "The prefix to match.
",
+ "DescribeSubscriptionFiltersRequest$filterNamePrefix": "The prefix to match. If you don't specify a value, no prefix filter is applied.
",
+ "MetricFilter$filterName": "The name of the metric filter.
",
"PutMetricFilterRequest$filterName": "A name for the metric filter.
",
"PutSubscriptionFilterRequest$filterName": "A name for the subscription filter.
",
- "SubscriptionFilter$filterName": null
+ "SubscriptionFilter$filterName": "The name of the subscription filter.
"
}
},
"FilterPattern": {
"base": "A symbolic description of how CloudWatch Logs should interpret the data in each log event. For example, a log event may contain timestamps, IP addresses, strings, and so on. You use the filter pattern to specify what to look for in the log event message.
",
"refs": {
- "FilterLogEventsRequest$filterPattern": "A valid CloudWatch Logs filter pattern to use for filtering the response. If not provided, all the events are matched.
",
+ "FilterLogEventsRequest$filterPattern": "The filter pattern to use. If not provided, all the events are matched.
",
"MetricFilter$filterPattern": null,
- "PutMetricFilterRequest$filterPattern": "A valid CloudWatch Logs filter pattern for extracting metric data out of ingested log events.
",
- "PutSubscriptionFilterRequest$filterPattern": "A valid CloudWatch Logs filter pattern for subscribing to a filtered stream of log events.
",
+ "PutMetricFilterRequest$filterPattern": "A filter pattern for extracting metric data out of ingested log events.
",
+ "PutSubscriptionFilterRequest$filterPattern": "A filter pattern for subscribing to a filtered stream of log events.
",
"SubscriptionFilter$filterPattern": null,
"TestMetricFilterRequest$filterPattern": null
}
},
"FilteredLogEvent": {
- "base": "Represents a matched event from a FilterLogEvents
request.
",
+ "base": "Represents a matched event.
",
"refs": {
"FilteredLogEvents$member": null
}
},
"FilteredLogEvents": {
- "base": "A list of matched FilteredLogEvent
objects returned from a FilterLogEvents
request.
",
+ "base": null,
"refs": {
- "FilterLogEventsResponse$events": "A list of FilteredLogEvent
objects representing the matched events from the request.
"
+ "FilterLogEventsResponse$events": "The matched events.
"
}
},
"GetLogEventsRequest": {
@@ -389,59 +389,59 @@
}
},
"InputLogEvent": {
- "base": "A log event is a record of some activity that was recorded by the application or resource being monitored. The log event record that CloudWatch Logs understands contains two properties: the timestamp of when the event occurred, and the raw event message.
",
+ "base": "Represents a log event, which is a record of activity that was recorded by the application or resource being monitored.
",
"refs": {
"InputLogEvents$member": null
}
},
"InputLogEvents": {
- "base": "A list of log events belonging to a log stream.
",
+ "base": null,
"refs": {
- "PutLogEventsRequest$logEvents": null
+ "PutLogEventsRequest$logEvents": "The log events.
"
}
},
"InputLogStreamNames": {
- "base": "A list of log stream names.
",
+ "base": null,
"refs": {
- "FilterLogEventsRequest$logStreamNames": "Optional list of log stream names within the specified log group to search. Defaults to all the log streams in the log group.
"
+ "FilterLogEventsRequest$logStreamNames": "Optional list of log stream names.
"
}
},
"Interleaved": {
"base": null,
"refs": {
- "FilterLogEventsRequest$interleaved": "If provided, the API will make a best effort to provide responses that contain events from multiple log streams within the log group interleaved in a single response. If not provided, all the matched log events in the first log stream will be searched first, then those in the next log stream, etc.
"
+ "FilterLogEventsRequest$interleaved": "If the value is true, the operation makes a best effort to provide responses that contain events from multiple log streams within the log group interleaved in a single response. If the value is false all the matched log events in the first log stream are searched first, then those in the next log stream, and so on. The default is false.
"
}
},
"InvalidOperationException": {
- "base": "Returned if the operation is not valid on the specified resource
",
+ "base": "The operation is not valid on the specified resource.
",
"refs": {
}
},
"InvalidParameterException": {
- "base": "Returned if a parameter of the request is incorrectly specified.
",
+ "base": "A parameter is specified incorrectly.
",
"refs": {
}
},
"InvalidSequenceTokenException": {
- "base": null,
+ "base": "The sequence token is not valid.
",
"refs": {
}
},
"LimitExceededException": {
- "base": "Returned if you have reached the maximum number of resources that can be created.
",
+ "base": "You have reached the maximum number of resources that can be created.
",
"refs": {
}
},
"LogEventIndex": {
"base": null,
"refs": {
- "RejectedLogEventsInfo$tooNewLogEventStartIndex": null,
- "RejectedLogEventsInfo$tooOldLogEventEndIndex": null,
- "RejectedLogEventsInfo$expiredLogEventEndIndex": null
+ "RejectedLogEventsInfo$tooNewLogEventStartIndex": "The log events that are too new.
",
+ "RejectedLogEventsInfo$tooOldLogEventEndIndex": "The log events that are too old.
",
+ "RejectedLogEventsInfo$expiredLogEventEndIndex": "The expired log events.
"
}
},
"LogGroup": {
- "base": null,
+ "base": "Represents a log group.
",
"refs": {
"LogGroups$member": null
}
@@ -449,37 +449,38 @@
"LogGroupName": {
"base": null,
"refs": {
- "CreateExportTaskRequest$logGroupName": "The name of the log group to export.
",
- "CreateLogGroupRequest$logGroupName": "The name of the log group to create.
",
- "CreateLogStreamRequest$logGroupName": "The name of the log group under which the log stream is to be created.
",
- "DeleteLogGroupRequest$logGroupName": "The name of the log group to delete.
",
- "DeleteLogStreamRequest$logGroupName": "The name of the log group under which the log stream to delete belongs.
",
- "DeleteMetricFilterRequest$logGroupName": "The name of the log group that is associated with the metric filter to delete.
",
- "DeleteRetentionPolicyRequest$logGroupName": "The name of the log group that is associated with the retention policy to delete.
",
- "DeleteSubscriptionFilterRequest$logGroupName": "The name of the log group that is associated with the subscription filter to delete.
",
- "DescribeLogGroupsRequest$logGroupNamePrefix": "Will only return log groups that match the provided logGroupNamePrefix. If you don't specify a value, no prefix filter is applied.
",
- "DescribeLogStreamsRequest$logGroupName": "The log group name for which log streams are to be listed.
",
- "DescribeMetricFiltersRequest$logGroupName": "The log group name for which metric filters are to be listed.
",
- "DescribeSubscriptionFiltersRequest$logGroupName": "The log group name for which subscription filters are to be listed.
",
+ "CreateExportTaskRequest$logGroupName": "The name of the log group.
",
+ "CreateLogGroupRequest$logGroupName": "The name of the log group.
",
+ "CreateLogStreamRequest$logGroupName": "The name of the log group.
",
+ "DeleteLogGroupRequest$logGroupName": "The name of the log group.
",
+ "DeleteLogStreamRequest$logGroupName": "The name of the log group.
",
+ "DeleteMetricFilterRequest$logGroupName": "The name of the log group.
",
+ "DeleteRetentionPolicyRequest$logGroupName": "The name of the log group.
",
+ "DeleteSubscriptionFilterRequest$logGroupName": "The name of the log group.
",
+ "DescribeLogGroupsRequest$logGroupNamePrefix": "The prefix to match.
",
+ "DescribeLogStreamsRequest$logGroupName": "The name of the log group.
",
+ "DescribeMetricFiltersRequest$logGroupName": "The name of the log group.
",
+ "DescribeSubscriptionFiltersRequest$logGroupName": "The name of the log group.
",
"ExportTask$logGroupName": "The name of the log group from which logs data was exported.
",
- "FilterLogEventsRequest$logGroupName": "The name of the log group to query.
",
- "GetLogEventsRequest$logGroupName": "The name of the log group to query.
",
- "LogGroup$logGroupName": null,
- "PutLogEventsRequest$logGroupName": "The name of the log group to put log events to.
",
- "PutMetricFilterRequest$logGroupName": "The name of the log group to associate the metric filter with.
",
- "PutRetentionPolicyRequest$logGroupName": "The name of the log group to associate the retention policy with.
",
- "PutSubscriptionFilterRequest$logGroupName": "The name of the log group to associate the subscription filter with.
",
- "SubscriptionFilter$logGroupName": null
+ "FilterLogEventsRequest$logGroupName": "The name of the log group.
",
+ "GetLogEventsRequest$logGroupName": "The name of the log group.
",
+ "LogGroup$logGroupName": "The name of the log group.
",
+ "MetricFilter$logGroupName": "The name of the log group.
",
+ "PutLogEventsRequest$logGroupName": "The name of the log group.
",
+ "PutMetricFilterRequest$logGroupName": "The name of the log group.
",
+ "PutRetentionPolicyRequest$logGroupName": "The name of the log group.
",
+ "PutSubscriptionFilterRequest$logGroupName": "The name of the log group.
",
+ "SubscriptionFilter$logGroupName": "The name of the log group.
"
}
},
"LogGroups": {
- "base": "A list of log groups.
",
+ "base": null,
"refs": {
- "DescribeLogGroupsResponse$logGroups": null
+ "DescribeLogGroupsResponse$logGroups": "The log groups.
"
}
},
"LogStream": {
- "base": "A log stream is sequence of log events from a single emitter of logs.
",
+ "base": "Represents a log stream, which is a sequence of log events from a single emitter of logs.
",
"refs": {
"LogStreams$member": null
}
@@ -487,38 +488,38 @@
"LogStreamName": {
"base": null,
"refs": {
- "CreateExportTaskRequest$logStreamNamePrefix": "Will only export log streams that match the provided logStreamNamePrefix. If you don't specify a value, no prefix filter is applied.
",
- "CreateLogStreamRequest$logStreamName": "The name of the log stream to create.
",
- "DeleteLogStreamRequest$logStreamName": "The name of the log stream to delete.
",
- "DescribeLogStreamsRequest$logStreamNamePrefix": "Will only return log streams that match the provided logStreamNamePrefix. If you don't specify a value, no prefix filter is applied.
",
+ "CreateExportTaskRequest$logStreamNamePrefix": "Export only log streams that match the provided prefix. If you don't specify a value, no prefix filter is applied.
",
+ "CreateLogStreamRequest$logStreamName": "The name of the log stream.
",
+ "DeleteLogStreamRequest$logStreamName": "The name of the log stream.
",
+ "DescribeLogStreamsRequest$logStreamNamePrefix": "The prefix to match.
You cannot specify this parameter if orderBy
is LastEventTime
.
",
"FilteredLogEvent$logStreamName": "The name of the log stream this event belongs to.
",
- "GetLogEventsRequest$logStreamName": "The name of the log stream to query.
",
+ "GetLogEventsRequest$logStreamName": "The name of the log stream.
",
"InputLogStreamNames$member": null,
- "LogStream$logStreamName": null,
- "PutLogEventsRequest$logStreamName": "The name of the log stream to put log events to.
",
+ "LogStream$logStreamName": "The name of the log stream.
",
+ "PutLogEventsRequest$logStreamName": "The name of the log stream.
",
"SearchedLogStream$logStreamName": "The name of the log stream.
"
}
},
"LogStreamSearchedCompletely": {
"base": null,
"refs": {
- "SearchedLogStream$searchedCompletely": "Indicates whether all the events in this log stream were searched or more data exists to search by paginating further.
"
+ "SearchedLogStream$searchedCompletely": "Indicates whether all the events in this log stream were searched.
"
}
},
"LogStreams": {
- "base": "A list of log streams.
",
+ "base": null,
"refs": {
- "DescribeLogStreamsResponse$logStreams": null
+ "DescribeLogStreamsResponse$logStreams": "The log streams.
"
}
},
"MetricFilter": {
- "base": "Metric filters can be used to express how CloudWatch Logs would extract metric observations from ingested log events and transform them to metric data in a CloudWatch metric.
",
+ "base": "Metric filters express how CloudWatch Logs would extract metric observations from ingested log events and transform them into metric data in a CloudWatch metric.
",
"refs": {
"MetricFilters$member": null
}
},
"MetricFilterMatchRecord": {
- "base": null,
+ "base": "Represents a matched event.
",
"refs": {
"MetricFilterMatches$member": null
}
@@ -526,29 +527,31 @@
"MetricFilterMatches": {
"base": null,
"refs": {
- "TestMetricFilterResponse$matches": null
+ "TestMetricFilterResponse$matches": "The matched events.
"
}
},
"MetricFilters": {
"base": null,
"refs": {
- "DescribeMetricFiltersResponse$metricFilters": null
+ "DescribeMetricFiltersResponse$metricFilters": "The metric filters.
"
}
},
"MetricName": {
"base": "The name of the CloudWatch metric to which the monitored log information should be published. For example, you may publish to a metric called ErrorCount.
",
"refs": {
- "MetricTransformation$metricName": "Name of the metric.
"
+ "DescribeMetricFiltersRequest$metricName": "The name of the CloudWatch metric.
",
+ "MetricTransformation$metricName": "The name of the CloudWatch metric.
"
}
},
"MetricNamespace": {
- "base": "The destination namespace of the new CloudWatch metric.
",
+ "base": null,
"refs": {
- "MetricTransformation$metricNamespace": "Namespace to which the metric belongs.
"
+ "DescribeMetricFiltersRequest$metricNamespace": "The namespace of the CloudWatch metric.
",
+ "MetricTransformation$metricNamespace": "The namespace of the CloudWatch metric.
"
}
},
"MetricTransformation": {
- "base": null,
+ "base": "Indicates how to transform ingested log events into metric data in a CloudWatch metric.
",
"refs": {
"MetricTransformations$member": null
}
@@ -556,51 +559,51 @@
"MetricTransformations": {
"base": null,
"refs": {
- "MetricFilter$metricTransformations": null,
+ "MetricFilter$metricTransformations": "The metric transformations.
",
"PutMetricFilterRequest$metricTransformations": "A collection of information needed to define how metric data gets emitted.
"
}
},
"MetricValue": {
- "base": "What to publish to the metric. For example, if you're counting the occurrences of a particular term like \"Error\", the value will be \"1\" for each occurrence. If you're counting the bytes transferred the published value will be the value in the log event.
",
+ "base": "The value to publish to the CloudWatch metric. For example, if you're counting the occurrences of a term like \"Error\", the value is \"1\" for each occurrence. If you're counting the bytes transferred, the value is the value in the log event.
",
"refs": {
- "MetricTransformation$metricValue": " A string representing a value to publish to this metric when a filter pattern matches a log event.
"
+ "MetricTransformation$metricValue": "The value to publish to the CloudWatch metric when a filter pattern matches a log event.
"
}
},
"NextToken": {
- "base": "A string token used for pagination that points to the next page of results. It must be a value obtained from the response of the previous request. The token expires after 24 hours.
",
+ "base": "The token for the next set of items to return. The token expires after 24 hours.
",
"refs": {
- "DescribeDestinationsRequest$nextToken": null,
+ "DescribeDestinationsRequest$nextToken": "The token for the next set of items to return. (You received this token from a previous call.)
",
"DescribeDestinationsResponse$nextToken": null,
- "DescribeExportTasksRequest$nextToken": "A string token used for pagination that points to the next page of results. It must be a value obtained from the response of the previous DescribeExportTasks
request.
",
+ "DescribeExportTasksRequest$nextToken": "The token for the next set of items to return. (You received this token from a previous call.)
",
"DescribeExportTasksResponse$nextToken": null,
- "DescribeLogGroupsRequest$nextToken": "A string token used for pagination that points to the next page of results. It must be a value obtained from the response of the previous DescribeLogGroups
request.
",
+ "DescribeLogGroupsRequest$nextToken": "The token for the next set of items to return. (You received this token from a previous call.)
",
"DescribeLogGroupsResponse$nextToken": null,
- "DescribeLogStreamsRequest$nextToken": "A string token used for pagination that points to the next page of results. It must be a value obtained from the response of the previous DescribeLogStreams
request.
",
+ "DescribeLogStreamsRequest$nextToken": "The token for the next set of items to return. (You received this token from a previous call.)
",
"DescribeLogStreamsResponse$nextToken": null,
- "DescribeMetricFiltersRequest$nextToken": "A string token used for pagination that points to the next page of results. It must be a value obtained from the response of the previous DescribeMetricFilters
request.
",
+ "DescribeMetricFiltersRequest$nextToken": "The token for the next set of items to return. (You received this token from a previous call.)
",
"DescribeMetricFiltersResponse$nextToken": null,
- "DescribeSubscriptionFiltersRequest$nextToken": null,
+ "DescribeSubscriptionFiltersRequest$nextToken": "The token for the next set of items to return. (You received this token from a previous call.)
",
"DescribeSubscriptionFiltersResponse$nextToken": null,
- "FilterLogEventsRequest$nextToken": "A pagination token obtained from a FilterLogEvents
response to continue paginating the FilterLogEvents results. This token is omitted from the response when there are no other events to display.
",
- "FilterLogEventsResponse$nextToken": "A pagination token obtained from a FilterLogEvents
response to continue paginating the FilterLogEvents results. This token is omitted from the response when there are no other events to display.
",
- "GetLogEventsRequest$nextToken": "A string token used for pagination that points to the next page of results. It must be a value obtained from the nextForwardToken
or nextBackwardToken
fields in the response of the previous GetLogEvents
request.
",
- "GetLogEventsResponse$nextForwardToken": null,
- "GetLogEventsResponse$nextBackwardToken": null
+ "FilterLogEventsRequest$nextToken": "The token for the next set of events to return. (You received this token from a previous call.)
",
+ "FilterLogEventsResponse$nextToken": "The token to use when requesting the next set of items. The token expires after 24 hours.
",
+ "GetLogEventsRequest$nextToken": "The token for the next set of items to return. (You received this token from a previous call.)
",
+ "GetLogEventsResponse$nextForwardToken": "The token for the next set of items in the forward direction. The token expires after 24 hours.
",
+ "GetLogEventsResponse$nextBackwardToken": "The token for the next set of items in the backward direction. The token expires after 24 hours.
"
}
},
"OperationAbortedException": {
- "base": "Returned if multiple requests to update the same resource were in conflict.
",
+ "base": "Multiple requests to update the same resource were in conflict.
",
"refs": {
}
},
"OrderBy": {
"base": null,
"refs": {
- "DescribeLogStreamsRequest$orderBy": "Specifies what to order the returned log streams by. Valid arguments are 'LogStreamName' or 'LastEventTime'. If you don't specify a value, results are ordered by LogStreamName. If 'LastEventTime' is chosen, the request cannot also contain a logStreamNamePrefix.
"
+ "DescribeLogStreamsRequest$orderBy": "If the value is LogStreamName
, the results are ordered by log stream name. If the value is LastEventTime
, the results are ordered by the event time. The default value is LogStreamName
.
If you order the results by event time, you cannot specify the logStreamNamePrefix
parameter.
"
}
},
"OutputLogEvent": {
- "base": null,
+ "base": "Represents a log event.
",
"refs": {
"OutputLogEvents$member": null
}
@@ -608,7 +611,7 @@
"OutputLogEvents": {
"base": null,
"refs": {
- "GetLogEventsResponse$events": null
+ "GetLogEventsResponse$events": "The events.
"
}
},
"PutDestinationPolicyRequest": {
@@ -652,72 +655,72 @@
}
},
"RejectedLogEventsInfo": {
- "base": null,
+ "base": "Represents the rejected events.
",
"refs": {
- "PutLogEventsResponse$rejectedLogEventsInfo": null
+ "PutLogEventsResponse$rejectedLogEventsInfo": "The rejected events.
"
}
},
"ResourceAlreadyExistsException": {
- "base": "Returned if the specified resource already exists.
",
+ "base": "The specified resource already exists.
",
"refs": {
}
},
"ResourceNotFoundException": {
- "base": "Returned if the specified resource does not exist.
",
+ "base": "The specified resource does not exist.
",
"refs": {
}
},
"RoleArn": {
"base": null,
"refs": {
- "Destination$roleArn": "A role for impersonation for delivering log events to the target.
",
- "PutDestinationRequest$roleArn": "The ARN of an IAM role that grants CloudWatch Logs permissions to do Amazon Kinesis PutRecord requests on the destination stream.
",
- "PutSubscriptionFilterRequest$roleArn": "The ARN of an IAM role that grants CloudWatch Logs permissions to deliver ingested log events to the destination stream. You don't need to provide the ARN when you are working with a logical destination (used via an ARN of Destination
) for cross-account delivery.
",
- "SubscriptionFilter$roleArn": null
+ "Destination$roleArn": "A role for impersonation, used when delivering log events to the target.
",
+ "PutDestinationRequest$roleArn": "The ARN of an IAM role that grants CloudWatch Logs permissions to call Amazon Kinesis PutRecord on the destination stream.
",
+ "PutSubscriptionFilterRequest$roleArn": "The ARN of an IAM role that grants CloudWatch Logs permissions to deliver ingested log events to the destination stream. You don't need to provide the ARN when you are working with a logical destination for cross-account delivery.
",
+ "SubscriptionFilter$roleArn": ""
}
},
"SearchedLogStream": {
- "base": "An object indicating the search status of a log stream in a FilterLogEvents
request.
",
+ "base": "Represents the search status of a log stream.
",
"refs": {
"SearchedLogStreams$member": null
}
},
"SearchedLogStreams": {
- "base": "A list of SearchedLogStream
objects indicating the search status for log streams in a FilterLogEvents
request.
",
+ "base": null,
"refs": {
- "FilterLogEventsResponse$searchedLogStreams": "A list of SearchedLogStream
objects indicating which log streams have been searched in this request and whether each has been searched completely or still has more to be paginated.
"
+ "FilterLogEventsResponse$searchedLogStreams": "Indicates which log streams have been searched and whether each has been searched completely.
"
}
},
"SequenceToken": {
- "base": "A string token used for making PutLogEvents requests. A sequenceToken
can only be used once, and PutLogEvents requests must include the sequenceToken
obtained from the response of the previous request.
",
+ "base": null,
"refs": {
"DataAlreadyAcceptedException$expectedSequenceToken": null,
"InvalidSequenceTokenException$expectedSequenceToken": null,
- "LogStream$uploadSequenceToken": null,
- "PutLogEventsRequest$sequenceToken": "A string token that must be obtained from the response of the previous PutLogEvents
request.
",
- "PutLogEventsResponse$nextSequenceToken": null
+ "LogStream$uploadSequenceToken": "The sequence token.
",
+ "PutLogEventsRequest$sequenceToken": "The sequence token.
",
+ "PutLogEventsResponse$nextSequenceToken": "The next sequence token.
"
}
},
"ServiceUnavailableException": {
- "base": "Returned if the service cannot complete the request.
",
+ "base": "The service cannot complete the request.
",
"refs": {
}
},
"StartFromHead": {
"base": null,
"refs": {
- "GetLogEventsRequest$startFromHead": "If set to true, the earliest log events would be returned first. The default is false (the latest log events are returned first).
"
+ "GetLogEventsRequest$startFromHead": "If the value is true, the earliest log events are returned first. If the value is false, the latest log events are returned first. The default value is false.
"
}
},
"StoredBytes": {
"base": null,
"refs": {
- "LogGroup$storedBytes": null,
- "LogStream$storedBytes": null
+ "LogGroup$storedBytes": "The number of bytes stored.
",
+ "LogStream$storedBytes": "The number of bytes stored.
"
}
},
"SubscriptionFilter": {
- "base": null,
+ "base": "Represents a subscription filter.
",
"refs": {
"SubscriptionFilters$member": null
}
@@ -725,20 +728,20 @@
"SubscriptionFilters": {
"base": null,
"refs": {
- "DescribeSubscriptionFiltersResponse$subscriptionFilters": null
+ "DescribeSubscriptionFiltersResponse$subscriptionFilters": "The subscription filters.
"
}
},
"TargetArn": {
"base": null,
"refs": {
- "Destination$targetArn": "ARN of the physical target where the log events will be delivered (eg. ARN of a Kinesis stream).
",
+ "Destination$targetArn": "The Amazon Resource Name (ARN) of the physical target where the log events will be delivered (for example, a Kinesis stream).
",
"PutDestinationRequest$targetArn": "The ARN of an Amazon Kinesis stream to deliver matching log events to.
"
}
},
"TestEventMessages": {
"base": null,
"refs": {
- "TestMetricFilterRequest$logEventMessages": "A list of log event messages to test.
"
+ "TestMetricFilterRequest$logEventMessages": "The log event messages to test.
"
}
},
"TestMetricFilterRequest": {
@@ -752,31 +755,31 @@
}
},
"Timestamp": {
- "base": "A point in time expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC.
",
- "refs": {
- "CreateExportTaskRequest$from": "A point in time expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC. It indicates the start time of the range for the request. Events with a timestamp prior to this time will not be exported.
",
- "CreateExportTaskRequest$to": "A point in time expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC. It indicates the end time of the range for the request. Events with a timestamp later than this time will not be exported.
",
- "Destination$creationTime": "A point in time expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC specifying when this destination was created.
",
- "ExportTask$from": "A point in time expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC. Events with a timestamp prior to this time are not exported.
",
- "ExportTask$to": "A point in time expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC. Events with a timestamp later than this time are not exported.
",
- "ExportTaskExecutionInfo$creationTime": "A point in time when the export task got created.
",
- "ExportTaskExecutionInfo$completionTime": "A point in time when the export task got completed.
",
- "FilterLogEventsRequest$startTime": "A point in time expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC. If provided, events with a timestamp prior to this time are not returned.
",
- "FilterLogEventsRequest$endTime": "A point in time expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC. If provided, events with a timestamp later than this time are not returned.
",
- "FilteredLogEvent$timestamp": null,
- "FilteredLogEvent$ingestionTime": null,
- "GetLogEventsRequest$startTime": null,
- "GetLogEventsRequest$endTime": null,
- "InputLogEvent$timestamp": null,
- "LogGroup$creationTime": null,
- "LogStream$creationTime": null,
- "LogStream$firstEventTimestamp": null,
- "LogStream$lastEventTimestamp": null,
- "LogStream$lastIngestionTime": null,
- "MetricFilter$creationTime": null,
- "OutputLogEvent$timestamp": null,
- "OutputLogEvent$ingestionTime": null,
- "SubscriptionFilter$creationTime": null
+ "base": null,
+ "refs": {
+ "CreateExportTaskRequest$from": "The start time of the range for the request, expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC. Events with a timestamp earlier than this time are not exported.
",
+ "CreateExportTaskRequest$to": "The end time of the range for the request, expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC. Events with a timestamp later than this time are not exported.
",
+ "Destination$creationTime": "The creation time of the destination.
",
+ "ExportTask$from": "The start time. Events with a timestamp prior to this time are not exported.
",
+ "ExportTask$to": "The end time. Events with a timestamp later than this time are not exported.
",
+ "ExportTaskExecutionInfo$creationTime": "The creation time of the export task.
",
+ "ExportTaskExecutionInfo$completionTime": "The completion time of the export task.
",
+ "FilterLogEventsRequest$startTime": "The start of the time range. Events with a timestamp prior to this time are not returned.
",
+ "FilterLogEventsRequest$endTime": "The end of the time range. Events with a timestamp later than this time are not returned.
",
+ "FilteredLogEvent$timestamp": "The time the event occurred.
",
+ "FilteredLogEvent$ingestionTime": "The time the event was ingested.
",
+ "GetLogEventsRequest$startTime": "The start of the time range. Events with a timestamp earlier than this time are not included.
",
+ "GetLogEventsRequest$endTime": "The end of the time range. Events with a timestamp later than this time are not included.
",
+ "InputLogEvent$timestamp": "The time the event occurred.
",
+ "LogGroup$creationTime": "The creation time of the log group.
",
+ "LogStream$creationTime": "The creation time of the stream.
",
+ "LogStream$firstEventTimestamp": "The time of the first event.
",
+ "LogStream$lastEventTimestamp": "The time of the last event.
",
+ "LogStream$lastIngestionTime": "The ingestion time.
",
+ "MetricFilter$creationTime": "The creation time of the metric filter.
",
+ "OutputLogEvent$timestamp": "The time the event occurred.
",
+ "OutputLogEvent$ingestionTime": "The time the event was ingested.
",
+ "SubscriptionFilter$creationTime": "The creation time of the subscription filter.
"
}
},
"Token": {
diff --git a/vendor/github.com/aws/aws-sdk-go/models/apis/meteringmarketplace/2016-01-14/api-2.json b/vendor/github.com/aws/aws-sdk-go/models/apis/meteringmarketplace/2016-01-14/api-2.json
index 6c9f7b5..5e0e920 100644
--- a/vendor/github.com/aws/aws-sdk-go/models/apis/meteringmarketplace/2016-01-14/api-2.json
+++ b/vendor/github.com/aws/aws-sdk-go/models/apis/meteringmarketplace/2016-01-14/api-2.json
@@ -11,6 +11,23 @@
"targetPrefix":"AWSMPMeteringService"
},
"operations":{
+ "BatchMeterUsage":{
+ "name":"BatchMeterUsage",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"BatchMeterUsageRequest"},
+ "output":{"shape":"BatchMeterUsageResult"},
+ "errors":[
+ {"shape":"InternalServiceErrorException"},
+ {"shape":"InvalidProductCodeException"},
+ {"shape":"InvalidUsageDimensionException"},
+ {"shape":"InvalidCustomerIdentifierException"},
+ {"shape":"TimestampOutOfBoundsException"},
+ {"shape":"ThrottlingException"}
+ ]
+ },
"MeterUsage":{
"name":"MeterUsage",
"http":{
@@ -28,10 +45,48 @@
{"shape":"DuplicateRequestException"},
{"shape":"ThrottlingException"}
]
+ },
+ "ResolveCustomer":{
+ "name":"ResolveCustomer",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"ResolveCustomerRequest"},
+ "output":{"shape":"ResolveCustomerResult"},
+ "errors":[
+ {"shape":"InvalidTokenException"},
+ {"shape":"ExpiredTokenException"},
+ {"shape":"ThrottlingException"},
+ {"shape":"InternalServiceErrorException"}
+ ]
}
},
"shapes":{
+ "BatchMeterUsageRequest":{
+ "type":"structure",
+ "required":[
+ "UsageRecords",
+ "ProductCode"
+ ],
+ "members":{
+ "UsageRecords":{"shape":"UsageRecordList"},
+ "ProductCode":{"shape":"ProductCode"}
+ }
+ },
+ "BatchMeterUsageResult":{
+ "type":"structure",
+ "members":{
+ "Results":{"shape":"UsageRecordResultList"},
+ "UnprocessedRecords":{"shape":"UsageRecordList"}
+ }
+ },
"Boolean":{"type":"boolean"},
+ "CustomerIdentifier":{
+ "type":"string",
+ "max":255,
+ "min":1
+ },
"DuplicateRequestException":{
"type":"structure",
"members":{
@@ -39,6 +94,13 @@
},
"exception":true
},
+ "ExpiredTokenException":{
+ "type":"structure",
+ "members":{
+ "message":{"shape":"errorMessage"}
+ },
+ "exception":true
+ },
"InternalServiceErrorException":{
"type":"structure",
"members":{
@@ -47,6 +109,13 @@
"exception":true,
"fault":true
},
+ "InvalidCustomerIdentifierException":{
+ "type":"structure",
+ "members":{
+ "message":{"shape":"errorMessage"}
+ },
+ "exception":true
+ },
"InvalidEndpointRegionException":{
"type":"structure",
"members":{
@@ -61,6 +130,13 @@
},
"exception":true
},
+ "InvalidTokenException":{
+ "type":"structure",
+ "members":{
+ "message":{"shape":"errorMessage"}
+ },
+ "exception":true
+ },
"InvalidUsageDimensionException":{
"type":"structure",
"members":{
@@ -91,11 +167,29 @@
"MeteringRecordId":{"shape":"String"}
}
},
+ "NonEmptyString":{
+ "type":"string",
+ "pattern":"\\S+"
+ },
"ProductCode":{
"type":"string",
"max":255,
"min":1
},
+ "ResolveCustomerRequest":{
+ "type":"structure",
+ "required":["RegistrationToken"],
+ "members":{
+ "RegistrationToken":{"shape":"NonEmptyString"}
+ }
+ },
+ "ResolveCustomerResult":{
+ "type":"structure",
+ "members":{
+ "CustomerIdentifier":{"shape":"CustomerIdentifier"},
+ "ProductCode":{"shape":"ProductCode"}
+ }
+ },
"String":{"type":"string"},
"ThrottlingException":{
"type":"structure",
@@ -122,6 +216,47 @@
"max":1000000,
"min":0
},
+ "UsageRecord":{
+ "type":"structure",
+ "required":[
+ "Timestamp",
+ "CustomerIdentifier",
+ "Dimension",
+ "Quantity"
+ ],
+ "members":{
+ "Timestamp":{"shape":"Timestamp"},
+ "CustomerIdentifier":{"shape":"CustomerIdentifier"},
+ "Dimension":{"shape":"UsageDimension"},
+ "Quantity":{"shape":"UsageQuantity"}
+ }
+ },
+ "UsageRecordList":{
+ "type":"list",
+ "member":{"shape":"UsageRecord"},
+ "max":25,
+ "min":0
+ },
+ "UsageRecordResult":{
+ "type":"structure",
+ "members":{
+ "UsageRecord":{"shape":"UsageRecord"},
+ "MeteringRecordId":{"shape":"String"},
+ "Status":{"shape":"UsageRecordResultStatus"}
+ }
+ },
+ "UsageRecordResultList":{
+ "type":"list",
+ "member":{"shape":"UsageRecordResult"}
+ },
+ "UsageRecordResultStatus":{
+ "type":"string",
+ "enum":[
+ "Success",
+ "CustomerNotSubscribed",
+ "DuplicateRecord"
+ ]
+ },
"errorMessage":{"type":"string"}
}
}
diff --git a/vendor/github.com/aws/aws-sdk-go/models/apis/meteringmarketplace/2016-01-14/docs-2.json b/vendor/github.com/aws/aws-sdk-go/models/apis/meteringmarketplace/2016-01-14/docs-2.json
index c719034..b9a958a 100644
--- a/vendor/github.com/aws/aws-sdk-go/models/apis/meteringmarketplace/2016-01-14/docs-2.json
+++ b/vendor/github.com/aws/aws-sdk-go/models/apis/meteringmarketplace/2016-01-14/docs-2.json
@@ -1,18 +1,42 @@
{
"version": "2.0",
- "service": "AWS Marketplace Metering Service This reference provides descriptions of the low-level AWS Marketplace Metering Service API.
AWS Marketplace sellers can use this API to submit usage data for custom usage dimensions.
Submitting Metering Records
",
+ "service": "AWS Marketplace Metering Service This reference provides descriptions of the low-level AWS Marketplace Metering Service API.
AWS Marketplace sellers can use this API to submit usage data for custom usage dimensions.
Submitting Metering Records
-
MeterUsage- Submits the metering record for a Marketplace product. MeterUsage is called from an EC2 instance.
-
BatchMeterUsage- Submits the metering record for a set of customers. BatchMeterUsage is called from a software-as-a-service (SaaS) application.
Accepting New Customers
-
ResolveCustomer- Called by a SaaS application during the registration process. When a buyer visits your website during the registration process, the buyer submits a Registration Token through the browser. The Registration Token is resolved through this API to obtain a CustomerIdentifier and Product Code.
",
"operations": {
- "MeterUsage": "API to emit metering records. For identical requests, the API is idempotent. It simply returns the metering record ID.
"
+ "BatchMeterUsage": "BatchMeterUsage is called from a SaaS application listed on the AWS Marketplace to post metering records for a set of customers.
For identical requests, the API is idempotent; requests can be retried with the same records or a subset of the input records.
Every request to BatchMeterUsage is for one product. If you need to meter usage for multiple products, you must make multiple calls to BatchMeterUsage.
BatchMeterUsage can process up to 25 UsageRecords at a time.
",
+ "MeterUsage": "API to emit metering records. For identical requests, the API is idempotent. It simply returns the metering record ID.
MeterUsage is authenticated on the buyer's AWS account, generally when running from an EC2 instance on the AWS Marketplace.
",
+ "ResolveCustomer": "ResolveCustomer is called by a SaaS application during the registration process. When a buyer visits your website during the registration process, the buyer submits a registration token through their browser. The registration token is resolved through this API to obtain a CustomerIdentifier and product code.
"
},
"shapes": {
+ "BatchMeterUsageRequest": {
+ "base": "A BatchMeterUsageRequest contains UsageRecords, which indicate quantities of usage within your application.
",
+ "refs": {
+ }
+ },
+ "BatchMeterUsageResult": {
+ "base": "Contains the UsageRecords processed by BatchMeterUsage and any records that have failed due to transient error.
",
+ "refs": {
+ }
+ },
"Boolean": {
"base": null,
"refs": {
- "MeterUsageRequest$DryRun": "Checks whether you have the permissions required for the action, but does not make the request. If you have the permissions, the request returns DryRunOperation; otherwise, it returns UnauthorizedException.
"
+ "MeterUsageRequest$DryRun": "Checks whether you have the permissions required for the action, but does not make the request. If you have the permissions, the request returns DryRunOperation; otherwise, it returns UnauthorizedException.
"
+ }
+ },
+ "CustomerIdentifier": {
+ "base": null,
+ "refs": {
+ "ResolveCustomerResult$CustomerIdentifier": "The CustomerIdentifier is used to identify an individual customer in your application. Calls to BatchMeterUsage require CustomerIdentifiers for each UsageRecord.
",
+ "UsageRecord$CustomerIdentifier": "The CustomerIdentifier is obtained through the ResolveCustomer operation and represents an individual buyer in your application.
"
}
},
"DuplicateRequestException": {
- "base": "A metering record has already been emitted by the same EC2 instance for the given {usageDimension, timestamp} with a different usageQuantity.
",
+ "base": "A metering record has already been emitted by the same EC2 instance for the given {usageDimension, timestamp} with a different usageQuantity.
",
+ "refs": {
+ }
+ },
+ "ExpiredTokenException": {
+ "base": "The submitted registration token has expired. This can happen if the buyer's browser takes too long to redirect to your page, the buyer has resubmitted the registration token, or your application has held on to the registration token for too long. Your SaaS registration website should redeem this token as soon as it is submitted by the buyer's browser.
",
"refs": {
}
},
@@ -21,6 +45,11 @@
"refs": {
}
},
+ "InvalidCustomerIdentifierException": {
+ "base": "You have metered usage for a CustomerIdentifier that does not exist.
",
+ "refs": {
+ }
+ },
"InvalidEndpointRegionException": {
"base": "The endpoint being called is in a region different from your EC2 instance. The region of the Metering service endpoint and the region of the EC2 instance must match.
",
"refs": {
@@ -31,6 +60,11 @@
"refs": {
}
},
+ "InvalidTokenException": {
+ "base": null,
+ "refs": {
+ }
+ },
"InvalidUsageDimensionException": {
"base": "The usage dimension does not match one of the UsageDimensions associated with products.
",
"refs": {
@@ -46,16 +80,35 @@
"refs": {
}
},
+ "NonEmptyString": {
+ "base": null,
+ "refs": {
+ "ResolveCustomerRequest$RegistrationToken": "When a buyer visits your website during the registration process, the buyer submits a registration token through the browser. The registration token is resolved to obtain a CustomerIdentifier and product code.
"
+ }
+ },
"ProductCode": {
"base": null,
"refs": {
- "MeterUsageRequest$ProductCode": "Product code is used to uniquely identify a product in AWS Marketplace. The product code should be the same as the one used during the publishing of a new product.
"
+ "BatchMeterUsageRequest$ProductCode": "Product code is used to uniquely identify a product in AWS Marketplace. The product code should be the same as the one used during the publishing of a new product.
",
+ "MeterUsageRequest$ProductCode": "Product code is used to uniquely identify a product in AWS Marketplace. The product code should be the same as the one used during the publishing of a new product.
",
+ "ResolveCustomerResult$ProductCode": "The product code is returned to confirm that the buyer is registering for your product. Subsequent BatchMeterUsage calls should be made using this product code.
"
+ }
+ },
+ "ResolveCustomerRequest": {
+ "base": "Contains input to the ResolveCustomer operation.
",
+ "refs": {
+ }
+ },
+ "ResolveCustomerResult": {
+ "base": "The result of the ResolveCustomer operation. Contains the CustomerIdentifier and product code.
",
+ "refs": {
}
},
"String": {
"base": null,
"refs": {
- "MeterUsageResult$MeteringRecordId": null
+ "MeterUsageResult$MeteringRecordId": null,
+ "UsageRecordResult$MeteringRecordId": "The MeteringRecordId is a unique identifier for this metering event.
"
}
},
"ThrottlingException": {
@@ -66,7 +119,8 @@
"Timestamp": {
"base": null,
"refs": {
- "MeterUsageRequest$Timestamp": "Timestamp of the hour, recorded in UTC. The seconds and milliseconds portions of the timestamp will be ignored.
"
+ "MeterUsageRequest$Timestamp": "Timestamp of the hour, recorded in UTC. The seconds and milliseconds portions of the timestamp will be ignored.
",
+ "UsageRecord$Timestamp": "Timestamp of the hour, recorded in UTC. The seconds and milliseconds portions of the timestamp will be ignored.
Your application can meter usage for up to one hour in the past.
"
}
},
"TimestampOutOfBoundsException": {
@@ -77,22 +131,59 @@
"UsageDimension": {
"base": null,
"refs": {
- "MeterUsageRequest$UsageDimension": "It will be one of the 'fcp dimension name' provided during the publishing of the product.
"
+ "MeterUsageRequest$UsageDimension": "It will be one of the fcp dimension name provided during the publishing of the product.
",
+ "UsageRecord$Dimension": "During the process of registering a product on AWS Marketplace, up to eight dimensions are specified. These represent different units of value in your application.
"
}
},
"UsageQuantity": {
"base": null,
"refs": {
- "MeterUsageRequest$UsageQuantity": "Consumption value for the hour.
"
+ "MeterUsageRequest$UsageQuantity": "Consumption value for the hour.
",
+ "UsageRecord$Quantity": "The quantity of usage consumed by the customer for the given dimension and time.
"
+ }
+ },
+ "UsageRecord": {
+ "base": "A UsageRecord indicates a quantity of usage for a given product, customer, dimension and time.
Multiple requests with the same UsageRecords as input will be deduplicated to prevent double charges.
",
+ "refs": {
+ "UsageRecordList$member": null,
+ "UsageRecordResult$UsageRecord": "The UsageRecord that was part of the BatchMeterUsage request.
"
+ }
+ },
+ "UsageRecordList": {
+ "base": null,
+ "refs": {
+ "BatchMeterUsageRequest$UsageRecords": "The set of UsageRecords to submit. BatchMeterUsage accepts up to 25 UsageRecords at a time.
",
+ "BatchMeterUsageResult$UnprocessedRecords": "Contains all UsageRecords that were not processed by BatchMeterUsage. This is a list of UsageRecords. You can retry the failed request by making another BatchMeterUsage call with this list as input in the BatchMeterUsageRequest.
"
+ }
+ },
+ "UsageRecordResult": {
+ "base": "A UsageRecordResult indicates the status of a given UsageRecord processed by BatchMeterUsage.
",
+ "refs": {
+ "UsageRecordResultList$member": null
+ }
+ },
+ "UsageRecordResultList": {
+ "base": null,
+ "refs": {
+ "BatchMeterUsageResult$Results": "Contains all UsageRecords processed by BatchMeterUsage. These records were either honored by AWS Marketplace Metering Service or were invalid.
"
+ }
+ },
+ "UsageRecordResultStatus": {
+ "base": null,
+ "refs": {
+ "UsageRecordResult$Status": "The UsageRecordResult Status indicates the status of an individual UsageRecord processed by BatchMeterUsage.
-
Success- The UsageRecord was accepted and honored by BatchMeterUsage.
-
CustomerNotSubscribed- The CustomerIdentifier specified is not subscribed to your product. The UsageRecord was not honored. Future UsageRecords for this customer will fail until the customer subscribes to your product.
-
DuplicateRecord- Indicates that the UsageRecord was invalid and not honored. A previously metered UsageRecord had the same customer, dimension, and time, but a different quantity.
"
}
},
"errorMessage": {
"base": null,
"refs": {
"DuplicateRequestException$message": null,
+ "ExpiredTokenException$message": null,
"InternalServiceErrorException$message": null,
+ "InvalidCustomerIdentifierException$message": null,
"InvalidEndpointRegionException$message": null,
"InvalidProductCodeException$message": null,
+ "InvalidTokenException$message": null,
"InvalidUsageDimensionException$message": null,
"ThrottlingException$message": null,
"TimestampOutOfBoundsException$message": null
diff --git a/vendor/github.com/aws/aws-sdk-go/models/apis/monitoring/2010-08-01/api-2.json b/vendor/github.com/aws/aws-sdk-go/models/apis/monitoring/2010-08-01/api-2.json
index cbc0f06..ae3b429 100644
--- a/vendor/github.com/aws/aws-sdk-go/models/apis/monitoring/2010-08-01/api-2.json
+++ b/vendor/github.com/aws/aws-sdk-go/models/apis/monitoring/2010-08-01/api-2.json
@@ -216,7 +216,8 @@
"Sum":{"shape":"DatapointValue"},
"Minimum":{"shape":"DatapointValue"},
"Maximum":{"shape":"DatapointValue"},
- "Unit":{"shape":"StandardUnit"}
+ "Unit":{"shape":"StandardUnit"},
+ "ExtendedStatistics":{"shape":"DatapointValueMap"}
},
"xmlOrder":[
"Timestamp",
@@ -225,10 +226,16 @@
"Sum",
"Minimum",
"Maximum",
- "Unit"
+ "Unit",
+ "ExtendedStatistics"
]
},
"DatapointValue":{"type":"double"},
+ "DatapointValueMap":{
+ "type":"map",
+ "key":{"shape":"ExtendedStatistic"},
+ "value":{"shape":"DatapointValue"}
+ },
"Datapoints":{
"type":"list",
"member":{"shape":"Datapoint"}
@@ -268,6 +275,7 @@
"MetricName":{"shape":"MetricName"},
"Namespace":{"shape":"Namespace"},
"Statistic":{"shape":"Statistic"},
+ "ExtendedStatistic":{"shape":"ExtendedStatistic"},
"Dimensions":{"shape":"Dimensions"},
"Period":{"shape":"Period"},
"Unit":{"shape":"StandardUnit"}
@@ -363,6 +371,16 @@
"type":"integer",
"min":1
},
+ "ExtendedStatistic":{
+ "type":"string",
+ "pattern":"p(\\d{1,2}(\\.\\d{0,2})?|100)"
+ },
+ "ExtendedStatistics":{
+ "type":"list",
+ "member":{"shape":"ExtendedStatistic"},
+ "max":10,
+ "min":1
+ },
"FaultDescription":{"type":"string"},
"GetMetricStatisticsInput":{
"type":"structure",
@@ -371,8 +389,7 @@
"MetricName",
"StartTime",
"EndTime",
- "Period",
- "Statistics"
+ "Period"
],
"members":{
"Namespace":{"shape":"Namespace"},
@@ -382,6 +399,7 @@
"EndTime":{"shape":"Timestamp"},
"Period":{"shape":"Period"},
"Statistics":{"shape":"Statistics"},
+ "ExtendedStatistics":{"shape":"ExtendedStatistics"},
"Unit":{"shape":"StandardUnit"}
}
},
@@ -538,6 +556,7 @@
"MetricName":{"shape":"MetricName"},
"Namespace":{"shape":"Namespace"},
"Statistic":{"shape":"Statistic"},
+ "ExtendedStatistic":{"shape":"ExtendedStatistic"},
"Dimensions":{"shape":"Dimensions"},
"Period":{"shape":"Period"},
"Unit":{"shape":"StandardUnit"},
@@ -566,7 +585,8 @@
"Unit",
"EvaluationPeriods",
"Threshold",
- "ComparisonOperator"
+ "ComparisonOperator",
+ "ExtendedStatistic"
]
},
"MetricAlarms":{
@@ -632,7 +652,6 @@
"AlarmName",
"MetricName",
"Namespace",
- "Statistic",
"Period",
"EvaluationPeriods",
"Threshold",
@@ -648,6 +667,7 @@
"MetricName":{"shape":"MetricName"},
"Namespace":{"shape":"Namespace"},
"Statistic":{"shape":"Statistic"},
+ "ExtendedStatistic":{"shape":"ExtendedStatistic"},
"Dimensions":{"shape":"Dimensions"},
"Period":{"shape":"Period"},
"Unit":{"shape":"StandardUnit"},
diff --git a/vendor/github.com/aws/aws-sdk-go/models/apis/monitoring/2010-08-01/docs-2.json b/vendor/github.com/aws/aws-sdk-go/models/apis/monitoring/2010-08-01/docs-2.json
index db2d6c0..535c701 100644
--- a/vendor/github.com/aws/aws-sdk-go/models/apis/monitoring/2010-08-01/docs-2.json
+++ b/vendor/github.com/aws/aws-sdk-go/models/apis/monitoring/2010-08-01/docs-2.json
@@ -2,17 +2,17 @@
"version": "2.0",
"service": "Amazon CloudWatch monitors your Amazon Web Services (AWS) resources and the applications you run on AWS in real-time. You can use CloudWatch to collect and track metrics, which are the variables you want to measure for your resources and applications.
CloudWatch alarms send notifications or automatically make changes to the resources you are monitoring based on rules that you define. For example, you can monitor the CPU usage and disk reads and writes of your Amazon Elastic Compute Cloud (Amazon EC2) instances and then use this data to determine whether you should launch additional instances to handle increased load. You can also use this data to stop under-used instances to save money.
In addition to monitoring the built-in metrics that come with AWS, you can monitor your own custom metrics. With CloudWatch, you gain system-wide visibility into resource utilization, application performance, and operational health.
",
"operations": {
- "DeleteAlarms": "Deletes all specified alarms. In the event of an error, no alarms are deleted.
",
- "DescribeAlarmHistory": "Retrieves history for the specified alarm. Filter alarms by date range or item type. If an alarm name is not specified, Amazon CloudWatch returns histories for all of the owner's alarms.
Amazon CloudWatch retains the history of an alarm for two weeks, whether or not you delete the alarm.
",
- "DescribeAlarms": "Retrieves alarms with the specified names. If no name is specified, all alarms for the user are returned. Alarms can be retrieved by using only a prefix for the alarm name, the alarm state, or a prefix for any action.
",
- "DescribeAlarmsForMetric": "Retrieves all alarms for a single metric. Specify a statistic, period, or unit to filter the set of alarms further.
",
- "DisableAlarmActions": "Disables actions for the specified alarms. When an alarm's actions are disabled the alarm's state may change, but none of the alarm's actions will execute.
",
- "EnableAlarmActions": "Enables actions for the specified alarms.
",
- "GetMetricStatistics": "Gets statistics for the specified metric.
The maximum number of data points that can be queried is 50,850, whereas the maximum number of data points returned from a single GetMetricStatistics
request is 1,440. If you make a request that generates more than 1,440 data points, Amazon CloudWatch returns an error. In such a case, you can alter the request by narrowing the specified time range or increasing the specified period. A period can be as short as one minute (60 seconds) or as long as one day (86,400 seconds). Alternatively, you can make multiple requests across adjacent time ranges. GetMetricStatistics
does not return the data in chronological order.
Amazon CloudWatch aggregates data points based on the length of the period
that you specify. For example, if you request statistics with a one-minute granularity, Amazon CloudWatch aggregates data points with time stamps that fall within the same one-minute period. In such a case, the data points queried can greatly outnumber the data points returned.
The following examples show various statistics allowed by the data point query maximum of 50,850 when you call GetMetricStatistics
on Amazon EC2 instances with detailed (one-minute) monitoring enabled:
-
Statistics for up to 400 instances for a span of one hour
-
Statistics for up to 35 instances over a span of 24 hours
-
Statistics for up to 2 instances over a span of 2 weeks
For information about the namespace, metric names, and dimensions that other Amazon Web Services products use to send metrics to CloudWatch, go to Amazon CloudWatch Metrics, Namespaces, and Dimensions Reference in the Amazon CloudWatch Developer Guide.
",
- "ListMetrics": " Returns a list of valid metrics stored for the AWS account owner. Returned metrics can be used with GetMetricStatistics to obtain statistical data for a given metric.
Up to 500 results are returned for any one call. To retrieve further results, use returned NextToken
values with subsequent ListMetrics
operations.
If you create a metric with PutMetricData, allow up to fifteen minutes for the metric to appear in calls to ListMetrics
. Statistics about the metric, however, are available sooner using GetMetricStatistics.
",
- "PutMetricAlarm": "Creates or updates an alarm and associates it with the specified Amazon CloudWatch metric. Optionally, this operation can associate one or more Amazon SNS resources with the alarm.
When this operation creates an alarm, the alarm state is immediately set to INSUFFICIENT_DATA
. The alarm is evaluated and its StateValue
is set appropriately. Any actions associated with the StateValue
are then executed.
When updating an existing alarm, its StateValue
is left unchanged, but it completely overwrites the alarm's previous configuration.
If you are using an AWS Identity and Access Management (IAM) account to create or modify an alarm, you must have the following Amazon EC2 permissions:
-
ec2:DescribeInstanceStatus
and ec2:DescribeInstances
for all alarms on Amazon EC2 instance status metrics.
-
ec2:StopInstances
for alarms with stop actions.
-
ec2:TerminateInstances
for alarms with terminate actions.
-
ec2:DescribeInstanceRecoveryAttribute
, and ec2:RecoverInstances
for alarms with recover actions.
If you have read/write permissions for Amazon CloudWatch but not for Amazon EC2, you can still create an alarm but the stop or terminate actions won't be performed on the Amazon EC2 instance. However, if you are later granted permission to use the associated Amazon EC2 APIs, the alarm actions you created earlier will be performed. For more information about IAM permissions, see Permissions and Policies in Using IAM.
If you are using an IAM role (e.g., an Amazon EC2 instance profile), you cannot stop or terminate the instance using alarm actions. However, you can still see the alarm state and perform any other actions such as Amazon SNS notifications or Auto Scaling policies.
If you are using temporary security credentials granted using the AWS Security Token Service (AWS STS), you cannot stop or terminate an Amazon EC2 instance using alarm actions.
",
- "PutMetricData": " Publishes metric data points to Amazon CloudWatch. Amazon CloudWatch associates the data points with the specified metric. If the specified metric does not exist, Amazon CloudWatch creates the metric. When Amazon CloudWatch creates a metric, it can take up to fifteen minutes for the metric to appear in calls to ListMetrics.
Each PutMetricData
request is limited to 8 KB in size for HTTP GET requests and is limited to 40 KB in size for HTTP POST requests.
Although the Value
parameter accepts numbers of type Double
, Amazon CloudWatch rejects values that are either too small or too large. Values must be in the range of 8.515920e-109 to 1.174271e+108 (Base 10) or 2e-360 to 2e360 (Base 2). In addition, special values (e.g., NaN, +Infinity, -Infinity) are not supported.
Data that is timestamped 24 hours or more in the past may take in excess of 48 hours to become available from submission time using GetMetricStatistics
.
",
- "SetAlarmState": " Temporarily sets the state of an alarm for testing purposes. When the updated StateValue
differs from the previous value, the action configured for the appropriate state is invoked. For example, if your alarm is configured to send an Amazon SNS message when an alarm is triggered, temporarily changing the alarm's state to ALARM sends an Amazon SNS message. The alarm returns to its actual state (often within seconds). Because the alarm state change happens very quickly, it is typically only visible in the alarm's History tab in the Amazon CloudWatch console or through DescribeAlarmHistory
.
"
+ "DeleteAlarms": "Deletes the specified alarms. In the event of an error, no alarms are deleted.
",
+ "DescribeAlarmHistory": "Retrieves the history for the specified alarm. You can filter the results by date range or item type. If an alarm name is not specified, the histories for all alarms are returned.
Note that Amazon CloudWatch retains the history of an alarm even if you delete the alarm.
",
+ "DescribeAlarms": "Retrieves the specified alarms. If no alarms are specified, all alarms are returned. Alarms can be retrieved by using only a prefix for the alarm name, the alarm state, or a prefix for any action.
",
+ "DescribeAlarmsForMetric": "Retrieves the alarms for the specified metric. Specify a statistic, period, or unit to filter the results.
",
+ "DisableAlarmActions": "Disables the actions for the specified alarms. When an alarm's actions are disabled, the alarm actions do not execute when the alarm state changes.
",
+ "EnableAlarmActions": "Enables the actions for the specified alarms.
",
+ "GetMetricStatistics": "Gets statistics for the specified metric.
Amazon CloudWatch retains metric data as follows:
-
Data points with a period of 60 seconds (1 minute) are available for 15 days
-
Data points with a period of 300 seconds (5 minute) are available for 63 days
-
Data points with a period of 3600 seconds (1 hour) are available for 455 days (15 months)
Note that CloudWatch started retaining 5-minute and 1-hour metric data as of 9 July 2016.
The maximum number of data points returned from a single call is 1,440. If you request more than 1,440 data points, Amazon CloudWatch returns an error. To reduce the number of data points, you can narrow the specified time range and make multiple requests across adjacent time ranges, or you can increase the specified period. A period can be as short as one minute (60 seconds). Note that data points are not returned in chronological order.
Amazon CloudWatch aggregates data points based on the length of the period that you specify. For example, if you request statistics with a one-hour period, Amazon CloudWatch aggregates all data points with time stamps that fall within each one-hour period. Therefore, the number of values aggregated by CloudWatch is larger than the number of data points returned.
For a list of metrics and dimensions supported by AWS services, see the Amazon CloudWatch Metrics and Dimensions Reference in the Amazon CloudWatch User Guide.
",
+ "ListMetrics": "List the specified metrics. You can use the returned metrics with GetMetricStatistics to obtain statistical data.
Up to 500 results are returned for any one call. To retrieve additional results, use the returned token with subsequent calls.
After you create a metric, allow up to fifteen minutes before the metric appears. Statistics about the metric, however, are available sooner using GetMetricStatistics.
",
+ "PutMetricAlarm": "Creates or updates an alarm and associates it with the specified metric. Optionally, this operation can associate one or more Amazon SNS resources with the alarm.
When this operation creates an alarm, the alarm state is immediately set to INSUFFICIENT_DATA
. The alarm is evaluated and its state is set appropriately. Any actions associated with the state are then executed.
When you update an existing alarm, its state is left unchanged, but the update completely overwrites the previous configuration of the alarm.
If you are an AWS Identity and Access Management (IAM) user, you must have Amazon EC2 permissions for some operations:
-
ec2:DescribeInstanceStatus
and ec2:DescribeInstances
for all alarms on EC2 instance status metrics
-
ec2:StopInstances
for alarms with stop actions
-
ec2:TerminateInstances
for alarms with terminate actions
-
ec2:DescribeInstanceRecoveryAttribute
and ec2:RecoverInstances
for alarms with recover actions
If you have read/write permissions for Amazon CloudWatch but not for Amazon EC2, you can still create an alarm, but the stop or terminate actions won't be performed. However, if you are later granted the required permissions, the alarm actions that you created earlier will be performed.
If you are using an IAM role (for example, an Amazon EC2 instance profile), you cannot stop or terminate the instance using alarm actions. However, you can still see the alarm state and perform any other actions such as Amazon SNS notifications or Auto Scaling policies.
If you are using temporary security credentials granted using the AWS Security Token Service (AWS STS), you cannot stop or terminate an Amazon EC2 instance using alarm actions.
Note that you must create at least one stop, terminate, or reboot alarm using the Amazon EC2 or CloudWatch console to create the EC2ActionsAccess IAM role. After this IAM role is created, you can create stop, terminate, or reboot alarms using a command-line interface or an API.
",
+ "PutMetricData": "Publishes metric data points to Amazon CloudWatch. Amazon CloudWatch associates the data points with the specified metric. If the specified metric does not exist, Amazon CloudWatch creates the metric. When Amazon CloudWatch creates a metric, it can take up to fifteen minutes for the metric to appear in calls to ListMetrics.
Each PutMetricData
request is limited to 8 KB in size for HTTP GET requests and is limited to 40 KB in size for HTTP POST requests.
Although the Value
parameter accepts numbers of type Double
, Amazon CloudWatch rejects values that are either too small or too large. Values must be in the range of 8.515920e-109 to 1.174271e+108 (Base 10) or 2e-360 to 2e360 (Base 2). In addition, special values (e.g., NaN, +Infinity, -Infinity) are not supported.
Data points with time stamps from 24 hours ago or longer can take at least 48 hours to become available for GetMetricStatistics from the time they are submitted.
",
+ "SetAlarmState": "Temporarily sets the state of an alarm for testing purposes. When the updated state differs from the previous value, the action configured for the appropriate state is invoked. For example, if your alarm is configured to send an Amazon SNS message when an alarm is triggered, temporarily changing the alarm state to ALARM
sends an Amazon SNS message. The alarm returns to its actual state (often within seconds). Because the alarm state change happens very quickly, it is typically only visible in the alarm's History tab in the Amazon CloudWatch console or through DescribeAlarmHistory.
"
},
"shapes": {
"ActionPrefix": {
@@ -24,8 +24,8 @@
"ActionsEnabled": {
"base": null,
"refs": {
- "MetricAlarm$ActionsEnabled": "Indicates whether actions should be executed during any changes to the alarm's state.
",
- "PutMetricAlarmInput$ActionsEnabled": "Indicates whether or not actions should be executed during any changes to the alarm's state.
"
+ "MetricAlarm$ActionsEnabled": "Indicates whether actions should be executed during any changes to the alarm state.
",
+ "PutMetricAlarmInput$ActionsEnabled": "Indicates whether actions should be executed during any changes to the alarm state.
"
}
},
"AlarmArn": {
@@ -37,12 +37,12 @@
"AlarmDescription": {
"base": null,
"refs": {
- "MetricAlarm$AlarmDescription": "The description for the alarm.
",
+ "MetricAlarm$AlarmDescription": "The description of the alarm.
",
"PutMetricAlarmInput$AlarmDescription": "The description for the alarm.
"
}
},
"AlarmHistoryItem": {
- "base": " The AlarmHistoryItem
data type contains descriptive information about the history of a specific alarm. If you call DescribeAlarmHistory, Amazon CloudWatch returns this data type as part of the DescribeAlarmHistoryResult data type.
",
+ "base": "Represents the history of a specific alarm.
",
"refs": {
"AlarmHistoryItems$member": null
}
@@ -50,7 +50,7 @@
"AlarmHistoryItems": {
"base": null,
"refs": {
- "DescribeAlarmHistoryOutput$AlarmHistoryItems": "A list of alarm histories in JSON format.
"
+ "DescribeAlarmHistoryOutput$AlarmHistoryItems": "The alarm histories, in JSON format.
"
}
},
"AlarmName": {
@@ -60,23 +60,23 @@
"AlarmNames$member": null,
"DescribeAlarmHistoryInput$AlarmName": "The name of the alarm.
",
"MetricAlarm$AlarmName": "The name of the alarm.
",
- "PutMetricAlarmInput$AlarmName": "The descriptive name for the alarm. This name must be unique within the user's AWS account
",
- "SetAlarmStateInput$AlarmName": "The descriptive name for the alarm. This name must be unique within the user's AWS account. The maximum length is 255 characters.
"
+ "PutMetricAlarmInput$AlarmName": "The name for the alarm. This name must be unique within the AWS account.
",
+ "SetAlarmStateInput$AlarmName": "The name for the alarm. This name must be unique within the AWS account. The maximum length is 255 characters.
"
}
},
"AlarmNamePrefix": {
"base": null,
"refs": {
- "DescribeAlarmsInput$AlarmNamePrefix": "The alarm name prefix. AlarmNames
cannot be specified if this parameter is specified.
"
+ "DescribeAlarmsInput$AlarmNamePrefix": "The alarm name prefix. You cannot specify AlarmNames
if this parameter is specified.
"
}
},
"AlarmNames": {
"base": null,
"refs": {
- "DeleteAlarmsInput$AlarmNames": "A list of alarms to be deleted.
",
- "DescribeAlarmsInput$AlarmNames": "A list of alarm names to retrieve information for.
",
- "DisableAlarmActionsInput$AlarmNames": "The names of the alarms to disable actions for.
",
- "EnableAlarmActionsInput$AlarmNames": "The names of the alarms to enable actions for.
"
+ "DeleteAlarmsInput$AlarmNames": "The alarms to be deleted.
",
+ "DescribeAlarmsInput$AlarmNames": "The names of the alarms.
",
+ "DisableAlarmActionsInput$AlarmNames": "The names of the alarms.
",
+ "EnableAlarmActionsInput$AlarmNames": "The names of the alarms.
"
}
},
"AwsQueryErrorMessage": {
@@ -90,12 +90,12 @@
"ComparisonOperator": {
"base": null,
"refs": {
- "MetricAlarm$ComparisonOperator": " The arithmetic operation to use when comparing the specified Statistic
and Threshold
. The specified Statistic
value is used as the first operand.
",
- "PutMetricAlarmInput$ComparisonOperator": " The arithmetic operation to use when comparing the specified Statistic
and Threshold
. The specified Statistic
value is used as the first operand.
"
+ "MetricAlarm$ComparisonOperator": "The arithmetic operation to use when comparing the specified statistic and threshold. The specified statistic value is used as the first operand.
",
+ "PutMetricAlarmInput$ComparisonOperator": " The arithmetic operation to use when comparing the specified statistic and threshold. The specified statistic value is used as the first operand.
"
}
},
"Datapoint": {
- "base": " The Datapoint
data type encapsulates the statistical data that Amazon CloudWatch computes from metric data.
",
+ "base": "Encapsulates the statistical data that Amazon CloudWatch computes from metric data.
",
"refs": {
"Datapoints$member": null
}
@@ -103,67 +103,74 @@
"DatapointValue": {
"base": null,
"refs": {
- "Datapoint$SampleCount": "The number of metric values that contributed to the aggregate value of this datapoint.
",
- "Datapoint$Average": "The average of metric values that correspond to the datapoint.
",
- "Datapoint$Sum": "The sum of metric values used for the datapoint.
",
- "Datapoint$Minimum": "The minimum metric value used for the datapoint.
",
- "Datapoint$Maximum": "The maximum of the metric value used for the datapoint.
",
- "MetricDatum$Value": "The value for the metric.
Although the Value
parameter accepts numbers of type Double
, Amazon CloudWatch rejects values that are either too small or too large. Values must be in the range of 8.515920e-109 to 1.174271e+108 (Base 10) or 2e-360 to 2e360 (Base 2). In addition, special values (e.g., NaN, +Infinity, -Infinity) are not supported.
",
+ "Datapoint$SampleCount": "The number of metric values that contributed to the aggregate value of this data point.
",
+ "Datapoint$Average": "The average of the metric values that correspond to the data point.
",
+ "Datapoint$Sum": "The sum of the metric values for the data point.
",
+ "Datapoint$Minimum": "The minimum metric value for the data point.
",
+ "Datapoint$Maximum": "The maximum metric value for the data point.
",
+ "DatapointValueMap$value": null,
+ "MetricDatum$Value": "The value for the metric.
Although the parameter accepts numbers of type Double, Amazon CloudWatch rejects values that are either too small or too large. Values must be in the range of 8.515920e-109 to 1.174271e+108 (Base 10) or 2e-360 to 2e360 (Base 2). In addition, special values (for example, NaN, +Infinity, -Infinity) are not supported.
",
"StatisticSet$SampleCount": "The number of samples used for the statistic set.
",
"StatisticSet$Sum": "The sum of values for the sample set.
",
"StatisticSet$Minimum": "The minimum value of the sample set.
",
"StatisticSet$Maximum": "The maximum value of the sample set.
"
}
},
+ "DatapointValueMap": {
+ "base": null,
+ "refs": {
+ "Datapoint$ExtendedStatistics": "The percentile statistic for the data point.
"
+ }
+ },
"Datapoints": {
"base": null,
"refs": {
- "GetMetricStatisticsOutput$Datapoints": "The datapoints for the specified metric.
"
+ "GetMetricStatisticsOutput$Datapoints": "The data points for the specified metric.
"
}
},
"DeleteAlarmsInput": {
- "base": "Describes the inputs for DeleteAlarms.
",
+ "base": null,
"refs": {
}
},
"DescribeAlarmHistoryInput": {
- "base": "Describes the inputs for DescribeAlarmHistory.
",
+ "base": null,
"refs": {
}
},
"DescribeAlarmHistoryOutput": {
- "base": " The output for DescribeAlarmHistory.
",
+ "base": null,
"refs": {
}
},
"DescribeAlarmsForMetricInput": {
- "base": "Describes the inputs for DescribeAlarmsForMetric.
",
+ "base": null,
"refs": {
}
},
"DescribeAlarmsForMetricOutput": {
- "base": " The output for DescribeAlarmsForMetric.
",
+ "base": null,
"refs": {
}
},
"DescribeAlarmsInput": {
- "base": "Describes the inputs for DescribeAlarms.
",
+ "base": null,
"refs": {
}
},
"DescribeAlarmsOutput": {
- "base": "The output for DescribeAlarms.
",
+ "base": null,
"refs": {
}
},
"Dimension": {
- "base": " The Dimension
data type further expands on the identity of a metric using a Name, Value pair.
For examples that use one or more dimensions, see PutMetricData.
",
+ "base": "Expands the identity of a metric.
",
"refs": {
"Dimensions$member": null
}
},
"DimensionFilter": {
- "base": " The DimensionFilter
data type is used to filter ListMetrics results.
",
+ "base": "Represents filters for a dimension.
",
"refs": {
"DimensionFilters$member": null
}
@@ -171,7 +178,7 @@
"DimensionFilters": {
"base": null,
"refs": {
- "ListMetricsInput$Dimensions": "A list of dimensions to filter against.
"
+ "ListMetricsInput$Dimensions": "The dimensions to filter against.
"
}
},
"DimensionName": {
@@ -184,28 +191,28 @@
"DimensionValue": {
"base": null,
"refs": {
- "Dimension$Value": "The value representing the dimension measurement
",
- "DimensionFilter$Value": "The value of the dimension to be matched.
Specifying a Name
without specifying a Value
returns all values associated with that Name
.
"
+ "Dimension$Value": "The value representing the dimension measurement.
",
+ "DimensionFilter$Value": "The value of the dimension to be matched.
"
}
},
"Dimensions": {
"base": null,
"refs": {
- "DescribeAlarmsForMetricInput$Dimensions": "The list of dimensions associated with the metric. If the metric has any associated dimensions, you must specify them in order for the DescribeAlarmsForMetric to succeed.
",
- "GetMetricStatisticsInput$Dimensions": "A list of dimensions describing qualities of the metric.
",
- "Metric$Dimensions": "A list of dimensions associated with the metric.
",
- "MetricAlarm$Dimensions": "The list of dimensions associated with the alarm's associated metric.
",
- "MetricDatum$Dimensions": "A list of dimensions associated with the metric. Note, when using the Dimensions value in a query, you need to append .member.N to it (e.g., Dimensions.member.N).
",
- "PutMetricAlarmInput$Dimensions": "The dimensions for the alarm's associated metric.
"
+ "DescribeAlarmsForMetricInput$Dimensions": "The dimensions associated with the metric. If the metric has any associated dimensions, you must specify them in order for the call to succeed.
",
+ "GetMetricStatisticsInput$Dimensions": "The dimensions. CloudWatch treats each unique combination of dimensions as a separate metric. You can't retrieve statistics using combinations of dimensions that were not specially published. You must specify the same dimensions that were used when the metrics were created. For an example, see Dimension Combinations in the Amazon CloudWatch User Guide.
",
+ "Metric$Dimensions": "The dimensions for the metric.
",
+ "MetricAlarm$Dimensions": "The dimensions for the metric associated with the alarm.
",
+ "MetricDatum$Dimensions": "The dimensions associated with the metric.
",
+ "PutMetricAlarmInput$Dimensions": "The dimensions for the metric associated with the alarm.
"
}
},
"DisableAlarmActionsInput": {
- "base": "",
+ "base": null,
"refs": {
}
},
"EnableAlarmActionsInput": {
- "base": "Describes the inputs for EnableAlarmActions.
",
+ "base": null,
"refs": {
}
},
@@ -225,6 +232,22 @@
"PutMetricAlarmInput$EvaluationPeriods": "The number of periods over which data is compared to the specified threshold.
"
}
},
+ "ExtendedStatistic": {
+ "base": null,
+ "refs": {
+ "DatapointValueMap$key": null,
+ "DescribeAlarmsForMetricInput$ExtendedStatistic": "The percentile statistic for the metric. Specify a value between p0.0 and p100.
",
+ "ExtendedStatistics$member": null,
+ "MetricAlarm$ExtendedStatistic": "The percentile statistic for the metric associated with the alarm. Specify a value between p0.0 and p100.
",
+ "PutMetricAlarmInput$ExtendedStatistic": "The percentile statistic for the metric associated with the alarm. Specify a value between p0.0 and p100.
"
+ }
+ },
+ "ExtendedStatistics": {
+ "base": null,
+ "refs": {
+ "GetMetricStatisticsInput$ExtendedStatistics": "The percentile statistics. Specify values between p0.0 and p100.
"
+ }
+ },
"FaultDescription": {
"base": null,
"refs": {
@@ -232,19 +255,19 @@
}
},
"GetMetricStatisticsInput": {
- "base": "Describes the inputs for GetMetricStatistics.
",
+ "base": null,
"refs": {
}
},
"GetMetricStatisticsOutput": {
- "base": " The output for GetMetricStatistics.
",
+ "base": null,
"refs": {
}
},
"HistoryData": {
"base": null,
"refs": {
- "AlarmHistoryItem$HistoryData": "Machine-readable data about the alarm in JSON format.
"
+ "AlarmHistoryItem$HistoryData": "Data about the alarm, in JSON format.
"
}
},
"HistoryItemType": {
@@ -257,11 +280,11 @@
"HistorySummary": {
"base": null,
"refs": {
- "AlarmHistoryItem$HistorySummary": "A human-readable summary of the alarm history.
"
+ "AlarmHistoryItem$HistorySummary": "A summary of the alarm history, in text format.
"
}
},
"InternalServiceFault": {
- "base": "Indicates that the request processing has failed due to some unknown error, exception, or failure.
",
+ "base": "Request processing has failed due to some unknown error, exception, or failure.
",
"refs": {
}
},
@@ -276,12 +299,12 @@
}
},
"InvalidParameterCombinationException": {
- "base": "Parameters that must not be used together were used together.
",
+ "base": "Parameters that cannot be used together were used together.
",
"refs": {
}
},
"InvalidParameterValueException": {
- "base": "Bad or out-of-range value was supplied for the input parameter.
",
+ "base": "The value of an input parameter is bad or out-of-range.
",
"refs": {
}
},
@@ -291,12 +314,12 @@
}
},
"ListMetricsInput": {
- "base": "Describes the inputs for ListMetrics.
",
+ "base": null,
"refs": {
}
},
"ListMetricsOutput": {
- "base": " The output for ListMetrics.
",
+ "base": null,
"refs": {
}
},
@@ -308,13 +331,13 @@
}
},
"Metric": {
- "base": " The Metric
data type contains information about a specific metric. If you call ListMetrics, Amazon CloudWatch returns information contained by this data type.
The example in the Examples section publishes two metrics named buffers and latency. Both metrics are in the examples namespace. Both metrics have two dimensions, InstanceID and InstanceType.
",
+ "base": "Represents a specific metric.
",
"refs": {
"Metrics$member": null
}
},
"MetricAlarm": {
- "base": " The MetricAlarm data type represents an alarm. You can use PutMetricAlarm to create or update an alarm.
",
+ "base": "Represents an alarm.
",
"refs": {
"MetricAlarms$member": null
}
@@ -322,18 +345,18 @@
"MetricAlarms": {
"base": null,
"refs": {
- "DescribeAlarmsForMetricOutput$MetricAlarms": "A list of information for each alarm with the specified metric.
",
- "DescribeAlarmsOutput$MetricAlarms": "A list of information for the specified alarms.
"
+ "DescribeAlarmsForMetricOutput$MetricAlarms": "The information for each alarm with the specified metric.
",
+ "DescribeAlarmsOutput$MetricAlarms": "The information for the specified alarms.
"
}
},
"MetricData": {
"base": null,
"refs": {
- "PutMetricDataInput$MetricData": "A list of data describing the metric.
"
+ "PutMetricDataInput$MetricData": "The data for the metric.
"
}
},
"MetricDatum": {
- "base": " The MetricDatum
data type encapsulates the information sent with PutMetricData to either create a new metric or add new values to be aggregated into an existing metric.
",
+ "base": "Encapsulates the information sent to either create a metric or add new values to be aggregated into an existing metric.
",
"refs": {
"MetricData$member": null
}
@@ -341,7 +364,7 @@
"MetricLabel": {
"base": null,
"refs": {
- "GetMetricStatisticsOutput$Label": "A label describing the specified metric.
"
+ "GetMetricStatisticsOutput$Label": "A label for the specified metric.
"
}
},
"MetricName": {
@@ -351,19 +374,19 @@
"GetMetricStatisticsInput$MetricName": "The name of the metric, with or without spaces.
",
"ListMetricsInput$MetricName": "The name of the metric to filter against.
",
"Metric$MetricName": "The name of the metric.
",
- "MetricAlarm$MetricName": "The name of the alarm's metric.
",
+ "MetricAlarm$MetricName": "The name of the metric associated with the alarm.
",
"MetricDatum$MetricName": "The name of the metric.
",
- "PutMetricAlarmInput$MetricName": "The name for the alarm's associated metric.
"
+ "PutMetricAlarmInput$MetricName": "The name for the metric associated with the alarm.
"
}
},
"Metrics": {
"base": null,
"refs": {
- "ListMetricsOutput$Metrics": "A list of metrics used to generate statistics for an AWS account.
"
+ "ListMetricsOutput$Metrics": "The metrics.
"
}
},
"MissingRequiredParameterException": {
- "base": "An input parameter that is mandatory for processing the request is not supplied.
",
+ "base": "An input parameter that is required is missing.
",
"refs": {
}
},
@@ -374,50 +397,50 @@
"GetMetricStatisticsInput$Namespace": "The namespace of the metric, with or without spaces.
",
"ListMetricsInput$Namespace": "The namespace to filter against.
",
"Metric$Namespace": "The namespace of the metric.
",
- "MetricAlarm$Namespace": "The namespace of alarm's associated metric.
",
- "PutMetricAlarmInput$Namespace": "The namespace for the alarm's associated metric.
",
- "PutMetricDataInput$Namespace": "The namespace for the metric data.
You cannot specify a namespace that begins with \"AWS/\". Namespaces that begin with \"AWS/\" are reserved for other Amazon Web Services products that send metrics to Amazon CloudWatch.
"
+ "MetricAlarm$Namespace": "The namespace of the metric associated with the alarm.
",
+ "PutMetricAlarmInput$Namespace": "The namespace for the metric associated with the alarm.
",
+ "PutMetricDataInput$Namespace": "The namespace for the metric data.
You cannot specify a namespace that begins with \"AWS/\". Namespaces that begin with \"AWS/\" are reserved for use by Amazon Web Services products.
"
}
},
"NextToken": {
"base": null,
"refs": {
"DescribeAlarmHistoryInput$NextToken": "The token returned by a previous call to indicate that there is more data available.
",
- "DescribeAlarmHistoryOutput$NextToken": "A string that marks the start of the next batch of returned results.
",
+ "DescribeAlarmHistoryOutput$NextToken": "The token that marks the start of the next batch of returned results.
",
"DescribeAlarmsInput$NextToken": "The token returned by a previous call to indicate that there is more data available.
",
- "DescribeAlarmsOutput$NextToken": "A string that marks the start of the next batch of returned results.
",
+ "DescribeAlarmsOutput$NextToken": "The token that marks the start of the next batch of returned results.
",
"ListMetricsInput$NextToken": "The token returned by a previous call to indicate that there is more data available.
",
- "ListMetricsOutput$NextToken": "A string that marks the start of the next batch of returned results.
"
+ "ListMetricsOutput$NextToken": "The token that marks the start of the next batch of returned results.
"
}
},
"Period": {
"base": null,
"refs": {
- "DescribeAlarmsForMetricInput$Period": "The period in seconds over which the statistic is applied.
",
- "GetMetricStatisticsInput$Period": " The granularity, in seconds, of the returned datapoints. A Period
can be as short as one minute (60 seconds) or as long as one day (86,400 seconds), and must be a multiple of 60. The default value is 60.
",
- "MetricAlarm$Period": "The period in seconds over which the statistic is applied.
",
- "PutMetricAlarmInput$Period": "The period in seconds over which the specified statistic is applied.
"
+ "DescribeAlarmsForMetricInput$Period": "The period, in seconds, over which the statistic is applied.
",
+ "GetMetricStatisticsInput$Period": "The granularity, in seconds, of the returned data points. A period can be as short as one minute (60 seconds) and must be a multiple of 60. The default value is 60.
If the StartTime
parameter specifies a time stamp that is greater than 15 days ago, you must specify the period as follows or no data points in that time range is returned:
",
+ "MetricAlarm$Period": "The period, in seconds, over which the statistic is applied.
",
+ "PutMetricAlarmInput$Period": "The period, in seconds, over which the specified statistic is applied.
"
}
},
"PutMetricAlarmInput": {
- "base": "Describes the inputs for PutMetricAlarm.
",
+ "base": null,
"refs": {
}
},
"PutMetricDataInput": {
- "base": "Describes the inputs for PutMetricData.
",
+ "base": null,
"refs": {
}
},
"ResourceList": {
"base": null,
"refs": {
- "MetricAlarm$OKActions": " The list of actions to execute when this alarm transitions into an OK
state from any other state. Each action is specified as an Amazon Resource Name (ARN).
",
- "MetricAlarm$AlarmActions": " The list of actions to execute when this alarm transitions into an ALARM
state from any other state. Each action is specified as an Amazon Resource Name (ARN).
",
- "MetricAlarm$InsufficientDataActions": " The list of actions to execute when this alarm transitions into an INSUFFICIENT_DATA
state from any other state. Each action is specified as an Amazon Resource Name (ARN).
The current WSDL lists this attribute as UnknownActions
.
",
- "PutMetricAlarmInput$OKActions": " The list of actions to execute when this alarm transitions into an OK
state from any other state. Each action is specified as an Amazon Resource Name (ARN).
Valid Values: arn:aws:automate:region (e.g., us-east-1):ec2:stop | arn:aws:automate:region (e.g., us-east-1):ec2:terminate | arn:aws:automate:region (e.g., us-east-1):ec2:recover
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
Note: You must create at least one stop, terminate, or reboot alarm using the Amazon EC2 or CloudWatch console to create the EC2ActionsAccess IAM role for the first time. After this IAM role is created, you can create stop, terminate, or reboot alarms using the CLI.
",
- "PutMetricAlarmInput$AlarmActions": " The list of actions to execute when this alarm transitions into an ALARM
state from any other state. Each action is specified as an Amazon Resource Name (ARN).
Valid Values: arn:aws:automate:region (e.g., us-east-1):ec2:stop | arn:aws:automate:region (e.g., us-east-1):ec2:terminate | arn:aws:automate:region (e.g., us-east-1):ec2:recover
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
Note: You must create at least one stop, terminate, or reboot alarm using the Amazon EC2 or CloudWatch console to create the EC2ActionsAccess IAM role for the first time. After this IAM role is created, you can create stop, terminate, or reboot alarms using the CLI.
",
- "PutMetricAlarmInput$InsufficientDataActions": " The list of actions to execute when this alarm transitions into an INSUFFICIENT_DATA
state from any other state. Each action is specified as an Amazon Resource Name (ARN).
Valid Values: arn:aws:automate:region (e.g., us-east-1):ec2:stop | arn:aws:automate:region (e.g., us-east-1):ec2:terminate | arn:aws:automate:region (e.g., us-east-1):ec2:recover
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
Note: You must create at least one stop, terminate, or reboot alarm using the Amazon EC2 or CloudWatch console to create the EC2ActionsAccess IAM role for the first time. After this IAM role is created, you can create stop, terminate, or reboot alarms using the CLI.
"
+ "MetricAlarm$OKActions": "The actions to execute when this alarm transitions to the OK
state from any other state. Each action is specified as an Amazon Resource Name (ARN).
",
+ "MetricAlarm$AlarmActions": "The actions to execute when this alarm transitions to the ALARM
state from any other state. Each action is specified as an Amazon Resource Name (ARN).
",
+ "MetricAlarm$InsufficientDataActions": "The actions to execute when this alarm transitions to the INSUFFICIENT_DATA
state from any other state. Each action is specified as an Amazon Resource Name (ARN).
",
+ "PutMetricAlarmInput$OKActions": "The actions to execute when this alarm transitions to an OK
state from 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
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
",
+ "PutMetricAlarmInput$AlarmActions": "The actions to execute when this alarm transitions to the ALARM
state from 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
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
",
+ "PutMetricAlarmInput$InsufficientDataActions": "The actions to execute when this alarm transitions to the INSUFFICIENT_DATA
state from 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
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
"
}
},
"ResourceName": {
@@ -432,33 +455,33 @@
}
},
"SetAlarmStateInput": {
- "base": "Describes the inputs for SetAlarmState.
",
+ "base": null,
"refs": {
}
},
"StandardUnit": {
"base": null,
"refs": {
- "Datapoint$Unit": "The standard unit used for the datapoint.
",
+ "Datapoint$Unit": "The standard unit for the data point.
",
"DescribeAlarmsForMetricInput$Unit": "The unit for the metric.
",
- "GetMetricStatisticsInput$Unit": "The specific unit for a given metric. Metrics may be reported in multiple units. Not supplying a unit results in all units being returned. If the metric only ever reports one unit, specifying a unit will have no effect.
",
- "MetricAlarm$Unit": "The unit of the alarm's associated metric.
",
+ "GetMetricStatisticsInput$Unit": "The unit for a given metric. Metrics may be reported in multiple units. Not supplying a unit results in all units being returned. If the metric only ever reports one unit, specifying a unit has no effect.
",
+ "MetricAlarm$Unit": "The unit of the metric associated with the alarm.
",
"MetricDatum$Unit": "The unit of the metric.
",
- "PutMetricAlarmInput$Unit": "The statistic's unit of measure. For example, the units for the Amazon EC2 NetworkIn metric are Bytes because NetworkIn tracks the number of bytes that an instance receives on all network interfaces. You can also specify a unit when you create a custom metric. Units help provide conceptual meaning to your data. Metric data points that specify a unit of measure, such as Percent, are aggregated separately.
Note: If you specify a unit, you must use a unit that is appropriate for the metric. Otherwise, this can cause an Amazon CloudWatch alarm to get stuck in the INSUFFICIENT DATA state.
"
+ "PutMetricAlarmInput$Unit": "The unit of measure for the statistic. For example, the units for the Amazon EC2 NetworkIn metric are Bytes because NetworkIn tracks the number of bytes that an instance receives on all network interfaces. You can also specify a unit when you create a custom metric. Units help provide conceptual meaning to your data. Metric data points that specify a unit of measure, such as Percent, are aggregated separately.
If you specify a unit, you must use a unit that is appropriate for the metric. Otherwise, the Amazon CloudWatch alarm can get stuck in the INSUFFICIENT DATA
state.
"
}
},
"StateReason": {
"base": null,
"refs": {
- "MetricAlarm$StateReason": "A human-readable explanation for the alarm's state.
",
- "SetAlarmStateInput$StateReason": "The reason that this alarm is set to this specific state (in human-readable text format)
"
+ "MetricAlarm$StateReason": "An explanation for the alarm state, in text format.
",
+ "SetAlarmStateInput$StateReason": "The reason that this alarm is set to this specific state, in text format.
"
}
},
"StateReasonData": {
"base": null,
"refs": {
- "MetricAlarm$StateReasonData": "An explanation for the alarm's state in machine-readable JSON format
",
- "SetAlarmStateInput$StateReasonData": "The reason that this alarm is set to this specific state (in machine-readable JSON format)
"
+ "MetricAlarm$StateReasonData": "An explanation for the alarm state, in JSON format.
",
+ "SetAlarmStateInput$StateReasonData": "The reason that this alarm is set to this specific state, in JSON format.
"
}
},
"StateValue": {
@@ -472,28 +495,28 @@
"Statistic": {
"base": null,
"refs": {
- "DescribeAlarmsForMetricInput$Statistic": "The statistic for the metric.
",
- "MetricAlarm$Statistic": "The statistic to apply to the alarm's associated metric.
",
- "PutMetricAlarmInput$Statistic": "The statistic to apply to the alarm's associated metric.
",
+ "DescribeAlarmsForMetricInput$Statistic": "The statistic for the metric, other than percentiles. For percentile statistics, use ExtendedStatistics
.
",
+ "MetricAlarm$Statistic": "The statistic for the metric associated with the alarm, other than percentile. For percentile statistics, use ExtendedStatistic
.
",
+ "PutMetricAlarmInput$Statistic": "The statistic for the metric associated with the alarm, other than percentile. For percentile statistics, use ExtendedStatistic
.
",
"Statistics$member": null
}
},
"StatisticSet": {
- "base": " The StatisticSet
data type describes the StatisticValues
component of MetricDatum, and represents a set of statistics that describes a specific metric.
",
+ "base": "Represents a set of statistics that describes a specific metric.
",
"refs": {
- "MetricDatum$StatisticValues": "A set of statistical values describing the metric.
"
+ "MetricDatum$StatisticValues": "The statistical values for the metric.
"
}
},
"Statistics": {
"base": null,
"refs": {
- "GetMetricStatisticsInput$Statistics": " The metric statistics to return. For information about specific statistics returned by GetMetricStatistics, see Statistics in the Amazon CloudWatch Developer Guide.
"
+ "GetMetricStatisticsInput$Statistics": "The metric statistics, other than percentile. For percentile statistics, use ExtendedStatistic
.
"
}
},
"Threshold": {
"base": null,
"refs": {
- "MetricAlarm$Threshold": "The value against which the specified statistic is compared.
",
+ "MetricAlarm$Threshold": "The value to compare with the specified statistic.
",
"PutMetricAlarmInput$Threshold": "The value against which the specified statistic is compared.
"
}
},
@@ -501,14 +524,14 @@
"base": null,
"refs": {
"AlarmHistoryItem$Timestamp": "The time stamp for the alarm history item.
",
- "Datapoint$Timestamp": "The time stamp used for the datapoint.
",
+ "Datapoint$Timestamp": "The time stamp used for the data point.
",
"DescribeAlarmHistoryInput$StartDate": "The starting date to retrieve alarm history.
",
"DescribeAlarmHistoryInput$EndDate": "The ending date to retrieve alarm history.
",
- "GetMetricStatisticsInput$StartTime": "The time stamp to use for determining the first datapoint to return. The value specified is inclusive; results include datapoints with the time stamp specified. The time stamp must be in ISO 8601 UTC format (e.g., 2014-09-03T23:00:00Z).
The specified start time is rounded down to the nearest value. Datapoints are returned for start times up to two weeks in the past. Specified start times that are more than two weeks in the past will not return datapoints for metrics that are older than two weeks.
Data that is timestamped 24 hours or more in the past may take in excess of 48 hours to become available from submission time using GetMetricStatistics
.
",
- "GetMetricStatisticsInput$EndTime": "The time stamp to use for determining the last datapoint to return. The value specified is exclusive; results will include datapoints up to the time stamp specified. The time stamp must be in ISO 8601 UTC format (e.g., 2014-09-03T23:00:00Z).
",
+ "GetMetricStatisticsInput$StartTime": "The time stamp that determines the first data point to return. Note that start times are evaluated relative to the time that CloudWatch receives the request.
The value specified is inclusive; results include data points with the specified time stamp. The time stamp must be in ISO 8601 UTC format (for example, 2016-10-03T23:00:00Z).
CloudWatch rounds the specified time stamp as follows:
-
Start time less than 15 days ago - Round down to the nearest whole minute. For example, 12:32:34 is rounded down to 12:32:00.
-
Start time between 15 and 63 days ago - Round down to the nearest 5-minute clock interval. For example, 12:32:34 is rounded down to 12:30:00.
-
Start time greater than 63 days ago - Round down to the nearest 1-hour clock interval. For example, 12:32:34 is rounded down to 12:00:00.
",
+ "GetMetricStatisticsInput$EndTime": "The time stamp that determines the last data point to return.
The value specified is exclusive; results will include data points up to the specified time stamp. The time stamp must be in ISO 8601 UTC format (for example, 2016-10-10T23:00:00Z).
",
"MetricAlarm$AlarmConfigurationUpdatedTimestamp": "The time stamp of the last update to the alarm configuration.
",
- "MetricAlarm$StateUpdatedTimestamp": "The time stamp of the last update to the alarm's state.
",
- "MetricDatum$Timestamp": "The time stamp used for the metric in ISO 8601 Universal Coordinated Time (UTC) format. If not specified, the default value is set to the time the metric data was received.
"
+ "MetricAlarm$StateUpdatedTimestamp": "The time stamp of the last update to the alarm state.
",
+ "MetricDatum$Timestamp": "The time the metric data was received, expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC.
"
}
}
}
diff --git a/vendor/github.com/aws/aws-sdk-go/models/apis/route53/2013-04-01/api-2.json b/vendor/github.com/aws/aws-sdk-go/models/apis/route53/2013-04-01/api-2.json
index 053ad8f..676ce00 100644
--- a/vendor/github.com/aws/aws-sdk-go/models/apis/route53/2013-04-01/api-2.json
+++ b/vendor/github.com/aws/aws-sdk-go/models/apis/route53/2013-04-01/api-2.json
@@ -24,6 +24,7 @@
"output":{"shape":"AssociateVPCWithHostedZoneResponse"},
"errors":[
{"shape":"NoSuchHostedZone"},
+ {"shape":"NotAuthorizedException"},
{"shape":"InvalidVPCId"},
{"shape":"InvalidInput"},
{"shape":"PublicZoneVPCAssociation"},
@@ -199,6 +200,25 @@
{"shape":"InvalidTrafficPolicyDocument"}
]
},
+ "CreateVPCAssociationAuthorization":{
+ "name":"CreateVPCAssociationAuthorization",
+ "http":{
+ "method":"POST",
+ "requestUri":"/2013-04-01/hostedzone/{Id}/authorizevpcassociation"
+ },
+ "input":{
+ "shape":"CreateVPCAssociationAuthorizationRequest",
+ "locationName":"CreateVPCAssociationAuthorizationRequest",
+ "xmlNamespace":{"uri":"https://route53.amazonaws.com/doc/2013-04-01/"}
+ },
+ "output":{"shape":"CreateVPCAssociationAuthorizationResponse"},
+ "errors":[
+ {"shape":"TooManyVPCAssociationAuthorizations"},
+ {"shape":"NoSuchHostedZone"},
+ {"shape":"InvalidVPCId"},
+ {"shape":"InvalidInput"}
+ ]
+ },
"DeleteHealthCheck":{
"name":"DeleteHealthCheck",
"http":{
@@ -273,6 +293,25 @@
{"shape":"PriorRequestNotComplete"}
]
},
+ "DeleteVPCAssociationAuthorization":{
+ "name":"DeleteVPCAssociationAuthorization",
+ "http":{
+ "method":"POST",
+ "requestUri":"/2013-04-01/hostedzone/{Id}/deauthorizevpcassociation"
+ },
+ "input":{
+ "shape":"DeleteVPCAssociationAuthorizationRequest",
+ "locationName":"DeleteVPCAssociationAuthorizationRequest",
+ "xmlNamespace":{"uri":"https://route53.amazonaws.com/doc/2013-04-01/"}
+ },
+ "output":{"shape":"DeleteVPCAssociationAuthorizationResponse"},
+ "errors":[
+ {"shape":"VPCAssociationAuthorizationNotFound"},
+ {"shape":"NoSuchHostedZone"},
+ {"shape":"InvalidVPCId"},
+ {"shape":"InvalidInput"}
+ ]
+ },
"DisassociateVPCFromHostedZone":{
"name":"DisassociateVPCFromHostedZone",
"http":{
@@ -306,20 +345,6 @@
{"shape":"InvalidInput"}
]
},
- "GetChangeDetails":{
- "name":"GetChangeDetails",
- "http":{
- "method":"GET",
- "requestUri":"/2013-04-01/changedetails/{Id}"
- },
- "input":{"shape":"GetChangeDetailsRequest"},
- "output":{"shape":"GetChangeDetailsResponse"},
- "errors":[
- {"shape":"NoSuchChange"},
- {"shape":"InvalidInput"}
- ],
- "deprecated":true
- },
"GetCheckerIpRanges":{
"name":"GetCheckerIpRanges",
"http":{
@@ -465,34 +490,6 @@
"input":{"shape":"GetTrafficPolicyInstanceCountRequest"},
"output":{"shape":"GetTrafficPolicyInstanceCountResponse"}
},
- "ListChangeBatchesByHostedZone":{
- "name":"ListChangeBatchesByHostedZone",
- "http":{
- "method":"GET",
- "requestUri":"/2013-04-01/hostedzone/{Id}/changes"
- },
- "input":{"shape":"ListChangeBatchesByHostedZoneRequest"},
- "output":{"shape":"ListChangeBatchesByHostedZoneResponse"},
- "errors":[
- {"shape":"NoSuchHostedZone"},
- {"shape":"InvalidInput"}
- ],
- "deprecated":true
- },
- "ListChangeBatchesByRRSet":{
- "name":"ListChangeBatchesByRRSet",
- "http":{
- "method":"GET",
- "requestUri":"/2013-04-01/hostedzone/{Id}/rrsChanges"
- },
- "input":{"shape":"ListChangeBatchesByRRSetRequest"},
- "output":{"shape":"ListChangeBatchesByRRSetResponse"},
- "errors":[
- {"shape":"NoSuchHostedZone"},
- {"shape":"InvalidInput"}
- ],
- "deprecated":true
- },
"ListGeoLocations":{
"name":"ListGeoLocations",
"http":{
@@ -672,6 +669,20 @@
{"shape":"NoSuchTrafficPolicy"}
]
},
+ "ListVPCAssociationAuthorizations":{
+ "name":"ListVPCAssociationAuthorizations",
+ "http":{
+ "method":"GET",
+ "requestUri":"/2013-04-01/hostedzone/{Id}/authorizevpcassociation"
+ },
+ "input":{"shape":"ListVPCAssociationAuthorizationsRequest"},
+ "output":{"shape":"ListVPCAssociationAuthorizationsResponse"},
+ "errors":[
+ {"shape":"NoSuchHostedZone"},
+ {"shape":"InvalidInput"},
+ {"shape":"InvalidPaginationToken"}
+ ]
+ },
"TestDNSAnswer":{
"name":"TestDNSAnswer",
"http":{
@@ -760,7 +771,6 @@
}
},
"shapes":{
- "AWSAccountID":{"type":"string"},
"AlarmIdentifier":{
"type":"structure",
"required":[
@@ -842,31 +852,6 @@
"Changes":{"shape":"Changes"}
}
},
- "ChangeBatchRecord":{
- "type":"structure",
- "required":[
- "Id",
- "Status"
- ],
- "members":{
- "Id":{"shape":"ResourceId"},
- "SubmittedAt":{"shape":"TimeStamp"},
- "Status":{"shape":"ChangeStatus"},
- "Comment":{"shape":"ResourceDescription"},
- "Submitter":{"shape":"AWSAccountID"},
- "Changes":{"shape":"Changes"}
- },
- "deprecated":true
- },
- "ChangeBatchRecords":{
- "type":"list",
- "member":{
- "shape":"ChangeBatchRecord",
- "locationName":"ChangeBatchRecord"
- },
- "deprecated":true,
- "min":1
- },
"ChangeInfo":{
"type":"structure",
"required":[
@@ -982,6 +967,7 @@
"type":"string",
"enum":[
"us-east-1",
+ "us-east-2",
"us-west-1",
"us-west-2",
"eu-central-1",
@@ -1201,16 +1187,37 @@
}
}
},
+ "CreateVPCAssociationAuthorizationRequest":{
+ "type":"structure",
+ "required":[
+ "HostedZoneId",
+ "VPC"
+ ],
+ "members":{
+ "HostedZoneId":{
+ "shape":"ResourceId",
+ "location":"uri",
+ "locationName":"Id"
+ },
+ "VPC":{"shape":"VPC"}
+ }
+ },
+ "CreateVPCAssociationAuthorizationResponse":{
+ "type":"structure",
+ "required":[
+ "HostedZoneId",
+ "VPC"
+ ],
+ "members":{
+ "HostedZoneId":{"shape":"ResourceId"},
+ "VPC":{"shape":"VPC"}
+ }
+ },
"DNSName":{
"type":"string",
"max":1024
},
"DNSRCode":{"type":"string"},
- "Date":{
- "type":"string",
- "deprecated":true,
- "max":256
- },
"DelegationSet":{
"type":"structure",
"required":["NameServers"],
@@ -1360,6 +1367,26 @@
"members":{
}
},
+ "DeleteVPCAssociationAuthorizationRequest":{
+ "type":"structure",
+ "required":[
+ "HostedZoneId",
+ "VPC"
+ ],
+ "members":{
+ "HostedZoneId":{
+ "shape":"ResourceId",
+ "location":"uri",
+ "locationName":"Id"
+ },
+ "VPC":{"shape":"VPC"}
+ }
+ },
+ "DeleteVPCAssociationAuthorizationResponse":{
+ "type":"structure",
+ "members":{
+ }
+ },
"Dimension":{
"type":"structure",
"required":[
@@ -1486,26 +1513,6 @@
"max":64,
"min":1
},
- "GetChangeDetailsRequest":{
- "type":"structure",
- "required":["Id"],
- "members":{
- "Id":{
- "shape":"ResourceId",
- "location":"uri",
- "locationName":"Id"
- }
- },
- "deprecated":true
- },
- "GetChangeDetailsResponse":{
- "type":"structure",
- "required":["ChangeBatchRecord"],
- "members":{
- "ChangeBatchRecord":{"shape":"ChangeBatchRecord"}
- },
- "deprecated":true
- },
"GetChangeRequest":{
"type":"structure",
"required":["Id"],
@@ -1980,6 +1987,14 @@
"error":{"httpStatusCode":400},
"exception":true
},
+ "InvalidPaginationToken":{
+ "type":"structure",
+ "members":{
+ "message":{"shape":"ErrorMessage"}
+ },
+ "error":{"httpStatusCode":400},
+ "exception":true
+ },
"InvalidTrafficPolicyDocument":{
"type":"structure",
"members":{
@@ -2013,127 +2028,6 @@
},
"exception":true
},
- "ListChangeBatchesByHostedZoneRequest":{
- "type":"structure",
- "required":[
- "HostedZoneId",
- "StartDate",
- "EndDate"
- ],
- "members":{
- "HostedZoneId":{
- "shape":"ResourceId",
- "location":"uri",
- "locationName":"Id"
- },
- "StartDate":{
- "shape":"Date",
- "location":"querystring",
- "locationName":"startDate"
- },
- "EndDate":{
- "shape":"Date",
- "location":"querystring",
- "locationName":"endDate"
- },
- "MaxItems":{
- "shape":"PageMaxItems",
- "location":"querystring",
- "locationName":"maxItems"
- },
- "Marker":{
- "shape":"PageMarker",
- "location":"querystring",
- "locationName":"marker"
- }
- },
- "deprecated":true
- },
- "ListChangeBatchesByHostedZoneResponse":{
- "type":"structure",
- "required":[
- "MaxItems",
- "Marker",
- "ChangeBatchRecords"
- ],
- "members":{
- "MaxItems":{"shape":"PageMaxItems"},
- "Marker":{"shape":"PageMarker"},
- "IsTruncated":{"shape":"PageTruncated"},
- "ChangeBatchRecords":{"shape":"ChangeBatchRecords"},
- "NextMarker":{"shape":"PageMarker"}
- },
- "deprecated":true
- },
- "ListChangeBatchesByRRSetRequest":{
- "type":"structure",
- "required":[
- "HostedZoneId",
- "Name",
- "Type",
- "StartDate",
- "EndDate"
- ],
- "members":{
- "HostedZoneId":{
- "shape":"ResourceId",
- "location":"uri",
- "locationName":"Id"
- },
- "Name":{
- "shape":"DNSName",
- "location":"querystring",
- "locationName":"rrSet_name"
- },
- "Type":{
- "shape":"RRType",
- "location":"querystring",
- "locationName":"type"
- },
- "SetIdentifier":{
- "shape":"ResourceRecordSetIdentifier",
- "location":"querystring",
- "locationName":"identifier"
- },
- "StartDate":{
- "shape":"Date",
- "location":"querystring",
- "locationName":"startDate"
- },
- "EndDate":{
- "shape":"Date",
- "location":"querystring",
- "locationName":"endDate"
- },
- "MaxItems":{
- "shape":"PageMaxItems",
- "location":"querystring",
- "locationName":"maxItems"
- },
- "Marker":{
- "shape":"PageMarker",
- "location":"querystring",
- "locationName":"marker"
- }
- },
- "deprecated":true
- },
- "ListChangeBatchesByRRSetResponse":{
- "type":"structure",
- "required":[
- "MaxItems",
- "Marker",
- "ChangeBatchRecords"
- ],
- "members":{
- "MaxItems":{"shape":"PageMaxItems"},
- "Marker":{"shape":"PageMarker"},
- "IsTruncated":{"shape":"PageTruncated"},
- "ChangeBatchRecords":{"shape":"ChangeBatchRecords"},
- "NextMarker":{"shape":"PageMarker"}
- },
- "deprecated":true
- },
"ListGeoLocationsRequest":{
"type":"structure",
"members":{
@@ -2608,6 +2502,40 @@
"MaxItems":{"shape":"PageMaxItems"}
}
},
+ "ListVPCAssociationAuthorizationsRequest":{
+ "type":"structure",
+ "required":["HostedZoneId"],
+ "members":{
+ "HostedZoneId":{
+ "shape":"ResourceId",
+ "location":"uri",
+ "locationName":"Id"
+ },
+ "NextToken":{
+ "shape":"PaginationToken",
+ "location":"querystring",
+ "locationName":"nexttoken"
+ },
+ "MaxResults":{
+ "shape":"MaxResults",
+ "location":"querystring",
+ "locationName":"maxresults"
+ }
+ }
+ },
+ "ListVPCAssociationAuthorizationsResponse":{
+ "type":"structure",
+ "required":[
+ "HostedZoneId",
+ "VPCs"
+ ],
+ "members":{
+ "HostedZoneId":{"shape":"ResourceId"},
+ "NextToken":{"shape":"PaginationToken"},
+ "VPCs":{"shape":"VPCs"}
+ }
+ },
+ "MaxResults":{"type":"string"},
"MeasureLatency":{"type":"boolean"},
"Message":{
"type":"string",
@@ -2688,12 +2616,24 @@
"max":128,
"min":1
},
+ "NotAuthorizedException":{
+ "type":"structure",
+ "members":{
+ "message":{"shape":"ErrorMessage"}
+ },
+ "error":{"httpStatusCode":401},
+ "exception":true
+ },
"PageMarker":{
"type":"string",
"max":64
},
"PageMaxItems":{"type":"string"},
"PageTruncated":{"type":"boolean"},
+ "PaginationToken":{
+ "type":"string",
+ "max":256
+ },
"Period":{
"type":"integer",
"min":60
@@ -3052,6 +2992,14 @@
"error":{"httpStatusCode":400},
"exception":true
},
+ "TooManyVPCAssociationAuthorizations":{
+ "type":"structure",
+ "members":{
+ "message":{"shape":"ErrorMessage"}
+ },
+ "error":{"httpStatusCode":400},
+ "exception":true
+ },
"TrafficPolicies":{
"type":"list",
"member":{
@@ -3301,6 +3249,14 @@
"VPCId":{"shape":"VPCId"}
}
},
+ "VPCAssociationAuthorizationNotFound":{
+ "type":"structure",
+ "members":{
+ "message":{"shape":"ErrorMessage"}
+ },
+ "error":{"httpStatusCode":404},
+ "exception":true
+ },
"VPCAssociationNotFound":{
"type":"structure",
"members":{
diff --git a/vendor/github.com/aws/aws-sdk-go/models/apis/route53/2013-04-01/docs-2.json b/vendor/github.com/aws/aws-sdk-go/models/apis/route53/2013-04-01/docs-2.json
index 67b9b03..1fdec7f 100644
--- a/vendor/github.com/aws/aws-sdk-go/models/apis/route53/2013-04-01/docs-2.json
+++ b/vendor/github.com/aws/aws-sdk-go/models/apis/route53/2013-04-01/docs-2.json
@@ -2,23 +2,24 @@
"version": "2.0",
"service": null,
"operations": {
- "AssociateVPCWithHostedZone": "Associates an Amazon VPC with a private hosted zone.
The VPC and the hosted zone must already exist, and you must have created a private hosted zone. You cannot convert a public hosted zone into a private hosted zone.
Send a POST
request to the /2013-04-01/hostedzone/hosted zone ID/associatevpc
resource. The request body must include an XML document with a AssociateVPCWithHostedZoneRequest
element. The response returns the AssociateVPCWithHostedZoneResponse
element.
If you used different accounts to create the hosted zone and to create the Amazon VPCs that you want to associate with the hosted zone, we need to update account permissions for you. For more information, see Associating Amazon VPCs and Private Hosted Zones That You Create with Different AWS Accounts in the Amazon Route 53 Developer Guide.
",
- "ChangeResourceRecordSets": "Create, change, update, or delete authoritative DNS information on all Amazon Route 53 servers. Send a POST
request to:
/2013-04-01/hostedzone/Amazon Route 53 hosted Zone ID/rrset
resource.
The request body must include a document with a ChangeResourceRecordSetsRequest
element. The request body contains a list of change items, known as a change batch. Change batches are considered transactional changes. When using the Amazon Route 53 API to change resource record sets, Amazon Route 53 either makes all or none of the changes in a change batch request. This ensures that Amazon Route 53 never partially implements the intended changes to the resource record sets in a hosted zone.
For example, a change batch request that deletes the CNAME
record for www.example.com and creates an alias resource record set for www.example.com. Amazon Route 53 deletes the first resource record set and creates the second resource record set in a single operation. If either the DELETE
or the CREATE
action fails, then both changes (plus any other changes in the batch) fail, and the original CNAME
record continues to exist.
Due to the nature of transactional changes, you cannot delete the same resource record set more than once in a single change batch. If you attempt to delete the same change batch more than once, Amazon Route 53 returns an InvalidChangeBatch
error.
To create resource record sets for complex routing configurations, use either the traffic flow visual editor in the Amazon Route 53 console or the API actions for traffic policies and traffic policy instances. Save the configuration as a traffic policy, then associate the traffic policy with one or more domain names (such as example.com) or subdomain names (such as www.example.com), in the same hosted zone or in multiple hosted zones. You can roll back the updates if the new configuration isn't performing as expected. For more information, see Using Traffic Flow to Route DNS Traffic in the Amazon Route 53 Developer Guide.
Use ChangeResourceRecordsSetsRequest
to perform the following actions:
-
CREATE
: Creates a resource record set that has the specified values.
-
DELETE
: Deletes an existing resource record set that has the specified values for Name
, Type
, Set Identifier
(for code latency, weighted, geolocation, and failover resource record sets), and TTL
(except alias resource record sets, for which the TTL is determined by the AWS resource you're routing queries to).
-
UPSERT
: If a resource record set does not already exist, AWS creates it. If a resource set does exist, Amazon Route 53 updates it with the values in the request. Amazon Route 53 can update an existing resource record set only when all of the following values match: Name
, Type
, and Set Identifier
(for weighted, latency, geolocation, and failover resource record sets).
In response to a ChangeResourceRecordSets
request, the DNS data is changed on all Amazon Route 53 DNS servers. Initially, the status of a change is PENDING
, meaning the change has not yet propagated to all the authoritative Amazon Route 53 DNS servers. When the change is propagated to all hosts, the change returns a status of INSYNC
.
After sending a change request, confirm your change has propagated to all Amazon Route 53 DNS servers. Changes generally propagate to all Amazon Route 53 name servers in a few minutes. In rare circumstances, propagation can take up to 30 minutes. For more information, see GetChange.
For information about the limits on a ChangeResourceRecordSets
request, see Limits in the Amazon Route 53 Developer Guide.
",
+ "AssociateVPCWithHostedZone": "Associates an Amazon VPC with a private hosted zone.
To perform the association, the VPC and the private hosted zone must already exist. You can't convert a public hosted zone into a private hosted zone.
Send a POST
request to the /2013-04-01/hostedzone/hosted zone ID/associatevpc
resource. The request body must include a document with an AssociateVPCWithHostedZoneRequest
element. The response contains a ChangeInfo
data type that you can use to track the progress of the request.
If you want to associate a VPC that was created by using one AWS account with a private hosted zone that was created by using a different account, the AWS account that created the private hosted zone must first submit a CreateVPCAssociationAuthorization
request. Then the account that created the VPC must submit an AssociateVPCWithHostedZone
request.
",
+ "ChangeResourceRecordSets": "Create, change, update, or delete authoritative DNS information on all Amazon Route 53 servers. Send a POST
request to:
/2013-04-01/hostedzone/Amazon Route 53 hosted Zone ID/rrset
resource.
The request body must include a document with a ChangeResourceRecordSetsRequest
element. The request body contains a list of change items, known as a change batch. Change batches are considered transactional changes. When using the Amazon Route 53 API to change resource record sets, Amazon Route 53 either makes all or none of the changes in a change batch request. This ensures that Amazon Route 53 never partially implements the intended changes to the resource record sets in a hosted zone.
For example, a change batch request that deletes the CNAME
record for www.example.com and creates an alias resource record set for www.example.com. Amazon Route 53 deletes the first resource record set and creates the second resource record set in a single operation. If either the DELETE
or the CREATE
action fails, then both changes (plus any other changes in the batch) fail, and the original CNAME
record continues to exist.
Due to the nature of transactional changes, you can't delete the same resource record set more than once in a single change batch. If you attempt to delete the same change batch more than once, Amazon Route 53 returns an InvalidChangeBatch
error.
To create resource record sets for complex routing configurations, use either the traffic flow visual editor in the Amazon Route 53 console or the API actions for traffic policies and traffic policy instances. Save the configuration as a traffic policy, then associate the traffic policy with one or more domain names (such as example.com) or subdomain names (such as www.example.com), in the same hosted zone or in multiple hosted zones. You can roll back the updates if the new configuration isn't performing as expected. For more information, see Using Traffic Flow to Route DNS Traffic in the Amazon Route 53 Developer Guide.
Use ChangeResourceRecordsSetsRequest
to perform the following actions:
-
CREATE
: Creates a resource record set that has the specified values.
-
DELETE
: Deletes an existing resource record set that has the applicable values for the following elements:
-
Name
: required to delete any resource record set
-
Type
: required to delete any resource record set
-
AliasTarget
, DNSName
, EvaluateTargetHealth
, and HostedZoneId
: required to delete an alias resource record set
-
SetIdentifier
: required to delete a failover, geolocation, latency, or weighted resource record set
-
TTL
: required to delete any resource record set except an alias resource record set (For alias resource record sets, the TTL is determined by the AWS resource tat you're routing traffic to.)
-
UPSERT
: If a resource record set does not already exist, AWS creates it. If a resource set does exist, Amazon Route 53 updates it with the values in the request. Amazon Route 53 can update an existing resource record set only when all of the following values match: Name
, Type
, and Set Identifier
(for weighted, latency, geolocation, and failover resource record sets).
In response to a ChangeResourceRecordSets
request, the DNS data is changed on all Amazon Route 53 DNS servers. Initially, the status of a change is PENDING
, meaning the change has not yet propagated to all the authoritative Amazon Route 53 DNS servers. When the change is propagated to all hosts, the change returns a status of INSYNC
.
After sending a change request, confirm your change has propagated to all Amazon Route 53 DNS servers. Changes generally propagate to all Amazon Route 53 name servers in a few minutes. In rare circumstances, propagation can take up to 30 minutes. For more information, see GetChange.
For information about the limits on a ChangeResourceRecordSets
request, see Limits in the Amazon Route 53 Developer Guide.
",
"ChangeTagsForResource": "Adds, edits, or deletes tags for a health check or a hosted zone.
For information about using tags for cost allocation, see Using Cost Allocation Tags in the AWS Billing and Cost Management User Guide.
",
- "CreateHealthCheck": "Creates a new health check.
To create a new health check, send a POST
request to the /2013-04-01/healthcheck
resource. The request body must include an XML document with a CreateHealthCheckRequest
element. The response returns the CreateHealthCheckResponse
element, containing the health check ID specified when adding health check to a resource record set. For information about adding health checks to resource record sets, see ResourceRecordSet$HealthCheckId in ChangeResourceRecordSets.
If you are registering Amazon EC2 instances with an Elastic Load Balancing (ELB) load balancer, do not create Amazon Route 53 health checks for the Amazon EC2 instances. When you register an Amazon EC2 instance with a load balancer, you configure settings for an ELB health check, which performs a similar function to an Amazon Route 53 health check.
You can associate health checks with failover resource record sets in a private hosted zone. Note the following:
-
Amazon Route 53 health checkers are outside the VPC. To check the health of an endpoint within a VPC by IP address, you must assign a public IP address to the instance in the VPC.
-
You can configure a health checker to check the health of an external resource that the instance relies on, such as a database server.
-
You can create a CloudWatch metric, associate an alarm with the metric, and then create a health check that is based on the state of the alarm. For example, you might create a CloudWatch metric that checks the status of the Amazon EC2 StatusCheckFailed
metric, add an alarm to the metric, and then create a health check that is based on the state of the alarm. For information about creating CloudWatch metrics and alarms by using the CloudWatch console, see the Amazon CloudWatch Developer Guide.
",
- "CreateHostedZone": "Creates a new public hosted zone, used to specify how the Domain Name System (DNS) routes traffic on the Internet for a domain, such as example.com, and its subdomains.
Public hosted zones cannot be converted to a private hosted zone or vice versa. Instead, create a new hosted zone with the same name and create new resource record sets.
Send a POST
request to the /2013-04-01/hostedzone
resource. The request body must include an XML document with a CreateHostedZoneRequest
element. The response returns the CreateHostedZoneResponse
element containing metadata about the hosted zone.
Fore more information about charges for hosted zones, see Amazon Route 53 Pricing.
Note the following:
-
You cannot create a hosted zone for a top-level domain (TLD).
-
Amazon Route 53 automatically creates a default SOA record and four NS records for the zone. For more information about SOA and NS records, see NS and SOA Records that Amazon Route 53 Creates for a Hosted Zone in the Amazon Route 53 Developer Guide.
-
If your domain is registered with a registrar other than Amazon Route 53, you must update the name servers with your registrar to make Amazon Route 53 your DNS service. For more information, see Configuring Amazon Route 53 as your DNS Service in the Amazon Route 53 Developer's Guide.
After creating a zone, its initial status is PENDING
. This means that it is not yet available on all DNS servers. The status of the zone changes to INSYNC
when the NS and SOA records are available on all Amazon Route 53 DNS servers.
When trying to create a hosted zone using a reusable delegation set, specify an optional DelegationSetId, and Amazon Route 53 would assign those 4 NS records for the zone, instead of allotting a new one.
",
- "CreateReusableDelegationSet": "Creates a delegation set (a group of four name servers) that can be reused by multiple hosted zones. If a hosted zoned ID is specified, CreateReusableDelegationSet
marks the delegation set associated with that zone as reusable
Send a POST
request to the /2013-04-01/delegationset
resource. The request body must include an XML document with a CreateReusableDelegationSetRequest
element.
A reusable delegation set cannot be associated with a private hosted zone/
For more information, including a procedure on how to create and configure a reusable delegation set (also known as white label name servers), see Configuring White Label Name Servers.
",
+ "CreateHealthCheck": "Creates a new health check.
To create a new health check, send a POST
request to the /2013-04-01/healthcheck
resource. The request body must include a document with a CreateHealthCheckRequest
element. The response returns the CreateHealthCheckResponse
element, containing the health check ID specified when adding health check to a resource record set. For information about adding health checks to resource record sets, see ResourceRecordSet$HealthCheckId in ChangeResourceRecordSets.
If you are registering EC2 instances with an Elastic Load Balancing (ELB) load balancer, do not create Amazon Route 53 health checks for the EC2 instances. When you register an EC2 instance with a load balancer, you configure settings for an ELB health check, which performs a similar function to an Amazon Route 53 health check.
You can associate health checks with failover resource record sets in a private hosted zone. Note the following:
-
Amazon Route 53 health checkers are outside the VPC. To check the health of an endpoint within a VPC by IP address, you must assign a public IP address to the instance in the VPC.
-
You can configure a health checker to check the health of an external resource that the instance relies on, such as a database server.
-
You can create a CloudWatch metric, associate an alarm with the metric, and then create a health check that is based on the state of the alarm. For example, you might create a CloudWatch metric that checks the status of the Amazon EC2 StatusCheckFailed
metric, add an alarm to the metric, and then create a health check that is based on the state of the alarm. For information about creating CloudWatch metrics and alarms by using the CloudWatch console, see the Amazon CloudWatch User Guide.
",
+ "CreateHostedZone": "Creates a new public hosted zone, used to specify how the Domain Name System (DNS) routes traffic on the Internet for a domain, such as example.com, and its subdomains.
Public hosted zones can't be converted to a private hosted zone or vice versa. Instead, create a new hosted zone with the same name and create new resource record sets.
Send a POST
request to the /2013-04-01/hostedzone
resource. The request body must include a document with a CreateHostedZoneRequest
element. The response returns the CreateHostedZoneResponse
element containing metadata about the hosted zone.
Fore more information about charges for hosted zones, see Amazon Route 53 Pricing.
Note the following:
-
You can't create a hosted zone for a top-level domain (TLD).
-
Amazon Route 53 automatically creates a default SOA record and four NS records for the zone. For more information about SOA and NS records, see NS and SOA Records that Amazon Route 53 Creates for a Hosted Zone in the Amazon Route 53 Developer Guide.
-
If your domain is registered with a registrar other than Amazon Route 53, you must update the name servers with your registrar to make Amazon Route 53 your DNS service. For more information, see Configuring Amazon Route 53 as your DNS Service in the Amazon Route 53 Developer's Guide.
After creating a zone, its initial status is PENDING
. This means that it is not yet available on all DNS servers. The status of the zone changes to INSYNC
when the NS and SOA records are available on all Amazon Route 53 DNS servers.
When trying to create a hosted zone using a reusable delegation set, specify an optional DelegationSetId, and Amazon Route 53 would assign those 4 NS records for the zone, instead of allotting a new one.
",
+ "CreateReusableDelegationSet": "Creates a delegation set (a group of four name servers) that can be reused by multiple hosted zones. If a hosted zoned ID is specified, CreateReusableDelegationSet
marks the delegation set associated with that zone as reusable
Send a POST
request to the /2013-04-01/delegationset
resource. The request body must include a document with a CreateReusableDelegationSetRequest
element.
A reusable delegation set can't be associated with a private hosted zone/
For more information, including a procedure on how to create and configure a reusable delegation set (also known as white label name servers), see Configuring White Label Name Servers.
",
"CreateTrafficPolicy": "Creates a traffic policy, which you use to create multiple DNS resource record sets for one domain name (such as example.com) or one subdomain name (such as www.example.com).
Send a POST
request to the /2013-04-01/trafficpolicy
resource. The request body must include a document with a CreateTrafficPolicyRequest
element. The response includes the CreateTrafficPolicyResponse
element, which contains information about the new traffic policy.
",
"CreateTrafficPolicyInstance": "Creates resource record sets in a specified hosted zone based on the settings in a specified traffic policy version. In addition, CreateTrafficPolicyInstance
associates the resource record sets with a specified domain name (such as example.com) or subdomain name (such as www.example.com). Amazon Route 53 responds to DNS queries for the domain or subdomain name by using the resource record sets that CreateTrafficPolicyInstance
created.
Send a POST
request to the /2013-04-01/trafficpolicyinstance
resource. The request body must include a document with a CreateTrafficPolicyRequest
element. The response returns the CreateTrafficPolicyInstanceResponse
element, which contains information about the traffic policy instance.
",
"CreateTrafficPolicyVersion": "Creates a new version of an existing traffic policy. When you create a new version of a traffic policy, you specify the ID of the traffic policy that you want to update and a JSON-formatted document that describes the new version. You use traffic policies to create multiple DNS resource record sets for one domain name (such as example.com) or one subdomain name (such as www.example.com). You can create a maximum of 1000 versions of a traffic policy. If you reach the limit and need to create another version, you'll need to start a new traffic policy.
Send a POST
request to the /2013-04-01/trafficpolicy/
resource. The request body includes a document with a CreateTrafficPolicyVersionRequest
element. The response returns the CreateTrafficPolicyVersionResponse
element, which contains information about the new version of the traffic policy.
",
- "DeleteHealthCheck": "Deletes a health check. Send a DELETE
request to the /2013-04-01/healthcheck/health check ID
resource.
Amazon Route 53 does not prevent you from deleting a health check even if the health check is associated with one or more resource record sets. If you delete a health check and you don't update the associated resource record sets, the future status of the health check cannot be predicted and may change. This will affect the routing of DNS queries for your DNS failover configuration. For more information, see Replacing and Deleting Health Checks in the Amazon Route 53 Developer Guide.
",
+ "CreateVPCAssociationAuthorization": "Authorizes the AWS account that created a specified VPC to submit an AssociateVPCWithHostedZone
request to associate the VPC with a specified hosted zone that was created by a different account. To submit a CreateVPCAssociationAuthorization
request, you must use the account that created the hosted zone. After you authorize the association, use the account that created the VPC to submit an AssociateVPCWithHostedZone
request.
If you want to associate multiple VPCs that you created by using one account with a hosted zone that you created by using a different account, you must submit one authorization request for each VPC.
Send a POST
request to the /2013-04-01/hostedzone/hosted zone ID/authorizevpcassociation
resource. The request body must include a document with a CreateVPCAssociationAuthorizationRequest
element. The response contains information about the authorization.
",
+ "DeleteHealthCheck": "Deletes a health check. Send a DELETE
request to the /2013-04-01/healthcheck/health check ID
resource.
Amazon Route 53 does not prevent you from deleting a health check even if the health check is associated with one or more resource record sets. If you delete a health check and you don't update the associated resource record sets, the future status of the health check can't be predicted and may change. This will affect the routing of DNS queries for your DNS failover configuration. For more information, see Replacing and Deleting Health Checks in the Amazon Route 53 Developer Guide.
",
"DeleteHostedZone": "Deletes a hosted zone. Send a DELETE
request to the /Amazon Route 53 API version/hostedzone/hosted zone ID
resource.
Delete a hosted zone only if there are no resource record sets other than the default SOA record and NS resource record sets. If the hosted zone contains other resource record sets, delete them before deleting the hosted zone. If you try to delete a hosted zone that contains other resource record sets, Amazon Route 53 denies your request with a HostedZoneNotEmpty
error. For information about deleting records from your hosted zone, see ChangeResourceRecordSets.
",
"DeleteReusableDelegationSet": "Deletes a reusable delegation set. Send a DELETE
request to the /2013-04-01/delegationset/delegation set ID
resource.
You can delete a reusable delegation set only if there are no associated hosted zones.
To verify that the reusable delegation set is not associated with any hosted zones, run the GetReusableDelegationSet action and specify the ID of the reusable delegation set that you want to delete.
",
"DeleteTrafficPolicy": "Deletes a traffic policy.
Send a DELETE
request to the /Amazon Route 53 API version/trafficpolicy
resource.
",
"DeleteTrafficPolicyInstance": "Deletes a traffic policy instance and all of the resource record sets that Amazon Route 53 created when you created the instance.
Send a DELETE
request to the /Amazon Route 53 API version/trafficpolicy/traffic policy instance ID
resource.
In the Amazon Route 53 console, traffic policy instances are known as policy records.
",
- "DisassociateVPCFromHostedZone": "Disassociates a VPC from a Amazon Route 53 private hosted zone.
Send a POST
request to the /2013-04-01/hostedzone/hosted zone ID/disassociatevpc
resource. The request body must include an XML document with a DisassociateVPCFromHostedZoneRequest
element. The response returns the DisassociateVPCFromHostedZoneResponse
element.
You can only disassociate a VPC from a private hosted zone when two or more VPCs are associated with that hosted zone. You cannot convert a private hosted zone into a public hosted zone.
",
+ "DeleteVPCAssociationAuthorization": "Removes authorization to submit an AssociateVPCWithHostedZone
request to associate a specified VPC with a hosted zone that was created by a different account. You must use the account that created the hosted zone to submit a DeleteVPCAssociationAuthorization
request.
Sending this request only prevents the AWS account that created the VPC from associating the VPC with the Amazon Route 53 hosted zone in the future. If the VPC is already associated with the hosted zone, DeleteVPCAssociationAuthorization
won't disassociate the VPC from the hosted zone. If you want to delete an existing association, use DisassociateVPCFromHostedZone
.
Send a DELETE
request to the /2013-04-01/hostedzone/hosted zone ID/deauthorizevpcassociation
resource. The request body must include a document with a DeleteVPCAssociationAuthorizationRequest
element.
",
+ "DisassociateVPCFromHostedZone": "Disassociates a VPC from a Amazon Route 53 private hosted zone.
You can't disassociate the last VPC from a private hosted zone.
Send a POST
request to the /2013-04-01/hostedzone/hosted zone ID/disassociatevpc
resource. The request body must include a document with a DisassociateVPCFromHostedZoneRequest
element. The response includes a DisassociateVPCFromHostedZoneResponse
element.
You can't disassociate a VPC from a private hosted zone when only one VPC is associated with the hosted zone. You also can't convert a private hosted zone into a public hosted zone.
",
"GetChange": "Returns the current status of a change batch request. The status is one of the following values:
-
PENDING
indicates that the changes in this request have not replicated to all Amazon Route 53 DNS servers. This is the initial status of all change batch requests.
-
INSYNC
indicates that the changes have replicated to all Amazon Route 53 DNS servers.
",
- "GetChangeDetails": "Returns the status and changes of a change batch request.
",
"GetCheckerIpRanges": "Retrieves a list of the IP ranges used by Amazon Route 53 health checkers to check the health of your resources. Send a GET
request to the /Amazon Route 53 API version/checkeripranges
resource. Use these IP addresses to configure router and firewall rules to allow health checkers to check the health of your resources.
",
"GetGeoLocation": "Retrieves a single geo location. Send a GET
request to the /2013-04-01/geolocation
resource with one of these options: continentcode | countrycode | countrycode and subdivisioncode.
",
"GetHealthCheck": "Gets information about a specified health check. Send a GET
request to the /2013-04-01/healthcheck/health check ID
resource. For more information about using the console to perform this operation, see Amazon Route 53 Health Checks and DNS Failover in the Amazon Route 53 Developer Guide.
",
@@ -31,8 +32,6 @@
"GetTrafficPolicy": "Gets information about a specific traffic policy version.
Send a GET
request to the /Amazon Route 53 API version/trafficpolicy
resource.
",
"GetTrafficPolicyInstance": "Gets information about a specified traffic policy instance.
Send a GET
request to the /Amazon Route 53 API version/trafficpolicyinstance
resource.
After you submit a CreateTrafficPolicyInstance
or an UpdateTrafficPolicyInstance
request, there's a brief delay while Amazon Route 53 creates the resource record sets that are specified in the traffic policy definition. For more information, see the State
response element.
In the Amazon Route 53 console, traffic policy instances are known as policy records.
",
"GetTrafficPolicyInstanceCount": "Gets the number of traffic policy instances that are associated with the current AWS account.
To get the number of traffic policy instances, send a GET
request to the /2013-04-01/trafficpolicyinstancecount
resource.
",
- "ListChangeBatchesByHostedZone": "Gets the list of ChangeBatches in a given time period for a given hosted zone.
",
- "ListChangeBatchesByRRSet": "Gets the list of ChangeBatches in a given time period for a given hosted zone and RRSet.
",
"ListGeoLocations": "Retrieves a list of supported geo locations. Send a GET
request to the /2013-04-01/geolocations
resource. The response to this request includes a GeoLocationDetailsList
element for each location that Amazon Route 53 supports.
Countries are listed first, and continents are listed last. If Amazon Route 53 supports subdivisions for a country (for example, states or provinces), the subdivisions for that country are listed in alphabetical order immediately after the corresponding country.
",
"ListHealthChecks": "Retrieve a list of your health checks. Send a GET
request to the /2013-04-01/healthcheck
resource. The response to this request includes a HealthChecks
element with zero or more HealthCheck
child elements. By default, the list of health checks is displayed on a single page. You can control the length of the page that is displayed by using the MaxItems
parameter. You can use the Marker
parameter to control the health check that the list begins with.
For information about listing health checks using the Amazon Route 53 console, see Amazon Route 53 Health Checks and DNS Failover.
",
"ListHostedZones": "To retrieve a list of your public and private hosted zones, send a GET
request to the /2013-04-01/hostedzone
resource. The response to this request includes a HostedZones
child element for each hosted zone created by the current AWS account.
Amazon Route 53 returns a maximum of 100 items in each response. If you have a lot of hosted zones, you can use the maxitems
parameter to list them in groups of up to 100. The response includes four values that help navigate from one group of maxitems
hosted zones to the next:
-
MaxItems
is the value specified for the maxitems
parameter in the request that produced the current response.
-
If the value of IsTruncated
in the response is true, there are more hosted zones associated with the current AWS account.
-
NextMarker
is the hosted zone ID of the next hosted zone that is associated with the current AWS account. If you want to list more hosted zones, make another call to ListHostedZones
, and specify the value of the NextMarker
element in the marker parameter.
If IsTruncated
is false, the NextMarker
element is omitted from the response.
-
If you're making the second or subsequent call to ListHostedZones
, the Marker
element matches the value that you specified in the marker
parameter in the previous request.
",
@@ -46,19 +45,14 @@
"ListTrafficPolicyInstancesByHostedZone": "Gets information about the traffic policy instances that you created in a specified hosted zone.
After you submit an UpdateTrafficPolicyInstance
request, there's a brief delay while Amazon Route 53 creates the resource record sets that are specified in the traffic policy definition. For more information, see the State
response element.
Send a GET
request to the /Amazon Route 53 API version/trafficpolicyinstance
resource and include the ID of the hosted zone.
Amazon Route 53 returns a maximum of 100 items in each response. If you have a lot of traffic policy instances, you can use the MaxItems
parameter to list them in groups of up to 100.
The response includes four values that help you navigate from one group of MaxItems
traffic policy instances to the next:
-
IsTruncated
If the value of
IsTruncated in the response is true
, there are more traffic policy instances associated with the current AWS account.
If IsTruncated
is false
, this response includes the last traffic policy instance that is associated with the current account.
-
MaxItems
The value that you specified for the MaxItems
parameter in the request that produced the current response.
-
TrafficPolicyInstanceNameMarker and TrafficPolicyInstanceTypeMarker
If IsTruncated
is true
, these two values in the response represent the first traffic policy instance in the next group of MaxItems
traffic policy instances. To list more traffic policy instances, make another call to ListTrafficPolicyInstancesByHostedZone
, and specify these values in the corresponding request parameters.
If IsTruncated
is false
, all three elements are omitted from the response.
",
"ListTrafficPolicyInstancesByPolicy": "Gets information about the traffic policy instances that you created by using a specify traffic policy version.
After you submit a CreateTrafficPolicyInstance
or an UpdateTrafficPolicyInstance
request, there's a brief delay while Amazon Route 53 creates the resource record sets that are specified in the traffic policy definition. For more information, see the State
response element.
Send a GET
request to the /Route 53 API version/trafficpolicyinstance
resource and include the ID and version of the traffic policy.
Amazon Route 53 returns a maximum of 100 items in each response. If you have a lot of traffic policy instances, you can use the MaxItems
parameter to list them in groups of up to 100.
The response includes five values that help you navigate from one group of MaxItems
traffic policy instances to the next:
-
IsTruncated
If the value of IsTruncated
in the response is true
, there are more traffic policy instances associated with the specified traffic policy.
If IsTruncated
is false
, this response includes the last traffic policy instance that is associated with the specified traffic policy.
-
MaxItems
The value that you specified for the MaxItems
parameter in the request that produced the current response.
-
HostedZoneIdMarker, TrafficPolicyInstanceNameMarker, and TrafficPolicyInstanceTypeMarker
If IsTruncated
is true
, these values in the response represent the first traffic policy instance in the next group of MaxItems
traffic policy instances. To list more traffic policy instances, make another call to ListTrafficPolicyInstancesByPolicy
, and specify these values in the corresponding request parameters.
If IsTruncated
is false
, all three elements are omitted from the response.
",
"ListTrafficPolicyVersions": "Gets information about all of the versions for a specified traffic policy.
Send a GET
request to the /Amazon Route 53 API version/trafficpolicy
resource and specify the ID of the traffic policy for which you want to list versions.
Amazon Route 53 returns a maximum of 100 items in each response. If you have a lot of traffic policies, you can use the maxitems
parameter to list them in groups of up to 100.
The response includes three values that help you navigate from one group of maxitems
traffic policies to the next:
-
IsTruncated
If the value of IsTruncated
in the response is true
, there are more traffic policy versions associated with the specified traffic policy.
If IsTruncated
is false
, this response includes the last traffic policy version that is associated with the specified traffic policy.
-
TrafficPolicyVersionMarker
The ID of the next traffic policy version that is associated with the current AWS account. If you want to list more traffic policies, make another call to ListTrafficPolicyVersions
, and specify the value of the TrafficPolicyVersionMarker
element in the TrafficPolicyVersionMarker
request parameter.
If IsTruncated
is false
, Amazon Route 53 omits the TrafficPolicyVersionMarker
element from the response.
-
MaxItems
The value that you specified for the MaxItems
parameter in the request that produced the current response.
",
+ "ListVPCAssociationAuthorizations": "Gets a list of the VPCs that were created by other accounts and that can be associated with a specified hosted zone because you've submitted one or more CreateVPCAssociationAuthorization
requests.
Send a GET
request to the /2013-04-01/hostedzone/hosted zone ID/authorizevpcassociation
resource. The response to this request includes a VPCs
element with a VPC
child element for each VPC that can be associated with the hosted zone.
Amazon Route 53 returns up to 50 VPCs per page. To return fewer VPCs per page, include the MaxResults
parameter:
/2013-04-01/hostedzone/hosted zone ID/authorizevpcassociation?MaxItems=VPCs per page
If the response includes a NextToken
element, there are more VPCs to list. To get the next page of VPCs, submit another ListVPCAssociationAuthorizations
request, and include the value of the NextToken
element from the response in the NextToken
request parameter:
/2013-04-01/hostedzone/hosted zone ID/authorizevpcassociation?MaxItems=VPCs per page&NextToken=
",
"TestDNSAnswer": "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.
",
- "UpdateHealthCheck": "Updates an existing health check.
Send a POST
request to the /2013-04-01/healthcheck/health check ID
resource. The request body must include an XML document with an UpdateHealthCheckRequest
element. For more information about updating health checks, see Creating, Updating, and Deleting Health Checks in the Amazon Route 53 Developer Guide.
",
+ "UpdateHealthCheck": "Updates an existing health check.
Send a POST
request to the /2013-04-01/healthcheck/health check ID
resource. The request body must include a document with an UpdateHealthCheckRequest
element. For more information about updating health checks, see Creating, Updating, and Deleting Health Checks in the Amazon Route 53 Developer Guide.
",
"UpdateHostedZoneComment": "Updates the hosted zone comment. Send a POST
request to the /2013-04-01/hostedzone/hosted zone ID
resource.
",
"UpdateTrafficPolicyComment": "Updates the comment for a specified traffic policy version.
Send a POST
request to the /2013-04-01/trafficpolicy/
resource.
The request body must include a document with an UpdateTrafficPolicyCommentRequest
element.
",
"UpdateTrafficPolicyInstance": "Updates the resource record sets in a specified hosted zone that were created based on the settings in a specified traffic policy version.
Send a POST
request to the /2013-04-01/trafficpolicyinstance/traffic policy ID
resource. The request body must include a document with an UpdateTrafficPolicyInstanceRequest
element.
When you update a traffic policy instance, Amazon Route 53 continues to respond to DNS queries for the root resource record set name (such as example.com) while it replaces one group of resource record sets with another. Amazon Route 53 performs the following operations:
-
Amazon Route 53 creates a new group of resource record sets based on the specified traffic policy. This is true regardless of how substantial the differences are between the existing resource record sets and the new resource record sets.
-
When all of the new resource record sets have been created, Amazon Route 53 starts to respond to DNS queries for the root resource record set name (such as example.com) by using the new resource record sets.
-
Amazon Route 53 deletes the old group of resource record sets that are associated with the root resource record set name.
"
},
"shapes": {
- "AWSAccountID": {
- "base": null,
- "refs": {
- "ChangeBatchRecord$Submitter": "The AWS account ID attached to the changes.
"
- }
- },
"AlarmIdentifier": {
"base": "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.
",
"refs": {
@@ -75,13 +69,13 @@
"AliasHealthEnabled": {
"base": null,
"refs": {
- "AliasTarget$EvaluateTargetHealth": " Applies only to alias, weighted alias, latency alias, and failover alias record sets: If you set the value of EvaluateTargetHealth
to true
for the resource record set or sets in an alias, weighted alias, latency alias, or failover alias resource record set, and if you specify a value for HealthCheck$Id
for every resource record set that is referenced by these alias resource record sets, the alias resource record sets inherit the health of the referenced resource record sets.
In this configuration, when Amazon Route 53 receives a DNS query for an alias resource record set:
-
Amazon Route 53 looks at the resource record sets that are referenced by the alias resource record sets to determine which health checks they're using.
-
Amazon Route 53 checks the current status of each health check. (Amazon Route 53 periodically checks the health of the endpoint that is specified in a health check; it doesn't perform the health check when the DNS query arrives.)
-
Based on the status of the health checks, Amazon Route 53 determines which resource record sets are healthy. Unhealthy resource record sets are immediately removed from consideration. In addition, if all of the resource record sets that are referenced by an alias resource record set are unhealthy, that alias resource record set also is immediately removed from consideration.
-
Based on the configuration of the alias resource record sets (weighted alias or latency alias, for example) and the configuration of the resource record sets that they reference, Amazon Route 53 chooses a resource record set from the healthy resource record sets, and responds to the query.
Note the following:
-
You cannot set EvaluateTargetHealth
to true
when the alias target is a CloudFront distribution.
-
If the AWS resource that you specify in AliasTarget
is a resource record set or a group of resource record sets (for example, a group of weighted resource record sets), but it is not another alias resource record set, we recommend that you associate a health check with all of the resource record sets in the alias target.For more information, see What Happens When You Omit Health Checks? in the Amazon Route 53 Developer Guide.
-
If you specify an Elastic Beanstalk environment in HostedZoneId
and DNSName
, and if the environment contains an ELB load balancer, Elastic Load Balancing routes queries only to the healthy Amazon EC2 instances that are registered with the load balancer. (An environment automatically contains an ELB load balancer if it includes more than one Amazon EC2 instance.) If you set EvaluateTargetHealth
to true
and either no Amazon EC2 instances are healthy or the load balancer itself is unhealthy, Amazon Route 53 routes queries to other available resources that are healthy, if any.
If the environment contains a single Amazon EC2 instance, there are no special requirements.
-
If you specify an ELB load balancer in AliasTarget
, Elastic Load Balancing routes queries only to the healthy Amazon EC2 instances that are registered with the load balancer. If no Amazon EC2 instances are healthy or if the load balancer itself is unhealthy, and if EvaluateTargetHealth
is true for the corresponding alias resource record set, Amazon Route 53 routes queries to other resources. When you create a load balancer, you configure settings for Elastic Load Balancing health checks; they're not Amazon Route 53 health checks, but they perform a similar function. Do not create Amazon Route 53 health checks for the Amazon EC2 instances that you register with an ELB load balancer.
For more information, see How Health Checks Work in More Complex Amazon Route 53 Configurations in the Amazon Route 53 Developers Guide.
-
We recommend that you set EvaluateTargetHealth
to true only when you have enough idle capacity to handle the failure of one or more endpoints.
For more information and examples, see Amazon Route 53 Health Checks and DNS Failover in the Amazon Route 53 Developer Guide.
"
+ "AliasTarget$EvaluateTargetHealth": " Applies only to alias, weighted alias, latency alias, and failover alias record sets: If you set the value of EvaluateTargetHealth
to true
for the resource record set or sets in an alias, weighted alias, latency alias, or failover alias resource record set, and if you specify a value for HealthCheck$Id
for every resource record set that is referenced by these alias resource record sets, the alias resource record sets inherit the health of the referenced resource record sets.
In this configuration, when Amazon Route 53 receives a DNS query for an alias resource record set:
-
Amazon Route 53 looks at the resource record sets that are referenced by the alias resource record sets to determine which health checks they're using.
-
Amazon Route 53 checks the current status of each health check. (Amazon Route 53 periodically checks the health of the endpoint that is specified in a health check; it doesn't perform the health check when the DNS query arrives.)
-
Based on the status of the health checks, Amazon Route 53 determines which resource record sets are healthy. Unhealthy resource record sets are immediately removed from consideration. In addition, if all of the resource record sets that are referenced by an alias resource record set are unhealthy, that alias resource record set also is immediately removed from consideration.
-
Based on the configuration of the alias resource record sets (weighted alias or latency alias, for example) and the configuration of the resource record sets that they reference, Amazon Route 53 chooses a resource record set from the healthy resource record sets, and responds to the query.
Note the following:
-
You can't set EvaluateTargetHealth
to true
when the alias target is a CloudFront distribution.
-
If the AWS resource that you specify in AliasTarget
is a resource record set or a group of resource record sets (for example, a group of weighted resource record sets), but it is not another alias resource record set, we recommend that you associate a health check with all of the resource record sets in the alias target.For more information, see What Happens When You Omit Health Checks? in the Amazon Route 53 Developer Guide.
-
If you specify an Elastic Beanstalk environment in HostedZoneId
and DNSName
, and if the environment contains an ELB load balancer, Elastic Load Balancing routes queries only to the healthy Amazon EC2 instances that are registered with the load balancer. (An environment automatically contains an ELB load balancer if it includes more than one EC2 instance.) If you set EvaluateTargetHealth
to true
and either no EC2 instances are healthy or the load balancer itself is unhealthy, Amazon Route 53 routes queries to other available resources that are healthy, if any.
If the environment contains a single EC2 instance, there are no special requirements.
-
If you specify an ELB load balancer in AliasTarget
, Elastic Load Balancing routes queries only to the healthy EC2 instances that are registered with the load balancer. If no EC2 instances are healthy or if the load balancer itself is unhealthy, and if EvaluateTargetHealth
is true for the corresponding alias resource record set, Amazon Route 53 routes queries to other resources. When you create a load balancer, you configure settings for Elastic Load Balancing health checks; they're not Amazon Route 53 health checks, but they perform a similar function. Do not create Amazon Route 53 health checks for the EC2 instances that you register with an ELB load balancer.
For more information, see How Health Checks Work in More Complex Amazon Route 53 Configurations in the Amazon Route 53 Developers Guide.
-
We recommend that you set EvaluateTargetHealth
to true only when you have enough idle capacity to handle the failure of one or more endpoints.
For more information and examples, see Amazon Route 53 Health Checks and DNS Failover in the Amazon Route 53 Developer Guide.
"
}
},
"AliasTarget": {
- "base": " Alias resource record sets only: Information about the CloudFront distribution, Elastic Beanstalk environment, ELB load balancer, Amazon S3 bucket, or Amazon Route 53 resource record set to which you are redirecting queries. The Elastic Beanstalk environment must have a regionalized subdomain.
When creating resource record sets for a private hosted zone, note the following:
-
Resource record sets cannot be created for CloudFront distributions in a private hosted zone.
-
Creating geolocation alias resource record sets or latency alias resource record sets in a private hosted zone is unsupported.
-
For information about creating failover resource record sets in a private hosted zone, see Configuring Failover in a Private Hosted Zone.
",
+ "base": " Alias resource record sets only: Information about the CloudFront distribution, Elastic Beanstalk environment, ELB load balancer, Amazon S3 bucket, or Amazon Route 53 resource record set that you're redirecting queries to. The Elastic Beanstalk environment must have a regionalized subdomain.
When creating resource record sets for a private hosted zone, note the following:
-
Resource record sets can't be created for CloudFront distributions in a private hosted zone.
-
Creating geolocation alias resource record sets or latency alias resource record sets in a private hosted zone is unsupported.
-
For information about creating failover resource record sets in a private hosted zone, see Configuring Failover in a Private Hosted Zone.
",
"refs": {
- "ResourceRecordSet$AliasTarget": " Alias resource record sets only: Information about the CloudFront distribution, Elastic Beanstalk environment, ELB load balancer, Amazon S3 bucket, or Amazon Route 53 resource record set to which you are redirecting queries. The Elastic Beanstalk environment must have a regionalized subdomain.
If you're creating resource records sets for a private hosted zone, note the following:
-
You can't create alias resource record sets for CloudFront distributions in a private hosted zone.
-
Creating geolocation alias resource record sets or latency alias resource record sets in a private hosted zone is unsupported.
-
For information about creating failover resource record sets in a private hosted zone, see Configuring Failover in a Private Hosted Zone in the Amazon Route 53 Developer Guide.
"
+ "ResourceRecordSet$AliasTarget": " Alias resource record sets only: Information about the CloudFront distribution, AWS Elastic Beanstalk environment, ELB load balancer, Amazon S3 bucket, or Amazon Route 53 resource record set to which you are redirecting queries. The AWS Elastic Beanstalk environment must have a regionalized subdomain.
If you're creating resource records sets for a private hosted zone, note the following:
-
You can't create alias resource record sets for CloudFront distributions in a private hosted zone.
-
Creating geolocation alias resource record sets or latency alias resource record sets in a private hosted zone is unsupported.
-
For information about creating failover resource record sets in a private hosted zone, see Configuring Failover in a Private Hosted Zone in the Amazon Route 53 Developer Guide.
"
}
},
"AssociateVPCComment": {
@@ -91,12 +85,12 @@
}
},
"AssociateVPCWithHostedZoneRequest": {
- "base": "A complex type that contains information about the VPC and the hosted zone that you want to associate.
",
+ "base": "A complex type that contains information about the request to associate a VPC with a private hosted zone.
",
"refs": {
}
},
"AssociateVPCWithHostedZoneResponse": {
- "base": "A complex type that contains the response information for the hosted zone.
",
+ "base": "A complex type that contains the response information for the AssociateVPCWithHostedZone
request.
",
"refs": {
}
},
@@ -118,20 +112,6 @@
"ChangeResourceRecordSetsRequest$ChangeBatch": "A complex type that contains an optional comment and the Changes
element.
"
}
},
- "ChangeBatchRecord": {
- "base": "A complex type that lists the changes and information for a ChangeBatch.
",
- "refs": {
- "ChangeBatchRecords$member": null,
- "GetChangeDetailsResponse$ChangeBatchRecord": "A complex type that contains information about the specified change batch, including the change batch ID, the status of the change, and the contained changes.
"
- }
- },
- "ChangeBatchRecords": {
- "base": null,
- "refs": {
- "ListChangeBatchesByHostedZoneResponse$ChangeBatchRecords": "The change batches within the given hosted zone and time period.
",
- "ListChangeBatchesByRRSetResponse$ChangeBatchRecords": "The change batches within the given hosted zone and time period.
"
- }
- },
"ChangeInfo": {
"base": "A complex type that describes change information about changes made to your hosted zone.
",
"refs": {
@@ -139,7 +119,7 @@
"ChangeResourceRecordSetsResponse$ChangeInfo": "A complex type that contains information about changes made to your hosted zone.
This element contains an ID that you use when performing a GetChange action to get detailed information about the change.
",
"CreateHostedZoneResponse$ChangeInfo": "A complex type that describes the changes made to your hosted zone.
",
"DeleteHostedZoneResponse$ChangeInfo": "A complex type that contains the ID, the status, and the date and time of your delete request.
",
- "DisassociateVPCFromHostedZoneResponse$ChangeInfo": "A complex type that describes the changes made to your hosted zone.
",
+ "DisassociateVPCFromHostedZoneResponse$ChangeInfo": "A complex type that describes the changes made to the specified private hosted zone.
",
"GetChangeResponse$ChangeInfo": "A complex type that contains information about the specified change batch.
"
}
},
@@ -156,7 +136,6 @@
"ChangeStatus": {
"base": null,
"refs": {
- "ChangeBatchRecord$Status": "The current state of the request. PENDING
indicates that this request has not yet been applied to all Amazon Route 53 DNS servers.
Valid Values: PENDING
| INSYNC
",
"ChangeInfo$Status": "The current state of the request. PENDING
indicates that this request has not yet been applied to all Amazon Route 53 DNS servers.
"
}
},
@@ -173,8 +152,7 @@
"Changes": {
"base": null,
"refs": {
- "ChangeBatch$Changes": "Information about the changes to make to the record sets.
",
- "ChangeBatchRecord$Changes": "A list of changes made in the ChangeBatch.
"
+ "ChangeBatch$Changes": "Information about the changes to make to the record sets.
"
}
},
"CheckerIpRanges": {
@@ -214,7 +192,7 @@
}
},
"ConflictingDomainExists": {
- "base": "You specified an Amazon VPC that you're already using for another hosted zone, and the domain that you specified for one of the hosted zones is a subdomain of the domain that you specified for the other hosted zone. For example, you cannot use the same Amazon VPC for the hosted zones for example.com and test.example.com.
",
+ "base": "You specified an Amazon VPC that you're already using for another hosted zone, and the domain that you specified for one of the hosted zones is a subdomain of the domain that you specified for the other hosted zone. For example, you can't use the same Amazon VPC for the hosted zones for example.com and test.example.com.
",
"refs": {
}
},
@@ -283,15 +261,24 @@
"refs": {
}
},
+ "CreateVPCAssociationAuthorizationRequest": {
+ "base": "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.
",
+ "refs": {
+ }
+ },
+ "CreateVPCAssociationAuthorizationResponse": {
+ "base": "A complex type that contains the response information from a CreateVPCAssociationAuthorization request.
",
+ "refs": {
+ }
+ },
"DNSName": {
"base": null,
"refs": {
- "AliasTarget$DNSName": " Alias resource record sets only: The value that you specify depends on where you want to route queries:
-
A CloudFront distribution: Specify the domain name that CloudFront assigned when you created your distribution.
Your CloudFront distribution must include an alternate domain name that matches the name of the resource record set. For example, if the name of the resource record set is acme.example.com, your CloudFront distribution must include acme.example.com as one of the alternate domain names. For more information, see Using Alternate Domain Names (CNAMEs) in the Amazon CloudFront Developer Guide.
-
Elastic Beanstalk environment: Specify the CNAME
attribute for the environment. (The environment must have a regionalized domain name.) You can use the following methods to get the value of the CNAME attribute:
-
AWS Managment Console: For information about how to get the value by using the console, see Using Custom Domains with Elastic Beanstalk in the AWS Elastic Beanstalk Developer Guide.
-
Elastic Load Balancing API: Use the DescribeEnvironments
action to get the value of the CNAME
attribute. For more information, see DescribeEnvironments in the AWS Elastic Beanstalk API Reference.
-
AWS CLI: Use the describe-environments command to get the value of the CNAME
attribute. For more information, see describe-environments in the AWS Command Line Interface Reference.
-
An ELB load balancer: Specify the DNS name associated with the load balancer. Get the DNS name by using the AWS Management Console, the ELB API, or the AWS CLI. Use the same method to get values for HostedZoneId
and DNSName
. If you get one value from the console and the other value from the API or the CLI, creating the resource record set will fail.
-
AWS Management Console: Go to the Amazon EC2 page, click Load Balancers in the navigation pane, choose the load balancer, choose the Description tab, and get the value of the DNS Name field that begins with dualstack. Use the same process to get the Hosted Zone ID. See HostedZone$Id.
-
Elastic Load Balancing API: Use DescribeLoadBalancers
to get the value of CanonicalHostedZoneName
. Use the same process to get the CanonicalHostedZoneNameId
. See HostedZone$Id.
-
AWS CLI: Use describe-load-balancers
to get the value of CanonicalHostedZoneName
. Use the same process to get the CanonicalHostedZoneNameId
. See HostedZoneId.
-
An Amazon S3 bucket that is configured as a static website: Specify the domain name of the Amazon S3 website endpoint in which you created the bucket; for example, s3-website-us-east-1.amazonaws.com
. For more information about valid values, see the table Amazon Simple Storage Service (S3) Website Endpoints in the Amazon Web Services General Reference. For more information about using Amazon S3 buckets for websites, see Hosting a Static Website on Amazon S3 in the Amazon Simple Storage Service Developer Guide.
-
Another Amazon Route 53 resource record set: Specify the value of the Name
element for a resource record set in the current hosted zone.
",
+ "AliasTarget$DNSName": " Alias resource record sets only: The value that you specify depends on where you want to route queries:
-
A CloudFront distribution: Specify the domain name that CloudFront assigned when you created your distribution.
Your CloudFront distribution must include an alternate domain name that matches the name of the resource record set. For example, if the name of the resource record set is acme.example.com, your CloudFront distribution must include acme.example.com as one of the alternate domain names. For more information, see Using Alternate Domain Names (CNAMEs) in the Amazon CloudFront Developer Guide.
-
Elastic Beanstalk environment: Specify the CNAME
attribute for the environment. (The environment must have a regionalized domain name.) You can use the following methods to get the value of the CNAME attribute:
-
AWS Managment Console: For information about how to get the value by using the console, see Using Custom Domains with AWS Elastic Beanstalk in the AWS Elastic Beanstalk Developer Guide.
-
Elastic Load Balancing API: Use the DescribeEnvironments
action to get the value of the CNAME
attribute. For more information, see DescribeEnvironments in the AWS Elastic Beanstalk API Reference.
-
AWS CLI: Use the describe-environments command to get the value of the CNAME
attribute. For more information, see describe-environments in the AWS Command Line Interface Reference.
-
An ELB load balancer: Specify the DNS name associated with the load balancer. Get the DNS name by using the AWS Management Console, the ELB API, or the AWS CLI. Use the same method to get values for HostedZoneId
and DNSName
. If you get one value from the console and the other value from the API or the CLI, creating the resource record set will fail.
-
AWS Management Console: Go to the EC2 page, click Load Balancers in the navigation pane, choose the load balancer, choose the Description tab, and get the value of the DNS Name field that begins with dualstack. Use the same process to get the Hosted Zone ID. See HostedZone$Id.
-
Elastic Load Balancing API: Use DescribeLoadBalancers
to get the value of CanonicalHostedZoneName
. Use the same process to get the CanonicalHostedZoneNameId
. See HostedZone$Id.
-
AWS CLI: Use describe-load-balancers
to get the value of CanonicalHostedZoneName
. Use the same process to get the CanonicalHostedZoneNameId
. See HostedZoneId.
-
An Amazon S3 bucket that is configured as a static website: Specify the domain name of the Amazon S3 website endpoint in which you created the bucket; for example, s3-website-us-east-1.amazonaws.com
. For more information about valid values, see the table Amazon Simple Storage Service (S3) Website Endpoints in the Amazon Web Services General Reference. For more information about using S3 buckets for websites, see Hosting a Static Website on Amazon S3 in the Amazon S3 Developer Guide.
-
Another Amazon Route 53 resource record set: Specify the value of the Name
element for a resource record set in the current hosted zone.
",
"CreateHostedZoneRequest$Name": "The name of the domain. For resource record types that include a domain name, specify a fully qualified domain name, for example, www.example.com. The trailing dot is optional; Amazon Route 53 assumes that the domain name is fully qualified. This means that Amazon Route 53 treats www.example.com (without a trailing dot) and www.example.com. (with a trailing dot) as identical.
If you're creating a public hosted zone, this is the name you have registered with your DNS registrar. If your domain name is registered with a registrar other than Amazon Route 53, change the name servers for your domain to the set of NameServers
that CreateHostedZone
returns in the DelegationSet element.
",
"CreateTrafficPolicyInstanceRequest$Name": "The domain name (such as example.com) or subdomain name (such as www.example.com) for which Amazon Route 53 responds to DNS queries by using the resource record sets that Amazon Route 53 creates for this traffic policy instance.
",
"DelegationSetNameServers$member": null,
"HostedZone$Name": "The name of the domain. For public hosted zones, this is the name that you have registered with your DNS registrar.
For information about how to specify characters other than a-z
, 0-9
, and -
(hyphen) and how to specify internationalized domain names, see CreateHostedZone.
",
- "ListChangeBatchesByRRSetRequest$Name": "The name of the RRSet that you want to see changes for.
",
"ListHostedZonesByNameRequest$DNSName": "(Optional) For your first request to ListHostedZonesByName
, include the dnsname
parameter only if you want to specify the name of the first hosted zone in the response. If you don't include the dnsname
parameter, Amazon Route 53 returns all of the hosted zones that were created by the current AWS account, in ASCII order. For subsequent requests, include both dnsname
and hostedzoneid
parameters. For dnsname
, specify the value of NextDNSName
from the previous response.
",
"ListHostedZonesByNameResponse$DNSName": "For the second and subsequent calls to ListHostedZonesByName
, DNSName
is the value that you specified for the dnsname
parameter in the request that produced the current response.
",
"ListHostedZonesByNameResponse$NextDNSName": "If IsTruncated
is true, the value of NextDNSName
is the name of the first hosted zone in the next group of maxitems
hosted zones. Call ListHostedZonesByName
again and specify the value of NextDNSName
and NextHostedZoneId
in the dnsname
and hostedzoneid
parameters, respectively.
This element is present only if IsTruncated
is true
.
",
@@ -303,7 +290,7 @@
"ListTrafficPolicyInstancesByPolicyResponse$TrafficPolicyInstanceNameMarker": "If IsTruncated
is true
, TrafficPolicyInstanceNameMarker
is the name of the first traffic policy instance in the next group of MaxItems
traffic policy instances.
",
"ListTrafficPolicyInstancesRequest$TrafficPolicyInstanceNameMarker": "For the first request to ListTrafficPolicyInstances
, omit this value.
If the value of IsTruncated
in the previous response was true
, TrafficPolicyInstanceNameMarker
is the name of the first traffic policy instance in the next group of MaxItems
traffic policy instances.
If the value of IsTruncated
in the previous response was false
, there are no more traffic policy instances to get.
",
"ListTrafficPolicyInstancesResponse$TrafficPolicyInstanceNameMarker": "If IsTruncated
is true
, TrafficPolicyInstanceNameMarker
is the name of the first traffic policy instance in the next group of MaxItems
traffic policy instances.
",
- "ResourceRecordSet$Name": "The name of the domain you want to perform the action on.
Enter a fully qualified domain name, for example, www.example.com
. You can optionally include a trailing dot. If you omit the trailing dot, Amazon Route 53 still assumes that the domain name that you specify is fully qualified. This means that Amazon Route 53 treats www.example.com
(without a trailing dot) and www.example.com.
(with a trailing dot) as identical.
For information about how to specify characters other than a-z
, 0-9
, and -
(hyphen) and how to specify internationalized domain names, see DNS Domain Name Format in the Amazon Route 53 Developer Guide.
You can use the asterisk (*) wildcard to replace the leftmost label in a domain name. For example, *.example.com
. Note the following:
-
The * must replace the entire label. For example, you can't specify *prod.example.com
or prod*.example.com
.
-
The * can't replace any of the middle labels, for example, marketing.*.example.com.
-
If you include * in any position other than the leftmost label in a domain name, DNS treats it as an * character (ASCII 42), not as a wildcard.
You can't use the * wildcard for resource records sets that have a type of NS.
You can use the * wildcard as the leftmost label in a domain name, for example, *.example.com
. You cannot use an * for one of the middle labels, for example, marketing.*.example.com
. In addition, the * must replace the entire label; for example, you can't specify prod*.example.com
.
",
+ "ResourceRecordSet$Name": "The name of the domain you want to perform the action on.
Enter a fully qualified domain name, for example, www.example.com
. You can optionally include a trailing dot. If you omit the trailing dot, Amazon Route 53 still assumes that the domain name that you specify is fully qualified. This means that Amazon Route 53 treats www.example.com
(without a trailing dot) and www.example.com.
(with a trailing dot) as identical.
For information about how to specify characters other than a-z
, 0-9
, and -
(hyphen) and how to specify internationalized domain names, see DNS Domain Name Format in the Amazon Route 53 Developer Guide.
You can use the asterisk (*) wildcard to replace the leftmost label in a domain name. For example, *.example.com
. Note the following:
-
The * must replace the entire label. For example, you can't specify *prod.example.com
or prod*.example.com
.
-
The * can't replace any of the middle labels, for example, marketing.*.example.com.
-
If you include * in any position other than the leftmost label in a domain name, DNS treats it as an * character (ASCII 42), not as a wildcard.
You can't use the * wildcard for resource records sets that have a type of NS.
You can use the * wildcard as the leftmost label in a domain name, for example, *.example.com
. You can't use an * for one of the middle labels, for example, marketing.*.example.com
. In addition, the * must replace the entire label; for example, you can't specify prod*.example.com
.
",
"TestDNSAnswerRequest$RecordName": "The name of the resource record set that you want Amazon Route 53 to simulate a query for.
",
"TestDNSAnswerResponse$RecordName": "The name of the resource record set that you submitted a request for.
",
"TrafficPolicyInstance$Name": "The DNS name, such as www.example.com, for which Amazon Route 53 responds to queries by using the resource record sets that are associated with this traffic policy instance.
"
@@ -315,15 +302,6 @@
"TestDNSAnswerResponse$ResponseCode": "A code that indicates whether the request is valid or not. The most common response code is NOERROR
, meaning that the request is valid. If the response is not valid, Amazon Route 53 returns a response code that describes the error. For a list of possible response codes, see DNS RCODES on the IANA website.
"
}
},
- "Date": {
- "base": null,
- "refs": {
- "ListChangeBatchesByHostedZoneRequest$StartDate": "The start of the time period you want to see changes for.
",
- "ListChangeBatchesByHostedZoneRequest$EndDate": "The end of the time period you want to see changes for.
",
- "ListChangeBatchesByRRSetRequest$StartDate": "The start of the time period you want to see changes for.
",
- "ListChangeBatchesByRRSetRequest$EndDate": "The end of the time period you want to see changes for.
"
- }
- },
"DelegationSet": {
"base": "A complex type that describes the name servers for this hosted zone.
",
"refs": {
@@ -421,6 +399,16 @@
"refs": {
}
},
+ "DeleteVPCAssociationAuthorizationRequest": {
+ "base": "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.
",
+ "refs": {
+ }
+ },
+ "DeleteVPCAssociationAuthorizationResponse": {
+ "base": "Empty response for the request.
",
+ "refs": {
+ }
+ },
"Dimension": {
"base": "For the metric that the CloudWatch alarm is associated with, a complex type that contains information about one dimension.
",
"refs": {
@@ -437,7 +425,7 @@
"DimensionList": {
"base": null,
"refs": {
- "CloudWatchAlarmConfiguration$Dimensions": "For the metric that the CloudWatch alarm is associated with, a complex type that contains information about the dimensions for the metric.For information, see Amazon CloudWatch Namespaces, Dimensions, and Metrics Reference in the Amazon CloudWatch Developer Guide.
"
+ "CloudWatchAlarmConfiguration$Dimensions": "For the metric that the CloudWatch alarm is associated with, a complex type that contains information about the dimensions for the metric.For information, see Amazon CloudWatch Namespaces, Dimensions, and Metrics Reference in the Amazon CloudWatch User Guide.
"
}
},
"DisassociateVPCComment": {
@@ -447,7 +435,7 @@
}
},
"DisassociateVPCFromHostedZoneRequest": {
- "base": "A complex type that contains information about the VPC and the hosted zone that you want to disassociate.
",
+ "base": "A complex type that contains information about the VPC that you want to disassociate from a specified private hosted zone.
",
"refs": {
}
},
@@ -485,6 +473,7 @@
"InvalidArgument$message": "Descriptive message for the error response.
",
"InvalidDomainName$message": "Descriptive message for the error response.
",
"InvalidInput$message": "Descriptive message for the error response.
",
+ "InvalidPaginationToken$message": null,
"InvalidTrafficPolicyDocument$message": "Descriptive message for the error response.
",
"InvalidVPCId$message": "Descriptive message for the error response.
",
"LastVPCAssociation$message": "Descriptive message for the error response.
",
@@ -496,6 +485,7 @@
"NoSuchHostedZone$message": "Descriptive message for the error response.
",
"NoSuchTrafficPolicy$message": "Descriptive message for the error response.
",
"NoSuchTrafficPolicyInstance$message": "Descriptive message for the error response.
",
+ "NotAuthorizedException$message": "Descriptive message for the error response.
",
"PriorRequestNotComplete$message": null,
"PublicZoneVPCAssociation$message": "Descriptive message for the error response.
",
"ThrottlingException$message": null,
@@ -503,9 +493,11 @@
"TooManyHostedZones$message": "Descriptive message for the error response.
",
"TooManyTrafficPolicies$message": "Descriptive message for the error response.
",
"TooManyTrafficPolicyInstances$message": "Descriptive message for the error response.
",
+ "TooManyVPCAssociationAuthorizations$message": "Descriptive message for the error response.
",
"TrafficPolicyAlreadyExists$message": "Descriptive message for the error response.
",
"TrafficPolicyInUse$message": "Descriptive message for the error response.
",
"TrafficPolicyInstanceAlreadyExists$message": "Descriptive message for the error response.
",
+ "VPCAssociationAuthorizationNotFound$message": "Descriptive message for the error response.
",
"VPCAssociationNotFound$message": "Descriptive message for the error response.
"
}
},
@@ -538,7 +530,7 @@
"GeoLocation": {
"base": "A complex type that contains information about a geo location.
",
"refs": {
- "ResourceRecordSet$GeoLocation": " Geo location resource record sets only: A complex type that lets you control how Amazon Route 53 responds to DNS queries based on the geographic origin of the query. For example, if you want all queries from Africa to be routed to a web server with an IP address of 192.0.2.111
, create a resource record set with a Type
of A
and a ContinentCode
of AF
.
Creating geolocation and geolocation alias resource record sets in private hosted zones is not supported.
If you create separate resource record sets for overlapping geographic regions (for example, one resource record set for a continent and one for a country on the same continent), priority goes to the smallest geographic region. This allows you to route most queries for a continent to one resource and to route queries for a country on that continent to a different resource.
You cannot create two geolocation resource record sets that specify the same geographic location.
The value *
in the CountryCode
element matches all geographic locations that aren't specified in other geolocation resource record sets that have the same values for the Name
and Type
elements.
Geolocation works by mapping IP addresses to locations. However, some IP addresses aren't mapped to geographic locations, so even if you create geolocation resource record sets that cover all seven continents, Amazon Route 53 will receive some DNS queries from locations that it can't identify. We recommend that you create a resource record set for which the value of CountryCode
is *
, which handles both queries that come from locations for which you haven't created geolocation resource record sets and queries from IP addresses that aren't mapped to a location. If you don't create a *
resource record set, Amazon Route 53 returns a \"no answer\" response for queries from those locations.
You cannot create non-geolocation resource record sets that have the same values for the Name
and Type
elements as geolocation resource record sets.
"
+ "ResourceRecordSet$GeoLocation": " Geo location resource record sets only: A complex type that lets you control how Amazon Route 53 responds to DNS queries based on the geographic origin of the query. For example, if you want all queries from Africa to be routed to a web server with an IP address of 192.0.2.111
, create a resource record set with a Type
of A
and a ContinentCode
of AF
.
Creating geolocation and geolocation alias resource record sets in private hosted zones is not supported.
If you create separate resource record sets for overlapping geographic regions (for example, one resource record set for a continent and one for a country on the same continent), priority goes to the smallest geographic region. This allows you to route most queries for a continent to one resource and to route queries for a country on that continent to a different resource.
You can't create two geolocation resource record sets that specify the same geographic location.
The value *
in the CountryCode
element matches all geographic locations that aren't specified in other geolocation resource record sets that have the same values for the Name
and Type
elements.
Geolocation works by mapping IP addresses to locations. However, some IP addresses aren't mapped to geographic locations, so even if you create geolocation resource record sets that cover all seven continents, Amazon Route 53 will receive some DNS queries from locations that it can't identify. We recommend that you create a resource record set for which the value of CountryCode
is *
, which handles both queries that come from locations for which you haven't created geolocation resource record sets and queries from IP addresses that aren't mapped to a location. If you don't create a *
resource record set, Amazon Route 53 returns a \"no answer\" response for queries from those locations.
You can't create non-geolocation resource record sets that have the same values for the Name
and Type
elements as geolocation resource record sets.
"
}
},
"GeoLocationContinentCode": {
@@ -602,16 +594,6 @@
"GeoLocationDetails$SubdivisionName": "The full name of the subdivision, for example, a state in the United States or a province in Canada.
"
}
},
- "GetChangeDetailsRequest": {
- "base": "The input for a GetChangeDetails
request.
",
- "refs": {
- }
- },
- "GetChangeDetailsResponse": {
- "base": "A complex type that contains the ChangeBatchRecord
element.
",
- "refs": {
- }
- },
"GetChangeRequest": {
"base": "The input for a GetChange request.
",
"refs": {
@@ -808,7 +790,7 @@
}
},
"HealthCheckRegion": {
- "base": "An Amazon EC2 region that you want Amazon Route 53 to use to perform health checks.
",
+ "base": "An Amazon EC2 Region that you want Amazon Route 53 to use to perform health checks.
",
"refs": {
"HealthCheckObservation$Region": "The region of the Amazon Route 53 health checker that provided the status in StatusReport.
",
"HealthCheckRegionList$member": null
@@ -885,7 +867,7 @@
}
},
"HostedZoneNotFound": {
- "base": "The specified HostedZone cannot be found.
",
+ "base": "The specified HostedZone can't be found.
",
"refs": {
}
},
@@ -905,11 +887,11 @@
"IPAddress": {
"base": null,
"refs": {
- "HealthCheckConfig$IPAddress": "The IPv4 IP address of the endpoint on which you want Amazon Route 53 to perform health checks. If you don't specify a value for IPAddress
, Amazon Route 53 sends a DNS request to resolve the domain name that you specify in FullyQualifiedDomainName
at the interval that you specify in RequestInterval. Using an IP address that DNS returns, Amazon Route 53 then checks the health of the endpoint.
If the endpoint is an Amazon EC2 instance, we recommend that you create an Elastic IP address, associate it with your Amazon EC2 instance, and specify the Elastic IP address for IPAddress
. This ensures that the IP address of your instance will never change.
For more information, see HealthCheckConfig$FullyQualifiedDomainName.
Contraints: Amazon Route 53 cannot check the health of endpoints for which the IP address is in local, private, non-routable, or multicast ranges. For more information about IP addresses for which you cannot create health checks, see RFC 5735, Special Use IPv4 Addresses and RFC 6598, IANA-Reserved IPv4 Prefix for Shared Address Space.
When the value of Type is CALCULATED
or CLOUDWATCH_METRIC
, omit IPAddress.
",
+ "HealthCheckConfig$IPAddress": "The IPv4 IP address of the endpoint on which you want Amazon Route 53 to perform health checks. If you don't specify a value for IPAddress
, Amazon Route 53 sends a DNS request to resolve the domain name that you specify in FullyQualifiedDomainName
at the interval that you specify in RequestInterval. Using an IP address that DNS returns, Amazon Route 53 then checks the health of the endpoint.
If the endpoint is an EC2 instance, we recommend that you create an Elastic IP address, associate it with your EC2 instance, and specify the Elastic IP address for IPAddress
. This ensures that the IP address of your instance will never change.
For more information, see HealthCheckConfig$FullyQualifiedDomainName.
Constraints: Amazon Route 53 can't check the health of endpoints for which the IP address is in local, private, non-routable, or \\ multicast ranges. For more information about IP addresses for which you can't create health checks, see RFC 5735, Special Use IPv4 Addresses and RFC 6598, IANA-Reserved IPv4 Prefix for Shared Address Space.
When the value of Type is CALCULATED
or CLOUDWATCH_METRIC
, omit IPAddress.
",
"HealthCheckObservation$IPAddress": "The IP address of the Amazon Route 53 health checker that provided the failure reason in StatusReport
.
",
"TestDNSAnswerRequest$ResolverIP": "If you want to simulate a request from a specific DNS resolver, specify the IP address for that resolver. If you omit this value, TestDnsAnswer
uses the IP address of a DNS resolver in the AWS US East region.
",
"TestDNSAnswerRequest$EDNS0ClientSubnetIP": "If the resolver that you specified for resolverip supports EDNS0, specify the IP address of a client in the applicable location.
",
- "UpdateHealthCheckRequest$IPAddress": "The IPv4 IP address of the endpoint on which you want Amazon Route 53 to perform health checks. If you don't specify a value for IPAddress
, Amazon Route 53 sends a DNS request to resolve the domain name that you specify in FullyQualifiedDomainName
at the interval you specify in RequestInterval
. Using an IP address that DNS returns, Amazon Route 53 then checks the health of the endpoint.
f the endpoint is an Amazon EC2 instance, we recommend that you create an Elastic IP address, associate it with your Amazon EC2 instance, and specify the Elastic IP address for IPAddress
. This ensures that the IP address of your instance never changes. For more information, see Elastic IP Addresses (EIP) in the Amazon EC2 User Guide for Linux Instances.
If a health check already has a value for IPAddress
, you can change the value. However, you can't update an existing health check to add or remove the value of IPAddress
.
For more information, see UpdateHealthCheckRequest$FullyQualifiedDomainName.
"
+ "UpdateHealthCheckRequest$IPAddress": "The IPv4 IP address of the endpoint on which you want Amazon Route 53 to perform health checks. If you don't specify a value for IPAddress
, Amazon Route 53 sends a DNS request to resolve the domain name that you specify in FullyQualifiedDomainName
at the interval you specify in RequestInterval
. Using an IP address that DNS returns, Amazon Route 53 then checks the health of the endpoint.
f the endpoint is an EC2 instance, we recommend that you create an Elastic IP address, associate it with your EC2 instance, and specify the Elastic IP address for IPAddress
. This ensures that the IP address of your instance never changes. For more information, see Elastic IP Addresses (EIP) in the Amazon EC2 User Guide for Linux Instances.
If a health check already has a value for IPAddress
, you can change the value. However, you can't update an existing health check to add or remove the value of IPAddress
.
For more information, see UpdateHealthCheckRequest$FullyQualifiedDomainName.
"
}
},
"IPAddressCidr": {
@@ -950,6 +932,11 @@
"refs": {
}
},
+ "InvalidPaginationToken": {
+ "base": null,
+ "refs": {
+ }
+ },
"InvalidTrafficPolicyDocument": {
"base": "The format of the traffic policy document that you specified in the Document
element is invalid.
",
"refs": {
@@ -974,7 +961,7 @@
}
},
"LastVPCAssociation": {
- "base": "Only one VPC is currently associated with the hosted zone. You cannot convert a private hosted zone into a public hosted zone by disassociating the last VPC from a hosted zone.
",
+ "base": "The VPC that you're trying to disassociate from the private hosted zone is the last VPC that is associated with the hosted zone. Amazon Route 53 doesn't support disassociating the last VPC from a hosted zone.
",
"refs": {
}
},
@@ -983,26 +970,6 @@
"refs": {
}
},
- "ListChangeBatchesByHostedZoneRequest": {
- "base": "The input for a ListChangeBatchesByHostedZone request.
",
- "refs": {
- }
- },
- "ListChangeBatchesByHostedZoneResponse": {
- "base": "A complex type containing the response information for the request.
",
- "refs": {
- }
- },
- "ListChangeBatchesByRRSetRequest": {
- "base": "The input for a ListChangeBatchesByRRSet request.
",
- "refs": {
- }
- },
- "ListChangeBatchesByRRSetResponse": {
- "base": "The input for a ListChangeBatchesByRRSet request.
",
- "refs": {
- }
- },
"ListGeoLocationsRequest": {
"base": "To get a list of geographic locations that Amazon Route 53 supports for geolocation, send a GET
request to the /Amazon Route 53 API version/geolocations
resource. The response to this request includes a GeoLocationDetails
element for each location that Amazon Route 53 supports.
Countries are listed first, and continents are listed last. If Amazon Route 53 supports subdivisions for a country (for example, states or provinces), the subdivisions for that country are listed in alphabetical order immediately after the corresponding country.
",
"refs": {
@@ -1133,6 +1100,22 @@
"refs": {
}
},
+ "ListVPCAssociationAuthorizationsRequest": {
+ "base": "A complex type that contains information about that can be associated with your hosted zone.
",
+ "refs": {
+ }
+ },
+ "ListVPCAssociationAuthorizationsResponse": {
+ "base": "A complex type that contains the response information for the request.
",
+ "refs": {
+ }
+ },
+ "MaxResults": {
+ "base": null,
+ "refs": {
+ "ListVPCAssociationAuthorizationsRequest$MaxResults": " Optional: An integer that specifies the maximum number of VPCs that you want Amazon Route 53 to return.
"
+ }
+ },
"MeasureLatency": {
"base": null,
"refs": {
@@ -1160,7 +1143,7 @@
"Namespace": {
"base": null,
"refs": {
- "CloudWatchAlarmConfiguration$Namespace": "The namespace of the metric that the alarm is associated with. For more information, see Amazon CloudWatch Namespaces, Dimensions, and Metrics Reference in the Amazon CloudWatch Developer Guide.
"
+ "CloudWatchAlarmConfiguration$Namespace": "The namespace of the metric that the alarm is associated with. For more information, see Amazon CloudWatch Namespaces, Dimensions, and Metrics Reference in the Amazon CloudWatch User Guide.
"
}
},
"NoSuchChange": {
@@ -1207,15 +1190,14 @@
"HostedZone$CallerReference": "The value that you specified for CallerReference
when you created the hosted zone.
"
}
},
+ "NotAuthorizedException": {
+ "base": "Associating the specified VPC with the specified hosted zone has not been authorized.
",
+ "refs": {
+ }
+ },
"PageMarker": {
"base": null,
"refs": {
- "ListChangeBatchesByHostedZoneRequest$Marker": "The page marker.
",
- "ListChangeBatchesByHostedZoneResponse$Marker": "For the second and subsequent calls to ListHostedZones, Marker is the value that you specified for the marker parameter in the request that produced the current response.
",
- "ListChangeBatchesByHostedZoneResponse$NextMarker": "The next page marker.
",
- "ListChangeBatchesByRRSetRequest$Marker": "The page marker.
",
- "ListChangeBatchesByRRSetResponse$Marker": "The page marker.
",
- "ListChangeBatchesByRRSetResponse$NextMarker": "The next page marker.
",
"ListHealthChecksRequest$Marker": "If the response to a ListHealthChecks
is more than one page, marker is the health check ID for the first health check on the next page of results. For more information, see ListHealthChecksResponse$MaxItems.
",
"ListHealthChecksResponse$Marker": "For the second and subsequent calls to ListHealthChecks
, Marker
is the value that you specified for the marker parameter in the previous request.
",
"ListHealthChecksResponse$NextMarker": "If IsTruncated
is true
, the value of NextMarker
identifies the first health check in the next group of maxitems
health checks. Call ListHealthChecks
again and specify the value of NextMarker
in the marker parameter.
",
@@ -1230,10 +1212,6 @@
"PageMaxItems": {
"base": null,
"refs": {
- "ListChangeBatchesByHostedZoneRequest$MaxItems": "The maximum number of items on a page.
",
- "ListChangeBatchesByHostedZoneResponse$MaxItems": "The value that you specified for the maxitems
parameter in the call to ListHostedZones
that produced the current response.
",
- "ListChangeBatchesByRRSetRequest$MaxItems": "The maximum number of items on a page.
",
- "ListChangeBatchesByRRSetResponse$MaxItems": "The maximum number of items on a page.
",
"ListGeoLocationsRequest$MaxItems": "(Optional) The maximum number of geolocations to be included in the response body for this request. If more than MaxItems
geolocations remain to be listed, then the value of the IsTruncated
element in the response is true
.
",
"ListGeoLocationsResponse$MaxItems": "The value that you specified for MaxItems
in the request.
",
"ListHealthChecksRequest$MaxItems": "The maximum number of HealthCheck
elements you want ListHealthChecks
to return on each page of the response body. If the AWS account includes more HealthCheck
elements than the value of maxitems
, the response is broken into pages. Each page contains the number of HealthCheck
elements specified by maxitems
.
For example, suppose you specify 10
for maxitems
and the current AWS account has 51
health checks. In the response, ListHealthChecks
sets ListHealthChecksResponse$IsTruncated to true and includes the ListHealthChecksResponse$NextMarker element. To access the second and subsequent pages, you resend the GET
ListHealthChecks
request, add the ListHealthChecksResponse$Marker parameter to the request, and specify the value of the ListHealthChecksResponse$NextMarker element from the previous response. On the last (sixth) page of the response, which contains only one HealthCheck element:
",
@@ -1261,8 +1239,6 @@
"PageTruncated": {
"base": null,
"refs": {
- "ListChangeBatchesByHostedZoneResponse$IsTruncated": "A flag that indicates if there are more change batches to list.
",
- "ListChangeBatchesByRRSetResponse$IsTruncated": "A flag that indicates if there are more change batches to list.
",
"ListGeoLocationsResponse$IsTruncated": "A value that indicates whether more locations remain to be listed after the last location in this response. If so, the value of IsTruncated
is true
. To get more values, submit another request and include the values of NextContinentCode
, NextCountryCode
, and NextSubdivisionCode
in the StartContinentCode
, StartCountryCode
, and StartSubdivisionCode
, as applicable.
",
"ListHealthChecksResponse$IsTruncated": "A flag that indicates whether there are more health checks to be listed. If the response was truncated, you can get the next group of maxitems
health checks by calling ListHealthChecks
again and specifying the value of the NextMarker
element in the marker parameter.
Valid Values: true
| false
",
"ListHostedZonesByNameResponse$IsTruncated": "A flag that indicates whether there are more hosted zones to be listed. If the response was truncated, you can get the next group of maxitems
hosted zones by calling ListHostedZonesByName
again and specifying the values of NextDNSName
and NextHostedZoneId
elements in the dnsname
and hostedzoneid
parameters.
",
@@ -1276,6 +1252,13 @@
"ListTrafficPolicyVersionsResponse$IsTruncated": "A flag that indicates whether there are more traffic policies to be listed. If the response was truncated, you can get the next group of maxitems
traffic policies by calling ListTrafficPolicyVersions
again and specifying the value of the NextMarker
element in the marker
parameter.
"
}
},
+ "PaginationToken": {
+ "base": null,
+ "refs": {
+ "ListVPCAssociationAuthorizationsRequest$NextToken": " Optional: If a response includes a NextToken
element, there are more VPCs that can be associated with the specified hosted zone. To get the next page of results, submit another request, and include the value of the NextToken
element in from the response in the NextToken
parameter in another ListVPCAssociationAuthorizations
request.
",
+ "ListVPCAssociationAuthorizationsResponse$NextToken": "When the response includes a NextToken
element, there are more VPCs that can be associated with the specified hosted zone. To get the next page of VPCs, submit another ListVPCAssociationAuthorizations
request, and include the value of the NextToken
element from the response in the NextToken
request parameter:
/2013-04-01/hostedzone/hosted zone ID/authorizevpcassociation?MaxItems=VPCs per page&NextToken=
"
+ }
+ },
"Period": {
"base": null,
"refs": {
@@ -1295,7 +1278,7 @@
}
},
"PublicZoneVPCAssociation": {
- "base": "The hosted zone specified in HostedZoneId
is a public hosted zone.
",
+ "base": "You're trying to associate a VPC with a public hosted zone. Amazon Route 53 doesn't support associating a VPC with a public hosted zone.
",
"refs": {
}
},
@@ -1308,8 +1291,7 @@
"RRType": {
"base": null,
"refs": {
- "ListChangeBatchesByRRSetRequest$Type": "The type of the RRSet that you want to see changes for.
",
- "ListResourceRecordSetsRequest$StartRecordType": "The type of resource record set to begin the record listing from.
Valid values for basic resource record sets: A
| AAAA
| CNAME
| MX
| NAPTR
| NS
| PTR
| SOA
| SPF
| SRV
| TXT
Values for weighted, latency, geo, and failover resource record sets: A
| AAAA
| CNAME
| MX
| NAPTR
| PTR
| SPF
| SRV
| TXT
Values for alias resource record sets:
-
CloudFront distribution: A
-
Elastic Beanstalk environment that has a regionalized subdomain: A
-
ELB load balancer: A | AAAA
-
Amazon S3 bucket: A
Constraint: Specifying type
without specifying name
returns an InvalidInput
error.
",
+ "ListResourceRecordSetsRequest$StartRecordType": "The type of resource record set to begin the record listing from.
Valid values for basic resource record sets: A
| AAAA
| CNAME
| MX
| NAPTR
| NS
| PTR
| SOA
| SPF
| SRV
| TXT
Values for weighted, latency, geo, and failover resource record sets: A
| AAAA
| CNAME
| MX
| NAPTR
| PTR
| SPF
| SRV
| TXT
Values for alias resource record sets:
-
CloudFront distribution: A or AAAA
-
Elastic Beanstalk environment that has a regionalized subdomain: A
-
ELB load balancer: A | AAAA
-
Amazon S3 bucket: A
Constraint: Specifying type
without specifying name
returns an InvalidInput
error.
",
"ListResourceRecordSetsResponse$NextRecordType": "If the results were truncated, the type of the next record in the list.
This element is present only if IsTruncated
is true.
",
"ListTrafficPolicyInstancesByHostedZoneRequest$TrafficPolicyInstanceTypeMarker": "For the first request to ListTrafficPolicyInstancesByHostedZone
, omit this value.
If the value of IsTruncated
in the previous response was true
, TrafficPolicyInstanceTypeMarker
is the DNS type of the first traffic policy instance in the next group of MaxItems
traffic policy instances.
If the value of IsTruncated
in the previous response was false
, there are no more traffic policy instances to get for this hosted zone.
",
"ListTrafficPolicyInstancesByHostedZoneResponse$TrafficPolicyInstanceTypeMarker": "If IsTruncated
is true, TrafficPolicyInstanceTypeMarker
is the DNS type of the resource record sets that are associated with the first traffic policy instance in the next group of MaxItems
traffic policy instances.
",
@@ -1317,7 +1299,7 @@
"ListTrafficPolicyInstancesByPolicyResponse$TrafficPolicyInstanceTypeMarker": "If IsTruncated
is true
, TrafficPolicyInstanceTypeMarker
is the DNS type of the resource record sets that are associated with the first traffic policy instance in the next group of MaxItems
traffic policy instances.
",
"ListTrafficPolicyInstancesRequest$TrafficPolicyInstanceTypeMarker": "For the first request to ListTrafficPolicyInstances
, omit this value.
If the value of IsTruncated
in the previous response was true
, TrafficPolicyInstanceTypeMarker
is the DNS type of the first traffic policy instance in the next group of MaxItems
traffic policy instances.
If the value of IsTruncated
in the previous response was false
, there are no more traffic policy instances to get.
",
"ListTrafficPolicyInstancesResponse$TrafficPolicyInstanceTypeMarker": "If IsTruncated
is true
, TrafficPolicyInstanceTypeMarker
is the DNS type of the resource record sets that are associated with the first traffic policy instance in the next group of MaxItems
traffic policy instances.
",
- "ResourceRecordSet$Type": "The DNS record type. For information about different record types and how data is encoded for them, see Supported DNS Resource Record Types in the Amazon Route 53 Developer Guide.
Valid values for basic resource record sets: A
| AAAA
| CNAME
| MX
| NAPTR
| NS
| PTR
| SOA
| SPF
| SRV
| TXT
Values for weighted, latency, geolocation, and failover resource record sets: A
| AAAA
| CNAME
| MX
| NAPTR
| PTR
| SPF
| SRV
| TXT
. When creating a group of weighted, latency, geolocation, or failover resource record sets, specify the same value for all of the resource record sets in the group.
SPF records were formerly used to verify the identity of the sender of email messages. However, we no longer recommend that you create resource record sets for which the value of Type
is SPF
. RFC 7208, Sender Policy Framework (SPF) for Authorizing Use of Domains in Email, Version 1, has been updated to say, \"...[I]ts existence and mechanism defined in [RFC4408] have led to some interoperability issues. Accordingly, its use is no longer appropriate for SPF version 1; implementations are not to use it.\" In RFC 7208, see section 14.1, The SPF DNS Record Type.
Values for alias resource record sets:
-
CloudFront distributions: A
-
Elastic Beanstalk environment that has a regionalized subdomain: A
-
ELB load balancers: A
| AAAA
-
Amazon S3 buckets: A
-
Another resource record set in this hosted zone: Specify the type of the resource record set for which you're creating the alias. Specify any value except NS
or SOA
.
",
+ "ResourceRecordSet$Type": "The DNS record type. For information about different record types and how data is encoded for them, see Supported DNS Resource Record Types in the Amazon Route 53 Developer Guide.
Valid values for basic resource record sets: A
| AAAA
| CNAME
| MX
| NAPTR
| NS
| PTR
| SOA
| SPF
| SRV
| TXT
Values for weighted, latency, geolocation, and failover resource record sets: A
| AAAA
| CNAME
| MX
| NAPTR
| PTR
| SPF
| SRV
| TXT
. When creating a group of weighted, latency, geolocation, or failover resource record sets, specify the same value for all of the resource record sets in the group.
SPF records were formerly used to verify the identity of the sender of email messages. However, we no longer recommend that you create resource record sets for which the value of Type
is SPF
. RFC 7208, Sender Policy Framework (SPF) for Authorizing Use of Domains in Email, Version 1, has been updated to say, \"...[I]ts existence and mechanism defined in [RFC4408] have led to some interoperability issues. Accordingly, its use is no longer appropriate for SPF version 1; implementations are not to use it.\" In RFC 7208, see section 14.1, The SPF DNS Record Type.
Values for alias resource record sets:
-
CloudFront distributions: A
If IPv6 is enabled for the distribution, create two resource record sets to route traffic to your distribution, one with a value of A
and one with a value of AAAA
.
-
AWS Elastic Beanstalk environment that has a regionalized subdomain: A
-
ELB load balancers: A
| AAAA
-
Amazon S3 buckets: A
-
Another resource record set in this hosted zone: Specify the type of the resource record set for which you're creating the alias. Specify any value except NS
or SOA
.
",
"TestDNSAnswerRequest$RecordType": "The type of the resource record set.
",
"TestDNSAnswerResponse$RecordType": "The type of the resource record set that you submitted a request for.
",
"TrafficPolicy$Type": "The DNS type of the resource record sets that Amazon Route 53 creates when you use a traffic policy to create a traffic policy instance.
",
@@ -1347,7 +1329,6 @@
"base": null,
"refs": {
"ChangeBatch$Comment": " Optional: Any comments you want to include about a change batch request.
",
- "ChangeBatchRecord$Comment": "A complex type that describes change information about changes made to your hosted zone.
This element contains an ID that you use when performing a GetChange action to get detailed information about the change.
",
"ChangeInfo$Comment": "A complex type that describes change information about changes made to your hosted zone.
This element contains an ID that you use when performing a GetChange action to get detailed information about the change.
",
"HostedZoneConfig$Comment": "Any comments that you want to include about the hosted zone.
",
"UpdateHostedZoneCommentRequest$Comment": "The new comment for the hosted zone. If you don't specify a value for Comment
, Amazon Route 53 deletes the existing value of the Comment
element, if any.
"
@@ -1356,25 +1337,24 @@
"ResourceId": {
"base": null,
"refs": {
- "AliasTarget$HostedZoneId": " Alias resource records sets only: The value used depends on where the queries are routed:
- A CloudFront distribution
-
Specify Z2FDTNDATAQYW2
.
Alias resource record sets for CloudFront cannot be created in a private zone.
- Elastic Beanstalk environment
-
Specify the hosted zone ID for the region in which you created the environment. The environment must have a regionalized subdomain. For a list of regions and the corresponding hosted zone IDs, see AWS Elastic Beanstalk in the Regions and Endpoints chapter of the AWS General Reference.
- ELB load balancer
-
Specify the value of the hosted zone ID for the load balancer. Use the following methods to get the hosted zone ID:
-
AWS Management Console: Go to the Amazon EC2; page, click Load Balancers in the navigation pane, select the load balancer, and get the value of the Hosted Zone ID field on the Description tab. Use the same process to get the DNS Name. See HostedZone$Name.
-
Elastic Load Balancing API: Use DescribeLoadBalancers
to get the value of CanonicalHostedZoneNameID
. Use the same process to get the CanonicalHostedZoneName
. See HostedZone$Name.
-
AWS CLI: Use describe-load-balancers
to get the value of CanonicalHostedZoneNameID
. Use the same process to get the CanonicalHostedZoneName
. See HostedZone$Name.
- An Amazon S3 bucket configured as a static website
-
Specify the hosted zone ID for the Amazon S3 website endpoint in which you created the bucket. For more information about valid values, see the table Amazon S3 (S3) Website Endpoints in the Amazon Web Services General Reference.
- Another Amazon Route 53 resource record set in your hosted zone
-
Specify the hosted zone ID of your hosted zone. (An alias resource record set cannot reference a resource record set in a different hosted zone.)
",
- "AssociateVPCWithHostedZoneRequest$HostedZoneId": "The ID of the hosted zone you want to associate your VPC with.
Note that you cannot associate a VPC with a hosted zone that doesn't have an existing VPC association.
",
- "ChangeBatchRecord$Id": "The ID of the request. Use this ID to track when the change has completed across all Amazon Route 53 DNS servers.
",
+ "AliasTarget$HostedZoneId": " Alias resource records sets only: The value used depends on where the queries are routed:
- A CloudFront distribution
-
Specify Z2FDTNDATAQYW2
.
Alias resource record sets for CloudFront can't be created in a private zone.
- Elastic Beanstalk environment
-
Specify the hosted zone ID for the region in which you created the environment. The environment must have a regionalized subdomain. For a list of regions and the corresponding hosted zone IDs, see AWS Elastic Beanstalk in the Regions and Endpoints chapter of the Amazon Web Services General Reference.
- ELB load balancer
-
Specify the value of the hosted zone ID for the load balancer. Use the following methods to get the hosted zone ID:
-
AWS Management Console: Go to the Amazon EC2 page, click Load Balancers in the navigation pane, select the load balancer, and get the value of the Hosted Zone ID field on the Description tab. Use the same process to get the value of DNS Name. See HostedZone$Name.
-
Elastic Load Balancing API: Use DescribeLoadBalancers
to get the value of CanonicalHostedZoneNameID
. Use the same process to get the CanonicalHostedZoneName
. See HostedZone$Name.
-
AWS CLI: Use describe-load-balancers
to get the value of CanonicalHostedZoneNameID
. Use the same process to get the CanonicalHostedZoneName
. See HostedZone$Name.
- An Amazon S3 bucket configured as a static website
-
Specify the hosted zone ID for the Amazon S3 website endpoint in which you created the bucket. For more information about valid values, see the table Amazon S3 (S3) Website Endpoints in the Amazon Web Services General Reference.
- Another Amazon Route 53 resource record set in your hosted zone
-
Specify the hosted zone ID of your hosted zone. (An alias resource record set can't reference a resource record set in a different hosted zone.)
",
+ "AssociateVPCWithHostedZoneRequest$HostedZoneId": "The ID of the private hosted zone that you want to associate an Amazon VPC with.
Note that you can't associate a VPC with a hosted zone that doesn't have an existing VPC association.
",
"ChangeInfo$Id": "The ID of the request.
",
"ChangeResourceRecordSetsRequest$HostedZoneId": "The ID of the hosted zone that contains the resource record sets that you want to change.
",
"CreateHostedZoneRequest$DelegationSetId": "If you want to associate a reusable delegation set with this hosted zone, the ID that Amazon Route 53 assigned to the reusable delegation set when you created it. For more information about reusable delegation sets, see CreateReusableDelegationSet.
- Type
-
String
- Default
-
None
- Parent
-
CreatedHostedZoneRequest
",
"CreateReusableDelegationSetRequest$HostedZoneId": "If you want to mark the delegation set for an existing hosted zone as reusable, the ID for that hosted zone.
",
"CreateTrafficPolicyInstanceRequest$HostedZoneId": "The ID of the hosted zone in which you want Amazon Route 53 to create resource record sets by using the configuration in a traffic policy.
",
+ "CreateVPCAssociationAuthorizationRequest$HostedZoneId": "The ID of the private hosted zone that you want to authorize associating a VPC with.
",
+ "CreateVPCAssociationAuthorizationResponse$HostedZoneId": "The ID of the hosted zone that you authorized associating a VPC with.
",
"DelegationSet$Id": "The ID that Amazon Route 53 assigns to a reusable delegation set.
",
"DeleteHostedZoneRequest$Id": "The ID of the hosted zone you want to delete.
",
"DeleteReusableDelegationSetRequest$Id": "The ID of the reusable delegation set you want to delete.
",
- "DisassociateVPCFromHostedZoneRequest$HostedZoneId": "The ID of the VPC that you want to disassociate from an Amazon Route 53 hosted zone.
",
- "GetChangeDetailsRequest$Id": "The ID of the change batch. This is the value that you specified in the change ID
parameter when you submitted the request.
",
+ "DeleteVPCAssociationAuthorizationRequest$HostedZoneId": "When removing authorization to associate a VPC that was created by one AWS account with a hosted zone that was created with a different AWS account, the ID of the hosted zone.
",
+ "DisassociateVPCFromHostedZoneRequest$HostedZoneId": "The ID of the private hosted zone that you want to disassociate a VPC from.
",
"GetChangeRequest$Id": "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 the request.
",
"GetHostedZoneRequest$Id": "The ID of the hosted zone for which you want to get a list of the name servers in the delegation set.
",
"GetReusableDelegationSetRequest$Id": "The ID of the reusable delegation set for which you want to get a list of the name server.
",
"HostedZone$Id": "The ID that Amazon Route 53 assigned to the hosted zone when you created it.
",
- "ListChangeBatchesByHostedZoneRequest$HostedZoneId": "The ID of the hosted zone that you want to see changes for.
",
- "ListChangeBatchesByRRSetRequest$HostedZoneId": "The ID of the hosted zone that you want to see changes for.
",
"ListHostedZonesByNameRequest$HostedZoneId": "(Optional) For your first request to ListHostedZonesByName
, do not include the hostedzoneid
parameter.
If you have more hosted zones than the value of maxitems
, ListHostedZonesByName
returns only the first maxitems
hosted zones. To get the next group of maxitems
hosted zones, submit another request to ListHostedZonesByName
and include both dnsname
and hostedzoneid
parameters. For the value of hostedzoneid
, specify the value of the NextHostedZoneId
element from the previous response.
",
"ListHostedZonesByNameResponse$HostedZoneId": "The ID that Amazon Route 53 assigned to the hosted zone when you created it.
",
"ListHostedZonesByNameResponse$NextHostedZoneId": "If IsTruncated
is true
, the value of NextHostedZoneId
identifies the first hosted zone in the next group of maxitems
hosted zones. Call ListHostedZonesByName
again and specify the value of NextDNSName
and NextHostedZoneId
in the dnsname
and hostedzoneid
parameters, respectively.
This element is present only if IsTruncated
is true
.
",
@@ -1385,6 +1365,8 @@
"ListTrafficPolicyInstancesByPolicyResponse$HostedZoneIdMarker": "If IsTruncated
is true
, HostedZoneIdMarker
is the ID of the hosted zone of the first traffic policy instance in the next group of MaxItems
traffic policy instances.
",
"ListTrafficPolicyInstancesRequest$HostedZoneIdMarker": "For the first request to ListTrafficPolicyInstances
, omit this value.
If the value of IsTruncated
in the previous response was true
, you have more traffic policy instances. To get the next group of MaxItems
traffic policy instances, submit another ListTrafficPolicyInstances
request. For the value of HostedZoneIdMarker
, specify the value of HostedZoneIdMarker
from the previous response, which is the hosted zone ID of the first traffic policy instance in the next group of MaxItems
traffic policy instances.
If the value of IsTruncated
in the previous response was false
, there are no more traffic policy instances to get.
",
"ListTrafficPolicyInstancesResponse$HostedZoneIdMarker": "If IsTruncated
is true
, HostedZoneIdMarker
is the ID of the hosted zone of the first traffic policy instance in the next group of MaxItems
traffic policy instances.
",
+ "ListVPCAssociationAuthorizationsRequest$HostedZoneId": "The ID of the hosted zone for which you want a list of VPCs that can be associated with the hosted zone.
",
+ "ListVPCAssociationAuthorizationsResponse$HostedZoneId": "The ID of the hosted zone that you can associate the listed VPCs with.
",
"TestDNSAnswerRequest$HostedZoneId": "The ID of the hosted zone that you want Amazon Route 53 to simulate a query for.
",
"TrafficPolicyInstance$HostedZoneId": "The ID of the hosted zone that Amazon Route 53 created resource record sets in.
",
"UpdateHostedZoneCommentRequest$Id": "The ID for the hosted zone for which you want to update the comment.
"
@@ -1413,13 +1395,12 @@
"ResourceRecordSetFailover": {
"base": null,
"refs": {
- "ResourceRecordSet$Failover": " Failover resource record sets only: To configure failover, you add the Failover
element to two resource record sets. For one resource record set, you specify PRIMARY
as the value for Failover
; for the other resource record set, you specify SECONDARY
. In addition, you include the HealthCheckId
element and specify the health check that you want Amazon Route 53 to perform for each resource record set.
Except where noted, the following failover behaviors assume that you have included the HealthCheckId
element in both resource record sets:
-
When the primary resource record set is healthy, Amazon Route 53 responds to DNS queries with the applicable value from the primary resource record set regardless of the health of the secondary resource record set.
-
When the primary resource record set is unhealthy and the secondary resource record set is healthy, Amazon Route 53 responds to DNS queries with the applicable value from the secondary resource record set.
-
When the secondary resource record set is unhealthy, Amazon Route 53 responds to DNS queries with the applicable value from the primary resource record set regardless of the health of the primary resource record set.
-
If you omit the HealthCheckId
element for the secondary resource record set, and if the primary resource record set is unhealthy, Amazon Route 53 always responds to DNS queries with the applicable value from the secondary resource record set. This is true regardless of the health of the associated endpoint.
You cannot create non-failover resource record sets that have the same values for the Name
and Type
elements as failover resource record sets.
For failover alias resource record sets, you must also include the EvaluateTargetHealth
element and set the value to true.
For more information about configuring failover for Amazon Route 53, see the following topics in the Amazon Route 53 Developer Guide:
Valid values: PRIMARY
| SECONDARY
"
+ "ResourceRecordSet$Failover": " Failover resource record sets only: To configure failover, you add the Failover
element to two resource record sets. For one resource record set, you specify PRIMARY
as the value for Failover
; for the other resource record set, you specify SECONDARY
. In addition, you include the HealthCheckId
element and specify the health check that you want Amazon Route 53 to perform for each resource record set.
Except where noted, the following failover behaviors assume that you have included the HealthCheckId
element in both resource record sets:
-
When the primary resource record set is healthy, Amazon Route 53 responds to DNS queries with the applicable value from the primary resource record set regardless of the health of the secondary resource record set.
-
When the primary resource record set is unhealthy and the secondary resource record set is healthy, Amazon Route 53 responds to DNS queries with the applicable value from the secondary resource record set.
-
When the secondary resource record set is unhealthy, Amazon Route 53 responds to DNS queries with the applicable value from the primary resource record set regardless of the health of the primary resource record set.
-
If you omit the HealthCheckId
element for the secondary resource record set, and if the primary resource record set is unhealthy, Amazon Route 53 always responds to DNS queries with the applicable value from the secondary resource record set. This is true regardless of the health of the associated endpoint.
You can't create non-failover resource record sets that have the same values for the Name
and Type
elements as failover resource record sets.
For failover alias resource record sets, you must also include the EvaluateTargetHealth
element and set the value to true.
For more information about configuring failover for Amazon Route 53, see the following topics in the Amazon Route 53 Developer Guide:
Valid values: PRIMARY
| SECONDARY
"
}
},
"ResourceRecordSetIdentifier": {
"base": null,
"refs": {
- "ListChangeBatchesByRRSetRequest$SetIdentifier": "The identifier of the RRSet that you want to see changes for.
",
"ListResourceRecordSetsRequest$StartRecordIdentifier": " Weighted resource record sets only: If results were truncated for a given DNS name and type, specify the value of NextRecordIdentifier
from the previous response to get the next resource record set that has the current DNS name and type.
",
"ListResourceRecordSetsResponse$NextRecordIdentifier": " Weighted, latency, geolocation, and failover resource record sets only: If results were truncated for a given DNS name and type, the value of SetIdentifier
for the next resource record set that has the current DNS name and type.
",
"ResourceRecordSet$SetIdentifier": " Weighted, Latency, Geo, and Failover resource record sets only: An identifier that differentiates among multiple resource record sets that have the same combination of DNS name and type. The value of SetIdentifier
must be unique for each resource record set that has the same combination of DNS name and type. Omit SetIdentifier
for any other types of record sets.
"
@@ -1428,13 +1409,13 @@
"ResourceRecordSetRegion": {
"base": null,
"refs": {
- "ResourceRecordSet$Region": " Latency-based resource record sets only: The Amazon EC2 region where the resource that is specified in this resource record set resides. The resource typically is an AWS resource, such as an Amazon EC2 instance or an ELB load balancer, and is referred to by an IP address or a DNS domain name, depending on the record type.
Creating latency and latency alias resource record sets in private hosted zones is not supported.
When Amazon Route 53 receives a DNS query for a domain name and type for which you have created latency resource record sets, Amazon Route 53 selects the latency resource record set that has the lowest latency between the end user and the associated Amazon EC2 region. Amazon Route 53 then returns the value that is associated with the selected resource record set.
Note the following:
-
You can only specify one ResourceRecord
per latency resource record set.
-
You can only create one latency resource record set for each Amazon EC2 region.
-
You are not required to create latency resource record sets for all Amazon EC2 regions. Amazon Route 53 will choose the region with the best latency from among the regions for which you create latency resource record sets.
-
You cannot create non-latency resource record sets that have the same values for the Name
and Type
elements as latency resource record sets.
"
+ "ResourceRecordSet$Region": " Latency-based resource record sets only: The Amazon EC2 Region where the resource that is specified in this resource record set resides. The resource typically is an AWS resource, such as an EC2 instance or an ELB load balancer, and is referred to by an IP address or a DNS domain name, depending on the record type.
Creating latency and latency alias resource record sets in private hosted zones is not supported.
When Amazon Route 53 receives a DNS query for a domain name and type for which you have created latency resource record sets, Amazon Route 53 selects the latency resource record set that has the lowest latency between the end user and the associated Amazon EC2 Region. Amazon Route 53 then returns the value that is associated with the selected resource record set.
Note the following:
-
You can only specify one ResourceRecord
per latency resource record set.
-
You can only create one latency resource record set for each Amazon EC2 Region.
-
You are not required to create latency resource record sets for all Amazon EC2 Regions. Amazon Route 53 will choose the region with the best latency from among the regions for which you create latency resource record sets.
-
You can't create non-latency resource record sets that have the same values for the Name
and Type
elements as latency resource record sets.
"
}
},
"ResourceRecordSetWeight": {
"base": null,
"refs": {
- "ResourceRecordSet$Weight": " Weighted resource record sets only: Among resource record sets that have the same combination of DNS name and type, a value that determines the proportion of DNS queries that Amazon Route 53 responds to using the current resource record set. Amazon Route 53 calculates the sum of the weights for the resource record sets that have the same combination of DNS name and type. Amazon Route 53 then responds to queries based on the ratio of a resource's weight to the total. Note the following:
-
You must specify a value for the Weight
element for every weighted resource record set.
-
You can only specify one ResourceRecord
per weighted resource record set.
-
You cannot create latency, failover, or geolocation resource record sets that have the same values for the Name
and Type
elements as weighted resource record sets.
-
You can create a maximum of 100 weighted resource record sets that have the same values for the Name
and Type
elements.
-
For weighted (but not weighted alias) resource record sets, if you set Weight
to 0
for a resource record set, Amazon Route 53 never responds to queries with the applicable value for that resource record set. However, if you set Weight
to 0
for all resource record sets that have the same combination of DNS name and type, traffic is routed to all resources with equal probability.
The effect of setting Weight
to 0
is different when you associate health checks with weighted resource record sets. For more information, see Options for Configuring Amazon Route 53 Active-Active and Active-Passive Failover in the Amazon Route 53 Developer Guide.
"
+ "ResourceRecordSet$Weight": " Weighted resource record sets only: Among resource record sets that have the same combination of DNS name and type, a value that determines the proportion of DNS queries that Amazon Route 53 responds to using the current resource record set. Amazon Route 53 calculates the sum of the weights for the resource record sets that have the same combination of DNS name and type. Amazon Route 53 then responds to queries based on the ratio of a resource's weight to the total. Note the following:
-
You must specify a value for the Weight
element for every weighted resource record set.
-
You can only specify one ResourceRecord
per weighted resource record set.
-
You can't create latency, failover, or geolocation resource record sets that have the same values for the Name
and Type
elements as weighted resource record sets.
-
You can create a maximum of 100 weighted resource record sets that have the same values for the Name
and Type
elements.
-
For weighted (but not weighted alias) resource record sets, if you set Weight
to 0
for a resource record set, Amazon Route 53 never responds to queries with the applicable value for that resource record set. However, if you set Weight
to 0
for all resource record sets that have the same combination of DNS name and type, traffic is routed to all resources with equal probability.
The effect of setting Weight
to 0
is different when you associate health checks with weighted resource record sets. For more information, see Options for Configuring Amazon Route 53 Active-Active and Active-Passive Failover in the Amazon Route 53 Developer Guide.
"
}
},
"ResourceRecordSets": {
@@ -1593,7 +1574,6 @@
"TimeStamp": {
"base": null,
"refs": {
- "ChangeBatchRecord$SubmittedAt": "The date and time the change was submitted, in the format YYYY-MM-DDThh:mm:ssZ
, as specified in the ISO 8601 standard (for example, 2009-11-19T19:37:58Z). The Z
after the time indicates that the time is listed in Coordinated Universal Time (UTC).
",
"ChangeInfo$SubmittedAt": "The date and time the change request was submitted, in Coordinated Universal Time (UTC) format: YYYY-MM-DDThh:mm:ssZ
. For more information, see the Wikipedia entry ISO 8601.
",
"StatusReport$CheckedTime": "The time at which the health checker performed the health check in ISO 8601 format and Coordinated Universal Time (UTC). For example, the value 2014-10-27T17:48:16.751Z
represents October 27, 2014 at 17:48:16.751 UTC.
"
}
@@ -1604,7 +1584,7 @@
}
},
"TooManyHostedZones": {
- "base": "This hosted zone cannot be created because the hosted zone limit is exceeded. To request a limit increase, go to the Amazon Route 53 Contact Us page.
",
+ "base": "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 page.
",
"refs": {
}
},
@@ -1618,6 +1598,11 @@
"refs": {
}
},
+ "TooManyVPCAssociationAuthorizations": {
+ "base": "You've created the maximum number of authorizations that can be created for the specified hosted zone. To authorize another VPC to be associated with the hosted zone, submit a DeleteVPCAssociationAuthorization
request to remove an existing authorization. To get a list of existing authorizations, submit a ListVPCAssociationAuthorizations
request.
",
+ "refs": {
+ }
+ },
"TrafficPolicies": {
"base": null,
"refs": {
@@ -1651,9 +1636,9 @@
"TrafficPolicyDocument": {
"base": null,
"refs": {
- "CreateTrafficPolicyRequest$Document": "The definition of this traffic policy in JSON format. For more information, see Traffic Policy Document Format in the Amazon Route 53 API Reference.
",
+ "CreateTrafficPolicyRequest$Document": "The definition of this traffic policy in JSON format. For more information, see Traffic Policy Document Format.
",
"CreateTrafficPolicyVersionRequest$Document": "The definition of this version of the traffic policy, in JSON format. You specified the JSON in the CreateTrafficPolicyVersion
request. For more information about the JSON format, see CreateTrafficPolicy.
",
- "TrafficPolicy$Document": "The definition of a traffic policy in JSON format. You specify the JSON document to use for a new traffic policy in the CreateTrafficPolicy
request. For more information about the JSON format, see Traffic Policy Document Format.
"
+ "TrafficPolicy$Document": "The definition of a traffic policy in JSON format. You specify the JSON document to use for a new traffic policy in the CreateTrafficPolicy
request. For more information about the JSON format, see Traffic Policy Document Format.
"
}
},
"TrafficPolicyId": {
@@ -1812,22 +1797,30 @@
}
},
"VPC": {
- "base": "A complex type that contains information about the Amazon VPC that you're associating with the specified hosted zone.
",
+ "base": "A complex type that contains information about an Amazon VPC that is associated with a private hosted zone.
",
"refs": {
- "AssociateVPCWithHostedZoneRequest$VPC": "A complex type containing information about the Amazon VPC that you're associating with the specified hosted zone.
",
- "CreateHostedZoneRequest$VPC": "The VPC that you want your hosted zone to be associated with. By providing this parameter, your newly created hosted cannot be resolved anywhere other than the given VPC.
",
+ "AssociateVPCWithHostedZoneRequest$VPC": "A complex type that contains information about the VPC that you want to associate with a private hosted zone.
",
+ "CreateHostedZoneRequest$VPC": "The VPC that you want your hosted zone to be associated with. By providing this parameter, your newly created hosted can't be resolved anywhere other than the given VPC.
",
"CreateHostedZoneResponse$VPC": "A complex type that contains information about an Amazon VPC that you associated with this hosted zone.
",
- "DisassociateVPCFromHostedZoneRequest$VPC": "A complex type containing information about the Amazon VPC that you're disassociating from the specified hosted zone.
",
+ "CreateVPCAssociationAuthorizationRequest$VPC": "A complex type that contains the VPC ID and region for the VPC that you want to authorize associating with your hosted zone.
",
+ "CreateVPCAssociationAuthorizationResponse$VPC": "The VPC that you authorized associating with a hosted zone.
",
+ "DeleteVPCAssociationAuthorizationRequest$VPC": "When removing authorization to associate a VPC that was created by one AWS account with a hosted zone that was created with a different AWS account, a complex type that includes the ID and region of the VPC.
",
+ "DisassociateVPCFromHostedZoneRequest$VPC": "A complex type that contains information about the VPC that you're disassociating from the specified hosted zone.
",
"VPCs$member": null
}
},
+ "VPCAssociationAuthorizationNotFound": {
+ "base": "The VPC that you specified is not authorized to be associated with the hosted zone.
",
+ "refs": {
+ }
+ },
"VPCAssociationNotFound": {
"base": "The specified VPC and hosted zone are not currently associated.
",
"refs": {
}
},
"VPCId": {
- "base": "A VPC ID
",
+ "base": "The ID of an Amazon VPC.
",
"refs": {
"VPC$VPCId": null
}
@@ -1839,9 +1832,10 @@
}
},
"VPCs": {
- "base": "A list of VPCs
",
+ "base": "A list of VPC
elements.
",
"refs": {
- "GetHostedZoneResponse$VPCs": "A complex type that contains information about VPCs associated with the specified hosted zone.
"
+ "GetHostedZoneResponse$VPCs": "A complex type that contains information about VPCs associated with the specified hosted zone.
",
+ "ListVPCAssociationAuthorizationsResponse$VPCs": "The list of VPCs that are authorized to be associated with the specified hosted zone.
"
}
}
}
diff --git a/vendor/github.com/aws/aws-sdk-go/models/apis/servicecatalog/2015-12-10/api-2.json b/vendor/github.com/aws/aws-sdk-go/models/apis/servicecatalog/2015-12-10/api-2.json
index c346c37..bd24895 100644
--- a/vendor/github.com/aws/aws-sdk-go/models/apis/servicecatalog/2015-12-10/api-2.json
+++ b/vendor/github.com/aws/aws-sdk-go/models/apis/servicecatalog/2015-12-10/api-2.json
@@ -10,6 +10,208 @@
"targetPrefix":"AWS242ServiceCatalogService"
},
"operations":{
+ "AcceptPortfolioShare":{
+ "name":"AcceptPortfolioShare",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"AcceptPortfolioShareInput"},
+ "output":{"shape":"AcceptPortfolioShareOutput"},
+ "errors":[
+ {"shape":"InvalidParametersException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"LimitExceededException"}
+ ]
+ },
+ "AssociatePrincipalWithPortfolio":{
+ "name":"AssociatePrincipalWithPortfolio",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"AssociatePrincipalWithPortfolioInput"},
+ "output":{"shape":"AssociatePrincipalWithPortfolioOutput"},
+ "errors":[
+ {"shape":"InvalidParametersException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"LimitExceededException"}
+ ]
+ },
+ "AssociateProductWithPortfolio":{
+ "name":"AssociateProductWithPortfolio",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"AssociateProductWithPortfolioInput"},
+ "output":{"shape":"AssociateProductWithPortfolioOutput"},
+ "errors":[
+ {"shape":"InvalidParametersException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"LimitExceededException"}
+ ]
+ },
+ "CreateConstraint":{
+ "name":"CreateConstraint",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"CreateConstraintInput"},
+ "output":{"shape":"CreateConstraintOutput"},
+ "errors":[
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"InvalidParametersException"},
+ {"shape":"LimitExceededException"},
+ {"shape":"DuplicateResourceException"}
+ ]
+ },
+ "CreatePortfolio":{
+ "name":"CreatePortfolio",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"CreatePortfolioInput"},
+ "output":{"shape":"CreatePortfolioOutput"},
+ "errors":[
+ {"shape":"InvalidParametersException"},
+ {"shape":"LimitExceededException"}
+ ]
+ },
+ "CreatePortfolioShare":{
+ "name":"CreatePortfolioShare",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"CreatePortfolioShareInput"},
+ "output":{"shape":"CreatePortfolioShareOutput"},
+ "errors":[
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"LimitExceededException"},
+ {"shape":"InvalidParametersException"}
+ ]
+ },
+ "CreateProduct":{
+ "name":"CreateProduct",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"CreateProductInput"},
+ "output":{"shape":"CreateProductOutput"},
+ "errors":[
+ {"shape":"InvalidParametersException"},
+ {"shape":"LimitExceededException"}
+ ]
+ },
+ "CreateProvisioningArtifact":{
+ "name":"CreateProvisioningArtifact",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"CreateProvisioningArtifactInput"},
+ "output":{"shape":"CreateProvisioningArtifactOutput"},
+ "errors":[
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"InvalidParametersException"},
+ {"shape":"LimitExceededException"}
+ ]
+ },
+ "DeleteConstraint":{
+ "name":"DeleteConstraint",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"DeleteConstraintInput"},
+ "output":{"shape":"DeleteConstraintOutput"},
+ "errors":[
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"InvalidParametersException"}
+ ]
+ },
+ "DeletePortfolio":{
+ "name":"DeletePortfolio",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"DeletePortfolioInput"},
+ "output":{"shape":"DeletePortfolioOutput"},
+ "errors":[
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"InvalidParametersException"},
+ {"shape":"ResourceInUseException"}
+ ]
+ },
+ "DeletePortfolioShare":{
+ "name":"DeletePortfolioShare",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"DeletePortfolioShareInput"},
+ "output":{"shape":"DeletePortfolioShareOutput"},
+ "errors":[
+ {"shape":"ResourceNotFoundException"}
+ ]
+ },
+ "DeleteProduct":{
+ "name":"DeleteProduct",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"DeleteProductInput"},
+ "output":{"shape":"DeleteProductOutput"},
+ "errors":[
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"ResourceInUseException"},
+ {"shape":"InvalidParametersException"}
+ ]
+ },
+ "DeleteProvisioningArtifact":{
+ "name":"DeleteProvisioningArtifact",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"DeleteProvisioningArtifactInput"},
+ "output":{"shape":"DeleteProvisioningArtifactOutput"},
+ "errors":[
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"ResourceInUseException"},
+ {"shape":"InvalidParametersException"}
+ ]
+ },
+ "DescribeConstraint":{
+ "name":"DescribeConstraint",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"DescribeConstraintInput"},
+ "output":{"shape":"DescribeConstraintOutput"},
+ "errors":[
+ {"shape":"ResourceNotFoundException"}
+ ]
+ },
+ "DescribePortfolio":{
+ "name":"DescribePortfolio",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"DescribePortfolioInput"},
+ "output":{"shape":"DescribePortfolioOutput"},
+ "errors":[
+ {"shape":"ResourceNotFoundException"}
+ ]
+ },
"DescribeProduct":{
"name":"DescribeProduct",
"http":{
@@ -23,6 +225,18 @@
{"shape":"InvalidParametersException"}
]
},
+ "DescribeProductAsAdmin":{
+ "name":"DescribeProductAsAdmin",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"DescribeProductAsAdminInput"},
+ "output":{"shape":"DescribeProductAsAdminOutput"},
+ "errors":[
+ {"shape":"ResourceNotFoundException"}
+ ]
+ },
"DescribeProductView":{
"name":"DescribeProductView",
"http":{
@@ -36,6 +250,18 @@
{"shape":"InvalidParametersException"}
]
},
+ "DescribeProvisioningArtifact":{
+ "name":"DescribeProvisioningArtifact",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"DescribeProvisioningArtifactInput"},
+ "output":{"shape":"DescribeProvisioningArtifactOutput"},
+ "errors":[
+ {"shape":"ResourceNotFoundException"}
+ ]
+ },
"DescribeProvisioningParameters":{
"name":"DescribeProvisioningParameters",
"http":{
@@ -61,6 +287,57 @@
{"shape":"ResourceNotFoundException"}
]
},
+ "DisassociatePrincipalFromPortfolio":{
+ "name":"DisassociatePrincipalFromPortfolio",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"DisassociatePrincipalFromPortfolioInput"},
+ "output":{"shape":"DisassociatePrincipalFromPortfolioOutput"},
+ "errors":[
+ {"shape":"InvalidParametersException"},
+ {"shape":"ResourceNotFoundException"}
+ ]
+ },
+ "DisassociateProductFromPortfolio":{
+ "name":"DisassociateProductFromPortfolio",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"DisassociateProductFromPortfolioInput"},
+ "output":{"shape":"DisassociateProductFromPortfolioOutput"},
+ "errors":[
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"InvalidParametersException"}
+ ]
+ },
+ "ListAcceptedPortfolioShares":{
+ "name":"ListAcceptedPortfolioShares",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"ListAcceptedPortfolioSharesInput"},
+ "output":{"shape":"ListAcceptedPortfolioSharesOutput"},
+ "errors":[
+ {"shape":"InvalidParametersException"}
+ ]
+ },
+ "ListConstraintsForPortfolio":{
+ "name":"ListConstraintsForPortfolio",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"ListConstraintsForPortfolioInput"},
+ "output":{"shape":"ListConstraintsForPortfolioOutput"},
+ "errors":[
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"InvalidParametersException"}
+ ]
+ },
"ListLaunchPaths":{
"name":"ListLaunchPaths",
"http":{
@@ -74,6 +351,69 @@
{"shape":"ResourceNotFoundException"}
]
},
+ "ListPortfolioAccess":{
+ "name":"ListPortfolioAccess",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"ListPortfolioAccessInput"},
+ "output":{"shape":"ListPortfolioAccessOutput"},
+ "errors":[
+ {"shape":"ResourceNotFoundException"}
+ ]
+ },
+ "ListPortfolios":{
+ "name":"ListPortfolios",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"ListPortfoliosInput"},
+ "output":{"shape":"ListPortfoliosOutput"},
+ "errors":[
+ {"shape":"InvalidParametersException"}
+ ]
+ },
+ "ListPortfoliosForProduct":{
+ "name":"ListPortfoliosForProduct",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"ListPortfoliosForProductInput"},
+ "output":{"shape":"ListPortfoliosForProductOutput"},
+ "errors":[
+ {"shape":"InvalidParametersException"},
+ {"shape":"ResourceNotFoundException"}
+ ]
+ },
+ "ListPrincipalsForPortfolio":{
+ "name":"ListPrincipalsForPortfolio",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"ListPrincipalsForPortfolioInput"},
+ "output":{"shape":"ListPrincipalsForPortfolioOutput"},
+ "errors":[
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"InvalidParametersException"}
+ ]
+ },
+ "ListProvisioningArtifacts":{
+ "name":"ListProvisioningArtifacts",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"ListProvisioningArtifactsInput"},
+ "output":{"shape":"ListProvisioningArtifactsOutput"},
+ "errors":[
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"InvalidParametersException"}
+ ]
+ },
"ListRecordHistory":{
"name":"ListRecordHistory",
"http":{
@@ -100,6 +440,18 @@
{"shape":"DuplicateResourceException"}
]
},
+ "RejectPortfolioShare":{
+ "name":"RejectPortfolioShare",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"RejectPortfolioShareInput"},
+ "output":{"shape":"RejectPortfolioShareOutput"},
+ "errors":[
+ {"shape":"ResourceNotFoundException"}
+ ]
+ },
"ScanProvisionedProducts":{
"name":"ScanProvisionedProducts",
"http":{
@@ -124,6 +476,19 @@
{"shape":"InvalidParametersException"}
]
},
+ "SearchProductsAsAdmin":{
+ "name":"SearchProductsAsAdmin",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"SearchProductsAsAdminInput"},
+ "output":{"shape":"SearchProductsAsAdminOutput"},
+ "errors":[
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"InvalidParametersException"}
+ ]
+ },
"TerminateProvisionedProduct":{
"name":"TerminateProvisionedProduct",
"http":{
@@ -136,24 +501,90 @@
{"shape":"ResourceNotFoundException"}
]
},
- "UpdateProvisionedProduct":{
- "name":"UpdateProvisionedProduct",
+ "UpdateConstraint":{
+ "name":"UpdateConstraint",
"http":{
"method":"POST",
"requestUri":"/"
},
- "input":{"shape":"UpdateProvisionedProductInput"},
- "output":{"shape":"UpdateProvisionedProductOutput"},
+ "input":{"shape":"UpdateConstraintInput"},
+ "output":{"shape":"UpdateConstraintOutput"},
"errors":[
- {"shape":"InvalidParametersException"},
- {"shape":"ResourceNotFoundException"}
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"InvalidParametersException"}
]
- }
- },
- "shapes":{
- "AcceptLanguage":{"type":"string"},
- "AccessLevelFilter":{
- "type":"structure",
+ },
+ "UpdatePortfolio":{
+ "name":"UpdatePortfolio",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"UpdatePortfolioInput"},
+ "output":{"shape":"UpdatePortfolioOutput"},
+ "errors":[
+ {"shape":"InvalidParametersException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"LimitExceededException"}
+ ]
+ },
+ "UpdateProduct":{
+ "name":"UpdateProduct",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"UpdateProductInput"},
+ "output":{"shape":"UpdateProductOutput"},
+ "errors":[
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"InvalidParametersException"}
+ ]
+ },
+ "UpdateProvisionedProduct":{
+ "name":"UpdateProvisionedProduct",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"UpdateProvisionedProductInput"},
+ "output":{"shape":"UpdateProvisionedProductOutput"},
+ "errors":[
+ {"shape":"InvalidParametersException"},
+ {"shape":"ResourceNotFoundException"}
+ ]
+ },
+ "UpdateProvisioningArtifact":{
+ "name":"UpdateProvisioningArtifact",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"UpdateProvisioningArtifactInput"},
+ "output":{"shape":"UpdateProvisioningArtifactOutput"},
+ "errors":[
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"InvalidParametersException"}
+ ]
+ }
+ },
+ "shapes":{
+ "AcceptLanguage":{"type":"string"},
+ "AcceptPortfolioShareInput":{
+ "type":"structure",
+ "required":["PortfolioId"],
+ "members":{
+ "AcceptLanguage":{"shape":"AcceptLanguage"},
+ "PortfolioId":{"shape":"Id"}
+ }
+ },
+ "AcceptPortfolioShareOutput":{
+ "type":"structure",
+ "members":{
+ }
+ },
+ "AccessLevelFilter":{
+ "type":"structure",
"members":{
"Key":{"shape":"AccessLevelFilterKey"},
"Value":{"shape":"AccessLevelFilterValue"}
@@ -168,14 +599,81 @@
]
},
"AccessLevelFilterValue":{"type":"string"},
+ "AccountId":{
+ "type":"string",
+ "pattern":"^[0-9]{12}$"
+ },
+ "AccountIds":{
+ "type":"list",
+ "member":{"shape":"AccountId"}
+ },
+ "AddTags":{
+ "type":"list",
+ "member":{"shape":"Tag"},
+ "max":20
+ },
"AllowedValue":{"type":"string"},
"AllowedValues":{
"type":"list",
"member":{"shape":"AllowedValue"}
},
"ApproximateCount":{"type":"integer"},
+ "AssociatePrincipalWithPortfolioInput":{
+ "type":"structure",
+ "required":[
+ "PortfolioId",
+ "PrincipalARN",
+ "PrincipalType"
+ ],
+ "members":{
+ "AcceptLanguage":{"shape":"AcceptLanguage"},
+ "PortfolioId":{"shape":"Id"},
+ "PrincipalARN":{"shape":"PrincipalARN"},
+ "PrincipalType":{"shape":"PrincipalType"}
+ }
+ },
+ "AssociatePrincipalWithPortfolioOutput":{
+ "type":"structure",
+ "members":{
+ }
+ },
+ "AssociateProductWithPortfolioInput":{
+ "type":"structure",
+ "required":[
+ "ProductId",
+ "PortfolioId"
+ ],
+ "members":{
+ "AcceptLanguage":{"shape":"AcceptLanguage"},
+ "ProductId":{"shape":"Id"},
+ "PortfolioId":{"shape":"Id"},
+ "SourcePortfolioId":{"shape":"Id"}
+ }
+ },
+ "AssociateProductWithPortfolioOutput":{
+ "type":"structure",
+ "members":{
+ }
+ },
"AttributeValue":{"type":"string"},
- "ConstraintDescription":{"type":"string"},
+ "ConstraintDescription":{
+ "type":"string",
+ "max":2000
+ },
+ "ConstraintDetail":{
+ "type":"structure",
+ "members":{
+ "ConstraintId":{"shape":"Id"},
+ "Type":{"shape":"ConstraintType"},
+ "Description":{"shape":"ConstraintDescription"},
+ "Owner":{"shape":"AccountId"}
+ }
+ },
+ "ConstraintDetails":{
+ "type":"list",
+ "member":{"shape":"ConstraintDetail"}
+ },
+ "ConstraintParameters":{"type":"string"},
"ConstraintSummaries":{
"type":"list",
"member":{"shape":"ConstraintSummary"}
@@ -187,9 +685,266 @@
"Description":{"shape":"ConstraintDescription"}
}
},
- "ConstraintType":{"type":"string"},
+ "ConstraintType":{
+ "type":"string",
+ "max":1024,
+ "min":1
+ },
+ "CreateConstraintInput":{
+ "type":"structure",
+ "required":[
+ "PortfolioId",
+ "ProductId",
+ "Parameters",
+ "Type",
+ "IdempotencyToken"
+ ],
+ "members":{
+ "AcceptLanguage":{"shape":"AcceptLanguage"},
+ "PortfolioId":{"shape":"Id"},
+ "ProductId":{"shape":"Id"},
+ "Parameters":{"shape":"ConstraintParameters"},
+ "Type":{"shape":"ConstraintType"},
+ "Description":{"shape":"ConstraintDescription"},
+ "IdempotencyToken":{
+ "shape":"IdempotencyToken",
+ "idempotencyToken":true
+ }
+ }
+ },
+ "CreateConstraintOutput":{
+ "type":"structure",
+ "members":{
+ "ConstraintDetail":{"shape":"ConstraintDetail"},
+ "ConstraintParameters":{"shape":"ConstraintParameters"},
+ "Status":{"shape":"Status"}
+ }
+ },
+ "CreatePortfolioInput":{
+ "type":"structure",
+ "required":[
+ "DisplayName",
+ "ProviderName",
+ "IdempotencyToken"
+ ],
+ "members":{
+ "AcceptLanguage":{"shape":"AcceptLanguage"},
+ "DisplayName":{"shape":"PortfolioDisplayName"},
+ "Description":{"shape":"PortfolioDescription"},
+ "ProviderName":{"shape":"ProviderName"},
+ "Tags":{"shape":"AddTags"},
+ "IdempotencyToken":{
+ "shape":"IdempotencyToken",
+ "idempotencyToken":true
+ }
+ }
+ },
+ "CreatePortfolioOutput":{
+ "type":"structure",
+ "members":{
+ "PortfolioDetail":{"shape":"PortfolioDetail"},
+ "Tags":{"shape":"Tags"}
+ }
+ },
+ "CreatePortfolioShareInput":{
+ "type":"structure",
+ "required":[
+ "PortfolioId",
+ "AccountId"
+ ],
+ "members":{
+ "AcceptLanguage":{"shape":"AcceptLanguage"},
+ "PortfolioId":{"shape":"Id"},
+ "AccountId":{"shape":"AccountId"}
+ }
+ },
+ "CreatePortfolioShareOutput":{
+ "type":"structure",
+ "members":{
+ }
+ },
+ "CreateProductInput":{
+ "type":"structure",
+ "required":[
+ "Name",
+ "Owner",
+ "ProductType",
+ "ProvisioningArtifactParameters",
+ "IdempotencyToken"
+ ],
+ "members":{
+ "AcceptLanguage":{"shape":"AcceptLanguage"},
+ "Name":{"shape":"ProductViewName"},
+ "Owner":{"shape":"ProductViewOwner"},
+ "Description":{"shape":"ProductViewShortDescription"},
+ "Distributor":{"shape":"ProductViewOwner"},
+ "SupportDescription":{"shape":"SupportDescription"},
+ "SupportEmail":{"shape":"SupportEmail"},
+ "SupportUrl":{"shape":"SupportUrl"},
+ "ProductType":{"shape":"ProductType"},
+ "Tags":{"shape":"AddTags"},
+ "ProvisioningArtifactParameters":{"shape":"ProvisioningArtifactProperties"},
+ "IdempotencyToken":{
+ "shape":"IdempotencyToken",
+ "idempotencyToken":true
+ }
+ }
+ },
+ "CreateProductOutput":{
+ "type":"structure",
+ "members":{
+ "ProductViewDetail":{"shape":"ProductViewDetail"},
+ "ProvisioningArtifactDetail":{"shape":"ProvisioningArtifactDetail"},
+ "Tags":{"shape":"Tags"}
+ }
+ },
+ "CreateProvisioningArtifactInput":{
+ "type":"structure",
+ "required":[
+ "ProductId",
+ "Parameters",
+ "IdempotencyToken"
+ ],
+ "members":{
+ "AcceptLanguage":{"shape":"AcceptLanguage"},
+ "ProductId":{"shape":"Id"},
+ "Parameters":{"shape":"ProvisioningArtifactProperties"},
+ "IdempotencyToken":{
+ "shape":"IdempotencyToken",
+ "idempotencyToken":true
+ }
+ }
+ },
+ "CreateProvisioningArtifactOutput":{
+ "type":"structure",
+ "members":{
+ "ProvisioningArtifactDetail":{"shape":"ProvisioningArtifactDetail"},
+ "Info":{"shape":"ProvisioningArtifactInfo"},
+ "Status":{"shape":"Status"}
+ }
+ },
"CreatedTime":{"type":"timestamp"},
+ "CreationTime":{"type":"timestamp"},
"DefaultValue":{"type":"string"},
+ "DeleteConstraintInput":{
+ "type":"structure",
+ "required":["Id"],
+ "members":{
+ "AcceptLanguage":{"shape":"AcceptLanguage"},
+ "Id":{"shape":"Id"}
+ }
+ },
+ "DeleteConstraintOutput":{
+ "type":"structure",
+ "members":{
+ }
+ },
+ "DeletePortfolioInput":{
+ "type":"structure",
+ "required":["Id"],
+ "members":{
+ "AcceptLanguage":{"shape":"AcceptLanguage"},
+ "Id":{"shape":"Id"}
+ }
+ },
+ "DeletePortfolioOutput":{
+ "type":"structure",
+ "members":{
+ }
+ },
+ "DeletePortfolioShareInput":{
+ "type":"structure",
+ "required":[
+ "PortfolioId",
+ "AccountId"
+ ],
+ "members":{
+ "AcceptLanguage":{"shape":"AcceptLanguage"},
+ "PortfolioId":{"shape":"Id"},
+ "AccountId":{"shape":"AccountId"}
+ }
+ },
+ "DeletePortfolioShareOutput":{
+ "type":"structure",
+ "members":{
+ }
+ },
+ "DeleteProductInput":{
+ "type":"structure",
+ "required":["Id"],
+ "members":{
+ "AcceptLanguage":{"shape":"AcceptLanguage"},
+ "Id":{"shape":"Id"}
+ }
+ },
+ "DeleteProductOutput":{
+ "type":"structure",
+ "members":{
+ }
+ },
+ "DeleteProvisioningArtifactInput":{
+ "type":"structure",
+ "required":[
+ "ProductId",
+ "ProvisioningArtifactId"
+ ],
+ "members":{
+ "AcceptLanguage":{"shape":"AcceptLanguage"},
+ "ProductId":{"shape":"Id"},
+ "ProvisioningArtifactId":{"shape":"Id"}
+ }
+ },
+ "DeleteProvisioningArtifactOutput":{
+ "type":"structure",
+ "members":{
+ }
+ },
+ "DescribeConstraintInput":{
+ "type":"structure",
+ "required":["Id"],
+ "members":{
+ "AcceptLanguage":{"shape":"AcceptLanguage"},
+ "Id":{"shape":"Id"}
+ }
+ },
+ "DescribeConstraintOutput":{
+ "type":"structure",
+ "members":{
+ "ConstraintDetail":{"shape":"ConstraintDetail"},
+ "ConstraintParameters":{"shape":"ConstraintParameters"},
+ "Status":{"shape":"Status"}
+ }
+ },
+ "DescribePortfolioInput":{
+ "type":"structure",
+ "required":["Id"],
+ "members":{
+ "AcceptLanguage":{"shape":"AcceptLanguage"},
+ "Id":{"shape":"Id"}
+ }
+ },
+ "DescribePortfolioOutput":{
+ "type":"structure",
+ "members":{
+ "PortfolioDetail":{"shape":"PortfolioDetail"},
+ "Tags":{"shape":"Tags"}
+ }
+ },
+ "DescribeProductAsAdminInput":{
+ "type":"structure",
+ "required":["Id"],
+ "members":{
+ "AcceptLanguage":{"shape":"AcceptLanguage"},
+ "Id":{"shape":"Id"}
+ }
+ },
+ "DescribeProductAsAdminOutput":{
+ "type":"structure",
+ "members":{
+ "ProductViewDetail":{"shape":"ProductViewDetail"},
+ "Tags":{"shape":"Tags"}
+ }
+ },
"DescribeProductInput":{
"type":"structure",
"required":["Id"],
@@ -220,6 +975,26 @@
"ProvisioningArtifacts":{"shape":"ProvisioningArtifacts"}
}
},
+ "DescribeProvisioningArtifactInput":{
+ "type":"structure",
+ "required":[
+ "ProvisioningArtifactId",
+ "ProductId"
+ ],
+ "members":{
+ "AcceptLanguage":{"shape":"AcceptLanguage"},
+ "ProvisioningArtifactId":{"shape":"Id"},
+ "ProductId":{"shape":"Id"}
+ }
+ },
+ "DescribeProvisioningArtifactOutput":{
+ "type":"structure",
+ "members":{
+ "ProvisioningArtifactDetail":{"shape":"ProvisioningArtifactDetail"},
+ "Info":{"shape":"ProvisioningArtifactInfo"},
+ "Status":{"shape":"Status"}
+ }
+ },
"DescribeProvisioningParametersInput":{
"type":"structure",
"required":[
@@ -246,20 +1021,54 @@
"required":["Id"],
"members":{
"AcceptLanguage":{"shape":"AcceptLanguage"},
- "Id":{"shape":"Id"},
- "PageToken":{"shape":"PageToken"},
- "PageSize":{"shape":"PageSize"}
+ "Id":{"shape":"Id"},
+ "PageToken":{"shape":"PageToken"},
+ "PageSize":{"shape":"PageSize"}
+ }
+ },
+ "DescribeRecordOutput":{
+ "type":"structure",
+ "members":{
+ "RecordDetail":{"shape":"RecordDetail"},
+ "RecordOutputs":{"shape":"RecordOutputs"},
+ "NextPageToken":{"shape":"PageToken"}
+ }
+ },
+ "Description":{"type":"string"},
+ "DisassociatePrincipalFromPortfolioInput":{
+ "type":"structure",
+ "required":[
+ "PortfolioId",
+ "PrincipalARN"
+ ],
+ "members":{
+ "AcceptLanguage":{"shape":"AcceptLanguage"},
+ "PortfolioId":{"shape":"Id"},
+ "PrincipalARN":{"shape":"PrincipalARN"}
+ }
+ },
+ "DisassociatePrincipalFromPortfolioOutput":{
+ "type":"structure",
+ "members":{
+ }
+ },
+ "DisassociateProductFromPortfolioInput":{
+ "type":"structure",
+ "required":[
+ "ProductId",
+ "PortfolioId"
+ ],
+ "members":{
+ "AcceptLanguage":{"shape":"AcceptLanguage"},
+ "ProductId":{"shape":"Id"},
+ "PortfolioId":{"shape":"Id"}
}
},
- "DescribeRecordOutput":{
+ "DisassociateProductFromPortfolioOutput":{
"type":"structure",
"members":{
- "RecordDetail":{"shape":"RecordDetail"},
- "RecordOutputs":{"shape":"RecordOutputs"},
- "NextPageToken":{"shape":"PageToken"}
}
},
- "Description":{"type":"string"},
"DuplicateResourceException":{
"type":"structure",
"members":{
@@ -271,6 +1080,7 @@
"HasDefaultPath":{"type":"boolean"},
"Id":{
"type":"string",
+ "max":100,
"min":1
},
"IdempotencyToken":{
@@ -302,6 +1112,45 @@
"Name":{"shape":"PortfolioName"}
}
},
+ "LimitExceededException":{
+ "type":"structure",
+ "members":{
+ },
+ "exception":true
+ },
+ "ListAcceptedPortfolioSharesInput":{
+ "type":"structure",
+ "members":{
+ "AcceptLanguage":{"shape":"AcceptLanguage"},
+ "PageToken":{"shape":"PageToken"},
+ "PageSize":{"shape":"PageSize"}
+ }
+ },
+ "ListAcceptedPortfolioSharesOutput":{
+ "type":"structure",
+ "members":{
+ "PortfolioDetails":{"shape":"PortfolioDetails"},
+ "NextPageToken":{"shape":"PageToken"}
+ }
+ },
+ "ListConstraintsForPortfolioInput":{
+ "type":"structure",
+ "required":["PortfolioId"],
+ "members":{
+ "AcceptLanguage":{"shape":"AcceptLanguage"},
+ "PortfolioId":{"shape":"Id"},
+ "ProductId":{"shape":"Id"},
+ "PageSize":{"shape":"PageSize"},
+ "PageToken":{"shape":"PageToken"}
+ }
+ },
+ "ListConstraintsForPortfolioOutput":{
+ "type":"structure",
+ "members":{
+ "ConstraintDetails":{"shape":"ConstraintDetails"},
+ "NextPageToken":{"shape":"PageToken"}
+ }
+ },
"ListLaunchPathsInput":{
"type":"structure",
"required":["ProductId"],
@@ -319,6 +1168,85 @@
"NextPageToken":{"shape":"PageToken"}
}
},
+ "ListPortfolioAccessInput":{
+ "type":"structure",
+ "required":["PortfolioId"],
+ "members":{
+ "AcceptLanguage":{"shape":"AcceptLanguage"},
+ "PortfolioId":{"shape":"Id"}
+ }
+ },
+ "ListPortfolioAccessOutput":{
+ "type":"structure",
+ "members":{
+ "AccountIds":{"shape":"AccountIds"},
+ "NextPageToken":{"shape":"PageToken"}
+ }
+ },
+ "ListPortfoliosForProductInput":{
+ "type":"structure",
+ "required":["ProductId"],
+ "members":{
+ "AcceptLanguage":{"shape":"AcceptLanguage"},
+ "ProductId":{"shape":"Id"},
+ "PageToken":{"shape":"PageToken"},
+ "PageSize":{"shape":"PageSize"}
+ }
+ },
+ "ListPortfoliosForProductOutput":{
+ "type":"structure",
+ "members":{
+ "PortfolioDetails":{"shape":"PortfolioDetails"},
+ "NextPageToken":{"shape":"PageToken"}
+ }
+ },
+ "ListPortfoliosInput":{
+ "type":"structure",
+ "members":{
+ "AcceptLanguage":{"shape":"AcceptLanguage"},
+ "PageToken":{"shape":"PageToken"},
+ "PageSize":{"shape":"PageSize"}
+ }
+ },
+ "ListPortfoliosOutput":{
+ "type":"structure",
+ "members":{
+ "PortfolioDetails":{"shape":"PortfolioDetails"},
+ "NextPageToken":{"shape":"PageToken"}
+ }
+ },
+ "ListPrincipalsForPortfolioInput":{
+ "type":"structure",
+ "required":["PortfolioId"],
+ "members":{
+ "AcceptLanguage":{"shape":"AcceptLanguage"},
+ "PortfolioId":{"shape":"Id"},
+ "PageSize":{"shape":"PageSize"},
+ "PageToken":{"shape":"PageToken"}
+ }
+ },
+ "ListPrincipalsForPortfolioOutput":{
+ "type":"structure",
+ "members":{
+ "Principals":{"shape":"Principals"},
+ "NextPageToken":{"shape":"PageToken"}
+ }
+ },
+ "ListProvisioningArtifactsInput":{
+ "type":"structure",
+ "required":["ProductId"],
+ "members":{
+ "AcceptLanguage":{"shape":"AcceptLanguage"},
+ "ProductId":{"shape":"Id"}
+ }
+ },
+ "ListProvisioningArtifactsOutput":{
+ "type":"structure",
+ "members":{
+ "ProvisioningArtifactDetails":{"shape":"ProvisioningArtifactDetails"},
+ "NextPageToken":{"shape":"PageToken"}
+ }
+ },
"ListRecordHistoryInput":{
"type":"structure",
"members":{
@@ -372,11 +1300,69 @@
"AllowedValues":{"shape":"AllowedValues"}
}
},
- "ParameterKey":{"type":"string"},
+ "ParameterKey":{
+ "type":"string",
+ "max":1000,
+ "min":1
+ },
"ParameterType":{"type":"string"},
- "ParameterValue":{"type":"string"},
+ "ParameterValue":{
+ "type":"string",
+ "max":1000
+ },
+ "PortfolioDescription":{
+ "type":"string",
+ "max":2000
+ },
+ "PortfolioDetail":{
+ "type":"structure",
+ "members":{
+ "Id":{"shape":"Id"},
+ "ARN":{"shape":"ResourceARN"},
+ "DisplayName":{"shape":"PortfolioDisplayName"},
+ "Description":{"shape":"PortfolioDescription"},
+ "CreatedTime":{"shape":"CreationTime"},
+ "ProviderName":{"shape":"ProviderName"}
+ }
+ },
+ "PortfolioDetails":{
+ "type":"list",
+ "member":{"shape":"PortfolioDetail"}
+ },
+ "PortfolioDisplayName":{
+ "type":"string",
+ "max":100,
+ "min":1
+ },
"PortfolioName":{"type":"string"},
- "ProductType":{"type":"string"},
+ "Principal":{
+ "type":"structure",
+ "members":{
+ "PrincipalARN":{"shape":"PrincipalARN"},
+ "PrincipalType":{"shape":"PrincipalType"}
+ }
+ },
+ "PrincipalARN":{
+ "type":"string",
+ "max":1000,
+ "min":1
+ },
+ "PrincipalType":{
+ "type":"string",
+ "enum":["IAM"]
+ },
+ "Principals":{
+ "type":"list",
+ "member":{"shape":"Principal"}
+ },
+ "ProductSource":{
+ "type":"string",
+ "enum":["ACCOUNT"]
+ },
+ "ProductType":{
+ "type":"string",
+ "enum":["CLOUD_FORMATION_TEMPLATE"]
+ },
"ProductViewAggregationType":{"type":"string"},
"ProductViewAggregationValue":{
"type":"structure",
@@ -394,6 +1380,19 @@
"key":{"shape":"ProductViewAggregationType"},
"value":{"shape":"ProductViewAggregationValues"}
},
+ "ProductViewDetail":{
+ "type":"structure",
+ "members":{
+ "ProductViewSummary":{"shape":"ProductViewSummary"},
+ "Status":{"shape":"Status"},
+ "ProductARN":{"shape":"ResourceARN"},
+ "CreatedTime":{"shape":"CreatedTime"}
+ }
+ },
+ "ProductViewDetails":{
+ "type":"list",
+ "member":{"shape":"ProductViewDetail"}
+ },
"ProductViewDistributor":{"type":"string"},
"ProductViewFilterBy":{
"type":"string",
@@ -444,6 +1443,11 @@
"SupportUrl":{"shape":"SupportUrl"}
}
},
+ "ProviderName":{
+ "type":"string",
+ "max":20,
+ "min":1
+ },
"ProvisionProductInput":{
"type":"structure",
"required":[
@@ -512,6 +1516,29 @@
},
"ProvisioningArtifactCreatedTime":{"type":"timestamp"},
"ProvisioningArtifactDescription":{"type":"string"},
+ "ProvisioningArtifactDetail":{
+ "type":"structure",
+ "members":{
+ "Id":{"shape":"Id"},
+ "Name":{"shape":"ProvisioningArtifactName"},
+ "Description":{"shape":"ProvisioningArtifactName"},
+ "Type":{"shape":"ProvisioningArtifactType"},
+ "CreatedTime":{"shape":"CreationTime"}
+ }
+ },
+ "ProvisioningArtifactDetails":{
+ "type":"list",
+ "member":{"shape":"ProvisioningArtifactDetail"}
+ },
+ "ProvisioningArtifactInfo":{
+ "type":"map",
+ "key":{"shape":"ProvisioningArtifactInfoKey"},
+ "value":{"shape":"ProvisioningArtifactInfoValue"},
+ "max":1,
+ "min":1
+ },
+ "ProvisioningArtifactInfoKey":{"type":"string"},
+ "ProvisioningArtifactInfoValue":{"type":"string"},
"ProvisioningArtifactName":{"type":"string"},
"ProvisioningArtifactParameter":{
"type":"structure",
@@ -528,6 +1555,20 @@
"type":"list",
"member":{"shape":"ProvisioningArtifactParameter"}
},
+ "ProvisioningArtifactProperties":{
+ "type":"structure",
+ "required":["Info"],
+ "members":{
+ "Name":{"shape":"ProvisioningArtifactName"},
+ "Description":{"shape":"ProvisioningArtifactDescription"},
+ "Info":{"shape":"ProvisioningArtifactInfo"},
+ "Type":{"shape":"ProvisioningArtifactType"}
+ }
+ },
+ "ProvisioningArtifactType":{
+ "type":"string",
+ "enum":["CLOUD_FORMATION_TEMPLATE"]
+ },
"ProvisioningArtifacts":{
"type":"list",
"member":{"shape":"ProvisioningArtifact"}
@@ -618,9 +1659,33 @@
"RecordTags":{
"type":"list",
"member":{"shape":"RecordTag"},
- "max":10
+ "max":50
},
"RecordType":{"type":"string"},
+ "RejectPortfolioShareInput":{
+ "type":"structure",
+ "required":["PortfolioId"],
+ "members":{
+ "AcceptLanguage":{"shape":"AcceptLanguage"},
+ "PortfolioId":{"shape":"Id"}
+ }
+ },
+ "RejectPortfolioShareOutput":{
+ "type":"structure",
+ "members":{
+ }
+ },
+ "ResourceARN":{
+ "type":"string",
+ "max":150,
+ "min":1
+ },
+ "ResourceInUseException":{
+ "type":"structure",
+ "members":{
+ },
+ "exception":true
+ },
"ResourceNotFoundException":{
"type":"structure",
"members":{
@@ -645,6 +1710,26 @@
},
"SearchFilterKey":{"type":"string"},
"SearchFilterValue":{"type":"string"},
+ "SearchProductsAsAdminInput":{
+ "type":"structure",
+ "members":{
+ "AcceptLanguage":{"shape":"AcceptLanguage"},
+ "PortfolioId":{"shape":"Id"},
+ "Filters":{"shape":"ProductViewFilters"},
+ "SortBy":{"shape":"ProductViewSortBy"},
+ "SortOrder":{"shape":"SortOrder"},
+ "PageToken":{"shape":"PageToken"},
+ "PageSize":{"shape":"PageSize"},
+ "ProductSource":{"shape":"ProductSource"}
+ }
+ },
+ "SearchProductsAsAdminOutput":{
+ "type":"structure",
+ "members":{
+ "ProductViewDetails":{"shape":"ProductViewDetails"},
+ "NextPageToken":{"shape":"PageToken"}
+ }
+ },
"SearchProductsInput":{
"type":"structure",
"members":{
@@ -671,11 +1756,23 @@
"DESCENDING"
]
},
+ "Status":{
+ "type":"string",
+ "enum":[
+ "AVAILABLE",
+ "CREATING",
+ "FAILED"
+ ]
+ },
"SupportDescription":{"type":"string"},
"SupportEmail":{"type":"string"},
"SupportUrl":{"type":"string"},
"Tag":{
"type":"structure",
+ "required":[
+ "Key",
+ "Value"
+ ],
"members":{
"Key":{"shape":"TagKey"},
"Value":{"shape":"TagValue"}
@@ -685,18 +1782,22 @@
"type":"string",
"max":128,
"min":1,
- "pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-%@]*)$"
+ "pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$"
+ },
+ "TagKeys":{
+ "type":"list",
+ "member":{"shape":"TagKey"}
},
"TagValue":{
"type":"string",
"max":256,
"min":1,
- "pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-%@]*)$"
+ "pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$"
},
"Tags":{
"type":"list",
"member":{"shape":"Tag"},
- "max":10
+ "max":50
},
"TerminateProvisionedProductInput":{
"type":"structure",
@@ -718,6 +1819,67 @@
"RecordDetail":{"shape":"RecordDetail"}
}
},
+ "UpdateConstraintInput":{
+ "type":"structure",
+ "required":["Id"],
+ "members":{
+ "AcceptLanguage":{"shape":"AcceptLanguage"},
+ "Id":{"shape":"Id"},
+ "Description":{"shape":"ConstraintDescription"}
+ }
+ },
+ "UpdateConstraintOutput":{
+ "type":"structure",
+ "members":{
+ "ConstraintDetail":{"shape":"ConstraintDetail"},
+ "ConstraintParameters":{"shape":"ConstraintParameters"},
+ "Status":{"shape":"Status"}
+ }
+ },
+ "UpdatePortfolioInput":{
+ "type":"structure",
+ "required":["Id"],
+ "members":{
+ "AcceptLanguage":{"shape":"AcceptLanguage"},
+ "Id":{"shape":"Id"},
+ "DisplayName":{"shape":"PortfolioDisplayName"},
+ "Description":{"shape":"PortfolioDescription"},
+ "ProviderName":{"shape":"ProviderName"},
+ "AddTags":{"shape":"AddTags"},
+ "RemoveTags":{"shape":"TagKeys"}
+ }
+ },
+ "UpdatePortfolioOutput":{
+ "type":"structure",
+ "members":{
+ "PortfolioDetail":{"shape":"PortfolioDetail"},
+ "Tags":{"shape":"Tags"}
+ }
+ },
+ "UpdateProductInput":{
+ "type":"structure",
+ "required":["Id"],
+ "members":{
+ "AcceptLanguage":{"shape":"AcceptLanguage"},
+ "Id":{"shape":"Id"},
+ "Name":{"shape":"ProductViewName"},
+ "Owner":{"shape":"ProductViewOwner"},
+ "Description":{"shape":"ProductViewShortDescription"},
+ "Distributor":{"shape":"ProductViewOwner"},
+ "SupportDescription":{"shape":"SupportDescription"},
+ "SupportEmail":{"shape":"SupportEmail"},
+ "SupportUrl":{"shape":"SupportUrl"},
+ "AddTags":{"shape":"AddTags"},
+ "RemoveTags":{"shape":"TagKeys"}
+ }
+ },
+ "UpdateProductOutput":{
+ "type":"structure",
+ "members":{
+ "ProductViewDetail":{"shape":"ProductViewDetail"},
+ "Tags":{"shape":"Tags"}
+ }
+ },
"UpdateProvisionedProductInput":{
"type":"structure",
"required":["UpdateToken"],
@@ -741,6 +1903,28 @@
"RecordDetail":{"shape":"RecordDetail"}
}
},
+ "UpdateProvisioningArtifactInput":{
+ "type":"structure",
+ "required":[
+ "ProductId",
+ "ProvisioningArtifactId"
+ ],
+ "members":{
+ "AcceptLanguage":{"shape":"AcceptLanguage"},
+ "ProductId":{"shape":"Id"},
+ "ProvisioningArtifactId":{"shape":"Id"},
+ "Name":{"shape":"ProvisioningArtifactName"},
+ "Description":{"shape":"ProvisioningArtifactDescription"}
+ }
+ },
+ "UpdateProvisioningArtifactOutput":{
+ "type":"structure",
+ "members":{
+ "ProvisioningArtifactDetail":{"shape":"ProvisioningArtifactDetail"},
+ "Info":{"shape":"ProvisioningArtifactInfo"},
+ "Status":{"shape":"Status"}
+ }
+ },
"UpdateProvisioningParameter":{
"type":"structure",
"members":{
diff --git a/vendor/github.com/aws/aws-sdk-go/models/apis/servicecatalog/2015-12-10/docs-2.json b/vendor/github.com/aws/aws-sdk-go/models/apis/servicecatalog/2015-12-10/docs-2.json
index 8f40c38..225aa25 100644
--- a/vendor/github.com/aws/aws-sdk-go/models/apis/servicecatalog/2015-12-10/docs-2.json
+++ b/vendor/github.com/aws/aws-sdk-go/models/apis/servicecatalog/2015-12-10/docs-2.json
@@ -2,33 +2,107 @@
"version": "2.0",
"service": "AWS Service Catalog Overview
AWS Service Catalog allows 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, you need to be familiar with the terminology discussed in AWS Service Catalog Concepts.
Additional Resources
",
"operations": {
+ "AcceptPortfolioShare": "Accepts an offer to share a portfolio.
",
+ "AssociatePrincipalWithPortfolio": "Associates the specified principal ARN with the specified portfolio.
",
+ "AssociateProductWithPortfolio": "Associates a product with a portfolio.
",
+ "CreateConstraint": "Creates a new constraint.
",
+ "CreatePortfolio": "Creates a new portfolio.
",
+ "CreatePortfolioShare": "Creates a new portfolio share.
",
+ "CreateProduct": "Creates a new product.
",
+ "CreateProvisioningArtifact": "Create a new provisioning artifact for the specified product. This operation will not work with a product that has been shared with you.
",
+ "DeleteConstraint": "Deletes the specified constraint.
",
+ "DeletePortfolio": "Deletes the specified portfolio. This operation will not work with a portfolio that has been shared with you or if it has products, users, constraints, or shared accounts associated with it.
",
+ "DeletePortfolioShare": "Deletes the specified portfolio share.
",
+ "DeleteProduct": "Deletes the specified product. This operation will not work with a product that has been shared with you or is associated with a portfolio.
",
+ "DeleteProvisioningArtifact": "Deletes the specified provisioning artifact. This operation will 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).
",
+ "DescribeConstraint": "Retrieves detailed information for a specified constraint.
",
+ "DescribePortfolio": "Retrieves detailed information and any tags associated with the specified portfolio.
",
"DescribeProduct": "Retrieves information about a specified product.
This operation is functionally identical to DescribeProductView except that it takes as input ProductId
instead of ProductViewId
.
",
+ "DescribeProductAsAdmin": "Retrieves information about a specified product, run with administrator access.
",
"DescribeProductView": "Retrieves information about a specified product.
This operation is functionally identical to DescribeProduct except that it takes as input ProductViewId
instead of ProductId
.
",
+ "DescribeProvisioningArtifact": "Retrieves detailed information about the specified provisioning artifact.
",
"DescribeProvisioningParameters": "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.
",
"DescribeRecord": "Retrieves a paginated list of the full details of a specific request. Use this operation after calling a request operation (ProvisionProduct, TerminateProvisionedProduct, or UpdateProvisionedProduct).
",
+ "DisassociatePrincipalFromPortfolio": "Disassociates a previously associated principal ARN from a specified portfolio.
",
+ "DisassociateProductFromPortfolio": "Disassociates the specified product from the specified portfolio.
",
+ "ListAcceptedPortfolioShares": "Lists details of all portfolios for which sharing was accepted by this account.
",
+ "ListConstraintsForPortfolio": "Retrieves detailed constraint information for the specified portfolio and product.
",
"ListLaunchPaths": "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.
",
+ "ListPortfolioAccess": "Lists the account IDs that have been authorized sharing of the specified portfolio.
",
+ "ListPortfolios": "Lists all portfolios in the catalog.
",
+ "ListPortfoliosForProduct": "Lists all portfolios that the specified product is associated with.
",
+ "ListPrincipalsForPortfolio": "Lists all principal ARNs associated with the specified portfolio.
",
+ "ListProvisioningArtifacts": "Lists all provisioning artifacts associated with the specified product.
",
"ListRecordHistory": "Returns a paginated list of all performed requests, in the form of RecordDetails objects that are filtered as specified.
",
"ProvisionProduct": "Requests a Provision of a specified product. A ProvisionedProduct 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.
You can check the status of this request using the DescribeRecord operation.
",
+ "RejectPortfolioShare": "Rejects an offer to share a portfolio.
",
"ScanProvisionedProducts": "Returns a paginated list of all the ProvisionedProduct objects that are currently available (not terminated).
",
"SearchProducts": "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.
",
+ "SearchProductsAsAdmin": "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.
",
"TerminateProvisionedProduct": "Requests termination of an existing ProvisionedProduct object. If there are Tags
associated with the object, they are terminated when the ProvisionedProduct object is terminated.
This operation does not delete any records associated with the ProvisionedProduct object.
You can check the status of this request using the DescribeRecord operation.
",
- "UpdateProvisionedProduct": "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.
You can check the status of this request using the DescribeRecord operation.
"
+ "UpdateConstraint": "Updates an existing constraint.
",
+ "UpdatePortfolio": "Updates the specified portfolio's details. This operation will not work with a product that has been shared with you.
",
+ "UpdateProduct": "Updates an existing product.
",
+ "UpdateProvisionedProduct": "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.
You can check the status of this request using the DescribeRecord operation.
",
+ "UpdateProvisioningArtifact": "Updates an existing provisioning artifact's information. This operation will not work on a provisioning artifact associated with a product that has been shared with you.
"
},
"shapes": {
"AcceptLanguage": {
"base": null,
"refs": {
+ "AcceptPortfolioShareInput$AcceptLanguage": "The language code to use for this operation. Supported language codes are as follows:
\"en\" (English)
\"jp\" (Japanese)
\"zh\" (Chinese)
If no code is specified, \"en\" is used as the default.
",
+ "AssociatePrincipalWithPortfolioInput$AcceptLanguage": "The language code to use for this operation. Supported language codes are as follows:
\"en\" (English)
\"jp\" (Japanese)
\"zh\" (Chinese)
If no code is specified, \"en\" is used as the default.
",
+ "AssociateProductWithPortfolioInput$AcceptLanguage": "The language code to use for this operation. Supported language codes are as follows:
\"en\" (English)
\"jp\" (Japanese)
\"zh\" (Chinese)
If no code is specified, \"en\" is used as the default.
",
+ "CreateConstraintInput$AcceptLanguage": "The language code to use for this operation. Supported language codes are as follows:
\"en\" (English)
\"jp\" (Japanese)
\"zh\" (Chinese)
If no code is specified, \"en\" is used as the default.
",
+ "CreatePortfolioInput$AcceptLanguage": "The language code to use for this operation. Supported language codes are as follows:
\"en\" (English)
\"jp\" (Japanese)
\"zh\" (Chinese)
If no code is specified, \"en\" is used as the default.
",
+ "CreatePortfolioShareInput$AcceptLanguage": "The language code to use for this operation. Supported language codes are as follows:
\"en\" (English)
\"jp\" (Japanese)
\"zh\" (Chinese)
If no code is specified, \"en\" is used as the default.
",
+ "CreateProductInput$AcceptLanguage": "The language code to use for this operation. Supported language codes are as follows:
\"en\" (English)
\"jp\" (Japanese)
\"zh\" (Chinese)
If no code is specified, \"en\" is used as the default.
",
+ "CreateProvisioningArtifactInput$AcceptLanguage": "The language code to use for this operation. Supported language codes are as follows:
\"en\" (English)
\"jp\" (Japanese)
\"zh\" (Chinese)
If no code is specified, \"en\" is used as the default.
",
+ "DeleteConstraintInput$AcceptLanguage": "The language code to use for this operation. Supported language codes are as follows:
\"en\" (English)
\"jp\" (Japanese)
\"zh\" (Chinese)
If no code is specified, \"en\" is used as the default.
",
+ "DeletePortfolioInput$AcceptLanguage": "The language code to use for this operation. Supported language codes are as follows:
\"en\" (English)
\"jp\" (Japanese)
\"zh\" (Chinese)
If no code is specified, \"en\" is used as the default.
",
+ "DeletePortfolioShareInput$AcceptLanguage": "The language code to use for this operation. Supported language codes are as follows:
\"en\" (English)
\"jp\" (Japanese)
\"zh\" (Chinese)
If no code is specified, \"en\" is used as the default.
",
+ "DeleteProductInput$AcceptLanguage": "The language code to use for this operation. Supported language codes are as follows:
\"en\" (English)
\"jp\" (Japanese)
\"zh\" (Chinese)
If no code is specified, \"en\" is used as the default.
",
+ "DeleteProvisioningArtifactInput$AcceptLanguage": "The language code to use for this operation. Supported language codes are as follows:
\"en\" (English)
\"jp\" (Japanese)
\"zh\" (Chinese)
If no code is specified, \"en\" is used as the default.
",
+ "DescribeConstraintInput$AcceptLanguage": "The language code to use for this operation. Supported language codes are as follows:
\"en\" (English)
\"jp\" (Japanese)
\"zh\" (Chinese)
If no code is specified, \"en\" is used as the default.
",
+ "DescribePortfolioInput$AcceptLanguage": "The language code to use for this operation. Supported language codes are as follows:
\"en\" (English)
\"jp\" (Japanese)
\"zh\" (Chinese)
If no code is specified, \"en\" is used as the default.
",
+ "DescribeProductAsAdminInput$AcceptLanguage": "The language code to use for this operation. Supported language codes are as follows:
\"en\" (English)
\"jp\" (Japanese)
\"zh\" (Chinese)
If no code is specified, \"en\" is used as the default.
",
"DescribeProductInput$AcceptLanguage": "The language code to use for this operation. Supported language codes are as follows:
\"en\" (English)
\"jp\" (Japanese)
\"zh\" (Chinese)
If no code is specified, \"en\" is used as the default.
",
"DescribeProductViewInput$AcceptLanguage": "The language code to use for this operation. Supported language codes are as follows:
\"en\" (English)
\"jp\" (Japanese)
\"zh\" (Chinese)
If no code is specified, \"en\" is used as the default.
",
+ "DescribeProvisioningArtifactInput$AcceptLanguage": "The language code to use for this operation. Supported language codes are as follows:
\"en\" (English)
\"jp\" (Japanese)
\"zh\" (Chinese)
If no code is specified, \"en\" is used as the default.
",
"DescribeProvisioningParametersInput$AcceptLanguage": "The language code to use for this operation. Supported language codes are as follows:
\"en\" (English)
\"jp\" (Japanese)
\"zh\" (Chinese)
If no code is specified, \"en\" is used as the default.
",
"DescribeRecordInput$AcceptLanguage": "The language code to use for this operation. Supported language codes are as follows:
\"en\" (English)
\"jp\" (Japanese)
\"zh\" (Chinese)
If no code is specified, \"en\" is used as the default.
",
+ "DisassociatePrincipalFromPortfolioInput$AcceptLanguage": "The language code to use for this operation. Supported language codes are as follows:
\"en\" (English)
\"jp\" (Japanese)
\"zh\" (Chinese)
If no code is specified, \"en\" is used as the default.
",
+ "DisassociateProductFromPortfolioInput$AcceptLanguage": "The language code to use for this operation. Supported language codes are as follows:
\"en\" (English)
\"jp\" (Japanese)
\"zh\" (Chinese)
If no code is specified, \"en\" is used as the default.
",
+ "ListAcceptedPortfolioSharesInput$AcceptLanguage": "The language code to use for this operation. Supported language codes are as follows:
\"en\" (English)
\"jp\" (Japanese)
\"zh\" (Chinese)
If no code is specified, \"en\" is used as the default.
",
+ "ListConstraintsForPortfolioInput$AcceptLanguage": "The language code to use for this operation. Supported language codes are as follows:
\"en\" (English)
\"jp\" (Japanese)
\"zh\" (Chinese)
If no code is specified, \"en\" is used as the default.
",
"ListLaunchPathsInput$AcceptLanguage": "The language code to use for this operation. Supported language codes are as follows:
\"en\" (English)
\"jp\" (Japanese)
\"zh\" (Chinese)
If no code is specified, \"en\" is used as the default.
",
+ "ListPortfolioAccessInput$AcceptLanguage": "The language code to use for this operation. Supported language codes are as follows:
\"en\" (English)
\"jp\" (Japanese)
\"zh\" (Chinese)
If no code is specified, \"en\" is used as the default.
",
+ "ListPortfoliosForProductInput$AcceptLanguage": "The language code to use for this operation. Supported language codes are as follows:
\"en\" (English)
\"jp\" (Japanese)
\"zh\" (Chinese)
If no code is specified, \"en\" is used as the default.
",
+ "ListPortfoliosInput$AcceptLanguage": "The language code to use for this operation. Supported language codes are as follows:
\"en\" (English)
\"jp\" (Japanese)
\"zh\" (Chinese)
If no code is specified, \"en\" is used as the default.
",
+ "ListPrincipalsForPortfolioInput$AcceptLanguage": "The language code to use for this operation. Supported language codes are as follows:
\"en\" (English)
\"jp\" (Japanese)
\"zh\" (Chinese)
If no code is specified, \"en\" is used as the default.
",
+ "ListProvisioningArtifactsInput$AcceptLanguage": "The language code to use for this operation. Supported language codes are as follows:
\"en\" (English)
\"jp\" (Japanese)
\"zh\" (Chinese)
If no code is specified, \"en\" is used as the default.
",
"ListRecordHistoryInput$AcceptLanguage": "The language code to use for this operation. Supported language codes are as follows:
\"en\" (English)
\"jp\" (Japanese)
\"zh\" (Chinese)
If no code is specified, \"en\" is used as the default.
",
"ProvisionProductInput$AcceptLanguage": "The language code to use for this operation. Supported language codes are as follows:
\"en\" (English)
\"jp\" (Japanese)
\"zh\" (Chinese)
If no code is specified, \"en\" is used as the default.
",
+ "RejectPortfolioShareInput$AcceptLanguage": "The language code to use for this operation. Supported language codes are as follows:
\"en\" (English)
\"jp\" (Japanese)
\"zh\" (Chinese)
If no code is specified, \"en\" is used as the default.
",
"ScanProvisionedProductsInput$AcceptLanguage": "The language code to use for this operation. Supported language codes are as follows:
\"en\" (English)
\"jp\" (Japanese)
\"zh\" (Chinese)
If no code is specified, \"en\" is used as the default.
",
+ "SearchProductsAsAdminInput$AcceptLanguage": "The language code to use for this operation. Supported language codes are as follows:
\"en\" (English)
\"jp\" (Japanese)
\"zh\" (Chinese)
If no code is specified, \"en\" is used as the default.
",
"SearchProductsInput$AcceptLanguage": "The language code to use for this operation. Supported language codes are as follows:
\"en\" (English)
\"jp\" (Japanese)
\"zh\" (Chinese)
If no code is specified, \"en\" is used as the default.
",
"TerminateProvisionedProductInput$AcceptLanguage": "The language code to use for this operation. Supported language codes are as follows:
\"en\" (English)
\"jp\" (Japanese)
\"zh\" (Chinese)
If no code is specified, \"en\" is used as the default.
",
- "UpdateProvisionedProductInput$AcceptLanguage": "The language code to use for this operation. Supported language codes are as follows:
\"en\" (English)
\"jp\" (Japanese)
\"zh\" (Chinese)
If no code is specified, \"en\" is used as the default.
"
+ "UpdateConstraintInput$AcceptLanguage": "The language code to use for this operation. Supported language codes are as follows:
\"en\" (English)
\"jp\" (Japanese)
\"zh\" (Chinese)
If no code is specified, \"en\" is used as the default.
",
+ "UpdatePortfolioInput$AcceptLanguage": "The language code to use for this operation. Supported language codes are as follows:
\"en\" (English)
\"jp\" (Japanese)
\"zh\" (Chinese)
If no code is specified, \"en\" is used as the default.
",
+ "UpdateProductInput$AcceptLanguage": "The language code to use for this operation. Supported language codes are as follows:
\"en\" (English)
\"jp\" (Japanese)
\"zh\" (Chinese)
If no code is specified, \"en\" is used as the default.
",
+ "UpdateProvisionedProductInput$AcceptLanguage": "The language code to use for this operation. Supported language codes are as follows:
\"en\" (English)
\"jp\" (Japanese)
\"zh\" (Chinese)
If no code is specified, \"en\" is used as the default.
",
+ "UpdateProvisioningArtifactInput$AcceptLanguage": "The language code to use for this operation. Supported language codes are as follows:
\"en\" (English)
\"jp\" (Japanese)
\"zh\" (Chinese)
If no code is specified, \"en\" is used as the default.
"
+ }
+ },
+ "AcceptPortfolioShareInput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "AcceptPortfolioShareOutput": {
+ "base": null,
+ "refs": {
}
},
"AccessLevelFilter": {
@@ -50,6 +124,30 @@
"AccessLevelFilter$Value": "Specifies the user to which the access level applies. A value of Self
is currently supported.
"
}
},
+ "AccountId": {
+ "base": null,
+ "refs": {
+ "AccountIds$member": null,
+ "ConstraintDetail$Owner": "The owner of the constraint.
",
+ "CreatePortfolioShareInput$AccountId": "The account ID with which to share the portfolio.
",
+ "DeletePortfolioShareInput$AccountId": "The account ID associated with the share to delete.
"
+ }
+ },
+ "AccountIds": {
+ "base": null,
+ "refs": {
+ "ListPortfolioAccessOutput$AccountIds": "List of account IDs associated with access to the portfolio.
"
+ }
+ },
+ "AddTags": {
+ "base": null,
+ "refs": {
+ "CreatePortfolioInput$Tags": "Tags to associate with the new portfolio.
",
+ "CreateProductInput$Tags": "Tags to associate with the new product.
",
+ "UpdatePortfolioInput$AddTags": "Tags to add to the existing list of tags associated with the portfolio.
",
+ "UpdateProductInput$AddTags": "Tags to add to the existing list of tags associated with the product.
"
+ }
+ },
"AllowedValue": {
"base": null,
"refs": {
@@ -68,6 +166,26 @@
"ProductViewAggregationValue$ApproximateCount": "An approximate count of the products that match the value.
"
}
},
+ "AssociatePrincipalWithPortfolioInput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "AssociatePrincipalWithPortfolioOutput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "AssociateProductWithPortfolioInput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "AssociateProductWithPortfolioOutput": {
+ "base": null,
+ "refs": {
+ }
+ },
"AttributeValue": {
"base": null,
"refs": {
@@ -77,7 +195,34 @@
"ConstraintDescription": {
"base": null,
"refs": {
- "ConstraintSummary$Description": "The text description of the constraint.
"
+ "ConstraintDetail$Description": "The text description of the constraint.
",
+ "ConstraintSummary$Description": "The text description of the constraint.
",
+ "CreateConstraintInput$Description": "The text description of the constraint.
",
+ "UpdateConstraintInput$Description": "The updated text description of the constraint.
"
+ }
+ },
+ "ConstraintDetail": {
+ "base": "Detailed constraint information.
",
+ "refs": {
+ "ConstraintDetails$member": null,
+ "CreateConstraintOutput$ConstraintDetail": "The resulting detailed constraint information.
",
+ "DescribeConstraintOutput$ConstraintDetail": "Detailed constraint information.
",
+ "UpdateConstraintOutput$ConstraintDetail": "The resulting detailed constraint information.
"
+ }
+ },
+ "ConstraintDetails": {
+ "base": null,
+ "refs": {
+ "ListConstraintsForPortfolioOutput$ConstraintDetails": "List of detailed constraint information objects.
"
+ }
+ },
+ "ConstraintParameters": {
+ "base": null,
+ "refs": {
+ "CreateConstraintInput$Parameters": "The constraint parameters.
",
+ "CreateConstraintOutput$ConstraintParameters": "The resulting constraint parameters.
",
+ "DescribeConstraintOutput$ConstraintParameters": "The current parameters associated with the specified constraint.
",
+ "UpdateConstraintOutput$ConstraintParameters": "The resulting updated constraint parameters.
"
}
},
"ConstraintSummaries": {
@@ -96,14 +241,74 @@
"ConstraintType": {
"base": null,
"refs": {
- "ConstraintSummary$Type": "The type of the constraint.
"
+ "ConstraintDetail$Type": "The type of the constraint.
",
+ "ConstraintSummary$Type": "The type of the constraint.
",
+ "CreateConstraintInput$Type": "The type of the constraint.
"
+ }
+ },
+ "CreateConstraintInput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "CreateConstraintOutput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "CreatePortfolioInput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "CreatePortfolioOutput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "CreatePortfolioShareInput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "CreatePortfolioShareOutput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "CreateProductInput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "CreateProductOutput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "CreateProvisioningArtifactInput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "CreateProvisioningArtifactOutput": {
+ "base": null,
+ "refs": {
}
},
"CreatedTime": {
"base": null,
"refs": {
- "ProvisionedProductDetail$CreatedTime": "The time the ProvisionedProduct was created.
",
- "RecordDetail$CreatedTime": "The time when the record for the ProvisionedProduct object was created.
"
+ "ProductViewDetail$CreatedTime": "The UTC timestamp of the creation time.
",
+ "ProvisionedProductDetail$CreatedTime": "The UTC timestamp of the creation time.
",
+ "RecordDetail$CreatedTime": "The UTC timestamp of the creation time.
"
+ }
+ },
+ "CreationTime": {
+ "base": null,
+ "refs": {
+ "PortfolioDetail$CreatedTime": "The UTC timestamp of the creation time.
",
+ "ProvisioningArtifactDetail$CreatedTime": "The UTC timestamp of the creation time.
"
}
},
"DefaultValue": {
@@ -112,6 +317,86 @@
"ProvisioningArtifactParameter$DefaultValue": "The default value for this parameter.
"
}
},
+ "DeleteConstraintInput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DeleteConstraintOutput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DeletePortfolioInput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DeletePortfolioOutput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DeletePortfolioShareInput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DeletePortfolioShareOutput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DeleteProductInput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DeleteProductOutput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DeleteProvisioningArtifactInput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DeleteProvisioningArtifactOutput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DescribeConstraintInput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DescribeConstraintOutput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DescribePortfolioInput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DescribePortfolioOutput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DescribeProductAsAdminInput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DescribeProductAsAdminOutput": {
+ "base": null,
+ "refs": {
+ }
+ },
"DescribeProductInput": {
"base": null,
"refs": {
@@ -132,6 +417,16 @@
"refs": {
}
},
+ "DescribeProvisioningArtifactInput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DescribeProvisioningArtifactOutput": {
+ "base": null,
+ "refs": {
+ }
+ },
"DescribeProvisioningParametersInput": {
"base": null,
"refs": {
@@ -159,6 +454,26 @@
"RecordOutput$Description": "The text description of the output.
"
}
},
+ "DisassociatePrincipalFromPortfolioInput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DisassociatePrincipalFromPortfolioOutput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DisassociateProductFromPortfolioInput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DisassociateProductFromPortfolioOutput": {
+ "base": null,
+ "refs": {
+ }
+ },
"DuplicateResourceException": {
"base": "The specified resource is a duplicate.
",
"refs": {
@@ -185,37 +500,80 @@
"Id": {
"base": null,
"refs": {
+ "AcceptPortfolioShareInput$PortfolioId": "The portfolio identifier.
",
+ "AssociatePrincipalWithPortfolioInput$PortfolioId": "The portfolio identifier.
",
+ "AssociateProductWithPortfolioInput$ProductId": "The product identifier.
",
+ "AssociateProductWithPortfolioInput$PortfolioId": "The portfolio identifier.
",
+ "AssociateProductWithPortfolioInput$SourcePortfolioId": "The identifier of the source portfolio to use with this association.
",
+ "ConstraintDetail$ConstraintId": "The identifier of the constraint.
",
+ "CreateConstraintInput$PortfolioId": "The portfolio identifier.
",
+ "CreateConstraintInput$ProductId": "The product identifier.
",
+ "CreatePortfolioShareInput$PortfolioId": "The portfolio identifier.
",
+ "CreateProvisioningArtifactInput$ProductId": "The product identifier.
",
+ "DeleteConstraintInput$Id": "The identifier of the constraint to delete.
",
+ "DeletePortfolioInput$Id": "The identifier of the portfolio for the delete request.
",
+ "DeletePortfolioShareInput$PortfolioId": "The portfolio identifier.
",
+ "DeleteProductInput$Id": "The identifier of the product for the delete request.
",
+ "DeleteProvisioningArtifactInput$ProductId": "The product identifier.
",
+ "DeleteProvisioningArtifactInput$ProvisioningArtifactId": "The identifier of the provisioning artifact for the delete request.
",
+ "DescribeConstraintInput$Id": "The identifier of the constraint.
",
+ "DescribePortfolioInput$Id": "The identifier of the portfolio for which to retrieve information.
",
+ "DescribeProductAsAdminInput$Id": "The identifier of the product for which to retrieve information.
",
"DescribeProductInput$Id": "The ProductId
of the product to describe.
",
"DescribeProductViewInput$Id": "The ProductViewId
of the product to describe.
",
- "DescribeProvisioningParametersInput$ProductId": "The identifier of the product.
",
+ "DescribeProvisioningArtifactInput$ProvisioningArtifactId": "The identifier of the provisioning artifact.
",
+ "DescribeProvisioningArtifactInput$ProductId": "The product identifier.
",
+ "DescribeProvisioningParametersInput$ProductId": "The product identifier.
",
"DescribeProvisioningParametersInput$ProvisioningArtifactId": "The provisioning artifact identifier for this product.
",
"DescribeProvisioningParametersInput$PathId": "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.
",
"DescribeRecordInput$Id": "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.
",
+ "DisassociatePrincipalFromPortfolioInput$PortfolioId": "The portfolio identifier.
",
+ "DisassociateProductFromPortfolioInput$ProductId": "The product identifier.
",
+ "DisassociateProductFromPortfolioInput$PortfolioId": "The portfolio identifier.
",
"LaunchPathSummary$Id": "The unique identifier of the product path.
",
- "ListLaunchPathsInput$ProductId": "Identifies the product for which to retrieve LaunchPathSummaries
information.
",
+ "ListConstraintsForPortfolioInput$PortfolioId": "The portfolio identifier.
",
+ "ListConstraintsForPortfolioInput$ProductId": "The product identifier.
",
+ "ListLaunchPathsInput$ProductId": "The product identifier.. Identifies the product for which to retrieve LaunchPathSummaries
information.
",
+ "ListPortfolioAccessInput$PortfolioId": "The portfolio identifier.
",
+ "ListPortfoliosForProductInput$ProductId": "The product identifier.
",
+ "ListPrincipalsForPortfolioInput$PortfolioId": "The portfolio identifier.
",
+ "ListProvisioningArtifactsInput$ProductId": "The product identifier.
",
+ "PortfolioDetail$Id": "The identifier for the portfolio.
",
"ProductViewSummary$Id": "The product view identifier.
",
"ProductViewSummary$ProductId": "The product identifier.
",
- "ProvisionProductInput$ProductId": "The identifier of the product.
",
+ "ProvisionProductInput$ProductId": "The product identifier.
",
"ProvisionProductInput$ProvisioningArtifactId": "The provisioning artifact identifier for this product.
",
"ProvisionProductInput$PathId": "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.
",
"ProvisioningArtifact$Id": "The identifier for the artifact.
",
+ "ProvisioningArtifactDetail$Id": "The identifier of the provisioning artifact.
",
"RecordDetail$RecordId": "The identifier of the ProvisionedProduct object record.
",
"RecordDetail$ProvisionedProductId": "The identifier of the ProvisionedProduct object.
",
- "RecordDetail$ProductId": "The identifier of the product.
",
+ "RecordDetail$ProductId": "The product identifier.
",
"RecordDetail$ProvisioningArtifactId": "The provisioning artifact identifier for this product.
",
"RecordDetail$PathId": "The identifier of the path for this product's provisioning.
",
+ "RejectPortfolioShareInput$PortfolioId": "The portfolio identifier.
",
+ "SearchProductsAsAdminInput$PortfolioId": "The portfolio identifier.
",
"TerminateProvisionedProductInput$ProvisionedProductId": "The identifier of the ProvisionedProduct object to terminate. You must specify either ProvisionedProductName
or ProvisionedProductId
, but not both.
",
+ "UpdateConstraintInput$Id": "The identifier of the constraint to update.
",
+ "UpdatePortfolioInput$Id": "The identifier of the portfolio for the update request.
",
+ "UpdateProductInput$Id": "The identifier of the product for the update request.
",
"UpdateProvisionedProductInput$ProvisionedProductId": "The identifier of the ProvisionedProduct object to update. You must specify either ProvisionedProductName
or ProvisionedProductId
, but not both.
",
"UpdateProvisionedProductInput$ProductId": "The identifier of the ProvisionedProduct object.
",
"UpdateProvisionedProductInput$ProvisioningArtifactId": "The provisioning artifact identifier for this product.
",
- "UpdateProvisionedProductInput$PathId": "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.
"
+ "UpdateProvisionedProductInput$PathId": "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.
",
+ "UpdateProvisioningArtifactInput$ProductId": "The product identifier.
",
+ "UpdateProvisioningArtifactInput$ProvisioningArtifactId": "The identifier of the provisioning artifact for the update request.
"
}
},
"IdempotencyToken": {
"base": null,
"refs": {
+ "CreateConstraintInput$IdempotencyToken": "A token to disambiguate duplicate requests. You can create multiple resources using the same input in multiple requests, provided that you also specify a different idempotency token for each request.
",
+ "CreatePortfolioInput$IdempotencyToken": "A token to disambiguate duplicate requests. You can create multiple resources using the same input in multiple requests, provided that you also specify a different idempotency token for each request.
",
+ "CreateProductInput$IdempotencyToken": "A token to disambiguate duplicate requests. You can create multiple resources using the same input in multiple requests, provided that you also specify a different idempotency token for each request.
",
+ "CreateProvisioningArtifactInput$IdempotencyToken": "A token to disambiguate duplicate requests. You can create multiple resources using the same input in multiple requests, provided that you also specify a different idempotency token for each request.
",
"ProvisionProductInput$ProvisionToken": "An idempotency token that uniquely identifies the provisioning request.
",
- "ProvisionedProductDetail$IdempotencyToken": "An idempotency token that uniquely identifies this ProvisionedProduct.
",
+ "ProvisionedProductDetail$IdempotencyToken": "A token to disambiguate duplicate requests. You can create multiple resources using the same input in multiple requests, provided that you also specify a different idempotency token for each request.
",
"TerminateProvisionedProductInput$TerminateToken": "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
.
",
"UpdateProvisionedProductInput$UpdateToken": "The idempotency token that uniquely identifies the provisioning update request.
"
}
@@ -261,6 +619,31 @@
"LaunchPathSummaries$member": null
}
},
+ "LimitExceededException": {
+ "base": "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.
",
+ "refs": {
+ }
+ },
+ "ListAcceptedPortfolioSharesInput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "ListAcceptedPortfolioSharesOutput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "ListConstraintsForPortfolioInput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "ListConstraintsForPortfolioOutput": {
+ "base": null,
+ "refs": {
+ }
+ },
"ListLaunchPathsInput": {
"base": null,
"refs": {
@@ -271,6 +654,56 @@
"refs": {
}
},
+ "ListPortfolioAccessInput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "ListPortfolioAccessOutput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "ListPortfoliosForProductInput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "ListPortfoliosForProductOutput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "ListPortfoliosInput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "ListPortfoliosOutput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "ListPrincipalsForPortfolioInput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "ListPrincipalsForPortfolioOutput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "ListProvisioningArtifactsInput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "ListProvisioningArtifactsOutput": {
+ "base": null,
+ "refs": {
+ }
+ },
"ListRecordHistoryInput": {
"base": null,
"refs": {
@@ -321,9 +754,15 @@
"base": null,
"refs": {
"DescribeRecordInput$PageSize": "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.
",
+ "ListAcceptedPortfolioSharesInput$PageSize": "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.
",
+ "ListConstraintsForPortfolioInput$PageSize": "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.
",
"ListLaunchPathsInput$PageSize": "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.
",
+ "ListPortfoliosForProductInput$PageSize": "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.
",
+ "ListPortfoliosInput$PageSize": "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.
",
+ "ListPrincipalsForPortfolioInput$PageSize": "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.
",
"ListRecordHistoryInput$PageSize": "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.
",
"ScanProvisionedProductsInput$PageSize": "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.
",
+ "SearchProductsAsAdminInput$PageSize": "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.
",
"SearchProductsInput$PageSize": "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.
"
}
},
@@ -332,12 +771,26 @@
"refs": {
"DescribeRecordInput$PageToken": "The page token of the first page retrieved. If null, this retrieves the first page of size PageSize
.
",
"DescribeRecordOutput$NextPageToken": "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.
",
+ "ListAcceptedPortfolioSharesInput$PageToken": "The page token of the first page retrieved. If null, this retrieves the first page of size PageSize
.
",
+ "ListAcceptedPortfolioSharesOutput$NextPageToken": "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.
",
+ "ListConstraintsForPortfolioInput$PageToken": "The page token of the first page retrieved. If null, this retrieves the first page of size PageSize
.
",
+ "ListConstraintsForPortfolioOutput$NextPageToken": "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.
",
"ListLaunchPathsInput$PageToken": "The page token of the first page retrieved. If null, this retrieves the first page of size PageSize
.
",
"ListLaunchPathsOutput$NextPageToken": "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.
",
+ "ListPortfolioAccessOutput$NextPageToken": "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.
",
+ "ListPortfoliosForProductInput$PageToken": "The page token of the first page retrieved. If null, this retrieves the first page of size PageSize
.
",
+ "ListPortfoliosForProductOutput$NextPageToken": "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.
",
+ "ListPortfoliosInput$PageToken": "The page token of the first page retrieved. If null, this retrieves the first page of size PageSize
.
",
+ "ListPortfoliosOutput$NextPageToken": "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.
",
+ "ListPrincipalsForPortfolioInput$PageToken": "The page token of the first page retrieved. If null, this retrieves the first page of size PageSize
.
",
+ "ListPrincipalsForPortfolioOutput$NextPageToken": "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.
",
+ "ListProvisioningArtifactsOutput$NextPageToken": "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.
",
"ListRecordHistoryInput$PageToken": "The page token of the first page retrieved. If null, this retrieves the first page of size PageSize
.
",
"ListRecordHistoryOutput$NextPageToken": "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.
",
"ScanProvisionedProductsInput$PageToken": "The page token of the first page retrieved. If null, this retrieves the first page of size PageSize
.
",
"ScanProvisionedProductsOutput$NextPageToken": "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.
",
+ "SearchProductsAsAdminInput$PageToken": "The page token of the first page retrieved. If null, this retrieves the first page of size PageSize
.
",
+ "SearchProductsAsAdminOutput$NextPageToken": "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.
",
"SearchProductsInput$PageToken": "The page token of the first page retrieved. If null, this retrieves the first page of size PageSize
.
",
"SearchProductsOutput$NextPageToken": "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.
"
}
@@ -369,15 +822,82 @@
"UpdateProvisioningParameter$Value": "The value to use for updating the product provisioning. Any constraints on this value can be found in the ProvisioningArtifactParameter
parameter for Key
.
"
}
},
+ "PortfolioDescription": {
+ "base": null,
+ "refs": {
+ "CreatePortfolioInput$Description": "The text description of the portfolio.
",
+ "PortfolioDetail$Description": "The text description of the portfolio.
",
+ "UpdatePortfolioInput$Description": "The updated text description of the portfolio.
"
+ }
+ },
+ "PortfolioDetail": {
+ "base": "Detailed portfolio information.
",
+ "refs": {
+ "CreatePortfolioOutput$PortfolioDetail": "The resulting detailed portfolio information.
",
+ "DescribePortfolioOutput$PortfolioDetail": "Detailed portfolio information.
",
+ "PortfolioDetails$member": null,
+ "UpdatePortfolioOutput$PortfolioDetail": "The resulting detailed portfolio information.
"
+ }
+ },
+ "PortfolioDetails": {
+ "base": null,
+ "refs": {
+ "ListAcceptedPortfolioSharesOutput$PortfolioDetails": "List of detailed portfolio information objects.
",
+ "ListPortfoliosForProductOutput$PortfolioDetails": "List of detailed portfolio information objects.
",
+ "ListPortfoliosOutput$PortfolioDetails": "List of detailed portfolio information objects.
"
+ }
+ },
+ "PortfolioDisplayName": {
+ "base": null,
+ "refs": {
+ "CreatePortfolioInput$DisplayName": "The name to use for display purposes.
",
+ "PortfolioDetail$DisplayName": "The name to use for display purposes.
",
+ "UpdatePortfolioInput$DisplayName": "The name to use for display purposes.
"
+ }
+ },
"PortfolioName": {
"base": null,
"refs": {
"LaunchPathSummary$Name": "Corresponds to the name of the portfolio to which the user was assigned.
"
}
},
+ "Principal": {
+ "base": "A principal's ARN and type.
",
+ "refs": {
+ "Principals$member": null
+ }
+ },
+ "PrincipalARN": {
+ "base": null,
+ "refs": {
+ "AssociatePrincipalWithPortfolioInput$PrincipalARN": "The ARN representing the principal (IAM user, role, or group).
",
+ "DisassociatePrincipalFromPortfolioInput$PrincipalARN": "The ARN representing the principal (IAM user, role, or group).
",
+ "Principal$PrincipalARN": "The ARN representing the principal (IAM user, role, or group).
"
+ }
+ },
+ "PrincipalType": {
+ "base": null,
+ "refs": {
+ "AssociatePrincipalWithPortfolioInput$PrincipalType": "The principal type. Must be IAM
",
+ "Principal$PrincipalType": "The principal type. Must be IAM
"
+ }
+ },
+ "Principals": {
+ "base": null,
+ "refs": {
+ "ListPrincipalsForPortfolioOutput$Principals": "The IAM principals (users or roles) associated with the portfolio.
"
+ }
+ },
+ "ProductSource": {
+ "base": null,
+ "refs": {
+ "SearchProductsAsAdminInput$ProductSource": "Access level of the source of the product.
"
+ }
+ },
"ProductType": {
"base": null,
"refs": {
+ "CreateProductInput$ProductType": "The type of the product to create.
",
"ProductViewSummary$Type": "The product type. Contact the product administrator for the significance of this value.
"
}
},
@@ -405,6 +925,21 @@
"SearchProductsOutput$ProductViewAggregations": "A list of the product view aggregation value objects.
"
}
},
+ "ProductViewDetail": {
+ "base": "Detailed product view information.
",
+ "refs": {
+ "CreateProductOutput$ProductViewDetail": "The resulting detailed product view information.
",
+ "DescribeProductAsAdminOutput$ProductViewDetail": "Detailed product view information.
",
+ "ProductViewDetails$member": null,
+ "UpdateProductOutput$ProductViewDetail": "The resulting detailed product view information.
"
+ }
+ },
+ "ProductViewDetails": {
+ "base": null,
+ "refs": {
+ "SearchProductsAsAdminOutput$ProductViewDetails": "List of detailed product view information objects.
"
+ }
+ },
"ProductViewDistributor": {
"base": null,
"refs": {
@@ -432,30 +967,40 @@
"ProductViewFilters": {
"base": null,
"refs": {
+ "SearchProductsAsAdminInput$Filters": "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.
",
"SearchProductsInput$Filters": "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.
"
}
},
"ProductViewName": {
"base": null,
"refs": {
- "ProductViewSummary$Name": "The name of the product.
"
+ "CreateProductInput$Name": "The name of the product.
",
+ "ProductViewSummary$Name": "The name of the product.
",
+ "UpdateProductInput$Name": "The updated product name.
"
}
},
"ProductViewOwner": {
"base": null,
"refs": {
- "ProductViewSummary$Owner": "The owner of the product. Contact the product administrator for the significance of this value.
"
+ "CreateProductInput$Owner": "The owner of the product.
",
+ "CreateProductInput$Distributor": "The distributor of the product.
",
+ "ProductViewSummary$Owner": "The owner of the product. Contact the product administrator for the significance of this value.
",
+ "UpdateProductInput$Owner": "The updated owner of the product.
",
+ "UpdateProductInput$Distributor": "The updated distributor of the product.
"
}
},
"ProductViewShortDescription": {
"base": null,
"refs": {
- "ProductViewSummary$ShortDescription": "Short description of the product.
"
+ "CreateProductInput$Description": "The text description of the product.
",
+ "ProductViewSummary$ShortDescription": "Short description of the product.
",
+ "UpdateProductInput$Description": "The updated text description of the product.
"
}
},
"ProductViewSortBy": {
"base": null,
"refs": {
+ "SearchProductsAsAdminInput$SortBy": "The sort field specifier. If no value is specified, results are not sorted.
",
"SearchProductsInput$SortBy": "The sort field specifier. If no value is specified, results are not sorted.
"
}
},
@@ -470,9 +1015,18 @@
"refs": {
"DescribeProductOutput$ProductViewSummary": "The summary metadata about the specified product.
",
"DescribeProductViewOutput$ProductViewSummary": "The summary metadata about the specified product.
",
+ "ProductViewDetail$ProductViewSummary": "The summary metadata about the specified product view.
",
"ProductViewSummaries$member": null
}
},
+ "ProviderName": {
+ "base": null,
+ "refs": {
+ "CreatePortfolioInput$ProviderName": "The name of the portfolio provider.
",
+ "PortfolioDetail$ProviderName": "The name of the portfolio provider.
",
+ "UpdatePortfolioInput$ProviderName": "The updated name of the portfolio provider.
"
+ }
+ },
"ProvisionProductInput": {
"base": null,
"refs": {
@@ -539,19 +1093,62 @@
"ProvisioningArtifactCreatedTime": {
"base": null,
"refs": {
- "ProvisioningArtifact$CreatedTime": "The time that the artifact was created by the Administrator.
"
+ "ProvisioningArtifact$CreatedTime": "The UTC timestamp of the creation time.
"
}
},
"ProvisioningArtifactDescription": {
"base": null,
"refs": {
- "ProvisioningArtifact$Description": "The text description of the artifact.
"
+ "ProvisioningArtifact$Description": "The text description of the artifact.
",
+ "ProvisioningArtifactProperties$Description": "The text description of the provisioning artifact properties.
",
+ "UpdateProvisioningArtifactInput$Description": "The updated text description of the provisioning artifact.
"
+ }
+ },
+ "ProvisioningArtifactDetail": {
+ "base": "Detailed provisioning artifact information.
",
+ "refs": {
+ "CreateProductOutput$ProvisioningArtifactDetail": "The resulting detailed provisioning artifact information.
",
+ "CreateProvisioningArtifactOutput$ProvisioningArtifactDetail": "The resulting detailed provisioning artifact information.
",
+ "DescribeProvisioningArtifactOutput$ProvisioningArtifactDetail": "Detailed provisioning artifact information.
",
+ "ProvisioningArtifactDetails$member": null,
+ "UpdateProvisioningArtifactOutput$ProvisioningArtifactDetail": "The resulting detailed provisioning artifact information.
"
+ }
+ },
+ "ProvisioningArtifactDetails": {
+ "base": null,
+ "refs": {
+ "ListProvisioningArtifactsOutput$ProvisioningArtifactDetails": "List of detailed provisioning artifact information objects.
"
+ }
+ },
+ "ProvisioningArtifactInfo": {
+ "base": null,
+ "refs": {
+ "CreateProvisioningArtifactOutput$Info": "Additional information about the provisioning artifact create request.
",
+ "DescribeProvisioningArtifactOutput$Info": "Additional information about the provisioning artifact.
",
+ "ProvisioningArtifactProperties$Info": "Additional information about the provisioning artifact properties.
",
+ "UpdateProvisioningArtifactOutput$Info": "Additional information about the provisioning artifact update request.
"
+ }
+ },
+ "ProvisioningArtifactInfoKey": {
+ "base": null,
+ "refs": {
+ "ProvisioningArtifactInfo$key": null
+ }
+ },
+ "ProvisioningArtifactInfoValue": {
+ "base": null,
+ "refs": {
+ "ProvisioningArtifactInfo$value": null
}
},
"ProvisioningArtifactName": {
"base": null,
"refs": {
- "ProvisioningArtifact$Name": "The name of the artifact.
"
+ "ProvisioningArtifact$Name": "The name of the artifact.
",
+ "ProvisioningArtifactDetail$Name": "The name assigned to the provisioning artifact.
",
+ "ProvisioningArtifactDetail$Description": "The text description of the provisioning artifact.
",
+ "ProvisioningArtifactProperties$Name": "The name assigned to the provisioning artifact properties.
",
+ "UpdateProvisioningArtifactInput$Name": "The updated name of the provisioning artifact.
"
}
},
"ProvisioningArtifactParameter": {
@@ -566,6 +1163,20 @@
"DescribeProvisioningParametersOutput$ProvisioningArtifactParameters": "The list of parameters used to successfully provision the product. Each parameter includes a list of allowable values and additional metadata about each parameter.
"
}
},
+ "ProvisioningArtifactProperties": {
+ "base": "Provisioning artifact properties.
",
+ "refs": {
+ "CreateProductInput$ProvisioningArtifactParameters": "Parameters for the provisioning artifact.
",
+ "CreateProvisioningArtifactInput$Parameters": "The parameters to use when creating the new provisioning artifact.
"
+ }
+ },
+ "ProvisioningArtifactType": {
+ "base": null,
+ "refs": {
+ "ProvisioningArtifactDetail$Type": "The type of the provisioning artifact.
",
+ "ProvisioningArtifactProperties$Type": "The type of the provisioning artifact properties.
"
+ }
+ },
"ProvisioningArtifacts": {
"base": null,
"refs": {
@@ -662,6 +1273,28 @@
"RecordDetail$RecordType": "The record type for this record.
"
}
},
+ "RejectPortfolioShareInput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "RejectPortfolioShareOutput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "ResourceARN": {
+ "base": null,
+ "refs": {
+ "PortfolioDetail$ARN": "The ARN assigned to the portfolio.
",
+ "ProductViewDetail$ProductARN": "The ARN associated with the product.
"
+ }
+ },
+ "ResourceInUseException": {
+ "base": "The operation was requested against a resource that is currently in use. Free the resource from use and retry the operation.
",
+ "refs": {
+ }
+ },
"ResourceNotFoundException": {
"base": "The specified resource was not found.
",
"refs": {
@@ -689,6 +1322,16 @@
"ListRecordHistorySearchFilter$Value": "The filter value for Key
.
"
}
},
+ "SearchProductsAsAdminInput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "SearchProductsAsAdminOutput": {
+ "base": null,
+ "refs": {
+ }
+ },
"SearchProductsInput": {
"base": null,
"refs": {
@@ -702,37 +1345,65 @@
"SortOrder": {
"base": null,
"refs": {
+ "SearchProductsAsAdminInput$SortOrder": "The sort order specifier. If no value is specified, results are not sorted.
",
"SearchProductsInput$SortOrder": "The sort order specifier. If no value is specified, results are not sorted.
"
}
},
+ "Status": {
+ "base": null,
+ "refs": {
+ "CreateConstraintOutput$Status": "The status of the current request.
",
+ "CreateProvisioningArtifactOutput$Status": "The status of the current request.
",
+ "DescribeConstraintOutput$Status": "The status of the current request.
",
+ "DescribeProvisioningArtifactOutput$Status": "The status of the current request.
",
+ "ProductViewDetail$Status": "Current status of the product.
",
+ "UpdateConstraintOutput$Status": "The status of the current request.
",
+ "UpdateProvisioningArtifactOutput$Status": "The status of the current request.
"
+ }
+ },
"SupportDescription": {
"base": null,
"refs": {
- "ProductViewSummary$SupportDescription": "The description of the support for this Product.
"
+ "CreateProductInput$SupportDescription": "Support information about the product.
",
+ "ProductViewSummary$SupportDescription": "The description of the support for this Product.
",
+ "UpdateProductInput$SupportDescription": "The updated support description for the product.
"
}
},
"SupportEmail": {
"base": null,
"refs": {
- "ProductViewSummary$SupportEmail": "The email contact information to obtain support for this Product.
"
+ "CreateProductInput$SupportEmail": "Contact email for product support.
",
+ "ProductViewSummary$SupportEmail": "The email contact information to obtain support for this Product.
",
+ "UpdateProductInput$SupportEmail": "The updated support email for the product.
"
}
},
"SupportUrl": {
"base": null,
"refs": {
- "ProductViewSummary$SupportUrl": "The URL information to obtain support for this Product.
"
+ "CreateProductInput$SupportUrl": "Contact URL for product support.
",
+ "ProductViewSummary$SupportUrl": "The URL information to obtain support for this Product.
",
+ "UpdateProductInput$SupportUrl": "The updated support URL for the product.
"
}
},
"Tag": {
"base": "Key/value pairs to associate with this provisioning. These tags are entirely discretionary and are propagated to the resources created in the provisioning.
",
"refs": {
+ "AddTags$member": null,
"Tags$member": null
}
},
"TagKey": {
"base": null,
"refs": {
- "Tag$Key": "The ProvisioningArtifactParameter.TagKey
parameter from DescribeProvisioningParameters.
"
+ "Tag$Key": "The ProvisioningArtifactParameter.TagKey
parameter from DescribeProvisioningParameters.
",
+ "TagKeys$member": null
+ }
+ },
+ "TagKeys": {
+ "base": null,
+ "refs": {
+ "UpdatePortfolioInput$RemoveTags": "Tags to remove from the existing list of tags associated with the portfolio.
",
+ "UpdateProductInput$RemoveTags": "Tags to remove from the existing list of tags associated with the product.
"
}
},
"TagValue": {
@@ -744,8 +1415,14 @@
"Tags": {
"base": null,
"refs": {
+ "CreatePortfolioOutput$Tags": "Tags successfully associated with the new portfolio.
",
+ "CreateProductOutput$Tags": "Tags successfully associated with the new product.
",
+ "DescribePortfolioOutput$Tags": "Tags associated with the portfolio.
",
+ "DescribeProductAsAdminOutput$Tags": "Tags associated with the product.
",
"LaunchPathSummary$Tags": "List of tags used by this launch path.
",
- "ProvisionProductInput$Tags": "A list of tags to use as provisioning options.
"
+ "ProvisionProductInput$Tags": "A list of tags to use as provisioning options.
",
+ "UpdatePortfolioOutput$Tags": "Tags associated with the portfolio.
",
+ "UpdateProductOutput$Tags": "Tags associated with the product.
"
}
},
"TerminateProvisionedProductInput": {
@@ -758,6 +1435,36 @@
"refs": {
}
},
+ "UpdateConstraintInput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "UpdateConstraintOutput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "UpdatePortfolioInput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "UpdatePortfolioOutput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "UpdateProductInput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "UpdateProductOutput": {
+ "base": null,
+ "refs": {
+ }
+ },
"UpdateProvisionedProductInput": {
"base": null,
"refs": {
@@ -768,6 +1475,16 @@
"refs": {
}
},
+ "UpdateProvisioningArtifactInput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "UpdateProvisioningArtifactOutput": {
+ "base": null,
+ "refs": {
+ }
+ },
"UpdateProvisioningParameter": {
"base": "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).
",
"refs": {
diff --git a/vendor/github.com/aws/aws-sdk-go/models/apis/sqs/2012-11-05/api-2.json b/vendor/github.com/aws/aws-sdk-go/models/apis/sqs/2012-11-05/api-2.json
index b30100f..5b0a0b7 100644
--- a/vendor/github.com/aws/aws-sdk-go/models/apis/sqs/2012-11-05/api-2.json
+++ b/vendor/github.com/aws/aws-sdk-go/models/apis/sqs/2012-11-05/api-2.json
@@ -277,19 +277,6 @@
"Actions":{"shape":"ActionNameList"}
}
},
- "AttributeMap":{
- "type":"map",
- "key":{
- "shape":"QueueAttributeName",
- "locationName":"Name"
- },
- "value":{
- "shape":"String",
- "locationName":"Value"
- },
- "flattened":true,
- "locationName":"Attribute"
- },
"AttributeNameList":{
"type":"list",
"member":{
@@ -427,7 +414,7 @@
"members":{
"QueueName":{"shape":"String"},
"Attributes":{
- "shape":"AttributeMap",
+ "shape":"QueueAttributeMap",
"locationName":"Attribute"
}
}
@@ -535,7 +522,7 @@
"type":"structure",
"members":{
"Attributes":{
- "shape":"AttributeMap",
+ "shape":"QueueAttributeMap",
"locationName":"Attribute"
}
}
@@ -618,28 +605,16 @@
"MD5OfBody":{"shape":"String"},
"Body":{"shape":"String"},
"Attributes":{
- "shape":"AttributeMap",
+ "shape":"MessageSystemAttributeMap",
"locationName":"Attribute"
},
"MD5OfMessageAttributes":{"shape":"String"},
"MessageAttributes":{
- "shape":"MessageAttributeMap",
+ "shape":"MessageBodyAttributeMap",
"locationName":"MessageAttribute"
}
}
},
- "MessageAttributeMap":{
- "type":"map",
- "key":{
- "shape":"String",
- "locationName":"Name"
- },
- "value":{
- "shape":"MessageAttributeValue",
- "locationName":"Value"
- },
- "flattened":true
- },
"MessageAttributeName":{"type":"string"},
"MessageAttributeNameList":{
"type":"list",
@@ -668,6 +643,18 @@
"DataType":{"shape":"String"}
}
},
+ "MessageBodyAttributeMap":{
+ "type":"map",
+ "key":{
+ "shape":"String",
+ "locationName":"Name"
+ },
+ "value":{
+ "shape":"MessageAttributeValue",
+ "locationName":"Value"
+ },
+ "flattened":true
+ },
"MessageList":{
"type":"list",
"member":{
@@ -687,6 +674,31 @@
},
"exception":true
},
+ "MessageSystemAttributeMap":{
+ "type":"map",
+ "key":{
+ "shape":"MessageSystemAttributeName",
+ "locationName":"Name"
+ },
+ "value":{
+ "shape":"String",
+ "locationName":"Value"
+ },
+ "flattened":true,
+ "locationName":"Attribute"
+ },
+ "MessageSystemAttributeName":{
+ "type":"string",
+ "enum":[
+ "SenderId",
+ "SentTimestamp",
+ "ApproximateReceiveCount",
+ "ApproximateFirstReceiveTimestamp",
+ "SequenceNumber",
+ "MessageDeduplicationId",
+ "MessageGroupId"
+ ]
+ },
"OverLimit":{
"type":"structure",
"members":{
@@ -716,9 +728,23 @@
"QueueUrl":{"shape":"String"}
}
},
+ "QueueAttributeMap":{
+ "type":"map",
+ "key":{
+ "shape":"QueueAttributeName",
+ "locationName":"Name"
+ },
+ "value":{
+ "shape":"String",
+ "locationName":"Value"
+ },
+ "flattened":true,
+ "locationName":"Attribute"
+ },
"QueueAttributeName":{
"type":"string",
"enum":[
+ "All",
"Policy",
"VisibilityTimeout",
"MaximumMessageSize",
@@ -731,7 +757,9 @@
"ApproximateNumberOfMessagesDelayed",
"DelaySeconds",
"ReceiveMessageWaitTimeSeconds",
- "RedrivePolicy"
+ "RedrivePolicy",
+ "FifoQueue",
+ "ContentBasedDeduplication"
]
},
"QueueDeletedRecently":{
@@ -790,7 +818,8 @@
"MessageAttributeNames":{"shape":"MessageAttributeNameList"},
"MaxNumberOfMessages":{"shape":"Integer"},
"VisibilityTimeout":{"shape":"Integer"},
- "WaitTimeSeconds":{"shape":"Integer"}
+ "WaitTimeSeconds":{"shape":"Integer"},
+ "ReceiveRequestAttemptId":{"shape":"String"}
}
},
"ReceiveMessageResult":{
@@ -832,9 +861,11 @@
"MessageBody":{"shape":"String"},
"DelaySeconds":{"shape":"Integer"},
"MessageAttributes":{
- "shape":"MessageAttributeMap",
+ "shape":"MessageBodyAttributeMap",
"locationName":"MessageAttribute"
- }
+ },
+ "MessageDeduplicationId":{"shape":"String"},
+ "MessageGroupId":{"shape":"String"}
}
},
"SendMessageBatchRequestEntryList":{
@@ -867,7 +898,8 @@
"Id":{"shape":"String"},
"MessageId":{"shape":"String"},
"MD5OfMessageBody":{"shape":"String"},
- "MD5OfMessageAttributes":{"shape":"String"}
+ "MD5OfMessageAttributes":{"shape":"String"},
+ "SequenceNumber":{"shape":"String"}
}
},
"SendMessageBatchResultEntryList":{
@@ -889,9 +921,11 @@
"MessageBody":{"shape":"String"},
"DelaySeconds":{"shape":"Integer"},
"MessageAttributes":{
- "shape":"MessageAttributeMap",
+ "shape":"MessageBodyAttributeMap",
"locationName":"MessageAttribute"
- }
+ },
+ "MessageDeduplicationId":{"shape":"String"},
+ "MessageGroupId":{"shape":"String"}
}
},
"SendMessageResult":{
@@ -899,7 +933,8 @@
"members":{
"MD5OfMessageBody":{"shape":"String"},
"MD5OfMessageAttributes":{"shape":"String"},
- "MessageId":{"shape":"String"}
+ "MessageId":{"shape":"String"},
+ "SequenceNumber":{"shape":"String"}
}
},
"SetQueueAttributesRequest":{
@@ -911,7 +946,7 @@
"members":{
"QueueUrl":{"shape":"String"},
"Attributes":{
- "shape":"AttributeMap",
+ "shape":"QueueAttributeMap",
"locationName":"Attribute"
}
}
diff --git a/vendor/github.com/aws/aws-sdk-go/models/apis/sqs/2012-11-05/docs-2.json b/vendor/github.com/aws/aws-sdk-go/models/apis/sqs/2012-11-05/docs-2.json
index 3722552..0bec40a 100644
--- a/vendor/github.com/aws/aws-sdk-go/models/apis/sqs/2012-11-05/docs-2.json
+++ b/vendor/github.com/aws/aws-sdk-go/models/apis/sqs/2012-11-05/docs-2.json
@@ -1,24 +1,24 @@
{
"version": "2.0",
- "service": "Welcome to the Amazon Simple Queue Service API Reference. This section describes who should read this guide, how the guide is organized, and other resources related to the Amazon Simple Queue Service (Amazon SQS).
Amazon SQS offers reliable and scalable hosted queues for storing messages as they travel between computers. By using Amazon SQS, you can move data between distributed components of your applications that perform different tasks without losing messages or requiring each component to be always available.
Helpful Links:
We also provide SDKs that enable you to access Amazon SQS from your preferred programming language. The SDKs contain functionality that automatically takes care of tasks such as:
For a list of available SDKs, go to Tools for Amazon Web Services.
",
+ "service": "Welcome to the Amazon Simple Queue Service API Reference. This section describes who should read this guide, how the guide is organized, and other resources related to the Amazon Simple Queue Service (Amazon SQS).
Amazon SQS offers reliable and scalable hosted queues for storing messages as they travel between computers. By using Amazon SQS, you can move data between distributed components of your applications that perform different tasks without losing messages or requiring each component to be always available.
Topics
Helpful Links
We also provide SDKs that enable you to access Amazon SQS from your preferred programming language. The SDKs contain functionality that automatically takes care of tasks such as:
For a list of available SDKs, see Tools for Amazon Web Services.
",
"operations": {
- "AddPermission": "Adds a permission to a queue for a specific principal. This allows for sharing access to the queue.
When you create a queue, you have full control access rights for the queue. Only you (as owner of the queue) can grant or deny permissions to the queue. For more information about these permissions, see Shared Queues in the Amazon SQS Developer Guide.
AddPermission
writes an Amazon SQS-generated policy. If you want to write your own policy, use SetQueueAttributes to upload your policy. For more information about writing your own policy, see Using The Access Policy Language in the Amazon SQS Developer Guide.
Some API actions take lists of parameters. These lists are specified using the param.n
notation. Values of n
are integers starting from 1. For example, a parameter list with two elements looks like this:
",
- "ChangeMessageVisibility": "Changes the visibility timeout of a specified message in a queue to a new value. The maximum allowed timeout value you can set the value to is 12 hours. This means you can't extend the timeout of a message in an existing queue to more than a total visibility timeout of 12 hours. (For more information visibility timeout, see Visibility Timeout in the Amazon SQS Developer Guide.)
For example, let's say you have a message and its default message visibility timeout is 5 minutes. After 3 minutes, you call ChangeMessageVisiblity
with a timeout of 10 minutes. At that time, the timeout for the message would be extended by 10 minutes beyond the time of the ChangeMessageVisibility call. This results in a total visibility timeout of 13 minutes. You can continue to call ChangeMessageVisibility to extend the visibility timeout to a maximum of 12 hours. If you try to extend beyond 12 hours, the request will be rejected.
There is a 120,000 limit for the number of inflight messages per queue. Messages are inflight after they have been received from the queue by a consuming component, but have not yet been deleted from the queue. If you reach the 120,000 limit, you will receive an OverLimit error message from Amazon SQS. To help avoid reaching the limit, you should delete the messages from the queue after they have been processed. You can also increase the number of queues you use to process the messages.
If you attempt to set the VisibilityTimeout
to an amount more than the maximum time left, Amazon SQS returns an error. It will not automatically recalculate and increase the timeout to the maximum time remaining.
Unlike with a queue, when you change the visibility timeout for a specific message, that timeout value is applied immediately but is not saved in memory for that message. If you don't delete a message after it is received, the visibility timeout for the message the next time it is received reverts to the original timeout value, not the value you set with the ChangeMessageVisibility
action.
",
- "ChangeMessageVisibilityBatch": "Changes the visibility timeout of multiple messages. This is a batch version of ChangeMessageVisibility. The result of the action on each message is reported individually in the response. You can send up to 10 ChangeMessageVisibility requests with each ChangeMessageVisibilityBatch
action.
Because the batch request can result in a combination of successful and unsuccessful actions, you should check for batch errors even when the call returns an HTTP status code of 200.
Some API actions take lists of parameters. These lists are specified using the param.n
notation. Values of n
are integers starting from 1. For example, a parameter list with two elements looks like this:
",
- "CreateQueue": "Creates a new queue, or returns the URL of an existing one. When you request CreateQueue
, you provide a name for the queue. To successfully create a new queue, you must provide a name that is unique within the scope of your own queues.
If you delete a queue, you must wait at least 60 seconds before creating a queue with the same name.
You may pass one or more attributes in the request. If you do not provide a value for any attribute, the queue will have the default value for that attribute.
Use GetQueueUrl to get a queue's URL. GetQueueUrl requires only the QueueName
parameter.
If you provide the name of an existing queue, along with the exact names and values of all the queue's attributes, CreateQueue
returns the queue URL for the existing queue. If the queue name, attribute names, or attribute values do not match an existing queue, CreateQueue
returns an error.
Some API actions take lists of parameters. These lists are specified using the param.n
notation. Values of n
are integers starting from 1. For example, a parameter list with two elements looks like this:
",
- "DeleteMessage": " Deletes the specified message from the specified queue. You specify the message by using the message's receipt handle
and not the message ID
you received when you sent the message. Even if the message is locked by another reader due to the visibility timeout setting, it is still deleted from the queue. If you leave a message in the queue for longer than the queue's configured retention period, Amazon SQS automatically deletes it.
The receipt handle is associated with a specific instance of receiving the message. If you receive a message more than once, the receipt handle you get each time you receive the message is different. When you request DeleteMessage
, if you don't provide the most recently received receipt handle for the message, the request will still succeed, but the message might not be deleted.
It is possible you will receive a message even after you have deleted it. This might happen on rare occasions if one of the servers storing a copy of the message is unavailable when you request to delete the message. The copy remains on the server and might be returned to you again on a subsequent receive request. You should create your system to be idempotent so that receiving a particular message more than once is not a problem.
",
- "DeleteMessageBatch": "Deletes up to ten messages from the specified queue. This is a batch version of DeleteMessage. The result of the delete action on each message is reported individually in the response.
Because the batch request can result in a combination of successful and unsuccessful actions, you should check for batch errors even when the call returns an HTTP status code of 200.
Some API actions take lists of parameters. These lists are specified using the param.n
notation. Values of n
are integers starting from 1. For example, a parameter list with two elements looks like this:
",
- "DeleteQueue": " Deletes the queue specified by the queue URL, regardless of whether the queue is empty. If the specified queue does not exist, Amazon SQS returns a successful response.
Use DeleteQueue
with care; once you delete your queue, any messages in the queue are no longer available.
When you delete a queue, the deletion process takes up to 60 seconds. Requests you send involving that queue during the 60 seconds might succeed. For example, a SendMessage request might succeed, but after the 60 seconds, the queue and that message you sent no longer exist. Also, when you delete a queue, you must wait at least 60 seconds before creating a queue with the same name.
We reserve the right to delete queues that have had no activity for more than 30 days. For more information, see How Amazon SQS Queues Work in the Amazon SQS Developer Guide.
",
- "GetQueueAttributes": "Gets attributes for the specified queue.
Some API actions take lists of parameters. These lists are specified using the param.n
notation. Values of n
are integers starting from 1. For example, a parameter list with two elements looks like this:
",
- "GetQueueUrl": " Returns the URL of an existing queue. This action provides a simple way to retrieve the URL of an Amazon SQS queue.
To access a queue that belongs to another AWS account, use the QueueOwnerAWSAccountId
parameter to specify the account ID of the queue's owner. The queue's owner must grant you permission to access the queue. For more information about shared queue access, see AddPermission or go to Shared Queues in the Amazon SQS Developer Guide.
",
- "ListDeadLetterSourceQueues": "Returns a list of your queues that have the RedrivePolicy queue attribute configured with a dead letter queue.
For more information about using dead letter queues, see Using Amazon SQS Dead Letter Queues.
",
+ "AddPermission": "Adds a permission to a queue for a specific principal. This allows for sharing access to the queue.
When you create a queue, you have full control access rights for the queue. Only you (as owner of the queue) can grant or deny permissions to the queue. For more information about these permissions, see Shared Queues in the Amazon SQS Developer Guide.
AddPermission
writes an Amazon SQS-generated policy. If you want to write your own policy, use SetQueueAttributes to upload your policy. For more information about writing your own policy, see Using The Access Policy Language in the Amazon SQS Developer Guide.
Some API actions take lists of parameters. These lists are specified using the param.n
notation. Values of n
are integers starting from 1. For example, a parameter list with two elements looks like this:
&Attribute.1=this
&Attribute.2=that
",
+ "ChangeMessageVisibility": "Changes the visibility timeout of a specified message in a queue to a new value. The maximum allowed timeout value you can set the value to is 12 hours. This means you can't extend the timeout of a message in an existing queue to more than a total visibility timeout of 12 hours. (For more information visibility timeout, see Visibility Timeout in the Amazon SQS Developer Guide.)
For example, let's say you have a message and its default message visibility timeout is 5 minutes. After 3 minutes, you call ChangeMessageVisiblity
with a timeout of 10 minutes. At that time, the timeout for the message would be extended by 10 minutes beyond the time of the ChangeMessageVisibility call. This results in a total visibility timeout of 13 minutes. You can continue to call ChangeMessageVisibility to extend the visibility timeout to a maximum of 12 hours. If you try to extend beyond 12 hours, the request will be rejected.
There is a 120,000 limit for the number of inflight messages per queue. Messages are inflight after they have been received from the queue by a consuming component, but have not yet been deleted from the queue. If you reach the 120,000 limit, you will receive an OverLimit error message from Amazon SQS. To help avoid reaching the limit, you should delete the messages from the queue after they have been processed. You can also increase the number of queues you use to process the messages.
If you attempt to set the VisibilityTimeout
to an amount more than the maximum time left, Amazon SQS returns an error. It will not automatically recalculate and increase the timeout to the maximum time remaining.
Unlike with a queue, when you change the visibility timeout for a specific message, that timeout value is applied immediately but is not saved in memory for that message. If you don't delete a message after it is received, the visibility timeout for the message the next time it is received reverts to the original timeout value, not the value you set with the ChangeMessageVisibility
action.
",
+ "ChangeMessageVisibilityBatch": "Changes the visibility timeout of multiple messages. This is a batch version of ChangeMessageVisibility. The result of the action on each message is reported individually in the response. You can send up to 10 ChangeMessageVisibility requests with each ChangeMessageVisibilityBatch
action.
Because the batch request can result in a combination of successful and unsuccessful actions, you should check for batch errors even when the call returns an HTTP status code of 200.
Some API actions take lists of parameters. These lists are specified using the param.n
notation. Values of n
are integers starting from 1. For example, a parameter list with two elements looks like this:
&Attribute.1=this
&Attribute.2=that
",
+ "CreateQueue": "Creates a new standard or FIFO queue or returns the URL of an existing queue. You can pass one or more attributes in the request.
-
If you don't specify the FifoQueue
attribute, Amazon SQS creates a standard queue.
You can't change the queue type after you create it and you can't convert an existing standard queue into a FIFO queue. You must either create a new FIFO queue for your application or delete your existing standard queue and recreate it as a FIFO queue. For more information, see Moving From a Standard Queue to a FIFO Queue in the Amazon SQS Developer Guide.
-
If you don't provide a value for an attribute, the queue is created with the default value for the attribute.
-
If you delete a queue, you must wait at least 60 seconds before creating a queue with the same name.
To successfully create a new queue, you must provide a queue name that adheres to the limits related to queues and is unique within the scope of your queues.
To get the queue URL, use the GetQueueUrl action. GetQueueUrl requires only the QueueName
parameter.
-
If you provide the name of an existing queue along with the exact names and values of all the queue's attributes, CreateQueue
returns the queue URL for the existing queue.
-
If the queue name, attribute names, or attribute values don't match an existing queue, CreateQueue
returns an error.
Some API actions take lists of parameters. Specify these lists using the param.n
notation. Values of n
are integers starting from 1. The following is an example of a parameter list with two elements:
&Attribute.1=this
&Attribute.2=that
",
+ "DeleteMessage": " Deletes the specified message from the specified queue. You specify the message by using the message's receipt handle
and not the message ID
you received when you sent the message. Even if the message is locked by another reader due to the visibility timeout setting, it is still deleted from the queue. If you leave a message in the queue for longer than the queue's configured retention period, Amazon SQS automatically deletes it.
The receipt handle is associated with a specific instance of receiving the message. If you receive a message more than once, the receipt handle you get each time you receive the message is different. When you request DeleteMessage
, if you don't provide the most recently received receipt handle for the message, the request will still succeed, but the message might not be deleted.
It is possible you will receive a message even after you have deleted it. This might happen on rare occasions if one of the servers storing a copy of the message is unavailable when you request to delete the message. The copy remains on the server and might be returned to you again on a subsequent receive request. You should create your system to be idempotent so that receiving a particular message more than once is not a problem.
",
+ "DeleteMessageBatch": "Deletes up to ten messages from the specified queue. This is a batch version of DeleteMessage. The result of the delete action on each message is reported individually in the response.
Because the batch request can result in a combination of successful and unsuccessful actions, you should check for batch errors even when the call returns an HTTP status code of 200.
Some API actions take lists of parameters. These lists are specified using the param.n
notation. Values of n
are integers starting from 1. For example, a parameter list with two elements looks like this:
&Attribute.1=this
&Attribute.2=that
",
+ "DeleteQueue": " Deletes the queue specified by the queue URL, regardless of whether the queue is empty. If the specified queue doesn't exist, Amazon SQS returns a successful response.
Use DeleteQueue
with care; once you delete your queue, any messages in the queue are no longer available.
When you delete a queue, the deletion process takes up to 60 seconds. Requests you send involving that queue during the 60 seconds might succeed. For example, a SendMessage request might succeed, but after the 60 seconds, the queue and that message you sent no longer exist. Also, when you delete a queue, you must wait at least 60 seconds before creating a queue with the same name.
We reserve the right to delete queues that have had no activity for more than 30 days. For more information, see How Amazon SQS Queues Work in the Amazon SQS Developer Guide.
",
+ "GetQueueAttributes": "Gets attributes for the specified queue.
Some API actions take lists of parameters. These lists are specified using the param.n
notation. Values of n
are integers starting from 1. For example, a parameter list with two elements looks like this:
&Attribute.1=this
&Attribute.2=that
",
+ "GetQueueUrl": "Returns the URL of an existing queue. This action provides a simple way to retrieve the URL of an Amazon SQS queue.
To access a queue that belongs to another AWS account, use the QueueOwnerAWSAccountId
parameter to specify the account ID of the queue's owner. The queue's owner must grant you permission to access the queue. For more information about shared queue access, see AddPermission or see Shared Queues in the Amazon SQS Developer Guide.
",
+ "ListDeadLetterSourceQueues": "Returns a list of your queues that have the RedrivePolicy queue attribute configured with a dead letter queue.
For more information about using dead letter queues, see Using Amazon SQS Dead Letter Queues in the Amazon SQS Developer Guide.
",
"ListQueues": "Returns a list of your queues. The maximum number of queues that can be returned is 1000. If you specify a value for the optional QueueNamePrefix
parameter, only queues with a name beginning with the specified value are returned.
",
- "PurgeQueue": "Deletes the messages in a queue specified by the queue URL.
When you use the PurgeQueue
API, the deleted messages in the queue cannot be retrieved.
When you purge a queue, the message deletion process takes up to 60 seconds. All messages sent to the queue before calling PurgeQueue
will be deleted; messages sent to the queue while it is being purged may be deleted. While the queue is being purged, messages sent to the queue before PurgeQueue
was called may be received, but will be deleted within the next minute.
",
- "ReceiveMessage": " Retrieves one or more messages, with a maximum limit of 10 messages, from the specified queue. Long poll support is enabled by using the WaitTimeSeconds
parameter. For more information, see Amazon SQS Long Poll in the Amazon SQS Developer Guide.
Short poll is the default behavior where a weighted random set of machines is sampled on a ReceiveMessage
call. This means only the messages on the sampled machines are returned. If the number of messages in the queue is small (less than 1000), it is likely you will get fewer messages than you requested per ReceiveMessage
call. If the number of messages in the queue is extremely small, you might not receive any messages in a particular ReceiveMessage
response; in which case you should repeat the request.
For each message returned, the response includes the following:
-
Message body
-
MD5 digest of the message body. For information about MD5, go to http://www.faqs.org/rfcs/rfc1321.html.
-
Message ID you received when you sent the message to the queue.
-
Receipt handle.
-
Message attributes.
-
MD5 digest of the message attributes.
The receipt handle is the identifier you must provide when deleting the message. For more information, see Queue and Message Identifiers in the Amazon SQS Developer Guide.
You can provide the VisibilityTimeout
parameter in your request, which will be applied to the messages that Amazon SQS returns in the response. If you do not include the parameter, the overall visibility timeout for the queue is used for the returned messages. For more information, see Visibility Timeout in the Amazon SQS Developer Guide.
Going forward, new attributes might be added. If you are writing code that calls this action, we recommend that you structure your code so that it can handle new attributes gracefully.
",
+ "PurgeQueue": "Deletes the messages in a queue specified by the queue URL.
When you use the PurgeQueue
API, the deleted messages in the queue can't be retrieved.
When you purge a queue, the message deletion process takes up to 60 seconds. All messages sent to the queue before calling PurgeQueue
will be deleted; messages sent to the queue while it is being purged might be deleted. While the queue is being purged, messages sent to the queue before PurgeQueue
was called might be received, but will be deleted within the next minute.
",
+ "ReceiveMessage": "Retrieves one or more messages, with a maximum limit of 10 messages, from the specified queue. Long poll support is enabled by using the WaitTimeSeconds
parameter. For more information, see Amazon SQS Long Poll in the Amazon SQS Developer Guide.
Short poll is the default behavior where a weighted random set of machines is sampled on a ReceiveMessage
call. This means only the messages on the sampled machines are returned. If the number of messages in the queue is small (less than 1000), it is likely you will get fewer messages than you requested per ReceiveMessage
call. If the number of messages in the queue is extremely small, you might not receive any messages in a particular ReceiveMessage
response; in which case you should repeat the request.
For each message returned, the response includes the following:
-
Message body
-
MD5 digest of the message body. For information about MD5, see RFC1321.
-
Message ID you received when you sent the message to the queue.
-
Receipt handle.
-
Message attributes.
-
MD5 digest of the message attributes.
The receipt handle is the identifier you must provide when deleting the message. For more information, see Queue and Message Identifiers in the Amazon SQS Developer Guide.
You can provide the VisibilityTimeout
parameter in your request, which will be applied to the messages that Amazon SQS returns in the response. If you don't include the parameter, the overall visibility timeout for the queue is used for the returned messages. For more information, see Visibility Timeout in the Amazon SQS Developer Guide.
A message that is not deleted or a message whose visibility is not extended before the visibility timeout expires counts as a failed receive. Depending on the configuration of the queue, the message might be sent to the dead letter queue.
Going forward, new attributes might be added. If you are writing code that calls this action, we recommend that you structure your code so that it can handle new attributes gracefully.
",
"RemovePermission": "Revokes any permissions in the queue policy that matches the specified Label
parameter. Only the owner of the queue can remove permissions.
",
- "SendMessage": " Delivers a message to the specified queue. With Amazon SQS, you now have the ability to send large payload messages that are up to 256KB (262,144 bytes) in size. To send large payloads, you must use an AWS SDK that supports SigV4 signing. To verify whether SigV4 is supported for an AWS SDK, check the SDK release notes.
The following list shows the characters (in Unicode) allowed in your message, according to the W3C XML specification. For more information, go to http://www.w3.org/TR/REC-xml/#charsets If you send any characters not included in the list, your request will be rejected.
#x9 | #xA | #xD | [#x20 to #xD7FF] | [#xE000 to #xFFFD] | [#x10000 to #x10FFFF]
",
- "SendMessageBatch": "Delivers up to ten messages to the specified queue. This is a batch version of SendMessage. The result of the send action on each message is reported individually in the response. The maximum allowed individual message size is 256 KB (262,144 bytes).
The maximum total payload size (i.e., the sum of all a batch's individual message lengths) is also 256 KB (262,144 bytes).
If the DelaySeconds
parameter is not specified for an entry, the default for the queue is used.
The following list shows the characters (in Unicode) that are allowed in your message, according to the W3C XML specification. For more information, go to http://www.faqs.org/rfcs/rfc1321.html. If you send any characters that are not included in the list, your request will be rejected.
#x9 | #xA | #xD | [#x20 to #xD7FF] | [#xE000 to #xFFFD] | [#x10000 to #x10FFFF]
Because the batch request can result in a combination of successful and unsuccessful actions, you should check for batch errors even when the call returns an HTTP status code of 200.
Some API actions take lists of parameters. These lists are specified using the param.n
notation. Values of n
are integers starting from 1. For example, a parameter list with two elements looks like this:
",
- "SetQueueAttributes": "Sets the value of one or more queue attributes. When you change a queue's attributes, the change can take up to 60 seconds for most of the attributes to propagate throughout the SQS system. Changes made to the MessageRetentionPeriod
attribute can take up to 15 minutes.
Going forward, new attributes might be added. If you are writing code that calls this action, we recommend that you structure your code so that it can handle new attributes gracefully.
"
+ "SendMessage": "Delivers a message to the specified queue.
The following list shows the characters (in Unicode) that are allowed in your message, according to the W3C XML specification:
#x9
| #xA
| #xD
| [#x20
to #xD7FF
] | [#xE000
to #xFFFD
] | [#x10000
to #x10FFFF
]
For more information, see RFC1321. If you send any characters that aren't included in this list, your request will be rejected.
",
+ "SendMessageBatch": "Delivers up to ten messages to the specified queue. This is a batch version of SendMessage
. For a FIFO queue, multiple messages within a single batch are enqueued in the order they are sent.
The result of sending each message is reported individually in the response. Because the batch request can result in a combination of successful and unsuccessful actions, you should check for batch errors even when the call returns an HTTP status code of 200.
The maximum allowed individual message size and the maximum total payload size (the sum of the individual lengths of all of the batched messages) are both 256 KB (262,144 bytes).
The following list shows the characters (in Unicode) that are allowed in your message, according to the W3C XML specification:
#x9
| #xA
| #xD
| [#x20
to #xD7FF
] | [#xE000
to #xFFFD
] | [#x10000
to #x10FFFF
]
For more information, see RFC1321. If you send any characters that aren't included in this list, your request will be rejected.
If you don't specify the DelaySeconds
parameter for an entry, Amazon SQS uses the default for the queue.
Some API actions take lists of parameters. These lists are specified using the param.n
notation. Values of n
are integers starting from 1. For example, a parameter list with two elements looks like this:
&Attribute.1=this
&Attribute.2=that
",
+ "SetQueueAttributes": "Sets the value of one or more queue attributes. When you change a queue's attributes, the change can take up to 60 seconds for most of the attributes to propagate throughout the SQS system. Changes made to the MessageRetentionPeriod
attribute can take up to 15 minutes.
In the future, new attributes might be added. When you write code that calls this action, we recommend structuring your code so that it can handle new attributes gracefully.
"
},
"shapes": {
"AWSAccountIdList": {
@@ -38,20 +38,11 @@
"refs": {
}
},
- "AttributeMap": {
- "base": null,
- "refs": {
- "CreateQueueRequest$Attributes": "A map of attributes with their corresponding values.
The following lists the names, descriptions, and values of the special request parameters the CreateQueue
action uses:
DelaySeconds
- The time in seconds that the delivery of all messages in the queue will be delayed. An integer from 0 to 900 (15 minutes). The default for this attribute is 0 (zero).
MaximumMessageSize
- The limit of how many bytes a message can contain before Amazon SQS rejects it. An integer from 1024 bytes (1 KiB) up to 262144 bytes (256 KiB). The default for this attribute is 262144 (256 KiB).
MessageRetentionPeriod
- The number of seconds Amazon SQS retains a message. Integer representing seconds, from 60 (1 minute) to 1209600 (14 days). The default for this attribute is 345600 (4 days).
Policy
- The queue's policy. A valid AWS policy. For more information about policy structure, see Overview of AWS IAM Policies in the Amazon IAM User Guide.
ReceiveMessageWaitTimeSeconds
- The time for which a ReceiveMessage call will wait for a message to arrive. An integer from 0 to 20 (seconds). The default for this attribute is 0.
RedrivePolicy
- The parameters for dead letter queue functionality of the source queue. For more information about RedrivePolicy and dead letter queues, see Using Amazon SQS Dead Letter Queues in the Amazon SQS Developer Guide.
VisibilityTimeout
- The visibility timeout for the queue. An integer from 0 to 43200 (12 hours). The default for this attribute is 30. For more information about visibility timeout, see Visibility Timeout in the Amazon SQS Developer Guide.
Any other valid special request parameters that are specified (such as ApproximateNumberOfMessages
, ApproximateNumberOfMessagesDelayed
, ApproximateNumberOfMessagesNotVisible
, CreatedTimestamp
, LastModifiedTimestamp
, and QueueArn
) will be ignored.
",
- "GetQueueAttributesResult$Attributes": "A map of attributes to the respective values.
",
- "Message$Attributes": "SenderId
, SentTimestamp
, ApproximateReceiveCount
, and/or ApproximateFirstReceiveTimestamp
. SentTimestamp
and ApproximateFirstReceiveTimestamp
are each returned as an integer representing the epoch time in milliseconds.
",
- "SetQueueAttributesRequest$Attributes": "A map of attributes to set.
The following lists the names, descriptions, and values of the special request parameters the SetQueueAttributes
action uses:
DelaySeconds
- The time in seconds that the delivery of all messages in the queue will be delayed. An integer from 0 to 900 (15 minutes). The default for this attribute is 0 (zero).
MaximumMessageSize
- The limit of how many bytes a message can contain before Amazon SQS rejects it. An integer from 1024 bytes (1 KiB) up to 262144 bytes (256 KiB). The default for this attribute is 262144 (256 KiB).
MessageRetentionPeriod
- The number of seconds Amazon SQS retains a message. Integer representing seconds, from 60 (1 minute) to 1209600 (14 days). The default for this attribute is 345600 (4 days).
Policy
- The queue's policy. A valid AWS policy. For more information about policy structure, see Overview of AWS IAM Policies in the Amazon IAM User Guide.
ReceiveMessageWaitTimeSeconds
- The time for which a ReceiveMessage call will wait for a message to arrive. An integer from 0 to 20 (seconds). The default for this attribute is 0.
VisibilityTimeout
- The visibility timeout for the queue. An integer from 0 to 43200 (12 hours). The default for this attribute is 30. For more information about visibility timeout, see Visibility Timeout in the Amazon SQS Developer Guide.
RedrivePolicy
- The parameters for dead letter queue functionality of the source queue. For more information about RedrivePolicy and dead letter queues, see Using Amazon SQS Dead Letter Queues in the Amazon SQS Developer Guide.
Any other valid special request parameters that are specified (such as ApproximateNumberOfMessages
, ApproximateNumberOfMessagesDelayed
, ApproximateNumberOfMessagesNotVisible
, CreatedTimestamp
, LastModifiedTimestamp
, and QueueArn
) will be ignored.
"
- }
- },
"AttributeNameList": {
"base": null,
"refs": {
- "GetQueueAttributesRequest$AttributeNames": "A list of attributes to retrieve information for. The following attributes are supported:
All
- returns all values.
ApproximateNumberOfMessages
- returns the approximate number of visible messages in a queue. For more information, see Resources Required to Process Messages in the Amazon SQS Developer Guide.
ApproximateNumberOfMessagesNotVisible
- returns the approximate number of messages that are not timed-out and not deleted. For more information, see Resources Required to Process Messages in the Amazon SQS Developer Guide.
VisibilityTimeout
- returns the visibility timeout for the queue. For more information about visibility timeout, see Visibility Timeout in the Amazon SQS Developer Guide.
CreatedTimestamp
- returns the time when the queue was created (epoch time in seconds).
LastModifiedTimestamp
- returns the time when the queue was last changed (epoch time in seconds).
Policy
- returns the queue's policy.
MaximumMessageSize
- returns the limit of how many bytes a message can contain before Amazon SQS rejects it.
MessageRetentionPeriod
- returns the number of seconds Amazon SQS retains a message.
QueueArn
- returns the queue's Amazon resource name (ARN).
ApproximateNumberOfMessagesDelayed
- returns the approximate number of messages that are pending to be added to the queue.
DelaySeconds
- returns the default delay on the queue in seconds.
ReceiveMessageWaitTimeSeconds
- returns the time for which a ReceiveMessage call will wait for a message to arrive.
RedrivePolicy
- returns the parameters for dead letter queue functionality of the source queue. For more information about RedrivePolicy and dead letter queues, see Using Amazon SQS Dead Letter Queues in the Amazon SQS Developer Guide.
Going forward, new attributes might be added. If you are writing code that calls this action, we recommend that you structure your code so that it can handle new attributes gracefully.
",
- "ReceiveMessageRequest$AttributeNames": "A list of attributes that need to be returned along with each message. These attributes include:
All
- returns all values.
ApproximateFirstReceiveTimestamp
- returns the time when the message was first received from the queue (epoch time in milliseconds).
ApproximateReceiveCount
- returns the number of times a message has been received from the queue but not deleted.
SenderId
- returns the AWS account number (or the IP address, if anonymous access is allowed) of the sender.
SentTimestamp
- returns the time when the message was sent to the queue (epoch time in milliseconds).
Any other valid special request parameters that are specified (such as ApproximateNumberOfMessages
, ApproximateNumberOfMessagesDelayed
, ApproximateNumberOfMessagesNotVisible
, CreatedTimestamp
, DelaySeconds
, LastModifiedTimestamp
, MaximumMessageSize
, MessageRetentionPeriod
, Policy
, QueueArn
, ReceiveMessageWaitTimeSeconds
, RedrivePolicy
, and VisibilityTimeout
) will be ignored.
"
+ "GetQueueAttributesRequest$AttributeNames": "A list of attributes for which to retrieve information.
Going forward, new attributes might be added. If you are writing code that calls this action, we recommend that you structure your code so that it can handle new attributes gracefully.
The following attributes are supported:
-
All
- Returns all values.
-
ApproximateNumberOfMessages
- Returns the approximate number of visible messages in a queue. For more information, see Resources Required to Process Messages in the Amazon SQS Developer Guide.
-
ApproximateNumberOfMessagesDelayed
- Returns the approximate number of messages that are waiting to be added to the queue.
-
ApproximateNumberOfMessagesNotVisible
- Returns the approximate number of messages that have not timed-out and are not deleted. For more information, see Resources Required to Process Messages in the Amazon SQS Developer Guide.
-
CreatedTimestamp
- Returns the time when the queue was created in seconds (epoch time).
-
DelaySeconds
- Returns the default delay on the queue in seconds.
-
LastModifiedTimestamp
- Returns the time when the queue was last changed in seconds (epoch time).
-
MaximumMessageSize
- Returns the limit of how many bytes a message can contain before Amazon SQS rejects it.
-
MessageRetentionPeriod
- Returns the number of seconds for which Amazon SQS retains a message.
-
Policy
- Returns the policy of the queue.
-
QueueArn
- Returns the Amazon resource name (ARN) of the queue.
-
ReceiveMessageWaitTimeSeconds
- Returns the number of seconds for which ReceiveMessage call will wait for a message to arrive.
-
RedrivePolicy
- Returns the parameters for dead letter queue functionality of the source queue. For more information about the redrive policy and dead letter queues, see Using Amazon SQS Dead Letter Queues in the Amazon SQS Developer Guide.
-
VisibilityTimeout
- Returns the visibility timeout for the queue. For more information about the visibility timeout, see Visibility Timeout in the Amazon SQS Developer Guide.
The following attributes apply only to FIFO (first-in-first-out) queues:
-
FifoQueue
- Returns whether the queue is FIFO. For more information, see FIFO Queue Logic in the Amazon SQS Developer Guide.
-
ContentBasedDeduplication
- Returns whether content-based deduplication is enabled for the queue. For more information, see Exactly-Once Processing in the Amazon SQS Developer Guide.
",
+ "ReceiveMessageRequest$AttributeNames": "A list of attributes that need to be returned along with each message. These attributes include:
-
All
- Returns all values.
-
ApproximateFirstReceiveTimestamp
- Returns the time the message was first received from the queue (epoch time in milliseconds).
-
ApproximateReceiveCount
- Returns the number of times a message has been received from the queue but not deleted.
-
SenderId
-
For an IAM user, returns the IAM user ID, for example ABCDEFGHI1JKLMNOPQ23R
.
-
For an IAM role, returns the IAM role ID, for example ABCDE1F2GH3I4JK5LMNOP:i-a123b456
.
-
SentTimestamp
- Returns the time the message was sent to the queue (epoch time in milliseconds).
-
MessageDeduplicationId
- Returns the value provided by the sender that calls the SendMessage
action.
-
MessageGroupId
- Returns the value provided by the sender that calls the SendMessage
action. Messages with the same MessageGroupId
are returned in sequence.
-
SequenceNumber
- Returns the value provided by Amazon SQS.
Any other valid special request parameters (such as the following) that are specified are ignored:
-
ApproximateNumberOfMessages
-
ApproximateNumberOfMessagesDelayed
-
ApproximateNumberOfMessagesNotVisible
-
CreatedTimestamp
-
ContentBasedDeduplication
-
DelaySeconds
-
LastModifiedTimestamp
-
MaximumMessageSize
-
MessageRetentionPeriod
-
Policy
-
QueueArn
,
-
ReceiveMessageWaitTimeSeconds
-
RedrivePolicy
-
FifoQueue
-
VisibilityTimeout
"
}
},
"BatchEntryIdsNotDistinct": {
@@ -103,7 +94,7 @@
}
},
"ChangeMessageVisibilityBatchRequestEntry": {
- "base": "Encloses a receipt handle and an entry id for each message in ChangeMessageVisibilityBatch.
All of the following parameters are list parameters that must be prefixed with ChangeMessageVisibilityBatchRequestEntry.n
, where n
is an integer value starting with 1. For example, a parameter list for this action might look like this:
Your_Receipt_Handle]]>
",
+ "base": "Encloses a receipt handle and an entry id for each message in ChangeMessageVisibilityBatch.
All of the following parameters are list parameters that must be prefixed with ChangeMessageVisibilityBatchRequestEntry.n
, where n
is an integer value starting with 1. For example, a parameter list for this action might look like this:
&ChangeMessageVisibilityBatchRequestEntry.1.Id=change_visibility_msg_2
&ChangeMessageVisibilityBatchRequestEntry.1.ReceiptHandle=<replaceable>Your_Receipt_Handle</replaceable>
&ChangeMessageVisibilityBatchRequestEntry.1.VisibilityTimeout=45
",
"refs": {
"ChangeMessageVisibilityBatchRequestEntryList$member": null
}
@@ -164,7 +155,7 @@
}
},
"DeleteMessageBatchResult": {
- "base": " For each message in the batch, the response contains a DeleteMessageBatchResultEntry tag if the message is deleted or a BatchResultErrorEntry tag if the message cannot be deleted.
",
+ "base": " 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.
",
"refs": {
}
},
@@ -191,7 +182,7 @@
}
},
"EmptyBatchRequest": {
- "base": "Batch request does not contain an entry.
",
+ "base": "Batch request doesn't contain an entry.
",
"refs": {
}
},
@@ -220,20 +211,20 @@
"refs": {
"ChangeMessageVisibilityBatchRequestEntry$VisibilityTimeout": "The new value (in seconds) for the message's visibility timeout.
",
"ChangeMessageVisibilityRequest$VisibilityTimeout": "The new value (in seconds - from 0 to 43200 - maximum 12 hours) for the message's visibility timeout.
",
- "ReceiveMessageRequest$MaxNumberOfMessages": "The maximum number of messages to return. Amazon SQS never returns more messages than this value but may return fewer. Values can be from 1 to 10. Default is 1.
All of the messages are not necessarily returned.
",
+ "ReceiveMessageRequest$MaxNumberOfMessages": "The maximum number of messages to return. Amazon SQS never returns more messages than this value but might return fewer. Values can be from 1 to 10. Default is 1.
All of the messages are not necessarily returned.
",
"ReceiveMessageRequest$VisibilityTimeout": "The duration (in seconds) that the received messages are hidden from subsequent retrieve requests after being retrieved by a ReceiveMessage
request.
",
"ReceiveMessageRequest$WaitTimeSeconds": "The duration (in seconds) for which the call will wait for a message to arrive in the queue before returning. If a message is available, the call will return sooner than WaitTimeSeconds.
",
- "SendMessageBatchRequestEntry$DelaySeconds": "The number of seconds for which the message has to be delayed.
",
- "SendMessageRequest$DelaySeconds": " The number of seconds (0 to 900 - 15 minutes) to delay a specific message. Messages with a positive DelaySeconds
value become available for processing after the delay time is finished. If you don't specify a value, the default value for the queue applies.
"
+ "SendMessageBatchRequestEntry$DelaySeconds": "The number of seconds (0 to 900 - 15 minutes) to delay a specific message. Messages with a positive DelaySeconds
value become available for processing after the delay time is finished. If you don't specify a value, the default value for the queue applies.
When you set FifoQueue
, you can't set DelaySeconds
per message. You can set this parameter only on a queue level.
",
+ "SendMessageRequest$DelaySeconds": " The number of seconds (0 to 900 - 15 minutes) to delay a specific message. Messages with a positive DelaySeconds
value become available for processing after the delay time is finished. If you don't specify a value, the default value for the queue applies.
When you set FifoQueue
, you can't set DelaySeconds
per message. You can set this parameter only on a queue level.
"
}
},
"InvalidAttributeName": {
- "base": "The attribute referred to does not exist.
",
+ "base": "The attribute referred to doesn't exist.
",
"refs": {
}
},
"InvalidBatchEntryId": {
- "base": "The Id
of a batch entry in a batch request does not abide by the specification.
",
+ "base": "The Id
of a batch entry in a batch request doesn't abide by the specification.
",
"refs": {
}
},
@@ -273,14 +264,6 @@
"MessageList$member": null
}
},
- "MessageAttributeMap": {
- "base": null,
- "refs": {
- "Message$MessageAttributes": "Each message attribute consists of a Name, Type, and Value. For more information, see Message Attribute Items.
",
- "SendMessageBatchRequestEntry$MessageAttributes": "Each message attribute consists of a Name, Type, and Value. For more information, see Message Attribute Items.
",
- "SendMessageRequest$MessageAttributes": "Each message attribute consists of a Name, Type, and Value. For more information, see Message Attribute Items.
"
- }
- },
"MessageAttributeName": {
"base": null,
"refs": {
@@ -290,13 +273,21 @@
"MessageAttributeNameList": {
"base": null,
"refs": {
- "ReceiveMessageRequest$MessageAttributeNames": "The name of the message attribute, where N is the index. The message attribute name can contain the following characters: A-Z, a-z, 0-9, underscore (_), hyphen (-), and period (.). The name must not start or end with a period, and it should not have successive periods. The name is case sensitive and must be unique among all attribute names for the message. The name can be up to 256 characters long. The name cannot start with \"AWS.\" or \"Amazon.\" (or any variations in casing), because these prefixes are reserved for use by Amazon Web Services.
When using ReceiveMessage
, you can send a list of attribute names to receive, or you can return all of the attributes by specifying \"All\" or \".*\" in your request. You can also use \"bar.*\" to return all message attributes starting with the \"bar\" prefix.
"
+ "ReceiveMessageRequest$MessageAttributeNames": "The name of the message attribute, where N is the index. The message attribute name can contain the following characters: A-Z, a-z, 0-9, underscore (_), hyphen (-), and period (.). The name must not start or end with a period, and it should not have successive periods. The name is case sensitive and must be unique among all attribute names for the message. The name can be up to 256 characters long. The name can't start with \"AWS.\" or \"Amazon.\" (or any variations in casing), because these prefixes are reserved for use by Amazon Web Services.
When using ReceiveMessage
, you can send a list of attribute names to receive, or you can return all of the attributes by specifying \"All\" or \".*\" in your request. You can also use \"bar.*\" to return all message attributes starting with the \"bar\" prefix.
"
}
},
"MessageAttributeValue": {
- "base": "The user-specified message attribute value. For string data types, the value attribute has the same restrictions on the content as the message body. For more information, see SendMessage.
Name, type, and value must not be empty or null. In addition, the message body should not be empty or null. All parts of the message attribute, including name, type, and value, are included in the message size restriction, which is currently 256 KB (262,144 bytes).
",
+ "base": "The user-specified message attribute value. For string data types, the value attribute has the same restrictions on the content as the message body. For more information, see SendMessage.
Name, type, and value must not be empty or null. In addition, the message body should not be empty or null. All parts of the message attribute, including name, type, and value, are included in the message size restriction, which is currently 256 KB (262,144 bytes).
",
+ "refs": {
+ "MessageBodyAttributeMap$value": null
+ }
+ },
+ "MessageBodyAttributeMap": {
+ "base": null,
"refs": {
- "MessageAttributeMap$value": null
+ "Message$MessageAttributes": "Each message attribute consists of a Name, Type, and Value. For more information, see Message Attribute Items in the Amazon SQS Developer Guide.
",
+ "SendMessageBatchRequestEntry$MessageAttributes": "Each message attribute consists of a Name, Type, and Value. For more information, see Message Attribute Items in the Amazon SQS Developer Guide.
",
+ "SendMessageRequest$MessageAttributes": "Each message attribute consists of a Name, Type, and Value. For more information, see Message Attribute Items in the Amazon SQS Developer Guide.
"
}
},
"MessageList": {
@@ -310,6 +301,18 @@
"refs": {
}
},
+ "MessageSystemAttributeMap": {
+ "base": null,
+ "refs": {
+ "Message$Attributes": " SenderId
, SentTimestamp
, ApproximateReceiveCount
, and/or ApproximateFirstReceiveTimestamp
. SentTimestamp
and ApproximateFirstReceiveTimestamp
are each returned as an integer representing the epoch time in milliseconds.
"
+ }
+ },
+ "MessageSystemAttributeName": {
+ "base": null,
+ "refs": {
+ "MessageSystemAttributeMap$key": null
+ }
+ },
"OverLimit": {
"base": "The action that you requested would violate a limit. For example, ReceiveMessage returns this error if the maximum number of messages inflight has already been reached. AddPermission returns this error if the maximum number of permissions for the queue has already been reached.
",
"refs": {
@@ -325,11 +328,19 @@
"refs": {
}
},
+ "QueueAttributeMap": {
+ "base": null,
+ "refs": {
+ "CreateQueueRequest$Attributes": "A map of attributes with their corresponding values.
The following lists the names, descriptions, and values of the special request parameters that the CreateQueue
action uses:
-
DelaySeconds
- The number of seconds for which the delivery of all messages in the queue is delayed. An integer from 0 to 900 (15 minutes). The default is 0 (zero).
-
MaximumMessageSize
- The limit of how many bytes a message can contain before Amazon SQS rejects it. An integer from 1,024 bytes (1 KiB) up to 262,144 bytes (256 KiB). The default is 262,144 (256 KiB).
-
MessageRetentionPeriod
- The number of seconds for which Amazon SQS retains a message. An integer representing seconds, from 60 (1 minute) to 120,9600 (14 days). The default is 345,600 (4 days).
-
Policy
- The queue's policy. A valid AWS policy. For more information about policy structure, see Overview of AWS IAM Policies in the Amazon IAM User Guide.
-
ReceiveMessageWaitTimeSeconds
- The number of seconds for which a ReceiveMessage action will wait for a message to arrive. An integer from 0 to 20 (seconds). The default is 0.
-
RedrivePolicy
- The parameters for the dead letter queue functionality of the source queue. For more information about the redrive policy and dead letter queues, see Using Amazon SQS Dead Letter Queues in the Amazon SQS Developer Guide.
The dead letter queue of a FIFO queue must also be a FIFO queue. Similarly, the dead letter queue of a standard queue must also be a standard queue.
-
VisibilityTimeout
- The visibility timeout for the queue. An integer from 0 to 43200 (12 hours). The default is 30. For more information about the visibility timeout, see Visibility Timeout in the Amazon SQS Developer Guide.
The following attributes apply only to FIFO (first-in-first-out) queues:
-
FifoQueue
- Designates a queue as FIFO. You can provide this attribute only during queue creation; you can't change it for an existing queue. When you set this attribute, you must provide a MessageGroupId
explicitly.
For more information, see FIFO Queue Logic in the Amazon SQS Developer Guide.
-
ContentBasedDeduplication
- Enables content-based deduplication. For more information, see Exactly-Once Processing in the Amazon SQS Developer Guide.
-
Every message must have a unique MessageDeduplicationId
,
-
You may provide a MessageDeduplicationId
explicitly.
-
If you aren't able to provide a MessageDeduplicationId
and you enable ContentBasedDeduplication
for your queue, Amazon SQS uses a SHA-256 hash to generate the MessageDeduplicationId
using the body of the message (but not the attributes of the message).
-
If you don't provide a MessageDeduplicationId
and the queue doesn't have ContentBasedDeduplication
set, the action fails with an error.
-
If the queue has ContentBasedDeduplication
set, your MessageDeduplicationId
overrides the generated one.
-
When ContentBasedDeduplication
is in effect, messages with identical content sent within the deduplication interval are treated as duplicates and only one copy of the message is delivered.
-
You can also use ContentBasedDeduplication
for messages with identical content to be treated as duplicates.
-
If you send one message with ContentBasedDeduplication
enabled and then another message with a MessageDeduplicationId
that is the same as the one generated for the first MessageDeduplicationId
, the two messages are treated as duplicates and only one copy of the message is delivered.
Any other valid special request parameters that are specified (such as ApproximateNumberOfMessages
, ApproximateNumberOfMessagesDelayed
, ApproximateNumberOfMessagesNotVisible
, CreatedTimestamp
, LastModifiedTimestamp
, and QueueArn
) will be ignored.
",
+ "GetQueueAttributesResult$Attributes": "A map of attributes to the respective values.
",
+ "SetQueueAttributesRequest$Attributes": "A map of attributes to set.
The following lists the names, descriptions, and values of the special request parameters that the SetQueueAttributes
action uses:
-
DelaySeconds
- The number of seconds for which the delivery of all messages in the queue is delayed. An integer from 0 to 900 (15 minutes). The default is 0 (zero).
-
MaximumMessageSize
- The limit of how many bytes a message can contain before Amazon SQS rejects it. An integer from 1,024 bytes (1 KiB) up to 262,144 bytes (256 KiB). The default is 262,144 (256 KiB).
-
MessageRetentionPeriod
- The number of seconds for which Amazon SQS retains a message. An integer representing seconds, from 60 (1 minute) to 120,9600 (14 days). The default is 345,600 (4 days).
-
Policy
- The queue's policy. A valid AWS policy. For more information about policy structure, see Overview of AWS IAM Policies in the Amazon IAM User Guide.
-
ReceiveMessageWaitTimeSeconds
- The number of seconds for which a ReceiveMessage action will wait for a message to arrive. An integer from 0 to 20 (seconds). The default is 0.
-
RedrivePolicy
- The parameters for the dead letter queue functionality of the source queue. For more information about the redrive policy and dead letter queues, see Using Amazon SQS Dead Letter Queues in the Amazon SQS Developer Guide.
The dead letter queue of a FIFO queue must also be a FIFO queue. Similarly, the dead letter queue of a standard queue must also be a standard queue.
-
VisibilityTimeout
- The visibility timeout for the queue. An integer from 0 to 43200 (12 hours). The default is 30. For more information about the visibility timeout, see Visibility Timeout in the Amazon SQS Developer Guide.
The following attribute applies only to FIFO (first-in-first-out) queues:
Any other valid special request parameters that are specified (such as ApproximateNumberOfMessages
, ApproximateNumberOfMessagesDelayed
, ApproximateNumberOfMessagesNotVisible
, CreatedTimestamp
, LastModifiedTimestamp
, and QueueArn
) will be ignored.
"
+ }
+ },
"QueueAttributeName": {
"base": null,
"refs": {
- "AttributeMap$key": null,
- "AttributeNameList$member": null
+ "AttributeNameList$member": null,
+ "QueueAttributeMap$key": null
}
},
"QueueDeletedRecently": {
@@ -338,7 +349,7 @@
}
},
"QueueDoesNotExist": {
- "base": "The queue referred to does not exist.
",
+ "base": "The queue referred to doesn't exist.
",
"refs": {
}
},
@@ -430,7 +441,6 @@
"ActionNameList$member": null,
"AddPermissionRequest$QueueUrl": "The URL of the Amazon SQS queue to take action on.
Queue URLs are case-sensitive.
",
"AddPermissionRequest$Label": "The unique identification of the permission you're setting (e.g., AliceSendMessage
). Constraints: Maximum 80 characters; alphanumeric characters, hyphens (-), and underscores (_) are allowed.
",
- "AttributeMap$value": null,
"BatchResultErrorEntry$Id": "The id of an entry in a batch request.
",
"BatchResultErrorEntry$Code": "An error code representing why the action failed on this entry.
",
"BatchResultErrorEntry$Message": "A message explaining why the action failed on this entry.
",
@@ -440,7 +450,7 @@
"ChangeMessageVisibilityBatchResultEntry$Id": "Represents a message whose visibility timeout has been changed successfully.
",
"ChangeMessageVisibilityRequest$QueueUrl": "The URL of the Amazon SQS queue to take action on.
Queue URLs are case-sensitive.
",
"ChangeMessageVisibilityRequest$ReceiptHandle": "The receipt handle associated with the message whose visibility timeout should be changed. This parameter is returned by the ReceiveMessage action.
",
- "CreateQueueRequest$QueueName": "The name for the queue to be created.
Queue names are case-sensitive.
",
+ "CreateQueueRequest$QueueName": "The name of the new queue. The following limits apply to this name:
-
A queue name can have up to 80 characters.
-
The following are accepted: alphanumeric chatacters, hyphens (-
), and underscores (_
).
-
A FIFO queue name must end with the .fifo
suffix.
Queue names are case-sensitive.
",
"CreateQueueResult$QueueUrl": "The URL for the created Amazon SQS queue.
",
"DeleteMessageBatchRequest$QueueUrl": "The URL of the Amazon SQS queue to take action on.
Queue URLs are case-sensitive.
",
"DeleteMessageBatchRequestEntry$Id": "An identifier for this particular receipt handle. This is used to communicate the result. Note that the Id
s of a batch request need to be unique within the request.
",
@@ -459,27 +469,36 @@
"Message$ReceiptHandle": "An identifier associated with the act of receiving the message. A new receipt handle is returned every time you receive a message. When deleting a message, you provide the last received receipt handle to delete the message.
",
"Message$MD5OfBody": "An MD5 digest of the non-URL-encoded message body string.
",
"Message$Body": "The message's contents (not URL-encoded).
",
- "Message$MD5OfMessageAttributes": "An MD5 digest of the non-URL-encoded message attribute string. This can be used to verify that Amazon SQS received the message correctly. Amazon SQS first URL decodes the message before creating the MD5 digest. For information about MD5, go to http://www.faqs.org/rfcs/rfc1321.html.
",
- "MessageAttributeMap$key": null,
- "MessageAttributeValue$StringValue": "Strings are Unicode with UTF8 binary encoding. For a list of code values, see http://en.wikipedia.org/wiki/ASCII#ASCII_printable_characters.
",
- "MessageAttributeValue$DataType": "Amazon SQS supports the following logical data types: String, Number, and Binary. For the Number data type, you must use StringValue.
You can also append custom labels. For more information, see Message Attribute Data Types.
",
+ "Message$MD5OfMessageAttributes": "An MD5 digest of the non-URL-encoded message attribute string. This can be used to verify that Amazon SQS received the message correctly. Amazon SQS first URL decodes the message before creating the MD5 digest. For information about MD5, see RFC1321.
",
+ "MessageAttributeValue$StringValue": "Strings are Unicode with UTF8 binary encoding. For a list of code values, see ASCII Printable Characters.
",
+ "MessageAttributeValue$DataType": "Amazon SQS supports the following logical data types: String, Number, and Binary. For the Number data type, you must use StringValue.
You can also append custom labels. For more information, see Message Attribute Data Types in the Amazon SQS Developer Guide.
",
+ "MessageBodyAttributeMap$key": null,
+ "MessageSystemAttributeMap$value": null,
"PurgeQueueRequest$QueueUrl": "The queue URL of the queue to delete the messages from when using the PurgeQueue
API.
Queue URLs are case-sensitive.
",
+ "QueueAttributeMap$value": null,
"QueueUrlList$member": null,
"ReceiveMessageRequest$QueueUrl": "The URL of the Amazon SQS queue to take action on.
Queue URLs are case-sensitive.
",
+ "ReceiveMessageRequest$ReceiveRequestAttemptId": "This parameter applies only to FIFO (first-in-first-out) queues.
The token used for deduplication of ReceiveMessage
calls. If a networking issue occurs after a ReceiveMessage
action, and instead of a response you receive a generic error, you can retry the same action with an identical ReceiveRequestAttemptId
to retrieve the same set of messages, even if their visibility timeout has not yet expired.
-
You can use ReceiveRequestAttemptId
only for 5 minutes after a ReceiveMessage
action.
-
When you set FifoQueue
, a caller of the ReceiveMessage
action can provide a ReceiveRequestAttemptId
explicitly.
-
If a caller of the ReceiveMessage
action doesn't provide a ReceiveRequestAttemptId
, Amazon SQS generates a ReceiveRequestAttemptId
.
-
You can retry the ReceiveMessage
action with the same ReceiveRequestAttemptId
if none of the messages have been modified (deleted or had their visibility changes).
-
During a visibility timeout, subsequent calls with the same ReceiveRequestAttemptId
return the same messages and receipt handles. If a retry occurs within the deduplication interval, it resets the visibility timeout. For more information, see Visibility Timeout in the Amazon Simple Queue Service Developer Guide.
If a caller of the ReceiveMessage
action is still processing messages when the visibility timeout expires and messages become visible, another worker reading from the same queue can receive the same messages and therefore process duplicates. Also, if a reader whose message processing time is longer than the visibility timeout tries to delete the processed messages, the action fails with an error.
To mitigate this effect, ensure that your application observes a safe threshold before the visibility timeout expires and extend the visibility timeout as necessary.
-
While messages with a particular MessageGroupId
are invisible, no more messages belonging to the same MessageGroupId
are returned until the visibility timeout expires. You can still receive messages with another MessageGroupId
as long as it is also visible.
-
If a caller of ReceiveMessage
can't track the ReceiveRequestAttemptId
, no retries will work until the original visibility timeout expires. As a result, delays might occur but the messages in the queue will remain in a strict order.
The length of ReceiveRequestAttemptId
is 128 characters. ReceiveRequestAttemptId
can contain alphanumeric characters (a-z
, A-Z
, 0-9
) and punctuation (!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~
).
For best practices of using ReceiveRequestAttemptId
, see Using the ReceiveRequestAttemptId Request Parameter in the Amazon Simple Queue Service Developer Guide.
",
"RemovePermissionRequest$QueueUrl": "The URL of the Amazon SQS queue to take action on.
Queue URLs are case-sensitive.
",
"RemovePermissionRequest$Label": "The identification of the permission to remove. This is the label added with the AddPermission action.
",
"SendMessageBatchRequest$QueueUrl": "The URL of the Amazon SQS queue to take action on.
Queue URLs are case-sensitive.
",
"SendMessageBatchRequestEntry$Id": "An identifier for the message in this batch. This is used to communicate the result. Note that the Id
s of a batch request need to be unique within the request.
",
"SendMessageBatchRequestEntry$MessageBody": "Body of the message.
",
+ "SendMessageBatchRequestEntry$MessageDeduplicationId": "This parameter applies only to FIFO (first-in-first-out) queues.
The token used for deduplication of messages within a 5-minute minimum deduplication interval. If a message with a particular MessageDeduplicationId
is sent successfully, subsequent messages with the same MessageDeduplicationId
are accepted successfully but aren't delivered. For more information, see Exactly-Once Processing in the Amazon SQS Developer Guide.
-
Every message must have a unique MessageDeduplicationId
,
-
You may provide a MessageDeduplicationId
explicitly.
-
If you aren't able to provide a MessageDeduplicationId
and you enable ContentBasedDeduplication
for your queue, Amazon SQS uses a SHA-256 hash to generate the MessageDeduplicationId
using the body of the message (but not the attributes of the message).
-
If you don't provide a MessageDeduplicationId
and the queue doesn't have ContentBasedDeduplication
set, the action fails with an error.
-
If the queue has ContentBasedDeduplication
set, your MessageDeduplicationId
overrides the generated one.
-
When ContentBasedDeduplication
is in effect, messages with identical content sent within the deduplication interval are treated as duplicates and only one copy of the message is delivered.
-
You can also use ContentBasedDeduplication
for messages with identical content to be treated as duplicates.
-
If you send one message with ContentBasedDeduplication
enabled and then another message with a MessageDeduplicationId
that is the same as the one generated for the first MessageDeduplicationId
, the two messages are treated as duplicates and only one copy of the message is delivered.
The MessageDeduplicationId
is available to the recipient of the message (this can be useful for troubleshooting delivery issues).
If a message is sent successfully but the acknowledgement is lost and the message is resent with the same MessageDeduplicationId
after the deduplication interval, Amazon SQS can't detect duplicate messages.
The length of MessageDeduplicationId
is 128 characters. MessageDeduplicationId
can contain alphanumeric characters (a-z
, A-Z
, 0-9
) and punctuation (!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~
).
For best practices of using MessageDeduplicationId
, see Using the MessageDeduplicationId Property in the Amazon Simple Queue Service Developer Guide.
",
+ "SendMessageBatchRequestEntry$MessageGroupId": "This parameter applies only to FIFO (first-in-first-out) queues.
The tag that specifies that a message belongs to a specific message group. Messages that belong to the same message group are processed in a FIFO manner (however, messages in different message groups might be processed out of order). To interleave multiple ordered streams within a single queue, use MessageGroupId
values (for example, session data for multiple users). In this scenario, multiple readers can process the queue, but the session data of each user is processed in a FIFO fashion.
-
You must associate a non-empty MessageGroupId
with a message. If you don't provide a MessageGroupId
, the action fails.
-
ReceiveMessage
might return messages with multiple MessageGroupId
values. For each MessageGroupId
, the messages are sorted by time sent. The caller can't specify a MessageGroupId
.
The length of MessageGroupId
is 128 characters. Valid values are alphanumeric characters and punctuation (!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~)
.
For best practices of using MessageGroupId
, see Using the MessageGroupId Property in the Amazon Simple Queue Service Developer Guide.
",
"SendMessageBatchResultEntry$Id": "An identifier for the message in this batch.
",
"SendMessageBatchResultEntry$MessageId": "An identifier for the message.
",
- "SendMessageBatchResultEntry$MD5OfMessageBody": "An MD5 digest of the non-URL-encoded message body string. This can be used to verify that Amazon SQS received the message correctly. Amazon SQS first URL decodes the message before creating the MD5 digest. For information about MD5, go to http://www.faqs.org/rfcs/rfc1321.html.
",
- "SendMessageBatchResultEntry$MD5OfMessageAttributes": "An MD5 digest of the non-URL-encoded message attribute string. This can be used to verify that Amazon SQS received the message batch correctly. Amazon SQS first URL decodes the message before creating the MD5 digest. For information about MD5, go to http://www.faqs.org/rfcs/rfc1321.html.
",
+ "SendMessageBatchResultEntry$MD5OfMessageBody": "An MD5 digest of the non-URL-encoded message body string. This can be used to verify that Amazon SQS received the message correctly. Amazon SQS first URL decodes the message before creating the MD5 digest. For information about MD5, see RFC1321.
",
+ "SendMessageBatchResultEntry$MD5OfMessageAttributes": "An MD5 digest of the non-URL-encoded message attribute string. This can be used to verify that Amazon SQS received the message batch correctly. Amazon SQS first URL decodes the message before creating the MD5 digest. For information about MD5, see RFC1321.
",
+ "SendMessageBatchResultEntry$SequenceNumber": " This element applies only to FIFO (first-in-first-out) queues.
A large, non-consecutive number that Amazon SQS assigns to each message.
The length of SequenceNumber
is 128 bits. As SequenceNumber
continues to increase for a particular MessageGroupId
.
",
"SendMessageRequest$QueueUrl": "The URL of the Amazon SQS queue to take action on.
Queue URLs are case-sensitive.
",
- "SendMessageRequest$MessageBody": "The message to send. String maximum 256 KB in size. For a list of allowed characters, see the preceding important note.
",
- "SendMessageResult$MD5OfMessageBody": "An MD5 digest of the non-URL-encoded message body string. This can be used to verify that Amazon SQS received the message correctly. Amazon SQS first URL decodes the message before creating the MD5 digest. For information about MD5, go to http://www.faqs.org/rfcs/rfc1321.html.
",
- "SendMessageResult$MD5OfMessageAttributes": "An MD5 digest of the non-URL-encoded message attribute string. This can be used to verify that Amazon SQS received the message correctly. Amazon SQS first URL decodes the message before creating the MD5 digest. For information about MD5, go to http://www.faqs.org/rfcs/rfc1321.html.
",
- "SendMessageResult$MessageId": " An element containing the message ID of the message sent to the queue. For more information, see Queue and Message Identifiers in the Amazon SQS Developer Guide.
",
+ "SendMessageRequest$MessageBody": "The message to send. String maximum 256 KB in size. For a list of allowed characters, see the preceding note.
",
+ "SendMessageRequest$MessageDeduplicationId": "This parameter applies only to FIFO (first-in-first-out) queues.
The token used for deduplication of sent messages. If a message with a particular MessageDeduplicationId
is sent successfully, any messages sent with the same MessageDeduplicationId
are accepted successfully but aren't delivered during the 5-minute deduplication interval. For more information, see Exactly-Once Processing in the Amazon SQS Developer Guide.
-
Every message must have a unique MessageDeduplicationId
,
-
You may provide a MessageDeduplicationId
explicitly.
-
If you aren't able to provide a MessageDeduplicationId
and you enable ContentBasedDeduplication
for your queue, Amazon SQS uses a SHA-256 hash to generate the MessageDeduplicationId
using the body of the message (but not the attributes of the message).
-
If you don't provide a MessageDeduplicationId
and the queue doesn't have ContentBasedDeduplication
set, the action fails with an error.
-
If the queue has ContentBasedDeduplication
set, your MessageDeduplicationId
overrides the generated one.
-
When ContentBasedDeduplication
is in effect, messages with identical content sent within the deduplication interval are treated as duplicates and only one copy of the message is delivered.
-
You can also use ContentBasedDeduplication
for messages with identical content to be treated as duplicates.
-
If you send one message with ContentBasedDeduplication
enabled and then another message with a MessageDeduplicationId
that is the same as the one generated for the first MessageDeduplicationId
, the two messages are treated as duplicates and only one copy of the message is delivered.
The MessageDeduplicationId
is available to the recipient of the message (this can be useful for troubleshooting delivery issues).
If a message is sent successfully but the acknowledgdment is lost and the message is resent with the same MessageDeduplicationId
after the deduplication interval, Amazon SQS can't detect duplicate messages.
The length of MessageDeduplicationId
is 128 characters. MessageDeduplicationId
can contain alphanumeric characters (a-z
, A-Z
, 0-9
) and punctuation (!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~
).
For best practices of using MessageDeduplicationId
, see Using the MessageDeduplicationId Property in the Amazon Simple Queue Service Developer Guide.
",
+ "SendMessageRequest$MessageGroupId": "This parameter applies only to FIFO (first-in-first-out) queues.
The tag that specifies that a message belongs to a specific message group. Messages that belong to the same message group are processed in a FIFO manner (however, messages in different message groups might be processed out of order). To interleave multiple ordered streams within a single queue, use MessageGroupId
values (for example, session data for multiple users). In this scenario, multiple readers can process the queue, but the session data of each user is processed in a FIFO fashion.
-
You must associate a non-empty MessageGroupId
with a message. If you don't provide a MessageGroupId
, the action fails.
-
ReceiveMessage
might return messages with multiple MessageGroupId
values. For each MessageGroupId
, the messages are sorted by time sent. The caller can't specify a MessageGroupId
.
The length of MessageGroupId
is 128 characters. Valid values are alphanumeric characters and punctuation (!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~)
.
For best practices of using MessageGroupId
, see Using the MessageGroupId Property in the Amazon Simple Queue Service Developer Guide.
",
+ "SendMessageResult$MD5OfMessageBody": "An MD5 digest of the non-URL-encoded message body string. This can be used to verify that Amazon SQS received the message correctly. Amazon SQS first URL decodes the message before creating the MD5 digest. For information about MD5, see RFC1321.
",
+ "SendMessageResult$MD5OfMessageAttributes": "An MD5 digest of the non-URL-encoded message attribute string. This can be used to verify that Amazon SQS received the message correctly. Amazon SQS first URL decodes the message before creating the MD5 digest. For information about MD5, see RFC1321.
",
+ "SendMessageResult$MessageId": "An element containing the message ID of the message sent to the queue. For more information, see Queue and Message Identifiers in the Amazon SQS Developer Guide.
",
+ "SendMessageResult$SequenceNumber": " This element applies only to FIFO (first-in-first-out) queues.
A large, non-consecutive number that Amazon SQS assigns to each message.
The length of SequenceNumber
is 128 bits. SequenceNumber
continues to increase for a particular MessageGroupId
.
",
"SetQueueAttributesRequest$QueueUrl": "The URL of the Amazon SQS queue to take action on.
Queue URLs are case-sensitive.
",
"StringList$member": null
}
diff --git a/vendor/github.com/aws/aws-sdk-go/models/apis/sqs/2012-11-05/examples-1.json b/vendor/github.com/aws/aws-sdk-go/models/apis/sqs/2012-11-05/examples-1.json
index 21b72de..0ea7e3b 100644
--- a/vendor/github.com/aws/aws-sdk-go/models/apis/sqs/2012-11-05/examples-1.json
+++ b/vendor/github.com/aws/aws-sdk-go/models/apis/sqs/2012-11-05/examples-1.json
@@ -1,618 +1,5 @@
{
"version": "1.0",
"examples": {
- "AddPermission": [
- {
- "input": {
- "AWSAccountIds": [
- "12345EXAMPLE"
- ],
- "Actions": [
- "SendMessage"
- ],
- "Label": "SendMessagesFromMyQueue",
- "QueueUrl": "https://sqs.us-east-1.amazonaws.com/80398EXAMPLE/MyQueue"
- },
- "output": {
- },
- "comments": {
- "input": {
- },
- "output": {
- }
- },
- "description": "This example allows the specified AWS account to send messages to the specified queue.",
- "id": "to-add-a-permission-to-a-queue-1472079068305",
- "title": "To add a permission to a queue"
- }
- ],
- "ChangeMessageVisibility": [
- {
- "input": {
- "QueueUrl": "https://sqs.us-east-1.amazonaws.com/80398EXAMPLE/MyQueue",
- "ReceiptHandle": "AQEBTpyI...t6HyQg==",
- "VisibilityTimeout": 36000
- },
- "output": {
- },
- "comments": {
- "input": {
- },
- "output": {
- }
- },
- "description": "This example changes the visibility timeout of the specified message to 10 hours (10 hours * 60 minutes * 60 seconds).",
- "id": "to-change-the-visibility-timeout-of-a-single-message-1472079046292",
- "title": "To change the visibility timeout of a single message"
- }
- ],
- "ChangeMessageVisibilityBatch": [
- {
- "input": {
- "Entries": [
- {
- "Id": "FirstMessage",
- "ReceiptHandle": "AQEBhz2q...Jf3kaw==",
- "VisibilityTimeout": 36000
- },
- {
- "Id": "SecondMessage",
- "ReceiptHandle": "AQEBkTUH...HifSnw==",
- "VisibilityTimeout": 36000
- }
- ],
- "QueueUrl": "https://sqs.us-east-1.amazonaws.com/80398EXAMPLE/MyQueue"
- },
- "output": {
- "Failed": [
-
- ],
- "Successful": [
-
- ]
- },
- "comments": {
- "input": {
- },
- "output": {
- }
- },
- "description": "This example changes the visibility timeout of the two specified messages to 10 hours (10 hours * 60 minutes * 60 seconds).",
- "id": "to-change-the-visibility-timeout-of-multiple-messages-1472079027081",
- "title": "To change the visibility timeout of multiple messages"
- }
- ],
- "CreateQueue": [
- {
- "input": {
- "Attributes": {
- "MessageRetentionPeriod": "259200",
- "RedrivePolicy": "{\"deadLetterTargetArn\":\"arn:aws:sqs:us-east-1:80398EXAMPLE:MyDeadLetterQueue\",\"maxReceiveCount\":\"1000\"}"
- },
- "QueueName": "MyQueue"
- },
- "output": {
- "QueueUrl": "https://queue.amazonaws.com/80398EXAMPLE/MyQueue"
- },
- "comments": {
- "input": {
- },
- "output": {
- }
- },
- "description": "The following operation creates an Amazon SQS queue named MyQueue.",
- "id": "to-create-an-sqs-queue-1472078982579",
- "title": "To create an Amazon SQS queue"
- }
- ],
- "DeleteMessage": [
- {
- "input": {
- "QueueUrl": "https://sqs.us-east-1.amazonaws.com/80398EXAMPLE/MyQueue",
- "ReceiptHandle": "AQEBRXTo...q2doVA=="
- },
- "output": {
- },
- "comments": {
- "input": {
- },
- "output": {
- }
- },
- "description": "This example deletes the specified message.",
- "id": "to-delete-a-single-message-1472078961585",
- "title": "To delete a single message"
- }
- ],
- "DeleteMessageBatch": [
- {
- "input": {
- "Entries": [
- {
- "Id": "FirstMessage",
- "ReceiptHandle": "AQEB1mgl...Z4GuLw=="
- },
- {
- "Id": "SecondMessage",
- "ReceiptHandle": "AQEBLsYM...VQubAA=="
- }
- ],
- "QueueUrl": "https://sqs.us-east-1.amazonaws.com/80398EXAMPLE/MyQueue"
- },
- "output": {
- "Failed": [
-
- ],
- "Successful": [
- {
- "Id": "FirstMessage"
- },
- {
- "Id": "SecondMessage"
- }
- ]
- },
- "comments": {
- "input": {
- },
- "output": {
- }
- },
- "description": "This example deletes the two specified messages.",
- "id": "to-delete-multiple-messages-1472078930327",
- "title": "To delete multiple messages"
- }
- ],
- "DeleteQueue": [
- {
- "input": {
- "QueueUrl": "https://sqs.us-east-1.amazonaws.com/80398EXAMPLE/MyNewerQueue"
- },
- "output": {
- },
- "comments": {
- "input": {
- },
- "output": {
- }
- },
- "description": "This example deletes the specified queue.",
- "id": "to-delete-a-queue-1472151853558",
- "title": "To delete a queue"
- }
- ],
- "GetQueueAttributes": [
- {
- "input": {
- "AttributeNames": [
- "All"
- ],
- "QueueUrl": "https://sqs.us-east-1.amazonaws.com/80398EXAMPLE/MyQueue"
- },
- "output": {
- "Attributes": {
- "ApproximateNumberOfMessages": "0",
- "ApproximateNumberOfMessagesDelayed": "0",
- "ApproximateNumberOfMessagesNotVisible": "0",
- "CreatedTimestamp": "1442426968",
- "DelaySeconds": "0",
- "LastModifiedTimestamp": "1442426968",
- "MaximumMessageSize": "262144",
- "MessageRetentionPeriod": "345600",
- "QueueArn": "arn:aws:sqs:us-east-1:80398EXAMPLE:MyNewQueue",
- "ReceiveMessageWaitTimeSeconds": "0",
- "RedrivePolicy": "{\"deadLetterTargetArn\":\"arn:aws:sqs:us-east-1:80398EXAMPLE:MyDeadLetterQueue\",\"maxReceiveCount\":1000}",
- "VisibilityTimeout": "30"
- }
- },
- "comments": {
- "input": {
- },
- "output": {
- }
- },
- "description": "This example gets all attributes of the specified queue.",
- "id": "to-get-the-attributes-of-a-queue-1472149421128",
- "title": "To get the attributes of a queue"
- },
- {
- "input": {
- "AttributeNames": [
- "MaximumMessageSize VisibilityTimeout"
- ],
- "QueueUrl": "https://sqs.us-east-1.amazonaws.com/80398EXAMPLE/MyNewQueue"
- },
- "output": {
- "Attributes": {
- "MaximumMessageSize": "262144",
- "VisibilityTimeout": "30"
- }
- },
- "comments": {
- "input": {
- },
- "output": {
- }
- },
- "description": "This example gets only the specified queue's maximum message size and visibility timeout attributes.",
- "id": "to-get-the-attributes-of-a-queue-1472517012839",
- "title": "To get the attributes of a queue"
- }
- ],
- "GetQueueUrl": [
- {
- "input": {
- "QueueName": "MyQueue",
- "QueueOwnerAWSAccountId": "123456789101"
- },
- "output": {
- "QueueUrl": "https://queue.amazonaws.com/123456789101/MyQueue"
- },
- "comments": {
- "input": {
- },
- "output": {
- }
- },
- "description": "This example gets the URL of the specified queue.",
- "id": "to-get-the-url-of-a-queue-1472078901091",
- "title": "To get the URL of a queue"
- }
- ],
- "ListDeadLetterSourceQueues": [
- {
- "input": {
- "QueueUrl": "https://sqs.us-east-1.amazonaws.com/80398EXAMPLE/MyDeadLetterQueue"
- },
- "output": {
- "queueUrls": [
- "https://queue.amazonaws.com/80398EXAMPLE/MyQueue",
- "https://queue.amazonaws.com/80398EXAMPLE/MyOtherQueue"
- ]
- },
- "comments": {
- "input": {
- },
- "output": {
- }
- },
- "description": "This example lists the source queues associated with the specified dead letter queue.",
- "id": "to-list-the-source-queues-of-a-dead-letter-queue-1472150435081",
- "title": "To list the source queues of a dead letter queue"
- }
- ],
- "ListQueues": [
- {
- "input": {
- "QueueNamePrefix": ""
- },
- "output": {
- "QueueUrls": [
- "https://queue.amazonaws.com/80398EXAMPLE/MyDeadLetterQueue",
- "https://queue.amazonaws.com/80398EXAMPLE/MyQueue",
- "https://queue.amazonaws.com/80398EXAMPLE/MyOtherQueue",
- "https://queue.amazonaws.com/80398EXAMPLE/TestQueue1",
- "https://queue.amazonaws.com/80398EXAMPLE/TestQueue2"
- ]
- },
- "comments": {
- "input": {
- },
- "output": {
- }
- },
- "description": "This example lists all queues.",
- "id": "to-list-queues-1472150595914",
- "title": "To list queues"
- },
- {
- "input": {
- "QueueNamePrefix": "My"
- },
- "output": {
- "QueueUrls": [
- "https://queue.amazonaws.com/80398EXAMPLE/MyDeadLetterQueue",
- "https://queue.amazonaws.com/80398EXAMPLE/MyQueue",
- "https://queue.amazonaws.com/80398EXAMPLE/MyOtherQueue"
- ]
- },
- "comments": {
- "input": {
- },
- "output": {
- }
- },
- "description": "This example lists only queues that start with "Ty".",
- "id": "to-list-queues-1472517240103",
- "title": "To list queues"
- }
- ],
- "PurgeQueue": [
- {
- "input": {
- "QueueUrl": "https://sqs.us-east-1.amazonaws.com/80398EXAMPLE/MyNewQueue"
- },
- "output": {
- },
- "comments": {
- "input": {
- },
- "output": {
- }
- },
- "description": "This example deletes all messages in the specified queue.",
- "id": "to-purge-a-queue-1472150819702",
- "title": "To purge a queue"
- }
- ],
- "ReceiveMessage": [
- {
- "input": {
- "AttributeNames": [
- "All"
- ],
- "MaxNumberOfMessages": 10,
- "MessageAttributeNames": [
- "All"
- ],
- "QueueUrl": "https://sqs.us-east-1.amazonaws.com/80398EXAMPLE/MyQueue",
- "VisibilityTimeout": 123,
- "WaitTimeSeconds": 123
- },
- "output": {
- "Messages": [
- {
- "Attributes": {
- "ApproximateFirstReceiveTimestamp": "1442428276921",
- "ApproximateReceiveCount": "5",
- "SenderId": "AIDAIAZKMSNQ7TEXAMPLE",
- "SentTimestamp": "1442428276921"
- },
- "Body": "My first message.",
- "MD5OfBody": "1000f835...a35411fa",
- "MD5OfMessageAttributes": "9424c491...26bc3ae7",
- "MessageAttributes": {
- "City": {
- "DataType": "String",
- "StringValue": "Any City"
- },
- "PostalCode": {
- "DataType": "String",
- "StringValue": "ABC123"
- }
- },
- "MessageId": "d6790f8d-d575-4f01-bc51-40122EXAMPLE",
- "ReceiptHandle": "AQEBzbVv...fqNzFw=="
- }
- ]
- },
- "comments": {
- "input": {
- },
- "output": {
- }
- },
- "description": "This example receives up to 10 available messages, returning all available attributes.",
- "id": "to-receive-a-message-1472151462717",
- "title": "To receive a message"
- },
- {
- "input": {
- "AttributeNames": [
- "SenderId SentTimestamp"
- ],
- "MaxNumberOfMessages": 123,
- "MessageAttributeNames": [
- "PostalCode"
- ],
- "QueueUrl": "https://sqs.us-east-1.amazonaws.com/80398EXAMPLE/MyQueue",
- "VisibilityTimeout": 123,
- "WaitTimeSeconds": 123
- },
- "output": {
- "Messages": [
- {
- "Attributes": {
- "SenderId": "AIDAIAZKMSNQ7TEXAMPLE",
- "SentTimestamp": "1442428276921"
- },
- "Body": "My first message.",
- "MD5OfBody": "1000f835...a35411fa",
- "MD5OfMessageAttributes": "b8e89563...e088e74f",
- "MessageAttributes": {
- "PostalCode": {
- "DataType": "String",
- "StringValue": "ABC123"
- }
- },
- "MessageId": "d6790f8d-d575-4f01-bc51-40122EXAMPLE",
- "ReceiptHandle": "AQEB6nR4...HzlvZQ=="
- }
- ]
- },
- "comments": {
- "input": {
- },
- "output": {
- }
- },
- "description": "This example receives the next available message, returning only the SenderId and SentTimestamp attributes and the PostalCode message attribute.",
- "id": "to-receive-a-message-1472517398871",
- "title": "To receive a message"
- }
- ],
- "RemovePermission": [
- {
- "input": {
- "Label": "SendMessagesFromMyQueue",
- "QueueUrl": "https://sqs.us-east-1.amazonaws.com/80398EXAMPLE/MyQueue"
- },
- "output": {
- },
- "comments": {
- "input": {
- },
- "output": {
- }
- },
- "description": "This example removes the permission with the specified label from the specified queue.",
- "id": "to-remove-a-permission-from-a-queue-1472151967252",
- "title": "To remove a permission from a queue"
- }
- ],
- "SendMessage": [
- {
- "input": {
- "DelaySeconds": 10,
- "MessageAttributes": {
- "City": {
- "DataType": "String",
- "StringValue": "Any City"
- },
- "Greeting": {
- "BinaryValue": "Hello, World!",
- "DataType": "Binary"
- },
- "Population": {
- "DataType": "Number",
- "StringValue": "1250800"
- }
- },
- "MessageBody": "Information about the largest city in Any Region.",
- "QueueUrl": "https://sqs.us-east-1.amazonaws.com/80398EXAMPLE/MyQueue"
- },
- "output": {
- "MD5OfMessageAttributes": "00484c68...59e48f06",
- "MD5OfMessageBody": "51b0a325...39163aa0",
- "MessageId": "da68f62c-0c07-4bee-bf5f-7e856EXAMPLE"
- },
- "comments": {
- "input": {
- },
- "output": {
- }
- },
- "description": "This example sends a message with the specified message body, delay period, and message attributes to the specified queue.",
- "id": "to-send-a-message-to-a-queue-1472152022619",
- "title": "To send a message to a queue"
- }
- ],
- "SendMessageBatch": [
- {
- "input": {
- "Entries": [
- {
- "DelaySeconds": 10,
- "Id": "FuelReport-0001-2015-09-16T140731Z",
- "MessageAttributes": {
- "City": {
- "DataType": "String",
- "StringValue": "Any City"
- },
- "PostalCode": {
- "DataType": "String",
- "StringValue": "99065"
- },
- "PricePerGallon": {
- "DataType": "Number",
- "StringValue": "1.99"
- },
- "Region": {
- "DataType": "String",
- "StringValue": "WA"
- },
- "SellerName": {
- "DataType": "String",
- "StringValue": "Example Store"
- }
- },
- "MessageBody": "Fuel report for account 0001 on 2015-09-16 at 02:07:31 PM."
- },
- {
- "DelaySeconds": 10,
- "Id": "FuelReport-0002-2015-09-16T140930Z",
- "MessageAttributes": {
- "City": {
- "DataType": "String",
- "StringValue": "North Town"
- },
- "PostalCode": {
- "DataType": "String",
- "StringValue": "99123"
- },
- "PricePerGallon": {
- "DataType": "Number",
- "StringValue": "1.87"
- },
- "Region": {
- "DataType": "String",
- "StringValue": "WA"
- },
- "SellerName": {
- "DataType": "String",
- "StringValue": "Example Fuels"
- }
- },
- "MessageBody": "Fuel report for account 0002 on 2015-09-16 at 02:09:30 PM."
- }
- ],
- "QueueUrl": "https://sqs.us-east-1.amazonaws.com/80398EXAMPLE/MyQueue"
- },
- "output": {
- "Failed": [
-
- ],
- "Successful": [
- {
- "Id": "FuelReport-0001-2015-09-16T140731Z",
- "MD5OfMessageAttributes": "10809b55...baf283ef",
- "MD5OfMessageBody": "203c4a38...7943237e",
- "MessageId": "d175070c-d6b8-4101-861d-adeb3EXAMPLE"
- },
- {
- "Id": "FuelReport-0002-2015-09-16T140930Z",
- "MD5OfMessageAttributes": "55623928...ae354a25",
- "MD5OfMessageBody": "2cf0159a...c1980595",
- "MessageId": "f9b7d55d-0570-413e-b9c5-a9264EXAMPLE"
- }
- ]
- },
- "comments": {
- "input": {
- },
- "output": {
- }
- },
- "description": "This example sends two messages with the specified message bodies, delay periods, and message attributes to the specified queue.",
- "id": "to-send-multiple-messages-1472152282144",
- "title": "To send multiple messages"
- }
- ],
- "SetQueueAttributes": [
- {
- "input": {
- "Attributes": {
- "DelaySeconds": "10",
- "MaximumMessageSize": "131072",
- "MessageRetentionPeriod": "259200",
- "ReceiveMessageWaitTimeSeconds": "20",
- "RedrivePolicy": "{\"deadLetterTargetArn\":\"arn:aws:sqs:us-east-1:80398EXAMPLE:MyDeadLetterQueue\",\"maxReceiveCount\":\"1000\"}",
- "VisibilityTimeout": "60"
- },
- "QueueUrl": "https://sqs.us-east-1.amazonaws.com/80398EXAMPLE/MyNewQueue"
- },
- "output": {
- },
- "comments": {
- "input": {
- },
- "output": {
- }
- },
- "description": "This example sets the specified queue to a delivery delay of 10 seconds, a maximum message size of 128 KB (128 KB * 1,024 bytes), a message retention period of 3 days (3 days * 24 hours * 60 minutes * 60 seconds), a receive message wait time of 20 seconds, and a default visibility timeout of 60 seconds. This example also associates the specified dead letter queue with a maximum receive count of 1,000 messages.",
- "id": "to-set-the-attributes-of-a-queue-1472152379646",
- "title": "To set the attributes of a queue"
- }
- ]
}
}
diff --git a/vendor/github.com/aws/aws-sdk-go/private/model/api/api.go b/vendor/github.com/aws/aws-sdk-go/private/model/api/api.go
index 33f15ad..f9a6cd7 100644
--- a/vendor/github.com/aws/aws-sdk-go/private/model/api/api.go
+++ b/vendor/github.com/aws/aws-sdk-go/private/model/api/api.go
@@ -39,6 +39,9 @@ type API struct {
// Set to true to not generate validation shapes
NoValidataShapeMethods bool
+ // Set to true to not generate struct field accessors
+ NoGenStructFieldAccessors bool
+
SvcClientImportPath string
initialized bool
diff --git a/vendor/github.com/aws/aws-sdk-go/private/model/api/shape.go b/vendor/github.com/aws/aws-sdk-go/private/model/api/shape.go
index 3143dd3..8c189dd 100644
--- a/vendor/github.com/aws/aws-sdk-go/private/model/api/shape.go
+++ b/vendor/github.com/aws/aws-sdk-go/private/model/api/shape.go
@@ -130,14 +130,38 @@ func (s *Shape) GoTypeWithPkgName() string {
return goType(s, true)
}
+// GenAccessors returns if the shape's reference should have setters generated.
+func (s *ShapeRef) UseIndirection() bool {
+ switch s.Shape.Type {
+ case "map", "list", "blob", "structure":
+ return false
+ }
+
+ if s.Streaming || s.Shape.Streaming {
+ return false
+ }
+
+ return true
+}
+
+// GoStructValueType returns the Shape's Go type value instead of a pointer
+// for the type.
+func (s *Shape) GoStructValueType(name string, ref *ShapeRef) string {
+ v := s.GoStructType(name, ref)
+
+ if ref.UseIndirection() && v[0] == '*' {
+ return v[1:]
+ }
+
+ return v
+}
+
// GoStructType returns the type of a struct field based on the API
// model definition.
func (s *Shape) GoStructType(name string, ref *ShapeRef) string {
if (ref.Streaming || ref.Shape.Streaming) && s.Payload == name {
rtype := "io.ReadSeeker"
- if len(s.refs) > 1 {
- rtype = "aws.ReaderSeekCloser"
- } else if strings.HasSuffix(s.ShapeName, "Output") {
+ if strings.HasSuffix(s.ShapeName, "Output") {
rtype = "io.ReadCloser"
}
@@ -447,10 +471,10 @@ func (s *Shape) NestedShape() *Shape {
var structShapeTmpl = template.Must(template.New("StructShape").Parse(`
{{ .Docstring }}
+{{ $context := . -}}
type {{ .ShapeName }} struct {
_ struct{} {{ .GoTags true false }}
- {{ $context := . -}}
{{ range $_, $name := $context.MemberNames -}}
{{ $elem := index $context.MemberRefs $name -}}
{{ $isRequired := $context.IsRequired $name -}}
@@ -475,6 +499,26 @@ type {{ .ShapeName }} struct {
{{ .Validations.GoCode . }}
{{ end }}
{{ end }}
+
+{{ if not .API.NoGenStructFieldAccessors }}
+
+{{ $builderShapeName := print .ShapeName -}}
+
+{{ range $_, $name := $context.MemberNames -}}
+ {{ $elem := index $context.MemberRefs $name -}}
+
+// Set{{ $name }} sets the {{ $name }} field's value.
+func (s *{{ $builderShapeName }}) Set{{ $name }}(v {{ $context.GoStructValueType $name $elem }}) *{{ $builderShapeName }} {
+ {{ if $elem.UseIndirection -}}
+ s.{{ $name }} = &v
+ {{ else -}}
+ s.{{ $name }} = v
+ {{ end -}}
+ return s
+}
+
+{{ end }}
+{{ end }}
`))
var enumShapeTmpl = template.Must(template.New("EnumShape").Parse(`
diff --git a/vendor/github.com/aws/aws-sdk-go/private/protocol/ec2query/build_test.go b/vendor/github.com/aws/aws-sdk-go/private/protocol/ec2query/build_test.go
index 3ad2131..ff7cec3 100644
--- a/vendor/github.com/aws/aws-sdk-go/private/protocol/ec2query/build_test.go
+++ b/vendor/github.com/aws/aws-sdk-go/private/protocol/ec2query/build_test.go
@@ -163,6 +163,18 @@ type InputService1TestShapeInputService1TestCaseOperation1Input struct {
Foo *string `type:"string"`
}
+// SetBar sets the Bar field's value.
+func (s *InputService1TestShapeInputService1TestCaseOperation1Input) SetBar(v string) *InputService1TestShapeInputService1TestCaseOperation1Input {
+ s.Bar = &v
+ return s
+}
+
+// SetFoo sets the Foo field's value.
+func (s *InputService1TestShapeInputService1TestCaseOperation1Input) SetFoo(v string) *InputService1TestShapeInputService1TestCaseOperation1Input {
+ s.Foo = &v
+ return s
+}
+
type InputService1TestShapeInputService1TestCaseOperation1Output struct {
_ struct{} `type:"structure"`
}
@@ -289,6 +301,24 @@ type InputService2TestShapeInputService2TestCaseOperation1Input struct {
Yuck *string `locationName:"yuckLocationName" queryName:"yuckQueryName" type:"string"`
}
+// SetBar sets the Bar field's value.
+func (s *InputService2TestShapeInputService2TestCaseOperation1Input) SetBar(v string) *InputService2TestShapeInputService2TestCaseOperation1Input {
+ s.Bar = &v
+ return s
+}
+
+// SetFoo sets the Foo field's value.
+func (s *InputService2TestShapeInputService2TestCaseOperation1Input) SetFoo(v string) *InputService2TestShapeInputService2TestCaseOperation1Input {
+ s.Foo = &v
+ return s
+}
+
+// SetYuck sets the Yuck field's value.
+func (s *InputService2TestShapeInputService2TestCaseOperation1Input) SetYuck(v string) *InputService2TestShapeInputService2TestCaseOperation1Input {
+ s.Yuck = &v
+ return s
+}
+
type InputService2TestShapeInputService2TestCaseOperation1Output struct {
_ struct{} `type:"structure"`
}
@@ -411,6 +441,12 @@ type InputService3TestShapeInputService3TestCaseOperation1Input struct {
StructArg *InputService3TestShapeStructType `locationName:"Struct" type:"structure"`
}
+// SetStructArg sets the StructArg field's value.
+func (s *InputService3TestShapeInputService3TestCaseOperation1Input) SetStructArg(v *InputService3TestShapeStructType) *InputService3TestShapeInputService3TestCaseOperation1Input {
+ s.StructArg = v
+ return s
+}
+
type InputService3TestShapeInputService3TestCaseOperation1Output struct {
_ struct{} `type:"structure"`
}
@@ -421,6 +457,12 @@ type InputService3TestShapeStructType struct {
ScalarArg *string `locationName:"Scalar" type:"string"`
}
+// SetScalarArg sets the ScalarArg field's value.
+func (s *InputService3TestShapeStructType) SetScalarArg(v string) *InputService3TestShapeStructType {
+ s.ScalarArg = &v
+ return s
+}
+
//The service client's operations are safe to be used concurrently.
// It is not safe to mutate any of the client's properties though.
type InputService4ProtocolTest struct {
@@ -539,6 +581,12 @@ type InputService4TestShapeInputService4TestCaseOperation1Input struct {
ListArg []*string `type:"list"`
}
+// SetListArg sets the ListArg field's value.
+func (s *InputService4TestShapeInputService4TestCaseOperation1Input) SetListArg(v []*string) *InputService4TestShapeInputService4TestCaseOperation1Input {
+ s.ListArg = v
+ return s
+}
+
type InputService4TestShapeInputService4TestCaseOperation1Output struct {
_ struct{} `type:"structure"`
}
@@ -661,6 +709,12 @@ type InputService5TestShapeInputService5TestCaseOperation1Input struct {
ListArg []*string `locationName:"ListMemberName" locationNameList:"item" type:"list"`
}
+// SetListArg sets the ListArg field's value.
+func (s *InputService5TestShapeInputService5TestCaseOperation1Input) SetListArg(v []*string) *InputService5TestShapeInputService5TestCaseOperation1Input {
+ s.ListArg = v
+ return s
+}
+
type InputService5TestShapeInputService5TestCaseOperation1Output struct {
_ struct{} `type:"structure"`
}
@@ -783,6 +837,12 @@ type InputService6TestShapeInputService6TestCaseOperation1Input struct {
ListArg []*string `locationName:"ListMemberName" queryName:"ListQueryName" locationNameList:"item" type:"list"`
}
+// SetListArg sets the ListArg field's value.
+func (s *InputService6TestShapeInputService6TestCaseOperation1Input) SetListArg(v []*string) *InputService6TestShapeInputService6TestCaseOperation1Input {
+ s.ListArg = v
+ return s
+}
+
type InputService6TestShapeInputService6TestCaseOperation1Output struct {
_ struct{} `type:"structure"`
}
@@ -906,6 +966,12 @@ type InputService7TestShapeInputService7TestCaseOperation1Input struct {
BlobArg []byte `type:"blob"`
}
+// SetBlobArg sets the BlobArg field's value.
+func (s *InputService7TestShapeInputService7TestCaseOperation1Input) SetBlobArg(v []byte) *InputService7TestShapeInputService7TestCaseOperation1Input {
+ s.BlobArg = v
+ return s
+}
+
type InputService7TestShapeInputService7TestCaseOperation1Output struct {
_ struct{} `type:"structure"`
}
@@ -1028,6 +1094,12 @@ type InputService8TestShapeInputService8TestCaseOperation1Input struct {
TimeArg *time.Time `type:"timestamp" timestampFormat:"iso8601"`
}
+// SetTimeArg sets the TimeArg field's value.
+func (s *InputService8TestShapeInputService8TestCaseOperation1Input) SetTimeArg(v time.Time) *InputService8TestShapeInputService8TestCaseOperation1Input {
+ s.TimeArg = &v
+ return s
+}
+
type InputService8TestShapeInputService8TestCaseOperation1Output struct {
_ struct{} `type:"structure"`
}
@@ -1218,6 +1290,12 @@ type InputService9TestShapeInputShape struct {
Token *string `type:"string" idempotencyToken:"true"`
}
+// SetToken sets the Token field's value.
+func (s *InputService9TestShapeInputShape) SetToken(v string) *InputService9TestShapeInputShape {
+ s.Token = &v
+ return s
+}
+
//
// Tests begin here
//
diff --git a/vendor/github.com/aws/aws-sdk-go/private/protocol/ec2query/unmarshal_test.go b/vendor/github.com/aws/aws-sdk-go/private/protocol/ec2query/unmarshal_test.go
index 852ce1e..851c85b 100644
--- a/vendor/github.com/aws/aws-sdk-go/private/protocol/ec2query/unmarshal_test.go
+++ b/vendor/github.com/aws/aws-sdk-go/private/protocol/ec2query/unmarshal_test.go
@@ -177,6 +177,54 @@ type OutputService1TestShapeOutputService1TestCaseOperation1Output struct {
TrueBool *bool `type:"boolean"`
}
+// SetChar sets the Char field's value.
+func (s *OutputService1TestShapeOutputService1TestCaseOperation1Output) SetChar(v string) *OutputService1TestShapeOutputService1TestCaseOperation1Output {
+ s.Char = &v
+ return s
+}
+
+// SetDouble sets the Double field's value.
+func (s *OutputService1TestShapeOutputService1TestCaseOperation1Output) SetDouble(v float64) *OutputService1TestShapeOutputService1TestCaseOperation1Output {
+ s.Double = &v
+ return s
+}
+
+// SetFalseBool sets the FalseBool field's value.
+func (s *OutputService1TestShapeOutputService1TestCaseOperation1Output) SetFalseBool(v bool) *OutputService1TestShapeOutputService1TestCaseOperation1Output {
+ s.FalseBool = &v
+ return s
+}
+
+// SetFloat sets the Float field's value.
+func (s *OutputService1TestShapeOutputService1TestCaseOperation1Output) SetFloat(v float64) *OutputService1TestShapeOutputService1TestCaseOperation1Output {
+ s.Float = &v
+ return s
+}
+
+// SetLong sets the Long field's value.
+func (s *OutputService1TestShapeOutputService1TestCaseOperation1Output) SetLong(v int64) *OutputService1TestShapeOutputService1TestCaseOperation1Output {
+ s.Long = &v
+ return s
+}
+
+// SetNum sets the Num field's value.
+func (s *OutputService1TestShapeOutputService1TestCaseOperation1Output) SetNum(v int64) *OutputService1TestShapeOutputService1TestCaseOperation1Output {
+ s.Num = &v
+ return s
+}
+
+// SetStr sets the Str field's value.
+func (s *OutputService1TestShapeOutputService1TestCaseOperation1Output) SetStr(v string) *OutputService1TestShapeOutputService1TestCaseOperation1Output {
+ s.Str = &v
+ return s
+}
+
+// SetTrueBool sets the TrueBool field's value.
+func (s *OutputService1TestShapeOutputService1TestCaseOperation1Output) SetTrueBool(v bool) *OutputService1TestShapeOutputService1TestCaseOperation1Output {
+ s.TrueBool = &v
+ return s
+}
+
//The service client's operations are safe to be used concurrently.
// It is not safe to mutate any of the client's properties though.
type OutputService2ProtocolTest struct {
@@ -298,6 +346,12 @@ type OutputService2TestShapeOutputService2TestCaseOperation1Output struct {
Blob []byte `type:"blob"`
}
+// SetBlob sets the Blob field's value.
+func (s *OutputService2TestShapeOutputService2TestCaseOperation1Output) SetBlob(v []byte) *OutputService2TestShapeOutputService2TestCaseOperation1Output {
+ s.Blob = v
+ return s
+}
+
//The service client's operations are safe to be used concurrently.
// It is not safe to mutate any of the client's properties though.
type OutputService3ProtocolTest struct {
@@ -418,6 +472,12 @@ type OutputService3TestShapeOutputService3TestCaseOperation1Output struct {
ListMember []*string `type:"list"`
}
+// SetListMember sets the ListMember field's value.
+func (s *OutputService3TestShapeOutputService3TestCaseOperation1Output) SetListMember(v []*string) *OutputService3TestShapeOutputService3TestCaseOperation1Output {
+ s.ListMember = v
+ return s
+}
+
//The service client's operations are safe to be used concurrently.
// It is not safe to mutate any of the client's properties though.
type OutputService4ProtocolTest struct {
@@ -538,6 +598,12 @@ type OutputService4TestShapeOutputService4TestCaseOperation1Output struct {
ListMember []*string `locationNameList:"item" type:"list"`
}
+// SetListMember sets the ListMember field's value.
+func (s *OutputService4TestShapeOutputService4TestCaseOperation1Output) SetListMember(v []*string) *OutputService4TestShapeOutputService4TestCaseOperation1Output {
+ s.ListMember = v
+ return s
+}
+
//The service client's operations are safe to be used concurrently.
// It is not safe to mutate any of the client's properties though.
type OutputService5ProtocolTest struct {
@@ -658,6 +724,12 @@ type OutputService5TestShapeOutputService5TestCaseOperation1Output struct {
ListMember []*string `type:"list" flattened:"true"`
}
+// SetListMember sets the ListMember field's value.
+func (s *OutputService5TestShapeOutputService5TestCaseOperation1Output) SetListMember(v []*string) *OutputService5TestShapeOutputService5TestCaseOperation1Output {
+ s.ListMember = v
+ return s
+}
+
//The service client's operations are safe to be used concurrently.
// It is not safe to mutate any of the client's properties though.
type OutputService6ProtocolTest struct {
@@ -778,12 +850,24 @@ type OutputService6TestShapeOutputService6TestCaseOperation1Output struct {
Map map[string]*OutputService6TestShapeStructureType `type:"map"`
}
+// SetMap sets the Map field's value.
+func (s *OutputService6TestShapeOutputService6TestCaseOperation1Output) SetMap(v map[string]*OutputService6TestShapeStructureType) *OutputService6TestShapeOutputService6TestCaseOperation1Output {
+ s.Map = v
+ return s
+}
+
type OutputService6TestShapeStructureType struct {
_ struct{} `type:"structure"`
Foo *string `locationName:"foo" type:"string"`
}
+// SetFoo sets the Foo field's value.
+func (s *OutputService6TestShapeStructureType) SetFoo(v string) *OutputService6TestShapeStructureType {
+ s.Foo = &v
+ return s
+}
+
//The service client's operations are safe to be used concurrently.
// It is not safe to mutate any of the client's properties though.
type OutputService7ProtocolTest struct {
@@ -904,6 +988,12 @@ type OutputService7TestShapeOutputService7TestCaseOperation1Output struct {
Map map[string]*string `type:"map" flattened:"true"`
}
+// SetMap sets the Map field's value.
+func (s *OutputService7TestShapeOutputService7TestCaseOperation1Output) SetMap(v map[string]*string) *OutputService7TestShapeOutputService7TestCaseOperation1Output {
+ s.Map = v
+ return s
+}
+
//The service client's operations are safe to be used concurrently.
// It is not safe to mutate any of the client's properties though.
type OutputService8ProtocolTest struct {
@@ -1024,6 +1114,12 @@ type OutputService8TestShapeOutputService8TestCaseOperation1Output struct {
Map map[string]*string `locationNameKey:"foo" locationNameValue:"bar" type:"map" flattened:"true"`
}
+// SetMap sets the Map field's value.
+func (s *OutputService8TestShapeOutputService8TestCaseOperation1Output) SetMap(v map[string]*string) *OutputService8TestShapeOutputService8TestCaseOperation1Output {
+ s.Map = v
+ return s
+}
+
//The service client's operations are safe to be used concurrently.
// It is not safe to mutate any of the client's properties though.
type OutputService9ProtocolTest struct {
@@ -1144,6 +1240,12 @@ type OutputService9TestShapeOutputService9TestCaseOperation1Output struct {
Foo *string `type:"string"`
}
+// SetFoo sets the Foo field's value.
+func (s *OutputService9TestShapeOutputService9TestCaseOperation1Output) SetFoo(v string) *OutputService9TestShapeOutputService9TestCaseOperation1Output {
+ s.Foo = &v
+ return s
+}
+
//
// Tests begin here
//
diff --git a/vendor/github.com/aws/aws-sdk-go/private/protocol/jsonrpc/build_test.go b/vendor/github.com/aws/aws-sdk-go/private/protocol/jsonrpc/build_test.go
index 6faf05e..0ab3ea5 100644
--- a/vendor/github.com/aws/aws-sdk-go/private/protocol/jsonrpc/build_test.go
+++ b/vendor/github.com/aws/aws-sdk-go/private/protocol/jsonrpc/build_test.go
@@ -164,6 +164,12 @@ type InputService1TestShapeInputService1TestCaseOperation1Input struct {
Name *string `type:"string"`
}
+// SetName sets the Name field's value.
+func (s *InputService1TestShapeInputService1TestCaseOperation1Input) SetName(v string) *InputService1TestShapeInputService1TestCaseOperation1Input {
+ s.Name = &v
+ return s
+}
+
type InputService1TestShapeInputService1TestCaseOperation1Output struct {
_ struct{} `type:"structure"`
}
@@ -288,6 +294,12 @@ type InputService2TestShapeInputService2TestCaseOperation1Input struct {
TimeArg *time.Time `type:"timestamp" timestampFormat:"unix"`
}
+// SetTimeArg sets the TimeArg field's value.
+func (s *InputService2TestShapeInputService2TestCaseOperation1Input) SetTimeArg(v time.Time) *InputService2TestShapeInputService2TestCaseOperation1Input {
+ s.TimeArg = &v
+ return s
+}
+
type InputService2TestShapeInputService2TestCaseOperation1Output struct {
_ struct{} `type:"structure"`
}
@@ -481,6 +493,18 @@ type InputService3TestShapeInputShape struct {
BlobMap map[string][]byte `type:"map"`
}
+// SetBlobArg sets the BlobArg field's value.
+func (s *InputService3TestShapeInputShape) SetBlobArg(v []byte) *InputService3TestShapeInputShape {
+ s.BlobArg = v
+ return s
+}
+
+// SetBlobMap sets the BlobMap field's value.
+func (s *InputService3TestShapeInputShape) SetBlobMap(v map[string][]byte) *InputService3TestShapeInputShape {
+ s.BlobMap = v
+ return s
+}
+
//The service client's operations are safe to be used concurrently.
// It is not safe to mutate any of the client's properties though.
type InputService4ProtocolTest struct {
@@ -602,6 +626,12 @@ type InputService4TestShapeInputService4TestCaseOperation1Input struct {
ListParam [][]byte `type:"list"`
}
+// SetListParam sets the ListParam field's value.
+func (s *InputService4TestShapeInputService4TestCaseOperation1Input) SetListParam(v [][]byte) *InputService4TestShapeInputService4TestCaseOperation1Input {
+ s.ListParam = v
+ return s
+}
+
type InputService4TestShapeInputService4TestCaseOperation1Output struct {
_ struct{} `type:"structure"`
}
@@ -1040,6 +1070,12 @@ type InputService5TestShapeInputShape struct {
RecursiveStruct *InputService5TestShapeRecursiveStructType `type:"structure"`
}
+// SetRecursiveStruct sets the RecursiveStruct field's value.
+func (s *InputService5TestShapeInputShape) SetRecursiveStruct(v *InputService5TestShapeRecursiveStructType) *InputService5TestShapeInputShape {
+ s.RecursiveStruct = v
+ return s
+}
+
type InputService5TestShapeRecursiveStructType struct {
_ struct{} `type:"structure"`
@@ -1052,6 +1088,30 @@ type InputService5TestShapeRecursiveStructType struct {
RecursiveStruct *InputService5TestShapeRecursiveStructType `type:"structure"`
}
+// SetNoRecurse sets the NoRecurse field's value.
+func (s *InputService5TestShapeRecursiveStructType) SetNoRecurse(v string) *InputService5TestShapeRecursiveStructType {
+ s.NoRecurse = &v
+ return s
+}
+
+// SetRecursiveList sets the RecursiveList field's value.
+func (s *InputService5TestShapeRecursiveStructType) SetRecursiveList(v []*InputService5TestShapeRecursiveStructType) *InputService5TestShapeRecursiveStructType {
+ s.RecursiveList = v
+ return s
+}
+
+// SetRecursiveMap sets the RecursiveMap field's value.
+func (s *InputService5TestShapeRecursiveStructType) SetRecursiveMap(v map[string]*InputService5TestShapeRecursiveStructType) *InputService5TestShapeRecursiveStructType {
+ s.RecursiveMap = v
+ return s
+}
+
+// SetRecursiveStruct sets the RecursiveStruct field's value.
+func (s *InputService5TestShapeRecursiveStructType) SetRecursiveStruct(v *InputService5TestShapeRecursiveStructType) *InputService5TestShapeRecursiveStructType {
+ s.RecursiveStruct = v
+ return s
+}
+
//The service client's operations are safe to be used concurrently.
// It is not safe to mutate any of the client's properties though.
type InputService6ProtocolTest struct {
@@ -1173,6 +1233,12 @@ type InputService6TestShapeInputService6TestCaseOperation1Input struct {
Map map[string]*string `type:"map"`
}
+// SetMap sets the Map field's value.
+func (s *InputService6TestShapeInputService6TestCaseOperation1Input) SetMap(v map[string]*string) *InputService6TestShapeInputService6TestCaseOperation1Input {
+ s.Map = v
+ return s
+}
+
type InputService6TestShapeInputService6TestCaseOperation1Output struct {
_ struct{} `type:"structure"`
}
@@ -1365,6 +1431,12 @@ type InputService7TestShapeInputShape struct {
Token *string `type:"string" idempotencyToken:"true"`
}
+// SetToken sets the Token field's value.
+func (s *InputService7TestShapeInputShape) SetToken(v string) *InputService7TestShapeInputShape {
+ s.Token = &v
+ return s
+}
+
//
// Tests begin here
//
diff --git a/vendor/github.com/aws/aws-sdk-go/private/protocol/jsonrpc/unmarshal_test.go b/vendor/github.com/aws/aws-sdk-go/private/protocol/jsonrpc/unmarshal_test.go
index 972478d..46883af 100644
--- a/vendor/github.com/aws/aws-sdk-go/private/protocol/jsonrpc/unmarshal_test.go
+++ b/vendor/github.com/aws/aws-sdk-go/private/protocol/jsonrpc/unmarshal_test.go
@@ -179,6 +179,54 @@ type OutputService1TestShapeOutputService1TestCaseOperation1Output struct {
TrueBool *bool `type:"boolean"`
}
+// SetChar sets the Char field's value.
+func (s *OutputService1TestShapeOutputService1TestCaseOperation1Output) SetChar(v string) *OutputService1TestShapeOutputService1TestCaseOperation1Output {
+ s.Char = &v
+ return s
+}
+
+// SetDouble sets the Double field's value.
+func (s *OutputService1TestShapeOutputService1TestCaseOperation1Output) SetDouble(v float64) *OutputService1TestShapeOutputService1TestCaseOperation1Output {
+ s.Double = &v
+ return s
+}
+
+// SetFalseBool sets the FalseBool field's value.
+func (s *OutputService1TestShapeOutputService1TestCaseOperation1Output) SetFalseBool(v bool) *OutputService1TestShapeOutputService1TestCaseOperation1Output {
+ s.FalseBool = &v
+ return s
+}
+
+// SetFloat sets the Float field's value.
+func (s *OutputService1TestShapeOutputService1TestCaseOperation1Output) SetFloat(v float64) *OutputService1TestShapeOutputService1TestCaseOperation1Output {
+ s.Float = &v
+ return s
+}
+
+// SetLong sets the Long field's value.
+func (s *OutputService1TestShapeOutputService1TestCaseOperation1Output) SetLong(v int64) *OutputService1TestShapeOutputService1TestCaseOperation1Output {
+ s.Long = &v
+ return s
+}
+
+// SetNum sets the Num field's value.
+func (s *OutputService1TestShapeOutputService1TestCaseOperation1Output) SetNum(v int64) *OutputService1TestShapeOutputService1TestCaseOperation1Output {
+ s.Num = &v
+ return s
+}
+
+// SetStr sets the Str field's value.
+func (s *OutputService1TestShapeOutputService1TestCaseOperation1Output) SetStr(v string) *OutputService1TestShapeOutputService1TestCaseOperation1Output {
+ s.Str = &v
+ return s
+}
+
+// SetTrueBool sets the TrueBool field's value.
+func (s *OutputService1TestShapeOutputService1TestCaseOperation1Output) SetTrueBool(v bool) *OutputService1TestShapeOutputService1TestCaseOperation1Output {
+ s.TrueBool = &v
+ return s
+}
+
//The service client's operations are safe to be used concurrently.
// It is not safe to mutate any of the client's properties though.
type OutputService2ProtocolTest struct {
@@ -298,6 +346,12 @@ type OutputService2TestShapeBlobContainer struct {
Foo []byte `locationName:"foo" type:"blob"`
}
+// SetFoo sets the Foo field's value.
+func (s *OutputService2TestShapeBlobContainer) SetFoo(v []byte) *OutputService2TestShapeBlobContainer {
+ s.Foo = v
+ return s
+}
+
type OutputService2TestShapeOutputService2TestCaseOperation1Input struct {
_ struct{} `type:"structure"`
}
@@ -311,6 +365,18 @@ type OutputService2TestShapeOutputService2TestCaseOperation1Output struct {
StructMember *OutputService2TestShapeBlobContainer `type:"structure"`
}
+// SetBlobMember sets the BlobMember field's value.
+func (s *OutputService2TestShapeOutputService2TestCaseOperation1Output) SetBlobMember(v []byte) *OutputService2TestShapeOutputService2TestCaseOperation1Output {
+ s.BlobMember = v
+ return s
+}
+
+// SetStructMember sets the StructMember field's value.
+func (s *OutputService2TestShapeOutputService2TestCaseOperation1Output) SetStructMember(v *OutputService2TestShapeBlobContainer) *OutputService2TestShapeOutputService2TestCaseOperation1Output {
+ s.StructMember = v
+ return s
+}
+
//The service client's operations are safe to be used concurrently.
// It is not safe to mutate any of the client's properties though.
type OutputService3ProtocolTest struct {
@@ -435,12 +501,30 @@ type OutputService3TestShapeOutputService3TestCaseOperation1Output struct {
TimeMember *time.Time `type:"timestamp" timestampFormat:"unix"`
}
+// SetStructMember sets the StructMember field's value.
+func (s *OutputService3TestShapeOutputService3TestCaseOperation1Output) SetStructMember(v *OutputService3TestShapeTimeContainer) *OutputService3TestShapeOutputService3TestCaseOperation1Output {
+ s.StructMember = v
+ return s
+}
+
+// SetTimeMember sets the TimeMember field's value.
+func (s *OutputService3TestShapeOutputService3TestCaseOperation1Output) SetTimeMember(v time.Time) *OutputService3TestShapeOutputService3TestCaseOperation1Output {
+ s.TimeMember = &v
+ return s
+}
+
type OutputService3TestShapeTimeContainer struct {
_ struct{} `type:"structure"`
Foo *time.Time `locationName:"foo" type:"timestamp" timestampFormat:"unix"`
}
+// SetFoo sets the Foo field's value.
+func (s *OutputService3TestShapeTimeContainer) SetFoo(v time.Time) *OutputService3TestShapeTimeContainer {
+ s.Foo = &v
+ return s
+}
+
//The service client's operations are safe to be used concurrently.
// It is not safe to mutate any of the client's properties though.
type OutputService4ProtocolTest struct {
@@ -627,6 +711,24 @@ type OutputService4TestShapeOutputShape struct {
ListMemberStruct []*OutputService4TestShapeStructType `type:"list"`
}
+// SetListMember sets the ListMember field's value.
+func (s *OutputService4TestShapeOutputShape) SetListMember(v []*string) *OutputService4TestShapeOutputShape {
+ s.ListMember = v
+ return s
+}
+
+// SetListMemberMap sets the ListMemberMap field's value.
+func (s *OutputService4TestShapeOutputShape) SetListMemberMap(v []map[string]*string) *OutputService4TestShapeOutputShape {
+ s.ListMemberMap = v
+ return s
+}
+
+// SetListMemberStruct sets the ListMemberStruct field's value.
+func (s *OutputService4TestShapeOutputShape) SetListMemberStruct(v []*OutputService4TestShapeStructType) *OutputService4TestShapeOutputShape {
+ s.ListMemberStruct = v
+ return s
+}
+
type OutputService4TestShapeStructType struct {
_ struct{} `type:"structure"`
}
@@ -753,6 +855,12 @@ type OutputService5TestShapeOutputService5TestCaseOperation1Output struct {
MapMember map[string][]*int64 `type:"map"`
}
+// SetMapMember sets the MapMember field's value.
+func (s *OutputService5TestShapeOutputService5TestCaseOperation1Output) SetMapMember(v map[string][]*int64) *OutputService5TestShapeOutputService5TestCaseOperation1Output {
+ s.MapMember = v
+ return s
+}
+
//The service client's operations are safe to be used concurrently.
// It is not safe to mutate any of the client's properties though.
type OutputService6ProtocolTest struct {
@@ -875,6 +983,12 @@ type OutputService6TestShapeOutputService6TestCaseOperation1Output struct {
StrType *string `type:"string"`
}
+// SetStrType sets the StrType field's value.
+func (s *OutputService6TestShapeOutputService6TestCaseOperation1Output) SetStrType(v string) *OutputService6TestShapeOutputService6TestCaseOperation1Output {
+ s.StrType = &v
+ return s
+}
+
//
// Tests begin here
//
diff --git a/vendor/github.com/aws/aws-sdk-go/private/protocol/query/build_test.go b/vendor/github.com/aws/aws-sdk-go/private/protocol/query/build_test.go
index a6ab112..6ff9257 100644
--- a/vendor/github.com/aws/aws-sdk-go/private/protocol/query/build_test.go
+++ b/vendor/github.com/aws/aws-sdk-go/private/protocol/query/build_test.go
@@ -293,6 +293,24 @@ type InputService1TestShapeInputShape struct {
Foo *string `type:"string"`
}
+// SetBar sets the Bar field's value.
+func (s *InputService1TestShapeInputShape) SetBar(v string) *InputService1TestShapeInputShape {
+ s.Bar = &v
+ return s
+}
+
+// SetBaz sets the Baz field's value.
+func (s *InputService1TestShapeInputShape) SetBaz(v bool) *InputService1TestShapeInputShape {
+ s.Baz = &v
+ return s
+}
+
+// SetFoo sets the Foo field's value.
+func (s *InputService1TestShapeInputShape) SetFoo(v string) *InputService1TestShapeInputShape {
+ s.Foo = &v
+ return s
+}
+
//The service client's operations are safe to be used concurrently.
// It is not safe to mutate any of the client's properties though.
type InputService2ProtocolTest struct {
@@ -411,6 +429,12 @@ type InputService2TestShapeInputService2TestCaseOperation1Input struct {
StructArg *InputService2TestShapeStructType `type:"structure"`
}
+// SetStructArg sets the StructArg field's value.
+func (s *InputService2TestShapeInputService2TestCaseOperation1Input) SetStructArg(v *InputService2TestShapeStructType) *InputService2TestShapeInputService2TestCaseOperation1Input {
+ s.StructArg = v
+ return s
+}
+
type InputService2TestShapeInputService2TestCaseOperation1Output struct {
_ struct{} `type:"structure"`
}
@@ -421,6 +445,12 @@ type InputService2TestShapeStructType struct {
ScalarArg *string `type:"string"`
}
+// SetScalarArg sets the ScalarArg field's value.
+func (s *InputService2TestShapeStructType) SetScalarArg(v string) *InputService2TestShapeStructType {
+ s.ScalarArg = &v
+ return s
+}
+
//The service client's operations are safe to be used concurrently.
// It is not safe to mutate any of the client's properties though.
type InputService3ProtocolTest struct {
@@ -605,6 +635,12 @@ type InputService3TestShapeInputShape struct {
ListArg []*string `type:"list"`
}
+// SetListArg sets the ListArg field's value.
+func (s *InputService3TestShapeInputShape) SetListArg(v []*string) *InputService3TestShapeInputShape {
+ s.ListArg = v
+ return s
+}
+
//The service client's operations are safe to be used concurrently.
// It is not safe to mutate any of the client's properties though.
type InputService4ProtocolTest struct {
@@ -793,6 +829,24 @@ type InputService4TestShapeInputShape struct {
ScalarArg *string `type:"string"`
}
+// SetListArg sets the ListArg field's value.
+func (s *InputService4TestShapeInputShape) SetListArg(v []*string) *InputService4TestShapeInputShape {
+ s.ListArg = v
+ return s
+}
+
+// SetNamedListArg sets the NamedListArg field's value.
+func (s *InputService4TestShapeInputShape) SetNamedListArg(v []*string) *InputService4TestShapeInputShape {
+ s.NamedListArg = v
+ return s
+}
+
+// SetScalarArg sets the ScalarArg field's value.
+func (s *InputService4TestShapeInputShape) SetScalarArg(v string) *InputService4TestShapeInputShape {
+ s.ScalarArg = &v
+ return s
+}
+
//The service client's operations are safe to be used concurrently.
// It is not safe to mutate any of the client's properties though.
type InputService5ProtocolTest struct {
@@ -911,6 +965,12 @@ type InputService5TestShapeInputService5TestCaseOperation1Input struct {
MapArg map[string]*string `type:"map" flattened:"true"`
}
+// SetMapArg sets the MapArg field's value.
+func (s *InputService5TestShapeInputService5TestCaseOperation1Input) SetMapArg(v map[string]*string) *InputService5TestShapeInputService5TestCaseOperation1Input {
+ s.MapArg = v
+ return s
+}
+
type InputService5TestShapeInputService5TestCaseOperation1Output struct {
_ struct{} `type:"structure"`
}
@@ -1033,6 +1093,12 @@ type InputService6TestShapeInputService6TestCaseOperation1Input struct {
ListArg []*string `locationNameList:"item" type:"list"`
}
+// SetListArg sets the ListArg field's value.
+func (s *InputService6TestShapeInputService6TestCaseOperation1Input) SetListArg(v []*string) *InputService6TestShapeInputService6TestCaseOperation1Input {
+ s.ListArg = v
+ return s
+}
+
type InputService6TestShapeInputService6TestCaseOperation1Output struct {
_ struct{} `type:"structure"`
}
@@ -1157,6 +1223,18 @@ type InputService7TestShapeInputService7TestCaseOperation1Input struct {
ScalarArg *string `type:"string"`
}
+// SetListArg sets the ListArg field's value.
+func (s *InputService7TestShapeInputService7TestCaseOperation1Input) SetListArg(v []*string) *InputService7TestShapeInputService7TestCaseOperation1Input {
+ s.ListArg = v
+ return s
+}
+
+// SetScalarArg sets the ScalarArg field's value.
+func (s *InputService7TestShapeInputService7TestCaseOperation1Input) SetScalarArg(v string) *InputService7TestShapeInputService7TestCaseOperation1Input {
+ s.ScalarArg = &v
+ return s
+}
+
type InputService7TestShapeInputService7TestCaseOperation1Output struct {
_ struct{} `type:"structure"`
}
@@ -1279,6 +1357,12 @@ type InputService8TestShapeInputService8TestCaseOperation1Input struct {
MapArg map[string]*string `type:"map"`
}
+// SetMapArg sets the MapArg field's value.
+func (s *InputService8TestShapeInputService8TestCaseOperation1Input) SetMapArg(v map[string]*string) *InputService8TestShapeInputService8TestCaseOperation1Input {
+ s.MapArg = v
+ return s
+}
+
type InputService8TestShapeInputService8TestCaseOperation1Output struct {
_ struct{} `type:"structure"`
}
@@ -1401,6 +1485,12 @@ type InputService9TestShapeInputService9TestCaseOperation1Input struct {
MapArg map[string]*string `locationNameKey:"TheKey" locationNameValue:"TheValue" type:"map"`
}
+// SetMapArg sets the MapArg field's value.
+func (s *InputService9TestShapeInputService9TestCaseOperation1Input) SetMapArg(v map[string]*string) *InputService9TestShapeInputService9TestCaseOperation1Input {
+ s.MapArg = v
+ return s
+}
+
type InputService9TestShapeInputService9TestCaseOperation1Output struct {
_ struct{} `type:"structure"`
}
@@ -1524,6 +1614,12 @@ type InputService10TestShapeInputService10TestCaseOperation1Input struct {
BlobArg []byte `type:"blob"`
}
+// SetBlobArg sets the BlobArg field's value.
+func (s *InputService10TestShapeInputService10TestCaseOperation1Input) SetBlobArg(v []byte) *InputService10TestShapeInputService10TestCaseOperation1Input {
+ s.BlobArg = v
+ return s
+}
+
type InputService10TestShapeInputService10TestCaseOperation1Output struct {
_ struct{} `type:"structure"`
}
@@ -1646,6 +1742,12 @@ type InputService11TestShapeInputService11TestCaseOperation1Input struct {
TimeArg *time.Time `type:"timestamp" timestampFormat:"iso8601"`
}
+// SetTimeArg sets the TimeArg field's value.
+func (s *InputService11TestShapeInputService11TestCaseOperation1Input) SetTimeArg(v time.Time) *InputService11TestShapeInputService11TestCaseOperation1Input {
+ s.TimeArg = &v
+ return s
+}
+
type InputService11TestShapeInputService11TestCaseOperation1Output struct {
_ struct{} `type:"structure"`
}
@@ -2082,6 +2184,12 @@ type InputService12TestShapeInputShape struct {
RecursiveStruct *InputService12TestShapeRecursiveStructType `type:"structure"`
}
+// SetRecursiveStruct sets the RecursiveStruct field's value.
+func (s *InputService12TestShapeInputShape) SetRecursiveStruct(v *InputService12TestShapeRecursiveStructType) *InputService12TestShapeInputShape {
+ s.RecursiveStruct = v
+ return s
+}
+
type InputService12TestShapeRecursiveStructType struct {
_ struct{} `type:"structure"`
@@ -2094,6 +2202,30 @@ type InputService12TestShapeRecursiveStructType struct {
RecursiveStruct *InputService12TestShapeRecursiveStructType `type:"structure"`
}
+// SetNoRecurse sets the NoRecurse field's value.
+func (s *InputService12TestShapeRecursiveStructType) SetNoRecurse(v string) *InputService12TestShapeRecursiveStructType {
+ s.NoRecurse = &v
+ return s
+}
+
+// SetRecursiveList sets the RecursiveList field's value.
+func (s *InputService12TestShapeRecursiveStructType) SetRecursiveList(v []*InputService12TestShapeRecursiveStructType) *InputService12TestShapeRecursiveStructType {
+ s.RecursiveList = v
+ return s
+}
+
+// SetRecursiveMap sets the RecursiveMap field's value.
+func (s *InputService12TestShapeRecursiveStructType) SetRecursiveMap(v map[string]*InputService12TestShapeRecursiveStructType) *InputService12TestShapeRecursiveStructType {
+ s.RecursiveMap = v
+ return s
+}
+
+// SetRecursiveStruct sets the RecursiveStruct field's value.
+func (s *InputService12TestShapeRecursiveStructType) SetRecursiveStruct(v *InputService12TestShapeRecursiveStructType) *InputService12TestShapeRecursiveStructType {
+ s.RecursiveStruct = v
+ return s
+}
+
//The service client's operations are safe to be used concurrently.
// It is not safe to mutate any of the client's properties though.
type InputService13ProtocolTest struct {
@@ -2280,6 +2412,12 @@ type InputService13TestShapeInputShape struct {
Token *string `type:"string" idempotencyToken:"true"`
}
+// SetToken sets the Token field's value.
+func (s *InputService13TestShapeInputShape) SetToken(v string) *InputService13TestShapeInputShape {
+ s.Token = &v
+ return s
+}
+
//
// Tests begin here
//
diff --git a/vendor/github.com/aws/aws-sdk-go/private/protocol/query/unmarshal_test.go b/vendor/github.com/aws/aws-sdk-go/private/protocol/query/unmarshal_test.go
index 266a363..07f00f7 100644
--- a/vendor/github.com/aws/aws-sdk-go/private/protocol/query/unmarshal_test.go
+++ b/vendor/github.com/aws/aws-sdk-go/private/protocol/query/unmarshal_test.go
@@ -179,6 +179,60 @@ type OutputService1TestShapeOutputService1TestCaseOperation1Output struct {
TrueBool *bool `type:"boolean"`
}
+// SetChar sets the Char field's value.
+func (s *OutputService1TestShapeOutputService1TestCaseOperation1Output) SetChar(v string) *OutputService1TestShapeOutputService1TestCaseOperation1Output {
+ s.Char = &v
+ return s
+}
+
+// SetDouble sets the Double field's value.
+func (s *OutputService1TestShapeOutputService1TestCaseOperation1Output) SetDouble(v float64) *OutputService1TestShapeOutputService1TestCaseOperation1Output {
+ s.Double = &v
+ return s
+}
+
+// SetFalseBool sets the FalseBool field's value.
+func (s *OutputService1TestShapeOutputService1TestCaseOperation1Output) SetFalseBool(v bool) *OutputService1TestShapeOutputService1TestCaseOperation1Output {
+ s.FalseBool = &v
+ return s
+}
+
+// SetFloat sets the Float field's value.
+func (s *OutputService1TestShapeOutputService1TestCaseOperation1Output) SetFloat(v float64) *OutputService1TestShapeOutputService1TestCaseOperation1Output {
+ s.Float = &v
+ return s
+}
+
+// SetLong sets the Long field's value.
+func (s *OutputService1TestShapeOutputService1TestCaseOperation1Output) SetLong(v int64) *OutputService1TestShapeOutputService1TestCaseOperation1Output {
+ s.Long = &v
+ return s
+}
+
+// SetNum sets the Num field's value.
+func (s *OutputService1TestShapeOutputService1TestCaseOperation1Output) SetNum(v int64) *OutputService1TestShapeOutputService1TestCaseOperation1Output {
+ s.Num = &v
+ return s
+}
+
+// SetStr sets the Str field's value.
+func (s *OutputService1TestShapeOutputService1TestCaseOperation1Output) SetStr(v string) *OutputService1TestShapeOutputService1TestCaseOperation1Output {
+ s.Str = &v
+ return s
+}
+
+// SetTimestamp sets the Timestamp field's value.
+func (s *OutputService1TestShapeOutputService1TestCaseOperation1Output) SetTimestamp(v time.Time) *OutputService1TestShapeOutputService1TestCaseOperation1Output {
+ s.Timestamp = &v
+ return s
+}
+
+// SetTrueBool sets the TrueBool field's value.
+func (s *OutputService1TestShapeOutputService1TestCaseOperation1Output) SetTrueBool(v bool) *OutputService1TestShapeOutputService1TestCaseOperation1Output {
+ s.TrueBool = &v
+ return s
+}
+
//The service client's operations are safe to be used concurrently.
// It is not safe to mutate any of the client's properties though.
type OutputService2ProtocolTest struct {
@@ -301,6 +355,18 @@ type OutputService2TestShapeOutputService2TestCaseOperation1Output struct {
Str *string `type:"string"`
}
+// SetNum sets the Num field's value.
+func (s *OutputService2TestShapeOutputService2TestCaseOperation1Output) SetNum(v int64) *OutputService2TestShapeOutputService2TestCaseOperation1Output {
+ s.Num = &v
+ return s
+}
+
+// SetStr sets the Str field's value.
+func (s *OutputService2TestShapeOutputService2TestCaseOperation1Output) SetStr(v string) *OutputService2TestShapeOutputService2TestCaseOperation1Output {
+ s.Str = &v
+ return s
+}
+
//The service client's operations are safe to be used concurrently.
// It is not safe to mutate any of the client's properties though.
type OutputService3ProtocolTest struct {
@@ -422,6 +488,12 @@ type OutputService3TestShapeOutputService3TestCaseOperation1Output struct {
Blob []byte `type:"blob"`
}
+// SetBlob sets the Blob field's value.
+func (s *OutputService3TestShapeOutputService3TestCaseOperation1Output) SetBlob(v []byte) *OutputService3TestShapeOutputService3TestCaseOperation1Output {
+ s.Blob = v
+ return s
+}
+
//The service client's operations are safe to be used concurrently.
// It is not safe to mutate any of the client's properties though.
type OutputService4ProtocolTest struct {
@@ -542,6 +614,12 @@ type OutputService4TestShapeOutputService4TestCaseOperation1Output struct {
ListMember []*string `type:"list"`
}
+// SetListMember sets the ListMember field's value.
+func (s *OutputService4TestShapeOutputService4TestCaseOperation1Output) SetListMember(v []*string) *OutputService4TestShapeOutputService4TestCaseOperation1Output {
+ s.ListMember = v
+ return s
+}
+
//The service client's operations are safe to be used concurrently.
// It is not safe to mutate any of the client's properties though.
type OutputService5ProtocolTest struct {
@@ -662,6 +740,12 @@ type OutputService5TestShapeOutputService5TestCaseOperation1Output struct {
ListMember []*string `locationNameList:"item" type:"list"`
}
+// SetListMember sets the ListMember field's value.
+func (s *OutputService5TestShapeOutputService5TestCaseOperation1Output) SetListMember(v []*string) *OutputService5TestShapeOutputService5TestCaseOperation1Output {
+ s.ListMember = v
+ return s
+}
+
//The service client's operations are safe to be used concurrently.
// It is not safe to mutate any of the client's properties though.
type OutputService6ProtocolTest struct {
@@ -782,6 +866,12 @@ type OutputService6TestShapeOutputService6TestCaseOperation1Output struct {
ListMember []*string `type:"list" flattened:"true"`
}
+// SetListMember sets the ListMember field's value.
+func (s *OutputService6TestShapeOutputService6TestCaseOperation1Output) SetListMember(v []*string) *OutputService6TestShapeOutputService6TestCaseOperation1Output {
+ s.ListMember = v
+ return s
+}
+
//The service client's operations are safe to be used concurrently.
// It is not safe to mutate any of the client's properties though.
type OutputService7ProtocolTest struct {
@@ -902,6 +992,12 @@ type OutputService7TestShapeOutputService7TestCaseOperation1Output struct {
ListMember []*string `type:"list" flattened:"true"`
}
+// SetListMember sets the ListMember field's value.
+func (s *OutputService7TestShapeOutputService7TestCaseOperation1Output) SetListMember(v []*string) *OutputService7TestShapeOutputService7TestCaseOperation1Output {
+ s.ListMember = v
+ return s
+}
+
//The service client's operations are safe to be used concurrently.
// It is not safe to mutate any of the client's properties though.
type OutputService8ProtocolTest struct {
@@ -1022,6 +1118,12 @@ type OutputService8TestShapeOutputService8TestCaseOperation1Output struct {
List []*OutputService8TestShapeStructureShape `type:"list"`
}
+// SetList sets the List field's value.
+func (s *OutputService8TestShapeOutputService8TestCaseOperation1Output) SetList(v []*OutputService8TestShapeStructureShape) *OutputService8TestShapeOutputService8TestCaseOperation1Output {
+ s.List = v
+ return s
+}
+
type OutputService8TestShapeStructureShape struct {
_ struct{} `type:"structure"`
@@ -1032,6 +1134,24 @@ type OutputService8TestShapeStructureShape struct {
Foo *string `type:"string"`
}
+// SetBar sets the Bar field's value.
+func (s *OutputService8TestShapeStructureShape) SetBar(v string) *OutputService8TestShapeStructureShape {
+ s.Bar = &v
+ return s
+}
+
+// SetBaz sets the Baz field's value.
+func (s *OutputService8TestShapeStructureShape) SetBaz(v string) *OutputService8TestShapeStructureShape {
+ s.Baz = &v
+ return s
+}
+
+// SetFoo sets the Foo field's value.
+func (s *OutputService8TestShapeStructureShape) SetFoo(v string) *OutputService8TestShapeStructureShape {
+ s.Foo = &v
+ return s
+}
+
//The service client's operations are safe to be used concurrently.
// It is not safe to mutate any of the client's properties though.
type OutputService9ProtocolTest struct {
@@ -1152,6 +1272,12 @@ type OutputService9TestShapeOutputService9TestCaseOperation1Output struct {
List []*OutputService9TestShapeStructureShape `type:"list" flattened:"true"`
}
+// SetList sets the List field's value.
+func (s *OutputService9TestShapeOutputService9TestCaseOperation1Output) SetList(v []*OutputService9TestShapeStructureShape) *OutputService9TestShapeOutputService9TestCaseOperation1Output {
+ s.List = v
+ return s
+}
+
type OutputService9TestShapeStructureShape struct {
_ struct{} `type:"structure"`
@@ -1162,6 +1288,24 @@ type OutputService9TestShapeStructureShape struct {
Foo *string `type:"string"`
}
+// SetBar sets the Bar field's value.
+func (s *OutputService9TestShapeStructureShape) SetBar(v string) *OutputService9TestShapeStructureShape {
+ s.Bar = &v
+ return s
+}
+
+// SetBaz sets the Baz field's value.
+func (s *OutputService9TestShapeStructureShape) SetBaz(v string) *OutputService9TestShapeStructureShape {
+ s.Baz = &v
+ return s
+}
+
+// SetFoo sets the Foo field's value.
+func (s *OutputService9TestShapeStructureShape) SetFoo(v string) *OutputService9TestShapeStructureShape {
+ s.Foo = &v
+ return s
+}
+
//The service client's operations are safe to be used concurrently.
// It is not safe to mutate any of the client's properties though.
type OutputService10ProtocolTest struct {
@@ -1282,6 +1426,12 @@ type OutputService10TestShapeOutputService10TestCaseOperation1Output struct {
List []*string `locationNameList:"NamedList" type:"list" flattened:"true"`
}
+// SetList sets the List field's value.
+func (s *OutputService10TestShapeOutputService10TestCaseOperation1Output) SetList(v []*string) *OutputService10TestShapeOutputService10TestCaseOperation1Output {
+ s.List = v
+ return s
+}
+
//The service client's operations are safe to be used concurrently.
// It is not safe to mutate any of the client's properties though.
type OutputService11ProtocolTest struct {
@@ -1402,12 +1552,24 @@ type OutputService11TestShapeOutputService11TestCaseOperation1Output struct {
Map map[string]*OutputService11TestShapeStructType `type:"map"`
}
+// SetMap sets the Map field's value.
+func (s *OutputService11TestShapeOutputService11TestCaseOperation1Output) SetMap(v map[string]*OutputService11TestShapeStructType) *OutputService11TestShapeOutputService11TestCaseOperation1Output {
+ s.Map = v
+ return s
+}
+
type OutputService11TestShapeStructType struct {
_ struct{} `type:"structure"`
Foo *string `locationName:"foo" type:"string"`
}
+// SetFoo sets the Foo field's value.
+func (s *OutputService11TestShapeStructType) SetFoo(v string) *OutputService11TestShapeStructType {
+ s.Foo = &v
+ return s
+}
+
//The service client's operations are safe to be used concurrently.
// It is not safe to mutate any of the client's properties though.
type OutputService12ProtocolTest struct {
@@ -1528,6 +1690,12 @@ type OutputService12TestShapeOutputService12TestCaseOperation1Output struct {
Map map[string]*string `type:"map" flattened:"true"`
}
+// SetMap sets the Map field's value.
+func (s *OutputService12TestShapeOutputService12TestCaseOperation1Output) SetMap(v map[string]*string) *OutputService12TestShapeOutputService12TestCaseOperation1Output {
+ s.Map = v
+ return s
+}
+
//The service client's operations are safe to be used concurrently.
// It is not safe to mutate any of the client's properties though.
type OutputService13ProtocolTest struct {
@@ -1648,6 +1816,12 @@ type OutputService13TestShapeOutputService13TestCaseOperation1Output struct {
Map map[string]*string `locationName:"Attribute" locationNameKey:"Name" locationNameValue:"Value" type:"map" flattened:"true"`
}
+// SetMap sets the Map field's value.
+func (s *OutputService13TestShapeOutputService13TestCaseOperation1Output) SetMap(v map[string]*string) *OutputService13TestShapeOutputService13TestCaseOperation1Output {
+ s.Map = v
+ return s
+}
+
//The service client's operations are safe to be used concurrently.
// It is not safe to mutate any of the client's properties though.
type OutputService14ProtocolTest struct {
@@ -1768,6 +1942,12 @@ type OutputService14TestShapeOutputService14TestCaseOperation1Output struct {
Map map[string]*string `locationNameKey:"foo" locationNameValue:"bar" type:"map" flattened:"true"`
}
+// SetMap sets the Map field's value.
+func (s *OutputService14TestShapeOutputService14TestCaseOperation1Output) SetMap(v map[string]*string) *OutputService14TestShapeOutputService14TestCaseOperation1Output {
+ s.Map = v
+ return s
+}
+
//The service client's operations are safe to be used concurrently.
// It is not safe to mutate any of the client's properties though.
type OutputService15ProtocolTest struct {
@@ -1888,6 +2068,12 @@ type OutputService15TestShapeOutputService15TestCaseOperation1Output struct {
Foo *string `type:"string"`
}
+// SetFoo sets the Foo field's value.
+func (s *OutputService15TestShapeOutputService15TestCaseOperation1Output) SetFoo(v string) *OutputService15TestShapeOutputService15TestCaseOperation1Output {
+ s.Foo = &v
+ return s
+}
+
//
// Tests begin here
//
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 5f41251..f5e8607 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
@@ -14,6 +14,7 @@ import (
"strings"
"time"
+ "github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/awserr"
"github.com/aws/aws-sdk-go/aws/request"
)
@@ -92,7 +93,7 @@ func buildLocationElements(r *request.Request, v reflect.Value) {
}
r.HTTPRequest.URL.RawQuery = query.Encode()
- updatePath(r.HTTPRequest.URL, r.HTTPRequest.URL.Path)
+ updatePath(r.HTTPRequest.URL, r.HTTPRequest.URL.Path, aws.BoolValue(r.Config.DisableRestProtocolURICleaning))
}
func buildBody(r *request.Request, v reflect.Value) {
@@ -193,13 +194,15 @@ func buildQueryString(query url.Values, v reflect.Value, name string) error {
return nil
}
-func updatePath(url *url.URL, urlPath string) {
+func updatePath(url *url.URL, urlPath string, disableRestProtocolURICleaning bool) {
scheme, query := url.Scheme, url.RawQuery
hasSlash := strings.HasSuffix(urlPath, "/")
// clean up path
- urlPath = path.Clean(urlPath)
+ if !disableRestProtocolURICleaning {
+ urlPath = path.Clean(urlPath)
+ }
if hasSlash && !strings.HasSuffix(urlPath, "/") {
urlPath += "/"
}
diff --git a/vendor/github.com/aws/aws-sdk-go/private/protocol/rest/build_test.go b/vendor/github.com/aws/aws-sdk-go/private/protocol/rest/build_test.go
new file mode 100644
index 0000000..7d0078b
--- /dev/null
+++ b/vendor/github.com/aws/aws-sdk-go/private/protocol/rest/build_test.go
@@ -0,0 +1,30 @@
+package rest
+
+import (
+ "net/url"
+ "testing"
+
+ "github.com/stretchr/testify/assert"
+)
+
+func TestUpdatePathWithRaw(t *testing.T) {
+ uri := &url.URL{
+ Scheme: "https",
+ Host: "host",
+ }
+ updatePath(uri, "//foo//bar", true)
+
+ expected := "https://host//foo//bar"
+ assert.Equal(t, expected, uri.String())
+}
+
+func TestUpdatePathNoRaw(t *testing.T) {
+ uri := &url.URL{
+ Scheme: "https",
+ Host: "host",
+ }
+ updatePath(uri, "//foo//bar", false)
+
+ expected := "https://host/foo/bar"
+ assert.Equal(t, expected, uri.String())
+}
diff --git a/vendor/github.com/aws/aws-sdk-go/private/protocol/restjson/build_test.go b/vendor/github.com/aws/aws-sdk-go/private/protocol/restjson/build_test.go
index f6ed92a..403fb75 100644
--- a/vendor/github.com/aws/aws-sdk-go/private/protocol/restjson/build_test.go
+++ b/vendor/github.com/aws/aws-sdk-go/private/protocol/restjson/build_test.go
@@ -283,6 +283,12 @@ type InputService2TestShapeInputService2TestCaseOperation1Input struct {
PipelineId *string `location:"uri" type:"string"`
}
+// SetPipelineId sets the PipelineId field's value.
+func (s *InputService2TestShapeInputService2TestCaseOperation1Input) SetPipelineId(v string) *InputService2TestShapeInputService2TestCaseOperation1Input {
+ s.PipelineId = &v
+ return s
+}
+
type InputService2TestShapeInputService2TestCaseOperation1Output struct {
_ struct{} `type:"structure"`
}
@@ -406,6 +412,12 @@ type InputService3TestShapeInputService3TestCaseOperation1Input struct {
Foo *string `location:"uri" locationName:"PipelineId" type:"string"`
}
+// SetFoo sets the Foo field's value.
+func (s *InputService3TestShapeInputService3TestCaseOperation1Input) SetFoo(v string) *InputService3TestShapeInputService3TestCaseOperation1Input {
+ s.Foo = &v
+ return s
+}
+
type InputService3TestShapeInputService3TestCaseOperation1Output struct {
_ struct{} `type:"structure"`
}
@@ -529,6 +541,12 @@ type InputService4TestShapeInputService4TestCaseOperation1Input struct {
Items []*string `location:"querystring" locationName:"item" type:"list"`
}
+// SetItems sets the Items field's value.
+func (s *InputService4TestShapeInputService4TestCaseOperation1Input) SetItems(v []*string) *InputService4TestShapeInputService4TestCaseOperation1Input {
+ s.Items = v
+ return s
+}
+
type InputService4TestShapeInputService4TestCaseOperation1Output struct {
_ struct{} `type:"structure"`
}
@@ -654,6 +672,18 @@ type InputService5TestShapeInputService5TestCaseOperation1Input struct {
QueryDoc map[string]*string `location:"querystring" type:"map"`
}
+// SetPipelineId sets the PipelineId field's value.
+func (s *InputService5TestShapeInputService5TestCaseOperation1Input) SetPipelineId(v string) *InputService5TestShapeInputService5TestCaseOperation1Input {
+ s.PipelineId = &v
+ return s
+}
+
+// SetQueryDoc sets the QueryDoc field's value.
+func (s *InputService5TestShapeInputService5TestCaseOperation1Input) SetQueryDoc(v map[string]*string) *InputService5TestShapeInputService5TestCaseOperation1Input {
+ s.QueryDoc = v
+ return s
+}
+
type InputService5TestShapeInputService5TestCaseOperation1Output struct {
_ struct{} `type:"structure"`
}
@@ -779,6 +809,18 @@ type InputService6TestShapeInputService6TestCaseOperation1Input struct {
QueryDoc map[string][]*string `location:"querystring" type:"map"`
}
+// SetPipelineId sets the PipelineId field's value.
+func (s *InputService6TestShapeInputService6TestCaseOperation1Input) SetPipelineId(v string) *InputService6TestShapeInputService6TestCaseOperation1Input {
+ s.PipelineId = &v
+ return s
+}
+
+// SetQueryDoc sets the QueryDoc field's value.
+func (s *InputService6TestShapeInputService6TestCaseOperation1Input) SetQueryDoc(v map[string][]*string) *InputService6TestShapeInputService6TestCaseOperation1Input {
+ s.QueryDoc = v
+ return s
+}
+
type InputService6TestShapeInputService6TestCaseOperation1Output struct {
_ struct{} `type:"structure"`
}
@@ -906,6 +948,24 @@ type InputService7TestShapeInputService7TestCaseOperation1Input struct {
PipelineId *string `location:"uri" locationName:"PipelineId" type:"string"`
}
+// SetAscending sets the Ascending field's value.
+func (s *InputService7TestShapeInputService7TestCaseOperation1Input) SetAscending(v string) *InputService7TestShapeInputService7TestCaseOperation1Input {
+ s.Ascending = &v
+ return s
+}
+
+// SetPageToken sets the PageToken field's value.
+func (s *InputService7TestShapeInputService7TestCaseOperation1Input) SetPageToken(v string) *InputService7TestShapeInputService7TestCaseOperation1Input {
+ s.PageToken = &v
+ return s
+}
+
+// SetPipelineId sets the PipelineId field's value.
+func (s *InputService7TestShapeInputService7TestCaseOperation1Input) SetPipelineId(v string) *InputService7TestShapeInputService7TestCaseOperation1Input {
+ s.PipelineId = &v
+ return s
+}
+
type InputService7TestShapeInputService7TestCaseOperation1Output struct {
_ struct{} `type:"structure"`
}
@@ -1035,6 +1095,30 @@ type InputService8TestShapeInputService8TestCaseOperation1Input struct {
PipelineId *string `location:"uri" locationName:"PipelineId" type:"string"`
}
+// SetAscending sets the Ascending field's value.
+func (s *InputService8TestShapeInputService8TestCaseOperation1Input) SetAscending(v string) *InputService8TestShapeInputService8TestCaseOperation1Input {
+ s.Ascending = &v
+ return s
+}
+
+// SetConfig sets the Config field's value.
+func (s *InputService8TestShapeInputService8TestCaseOperation1Input) SetConfig(v *InputService8TestShapeStructType) *InputService8TestShapeInputService8TestCaseOperation1Input {
+ s.Config = v
+ return s
+}
+
+// SetPageToken sets the PageToken field's value.
+func (s *InputService8TestShapeInputService8TestCaseOperation1Input) SetPageToken(v string) *InputService8TestShapeInputService8TestCaseOperation1Input {
+ s.PageToken = &v
+ return s
+}
+
+// SetPipelineId sets the PipelineId field's value.
+func (s *InputService8TestShapeInputService8TestCaseOperation1Input) SetPipelineId(v string) *InputService8TestShapeInputService8TestCaseOperation1Input {
+ s.PipelineId = &v
+ return s
+}
+
type InputService8TestShapeInputService8TestCaseOperation1Output struct {
_ struct{} `type:"structure"`
}
@@ -1047,6 +1131,18 @@ type InputService8TestShapeStructType struct {
B *string `type:"string"`
}
+// SetA sets the A field's value.
+func (s *InputService8TestShapeStructType) SetA(v string) *InputService8TestShapeStructType {
+ s.A = &v
+ return s
+}
+
+// SetB sets the B field's value.
+func (s *InputService8TestShapeStructType) SetB(v string) *InputService8TestShapeStructType {
+ s.B = &v
+ return s
+}
+
//The service client's operations are safe to be used concurrently.
// It is not safe to mutate any of the client's properties though.
type InputService9ProtocolTest struct {
@@ -1174,6 +1270,36 @@ type InputService9TestShapeInputService9TestCaseOperation1Input struct {
PipelineId *string `location:"uri" locationName:"PipelineId" type:"string"`
}
+// SetAscending sets the Ascending field's value.
+func (s *InputService9TestShapeInputService9TestCaseOperation1Input) SetAscending(v string) *InputService9TestShapeInputService9TestCaseOperation1Input {
+ s.Ascending = &v
+ return s
+}
+
+// SetChecksum sets the Checksum field's value.
+func (s *InputService9TestShapeInputService9TestCaseOperation1Input) SetChecksum(v string) *InputService9TestShapeInputService9TestCaseOperation1Input {
+ s.Checksum = &v
+ return s
+}
+
+// SetConfig sets the Config field's value.
+func (s *InputService9TestShapeInputService9TestCaseOperation1Input) SetConfig(v *InputService9TestShapeStructType) *InputService9TestShapeInputService9TestCaseOperation1Input {
+ s.Config = v
+ return s
+}
+
+// SetPageToken sets the PageToken field's value.
+func (s *InputService9TestShapeInputService9TestCaseOperation1Input) SetPageToken(v string) *InputService9TestShapeInputService9TestCaseOperation1Input {
+ s.PageToken = &v
+ return s
+}
+
+// SetPipelineId sets the PipelineId field's value.
+func (s *InputService9TestShapeInputService9TestCaseOperation1Input) SetPipelineId(v string) *InputService9TestShapeInputService9TestCaseOperation1Input {
+ s.PipelineId = &v
+ return s
+}
+
type InputService9TestShapeInputService9TestCaseOperation1Output struct {
_ struct{} `type:"structure"`
}
@@ -1186,6 +1312,18 @@ type InputService9TestShapeStructType struct {
B *string `type:"string"`
}
+// SetA sets the A field's value.
+func (s *InputService9TestShapeStructType) SetA(v string) *InputService9TestShapeStructType {
+ s.A = &v
+ return s
+}
+
+// SetB sets the B field's value.
+func (s *InputService9TestShapeStructType) SetB(v string) *InputService9TestShapeStructType {
+ s.B = &v
+ return s
+}
+
//The service client's operations are safe to be used concurrently.
// It is not safe to mutate any of the client's properties though.
type InputService10ProtocolTest struct {
@@ -1323,6 +1461,24 @@ func (s *InputService10TestShapeInputService10TestCaseOperation1Input) Validate(
return nil
}
+// SetBody sets the Body field's value.
+func (s *InputService10TestShapeInputService10TestCaseOperation1Input) SetBody(v io.ReadSeeker) *InputService10TestShapeInputService10TestCaseOperation1Input {
+ s.Body = v
+ return s
+}
+
+// SetChecksum sets the Checksum field's value.
+func (s *InputService10TestShapeInputService10TestCaseOperation1Input) SetChecksum(v string) *InputService10TestShapeInputService10TestCaseOperation1Input {
+ s.Checksum = &v
+ return s
+}
+
+// SetVaultName sets the VaultName field's value.
+func (s *InputService10TestShapeInputService10TestCaseOperation1Input) SetVaultName(v string) *InputService10TestShapeInputService10TestCaseOperation1Input {
+ s.VaultName = &v
+ return s
+}
+
type InputService10TestShapeInputService10TestCaseOperation1Output struct {
_ struct{} `type:"structure"`
}
@@ -1463,6 +1619,18 @@ func (s *InputService11TestShapeInputService11TestCaseOperation1Input) Validate(
return nil
}
+// SetBar sets the Bar field's value.
+func (s *InputService11TestShapeInputService11TestCaseOperation1Input) SetBar(v []byte) *InputService11TestShapeInputService11TestCaseOperation1Input {
+ s.Bar = v
+ return s
+}
+
+// SetFoo sets the Foo field's value.
+func (s *InputService11TestShapeInputService11TestCaseOperation1Input) SetFoo(v string) *InputService11TestShapeInputService11TestCaseOperation1Input {
+ s.Foo = &v
+ return s
+}
+
type InputService11TestShapeInputService11TestCaseOperation1Output struct {
_ struct{} `type:"structure"`
}
@@ -1653,6 +1821,12 @@ type InputService12TestShapeInputShape struct {
Foo []byte `locationName:"foo" type:"blob"`
}
+// SetFoo sets the Foo field's value.
+func (s *InputService12TestShapeInputShape) SetFoo(v []byte) *InputService12TestShapeInputShape {
+ s.Foo = v
+ return s
+}
+
//The service client's operations are safe to be used concurrently.
// It is not safe to mutate any of the client's properties though.
type InputService13ProtocolTest struct {
@@ -1831,6 +2005,12 @@ type InputService13TestShapeFooShape struct {
Baz *string `locationName:"baz" type:"string"`
}
+// SetBaz sets the Baz field's value.
+func (s *InputService13TestShapeFooShape) SetBaz(v string) *InputService13TestShapeFooShape {
+ s.Baz = &v
+ return s
+}
+
type InputService13TestShapeInputService13TestCaseOperation1Output struct {
_ struct{} `type:"structure"`
}
@@ -1845,6 +2025,12 @@ type InputService13TestShapeInputShape struct {
Foo *InputService13TestShapeFooShape `locationName:"foo" type:"structure"`
}
+// SetFoo sets the Foo field's value.
+func (s *InputService13TestShapeInputShape) SetFoo(v *InputService13TestShapeFooShape) *InputService13TestShapeInputShape {
+ s.Foo = v
+ return s
+}
+
//The service client's operations are safe to be used concurrently.
// It is not safe to mutate any of the client's properties though.
type InputService14ProtocolTest struct {
@@ -2031,6 +2217,12 @@ type InputService14TestShapeInputShape struct {
Foo *string `location:"querystring" locationName:"param-name" type:"string"`
}
+// SetFoo sets the Foo field's value.
+func (s *InputService14TestShapeInputShape) SetFoo(v string) *InputService14TestShapeInputShape {
+ s.Foo = &v
+ return s
+}
+
//The service client's operations are safe to be used concurrently.
// It is not safe to mutate any of the client's properties though.
type InputService15ProtocolTest struct {
@@ -2469,6 +2661,12 @@ type InputService15TestShapeInputShape struct {
RecursiveStruct *InputService15TestShapeRecursiveStructType `type:"structure"`
}
+// SetRecursiveStruct sets the RecursiveStruct field's value.
+func (s *InputService15TestShapeInputShape) SetRecursiveStruct(v *InputService15TestShapeRecursiveStructType) *InputService15TestShapeInputShape {
+ s.RecursiveStruct = v
+ return s
+}
+
type InputService15TestShapeRecursiveStructType struct {
_ struct{} `type:"structure"`
@@ -2481,6 +2679,30 @@ type InputService15TestShapeRecursiveStructType struct {
RecursiveStruct *InputService15TestShapeRecursiveStructType `type:"structure"`
}
+// SetNoRecurse sets the NoRecurse field's value.
+func (s *InputService15TestShapeRecursiveStructType) SetNoRecurse(v string) *InputService15TestShapeRecursiveStructType {
+ s.NoRecurse = &v
+ return s
+}
+
+// SetRecursiveList sets the RecursiveList field's value.
+func (s *InputService15TestShapeRecursiveStructType) SetRecursiveList(v []*InputService15TestShapeRecursiveStructType) *InputService15TestShapeRecursiveStructType {
+ s.RecursiveList = v
+ return s
+}
+
+// SetRecursiveMap sets the RecursiveMap field's value.
+func (s *InputService15TestShapeRecursiveStructType) SetRecursiveMap(v map[string]*InputService15TestShapeRecursiveStructType) *InputService15TestShapeRecursiveStructType {
+ s.RecursiveMap = v
+ return s
+}
+
+// SetRecursiveStruct sets the RecursiveStruct field's value.
+func (s *InputService15TestShapeRecursiveStructType) SetRecursiveStruct(v *InputService15TestShapeRecursiveStructType) *InputService15TestShapeRecursiveStructType {
+ s.RecursiveStruct = v
+ return s
+}
+
//The service client's operations are safe to be used concurrently.
// It is not safe to mutate any of the client's properties though.
type InputService16ProtocolTest struct {
@@ -2669,6 +2891,18 @@ type InputService16TestShapeInputShape struct {
TimeArgInHeader *time.Time `location:"header" locationName:"x-amz-timearg" type:"timestamp" timestampFormat:"rfc822"`
}
+// SetTimeArg sets the TimeArg field's value.
+func (s *InputService16TestShapeInputShape) SetTimeArg(v time.Time) *InputService16TestShapeInputShape {
+ s.TimeArg = &v
+ return s
+}
+
+// SetTimeArgInHeader sets the TimeArgInHeader field's value.
+func (s *InputService16TestShapeInputShape) SetTimeArgInHeader(v time.Time) *InputService16TestShapeInputShape {
+ s.TimeArgInHeader = &v
+ return s
+}
+
//The service client's operations are safe to be used concurrently.
// It is not safe to mutate any of the client's properties though.
type InputService17ProtocolTest struct {
@@ -2788,6 +3022,12 @@ type InputService17TestShapeInputService17TestCaseOperation1Input struct {
TimeArg *time.Time `locationName:"timestamp_location" type:"timestamp" timestampFormat:"unix"`
}
+// SetTimeArg sets the TimeArg field's value.
+func (s *InputService17TestShapeInputService17TestCaseOperation1Input) SetTimeArg(v time.Time) *InputService17TestShapeInputService17TestCaseOperation1Input {
+ s.TimeArg = &v
+ return s
+}
+
type InputService17TestShapeInputService17TestCaseOperation1Output struct {
_ struct{} `type:"structure"`
}
@@ -2911,6 +3151,12 @@ type InputService18TestShapeInputService18TestCaseOperation1Input struct {
Foo *string `locationName:"foo" type:"string"`
}
+// SetFoo sets the Foo field's value.
+func (s *InputService18TestShapeInputService18TestCaseOperation1Input) SetFoo(v string) *InputService18TestShapeInputService18TestCaseOperation1Input {
+ s.Foo = &v
+ return s
+}
+
type InputService18TestShapeInputService18TestCaseOperation1Output struct {
_ struct{} `type:"structure"`
}
@@ -3101,6 +3347,12 @@ type InputService19TestShapeInputShape struct {
Token *string `type:"string" idempotencyToken:"true"`
}
+// SetToken sets the Token field's value.
+func (s *InputService19TestShapeInputShape) SetToken(v string) *InputService19TestShapeInputShape {
+ s.Token = &v
+ return s
+}
+
//
// Tests begin here
//
diff --git a/vendor/github.com/aws/aws-sdk-go/private/protocol/restjson/unmarshal_test.go b/vendor/github.com/aws/aws-sdk-go/private/protocol/restjson/unmarshal_test.go
index 0775ce6..8e7f26b 100644
--- a/vendor/github.com/aws/aws-sdk-go/private/protocol/restjson/unmarshal_test.go
+++ b/vendor/github.com/aws/aws-sdk-go/private/protocol/restjson/unmarshal_test.go
@@ -183,6 +183,72 @@ type OutputService1TestShapeOutputService1TestCaseOperation1Output struct {
TrueBool *bool `type:"boolean"`
}
+// SetChar sets the Char field's value.
+func (s *OutputService1TestShapeOutputService1TestCaseOperation1Output) SetChar(v string) *OutputService1TestShapeOutputService1TestCaseOperation1Output {
+ s.Char = &v
+ return s
+}
+
+// SetDouble sets the Double field's value.
+func (s *OutputService1TestShapeOutputService1TestCaseOperation1Output) SetDouble(v float64) *OutputService1TestShapeOutputService1TestCaseOperation1Output {
+ s.Double = &v
+ return s
+}
+
+// SetFalseBool sets the FalseBool field's value.
+func (s *OutputService1TestShapeOutputService1TestCaseOperation1Output) SetFalseBool(v bool) *OutputService1TestShapeOutputService1TestCaseOperation1Output {
+ s.FalseBool = &v
+ return s
+}
+
+// SetFloat sets the Float field's value.
+func (s *OutputService1TestShapeOutputService1TestCaseOperation1Output) SetFloat(v float64) *OutputService1TestShapeOutputService1TestCaseOperation1Output {
+ s.Float = &v
+ return s
+}
+
+// SetImaHeader sets the ImaHeader field's value.
+func (s *OutputService1TestShapeOutputService1TestCaseOperation1Output) SetImaHeader(v string) *OutputService1TestShapeOutputService1TestCaseOperation1Output {
+ s.ImaHeader = &v
+ return s
+}
+
+// SetImaHeaderLocation sets the ImaHeaderLocation field's value.
+func (s *OutputService1TestShapeOutputService1TestCaseOperation1Output) SetImaHeaderLocation(v string) *OutputService1TestShapeOutputService1TestCaseOperation1Output {
+ s.ImaHeaderLocation = &v
+ return s
+}
+
+// SetLong sets the Long field's value.
+func (s *OutputService1TestShapeOutputService1TestCaseOperation1Output) SetLong(v int64) *OutputService1TestShapeOutputService1TestCaseOperation1Output {
+ s.Long = &v
+ return s
+}
+
+// SetNum sets the Num field's value.
+func (s *OutputService1TestShapeOutputService1TestCaseOperation1Output) SetNum(v int64) *OutputService1TestShapeOutputService1TestCaseOperation1Output {
+ s.Num = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *OutputService1TestShapeOutputService1TestCaseOperation1Output) SetStatus(v int64) *OutputService1TestShapeOutputService1TestCaseOperation1Output {
+ s.Status = &v
+ return s
+}
+
+// SetStr sets the Str field's value.
+func (s *OutputService1TestShapeOutputService1TestCaseOperation1Output) SetStr(v string) *OutputService1TestShapeOutputService1TestCaseOperation1Output {
+ s.Str = &v
+ return s
+}
+
+// SetTrueBool sets the TrueBool field's value.
+func (s *OutputService1TestShapeOutputService1TestCaseOperation1Output) SetTrueBool(v bool) *OutputService1TestShapeOutputService1TestCaseOperation1Output {
+ s.TrueBool = &v
+ return s
+}
+
//The service client's operations are safe to be used concurrently.
// It is not safe to mutate any of the client's properties though.
type OutputService2ProtocolTest struct {
@@ -300,6 +366,12 @@ type OutputService2TestShapeBlobContainer struct {
Foo []byte `locationName:"foo" type:"blob"`
}
+// SetFoo sets the Foo field's value.
+func (s *OutputService2TestShapeBlobContainer) SetFoo(v []byte) *OutputService2TestShapeBlobContainer {
+ s.Foo = v
+ return s
+}
+
type OutputService2TestShapeOutputService2TestCaseOperation1Input struct {
_ struct{} `type:"structure"`
}
@@ -313,6 +385,18 @@ type OutputService2TestShapeOutputService2TestCaseOperation1Output struct {
StructMember *OutputService2TestShapeBlobContainer `type:"structure"`
}
+// SetBlobMember sets the BlobMember field's value.
+func (s *OutputService2TestShapeOutputService2TestCaseOperation1Output) SetBlobMember(v []byte) *OutputService2TestShapeOutputService2TestCaseOperation1Output {
+ s.BlobMember = v
+ return s
+}
+
+// SetStructMember sets the StructMember field's value.
+func (s *OutputService2TestShapeOutputService2TestCaseOperation1Output) SetStructMember(v *OutputService2TestShapeBlobContainer) *OutputService2TestShapeOutputService2TestCaseOperation1Output {
+ s.StructMember = v
+ return s
+}
+
//The service client's operations are safe to be used concurrently.
// It is not safe to mutate any of the client's properties though.
type OutputService3ProtocolTest struct {
@@ -435,12 +519,30 @@ type OutputService3TestShapeOutputService3TestCaseOperation1Output struct {
TimeMember *time.Time `type:"timestamp" timestampFormat:"unix"`
}
+// SetStructMember sets the StructMember field's value.
+func (s *OutputService3TestShapeOutputService3TestCaseOperation1Output) SetStructMember(v *OutputService3TestShapeTimeContainer) *OutputService3TestShapeOutputService3TestCaseOperation1Output {
+ s.StructMember = v
+ return s
+}
+
+// SetTimeMember sets the TimeMember field's value.
+func (s *OutputService3TestShapeOutputService3TestCaseOperation1Output) SetTimeMember(v time.Time) *OutputService3TestShapeOutputService3TestCaseOperation1Output {
+ s.TimeMember = &v
+ return s
+}
+
type OutputService3TestShapeTimeContainer struct {
_ struct{} `type:"structure"`
Foo *time.Time `locationName:"foo" type:"timestamp" timestampFormat:"unix"`
}
+// SetFoo sets the Foo field's value.
+func (s *OutputService3TestShapeTimeContainer) SetFoo(v time.Time) *OutputService3TestShapeTimeContainer {
+ s.Foo = &v
+ return s
+}
+
//The service client's operations are safe to be used concurrently.
// It is not safe to mutate any of the client's properties though.
type OutputService4ProtocolTest struct {
@@ -561,6 +663,12 @@ type OutputService4TestShapeOutputService4TestCaseOperation1Output struct {
ListMember []*string `type:"list"`
}
+// SetListMember sets the ListMember field's value.
+func (s *OutputService4TestShapeOutputService4TestCaseOperation1Output) SetListMember(v []*string) *OutputService4TestShapeOutputService4TestCaseOperation1Output {
+ s.ListMember = v
+ return s
+}
+
//The service client's operations are safe to be used concurrently.
// It is not safe to mutate any of the client's properties though.
type OutputService5ProtocolTest struct {
@@ -681,12 +789,24 @@ type OutputService5TestShapeOutputService5TestCaseOperation1Output struct {
ListMember []*OutputService5TestShapeSingleStruct `type:"list"`
}
+// SetListMember sets the ListMember field's value.
+func (s *OutputService5TestShapeOutputService5TestCaseOperation1Output) SetListMember(v []*OutputService5TestShapeSingleStruct) *OutputService5TestShapeOutputService5TestCaseOperation1Output {
+ s.ListMember = v
+ return s
+}
+
type OutputService5TestShapeSingleStruct struct {
_ struct{} `type:"structure"`
Foo *string `type:"string"`
}
+// SetFoo sets the Foo field's value.
+func (s *OutputService5TestShapeSingleStruct) SetFoo(v string) *OutputService5TestShapeSingleStruct {
+ s.Foo = &v
+ return s
+}
+
//The service client's operations are safe to be used concurrently.
// It is not safe to mutate any of the client's properties though.
type OutputService6ProtocolTest struct {
@@ -807,6 +927,12 @@ type OutputService6TestShapeOutputService6TestCaseOperation1Output struct {
MapMember map[string][]*int64 `type:"map"`
}
+// SetMapMember sets the MapMember field's value.
+func (s *OutputService6TestShapeOutputService6TestCaseOperation1Output) SetMapMember(v map[string][]*int64) *OutputService6TestShapeOutputService6TestCaseOperation1Output {
+ s.MapMember = v
+ return s
+}
+
//The service client's operations are safe to be used concurrently.
// It is not safe to mutate any of the client's properties though.
type OutputService7ProtocolTest struct {
@@ -927,6 +1053,12 @@ type OutputService7TestShapeOutputService7TestCaseOperation1Output struct {
MapMember map[string]*time.Time `type:"map"`
}
+// SetMapMember sets the MapMember field's value.
+func (s *OutputService7TestShapeOutputService7TestCaseOperation1Output) SetMapMember(v map[string]*time.Time) *OutputService7TestShapeOutputService7TestCaseOperation1Output {
+ s.MapMember = v
+ return s
+}
+
//The service client's operations are safe to be used concurrently.
// It is not safe to mutate any of the client's properties though.
type OutputService8ProtocolTest struct {
@@ -1047,6 +1179,12 @@ type OutputService8TestShapeOutputService8TestCaseOperation1Output struct {
StrType *string `type:"string"`
}
+// SetStrType sets the StrType field's value.
+func (s *OutputService8TestShapeOutputService8TestCaseOperation1Output) SetStrType(v string) *OutputService8TestShapeOutputService8TestCaseOperation1Output {
+ s.StrType = &v
+ return s
+}
+
//The service client's operations are safe to be used concurrently.
// It is not safe to mutate any of the client's properties though.
type OutputService9ProtocolTest struct {
@@ -1169,6 +1307,18 @@ type OutputService9TestShapeOutputService9TestCaseOperation1Output struct {
PrefixedHeaders map[string]*string `location:"headers" locationName:"X-" type:"map"`
}
+// SetAllHeaders sets the AllHeaders field's value.
+func (s *OutputService9TestShapeOutputService9TestCaseOperation1Output) SetAllHeaders(v map[string]*string) *OutputService9TestShapeOutputService9TestCaseOperation1Output {
+ s.AllHeaders = v
+ return s
+}
+
+// SetPrefixedHeaders sets the PrefixedHeaders field's value.
+func (s *OutputService9TestShapeOutputService9TestCaseOperation1Output) SetPrefixedHeaders(v map[string]*string) *OutputService9TestShapeOutputService9TestCaseOperation1Output {
+ s.PrefixedHeaders = v
+ return s
+}
+
//The service client's operations are safe to be used concurrently.
// It is not safe to mutate any of the client's properties though.
type OutputService10ProtocolTest struct {
@@ -1285,6 +1435,12 @@ type OutputService10TestShapeBodyStructure struct {
Foo *string `type:"string"`
}
+// SetFoo sets the Foo field's value.
+func (s *OutputService10TestShapeBodyStructure) SetFoo(v string) *OutputService10TestShapeBodyStructure {
+ s.Foo = &v
+ return s
+}
+
type OutputService10TestShapeOutputService10TestCaseOperation1Input struct {
_ struct{} `type:"structure"`
}
@@ -1297,6 +1453,18 @@ type OutputService10TestShapeOutputService10TestCaseOperation1Output struct {
Header *string `location:"header" locationName:"X-Foo" type:"string"`
}
+// SetData sets the Data field's value.
+func (s *OutputService10TestShapeOutputService10TestCaseOperation1Output) SetData(v *OutputService10TestShapeBodyStructure) *OutputService10TestShapeOutputService10TestCaseOperation1Output {
+ s.Data = v
+ return s
+}
+
+// SetHeader sets the Header field's value.
+func (s *OutputService10TestShapeOutputService10TestCaseOperation1Output) SetHeader(v string) *OutputService10TestShapeOutputService10TestCaseOperation1Output {
+ s.Header = &v
+ return s
+}
+
//The service client's operations are safe to be used concurrently.
// It is not safe to mutate any of the client's properties though.
type OutputService11ProtocolTest struct {
@@ -1417,6 +1585,12 @@ type OutputService11TestShapeOutputService11TestCaseOperation1Output struct {
Stream []byte `type:"blob"`
}
+// SetStream sets the Stream field's value.
+func (s *OutputService11TestShapeOutputService11TestCaseOperation1Output) SetStream(v []byte) *OutputService11TestShapeOutputService11TestCaseOperation1Output {
+ s.Stream = v
+ return s
+}
+
//
// Tests begin here
//
diff --git a/vendor/github.com/aws/aws-sdk-go/private/protocol/restxml/build_test.go b/vendor/github.com/aws/aws-sdk-go/private/protocol/restxml/build_test.go
index 7ff9c66..15d081b 100644
--- a/vendor/github.com/aws/aws-sdk-go/private/protocol/restxml/build_test.go
+++ b/vendor/github.com/aws/aws-sdk-go/private/protocol/restxml/build_test.go
@@ -298,6 +298,18 @@ type InputService1TestShapeInputShape struct {
Name *string `type:"string"`
}
+// SetDescription sets the Description field's value.
+func (s *InputService1TestShapeInputShape) SetDescription(v string) *InputService1TestShapeInputShape {
+ s.Description = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *InputService1TestShapeInputShape) SetName(v string) *InputService1TestShapeInputShape {
+ s.Name = &v
+ return s
+}
+
//The service client's operations are safe to be used concurrently.
// It is not safe to mutate any of the client's properties though.
type InputService2ProtocolTest struct {
@@ -423,6 +435,30 @@ type InputService2TestShapeInputService2TestCaseOperation1Input struct {
Third *float64 `type:"float"`
}
+// SetFirst sets the First field's value.
+func (s *InputService2TestShapeInputService2TestCaseOperation1Input) SetFirst(v bool) *InputService2TestShapeInputService2TestCaseOperation1Input {
+ s.First = &v
+ return s
+}
+
+// SetFourth sets the Fourth field's value.
+func (s *InputService2TestShapeInputService2TestCaseOperation1Input) SetFourth(v int64) *InputService2TestShapeInputService2TestCaseOperation1Input {
+ s.Fourth = &v
+ return s
+}
+
+// SetSecond sets the Second field's value.
+func (s *InputService2TestShapeInputService2TestCaseOperation1Input) SetSecond(v bool) *InputService2TestShapeInputService2TestCaseOperation1Input {
+ s.Second = &v
+ return s
+}
+
+// SetThird sets the Third field's value.
+func (s *InputService2TestShapeInputService2TestCaseOperation1Input) SetThird(v float64) *InputService2TestShapeInputService2TestCaseOperation1Input {
+ s.Third = &v
+ return s
+}
+
type InputService2TestShapeInputService2TestCaseOperation1Output struct {
_ struct{} `type:"structure"`
}
@@ -615,6 +651,18 @@ type InputService3TestShapeInputShape struct {
SubStructure *InputService3TestShapeSubStructure `type:"structure"`
}
+// SetDescription sets the Description field's value.
+func (s *InputService3TestShapeInputShape) SetDescription(v string) *InputService3TestShapeInputShape {
+ s.Description = &v
+ return s
+}
+
+// SetSubStructure sets the SubStructure field's value.
+func (s *InputService3TestShapeInputShape) SetSubStructure(v *InputService3TestShapeSubStructure) *InputService3TestShapeInputShape {
+ s.SubStructure = v
+ return s
+}
+
type InputService3TestShapeSubStructure struct {
_ struct{} `type:"structure"`
@@ -623,6 +671,18 @@ type InputService3TestShapeSubStructure struct {
Foo *string `type:"string"`
}
+// SetBar sets the Bar field's value.
+func (s *InputService3TestShapeSubStructure) SetBar(v string) *InputService3TestShapeSubStructure {
+ s.Bar = &v
+ return s
+}
+
+// SetFoo sets the Foo field's value.
+func (s *InputService3TestShapeSubStructure) SetFoo(v string) *InputService3TestShapeSubStructure {
+ s.Foo = &v
+ return s
+}
+
//The service client's operations are safe to be used concurrently.
// It is not safe to mutate any of the client's properties though.
type InputService4ProtocolTest struct {
@@ -744,6 +804,18 @@ type InputService4TestShapeInputService4TestCaseOperation1Input struct {
SubStructure *InputService4TestShapeSubStructure `type:"structure"`
}
+// SetDescription sets the Description field's value.
+func (s *InputService4TestShapeInputService4TestCaseOperation1Input) SetDescription(v string) *InputService4TestShapeInputService4TestCaseOperation1Input {
+ s.Description = &v
+ return s
+}
+
+// SetSubStructure sets the SubStructure field's value.
+func (s *InputService4TestShapeInputService4TestCaseOperation1Input) SetSubStructure(v *InputService4TestShapeSubStructure) *InputService4TestShapeInputService4TestCaseOperation1Input {
+ s.SubStructure = v
+ return s
+}
+
type InputService4TestShapeInputService4TestCaseOperation1Output struct {
_ struct{} `type:"structure"`
}
@@ -756,6 +828,18 @@ type InputService4TestShapeSubStructure struct {
Foo *string `type:"string"`
}
+// SetBar sets the Bar field's value.
+func (s *InputService4TestShapeSubStructure) SetBar(v string) *InputService4TestShapeSubStructure {
+ s.Bar = &v
+ return s
+}
+
+// SetFoo sets the Foo field's value.
+func (s *InputService4TestShapeSubStructure) SetFoo(v string) *InputService4TestShapeSubStructure {
+ s.Foo = &v
+ return s
+}
+
//The service client's operations are safe to be used concurrently.
// It is not safe to mutate any of the client's properties though.
type InputService5ProtocolTest struct {
@@ -875,6 +959,12 @@ type InputService5TestShapeInputService5TestCaseOperation1Input struct {
ListParam []*string `type:"list"`
}
+// SetListParam sets the ListParam field's value.
+func (s *InputService5TestShapeInputService5TestCaseOperation1Input) SetListParam(v []*string) *InputService5TestShapeInputService5TestCaseOperation1Input {
+ s.ListParam = v
+ return s
+}
+
type InputService5TestShapeInputService5TestCaseOperation1Output struct {
_ struct{} `type:"structure"`
}
@@ -998,6 +1088,12 @@ type InputService6TestShapeInputService6TestCaseOperation1Input struct {
ListParam []*string `locationName:"AlternateName" locationNameList:"NotMember" type:"list"`
}
+// SetListParam sets the ListParam field's value.
+func (s *InputService6TestShapeInputService6TestCaseOperation1Input) SetListParam(v []*string) *InputService6TestShapeInputService6TestCaseOperation1Input {
+ s.ListParam = v
+ return s
+}
+
type InputService6TestShapeInputService6TestCaseOperation1Output struct {
_ struct{} `type:"structure"`
}
@@ -1121,6 +1217,12 @@ type InputService7TestShapeInputService7TestCaseOperation1Input struct {
ListParam []*string `type:"list" flattened:"true"`
}
+// SetListParam sets the ListParam field's value.
+func (s *InputService7TestShapeInputService7TestCaseOperation1Input) SetListParam(v []*string) *InputService7TestShapeInputService7TestCaseOperation1Input {
+ s.ListParam = v
+ return s
+}
+
type InputService7TestShapeInputService7TestCaseOperation1Output struct {
_ struct{} `type:"structure"`
}
@@ -1244,6 +1346,12 @@ type InputService8TestShapeInputService8TestCaseOperation1Input struct {
ListParam []*string `locationName:"item" type:"list" flattened:"true"`
}
+// SetListParam sets the ListParam field's value.
+func (s *InputService8TestShapeInputService8TestCaseOperation1Input) SetListParam(v []*string) *InputService8TestShapeInputService8TestCaseOperation1Input {
+ s.ListParam = v
+ return s
+}
+
type InputService8TestShapeInputService8TestCaseOperation1Output struct {
_ struct{} `type:"structure"`
}
@@ -1367,6 +1475,12 @@ type InputService9TestShapeInputService9TestCaseOperation1Input struct {
ListParam []*InputService9TestShapeSingleFieldStruct `locationName:"item" type:"list" flattened:"true"`
}
+// SetListParam sets the ListParam field's value.
+func (s *InputService9TestShapeInputService9TestCaseOperation1Input) SetListParam(v []*InputService9TestShapeSingleFieldStruct) *InputService9TestShapeInputService9TestCaseOperation1Input {
+ s.ListParam = v
+ return s
+}
+
type InputService9TestShapeInputService9TestCaseOperation1Output struct {
_ struct{} `type:"structure"`
}
@@ -1377,6 +1491,12 @@ type InputService9TestShapeSingleFieldStruct struct {
Element *string `locationName:"value" type:"string"`
}
+// SetElement sets the Element field's value.
+func (s *InputService9TestShapeSingleFieldStruct) SetElement(v string) *InputService9TestShapeSingleFieldStruct {
+ s.Element = &v
+ return s
+}
+
//The service client's operations are safe to be used concurrently.
// It is not safe to mutate any of the client's properties though.
type InputService10ProtocolTest struct {
@@ -1496,6 +1616,12 @@ type InputService10TestShapeInputService10TestCaseOperation1Input struct {
StructureParam *InputService10TestShapeStructureShape `type:"structure"`
}
+// SetStructureParam sets the StructureParam field's value.
+func (s *InputService10TestShapeInputService10TestCaseOperation1Input) SetStructureParam(v *InputService10TestShapeStructureShape) *InputService10TestShapeInputService10TestCaseOperation1Input {
+ s.StructureParam = v
+ return s
+}
+
type InputService10TestShapeInputService10TestCaseOperation1Output struct {
_ struct{} `type:"structure"`
}
@@ -1509,6 +1635,18 @@ type InputService10TestShapeStructureShape struct {
T *time.Time `locationName:"t" type:"timestamp" timestampFormat:"iso8601"`
}
+// SetB sets the B field's value.
+func (s *InputService10TestShapeStructureShape) SetB(v []byte) *InputService10TestShapeStructureShape {
+ s.B = v
+ return s
+}
+
+// SetT sets the T field's value.
+func (s *InputService10TestShapeStructureShape) SetT(v time.Time) *InputService10TestShapeStructureShape {
+ s.T = &v
+ return s
+}
+
//The service client's operations are safe to be used concurrently.
// It is not safe to mutate any of the client's properties though.
type InputService11ProtocolTest struct {
@@ -1628,6 +1766,12 @@ type InputService11TestShapeInputService11TestCaseOperation1Input struct {
Foo map[string]*string `location:"headers" locationName:"x-foo-" type:"map"`
}
+// SetFoo sets the Foo field's value.
+func (s *InputService11TestShapeInputService11TestCaseOperation1Input) SetFoo(v map[string]*string) *InputService11TestShapeInputService11TestCaseOperation1Input {
+ s.Foo = v
+ return s
+}
+
type InputService11TestShapeInputService11TestCaseOperation1Output struct {
_ struct{} `type:"structure"`
}
@@ -1751,6 +1895,12 @@ type InputService12TestShapeInputService12TestCaseOperation1Input struct {
Items []*string `location:"querystring" locationName:"item" type:"list"`
}
+// SetItems sets the Items field's value.
+func (s *InputService12TestShapeInputService12TestCaseOperation1Input) SetItems(v []*string) *InputService12TestShapeInputService12TestCaseOperation1Input {
+ s.Items = v
+ return s
+}
+
type InputService12TestShapeInputService12TestCaseOperation1Output struct {
_ struct{} `type:"structure"`
}
@@ -1876,6 +2026,18 @@ type InputService13TestShapeInputService13TestCaseOperation1Input struct {
QueryDoc map[string]*string `location:"querystring" type:"map"`
}
+// SetPipelineId sets the PipelineId field's value.
+func (s *InputService13TestShapeInputService13TestCaseOperation1Input) SetPipelineId(v string) *InputService13TestShapeInputService13TestCaseOperation1Input {
+ s.PipelineId = &v
+ return s
+}
+
+// SetQueryDoc sets the QueryDoc field's value.
+func (s *InputService13TestShapeInputService13TestCaseOperation1Input) SetQueryDoc(v map[string]*string) *InputService13TestShapeInputService13TestCaseOperation1Input {
+ s.QueryDoc = v
+ return s
+}
+
type InputService13TestShapeInputService13TestCaseOperation1Output struct {
_ struct{} `type:"structure"`
}
@@ -2001,6 +2163,18 @@ type InputService14TestShapeInputService14TestCaseOperation1Input struct {
QueryDoc map[string][]*string `location:"querystring" type:"map"`
}
+// SetPipelineId sets the PipelineId field's value.
+func (s *InputService14TestShapeInputService14TestCaseOperation1Input) SetPipelineId(v string) *InputService14TestShapeInputService14TestCaseOperation1Input {
+ s.PipelineId = &v
+ return s
+}
+
+// SetQueryDoc sets the QueryDoc field's value.
+func (s *InputService14TestShapeInputService14TestCaseOperation1Input) SetQueryDoc(v map[string][]*string) *InputService14TestShapeInputService14TestCaseOperation1Input {
+ s.QueryDoc = v
+ return s
+}
+
type InputService14TestShapeInputService14TestCaseOperation1Output struct {
_ struct{} `type:"structure"`
}
@@ -2124,6 +2298,12 @@ type InputService15TestShapeInputService15TestCaseOperation1Input struct {
Foo *string `locationName:"foo" type:"string"`
}
+// SetFoo sets the Foo field's value.
+func (s *InputService15TestShapeInputService15TestCaseOperation1Input) SetFoo(v string) *InputService15TestShapeInputService15TestCaseOperation1Input {
+ s.Foo = &v
+ return s
+}
+
type InputService15TestShapeInputService15TestCaseOperation1Output struct {
_ struct{} `type:"structure"`
}
@@ -2314,6 +2494,12 @@ type InputService16TestShapeInputShape struct {
Foo []byte `locationName:"foo" type:"blob"`
}
+// SetFoo sets the Foo field's value.
+func (s *InputService16TestShapeInputShape) SetFoo(v []byte) *InputService16TestShapeInputShape {
+ s.Foo = v
+ return s
+}
+
//The service client's operations are safe to be used concurrently.
// It is not safe to mutate any of the client's properties though.
type InputService17ProtocolTest struct {
@@ -2610,6 +2796,12 @@ type InputService17TestShapeFooShape struct {
Baz *string `locationName:"baz" type:"string"`
}
+// SetBaz sets the Baz field's value.
+func (s *InputService17TestShapeFooShape) SetBaz(v string) *InputService17TestShapeFooShape {
+ s.Baz = &v
+ return s
+}
+
type InputService17TestShapeInputService17TestCaseOperation1Output struct {
_ struct{} `type:"structure"`
}
@@ -2632,6 +2824,12 @@ type InputService17TestShapeInputShape struct {
Foo *InputService17TestShapeFooShape `locationName:"foo" type:"structure"`
}
+// SetFoo sets the Foo field's value.
+func (s *InputService17TestShapeInputShape) SetFoo(v *InputService17TestShapeFooShape) *InputService17TestShapeInputShape {
+ s.Foo = v
+ return s
+}
+
//The service client's operations are safe to be used concurrently.
// It is not safe to mutate any of the client's properties though.
type InputService18ProtocolTest struct {
@@ -2751,6 +2949,12 @@ type InputService18TestShapeGrant struct {
Grantee *InputService18TestShapeGrantee `type:"structure"`
}
+// SetGrantee sets the Grantee field's value.
+func (s *InputService18TestShapeGrant) SetGrantee(v *InputService18TestShapeGrantee) *InputService18TestShapeGrant {
+ s.Grantee = v
+ return s
+}
+
type InputService18TestShapeGrantee struct {
_ struct{} `type:"structure" xmlPrefix:"xsi" xmlURI:"http://www.w3.org/2001/XMLSchema-instance"`
@@ -2759,12 +2963,30 @@ type InputService18TestShapeGrantee struct {
Type *string `locationName:"xsi:type" type:"string" xmlAttribute:"true"`
}
+// SetEmailAddress sets the EmailAddress field's value.
+func (s *InputService18TestShapeGrantee) SetEmailAddress(v string) *InputService18TestShapeGrantee {
+ s.EmailAddress = &v
+ return s
+}
+
+// SetType sets the Type field's value.
+func (s *InputService18TestShapeGrantee) SetType(v string) *InputService18TestShapeGrantee {
+ s.Type = &v
+ return s
+}
+
type InputService18TestShapeInputService18TestCaseOperation1Input struct {
_ struct{} `type:"structure" payload:"Grant"`
Grant *InputService18TestShapeGrant `locationName:"Grant" type:"structure"`
}
+// SetGrant sets the Grant field's value.
+func (s *InputService18TestShapeInputService18TestCaseOperation1Input) SetGrant(v *InputService18TestShapeGrant) *InputService18TestShapeInputService18TestCaseOperation1Input {
+ s.Grant = v
+ return s
+}
+
type InputService18TestShapeInputService18TestCaseOperation1Output struct {
_ struct{} `type:"structure"`
}
@@ -2890,6 +3112,18 @@ type InputService19TestShapeInputService19TestCaseOperation1Input struct {
Key *string `location:"uri" type:"string"`
}
+// SetBucket sets the Bucket field's value.
+func (s *InputService19TestShapeInputService19TestCaseOperation1Input) SetBucket(v string) *InputService19TestShapeInputService19TestCaseOperation1Input {
+ s.Bucket = &v
+ return s
+}
+
+// SetKey sets the Key field's value.
+func (s *InputService19TestShapeInputService19TestCaseOperation1Input) SetKey(v string) *InputService19TestShapeInputService19TestCaseOperation1Input {
+ s.Key = &v
+ return s
+}
+
type InputService19TestShapeInputService19TestCaseOperation1Output struct {
_ struct{} `type:"structure"`
}
@@ -3080,6 +3314,12 @@ type InputService20TestShapeInputShape struct {
Foo *string `location:"querystring" locationName:"param-name" type:"string"`
}
+// SetFoo sets the Foo field's value.
+func (s *InputService20TestShapeInputShape) SetFoo(v string) *InputService20TestShapeInputShape {
+ s.Foo = &v
+ return s
+}
+
//The service client's operations are safe to be used concurrently.
// It is not safe to mutate any of the client's properties though.
type InputService21ProtocolTest struct {
@@ -3518,6 +3758,12 @@ type InputService21TestShapeInputShape struct {
RecursiveStruct *InputService21TestShapeRecursiveStructType `type:"structure"`
}
+// SetRecursiveStruct sets the RecursiveStruct field's value.
+func (s *InputService21TestShapeInputShape) SetRecursiveStruct(v *InputService21TestShapeRecursiveStructType) *InputService21TestShapeInputShape {
+ s.RecursiveStruct = v
+ return s
+}
+
type InputService21TestShapeRecursiveStructType struct {
_ struct{} `type:"structure"`
@@ -3530,6 +3776,30 @@ type InputService21TestShapeRecursiveStructType struct {
RecursiveStruct *InputService21TestShapeRecursiveStructType `type:"structure"`
}
+// SetNoRecurse sets the NoRecurse field's value.
+func (s *InputService21TestShapeRecursiveStructType) SetNoRecurse(v string) *InputService21TestShapeRecursiveStructType {
+ s.NoRecurse = &v
+ return s
+}
+
+// SetRecursiveList sets the RecursiveList field's value.
+func (s *InputService21TestShapeRecursiveStructType) SetRecursiveList(v []*InputService21TestShapeRecursiveStructType) *InputService21TestShapeRecursiveStructType {
+ s.RecursiveList = v
+ return s
+}
+
+// SetRecursiveMap sets the RecursiveMap field's value.
+func (s *InputService21TestShapeRecursiveStructType) SetRecursiveMap(v map[string]*InputService21TestShapeRecursiveStructType) *InputService21TestShapeRecursiveStructType {
+ s.RecursiveMap = v
+ return s
+}
+
+// SetRecursiveStruct sets the RecursiveStruct field's value.
+func (s *InputService21TestShapeRecursiveStructType) SetRecursiveStruct(v *InputService21TestShapeRecursiveStructType) *InputService21TestShapeRecursiveStructType {
+ s.RecursiveStruct = v
+ return s
+}
+
//The service client's operations are safe to be used concurrently.
// It is not safe to mutate any of the client's properties though.
type InputService22ProtocolTest struct {
@@ -3649,6 +3919,12 @@ type InputService22TestShapeInputService22TestCaseOperation1Input struct {
TimeArgInHeader *time.Time `location:"header" locationName:"x-amz-timearg" type:"timestamp" timestampFormat:"rfc822"`
}
+// SetTimeArgInHeader sets the TimeArgInHeader field's value.
+func (s *InputService22TestShapeInputService22TestCaseOperation1Input) SetTimeArgInHeader(v time.Time) *InputService22TestShapeInputService22TestCaseOperation1Input {
+ s.TimeArgInHeader = &v
+ return s
+}
+
type InputService22TestShapeInputService22TestCaseOperation1Output struct {
_ struct{} `type:"structure"`
}
@@ -3839,6 +4115,12 @@ type InputService23TestShapeInputShape struct {
Token *string `type:"string" idempotencyToken:"true"`
}
+// SetToken sets the Token field's value.
+func (s *InputService23TestShapeInputShape) SetToken(v string) *InputService23TestShapeInputShape {
+ s.Token = &v
+ return s
+}
+
//
// Tests begin here
//
diff --git a/vendor/github.com/aws/aws-sdk-go/private/protocol/restxml/unmarshal_test.go b/vendor/github.com/aws/aws-sdk-go/private/protocol/restxml/unmarshal_test.go
index bebf5b2..d536811 100644
--- a/vendor/github.com/aws/aws-sdk-go/private/protocol/restxml/unmarshal_test.go
+++ b/vendor/github.com/aws/aws-sdk-go/private/protocol/restxml/unmarshal_test.go
@@ -243,6 +243,72 @@ type OutputService1TestShapeOutputShape struct {
TrueBool *bool `type:"boolean"`
}
+// SetChar sets the Char field's value.
+func (s *OutputService1TestShapeOutputShape) SetChar(v string) *OutputService1TestShapeOutputShape {
+ s.Char = &v
+ return s
+}
+
+// SetDouble sets the Double field's value.
+func (s *OutputService1TestShapeOutputShape) SetDouble(v float64) *OutputService1TestShapeOutputShape {
+ s.Double = &v
+ return s
+}
+
+// SetFalseBool sets the FalseBool field's value.
+func (s *OutputService1TestShapeOutputShape) SetFalseBool(v bool) *OutputService1TestShapeOutputShape {
+ s.FalseBool = &v
+ return s
+}
+
+// SetFloat sets the Float field's value.
+func (s *OutputService1TestShapeOutputShape) SetFloat(v float64) *OutputService1TestShapeOutputShape {
+ s.Float = &v
+ return s
+}
+
+// SetImaHeader sets the ImaHeader field's value.
+func (s *OutputService1TestShapeOutputShape) SetImaHeader(v string) *OutputService1TestShapeOutputShape {
+ s.ImaHeader = &v
+ return s
+}
+
+// SetImaHeaderLocation sets the ImaHeaderLocation field's value.
+func (s *OutputService1TestShapeOutputShape) SetImaHeaderLocation(v string) *OutputService1TestShapeOutputShape {
+ s.ImaHeaderLocation = &v
+ return s
+}
+
+// SetLong sets the Long field's value.
+func (s *OutputService1TestShapeOutputShape) SetLong(v int64) *OutputService1TestShapeOutputShape {
+ s.Long = &v
+ return s
+}
+
+// SetNum sets the Num field's value.
+func (s *OutputService1TestShapeOutputShape) SetNum(v int64) *OutputService1TestShapeOutputShape {
+ s.Num = &v
+ return s
+}
+
+// SetStr sets the Str field's value.
+func (s *OutputService1TestShapeOutputShape) SetStr(v string) *OutputService1TestShapeOutputShape {
+ s.Str = &v
+ return s
+}
+
+// SetTimestamp sets the Timestamp field's value.
+func (s *OutputService1TestShapeOutputShape) SetTimestamp(v time.Time) *OutputService1TestShapeOutputShape {
+ s.Timestamp = &v
+ return s
+}
+
+// SetTrueBool sets the TrueBool field's value.
+func (s *OutputService1TestShapeOutputShape) SetTrueBool(v bool) *OutputService1TestShapeOutputShape {
+ s.TrueBool = &v
+ return s
+}
+
//The service client's operations are safe to be used concurrently.
// It is not safe to mutate any of the client's properties though.
type OutputService2ProtocolTest struct {
@@ -364,6 +430,12 @@ type OutputService2TestShapeOutputService2TestCaseOperation1Output struct {
Blob []byte `type:"blob"`
}
+// SetBlob sets the Blob field's value.
+func (s *OutputService2TestShapeOutputService2TestCaseOperation1Output) SetBlob(v []byte) *OutputService2TestShapeOutputService2TestCaseOperation1Output {
+ s.Blob = v
+ return s
+}
+
//The service client's operations are safe to be used concurrently.
// It is not safe to mutate any of the client's properties though.
type OutputService3ProtocolTest struct {
@@ -484,6 +556,12 @@ type OutputService3TestShapeOutputService3TestCaseOperation1Output struct {
ListMember []*string `type:"list"`
}
+// SetListMember sets the ListMember field's value.
+func (s *OutputService3TestShapeOutputService3TestCaseOperation1Output) SetListMember(v []*string) *OutputService3TestShapeOutputService3TestCaseOperation1Output {
+ s.ListMember = v
+ return s
+}
+
//The service client's operations are safe to be used concurrently.
// It is not safe to mutate any of the client's properties though.
type OutputService4ProtocolTest struct {
@@ -604,6 +682,12 @@ type OutputService4TestShapeOutputService4TestCaseOperation1Output struct {
ListMember []*string `locationNameList:"item" type:"list"`
}
+// SetListMember sets the ListMember field's value.
+func (s *OutputService4TestShapeOutputService4TestCaseOperation1Output) SetListMember(v []*string) *OutputService4TestShapeOutputService4TestCaseOperation1Output {
+ s.ListMember = v
+ return s
+}
+
//The service client's operations are safe to be used concurrently.
// It is not safe to mutate any of the client's properties though.
type OutputService5ProtocolTest struct {
@@ -724,6 +808,12 @@ type OutputService5TestShapeOutputService5TestCaseOperation1Output struct {
ListMember []*string `type:"list" flattened:"true"`
}
+// SetListMember sets the ListMember field's value.
+func (s *OutputService5TestShapeOutputService5TestCaseOperation1Output) SetListMember(v []*string) *OutputService5TestShapeOutputService5TestCaseOperation1Output {
+ s.ListMember = v
+ return s
+}
+
//The service client's operations are safe to be used concurrently.
// It is not safe to mutate any of the client's properties though.
type OutputService6ProtocolTest struct {
@@ -844,12 +934,24 @@ type OutputService6TestShapeOutputService6TestCaseOperation1Output struct {
Map map[string]*OutputService6TestShapeSingleStructure `type:"map"`
}
+// SetMap sets the Map field's value.
+func (s *OutputService6TestShapeOutputService6TestCaseOperation1Output) SetMap(v map[string]*OutputService6TestShapeSingleStructure) *OutputService6TestShapeOutputService6TestCaseOperation1Output {
+ s.Map = v
+ return s
+}
+
type OutputService6TestShapeSingleStructure struct {
_ struct{} `type:"structure"`
Foo *string `locationName:"foo" type:"string"`
}
+// SetFoo sets the Foo field's value.
+func (s *OutputService6TestShapeSingleStructure) SetFoo(v string) *OutputService6TestShapeSingleStructure {
+ s.Foo = &v
+ return s
+}
+
//The service client's operations are safe to be used concurrently.
// It is not safe to mutate any of the client's properties though.
type OutputService7ProtocolTest struct {
@@ -970,6 +1072,12 @@ type OutputService7TestShapeOutputService7TestCaseOperation1Output struct {
Map map[string]*string `type:"map" flattened:"true"`
}
+// SetMap sets the Map field's value.
+func (s *OutputService7TestShapeOutputService7TestCaseOperation1Output) SetMap(v map[string]*string) *OutputService7TestShapeOutputService7TestCaseOperation1Output {
+ s.Map = v
+ return s
+}
+
//The service client's operations are safe to be used concurrently.
// It is not safe to mutate any of the client's properties though.
type OutputService8ProtocolTest struct {
@@ -1090,6 +1198,12 @@ type OutputService8TestShapeOutputService8TestCaseOperation1Output struct {
Map map[string]*string `locationNameKey:"foo" locationNameValue:"bar" type:"map"`
}
+// SetMap sets the Map field's value.
+func (s *OutputService8TestShapeOutputService8TestCaseOperation1Output) SetMap(v map[string]*string) *OutputService8TestShapeOutputService8TestCaseOperation1Output {
+ s.Map = v
+ return s
+}
+
//The service client's operations are safe to be used concurrently.
// It is not safe to mutate any of the client's properties though.
type OutputService9ProtocolTest struct {
@@ -1212,12 +1326,30 @@ type OutputService9TestShapeOutputService9TestCaseOperation1Output struct {
Header *string `location:"header" locationName:"X-Foo" type:"string"`
}
+// SetData sets the Data field's value.
+func (s *OutputService9TestShapeOutputService9TestCaseOperation1Output) SetData(v *OutputService9TestShapeSingleStructure) *OutputService9TestShapeOutputService9TestCaseOperation1Output {
+ s.Data = v
+ return s
+}
+
+// SetHeader sets the Header field's value.
+func (s *OutputService9TestShapeOutputService9TestCaseOperation1Output) SetHeader(v string) *OutputService9TestShapeOutputService9TestCaseOperation1Output {
+ s.Header = &v
+ return s
+}
+
type OutputService9TestShapeSingleStructure struct {
_ struct{} `type:"structure"`
Foo *string `type:"string"`
}
+// SetFoo sets the Foo field's value.
+func (s *OutputService9TestShapeSingleStructure) SetFoo(v string) *OutputService9TestShapeSingleStructure {
+ s.Foo = &v
+ return s
+}
+
//The service client's operations are safe to be used concurrently.
// It is not safe to mutate any of the client's properties though.
type OutputService10ProtocolTest struct {
@@ -1338,6 +1470,12 @@ type OutputService10TestShapeOutputService10TestCaseOperation1Output struct {
Stream []byte `type:"blob"`
}
+// SetStream sets the Stream field's value.
+func (s *OutputService10TestShapeOutputService10TestCaseOperation1Output) SetStream(v []byte) *OutputService10TestShapeOutputService10TestCaseOperation1Output {
+ s.Stream = v
+ return s
+}
+
//The service client's operations are safe to be used concurrently.
// It is not safe to mutate any of the client's properties though.
type OutputService11ProtocolTest struct {
@@ -1474,6 +1612,60 @@ type OutputService11TestShapeOutputService11TestCaseOperation1Output struct {
TrueBool *bool `location:"header" locationName:"x-true-bool" type:"boolean"`
}
+// SetChar sets the Char field's value.
+func (s *OutputService11TestShapeOutputService11TestCaseOperation1Output) SetChar(v string) *OutputService11TestShapeOutputService11TestCaseOperation1Output {
+ s.Char = &v
+ return s
+}
+
+// SetDouble sets the Double field's value.
+func (s *OutputService11TestShapeOutputService11TestCaseOperation1Output) SetDouble(v float64) *OutputService11TestShapeOutputService11TestCaseOperation1Output {
+ s.Double = &v
+ return s
+}
+
+// SetFalseBool sets the FalseBool field's value.
+func (s *OutputService11TestShapeOutputService11TestCaseOperation1Output) SetFalseBool(v bool) *OutputService11TestShapeOutputService11TestCaseOperation1Output {
+ s.FalseBool = &v
+ return s
+}
+
+// SetFloat sets the Float field's value.
+func (s *OutputService11TestShapeOutputService11TestCaseOperation1Output) SetFloat(v float64) *OutputService11TestShapeOutputService11TestCaseOperation1Output {
+ s.Float = &v
+ return s
+}
+
+// SetInteger sets the Integer field's value.
+func (s *OutputService11TestShapeOutputService11TestCaseOperation1Output) SetInteger(v int64) *OutputService11TestShapeOutputService11TestCaseOperation1Output {
+ s.Integer = &v
+ return s
+}
+
+// SetLong sets the Long field's value.
+func (s *OutputService11TestShapeOutputService11TestCaseOperation1Output) SetLong(v int64) *OutputService11TestShapeOutputService11TestCaseOperation1Output {
+ s.Long = &v
+ return s
+}
+
+// SetStr sets the Str field's value.
+func (s *OutputService11TestShapeOutputService11TestCaseOperation1Output) SetStr(v string) *OutputService11TestShapeOutputService11TestCaseOperation1Output {
+ s.Str = &v
+ return s
+}
+
+// SetTimestamp sets the Timestamp field's value.
+func (s *OutputService11TestShapeOutputService11TestCaseOperation1Output) SetTimestamp(v time.Time) *OutputService11TestShapeOutputService11TestCaseOperation1Output {
+ s.Timestamp = &v
+ return s
+}
+
+// SetTrueBool sets the TrueBool field's value.
+func (s *OutputService11TestShapeOutputService11TestCaseOperation1Output) SetTrueBool(v bool) *OutputService11TestShapeOutputService11TestCaseOperation1Output {
+ s.TrueBool = &v
+ return s
+}
+
//The service client's operations are safe to be used concurrently.
// It is not safe to mutate any of the client's properties though.
type OutputService12ProtocolTest struct {
@@ -1594,6 +1786,12 @@ type OutputService12TestShapeOutputService12TestCaseOperation1Output struct {
Foo *string `type:"string"`
}
+// SetFoo sets the Foo field's value.
+func (s *OutputService12TestShapeOutputService12TestCaseOperation1Output) SetFoo(v string) *OutputService12TestShapeOutputService12TestCaseOperation1Output {
+ s.Foo = &v
+ return s
+}
+
//
// Tests begin here
//
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 7336cd1..bd4c4fb 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
@@ -907,6 +907,18 @@ func (s *AddTagsToCertificateInput) Validate() error {
return nil
}
+// SetCertificateArn sets the CertificateArn field's value.
+func (s *AddTagsToCertificateInput) SetCertificateArn(v string) *AddTagsToCertificateInput {
+ s.CertificateArn = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *AddTagsToCertificateInput) SetTags(v []*Tag) *AddTagsToCertificateInput {
+ s.Tags = v
+ return s
+}
+
type AddTagsToCertificateOutput struct {
_ struct{} `type:"structure"`
}
@@ -1022,6 +1034,126 @@ func (s CertificateDetail) GoString() string {
return s.String()
}
+// SetCertificateArn sets the CertificateArn field's value.
+func (s *CertificateDetail) SetCertificateArn(v string) *CertificateDetail {
+ s.CertificateArn = &v
+ return s
+}
+
+// SetCreatedAt sets the CreatedAt field's value.
+func (s *CertificateDetail) SetCreatedAt(v time.Time) *CertificateDetail {
+ s.CreatedAt = &v
+ return s
+}
+
+// SetDomainName sets the DomainName field's value.
+func (s *CertificateDetail) SetDomainName(v string) *CertificateDetail {
+ s.DomainName = &v
+ return s
+}
+
+// SetDomainValidationOptions sets the DomainValidationOptions field's value.
+func (s *CertificateDetail) SetDomainValidationOptions(v []*DomainValidation) *CertificateDetail {
+ s.DomainValidationOptions = v
+ return s
+}
+
+// SetFailureReason sets the FailureReason field's value.
+func (s *CertificateDetail) SetFailureReason(v string) *CertificateDetail {
+ s.FailureReason = &v
+ return s
+}
+
+// SetImportedAt sets the ImportedAt field's value.
+func (s *CertificateDetail) SetImportedAt(v time.Time) *CertificateDetail {
+ s.ImportedAt = &v
+ return s
+}
+
+// SetInUseBy sets the InUseBy field's value.
+func (s *CertificateDetail) SetInUseBy(v []*string) *CertificateDetail {
+ s.InUseBy = v
+ return s
+}
+
+// SetIssuedAt sets the IssuedAt field's value.
+func (s *CertificateDetail) SetIssuedAt(v time.Time) *CertificateDetail {
+ s.IssuedAt = &v
+ return s
+}
+
+// SetIssuer sets the Issuer field's value.
+func (s *CertificateDetail) SetIssuer(v string) *CertificateDetail {
+ s.Issuer = &v
+ return s
+}
+
+// SetKeyAlgorithm sets the KeyAlgorithm field's value.
+func (s *CertificateDetail) SetKeyAlgorithm(v string) *CertificateDetail {
+ s.KeyAlgorithm = &v
+ return s
+}
+
+// SetNotAfter sets the NotAfter field's value.
+func (s *CertificateDetail) SetNotAfter(v time.Time) *CertificateDetail {
+ s.NotAfter = &v
+ return s
+}
+
+// SetNotBefore sets the NotBefore field's value.
+func (s *CertificateDetail) SetNotBefore(v time.Time) *CertificateDetail {
+ s.NotBefore = &v
+ return s
+}
+
+// SetRevocationReason sets the RevocationReason field's value.
+func (s *CertificateDetail) SetRevocationReason(v string) *CertificateDetail {
+ s.RevocationReason = &v
+ return s
+}
+
+// SetRevokedAt sets the RevokedAt field's value.
+func (s *CertificateDetail) SetRevokedAt(v time.Time) *CertificateDetail {
+ s.RevokedAt = &v
+ return s
+}
+
+// SetSerial sets the Serial field's value.
+func (s *CertificateDetail) SetSerial(v string) *CertificateDetail {
+ s.Serial = &v
+ return s
+}
+
+// SetSignatureAlgorithm sets the SignatureAlgorithm field's value.
+func (s *CertificateDetail) SetSignatureAlgorithm(v string) *CertificateDetail {
+ s.SignatureAlgorithm = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *CertificateDetail) SetStatus(v string) *CertificateDetail {
+ s.Status = &v
+ return s
+}
+
+// SetSubject sets the Subject field's value.
+func (s *CertificateDetail) SetSubject(v string) *CertificateDetail {
+ s.Subject = &v
+ return s
+}
+
+// SetSubjectAlternativeNames sets the SubjectAlternativeNames field's value.
+func (s *CertificateDetail) SetSubjectAlternativeNames(v []*string) *CertificateDetail {
+ s.SubjectAlternativeNames = v
+ return s
+}
+
+// SetType sets the Type field's value.
+func (s *CertificateDetail) SetType(v string) *CertificateDetail {
+ s.Type = &v
+ return s
+}
+
// This structure is returned in the response object of ListCertificates action.
type CertificateSummary struct {
_ struct{} `type:"structure"`
@@ -1049,6 +1181,18 @@ func (s CertificateSummary) GoString() string {
return s.String()
}
+// SetCertificateArn sets the CertificateArn field's value.
+func (s *CertificateSummary) SetCertificateArn(v string) *CertificateSummary {
+ s.CertificateArn = &v
+ return s
+}
+
+// SetDomainName sets the DomainName field's value.
+func (s *CertificateSummary) SetDomainName(v string) *CertificateSummary {
+ s.DomainName = &v
+ return s
+}
+
type DeleteCertificateInput struct {
_ struct{} `type:"structure"`
@@ -1090,6 +1234,12 @@ func (s *DeleteCertificateInput) Validate() error {
return nil
}
+// SetCertificateArn sets the CertificateArn field's value.
+func (s *DeleteCertificateInput) SetCertificateArn(v string) *DeleteCertificateInput {
+ s.CertificateArn = &v
+ return s
+}
+
type DeleteCertificateOutput struct {
_ struct{} `type:"structure"`
}
@@ -1144,6 +1294,12 @@ func (s *DescribeCertificateInput) Validate() error {
return nil
}
+// SetCertificateArn sets the CertificateArn field's value.
+func (s *DescribeCertificateInput) SetCertificateArn(v string) *DescribeCertificateInput {
+ s.CertificateArn = &v
+ return s
+}
+
type DescribeCertificateOutput struct {
_ struct{} `type:"structure"`
@@ -1161,6 +1317,12 @@ func (s DescribeCertificateOutput) GoString() string {
return s.String()
}
+// SetCertificate sets the Certificate field's value.
+func (s *DescribeCertificateOutput) SetCertificate(v *CertificateDetail) *DescribeCertificateOutput {
+ s.Certificate = v
+ return s
+}
+
// Structure that contains the domain name, the base validation domain to which
// validation email is sent, and the email addresses used to validate the domain
// identity.
@@ -1190,6 +1352,24 @@ func (s DomainValidation) GoString() string {
return s.String()
}
+// SetDomainName sets the DomainName field's value.
+func (s *DomainValidation) SetDomainName(v string) *DomainValidation {
+ s.DomainName = &v
+ return s
+}
+
+// SetValidationDomain sets the ValidationDomain field's value.
+func (s *DomainValidation) SetValidationDomain(v string) *DomainValidation {
+ s.ValidationDomain = &v
+ return s
+}
+
+// SetValidationEmails sets the ValidationEmails field's value.
+func (s *DomainValidation) SetValidationEmails(v []*string) *DomainValidation {
+ s.ValidationEmails = v
+ return s
+}
+
// This structure is used in the request object of the RequestCertificate action.
type DomainValidationOption struct {
_ struct{} `type:"structure"`
@@ -1253,6 +1433,18 @@ func (s *DomainValidationOption) Validate() error {
return nil
}
+// SetDomainName sets the DomainName field's value.
+func (s *DomainValidationOption) SetDomainName(v string) *DomainValidationOption {
+ s.DomainName = &v
+ return s
+}
+
+// SetValidationDomain sets the ValidationDomain field's value.
+func (s *DomainValidationOption) SetValidationDomain(v string) *DomainValidationOption {
+ s.ValidationDomain = &v
+ return s
+}
+
type GetCertificateInput struct {
_ struct{} `type:"structure"`
@@ -1293,6 +1485,12 @@ func (s *GetCertificateInput) Validate() error {
return nil
}
+// SetCertificateArn sets the CertificateArn field's value.
+func (s *GetCertificateInput) SetCertificateArn(v string) *GetCertificateInput {
+ s.CertificateArn = &v
+ return s
+}
+
type GetCertificateOutput struct {
_ struct{} `type:"structure"`
@@ -1315,6 +1513,18 @@ func (s GetCertificateOutput) GoString() string {
return s.String()
}
+// SetCertificate sets the Certificate field's value.
+func (s *GetCertificateOutput) SetCertificate(v string) *GetCertificateOutput {
+ s.Certificate = &v
+ return s
+}
+
+// SetCertificateChain sets the CertificateChain field's value.
+func (s *GetCertificateOutput) SetCertificateChain(v string) *GetCertificateOutput {
+ s.CertificateChain = &v
+ return s
+}
+
type ImportCertificateInput struct {
_ struct{} `type:"structure"`
@@ -1395,6 +1605,30 @@ func (s *ImportCertificateInput) Validate() error {
return nil
}
+// SetCertificate sets the Certificate field's value.
+func (s *ImportCertificateInput) SetCertificate(v []byte) *ImportCertificateInput {
+ s.Certificate = v
+ return s
+}
+
+// SetCertificateArn sets the CertificateArn field's value.
+func (s *ImportCertificateInput) SetCertificateArn(v string) *ImportCertificateInput {
+ s.CertificateArn = &v
+ return s
+}
+
+// SetCertificateChain sets the CertificateChain field's value.
+func (s *ImportCertificateInput) SetCertificateChain(v []byte) *ImportCertificateInput {
+ s.CertificateChain = v
+ return s
+}
+
+// SetPrivateKey sets the PrivateKey field's value.
+func (s *ImportCertificateInput) SetPrivateKey(v []byte) *ImportCertificateInput {
+ s.PrivateKey = v
+ return s
+}
+
type ImportCertificateOutput struct {
_ struct{} `type:"structure"`
@@ -1413,6 +1647,12 @@ func (s ImportCertificateOutput) GoString() string {
return s.String()
}
+// SetCertificateArn sets the CertificateArn field's value.
+func (s *ImportCertificateOutput) SetCertificateArn(v string) *ImportCertificateOutput {
+ s.CertificateArn = &v
+ return s
+}
+
type ListCertificatesInput struct {
_ struct{} `type:"structure"`
@@ -1457,6 +1697,24 @@ func (s *ListCertificatesInput) Validate() error {
return nil
}
+// SetCertificateStatuses sets the CertificateStatuses field's value.
+func (s *ListCertificatesInput) SetCertificateStatuses(v []*string) *ListCertificatesInput {
+ s.CertificateStatuses = v
+ return s
+}
+
+// SetMaxItems sets the MaxItems field's value.
+func (s *ListCertificatesInput) SetMaxItems(v int64) *ListCertificatesInput {
+ s.MaxItems = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListCertificatesInput) SetNextToken(v string) *ListCertificatesInput {
+ s.NextToken = &v
+ return s
+}
+
type ListCertificatesOutput struct {
_ struct{} `type:"structure"`
@@ -1478,6 +1736,18 @@ func (s ListCertificatesOutput) GoString() string {
return s.String()
}
+// SetCertificateSummaryList sets the CertificateSummaryList field's value.
+func (s *ListCertificatesOutput) SetCertificateSummaryList(v []*CertificateSummary) *ListCertificatesOutput {
+ s.CertificateSummaryList = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListCertificatesOutput) SetNextToken(v string) *ListCertificatesOutput {
+ s.NextToken = &v
+ return s
+}
+
type ListTagsForCertificateInput struct {
_ struct{} `type:"structure"`
@@ -1519,6 +1789,12 @@ func (s *ListTagsForCertificateInput) Validate() error {
return nil
}
+// SetCertificateArn sets the CertificateArn field's value.
+func (s *ListTagsForCertificateInput) SetCertificateArn(v string) *ListTagsForCertificateInput {
+ s.CertificateArn = &v
+ return s
+}
+
type ListTagsForCertificateOutput struct {
_ struct{} `type:"structure"`
@@ -1536,6 +1812,12 @@ func (s ListTagsForCertificateOutput) GoString() string {
return s.String()
}
+// SetTags sets the Tags field's value.
+func (s *ListTagsForCertificateOutput) SetTags(v []*Tag) *ListTagsForCertificateOutput {
+ s.Tags = v
+ return s
+}
+
type RemoveTagsFromCertificateInput struct {
_ struct{} `type:"structure"`
@@ -1598,6 +1880,18 @@ func (s *RemoveTagsFromCertificateInput) Validate() error {
return nil
}
+// SetCertificateArn sets the CertificateArn field's value.
+func (s *RemoveTagsFromCertificateInput) SetCertificateArn(v string) *RemoveTagsFromCertificateInput {
+ s.CertificateArn = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *RemoveTagsFromCertificateInput) SetTags(v []*Tag) *RemoveTagsFromCertificateInput {
+ s.Tags = v
+ return s
+}
+
type RemoveTagsFromCertificateOutput struct {
_ struct{} `type:"structure"`
}
@@ -1701,6 +1995,30 @@ func (s *RequestCertificateInput) Validate() error {
return nil
}
+// SetDomainName sets the DomainName field's value.
+func (s *RequestCertificateInput) SetDomainName(v string) *RequestCertificateInput {
+ s.DomainName = &v
+ return s
+}
+
+// SetDomainValidationOptions sets the DomainValidationOptions field's value.
+func (s *RequestCertificateInput) SetDomainValidationOptions(v []*DomainValidationOption) *RequestCertificateInput {
+ s.DomainValidationOptions = v
+ return s
+}
+
+// SetIdempotencyToken sets the IdempotencyToken field's value.
+func (s *RequestCertificateInput) SetIdempotencyToken(v string) *RequestCertificateInput {
+ s.IdempotencyToken = &v
+ return s
+}
+
+// SetSubjectAlternativeNames sets the SubjectAlternativeNames field's value.
+func (s *RequestCertificateInput) SetSubjectAlternativeNames(v []*string) *RequestCertificateInput {
+ s.SubjectAlternativeNames = v
+ return s
+}
+
type RequestCertificateOutput struct {
_ struct{} `type:"structure"`
@@ -1721,6 +2039,12 @@ func (s RequestCertificateOutput) GoString() string {
return s.String()
}
+// SetCertificateArn sets the CertificateArn field's value.
+func (s *RequestCertificateOutput) SetCertificateArn(v string) *RequestCertificateOutput {
+ s.CertificateArn = &v
+ return s
+}
+
type ResendValidationEmailInput struct {
_ struct{} `type:"structure"`
@@ -1801,6 +2125,24 @@ func (s *ResendValidationEmailInput) Validate() error {
return nil
}
+// SetCertificateArn sets the CertificateArn field's value.
+func (s *ResendValidationEmailInput) SetCertificateArn(v string) *ResendValidationEmailInput {
+ s.CertificateArn = &v
+ return s
+}
+
+// SetDomain sets the Domain field's value.
+func (s *ResendValidationEmailInput) SetDomain(v string) *ResendValidationEmailInput {
+ s.Domain = &v
+ return s
+}
+
+// SetValidationDomain sets the ValidationDomain field's value.
+func (s *ResendValidationEmailInput) SetValidationDomain(v string) *ResendValidationEmailInput {
+ s.ValidationDomain = &v
+ return s
+}
+
type ResendValidationEmailOutput struct {
_ struct{} `type:"structure"`
}
@@ -1854,6 +2196,18 @@ func (s *Tag) Validate() error {
return nil
}
+// 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
+}
+
const (
// CertificateStatusPendingValidation is a CertificateStatus enum value
CertificateStatusPendingValidation = "PENDING_VALIDATION"
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 dff2cc2..fc89f2c 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
@@ -784,6 +784,9 @@ func (c *APIGateway) CreateUsagePlanRequest(input *CreateUsagePlanInput) (req *r
//
// * ConflictException
+//
+// * NotFoundException
+
//
func (c *APIGateway) CreateUsagePlan(input *CreateUsagePlanInput) (*UsagePlan, error) {
req, out := c.CreateUsagePlanRequest(input)
@@ -4968,6 +4971,9 @@ func (c *APIGateway) GetUsagePlansRequest(input *GetUsagePlansInput) (req *reque
//
// * ConflictException
+//
+// * NotFoundException
+
//
func (c *APIGateway) GetUsagePlans(input *GetUsagePlansInput) (*GetUsagePlansOutput, error) {
req, out := c.GetUsagePlansRequest(input)
@@ -7050,6 +7056,30 @@ func (s Account) GoString() string {
return s.String()
}
+// SetApiKeyVersion sets the ApiKeyVersion field's value.
+func (s *Account) SetApiKeyVersion(v string) *Account {
+ s.ApiKeyVersion = &v
+ return s
+}
+
+// SetCloudwatchRoleArn sets the CloudwatchRoleArn field's value.
+func (s *Account) SetCloudwatchRoleArn(v string) *Account {
+ s.CloudwatchRoleArn = &v
+ return s
+}
+
+// SetFeatures sets the Features field's value.
+func (s *Account) SetFeatures(v []*string) *Account {
+ s.Features = v
+ return s
+}
+
+// SetThrottleSettings sets the ThrottleSettings field's value.
+func (s *Account) SetThrottleSettings(v *ThrottleSettings) *Account {
+ s.ThrottleSettings = v
+ return s
+}
+
// A resource that can be distributed to callers for executing Method resources
// that require an API key. API keys can be mapped to any Stage on any RestApi,
// which indicates that the callers with the API key can make requests to that
@@ -7094,6 +7124,54 @@ func (s ApiKey) GoString() string {
return s.String()
}
+// SetCreatedDate sets the CreatedDate field's value.
+func (s *ApiKey) SetCreatedDate(v time.Time) *ApiKey {
+ s.CreatedDate = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *ApiKey) SetDescription(v string) *ApiKey {
+ s.Description = &v
+ return s
+}
+
+// SetEnabled sets the Enabled field's value.
+func (s *ApiKey) SetEnabled(v bool) *ApiKey {
+ s.Enabled = &v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *ApiKey) SetId(v string) *ApiKey {
+ s.Id = &v
+ return s
+}
+
+// SetLastUpdatedDate sets the LastUpdatedDate field's value.
+func (s *ApiKey) SetLastUpdatedDate(v time.Time) *ApiKey {
+ s.LastUpdatedDate = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *ApiKey) SetName(v string) *ApiKey {
+ s.Name = &v
+ return s
+}
+
+// SetStageKeys sets the StageKeys field's value.
+func (s *ApiKey) SetStageKeys(v []*string) *ApiKey {
+ s.StageKeys = v
+ return s
+}
+
+// SetValue sets the Value field's value.
+func (s *ApiKey) SetValue(v string) *ApiKey {
+ s.Value = &v
+ return s
+}
+
// API stage name of the associated API stage in a usage plan.
type ApiStage struct {
_ struct{} `type:"structure"`
@@ -7115,6 +7193,18 @@ func (s ApiStage) GoString() string {
return s.String()
}
+// SetApiId sets the ApiId field's value.
+func (s *ApiStage) SetApiId(v string) *ApiStage {
+ s.ApiId = &v
+ return s
+}
+
+// SetStage sets the Stage field's value.
+func (s *ApiStage) SetStage(v string) *ApiStage {
+ s.Stage = &v
+ return s
+}
+
// Represents an authorization layer for methods. If enabled on a method, API
// Gateway will activate the authorizer when a client calls the method.
//
@@ -7138,22 +7228,24 @@ type Authorizer struct {
AuthorizerResultTtlInSeconds *int64 `locationName:"authorizerResultTtlInSeconds" type:"integer"`
// [Required] Specifies the authorizer's Uniform Resource Identifier (URI).
- // For TOKEN authorizers, this must be a well-formed Lambda function URI. The
- // URI should be of the form arn:aws:apigateway:{region}:lambda:path/{service_api}.
- // Region is used to determine the right endpoint. In this case, path is used
- // to indicate that the remaining substring in the URI should be treated as
- // the path to the resource, including the initial /. For Lambda functions,
- // this is usually of the form /2015-03-31/functions/[FunctionARN]/invocations
+ // For TOKEN authorizers, this must be a well-formed Lambda function URI, for
+ // example, arn:aws:apigateway:us-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-2:{account_id}:function:{lambda_function_name}/invocations.
+ // In general, the URI has this form arn:aws:apigateway:{region}:lambda:path/{service_api},
+ // where {region} is the same as the region hosting the Lambda function, path
+ // indicates that the remaining substring in the URI should be treated as the
+ // path to the resource, including the initial /. For Lambda functions, this
+ // is usually of the form /2015-03-31/functions/[FunctionARN]/invocations.
AuthorizerUri *string `locationName:"authorizerUri" type:"string"`
// The identifier for the authorizer resource.
Id *string `locationName:"id" type:"string"`
- // [Required] The source of the identity in an incoming request. For TOKEN authorizers,
- // this value is a mapping expression with the same syntax as integration parameter
- // mappings. The only valid source for tokens is 'header', so the expression
- // should match 'method.request.header.[headerName]'. The value of the header
- // '[headerName]' will be interpreted as the incoming token.
+ // [Required] The source of the identity in an incoming request. For a TOKEN
+ // authorizer, this value is a mapping expression with the same syntax as integration
+ // parameter mappings. The only valid source for tokens is 'header', so the
+ // expression should match 'method.request.header.[headerName]'. The value of
+ // the header '[headerName]' will be interpreted as the incoming token. For
+ // COGNITO_USER_POOLS authorizers, this property is used.
IdentitySource *string `locationName:"identitySource" type:"string"`
// A validation expression for the incoming identity. For TOKEN authorizers,
@@ -7165,11 +7257,13 @@ type Authorizer struct {
// [Required] The name of the authorizer.
Name *string `locationName:"name" type:"string"`
- // A list of the provider ARNs of the authorizer.
+ // A list of the provider ARNs of the authorizer. For an TOKEN authorizer, this
+ // is not defined. For authorizers of the COGNITO_USER_POOLS type, each element
+ // corresponds to a user pool ARN of this format: arn:aws:cognito-idp:{region}:{account_id}:userpool/{user_pool_id}.
ProviderARNs []*string `locationName:"providerARNs" type:"list"`
- // [Required] The type of the authorizer. Currently, the only valid type is
- // TOKEN.
+ // [Required] The type of the authorizer. Currently, the valid type is TOKEN
+ // for a Lambda function or COGNITO_USER_POOLS for an Amazon Cognito user pool.
Type *string `locationName:"type" type:"string" enum:"AuthorizerType"`
}
@@ -7183,6 +7277,66 @@ func (s Authorizer) GoString() string {
return s.String()
}
+// SetAuthType sets the AuthType field's value.
+func (s *Authorizer) SetAuthType(v string) *Authorizer {
+ s.AuthType = &v
+ return s
+}
+
+// SetAuthorizerCredentials sets the AuthorizerCredentials field's value.
+func (s *Authorizer) SetAuthorizerCredentials(v string) *Authorizer {
+ s.AuthorizerCredentials = &v
+ return s
+}
+
+// SetAuthorizerResultTtlInSeconds sets the AuthorizerResultTtlInSeconds field's value.
+func (s *Authorizer) SetAuthorizerResultTtlInSeconds(v int64) *Authorizer {
+ s.AuthorizerResultTtlInSeconds = &v
+ return s
+}
+
+// SetAuthorizerUri sets the AuthorizerUri field's value.
+func (s *Authorizer) SetAuthorizerUri(v string) *Authorizer {
+ s.AuthorizerUri = &v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *Authorizer) SetId(v string) *Authorizer {
+ s.Id = &v
+ return s
+}
+
+// SetIdentitySource sets the IdentitySource field's value.
+func (s *Authorizer) SetIdentitySource(v string) *Authorizer {
+ s.IdentitySource = &v
+ return s
+}
+
+// SetIdentityValidationExpression sets the IdentityValidationExpression field's value.
+func (s *Authorizer) SetIdentityValidationExpression(v string) *Authorizer {
+ s.IdentityValidationExpression = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *Authorizer) SetName(v string) *Authorizer {
+ s.Name = &v
+ return s
+}
+
+// SetProviderARNs sets the ProviderARNs field's value.
+func (s *Authorizer) SetProviderARNs(v []*string) *Authorizer {
+ s.ProviderARNs = v
+ return s
+}
+
+// SetType sets the Type field's value.
+func (s *Authorizer) SetType(v string) *Authorizer {
+ s.Type = &v
+ return s
+}
+
// Represents the base path that callers of the API must provide as part of
// the URL after the domain name.
//
@@ -7213,6 +7367,24 @@ func (s BasePathMapping) GoString() string {
return s.String()
}
+// SetBasePath sets the BasePath field's value.
+func (s *BasePathMapping) SetBasePath(v string) *BasePathMapping {
+ s.BasePath = &v
+ return s
+}
+
+// SetRestApiId sets the RestApiId field's value.
+func (s *BasePathMapping) SetRestApiId(v string) *BasePathMapping {
+ s.RestApiId = &v
+ return s
+}
+
+// SetStage sets the Stage field's value.
+func (s *BasePathMapping) SetStage(v string) *BasePathMapping {
+ s.Stage = &v
+ return s
+}
+
// Represents a client certificate used to configure client-side SSL authentication
// while sending requests to the integration endpoint.
//
@@ -7249,6 +7421,36 @@ func (s ClientCertificate) GoString() string {
return s.String()
}
+// SetClientCertificateId sets the ClientCertificateId field's value.
+func (s *ClientCertificate) SetClientCertificateId(v string) *ClientCertificate {
+ s.ClientCertificateId = &v
+ return s
+}
+
+// SetCreatedDate sets the CreatedDate field's value.
+func (s *ClientCertificate) SetCreatedDate(v time.Time) *ClientCertificate {
+ s.CreatedDate = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *ClientCertificate) SetDescription(v string) *ClientCertificate {
+ s.Description = &v
+ return s
+}
+
+// SetExpirationDate sets the ExpirationDate field's value.
+func (s *ClientCertificate) SetExpirationDate(v time.Time) *ClientCertificate {
+ s.ExpirationDate = &v
+ return s
+}
+
+// SetPemEncodedCertificate sets the PemEncodedCertificate field's value.
+func (s *ClientCertificate) SetPemEncodedCertificate(v string) *ClientCertificate {
+ s.PemEncodedCertificate = &v
+ return s
+}
+
// Request to create an ApiKey resource.
type CreateApiKeyInput struct {
_ struct{} `type:"structure"`
@@ -7283,6 +7485,42 @@ func (s CreateApiKeyInput) GoString() string {
return s.String()
}
+// SetDescription sets the Description field's value.
+func (s *CreateApiKeyInput) SetDescription(v string) *CreateApiKeyInput {
+ s.Description = &v
+ return s
+}
+
+// SetEnabled sets the Enabled field's value.
+func (s *CreateApiKeyInput) SetEnabled(v bool) *CreateApiKeyInput {
+ s.Enabled = &v
+ return s
+}
+
+// SetGenerateDistinctId sets the GenerateDistinctId field's value.
+func (s *CreateApiKeyInput) SetGenerateDistinctId(v bool) *CreateApiKeyInput {
+ s.GenerateDistinctId = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *CreateApiKeyInput) SetName(v string) *CreateApiKeyInput {
+ s.Name = &v
+ return s
+}
+
+// SetStageKeys sets the StageKeys field's value.
+func (s *CreateApiKeyInput) SetStageKeys(v []*StageKey) *CreateApiKeyInput {
+ s.StageKeys = v
+ return s
+}
+
+// SetValue sets the Value field's value.
+func (s *CreateApiKeyInput) SetValue(v string) *CreateApiKeyInput {
+ s.Value = &v
+ return s
+}
+
// Request to add a new Authorizer to an existing RestApi resource.
type CreateAuthorizerInput struct {
_ struct{} `type:"structure"`
@@ -7359,6 +7597,66 @@ func (s *CreateAuthorizerInput) Validate() error {
return nil
}
+// SetAuthType sets the AuthType field's value.
+func (s *CreateAuthorizerInput) SetAuthType(v string) *CreateAuthorizerInput {
+ s.AuthType = &v
+ return s
+}
+
+// SetAuthorizerCredentials sets the AuthorizerCredentials field's value.
+func (s *CreateAuthorizerInput) SetAuthorizerCredentials(v string) *CreateAuthorizerInput {
+ s.AuthorizerCredentials = &v
+ return s
+}
+
+// SetAuthorizerResultTtlInSeconds sets the AuthorizerResultTtlInSeconds field's value.
+func (s *CreateAuthorizerInput) SetAuthorizerResultTtlInSeconds(v int64) *CreateAuthorizerInput {
+ s.AuthorizerResultTtlInSeconds = &v
+ return s
+}
+
+// SetAuthorizerUri sets the AuthorizerUri field's value.
+func (s *CreateAuthorizerInput) SetAuthorizerUri(v string) *CreateAuthorizerInput {
+ s.AuthorizerUri = &v
+ return s
+}
+
+// SetIdentitySource sets the IdentitySource field's value.
+func (s *CreateAuthorizerInput) SetIdentitySource(v string) *CreateAuthorizerInput {
+ s.IdentitySource = &v
+ return s
+}
+
+// SetIdentityValidationExpression sets the IdentityValidationExpression field's value.
+func (s *CreateAuthorizerInput) SetIdentityValidationExpression(v string) *CreateAuthorizerInput {
+ s.IdentityValidationExpression = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *CreateAuthorizerInput) SetName(v string) *CreateAuthorizerInput {
+ s.Name = &v
+ return s
+}
+
+// SetProviderARNs sets the ProviderARNs field's value.
+func (s *CreateAuthorizerInput) SetProviderARNs(v []*string) *CreateAuthorizerInput {
+ s.ProviderARNs = v
+ return s
+}
+
+// SetRestApiId sets the RestApiId field's value.
+func (s *CreateAuthorizerInput) SetRestApiId(v string) *CreateAuthorizerInput {
+ s.RestApiId = &v
+ return s
+}
+
+// SetType sets the Type field's value.
+func (s *CreateAuthorizerInput) SetType(v string) *CreateAuthorizerInput {
+ s.Type = &v
+ return s
+}
+
// Requests Amazon API Gateway to create a new BasePathMapping resource.
type CreateBasePathMappingInput struct {
_ struct{} `type:"structure"`
@@ -7411,6 +7709,30 @@ func (s *CreateBasePathMappingInput) Validate() error {
return nil
}
+// SetBasePath sets the BasePath field's value.
+func (s *CreateBasePathMappingInput) SetBasePath(v string) *CreateBasePathMappingInput {
+ s.BasePath = &v
+ return s
+}
+
+// SetDomainName sets the DomainName field's value.
+func (s *CreateBasePathMappingInput) SetDomainName(v string) *CreateBasePathMappingInput {
+ s.DomainName = &v
+ return s
+}
+
+// SetRestApiId sets the RestApiId field's value.
+func (s *CreateBasePathMappingInput) SetRestApiId(v string) *CreateBasePathMappingInput {
+ s.RestApiId = &v
+ return s
+}
+
+// SetStage sets the Stage field's value.
+func (s *CreateBasePathMappingInput) SetStage(v string) *CreateBasePathMappingInput {
+ s.Stage = &v
+ return s
+}
+
// Requests Amazon API Gateway to create a Deployment resource.
type CreateDeploymentInput struct {
_ struct{} `type:"structure"`
@@ -7434,9 +7756,7 @@ type CreateDeploymentInput struct {
StageDescription *string `locationName:"stageDescription" type:"string"`
// The name of the Stage resource for the Deployment resource to create.
- //
- // StageName is a required field
- StageName *string `locationName:"stageName" type:"string" required:"true"`
+ StageName *string `locationName:"stageName" type:"string"`
// A map that defines the stage variables for the Stage resource that is associated
// with the new deployment. Variable names can have alphanumeric and underscore
@@ -7460,9 +7780,6 @@ func (s *CreateDeploymentInput) Validate() error {
if s.RestApiId == nil {
invalidParams.Add(request.NewErrParamRequired("RestApiId"))
}
- if s.StageName == nil {
- invalidParams.Add(request.NewErrParamRequired("StageName"))
- }
if invalidParams.Len() > 0 {
return invalidParams
@@ -7470,6 +7787,48 @@ func (s *CreateDeploymentInput) Validate() error {
return nil
}
+// SetCacheClusterEnabled sets the CacheClusterEnabled field's value.
+func (s *CreateDeploymentInput) SetCacheClusterEnabled(v bool) *CreateDeploymentInput {
+ s.CacheClusterEnabled = &v
+ return s
+}
+
+// SetCacheClusterSize sets the CacheClusterSize field's value.
+func (s *CreateDeploymentInput) SetCacheClusterSize(v string) *CreateDeploymentInput {
+ s.CacheClusterSize = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *CreateDeploymentInput) SetDescription(v string) *CreateDeploymentInput {
+ s.Description = &v
+ return s
+}
+
+// SetRestApiId sets the RestApiId field's value.
+func (s *CreateDeploymentInput) SetRestApiId(v string) *CreateDeploymentInput {
+ s.RestApiId = &v
+ return s
+}
+
+// SetStageDescription sets the StageDescription field's value.
+func (s *CreateDeploymentInput) SetStageDescription(v string) *CreateDeploymentInput {
+ s.StageDescription = &v
+ return s
+}
+
+// SetStageName sets the StageName field's value.
+func (s *CreateDeploymentInput) SetStageName(v string) *CreateDeploymentInput {
+ s.StageName = &v
+ return s
+}
+
+// SetVariables sets the Variables field's value.
+func (s *CreateDeploymentInput) SetVariables(v map[string]*string) *CreateDeploymentInput {
+ s.Variables = v
+ return s
+}
+
// A request to create a new domain name.
type CreateDomainNameInput struct {
_ struct{} `type:"structure"`
@@ -7540,6 +7899,36 @@ func (s *CreateDomainNameInput) Validate() error {
return nil
}
+// SetCertificateBody sets the CertificateBody field's value.
+func (s *CreateDomainNameInput) SetCertificateBody(v string) *CreateDomainNameInput {
+ s.CertificateBody = &v
+ return s
+}
+
+// SetCertificateChain sets the CertificateChain field's value.
+func (s *CreateDomainNameInput) SetCertificateChain(v string) *CreateDomainNameInput {
+ s.CertificateChain = &v
+ return s
+}
+
+// SetCertificateName sets the CertificateName field's value.
+func (s *CreateDomainNameInput) SetCertificateName(v string) *CreateDomainNameInput {
+ s.CertificateName = &v
+ return s
+}
+
+// SetCertificatePrivateKey sets the CertificatePrivateKey field's value.
+func (s *CreateDomainNameInput) SetCertificatePrivateKey(v string) *CreateDomainNameInput {
+ s.CertificatePrivateKey = &v
+ return s
+}
+
+// SetDomainName sets the DomainName field's value.
+func (s *CreateDomainNameInput) SetDomainName(v string) *CreateDomainNameInput {
+ s.DomainName = &v
+ return s
+}
+
// Request to add a new Model to an existing RestApi resource.
type CreateModelInput struct {
_ struct{} `type:"structure"`
@@ -7596,6 +7985,36 @@ func (s *CreateModelInput) Validate() error {
return nil
}
+// SetContentType sets the ContentType field's value.
+func (s *CreateModelInput) SetContentType(v string) *CreateModelInput {
+ s.ContentType = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *CreateModelInput) SetDescription(v string) *CreateModelInput {
+ s.Description = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *CreateModelInput) SetName(v string) *CreateModelInput {
+ s.Name = &v
+ return s
+}
+
+// SetRestApiId sets the RestApiId field's value.
+func (s *CreateModelInput) SetRestApiId(v string) *CreateModelInput {
+ s.RestApiId = &v
+ return s
+}
+
+// SetSchema sets the Schema field's value.
+func (s *CreateModelInput) SetSchema(v string) *CreateModelInput {
+ s.Schema = &v
+ return s
+}
+
// Requests Amazon API Gateway to create a Resource resource.
type CreateResourceInput struct {
_ struct{} `type:"structure"`
@@ -7645,10 +8064,32 @@ func (s *CreateResourceInput) Validate() error {
return nil
}
+// SetParentId sets the ParentId field's value.
+func (s *CreateResourceInput) SetParentId(v string) *CreateResourceInput {
+ s.ParentId = &v
+ return s
+}
+
+// SetPathPart sets the PathPart field's value.
+func (s *CreateResourceInput) SetPathPart(v string) *CreateResourceInput {
+ s.PathPart = &v
+ return s
+}
+
+// SetRestApiId sets the RestApiId field's value.
+func (s *CreateResourceInput) SetRestApiId(v string) *CreateResourceInput {
+ s.RestApiId = &v
+ return s
+}
+
// The POST Request to add a new RestApi resource to your collection.
type CreateRestApiInput struct {
_ struct{} `type:"structure"`
+ // The list of binary media types supported by the RestApi. By default, the
+ // RestApi supports only UTF-8-encoded text payloads.
+ BinaryMediaTypes []*string `locationName:"binaryMediaTypes" type:"list"`
+
// The ID of the RestApi that you want to clone from.
CloneFrom *string `locationName:"cloneFrom" type:"string"`
@@ -7684,6 +8125,30 @@ func (s *CreateRestApiInput) Validate() error {
return nil
}
+// SetBinaryMediaTypes sets the BinaryMediaTypes field's value.
+func (s *CreateRestApiInput) SetBinaryMediaTypes(v []*string) *CreateRestApiInput {
+ s.BinaryMediaTypes = v
+ return s
+}
+
+// SetCloneFrom sets the CloneFrom field's value.
+func (s *CreateRestApiInput) SetCloneFrom(v string) *CreateRestApiInput {
+ s.CloneFrom = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *CreateRestApiInput) SetDescription(v string) *CreateRestApiInput {
+ s.Description = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *CreateRestApiInput) SetName(v string) *CreateRestApiInput {
+ s.Name = &v
+ return s
+}
+
// Requests Amazon API Gateway to create a Stage resource.
type CreateStageInput struct {
_ struct{} `type:"structure"`
@@ -7747,6 +8212,48 @@ func (s *CreateStageInput) Validate() error {
return nil
}
+// SetCacheClusterEnabled sets the CacheClusterEnabled field's value.
+func (s *CreateStageInput) SetCacheClusterEnabled(v bool) *CreateStageInput {
+ s.CacheClusterEnabled = &v
+ return s
+}
+
+// SetCacheClusterSize sets the CacheClusterSize field's value.
+func (s *CreateStageInput) SetCacheClusterSize(v string) *CreateStageInput {
+ s.CacheClusterSize = &v
+ return s
+}
+
+// SetDeploymentId sets the DeploymentId field's value.
+func (s *CreateStageInput) SetDeploymentId(v string) *CreateStageInput {
+ s.DeploymentId = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *CreateStageInput) SetDescription(v string) *CreateStageInput {
+ s.Description = &v
+ return s
+}
+
+// SetRestApiId sets the RestApiId field's value.
+func (s *CreateStageInput) SetRestApiId(v string) *CreateStageInput {
+ s.RestApiId = &v
+ return s
+}
+
+// SetStageName sets the StageName field's value.
+func (s *CreateStageInput) SetStageName(v string) *CreateStageInput {
+ s.StageName = &v
+ return s
+}
+
+// SetVariables sets the Variables field's value.
+func (s *CreateStageInput) SetVariables(v map[string]*string) *CreateStageInput {
+ s.Variables = v
+ return s
+}
+
// The POST request to create a usage plan with the name, description, throttle
// limits and quota limits, as well as the associated API stages, specified
// in the payload.
@@ -7794,6 +8301,36 @@ func (s *CreateUsagePlanInput) Validate() error {
return nil
}
+// SetApiStages sets the ApiStages field's value.
+func (s *CreateUsagePlanInput) SetApiStages(v []*ApiStage) *CreateUsagePlanInput {
+ s.ApiStages = v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *CreateUsagePlanInput) SetDescription(v string) *CreateUsagePlanInput {
+ s.Description = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *CreateUsagePlanInput) SetName(v string) *CreateUsagePlanInput {
+ s.Name = &v
+ return s
+}
+
+// SetQuota sets the Quota field's value.
+func (s *CreateUsagePlanInput) SetQuota(v *QuotaSettings) *CreateUsagePlanInput {
+ s.Quota = v
+ return s
+}
+
+// SetThrottle sets the Throttle field's value.
+func (s *CreateUsagePlanInput) SetThrottle(v *ThrottleSettings) *CreateUsagePlanInput {
+ s.Throttle = v
+ return s
+}
+
// The POST request to create a usage plan key for adding an existing API key
// to a usage plan.
type CreateUsagePlanKeyInput struct {
@@ -7845,6 +8382,24 @@ func (s *CreateUsagePlanKeyInput) Validate() error {
return nil
}
+// SetKeyId sets the KeyId field's value.
+func (s *CreateUsagePlanKeyInput) SetKeyId(v string) *CreateUsagePlanKeyInput {
+ s.KeyId = &v
+ return s
+}
+
+// SetKeyType sets the KeyType field's value.
+func (s *CreateUsagePlanKeyInput) SetKeyType(v string) *CreateUsagePlanKeyInput {
+ s.KeyType = &v
+ return s
+}
+
+// SetUsagePlanId sets the UsagePlanId field's value.
+func (s *CreateUsagePlanKeyInput) SetUsagePlanId(v string) *CreateUsagePlanKeyInput {
+ s.UsagePlanId = &v
+ return s
+}
+
// A request to delete the ApiKey resource.
type DeleteApiKeyInput struct {
_ struct{} `type:"structure"`
@@ -7878,6 +8433,12 @@ func (s *DeleteApiKeyInput) Validate() error {
return nil
}
+// SetApiKey sets the ApiKey field's value.
+func (s *DeleteApiKeyInput) SetApiKey(v string) *DeleteApiKeyInput {
+ s.ApiKey = &v
+ return s
+}
+
type DeleteApiKeyOutput struct {
_ struct{} `type:"structure"`
}
@@ -7933,6 +8494,18 @@ func (s *DeleteAuthorizerInput) Validate() error {
return nil
}
+// SetAuthorizerId sets the AuthorizerId field's value.
+func (s *DeleteAuthorizerInput) SetAuthorizerId(v string) *DeleteAuthorizerInput {
+ s.AuthorizerId = &v
+ return s
+}
+
+// SetRestApiId sets the RestApiId field's value.
+func (s *DeleteAuthorizerInput) SetRestApiId(v string) *DeleteAuthorizerInput {
+ s.RestApiId = &v
+ return s
+}
+
type DeleteAuthorizerOutput struct {
_ struct{} `type:"structure"`
}
@@ -7988,6 +8561,18 @@ func (s *DeleteBasePathMappingInput) Validate() error {
return nil
}
+// SetBasePath sets the BasePath field's value.
+func (s *DeleteBasePathMappingInput) SetBasePath(v string) *DeleteBasePathMappingInput {
+ s.BasePath = &v
+ return s
+}
+
+// SetDomainName sets the DomainName field's value.
+func (s *DeleteBasePathMappingInput) SetDomainName(v string) *DeleteBasePathMappingInput {
+ s.DomainName = &v
+ return s
+}
+
type DeleteBasePathMappingOutput struct {
_ struct{} `type:"structure"`
}
@@ -8035,6 +8620,12 @@ func (s *DeleteClientCertificateInput) Validate() error {
return nil
}
+// SetClientCertificateId sets the ClientCertificateId field's value.
+func (s *DeleteClientCertificateInput) SetClientCertificateId(v string) *DeleteClientCertificateInput {
+ s.ClientCertificateId = &v
+ return s
+}
+
type DeleteClientCertificateOutput struct {
_ struct{} `type:"structure"`
}
@@ -8090,6 +8681,18 @@ func (s *DeleteDeploymentInput) Validate() error {
return nil
}
+// SetDeploymentId sets the DeploymentId field's value.
+func (s *DeleteDeploymentInput) SetDeploymentId(v string) *DeleteDeploymentInput {
+ s.DeploymentId = &v
+ return s
+}
+
+// SetRestApiId sets the RestApiId field's value.
+func (s *DeleteDeploymentInput) SetRestApiId(v string) *DeleteDeploymentInput {
+ s.RestApiId = &v
+ return s
+}
+
type DeleteDeploymentOutput struct {
_ struct{} `type:"structure"`
}
@@ -8137,6 +8740,12 @@ func (s *DeleteDomainNameInput) Validate() error {
return nil
}
+// SetDomainName sets the DomainName field's value.
+func (s *DeleteDomainNameInput) SetDomainName(v string) *DeleteDomainNameInput {
+ s.DomainName = &v
+ return s
+}
+
type DeleteDomainNameOutput struct {
_ struct{} `type:"structure"`
}
@@ -8200,6 +8809,24 @@ func (s *DeleteIntegrationInput) Validate() error {
return nil
}
+// SetHttpMethod sets the HttpMethod field's value.
+func (s *DeleteIntegrationInput) SetHttpMethod(v string) *DeleteIntegrationInput {
+ s.HttpMethod = &v
+ return s
+}
+
+// SetResourceId sets the ResourceId field's value.
+func (s *DeleteIntegrationInput) SetResourceId(v string) *DeleteIntegrationInput {
+ s.ResourceId = &v
+ return s
+}
+
+// SetRestApiId sets the RestApiId field's value.
+func (s *DeleteIntegrationInput) SetRestApiId(v string) *DeleteIntegrationInput {
+ s.RestApiId = &v
+ return s
+}
+
type DeleteIntegrationOutput struct {
_ struct{} `type:"structure"`
}
@@ -8271,6 +8898,30 @@ func (s *DeleteIntegrationResponseInput) Validate() error {
return nil
}
+// SetHttpMethod sets the HttpMethod field's value.
+func (s *DeleteIntegrationResponseInput) SetHttpMethod(v string) *DeleteIntegrationResponseInput {
+ s.HttpMethod = &v
+ return s
+}
+
+// SetResourceId sets the ResourceId field's value.
+func (s *DeleteIntegrationResponseInput) SetResourceId(v string) *DeleteIntegrationResponseInput {
+ s.ResourceId = &v
+ return s
+}
+
+// SetRestApiId sets the RestApiId field's value.
+func (s *DeleteIntegrationResponseInput) SetRestApiId(v string) *DeleteIntegrationResponseInput {
+ s.RestApiId = &v
+ return s
+}
+
+// SetStatusCode sets the StatusCode field's value.
+func (s *DeleteIntegrationResponseInput) SetStatusCode(v string) *DeleteIntegrationResponseInput {
+ s.StatusCode = &v
+ return s
+}
+
type DeleteIntegrationResponseOutput struct {
_ struct{} `type:"structure"`
}
@@ -8334,6 +8985,24 @@ func (s *DeleteMethodInput) Validate() error {
return nil
}
+// SetHttpMethod sets the HttpMethod field's value.
+func (s *DeleteMethodInput) SetHttpMethod(v string) *DeleteMethodInput {
+ s.HttpMethod = &v
+ return s
+}
+
+// SetResourceId sets the ResourceId field's value.
+func (s *DeleteMethodInput) SetResourceId(v string) *DeleteMethodInput {
+ s.ResourceId = &v
+ return s
+}
+
+// SetRestApiId sets the RestApiId field's value.
+func (s *DeleteMethodInput) SetRestApiId(v string) *DeleteMethodInput {
+ s.RestApiId = &v
+ return s
+}
+
type DeleteMethodOutput struct {
_ struct{} `type:"structure"`
}
@@ -8405,6 +9074,30 @@ func (s *DeleteMethodResponseInput) Validate() error {
return nil
}
+// SetHttpMethod sets the HttpMethod field's value.
+func (s *DeleteMethodResponseInput) SetHttpMethod(v string) *DeleteMethodResponseInput {
+ s.HttpMethod = &v
+ return s
+}
+
+// SetResourceId sets the ResourceId field's value.
+func (s *DeleteMethodResponseInput) SetResourceId(v string) *DeleteMethodResponseInput {
+ s.ResourceId = &v
+ return s
+}
+
+// SetRestApiId sets the RestApiId field's value.
+func (s *DeleteMethodResponseInput) SetRestApiId(v string) *DeleteMethodResponseInput {
+ s.RestApiId = &v
+ return s
+}
+
+// SetStatusCode sets the StatusCode field's value.
+func (s *DeleteMethodResponseInput) SetStatusCode(v string) *DeleteMethodResponseInput {
+ s.StatusCode = &v
+ return s
+}
+
type DeleteMethodResponseOutput struct {
_ struct{} `type:"structure"`
}
@@ -8460,6 +9153,18 @@ func (s *DeleteModelInput) Validate() error {
return nil
}
+// SetModelName sets the ModelName field's value.
+func (s *DeleteModelInput) SetModelName(v string) *DeleteModelInput {
+ s.ModelName = &v
+ return s
+}
+
+// SetRestApiId sets the RestApiId field's value.
+func (s *DeleteModelInput) SetRestApiId(v string) *DeleteModelInput {
+ s.RestApiId = &v
+ return s
+}
+
type DeleteModelOutput struct {
_ struct{} `type:"structure"`
}
@@ -8515,6 +9220,18 @@ func (s *DeleteResourceInput) Validate() error {
return nil
}
+// SetResourceId sets the ResourceId field's value.
+func (s *DeleteResourceInput) SetResourceId(v string) *DeleteResourceInput {
+ s.ResourceId = &v
+ return s
+}
+
+// SetRestApiId sets the RestApiId field's value.
+func (s *DeleteResourceInput) SetRestApiId(v string) *DeleteResourceInput {
+ s.RestApiId = &v
+ return s
+}
+
type DeleteResourceOutput struct {
_ struct{} `type:"structure"`
}
@@ -8562,6 +9279,12 @@ func (s *DeleteRestApiInput) Validate() error {
return nil
}
+// SetRestApiId sets the RestApiId field's value.
+func (s *DeleteRestApiInput) SetRestApiId(v string) *DeleteRestApiInput {
+ s.RestApiId = &v
+ return s
+}
+
type DeleteRestApiOutput struct {
_ struct{} `type:"structure"`
}
@@ -8617,6 +9340,18 @@ func (s *DeleteStageInput) Validate() error {
return nil
}
+// SetRestApiId sets the RestApiId field's value.
+func (s *DeleteStageInput) SetRestApiId(v string) *DeleteStageInput {
+ s.RestApiId = &v
+ return s
+}
+
+// SetStageName sets the StageName field's value.
+func (s *DeleteStageInput) SetStageName(v string) *DeleteStageInput {
+ s.StageName = &v
+ return s
+}
+
type DeleteStageOutput struct {
_ struct{} `type:"structure"`
}
@@ -8664,6 +9399,12 @@ func (s *DeleteUsagePlanInput) Validate() error {
return nil
}
+// SetUsagePlanId sets the UsagePlanId field's value.
+func (s *DeleteUsagePlanInput) SetUsagePlanId(v string) *DeleteUsagePlanInput {
+ s.UsagePlanId = &v
+ return s
+}
+
// The DELETE request to delete a usage plan key and remove the underlying API
// key from the associated usage plan.
type DeleteUsagePlanKeyInput struct {
@@ -8707,6 +9448,18 @@ func (s *DeleteUsagePlanKeyInput) Validate() error {
return nil
}
+// SetKeyId sets the KeyId field's value.
+func (s *DeleteUsagePlanKeyInput) SetKeyId(v string) *DeleteUsagePlanKeyInput {
+ s.KeyId = &v
+ return s
+}
+
+// SetUsagePlanId sets the UsagePlanId field's value.
+func (s *DeleteUsagePlanKeyInput) SetUsagePlanId(v string) *DeleteUsagePlanKeyInput {
+ s.UsagePlanId = &v
+ return s
+}
+
type DeleteUsagePlanKeyOutput struct {
_ struct{} `type:"structure"`
}
@@ -8772,6 +9525,30 @@ func (s Deployment) GoString() string {
return s.String()
}
+// SetApiSummary sets the ApiSummary field's value.
+func (s *Deployment) SetApiSummary(v map[string]map[string]*MethodSnapshot) *Deployment {
+ s.ApiSummary = v
+ return s
+}
+
+// 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
+}
+
// Represents a domain name that is contained in a simpler, more intuitive URL
// that can be called.
//
@@ -8803,6 +9580,30 @@ func (s DomainName) GoString() string {
return s.String()
}
+// SetCertificateName sets the CertificateName field's value.
+func (s *DomainName) SetCertificateName(v string) *DomainName {
+ s.CertificateName = &v
+ return s
+}
+
+// SetCertificateUploadDate sets the CertificateUploadDate field's value.
+func (s *DomainName) SetCertificateUploadDate(v time.Time) *DomainName {
+ s.CertificateUploadDate = &v
+ return s
+}
+
+// SetDistributionDomainName sets the DistributionDomainName field's value.
+func (s *DomainName) SetDistributionDomainName(v string) *DomainName {
+ s.DistributionDomainName = &v
+ return s
+}
+
+// SetDomainName sets the DomainName field's value.
+func (s *DomainName) SetDomainName(v string) *DomainName {
+ s.DomainName = &v
+ return s
+}
+
// Request to flush authorizer cache entries on a specified stage.
type FlushStageAuthorizersCacheInput struct {
_ struct{} `type:"structure"`
@@ -8844,6 +9645,18 @@ func (s *FlushStageAuthorizersCacheInput) Validate() error {
return nil
}
+// SetRestApiId sets the RestApiId field's value.
+func (s *FlushStageAuthorizersCacheInput) SetRestApiId(v string) *FlushStageAuthorizersCacheInput {
+ s.RestApiId = &v
+ return s
+}
+
+// SetStageName sets the StageName field's value.
+func (s *FlushStageAuthorizersCacheInput) SetStageName(v string) *FlushStageAuthorizersCacheInput {
+ s.StageName = &v
+ return s
+}
+
type FlushStageAuthorizersCacheOutput struct {
_ struct{} `type:"structure"`
}
@@ -8899,6 +9712,18 @@ func (s *FlushStageCacheInput) Validate() error {
return nil
}
+// SetRestApiId sets the RestApiId field's value.
+func (s *FlushStageCacheInput) SetRestApiId(v string) *FlushStageCacheInput {
+ s.RestApiId = &v
+ return s
+}
+
+// SetStageName sets the StageName field's value.
+func (s *FlushStageCacheInput) SetStageName(v string) *FlushStageCacheInput {
+ s.StageName = &v
+ return s
+}
+
type FlushStageCacheOutput struct {
_ struct{} `type:"structure"`
}
@@ -8931,6 +9756,12 @@ func (s GenerateClientCertificateInput) GoString() string {
return s.String()
}
+// SetDescription sets the Description field's value.
+func (s *GenerateClientCertificateInput) SetDescription(v string) *GenerateClientCertificateInput {
+ s.Description = &v
+ return s
+}
+
// Requests Amazon API Gateway to get information about the current Account
// resource.
type GetAccountInput struct {
@@ -8984,10 +9815,24 @@ func (s *GetApiKeyInput) Validate() error {
return nil
}
+// SetApiKey sets the ApiKey field's value.
+func (s *GetApiKeyInput) SetApiKey(v string) *GetApiKeyInput {
+ s.ApiKey = &v
+ return s
+}
+
+// SetIncludeValue sets the IncludeValue field's value.
+func (s *GetApiKeyInput) SetIncludeValue(v bool) *GetApiKeyInput {
+ s.IncludeValue = &v
+ return s
+}
+
// A request to get information about the current ApiKeys resource.
type GetApiKeysInput struct {
_ struct{} `type:"structure"`
+ CustomerId *string `location:"querystring" locationName:"customerId" type:"string"`
+
// A boolean flag to specify whether (true) or not (false) the result contains
// key values.
IncludeValues *bool `location:"querystring" locationName:"includeValues" type:"boolean"`
@@ -9012,6 +9857,36 @@ func (s GetApiKeysInput) GoString() string {
return s.String()
}
+// SetCustomerId sets the CustomerId field's value.
+func (s *GetApiKeysInput) SetCustomerId(v string) *GetApiKeysInput {
+ s.CustomerId = &v
+ return s
+}
+
+// SetIncludeValues sets the IncludeValues field's value.
+func (s *GetApiKeysInput) SetIncludeValues(v bool) *GetApiKeysInput {
+ s.IncludeValues = &v
+ return s
+}
+
+// SetLimit sets the Limit field's value.
+func (s *GetApiKeysInput) SetLimit(v int64) *GetApiKeysInput {
+ s.Limit = &v
+ return s
+}
+
+// SetNameQuery sets the NameQuery field's value.
+func (s *GetApiKeysInput) SetNameQuery(v string) *GetApiKeysInput {
+ s.NameQuery = &v
+ return s
+}
+
+// SetPosition sets the Position field's value.
+func (s *GetApiKeysInput) SetPosition(v string) *GetApiKeysInput {
+ s.Position = &v
+ return s
+}
+
// Represents a collection of API keys as represented by an ApiKeys resource.
//
// Use API Keys (http://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-api-keys.html)
@@ -9038,6 +9913,24 @@ func (s GetApiKeysOutput) GoString() string {
return s.String()
}
+// SetItems sets the Items field's value.
+func (s *GetApiKeysOutput) SetItems(v []*ApiKey) *GetApiKeysOutput {
+ s.Items = v
+ return s
+}
+
+// SetPosition sets the Position field's value.
+func (s *GetApiKeysOutput) SetPosition(v string) *GetApiKeysOutput {
+ s.Position = &v
+ return s
+}
+
+// SetWarnings sets the Warnings field's value.
+func (s *GetApiKeysOutput) SetWarnings(v []*string) *GetApiKeysOutput {
+ s.Warnings = v
+ return s
+}
+
// Request to describe an existing Authorizer resource.
type GetAuthorizerInput struct {
_ struct{} `type:"structure"`
@@ -9079,6 +9972,18 @@ func (s *GetAuthorizerInput) Validate() error {
return nil
}
+// SetAuthorizerId sets the AuthorizerId field's value.
+func (s *GetAuthorizerInput) SetAuthorizerId(v string) *GetAuthorizerInput {
+ s.AuthorizerId = &v
+ return s
+}
+
+// SetRestApiId sets the RestApiId field's value.
+func (s *GetAuthorizerInput) SetRestApiId(v string) *GetAuthorizerInput {
+ s.RestApiId = &v
+ return s
+}
+
// Request to describe an existing Authorizers resource.
type GetAuthorizersInput struct {
_ struct{} `type:"structure"`
@@ -9119,6 +10024,24 @@ func (s *GetAuthorizersInput) Validate() error {
return nil
}
+// SetLimit sets the Limit field's value.
+func (s *GetAuthorizersInput) SetLimit(v int64) *GetAuthorizersInput {
+ s.Limit = &v
+ return s
+}
+
+// SetPosition sets the Position field's value.
+func (s *GetAuthorizersInput) SetPosition(v string) *GetAuthorizersInput {
+ s.Position = &v
+ return s
+}
+
+// SetRestApiId sets the RestApiId field's value.
+func (s *GetAuthorizersInput) SetRestApiId(v string) *GetAuthorizersInput {
+ s.RestApiId = &v
+ return s
+}
+
// Represents a collection of Authorizer resources.
//
// Enable custom authorization (http://docs.aws.amazon.com/apigateway/latest/developerguide/use-custom-authorizer.html)
@@ -9141,6 +10064,18 @@ func (s GetAuthorizersOutput) GoString() string {
return s.String()
}
+// SetItems sets the Items field's value.
+func (s *GetAuthorizersOutput) SetItems(v []*Authorizer) *GetAuthorizersOutput {
+ s.Items = v
+ return s
+}
+
+// SetPosition sets the Position field's value.
+func (s *GetAuthorizersOutput) SetPosition(v string) *GetAuthorizersOutput {
+ s.Position = &v
+ return s
+}
+
// Request to describe a BasePathMapping resource.
type GetBasePathMappingInput struct {
_ struct{} `type:"structure"`
@@ -9185,6 +10120,18 @@ func (s *GetBasePathMappingInput) Validate() error {
return nil
}
+// SetBasePath sets the BasePath field's value.
+func (s *GetBasePathMappingInput) SetBasePath(v string) *GetBasePathMappingInput {
+ s.BasePath = &v
+ return s
+}
+
+// SetDomainName sets the DomainName field's value.
+func (s *GetBasePathMappingInput) SetDomainName(v string) *GetBasePathMappingInput {
+ s.DomainName = &v
+ return s
+}
+
// A request to get information about a collection of BasePathMapping resources.
type GetBasePathMappingsInput struct {
_ struct{} `type:"structure"`
@@ -9227,6 +10174,24 @@ func (s *GetBasePathMappingsInput) Validate() error {
return nil
}
+// SetDomainName sets the DomainName field's value.
+func (s *GetBasePathMappingsInput) SetDomainName(v string) *GetBasePathMappingsInput {
+ s.DomainName = &v
+ return s
+}
+
+// SetLimit sets the Limit field's value.
+func (s *GetBasePathMappingsInput) SetLimit(v int64) *GetBasePathMappingsInput {
+ s.Limit = &v
+ return s
+}
+
+// SetPosition sets the Position field's value.
+func (s *GetBasePathMappingsInput) SetPosition(v string) *GetBasePathMappingsInput {
+ s.Position = &v
+ return s
+}
+
// Represents a collection of BasePathMapping resources.
//
// Use Custom Domain Names (http://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-custom-domains.html)
@@ -9250,6 +10215,18 @@ func (s GetBasePathMappingsOutput) GoString() string {
return s.String()
}
+// SetItems sets the Items field's value.
+func (s *GetBasePathMappingsOutput) SetItems(v []*BasePathMapping) *GetBasePathMappingsOutput {
+ s.Items = v
+ return s
+}
+
+// SetPosition sets the Position field's value.
+func (s *GetBasePathMappingsOutput) SetPosition(v string) *GetBasePathMappingsOutput {
+ s.Position = &v
+ return s
+}
+
// A request to get information about the current ClientCertificate resource.
type GetClientCertificateInput struct {
_ struct{} `type:"structure"`
@@ -9283,6 +10260,12 @@ func (s *GetClientCertificateInput) Validate() error {
return nil
}
+// SetClientCertificateId sets the ClientCertificateId field's value.
+func (s *GetClientCertificateInput) SetClientCertificateId(v string) *GetClientCertificateInput {
+ s.ClientCertificateId = &v
+ return s
+}
+
// A request to get information about a collection of ClientCertificate resources.
type GetClientCertificatesInput struct {
_ struct{} `type:"structure"`
@@ -9307,6 +10290,18 @@ func (s GetClientCertificatesInput) GoString() string {
return s.String()
}
+// SetLimit sets the Limit field's value.
+func (s *GetClientCertificatesInput) SetLimit(v int64) *GetClientCertificatesInput {
+ s.Limit = &v
+ return s
+}
+
+// SetPosition sets the Position field's value.
+func (s *GetClientCertificatesInput) SetPosition(v string) *GetClientCertificatesInput {
+ s.Position = &v
+ return s
+}
+
// Represents a collection of ClientCertificate resources.
//
// Use Client-Side Certificate (http://docs.aws.amazon.com/apigateway/latest/developerguide/getting-started-client-side-ssl-authentication.html)
@@ -9330,6 +10325,18 @@ func (s GetClientCertificatesOutput) GoString() string {
return s.String()
}
+// SetItems sets the Items field's value.
+func (s *GetClientCertificatesOutput) SetItems(v []*ClientCertificate) *GetClientCertificatesOutput {
+ s.Items = v
+ return s
+}
+
+// SetPosition sets the Position field's value.
+func (s *GetClientCertificatesOutput) SetPosition(v string) *GetClientCertificatesOutput {
+ s.Position = &v
+ return s
+}
+
// Requests Amazon API Gateway to get information about a Deployment resource.
type GetDeploymentInput struct {
_ struct{} `type:"structure"`
@@ -9372,6 +10379,18 @@ func (s *GetDeploymentInput) Validate() error {
return nil
}
+// SetDeploymentId sets the DeploymentId field's value.
+func (s *GetDeploymentInput) SetDeploymentId(v string) *GetDeploymentInput {
+ s.DeploymentId = &v
+ return s
+}
+
+// SetRestApiId sets the RestApiId field's value.
+func (s *GetDeploymentInput) SetRestApiId(v string) *GetDeploymentInput {
+ s.RestApiId = &v
+ return s
+}
+
// Requests Amazon API Gateway to get information about a Deployments collection.
type GetDeploymentsInput struct {
_ struct{} `type:"structure"`
@@ -9414,6 +10433,24 @@ func (s *GetDeploymentsInput) Validate() error {
return nil
}
+// SetLimit sets the Limit field's value.
+func (s *GetDeploymentsInput) SetLimit(v int64) *GetDeploymentsInput {
+ s.Limit = &v
+ return s
+}
+
+// SetPosition sets the Position field's value.
+func (s *GetDeploymentsInput) SetPosition(v string) *GetDeploymentsInput {
+ s.Position = &v
+ return s
+}
+
+// SetRestApiId sets the RestApiId field's value.
+func (s *GetDeploymentsInput) SetRestApiId(v string) *GetDeploymentsInput {
+ s.RestApiId = &v
+ return s
+}
+
// Represents a collection resource that contains zero or more references to
// your existing deployments, and links that guide you on how to interact with
// your collection. The collection offers a paginated view of the contained
@@ -9446,6 +10483,18 @@ func (s GetDeploymentsOutput) GoString() string {
return s.String()
}
+// SetItems sets the Items field's value.
+func (s *GetDeploymentsOutput) SetItems(v []*Deployment) *GetDeploymentsOutput {
+ s.Items = v
+ return s
+}
+
+// SetPosition sets the Position field's value.
+func (s *GetDeploymentsOutput) SetPosition(v string) *GetDeploymentsOutput {
+ s.Position = &v
+ return s
+}
+
// Request to get the name of a DomainName resource.
type GetDomainNameInput struct {
_ struct{} `type:"structure"`
@@ -9479,6 +10528,12 @@ func (s *GetDomainNameInput) Validate() error {
return nil
}
+// SetDomainName sets the DomainName field's value.
+func (s *GetDomainNameInput) SetDomainName(v string) *GetDomainNameInput {
+ s.DomainName = &v
+ return s
+}
+
// Request to describe a collection of DomainName resources.
type GetDomainNamesInput struct {
_ struct{} `type:"structure"`
@@ -9501,6 +10556,18 @@ func (s GetDomainNamesInput) GoString() string {
return s.String()
}
+// SetLimit sets the Limit field's value.
+func (s *GetDomainNamesInput) SetLimit(v int64) *GetDomainNamesInput {
+ s.Limit = &v
+ return s
+}
+
+// SetPosition sets the Position field's value.
+func (s *GetDomainNamesInput) SetPosition(v string) *GetDomainNamesInput {
+ s.Position = &v
+ return s
+}
+
// Represents a collection of DomainName resources.
//
// Use Client-Side Certificate (http://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-custom-domains.html)
@@ -9524,6 +10591,18 @@ func (s GetDomainNamesOutput) GoString() string {
return s.String()
}
+// SetItems sets the Items field's value.
+func (s *GetDomainNamesOutput) SetItems(v []*DomainName) *GetDomainNamesOutput {
+ s.Items = v
+ return s
+}
+
+// SetPosition sets the Position field's value.
+func (s *GetDomainNamesOutput) SetPosition(v string) *GetDomainNamesOutput {
+ s.Position = &v
+ return s
+}
+
// Request a new export of a RestApi for a particular Stage.
type GetExportInput struct {
_ struct{} `type:"structure"`
@@ -9587,6 +10666,36 @@ func (s *GetExportInput) Validate() error {
return nil
}
+// SetAccepts sets the Accepts field's value.
+func (s *GetExportInput) SetAccepts(v string) *GetExportInput {
+ s.Accepts = &v
+ return s
+}
+
+// SetExportType sets the ExportType field's value.
+func (s *GetExportInput) SetExportType(v string) *GetExportInput {
+ s.ExportType = &v
+ return s
+}
+
+// SetParameters sets the Parameters field's value.
+func (s *GetExportInput) SetParameters(v map[string]*string) *GetExportInput {
+ s.Parameters = v
+ return s
+}
+
+// SetRestApiId sets the RestApiId field's value.
+func (s *GetExportInput) SetRestApiId(v string) *GetExportInput {
+ s.RestApiId = &v
+ return s
+}
+
+// SetStageName sets the StageName field's value.
+func (s *GetExportInput) SetStageName(v string) *GetExportInput {
+ s.StageName = &v
+ return s
+}
+
// The binary blob response to GetExport, which contains the generated SDK.
type GetExportOutput struct {
_ struct{} `type:"structure" payload:"Body"`
@@ -9612,6 +10721,24 @@ func (s GetExportOutput) GoString() string {
return s.String()
}
+// SetBody sets the Body field's value.
+func (s *GetExportOutput) SetBody(v []byte) *GetExportOutput {
+ s.Body = v
+ return s
+}
+
+// SetContentDisposition sets the ContentDisposition field's value.
+func (s *GetExportOutput) SetContentDisposition(v string) *GetExportOutput {
+ s.ContentDisposition = &v
+ return s
+}
+
+// SetContentType sets the ContentType field's value.
+func (s *GetExportOutput) SetContentType(v string) *GetExportOutput {
+ s.ContentType = &v
+ return s
+}
+
// Represents a get integration request.
type GetIntegrationInput struct {
_ struct{} `type:"structure"`
@@ -9661,6 +10788,24 @@ func (s *GetIntegrationInput) Validate() error {
return nil
}
+// SetHttpMethod sets the HttpMethod field's value.
+func (s *GetIntegrationInput) SetHttpMethod(v string) *GetIntegrationInput {
+ s.HttpMethod = &v
+ return s
+}
+
+// SetResourceId sets the ResourceId field's value.
+func (s *GetIntegrationInput) SetResourceId(v string) *GetIntegrationInput {
+ s.ResourceId = &v
+ return s
+}
+
+// SetRestApiId sets the RestApiId field's value.
+func (s *GetIntegrationInput) SetRestApiId(v string) *GetIntegrationInput {
+ s.RestApiId = &v
+ return s
+}
+
// Represents a get integration response request.
type GetIntegrationResponseInput struct {
_ struct{} `type:"structure"`
@@ -9718,6 +10863,30 @@ func (s *GetIntegrationResponseInput) Validate() error {
return nil
}
+// SetHttpMethod sets the HttpMethod field's value.
+func (s *GetIntegrationResponseInput) SetHttpMethod(v string) *GetIntegrationResponseInput {
+ s.HttpMethod = &v
+ return s
+}
+
+// SetResourceId sets the ResourceId field's value.
+func (s *GetIntegrationResponseInput) SetResourceId(v string) *GetIntegrationResponseInput {
+ s.ResourceId = &v
+ return s
+}
+
+// SetRestApiId sets the RestApiId field's value.
+func (s *GetIntegrationResponseInput) SetRestApiId(v string) *GetIntegrationResponseInput {
+ s.RestApiId = &v
+ return s
+}
+
+// SetStatusCode sets the StatusCode field's value.
+func (s *GetIntegrationResponseInput) SetStatusCode(v string) *GetIntegrationResponseInput {
+ s.StatusCode = &v
+ return s
+}
+
// Request to describe an existing Method resource.
type GetMethodInput struct {
_ struct{} `type:"structure"`
@@ -9767,6 +10936,24 @@ func (s *GetMethodInput) Validate() error {
return nil
}
+// SetHttpMethod sets the HttpMethod field's value.
+func (s *GetMethodInput) SetHttpMethod(v string) *GetMethodInput {
+ s.HttpMethod = &v
+ return s
+}
+
+// SetResourceId sets the ResourceId field's value.
+func (s *GetMethodInput) SetResourceId(v string) *GetMethodInput {
+ s.ResourceId = &v
+ return s
+}
+
+// SetRestApiId sets the RestApiId field's value.
+func (s *GetMethodInput) SetRestApiId(v string) *GetMethodInput {
+ s.RestApiId = &v
+ return s
+}
+
// Request to describe a MethodResponse resource.
type GetMethodResponseInput struct {
_ struct{} `type:"structure"`
@@ -9824,6 +11011,30 @@ func (s *GetMethodResponseInput) Validate() error {
return nil
}
+// SetHttpMethod sets the HttpMethod field's value.
+func (s *GetMethodResponseInput) SetHttpMethod(v string) *GetMethodResponseInput {
+ s.HttpMethod = &v
+ return s
+}
+
+// SetResourceId sets the ResourceId field's value.
+func (s *GetMethodResponseInput) SetResourceId(v string) *GetMethodResponseInput {
+ s.ResourceId = &v
+ return s
+}
+
+// SetRestApiId sets the RestApiId field's value.
+func (s *GetMethodResponseInput) SetRestApiId(v string) *GetMethodResponseInput {
+ s.RestApiId = &v
+ return s
+}
+
+// SetStatusCode sets the StatusCode field's value.
+func (s *GetMethodResponseInput) SetStatusCode(v string) *GetMethodResponseInput {
+ s.StatusCode = &v
+ return s
+}
+
// Request to list information about a model in an existing RestApi resource.
type GetModelInput struct {
_ struct{} `type:"structure"`
@@ -9870,6 +11081,24 @@ func (s *GetModelInput) Validate() error {
return nil
}
+// SetFlatten sets the Flatten field's value.
+func (s *GetModelInput) SetFlatten(v bool) *GetModelInput {
+ s.Flatten = &v
+ return s
+}
+
+// SetModelName sets the ModelName field's value.
+func (s *GetModelInput) SetModelName(v string) *GetModelInput {
+ s.ModelName = &v
+ return s
+}
+
+// SetRestApiId sets the RestApiId field's value.
+func (s *GetModelInput) SetRestApiId(v string) *GetModelInput {
+ s.RestApiId = &v
+ return s
+}
+
// Request to generate a sample mapping template used to transform the payload.
type GetModelTemplateInput struct {
_ struct{} `type:"structure"`
@@ -9911,6 +11140,18 @@ func (s *GetModelTemplateInput) Validate() error {
return nil
}
+// SetModelName sets the ModelName field's value.
+func (s *GetModelTemplateInput) SetModelName(v string) *GetModelTemplateInput {
+ s.ModelName = &v
+ return s
+}
+
+// SetRestApiId sets the RestApiId field's value.
+func (s *GetModelTemplateInput) SetRestApiId(v string) *GetModelTemplateInput {
+ s.RestApiId = &v
+ return s
+}
+
// Represents a mapping template used to transform a payload.
//
// Mapping Templates (http://docs.aws.amazon.com/apigateway/latest/developerguide/models-mappings.html#models-mappings-mappings)
@@ -9932,6 +11173,12 @@ func (s GetModelTemplateOutput) GoString() string {
return s.String()
}
+// SetValue sets the Value field's value.
+func (s *GetModelTemplateOutput) SetValue(v string) *GetModelTemplateOutput {
+ s.Value = &v
+ return s
+}
+
// Request to list existing Models defined for a RestApi resource.
type GetModelsInput struct {
_ struct{} `type:"structure"`
@@ -9973,6 +11220,24 @@ func (s *GetModelsInput) Validate() error {
return nil
}
+// SetLimit sets the Limit field's value.
+func (s *GetModelsInput) SetLimit(v int64) *GetModelsInput {
+ s.Limit = &v
+ return s
+}
+
+// SetPosition sets the Position field's value.
+func (s *GetModelsInput) SetPosition(v string) *GetModelsInput {
+ s.Position = &v
+ return s
+}
+
+// SetRestApiId sets the RestApiId field's value.
+func (s *GetModelsInput) SetRestApiId(v string) *GetModelsInput {
+ s.RestApiId = &v
+ return s
+}
+
// Represents a collection of Model resources.
//
// Method, MethodResponse, Models and Mappings (http://docs.aws.amazon.com/apigateway/latest/developerguide/models-mappings.html)
@@ -9995,6 +11260,18 @@ func (s GetModelsOutput) GoString() string {
return s.String()
}
+// SetItems sets the Items field's value.
+func (s *GetModelsOutput) SetItems(v []*Model) *GetModelsOutput {
+ s.Items = v
+ return s
+}
+
+// SetPosition sets the Position field's value.
+func (s *GetModelsOutput) SetPosition(v string) *GetModelsOutput {
+ s.Position = &v
+ return s
+}
+
// Request to list information about a resource.
type GetResourceInput struct {
_ struct{} `type:"structure"`
@@ -10036,6 +11313,18 @@ func (s *GetResourceInput) Validate() error {
return nil
}
+// SetResourceId sets the ResourceId field's value.
+func (s *GetResourceInput) SetResourceId(v string) *GetResourceInput {
+ s.ResourceId = &v
+ return s
+}
+
+// SetRestApiId sets the RestApiId field's value.
+func (s *GetResourceInput) SetRestApiId(v string) *GetResourceInput {
+ s.RestApiId = &v
+ return s
+}
+
// Request to list information about a collection of resources.
type GetResourcesInput struct {
_ struct{} `type:"structure"`
@@ -10077,6 +11366,24 @@ func (s *GetResourcesInput) Validate() error {
return nil
}
+// SetLimit sets the Limit field's value.
+func (s *GetResourcesInput) SetLimit(v int64) *GetResourcesInput {
+ s.Limit = &v
+ return s
+}
+
+// SetPosition sets the Position field's value.
+func (s *GetResourcesInput) SetPosition(v string) *GetResourcesInput {
+ s.Position = &v
+ return s
+}
+
+// SetRestApiId sets the RestApiId field's value.
+func (s *GetResourcesInput) SetRestApiId(v string) *GetResourcesInput {
+ s.RestApiId = &v
+ return s
+}
+
// Represents a collection of Resource resources.
//
// Create an API (http://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-create-api.html)
@@ -10099,6 +11406,18 @@ func (s GetResourcesOutput) GoString() string {
return s.String()
}
+// SetItems sets the Items field's value.
+func (s *GetResourcesOutput) SetItems(v []*Resource) *GetResourcesOutput {
+ s.Items = v
+ return s
+}
+
+// SetPosition sets the Position field's value.
+func (s *GetResourcesOutput) SetPosition(v string) *GetResourcesOutput {
+ s.Position = &v
+ return s
+}
+
// The GET request to list an existing RestApi defined for your collection.
type GetRestApiInput struct {
_ struct{} `type:"structure"`
@@ -10132,6 +11451,12 @@ func (s *GetRestApiInput) Validate() error {
return nil
}
+// SetRestApiId sets the RestApiId field's value.
+func (s *GetRestApiInput) SetRestApiId(v string) *GetRestApiInput {
+ s.RestApiId = &v
+ return s
+}
+
// The GET request to list existing RestApis defined for your collection.
type GetRestApisInput struct {
_ struct{} `type:"structure"`
@@ -10155,6 +11480,18 @@ func (s GetRestApisInput) GoString() string {
return s.String()
}
+// SetLimit sets the Limit field's value.
+func (s *GetRestApisInput) SetLimit(v int64) *GetRestApisInput {
+ s.Limit = &v
+ return s
+}
+
+// SetPosition sets the Position field's value.
+func (s *GetRestApisInput) SetPosition(v string) *GetRestApisInput {
+ s.Position = &v
+ return s
+}
+
// Contains references to your APIs and links that guide you in how to interact
// with your collection. A collection offers a paginated view of your APIs.
//
@@ -10178,6 +11515,18 @@ func (s GetRestApisOutput) GoString() string {
return s.String()
}
+// SetItems sets the Items field's value.
+func (s *GetRestApisOutput) SetItems(v []*RestApi) *GetRestApisOutput {
+ s.Items = v
+ return s
+}
+
+// SetPosition sets the Position field's value.
+func (s *GetRestApisOutput) SetPosition(v string) *GetRestApisOutput {
+ s.Position = &v
+ return s
+}
+
// Request a new generated client SDK for a RestApi and Stage.
type GetSdkInput struct {
_ struct{} `type:"structure"`
@@ -10234,6 +11583,30 @@ func (s *GetSdkInput) Validate() error {
return nil
}
+// SetParameters sets the Parameters field's value.
+func (s *GetSdkInput) SetParameters(v map[string]*string) *GetSdkInput {
+ s.Parameters = v
+ return s
+}
+
+// SetRestApiId sets the RestApiId field's value.
+func (s *GetSdkInput) SetRestApiId(v string) *GetSdkInput {
+ s.RestApiId = &v
+ return s
+}
+
+// SetSdkType sets the SdkType field's value.
+func (s *GetSdkInput) SetSdkType(v string) *GetSdkInput {
+ s.SdkType = &v
+ return s
+}
+
+// SetStageName sets the StageName field's value.
+func (s *GetSdkInput) SetStageName(v string) *GetSdkInput {
+ s.StageName = &v
+ return s
+}
+
// The binary blob response to GetSdk, which contains the generated SDK.
type GetSdkOutput struct {
_ struct{} `type:"structure" payload:"Body"`
@@ -10258,6 +11631,24 @@ func (s GetSdkOutput) GoString() string {
return s.String()
}
+// SetBody sets the Body field's value.
+func (s *GetSdkOutput) SetBody(v []byte) *GetSdkOutput {
+ s.Body = v
+ return s
+}
+
+// SetContentDisposition sets the ContentDisposition field's value.
+func (s *GetSdkOutput) SetContentDisposition(v string) *GetSdkOutput {
+ s.ContentDisposition = &v
+ return s
+}
+
+// SetContentType sets the ContentType field's value.
+func (s *GetSdkOutput) SetContentType(v string) *GetSdkOutput {
+ s.ContentType = &v
+ return s
+}
+
// Requests Amazon API Gateway to get information about a Stage resource.
type GetStageInput struct {
_ struct{} `type:"structure"`
@@ -10300,6 +11691,18 @@ func (s *GetStageInput) Validate() error {
return nil
}
+// SetRestApiId sets the RestApiId field's value.
+func (s *GetStageInput) SetRestApiId(v string) *GetStageInput {
+ s.RestApiId = &v
+ return s
+}
+
+// SetStageName sets the StageName field's value.
+func (s *GetStageInput) SetStageName(v string) *GetStageInput {
+ s.StageName = &v
+ return s
+}
+
// Requests Amazon API Gateway to get information about one or more Stage resources.
type GetStagesInput struct {
_ struct{} `type:"structure"`
@@ -10336,6 +11739,18 @@ func (s *GetStagesInput) Validate() error {
return nil
}
+// SetDeploymentId sets the DeploymentId field's value.
+func (s *GetStagesInput) SetDeploymentId(v string) *GetStagesInput {
+ s.DeploymentId = &v
+ return s
+}
+
+// SetRestApiId sets the RestApiId field's value.
+func (s *GetStagesInput) SetRestApiId(v string) *GetStagesInput {
+ s.RestApiId = &v
+ return s
+}
+
// A list of Stage resources that are associated with the ApiKey resource.
//
// Deploying API in Stages (http://docs.aws.amazon.com/apigateway/latest/developerguide/stages.html)
@@ -10356,6 +11771,12 @@ func (s GetStagesOutput) GoString() string {
return s.String()
}
+// SetItem sets the Item field's value.
+func (s *GetStagesOutput) SetItem(v []*Stage) *GetStagesOutput {
+ s.Item = v
+ return s
+}
+
// The GET request to get the usage data of a usage plan in a specified time
// interval.
type GetUsageInput struct {
@@ -10415,6 +11836,42 @@ func (s *GetUsageInput) Validate() error {
return nil
}
+// SetEndDate sets the EndDate field's value.
+func (s *GetUsageInput) SetEndDate(v string) *GetUsageInput {
+ s.EndDate = &v
+ return s
+}
+
+// SetKeyId sets the KeyId field's value.
+func (s *GetUsageInput) SetKeyId(v string) *GetUsageInput {
+ s.KeyId = &v
+ return s
+}
+
+// SetLimit sets the Limit field's value.
+func (s *GetUsageInput) SetLimit(v int64) *GetUsageInput {
+ s.Limit = &v
+ return s
+}
+
+// SetPosition sets the Position field's value.
+func (s *GetUsageInput) SetPosition(v string) *GetUsageInput {
+ s.Position = &v
+ return s
+}
+
+// SetStartDate sets the StartDate field's value.
+func (s *GetUsageInput) SetStartDate(v string) *GetUsageInput {
+ s.StartDate = &v
+ return s
+}
+
+// SetUsagePlanId sets the UsagePlanId field's value.
+func (s *GetUsageInput) SetUsagePlanId(v string) *GetUsageInput {
+ s.UsagePlanId = &v
+ return s
+}
+
// The GET request to get a usage plan of a given plan identifier.
type GetUsagePlanInput struct {
_ struct{} `type:"structure"`
@@ -10448,6 +11905,12 @@ func (s *GetUsagePlanInput) Validate() error {
return nil
}
+// SetUsagePlanId sets the UsagePlanId field's value.
+func (s *GetUsagePlanInput) SetUsagePlanId(v string) *GetUsagePlanInput {
+ s.UsagePlanId = &v
+ return s
+}
+
// The GET request to get a usage plan key of a given key identifier.
type GetUsagePlanKeyInput struct {
_ struct{} `type:"structure"`
@@ -10491,6 +11954,18 @@ func (s *GetUsagePlanKeyInput) Validate() error {
return nil
}
+// SetKeyId sets the KeyId field's value.
+func (s *GetUsagePlanKeyInput) SetKeyId(v string) *GetUsagePlanKeyInput {
+ s.KeyId = &v
+ return s
+}
+
+// SetUsagePlanId sets the UsagePlanId field's value.
+func (s *GetUsagePlanKeyInput) SetUsagePlanId(v string) *GetUsagePlanKeyInput {
+ s.UsagePlanId = &v
+ return s
+}
+
// The GET request to get all the usage plan keys representing the API keys
// added to a specified usage plan.
type GetUsagePlanKeysInput struct {
@@ -10537,6 +12012,30 @@ func (s *GetUsagePlanKeysInput) Validate() error {
return nil
}
+// SetLimit sets the Limit field's value.
+func (s *GetUsagePlanKeysInput) SetLimit(v int64) *GetUsagePlanKeysInput {
+ s.Limit = &v
+ return s
+}
+
+// SetNameQuery sets the NameQuery field's value.
+func (s *GetUsagePlanKeysInput) SetNameQuery(v string) *GetUsagePlanKeysInput {
+ s.NameQuery = &v
+ return s
+}
+
+// SetPosition sets the Position field's value.
+func (s *GetUsagePlanKeysInput) SetPosition(v string) *GetUsagePlanKeysInput {
+ s.Position = &v
+ return s
+}
+
+// SetUsagePlanId sets the UsagePlanId field's value.
+func (s *GetUsagePlanKeysInput) SetUsagePlanId(v string) *GetUsagePlanKeysInput {
+ s.UsagePlanId = &v
+ return s
+}
+
// Represents the collection of usage plan keys added to usage plans for the
// associated API keys and, possibly, other types of keys.
//
@@ -10560,7 +12059,19 @@ func (s GetUsagePlanKeysOutput) GoString() string {
return s.String()
}
-// The GET request to get all the usage plans of the caller's account.
+// SetItems sets the Items field's value.
+func (s *GetUsagePlanKeysOutput) SetItems(v []*UsagePlanKey) *GetUsagePlanKeysOutput {
+ s.Items = v
+ return s
+}
+
+// SetPosition sets the Position field's value.
+func (s *GetUsagePlanKeysOutput) SetPosition(v string) *GetUsagePlanKeysOutput {
+ s.Position = &v
+ return s
+}
+
+// The GET request to get all the usage plans of the caller's account.
type GetUsagePlansInput struct {
_ struct{} `type:"structure"`
@@ -10585,6 +12096,24 @@ func (s GetUsagePlansInput) GoString() string {
return s.String()
}
+// SetKeyId sets the KeyId field's value.
+func (s *GetUsagePlansInput) SetKeyId(v string) *GetUsagePlansInput {
+ s.KeyId = &v
+ return s
+}
+
+// SetLimit sets the Limit field's value.
+func (s *GetUsagePlansInput) SetLimit(v int64) *GetUsagePlansInput {
+ s.Limit = &v
+ return s
+}
+
+// SetPosition sets the Position field's value.
+func (s *GetUsagePlansInput) SetPosition(v string) *GetUsagePlansInput {
+ s.Position = &v
+ return s
+}
+
// Represents a collection of usage plans for an AWS account.
//
// Create and Use Usage Plans (http://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-api-usage-plans.html)
@@ -10607,6 +12136,18 @@ func (s GetUsagePlansOutput) GoString() string {
return s.String()
}
+// SetItems sets the Items field's value.
+func (s *GetUsagePlansOutput) SetItems(v []*UsagePlan) *GetUsagePlansOutput {
+ s.Items = v
+ return s
+}
+
+// SetPosition sets the Position field's value.
+func (s *GetUsagePlansOutput) SetPosition(v string) *GetUsagePlansOutput {
+ 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 {
@@ -10655,6 +12196,24 @@ func (s *ImportApiKeysInput) Validate() error {
return nil
}
+// SetBody sets the Body field's value.
+func (s *ImportApiKeysInput) SetBody(v []byte) *ImportApiKeysInput {
+ s.Body = v
+ return s
+}
+
+// SetFailOnWarnings sets the FailOnWarnings field's value.
+func (s *ImportApiKeysInput) SetFailOnWarnings(v bool) *ImportApiKeysInput {
+ s.FailOnWarnings = &v
+ return s
+}
+
+// SetFormat sets the Format field's value.
+func (s *ImportApiKeysInput) SetFormat(v string) *ImportApiKeysInput {
+ s.Format = &v
+ return s
+}
+
// The identifier of an API key used to reference an API key in a usage plan.
type ImportApiKeysOutput struct {
_ struct{} `type:"structure"`
@@ -10676,6 +12235,18 @@ func (s ImportApiKeysOutput) GoString() string {
return s.String()
}
+// SetIds sets the Ids field's value.
+func (s *ImportApiKeysOutput) SetIds(v []*string) *ImportApiKeysOutput {
+ s.Ids = v
+ return s
+}
+
+// SetWarnings sets the Warnings field's value.
+func (s *ImportApiKeysOutput) SetWarnings(v []*string) *ImportApiKeysOutput {
+ s.Warnings = v
+ return s
+}
+
// A POST request to import an API to Amazon API Gateway using an input of an
// API definition file.
type ImportRestApiInput struct {
@@ -10718,11 +12289,29 @@ func (s *ImportRestApiInput) Validate() error {
return nil
}
-// Represents an HTTP, AWS, or Mock integration.
+// SetBody sets the Body field's value.
+func (s *ImportRestApiInput) SetBody(v []byte) *ImportRestApiInput {
+ s.Body = v
+ return s
+}
+
+// SetFailOnWarnings sets the FailOnWarnings field's value.
+func (s *ImportRestApiInput) SetFailOnWarnings(v bool) *ImportRestApiInput {
+ s.FailOnWarnings = &v
+ return s
+}
+
+// SetParameters sets the Parameters field's value.
+func (s *ImportRestApiInput) SetParameters(v map[string]*string) *ImportRestApiInput {
+ s.Parameters = v
+ return s
+}
+
+// Represents an HTTP, HTTP_PROXY, AWS, AWS_PROXY, or Mock integration.
//
// In the API Gateway console, the built-in Lambda integration is an AWS integration.
//
-// Creating an API (http://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-create-api.html)
+// Creating an API (http://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-create-api.html),
type Integration struct {
_ struct{} `type:"structure"`
@@ -10732,6 +12321,20 @@ type Integration struct {
// Specifies the integration's cache namespace.
CacheNamespace *string `locationName:"cacheNamespace" type:"string"`
+ // Specifies how to handle request payload content type conversions. Supported
+ // values are CONVERT_TO_BINARY and CONVERT_TO_TEXT, with the following behaviors:
+ //
+ // * CONVERT_TO_BINARY: Converts a request payload from a Base64-encoded
+ // string to the corresponding binary blob.
+ //
+ // * CONVERT_TO_TEXT: Converts a request payload from a binary blob to a
+ // Base64-encoded string.
+ //
+ // If this property is not defined, the request payload will be passed through
+ // from the method request to integration request without modification, provided
+ // that the passthroughBehaviors is configured to support payload pass-through.
+ 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
@@ -10833,6 +12436,72 @@ func (s Integration) GoString() string {
return s.String()
}
+// SetCacheKeyParameters sets the CacheKeyParameters field's value.
+func (s *Integration) SetCacheKeyParameters(v []*string) *Integration {
+ s.CacheKeyParameters = v
+ return s
+}
+
+// SetCacheNamespace sets the CacheNamespace field's value.
+func (s *Integration) SetCacheNamespace(v string) *Integration {
+ s.CacheNamespace = &v
+ return s
+}
+
+// SetContentHandling sets the ContentHandling field's value.
+func (s *Integration) SetContentHandling(v string) *Integration {
+ s.ContentHandling = &v
+ return s
+}
+
+// SetCredentials sets the Credentials field's value.
+func (s *Integration) SetCredentials(v string) *Integration {
+ s.Credentials = &v
+ return s
+}
+
+// SetHttpMethod sets the HttpMethod field's value.
+func (s *Integration) SetHttpMethod(v string) *Integration {
+ s.HttpMethod = &v
+ return s
+}
+
+// SetIntegrationResponses sets the IntegrationResponses field's value.
+func (s *Integration) SetIntegrationResponses(v map[string]*IntegrationResponse) *Integration {
+ s.IntegrationResponses = v
+ return s
+}
+
+// SetPassthroughBehavior sets the PassthroughBehavior field's value.
+func (s *Integration) SetPassthroughBehavior(v string) *Integration {
+ s.PassthroughBehavior = &v
+ return s
+}
+
+// SetRequestParameters sets the RequestParameters field's value.
+func (s *Integration) SetRequestParameters(v map[string]*string) *Integration {
+ s.RequestParameters = v
+ return s
+}
+
+// SetRequestTemplates sets the RequestTemplates field's value.
+func (s *Integration) SetRequestTemplates(v map[string]*string) *Integration {
+ s.RequestTemplates = v
+ return s
+}
+
+// SetType sets the Type field's value.
+func (s *Integration) SetType(v string) *Integration {
+ s.Type = &v
+ return s
+}
+
+// SetUri sets the Uri field's value.
+func (s *Integration) SetUri(v string) *Integration {
+ s.Uri = &v
+ return s
+}
+
// Represents an integration response. The status code must map to an existing
// MethodResponse, and parameters and templates can be used to transform the
// back-end response.
@@ -10841,6 +12510,19 @@ func (s Integration) GoString() string {
type IntegrationResponse struct {
_ struct{} `type:"structure"`
+ // Specifies how to handle response payload content type conversions. Supported
+ // values are CONVERT_TO_BINARY and CONVERT_TO_TEXT, with the following behaviors:
+ //
+ // * CONVERT_TO_BINARY: Converts a response payload from a Base64-encoded
+ // string to the corresponding binary blob.
+ //
+ // * CONVERT_TO_TEXT: Converts a response payload from a binary blob to a
+ // Base64-encoded string.
+ //
+ // If this property is not defined, the response payload will be passed through
+ // from the integration response to the method response without modification.
+ ContentHandling *string `locationName:"contentHandling" type:"string" enum:"ContentHandlingStrategy"`
+
// A key-value map specifying response parameters that are passed to the method
// response from the back end. The key is a method response header parameter
// name and the mapped value is an integration response header value, a static
@@ -10883,6 +12565,36 @@ func (s IntegrationResponse) GoString() string {
return s.String()
}
+// SetContentHandling sets the ContentHandling field's value.
+func (s *IntegrationResponse) SetContentHandling(v string) *IntegrationResponse {
+ s.ContentHandling = &v
+ return s
+}
+
+// SetResponseParameters sets the ResponseParameters field's value.
+func (s *IntegrationResponse) SetResponseParameters(v map[string]*string) *IntegrationResponse {
+ s.ResponseParameters = v
+ return s
+}
+
+// SetResponseTemplates sets the ResponseTemplates field's value.
+func (s *IntegrationResponse) SetResponseTemplates(v map[string]*string) *IntegrationResponse {
+ s.ResponseTemplates = v
+ return s
+}
+
+// SetSelectionPattern sets the SelectionPattern field's value.
+func (s *IntegrationResponse) SetSelectionPattern(v string) *IntegrationResponse {
+ s.SelectionPattern = &v
+ return s
+}
+
+// SetStatusCode sets the StatusCode field's value.
+func (s *IntegrationResponse) SetStatusCode(v string) *IntegrationResponse {
+ s.StatusCode = &v
+ return s
+}
+
// Represents a client-facing interface by which the client calls the API to
// access back-end resources. A Method resource is integrated with an Integration
// resource. Both consist of a request and one or more responses. The method
@@ -11069,6 +12781,54 @@ func (s Method) GoString() string {
return s.String()
}
+// SetApiKeyRequired sets the ApiKeyRequired field's value.
+func (s *Method) SetApiKeyRequired(v bool) *Method {
+ s.ApiKeyRequired = &v
+ return s
+}
+
+// SetAuthorizationType sets the AuthorizationType field's value.
+func (s *Method) SetAuthorizationType(v string) *Method {
+ s.AuthorizationType = &v
+ return s
+}
+
+// SetAuthorizerId sets the AuthorizerId field's value.
+func (s *Method) SetAuthorizerId(v string) *Method {
+ s.AuthorizerId = &v
+ return s
+}
+
+// SetHttpMethod sets the HttpMethod field's value.
+func (s *Method) SetHttpMethod(v string) *Method {
+ s.HttpMethod = &v
+ return s
+}
+
+// SetMethodIntegration sets the MethodIntegration field's value.
+func (s *Method) SetMethodIntegration(v *Integration) *Method {
+ s.MethodIntegration = v
+ return s
+}
+
+// SetMethodResponses sets the MethodResponses field's value.
+func (s *Method) SetMethodResponses(v map[string]*MethodResponse) *Method {
+ s.MethodResponses = v
+ return s
+}
+
+// SetRequestModels sets the RequestModels field's value.
+func (s *Method) SetRequestModels(v map[string]*string) *Method {
+ s.RequestModels = v
+ return s
+}
+
+// SetRequestParameters sets the RequestParameters field's value.
+func (s *Method) SetRequestParameters(v map[string]*bool) *Method {
+ s.RequestParameters = v
+ return s
+}
+
// Represents a method response of a given HTTP status code returned to the
// client. The method response is passed from the back end through the associated
// integration response that can be transformed using a mapping template.
@@ -11130,6 +12890,24 @@ func (s MethodResponse) GoString() string {
return s.String()
}
+// SetResponseModels sets the ResponseModels field's value.
+func (s *MethodResponse) SetResponseModels(v map[string]*string) *MethodResponse {
+ s.ResponseModels = v
+ return s
+}
+
+// SetResponseParameters sets the ResponseParameters field's value.
+func (s *MethodResponse) SetResponseParameters(v map[string]*bool) *MethodResponse {
+ s.ResponseParameters = v
+ return s
+}
+
+// SetStatusCode sets the StatusCode field's value.
+func (s *MethodResponse) SetStatusCode(v string) *MethodResponse {
+ s.StatusCode = &v
+ return s
+}
+
// Specifies the method setting properties.
type MethodSetting struct {
_ struct{} `type:"structure"`
@@ -11196,6 +12974,66 @@ func (s MethodSetting) GoString() string {
return s.String()
}
+// SetCacheDataEncrypted sets the CacheDataEncrypted field's value.
+func (s *MethodSetting) SetCacheDataEncrypted(v bool) *MethodSetting {
+ s.CacheDataEncrypted = &v
+ return s
+}
+
+// SetCacheTtlInSeconds sets the CacheTtlInSeconds field's value.
+func (s *MethodSetting) SetCacheTtlInSeconds(v int64) *MethodSetting {
+ s.CacheTtlInSeconds = &v
+ return s
+}
+
+// SetCachingEnabled sets the CachingEnabled field's value.
+func (s *MethodSetting) SetCachingEnabled(v bool) *MethodSetting {
+ s.CachingEnabled = &v
+ return s
+}
+
+// SetDataTraceEnabled sets the DataTraceEnabled field's value.
+func (s *MethodSetting) SetDataTraceEnabled(v bool) *MethodSetting {
+ s.DataTraceEnabled = &v
+ return s
+}
+
+// SetLoggingLevel sets the LoggingLevel field's value.
+func (s *MethodSetting) SetLoggingLevel(v string) *MethodSetting {
+ s.LoggingLevel = &v
+ return s
+}
+
+// SetMetricsEnabled sets the MetricsEnabled field's value.
+func (s *MethodSetting) SetMetricsEnabled(v bool) *MethodSetting {
+ s.MetricsEnabled = &v
+ return s
+}
+
+// SetRequireAuthorizationForCacheControl sets the RequireAuthorizationForCacheControl field's value.
+func (s *MethodSetting) SetRequireAuthorizationForCacheControl(v bool) *MethodSetting {
+ s.RequireAuthorizationForCacheControl = &v
+ return s
+}
+
+// SetThrottlingBurstLimit sets the ThrottlingBurstLimit field's value.
+func (s *MethodSetting) SetThrottlingBurstLimit(v int64) *MethodSetting {
+ s.ThrottlingBurstLimit = &v
+ return s
+}
+
+// SetThrottlingRateLimit sets the ThrottlingRateLimit field's value.
+func (s *MethodSetting) SetThrottlingRateLimit(v float64) *MethodSetting {
+ s.ThrottlingRateLimit = &v
+ return s
+}
+
+// SetUnauthorizedCacheControlHeaderStrategy sets the UnauthorizedCacheControlHeaderStrategy field's value.
+func (s *MethodSetting) SetUnauthorizedCacheControlHeaderStrategy(v string) *MethodSetting {
+ s.UnauthorizedCacheControlHeaderStrategy = &v
+ return s
+}
+
// Represents a summary of a Method resource, given a particular date and time.
type MethodSnapshot struct {
_ struct{} `type:"structure"`
@@ -11217,6 +13055,18 @@ func (s MethodSnapshot) GoString() string {
return s.String()
}
+// SetApiKeyRequired sets the ApiKeyRequired field's value.
+func (s *MethodSnapshot) SetApiKeyRequired(v bool) *MethodSnapshot {
+ s.ApiKeyRequired = &v
+ return s
+}
+
+// SetAuthorizationType sets the AuthorizationType field's value.
+func (s *MethodSnapshot) SetAuthorizationType(v string) *MethodSnapshot {
+ s.AuthorizationType = &v
+ return s
+}
+
// Represents the data structure of a method's request or response payload.
//
// A request model defines the data structure of the client-supplied request
@@ -11262,6 +13112,36 @@ func (s Model) GoString() string {
return s.String()
}
+// SetContentType sets the ContentType field's value.
+func (s *Model) SetContentType(v string) *Model {
+ s.ContentType = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *Model) SetDescription(v string) *Model {
+ s.Description = &v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *Model) SetId(v string) *Model {
+ s.Id = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *Model) SetName(v string) *Model {
+ s.Name = &v
+ return s
+}
+
+// SetSchema sets the Schema field's value.
+func (s *Model) SetSchema(v string) *Model {
+ s.Schema = &v
+ return s
+}
+
// A single patch operation to apply to the specified resource. Please refer
// to http://tools.ietf.org/html/rfc6902#section-4 for an explanation of how
// each operation is used.
@@ -11302,6 +13182,30 @@ func (s PatchOperation) GoString() string {
return s.String()
}
+// SetFrom sets the From field's value.
+func (s *PatchOperation) SetFrom(v string) *PatchOperation {
+ s.From = &v
+ return s
+}
+
+// SetOp sets the Op field's value.
+func (s *PatchOperation) SetOp(v string) *PatchOperation {
+ s.Op = &v
+ return s
+}
+
+// SetPath sets the Path field's value.
+func (s *PatchOperation) SetPath(v string) *PatchOperation {
+ s.Path = &v
+ return s
+}
+
+// SetValue sets the Value field's value.
+func (s *PatchOperation) SetValue(v string) *PatchOperation {
+ s.Value = &v
+ return s
+}
+
// Represents a put integration request.
type PutIntegrationInput struct {
_ struct{} `type:"structure"`
@@ -11312,6 +13216,20 @@ type PutIntegrationInput struct {
// Specifies a put integration input's cache namespace.
CacheNamespace *string `locationName:"cacheNamespace" type:"string"`
+ // Specifies how to handle request payload content type conversions. Supported
+ // values are CONVERT_TO_BINARY and CONVERT_TO_TEXT, with the following behaviors:
+ //
+ // * CONVERT_TO_BINARY: Converts a request payload from a Base64-encoded
+ // string to the corresponding binary blob.
+ //
+ // * CONVERT_TO_TEXT: Converts a request payload from a binary blob to a
+ // Base64-encoded string.
+ //
+ // If this property is not defined, the request payload will be passed through
+ // from the method request to integration request without modification, provided
+ // that the passthroughBehaviors is configured to support payload pass-through.
+ ContentHandling *string `locationName:"contentHandling" type:"string" enum:"ContentHandlingStrategy"`
+
// Specifies whether credentials are required for a put integration.
Credentials *string `locationName:"credentials" type:"string"`
@@ -11409,10 +13327,101 @@ func (s *PutIntegrationInput) Validate() error {
return nil
}
+// SetCacheKeyParameters sets the CacheKeyParameters field's value.
+func (s *PutIntegrationInput) SetCacheKeyParameters(v []*string) *PutIntegrationInput {
+ s.CacheKeyParameters = v
+ return s
+}
+
+// SetCacheNamespace sets the CacheNamespace field's value.
+func (s *PutIntegrationInput) SetCacheNamespace(v string) *PutIntegrationInput {
+ s.CacheNamespace = &v
+ return s
+}
+
+// SetContentHandling sets the ContentHandling field's value.
+func (s *PutIntegrationInput) SetContentHandling(v string) *PutIntegrationInput {
+ s.ContentHandling = &v
+ return s
+}
+
+// SetCredentials sets the Credentials field's value.
+func (s *PutIntegrationInput) SetCredentials(v string) *PutIntegrationInput {
+ s.Credentials = &v
+ return s
+}
+
+// SetHttpMethod sets the HttpMethod field's value.
+func (s *PutIntegrationInput) SetHttpMethod(v string) *PutIntegrationInput {
+ s.HttpMethod = &v
+ return s
+}
+
+// SetIntegrationHttpMethod sets the IntegrationHttpMethod field's value.
+func (s *PutIntegrationInput) SetIntegrationHttpMethod(v string) *PutIntegrationInput {
+ s.IntegrationHttpMethod = &v
+ return s
+}
+
+// SetPassthroughBehavior sets the PassthroughBehavior field's value.
+func (s *PutIntegrationInput) SetPassthroughBehavior(v string) *PutIntegrationInput {
+ s.PassthroughBehavior = &v
+ return s
+}
+
+// SetRequestParameters sets the RequestParameters field's value.
+func (s *PutIntegrationInput) SetRequestParameters(v map[string]*string) *PutIntegrationInput {
+ s.RequestParameters = v
+ return s
+}
+
+// SetRequestTemplates sets the RequestTemplates field's value.
+func (s *PutIntegrationInput) SetRequestTemplates(v map[string]*string) *PutIntegrationInput {
+ s.RequestTemplates = v
+ return s
+}
+
+// SetResourceId sets the ResourceId field's value.
+func (s *PutIntegrationInput) SetResourceId(v string) *PutIntegrationInput {
+ s.ResourceId = &v
+ return s
+}
+
+// SetRestApiId sets the RestApiId field's value.
+func (s *PutIntegrationInput) SetRestApiId(v string) *PutIntegrationInput {
+ s.RestApiId = &v
+ return s
+}
+
+// SetType sets the Type field's value.
+func (s *PutIntegrationInput) SetType(v string) *PutIntegrationInput {
+ s.Type = &v
+ return s
+}
+
+// SetUri sets the Uri field's value.
+func (s *PutIntegrationInput) SetUri(v string) *PutIntegrationInput {
+ s.Uri = &v
+ return s
+}
+
// Represents a put integration response request.
type PutIntegrationResponseInput struct {
_ struct{} `type:"structure"`
+ // Specifies how to handle response payload content type conversions. Supported
+ // values are CONVERT_TO_BINARY and CONVERT_TO_TEXT, with the following behaviors:
+ //
+ // * CONVERT_TO_BINARY: Converts a response payload from a Base64-encoded
+ // string to the corresponding binary blob.
+ //
+ // * CONVERT_TO_TEXT: Converts a response payload from a binary blob to a
+ // Base64-encoded string.
+ //
+ // If this property is not defined, the response payload will be passed through
+ // from the integration response to the method response without modification.
+ ContentHandling *string `locationName:"contentHandling" type:"string" enum:"ContentHandlingStrategy"`
+
// Specifies a put integration response request's HTTP method.
//
// HttpMethod is a required field
@@ -11485,6 +13494,54 @@ func (s *PutIntegrationResponseInput) Validate() error {
return nil
}
+// SetContentHandling sets the ContentHandling field's value.
+func (s *PutIntegrationResponseInput) SetContentHandling(v string) *PutIntegrationResponseInput {
+ s.ContentHandling = &v
+ return s
+}
+
+// SetHttpMethod sets the HttpMethod field's value.
+func (s *PutIntegrationResponseInput) SetHttpMethod(v string) *PutIntegrationResponseInput {
+ s.HttpMethod = &v
+ return s
+}
+
+// SetResourceId sets the ResourceId field's value.
+func (s *PutIntegrationResponseInput) SetResourceId(v string) *PutIntegrationResponseInput {
+ s.ResourceId = &v
+ return s
+}
+
+// SetResponseParameters sets the ResponseParameters field's value.
+func (s *PutIntegrationResponseInput) SetResponseParameters(v map[string]*string) *PutIntegrationResponseInput {
+ s.ResponseParameters = v
+ return s
+}
+
+// SetResponseTemplates sets the ResponseTemplates field's value.
+func (s *PutIntegrationResponseInput) SetResponseTemplates(v map[string]*string) *PutIntegrationResponseInput {
+ s.ResponseTemplates = v
+ return s
+}
+
+// SetRestApiId sets the RestApiId field's value.
+func (s *PutIntegrationResponseInput) SetRestApiId(v string) *PutIntegrationResponseInput {
+ s.RestApiId = &v
+ return s
+}
+
+// SetSelectionPattern sets the SelectionPattern field's value.
+func (s *PutIntegrationResponseInput) SetSelectionPattern(v string) *PutIntegrationResponseInput {
+ s.SelectionPattern = &v
+ return s
+}
+
+// SetStatusCode sets the StatusCode field's value.
+func (s *PutIntegrationResponseInput) SetStatusCode(v string) *PutIntegrationResponseInput {
+ s.StatusCode = &v
+ return s
+}
+
// Request to add a method to an existing Resource resource.
type PutMethodInput struct {
_ struct{} `type:"structure"`
@@ -11564,6 +13621,54 @@ func (s *PutMethodInput) Validate() error {
return nil
}
+// SetApiKeyRequired sets the ApiKeyRequired field's value.
+func (s *PutMethodInput) SetApiKeyRequired(v bool) *PutMethodInput {
+ s.ApiKeyRequired = &v
+ return s
+}
+
+// SetAuthorizationType sets the AuthorizationType field's value.
+func (s *PutMethodInput) SetAuthorizationType(v string) *PutMethodInput {
+ s.AuthorizationType = &v
+ return s
+}
+
+// SetAuthorizerId sets the AuthorizerId field's value.
+func (s *PutMethodInput) SetAuthorizerId(v string) *PutMethodInput {
+ s.AuthorizerId = &v
+ return s
+}
+
+// SetHttpMethod sets the HttpMethod field's value.
+func (s *PutMethodInput) SetHttpMethod(v string) *PutMethodInput {
+ s.HttpMethod = &v
+ return s
+}
+
+// SetRequestModels sets the RequestModels field's value.
+func (s *PutMethodInput) SetRequestModels(v map[string]*string) *PutMethodInput {
+ s.RequestModels = v
+ return s
+}
+
+// SetRequestParameters sets the RequestParameters field's value.
+func (s *PutMethodInput) SetRequestParameters(v map[string]*bool) *PutMethodInput {
+ s.RequestParameters = v
+ return s
+}
+
+// SetResourceId sets the ResourceId field's value.
+func (s *PutMethodInput) SetResourceId(v string) *PutMethodInput {
+ s.ResourceId = &v
+ return s
+}
+
+// SetRestApiId sets the RestApiId field's value.
+func (s *PutMethodInput) SetRestApiId(v string) *PutMethodInput {
+ s.RestApiId = &v
+ return s
+}
+
// Request to add a MethodResponse to an existing Method resource.
type PutMethodResponseInput struct {
_ struct{} `type:"structure"`
@@ -11639,6 +13744,42 @@ func (s *PutMethodResponseInput) Validate() error {
return nil
}
+// SetHttpMethod sets the HttpMethod field's value.
+func (s *PutMethodResponseInput) SetHttpMethod(v string) *PutMethodResponseInput {
+ s.HttpMethod = &v
+ return s
+}
+
+// SetResourceId sets the ResourceId field's value.
+func (s *PutMethodResponseInput) SetResourceId(v string) *PutMethodResponseInput {
+ s.ResourceId = &v
+ return s
+}
+
+// SetResponseModels sets the ResponseModels field's value.
+func (s *PutMethodResponseInput) SetResponseModels(v map[string]*string) *PutMethodResponseInput {
+ s.ResponseModels = v
+ return s
+}
+
+// SetResponseParameters sets the ResponseParameters field's value.
+func (s *PutMethodResponseInput) SetResponseParameters(v map[string]*bool) *PutMethodResponseInput {
+ s.ResponseParameters = v
+ return s
+}
+
+// SetRestApiId sets the RestApiId field's value.
+func (s *PutMethodResponseInput) SetRestApiId(v string) *PutMethodResponseInput {
+ s.RestApiId = &v
+ return s
+}
+
+// SetStatusCode sets the StatusCode field's value.
+func (s *PutMethodResponseInput) SetStatusCode(v string) *PutMethodResponseInput {
+ s.StatusCode = &v
+ return s
+}
+
// A PUT request to update an existing API, with external API definitions specified
// as the request body.
type PutRestApiInput struct {
@@ -11693,6 +13834,36 @@ func (s *PutRestApiInput) Validate() error {
return nil
}
+// SetBody sets the Body field's value.
+func (s *PutRestApiInput) SetBody(v []byte) *PutRestApiInput {
+ s.Body = v
+ return s
+}
+
+// SetFailOnWarnings sets the FailOnWarnings field's value.
+func (s *PutRestApiInput) SetFailOnWarnings(v bool) *PutRestApiInput {
+ s.FailOnWarnings = &v
+ return s
+}
+
+// SetMode sets the Mode field's value.
+func (s *PutRestApiInput) SetMode(v string) *PutRestApiInput {
+ s.Mode = &v
+ return s
+}
+
+// SetParameters sets the Parameters field's value.
+func (s *PutRestApiInput) SetParameters(v map[string]*string) *PutRestApiInput {
+ s.Parameters = v
+ return s
+}
+
+// SetRestApiId sets the RestApiId field's value.
+func (s *PutRestApiInput) SetRestApiId(v string) *PutRestApiInput {
+ s.RestApiId = &v
+ return s
+}
+
// Quotas configured for a usage plan.
type QuotaSettings struct {
_ struct{} `type:"structure"`
@@ -11719,6 +13890,24 @@ func (s QuotaSettings) GoString() string {
return s.String()
}
+// SetLimit sets the Limit field's value.
+func (s *QuotaSettings) SetLimit(v int64) *QuotaSettings {
+ s.Limit = &v
+ return s
+}
+
+// SetOffset sets the Offset field's value.
+func (s *QuotaSettings) SetOffset(v int64) *QuotaSettings {
+ s.Offset = &v
+ return s
+}
+
+// SetPeriod sets the Period field's value.
+func (s *QuotaSettings) SetPeriod(v string) *QuotaSettings {
+ s.Period = &v
+ return s
+}
+
// Represents an API resource.
//
// Create an API (http://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-create-api.html)
@@ -11807,12 +13996,46 @@ func (s Resource) GoString() string {
return s.String()
}
+// SetId sets the Id field's value.
+func (s *Resource) SetId(v string) *Resource {
+ s.Id = &v
+ return s
+}
+
+// SetParentId sets the ParentId field's value.
+func (s *Resource) SetParentId(v string) *Resource {
+ s.ParentId = &v
+ return s
+}
+
+// SetPath sets the Path field's value.
+func (s *Resource) SetPath(v string) *Resource {
+ s.Path = &v
+ return s
+}
+
+// SetPathPart sets the PathPart field's value.
+func (s *Resource) SetPathPart(v string) *Resource {
+ s.PathPart = &v
+ return s
+}
+
+// SetResourceMethods sets the ResourceMethods field's value.
+func (s *Resource) SetResourceMethods(v map[string]*Method) *Resource {
+ s.ResourceMethods = v
+ return s
+}
+
// Represents a REST API.
//
// Create an API (http://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-create-api.html)
type RestApi struct {
_ struct{} `type:"structure"`
+ // The list of binary media types supported by the RestApi. By default, the
+ // RestApi supports only UTF-8-encoded text payloads.
+ BinaryMediaTypes []*string `locationName:"binaryMediaTypes" type:"list"`
+
// The date when the API was created, in ISO 8601 format (http://www.iso.org/iso/home/standards/iso8601.htm).
CreatedDate *time.Time `locationName:"createdDate" type:"timestamp" timestampFormat:"unix"`
@@ -11841,6 +14064,42 @@ func (s RestApi) GoString() string {
return s.String()
}
+// SetBinaryMediaTypes sets the BinaryMediaTypes field's value.
+func (s *RestApi) SetBinaryMediaTypes(v []*string) *RestApi {
+ s.BinaryMediaTypes = v
+ return s
+}
+
+// SetCreatedDate sets the CreatedDate field's value.
+func (s *RestApi) SetCreatedDate(v time.Time) *RestApi {
+ s.CreatedDate = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *RestApi) SetDescription(v string) *RestApi {
+ s.Description = &v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *RestApi) SetId(v string) *RestApi {
+ s.Id = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *RestApi) SetName(v string) *RestApi {
+ s.Name = &v
+ return s
+}
+
+// SetWarnings sets the Warnings field's value.
+func (s *RestApi) SetWarnings(v []*string) *RestApi {
+ s.Warnings = v
+ return s
+}
+
// Represents a unique identifier for a version of a deployed RestApi that is
// callable by users.
//
@@ -11899,6 +14158,72 @@ func (s Stage) GoString() string {
return s.String()
}
+// SetCacheClusterEnabled sets the CacheClusterEnabled field's value.
+func (s *Stage) SetCacheClusterEnabled(v bool) *Stage {
+ s.CacheClusterEnabled = &v
+ return s
+}
+
+// SetCacheClusterSize sets the CacheClusterSize field's value.
+func (s *Stage) SetCacheClusterSize(v string) *Stage {
+ s.CacheClusterSize = &v
+ return s
+}
+
+// SetCacheClusterStatus sets the CacheClusterStatus field's value.
+func (s *Stage) SetCacheClusterStatus(v string) *Stage {
+ s.CacheClusterStatus = &v
+ return s
+}
+
+// SetClientCertificateId sets the ClientCertificateId field's value.
+func (s *Stage) SetClientCertificateId(v string) *Stage {
+ s.ClientCertificateId = &v
+ return s
+}
+
+// SetCreatedDate sets the CreatedDate field's value.
+func (s *Stage) SetCreatedDate(v time.Time) *Stage {
+ s.CreatedDate = &v
+ return s
+}
+
+// SetDeploymentId sets the DeploymentId field's value.
+func (s *Stage) SetDeploymentId(v string) *Stage {
+ s.DeploymentId = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *Stage) SetDescription(v string) *Stage {
+ s.Description = &v
+ return s
+}
+
+// SetLastUpdatedDate sets the LastUpdatedDate field's value.
+func (s *Stage) SetLastUpdatedDate(v time.Time) *Stage {
+ s.LastUpdatedDate = &v
+ return s
+}
+
+// SetMethodSettings sets the MethodSettings field's value.
+func (s *Stage) SetMethodSettings(v map[string]*MethodSetting) *Stage {
+ s.MethodSettings = v
+ return s
+}
+
+// SetStageName sets the StageName field's value.
+func (s *Stage) SetStageName(v string) *Stage {
+ s.StageName = &v
+ return s
+}
+
+// SetVariables sets the Variables field's value.
+func (s *Stage) SetVariables(v map[string]*string) *Stage {
+ s.Variables = v
+ return s
+}
+
// A reference to a unique stage identified in the format {restApiId}/{stage}.
type StageKey struct {
_ struct{} `type:"structure"`
@@ -11920,6 +14245,18 @@ func (s StageKey) GoString() string {
return s.String()
}
+// SetRestApiId sets the RestApiId field's value.
+func (s *StageKey) SetRestApiId(v string) *StageKey {
+ s.RestApiId = &v
+ return s
+}
+
+// SetStageName sets the StageName field's value.
+func (s *StageKey) SetStageName(v string) *StageKey {
+ s.StageName = &v
+ return s
+}
+
// Make a request to simulate the execution of an Authorizer.
type TestInvokeAuthorizerInput struct {
_ struct{} `type:"structure"`
@@ -11980,6 +14317,48 @@ func (s *TestInvokeAuthorizerInput) Validate() error {
return nil
}
+// SetAdditionalContext sets the AdditionalContext field's value.
+func (s *TestInvokeAuthorizerInput) SetAdditionalContext(v map[string]*string) *TestInvokeAuthorizerInput {
+ s.AdditionalContext = v
+ return s
+}
+
+// SetAuthorizerId sets the AuthorizerId field's value.
+func (s *TestInvokeAuthorizerInput) SetAuthorizerId(v string) *TestInvokeAuthorizerInput {
+ s.AuthorizerId = &v
+ return s
+}
+
+// SetBody sets the Body field's value.
+func (s *TestInvokeAuthorizerInput) SetBody(v string) *TestInvokeAuthorizerInput {
+ s.Body = &v
+ return s
+}
+
+// SetHeaders sets the Headers field's value.
+func (s *TestInvokeAuthorizerInput) SetHeaders(v map[string]*string) *TestInvokeAuthorizerInput {
+ s.Headers = v
+ return s
+}
+
+// SetPathWithQueryString sets the PathWithQueryString field's value.
+func (s *TestInvokeAuthorizerInput) SetPathWithQueryString(v string) *TestInvokeAuthorizerInput {
+ s.PathWithQueryString = &v
+ return s
+}
+
+// SetRestApiId sets the RestApiId field's value.
+func (s *TestInvokeAuthorizerInput) SetRestApiId(v string) *TestInvokeAuthorizerInput {
+ s.RestApiId = &v
+ return s
+}
+
+// SetStageVariables sets the StageVariables field's value.
+func (s *TestInvokeAuthorizerInput) SetStageVariables(v map[string]*string) *TestInvokeAuthorizerInput {
+ s.StageVariables = v
+ return s
+}
+
// Represents the response of the test invoke request for a custom Authorizer
type TestInvokeAuthorizerOutput struct {
_ struct{} `type:"structure"`
@@ -12018,6 +14397,48 @@ func (s TestInvokeAuthorizerOutput) GoString() string {
return s.String()
}
+// SetAuthorization sets the Authorization field's value.
+func (s *TestInvokeAuthorizerOutput) SetAuthorization(v map[string][]*string) *TestInvokeAuthorizerOutput {
+ s.Authorization = v
+ return s
+}
+
+// SetClaims sets the Claims field's value.
+func (s *TestInvokeAuthorizerOutput) SetClaims(v map[string]*string) *TestInvokeAuthorizerOutput {
+ s.Claims = v
+ return s
+}
+
+// SetClientStatus sets the ClientStatus field's value.
+func (s *TestInvokeAuthorizerOutput) SetClientStatus(v int64) *TestInvokeAuthorizerOutput {
+ s.ClientStatus = &v
+ return s
+}
+
+// SetLatency sets the Latency field's value.
+func (s *TestInvokeAuthorizerOutput) SetLatency(v int64) *TestInvokeAuthorizerOutput {
+ s.Latency = &v
+ return s
+}
+
+// SetLog sets the Log field's value.
+func (s *TestInvokeAuthorizerOutput) SetLog(v string) *TestInvokeAuthorizerOutput {
+ s.Log = &v
+ return s
+}
+
+// SetPolicy sets the Policy field's value.
+func (s *TestInvokeAuthorizerOutput) SetPolicy(v string) *TestInvokeAuthorizerOutput {
+ s.Policy = &v
+ return s
+}
+
+// SetPrincipalId sets the PrincipalId field's value.
+func (s *TestInvokeAuthorizerOutput) SetPrincipalId(v string) *TestInvokeAuthorizerOutput {
+ s.PrincipalId = &v
+ return s
+}
+
// Make a request to simulate the execution of a Method.
type TestInvokeMethodInput struct {
_ struct{} `type:"structure"`
@@ -12086,6 +14507,54 @@ func (s *TestInvokeMethodInput) Validate() error {
return nil
}
+// SetBody sets the Body field's value.
+func (s *TestInvokeMethodInput) SetBody(v string) *TestInvokeMethodInput {
+ s.Body = &v
+ return s
+}
+
+// SetClientCertificateId sets the ClientCertificateId field's value.
+func (s *TestInvokeMethodInput) SetClientCertificateId(v string) *TestInvokeMethodInput {
+ s.ClientCertificateId = &v
+ return s
+}
+
+// SetHeaders sets the Headers field's value.
+func (s *TestInvokeMethodInput) SetHeaders(v map[string]*string) *TestInvokeMethodInput {
+ s.Headers = v
+ return s
+}
+
+// SetHttpMethod sets the HttpMethod field's value.
+func (s *TestInvokeMethodInput) SetHttpMethod(v string) *TestInvokeMethodInput {
+ s.HttpMethod = &v
+ return s
+}
+
+// SetPathWithQueryString sets the PathWithQueryString field's value.
+func (s *TestInvokeMethodInput) SetPathWithQueryString(v string) *TestInvokeMethodInput {
+ s.PathWithQueryString = &v
+ return s
+}
+
+// SetResourceId sets the ResourceId field's value.
+func (s *TestInvokeMethodInput) SetResourceId(v string) *TestInvokeMethodInput {
+ s.ResourceId = &v
+ return s
+}
+
+// SetRestApiId sets the RestApiId field's value.
+func (s *TestInvokeMethodInput) SetRestApiId(v string) *TestInvokeMethodInput {
+ s.RestApiId = &v
+ return s
+}
+
+// SetStageVariables sets the StageVariables field's value.
+func (s *TestInvokeMethodInput) SetStageVariables(v map[string]*string) *TestInvokeMethodInput {
+ s.StageVariables = v
+ return s
+}
+
// Represents the response of the test invoke request in the HTTP method.
//
// Test API using the API Gateway console (http://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-test-method.html#how-to-test-method-console)
@@ -12118,6 +14587,36 @@ func (s TestInvokeMethodOutput) GoString() string {
return s.String()
}
+// SetBody sets the Body field's value.
+func (s *TestInvokeMethodOutput) SetBody(v string) *TestInvokeMethodOutput {
+ s.Body = &v
+ return s
+}
+
+// SetHeaders sets the Headers field's value.
+func (s *TestInvokeMethodOutput) SetHeaders(v map[string]*string) *TestInvokeMethodOutput {
+ s.Headers = v
+ return s
+}
+
+// SetLatency sets the Latency field's value.
+func (s *TestInvokeMethodOutput) SetLatency(v int64) *TestInvokeMethodOutput {
+ s.Latency = &v
+ return s
+}
+
+// SetLog sets the Log field's value.
+func (s *TestInvokeMethodOutput) SetLog(v string) *TestInvokeMethodOutput {
+ s.Log = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *TestInvokeMethodOutput) SetStatus(v int64) *TestInvokeMethodOutput {
+ s.Status = &v
+ return s
+}
+
// The API request rate limits.
type ThrottleSettings struct {
_ struct{} `type:"structure"`
@@ -12141,6 +14640,18 @@ func (s ThrottleSettings) GoString() string {
return s.String()
}
+// SetBurstLimit sets the BurstLimit field's value.
+func (s *ThrottleSettings) SetBurstLimit(v int64) *ThrottleSettings {
+ s.BurstLimit = &v
+ return s
+}
+
+// SetRateLimit sets the RateLimit field's value.
+func (s *ThrottleSettings) SetRateLimit(v float64) *ThrottleSettings {
+ s.RateLimit = &v
+ return s
+}
+
// Requests Amazon API Gateway to change information about the current Account
// resource.
type UpdateAccountInput struct {
@@ -12161,6 +14672,12 @@ func (s UpdateAccountInput) GoString() string {
return s.String()
}
+// SetPatchOperations sets the PatchOperations field's value.
+func (s *UpdateAccountInput) SetPatchOperations(v []*PatchOperation) *UpdateAccountInput {
+ s.PatchOperations = v
+ return s
+}
+
// A request to change information about an ApiKey resource.
type UpdateApiKeyInput struct {
_ struct{} `type:"structure"`
@@ -12198,6 +14715,18 @@ func (s *UpdateApiKeyInput) Validate() error {
return nil
}
+// SetApiKey sets the ApiKey field's value.
+func (s *UpdateApiKeyInput) SetApiKey(v string) *UpdateApiKeyInput {
+ s.ApiKey = &v
+ return s
+}
+
+// SetPatchOperations sets the PatchOperations field's value.
+func (s *UpdateApiKeyInput) SetPatchOperations(v []*PatchOperation) *UpdateApiKeyInput {
+ s.PatchOperations = v
+ return s
+}
+
// Request to update an existing Authorizer resource.
type UpdateAuthorizerInput struct {
_ struct{} `type:"structure"`
@@ -12243,6 +14772,24 @@ func (s *UpdateAuthorizerInput) Validate() error {
return nil
}
+// SetAuthorizerId sets the AuthorizerId field's value.
+func (s *UpdateAuthorizerInput) SetAuthorizerId(v string) *UpdateAuthorizerInput {
+ s.AuthorizerId = &v
+ return s
+}
+
+// SetPatchOperations sets the PatchOperations field's value.
+func (s *UpdateAuthorizerInput) SetPatchOperations(v []*PatchOperation) *UpdateAuthorizerInput {
+ s.PatchOperations = v
+ return s
+}
+
+// SetRestApiId sets the RestApiId field's value.
+func (s *UpdateAuthorizerInput) SetRestApiId(v string) *UpdateAuthorizerInput {
+ s.RestApiId = &v
+ return s
+}
+
// A request to change information about the BasePathMapping resource.
type UpdateBasePathMappingInput struct {
_ struct{} `type:"structure"`
@@ -12288,6 +14835,24 @@ func (s *UpdateBasePathMappingInput) Validate() error {
return nil
}
+// SetBasePath sets the BasePath field's value.
+func (s *UpdateBasePathMappingInput) SetBasePath(v string) *UpdateBasePathMappingInput {
+ s.BasePath = &v
+ return s
+}
+
+// SetDomainName sets the DomainName field's value.
+func (s *UpdateBasePathMappingInput) SetDomainName(v string) *UpdateBasePathMappingInput {
+ s.DomainName = &v
+ return s
+}
+
+// SetPatchOperations sets the PatchOperations field's value.
+func (s *UpdateBasePathMappingInput) SetPatchOperations(v []*PatchOperation) *UpdateBasePathMappingInput {
+ s.PatchOperations = v
+ return s
+}
+
// A request to change information about an ClientCertificate resource.
type UpdateClientCertificateInput struct {
_ struct{} `type:"structure"`
@@ -12325,6 +14890,18 @@ func (s *UpdateClientCertificateInput) Validate() error {
return nil
}
+// SetClientCertificateId sets the ClientCertificateId field's value.
+func (s *UpdateClientCertificateInput) SetClientCertificateId(v string) *UpdateClientCertificateInput {
+ s.ClientCertificateId = &v
+ return s
+}
+
+// SetPatchOperations sets the PatchOperations field's value.
+func (s *UpdateClientCertificateInput) SetPatchOperations(v []*PatchOperation) *UpdateClientCertificateInput {
+ s.PatchOperations = v
+ return s
+}
+
// Requests Amazon API Gateway to change information about a Deployment resource.
type UpdateDeploymentInput struct {
_ struct{} `type:"structure"`
@@ -12372,6 +14949,24 @@ func (s *UpdateDeploymentInput) Validate() error {
return nil
}
+// SetDeploymentId sets the DeploymentId field's value.
+func (s *UpdateDeploymentInput) SetDeploymentId(v string) *UpdateDeploymentInput {
+ s.DeploymentId = &v
+ return s
+}
+
+// SetPatchOperations sets the PatchOperations field's value.
+func (s *UpdateDeploymentInput) SetPatchOperations(v []*PatchOperation) *UpdateDeploymentInput {
+ s.PatchOperations = v
+ return s
+}
+
+// SetRestApiId sets the RestApiId field's value.
+func (s *UpdateDeploymentInput) SetRestApiId(v string) *UpdateDeploymentInput {
+ s.RestApiId = &v
+ return s
+}
+
// A request to change information about the DomainName resource.
type UpdateDomainNameInput struct {
_ struct{} `type:"structure"`
@@ -12409,6 +15004,18 @@ func (s *UpdateDomainNameInput) Validate() error {
return nil
}
+// SetDomainName sets the DomainName field's value.
+func (s *UpdateDomainNameInput) SetDomainName(v string) *UpdateDomainNameInput {
+ s.DomainName = &v
+ return s
+}
+
+// SetPatchOperations sets the PatchOperations field's value.
+func (s *UpdateDomainNameInput) SetPatchOperations(v []*PatchOperation) *UpdateDomainNameInput {
+ s.PatchOperations = v
+ return s
+}
+
// Represents an update integration request.
type UpdateIntegrationInput struct {
_ struct{} `type:"structure"`
@@ -12462,6 +15069,30 @@ func (s *UpdateIntegrationInput) Validate() error {
return nil
}
+// SetHttpMethod sets the HttpMethod field's value.
+func (s *UpdateIntegrationInput) SetHttpMethod(v string) *UpdateIntegrationInput {
+ s.HttpMethod = &v
+ return s
+}
+
+// SetPatchOperations sets the PatchOperations field's value.
+func (s *UpdateIntegrationInput) SetPatchOperations(v []*PatchOperation) *UpdateIntegrationInput {
+ s.PatchOperations = v
+ return s
+}
+
+// SetResourceId sets the ResourceId field's value.
+func (s *UpdateIntegrationInput) SetResourceId(v string) *UpdateIntegrationInput {
+ s.ResourceId = &v
+ return s
+}
+
+// SetRestApiId sets the RestApiId field's value.
+func (s *UpdateIntegrationInput) SetRestApiId(v string) *UpdateIntegrationInput {
+ s.RestApiId = &v
+ return s
+}
+
// Represents an update integration response request.
type UpdateIntegrationResponseInput struct {
_ struct{} `type:"structure"`
@@ -12523,6 +15154,36 @@ func (s *UpdateIntegrationResponseInput) Validate() error {
return nil
}
+// SetHttpMethod sets the HttpMethod field's value.
+func (s *UpdateIntegrationResponseInput) SetHttpMethod(v string) *UpdateIntegrationResponseInput {
+ s.HttpMethod = &v
+ return s
+}
+
+// SetPatchOperations sets the PatchOperations field's value.
+func (s *UpdateIntegrationResponseInput) SetPatchOperations(v []*PatchOperation) *UpdateIntegrationResponseInput {
+ s.PatchOperations = v
+ return s
+}
+
+// SetResourceId sets the ResourceId field's value.
+func (s *UpdateIntegrationResponseInput) SetResourceId(v string) *UpdateIntegrationResponseInput {
+ s.ResourceId = &v
+ return s
+}
+
+// SetRestApiId sets the RestApiId field's value.
+func (s *UpdateIntegrationResponseInput) SetRestApiId(v string) *UpdateIntegrationResponseInput {
+ s.RestApiId = &v
+ return s
+}
+
+// SetStatusCode sets the StatusCode field's value.
+func (s *UpdateIntegrationResponseInput) SetStatusCode(v string) *UpdateIntegrationResponseInput {
+ s.StatusCode = &v
+ return s
+}
+
// Request to update an existing Method resource.
type UpdateMethodInput struct {
_ struct{} `type:"structure"`
@@ -12576,6 +15237,30 @@ func (s *UpdateMethodInput) Validate() error {
return nil
}
+// SetHttpMethod sets the HttpMethod field's value.
+func (s *UpdateMethodInput) SetHttpMethod(v string) *UpdateMethodInput {
+ s.HttpMethod = &v
+ return s
+}
+
+// SetPatchOperations sets the PatchOperations field's value.
+func (s *UpdateMethodInput) SetPatchOperations(v []*PatchOperation) *UpdateMethodInput {
+ s.PatchOperations = v
+ return s
+}
+
+// SetResourceId sets the ResourceId field's value.
+func (s *UpdateMethodInput) SetResourceId(v string) *UpdateMethodInput {
+ s.ResourceId = &v
+ return s
+}
+
+// SetRestApiId sets the RestApiId field's value.
+func (s *UpdateMethodInput) SetRestApiId(v string) *UpdateMethodInput {
+ s.RestApiId = &v
+ return s
+}
+
// A request to update an existing MethodResponse resource.
type UpdateMethodResponseInput struct {
_ struct{} `type:"structure"`
@@ -12637,6 +15322,36 @@ func (s *UpdateMethodResponseInput) Validate() error {
return nil
}
+// SetHttpMethod sets the HttpMethod field's value.
+func (s *UpdateMethodResponseInput) SetHttpMethod(v string) *UpdateMethodResponseInput {
+ s.HttpMethod = &v
+ return s
+}
+
+// SetPatchOperations sets the PatchOperations field's value.
+func (s *UpdateMethodResponseInput) SetPatchOperations(v []*PatchOperation) *UpdateMethodResponseInput {
+ s.PatchOperations = v
+ return s
+}
+
+// SetResourceId sets the ResourceId field's value.
+func (s *UpdateMethodResponseInput) SetResourceId(v string) *UpdateMethodResponseInput {
+ s.ResourceId = &v
+ return s
+}
+
+// SetRestApiId sets the RestApiId field's value.
+func (s *UpdateMethodResponseInput) SetRestApiId(v string) *UpdateMethodResponseInput {
+ s.RestApiId = &v
+ return s
+}
+
+// SetStatusCode sets the StatusCode field's value.
+func (s *UpdateMethodResponseInput) SetStatusCode(v string) *UpdateMethodResponseInput {
+ s.StatusCode = &v
+ return s
+}
+
// Request to update an existing model in an existing RestApi resource.
type UpdateModelInput struct {
_ struct{} `type:"structure"`
@@ -12682,6 +15397,24 @@ func (s *UpdateModelInput) Validate() error {
return nil
}
+// SetModelName sets the ModelName field's value.
+func (s *UpdateModelInput) SetModelName(v string) *UpdateModelInput {
+ s.ModelName = &v
+ return s
+}
+
+// SetPatchOperations sets the PatchOperations field's value.
+func (s *UpdateModelInput) SetPatchOperations(v []*PatchOperation) *UpdateModelInput {
+ s.PatchOperations = v
+ return s
+}
+
+// SetRestApiId sets the RestApiId field's value.
+func (s *UpdateModelInput) SetRestApiId(v string) *UpdateModelInput {
+ s.RestApiId = &v
+ return s
+}
+
// Request to change information about a Resource resource.
type UpdateResourceInput struct {
_ struct{} `type:"structure"`
@@ -12727,6 +15460,24 @@ func (s *UpdateResourceInput) Validate() error {
return nil
}
+// SetPatchOperations sets the PatchOperations field's value.
+func (s *UpdateResourceInput) SetPatchOperations(v []*PatchOperation) *UpdateResourceInput {
+ s.PatchOperations = v
+ return s
+}
+
+// SetResourceId sets the ResourceId field's value.
+func (s *UpdateResourceInput) SetResourceId(v string) *UpdateResourceInput {
+ s.ResourceId = &v
+ return s
+}
+
+// SetRestApiId sets the RestApiId field's value.
+func (s *UpdateResourceInput) SetRestApiId(v string) *UpdateResourceInput {
+ s.RestApiId = &v
+ return s
+}
+
// Request to update an existing RestApi resource in your collection.
type UpdateRestApiInput struct {
_ struct{} `type:"structure"`
@@ -12764,6 +15515,18 @@ func (s *UpdateRestApiInput) Validate() error {
return nil
}
+// SetPatchOperations sets the PatchOperations field's value.
+func (s *UpdateRestApiInput) SetPatchOperations(v []*PatchOperation) *UpdateRestApiInput {
+ s.PatchOperations = v
+ return s
+}
+
+// SetRestApiId sets the RestApiId field's value.
+func (s *UpdateRestApiInput) SetRestApiId(v string) *UpdateRestApiInput {
+ s.RestApiId = &v
+ return s
+}
+
// Requests Amazon API Gateway to change information about a Stage resource.
type UpdateStageInput struct {
_ struct{} `type:"structure"`
@@ -12810,6 +15573,24 @@ func (s *UpdateStageInput) Validate() error {
return nil
}
+// SetPatchOperations sets the PatchOperations field's value.
+func (s *UpdateStageInput) SetPatchOperations(v []*PatchOperation) *UpdateStageInput {
+ s.PatchOperations = v
+ return s
+}
+
+// SetRestApiId sets the RestApiId field's value.
+func (s *UpdateStageInput) SetRestApiId(v string) *UpdateStageInput {
+ s.RestApiId = &v
+ return s
+}
+
+// SetStageName sets the StageName field's value.
+func (s *UpdateStageInput) SetStageName(v string) *UpdateStageInput {
+ s.StageName = &v
+ return s
+}
+
// The PATCH request to grant a temporary extension to the reamining quota of
// a usage plan associated with a specified API key.
type UpdateUsageInput struct {
@@ -12857,6 +15638,24 @@ func (s *UpdateUsageInput) Validate() error {
return nil
}
+// SetKeyId sets the KeyId field's value.
+func (s *UpdateUsageInput) SetKeyId(v string) *UpdateUsageInput {
+ s.KeyId = &v
+ return s
+}
+
+// SetPatchOperations sets the PatchOperations field's value.
+func (s *UpdateUsageInput) SetPatchOperations(v []*PatchOperation) *UpdateUsageInput {
+ s.PatchOperations = v
+ return s
+}
+
+// SetUsagePlanId sets the UsagePlanId field's value.
+func (s *UpdateUsageInput) SetUsagePlanId(v string) *UpdateUsageInput {
+ s.UsagePlanId = &v
+ return s
+}
+
// The PATCH request to update a usage plan of a given plan Id.
type UpdateUsagePlanInput struct {
_ struct{} `type:"structure"`
@@ -12894,6 +15693,18 @@ func (s *UpdateUsagePlanInput) Validate() error {
return nil
}
+// SetPatchOperations sets the PatchOperations field's value.
+func (s *UpdateUsagePlanInput) SetPatchOperations(v []*PatchOperation) *UpdateUsagePlanInput {
+ s.PatchOperations = v
+ return s
+}
+
+// SetUsagePlanId sets the UsagePlanId field's value.
+func (s *UpdateUsagePlanInput) SetUsagePlanId(v string) *UpdateUsagePlanInput {
+ s.UsagePlanId = &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)
@@ -12929,6 +15740,36 @@ func (s Usage) GoString() string {
return s.String()
}
+// SetEndDate sets the EndDate field's value.
+func (s *Usage) SetEndDate(v string) *Usage {
+ s.EndDate = &v
+ return s
+}
+
+// SetItems sets the Items field's value.
+func (s *Usage) SetItems(v map[string][][]*int64) *Usage {
+ s.Items = v
+ return s
+}
+
+// SetPosition sets the Position field's value.
+func (s *Usage) SetPosition(v string) *Usage {
+ s.Position = &v
+ return s
+}
+
+// SetStartDate sets the StartDate field's value.
+func (s *Usage) SetStartDate(v string) *Usage {
+ s.StartDate = &v
+ return s
+}
+
+// SetUsagePlanId sets the UsagePlanId field's value.
+func (s *Usage) SetUsagePlanId(v string) *Usage {
+ s.UsagePlanId = &v
+ return s
+}
+
// Represents a usage plan than can specify who can assess associated API stages
// with specified request limits and quotas.
//
@@ -12969,6 +15810,42 @@ func (s UsagePlan) GoString() string {
return s.String()
}
+// SetApiStages sets the ApiStages field's value.
+func (s *UsagePlan) SetApiStages(v []*ApiStage) *UsagePlan {
+ s.ApiStages = v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *UsagePlan) SetDescription(v string) *UsagePlan {
+ s.Description = &v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *UsagePlan) SetId(v string) *UsagePlan {
+ s.Id = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *UsagePlan) SetName(v string) *UsagePlan {
+ s.Name = &v
+ return s
+}
+
+// SetQuota sets the Quota field's value.
+func (s *UsagePlan) SetQuota(v *QuotaSettings) *UsagePlan {
+ s.Quota = v
+ return s
+}
+
+// SetThrottle sets the Throttle field's value.
+func (s *UsagePlan) SetThrottle(v *ThrottleSettings) *UsagePlan {
+ s.Throttle = v
+ return s
+}
+
// Represents a usage plan key to identify a plan customer.
//
// To associate an API stage with a selected API key in a usage plan, you must
@@ -13001,12 +15878,37 @@ func (s UsagePlanKey) GoString() string {
return s.String()
}
+// SetId sets the Id field's value.
+func (s *UsagePlanKey) SetId(v string) *UsagePlanKey {
+ s.Id = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *UsagePlanKey) SetName(v string) *UsagePlanKey {
+ s.Name = &v
+ return s
+}
+
+// SetType sets the Type field's value.
+func (s *UsagePlanKey) SetType(v string) *UsagePlanKey {
+ s.Type = &v
+ return s
+}
+
+// SetValue sets the Value field's value.
+func (s *UsagePlanKey) SetValue(v string) *UsagePlanKey {
+ s.Value = &v
+ return s
+}
+
const (
// ApiKeysFormatCsv is a ApiKeysFormat enum value
ApiKeysFormatCsv = "csv"
)
-// The authorizer type. the only current value is TOKEN.
+// The authorizer type. the current value is TOKEN for a Lambda function or
+// COGNITO_USER_POOLS for an Amazon Cognito Your User Pool.
const (
// AuthorizerTypeToken is a AuthorizerType enum value
AuthorizerTypeToken = "TOKEN"
@@ -13060,6 +15962,14 @@ const (
CacheClusterStatusFlushInProgress = "FLUSH_IN_PROGRESS"
)
+const (
+ // ContentHandlingStrategyConvertToBinary is a ContentHandlingStrategy enum value
+ ContentHandlingStrategyConvertToBinary = "CONVERT_TO_BINARY"
+
+ // ContentHandlingStrategyConvertToText is a ContentHandlingStrategy enum value
+ ContentHandlingStrategyConvertToText = "CONVERT_TO_TEXT"
+)
+
// 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,
diff --git a/vendor/github.com/aws/aws-sdk-go/service/apigateway/examples_test.go b/vendor/github.com/aws/aws-sdk-go/service/apigateway/examples_test.go
index c129533..f3cffd3 100644
--- a/vendor/github.com/aws/aws-sdk-go/service/apigateway/examples_test.go
+++ b/vendor/github.com/aws/aws-sdk-go/service/apigateway/examples_test.go
@@ -127,11 +127,11 @@ func ExampleAPIGateway_CreateDeployment() {
params := &apigateway.CreateDeploymentInput{
RestApiId: aws.String("String"), // Required
- StageName: aws.String("String"), // Required
CacheClusterEnabled: aws.Bool(true),
CacheClusterSize: aws.String("CacheClusterSize"),
Description: aws.String("String"),
StageDescription: aws.String("String"),
+ StageName: aws.String("String"),
Variables: map[string]*string{
"Key": aws.String("String"), // Required
// More values...
@@ -245,7 +245,11 @@ func ExampleAPIGateway_CreateRestApi() {
svc := apigateway.New(sess)
params := &apigateway.CreateRestApiInput{
- Name: aws.String("String"), // Required
+ Name: aws.String("String"), // Required
+ BinaryMediaTypes: []*string{
+ aws.String("String"), // Required
+ // More values...
+ },
CloneFrom: aws.String("String"),
Description: aws.String("String"),
}
@@ -918,6 +922,7 @@ func ExampleAPIGateway_GetApiKeys() {
svc := apigateway.New(sess)
params := &apigateway.GetApiKeysInput{
+ CustomerId: aws.String("String"),
IncludeValues: aws.Bool(true),
Limit: aws.Int64(1),
NameQuery: aws.String("String"),
@@ -1818,6 +1823,7 @@ func ExampleAPIGateway_PutIntegration() {
// More values...
},
CacheNamespace: aws.String("String"),
+ ContentHandling: aws.String("ContentHandlingStrategy"),
Credentials: aws.String("String"),
IntegrationHttpMethod: aws.String("String"),
PassthroughBehavior: aws.String("String"),
@@ -1854,10 +1860,11 @@ func ExampleAPIGateway_PutIntegrationResponse() {
svc := apigateway.New(sess)
params := &apigateway.PutIntegrationResponseInput{
- HttpMethod: aws.String("String"), // Required
- ResourceId: aws.String("String"), // Required
- RestApiId: aws.String("String"), // Required
- StatusCode: aws.String("StatusCode"), // Required
+ HttpMethod: aws.String("String"), // Required
+ ResourceId: aws.String("String"), // Required
+ RestApiId: aws.String("String"), // Required
+ StatusCode: aws.String("StatusCode"), // Required
+ ContentHandling: aws.String("ContentHandlingStrategy"),
ResponseParameters: map[string]*string{
"Key": aws.String("String"), // Required
// More values...
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 f219fc0..96c1cb5 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
@@ -56,15 +56,13 @@ func (c *ApplicationAutoScaling) DeleteScalingPolicyRequest(input *DeleteScaling
// DeleteScalingPolicy API operation for Application Auto Scaling.
//
-// Deletes an Application Auto Scaling scaling policy that was previously created.
-// If you are no longer using a scaling policy, you can delete it with this
-// operation.
+// Deletes the specified Application Auto Scaling scaling policy.
//
// Deleting a policy deletes the underlying alarm action, but does not delete
// the CloudWatch alarm associated with the scaling policy, even if it no longer
// has an associated action.
//
-// To create a new scaling policy or update an existing one, see PutScalingPolicy.
+// To create a scaling policy or update an existing one, see PutScalingPolicy.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
@@ -144,12 +142,12 @@ func (c *ApplicationAutoScaling) DeregisterScalableTargetRequest(input *Deregist
// DeregisterScalableTarget API operation for Application Auto Scaling.
//
-// Deregisters a scalable target that was previously registered. If you are
-// no longer using a scalable target, you can delete it with this operation.
-// When you deregister a scalable target, all of the scaling policies that are
-// associated with that scalable target are deleted.
+// Deregisters a scalable target.
//
-// To create a new scalable target or update an existing one, see RegisterScalableTarget.
+// Deregistering a scalable target deletes the scaling policies that are associated
+// with it.
+//
+// To create a scalable target or update an existing one, see RegisterScalableTarget.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
@@ -235,14 +233,13 @@ func (c *ApplicationAutoScaling) DescribeScalableTargetsRequest(input *DescribeS
// DescribeScalableTargets API operation for Application Auto Scaling.
//
-// Provides descriptive information for scalable targets with a specified service
+// Provides descriptive information about the scalable targets in the specified
// namespace.
//
-// You can filter the results in a service namespace with the ResourceIds and
-// ScalableDimension parameters.
+// You can filter the results using the ResourceIds and ScalableDimension parameters.
//
-// To create a new scalable target or update an existing one, see RegisterScalableTarget.
-// If you are no longer using a scalable target, you can deregister it with
+// To create a scalable target or update an existing one, see RegisterScalableTarget.
+// If you are no longer using a scalable target, you can deregister it using
// DeregisterScalableTarget.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
@@ -349,16 +346,15 @@ func (c *ApplicationAutoScaling) DescribeScalingActivitiesRequest(input *Describ
// DescribeScalingActivities API operation for Application Auto Scaling.
//
-// Provides descriptive information for scaling activities with a specified
-// service namespace for the previous six weeks.
+// Provides descriptive information about the scaling activities in the specified
+// namespace from the previous six weeks.
//
-// You can filter the results in a service namespace with the ResourceId and
-// ScalableDimension parameters.
+// You can filter the results using the ResourceId and ScalableDimension parameters.
//
// Scaling activities are triggered by CloudWatch alarms that are associated
-// with scaling policies. To view the existing scaling policies for a service
-// namespace, see DescribeScalingPolicies. To create a new scaling policy or
-// update an existing one, see PutScalingPolicy.
+// with scaling policies. To view the scaling policies for a service namespace,
+// see DescribeScalingPolicies. To create a scaling policy or update an existing
+// one, see PutScalingPolicy.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
@@ -464,14 +460,14 @@ func (c *ApplicationAutoScaling) DescribeScalingPoliciesRequest(input *DescribeS
// DescribeScalingPolicies API operation for Application Auto Scaling.
//
-// Provides descriptive information for scaling policies with a specified service
+// Provides descriptive information about the scaling policies in the specified
// namespace.
//
-// You can filter the results in a service namespace with the ResourceId, ScalableDimension,
-// and PolicyNames parameters.
+// You can filter the results using the ResourceId, ScalableDimension, and PolicyNames
+// parameters.
//
-// To create a new scaling policy or update an existing one, see PutScalingPolicy.
-// If you are no longer using a scaling policy, you can delete it with DeleteScalingPolicy.
+// To create a scaling policy or update an existing one, see PutScalingPolicy.
+// If you are no longer using a scaling policy, you can delete it using DeleteScalingPolicy.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
@@ -580,18 +576,19 @@ func (c *ApplicationAutoScaling) PutScalingPolicyRequest(input *PutScalingPolicy
// PutScalingPolicy API operation for Application Auto Scaling.
//
-// Creates or updates a policy for an existing Application Auto Scaling scalable
-// target. Each scalable target is identified by service namespace, a resource
-// ID, and a scalable dimension, and a scaling policy applies to a scalable
-// target that is identified by those three attributes. You cannot create a
-// scaling policy without first registering a scalable target with RegisterScalableTarget.
+// Creates or updates a policy for an Application Auto Scaling scalable target.
+//
+// Each scalable target is identified by a service namespace, resource ID, and
+// scalable dimension. A scaling policy applies to the scalable target identified
+// by those three attributes. You cannot create a scaling policy without first
+// registering a scalable target using RegisterScalableTarget.
//
-// To update an existing policy, use the existing policy name and set the parameters
-// you want to change. Any existing parameter not changed in an update to an
-// existing policy is not changed in this update request.
+// To update a policy, specify its policy name and the parameters that you want
+// to change. Any parameters that you don't specify are not changed by this
+// update request.
//
-// You can view the existing scaling policies for a service namespace with DescribeScalingPolicies.
-// If you are no longer using a scaling policy, you can delete it with DeleteScalingPolicy.
+// You can view the scaling policies for a service namespace using DescribeScalingPolicies.
+// If you are no longer using a scaling policy, you can delete it using DeleteScalingPolicy.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
@@ -677,15 +674,14 @@ func (c *ApplicationAutoScaling) RegisterScalableTargetRequest(input *RegisterSc
// RegisterScalableTarget API operation for Application Auto Scaling.
//
// Registers or updates a scalable target. A scalable target is a resource that
-// can be scaled out or in with Application Auto Scaling. After you have registered
+// Application Auto Scaling can scale out or scale in. After you have registered
// a scalable target, you can use this operation to update the minimum and maximum
// values for your scalable dimension.
//
-// After you register a scalable target with Application Auto Scaling, you can
-// create and apply scaling policies to it with PutScalingPolicy. You can view
-// the existing scaling policies for a service namespace with DescribeScalableTargets.
-// If you are no longer using a scalable target, you can deregister it with
-// DeregisterScalableTarget.
+// After you register a scalable target, you can create and apply scaling policies
+// using PutScalingPolicy. You can view the scaling policies for a service namespace
+// using DescribeScalableTargets. If you are no longer using a scalable target,
+// you can deregister it using DeregisterScalableTarget.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
@@ -717,7 +713,7 @@ func (c *ApplicationAutoScaling) RegisterScalableTarget(input *RegisterScalableT
return out, err
}
-// An object representing a CloudWatch alarm associated with a scaling policy.
+// Represents a CloudWatch alarm associated with a scaling policy.
type Alarm struct {
_ struct{} `type:"structure"`
@@ -742,34 +738,57 @@ func (s Alarm) GoString() string {
return s.String()
}
+// SetAlarmARN sets the AlarmARN field's value.
+func (s *Alarm) SetAlarmARN(v string) *Alarm {
+ s.AlarmARN = &v
+ return s
+}
+
+// SetAlarmName sets the AlarmName field's value.
+func (s *Alarm) SetAlarmName(v string) *Alarm {
+ s.AlarmName = &v
+ return s
+}
+
type DeleteScalingPolicyInput struct {
_ struct{} `type:"structure"`
- // The name of the scaling policy to delete.
+ // The name of the scaling policy.
//
// PolicyName is a required field
PolicyName *string `min:"1" type:"string" required:"true"`
- // The resource type and unique identifier string for the resource associated
- // with the scaling policy. For Amazon ECS services, the resource type is services,
- // and the identifier is the cluster name and service name; for example, service/default/sample-webapp.
- // For Amazon EC2 Spot fleet requests, the resource type is spot-fleet-request,
- // and the identifier is the Spot fleet request ID; for example, spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE.
+ // The identifier of the resource associated with the scalable target. This
+ // string consists of the resource type and unique identifier.
+ //
+ // * ECS service - The resource type is service and the unique identifier
+ // is the cluster name and service name. Example: service/default/sample-webapp.
+ //
+ // * Spot fleet request - The resource type is spot-fleet-request and the
+ // unique identifier is the Spot fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE.
+ //
+ // * EMR cluster - The resource type is instancegroup and the unique identifier
+ // is the cluster ID and instance group ID. Example: instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0.
//
// ResourceId is a required field
ResourceId *string `min:"1" type:"string" required:"true"`
- // The scalable dimension associated with the scaling policy. The scalable dimension
- // contains the service namespace, resource type, and scaling property, such
- // as ecs:service:DesiredCount for the desired task count of an Amazon ECS service,
- // or ec2:spot-fleet-request:TargetCapacity for the target capacity of an Amazon
- // EC2 Spot fleet request.
+ // The scalable dimension. This string consists of the service namespace, resource
+ // type, and scaling property.
+ //
+ // * ecs:service:DesiredCount - The desired task count of an ECS service.
+ //
+ // * ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot
+ // fleet request.
+ //
+ // * elasticmapreduce:instancegroup:InstanceCount - The instance count of
+ // an EMR Instance Group.
//
// ScalableDimension is a required field
ScalableDimension *string `type:"string" required:"true" enum:"ScalableDimension"`
- // The namespace for the AWS service that the scaling policy is associated with.
- // For more information, see AWS Service Namespaces (http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces)
+ // The namespace of the AWS service. For more information, see AWS Service Namespaces
+ // (http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces)
// in the Amazon Web Services General Reference.
//
// ServiceNamespace is a required field
@@ -814,6 +833,30 @@ func (s *DeleteScalingPolicyInput) Validate() error {
return nil
}
+// SetPolicyName sets the PolicyName field's value.
+func (s *DeleteScalingPolicyInput) SetPolicyName(v string) *DeleteScalingPolicyInput {
+ s.PolicyName = &v
+ return s
+}
+
+// SetResourceId sets the ResourceId field's value.
+func (s *DeleteScalingPolicyInput) SetResourceId(v string) *DeleteScalingPolicyInput {
+ s.ResourceId = &v
+ return s
+}
+
+// SetScalableDimension sets the ScalableDimension field's value.
+func (s *DeleteScalingPolicyInput) SetScalableDimension(v string) *DeleteScalingPolicyInput {
+ s.ScalableDimension = &v
+ return s
+}
+
+// SetServiceNamespace sets the ServiceNamespace field's value.
+func (s *DeleteScalingPolicyInput) SetServiceNamespace(v string) *DeleteScalingPolicyInput {
+ s.ServiceNamespace = &v
+ return s
+}
+
type DeleteScalingPolicyOutput struct {
_ struct{} `type:"structure"`
}
@@ -831,26 +874,37 @@ func (s DeleteScalingPolicyOutput) GoString() string {
type DeregisterScalableTargetInput struct {
_ struct{} `type:"structure"`
- // The resource type and unique identifier string for the resource associated
- // with the scalable target. For Amazon ECS services, the resource type is services,
- // and the identifier is the cluster name and service name; for example, service/default/sample-webapp.
- // For Amazon EC2 Spot fleet requests, the resource type is spot-fleet-request,
- // and the identifier is the Spot fleet request ID; for example, spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE.
+ // The identifier of the resource associated with the scalable target. This
+ // string consists of the resource type and unique identifier.
+ //
+ // * ECS service - The resource type is service and the unique identifier
+ // is the cluster name and service name. Example: service/default/sample-webapp.
+ //
+ // * Spot fleet request - The resource type is spot-fleet-request and the
+ // unique identifier is the Spot fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE.
+ //
+ // * EMR cluster - The resource type is instancegroup and the unique identifier
+ // is the cluster ID and instance group ID. Example: instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0.
//
// ResourceId is a required field
ResourceId *string `min:"1" type:"string" required:"true"`
- // The scalable dimension associated with the scalable target. The scalable
- // dimension contains the service namespace, resource type, and scaling property,
- // such as ecs:service:DesiredCount for the desired task count of an Amazon
- // ECS service, or ec2:spot-fleet-request:TargetCapacity for the target capacity
- // of an Amazon EC2 Spot fleet request.
+ // The scalable dimension associated with the scalable target. This string consists
+ // of the service namespace, resource type, and scaling property.
+ //
+ // * ecs:service:DesiredCount - The desired task count of an ECS service.
+ //
+ // * ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot
+ // fleet request.
+ //
+ // * elasticmapreduce:instancegroup:InstanceCount - The instance count of
+ // an EMR Instance Group.
//
// ScalableDimension is a required field
ScalableDimension *string `type:"string" required:"true" enum:"ScalableDimension"`
- // The namespace for the AWS service that the scalable target is associated
- // with. For more information, see AWS Service Namespaces (http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces)
+ // The namespace of the AWS service. For more information, see AWS Service Namespaces
+ // (http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces)
// in the Amazon Web Services General Reference.
//
// ServiceNamespace is a required field
@@ -889,6 +943,24 @@ func (s *DeregisterScalableTargetInput) Validate() error {
return nil
}
+// SetResourceId sets the ResourceId field's value.
+func (s *DeregisterScalableTargetInput) SetResourceId(v string) *DeregisterScalableTargetInput {
+ s.ResourceId = &v
+ return s
+}
+
+// SetScalableDimension sets the ScalableDimension field's value.
+func (s *DeregisterScalableTargetInput) SetScalableDimension(v string) *DeregisterScalableTargetInput {
+ s.ScalableDimension = &v
+ return s
+}
+
+// SetServiceNamespace sets the ServiceNamespace field's value.
+func (s *DeregisterScalableTargetInput) SetServiceNamespace(v string) *DeregisterScalableTargetInput {
+ s.ServiceNamespace = &v
+ return s
+}
+
type DeregisterScalableTargetOutput struct {
_ struct{} `type:"structure"`
}
@@ -906,40 +978,47 @@ func (s DeregisterScalableTargetOutput) GoString() string {
type DescribeScalableTargetsInput struct {
_ struct{} `type:"structure"`
- // The maximum number of scalable target results returned by DescribeScalableTargets
- // in paginated output. When this parameter is used, DescribeScalableTargets
- // returns up to MaxResults results in a single page along with a NextToken
- // response element. The remaining results of the initial request can be seen
- // by sending another DescribeScalableTargets request with the returned NextToken
- // value. This value can be between 1 and 50. If this parameter is not used,
- // then DescribeScalableTargets returns up to 50 results and a NextToken value,
- // if applicable.
+ // The maximum number of scalable target 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
+ // at a time, along with a NextToken value. To get the next set of results,
+ // include the NextToken value in a subsequent call. If this parameter is not
+ // used, the operation returns up to 50 results and a NextToken value, if applicable.
MaxResults *int64 `type:"integer"`
- // The NextToken value returned from a previous paginated DescribeScalableTargets
- // request. 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.
+ // The token for the next set of results.
NextToken *string `type:"string"`
- // The resource type and unique identifier string for the resource associated
- // with the scalable target. For Amazon ECS services, the resource type is services,
- // and the identifier is the cluster name and service name; for example, service/default/sample-webapp.
- // For Amazon EC2 Spot fleet requests, the resource type is spot-fleet-request,
- // and the identifier is the Spot fleet request ID; for example, spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE.
- // If you specify a scalable dimension, you must also specify a resource ID.
+ // The identifier of the resource associated with the scalable target. This
+ // string consists of the resource type and unique identifier. If you specify
+ // a scalable dimension, you must also specify a resource ID.
+ //
+ // * ECS service - The resource type is service and the unique identifier
+ // is the cluster name and service name. Example: service/default/sample-webapp.
+ //
+ // * Spot fleet request - The resource type is spot-fleet-request and the
+ // unique identifier is the Spot fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE.
+ //
+ // * EMR cluster - The resource type is instancegroup and the unique identifier
+ // is the cluster ID and instance group ID. Example: instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0.
ResourceIds []*string `type:"list"`
- // The scalable dimension associated with the scalable target. The scalable
- // dimension contains the service namespace, resource type, and scaling property,
- // such as ecs:service:DesiredCount for the desired task count of an Amazon
- // ECS service, or ec2:spot-fleet-request:TargetCapacity for the target capacity
- // of an Amazon EC2 Spot fleet request. If you specify a scalable dimension,
- // you must also specify a resource ID.
+ // The scalable dimension associated with the scalable target. This string consists
+ // of the service namespace, resource type, and scaling property. If you specify
+ // a scalable dimension, you must also specify a resource ID.
+ //
+ // * ecs:service:DesiredCount - The desired task count of an ECS service.
+ //
+ // * ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot
+ // fleet request.
+ //
+ // * elasticmapreduce:instancegroup:InstanceCount - The instance count of
+ // an EMR Instance Group.
ScalableDimension *string `type:"string" enum:"ScalableDimension"`
- // The namespace for the AWS service that the scalable target is associated
- // with. For more information, see AWS Service Namespaces (http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces)
+ // The namespace of the AWS service. For more information, see AWS Service Namespaces
+ // (http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces)
// in the Amazon Web Services General Reference.
//
// ServiceNamespace is a required field
@@ -969,13 +1048,41 @@ func (s *DescribeScalableTargetsInput) Validate() error {
return nil
}
+// SetMaxResults sets the MaxResults field's value.
+func (s *DescribeScalableTargetsInput) SetMaxResults(v int64) *DescribeScalableTargetsInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeScalableTargetsInput) SetNextToken(v string) *DescribeScalableTargetsInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetResourceIds sets the ResourceIds field's value.
+func (s *DescribeScalableTargetsInput) SetResourceIds(v []*string) *DescribeScalableTargetsInput {
+ s.ResourceIds = v
+ return s
+}
+
+// SetScalableDimension sets the ScalableDimension field's value.
+func (s *DescribeScalableTargetsInput) SetScalableDimension(v string) *DescribeScalableTargetsInput {
+ s.ScalableDimension = &v
+ return s
+}
+
+// SetServiceNamespace sets the ServiceNamespace field's value.
+func (s *DescribeScalableTargetsInput) SetServiceNamespace(v string) *DescribeScalableTargetsInput {
+ s.ServiceNamespace = &v
+ return s
+}
+
type DescribeScalableTargetsOutput struct {
_ struct{} `type:"structure"`
- // The NextToken value to include in a future DescribeScalableTargets request.
- // When the results of a DescribeScalableTargets request exceed MaxResults,
- // this value can be used to retrieve the next page of results. This value is
- // null when there are no more results to return.
+ // The token required to get the next set of results. This value is null if
+ // there are no more results to return.
NextToken *string `type:"string"`
// The list of scalable targets that matches the request parameters.
@@ -992,44 +1099,62 @@ func (s DescribeScalableTargetsOutput) GoString() string {
return s.String()
}
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeScalableTargetsOutput) SetNextToken(v string) *DescribeScalableTargetsOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetScalableTargets sets the ScalableTargets field's value.
+func (s *DescribeScalableTargetsOutput) SetScalableTargets(v []*ScalableTarget) *DescribeScalableTargetsOutput {
+ s.ScalableTargets = v
+ return s
+}
+
type DescribeScalingActivitiesInput struct {
_ struct{} `type:"structure"`
- // The maximum number of scaling activity results returned by DescribeScalingActivities
- // in paginated output. When this parameter is used, DescribeScalingActivities
- // returns up to MaxResults results in a single page along with a NextToken
- // response element. The remaining results of the initial request can be seen
- // by sending another DescribeScalingActivities request with the returned NextToken
- // value. This value can be between 1 and 50. If this parameter is not used,
- // then DescribeScalingActivities returns up to 50 results and a NextToken value,
- // if applicable.
+ // The maximum number of scalable target 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
+ // at a time, along with a NextToken value. To get the next set of results,
+ // include the NextToken value in a subsequent call. If this parameter is not
+ // used, the operation returns up to 50 results and a NextToken value, if applicable.
MaxResults *int64 `type:"integer"`
- // The NextToken value returned from a previous paginated DescribeScalingActivities
- // request. 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.
+ // The token for the next set of results.
NextToken *string `type:"string"`
- // The resource type and unique identifier string for the resource associated
- // with the scaling activity. For Amazon ECS services, the resource type is
- // services, and the identifier is the cluster name and service name; for example,
- // service/default/sample-webapp. For Amazon EC2 Spot fleet requests, the resource
- // type is spot-fleet-request, and the identifier is the Spot fleet request
- // ID; for example, spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE.
- // If you specify a scalable dimension, you must also specify a resource ID.
+ // The identifier of the resource associated with the scaling activity. This
+ // string consists of the resource type and unique identifier. If you specify
+ // a scalable dimension, you must also specify a resource ID.
+ //
+ // * ECS service - The resource type is service and the unique identifier
+ // is the cluster name and service name. Example: service/default/sample-webapp.
+ //
+ // * Spot fleet request - The resource type is spot-fleet-request and the
+ // unique identifier is the Spot fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE.
+ //
+ // * EMR cluster - The resource type is instancegroup and the unique identifier
+ // is the cluster ID and instance group ID. Example: instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0.
ResourceId *string `min:"1" type:"string"`
- // The scalable dimension associated with the scaling activity. The scalable
- // dimension contains the service namespace, resource type, and scaling property,
- // such as ecs:service:DesiredCount for the desired task count of an Amazon
- // ECS service, or ec2:spot-fleet-request:TargetCapacity for the target capacity
- // of an Amazon EC2 Spot fleet request. If you specify a scalable dimension,
- // you must also specify a resource ID.
+ // The scalable dimension. This string consists of the service namespace, resource
+ // type, and scaling property. If you specify a scalable dimension, you must
+ // also specify a resource ID.
+ //
+ // * ecs:service:DesiredCount - The desired task count of an ECS service.
+ //
+ // * ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot
+ // fleet request.
+ //
+ // * elasticmapreduce:instancegroup:InstanceCount - The instance count of
+ // an EMR Instance Group.
ScalableDimension *string `type:"string" enum:"ScalableDimension"`
- // The namespace for the AWS service that the scaling activity is associated
- // with. For more information, see AWS Service Namespaces (http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces)
+ // The namespace of the AWS service. For more information, see AWS Service Namespaces
+ // (http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces)
// in the Amazon Web Services General Reference.
//
// ServiceNamespace is a required field
@@ -1062,13 +1187,41 @@ func (s *DescribeScalingActivitiesInput) Validate() error {
return nil
}
+// SetMaxResults sets the MaxResults field's value.
+func (s *DescribeScalingActivitiesInput) SetMaxResults(v int64) *DescribeScalingActivitiesInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeScalingActivitiesInput) SetNextToken(v string) *DescribeScalingActivitiesInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetResourceId sets the ResourceId field's value.
+func (s *DescribeScalingActivitiesInput) SetResourceId(v string) *DescribeScalingActivitiesInput {
+ s.ResourceId = &v
+ return s
+}
+
+// SetScalableDimension sets the ScalableDimension field's value.
+func (s *DescribeScalingActivitiesInput) SetScalableDimension(v string) *DescribeScalingActivitiesInput {
+ s.ScalableDimension = &v
+ return s
+}
+
+// SetServiceNamespace sets the ServiceNamespace field's value.
+func (s *DescribeScalingActivitiesInput) SetServiceNamespace(v string) *DescribeScalingActivitiesInput {
+ s.ServiceNamespace = &v
+ return s
+}
+
type DescribeScalingActivitiesOutput struct {
_ struct{} `type:"structure"`
- // The NextToken value to include in a future DescribeScalingActivities request.
- // When the results of a DescribeScalingActivities request exceed MaxResults,
- // this value can be used to retrieve the next page of results. This value is
- // null when there are no more results to return.
+ // The token required to get the next set of results. This value is null if
+ // there are no more results to return.
NextToken *string `type:"string"`
// A list of scaling activity objects.
@@ -1085,47 +1238,65 @@ func (s DescribeScalingActivitiesOutput) GoString() string {
return s.String()
}
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeScalingActivitiesOutput) SetNextToken(v string) *DescribeScalingActivitiesOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetScalingActivities sets the ScalingActivities field's value.
+func (s *DescribeScalingActivitiesOutput) SetScalingActivities(v []*ScalingActivity) *DescribeScalingActivitiesOutput {
+ s.ScalingActivities = v
+ return s
+}
+
type DescribeScalingPoliciesInput struct {
_ struct{} `type:"structure"`
- // The maximum number of scaling policy results returned by DescribeScalingPolicies
- // in paginated output. When this parameter is used, DescribeScalingPolicies
- // returns up to MaxResults results in a single page along with a NextToken
- // response element. The remaining results of the initial request can be seen
- // by sending another DescribeScalingPolicies request with the returned NextToken
- // value. This value can be between 1 and 50. If this parameter is not used,
- // then DescribeScalingPolicies returns up to 50 results and a NextToken value,
- // if applicable.
+ // The maximum number of scalable target 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
+ // at a time, along with a NextToken value. To get the next set of results,
+ // include the NextToken value in a subsequent call. If this parameter is not
+ // used, the operation returns up to 50 results and a NextToken value, if applicable.
MaxResults *int64 `type:"integer"`
- // The NextToken value returned from a previous paginated DescribeScalingPolicies
- // request. 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.
+ // The token for the next set of results.
NextToken *string `type:"string"`
// The names of the scaling policies to describe.
PolicyNames []*string `type:"list"`
- // The unique resource identifier string of the scalable target that the scaling
- // policy is associated with. For Amazon ECS services, the resource type is
- // services, and the identifier is the cluster name and service name; for example,
- // service/default/sample-webapp. For Amazon EC2 Spot fleet requests, the resource
- // type is spot-fleet-request, and the identifier is the Spot fleet request
- // ID; for example, spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE.
- // If you specify a scalable dimension, you must also specify a resource ID.
+ // The identifier of the resource associated with the scaling policy. This string
+ // consists of the resource type and unique identifier. If you specify a scalable
+ // dimension, you must also specify a resource ID.
+ //
+ // * ECS service - The resource type is service and the unique identifier
+ // is the cluster name and service name. Example: service/default/sample-webapp.
+ //
+ // * Spot fleet request - The resource type is spot-fleet-request and the
+ // unique identifier is the Spot fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE.
+ //
+ // * EMR cluster - The resource type is instancegroup and the unique identifier
+ // is the cluster ID and instance group ID. Example: instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0.
ResourceId *string `min:"1" type:"string"`
- // The scalable dimension of the scalable target that the scaling policy is
- // associated with. The scalable dimension contains the service namespace, resource
- // type, and scaling property, such as ecs:service:DesiredCount for the desired
- // task count of an Amazon ECS service, or ec2:spot-fleet-request:TargetCapacity
- // for the target capacity of an Amazon EC2 Spot fleet request. If you specify
- // a scalable dimension, you must also specify a resource ID.
+ // The scalable dimension. This string consists of the service namespace, resource
+ // type, and scaling property. If you specify a scalable dimension, you must
+ // also specify a resource ID.
+ //
+ // * ecs:service:DesiredCount - The desired task count of an ECS service.
+ //
+ // * ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot
+ // fleet request.
+ //
+ // * elasticmapreduce:instancegroup:InstanceCount - The instance count of
+ // an EMR Instance Group.
ScalableDimension *string `type:"string" enum:"ScalableDimension"`
- // The AWS service namespace of the scalable target that the scaling policy
- // is associated with. For more information, see AWS Service Namespaces (http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces)
+ // The namespace of the AWS service. For more information, see AWS Service Namespaces
+ // (http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces)
// in the Amazon Web Services General Reference.
//
// ServiceNamespace is a required field
@@ -1158,13 +1329,47 @@ func (s *DescribeScalingPoliciesInput) Validate() error {
return nil
}
+// SetMaxResults sets the MaxResults field's value.
+func (s *DescribeScalingPoliciesInput) SetMaxResults(v int64) *DescribeScalingPoliciesInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeScalingPoliciesInput) SetNextToken(v string) *DescribeScalingPoliciesInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetPolicyNames sets the PolicyNames field's value.
+func (s *DescribeScalingPoliciesInput) SetPolicyNames(v []*string) *DescribeScalingPoliciesInput {
+ s.PolicyNames = v
+ return s
+}
+
+// SetResourceId sets the ResourceId field's value.
+func (s *DescribeScalingPoliciesInput) SetResourceId(v string) *DescribeScalingPoliciesInput {
+ s.ResourceId = &v
+ return s
+}
+
+// SetScalableDimension sets the ScalableDimension field's value.
+func (s *DescribeScalingPoliciesInput) SetScalableDimension(v string) *DescribeScalingPoliciesInput {
+ s.ScalableDimension = &v
+ return s
+}
+
+// SetServiceNamespace sets the ServiceNamespace field's value.
+func (s *DescribeScalingPoliciesInput) SetServiceNamespace(v string) *DescribeScalingPoliciesInput {
+ s.ServiceNamespace = &v
+ return s
+}
+
type DescribeScalingPoliciesOutput struct {
_ struct{} `type:"structure"`
- // The NextToken value to include in a future DescribeScalingPolicies request.
- // When the results of a DescribeScalingPolicies request exceed MaxResults,
- // this value can be used to retrieve the next page of results. This value is
- // null when there are no more results to return.
+ // The token required to get the next set of results. This value is null if
+ // there are no more results to return.
NextToken *string `type:"string"`
// A list of scaling policy objects.
@@ -1181,6 +1386,18 @@ func (s DescribeScalingPoliciesOutput) GoString() string {
return s.String()
}
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeScalingPoliciesOutput) SetNextToken(v string) *DescribeScalingPoliciesOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetScalingPolicies sets the ScalingPolicies field's value.
+func (s *DescribeScalingPoliciesOutput) SetScalingPolicies(v []*ScalingPolicy) *DescribeScalingPoliciesOutput {
+ s.ScalingPolicies = v
+ return s
+}
+
type PutScalingPolicyInput struct {
_ struct{} `type:"structure"`
@@ -1190,37 +1407,48 @@ type PutScalingPolicyInput struct {
PolicyName *string `min:"1" type:"string" required:"true"`
// The policy type. If you are creating a new policy, this parameter is required.
- // If you are updating an existing policy, this parameter is not required.
+ // If you are updating a policy, this parameter is not required.
PolicyType *string `type:"string" enum:"PolicyType"`
- // The unique resource identifier string for the scalable target that this scaling
- // policy applies to. For Amazon ECS services, the resource type is services,
- // and the identifier is the cluster name and service name; for example, service/default/sample-webapp.
- // For Amazon EC2 Spot fleet requests, the resource type is spot-fleet-request,
- // and the identifier is the Spot fleet request ID; for example, spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE.
+ // The identifier of the resource associated with the scaling policy. This string
+ // consists of the resource type and unique identifier.
+ //
+ // * ECS service - The resource type is service and the unique identifier
+ // is the cluster name and service name. Example: service/default/sample-webapp.
+ //
+ // * Spot fleet request - The resource type is spot-fleet-request and the
+ // unique identifier is the Spot fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE.
+ //
+ // * EMR cluster - The resource type is instancegroup and the unique identifier
+ // is the cluster ID and instance group ID. Example: instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0.
//
// ResourceId is a required field
ResourceId *string `min:"1" type:"string" required:"true"`
- // The scalable dimension of the scalable target that this scaling policy applies
- // to. The scalable dimension contains the service namespace, resource type,
- // and scaling property, such as ecs:service:DesiredCount for the desired task
- // count of an Amazon ECS service, or ec2:spot-fleet-request:TargetCapacity
- // for the target capacity of an Amazon EC2 Spot fleet request.
+ // The scalable dimension. This string consists of the service namespace, resource
+ // type, and scaling property.
+ //
+ // * ecs:service:DesiredCount - The desired task count of an ECS service.
+ //
+ // * ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot
+ // fleet request.
+ //
+ // * elasticmapreduce:instancegroup:InstanceCount - The instance count of
+ // an EMR Instance Group.
//
// ScalableDimension is a required field
ScalableDimension *string `type:"string" required:"true" enum:"ScalableDimension"`
- // The AWS service namespace of the scalable target that this scaling policy
- // applies to. For more information, see AWS Service Namespaces (http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces)
+ // The namespace of the AWS service. For more information, see AWS Service Namespaces
+ // (http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces)
// in the Amazon Web Services General Reference.
//
// ServiceNamespace is a required field
ServiceNamespace *string `type:"string" required:"true" enum:"ServiceNamespace"`
// The configuration for the step scaling policy. If you are creating a new
- // policy, this parameter is required. If you are updating an existing policy,
- // this parameter is not required. For more information, see StepScalingPolicyConfiguration
+ // policy, this parameter is required. If you are updating a policy, this parameter
+ // is not required. For more information, see StepScalingPolicyConfiguration
// and StepAdjustment.
StepScalingPolicyConfiguration *StepScalingPolicyConfiguration `type:"structure"`
}
@@ -1268,6 +1496,42 @@ func (s *PutScalingPolicyInput) Validate() error {
return nil
}
+// SetPolicyName sets the PolicyName field's value.
+func (s *PutScalingPolicyInput) SetPolicyName(v string) *PutScalingPolicyInput {
+ s.PolicyName = &v
+ return s
+}
+
+// SetPolicyType sets the PolicyType field's value.
+func (s *PutScalingPolicyInput) SetPolicyType(v string) *PutScalingPolicyInput {
+ s.PolicyType = &v
+ return s
+}
+
+// SetResourceId sets the ResourceId field's value.
+func (s *PutScalingPolicyInput) SetResourceId(v string) *PutScalingPolicyInput {
+ s.ResourceId = &v
+ return s
+}
+
+// SetScalableDimension sets the ScalableDimension field's value.
+func (s *PutScalingPolicyInput) SetScalableDimension(v string) *PutScalingPolicyInput {
+ s.ScalableDimension = &v
+ return s
+}
+
+// SetServiceNamespace sets the ServiceNamespace field's value.
+func (s *PutScalingPolicyInput) SetServiceNamespace(v string) *PutScalingPolicyInput {
+ s.ServiceNamespace = &v
+ return s
+}
+
+// SetStepScalingPolicyConfiguration sets the StepScalingPolicyConfiguration field's value.
+func (s *PutScalingPolicyInput) SetStepScalingPolicyConfiguration(v *StepScalingPolicyConfiguration) *PutScalingPolicyInput {
+ s.StepScalingPolicyConfiguration = v
+ return s
+}
+
type PutScalingPolicyOutput struct {
_ struct{} `type:"structure"`
@@ -1287,46 +1551,61 @@ func (s PutScalingPolicyOutput) GoString() string {
return s.String()
}
+// SetPolicyARN sets the PolicyARN field's value.
+func (s *PutScalingPolicyOutput) SetPolicyARN(v string) *PutScalingPolicyOutput {
+ s.PolicyARN = &v
+ return s
+}
+
type RegisterScalableTargetInput struct {
_ struct{} `type:"structure"`
- // The maximum value for this scalable target to scale out to in response to
- // scaling activities. This parameter is required if you are registering a new
- // scalable target, and it is optional if you are updating an existing one.
+ // The maximum value to scale to in response to a scale out event. This parameter
+ // is required if you are registering a scalable target and optional if you
+ // are updating one.
MaxCapacity *int64 `type:"integer"`
- // The minimum value for this scalable target to scale in to in response to
- // scaling activities. This parameter is required if you are registering a new
- // scalable target, and it is optional if you are updating an existing one.
+ // The minimum value to scale to in response to a scale in event. This parameter
+ // is required if you are registering a scalable target and optional if you
+ // are updating one.
MinCapacity *int64 `type:"integer"`
- // The resource type and unique identifier string for the resource to associate
- // with the scalable target. For Amazon ECS services, the resource type is services,
- // and the identifier is the cluster name and service name; for example, service/default/sample-webapp.
- // For Amazon EC2 Spot fleet requests, the resource type is spot-fleet-request,
- // and the identifier is the Spot fleet request ID; for example, spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE.
+ // The identifier of the resource associated with the scalable target. This
+ // string consists of the resource type and unique identifier.
+ //
+ // * ECS service - The resource type is service and the unique identifier
+ // is the cluster name and service name. Example: service/default/sample-webapp.
+ //
+ // * Spot fleet request - The resource type is spot-fleet-request and the
+ // unique identifier is the Spot fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE.
+ //
+ // * EMR cluster - The resource type is instancegroup and the unique identifier
+ // is the cluster ID and instance group ID. Example: instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0.
//
// ResourceId is a required field
ResourceId *string `min:"1" type:"string" required:"true"`
- // The ARN of the IAM role that allows Application Auto Scaling to modify your
- // scalable target on your behalf. This parameter is required if you are registering
- // a new scalable target, and it is optional if you are updating an existing
- // one.
+ // 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.
RoleARN *string `min:"1" type:"string"`
- // The scalable dimension associated with the scalable target. The scalable
- // dimension contains the service namespace, resource type, and scaling property,
- // such as ecs:service:DesiredCount for the desired task count of an Amazon
- // ECS service, or ec2:spot-fleet-request:TargetCapacity for the target capacity
- // of an Amazon EC2 Spot fleet request.
+ // The scalable dimension associated with the scalable target. This string consists
+ // of the service namespace, resource type, and scaling property.
+ //
+ // * ecs:service:DesiredCount - The desired task count of an ECS service.
+ //
+ // * ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot
+ // fleet request.
+ //
+ // * elasticmapreduce:instancegroup:InstanceCount - The instance count of
+ // an EMR Instance Group.
//
// ScalableDimension is a required field
ScalableDimension *string `type:"string" required:"true" enum:"ScalableDimension"`
- // The namespace for the AWS service that the scalable target is associated
- // with. For Amazon ECS services, the namespace value is ecs. For more information,
- // see AWS Service Namespaces (http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces)
+ // The namespace of the AWS service. For more information, see AWS Service Namespaces
+ // (http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces)
// in the Amazon Web Services General Reference.
//
// ServiceNamespace is a required field
@@ -1368,6 +1647,42 @@ func (s *RegisterScalableTargetInput) Validate() error {
return nil
}
+// SetMaxCapacity sets the MaxCapacity field's value.
+func (s *RegisterScalableTargetInput) SetMaxCapacity(v int64) *RegisterScalableTargetInput {
+ s.MaxCapacity = &v
+ return s
+}
+
+// SetMinCapacity sets the MinCapacity field's value.
+func (s *RegisterScalableTargetInput) SetMinCapacity(v int64) *RegisterScalableTargetInput {
+ s.MinCapacity = &v
+ return s
+}
+
+// SetResourceId sets the ResourceId field's value.
+func (s *RegisterScalableTargetInput) SetResourceId(v string) *RegisterScalableTargetInput {
+ s.ResourceId = &v
+ return s
+}
+
+// SetRoleARN sets the RoleARN field's value.
+func (s *RegisterScalableTargetInput) SetRoleARN(v string) *RegisterScalableTargetInput {
+ s.RoleARN = &v
+ return s
+}
+
+// SetScalableDimension sets the ScalableDimension field's value.
+func (s *RegisterScalableTargetInput) SetScalableDimension(v string) *RegisterScalableTargetInput {
+ s.ScalableDimension = &v
+ return s
+}
+
+// SetServiceNamespace sets the ServiceNamespace field's value.
+func (s *RegisterScalableTargetInput) SetServiceNamespace(v string) *RegisterScalableTargetInput {
+ s.ServiceNamespace = &v
+ return s
+}
+
type RegisterScalableTargetOutput struct {
_ struct{} `type:"structure"`
}
@@ -1382,7 +1697,7 @@ func (s RegisterScalableTargetOutput) GoString() string {
return s.String()
}
-// An object representing a scalable target.
+// Represents a scalable target.
type ScalableTarget struct {
_ struct{} `type:"structure"`
@@ -1391,44 +1706,53 @@ type ScalableTarget struct {
// CreationTime is a required field
CreationTime *time.Time `type:"timestamp" timestampFormat:"unix" required:"true"`
- // The maximum value for this scalable target to scale out to in response to
- // scaling activities.
+ // The maximum value to scale to in response to a scale out event.
//
// MaxCapacity is a required field
MaxCapacity *int64 `type:"integer" required:"true"`
- // The minimum value for this scalable target to scale in to in response to
- // scaling activities.
+ // The minimum value to scale to in response to a scale in event.
//
// MinCapacity is a required field
MinCapacity *int64 `type:"integer" required:"true"`
- // The resource type and unique identifier string for the resource associated
- // with the scalable target. For Amazon ECS services, the resource type is services,
- // and the identifier is the cluster name and service name; for example, service/default/sample-webapp.
- // For Amazon EC2 Spot fleet requests, the resource type is spot-fleet-request,
- // and the identifier is the Spot fleet request ID; for example, spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE.
+ // The identifier of the resource associated with the scalable target. This
+ // string consists of the resource type and unique identifier.
+ //
+ // * ECS service - The resource type is service and the unique identifier
+ // is the cluster name and service name. Example: service/default/sample-webapp.
+ //
+ // * Spot fleet request - The resource type is spot-fleet-request and the
+ // unique identifier is the Spot fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE.
+ //
+ // * EMR cluster - The resource type is instancegroup and the unique identifier
+ // is the cluster ID and instance group ID. Example: instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0.
//
// ResourceId is a required field
ResourceId *string `min:"1" type:"string" required:"true"`
- // The ARN of the IAM role that allows Application Auto Scaling to modify your
+ // The ARN of an IAM role that allows Application Auto Scaling to modify the
// scalable target on your behalf.
//
// RoleARN is a required field
RoleARN *string `min:"1" type:"string" required:"true"`
- // The scalable dimension associated with the scalable target. The scalable
- // dimension contains the service namespace, resource type, and scaling property,
- // such as ecs:service:DesiredCount for the desired task count of an Amazon
- // ECS service, or ec2:spot-fleet-request:TargetCapacity for the target capacity
- // of an Amazon EC2 Spot fleet request.
+ // The scalable dimension associated with the scalable target. This string consists
+ // of the service namespace, resource type, and scaling property.
+ //
+ // * ecs:service:DesiredCount - The desired task count of an ECS service.
+ //
+ // * ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot
+ // fleet request.
+ //
+ // * elasticmapreduce:instancegroup:InstanceCount - The instance count of
+ // an EMR Instance Group.
//
// ScalableDimension is a required field
ScalableDimension *string `type:"string" required:"true" enum:"ScalableDimension"`
- // The namespace for the AWS service that the scalable target is associated
- // with. For more information, see AWS Service Namespaces (http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces)
+ // The namespace of the AWS service. For more information, see AWS Service Namespaces
+ // (http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces)
// in the Amazon Web Services General Reference.
//
// ServiceNamespace is a required field
@@ -1445,11 +1769,53 @@ func (s ScalableTarget) GoString() string {
return s.String()
}
-// An object representing a scaling activity.
+// SetCreationTime sets the CreationTime field's value.
+func (s *ScalableTarget) SetCreationTime(v time.Time) *ScalableTarget {
+ s.CreationTime = &v
+ return s
+}
+
+// SetMaxCapacity sets the MaxCapacity field's value.
+func (s *ScalableTarget) SetMaxCapacity(v int64) *ScalableTarget {
+ s.MaxCapacity = &v
+ return s
+}
+
+// SetMinCapacity sets the MinCapacity field's value.
+func (s *ScalableTarget) SetMinCapacity(v int64) *ScalableTarget {
+ s.MinCapacity = &v
+ return s
+}
+
+// SetResourceId sets the ResourceId field's value.
+func (s *ScalableTarget) SetResourceId(v string) *ScalableTarget {
+ s.ResourceId = &v
+ return s
+}
+
+// SetRoleARN sets the RoleARN field's value.
+func (s *ScalableTarget) SetRoleARN(v string) *ScalableTarget {
+ s.RoleARN = &v
+ return s
+}
+
+// SetScalableDimension sets the ScalableDimension field's value.
+func (s *ScalableTarget) SetScalableDimension(v string) *ScalableTarget {
+ s.ScalableDimension = &v
+ return s
+}
+
+// SetServiceNamespace sets the ServiceNamespace field's value.
+func (s *ScalableTarget) SetServiceNamespace(v string) *ScalableTarget {
+ s.ServiceNamespace = &v
+ return s
+}
+
+// Represents a scaling activity.
type ScalingActivity struct {
_ struct{} `type:"structure"`
- // The unique identifier string for the scaling activity.
+ // The unique identifier of the scaling activity.
//
// ActivityId is a required field
ActivityId *string `type:"string" required:"true"`
@@ -1470,27 +1836,37 @@ type ScalingActivity struct {
// The Unix timestamp for when the scaling activity ended.
EndTime *time.Time `type:"timestamp" timestampFormat:"unix"`
- // The resource type and unique identifier string for the resource associated
- // with the scaling activity. For Amazon ECS services, the resource type is
- // services, and the identifier is the cluster name and service name; for example,
- // service/default/sample-webapp. For Amazon EC2 Spot fleet requests, the resource
- // type is spot-fleet-request, and the identifier is the Spot fleet request
- // ID; for example, spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE.
+ // The identifier of the resource associated with the scaling activity. This
+ // string consists of the resource type and unique identifier.
+ //
+ // * ECS service - The resource type is service and the unique identifier
+ // is the cluster name and service name. Example: service/default/sample-webapp.
+ //
+ // * Spot fleet request - The resource type is spot-fleet-request and the
+ // unique identifier is the Spot fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE.
+ //
+ // * EMR cluster - The resource type is instancegroup and the unique identifier
+ // is the cluster ID and instance group ID. Example: instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0.
//
// ResourceId is a required field
ResourceId *string `min:"1" type:"string" required:"true"`
- // The scalable dimension associated with the scaling activity. The scalable
- // dimension contains the service namespace, resource type, and scaling property,
- // such as ecs:service:DesiredCount for the desired task count of an Amazon
- // ECS service, or ec2:spot-fleet-request:TargetCapacity for the target capacity
- // of an Amazon EC2 Spot fleet request.
+ // The scalable dimension. This string consists of the service namespace, resource
+ // type, and scaling property.
+ //
+ // * ecs:service:DesiredCount - The desired task count of an ECS service.
+ //
+ // * ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot
+ // fleet request.
+ //
+ // * elasticmapreduce:instancegroup:InstanceCount - The instance count of
+ // an EMR Instance Group.
//
// ScalableDimension is a required field
ScalableDimension *string `type:"string" required:"true" enum:"ScalableDimension"`
- // The namespace for the AWS service that the scaling activity is associated
- // with. For more information, see AWS Service Namespaces (http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces)
+ // The namespace of the AWS service. For more information, see AWS Service Namespaces
+ // (http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces)
// in the Amazon Web Services General Reference.
//
// ServiceNamespace is a required field
@@ -1520,11 +1896,77 @@ func (s ScalingActivity) GoString() string {
return s.String()
}
-// An object representing a scaling policy.
+// SetActivityId sets the ActivityId field's value.
+func (s *ScalingActivity) SetActivityId(v string) *ScalingActivity {
+ s.ActivityId = &v
+ return s
+}
+
+// SetCause sets the Cause field's value.
+func (s *ScalingActivity) SetCause(v string) *ScalingActivity {
+ s.Cause = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *ScalingActivity) SetDescription(v string) *ScalingActivity {
+ s.Description = &v
+ return s
+}
+
+// SetDetails sets the Details field's value.
+func (s *ScalingActivity) SetDetails(v string) *ScalingActivity {
+ s.Details = &v
+ return s
+}
+
+// SetEndTime sets the EndTime field's value.
+func (s *ScalingActivity) SetEndTime(v time.Time) *ScalingActivity {
+ s.EndTime = &v
+ return s
+}
+
+// SetResourceId sets the ResourceId field's value.
+func (s *ScalingActivity) SetResourceId(v string) *ScalingActivity {
+ s.ResourceId = &v
+ return s
+}
+
+// SetScalableDimension sets the ScalableDimension field's value.
+func (s *ScalingActivity) SetScalableDimension(v string) *ScalingActivity {
+ s.ScalableDimension = &v
+ return s
+}
+
+// SetServiceNamespace sets the ServiceNamespace field's value.
+func (s *ScalingActivity) SetServiceNamespace(v string) *ScalingActivity {
+ s.ServiceNamespace = &v
+ return s
+}
+
+// SetStartTime sets the StartTime field's value.
+func (s *ScalingActivity) SetStartTime(v time.Time) *ScalingActivity {
+ s.StartTime = &v
+ return s
+}
+
+// SetStatusCode sets the StatusCode field's value.
+func (s *ScalingActivity) SetStatusCode(v string) *ScalingActivity {
+ s.StatusCode = &v
+ return s
+}
+
+// SetStatusMessage sets the StatusMessage field's value.
+func (s *ScalingActivity) SetStatusMessage(v string) *ScalingActivity {
+ s.StatusMessage = &v
+ return s
+}
+
+// Represents a scaling policy.
type ScalingPolicy struct {
_ struct{} `type:"structure"`
- // The CloudWatch alarms that are associated with the scaling policy.
+ // The CloudWatch alarms associated with the scaling policy.
Alarms []*Alarm `type:"list"`
// The Unix timestamp for when the scaling policy was created.
@@ -1547,26 +1989,37 @@ type ScalingPolicy struct {
// PolicyType is a required field
PolicyType *string `type:"string" required:"true" enum:"PolicyType"`
- // The resource type and unique identifier string for the resource associated
- // with the scaling policy. For Amazon ECS services, the resource type is services,
- // and the identifier is the cluster name and service name; for example, service/default/sample-webapp.
- // For Amazon EC2 Spot fleet requests, the resource type is spot-fleet-request,
- // and the identifier is the Spot fleet request ID; for example, spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE.
+ // The identifier of the resource associated with the scaling policy. This string
+ // consists of the resource type and unique identifier.
+ //
+ // * ECS service - The resource type is service and the unique identifier
+ // is the cluster name and service name. Example: service/default/sample-webapp.
+ //
+ // * Spot fleet request - The resource type is spot-fleet-request and the
+ // unique identifier is the Spot fleet request ID. Example: spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE.
+ //
+ // * EMR cluster - The resource type is instancegroup and the unique identifier
+ // is the cluster ID and instance group ID. Example: instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0.
//
// ResourceId is a required field
ResourceId *string `min:"1" type:"string" required:"true"`
- // The scalable dimension associated with the scaling policy. The scalable dimension
- // contains the service namespace, resource type, and scaling property, such
- // as ecs:service:DesiredCount for the desired task count of an Amazon ECS service,
- // or ec2:spot-fleet-request:TargetCapacity for the target capacity of an Amazon
- // EC2 Spot fleet request.
+ // The scalable dimension. This string consists of the service namespace, resource
+ // type, and scaling property.
+ //
+ // * ecs:service:DesiredCount - The desired task count of an ECS service.
+ //
+ // * ec2:spot-fleet-request:TargetCapacity - The target capacity of a Spot
+ // fleet request.
+ //
+ // * elasticmapreduce:instancegroup:InstanceCount - The instance count of
+ // an EMR Instance Group.
//
// ScalableDimension is a required field
ScalableDimension *string `type:"string" required:"true" enum:"ScalableDimension"`
- // The namespace for the AWS service that the scaling policy is associated with.
- // For more information, see AWS Service Namespaces (http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces)
+ // The namespace of the AWS service. For more information, see AWS Service Namespaces
+ // (http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces)
// in the Amazon Web Services General Reference.
//
// ServiceNamespace is a required field
@@ -1586,21 +2039,74 @@ func (s ScalingPolicy) GoString() string {
return s.String()
}
-// An object representing a step adjustment for a StepScalingPolicyConfiguration.
-// Describes an adjustment based on the difference between the value of the
-// aggregated CloudWatch metric and the breach threshold that you've defined
-// for the alarm.
+// SetAlarms sets the Alarms field's value.
+func (s *ScalingPolicy) SetAlarms(v []*Alarm) *ScalingPolicy {
+ s.Alarms = v
+ return s
+}
+
+// SetCreationTime sets the CreationTime field's value.
+func (s *ScalingPolicy) SetCreationTime(v time.Time) *ScalingPolicy {
+ s.CreationTime = &v
+ return s
+}
+
+// SetPolicyARN sets the PolicyARN field's value.
+func (s *ScalingPolicy) SetPolicyARN(v string) *ScalingPolicy {
+ s.PolicyARN = &v
+ return s
+}
+
+// SetPolicyName sets the PolicyName field's value.
+func (s *ScalingPolicy) SetPolicyName(v string) *ScalingPolicy {
+ s.PolicyName = &v
+ return s
+}
+
+// SetPolicyType sets the PolicyType field's value.
+func (s *ScalingPolicy) SetPolicyType(v string) *ScalingPolicy {
+ s.PolicyType = &v
+ return s
+}
+
+// SetResourceId sets the ResourceId field's value.
+func (s *ScalingPolicy) SetResourceId(v string) *ScalingPolicy {
+ s.ResourceId = &v
+ return s
+}
+
+// SetScalableDimension sets the ScalableDimension field's value.
+func (s *ScalingPolicy) SetScalableDimension(v string) *ScalingPolicy {
+ s.ScalableDimension = &v
+ return s
+}
+
+// SetServiceNamespace sets the ServiceNamespace field's value.
+func (s *ScalingPolicy) SetServiceNamespace(v string) *ScalingPolicy {
+ s.ServiceNamespace = &v
+ return s
+}
+
+// SetStepScalingPolicyConfiguration sets the StepScalingPolicyConfiguration field's value.
+func (s *ScalingPolicy) SetStepScalingPolicyConfiguration(v *StepScalingPolicyConfiguration) *ScalingPolicy {
+ s.StepScalingPolicyConfiguration = v
+ return s
+}
+
+// Represents a step adjustment for a StepScalingPolicyConfiguration. Describes
+// an adjustment based on the difference between the value of the aggregated
+// CloudWatch metric and the breach threshold that you've defined for the alarm.
//
// For the following examples, suppose that you have an alarm with a breach
// threshold of 50:
//
-// * If you want the adjustment to be triggered when the metric is greater
-// than or equal to 50 and less than 60, specify a lower bound of 0 and an
-// upper bound of 10.
+// * To trigger the adjustment when the metric is greater than or equal to
+// 50 and less than 60, specify a lower bound of 0 and an upper bound of
+// 10.
//
-// * If you want the adjustment to be triggered when the metric is greater
-// than 40 and less than or equal to 50, specify a lower bound of -10 and
-// an upper bound of 0.
+// * To trigger the adjustment when the metric is greater than 40 and less
+// than or equal to 50, specify a lower bound of -10 and an upper bound of
+// 0.
//
// There are a few rules for the step adjustments for your step policy:
//
@@ -1666,7 +2172,25 @@ func (s *StepAdjustment) Validate() error {
return nil
}
-// An object representing a step scaling policy configuration.
+// SetMetricIntervalLowerBound sets the MetricIntervalLowerBound field's value.
+func (s *StepAdjustment) SetMetricIntervalLowerBound(v float64) *StepAdjustment {
+ s.MetricIntervalLowerBound = &v
+ return s
+}
+
+// SetMetricIntervalUpperBound sets the MetricIntervalUpperBound field's value.
+func (s *StepAdjustment) SetMetricIntervalUpperBound(v float64) *StepAdjustment {
+ s.MetricIntervalUpperBound = &v
+ return s
+}
+
+// SetScalingAdjustment sets the ScalingAdjustment field's value.
+func (s *StepAdjustment) SetScalingAdjustment(v int64) *StepAdjustment {
+ s.ScalingAdjustment = &v
+ return s
+}
+
+// Represents a step scaling policy configuration.
type StepScalingPolicyConfiguration struct {
_ struct{} `type:"structure"`
@@ -1741,6 +2265,36 @@ func (s *StepScalingPolicyConfiguration) Validate() error {
return nil
}
+// SetAdjustmentType sets the AdjustmentType field's value.
+func (s *StepScalingPolicyConfiguration) SetAdjustmentType(v string) *StepScalingPolicyConfiguration {
+ s.AdjustmentType = &v
+ return s
+}
+
+// SetCooldown sets the Cooldown field's value.
+func (s *StepScalingPolicyConfiguration) SetCooldown(v int64) *StepScalingPolicyConfiguration {
+ s.Cooldown = &v
+ return s
+}
+
+// SetMetricAggregationType sets the MetricAggregationType field's value.
+func (s *StepScalingPolicyConfiguration) SetMetricAggregationType(v string) *StepScalingPolicyConfiguration {
+ s.MetricAggregationType = &v
+ return s
+}
+
+// SetMinAdjustmentMagnitude sets the MinAdjustmentMagnitude field's value.
+func (s *StepScalingPolicyConfiguration) SetMinAdjustmentMagnitude(v int64) *StepScalingPolicyConfiguration {
+ s.MinAdjustmentMagnitude = &v
+ return s
+}
+
+// SetStepAdjustments sets the StepAdjustments field's value.
+func (s *StepScalingPolicyConfiguration) SetStepAdjustments(v []*StepAdjustment) *StepScalingPolicyConfiguration {
+ s.StepAdjustments = v
+ return s
+}
+
const (
// AdjustmentTypeChangeInCapacity is a AdjustmentType enum value
AdjustmentTypeChangeInCapacity = "ChangeInCapacity"
@@ -1774,6 +2328,9 @@ const (
// ScalableDimensionEc2SpotFleetRequestTargetCapacity is a ScalableDimension enum value
ScalableDimensionEc2SpotFleetRequestTargetCapacity = "ec2:spot-fleet-request:TargetCapacity"
+
+ // ScalableDimensionElasticmapreduceInstancegroupInstanceCount is a ScalableDimension enum value
+ ScalableDimensionElasticmapreduceInstancegroupInstanceCount = "elasticmapreduce:instancegroup:InstanceCount"
)
const (
@@ -1800,6 +2357,9 @@ const (
// ServiceNamespaceEcs is a ServiceNamespace enum value
ServiceNamespaceEcs = "ecs"
+ // ServiceNamespaceElasticmapreduce is a ServiceNamespace enum value
+ ServiceNamespaceElasticmapreduce = "elasticmapreduce"
+
// ServiceNamespaceEc2 is a ServiceNamespace enum value
ServiceNamespaceEc2 = "ec2"
)
diff --git a/vendor/github.com/aws/aws-sdk-go/service/applicationautoscaling/service.go b/vendor/github.com/aws/aws-sdk-go/service/applicationautoscaling/service.go
index 5443cf7..ebbb1c4 100644
--- a/vendor/github.com/aws/aws-sdk-go/service/applicationautoscaling/service.go
+++ b/vendor/github.com/aws/aws-sdk-go/service/applicationautoscaling/service.go
@@ -11,41 +11,33 @@ import (
"github.com/aws/aws-sdk-go/private/protocol/jsonrpc"
)
-// Application Auto Scaling is a general purpose Auto Scaling service for supported
-// elastic AWS resources. With Application Auto Scaling, you can automatically
-// scale your AWS resources, with an experience similar to that of Auto Scaling.
-//
-// Application Auto Scaling supports scaling the following AWS resources:
-//
-// * Amazon ECS services
-//
-// * Amazon EC2 Spot fleet instances
-//
+// With Application Auto Scaling, you can automatically scale your AWS resources.
+// The experience similar to that of Auto Scaling (https://aws.amazon.com/autoscaling/).
// You can use Application Auto Scaling to accomplish the following tasks:
//
-// * Define scaling policies for automatically adjusting your AWS resources
+// * Define scaling policies to automatically scale your AWS resources
//
// * Scale your resources in response to CloudWatch alarms
//
-// * View history of your scaling events
-//
-// Application Auto Scaling is available in the following regions:
-//
-// * us-east-1
-//
-// * us-west-1
-//
-// * us-west-2
+// * View the history of your scaling events
//
-// * ap-southeast-1
+// Application Auto Scaling can scale the following AWS resources:
//
-// * ap-southeast-2
+// * Amazon ECS services. For more information, see Service Auto Scaling
+// (http://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-auto-scaling.html)
+// in the Amazon EC2 Container Service Developer Guide.
//
-// * ap-northeast-1
+// * Amazon EC2 Spot fleets. For more information, see Automatic Scaling
+// for Spot Fleet (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/fleet-auto-scaling.html)
+// in the Amazon EC2 User Guide.
//
-// * eu-central-1
+// * Amazon EMR clusters. For more information, see Using Automatic Scaling
+// in Amazon EMR (http://docs.aws.amazon.com/ElasticMapReduce/latest/ManagementGuide/emr-automatic-scaling.html)
+// in the Amazon EMR Management Guide.
//
-// * eu-west-1
+// 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.
//The service client's operations are safe to be used concurrently.
// It is not safe to mutate any of the client's properties though.
type ApplicationAutoScaling struct {
diff --git a/vendor/github.com/aws/aws-sdk-go/service/applicationdiscoveryservice/api.go b/vendor/github.com/aws/aws-sdk-go/service/applicationdiscoveryservice/api.go
index 545cd7b..1383ce0 100644
--- a/vendor/github.com/aws/aws-sdk-go/service/applicationdiscoveryservice/api.go
+++ b/vendor/github.com/aws/aws-sdk-go/service/applicationdiscoveryservice/api.go
@@ -827,6 +827,24 @@ func (s AgentConfigurationStatus) GoString() string {
return s.String()
}
+// SetAgentId sets the AgentId field's value.
+func (s *AgentConfigurationStatus) SetAgentId(v string) *AgentConfigurationStatus {
+ s.AgentId = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *AgentConfigurationStatus) SetDescription(v string) *AgentConfigurationStatus {
+ s.Description = &v
+ return s
+}
+
+// SetOperationSucceeded sets the OperationSucceeded field's value.
+func (s *AgentConfigurationStatus) SetOperationSucceeded(v bool) *AgentConfigurationStatus {
+ s.OperationSucceeded = &v
+ return s
+}
+
// Information about agents associated with the user’s AWS account. Information
// includes agent IDs, IP addresses, media access control (MAC) addresses, agent
// health, hostname where the agent resides, and agent version for each agent.
@@ -863,6 +881,42 @@ func (s AgentInfo) GoString() string {
return s.String()
}
+// SetAgentId sets the AgentId field's value.
+func (s *AgentInfo) SetAgentId(v string) *AgentInfo {
+ s.AgentId = &v
+ return s
+}
+
+// SetAgentNetworkInfoList sets the AgentNetworkInfoList field's value.
+func (s *AgentInfo) SetAgentNetworkInfoList(v []*AgentNetworkInfo) *AgentInfo {
+ s.AgentNetworkInfoList = v
+ return s
+}
+
+// SetConnectorId sets the ConnectorId field's value.
+func (s *AgentInfo) SetConnectorId(v string) *AgentInfo {
+ s.ConnectorId = &v
+ return s
+}
+
+// SetHealth sets the Health field's value.
+func (s *AgentInfo) SetHealth(v string) *AgentInfo {
+ s.Health = &v
+ return s
+}
+
+// SetHostName sets the HostName field's value.
+func (s *AgentInfo) SetHostName(v string) *AgentInfo {
+ s.HostName = &v
+ return s
+}
+
+// SetVersion sets the Version field's value.
+func (s *AgentInfo) SetVersion(v string) *AgentInfo {
+ s.Version = &v
+ return s
+}
+
// Network details about the host where the agent resides.
type AgentNetworkInfo struct {
_ struct{} `type:"structure"`
@@ -884,6 +938,18 @@ func (s AgentNetworkInfo) GoString() string {
return s.String()
}
+// SetIpAddress sets the IpAddress field's value.
+func (s *AgentNetworkInfo) SetIpAddress(v string) *AgentNetworkInfo {
+ s.IpAddress = &v
+ return s
+}
+
+// SetMacAddress sets the MacAddress field's value.
+func (s *AgentNetworkInfo) SetMacAddress(v string) *AgentNetworkInfo {
+ s.MacAddress = &v
+ return s
+}
+
// Tags for a configuration item. Tags are metadata that help you categorize
// IT assets.
type ConfigurationTag struct {
@@ -917,6 +983,36 @@ func (s ConfigurationTag) GoString() string {
return s.String()
}
+// SetConfigurationId sets the ConfigurationId field's value.
+func (s *ConfigurationTag) SetConfigurationId(v string) *ConfigurationTag {
+ s.ConfigurationId = &v
+ return s
+}
+
+// SetConfigurationType sets the ConfigurationType field's value.
+func (s *ConfigurationTag) SetConfigurationType(v string) *ConfigurationTag {
+ s.ConfigurationType = &v
+ return s
+}
+
+// SetKey sets the Key field's value.
+func (s *ConfigurationTag) SetKey(v string) *ConfigurationTag {
+ s.Key = &v
+ return s
+}
+
+// SetTimeOfCreation sets the TimeOfCreation field's value.
+func (s *ConfigurationTag) SetTimeOfCreation(v time.Time) *ConfigurationTag {
+ s.TimeOfCreation = &v
+ return s
+}
+
+// SetValue sets the Value field's value.
+func (s *ConfigurationTag) SetValue(v string) *ConfigurationTag {
+ s.Value = &v
+ return s
+}
+
type CreateTagsInput struct {
_ struct{} `type:"structure"`
@@ -970,6 +1066,18 @@ func (s *CreateTagsInput) Validate() error {
return nil
}
+// SetConfigurationIds sets the ConfigurationIds field's value.
+func (s *CreateTagsInput) SetConfigurationIds(v []*string) *CreateTagsInput {
+ s.ConfigurationIds = v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *CreateTagsInput) SetTags(v []*Tag) *CreateTagsInput {
+ s.Tags = v
+ return s
+}
+
type CreateTagsOutput struct {
_ struct{} `type:"structure"`
}
@@ -1032,6 +1140,18 @@ func (s *DeleteTagsInput) Validate() error {
return nil
}
+// SetConfigurationIds sets the ConfigurationIds field's value.
+func (s *DeleteTagsInput) SetConfigurationIds(v []*string) *DeleteTagsInput {
+ s.ConfigurationIds = v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *DeleteTagsInput) SetTags(v []*Tag) *DeleteTagsInput {
+ s.Tags = v
+ return s
+}
+
type DeleteTagsOutput struct {
_ struct{} `type:"structure"`
}
@@ -1071,6 +1191,24 @@ func (s DescribeAgentsInput) GoString() string {
return s.String()
}
+// SetAgentIds sets the AgentIds field's value.
+func (s *DescribeAgentsInput) SetAgentIds(v []*string) *DescribeAgentsInput {
+ s.AgentIds = v
+ return s
+}
+
+// SetMaxResults sets the MaxResults field's value.
+func (s *DescribeAgentsInput) SetMaxResults(v int64) *DescribeAgentsInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeAgentsInput) SetNextToken(v string) *DescribeAgentsInput {
+ s.NextToken = &v
+ return s
+}
+
type DescribeAgentsOutput struct {
_ struct{} `type:"structure"`
@@ -1094,6 +1232,18 @@ func (s DescribeAgentsOutput) GoString() string {
return s.String()
}
+// SetAgentsInfo sets the AgentsInfo field's value.
+func (s *DescribeAgentsOutput) SetAgentsInfo(v []*AgentInfo) *DescribeAgentsOutput {
+ s.AgentsInfo = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeAgentsOutput) SetNextToken(v string) *DescribeAgentsOutput {
+ s.NextToken = &v
+ return s
+}
+
type DescribeConfigurationsInput struct {
_ struct{} `type:"structure"`
@@ -1126,6 +1276,12 @@ func (s *DescribeConfigurationsInput) Validate() error {
return nil
}
+// SetConfigurationIds sets the ConfigurationIds field's value.
+func (s *DescribeConfigurationsInput) SetConfigurationIds(v []*string) *DescribeConfigurationsInput {
+ s.ConfigurationIds = v
+ return s
+}
+
type DescribeConfigurationsOutput struct {
_ struct{} `type:"structure"`
@@ -1143,6 +1299,12 @@ func (s DescribeConfigurationsOutput) GoString() string {
return s.String()
}
+// SetConfigurations sets the Configurations field's value.
+func (s *DescribeConfigurationsOutput) SetConfigurations(v []map[string]*string) *DescribeConfigurationsOutput {
+ s.Configurations = v
+ return s
+}
+
type DescribeExportConfigurationsInput struct {
_ struct{} `type:"structure"`
@@ -1169,6 +1331,24 @@ func (s DescribeExportConfigurationsInput) GoString() string {
return s.String()
}
+// SetExportIds sets the ExportIds field's value.
+func (s *DescribeExportConfigurationsInput) SetExportIds(v []*string) *DescribeExportConfigurationsInput {
+ s.ExportIds = v
+ return s
+}
+
+// SetMaxResults sets the MaxResults field's value.
+func (s *DescribeExportConfigurationsInput) SetMaxResults(v int64) *DescribeExportConfigurationsInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeExportConfigurationsInput) SetNextToken(v string) *DescribeExportConfigurationsInput {
+ s.NextToken = &v
+ return s
+}
+
type DescribeExportConfigurationsOutput struct {
_ struct{} `type:"structure"`
@@ -1193,6 +1373,18 @@ func (s DescribeExportConfigurationsOutput) GoString() string {
return s.String()
}
+// SetExportsInfo sets the ExportsInfo field's value.
+func (s *DescribeExportConfigurationsOutput) SetExportsInfo(v []*ExportInfo) *DescribeExportConfigurationsOutput {
+ s.ExportsInfo = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeExportConfigurationsOutput) SetNextToken(v string) *DescribeExportConfigurationsOutput {
+ s.NextToken = &v
+ return s
+}
+
type DescribeTagsInput struct {
_ struct{} `type:"structure"`
@@ -1238,6 +1430,24 @@ func (s *DescribeTagsInput) Validate() error {
return nil
}
+// SetFilters sets the Filters field's value.
+func (s *DescribeTagsInput) SetFilters(v []*TagFilter) *DescribeTagsInput {
+ s.Filters = v
+ return s
+}
+
+// SetMaxResults sets the MaxResults field's value.
+func (s *DescribeTagsInput) SetMaxResults(v int64) *DescribeTagsInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeTagsInput) SetNextToken(v string) *DescribeTagsInput {
+ s.NextToken = &v
+ return s
+}
+
type DescribeTagsOutput struct {
_ struct{} `type:"structure"`
@@ -1259,6 +1469,18 @@ func (s DescribeTagsOutput) GoString() string {
return s.String()
}
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeTagsOutput) SetNextToken(v string) *DescribeTagsOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *DescribeTagsOutput) SetTags(v []*ConfigurationTag) *DescribeTagsOutput {
+ s.Tags = v
+ return s
+}
+
type ExportConfigurationsInput struct {
_ struct{} `type:"structure"`
}
@@ -1290,6 +1512,12 @@ func (s ExportConfigurationsOutput) GoString() string {
return s.String()
}
+// SetExportId sets the ExportId field's value.
+func (s *ExportConfigurationsOutput) SetExportId(v string) *ExportConfigurationsOutput {
+ s.ExportId = &v
+ return s
+}
+
// Information regarding the export status of the discovered data. The value
// is an array of objects.
type ExportInfo struct {
@@ -1332,6 +1560,36 @@ func (s ExportInfo) GoString() string {
return s.String()
}
+// SetConfigurationsDownloadUrl sets the ConfigurationsDownloadUrl field's value.
+func (s *ExportInfo) SetConfigurationsDownloadUrl(v string) *ExportInfo {
+ s.ConfigurationsDownloadUrl = &v
+ return s
+}
+
+// SetExportId sets the ExportId field's value.
+func (s *ExportInfo) SetExportId(v string) *ExportInfo {
+ s.ExportId = &v
+ return s
+}
+
+// SetExportRequestTime sets the ExportRequestTime field's value.
+func (s *ExportInfo) SetExportRequestTime(v time.Time) *ExportInfo {
+ s.ExportRequestTime = &v
+ return s
+}
+
+// SetExportStatus sets the ExportStatus field's value.
+func (s *ExportInfo) SetExportStatus(v string) *ExportInfo {
+ s.ExportStatus = &v
+ return s
+}
+
+// SetStatusMessage sets the StatusMessage field's value.
+func (s *ExportInfo) SetStatusMessage(v string) *ExportInfo {
+ s.StatusMessage = &v
+ return s
+}
+
// A filter that can use conditional operators.
type Filter struct {
_ struct{} `type:"structure"`
@@ -1465,6 +1723,24 @@ func (s *Filter) Validate() error {
return nil
}
+// SetCondition sets the Condition field's value.
+func (s *Filter) SetCondition(v string) *Filter {
+ s.Condition = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *Filter) SetName(v string) *Filter {
+ s.Name = &v
+ return s
+}
+
+// SetValues sets the Values field's value.
+func (s *Filter) SetValues(v []*string) *Filter {
+ s.Values = v
+ return s
+}
+
type ListConfigurationsInput struct {
_ struct{} `type:"structure"`
@@ -1520,6 +1796,30 @@ func (s *ListConfigurationsInput) Validate() error {
return nil
}
+// SetConfigurationType sets the ConfigurationType field's value.
+func (s *ListConfigurationsInput) SetConfigurationType(v string) *ListConfigurationsInput {
+ s.ConfigurationType = &v
+ return s
+}
+
+// SetFilters sets the Filters field's value.
+func (s *ListConfigurationsInput) SetFilters(v []*Filter) *ListConfigurationsInput {
+ s.Filters = v
+ return s
+}
+
+// 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
+}
+
type ListConfigurationsOutput struct {
_ struct{} `type:"structure"`
@@ -1541,6 +1841,18 @@ func (s ListConfigurationsOutput) GoString() string {
return s.String()
}
+// SetConfigurations sets the Configurations field's value.
+func (s *ListConfigurationsOutput) SetConfigurations(v []map[string]*string) *ListConfigurationsOutput {
+ s.Configurations = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListConfigurationsOutput) SetNextToken(v string) *ListConfigurationsOutput {
+ s.NextToken = &v
+ return s
+}
+
type StartDataCollectionByAgentIdsInput struct {
_ struct{} `type:"structure"`
@@ -1579,6 +1891,12 @@ func (s *StartDataCollectionByAgentIdsInput) Validate() error {
return nil
}
+// SetAgentIds sets the AgentIds field's value.
+func (s *StartDataCollectionByAgentIdsInput) SetAgentIds(v []*string) *StartDataCollectionByAgentIdsInput {
+ s.AgentIds = v
+ return s
+}
+
type StartDataCollectionByAgentIdsOutput struct {
_ struct{} `type:"structure"`
@@ -1598,6 +1916,12 @@ func (s StartDataCollectionByAgentIdsOutput) GoString() string {
return s.String()
}
+// SetAgentsConfigurationStatus sets the AgentsConfigurationStatus field's value.
+func (s *StartDataCollectionByAgentIdsOutput) SetAgentsConfigurationStatus(v []*AgentConfigurationStatus) *StartDataCollectionByAgentIdsOutput {
+ s.AgentsConfigurationStatus = v
+ return s
+}
+
type StopDataCollectionByAgentIdsInput struct {
_ struct{} `type:"structure"`
@@ -1630,6 +1954,12 @@ func (s *StopDataCollectionByAgentIdsInput) Validate() error {
return nil
}
+// SetAgentIds sets the AgentIds field's value.
+func (s *StopDataCollectionByAgentIdsInput) SetAgentIds(v []*string) *StopDataCollectionByAgentIdsInput {
+ s.AgentIds = v
+ return s
+}
+
type StopDataCollectionByAgentIdsOutput struct {
_ struct{} `type:"structure"`
@@ -1649,6 +1979,12 @@ func (s StopDataCollectionByAgentIdsOutput) GoString() string {
return s.String()
}
+// SetAgentsConfigurationStatus sets the AgentsConfigurationStatus field's value.
+func (s *StopDataCollectionByAgentIdsOutput) SetAgentsConfigurationStatus(v []*AgentConfigurationStatus) *StopDataCollectionByAgentIdsOutput {
+ s.AgentsConfigurationStatus = v
+ return s
+}
+
// Metadata that help you categorize IT assets.
type Tag struct {
_ struct{} `type:"structure"`
@@ -1690,6 +2026,18 @@ func (s *Tag) Validate() error {
return nil
}
+// 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
+}
+
// The name of a tag filter. Valid names are: tagKey, tagValue, configurationId.
type TagFilter struct {
_ struct{} `type:"structure"`
@@ -1731,6 +2079,18 @@ func (s *TagFilter) Validate() error {
return nil
}
+// SetName sets the Name field's value.
+func (s *TagFilter) SetName(v string) *TagFilter {
+ s.Name = &v
+ return s
+}
+
+// SetValues sets the Values field's value.
+func (s *TagFilter) SetValues(v []*string) *TagFilter {
+ s.Values = v
+ return s
+}
+
const (
// AgentStatusHealthy is a AgentStatus enum value
AgentStatusHealthy = "HEALTHY"
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 2e13ba2..884214e 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
@@ -4125,6 +4125,66 @@ func (s Activity) GoString() string {
return s.String()
}
+// SetActivityId sets the ActivityId field's value.
+func (s *Activity) SetActivityId(v string) *Activity {
+ s.ActivityId = &v
+ return s
+}
+
+// SetAutoScalingGroupName sets the AutoScalingGroupName field's value.
+func (s *Activity) SetAutoScalingGroupName(v string) *Activity {
+ s.AutoScalingGroupName = &v
+ return s
+}
+
+// SetCause sets the Cause field's value.
+func (s *Activity) SetCause(v string) *Activity {
+ s.Cause = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *Activity) SetDescription(v string) *Activity {
+ s.Description = &v
+ return s
+}
+
+// SetDetails sets the Details field's value.
+func (s *Activity) SetDetails(v string) *Activity {
+ s.Details = &v
+ return s
+}
+
+// SetEndTime sets the EndTime field's value.
+func (s *Activity) SetEndTime(v time.Time) *Activity {
+ s.EndTime = &v
+ return s
+}
+
+// SetProgress sets the Progress field's value.
+func (s *Activity) SetProgress(v int64) *Activity {
+ s.Progress = &v
+ return s
+}
+
+// SetStartTime sets the StartTime field's value.
+func (s *Activity) SetStartTime(v time.Time) *Activity {
+ s.StartTime = &v
+ return s
+}
+
+// SetStatusCode sets the StatusCode field's value.
+func (s *Activity) SetStatusCode(v string) *Activity {
+ s.StatusCode = &v
+ return s
+}
+
+// SetStatusMessage sets the StatusMessage field's value.
+func (s *Activity) SetStatusMessage(v string) *Activity {
+ s.StatusMessage = &v
+ return s
+}
+
// Describes a policy adjustment type.
//
// For more information, see Dynamic Scaling (http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/as-scale-based-on-demand.html)
@@ -4147,6 +4207,12 @@ func (s AdjustmentType) GoString() string {
return s.String()
}
+// SetAdjustmentType sets the AdjustmentType field's value.
+func (s *AdjustmentType) SetAdjustmentType(v string) *AdjustmentType {
+ s.AdjustmentType = &v
+ return s
+}
+
// Describes an alarm.
type Alarm struct {
_ struct{} `type:"structure"`
@@ -4168,6 +4234,18 @@ func (s Alarm) GoString() string {
return s.String()
}
+// SetAlarmARN sets the AlarmARN field's value.
+func (s *Alarm) SetAlarmARN(v string) *Alarm {
+ s.AlarmARN = &v
+ return s
+}
+
+// SetAlarmName sets the AlarmName field's value.
+func (s *Alarm) SetAlarmName(v string) *Alarm {
+ s.AlarmName = &v
+ return s
+}
+
// Contains the parameters for AttachInstances.
type AttachInstancesInput struct {
_ struct{} `type:"structure"`
@@ -4207,6 +4285,18 @@ func (s *AttachInstancesInput) Validate() error {
return nil
}
+// SetAutoScalingGroupName sets the AutoScalingGroupName field's value.
+func (s *AttachInstancesInput) SetAutoScalingGroupName(v string) *AttachInstancesInput {
+ s.AutoScalingGroupName = &v
+ return s
+}
+
+// SetInstanceIds sets the InstanceIds field's value.
+func (s *AttachInstancesInput) SetInstanceIds(v []*string) *AttachInstancesInput {
+ s.InstanceIds = v
+ return s
+}
+
type AttachInstancesOutput struct {
_ struct{} `type:"structure"`
}
@@ -4265,6 +4355,18 @@ func (s *AttachLoadBalancerTargetGroupsInput) Validate() error {
return nil
}
+// SetAutoScalingGroupName sets the AutoScalingGroupName field's value.
+func (s *AttachLoadBalancerTargetGroupsInput) SetAutoScalingGroupName(v string) *AttachLoadBalancerTargetGroupsInput {
+ s.AutoScalingGroupName = &v
+ return s
+}
+
+// SetTargetGroupARNs sets the TargetGroupARNs field's value.
+func (s *AttachLoadBalancerTargetGroupsInput) SetTargetGroupARNs(v []*string) *AttachLoadBalancerTargetGroupsInput {
+ s.TargetGroupARNs = v
+ return s
+}
+
type AttachLoadBalancerTargetGroupsOutput struct {
_ struct{} `type:"structure"`
}
@@ -4323,6 +4425,18 @@ func (s *AttachLoadBalancersInput) Validate() error {
return nil
}
+// SetAutoScalingGroupName sets the AutoScalingGroupName field's value.
+func (s *AttachLoadBalancersInput) SetAutoScalingGroupName(v string) *AttachLoadBalancersInput {
+ s.AutoScalingGroupName = &v
+ return s
+}
+
+// SetLoadBalancerNames sets the LoadBalancerNames field's value.
+func (s *AttachLoadBalancersInput) SetLoadBalancerNames(v []*string) *AttachLoadBalancersInput {
+ s.LoadBalancerNames = v
+ return s
+}
+
// Contains the output of AttachLoadBalancers.
type AttachLoadBalancersOutput struct {
_ struct{} `type:"structure"`
@@ -4395,6 +4509,30 @@ func (s *BlockDeviceMapping) Validate() error {
return nil
}
+// SetDeviceName sets the DeviceName field's value.
+func (s *BlockDeviceMapping) SetDeviceName(v string) *BlockDeviceMapping {
+ s.DeviceName = &v
+ return s
+}
+
+// SetEbs sets the Ebs field's value.
+func (s *BlockDeviceMapping) SetEbs(v *Ebs) *BlockDeviceMapping {
+ s.Ebs = v
+ return s
+}
+
+// SetNoDevice sets the NoDevice field's value.
+func (s *BlockDeviceMapping) SetNoDevice(v bool) *BlockDeviceMapping {
+ s.NoDevice = &v
+ return s
+}
+
+// SetVirtualName sets the VirtualName field's value.
+func (s *BlockDeviceMapping) SetVirtualName(v string) *BlockDeviceMapping {
+ s.VirtualName = &v
+ return s
+}
+
// Contains the parameters for CompleteLifecycleAction.
type CompleteLifecycleActionInput struct {
_ struct{} `type:"structure"`
@@ -4465,6 +4603,36 @@ func (s *CompleteLifecycleActionInput) Validate() error {
return nil
}
+// SetAutoScalingGroupName sets the AutoScalingGroupName field's value.
+func (s *CompleteLifecycleActionInput) SetAutoScalingGroupName(v string) *CompleteLifecycleActionInput {
+ s.AutoScalingGroupName = &v
+ return s
+}
+
+// SetInstanceId sets the InstanceId field's value.
+func (s *CompleteLifecycleActionInput) SetInstanceId(v string) *CompleteLifecycleActionInput {
+ s.InstanceId = &v
+ return s
+}
+
+// SetLifecycleActionResult sets the LifecycleActionResult field's value.
+func (s *CompleteLifecycleActionInput) SetLifecycleActionResult(v string) *CompleteLifecycleActionInput {
+ s.LifecycleActionResult = &v
+ return s
+}
+
+// SetLifecycleActionToken sets the LifecycleActionToken field's value.
+func (s *CompleteLifecycleActionInput) SetLifecycleActionToken(v string) *CompleteLifecycleActionInput {
+ s.LifecycleActionToken = &v
+ return s
+}
+
+// SetLifecycleHookName sets the LifecycleHookName field's value.
+func (s *CompleteLifecycleActionInput) SetLifecycleHookName(v string) *CompleteLifecycleActionInput {
+ s.LifecycleHookName = &v
+ return s
+}
+
// Contains the output of CompleteLifecycleAction.
type CompleteLifecycleActionOutput struct {
_ struct{} `type:"structure"`
@@ -4656,6 +4824,108 @@ func (s *CreateAutoScalingGroupInput) Validate() error {
return nil
}
+// SetAutoScalingGroupName sets the AutoScalingGroupName field's value.
+func (s *CreateAutoScalingGroupInput) SetAutoScalingGroupName(v string) *CreateAutoScalingGroupInput {
+ s.AutoScalingGroupName = &v
+ return s
+}
+
+// SetAvailabilityZones sets the AvailabilityZones field's value.
+func (s *CreateAutoScalingGroupInput) SetAvailabilityZones(v []*string) *CreateAutoScalingGroupInput {
+ s.AvailabilityZones = v
+ return s
+}
+
+// SetDefaultCooldown sets the DefaultCooldown field's value.
+func (s *CreateAutoScalingGroupInput) SetDefaultCooldown(v int64) *CreateAutoScalingGroupInput {
+ s.DefaultCooldown = &v
+ return s
+}
+
+// SetDesiredCapacity sets the DesiredCapacity field's value.
+func (s *CreateAutoScalingGroupInput) SetDesiredCapacity(v int64) *CreateAutoScalingGroupInput {
+ s.DesiredCapacity = &v
+ return s
+}
+
+// SetHealthCheckGracePeriod sets the HealthCheckGracePeriod field's value.
+func (s *CreateAutoScalingGroupInput) SetHealthCheckGracePeriod(v int64) *CreateAutoScalingGroupInput {
+ s.HealthCheckGracePeriod = &v
+ return s
+}
+
+// SetHealthCheckType sets the HealthCheckType field's value.
+func (s *CreateAutoScalingGroupInput) SetHealthCheckType(v string) *CreateAutoScalingGroupInput {
+ s.HealthCheckType = &v
+ return s
+}
+
+// SetInstanceId sets the InstanceId field's value.
+func (s *CreateAutoScalingGroupInput) SetInstanceId(v string) *CreateAutoScalingGroupInput {
+ s.InstanceId = &v
+ return s
+}
+
+// SetLaunchConfigurationName sets the LaunchConfigurationName field's value.
+func (s *CreateAutoScalingGroupInput) SetLaunchConfigurationName(v string) *CreateAutoScalingGroupInput {
+ s.LaunchConfigurationName = &v
+ return s
+}
+
+// SetLoadBalancerNames sets the LoadBalancerNames field's value.
+func (s *CreateAutoScalingGroupInput) SetLoadBalancerNames(v []*string) *CreateAutoScalingGroupInput {
+ s.LoadBalancerNames = v
+ return s
+}
+
+// SetMaxSize sets the MaxSize field's value.
+func (s *CreateAutoScalingGroupInput) SetMaxSize(v int64) *CreateAutoScalingGroupInput {
+ s.MaxSize = &v
+ return s
+}
+
+// SetMinSize sets the MinSize field's value.
+func (s *CreateAutoScalingGroupInput) SetMinSize(v int64) *CreateAutoScalingGroupInput {
+ s.MinSize = &v
+ return s
+}
+
+// SetNewInstancesProtectedFromScaleIn sets the NewInstancesProtectedFromScaleIn field's value.
+func (s *CreateAutoScalingGroupInput) SetNewInstancesProtectedFromScaleIn(v bool) *CreateAutoScalingGroupInput {
+ s.NewInstancesProtectedFromScaleIn = &v
+ return s
+}
+
+// SetPlacementGroup sets the PlacementGroup field's value.
+func (s *CreateAutoScalingGroupInput) SetPlacementGroup(v string) *CreateAutoScalingGroupInput {
+ s.PlacementGroup = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *CreateAutoScalingGroupInput) SetTags(v []*Tag) *CreateAutoScalingGroupInput {
+ s.Tags = v
+ return s
+}
+
+// SetTargetGroupARNs sets the TargetGroupARNs field's value.
+func (s *CreateAutoScalingGroupInput) SetTargetGroupARNs(v []*string) *CreateAutoScalingGroupInput {
+ s.TargetGroupARNs = v
+ return s
+}
+
+// SetTerminationPolicies sets the TerminationPolicies field's value.
+func (s *CreateAutoScalingGroupInput) SetTerminationPolicies(v []*string) *CreateAutoScalingGroupInput {
+ s.TerminationPolicies = v
+ return s
+}
+
+// SetVPCZoneIdentifier sets the VPCZoneIdentifier field's value.
+func (s *CreateAutoScalingGroupInput) SetVPCZoneIdentifier(v string) *CreateAutoScalingGroupInput {
+ s.VPCZoneIdentifier = &v
+ return s
+}
+
type CreateAutoScalingGroupOutput struct {
_ struct{} `type:"structure"`
}
@@ -4876,6 +5146,114 @@ func (s *CreateLaunchConfigurationInput) Validate() error {
return nil
}
+// SetAssociatePublicIpAddress sets the AssociatePublicIpAddress field's value.
+func (s *CreateLaunchConfigurationInput) SetAssociatePublicIpAddress(v bool) *CreateLaunchConfigurationInput {
+ s.AssociatePublicIpAddress = &v
+ return s
+}
+
+// SetBlockDeviceMappings sets the BlockDeviceMappings field's value.
+func (s *CreateLaunchConfigurationInput) SetBlockDeviceMappings(v []*BlockDeviceMapping) *CreateLaunchConfigurationInput {
+ s.BlockDeviceMappings = v
+ return s
+}
+
+// SetClassicLinkVPCId sets the ClassicLinkVPCId field's value.
+func (s *CreateLaunchConfigurationInput) SetClassicLinkVPCId(v string) *CreateLaunchConfigurationInput {
+ s.ClassicLinkVPCId = &v
+ return s
+}
+
+// SetClassicLinkVPCSecurityGroups sets the ClassicLinkVPCSecurityGroups field's value.
+func (s *CreateLaunchConfigurationInput) SetClassicLinkVPCSecurityGroups(v []*string) *CreateLaunchConfigurationInput {
+ s.ClassicLinkVPCSecurityGroups = v
+ return s
+}
+
+// SetEbsOptimized sets the EbsOptimized field's value.
+func (s *CreateLaunchConfigurationInput) SetEbsOptimized(v bool) *CreateLaunchConfigurationInput {
+ s.EbsOptimized = &v
+ return s
+}
+
+// SetIamInstanceProfile sets the IamInstanceProfile field's value.
+func (s *CreateLaunchConfigurationInput) SetIamInstanceProfile(v string) *CreateLaunchConfigurationInput {
+ s.IamInstanceProfile = &v
+ return s
+}
+
+// SetImageId sets the ImageId field's value.
+func (s *CreateLaunchConfigurationInput) SetImageId(v string) *CreateLaunchConfigurationInput {
+ s.ImageId = &v
+ return s
+}
+
+// SetInstanceId sets the InstanceId field's value.
+func (s *CreateLaunchConfigurationInput) SetInstanceId(v string) *CreateLaunchConfigurationInput {
+ s.InstanceId = &v
+ return s
+}
+
+// SetInstanceMonitoring sets the InstanceMonitoring field's value.
+func (s *CreateLaunchConfigurationInput) SetInstanceMonitoring(v *InstanceMonitoring) *CreateLaunchConfigurationInput {
+ s.InstanceMonitoring = v
+ return s
+}
+
+// SetInstanceType sets the InstanceType field's value.
+func (s *CreateLaunchConfigurationInput) SetInstanceType(v string) *CreateLaunchConfigurationInput {
+ s.InstanceType = &v
+ return s
+}
+
+// SetKernelId sets the KernelId field's value.
+func (s *CreateLaunchConfigurationInput) SetKernelId(v string) *CreateLaunchConfigurationInput {
+ s.KernelId = &v
+ return s
+}
+
+// SetKeyName sets the KeyName field's value.
+func (s *CreateLaunchConfigurationInput) SetKeyName(v string) *CreateLaunchConfigurationInput {
+ s.KeyName = &v
+ return s
+}
+
+// SetLaunchConfigurationName sets the LaunchConfigurationName field's value.
+func (s *CreateLaunchConfigurationInput) SetLaunchConfigurationName(v string) *CreateLaunchConfigurationInput {
+ s.LaunchConfigurationName = &v
+ return s
+}
+
+// SetPlacementTenancy sets the PlacementTenancy field's value.
+func (s *CreateLaunchConfigurationInput) SetPlacementTenancy(v string) *CreateLaunchConfigurationInput {
+ s.PlacementTenancy = &v
+ return s
+}
+
+// SetRamdiskId sets the RamdiskId field's value.
+func (s *CreateLaunchConfigurationInput) SetRamdiskId(v string) *CreateLaunchConfigurationInput {
+ s.RamdiskId = &v
+ return s
+}
+
+// SetSecurityGroups sets the SecurityGroups field's value.
+func (s *CreateLaunchConfigurationInput) SetSecurityGroups(v []*string) *CreateLaunchConfigurationInput {
+ s.SecurityGroups = v
+ return s
+}
+
+// SetSpotPrice sets the SpotPrice field's value.
+func (s *CreateLaunchConfigurationInput) SetSpotPrice(v string) *CreateLaunchConfigurationInput {
+ s.SpotPrice = &v
+ return s
+}
+
+// SetUserData sets the UserData field's value.
+func (s *CreateLaunchConfigurationInput) SetUserData(v string) *CreateLaunchConfigurationInput {
+ s.UserData = &v
+ return s
+}
+
type CreateLaunchConfigurationOutput struct {
_ struct{} `type:"structure"`
}
@@ -4933,6 +5311,12 @@ func (s *CreateOrUpdateTagsInput) Validate() error {
return nil
}
+// SetTags sets the Tags field's value.
+func (s *CreateOrUpdateTagsInput) SetTags(v []*Tag) *CreateOrUpdateTagsInput {
+ s.Tags = v
+ return s
+}
+
type CreateOrUpdateTagsOutput struct {
_ struct{} `type:"structure"`
}
@@ -4988,6 +5372,18 @@ func (s *DeleteAutoScalingGroupInput) Validate() error {
return nil
}
+// SetAutoScalingGroupName sets the AutoScalingGroupName field's value.
+func (s *DeleteAutoScalingGroupInput) SetAutoScalingGroupName(v string) *DeleteAutoScalingGroupInput {
+ s.AutoScalingGroupName = &v
+ return s
+}
+
+// SetForceDelete sets the ForceDelete field's value.
+func (s *DeleteAutoScalingGroupInput) SetForceDelete(v bool) *DeleteAutoScalingGroupInput {
+ s.ForceDelete = &v
+ return s
+}
+
type DeleteAutoScalingGroupOutput struct {
_ struct{} `type:"structure"`
}
@@ -5038,6 +5434,12 @@ func (s *DeleteLaunchConfigurationInput) Validate() error {
return nil
}
+// SetLaunchConfigurationName sets the LaunchConfigurationName field's value.
+func (s *DeleteLaunchConfigurationInput) SetLaunchConfigurationName(v string) *DeleteLaunchConfigurationInput {
+ s.LaunchConfigurationName = &v
+ return s
+}
+
type DeleteLaunchConfigurationOutput struct {
_ struct{} `type:"structure"`
}
@@ -5099,6 +5501,18 @@ func (s *DeleteLifecycleHookInput) Validate() error {
return nil
}
+// SetAutoScalingGroupName sets the AutoScalingGroupName field's value.
+func (s *DeleteLifecycleHookInput) SetAutoScalingGroupName(v string) *DeleteLifecycleHookInput {
+ s.AutoScalingGroupName = &v
+ return s
+}
+
+// SetLifecycleHookName sets the LifecycleHookName field's value.
+func (s *DeleteLifecycleHookInput) SetLifecycleHookName(v string) *DeleteLifecycleHookInput {
+ s.LifecycleHookName = &v
+ return s
+}
+
// Contains the output of DeleteLifecycleHook.
type DeleteLifecycleHookOutput struct {
_ struct{} `type:"structure"`
@@ -5162,6 +5576,18 @@ func (s *DeleteNotificationConfigurationInput) Validate() error {
return nil
}
+// SetAutoScalingGroupName sets the AutoScalingGroupName field's value.
+func (s *DeleteNotificationConfigurationInput) SetAutoScalingGroupName(v string) *DeleteNotificationConfigurationInput {
+ s.AutoScalingGroupName = &v
+ return s
+}
+
+// SetTopicARN sets the TopicARN field's value.
+func (s *DeleteNotificationConfigurationInput) SetTopicARN(v string) *DeleteNotificationConfigurationInput {
+ s.TopicARN = &v
+ return s
+}
+
type DeleteNotificationConfigurationOutput struct {
_ struct{} `type:"structure"`
}
@@ -5218,6 +5644,18 @@ func (s *DeletePolicyInput) Validate() error {
return nil
}
+// SetAutoScalingGroupName sets the AutoScalingGroupName field's value.
+func (s *DeletePolicyInput) SetAutoScalingGroupName(v string) *DeletePolicyInput {
+ s.AutoScalingGroupName = &v
+ return s
+}
+
+// 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"`
}
@@ -5279,6 +5717,18 @@ func (s *DeleteScheduledActionInput) Validate() error {
return nil
}
+// SetAutoScalingGroupName sets the AutoScalingGroupName field's value.
+func (s *DeleteScheduledActionInput) SetAutoScalingGroupName(v string) *DeleteScheduledActionInput {
+ s.AutoScalingGroupName = &v
+ return s
+}
+
+// SetScheduledActionName sets the ScheduledActionName field's value.
+func (s *DeleteScheduledActionInput) SetScheduledActionName(v string) *DeleteScheduledActionInput {
+ s.ScheduledActionName = &v
+ return s
+}
+
type DeleteScheduledActionOutput struct {
_ struct{} `type:"structure"`
}
@@ -5336,6 +5786,12 @@ func (s *DeleteTagsInput) Validate() error {
return nil
}
+// SetTags sets the Tags field's value.
+func (s *DeleteTagsInput) SetTags(v []*Tag) *DeleteTagsInput {
+ s.Tags = v
+ return s
+}
+
type DeleteTagsOutput struct {
_ struct{} `type:"structure"`
}
@@ -5393,6 +5849,30 @@ func (s DescribeAccountLimitsOutput) GoString() string {
return s.String()
}
+// SetMaxNumberOfAutoScalingGroups sets the MaxNumberOfAutoScalingGroups field's value.
+func (s *DescribeAccountLimitsOutput) SetMaxNumberOfAutoScalingGroups(v int64) *DescribeAccountLimitsOutput {
+ s.MaxNumberOfAutoScalingGroups = &v
+ return s
+}
+
+// SetMaxNumberOfLaunchConfigurations sets the MaxNumberOfLaunchConfigurations field's value.
+func (s *DescribeAccountLimitsOutput) SetMaxNumberOfLaunchConfigurations(v int64) *DescribeAccountLimitsOutput {
+ s.MaxNumberOfLaunchConfigurations = &v
+ return s
+}
+
+// SetNumberOfAutoScalingGroups sets the NumberOfAutoScalingGroups field's value.
+func (s *DescribeAccountLimitsOutput) SetNumberOfAutoScalingGroups(v int64) *DescribeAccountLimitsOutput {
+ s.NumberOfAutoScalingGroups = &v
+ return s
+}
+
+// SetNumberOfLaunchConfigurations sets the NumberOfLaunchConfigurations field's value.
+func (s *DescribeAccountLimitsOutput) SetNumberOfLaunchConfigurations(v int64) *DescribeAccountLimitsOutput {
+ s.NumberOfLaunchConfigurations = &v
+ return s
+}
+
type DescribeAdjustmentTypesInput struct {
_ struct{} `type:"structure"`
}
@@ -5425,6 +5905,12 @@ func (s DescribeAdjustmentTypesOutput) GoString() string {
return s.String()
}
+// SetAdjustmentTypes sets the AdjustmentTypes field's value.
+func (s *DescribeAdjustmentTypesOutput) SetAdjustmentTypes(v []*AdjustmentType) *DescribeAdjustmentTypesOutput {
+ s.AdjustmentTypes = v
+ return s
+}
+
// Contains the parameters for DescribeAutoScalingGroups.
type DescribeAutoScalingGroupsInput struct {
_ struct{} `type:"structure"`
@@ -5451,6 +5937,24 @@ func (s DescribeAutoScalingGroupsInput) GoString() string {
return s.String()
}
+// SetAutoScalingGroupNames sets the AutoScalingGroupNames field's value.
+func (s *DescribeAutoScalingGroupsInput) SetAutoScalingGroupNames(v []*string) *DescribeAutoScalingGroupsInput {
+ s.AutoScalingGroupNames = v
+ return s
+}
+
+// SetMaxRecords sets the MaxRecords field's value.
+func (s *DescribeAutoScalingGroupsInput) SetMaxRecords(v int64) *DescribeAutoScalingGroupsInput {
+ s.MaxRecords = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeAutoScalingGroupsInput) SetNextToken(v string) *DescribeAutoScalingGroupsInput {
+ s.NextToken = &v
+ return s
+}
+
// Contains the output for DescribeAutoScalingGroups.
type DescribeAutoScalingGroupsOutput struct {
_ struct{} `type:"structure"`
@@ -5475,6 +5979,18 @@ func (s DescribeAutoScalingGroupsOutput) GoString() string {
return s.String()
}
+// SetAutoScalingGroups sets the AutoScalingGroups field's value.
+func (s *DescribeAutoScalingGroupsOutput) SetAutoScalingGroups(v []*Group) *DescribeAutoScalingGroupsOutput {
+ s.AutoScalingGroups = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeAutoScalingGroupsOutput) SetNextToken(v string) *DescribeAutoScalingGroupsOutput {
+ s.NextToken = &v
+ return s
+}
+
// Contains the parameters for DescribeAutoScalingInstances.
type DescribeAutoScalingInstancesInput struct {
_ struct{} `type:"structure"`
@@ -5502,6 +6018,24 @@ func (s DescribeAutoScalingInstancesInput) GoString() string {
return s.String()
}
+// SetInstanceIds sets the InstanceIds field's value.
+func (s *DescribeAutoScalingInstancesInput) SetInstanceIds(v []*string) *DescribeAutoScalingInstancesInput {
+ s.InstanceIds = v
+ return s
+}
+
+// SetMaxRecords sets the MaxRecords field's value.
+func (s *DescribeAutoScalingInstancesInput) SetMaxRecords(v int64) *DescribeAutoScalingInstancesInput {
+ s.MaxRecords = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeAutoScalingInstancesInput) SetNextToken(v string) *DescribeAutoScalingInstancesInput {
+ s.NextToken = &v
+ return s
+}
+
// Contains the output of DescribeAutoScalingInstances.
type DescribeAutoScalingInstancesOutput struct {
_ struct{} `type:"structure"`
@@ -5524,6 +6058,18 @@ func (s DescribeAutoScalingInstancesOutput) GoString() string {
return s.String()
}
+// SetAutoScalingInstances sets the AutoScalingInstances field's value.
+func (s *DescribeAutoScalingInstancesOutput) SetAutoScalingInstances(v []*InstanceDetails) *DescribeAutoScalingInstancesOutput {
+ s.AutoScalingInstances = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeAutoScalingInstancesOutput) SetNextToken(v string) *DescribeAutoScalingInstancesOutput {
+ s.NextToken = &v
+ return s
+}
+
type DescribeAutoScalingNotificationTypesInput struct {
_ struct{} `type:"structure"`
}
@@ -5556,6 +6102,12 @@ func (s DescribeAutoScalingNotificationTypesOutput) GoString() string {
return s.String()
}
+// SetAutoScalingNotificationTypes sets the AutoScalingNotificationTypes field's value.
+func (s *DescribeAutoScalingNotificationTypesOutput) SetAutoScalingNotificationTypes(v []*string) *DescribeAutoScalingNotificationTypesOutput {
+ s.AutoScalingNotificationTypes = v
+ return s
+}
+
// Contains the parameters for DescribeLaunchConfigurations.
type DescribeLaunchConfigurationsInput struct {
_ struct{} `type:"structure"`
@@ -5582,6 +6134,24 @@ func (s DescribeLaunchConfigurationsInput) GoString() string {
return s.String()
}
+// SetLaunchConfigurationNames sets the LaunchConfigurationNames field's value.
+func (s *DescribeLaunchConfigurationsInput) SetLaunchConfigurationNames(v []*string) *DescribeLaunchConfigurationsInput {
+ s.LaunchConfigurationNames = v
+ return s
+}
+
+// SetMaxRecords sets the MaxRecords field's value.
+func (s *DescribeLaunchConfigurationsInput) SetMaxRecords(v int64) *DescribeLaunchConfigurationsInput {
+ s.MaxRecords = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeLaunchConfigurationsInput) SetNextToken(v string) *DescribeLaunchConfigurationsInput {
+ s.NextToken = &v
+ return s
+}
+
// Contains the output of DescribeLaunchConfigurations.
type DescribeLaunchConfigurationsOutput struct {
_ struct{} `type:"structure"`
@@ -5606,6 +6176,18 @@ func (s DescribeLaunchConfigurationsOutput) GoString() string {
return s.String()
}
+// SetLaunchConfigurations sets the LaunchConfigurations field's value.
+func (s *DescribeLaunchConfigurationsOutput) SetLaunchConfigurations(v []*LaunchConfiguration) *DescribeLaunchConfigurationsOutput {
+ s.LaunchConfigurations = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeLaunchConfigurationsOutput) SetNextToken(v string) *DescribeLaunchConfigurationsOutput {
+ s.NextToken = &v
+ return s
+}
+
type DescribeLifecycleHookTypesInput struct {
_ struct{} `type:"structure"`
}
@@ -5638,6 +6220,12 @@ func (s DescribeLifecycleHookTypesOutput) GoString() string {
return s.String()
}
+// SetLifecycleHookTypes sets the LifecycleHookTypes field's value.
+func (s *DescribeLifecycleHookTypesOutput) SetLifecycleHookTypes(v []*string) *DescribeLifecycleHookTypesOutput {
+ s.LifecycleHookTypes = v
+ return s
+}
+
// Contains the parameters for DescribeLifecycleHooks.
type DescribeLifecycleHooksInput struct {
_ struct{} `type:"structure"`
@@ -5678,6 +6266,18 @@ func (s *DescribeLifecycleHooksInput) Validate() error {
return nil
}
+// SetAutoScalingGroupName sets the AutoScalingGroupName field's value.
+func (s *DescribeLifecycleHooksInput) SetAutoScalingGroupName(v string) *DescribeLifecycleHooksInput {
+ s.AutoScalingGroupName = &v
+ return s
+}
+
+// SetLifecycleHookNames sets the LifecycleHookNames field's value.
+func (s *DescribeLifecycleHooksInput) SetLifecycleHookNames(v []*string) *DescribeLifecycleHooksInput {
+ s.LifecycleHookNames = v
+ return s
+}
+
// Contains the output of DescribeLifecycleHooks.
type DescribeLifecycleHooksOutput struct {
_ struct{} `type:"structure"`
@@ -5696,6 +6296,12 @@ func (s DescribeLifecycleHooksOutput) GoString() string {
return s.String()
}
+// SetLifecycleHooks sets the LifecycleHooks field's value.
+func (s *DescribeLifecycleHooksOutput) SetLifecycleHooks(v []*LifecycleHook) *DescribeLifecycleHooksOutput {
+ s.LifecycleHooks = v
+ return s
+}
+
// Contains the parameters for DescribeLoadBalancerTargetGroups.
type DescribeLoadBalancerTargetGroupsInput struct {
_ struct{} `type:"structure"`
@@ -5739,6 +6345,24 @@ func (s *DescribeLoadBalancerTargetGroupsInput) Validate() error {
return nil
}
+// SetAutoScalingGroupName sets the AutoScalingGroupName field's value.
+func (s *DescribeLoadBalancerTargetGroupsInput) SetAutoScalingGroupName(v string) *DescribeLoadBalancerTargetGroupsInput {
+ s.AutoScalingGroupName = &v
+ return s
+}
+
+// SetMaxRecords sets the MaxRecords field's value.
+func (s *DescribeLoadBalancerTargetGroupsInput) SetMaxRecords(v int64) *DescribeLoadBalancerTargetGroupsInput {
+ s.MaxRecords = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeLoadBalancerTargetGroupsInput) SetNextToken(v string) *DescribeLoadBalancerTargetGroupsInput {
+ s.NextToken = &v
+ return s
+}
+
// Contains the output of DescribeLoadBalancerTargetGroups.
type DescribeLoadBalancerTargetGroupsOutput struct {
_ struct{} `type:"structure"`
@@ -5761,6 +6385,18 @@ func (s DescribeLoadBalancerTargetGroupsOutput) GoString() string {
return s.String()
}
+// SetLoadBalancerTargetGroups sets the LoadBalancerTargetGroups field's value.
+func (s *DescribeLoadBalancerTargetGroupsOutput) SetLoadBalancerTargetGroups(v []*LoadBalancerTargetGroupState) *DescribeLoadBalancerTargetGroupsOutput {
+ s.LoadBalancerTargetGroups = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeLoadBalancerTargetGroupsOutput) SetNextToken(v string) *DescribeLoadBalancerTargetGroupsOutput {
+ s.NextToken = &v
+ return s
+}
+
// Contains the parameters for DescribeLoadBalancers.
type DescribeLoadBalancersInput struct {
_ struct{} `type:"structure"`
@@ -5804,6 +6440,24 @@ func (s *DescribeLoadBalancersInput) Validate() error {
return nil
}
+// SetAutoScalingGroupName sets the AutoScalingGroupName field's value.
+func (s *DescribeLoadBalancersInput) SetAutoScalingGroupName(v string) *DescribeLoadBalancersInput {
+ s.AutoScalingGroupName = &v
+ return s
+}
+
+// SetMaxRecords sets the MaxRecords field's value.
+func (s *DescribeLoadBalancersInput) SetMaxRecords(v int64) *DescribeLoadBalancersInput {
+ s.MaxRecords = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeLoadBalancersInput) SetNextToken(v string) *DescribeLoadBalancersInput {
+ s.NextToken = &v
+ return s
+}
+
// Contains the output of DescribeLoadBalancers.
type DescribeLoadBalancersOutput struct {
_ struct{} `type:"structure"`
@@ -5826,6 +6480,18 @@ func (s DescribeLoadBalancersOutput) GoString() string {
return s.String()
}
+// SetLoadBalancers sets the LoadBalancers field's value.
+func (s *DescribeLoadBalancersOutput) SetLoadBalancers(v []*LoadBalancerState) *DescribeLoadBalancersOutput {
+ s.LoadBalancers = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeLoadBalancersOutput) SetNextToken(v string) *DescribeLoadBalancersOutput {
+ s.NextToken = &v
+ return s
+}
+
type DescribeMetricCollectionTypesInput struct {
_ struct{} `type:"structure"`
}
@@ -5861,6 +6527,18 @@ func (s DescribeMetricCollectionTypesOutput) GoString() string {
return s.String()
}
+// SetGranularities sets the Granularities field's value.
+func (s *DescribeMetricCollectionTypesOutput) SetGranularities(v []*MetricGranularityType) *DescribeMetricCollectionTypesOutput {
+ s.Granularities = v
+ return s
+}
+
+// SetMetrics sets the Metrics field's value.
+func (s *DescribeMetricCollectionTypesOutput) SetMetrics(v []*MetricCollectionType) *DescribeMetricCollectionTypesOutput {
+ s.Metrics = v
+ return s
+}
+
// Contains the parameters for DescribeNotificationConfigurations.
type DescribeNotificationConfigurationsInput struct {
_ struct{} `type:"structure"`
@@ -5886,6 +6564,24 @@ func (s DescribeNotificationConfigurationsInput) GoString() string {
return s.String()
}
+// SetAutoScalingGroupNames sets the AutoScalingGroupNames field's value.
+func (s *DescribeNotificationConfigurationsInput) SetAutoScalingGroupNames(v []*string) *DescribeNotificationConfigurationsInput {
+ s.AutoScalingGroupNames = v
+ return s
+}
+
+// SetMaxRecords sets the MaxRecords field's value.
+func (s *DescribeNotificationConfigurationsInput) SetMaxRecords(v int64) *DescribeNotificationConfigurationsInput {
+ s.MaxRecords = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeNotificationConfigurationsInput) SetNextToken(v string) *DescribeNotificationConfigurationsInput {
+ s.NextToken = &v
+ return s
+}
+
// Contains the output from DescribeNotificationConfigurations.
type DescribeNotificationConfigurationsOutput struct {
_ struct{} `type:"structure"`
@@ -5910,6 +6606,18 @@ func (s DescribeNotificationConfigurationsOutput) GoString() string {
return s.String()
}
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeNotificationConfigurationsOutput) SetNextToken(v string) *DescribeNotificationConfigurationsOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetNotificationConfigurations sets the NotificationConfigurations field's value.
+func (s *DescribeNotificationConfigurationsOutput) SetNotificationConfigurations(v []*NotificationConfiguration) *DescribeNotificationConfigurationsOutput {
+ s.NotificationConfigurations = v
+ return s
+}
+
// Contains the parameters for DescribePolicies.
type DescribePoliciesInput struct {
_ struct{} `type:"structure"`
@@ -5957,6 +6665,36 @@ func (s *DescribePoliciesInput) Validate() error {
return nil
}
+// SetAutoScalingGroupName sets the AutoScalingGroupName field's value.
+func (s *DescribePoliciesInput) SetAutoScalingGroupName(v string) *DescribePoliciesInput {
+ s.AutoScalingGroupName = &v
+ return s
+}
+
+// SetMaxRecords sets the MaxRecords field's value.
+func (s *DescribePoliciesInput) SetMaxRecords(v int64) *DescribePoliciesInput {
+ s.MaxRecords = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribePoliciesInput) SetNextToken(v string) *DescribePoliciesInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetPolicyNames sets the PolicyNames field's value.
+func (s *DescribePoliciesInput) SetPolicyNames(v []*string) *DescribePoliciesInput {
+ s.PolicyNames = v
+ return s
+}
+
+// SetPolicyTypes sets the PolicyTypes field's value.
+func (s *DescribePoliciesInput) SetPolicyTypes(v []*string) *DescribePoliciesInput {
+ s.PolicyTypes = v
+ return s
+}
+
// Contains the output of DescribePolicies.
type DescribePoliciesOutput struct {
_ struct{} `type:"structure"`
@@ -5979,6 +6717,18 @@ func (s DescribePoliciesOutput) GoString() string {
return s.String()
}
+// SetNextToken sets the NextToken field's value.
+func (s *DescribePoliciesOutput) SetNextToken(v string) *DescribePoliciesOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetScalingPolicies sets the ScalingPolicies field's value.
+func (s *DescribePoliciesOutput) SetScalingPolicies(v []*ScalingPolicy) *DescribePoliciesOutput {
+ s.ScalingPolicies = v
+ return s
+}
+
// Contains the parameters for DescribeScalingActivities.
type DescribeScalingActivitiesInput struct {
_ struct{} `type:"structure"`
@@ -6024,12 +6774,36 @@ func (s *DescribeScalingActivitiesInput) Validate() error {
return nil
}
-// Contains the output of DescribeScalingActivities.
-type DescribeScalingActivitiesOutput struct {
- _ struct{} `type:"structure"`
+// SetActivityIds sets the ActivityIds field's value.
+func (s *DescribeScalingActivitiesInput) SetActivityIds(v []*string) *DescribeScalingActivitiesInput {
+ s.ActivityIds = v
+ return s
+}
- // The scaling activities. Activities are sorted by start time. Activities still
- // in progress are described first.
+// SetAutoScalingGroupName sets the AutoScalingGroupName field's value.
+func (s *DescribeScalingActivitiesInput) SetAutoScalingGroupName(v string) *DescribeScalingActivitiesInput {
+ s.AutoScalingGroupName = &v
+ return s
+}
+
+// SetMaxRecords sets the MaxRecords field's value.
+func (s *DescribeScalingActivitiesInput) SetMaxRecords(v int64) *DescribeScalingActivitiesInput {
+ s.MaxRecords = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeScalingActivitiesInput) SetNextToken(v string) *DescribeScalingActivitiesInput {
+ s.NextToken = &v
+ return s
+}
+
+// Contains the output of DescribeScalingActivities.
+type DescribeScalingActivitiesOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The scaling activities. Activities are sorted by start time. Activities still
+ // in progress are described first.
//
// Activities is a required field
Activities []*Activity `type:"list" required:"true"`
@@ -6049,6 +6823,18 @@ func (s DescribeScalingActivitiesOutput) GoString() string {
return s.String()
}
+// SetActivities sets the Activities field's value.
+func (s *DescribeScalingActivitiesOutput) SetActivities(v []*Activity) *DescribeScalingActivitiesOutput {
+ s.Activities = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeScalingActivitiesOutput) SetNextToken(v string) *DescribeScalingActivitiesOutput {
+ s.NextToken = &v
+ return s
+}
+
type DescribeScalingProcessTypesInput struct {
_ struct{} `type:"structure"`
}
@@ -6081,6 +6867,12 @@ func (s DescribeScalingProcessTypesOutput) GoString() string {
return s.String()
}
+// SetProcesses sets the Processes field's value.
+func (s *DescribeScalingProcessTypesOutput) SetProcesses(v []*ProcessType) *DescribeScalingProcessTypesOutput {
+ s.Processes = v
+ return s
+}
+
// Contains the parameters for DescribeScheduledActions.
type DescribeScheduledActionsInput struct {
_ struct{} `type:"structure"`
@@ -6136,6 +6928,42 @@ func (s *DescribeScheduledActionsInput) Validate() error {
return nil
}
+// SetAutoScalingGroupName sets the AutoScalingGroupName field's value.
+func (s *DescribeScheduledActionsInput) SetAutoScalingGroupName(v string) *DescribeScheduledActionsInput {
+ s.AutoScalingGroupName = &v
+ return s
+}
+
+// SetEndTime sets the EndTime field's value.
+func (s *DescribeScheduledActionsInput) SetEndTime(v time.Time) *DescribeScheduledActionsInput {
+ s.EndTime = &v
+ return s
+}
+
+// SetMaxRecords sets the MaxRecords field's value.
+func (s *DescribeScheduledActionsInput) SetMaxRecords(v int64) *DescribeScheduledActionsInput {
+ s.MaxRecords = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeScheduledActionsInput) SetNextToken(v string) *DescribeScheduledActionsInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetScheduledActionNames sets the ScheduledActionNames field's value.
+func (s *DescribeScheduledActionsInput) SetScheduledActionNames(v []*string) *DescribeScheduledActionsInput {
+ s.ScheduledActionNames = v
+ return s
+}
+
+// SetStartTime sets the StartTime field's value.
+func (s *DescribeScheduledActionsInput) SetStartTime(v time.Time) *DescribeScheduledActionsInput {
+ s.StartTime = &v
+ return s
+}
+
// Contains the output of DescribeScheduledActions.
type DescribeScheduledActionsOutput struct {
_ struct{} `type:"structure"`
@@ -6158,6 +6986,18 @@ func (s DescribeScheduledActionsOutput) GoString() string {
return s.String()
}
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeScheduledActionsOutput) SetNextToken(v string) *DescribeScheduledActionsOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetScheduledUpdateGroupActions sets the ScheduledUpdateGroupActions field's value.
+func (s *DescribeScheduledActionsOutput) SetScheduledUpdateGroupActions(v []*ScheduledUpdateGroupAction) *DescribeScheduledActionsOutput {
+ s.ScheduledUpdateGroupActions = v
+ return s
+}
+
// Contains the parameters for DescribeTags.
type DescribeTagsInput struct {
_ struct{} `type:"structure"`
@@ -6183,6 +7023,24 @@ func (s DescribeTagsInput) GoString() string {
return s.String()
}
+// SetFilters sets the Filters field's value.
+func (s *DescribeTagsInput) SetFilters(v []*Filter) *DescribeTagsInput {
+ s.Filters = v
+ return s
+}
+
+// SetMaxRecords sets the MaxRecords field's value.
+func (s *DescribeTagsInput) SetMaxRecords(v int64) *DescribeTagsInput {
+ s.MaxRecords = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeTagsInput) SetNextToken(v string) *DescribeTagsInput {
+ s.NextToken = &v
+ return s
+}
+
// Contains the output of DescribeTags.
type DescribeTagsOutput struct {
_ struct{} `type:"structure"`
@@ -6205,6 +7063,18 @@ func (s DescribeTagsOutput) GoString() string {
return s.String()
}
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeTagsOutput) SetNextToken(v string) *DescribeTagsOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *DescribeTagsOutput) SetTags(v []*TagDescription) *DescribeTagsOutput {
+ s.Tags = v
+ return s
+}
+
type DescribeTerminationPolicyTypesInput struct {
_ struct{} `type:"structure"`
}
@@ -6238,6 +7108,12 @@ func (s DescribeTerminationPolicyTypesOutput) GoString() string {
return s.String()
}
+// SetTerminationPolicyTypes sets the TerminationPolicyTypes field's value.
+func (s *DescribeTerminationPolicyTypesOutput) SetTerminationPolicyTypes(v []*string) *DescribeTerminationPolicyTypesOutput {
+ s.TerminationPolicyTypes = v
+ return s
+}
+
// Contains the parameters for DetachInstances.
type DetachInstancesInput struct {
_ struct{} `type:"structure"`
@@ -6286,6 +7162,24 @@ func (s *DetachInstancesInput) Validate() error {
return nil
}
+// SetAutoScalingGroupName sets the AutoScalingGroupName field's value.
+func (s *DetachInstancesInput) SetAutoScalingGroupName(v string) *DetachInstancesInput {
+ s.AutoScalingGroupName = &v
+ return s
+}
+
+// SetInstanceIds sets the InstanceIds field's value.
+func (s *DetachInstancesInput) SetInstanceIds(v []*string) *DetachInstancesInput {
+ s.InstanceIds = v
+ return s
+}
+
+// SetShouldDecrementDesiredCapacity sets the ShouldDecrementDesiredCapacity field's value.
+func (s *DetachInstancesInput) SetShouldDecrementDesiredCapacity(v bool) *DetachInstancesInput {
+ s.ShouldDecrementDesiredCapacity = &v
+ return s
+}
+
// Contains the output of DetachInstances.
type DetachInstancesOutput struct {
_ struct{} `type:"structure"`
@@ -6304,6 +7198,12 @@ func (s DetachInstancesOutput) GoString() string {
return s.String()
}
+// SetActivities sets the Activities field's value.
+func (s *DetachInstancesOutput) SetActivities(v []*Activity) *DetachInstancesOutput {
+ s.Activities = v
+ return s
+}
+
type DetachLoadBalancerTargetGroupsInput struct {
_ struct{} `type:"structure"`
@@ -6347,6 +7247,18 @@ func (s *DetachLoadBalancerTargetGroupsInput) Validate() error {
return nil
}
+// SetAutoScalingGroupName sets the AutoScalingGroupName field's value.
+func (s *DetachLoadBalancerTargetGroupsInput) SetAutoScalingGroupName(v string) *DetachLoadBalancerTargetGroupsInput {
+ s.AutoScalingGroupName = &v
+ return s
+}
+
+// SetTargetGroupARNs sets the TargetGroupARNs field's value.
+func (s *DetachLoadBalancerTargetGroupsInput) SetTargetGroupARNs(v []*string) *DetachLoadBalancerTargetGroupsInput {
+ s.TargetGroupARNs = v
+ return s
+}
+
type DetachLoadBalancerTargetGroupsOutput struct {
_ struct{} `type:"structure"`
}
@@ -6405,6 +7317,18 @@ func (s *DetachLoadBalancersInput) Validate() error {
return nil
}
+// SetAutoScalingGroupName sets the AutoScalingGroupName field's value.
+func (s *DetachLoadBalancersInput) SetAutoScalingGroupName(v string) *DetachLoadBalancersInput {
+ s.AutoScalingGroupName = &v
+ return s
+}
+
+// SetLoadBalancerNames sets the LoadBalancerNames field's value.
+func (s *DetachLoadBalancersInput) SetLoadBalancerNames(v []*string) *DetachLoadBalancersInput {
+ s.LoadBalancerNames = v
+ return s
+}
+
// Contains the output for DetachLoadBalancers.
type DetachLoadBalancersOutput struct {
_ struct{} `type:"structure"`
@@ -6476,6 +7400,18 @@ func (s *DisableMetricsCollectionInput) Validate() error {
return nil
}
+// SetAutoScalingGroupName sets the AutoScalingGroupName field's value.
+func (s *DisableMetricsCollectionInput) SetAutoScalingGroupName(v string) *DisableMetricsCollectionInput {
+ s.AutoScalingGroupName = &v
+ return s
+}
+
+// SetMetrics sets the Metrics field's value.
+func (s *DisableMetricsCollectionInput) SetMetrics(v []*string) *DisableMetricsCollectionInput {
+ s.Metrics = v
+ return s
+}
+
type DisableMetricsCollectionOutput struct {
_ struct{} `type:"structure"`
}
@@ -6566,6 +7502,42 @@ func (s *Ebs) Validate() error {
return nil
}
+// SetDeleteOnTermination sets the DeleteOnTermination field's value.
+func (s *Ebs) SetDeleteOnTermination(v bool) *Ebs {
+ s.DeleteOnTermination = &v
+ return s
+}
+
+// SetEncrypted sets the Encrypted field's value.
+func (s *Ebs) SetEncrypted(v bool) *Ebs {
+ s.Encrypted = &v
+ return s
+}
+
+// SetIops sets the Iops field's value.
+func (s *Ebs) SetIops(v int64) *Ebs {
+ s.Iops = &v
+ return s
+}
+
+// SetSnapshotId sets the SnapshotId field's value.
+func (s *Ebs) SetSnapshotId(v string) *Ebs {
+ s.SnapshotId = &v
+ return s
+}
+
+// SetVolumeSize sets the VolumeSize field's value.
+func (s *Ebs) SetVolumeSize(v int64) *Ebs {
+ s.VolumeSize = &v
+ return s
+}
+
+// SetVolumeType sets the VolumeType field's value.
+func (s *Ebs) SetVolumeType(v string) *Ebs {
+ s.VolumeType = &v
+ return s
+}
+
// Contains the parameters for EnableMetricsCollection.
type EnableMetricsCollectionInput struct {
_ struct{} `type:"structure"`
@@ -6634,6 +7606,24 @@ func (s *EnableMetricsCollectionInput) Validate() error {
return nil
}
+// SetAutoScalingGroupName sets the AutoScalingGroupName field's value.
+func (s *EnableMetricsCollectionInput) SetAutoScalingGroupName(v string) *EnableMetricsCollectionInput {
+ s.AutoScalingGroupName = &v
+ return s
+}
+
+// SetGranularity sets the Granularity field's value.
+func (s *EnableMetricsCollectionInput) SetGranularity(v string) *EnableMetricsCollectionInput {
+ s.Granularity = &v
+ return s
+}
+
+// SetMetrics sets the Metrics field's value.
+func (s *EnableMetricsCollectionInput) SetMetrics(v []*string) *EnableMetricsCollectionInput {
+ s.Metrics = v
+ return s
+}
+
type EnableMetricsCollectionOutput struct {
_ struct{} `type:"structure"`
}
@@ -6685,6 +7675,18 @@ func (s EnabledMetric) GoString() string {
return s.String()
}
+// SetGranularity sets the Granularity field's value.
+func (s *EnabledMetric) SetGranularity(v string) *EnabledMetric {
+ s.Granularity = &v
+ return s
+}
+
+// SetMetric sets the Metric field's value.
+func (s *EnabledMetric) SetMetric(v string) *EnabledMetric {
+ s.Metric = &v
+ return s
+}
+
// Contains the parameters for EnteStandby.
type EnterStandbyInput struct {
_ struct{} `type:"structure"`
@@ -6736,6 +7738,24 @@ func (s *EnterStandbyInput) Validate() error {
return nil
}
+// SetAutoScalingGroupName sets the AutoScalingGroupName field's value.
+func (s *EnterStandbyInput) SetAutoScalingGroupName(v string) *EnterStandbyInput {
+ s.AutoScalingGroupName = &v
+ return s
+}
+
+// SetInstanceIds sets the InstanceIds field's value.
+func (s *EnterStandbyInput) SetInstanceIds(v []*string) *EnterStandbyInput {
+ s.InstanceIds = v
+ return s
+}
+
+// SetShouldDecrementDesiredCapacity sets the ShouldDecrementDesiredCapacity field's value.
+func (s *EnterStandbyInput) SetShouldDecrementDesiredCapacity(v bool) *EnterStandbyInput {
+ s.ShouldDecrementDesiredCapacity = &v
+ return s
+}
+
// Contains the output of EnterStandby.
type EnterStandbyOutput struct {
_ struct{} `type:"structure"`
@@ -6754,6 +7774,12 @@ func (s EnterStandbyOutput) GoString() string {
return s.String()
}
+// SetActivities sets the Activities field's value.
+func (s *EnterStandbyOutput) SetActivities(v []*Activity) *EnterStandbyOutput {
+ s.Activities = v
+ return s
+}
+
// Contains the parameters for ExecutePolicy.
type ExecutePolicyInput struct {
_ struct{} `type:"structure"`
@@ -6825,6 +7851,36 @@ func (s *ExecutePolicyInput) Validate() error {
return nil
}
+// SetAutoScalingGroupName sets the AutoScalingGroupName field's value.
+func (s *ExecutePolicyInput) SetAutoScalingGroupName(v string) *ExecutePolicyInput {
+ s.AutoScalingGroupName = &v
+ return s
+}
+
+// SetBreachThreshold sets the BreachThreshold field's value.
+func (s *ExecutePolicyInput) SetBreachThreshold(v float64) *ExecutePolicyInput {
+ s.BreachThreshold = &v
+ return s
+}
+
+// SetHonorCooldown sets the HonorCooldown field's value.
+func (s *ExecutePolicyInput) SetHonorCooldown(v bool) *ExecutePolicyInput {
+ s.HonorCooldown = &v
+ return s
+}
+
+// SetMetricValue sets the MetricValue field's value.
+func (s *ExecutePolicyInput) SetMetricValue(v float64) *ExecutePolicyInput {
+ s.MetricValue = &v
+ return s
+}
+
+// SetPolicyName sets the PolicyName field's value.
+func (s *ExecutePolicyInput) SetPolicyName(v string) *ExecutePolicyInput {
+ s.PolicyName = &v
+ return s
+}
+
type ExecutePolicyOutput struct {
_ struct{} `type:"structure"`
}
@@ -6878,6 +7934,18 @@ func (s *ExitStandbyInput) Validate() error {
return nil
}
+// SetAutoScalingGroupName sets the AutoScalingGroupName field's value.
+func (s *ExitStandbyInput) SetAutoScalingGroupName(v string) *ExitStandbyInput {
+ s.AutoScalingGroupName = &v
+ return s
+}
+
+// SetInstanceIds sets the InstanceIds field's value.
+func (s *ExitStandbyInput) SetInstanceIds(v []*string) *ExitStandbyInput {
+ s.InstanceIds = v
+ return s
+}
+
// Contains the parameters for ExitStandby.
type ExitStandbyOutput struct {
_ struct{} `type:"structure"`
@@ -6896,6 +7964,12 @@ func (s ExitStandbyOutput) GoString() string {
return s.String()
}
+// SetActivities sets the Activities field's value.
+func (s *ExitStandbyOutput) SetActivities(v []*Activity) *ExitStandbyOutput {
+ s.Activities = v
+ return s
+}
+
// Describes a filter.
type Filter struct {
_ struct{} `type:"structure"`
@@ -6918,6 +7992,18 @@ func (s Filter) GoString() string {
return s.String()
}
+// SetName sets the Name field's value.
+func (s *Filter) SetName(v string) *Filter {
+ s.Name = &v
+ return s
+}
+
+// SetValues sets the Values field's value.
+func (s *Filter) SetValues(v []*string) *Filter {
+ s.Values = v
+ return s
+}
+
// Describes an Auto Scaling group.
type Group struct {
_ struct{} `type:"structure"`
@@ -7023,6 +8109,138 @@ func (s Group) GoString() string {
return s.String()
}
+// SetAutoScalingGroupARN sets the AutoScalingGroupARN field's value.
+func (s *Group) SetAutoScalingGroupARN(v string) *Group {
+ s.AutoScalingGroupARN = &v
+ return s
+}
+
+// SetAutoScalingGroupName sets the AutoScalingGroupName field's value.
+func (s *Group) SetAutoScalingGroupName(v string) *Group {
+ s.AutoScalingGroupName = &v
+ return s
+}
+
+// SetAvailabilityZones sets the AvailabilityZones field's value.
+func (s *Group) SetAvailabilityZones(v []*string) *Group {
+ s.AvailabilityZones = v
+ return s
+}
+
+// SetCreatedTime sets the CreatedTime field's value.
+func (s *Group) SetCreatedTime(v time.Time) *Group {
+ s.CreatedTime = &v
+ return s
+}
+
+// SetDefaultCooldown sets the DefaultCooldown field's value.
+func (s *Group) SetDefaultCooldown(v int64) *Group {
+ s.DefaultCooldown = &v
+ return s
+}
+
+// SetDesiredCapacity sets the DesiredCapacity field's value.
+func (s *Group) SetDesiredCapacity(v int64) *Group {
+ s.DesiredCapacity = &v
+ return s
+}
+
+// SetEnabledMetrics sets the EnabledMetrics field's value.
+func (s *Group) SetEnabledMetrics(v []*EnabledMetric) *Group {
+ s.EnabledMetrics = v
+ return s
+}
+
+// SetHealthCheckGracePeriod sets the HealthCheckGracePeriod field's value.
+func (s *Group) SetHealthCheckGracePeriod(v int64) *Group {
+ s.HealthCheckGracePeriod = &v
+ return s
+}
+
+// SetHealthCheckType sets the HealthCheckType field's value.
+func (s *Group) SetHealthCheckType(v string) *Group {
+ s.HealthCheckType = &v
+ return s
+}
+
+// SetInstances sets the Instances field's value.
+func (s *Group) SetInstances(v []*Instance) *Group {
+ s.Instances = v
+ return s
+}
+
+// SetLaunchConfigurationName sets the LaunchConfigurationName field's value.
+func (s *Group) SetLaunchConfigurationName(v string) *Group {
+ s.LaunchConfigurationName = &v
+ return s
+}
+
+// SetLoadBalancerNames sets the LoadBalancerNames field's value.
+func (s *Group) SetLoadBalancerNames(v []*string) *Group {
+ s.LoadBalancerNames = v
+ return s
+}
+
+// SetMaxSize sets the MaxSize field's value.
+func (s *Group) SetMaxSize(v int64) *Group {
+ s.MaxSize = &v
+ return s
+}
+
+// SetMinSize sets the MinSize field's value.
+func (s *Group) SetMinSize(v int64) *Group {
+ s.MinSize = &v
+ return s
+}
+
+// SetNewInstancesProtectedFromScaleIn sets the NewInstancesProtectedFromScaleIn field's value.
+func (s *Group) SetNewInstancesProtectedFromScaleIn(v bool) *Group {
+ s.NewInstancesProtectedFromScaleIn = &v
+ return s
+}
+
+// SetPlacementGroup sets the PlacementGroup field's value.
+func (s *Group) SetPlacementGroup(v string) *Group {
+ s.PlacementGroup = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *Group) SetStatus(v string) *Group {
+ s.Status = &v
+ return s
+}
+
+// SetSuspendedProcesses sets the SuspendedProcesses field's value.
+func (s *Group) SetSuspendedProcesses(v []*SuspendedProcess) *Group {
+ s.SuspendedProcesses = v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *Group) SetTags(v []*TagDescription) *Group {
+ s.Tags = v
+ return s
+}
+
+// SetTargetGroupARNs sets the TargetGroupARNs field's value.
+func (s *Group) SetTargetGroupARNs(v []*string) *Group {
+ s.TargetGroupARNs = v
+ return s
+}
+
+// SetTerminationPolicies sets the TerminationPolicies field's value.
+func (s *Group) SetTerminationPolicies(v []*string) *Group {
+ s.TerminationPolicies = v
+ return s
+}
+
+// SetVPCZoneIdentifier sets the VPCZoneIdentifier field's value.
+func (s *Group) SetVPCZoneIdentifier(v string) *Group {
+ s.VPCZoneIdentifier = &v
+ return s
+}
+
// Describes an EC2 instance.
type Instance struct {
_ struct{} `type:"structure"`
@@ -7072,6 +8290,42 @@ func (s Instance) GoString() string {
return s.String()
}
+// SetAvailabilityZone sets the AvailabilityZone field's value.
+func (s *Instance) SetAvailabilityZone(v string) *Instance {
+ s.AvailabilityZone = &v
+ return s
+}
+
+// SetHealthStatus sets the HealthStatus field's value.
+func (s *Instance) SetHealthStatus(v string) *Instance {
+ s.HealthStatus = &v
+ return s
+}
+
+// SetInstanceId sets the InstanceId field's value.
+func (s *Instance) SetInstanceId(v string) *Instance {
+ s.InstanceId = &v
+ return s
+}
+
+// SetLaunchConfigurationName sets the LaunchConfigurationName field's value.
+func (s *Instance) SetLaunchConfigurationName(v string) *Instance {
+ s.LaunchConfigurationName = &v
+ return s
+}
+
+// SetLifecycleState sets the LifecycleState field's value.
+func (s *Instance) SetLifecycleState(v string) *Instance {
+ s.LifecycleState = &v
+ return s
+}
+
+// SetProtectedFromScaleIn sets the ProtectedFromScaleIn field's value.
+func (s *Instance) SetProtectedFromScaleIn(v bool) *Instance {
+ s.ProtectedFromScaleIn = &v
+ return s
+}
+
// Describes an EC2 instance associated with an Auto Scaling group.
type InstanceDetails struct {
_ struct{} `type:"structure"`
@@ -7127,6 +8381,48 @@ func (s InstanceDetails) GoString() string {
return s.String()
}
+// SetAutoScalingGroupName sets the AutoScalingGroupName field's value.
+func (s *InstanceDetails) SetAutoScalingGroupName(v string) *InstanceDetails {
+ s.AutoScalingGroupName = &v
+ return s
+}
+
+// SetAvailabilityZone sets the AvailabilityZone field's value.
+func (s *InstanceDetails) SetAvailabilityZone(v string) *InstanceDetails {
+ s.AvailabilityZone = &v
+ return s
+}
+
+// SetHealthStatus sets the HealthStatus field's value.
+func (s *InstanceDetails) SetHealthStatus(v string) *InstanceDetails {
+ s.HealthStatus = &v
+ return s
+}
+
+// SetInstanceId sets the InstanceId field's value.
+func (s *InstanceDetails) SetInstanceId(v string) *InstanceDetails {
+ s.InstanceId = &v
+ return s
+}
+
+// SetLaunchConfigurationName sets the LaunchConfigurationName field's value.
+func (s *InstanceDetails) SetLaunchConfigurationName(v string) *InstanceDetails {
+ s.LaunchConfigurationName = &v
+ return s
+}
+
+// SetLifecycleState sets the LifecycleState field's value.
+func (s *InstanceDetails) SetLifecycleState(v string) *InstanceDetails {
+ s.LifecycleState = &v
+ return s
+}
+
+// SetProtectedFromScaleIn sets the ProtectedFromScaleIn field's value.
+func (s *InstanceDetails) SetProtectedFromScaleIn(v bool) *InstanceDetails {
+ s.ProtectedFromScaleIn = &v
+ return s
+}
+
// Describes whether instance monitoring is enabled.
type InstanceMonitoring struct {
_ struct{} `type:"structure"`
@@ -7145,6 +8441,12 @@ func (s InstanceMonitoring) GoString() string {
return s.String()
}
+// SetEnabled sets the Enabled field's value.
+func (s *InstanceMonitoring) SetEnabled(v bool) *InstanceMonitoring {
+ s.Enabled = &v
+ return s
+}
+
// Describes a launch configuration.
type LaunchConfiguration struct {
_ struct{} `type:"structure"`
@@ -7235,6 +8537,120 @@ func (s LaunchConfiguration) GoString() string {
return s.String()
}
+// SetAssociatePublicIpAddress sets the AssociatePublicIpAddress field's value.
+func (s *LaunchConfiguration) SetAssociatePublicIpAddress(v bool) *LaunchConfiguration {
+ s.AssociatePublicIpAddress = &v
+ return s
+}
+
+// SetBlockDeviceMappings sets the BlockDeviceMappings field's value.
+func (s *LaunchConfiguration) SetBlockDeviceMappings(v []*BlockDeviceMapping) *LaunchConfiguration {
+ s.BlockDeviceMappings = v
+ return s
+}
+
+// SetClassicLinkVPCId sets the ClassicLinkVPCId field's value.
+func (s *LaunchConfiguration) SetClassicLinkVPCId(v string) *LaunchConfiguration {
+ s.ClassicLinkVPCId = &v
+ return s
+}
+
+// SetClassicLinkVPCSecurityGroups sets the ClassicLinkVPCSecurityGroups field's value.
+func (s *LaunchConfiguration) SetClassicLinkVPCSecurityGroups(v []*string) *LaunchConfiguration {
+ s.ClassicLinkVPCSecurityGroups = v
+ return s
+}
+
+// SetCreatedTime sets the CreatedTime field's value.
+func (s *LaunchConfiguration) SetCreatedTime(v time.Time) *LaunchConfiguration {
+ s.CreatedTime = &v
+ return s
+}
+
+// SetEbsOptimized sets the EbsOptimized field's value.
+func (s *LaunchConfiguration) SetEbsOptimized(v bool) *LaunchConfiguration {
+ s.EbsOptimized = &v
+ return s
+}
+
+// SetIamInstanceProfile sets the IamInstanceProfile field's value.
+func (s *LaunchConfiguration) SetIamInstanceProfile(v string) *LaunchConfiguration {
+ s.IamInstanceProfile = &v
+ return s
+}
+
+// SetImageId sets the ImageId field's value.
+func (s *LaunchConfiguration) SetImageId(v string) *LaunchConfiguration {
+ s.ImageId = &v
+ return s
+}
+
+// SetInstanceMonitoring sets the InstanceMonitoring field's value.
+func (s *LaunchConfiguration) SetInstanceMonitoring(v *InstanceMonitoring) *LaunchConfiguration {
+ s.InstanceMonitoring = v
+ return s
+}
+
+// SetInstanceType sets the InstanceType field's value.
+func (s *LaunchConfiguration) SetInstanceType(v string) *LaunchConfiguration {
+ s.InstanceType = &v
+ return s
+}
+
+// SetKernelId sets the KernelId field's value.
+func (s *LaunchConfiguration) SetKernelId(v string) *LaunchConfiguration {
+ s.KernelId = &v
+ return s
+}
+
+// SetKeyName sets the KeyName field's value.
+func (s *LaunchConfiguration) SetKeyName(v string) *LaunchConfiguration {
+ s.KeyName = &v
+ return s
+}
+
+// SetLaunchConfigurationARN sets the LaunchConfigurationARN field's value.
+func (s *LaunchConfiguration) SetLaunchConfigurationARN(v string) *LaunchConfiguration {
+ s.LaunchConfigurationARN = &v
+ return s
+}
+
+// SetLaunchConfigurationName sets the LaunchConfigurationName field's value.
+func (s *LaunchConfiguration) SetLaunchConfigurationName(v string) *LaunchConfiguration {
+ s.LaunchConfigurationName = &v
+ return s
+}
+
+// SetPlacementTenancy sets the PlacementTenancy field's value.
+func (s *LaunchConfiguration) SetPlacementTenancy(v string) *LaunchConfiguration {
+ s.PlacementTenancy = &v
+ return s
+}
+
+// SetRamdiskId sets the RamdiskId field's value.
+func (s *LaunchConfiguration) SetRamdiskId(v string) *LaunchConfiguration {
+ s.RamdiskId = &v
+ return s
+}
+
+// SetSecurityGroups sets the SecurityGroups field's value.
+func (s *LaunchConfiguration) SetSecurityGroups(v []*string) *LaunchConfiguration {
+ s.SecurityGroups = v
+ return s
+}
+
+// SetSpotPrice sets the SpotPrice field's value.
+func (s *LaunchConfiguration) SetSpotPrice(v string) *LaunchConfiguration {
+ s.SpotPrice = &v
+ return s
+}
+
+// SetUserData sets the UserData field's value.
+func (s *LaunchConfiguration) SetUserData(v string) *LaunchConfiguration {
+ s.UserData = &v
+ return s
+}
+
// Describes a lifecycle hook, which tells Auto Scaling that you want to perform
// an action when an instance launches or terminates. When you have a lifecycle
// hook in place, the Auto Scaling group will either:
@@ -7313,6 +8729,60 @@ func (s LifecycleHook) GoString() string {
return s.String()
}
+// SetAutoScalingGroupName sets the AutoScalingGroupName field's value.
+func (s *LifecycleHook) SetAutoScalingGroupName(v string) *LifecycleHook {
+ s.AutoScalingGroupName = &v
+ return s
+}
+
+// SetDefaultResult sets the DefaultResult field's value.
+func (s *LifecycleHook) SetDefaultResult(v string) *LifecycleHook {
+ s.DefaultResult = &v
+ return s
+}
+
+// SetGlobalTimeout sets the GlobalTimeout field's value.
+func (s *LifecycleHook) SetGlobalTimeout(v int64) *LifecycleHook {
+ s.GlobalTimeout = &v
+ return s
+}
+
+// SetHeartbeatTimeout sets the HeartbeatTimeout field's value.
+func (s *LifecycleHook) SetHeartbeatTimeout(v int64) *LifecycleHook {
+ s.HeartbeatTimeout = &v
+ return s
+}
+
+// SetLifecycleHookName sets the LifecycleHookName field's value.
+func (s *LifecycleHook) SetLifecycleHookName(v string) *LifecycleHook {
+ s.LifecycleHookName = &v
+ return s
+}
+
+// SetLifecycleTransition sets the LifecycleTransition field's value.
+func (s *LifecycleHook) SetLifecycleTransition(v string) *LifecycleHook {
+ s.LifecycleTransition = &v
+ return s
+}
+
+// SetNotificationMetadata sets the NotificationMetadata field's value.
+func (s *LifecycleHook) SetNotificationMetadata(v string) *LifecycleHook {
+ s.NotificationMetadata = &v
+ return s
+}
+
+// SetNotificationTargetARN sets the NotificationTargetARN field's value.
+func (s *LifecycleHook) SetNotificationTargetARN(v string) *LifecycleHook {
+ s.NotificationTargetARN = &v
+ return s
+}
+
+// SetRoleARN sets the RoleARN field's value.
+func (s *LifecycleHook) SetRoleARN(v string) *LifecycleHook {
+ s.RoleARN = &v
+ return s
+}
+
// Describes the state of a Classic load balancer.
//
// If you specify a load balancer when creating the Auto Scaling group, the
@@ -7359,6 +8829,18 @@ func (s LoadBalancerState) GoString() string {
return s.String()
}
+// SetLoadBalancerName sets the LoadBalancerName field's value.
+func (s *LoadBalancerState) SetLoadBalancerName(v string) *LoadBalancerState {
+ s.LoadBalancerName = &v
+ return s
+}
+
+// SetState sets the State field's value.
+func (s *LoadBalancerState) SetState(v string) *LoadBalancerState {
+ s.State = &v
+ return s
+}
+
// Describes the state of a target group.
//
// If you attach a target group to an existing Auto Scaling group, the initial
@@ -7402,6 +8884,18 @@ func (s LoadBalancerTargetGroupState) GoString() string {
return s.String()
}
+// SetLoadBalancerTargetGroupARN sets the LoadBalancerTargetGroupARN field's value.
+func (s *LoadBalancerTargetGroupState) SetLoadBalancerTargetGroupARN(v string) *LoadBalancerTargetGroupState {
+ s.LoadBalancerTargetGroupARN = &v
+ return s
+}
+
+// SetState sets the State field's value.
+func (s *LoadBalancerTargetGroupState) SetState(v string) *LoadBalancerTargetGroupState {
+ s.State = &v
+ return s
+}
+
// Describes a metric.
type MetricCollectionType struct {
_ struct{} `type:"structure"`
@@ -7436,6 +8930,12 @@ func (s MetricCollectionType) GoString() string {
return s.String()
}
+// SetMetric sets the Metric field's value.
+func (s *MetricCollectionType) SetMetric(v string) *MetricCollectionType {
+ s.Metric = &v
+ return s
+}
+
// Describes a granularity of a metric.
type MetricGranularityType struct {
_ struct{} `type:"structure"`
@@ -7454,6 +8954,12 @@ func (s MetricGranularityType) GoString() string {
return s.String()
}
+// SetGranularity sets the Granularity field's value.
+func (s *MetricGranularityType) SetGranularity(v string) *MetricGranularityType {
+ s.Granularity = &v
+ return s
+}
+
// Describes a notification.
type NotificationConfiguration struct {
_ struct{} `type:"structure"`
@@ -7489,6 +8995,24 @@ func (s NotificationConfiguration) GoString() string {
return s.String()
}
+// SetAutoScalingGroupName sets the AutoScalingGroupName field's value.
+func (s *NotificationConfiguration) SetAutoScalingGroupName(v string) *NotificationConfiguration {
+ s.AutoScalingGroupName = &v
+ return s
+}
+
+// SetNotificationType sets the NotificationType field's value.
+func (s *NotificationConfiguration) SetNotificationType(v string) *NotificationConfiguration {
+ s.NotificationType = &v
+ return s
+}
+
+// SetTopicARN sets the TopicARN field's value.
+func (s *NotificationConfiguration) SetTopicARN(v string) *NotificationConfiguration {
+ s.TopicARN = &v
+ return s
+}
+
// Describes a process type.
//
// For more information, see Auto Scaling Processes (http://docs.aws.amazon.com/autoscaling/latest/userguide/as-suspend-resume-processes.html#process-types)
@@ -7528,6 +9052,12 @@ func (s ProcessType) GoString() string {
return s.String()
}
+// SetProcessName sets the ProcessName field's value.
+func (s *ProcessType) SetProcessName(v string) *ProcessType {
+ s.ProcessName = &v
+ return s
+}
+
// Contains the parameters for PutLifecycleHook.
type PutLifecycleHookInput struct {
_ struct{} `type:"structure"`
@@ -7625,6 +9155,54 @@ func (s *PutLifecycleHookInput) Validate() error {
return nil
}
+// SetAutoScalingGroupName sets the AutoScalingGroupName field's value.
+func (s *PutLifecycleHookInput) SetAutoScalingGroupName(v string) *PutLifecycleHookInput {
+ s.AutoScalingGroupName = &v
+ return s
+}
+
+// SetDefaultResult sets the DefaultResult field's value.
+func (s *PutLifecycleHookInput) SetDefaultResult(v string) *PutLifecycleHookInput {
+ s.DefaultResult = &v
+ return s
+}
+
+// SetHeartbeatTimeout sets the HeartbeatTimeout field's value.
+func (s *PutLifecycleHookInput) SetHeartbeatTimeout(v int64) *PutLifecycleHookInput {
+ s.HeartbeatTimeout = &v
+ return s
+}
+
+// SetLifecycleHookName sets the LifecycleHookName field's value.
+func (s *PutLifecycleHookInput) SetLifecycleHookName(v string) *PutLifecycleHookInput {
+ s.LifecycleHookName = &v
+ return s
+}
+
+// SetLifecycleTransition sets the LifecycleTransition field's value.
+func (s *PutLifecycleHookInput) SetLifecycleTransition(v string) *PutLifecycleHookInput {
+ s.LifecycleTransition = &v
+ return s
+}
+
+// SetNotificationMetadata sets the NotificationMetadata field's value.
+func (s *PutLifecycleHookInput) SetNotificationMetadata(v string) *PutLifecycleHookInput {
+ s.NotificationMetadata = &v
+ return s
+}
+
+// SetNotificationTargetARN sets the NotificationTargetARN field's value.
+func (s *PutLifecycleHookInput) SetNotificationTargetARN(v string) *PutLifecycleHookInput {
+ s.NotificationTargetARN = &v
+ return s
+}
+
+// SetRoleARN sets the RoleARN field's value.
+func (s *PutLifecycleHookInput) SetRoleARN(v string) *PutLifecycleHookInput {
+ s.RoleARN = &v
+ return s
+}
+
// Contains the output of PutLifecycleHook.
type PutLifecycleHookOutput struct {
_ struct{} `type:"structure"`
@@ -7697,6 +9275,24 @@ func (s *PutNotificationConfigurationInput) Validate() error {
return nil
}
+// SetAutoScalingGroupName sets the AutoScalingGroupName field's value.
+func (s *PutNotificationConfigurationInput) SetAutoScalingGroupName(v string) *PutNotificationConfigurationInput {
+ s.AutoScalingGroupName = &v
+ return s
+}
+
+// SetNotificationTypes sets the NotificationTypes field's value.
+func (s *PutNotificationConfigurationInput) SetNotificationTypes(v []*string) *PutNotificationConfigurationInput {
+ s.NotificationTypes = v
+ return s
+}
+
+// SetTopicARN sets the TopicARN field's value.
+func (s *PutNotificationConfigurationInput) SetTopicARN(v string) *PutNotificationConfigurationInput {
+ s.TopicARN = &v
+ return s
+}
+
type PutNotificationConfigurationOutput struct {
_ struct{} `type:"structure"`
}
@@ -7841,6 +9437,72 @@ func (s *PutScalingPolicyInput) Validate() error {
return nil
}
+// SetAdjustmentType sets the AdjustmentType field's value.
+func (s *PutScalingPolicyInput) SetAdjustmentType(v string) *PutScalingPolicyInput {
+ s.AdjustmentType = &v
+ return s
+}
+
+// SetAutoScalingGroupName sets the AutoScalingGroupName field's value.
+func (s *PutScalingPolicyInput) SetAutoScalingGroupName(v string) *PutScalingPolicyInput {
+ s.AutoScalingGroupName = &v
+ return s
+}
+
+// SetCooldown sets the Cooldown field's value.
+func (s *PutScalingPolicyInput) SetCooldown(v int64) *PutScalingPolicyInput {
+ s.Cooldown = &v
+ return s
+}
+
+// SetEstimatedInstanceWarmup sets the EstimatedInstanceWarmup field's value.
+func (s *PutScalingPolicyInput) SetEstimatedInstanceWarmup(v int64) *PutScalingPolicyInput {
+ s.EstimatedInstanceWarmup = &v
+ return s
+}
+
+// SetMetricAggregationType sets the MetricAggregationType field's value.
+func (s *PutScalingPolicyInput) SetMetricAggregationType(v string) *PutScalingPolicyInput {
+ s.MetricAggregationType = &v
+ return s
+}
+
+// SetMinAdjustmentMagnitude sets the MinAdjustmentMagnitude field's value.
+func (s *PutScalingPolicyInput) SetMinAdjustmentMagnitude(v int64) *PutScalingPolicyInput {
+ s.MinAdjustmentMagnitude = &v
+ return s
+}
+
+// SetMinAdjustmentStep sets the MinAdjustmentStep field's value.
+func (s *PutScalingPolicyInput) SetMinAdjustmentStep(v int64) *PutScalingPolicyInput {
+ s.MinAdjustmentStep = &v
+ return s
+}
+
+// SetPolicyName sets the PolicyName field's value.
+func (s *PutScalingPolicyInput) SetPolicyName(v string) *PutScalingPolicyInput {
+ s.PolicyName = &v
+ return s
+}
+
+// SetPolicyType sets the PolicyType field's value.
+func (s *PutScalingPolicyInput) SetPolicyType(v string) *PutScalingPolicyInput {
+ s.PolicyType = &v
+ return s
+}
+
+// SetScalingAdjustment sets the ScalingAdjustment field's value.
+func (s *PutScalingPolicyInput) SetScalingAdjustment(v int64) *PutScalingPolicyInput {
+ s.ScalingAdjustment = &v
+ return s
+}
+
+// SetStepAdjustments sets the StepAdjustments field's value.
+func (s *PutScalingPolicyInput) SetStepAdjustments(v []*StepAdjustment) *PutScalingPolicyInput {
+ s.StepAdjustments = v
+ return s
+}
+
// Contains the output of PutScalingPolicy.
type PutScalingPolicyOutput struct {
_ struct{} `type:"structure"`
@@ -7859,6 +9521,12 @@ func (s PutScalingPolicyOutput) GoString() string {
return s.String()
}
+// SetPolicyARN sets the PolicyARN field's value.
+func (s *PutScalingPolicyOutput) SetPolicyARN(v string) *PutScalingPolicyOutput {
+ s.PolicyARN = &v
+ return s
+}
+
// Contains the parameters for PutScheduledUpdateGroupAction.
type PutScheduledUpdateGroupActionInput struct {
_ struct{} `type:"structure"`
@@ -7939,6 +9607,60 @@ func (s *PutScheduledUpdateGroupActionInput) Validate() error {
return nil
}
+// SetAutoScalingGroupName sets the AutoScalingGroupName field's value.
+func (s *PutScheduledUpdateGroupActionInput) SetAutoScalingGroupName(v string) *PutScheduledUpdateGroupActionInput {
+ s.AutoScalingGroupName = &v
+ return s
+}
+
+// SetDesiredCapacity sets the DesiredCapacity field's value.
+func (s *PutScheduledUpdateGroupActionInput) SetDesiredCapacity(v int64) *PutScheduledUpdateGroupActionInput {
+ s.DesiredCapacity = &v
+ return s
+}
+
+// SetEndTime sets the EndTime field's value.
+func (s *PutScheduledUpdateGroupActionInput) SetEndTime(v time.Time) *PutScheduledUpdateGroupActionInput {
+ s.EndTime = &v
+ return s
+}
+
+// SetMaxSize sets the MaxSize field's value.
+func (s *PutScheduledUpdateGroupActionInput) SetMaxSize(v int64) *PutScheduledUpdateGroupActionInput {
+ s.MaxSize = &v
+ return s
+}
+
+// SetMinSize sets the MinSize field's value.
+func (s *PutScheduledUpdateGroupActionInput) SetMinSize(v int64) *PutScheduledUpdateGroupActionInput {
+ s.MinSize = &v
+ return s
+}
+
+// SetRecurrence sets the Recurrence field's value.
+func (s *PutScheduledUpdateGroupActionInput) SetRecurrence(v string) *PutScheduledUpdateGroupActionInput {
+ s.Recurrence = &v
+ return s
+}
+
+// SetScheduledActionName sets the ScheduledActionName field's value.
+func (s *PutScheduledUpdateGroupActionInput) SetScheduledActionName(v string) *PutScheduledUpdateGroupActionInput {
+ s.ScheduledActionName = &v
+ return s
+}
+
+// SetStartTime sets the StartTime field's value.
+func (s *PutScheduledUpdateGroupActionInput) SetStartTime(v time.Time) *PutScheduledUpdateGroupActionInput {
+ s.StartTime = &v
+ return s
+}
+
+// SetTime sets the Time field's value.
+func (s *PutScheduledUpdateGroupActionInput) SetTime(v time.Time) *PutScheduledUpdateGroupActionInput {
+ s.Time = &v
+ return s
+}
+
type PutScheduledUpdateGroupActionOutput struct {
_ struct{} `type:"structure"`
}
@@ -8014,6 +9736,30 @@ func (s *RecordLifecycleActionHeartbeatInput) Validate() error {
return nil
}
+// SetAutoScalingGroupName sets the AutoScalingGroupName field's value.
+func (s *RecordLifecycleActionHeartbeatInput) SetAutoScalingGroupName(v string) *RecordLifecycleActionHeartbeatInput {
+ s.AutoScalingGroupName = &v
+ return s
+}
+
+// SetInstanceId sets the InstanceId field's value.
+func (s *RecordLifecycleActionHeartbeatInput) SetInstanceId(v string) *RecordLifecycleActionHeartbeatInput {
+ s.InstanceId = &v
+ return s
+}
+
+// SetLifecycleActionToken sets the LifecycleActionToken field's value.
+func (s *RecordLifecycleActionHeartbeatInput) SetLifecycleActionToken(v string) *RecordLifecycleActionHeartbeatInput {
+ s.LifecycleActionToken = &v
+ return s
+}
+
+// SetLifecycleHookName sets the LifecycleHookName field's value.
+func (s *RecordLifecycleActionHeartbeatInput) SetLifecycleHookName(v string) *RecordLifecycleActionHeartbeatInput {
+ s.LifecycleHookName = &v
+ return s
+}
+
// Contains the output of RecordLifecycleActionHeartBeat.
type RecordLifecycleActionHeartbeatOutput struct {
_ struct{} `type:"structure"`
@@ -8107,6 +9853,84 @@ func (s ScalingPolicy) GoString() string {
return s.String()
}
+// SetAdjustmentType sets the AdjustmentType field's value.
+func (s *ScalingPolicy) SetAdjustmentType(v string) *ScalingPolicy {
+ s.AdjustmentType = &v
+ return s
+}
+
+// SetAlarms sets the Alarms field's value.
+func (s *ScalingPolicy) SetAlarms(v []*Alarm) *ScalingPolicy {
+ s.Alarms = v
+ return s
+}
+
+// SetAutoScalingGroupName sets the AutoScalingGroupName field's value.
+func (s *ScalingPolicy) SetAutoScalingGroupName(v string) *ScalingPolicy {
+ s.AutoScalingGroupName = &v
+ return s
+}
+
+// SetCooldown sets the Cooldown field's value.
+func (s *ScalingPolicy) SetCooldown(v int64) *ScalingPolicy {
+ s.Cooldown = &v
+ return s
+}
+
+// SetEstimatedInstanceWarmup sets the EstimatedInstanceWarmup field's value.
+func (s *ScalingPolicy) SetEstimatedInstanceWarmup(v int64) *ScalingPolicy {
+ s.EstimatedInstanceWarmup = &v
+ return s
+}
+
+// SetMetricAggregationType sets the MetricAggregationType field's value.
+func (s *ScalingPolicy) SetMetricAggregationType(v string) *ScalingPolicy {
+ s.MetricAggregationType = &v
+ return s
+}
+
+// SetMinAdjustmentMagnitude sets the MinAdjustmentMagnitude field's value.
+func (s *ScalingPolicy) SetMinAdjustmentMagnitude(v int64) *ScalingPolicy {
+ s.MinAdjustmentMagnitude = &v
+ return s
+}
+
+// SetMinAdjustmentStep sets the MinAdjustmentStep field's value.
+func (s *ScalingPolicy) SetMinAdjustmentStep(v int64) *ScalingPolicy {
+ s.MinAdjustmentStep = &v
+ return s
+}
+
+// SetPolicyARN sets the PolicyARN field's value.
+func (s *ScalingPolicy) SetPolicyARN(v string) *ScalingPolicy {
+ s.PolicyARN = &v
+ return s
+}
+
+// SetPolicyName sets the PolicyName field's value.
+func (s *ScalingPolicy) SetPolicyName(v string) *ScalingPolicy {
+ s.PolicyName = &v
+ return s
+}
+
+// SetPolicyType sets the PolicyType field's value.
+func (s *ScalingPolicy) SetPolicyType(v string) *ScalingPolicy {
+ s.PolicyType = &v
+ return s
+}
+
+// SetScalingAdjustment sets the ScalingAdjustment field's value.
+func (s *ScalingPolicy) SetScalingAdjustment(v int64) *ScalingPolicy {
+ s.ScalingAdjustment = &v
+ return s
+}
+
+// SetStepAdjustments sets the StepAdjustments field's value.
+func (s *ScalingPolicy) SetStepAdjustments(v []*StepAdjustment) *ScalingPolicy {
+ s.StepAdjustments = v
+ return s
+}
+
// Contains the parameters for SuspendProcesses and ResumeProcesses.
type ScalingProcessQuery struct {
_ struct{} `type:"structure"`
@@ -8163,6 +9987,18 @@ func (s *ScalingProcessQuery) Validate() error {
return nil
}
+// SetAutoScalingGroupName sets the AutoScalingGroupName field's value.
+func (s *ScalingProcessQuery) SetAutoScalingGroupName(v string) *ScalingProcessQuery {
+ s.AutoScalingGroupName = &v
+ return s
+}
+
+// SetScalingProcesses sets the ScalingProcesses field's value.
+func (s *ScalingProcessQuery) SetScalingProcesses(v []*string) *ScalingProcessQuery {
+ s.ScalingProcesses = v
+ return s
+}
+
// Describes a scheduled update to an Auto Scaling group.
type ScheduledUpdateGroupAction struct {
_ struct{} `type:"structure"`
@@ -8213,6 +10049,66 @@ func (s ScheduledUpdateGroupAction) GoString() string {
return s.String()
}
+// SetAutoScalingGroupName sets the AutoScalingGroupName field's value.
+func (s *ScheduledUpdateGroupAction) SetAutoScalingGroupName(v string) *ScheduledUpdateGroupAction {
+ s.AutoScalingGroupName = &v
+ return s
+}
+
+// SetDesiredCapacity sets the DesiredCapacity field's value.
+func (s *ScheduledUpdateGroupAction) SetDesiredCapacity(v int64) *ScheduledUpdateGroupAction {
+ s.DesiredCapacity = &v
+ return s
+}
+
+// SetEndTime sets the EndTime field's value.
+func (s *ScheduledUpdateGroupAction) SetEndTime(v time.Time) *ScheduledUpdateGroupAction {
+ s.EndTime = &v
+ return s
+}
+
+// SetMaxSize sets the MaxSize field's value.
+func (s *ScheduledUpdateGroupAction) SetMaxSize(v int64) *ScheduledUpdateGroupAction {
+ s.MaxSize = &v
+ return s
+}
+
+// SetMinSize sets the MinSize field's value.
+func (s *ScheduledUpdateGroupAction) SetMinSize(v int64) *ScheduledUpdateGroupAction {
+ s.MinSize = &v
+ return s
+}
+
+// SetRecurrence sets the Recurrence field's value.
+func (s *ScheduledUpdateGroupAction) SetRecurrence(v string) *ScheduledUpdateGroupAction {
+ s.Recurrence = &v
+ return s
+}
+
+// SetScheduledActionARN sets the ScheduledActionARN field's value.
+func (s *ScheduledUpdateGroupAction) SetScheduledActionARN(v string) *ScheduledUpdateGroupAction {
+ s.ScheduledActionARN = &v
+ return s
+}
+
+// SetScheduledActionName sets the ScheduledActionName field's value.
+func (s *ScheduledUpdateGroupAction) SetScheduledActionName(v string) *ScheduledUpdateGroupAction {
+ s.ScheduledActionName = &v
+ return s
+}
+
+// SetStartTime sets the StartTime field's value.
+func (s *ScheduledUpdateGroupAction) SetStartTime(v time.Time) *ScheduledUpdateGroupAction {
+ s.StartTime = &v
+ return s
+}
+
+// SetTime sets the Time field's value.
+func (s *ScheduledUpdateGroupAction) SetTime(v time.Time) *ScheduledUpdateGroupAction {
+ s.Time = &v
+ return s
+}
+
// Contains the parameters for SetDesiredCapacity.
type SetDesiredCapacityInput struct {
_ struct{} `type:"structure"`
@@ -8263,6 +10159,24 @@ func (s *SetDesiredCapacityInput) Validate() error {
return nil
}
+// SetAutoScalingGroupName sets the AutoScalingGroupName field's value.
+func (s *SetDesiredCapacityInput) SetAutoScalingGroupName(v string) *SetDesiredCapacityInput {
+ s.AutoScalingGroupName = &v
+ return s
+}
+
+// SetDesiredCapacity sets the DesiredCapacity field's value.
+func (s *SetDesiredCapacityInput) SetDesiredCapacity(v int64) *SetDesiredCapacityInput {
+ s.DesiredCapacity = &v
+ return s
+}
+
+// SetHonorCooldown sets the HonorCooldown field's value.
+func (s *SetDesiredCapacityInput) SetHonorCooldown(v bool) *SetDesiredCapacityInput {
+ s.HonorCooldown = &v
+ return s
+}
+
type SetDesiredCapacityOutput struct {
_ struct{} `type:"structure"`
}
@@ -8335,6 +10249,24 @@ func (s *SetInstanceHealthInput) Validate() error {
return nil
}
+// SetHealthStatus sets the HealthStatus field's value.
+func (s *SetInstanceHealthInput) SetHealthStatus(v string) *SetInstanceHealthInput {
+ s.HealthStatus = &v
+ return s
+}
+
+// SetInstanceId sets the InstanceId field's value.
+func (s *SetInstanceHealthInput) SetInstanceId(v string) *SetInstanceHealthInput {
+ s.InstanceId = &v
+ return s
+}
+
+// SetShouldRespectGracePeriod sets the ShouldRespectGracePeriod field's value.
+func (s *SetInstanceHealthInput) SetShouldRespectGracePeriod(v bool) *SetInstanceHealthInput {
+ s.ShouldRespectGracePeriod = &v
+ return s
+}
+
type SetInstanceHealthOutput struct {
_ struct{} `type:"structure"`
}
@@ -8402,6 +10334,24 @@ func (s *SetInstanceProtectionInput) Validate() error {
return nil
}
+// SetAutoScalingGroupName sets the AutoScalingGroupName field's value.
+func (s *SetInstanceProtectionInput) SetAutoScalingGroupName(v string) *SetInstanceProtectionInput {
+ s.AutoScalingGroupName = &v
+ return s
+}
+
+// SetInstanceIds sets the InstanceIds field's value.
+func (s *SetInstanceProtectionInput) SetInstanceIds(v []*string) *SetInstanceProtectionInput {
+ s.InstanceIds = v
+ return s
+}
+
+// SetProtectedFromScaleIn sets the ProtectedFromScaleIn field's value.
+func (s *SetInstanceProtectionInput) SetProtectedFromScaleIn(v bool) *SetInstanceProtectionInput {
+ s.ProtectedFromScaleIn = &v
+ return s
+}
+
// Contains the output of SetInstanceProtection.
type SetInstanceProtectionOutput struct {
_ struct{} `type:"structure"`
@@ -8496,6 +10446,24 @@ func (s *StepAdjustment) Validate() error {
return nil
}
+// SetMetricIntervalLowerBound sets the MetricIntervalLowerBound field's value.
+func (s *StepAdjustment) SetMetricIntervalLowerBound(v float64) *StepAdjustment {
+ s.MetricIntervalLowerBound = &v
+ return s
+}
+
+// SetMetricIntervalUpperBound sets the MetricIntervalUpperBound field's value.
+func (s *StepAdjustment) SetMetricIntervalUpperBound(v float64) *StepAdjustment {
+ s.MetricIntervalUpperBound = &v
+ return s
+}
+
+// SetScalingAdjustment sets the ScalingAdjustment field's value.
+func (s *StepAdjustment) SetScalingAdjustment(v int64) *StepAdjustment {
+ s.ScalingAdjustment = &v
+ return s
+}
+
type SuspendProcessesOutput struct {
_ struct{} `type:"structure"`
}
@@ -8532,6 +10500,18 @@ func (s SuspendedProcess) GoString() string {
return s.String()
}
+// SetProcessName sets the ProcessName field's value.
+func (s *SuspendedProcess) SetProcessName(v string) *SuspendedProcess {
+ s.ProcessName = &v
+ return s
+}
+
+// SetSuspensionReason sets the SuspensionReason field's value.
+func (s *SuspendedProcess) SetSuspensionReason(v string) *SuspendedProcess {
+ s.SuspensionReason = &v
+ return s
+}
+
// Describes a tag for an Auto Scaling group.
type Tag struct {
_ struct{} `type:"structure"`
@@ -8581,6 +10561,36 @@ func (s *Tag) Validate() error {
return nil
}
+// SetKey sets the Key field's value.
+func (s *Tag) SetKey(v string) *Tag {
+ s.Key = &v
+ return s
+}
+
+// SetPropagateAtLaunch sets the PropagateAtLaunch field's value.
+func (s *Tag) SetPropagateAtLaunch(v bool) *Tag {
+ s.PropagateAtLaunch = &v
+ return s
+}
+
+// SetResourceId sets the ResourceId field's value.
+func (s *Tag) SetResourceId(v string) *Tag {
+ s.ResourceId = &v
+ return s
+}
+
+// SetResourceType sets the ResourceType field's value.
+func (s *Tag) SetResourceType(v string) *Tag {
+ s.ResourceType = &v
+ return s
+}
+
+// SetValue sets the Value field's value.
+func (s *Tag) SetValue(v string) *Tag {
+ s.Value = &v
+ return s
+}
+
// Describes a tag for an Auto Scaling group.
type TagDescription struct {
_ struct{} `type:"structure"`
@@ -8612,6 +10622,36 @@ func (s TagDescription) GoString() string {
return s.String()
}
+// SetKey sets the Key field's value.
+func (s *TagDescription) SetKey(v string) *TagDescription {
+ s.Key = &v
+ return s
+}
+
+// SetPropagateAtLaunch sets the PropagateAtLaunch field's value.
+func (s *TagDescription) SetPropagateAtLaunch(v bool) *TagDescription {
+ s.PropagateAtLaunch = &v
+ return s
+}
+
+// SetResourceId sets the ResourceId field's value.
+func (s *TagDescription) SetResourceId(v string) *TagDescription {
+ s.ResourceId = &v
+ return s
+}
+
+// SetResourceType sets the ResourceType field's value.
+func (s *TagDescription) SetResourceType(v string) *TagDescription {
+ s.ResourceType = &v
+ return s
+}
+
+// SetValue sets the Value field's value.
+func (s *TagDescription) SetValue(v string) *TagDescription {
+ s.Value = &v
+ return s
+}
+
// Contains the parameters for TerminateInstanceInAutoScalingGroup.
type TerminateInstanceInAutoScalingGroupInput struct {
_ struct{} `type:"structure"`
@@ -8657,6 +10697,18 @@ func (s *TerminateInstanceInAutoScalingGroupInput) Validate() error {
return nil
}
+// SetInstanceId sets the InstanceId field's value.
+func (s *TerminateInstanceInAutoScalingGroupInput) SetInstanceId(v string) *TerminateInstanceInAutoScalingGroupInput {
+ s.InstanceId = &v
+ return s
+}
+
+// SetShouldDecrementDesiredCapacity sets the ShouldDecrementDesiredCapacity field's value.
+func (s *TerminateInstanceInAutoScalingGroupInput) SetShouldDecrementDesiredCapacity(v bool) *TerminateInstanceInAutoScalingGroupInput {
+ s.ShouldDecrementDesiredCapacity = &v
+ return s
+}
+
// Contains the output of TerminateInstancesInAutoScalingGroup.
type TerminateInstanceInAutoScalingGroupOutput struct {
_ struct{} `type:"structure"`
@@ -8675,6 +10727,12 @@ func (s TerminateInstanceInAutoScalingGroupOutput) GoString() string {
return s.String()
}
+// SetActivity sets the Activity field's value.
+func (s *TerminateInstanceInAutoScalingGroupOutput) SetActivity(v *Activity) *TerminateInstanceInAutoScalingGroupOutput {
+ s.Activity = v
+ return s
+}
+
// Contains the parameters for UpdateAutoScalingGroup.
type UpdateAutoScalingGroupInput struct {
_ struct{} `type:"structure"`
@@ -8789,6 +10847,84 @@ func (s *UpdateAutoScalingGroupInput) Validate() error {
return nil
}
+// SetAutoScalingGroupName sets the AutoScalingGroupName field's value.
+func (s *UpdateAutoScalingGroupInput) SetAutoScalingGroupName(v string) *UpdateAutoScalingGroupInput {
+ s.AutoScalingGroupName = &v
+ return s
+}
+
+// SetAvailabilityZones sets the AvailabilityZones field's value.
+func (s *UpdateAutoScalingGroupInput) SetAvailabilityZones(v []*string) *UpdateAutoScalingGroupInput {
+ s.AvailabilityZones = v
+ return s
+}
+
+// SetDefaultCooldown sets the DefaultCooldown field's value.
+func (s *UpdateAutoScalingGroupInput) SetDefaultCooldown(v int64) *UpdateAutoScalingGroupInput {
+ s.DefaultCooldown = &v
+ return s
+}
+
+// SetDesiredCapacity sets the DesiredCapacity field's value.
+func (s *UpdateAutoScalingGroupInput) SetDesiredCapacity(v int64) *UpdateAutoScalingGroupInput {
+ s.DesiredCapacity = &v
+ return s
+}
+
+// SetHealthCheckGracePeriod sets the HealthCheckGracePeriod field's value.
+func (s *UpdateAutoScalingGroupInput) SetHealthCheckGracePeriod(v int64) *UpdateAutoScalingGroupInput {
+ s.HealthCheckGracePeriod = &v
+ return s
+}
+
+// SetHealthCheckType sets the HealthCheckType field's value.
+func (s *UpdateAutoScalingGroupInput) SetHealthCheckType(v string) *UpdateAutoScalingGroupInput {
+ s.HealthCheckType = &v
+ return s
+}
+
+// SetLaunchConfigurationName sets the LaunchConfigurationName field's value.
+func (s *UpdateAutoScalingGroupInput) SetLaunchConfigurationName(v string) *UpdateAutoScalingGroupInput {
+ s.LaunchConfigurationName = &v
+ return s
+}
+
+// SetMaxSize sets the MaxSize field's value.
+func (s *UpdateAutoScalingGroupInput) SetMaxSize(v int64) *UpdateAutoScalingGroupInput {
+ s.MaxSize = &v
+ return s
+}
+
+// SetMinSize sets the MinSize field's value.
+func (s *UpdateAutoScalingGroupInput) SetMinSize(v int64) *UpdateAutoScalingGroupInput {
+ s.MinSize = &v
+ return s
+}
+
+// SetNewInstancesProtectedFromScaleIn sets the NewInstancesProtectedFromScaleIn field's value.
+func (s *UpdateAutoScalingGroupInput) SetNewInstancesProtectedFromScaleIn(v bool) *UpdateAutoScalingGroupInput {
+ s.NewInstancesProtectedFromScaleIn = &v
+ return s
+}
+
+// SetPlacementGroup sets the PlacementGroup field's value.
+func (s *UpdateAutoScalingGroupInput) SetPlacementGroup(v string) *UpdateAutoScalingGroupInput {
+ s.PlacementGroup = &v
+ return s
+}
+
+// SetTerminationPolicies sets the TerminationPolicies field's value.
+func (s *UpdateAutoScalingGroupInput) SetTerminationPolicies(v []*string) *UpdateAutoScalingGroupInput {
+ s.TerminationPolicies = v
+ return s
+}
+
+// SetVPCZoneIdentifier sets the VPCZoneIdentifier field's value.
+func (s *UpdateAutoScalingGroupInput) SetVPCZoneIdentifier(v string) *UpdateAutoScalingGroupInput {
+ s.VPCZoneIdentifier = &v
+ return s
+}
+
type UpdateAutoScalingGroupOutput struct {
_ struct{} `type:"structure"`
}
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 c8e7234..116fe16 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
@@ -1084,6 +1084,54 @@ func (s *Budget) Validate() error {
return nil
}
+// SetBudgetLimit sets the BudgetLimit field's value.
+func (s *Budget) SetBudgetLimit(v *Spend) *Budget {
+ s.BudgetLimit = v
+ return s
+}
+
+// SetBudgetName sets the BudgetName field's value.
+func (s *Budget) SetBudgetName(v string) *Budget {
+ s.BudgetName = &v
+ return s
+}
+
+// SetBudgetType sets the BudgetType field's value.
+func (s *Budget) SetBudgetType(v string) *Budget {
+ s.BudgetType = &v
+ return s
+}
+
+// SetCalculatedSpend sets the CalculatedSpend field's value.
+func (s *Budget) SetCalculatedSpend(v *CalculatedSpend) *Budget {
+ s.CalculatedSpend = v
+ return s
+}
+
+// SetCostFilters sets the CostFilters field's value.
+func (s *Budget) SetCostFilters(v map[string][]*string) *Budget {
+ s.CostFilters = v
+ return s
+}
+
+// SetCostTypes sets the CostTypes field's value.
+func (s *Budget) SetCostTypes(v *CostTypes) *Budget {
+ s.CostTypes = v
+ return s
+}
+
+// SetTimePeriod sets the TimePeriod field's value.
+func (s *Budget) SetTimePeriod(v *TimePeriod) *Budget {
+ s.TimePeriod = v
+ return s
+}
+
+// SetTimeUnit sets the TimeUnit field's value.
+func (s *Budget) SetTimeUnit(v string) *Budget {
+ s.TimeUnit = &v
+ return s
+}
+
// A structure holds the actual and forecasted spend for a budget.
type CalculatedSpend struct {
_ struct{} `type:"structure"`
@@ -1132,6 +1180,18 @@ func (s *CalculatedSpend) Validate() error {
return nil
}
+// SetActualSpend sets the ActualSpend field's value.
+func (s *CalculatedSpend) SetActualSpend(v *Spend) *CalculatedSpend {
+ s.ActualSpend = v
+ return s
+}
+
+// SetForecastedSpend sets the ForecastedSpend field's value.
+func (s *CalculatedSpend) SetForecastedSpend(v *Spend) *CalculatedSpend {
+ s.ForecastedSpend = v
+ return s
+}
+
// This includes the options for getting the cost of a budget.
type CostTypes struct {
_ struct{} `type:"structure"`
@@ -1181,6 +1241,24 @@ func (s *CostTypes) Validate() error {
return nil
}
+// SetIncludeSubscription sets the IncludeSubscription field's value.
+func (s *CostTypes) SetIncludeSubscription(v bool) *CostTypes {
+ s.IncludeSubscription = &v
+ return s
+}
+
+// SetIncludeTax sets the IncludeTax field's value.
+func (s *CostTypes) SetIncludeTax(v bool) *CostTypes {
+ s.IncludeTax = &v
+ return s
+}
+
+// SetUseBlended sets the UseBlended field's value.
+func (s *CostTypes) SetUseBlended(v bool) *CostTypes {
+ s.UseBlended = &v
+ return s
+}
+
// Request of CreateBudget
type CreateBudgetInput struct {
_ struct{} `type:"structure"`
@@ -1243,6 +1321,24 @@ func (s *CreateBudgetInput) Validate() error {
return nil
}
+// SetAccountId sets the AccountId field's value.
+func (s *CreateBudgetInput) SetAccountId(v string) *CreateBudgetInput {
+ s.AccountId = &v
+ return s
+}
+
+// SetBudget sets the Budget field's value.
+func (s *CreateBudgetInput) SetBudget(v *Budget) *CreateBudgetInput {
+ s.Budget = v
+ return s
+}
+
+// SetNotificationsWithSubscribers sets the NotificationsWithSubscribers field's value.
+func (s *CreateBudgetInput) SetNotificationsWithSubscribers(v []*NotificationWithSubscribers) *CreateBudgetInput {
+ s.NotificationsWithSubscribers = v
+ return s
+}
+
// Response of CreateBudget
type CreateBudgetOutput struct {
_ struct{} `type:"structure"`
@@ -1337,6 +1433,30 @@ func (s *CreateNotificationInput) Validate() error {
return nil
}
+// SetAccountId sets the AccountId field's value.
+func (s *CreateNotificationInput) SetAccountId(v string) *CreateNotificationInput {
+ s.AccountId = &v
+ return s
+}
+
+// SetBudgetName sets the BudgetName field's value.
+func (s *CreateNotificationInput) SetBudgetName(v string) *CreateNotificationInput {
+ s.BudgetName = &v
+ return s
+}
+
+// SetNotification sets the Notification field's value.
+func (s *CreateNotificationInput) SetNotification(v *Notification) *CreateNotificationInput {
+ s.Notification = v
+ return s
+}
+
+// SetSubscribers sets the Subscribers field's value.
+func (s *CreateNotificationInput) SetSubscribers(v []*Subscriber) *CreateNotificationInput {
+ s.Subscribers = v
+ return s
+}
+
// Response of CreateNotification
type CreateNotificationOutput struct {
_ struct{} `type:"structure"`
@@ -1424,6 +1544,30 @@ func (s *CreateSubscriberInput) Validate() error {
return nil
}
+// SetAccountId sets the AccountId field's value.
+func (s *CreateSubscriberInput) SetAccountId(v string) *CreateSubscriberInput {
+ s.AccountId = &v
+ return s
+}
+
+// SetBudgetName sets the BudgetName field's value.
+func (s *CreateSubscriberInput) SetBudgetName(v string) *CreateSubscriberInput {
+ s.BudgetName = &v
+ return s
+}
+
+// SetNotification sets the Notification field's value.
+func (s *CreateSubscriberInput) SetNotification(v *Notification) *CreateSubscriberInput {
+ s.Notification = v
+ return s
+}
+
+// SetSubscriber sets the Subscriber field's value.
+func (s *CreateSubscriberInput) SetSubscriber(v *Subscriber) *CreateSubscriberInput {
+ s.Subscriber = v
+ return s
+}
+
// Response of CreateSubscriber
type CreateSubscriberOutput struct {
_ struct{} `type:"structure"`
@@ -1483,6 +1627,18 @@ func (s *DeleteBudgetInput) Validate() error {
return nil
}
+// SetAccountId sets the AccountId field's value.
+func (s *DeleteBudgetInput) SetAccountId(v string) *DeleteBudgetInput {
+ s.AccountId = &v
+ return s
+}
+
+// SetBudgetName sets the BudgetName field's value.
+func (s *DeleteBudgetInput) SetBudgetName(v string) *DeleteBudgetInput {
+ s.BudgetName = &v
+ return s
+}
+
// Response of DeleteBudget
type DeleteBudgetOutput struct {
_ struct{} `type:"structure"`
@@ -1556,6 +1712,24 @@ func (s *DeleteNotificationInput) Validate() error {
return nil
}
+// SetAccountId sets the AccountId field's value.
+func (s *DeleteNotificationInput) SetAccountId(v string) *DeleteNotificationInput {
+ s.AccountId = &v
+ return s
+}
+
+// SetBudgetName sets the BudgetName field's value.
+func (s *DeleteNotificationInput) SetBudgetName(v string) *DeleteNotificationInput {
+ s.BudgetName = &v
+ return s
+}
+
+// SetNotification sets the Notification field's value.
+func (s *DeleteNotificationInput) SetNotification(v *Notification) *DeleteNotificationInput {
+ s.Notification = v
+ return s
+}
+
// Response of DeleteNotification
type DeleteNotificationOutput struct {
_ struct{} `type:"structure"`
@@ -1643,6 +1817,30 @@ func (s *DeleteSubscriberInput) Validate() error {
return nil
}
+// SetAccountId sets the AccountId field's value.
+func (s *DeleteSubscriberInput) SetAccountId(v string) *DeleteSubscriberInput {
+ s.AccountId = &v
+ return s
+}
+
+// SetBudgetName sets the BudgetName field's value.
+func (s *DeleteSubscriberInput) SetBudgetName(v string) *DeleteSubscriberInput {
+ s.BudgetName = &v
+ return s
+}
+
+// SetNotification sets the Notification field's value.
+func (s *DeleteSubscriberInput) SetNotification(v *Notification) *DeleteSubscriberInput {
+ s.Notification = v
+ return s
+}
+
+// SetSubscriber sets the Subscriber field's value.
+func (s *DeleteSubscriberInput) SetSubscriber(v *Subscriber) *DeleteSubscriberInput {
+ s.Subscriber = v
+ return s
+}
+
// Response of DeleteSubscriber
type DeleteSubscriberOutput struct {
_ struct{} `type:"structure"`
@@ -1702,6 +1900,18 @@ func (s *DescribeBudgetInput) Validate() error {
return nil
}
+// SetAccountId sets the AccountId field's value.
+func (s *DescribeBudgetInput) SetAccountId(v string) *DescribeBudgetInput {
+ s.AccountId = &v
+ return s
+}
+
+// SetBudgetName sets the BudgetName field's value.
+func (s *DescribeBudgetInput) SetBudgetName(v string) *DescribeBudgetInput {
+ s.BudgetName = &v
+ return s
+}
+
// Response of DescribeBudget
type DescribeBudgetOutput struct {
_ struct{} `type:"structure"`
@@ -1720,6 +1930,12 @@ func (s DescribeBudgetOutput) GoString() string {
return s.String()
}
+// SetBudget sets the Budget field's value.
+func (s *DescribeBudgetOutput) SetBudget(v *Budget) *DescribeBudgetOutput {
+ s.Budget = v
+ return s
+}
+
// Request of DescribeBudgets
type DescribeBudgetsInput struct {
_ struct{} `type:"structure"`
@@ -1766,6 +1982,24 @@ func (s *DescribeBudgetsInput) Validate() error {
return nil
}
+// SetAccountId sets the AccountId field's value.
+func (s *DescribeBudgetsInput) SetAccountId(v string) *DescribeBudgetsInput {
+ s.AccountId = &v
+ return s
+}
+
+// SetMaxResults sets the MaxResults field's value.
+func (s *DescribeBudgetsInput) SetMaxResults(v int64) *DescribeBudgetsInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeBudgetsInput) SetNextToken(v string) *DescribeBudgetsInput {
+ s.NextToken = &v
+ return s
+}
+
// Response of DescribeBudgets
type DescribeBudgetsOutput struct {
_ struct{} `type:"structure"`
@@ -1787,6 +2021,18 @@ func (s DescribeBudgetsOutput) GoString() string {
return s.String()
}
+// SetBudgets sets the Budgets field's value.
+func (s *DescribeBudgetsOutput) SetBudgets(v []*Budget) *DescribeBudgetsOutput {
+ s.Budgets = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeBudgetsOutput) SetNextToken(v string) *DescribeBudgetsOutput {
+ s.NextToken = &v
+ return s
+}
+
// Request of DescribeNotificationsForBudget
type DescribeNotificationsForBudgetInput struct {
_ struct{} `type:"structure"`
@@ -1841,6 +2087,30 @@ func (s *DescribeNotificationsForBudgetInput) Validate() error {
return nil
}
+// SetAccountId sets the AccountId field's value.
+func (s *DescribeNotificationsForBudgetInput) SetAccountId(v string) *DescribeNotificationsForBudgetInput {
+ s.AccountId = &v
+ return s
+}
+
+// SetBudgetName sets the BudgetName field's value.
+func (s *DescribeNotificationsForBudgetInput) SetBudgetName(v string) *DescribeNotificationsForBudgetInput {
+ s.BudgetName = &v
+ return s
+}
+
+// SetMaxResults sets the MaxResults field's value.
+func (s *DescribeNotificationsForBudgetInput) SetMaxResults(v int64) *DescribeNotificationsForBudgetInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeNotificationsForBudgetInput) SetNextToken(v string) *DescribeNotificationsForBudgetInput {
+ s.NextToken = &v
+ return s
+}
+
// Response of GetNotificationsForBudget
type DescribeNotificationsForBudgetOutput struct {
_ struct{} `type:"structure"`
@@ -1862,6 +2132,18 @@ func (s DescribeNotificationsForBudgetOutput) GoString() string {
return s.String()
}
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeNotificationsForBudgetOutput) SetNextToken(v string) *DescribeNotificationsForBudgetOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetNotifications sets the Notifications field's value.
+func (s *DescribeNotificationsForBudgetOutput) SetNotifications(v []*Notification) *DescribeNotificationsForBudgetOutput {
+ s.Notifications = v
+ return s
+}
+
// Request of DescribeSubscribersForNotification
type DescribeSubscribersForNotificationInput struct {
_ struct{} `type:"structure"`
@@ -1930,6 +2212,36 @@ func (s *DescribeSubscribersForNotificationInput) Validate() error {
return nil
}
+// SetAccountId sets the AccountId field's value.
+func (s *DescribeSubscribersForNotificationInput) SetAccountId(v string) *DescribeSubscribersForNotificationInput {
+ s.AccountId = &v
+ return s
+}
+
+// SetBudgetName sets the BudgetName field's value.
+func (s *DescribeSubscribersForNotificationInput) SetBudgetName(v string) *DescribeSubscribersForNotificationInput {
+ s.BudgetName = &v
+ return s
+}
+
+// SetMaxResults sets the MaxResults field's value.
+func (s *DescribeSubscribersForNotificationInput) SetMaxResults(v int64) *DescribeSubscribersForNotificationInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeSubscribersForNotificationInput) SetNextToken(v string) *DescribeSubscribersForNotificationInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetNotification sets the Notification field's value.
+func (s *DescribeSubscribersForNotificationInput) SetNotification(v *Notification) *DescribeSubscribersForNotificationInput {
+ s.Notification = v
+ return s
+}
+
// Response of DescribeSubscribersForNotification
type DescribeSubscribersForNotificationOutput struct {
_ struct{} `type:"structure"`
@@ -1951,6 +2263,18 @@ func (s DescribeSubscribersForNotificationOutput) GoString() string {
return s.String()
}
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeSubscribersForNotificationOutput) SetNextToken(v string) *DescribeSubscribersForNotificationOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetSubscribers sets the Subscribers field's value.
+func (s *DescribeSubscribersForNotificationOutput) SetSubscribers(v []*Subscriber) *DescribeSubscribersForNotificationOutput {
+ s.Subscribers = v
+ return s
+}
+
// Notification model. Each budget may contain multiple notifications with different
// settings.
type Notification struct {
@@ -2006,6 +2330,24 @@ func (s *Notification) Validate() error {
return nil
}
+// SetComparisonOperator sets the ComparisonOperator field's value.
+func (s *Notification) SetComparisonOperator(v string) *Notification {
+ s.ComparisonOperator = &v
+ return s
+}
+
+// SetNotificationType sets the NotificationType field's value.
+func (s *Notification) SetNotificationType(v string) *Notification {
+ s.NotificationType = &v
+ return s
+}
+
+// SetThreshold sets the Threshold field's value.
+func (s *Notification) SetThreshold(v float64) *Notification {
+ s.Threshold = &v
+ return s
+}
+
// A structure to relate notification and a list of subscribers who belong to
// the notification.
type NotificationWithSubscribers struct {
@@ -2067,6 +2409,18 @@ func (s *NotificationWithSubscribers) Validate() error {
return nil
}
+// SetNotification sets the Notification field's value.
+func (s *NotificationWithSubscribers) SetNotification(v *Notification) *NotificationWithSubscribers {
+ s.Notification = v
+ return s
+}
+
+// SetSubscribers sets the Subscribers field's value.
+func (s *NotificationWithSubscribers) SetSubscribers(v []*Subscriber) *NotificationWithSubscribers {
+ s.Subscribers = v
+ return s
+}
+
// A structure represent either a cost spend or usage spend. Contains an amount
// and a unit.
type Spend struct {
@@ -2109,6 +2463,18 @@ func (s *Spend) Validate() error {
return nil
}
+// SetAmount sets the Amount field's value.
+func (s *Spend) SetAmount(v string) *Spend {
+ s.Amount = &v
+ return s
+}
+
+// SetUnit sets the Unit field's value.
+func (s *Spend) SetUnit(v string) *Spend {
+ s.Unit = &v
+ return s
+}
+
// Subscriber model. Each notification may contain multiple subscribers with
// different addresses.
type Subscriber struct {
@@ -2151,6 +2517,18 @@ func (s *Subscriber) Validate() error {
return nil
}
+// SetAddress sets the Address field's value.
+func (s *Subscriber) SetAddress(v string) *Subscriber {
+ s.Address = &v
+ return s
+}
+
+// SetSubscriptionType sets the SubscriptionType field's value.
+func (s *Subscriber) SetSubscriptionType(v string) *Subscriber {
+ s.SubscriptionType = &v
+ return s
+}
+
// A time period indicated the start date and end date of a budget.
type TimePeriod struct {
_ struct{} `type:"structure"`
@@ -2192,6 +2570,18 @@ func (s *TimePeriod) Validate() error {
return nil
}
+// SetEnd sets the End field's value.
+func (s *TimePeriod) SetEnd(v time.Time) *TimePeriod {
+ s.End = &v
+ return s
+}
+
+// SetStart sets the Start field's value.
+func (s *TimePeriod) SetStart(v time.Time) *TimePeriod {
+ s.Start = &v
+ return s
+}
+
// Request of UpdateBudget
type UpdateBudgetInput struct {
_ struct{} `type:"structure"`
@@ -2241,6 +2631,18 @@ func (s *UpdateBudgetInput) Validate() error {
return nil
}
+// SetAccountId sets the AccountId field's value.
+func (s *UpdateBudgetInput) SetAccountId(v string) *UpdateBudgetInput {
+ s.AccountId = &v
+ return s
+}
+
+// SetNewBudget sets the NewBudget field's value.
+func (s *UpdateBudgetInput) SetNewBudget(v *Budget) *UpdateBudgetInput {
+ s.NewBudget = v
+ return s
+}
+
// Response of UpdateBudget
type UpdateBudgetOutput struct {
_ struct{} `type:"structure"`
@@ -2328,6 +2730,30 @@ func (s *UpdateNotificationInput) Validate() error {
return nil
}
+// SetAccountId sets the AccountId field's value.
+func (s *UpdateNotificationInput) SetAccountId(v string) *UpdateNotificationInput {
+ s.AccountId = &v
+ return s
+}
+
+// SetBudgetName sets the BudgetName field's value.
+func (s *UpdateNotificationInput) SetBudgetName(v string) *UpdateNotificationInput {
+ s.BudgetName = &v
+ return s
+}
+
+// SetNewNotification sets the NewNotification field's value.
+func (s *UpdateNotificationInput) SetNewNotification(v *Notification) *UpdateNotificationInput {
+ s.NewNotification = v
+ return s
+}
+
+// SetOldNotification sets the OldNotification field's value.
+func (s *UpdateNotificationInput) SetOldNotification(v *Notification) *UpdateNotificationInput {
+ s.OldNotification = v
+ return s
+}
+
// Response of UpdateNotification
type UpdateNotificationOutput struct {
_ struct{} `type:"structure"`
@@ -2429,6 +2855,36 @@ func (s *UpdateSubscriberInput) Validate() error {
return nil
}
+// SetAccountId sets the AccountId field's value.
+func (s *UpdateSubscriberInput) SetAccountId(v string) *UpdateSubscriberInput {
+ s.AccountId = &v
+ return s
+}
+
+// SetBudgetName sets the BudgetName field's value.
+func (s *UpdateSubscriberInput) SetBudgetName(v string) *UpdateSubscriberInput {
+ s.BudgetName = &v
+ return s
+}
+
+// SetNewSubscriber sets the NewSubscriber field's value.
+func (s *UpdateSubscriberInput) SetNewSubscriber(v *Subscriber) *UpdateSubscriberInput {
+ s.NewSubscriber = v
+ return s
+}
+
+// SetNotification sets the Notification field's value.
+func (s *UpdateSubscriberInput) SetNotification(v *Notification) *UpdateSubscriberInput {
+ s.Notification = v
+ return s
+}
+
+// SetOldSubscriber sets the OldSubscriber field's value.
+func (s *UpdateSubscriberInput) SetOldSubscriber(v *Subscriber) *UpdateSubscriberInput {
+ s.OldSubscriber = v
+ return s
+}
+
// Response of UpdateSubscriber
type UpdateSubscriberOutput struct {
_ struct{} `type:"structure"`
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 989b2e9..2022f24 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
@@ -193,10 +193,10 @@ func (c *CloudFormation) CreateChangeSetRequest(input *CreateChangeSetInput) (re
// CreateChangeSet API operation for AWS CloudFormation.
//
// Creates a list of changes for a stack. AWS CloudFormation generates the change
-// set by comparing the stack's information with the information that you submit.
-// A change set can help you understand which resources AWS CloudFormation will
-// change and how it will change them before you update your stack. Change sets
-// allow you to check before you make a change so that you don't delete or replace
+// set by comparing the template's information with the information that you
+// submit. A change set can help you understand which resources AWS CloudFormation
+// will change, and how it will change them, before you update your stack. Change
+// sets allow you to check before making a change to avoid deleting or replacing
// critical resources.
//
// AWS CloudFormation doesn't make any changes to the stack when you create
@@ -1287,6 +1287,71 @@ func (c *CloudFormation) ListChangeSets(input *ListChangeSetsInput) (*ListChange
return out, err
}
+const opListExports = "ListExports"
+
+// ListExportsRequest generates a "aws/request.Request" representing the
+// client's request for the ListExports operation. The "output" return
+// value can be used to capture response data after the request's "Send" method
+// is called.
+//
+// See ListExports for usage and error information.
+//
+// Creating a request object using this method should be used when you want to inject
+// custom logic into the request's lifecycle using a custom handler, or if you want to
+// access properties on the request object before or after sending the request. If
+// you just want the service response, call the ListExports method directly
+// instead.
+//
+// Note: You must call the "Send" method on the returned request object in order
+// to execute the request.
+//
+// // Example sending a request using the ListExportsRequest method.
+// req, resp := client.ListExportsRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+func (c *CloudFormation) ListExportsRequest(input *ListExportsInput) (req *request.Request, output *ListExportsOutput) {
+ op := &request.Operation{
+ Name: opListExports,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &ListExportsInput{}
+ }
+
+ req = c.newRequest(op, input, output)
+ output = &ListExportsOutput{}
+ req.Data = output
+ return
+}
+
+// ListExports API operation for AWS CloudFormation.
+//
+// Lists all exported output values in the account and region in which you call
+// this action. Use this action to see the exported output values that you can
+// import into other stacks. To import values, use the Fn::ImportValue (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-importvalue.html)
+// function.
+//
+// For more information, see AWS CloudFormation Export Stack Output Values
+// (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-exports.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 CloudFormation's
+// API operation ListExports for usage and error information.
+func (c *CloudFormation) ListExports(input *ListExportsInput) (*ListExportsOutput, error) {
+ req, out := c.ListExportsRequest(input)
+ err := req.Send()
+ return out, err
+}
+
const opListStackResources = "ListStackResources"
// ListStackResourcesRequest generates a "aws/request.Request" representing the
@@ -1757,6 +1822,18 @@ func (s AccountLimit) GoString() string {
return s.String()
}
+// SetName sets the Name field's value.
+func (s *AccountLimit) SetName(v string) *AccountLimit {
+ s.Name = &v
+ return s
+}
+
+// SetValue sets the Value field's value.
+func (s *AccountLimit) SetValue(v int64) *AccountLimit {
+ s.Value = &v
+ return s
+}
+
// The input for the CancelUpdateStack action.
type CancelUpdateStackInput struct {
_ struct{} `type:"structure"`
@@ -1790,6 +1867,12 @@ func (s *CancelUpdateStackInput) Validate() error {
return nil
}
+// SetStackName sets the StackName field's value.
+func (s *CancelUpdateStackInput) SetStackName(v string) *CancelUpdateStackInput {
+ s.StackName = &v
+ return s
+}
+
type CancelUpdateStackOutput struct {
_ struct{} `type:"structure"`
}
@@ -1828,6 +1911,18 @@ func (s Change) GoString() string {
return s.String()
}
+// SetResourceChange sets the ResourceChange field's value.
+func (s *Change) SetResourceChange(v *ResourceChange) *Change {
+ s.ResourceChange = v
+ return s
+}
+
+// SetType sets the Type field's value.
+func (s *Change) SetType(v string) *Change {
+ s.Type = &v
+ return s
+}
+
// The ChangeSetSummary structure describes a change set, its status, and the
// stack with which it's associated.
type ChangeSetSummary struct {
@@ -1877,10 +1972,92 @@ func (s ChangeSetSummary) GoString() string {
return s.String()
}
+// SetChangeSetId sets the ChangeSetId field's value.
+func (s *ChangeSetSummary) SetChangeSetId(v string) *ChangeSetSummary {
+ s.ChangeSetId = &v
+ return s
+}
+
+// SetChangeSetName sets the ChangeSetName field's value.
+func (s *ChangeSetSummary) SetChangeSetName(v string) *ChangeSetSummary {
+ s.ChangeSetName = &v
+ return s
+}
+
+// SetCreationTime sets the CreationTime field's value.
+func (s *ChangeSetSummary) SetCreationTime(v time.Time) *ChangeSetSummary {
+ s.CreationTime = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *ChangeSetSummary) SetDescription(v string) *ChangeSetSummary {
+ s.Description = &v
+ return s
+}
+
+// SetExecutionStatus sets the ExecutionStatus field's value.
+func (s *ChangeSetSummary) SetExecutionStatus(v string) *ChangeSetSummary {
+ s.ExecutionStatus = &v
+ return s
+}
+
+// SetStackId sets the StackId field's value.
+func (s *ChangeSetSummary) SetStackId(v string) *ChangeSetSummary {
+ s.StackId = &v
+ return s
+}
+
+// SetStackName sets the StackName field's value.
+func (s *ChangeSetSummary) SetStackName(v string) *ChangeSetSummary {
+ s.StackName = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *ChangeSetSummary) SetStatus(v string) *ChangeSetSummary {
+ s.Status = &v
+ return s
+}
+
+// SetStatusReason sets the StatusReason field's value.
+func (s *ChangeSetSummary) SetStatusReason(v string) *ChangeSetSummary {
+ s.StatusReason = &v
+ return s
+}
+
// The input for the ContinueUpdateRollback action.
type ContinueUpdateRollbackInput struct {
_ struct{} `type:"structure"`
+ // A list of the logical IDs of the resources that AWS CloudFormation skips
+ // during the continue update rollback operation. You can specify only resources
+ // that are in the UPDATE_FAILED state because a rollback failed. You can't
+ // specify resources that are in the UPDATE_FAILED state for other reasons,
+ // for example, because an update was canceled. To check why a resource update
+ // failed, use the DescribeStackResources action, and view the resource status
+ // reason.
+ //
+ // Specify this property to skip rolling back resources that AWS CloudFormation
+ // can't successfully roll back. We recommend that you troubleshoot (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/troubleshooting.html#troubleshooting-errors-update-rollback-failed)
+ // resources before skipping them. AWS CloudFormation sets the status of the
+ // specified resources to UPDATE_COMPLETE and continues to roll back the stack.
+ // After the rollback is complete, the state of the skipped resources will be
+ // inconsistent with the state of the resources in the stack template. Before
+ // performing another stack update, you must update the stack or resources to
+ // be consistent with each other. If you don't, subsequent stack updates might
+ // fail, and the stack will become unrecoverable.
+ //
+ // Specify the minimum number of resources required to successfully roll back
+ // your stack. For example, a failed resource update might cause dependent resources
+ // to fail. In this case, it might not be necessary to skip the dependent resources.
+ //
+ // To specify resources in a nested stack, use the following format: NestedStackName.ResourceLogicalID.
+ // You can specify a nested stack resource (the logical ID of an AWS::CloudFormation::Stack
+ // resource) only if it's in one of the following states: DELETE_IN_PROGRESS,
+ // DELETE_COMPLETE, or DELETE_FAILED.
+ ResourcesToSkip []*string `type:"list"`
+
// The Amazon Resource Name (ARN) of an AWS Identity and Access Management (IAM)
// role that AWS CloudFormation assumes to roll back the stack. AWS CloudFormation
// uses the role's credentials to make calls on your behalf. AWS CloudFormation
@@ -1897,6 +2074,11 @@ type ContinueUpdateRollbackInput struct {
// The name or the unique ID of the stack that you want to continue rolling
// back.
//
+ // Don't specify the name of a nested stack (a stack that was created by using
+ // the AWS::CloudFormation::Stack resource). Instead, use this operation on
+ // the parent stack (the stack that contains the AWS::CloudFormation::Stack
+ // resource).
+ //
// StackName is a required field
StackName *string `min:"1" type:"string" required:"true"`
}
@@ -1930,6 +2112,24 @@ func (s *ContinueUpdateRollbackInput) Validate() error {
return nil
}
+// SetResourcesToSkip sets the ResourcesToSkip field's value.
+func (s *ContinueUpdateRollbackInput) SetResourcesToSkip(v []*string) *ContinueUpdateRollbackInput {
+ s.ResourcesToSkip = v
+ return s
+}
+
+// SetRoleARN sets the RoleARN field's value.
+func (s *ContinueUpdateRollbackInput) SetRoleARN(v string) *ContinueUpdateRollbackInput {
+ s.RoleARN = &v
+ return s
+}
+
+// SetStackName sets the StackName field's value.
+func (s *ContinueUpdateRollbackInput) SetStackName(v string) *ContinueUpdateRollbackInput {
+ s.StackName = &v
+ return s
+}
+
// The output for a ContinueUpdateRollback action.
type ContinueUpdateRollbackOutput struct {
_ struct{} `type:"structure"`
@@ -1985,6 +2185,20 @@ type CreateChangeSetInput struct {
// ChangeSetName is a required field
ChangeSetName *string `min:"1" type:"string" required:"true"`
+ // The type of change set operation.
+ //
+ // Valid values are CREATE and UPDATE. The default value is UPDATE.
+ //
+ // * CREATE - Specify to use the change set to create a new stack. While
+ // AWS CloudFormation creates the stack, the stack has the REVIEW_IN_PROGRESS
+ // (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-describing-stacks.html#d0e11995)
+ // status and an expected StackId, but no template or resources. Except for
+ // its StackId, the stack is completely empty until you execute the change
+ // set. You can apply multiple change sets to a stack.
+ //
+ // * UPDATE - Specify to create a change set for an existing stack.
+ ChangeSetType *string `type:"string" enum:"ChangeSetType"`
+
// A unique identifier for this CreateChangeSet request. Specify this token
// if you plan to retry requests so that AWS CloudFormation knows that you're
// not attempting to create another change set with the same name. You might
@@ -2020,10 +2234,10 @@ type CreateChangeSetInput struct {
// The Amazon Resource Name (ARN) of an AWS Identity and Access Management (IAM)
// role that AWS CloudFormation assumes when executing the change set. AWS CloudFormation
// uses the role's credentials to make calls on your behalf. AWS CloudFormation
- // always uses this role for all future operations on the stack. As long as
- // users have permission to operate on the stack, AWS CloudFormation uses this
- // role even if the users don't have permission to pass it. Ensure that the
- // role grants least privilege.
+ // uses this role for all future operations on the stack. As long as users have
+ // permission to operate on the stack, AWS CloudFormation uses this role even
+ // if the users don't have permission to pass it. Ensure that the role grants
+ // least privilege.
//
// If you don't specify a value, AWS CloudFormation uses the role that was previously
// associated with the stack. If no role is available, AWS CloudFormation uses
@@ -2110,12 +2324,99 @@ func (s *CreateChangeSetInput) Validate() error {
return nil
}
+// SetCapabilities sets the Capabilities field's value.
+func (s *CreateChangeSetInput) SetCapabilities(v []*string) *CreateChangeSetInput {
+ s.Capabilities = v
+ return s
+}
+
+// SetChangeSetName sets the ChangeSetName field's value.
+func (s *CreateChangeSetInput) SetChangeSetName(v string) *CreateChangeSetInput {
+ s.ChangeSetName = &v
+ return s
+}
+
+// SetChangeSetType sets the ChangeSetType field's value.
+func (s *CreateChangeSetInput) SetChangeSetType(v string) *CreateChangeSetInput {
+ s.ChangeSetType = &v
+ return s
+}
+
+// SetClientToken sets the ClientToken field's value.
+func (s *CreateChangeSetInput) SetClientToken(v string) *CreateChangeSetInput {
+ s.ClientToken = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *CreateChangeSetInput) SetDescription(v string) *CreateChangeSetInput {
+ s.Description = &v
+ return s
+}
+
+// SetNotificationARNs sets the NotificationARNs field's value.
+func (s *CreateChangeSetInput) SetNotificationARNs(v []*string) *CreateChangeSetInput {
+ s.NotificationARNs = v
+ return s
+}
+
+// SetParameters sets the Parameters field's value.
+func (s *CreateChangeSetInput) SetParameters(v []*Parameter) *CreateChangeSetInput {
+ s.Parameters = v
+ return s
+}
+
+// SetResourceTypes sets the ResourceTypes field's value.
+func (s *CreateChangeSetInput) SetResourceTypes(v []*string) *CreateChangeSetInput {
+ s.ResourceTypes = v
+ return s
+}
+
+// SetRoleARN sets the RoleARN field's value.
+func (s *CreateChangeSetInput) SetRoleARN(v string) *CreateChangeSetInput {
+ s.RoleARN = &v
+ return s
+}
+
+// SetStackName sets the StackName field's value.
+func (s *CreateChangeSetInput) SetStackName(v string) *CreateChangeSetInput {
+ s.StackName = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *CreateChangeSetInput) SetTags(v []*Tag) *CreateChangeSetInput {
+ s.Tags = v
+ return s
+}
+
+// SetTemplateBody sets the TemplateBody field's value.
+func (s *CreateChangeSetInput) SetTemplateBody(v string) *CreateChangeSetInput {
+ s.TemplateBody = &v
+ return s
+}
+
+// SetTemplateURL sets the TemplateURL field's value.
+func (s *CreateChangeSetInput) SetTemplateURL(v string) *CreateChangeSetInput {
+ s.TemplateURL = &v
+ return s
+}
+
+// SetUsePreviousTemplate sets the UsePreviousTemplate field's value.
+func (s *CreateChangeSetInput) SetUsePreviousTemplate(v bool) *CreateChangeSetInput {
+ s.UsePreviousTemplate = &v
+ return s
+}
+
// The output for the CreateChangeSet action.
type CreateChangeSetOutput struct {
_ struct{} `type:"structure"`
// The Amazon Resource Name (ARN) of the change set.
Id *string `min:"1" type:"string"`
+
+ // The unique ID of the stack.
+ StackId *string `type:"string"`
}
// String returns the string representation
@@ -2128,6 +2429,18 @@ func (s CreateChangeSetOutput) GoString() string {
return s.String()
}
+// SetId sets the Id field's value.
+func (s *CreateChangeSetOutput) SetId(v string) *CreateChangeSetOutput {
+ s.Id = &v
+ return s
+}
+
+// SetStackId sets the StackId field's value.
+func (s *CreateChangeSetOutput) SetStackId(v string) *CreateChangeSetOutput {
+ s.StackId = &v
+ return s
+}
+
// The input for CreateStack action.
type CreateStackInput struct {
_ struct{} `type:"structure"`
@@ -2302,6 +2615,90 @@ func (s *CreateStackInput) Validate() error {
return nil
}
+// SetCapabilities sets the Capabilities field's value.
+func (s *CreateStackInput) SetCapabilities(v []*string) *CreateStackInput {
+ s.Capabilities = v
+ return s
+}
+
+// SetDisableRollback sets the DisableRollback field's value.
+func (s *CreateStackInput) SetDisableRollback(v bool) *CreateStackInput {
+ s.DisableRollback = &v
+ return s
+}
+
+// SetNotificationARNs sets the NotificationARNs field's value.
+func (s *CreateStackInput) SetNotificationARNs(v []*string) *CreateStackInput {
+ s.NotificationARNs = v
+ return s
+}
+
+// SetOnFailure sets the OnFailure field's value.
+func (s *CreateStackInput) SetOnFailure(v string) *CreateStackInput {
+ s.OnFailure = &v
+ return s
+}
+
+// SetParameters sets the Parameters field's value.
+func (s *CreateStackInput) SetParameters(v []*Parameter) *CreateStackInput {
+ s.Parameters = v
+ return s
+}
+
+// SetResourceTypes sets the ResourceTypes field's value.
+func (s *CreateStackInput) SetResourceTypes(v []*string) *CreateStackInput {
+ s.ResourceTypes = v
+ return s
+}
+
+// SetRoleARN sets the RoleARN field's value.
+func (s *CreateStackInput) SetRoleARN(v string) *CreateStackInput {
+ s.RoleARN = &v
+ return s
+}
+
+// SetStackName sets the StackName field's value.
+func (s *CreateStackInput) SetStackName(v string) *CreateStackInput {
+ s.StackName = &v
+ return s
+}
+
+// SetStackPolicyBody sets the StackPolicyBody field's value.
+func (s *CreateStackInput) SetStackPolicyBody(v string) *CreateStackInput {
+ s.StackPolicyBody = &v
+ return s
+}
+
+// SetStackPolicyURL sets the StackPolicyURL field's value.
+func (s *CreateStackInput) SetStackPolicyURL(v string) *CreateStackInput {
+ s.StackPolicyURL = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *CreateStackInput) SetTags(v []*Tag) *CreateStackInput {
+ s.Tags = v
+ return s
+}
+
+// SetTemplateBody sets the TemplateBody field's value.
+func (s *CreateStackInput) SetTemplateBody(v string) *CreateStackInput {
+ s.TemplateBody = &v
+ return s
+}
+
+// SetTemplateURL sets the TemplateURL field's value.
+func (s *CreateStackInput) SetTemplateURL(v string) *CreateStackInput {
+ s.TemplateURL = &v
+ return s
+}
+
+// SetTimeoutInMinutes sets the TimeoutInMinutes field's value.
+func (s *CreateStackInput) SetTimeoutInMinutes(v int64) *CreateStackInput {
+ s.TimeoutInMinutes = &v
+ return s
+}
+
// The output for a CreateStack action.
type CreateStackOutput struct {
_ struct{} `type:"structure"`
@@ -2320,6 +2717,12 @@ func (s CreateStackOutput) GoString() string {
return s.String()
}
+// SetStackId sets the StackId field's value.
+func (s *CreateStackOutput) SetStackId(v string) *CreateStackOutput {
+ s.StackId = &v
+ return s
+}
+
// The input for the DeleteChangeSet action.
type DeleteChangeSetInput struct {
_ struct{} `type:"structure"`
@@ -2364,6 +2767,18 @@ func (s *DeleteChangeSetInput) Validate() error {
return nil
}
+// SetChangeSetName sets the ChangeSetName field's value.
+func (s *DeleteChangeSetInput) SetChangeSetName(v string) *DeleteChangeSetInput {
+ s.ChangeSetName = &v
+ return s
+}
+
+// SetStackName sets the StackName field's value.
+func (s *DeleteChangeSetInput) SetStackName(v string) *DeleteChangeSetInput {
+ s.StackName = &v
+ return s
+}
+
// The output for the DeleteChangeSet action.
type DeleteChangeSetOutput struct {
_ struct{} `type:"structure"`
@@ -2432,6 +2847,24 @@ func (s *DeleteStackInput) Validate() error {
return nil
}
+// SetRetainResources sets the RetainResources field's value.
+func (s *DeleteStackInput) SetRetainResources(v []*string) *DeleteStackInput {
+ s.RetainResources = v
+ return s
+}
+
+// SetRoleARN sets the RoleARN field's value.
+func (s *DeleteStackInput) SetRoleARN(v string) *DeleteStackInput {
+ s.RoleARN = &v
+ return s
+}
+
+// SetStackName sets the StackName field's value.
+func (s *DeleteStackInput) SetStackName(v string) *DeleteStackInput {
+ s.StackName = &v
+ return s
+}
+
type DeleteStackOutput struct {
_ struct{} `type:"structure"`
}
@@ -2477,6 +2910,12 @@ func (s *DescribeAccountLimitsInput) Validate() error {
return nil
}
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeAccountLimitsInput) SetNextToken(v string) *DescribeAccountLimitsInput {
+ s.NextToken = &v
+ return s
+}
+
// The output for the DescribeAccountLimits action.
type DescribeAccountLimitsOutput struct {
_ struct{} `type:"structure"`
@@ -2500,6 +2939,18 @@ func (s DescribeAccountLimitsOutput) GoString() string {
return s.String()
}
+// SetAccountLimits sets the AccountLimits field's value.
+func (s *DescribeAccountLimitsOutput) SetAccountLimits(v []*AccountLimit) *DescribeAccountLimitsOutput {
+ s.AccountLimits = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeAccountLimitsOutput) SetNextToken(v string) *DescribeAccountLimitsOutput {
+ s.NextToken = &v
+ return s
+}
+
// The input for the DescribeChangeSet action.
type DescribeChangeSetInput struct {
_ struct{} `type:"structure"`
@@ -2551,6 +3002,24 @@ func (s *DescribeChangeSetInput) Validate() error {
return nil
}
+// SetChangeSetName sets the ChangeSetName field's value.
+func (s *DescribeChangeSetInput) SetChangeSetName(v string) *DescribeChangeSetInput {
+ s.ChangeSetName = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeChangeSetInput) SetNextToken(v string) *DescribeChangeSetInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetStackName sets the StackName field's value.
+func (s *DescribeChangeSetInput) SetStackName(v string) *DescribeChangeSetInput {
+ s.StackName = &v
+ return s
+}
+
// The output for the DescribeChangeSet action.
type DescribeChangeSetOutput struct {
_ struct{} `type:"structure"`
@@ -2625,6 +3094,96 @@ func (s DescribeChangeSetOutput) GoString() string {
return s.String()
}
+// SetCapabilities sets the Capabilities field's value.
+func (s *DescribeChangeSetOutput) SetCapabilities(v []*string) *DescribeChangeSetOutput {
+ s.Capabilities = v
+ return s
+}
+
+// SetChangeSetId sets the ChangeSetId field's value.
+func (s *DescribeChangeSetOutput) SetChangeSetId(v string) *DescribeChangeSetOutput {
+ s.ChangeSetId = &v
+ return s
+}
+
+// SetChangeSetName sets the ChangeSetName field's value.
+func (s *DescribeChangeSetOutput) SetChangeSetName(v string) *DescribeChangeSetOutput {
+ s.ChangeSetName = &v
+ return s
+}
+
+// SetChanges sets the Changes field's value.
+func (s *DescribeChangeSetOutput) SetChanges(v []*Change) *DescribeChangeSetOutput {
+ s.Changes = v
+ return s
+}
+
+// SetCreationTime sets the CreationTime field's value.
+func (s *DescribeChangeSetOutput) SetCreationTime(v time.Time) *DescribeChangeSetOutput {
+ s.CreationTime = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *DescribeChangeSetOutput) SetDescription(v string) *DescribeChangeSetOutput {
+ s.Description = &v
+ return s
+}
+
+// SetExecutionStatus sets the ExecutionStatus field's value.
+func (s *DescribeChangeSetOutput) SetExecutionStatus(v string) *DescribeChangeSetOutput {
+ s.ExecutionStatus = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeChangeSetOutput) SetNextToken(v string) *DescribeChangeSetOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetNotificationARNs sets the NotificationARNs field's value.
+func (s *DescribeChangeSetOutput) SetNotificationARNs(v []*string) *DescribeChangeSetOutput {
+ s.NotificationARNs = v
+ return s
+}
+
+// SetParameters sets the Parameters field's value.
+func (s *DescribeChangeSetOutput) SetParameters(v []*Parameter) *DescribeChangeSetOutput {
+ s.Parameters = v
+ return s
+}
+
+// SetStackId sets the StackId field's value.
+func (s *DescribeChangeSetOutput) SetStackId(v string) *DescribeChangeSetOutput {
+ s.StackId = &v
+ return s
+}
+
+// SetStackName sets the StackName field's value.
+func (s *DescribeChangeSetOutput) SetStackName(v string) *DescribeChangeSetOutput {
+ s.StackName = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *DescribeChangeSetOutput) SetStatus(v string) *DescribeChangeSetOutput {
+ s.Status = &v
+ return s
+}
+
+// SetStatusReason sets the StatusReason field's value.
+func (s *DescribeChangeSetOutput) SetStatusReason(v string) *DescribeChangeSetOutput {
+ s.StatusReason = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *DescribeChangeSetOutput) SetTags(v []*Tag) *DescribeChangeSetOutput {
+ s.Tags = v
+ return s
+}
+
// The input for DescribeStackEvents action.
type DescribeStackEventsInput struct {
_ struct{} `type:"structure"`
@@ -2667,6 +3226,18 @@ func (s *DescribeStackEventsInput) Validate() error {
return nil
}
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeStackEventsInput) SetNextToken(v string) *DescribeStackEventsInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetStackName sets the StackName field's value.
+func (s *DescribeStackEventsInput) SetStackName(v string) *DescribeStackEventsInput {
+ s.StackName = &v
+ return s
+}
+
// The output for a DescribeStackEvents action.
type DescribeStackEventsOutput struct {
_ struct{} `type:"structure"`
@@ -2689,6 +3260,18 @@ func (s DescribeStackEventsOutput) GoString() string {
return s.String()
}
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeStackEventsOutput) SetNextToken(v string) *DescribeStackEventsOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetStackEvents sets the StackEvents field's value.
+func (s *DescribeStackEventsOutput) SetStackEvents(v []*StackEvent) *DescribeStackEventsOutput {
+ s.StackEvents = v
+ return s
+}
+
// The input for DescribeStackResource action.
type DescribeStackResourceInput struct {
_ struct{} `type:"structure"`
@@ -2740,6 +3323,18 @@ func (s *DescribeStackResourceInput) Validate() error {
return nil
}
+// SetLogicalResourceId sets the LogicalResourceId field's value.
+func (s *DescribeStackResourceInput) SetLogicalResourceId(v string) *DescribeStackResourceInput {
+ s.LogicalResourceId = &v
+ return s
+}
+
+// SetStackName sets the StackName field's value.
+func (s *DescribeStackResourceInput) SetStackName(v string) *DescribeStackResourceInput {
+ s.StackName = &v
+ return s
+}
+
// The output for a DescribeStackResource action.
type DescribeStackResourceOutput struct {
_ struct{} `type:"structure"`
@@ -2759,6 +3354,12 @@ func (s DescribeStackResourceOutput) GoString() string {
return s.String()
}
+// SetStackResourceDetail sets the StackResourceDetail field's value.
+func (s *DescribeStackResourceOutput) SetStackResourceDetail(v *StackResourceDetail) *DescribeStackResourceOutput {
+ s.StackResourceDetail = v
+ return s
+}
+
// The input for DescribeStackResources action.
type DescribeStackResourcesInput struct {
_ struct{} `type:"structure"`
@@ -2807,6 +3408,24 @@ func (s DescribeStackResourcesInput) GoString() string {
return s.String()
}
+// SetLogicalResourceId sets the LogicalResourceId field's value.
+func (s *DescribeStackResourcesInput) SetLogicalResourceId(v string) *DescribeStackResourcesInput {
+ s.LogicalResourceId = &v
+ return s
+}
+
+// SetPhysicalResourceId sets the PhysicalResourceId field's value.
+func (s *DescribeStackResourcesInput) SetPhysicalResourceId(v string) *DescribeStackResourcesInput {
+ s.PhysicalResourceId = &v
+ return s
+}
+
+// SetStackName sets the StackName field's value.
+func (s *DescribeStackResourcesInput) SetStackName(v string) *DescribeStackResourcesInput {
+ s.StackName = &v
+ return s
+}
+
// The output for a DescribeStackResources action.
type DescribeStackResourcesOutput struct {
_ struct{} `type:"structure"`
@@ -2825,6 +3444,12 @@ func (s DescribeStackResourcesOutput) GoString() string {
return s.String()
}
+// SetStackResources sets the StackResources field's value.
+func (s *DescribeStackResourcesOutput) SetStackResources(v []*StackResource) *DescribeStackResourcesOutput {
+ s.StackResources = v
+ return s
+}
+
// The input for DescribeStacks action.
type DescribeStacksInput struct {
_ struct{} `type:"structure"`
@@ -2867,6 +3492,18 @@ func (s *DescribeStacksInput) Validate() error {
return nil
}
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeStacksInput) SetNextToken(v string) *DescribeStacksInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetStackName sets the StackName field's value.
+func (s *DescribeStacksInput) SetStackName(v string) *DescribeStacksInput {
+ s.StackName = &v
+ return s
+}
+
// The output for a DescribeStacks action.
type DescribeStacksOutput struct {
_ struct{} `type:"structure"`
@@ -2889,6 +3526,18 @@ func (s DescribeStacksOutput) GoString() string {
return s.String()
}
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeStacksOutput) SetNextToken(v string) *DescribeStacksOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetStacks sets the Stacks field's value.
+func (s *DescribeStacksOutput) SetStacks(v []*Stack) *DescribeStacksOutput {
+ s.Stacks = v
+ return s
+}
+
// The input for an EstimateTemplateCost action.
type EstimateTemplateCostInput struct {
_ struct{} `type:"structure"`
@@ -2941,6 +3590,24 @@ func (s *EstimateTemplateCostInput) Validate() error {
return nil
}
+// SetParameters sets the Parameters field's value.
+func (s *EstimateTemplateCostInput) SetParameters(v []*Parameter) *EstimateTemplateCostInput {
+ s.Parameters = v
+ return s
+}
+
+// SetTemplateBody sets the TemplateBody field's value.
+func (s *EstimateTemplateCostInput) SetTemplateBody(v string) *EstimateTemplateCostInput {
+ s.TemplateBody = &v
+ return s
+}
+
+// SetTemplateURL sets the TemplateURL field's value.
+func (s *EstimateTemplateCostInput) SetTemplateURL(v string) *EstimateTemplateCostInput {
+ s.TemplateURL = &v
+ return s
+}
+
// The output for a EstimateTemplateCost action.
type EstimateTemplateCostOutput struct {
_ struct{} `type:"structure"`
@@ -2960,6 +3627,12 @@ func (s EstimateTemplateCostOutput) GoString() string {
return s.String()
}
+// SetUrl sets the Url field's value.
+func (s *EstimateTemplateCostOutput) SetUrl(v string) *EstimateTemplateCostOutput {
+ s.Url = &v
+ return s
+}
+
// The input for the ExecuteChangeSet action.
type ExecuteChangeSetInput struct {
_ struct{} `type:"structure"`
@@ -3004,6 +3677,18 @@ func (s *ExecuteChangeSetInput) Validate() error {
return nil
}
+// SetChangeSetName sets the ChangeSetName field's value.
+func (s *ExecuteChangeSetInput) SetChangeSetName(v string) *ExecuteChangeSetInput {
+ s.ChangeSetName = &v
+ return s
+}
+
+// SetStackName sets the StackName field's value.
+func (s *ExecuteChangeSetInput) SetStackName(v string) *ExecuteChangeSetInput {
+ s.StackName = &v
+ return s
+}
+
// The output for the ExecuteChangeSet action.
type ExecuteChangeSetOutput struct {
_ struct{} `type:"structure"`
@@ -3019,15 +3704,60 @@ func (s ExecuteChangeSetOutput) GoString() string {
return s.String()
}
-// The input for the GetStackPolicy action.
-type GetStackPolicyInput struct {
+// The Export structure describes the exported output values for a stack.
+type Export struct {
_ struct{} `type:"structure"`
- // The name or unique stack ID that is associated with the stack whose policy
- // you want to get.
- //
- // StackName is a required field
- StackName *string `type:"string" required:"true"`
+ // The stack that contains the exported output name and value.
+ ExportingStackId *string `type:"string"`
+
+ // The name of exported output value. Use this name and the Fn::ImportValue
+ // function to import the associated value into other stacks. The name is defined
+ // in the Export field in the associated stack's Outputs section.
+ Name *string `type:"string"`
+
+ // The value of the exported output, such as a resource physical ID. This value
+ // is defined in the Export field in the associated stack's Outputs section.
+ Value *string `type:"string"`
+}
+
+// String returns the string representation
+func (s Export) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s Export) GoString() string {
+ return s.String()
+}
+
+// SetExportingStackId sets the ExportingStackId field's value.
+func (s *Export) SetExportingStackId(v string) *Export {
+ s.ExportingStackId = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *Export) SetName(v string) *Export {
+ s.Name = &v
+ return s
+}
+
+// SetValue sets the Value field's value.
+func (s *Export) SetValue(v string) *Export {
+ s.Value = &v
+ return s
+}
+
+// The input for the GetStackPolicy action.
+type GetStackPolicyInput struct {
+ _ struct{} `type:"structure"`
+
+ // The name or unique stack ID that is associated with the stack whose policy
+ // you want to get.
+ //
+ // StackName is a required field
+ StackName *string `type:"string" required:"true"`
}
// String returns the string representation
@@ -3053,6 +3783,12 @@ func (s *GetStackPolicyInput) Validate() error {
return nil
}
+// SetStackName sets the StackName field's value.
+func (s *GetStackPolicyInput) SetStackName(v string) *GetStackPolicyInput {
+ s.StackName = &v
+ return s
+}
+
// The output for the GetStackPolicy action.
type GetStackPolicyOutput struct {
_ struct{} `type:"structure"`
@@ -3073,10 +3809,21 @@ func (s GetStackPolicyOutput) GoString() string {
return s.String()
}
+// SetStackPolicyBody sets the StackPolicyBody field's value.
+func (s *GetStackPolicyOutput) SetStackPolicyBody(v string) *GetStackPolicyOutput {
+ s.StackPolicyBody = &v
+ return s
+}
+
// The input for a GetTemplate action.
type GetTemplateInput struct {
_ struct{} `type:"structure"`
+ // Returns the template for a change set using the Amazon Resource Name (ARN)
+ // or name of the change set. If you specify a name, you must also specify the
+ // StackName.
+ ChangeSetName *string `min:"1" type:"string"`
+
// The name or the unique stack ID that is associated with the stack, which
// are not always interchangeable:
//
@@ -3086,9 +3833,17 @@ type GetTemplateInput struct {
// * Deleted stacks: You must specify the unique stack ID.
//
// Default: There is no default value.
+ StackName *string `type:"string"`
+
+ // The stage of the template that is returned.
//
- // StackName is a required field
- StackName *string `type:"string" required:"true"`
+ // Valid values are Original and Processed. The default value is Original.
+ //
+ // * Original - Use this value to return the user-submitted template.
+ //
+ // * Processed - Use this value to return the template after all transforms
+ // have been processed.
+ TemplateStage *string `type:"string" enum:"TemplateStage"`
}
// String returns the string representation
@@ -3104,8 +3859,8 @@ func (s GetTemplateInput) GoString() string {
// Validate inspects the fields of the type to determine if they are valid.
func (s *GetTemplateInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "GetTemplateInput"}
- if s.StackName == nil {
- invalidParams.Add(request.NewErrParamRequired("StackName"))
+ if s.ChangeSetName != nil && len(*s.ChangeSetName) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ChangeSetName", 1))
}
if invalidParams.Len() > 0 {
@@ -3114,10 +3869,40 @@ func (s *GetTemplateInput) Validate() error {
return nil
}
+// SetChangeSetName sets the ChangeSetName field's value.
+func (s *GetTemplateInput) SetChangeSetName(v string) *GetTemplateInput {
+ s.ChangeSetName = &v
+ return s
+}
+
+// SetStackName sets the StackName field's value.
+func (s *GetTemplateInput) SetStackName(v string) *GetTemplateInput {
+ s.StackName = &v
+ return s
+}
+
+// SetTemplateStage sets the TemplateStage field's value.
+func (s *GetTemplateInput) SetTemplateStage(v string) *GetTemplateInput {
+ s.TemplateStage = &v
+ return s
+}
+
// The output for GetTemplate action.
type GetTemplateOutput struct {
_ struct{} `type:"structure"`
+ // The template type.
+ //
+ // * For stacks, you can use either the Original or the Processed template
+ // type.
+ //
+ // * For change sets, you can use only the Original template type. After
+ // the transforms are processed, you can use the Processed template type.
+ //
+ // If you create a change set for a new stack, you must select the template
+ // type.
+ StagesAvailable []*string `type:"list"`
+
// Structure containing the template body. (For more information, go to Template
// Anatomy (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-anatomy.html)
// in the AWS CloudFormation User Guide.)
@@ -3137,6 +3922,18 @@ func (s GetTemplateOutput) GoString() string {
return s.String()
}
+// SetStagesAvailable sets the StagesAvailable field's value.
+func (s *GetTemplateOutput) SetStagesAvailable(v []*string) *GetTemplateOutput {
+ s.StagesAvailable = v
+ return s
+}
+
+// SetTemplateBody sets the TemplateBody field's value.
+func (s *GetTemplateOutput) SetTemplateBody(v string) *GetTemplateOutput {
+ s.TemplateBody = &v
+ return s
+}
+
// The input for the GetTemplateSummary action.
type GetTemplateSummaryInput struct {
_ struct{} `type:"structure"`
@@ -3198,6 +3995,24 @@ func (s *GetTemplateSummaryInput) Validate() error {
return nil
}
+// SetStackName sets the StackName field's value.
+func (s *GetTemplateSummaryInput) SetStackName(v string) *GetTemplateSummaryInput {
+ s.StackName = &v
+ return s
+}
+
+// SetTemplateBody sets the TemplateBody field's value.
+func (s *GetTemplateSummaryInput) SetTemplateBody(v string) *GetTemplateSummaryInput {
+ s.TemplateBody = &v
+ return s
+}
+
+// SetTemplateURL sets the TemplateURL field's value.
+func (s *GetTemplateSummaryInput) SetTemplateURL(v string) *GetTemplateSummaryInput {
+ s.TemplateURL = &v
+ return s
+}
+
// The output for the GetTemplateSummary action.
type GetTemplateSummaryOutput struct {
_ struct{} `type:"structure"`
@@ -3216,6 +4031,9 @@ type GetTemplateSummaryOutput struct {
// element.
CapabilitiesReason *string `type:"string"`
+ // A list of the transforms that are declared in the template.
+ DeclaredTransforms []*string `type:"list"`
+
// The value that is defined in the Description property of the template.
Description *string `min:"1" type:"string"`
@@ -3245,6 +4063,54 @@ func (s GetTemplateSummaryOutput) GoString() string {
return s.String()
}
+// SetCapabilities sets the Capabilities field's value.
+func (s *GetTemplateSummaryOutput) SetCapabilities(v []*string) *GetTemplateSummaryOutput {
+ s.Capabilities = v
+ return s
+}
+
+// SetCapabilitiesReason sets the CapabilitiesReason field's value.
+func (s *GetTemplateSummaryOutput) SetCapabilitiesReason(v string) *GetTemplateSummaryOutput {
+ s.CapabilitiesReason = &v
+ return s
+}
+
+// SetDeclaredTransforms sets the DeclaredTransforms field's value.
+func (s *GetTemplateSummaryOutput) SetDeclaredTransforms(v []*string) *GetTemplateSummaryOutput {
+ s.DeclaredTransforms = v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *GetTemplateSummaryOutput) SetDescription(v string) *GetTemplateSummaryOutput {
+ s.Description = &v
+ return s
+}
+
+// SetMetadata sets the Metadata field's value.
+func (s *GetTemplateSummaryOutput) SetMetadata(v string) *GetTemplateSummaryOutput {
+ s.Metadata = &v
+ return s
+}
+
+// SetParameters sets the Parameters field's value.
+func (s *GetTemplateSummaryOutput) SetParameters(v []*ParameterDeclaration) *GetTemplateSummaryOutput {
+ s.Parameters = v
+ return s
+}
+
+// SetResourceTypes sets the ResourceTypes field's value.
+func (s *GetTemplateSummaryOutput) SetResourceTypes(v []*string) *GetTemplateSummaryOutput {
+ s.ResourceTypes = v
+ return s
+}
+
+// SetVersion sets the Version field's value.
+func (s *GetTemplateSummaryOutput) SetVersion(v string) *GetTemplateSummaryOutput {
+ s.Version = &v
+ return s
+}
+
// The input for the ListChangeSets action.
type ListChangeSetsInput struct {
_ struct{} `type:"structure"`
@@ -3289,6 +4155,18 @@ func (s *ListChangeSetsInput) Validate() error {
return nil
}
+// SetNextToken sets the NextToken field's value.
+func (s *ListChangeSetsInput) SetNextToken(v string) *ListChangeSetsInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetStackName sets the StackName field's value.
+func (s *ListChangeSetsInput) SetStackName(v string) *ListChangeSetsInput {
+ s.StackName = &v
+ return s
+}
+
// The output for the ListChangeSets action.
type ListChangeSetsOutput struct {
_ struct{} `type:"structure"`
@@ -3312,6 +4190,88 @@ func (s ListChangeSetsOutput) GoString() string {
return s.String()
}
+// SetNextToken sets the NextToken field's value.
+func (s *ListChangeSetsOutput) SetNextToken(v string) *ListChangeSetsOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetSummaries sets the Summaries field's value.
+func (s *ListChangeSetsOutput) SetSummaries(v []*ChangeSetSummary) *ListChangeSetsOutput {
+ s.Summaries = v
+ return s
+}
+
+type ListExportsInput struct {
+ _ struct{} `type:"structure"`
+
+ // A string (provided by the ListExports response output) that identifies the
+ // next page of exported output values that you asked to retrieve.
+ NextToken *string `min:"1" type:"string"`
+}
+
+// String returns the string representation
+func (s ListExportsInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s ListExportsInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *ListExportsInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ListExportsInput"}
+ if s.NextToken != nil && len(*s.NextToken) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("NextToken", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListExportsInput) SetNextToken(v string) *ListExportsInput {
+ s.NextToken = &v
+ return s
+}
+
+type ListExportsOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The output for the ListExports action.
+ Exports []*Export `type:"list"`
+
+ // If the output exceeds 100 exported output values, a string that identifies
+ // the next page of exports. If there is no additional page, this value is null.
+ NextToken *string `min:"1" type:"string"`
+}
+
+// String returns the string representation
+func (s ListExportsOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s ListExportsOutput) GoString() string {
+ return s.String()
+}
+
+// SetExports sets the Exports field's value.
+func (s *ListExportsOutput) SetExports(v []*Export) *ListExportsOutput {
+ s.Exports = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListExportsOutput) SetNextToken(v string) *ListExportsOutput {
+ s.NextToken = &v
+ return s
+}
+
// The input for the ListStackResource action.
type ListStackResourcesInput struct {
_ struct{} `type:"structure"`
@@ -3360,6 +4320,18 @@ func (s *ListStackResourcesInput) Validate() error {
return nil
}
+// SetNextToken sets the NextToken field's value.
+func (s *ListStackResourcesInput) SetNextToken(v string) *ListStackResourcesInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetStackName sets the StackName field's value.
+func (s *ListStackResourcesInput) SetStackName(v string) *ListStackResourcesInput {
+ s.StackName = &v
+ return s
+}
+
// The output for a ListStackResources action.
type ListStackResourcesOutput struct {
_ struct{} `type:"structure"`
@@ -3382,6 +4354,18 @@ func (s ListStackResourcesOutput) GoString() string {
return s.String()
}
+// SetNextToken sets the NextToken field's value.
+func (s *ListStackResourcesOutput) SetNextToken(v string) *ListStackResourcesOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetStackResourceSummaries sets the StackResourceSummaries field's value.
+func (s *ListStackResourcesOutput) SetStackResourceSummaries(v []*StackResourceSummary) *ListStackResourcesOutput {
+ s.StackResourceSummaries = v
+ return s
+}
+
// The input for ListStacks action.
type ListStacksInput struct {
_ struct{} `type:"structure"`
@@ -3418,6 +4402,18 @@ func (s *ListStacksInput) Validate() error {
return nil
}
+// SetNextToken sets the NextToken field's value.
+func (s *ListStacksInput) SetNextToken(v string) *ListStacksInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetStackStatusFilter sets the StackStatusFilter field's value.
+func (s *ListStacksInput) SetStackStatusFilter(v []*string) *ListStacksInput {
+ s.StackStatusFilter = v
+ return s
+}
+
// The output for ListStacks action.
type ListStacksOutput struct {
_ struct{} `type:"structure"`
@@ -3441,6 +4437,18 @@ func (s ListStacksOutput) GoString() string {
return s.String()
}
+// SetNextToken sets the NextToken field's value.
+func (s *ListStacksOutput) SetNextToken(v string) *ListStacksOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetStackSummaries sets the StackSummaries field's value.
+func (s *ListStacksOutput) SetStackSummaries(v []*StackSummary) *ListStacksOutput {
+ s.StackSummaries = v
+ return s
+}
+
// The Output data type.
type Output struct {
_ struct{} `type:"structure"`
@@ -3465,6 +4473,24 @@ func (s Output) GoString() string {
return s.String()
}
+// SetDescription sets the Description field's value.
+func (s *Output) SetDescription(v string) *Output {
+ s.Description = &v
+ return s
+}
+
+// SetOutputKey sets the OutputKey field's value.
+func (s *Output) SetOutputKey(v string) *Output {
+ s.OutputKey = &v
+ return s
+}
+
+// SetOutputValue sets the OutputValue field's value.
+func (s *Output) SetOutputValue(v string) *Output {
+ s.OutputValue = &v
+ return s
+}
+
// The Parameter data type.
type Parameter struct {
_ struct{} `type:"structure"`
@@ -3493,6 +4519,24 @@ func (s Parameter) GoString() string {
return s.String()
}
+// SetParameterKey sets the ParameterKey field's value.
+func (s *Parameter) SetParameterKey(v string) *Parameter {
+ s.ParameterKey = &v
+ return s
+}
+
+// SetParameterValue sets the ParameterValue field's value.
+func (s *Parameter) SetParameterValue(v string) *Parameter {
+ s.ParameterValue = &v
+ return s
+}
+
+// SetUsePreviousValue sets the UsePreviousValue field's value.
+func (s *Parameter) SetUsePreviousValue(v bool) *Parameter {
+ s.UsePreviousValue = &v
+ return s
+}
+
// 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.
@@ -3513,6 +4557,12 @@ func (s ParameterConstraints) GoString() string {
return s.String()
}
+// SetAllowedValues sets the AllowedValues field's value.
+func (s *ParameterConstraints) SetAllowedValues(v []*string) *ParameterConstraints {
+ s.AllowedValues = v
+ return s
+}
+
// The ParameterDeclaration data type.
type ParameterDeclaration struct {
_ struct{} `type:"structure"`
@@ -3547,6 +4597,42 @@ func (s ParameterDeclaration) GoString() string {
return s.String()
}
+// SetDefaultValue sets the DefaultValue field's value.
+func (s *ParameterDeclaration) SetDefaultValue(v string) *ParameterDeclaration {
+ s.DefaultValue = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *ParameterDeclaration) SetDescription(v string) *ParameterDeclaration {
+ s.Description = &v
+ return s
+}
+
+// SetNoEcho sets the NoEcho field's value.
+func (s *ParameterDeclaration) SetNoEcho(v bool) *ParameterDeclaration {
+ s.NoEcho = &v
+ return s
+}
+
+// SetParameterConstraints sets the ParameterConstraints field's value.
+func (s *ParameterDeclaration) SetParameterConstraints(v *ParameterConstraints) *ParameterDeclaration {
+ s.ParameterConstraints = v
+ return s
+}
+
+// SetParameterKey sets the ParameterKey field's value.
+func (s *ParameterDeclaration) SetParameterKey(v string) *ParameterDeclaration {
+ s.ParameterKey = &v
+ return s
+}
+
+// SetParameterType sets the ParameterType field's value.
+func (s *ParameterDeclaration) SetParameterType(v string) *ParameterDeclaration {
+ s.ParameterType = &v
+ return s
+}
+
// The ResourceChange structure describes the resource and the action that AWS
// CloudFormation will perform on it if you execute this change set.
type ResourceChange struct {
@@ -3599,6 +4685,48 @@ func (s ResourceChange) GoString() string {
return s.String()
}
+// SetAction sets the Action field's value.
+func (s *ResourceChange) SetAction(v string) *ResourceChange {
+ s.Action = &v
+ return s
+}
+
+// SetDetails sets the Details field's value.
+func (s *ResourceChange) SetDetails(v []*ResourceChangeDetail) *ResourceChange {
+ s.Details = v
+ return s
+}
+
+// SetLogicalResourceId sets the LogicalResourceId field's value.
+func (s *ResourceChange) SetLogicalResourceId(v string) *ResourceChange {
+ s.LogicalResourceId = &v
+ return s
+}
+
+// SetPhysicalResourceId sets the PhysicalResourceId field's value.
+func (s *ResourceChange) SetPhysicalResourceId(v string) *ResourceChange {
+ s.PhysicalResourceId = &v
+ return s
+}
+
+// SetReplacement sets the Replacement field's value.
+func (s *ResourceChange) SetReplacement(v string) *ResourceChange {
+ s.Replacement = &v
+ return s
+}
+
+// SetResourceType sets the ResourceType field's value.
+func (s *ResourceChange) SetResourceType(v string) *ResourceChange {
+ s.ResourceType = &v
+ return s
+}
+
+// SetScope sets the Scope field's value.
+func (s *ResourceChange) SetScope(v []*string) *ResourceChange {
+ s.Scope = v
+ return s
+}
+
// For a resource with Modify as the action, the ResourceChange structure describes
// the changes AWS CloudFormation will make to that resource.
type ResourceChangeDetail struct {
@@ -3668,6 +4796,30 @@ func (s ResourceChangeDetail) GoString() string {
return s.String()
}
+// SetCausingEntity sets the CausingEntity field's value.
+func (s *ResourceChangeDetail) SetCausingEntity(v string) *ResourceChangeDetail {
+ s.CausingEntity = &v
+ return s
+}
+
+// SetChangeSource sets the ChangeSource field's value.
+func (s *ResourceChangeDetail) SetChangeSource(v string) *ResourceChangeDetail {
+ s.ChangeSource = &v
+ return s
+}
+
+// SetEvaluation sets the Evaluation field's value.
+func (s *ResourceChangeDetail) SetEvaluation(v string) *ResourceChangeDetail {
+ s.Evaluation = &v
+ return s
+}
+
+// SetTarget sets the Target field's value.
+func (s *ResourceChangeDetail) SetTarget(v *ResourceTargetDefinition) *ResourceChangeDetail {
+ s.Target = v
+ return s
+}
+
// The field that AWS CloudFormation will change, such as the name of a resource's
// property, and whether the resource will be recreated.
type ResourceTargetDefinition struct {
@@ -3699,6 +4851,24 @@ func (s ResourceTargetDefinition) GoString() string {
return s.String()
}
+// SetAttribute sets the Attribute field's value.
+func (s *ResourceTargetDefinition) SetAttribute(v string) *ResourceTargetDefinition {
+ s.Attribute = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *ResourceTargetDefinition) SetName(v string) *ResourceTargetDefinition {
+ s.Name = &v
+ return s
+}
+
+// SetRequiresRecreation sets the RequiresRecreation field's value.
+func (s *ResourceTargetDefinition) SetRequiresRecreation(v string) *ResourceTargetDefinition {
+ s.RequiresRecreation = &v
+ return s
+}
+
// The input for the SetStackPolicy action.
type SetStackPolicyInput struct {
_ struct{} `type:"structure"`
@@ -3750,6 +4920,24 @@ func (s *SetStackPolicyInput) Validate() error {
return nil
}
+// SetStackName sets the StackName field's value.
+func (s *SetStackPolicyInput) SetStackName(v string) *SetStackPolicyInput {
+ s.StackName = &v
+ return s
+}
+
+// SetStackPolicyBody sets the StackPolicyBody field's value.
+func (s *SetStackPolicyInput) SetStackPolicyBody(v string) *SetStackPolicyInput {
+ s.StackPolicyBody = &v
+ return s
+}
+
+// SetStackPolicyURL sets the StackPolicyURL field's value.
+func (s *SetStackPolicyInput) SetStackPolicyURL(v string) *SetStackPolicyInput {
+ s.StackPolicyURL = &v
+ return s
+}
+
type SetStackPolicyOutput struct {
_ struct{} `type:"structure"`
}
@@ -3833,6 +5021,30 @@ func (s *SignalResourceInput) Validate() error {
return nil
}
+// SetLogicalResourceId sets the LogicalResourceId field's value.
+func (s *SignalResourceInput) SetLogicalResourceId(v string) *SignalResourceInput {
+ s.LogicalResourceId = &v
+ return s
+}
+
+// SetStackName sets the StackName field's value.
+func (s *SignalResourceInput) SetStackName(v string) *SignalResourceInput {
+ s.StackName = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *SignalResourceInput) SetStatus(v string) *SignalResourceInput {
+ s.Status = &v
+ return s
+}
+
+// SetUniqueId sets the UniqueId field's value.
+func (s *SignalResourceInput) SetUniqueId(v string) *SignalResourceInput {
+ s.UniqueId = &v
+ return s
+}
+
type SignalResourceOutput struct {
_ struct{} `type:"structure"`
}
@@ -3854,6 +5066,9 @@ type Stack struct {
// The capabilities allowed in the stack.
Capabilities []*string `type:"list"`
+ // The unique ID of the change set.
+ ChangeSetId *string `min:"1" type:"string"`
+
// The time at which the stack was created.
//
// CreationTime is a required field
@@ -3920,6 +5135,102 @@ func (s Stack) GoString() string {
return s.String()
}
+// SetCapabilities sets the Capabilities field's value.
+func (s *Stack) SetCapabilities(v []*string) *Stack {
+ s.Capabilities = v
+ return s
+}
+
+// SetChangeSetId sets the ChangeSetId field's value.
+func (s *Stack) SetChangeSetId(v string) *Stack {
+ s.ChangeSetId = &v
+ return s
+}
+
+// SetCreationTime sets the CreationTime field's value.
+func (s *Stack) SetCreationTime(v time.Time) *Stack {
+ s.CreationTime = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *Stack) SetDescription(v string) *Stack {
+ s.Description = &v
+ return s
+}
+
+// SetDisableRollback sets the DisableRollback field's value.
+func (s *Stack) SetDisableRollback(v bool) *Stack {
+ s.DisableRollback = &v
+ return s
+}
+
+// SetLastUpdatedTime sets the LastUpdatedTime field's value.
+func (s *Stack) SetLastUpdatedTime(v time.Time) *Stack {
+ s.LastUpdatedTime = &v
+ return s
+}
+
+// SetNotificationARNs sets the NotificationARNs field's value.
+func (s *Stack) SetNotificationARNs(v []*string) *Stack {
+ s.NotificationARNs = v
+ return s
+}
+
+// SetOutputs sets the Outputs field's value.
+func (s *Stack) SetOutputs(v []*Output) *Stack {
+ s.Outputs = v
+ return s
+}
+
+// SetParameters sets the Parameters field's value.
+func (s *Stack) SetParameters(v []*Parameter) *Stack {
+ s.Parameters = v
+ return s
+}
+
+// SetRoleARN sets the RoleARN field's value.
+func (s *Stack) SetRoleARN(v string) *Stack {
+ s.RoleARN = &v
+ return s
+}
+
+// SetStackId sets the StackId field's value.
+func (s *Stack) SetStackId(v string) *Stack {
+ s.StackId = &v
+ return s
+}
+
+// SetStackName sets the StackName field's value.
+func (s *Stack) SetStackName(v string) *Stack {
+ s.StackName = &v
+ return s
+}
+
+// SetStackStatus sets the StackStatus field's value.
+func (s *Stack) SetStackStatus(v string) *Stack {
+ s.StackStatus = &v
+ return s
+}
+
+// SetStackStatusReason sets the StackStatusReason field's value.
+func (s *Stack) SetStackStatusReason(v string) *Stack {
+ s.StackStatusReason = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *Stack) SetTags(v []*Tag) *Stack {
+ s.Tags = v
+ return s
+}
+
+// SetTimeoutInMinutes sets the TimeoutInMinutes field's value.
+func (s *Stack) SetTimeoutInMinutes(v int64) *Stack {
+ s.TimeoutInMinutes = &v
+ return s
+}
+
// The StackEvent data type.
type StackEvent struct {
_ struct{} `type:"structure"`
@@ -3976,6 +5287,66 @@ func (s StackEvent) GoString() string {
return s.String()
}
+// SetEventId sets the EventId field's value.
+func (s *StackEvent) SetEventId(v string) *StackEvent {
+ s.EventId = &v
+ return s
+}
+
+// SetLogicalResourceId sets the LogicalResourceId field's value.
+func (s *StackEvent) SetLogicalResourceId(v string) *StackEvent {
+ s.LogicalResourceId = &v
+ return s
+}
+
+// SetPhysicalResourceId sets the PhysicalResourceId field's value.
+func (s *StackEvent) SetPhysicalResourceId(v string) *StackEvent {
+ s.PhysicalResourceId = &v
+ return s
+}
+
+// SetResourceProperties sets the ResourceProperties field's value.
+func (s *StackEvent) SetResourceProperties(v string) *StackEvent {
+ s.ResourceProperties = &v
+ return s
+}
+
+// SetResourceStatus sets the ResourceStatus field's value.
+func (s *StackEvent) SetResourceStatus(v string) *StackEvent {
+ s.ResourceStatus = &v
+ return s
+}
+
+// SetResourceStatusReason sets the ResourceStatusReason field's value.
+func (s *StackEvent) SetResourceStatusReason(v string) *StackEvent {
+ s.ResourceStatusReason = &v
+ return s
+}
+
+// SetResourceType sets the ResourceType field's value.
+func (s *StackEvent) SetResourceType(v string) *StackEvent {
+ s.ResourceType = &v
+ return s
+}
+
+// SetStackId sets the StackId field's value.
+func (s *StackEvent) SetStackId(v string) *StackEvent {
+ s.StackId = &v
+ return s
+}
+
+// SetStackName sets the StackName field's value.
+func (s *StackEvent) SetStackName(v string) *StackEvent {
+ s.StackName = &v
+ return s
+}
+
+// SetTimestamp sets the Timestamp field's value.
+func (s *StackEvent) SetTimestamp(v time.Time) *StackEvent {
+ s.Timestamp = &v
+ return s
+}
+
// The StackResource data type.
type StackResource struct {
_ struct{} `type:"structure"`
@@ -4029,6 +5400,60 @@ func (s StackResource) GoString() string {
return s.String()
}
+// SetDescription sets the Description field's value.
+func (s *StackResource) SetDescription(v string) *StackResource {
+ s.Description = &v
+ return s
+}
+
+// SetLogicalResourceId sets the LogicalResourceId field's value.
+func (s *StackResource) SetLogicalResourceId(v string) *StackResource {
+ s.LogicalResourceId = &v
+ return s
+}
+
+// SetPhysicalResourceId sets the PhysicalResourceId field's value.
+func (s *StackResource) SetPhysicalResourceId(v string) *StackResource {
+ s.PhysicalResourceId = &v
+ return s
+}
+
+// SetResourceStatus sets the ResourceStatus field's value.
+func (s *StackResource) SetResourceStatus(v string) *StackResource {
+ s.ResourceStatus = &v
+ return s
+}
+
+// SetResourceStatusReason sets the ResourceStatusReason field's value.
+func (s *StackResource) SetResourceStatusReason(v string) *StackResource {
+ s.ResourceStatusReason = &v
+ return s
+}
+
+// SetResourceType sets the ResourceType field's value.
+func (s *StackResource) SetResourceType(v string) *StackResource {
+ s.ResourceType = &v
+ return s
+}
+
+// SetStackId sets the StackId field's value.
+func (s *StackResource) SetStackId(v string) *StackResource {
+ s.StackId = &v
+ return s
+}
+
+// SetStackName sets the StackName field's value.
+func (s *StackResource) SetStackName(v string) *StackResource {
+ s.StackName = &v
+ return s
+}
+
+// SetTimestamp sets the Timestamp field's value.
+func (s *StackResource) SetTimestamp(v time.Time) *StackResource {
+ s.Timestamp = &v
+ return s
+}
+
// Contains detailed information about the specified stack resource.
type StackResourceDetail struct {
_ struct{} `type:"structure"`
@@ -4087,6 +5512,66 @@ func (s StackResourceDetail) GoString() string {
return s.String()
}
+// SetDescription sets the Description field's value.
+func (s *StackResourceDetail) SetDescription(v string) *StackResourceDetail {
+ s.Description = &v
+ return s
+}
+
+// SetLastUpdatedTimestamp sets the LastUpdatedTimestamp field's value.
+func (s *StackResourceDetail) SetLastUpdatedTimestamp(v time.Time) *StackResourceDetail {
+ s.LastUpdatedTimestamp = &v
+ return s
+}
+
+// SetLogicalResourceId sets the LogicalResourceId field's value.
+func (s *StackResourceDetail) SetLogicalResourceId(v string) *StackResourceDetail {
+ s.LogicalResourceId = &v
+ return s
+}
+
+// SetMetadata sets the Metadata field's value.
+func (s *StackResourceDetail) SetMetadata(v string) *StackResourceDetail {
+ s.Metadata = &v
+ return s
+}
+
+// SetPhysicalResourceId sets the PhysicalResourceId field's value.
+func (s *StackResourceDetail) SetPhysicalResourceId(v string) *StackResourceDetail {
+ s.PhysicalResourceId = &v
+ return s
+}
+
+// SetResourceStatus sets the ResourceStatus field's value.
+func (s *StackResourceDetail) SetResourceStatus(v string) *StackResourceDetail {
+ s.ResourceStatus = &v
+ return s
+}
+
+// SetResourceStatusReason sets the ResourceStatusReason field's value.
+func (s *StackResourceDetail) SetResourceStatusReason(v string) *StackResourceDetail {
+ s.ResourceStatusReason = &v
+ return s
+}
+
+// SetResourceType sets the ResourceType field's value.
+func (s *StackResourceDetail) SetResourceType(v string) *StackResourceDetail {
+ s.ResourceType = &v
+ return s
+}
+
+// SetStackId sets the StackId field's value.
+func (s *StackResourceDetail) SetStackId(v string) *StackResourceDetail {
+ s.StackId = &v
+ return s
+}
+
+// SetStackName sets the StackName field's value.
+func (s *StackResourceDetail) SetStackName(v string) *StackResourceDetail {
+ s.StackName = &v
+ return s
+}
+
// Contains high-level information about the specified stack resource.
type StackResourceSummary struct {
_ struct{} `type:"structure"`
@@ -4131,6 +5616,42 @@ func (s StackResourceSummary) GoString() string {
return s.String()
}
+// SetLastUpdatedTimestamp sets the LastUpdatedTimestamp field's value.
+func (s *StackResourceSummary) SetLastUpdatedTimestamp(v time.Time) *StackResourceSummary {
+ s.LastUpdatedTimestamp = &v
+ return s
+}
+
+// SetLogicalResourceId sets the LogicalResourceId field's value.
+func (s *StackResourceSummary) SetLogicalResourceId(v string) *StackResourceSummary {
+ s.LogicalResourceId = &v
+ return s
+}
+
+// SetPhysicalResourceId sets the PhysicalResourceId field's value.
+func (s *StackResourceSummary) SetPhysicalResourceId(v string) *StackResourceSummary {
+ s.PhysicalResourceId = &v
+ return s
+}
+
+// SetResourceStatus sets the ResourceStatus field's value.
+func (s *StackResourceSummary) SetResourceStatus(v string) *StackResourceSummary {
+ s.ResourceStatus = &v
+ return s
+}
+
+// SetResourceStatusReason sets the ResourceStatusReason field's value.
+func (s *StackResourceSummary) SetResourceStatusReason(v string) *StackResourceSummary {
+ s.ResourceStatusReason = &v
+ return s
+}
+
+// SetResourceType sets the ResourceType field's value.
+func (s *StackResourceSummary) SetResourceType(v string) *StackResourceSummary {
+ s.ResourceType = &v
+ return s
+}
+
// The StackSummary Data Type
type StackSummary struct {
_ struct{} `type:"structure"`
@@ -4177,6 +5698,54 @@ func (s StackSummary) GoString() string {
return s.String()
}
+// SetCreationTime sets the CreationTime field's value.
+func (s *StackSummary) SetCreationTime(v time.Time) *StackSummary {
+ s.CreationTime = &v
+ return s
+}
+
+// SetDeletionTime sets the DeletionTime field's value.
+func (s *StackSummary) SetDeletionTime(v time.Time) *StackSummary {
+ s.DeletionTime = &v
+ return s
+}
+
+// SetLastUpdatedTime sets the LastUpdatedTime field's value.
+func (s *StackSummary) SetLastUpdatedTime(v time.Time) *StackSummary {
+ s.LastUpdatedTime = &v
+ return s
+}
+
+// SetStackId sets the StackId field's value.
+func (s *StackSummary) SetStackId(v string) *StackSummary {
+ s.StackId = &v
+ return s
+}
+
+// SetStackName sets the StackName field's value.
+func (s *StackSummary) SetStackName(v string) *StackSummary {
+ s.StackName = &v
+ return s
+}
+
+// SetStackStatus sets the StackStatus field's value.
+func (s *StackSummary) SetStackStatus(v string) *StackSummary {
+ s.StackStatus = &v
+ return s
+}
+
+// SetStackStatusReason sets the StackStatusReason field's value.
+func (s *StackSummary) SetStackStatusReason(v string) *StackSummary {
+ s.StackStatusReason = &v
+ return s
+}
+
+// SetTemplateDescription sets the TemplateDescription field's value.
+func (s *StackSummary) SetTemplateDescription(v string) *StackSummary {
+ s.TemplateDescription = &v
+ return s
+}
+
// The Tag type enables you to specify a key-value pair that can be used to
// store information about an AWS CloudFormation stack.
type Tag struct {
@@ -4202,6 +5771,18 @@ 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
+}
+
// The TemplateParameter data type.
type TemplateParameter struct {
_ struct{} `type:"structure"`
@@ -4230,6 +5811,30 @@ func (s TemplateParameter) GoString() string {
return s.String()
}
+// SetDefaultValue sets the DefaultValue field's value.
+func (s *TemplateParameter) SetDefaultValue(v string) *TemplateParameter {
+ s.DefaultValue = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *TemplateParameter) SetDescription(v string) *TemplateParameter {
+ s.Description = &v
+ return s
+}
+
+// SetNoEcho sets the NoEcho field's value.
+func (s *TemplateParameter) SetNoEcho(v bool) *TemplateParameter {
+ s.NoEcho = &v
+ return s
+}
+
+// SetParameterKey sets the ParameterKey field's value.
+func (s *TemplateParameter) SetParameterKey(v string) *TemplateParameter {
+ s.ParameterKey = &v
+ return s
+}
+
// The input for an UpdateStack action.
type UpdateStackInput struct {
_ struct{} `type:"structure"`
@@ -4412,6 +6017,90 @@ func (s *UpdateStackInput) Validate() error {
return nil
}
+// SetCapabilities sets the Capabilities field's value.
+func (s *UpdateStackInput) SetCapabilities(v []*string) *UpdateStackInput {
+ s.Capabilities = v
+ return s
+}
+
+// SetNotificationARNs sets the NotificationARNs field's value.
+func (s *UpdateStackInput) SetNotificationARNs(v []*string) *UpdateStackInput {
+ s.NotificationARNs = v
+ return s
+}
+
+// SetParameters sets the Parameters field's value.
+func (s *UpdateStackInput) SetParameters(v []*Parameter) *UpdateStackInput {
+ s.Parameters = v
+ return s
+}
+
+// SetResourceTypes sets the ResourceTypes field's value.
+func (s *UpdateStackInput) SetResourceTypes(v []*string) *UpdateStackInput {
+ s.ResourceTypes = v
+ return s
+}
+
+// SetRoleARN sets the RoleARN field's value.
+func (s *UpdateStackInput) SetRoleARN(v string) *UpdateStackInput {
+ s.RoleARN = &v
+ return s
+}
+
+// SetStackName sets the StackName field's value.
+func (s *UpdateStackInput) SetStackName(v string) *UpdateStackInput {
+ s.StackName = &v
+ return s
+}
+
+// SetStackPolicyBody sets the StackPolicyBody field's value.
+func (s *UpdateStackInput) SetStackPolicyBody(v string) *UpdateStackInput {
+ s.StackPolicyBody = &v
+ return s
+}
+
+// SetStackPolicyDuringUpdateBody sets the StackPolicyDuringUpdateBody field's value.
+func (s *UpdateStackInput) SetStackPolicyDuringUpdateBody(v string) *UpdateStackInput {
+ s.StackPolicyDuringUpdateBody = &v
+ return s
+}
+
+// SetStackPolicyDuringUpdateURL sets the StackPolicyDuringUpdateURL field's value.
+func (s *UpdateStackInput) SetStackPolicyDuringUpdateURL(v string) *UpdateStackInput {
+ s.StackPolicyDuringUpdateURL = &v
+ return s
+}
+
+// SetStackPolicyURL sets the StackPolicyURL field's value.
+func (s *UpdateStackInput) SetStackPolicyURL(v string) *UpdateStackInput {
+ s.StackPolicyURL = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *UpdateStackInput) SetTags(v []*Tag) *UpdateStackInput {
+ s.Tags = v
+ return s
+}
+
+// SetTemplateBody sets the TemplateBody field's value.
+func (s *UpdateStackInput) SetTemplateBody(v string) *UpdateStackInput {
+ s.TemplateBody = &v
+ return s
+}
+
+// SetTemplateURL sets the TemplateURL field's value.
+func (s *UpdateStackInput) SetTemplateURL(v string) *UpdateStackInput {
+ s.TemplateURL = &v
+ return s
+}
+
+// SetUsePreviousTemplate sets the UsePreviousTemplate field's value.
+func (s *UpdateStackInput) SetUsePreviousTemplate(v bool) *UpdateStackInput {
+ s.UsePreviousTemplate = &v
+ return s
+}
+
// The output for an UpdateStack action.
type UpdateStackOutput struct {
_ struct{} `type:"structure"`
@@ -4430,6 +6119,12 @@ func (s UpdateStackOutput) GoString() string {
return s.String()
}
+// SetStackId sets the StackId field's value.
+func (s *UpdateStackOutput) SetStackId(v string) *UpdateStackOutput {
+ s.StackId = &v
+ return s
+}
+
// The input for ValidateTemplate action.
type ValidateTemplateInput struct {
_ struct{} `type:"structure"`
@@ -4479,6 +6174,18 @@ func (s *ValidateTemplateInput) Validate() error {
return nil
}
+// SetTemplateBody sets the TemplateBody field's value.
+func (s *ValidateTemplateInput) SetTemplateBody(v string) *ValidateTemplateInput {
+ s.TemplateBody = &v
+ return s
+}
+
+// SetTemplateURL sets the TemplateURL field's value.
+func (s *ValidateTemplateInput) SetTemplateURL(v string) *ValidateTemplateInput {
+ s.TemplateURL = &v
+ return s
+}
+
// The output for ValidateTemplate action.
type ValidateTemplateOutput struct {
_ struct{} `type:"structure"`
@@ -4497,6 +6204,9 @@ type ValidateTemplateOutput struct {
// element.
CapabilitiesReason *string `type:"string"`
+ // A list of the transforms that are declared in the template.
+ DeclaredTransforms []*string `type:"list"`
+
// The description found within the template.
Description *string `min:"1" type:"string"`
@@ -4514,6 +6224,36 @@ func (s ValidateTemplateOutput) GoString() string {
return s.String()
}
+// SetCapabilities sets the Capabilities field's value.
+func (s *ValidateTemplateOutput) SetCapabilities(v []*string) *ValidateTemplateOutput {
+ s.Capabilities = v
+ return s
+}
+
+// SetCapabilitiesReason sets the CapabilitiesReason field's value.
+func (s *ValidateTemplateOutput) SetCapabilitiesReason(v string) *ValidateTemplateOutput {
+ s.CapabilitiesReason = &v
+ return s
+}
+
+// SetDeclaredTransforms sets the DeclaredTransforms field's value.
+func (s *ValidateTemplateOutput) SetDeclaredTransforms(v []*string) *ValidateTemplateOutput {
+ s.DeclaredTransforms = v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *ValidateTemplateOutput) SetDescription(v string) *ValidateTemplateOutput {
+ s.Description = &v
+ return s
+}
+
+// SetParameters sets the Parameters field's value.
+func (s *ValidateTemplateOutput) SetParameters(v []*TemplateParameter) *ValidateTemplateOutput {
+ s.Parameters = v
+ return s
+}
+
const (
// CapabilityCapabilityIam is a Capability enum value
CapabilityCapabilityIam = "CAPABILITY_IAM"
@@ -4550,6 +6290,14 @@ const (
ChangeSetStatusFailed = "FAILED"
)
+const (
+ // ChangeSetTypeCreate is a ChangeSetType enum value
+ ChangeSetTypeCreate = "CREATE"
+
+ // ChangeSetTypeUpdate is a ChangeSetType enum value
+ ChangeSetTypeUpdate = "UPDATE"
+)
+
const (
// ChangeSourceResourceReference is a ChangeSource enum value
ChangeSourceResourceReference = "ResourceReference"
@@ -4741,4 +6489,15 @@ const (
// StackStatusUpdateRollbackComplete is a StackStatus enum value
StackStatusUpdateRollbackComplete = "UPDATE_ROLLBACK_COMPLETE"
+
+ // StackStatusReviewInProgress is a StackStatus enum value
+ StackStatusReviewInProgress = "REVIEW_IN_PROGRESS"
+)
+
+const (
+ // TemplateStageOriginal is a TemplateStage enum value
+ TemplateStageOriginal = "Original"
+
+ // TemplateStageProcessed is a TemplateStage enum value
+ TemplateStageProcessed = "Processed"
)
diff --git a/vendor/github.com/aws/aws-sdk-go/service/cloudformation/cloudformationiface/interface.go b/vendor/github.com/aws/aws-sdk-go/service/cloudformation/cloudformationiface/interface.go
index 5efc4fb..b5ba1a7 100644
--- a/vendor/github.com/aws/aws-sdk-go/service/cloudformation/cloudformationiface/interface.go
+++ b/vendor/github.com/aws/aws-sdk-go/service/cloudformation/cloudformationiface/interface.go
@@ -135,6 +135,10 @@ type CloudFormationAPI interface {
ListChangeSets(*cloudformation.ListChangeSetsInput) (*cloudformation.ListChangeSetsOutput, error)
+ ListExportsRequest(*cloudformation.ListExportsInput) (*request.Request, *cloudformation.ListExportsOutput)
+
+ ListExports(*cloudformation.ListExportsInput) (*cloudformation.ListExportsOutput, error)
+
ListStackResourcesRequest(*cloudformation.ListStackResourcesInput) (*request.Request, *cloudformation.ListStackResourcesOutput)
ListStackResources(*cloudformation.ListStackResourcesInput) (*cloudformation.ListStackResourcesOutput, error)
diff --git a/vendor/github.com/aws/aws-sdk-go/service/cloudformation/examples_test.go b/vendor/github.com/aws/aws-sdk-go/service/cloudformation/examples_test.go
index 90ffd11..820fbfb 100644
--- a/vendor/github.com/aws/aws-sdk-go/service/cloudformation/examples_test.go
+++ b/vendor/github.com/aws/aws-sdk-go/service/cloudformation/examples_test.go
@@ -51,7 +51,11 @@ func ExampleCloudFormation_ContinueUpdateRollback() {
params := &cloudformation.ContinueUpdateRollbackInput{
StackName: aws.String("StackNameOrId"), // Required
- RoleARN: aws.String("RoleARN"),
+ ResourcesToSkip: []*string{
+ aws.String("ResourceToSkip"), // Required
+ // More values...
+ },
+ RoleARN: aws.String("RoleARN"),
}
resp, err := svc.ContinueUpdateRollback(params)
@@ -82,8 +86,9 @@ func ExampleCloudFormation_CreateChangeSet() {
aws.String("Capability"), // Required
// More values...
},
- ClientToken: aws.String("ClientToken"),
- Description: aws.String("Description"),
+ ChangeSetType: aws.String("ChangeSetType"),
+ ClientToken: aws.String("ClientToken"),
+ Description: aws.String("Description"),
NotificationARNs: []*string{
aws.String("NotificationARN"), // Required
// More values...
@@ -493,7 +498,9 @@ func ExampleCloudFormation_GetTemplate() {
svc := cloudformation.New(sess)
params := &cloudformation.GetTemplateInput{
- StackName: aws.String("StackName"), // Required
+ ChangeSetName: aws.String("ChangeSetNameOrId"),
+ StackName: aws.String("StackName"),
+ TemplateStage: aws.String("TemplateStage"),
}
resp, err := svc.GetTemplate(params)
@@ -561,6 +568,31 @@ func ExampleCloudFormation_ListChangeSets() {
fmt.Println(resp)
}
+func ExampleCloudFormation_ListExports() {
+ sess, err := session.NewSession()
+ if err != nil {
+ fmt.Println("failed to create session,", err)
+ return
+ }
+
+ svc := cloudformation.New(sess)
+
+ params := &cloudformation.ListExportsInput{
+ NextToken: aws.String("NextToken"),
+ }
+ resp, err := svc.ListExports(params)
+
+ if err != nil {
+ // Print the error, cast err to awserr.Error to get the Code and
+ // Message from an error.
+ fmt.Println(err.Error())
+ return
+ }
+
+ // Pretty-print the response data.
+ fmt.Println(resp)
+}
+
func ExampleCloudFormation_ListStackResources() {
sess, err := session.NewSession()
if err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go/service/cloudformation/service.go b/vendor/github.com/aws/aws-sdk-go/service/cloudformation/service.go
index bd9d291..0ba97a2 100644
--- a/vendor/github.com/aws/aws-sdk-go/service/cloudformation/service.go
+++ b/vendor/github.com/aws/aws-sdk-go/service/cloudformation/service.go
@@ -11,11 +11,12 @@ import (
"github.com/aws/aws-sdk-go/private/protocol/query"
)
-// AWS CloudFormation enables you to create and manage AWS infrastructure deployments
-// predictably and repeatedly. AWS CloudFormation helps you leverage AWS products
-// such as Amazon EC2, EBS, Amazon SNS, ELB, and Auto Scaling to build highly-reliable,
-// highly scalable, cost effective applications without worrying about creating
-// and configuring the underlying AWS infrastructure.
+// AWS CloudFormation allows you to create and manage AWS infrastructure deployments
+// predictably and repeatedly. You can use AWS CloudFormation to leverage AWS
+// products, such as Amazon Elastic Compute Cloud, Amazon Elastic Block Store,
+// Amazon Simple Notification Service, Elastic Load Balancing, and Auto Scaling
+// to build highly-reliable, highly scalable, cost-effective applications without
+// creating or configuring the underlying AWS infrastructure.
//
// With AWS CloudFormation, you declare all of your resources and dependencies
// in a template file. The template defines a collection of resources as a single
@@ -23,12 +24,12 @@ import (
// of the stack together and manages all dependencies between the resources
// for you.
//
-// For more information about this product, go to the CloudFormation Product
-// Page (http://aws.amazon.com/cloudformation/).
+// For more information about AWS CloudFormation, see the AWS CloudFormation
+// Product Page (http://aws.amazon.com/cloudformation/).
//
// Amazon CloudFormation makes use of other AWS products. If you need additional
// technical information about a specific AWS product, you can find the product's
-// technical documentation at http://docs.aws.amazon.com/ (http://docs.aws.amazon.com/).
+// technical documentation at http://docs.aws.amazon.com/ (http://docs.aws.amazon.com/http:/docs.aws.amazon.com/).
//The service client's operations are safe to be used concurrently.
// It is not safe to mutate any of the client's properties though.
type CloudFormation struct {
diff --git a/vendor/github.com/aws/aws-sdk-go/service/cloudformation/waiters.go b/vendor/github.com/aws/aws-sdk-go/service/cloudformation/waiters.go
index 62744e3..5960e94 100644
--- a/vendor/github.com/aws/aws-sdk-go/service/cloudformation/waiters.go
+++ b/vendor/github.com/aws/aws-sdk-go/service/cloudformation/waiters.go
@@ -34,24 +34,12 @@ func (c *CloudFormation) WaitUntilStackCreateComplete(input *DescribeStacksInput
Argument: "Stacks[].StackStatus",
Expected: "DELETE_COMPLETE",
},
- {
- State: "failure",
- Matcher: "pathAny",
- Argument: "Stacks[].StackStatus",
- Expected: "DELETE_IN_PROGRESS",
- },
{
State: "failure",
Matcher: "pathAny",
Argument: "Stacks[].StackStatus",
Expected: "DELETE_FAILED",
},
- {
- State: "failure",
- Matcher: "pathAny",
- Argument: "Stacks[].StackStatus",
- Expected: "ROLLBACK_COMPLETE",
- },
{
State: "failure",
Matcher: "pathAny",
@@ -62,7 +50,7 @@ func (c *CloudFormation) WaitUntilStackCreateComplete(input *DescribeStacksInput
State: "failure",
Matcher: "pathAny",
Argument: "Stacks[].StackStatus",
- Expected: "ROLLBACK_IN_PROGRESS",
+ Expected: "ROLLBACK_COMPLETE",
},
{
State: "failure",
@@ -109,72 +97,18 @@ func (c *CloudFormation) WaitUntilStackDeleteComplete(input *DescribeStacksInput
Argument: "Stacks[].StackStatus",
Expected: "DELETE_FAILED",
},
- {
- State: "failure",
- Matcher: "pathAny",
- Argument: "Stacks[].StackStatus",
- Expected: "CREATE_COMPLETE",
- },
{
State: "failure",
Matcher: "pathAny",
Argument: "Stacks[].StackStatus",
Expected: "CREATE_FAILED",
},
- {
- State: "failure",
- Matcher: "pathAny",
- Argument: "Stacks[].StackStatus",
- Expected: "CREATE_IN_PROGRESS",
- },
- {
- State: "failure",
- Matcher: "pathAny",
- Argument: "Stacks[].StackStatus",
- Expected: "ROLLBACK_COMPLETE",
- },
{
State: "failure",
Matcher: "pathAny",
Argument: "Stacks[].StackStatus",
Expected: "ROLLBACK_FAILED",
},
- {
- State: "failure",
- Matcher: "pathAny",
- Argument: "Stacks[].StackStatus",
- Expected: "ROLLBACK_IN_PROGRESS",
- },
- {
- State: "failure",
- Matcher: "pathAny",
- Argument: "Stacks[].StackStatus",
- Expected: "UPDATE_COMPLETE",
- },
- {
- State: "failure",
- Matcher: "pathAny",
- Argument: "Stacks[].StackStatus",
- Expected: "UPDATE_COMPLETE_CLEANUP_IN_PROGRESS",
- },
- {
- State: "failure",
- Matcher: "pathAny",
- Argument: "Stacks[].StackStatus",
- Expected: "UPDATE_IN_PROGRESS",
- },
- {
- State: "failure",
- Matcher: "pathAny",
- Argument: "Stacks[].StackStatus",
- Expected: "UPDATE_ROLLBACK_COMPLETE",
- },
- {
- State: "failure",
- Matcher: "pathAny",
- Argument: "Stacks[].StackStatus",
- Expected: "UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS",
- },
{
State: "failure",
Matcher: "pathAny",
@@ -253,12 +187,6 @@ func (c *CloudFormation) WaitUntilStackUpdateComplete(input *DescribeStacksInput
Argument: "Stacks[].StackStatus",
Expected: "UPDATE_FAILED",
},
- {
- State: "failure",
- Matcher: "pathAny",
- Argument: "Stacks[].StackStatus",
- Expected: "UPDATE_ROLLBACK_COMPLETE",
- },
{
State: "failure",
Matcher: "pathAny",
@@ -269,13 +197,7 @@ func (c *CloudFormation) WaitUntilStackUpdateComplete(input *DescribeStacksInput
State: "failure",
Matcher: "pathAny",
Argument: "Stacks[].StackStatus",
- Expected: "UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS",
- },
- {
- State: "failure",
- Matcher: "pathAny",
- Argument: "Stacks[].StackStatus",
- Expected: "UPDATE_ROLLBACK_IN_PROGRESS",
+ Expected: "UPDATE_ROLLBACK_COMPLETE",
},
{
State: "failure",
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 f0957c4..e6090b4 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
@@ -2607,6 +2607,24 @@ func (s ActiveTrustedSigners) GoString() string {
return s.String()
}
+// SetEnabled sets the Enabled field's value.
+func (s *ActiveTrustedSigners) SetEnabled(v bool) *ActiveTrustedSigners {
+ s.Enabled = &v
+ return s
+}
+
+// SetItems sets the Items field's value.
+func (s *ActiveTrustedSigners) SetItems(v []*Signer) *ActiveTrustedSigners {
+ s.Items = v
+ return s
+}
+
+// SetQuantity sets the Quantity field's value.
+func (s *ActiveTrustedSigners) SetQuantity(v int64) *ActiveTrustedSigners {
+ s.Quantity = &v
+ return s
+}
+
// A complex type that contains information about CNAMEs (alternate domain names),
// if any, for this distribution.
type Aliases struct {
@@ -2646,6 +2664,18 @@ func (s *Aliases) Validate() error {
return nil
}
+// SetItems sets the Items field's value.
+func (s *Aliases) SetItems(v []*string) *Aliases {
+ s.Items = v
+ return s
+}
+
+// SetQuantity sets the Quantity field's value.
+func (s *Aliases) SetQuantity(v int64) *Aliases {
+ s.Quantity = &v
+ return s
+}
+
// A complex type that controls which HTTP methods CloudFront processes and
// forwards to your Amazon S3 bucket or your custom origin. There are three
// choices:
@@ -2721,6 +2751,24 @@ func (s *AllowedMethods) Validate() error {
return nil
}
+// SetCachedMethods sets the CachedMethods field's value.
+func (s *AllowedMethods) SetCachedMethods(v *CachedMethods) *AllowedMethods {
+ s.CachedMethods = v
+ return s
+}
+
+// SetItems sets the Items field's value.
+func (s *AllowedMethods) SetItems(v []*string) *AllowedMethods {
+ s.Items = v
+ return s
+}
+
+// SetQuantity sets the Quantity field's value.
+func (s *AllowedMethods) SetQuantity(v int64) *AllowedMethods {
+ s.Quantity = &v
+ return s
+}
+
// A complex type that describes how CloudFront processes requests.
//
// You must create at least as many cache behaviors (including the default cache
@@ -2946,6 +2994,72 @@ func (s *CacheBehavior) Validate() error {
return nil
}
+// SetAllowedMethods sets the AllowedMethods field's value.
+func (s *CacheBehavior) SetAllowedMethods(v *AllowedMethods) *CacheBehavior {
+ s.AllowedMethods = v
+ return s
+}
+
+// SetCompress sets the Compress field's value.
+func (s *CacheBehavior) SetCompress(v bool) *CacheBehavior {
+ s.Compress = &v
+ return s
+}
+
+// SetDefaultTTL sets the DefaultTTL field's value.
+func (s *CacheBehavior) SetDefaultTTL(v int64) *CacheBehavior {
+ s.DefaultTTL = &v
+ return s
+}
+
+// SetForwardedValues sets the ForwardedValues field's value.
+func (s *CacheBehavior) SetForwardedValues(v *ForwardedValues) *CacheBehavior {
+ s.ForwardedValues = v
+ return s
+}
+
+// SetMaxTTL sets the MaxTTL field's value.
+func (s *CacheBehavior) SetMaxTTL(v int64) *CacheBehavior {
+ s.MaxTTL = &v
+ return s
+}
+
+// SetMinTTL sets the MinTTL field's value.
+func (s *CacheBehavior) SetMinTTL(v int64) *CacheBehavior {
+ s.MinTTL = &v
+ return s
+}
+
+// SetPathPattern sets the PathPattern field's value.
+func (s *CacheBehavior) SetPathPattern(v string) *CacheBehavior {
+ s.PathPattern = &v
+ return s
+}
+
+// SetSmoothStreaming sets the SmoothStreaming field's value.
+func (s *CacheBehavior) SetSmoothStreaming(v bool) *CacheBehavior {
+ s.SmoothStreaming = &v
+ return s
+}
+
+// SetTargetOriginId sets the TargetOriginId field's value.
+func (s *CacheBehavior) SetTargetOriginId(v string) *CacheBehavior {
+ s.TargetOriginId = &v
+ return s
+}
+
+// SetTrustedSigners sets the TrustedSigners field's value.
+func (s *CacheBehavior) SetTrustedSigners(v *TrustedSigners) *CacheBehavior {
+ s.TrustedSigners = v
+ return s
+}
+
+// SetViewerProtocolPolicy sets the ViewerProtocolPolicy field's value.
+func (s *CacheBehavior) SetViewerProtocolPolicy(v string) *CacheBehavior {
+ s.ViewerProtocolPolicy = &v
+ return s
+}
+
// A complex type that contains zero or more CacheBehavior elements.
type CacheBehaviors struct {
_ struct{} `type:"structure"`
@@ -2993,6 +3107,18 @@ func (s *CacheBehaviors) Validate() error {
return nil
}
+// SetItems sets the Items field's value.
+func (s *CacheBehaviors) SetItems(v []*CacheBehavior) *CacheBehaviors {
+ s.Items = v
+ return s
+}
+
+// SetQuantity sets the Quantity field's value.
+func (s *CacheBehaviors) SetQuantity(v int64) *CacheBehaviors {
+ s.Quantity = &v
+ return s
+}
+
// A complex type that controls whether CloudFront caches the response to requests
// using the specified HTTP methods. There are two choices:
//
@@ -3046,6 +3172,18 @@ func (s *CachedMethods) Validate() error {
return nil
}
+// SetItems sets the Items field's value.
+func (s *CachedMethods) SetItems(v []*string) *CachedMethods {
+ s.Items = v
+ return s
+}
+
+// SetQuantity sets the Quantity field's value.
+func (s *CachedMethods) SetQuantity(v int64) *CachedMethods {
+ s.Quantity = &v
+ return s
+}
+
// A complex type that specifies whether you want CloudFront to forward cookies
// to the origin and, if so, which ones. For more information about forwarding
// cookies to the origin, see How CloudFront Forwards, Caches, and Logs Cookies
@@ -3088,6 +3226,18 @@ func (s *CookieNames) Validate() error {
return nil
}
+// SetItems sets the Items field's value.
+func (s *CookieNames) SetItems(v []*string) *CookieNames {
+ s.Items = v
+ return s
+}
+
+// SetQuantity sets the Quantity field's value.
+func (s *CookieNames) SetQuantity(v int64) *CookieNames {
+ s.Quantity = &v
+ return s
+}
+
// A complex type that specifies whether you want CloudFront to forward cookies
// to the origin and, if so, which ones. For more information about forwarding
// cookies to the origin, see How CloudFront Forwards, Caches, and Logs Cookies
@@ -3150,6 +3300,18 @@ func (s *CookiePreference) Validate() error {
return nil
}
+// SetForward sets the Forward field's value.
+func (s *CookiePreference) SetForward(v string) *CookiePreference {
+ s.Forward = &v
+ return s
+}
+
+// SetWhitelistedNames sets the WhitelistedNames field's value.
+func (s *CookiePreference) SetWhitelistedNames(v *CookieNames) *CookiePreference {
+ s.WhitelistedNames = v
+ return s
+}
+
// The request to create a new origin access identity.
type CreateCloudFrontOriginAccessIdentityInput struct {
_ struct{} `type:"structure" payload:"CloudFrontOriginAccessIdentityConfig"`
@@ -3188,6 +3350,12 @@ func (s *CreateCloudFrontOriginAccessIdentityInput) Validate() error {
return nil
}
+// SetCloudFrontOriginAccessIdentityConfig sets the CloudFrontOriginAccessIdentityConfig field's value.
+func (s *CreateCloudFrontOriginAccessIdentityInput) SetCloudFrontOriginAccessIdentityConfig(v *OriginAccessIdentityConfig) *CreateCloudFrontOriginAccessIdentityInput {
+ s.CloudFrontOriginAccessIdentityConfig = v
+ return s
+}
+
// The returned result of the corresponding request.
type CreateCloudFrontOriginAccessIdentityOutput struct {
_ struct{} `type:"structure" payload:"CloudFrontOriginAccessIdentity"`
@@ -3213,6 +3381,24 @@ func (s CreateCloudFrontOriginAccessIdentityOutput) GoString() string {
return s.String()
}
+// SetCloudFrontOriginAccessIdentity sets the CloudFrontOriginAccessIdentity field's value.
+func (s *CreateCloudFrontOriginAccessIdentityOutput) SetCloudFrontOriginAccessIdentity(v *OriginAccessIdentity) *CreateCloudFrontOriginAccessIdentityOutput {
+ s.CloudFrontOriginAccessIdentity = v
+ return s
+}
+
+// SetETag sets the ETag field's value.
+func (s *CreateCloudFrontOriginAccessIdentityOutput) SetETag(v string) *CreateCloudFrontOriginAccessIdentityOutput {
+ s.ETag = &v
+ return s
+}
+
+// SetLocation sets the Location field's value.
+func (s *CreateCloudFrontOriginAccessIdentityOutput) SetLocation(v string) *CreateCloudFrontOriginAccessIdentityOutput {
+ s.Location = &v
+ return s
+}
+
// The request to create a new distribution.
type CreateDistributionInput struct {
_ struct{} `type:"structure" payload:"DistributionConfig"`
@@ -3251,6 +3437,12 @@ func (s *CreateDistributionInput) Validate() error {
return nil
}
+// SetDistributionConfig sets the DistributionConfig field's value.
+func (s *CreateDistributionInput) SetDistributionConfig(v *DistributionConfig) *CreateDistributionInput {
+ s.DistributionConfig = v
+ return s
+}
+
// The returned result of the corresponding request.
type CreateDistributionOutput struct {
_ struct{} `type:"structure" payload:"Distribution"`
@@ -3276,6 +3468,24 @@ func (s CreateDistributionOutput) GoString() string {
return s.String()
}
+// SetDistribution sets the Distribution field's value.
+func (s *CreateDistributionOutput) SetDistribution(v *Distribution) *CreateDistributionOutput {
+ s.Distribution = v
+ return s
+}
+
+// SetETag sets the ETag field's value.
+func (s *CreateDistributionOutput) SetETag(v string) *CreateDistributionOutput {
+ s.ETag = &v
+ return s
+}
+
+// SetLocation sets the Location field's value.
+func (s *CreateDistributionOutput) SetLocation(v string) *CreateDistributionOutput {
+ s.Location = &v
+ return s
+}
+
// The request to create a new distribution with tags.
type CreateDistributionWithTagsInput struct {
_ struct{} `type:"structure" payload:"DistributionConfigWithTags"`
@@ -3314,6 +3524,12 @@ func (s *CreateDistributionWithTagsInput) Validate() error {
return nil
}
+// SetDistributionConfigWithTags sets the DistributionConfigWithTags field's value.
+func (s *CreateDistributionWithTagsInput) SetDistributionConfigWithTags(v *DistributionConfigWithTags) *CreateDistributionWithTagsInput {
+ s.DistributionConfigWithTags = v
+ return s
+}
+
// The returned result of the corresponding request.
type CreateDistributionWithTagsOutput struct {
_ struct{} `type:"structure" payload:"Distribution"`
@@ -3339,6 +3555,24 @@ func (s CreateDistributionWithTagsOutput) GoString() string {
return s.String()
}
+// SetDistribution sets the Distribution field's value.
+func (s *CreateDistributionWithTagsOutput) SetDistribution(v *Distribution) *CreateDistributionWithTagsOutput {
+ s.Distribution = v
+ return s
+}
+
+// SetETag sets the ETag field's value.
+func (s *CreateDistributionWithTagsOutput) SetETag(v string) *CreateDistributionWithTagsOutput {
+ s.ETag = &v
+ return s
+}
+
+// SetLocation sets the Location field's value.
+func (s *CreateDistributionWithTagsOutput) SetLocation(v string) *CreateDistributionWithTagsOutput {
+ s.Location = &v
+ return s
+}
+
// The request to create an invalidation.
type CreateInvalidationInput struct {
_ struct{} `type:"structure" payload:"InvalidationBatch"`
@@ -3385,6 +3619,18 @@ func (s *CreateInvalidationInput) Validate() error {
return nil
}
+// SetDistributionId sets the DistributionId field's value.
+func (s *CreateInvalidationInput) SetDistributionId(v string) *CreateInvalidationInput {
+ s.DistributionId = &v
+ return s
+}
+
+// SetInvalidationBatch sets the InvalidationBatch field's value.
+func (s *CreateInvalidationInput) SetInvalidationBatch(v *InvalidationBatch) *CreateInvalidationInput {
+ s.InvalidationBatch = v
+ return s
+}
+
// The returned result of the corresponding request.
type CreateInvalidationOutput struct {
_ struct{} `type:"structure" payload:"Invalidation"`
@@ -3407,6 +3653,18 @@ func (s CreateInvalidationOutput) GoString() string {
return s.String()
}
+// SetInvalidation sets the Invalidation field's value.
+func (s *CreateInvalidationOutput) SetInvalidation(v *Invalidation) *CreateInvalidationOutput {
+ s.Invalidation = v
+ return s
+}
+
+// SetLocation sets the Location field's value.
+func (s *CreateInvalidationOutput) SetLocation(v string) *CreateInvalidationOutput {
+ s.Location = &v
+ return s
+}
+
// The request to create a new streaming distribution.
type CreateStreamingDistributionInput struct {
_ struct{} `type:"structure" payload:"StreamingDistributionConfig"`
@@ -3445,6 +3703,12 @@ func (s *CreateStreamingDistributionInput) Validate() error {
return nil
}
+// SetStreamingDistributionConfig sets the StreamingDistributionConfig field's value.
+func (s *CreateStreamingDistributionInput) SetStreamingDistributionConfig(v *StreamingDistributionConfig) *CreateStreamingDistributionInput {
+ s.StreamingDistributionConfig = v
+ return s
+}
+
// The returned result of the corresponding request.
type CreateStreamingDistributionOutput struct {
_ struct{} `type:"structure" payload:"StreamingDistribution"`
@@ -3470,6 +3734,24 @@ func (s CreateStreamingDistributionOutput) GoString() string {
return s.String()
}
+// SetETag sets the ETag field's value.
+func (s *CreateStreamingDistributionOutput) SetETag(v string) *CreateStreamingDistributionOutput {
+ s.ETag = &v
+ return s
+}
+
+// SetLocation sets the Location field's value.
+func (s *CreateStreamingDistributionOutput) SetLocation(v string) *CreateStreamingDistributionOutput {
+ s.Location = &v
+ return s
+}
+
+// SetStreamingDistribution sets the StreamingDistribution field's value.
+func (s *CreateStreamingDistributionOutput) SetStreamingDistribution(v *StreamingDistribution) *CreateStreamingDistributionOutput {
+ s.StreamingDistribution = v
+ return s
+}
+
// The request to create a new streaming distribution with tags.
type CreateStreamingDistributionWithTagsInput struct {
_ struct{} `type:"structure" payload:"StreamingDistributionConfigWithTags"`
@@ -3508,6 +3790,12 @@ func (s *CreateStreamingDistributionWithTagsInput) Validate() error {
return nil
}
+// SetStreamingDistributionConfigWithTags sets the StreamingDistributionConfigWithTags field's value.
+func (s *CreateStreamingDistributionWithTagsInput) SetStreamingDistributionConfigWithTags(v *StreamingDistributionConfigWithTags) *CreateStreamingDistributionWithTagsInput {
+ s.StreamingDistributionConfigWithTags = v
+ return s
+}
+
// The returned result of the corresponding request.
type CreateStreamingDistributionWithTagsOutput struct {
_ struct{} `type:"structure" payload:"StreamingDistribution"`
@@ -3532,6 +3820,24 @@ func (s CreateStreamingDistributionWithTagsOutput) GoString() string {
return s.String()
}
+// SetETag sets the ETag field's value.
+func (s *CreateStreamingDistributionWithTagsOutput) SetETag(v string) *CreateStreamingDistributionWithTagsOutput {
+ s.ETag = &v
+ return s
+}
+
+// SetLocation sets the Location field's value.
+func (s *CreateStreamingDistributionWithTagsOutput) SetLocation(v string) *CreateStreamingDistributionWithTagsOutput {
+ s.Location = &v
+ return s
+}
+
+// SetStreamingDistribution sets the StreamingDistribution field's value.
+func (s *CreateStreamingDistributionWithTagsOutput) SetStreamingDistribution(v *StreamingDistribution) *CreateStreamingDistributionWithTagsOutput {
+ s.StreamingDistribution = v
+ return s
+}
+
// A complex type that controls:
//
// * Whether CloudFront replaces HTTP status codes in the 4xx and 5xx range
@@ -3636,6 +3942,30 @@ func (s *CustomErrorResponse) Validate() error {
return nil
}
+// SetErrorCachingMinTTL sets the ErrorCachingMinTTL field's value.
+func (s *CustomErrorResponse) SetErrorCachingMinTTL(v int64) *CustomErrorResponse {
+ s.ErrorCachingMinTTL = &v
+ return s
+}
+
+// SetErrorCode sets the ErrorCode field's value.
+func (s *CustomErrorResponse) SetErrorCode(v int64) *CustomErrorResponse {
+ s.ErrorCode = &v
+ return s
+}
+
+// SetResponseCode sets the ResponseCode field's value.
+func (s *CustomErrorResponse) SetResponseCode(v string) *CustomErrorResponse {
+ s.ResponseCode = &v
+ return s
+}
+
+// SetResponsePagePath sets the ResponsePagePath field's value.
+func (s *CustomErrorResponse) SetResponsePagePath(v string) *CustomErrorResponse {
+ s.ResponsePagePath = &v
+ return s
+}
+
// A complex type that controls:
//
// * Whether CloudFront replaces HTTP status codes in the 4xx and 5xx range
@@ -3694,6 +4024,18 @@ func (s *CustomErrorResponses) Validate() error {
return nil
}
+// SetItems sets the Items field's value.
+func (s *CustomErrorResponses) SetItems(v []*CustomErrorResponse) *CustomErrorResponses {
+ s.Items = v
+ return s
+}
+
+// SetQuantity sets the Quantity field's value.
+func (s *CustomErrorResponses) SetQuantity(v int64) *CustomErrorResponses {
+ s.Quantity = &v
+ return s
+}
+
// A complex type that contains the list of Custom Headers for each origin.
type CustomHeaders struct {
_ struct{} `type:"structure"`
@@ -3742,6 +4084,18 @@ func (s *CustomHeaders) Validate() error {
return nil
}
+// SetItems sets the Items field's value.
+func (s *CustomHeaders) SetItems(v []*OriginCustomHeader) *CustomHeaders {
+ s.Items = v
+ return s
+}
+
+// SetQuantity sets the Quantity field's value.
+func (s *CustomHeaders) SetQuantity(v int64) *CustomHeaders {
+ s.Quantity = &v
+ return s
+}
+
// A customer origin.
type CustomOriginConfig struct {
_ struct{} `type:"structure"`
@@ -3800,6 +4154,30 @@ func (s *CustomOriginConfig) Validate() error {
return nil
}
+// SetHTTPPort sets the HTTPPort field's value.
+func (s *CustomOriginConfig) SetHTTPPort(v int64) *CustomOriginConfig {
+ s.HTTPPort = &v
+ return s
+}
+
+// SetHTTPSPort sets the HTTPSPort field's value.
+func (s *CustomOriginConfig) SetHTTPSPort(v int64) *CustomOriginConfig {
+ s.HTTPSPort = &v
+ return s
+}
+
+// SetOriginProtocolPolicy sets the OriginProtocolPolicy field's value.
+func (s *CustomOriginConfig) SetOriginProtocolPolicy(v string) *CustomOriginConfig {
+ s.OriginProtocolPolicy = &v
+ return s
+}
+
+// SetOriginSslProtocols sets the OriginSslProtocols field's value.
+func (s *CustomOriginConfig) SetOriginSslProtocols(v *OriginSslProtocols) *CustomOriginConfig {
+ s.OriginSslProtocols = v
+ return s
+}
+
// A complex type that describes the default cache behavior if you do not 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.
@@ -3972,6 +4350,66 @@ func (s *DefaultCacheBehavior) Validate() error {
return nil
}
+// SetAllowedMethods sets the AllowedMethods field's value.
+func (s *DefaultCacheBehavior) SetAllowedMethods(v *AllowedMethods) *DefaultCacheBehavior {
+ s.AllowedMethods = v
+ return s
+}
+
+// SetCompress sets the Compress field's value.
+func (s *DefaultCacheBehavior) SetCompress(v bool) *DefaultCacheBehavior {
+ s.Compress = &v
+ return s
+}
+
+// SetDefaultTTL sets the DefaultTTL field's value.
+func (s *DefaultCacheBehavior) SetDefaultTTL(v int64) *DefaultCacheBehavior {
+ s.DefaultTTL = &v
+ return s
+}
+
+// SetForwardedValues sets the ForwardedValues field's value.
+func (s *DefaultCacheBehavior) SetForwardedValues(v *ForwardedValues) *DefaultCacheBehavior {
+ s.ForwardedValues = v
+ return s
+}
+
+// SetMaxTTL sets the MaxTTL field's value.
+func (s *DefaultCacheBehavior) SetMaxTTL(v int64) *DefaultCacheBehavior {
+ s.MaxTTL = &v
+ return s
+}
+
+// SetMinTTL sets the MinTTL field's value.
+func (s *DefaultCacheBehavior) SetMinTTL(v int64) *DefaultCacheBehavior {
+ s.MinTTL = &v
+ return s
+}
+
+// SetSmoothStreaming sets the SmoothStreaming field's value.
+func (s *DefaultCacheBehavior) SetSmoothStreaming(v bool) *DefaultCacheBehavior {
+ s.SmoothStreaming = &v
+ return s
+}
+
+// SetTargetOriginId sets the TargetOriginId field's value.
+func (s *DefaultCacheBehavior) SetTargetOriginId(v string) *DefaultCacheBehavior {
+ s.TargetOriginId = &v
+ return s
+}
+
+// SetTrustedSigners sets the TrustedSigners field's value.
+func (s *DefaultCacheBehavior) SetTrustedSigners(v *TrustedSigners) *DefaultCacheBehavior {
+ s.TrustedSigners = v
+ return s
+}
+
+// SetViewerProtocolPolicy sets the ViewerProtocolPolicy field's value.
+func (s *DefaultCacheBehavior) SetViewerProtocolPolicy(v string) *DefaultCacheBehavior {
+ s.ViewerProtocolPolicy = &v
+ return s
+}
+
// Deletes a origin access identity.
type DeleteCloudFrontOriginAccessIdentityInput struct {
_ struct{} `type:"structure"`
@@ -4009,6 +4447,18 @@ func (s *DeleteCloudFrontOriginAccessIdentityInput) Validate() error {
return nil
}
+// SetId sets the Id field's value.
+func (s *DeleteCloudFrontOriginAccessIdentityInput) SetId(v string) *DeleteCloudFrontOriginAccessIdentityInput {
+ s.Id = &v
+ return s
+}
+
+// SetIfMatch sets the IfMatch field's value.
+func (s *DeleteCloudFrontOriginAccessIdentityInput) SetIfMatch(v string) *DeleteCloudFrontOriginAccessIdentityInput {
+ s.IfMatch = &v
+ return s
+}
+
type DeleteCloudFrontOriginAccessIdentityOutput struct {
_ struct{} `type:"structure"`
}
@@ -4094,6 +4544,18 @@ func (s *DeleteDistributionInput) Validate() error {
return nil
}
+// SetId sets the Id field's value.
+func (s *DeleteDistributionInput) SetId(v string) *DeleteDistributionInput {
+ s.Id = &v
+ return s
+}
+
+// SetIfMatch sets the IfMatch field's value.
+func (s *DeleteDistributionInput) SetIfMatch(v string) *DeleteDistributionInput {
+ s.IfMatch = &v
+ return s
+}
+
type DeleteDistributionOutput struct {
_ struct{} `type:"structure"`
}
@@ -4145,6 +4607,18 @@ func (s *DeleteStreamingDistributionInput) Validate() error {
return nil
}
+// SetId sets the Id field's value.
+func (s *DeleteStreamingDistributionInput) SetId(v string) *DeleteStreamingDistributionInput {
+ s.Id = &v
+ return s
+}
+
+// SetIfMatch sets the IfMatch field's value.
+func (s *DeleteStreamingDistributionInput) SetIfMatch(v string) *DeleteStreamingDistributionInput {
+ s.IfMatch = &v
+ return s
+}
+
type DeleteStreamingDistributionOutput struct {
_ struct{} `type:"structure"`
}
@@ -4225,6 +4699,54 @@ func (s Distribution) GoString() string {
return s.String()
}
+// SetARN sets the ARN field's value.
+func (s *Distribution) SetARN(v string) *Distribution {
+ s.ARN = &v
+ return s
+}
+
+// SetActiveTrustedSigners sets the ActiveTrustedSigners field's value.
+func (s *Distribution) SetActiveTrustedSigners(v *ActiveTrustedSigners) *Distribution {
+ s.ActiveTrustedSigners = v
+ return s
+}
+
+// SetDistributionConfig sets the DistributionConfig field's value.
+func (s *Distribution) SetDistributionConfig(v *DistributionConfig) *Distribution {
+ s.DistributionConfig = v
+ return s
+}
+
+// SetDomainName sets the DomainName field's value.
+func (s *Distribution) SetDomainName(v string) *Distribution {
+ s.DomainName = &v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *Distribution) SetId(v string) *Distribution {
+ s.Id = &v
+ return s
+}
+
+// SetInProgressInvalidationBatches sets the InProgressInvalidationBatches field's value.
+func (s *Distribution) SetInProgressInvalidationBatches(v int64) *Distribution {
+ s.InProgressInvalidationBatches = &v
+ return s
+}
+
+// SetLastModifiedTime sets the LastModifiedTime field's value.
+func (s *Distribution) SetLastModifiedTime(v time.Time) *Distribution {
+ s.LastModifiedTime = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *Distribution) SetStatus(v string) *Distribution {
+ s.Status = &v
+ return s
+}
+
// A distribution configuration.
type DistributionConfig struct {
_ struct{} `type:"structure"`
@@ -4500,6 +5022,102 @@ func (s *DistributionConfig) Validate() error {
return nil
}
+// SetAliases sets the Aliases field's value.
+func (s *DistributionConfig) SetAliases(v *Aliases) *DistributionConfig {
+ s.Aliases = v
+ return s
+}
+
+// SetCacheBehaviors sets the CacheBehaviors field's value.
+func (s *DistributionConfig) SetCacheBehaviors(v *CacheBehaviors) *DistributionConfig {
+ s.CacheBehaviors = v
+ return s
+}
+
+// SetCallerReference sets the CallerReference field's value.
+func (s *DistributionConfig) SetCallerReference(v string) *DistributionConfig {
+ s.CallerReference = &v
+ return s
+}
+
+// SetComment sets the Comment field's value.
+func (s *DistributionConfig) SetComment(v string) *DistributionConfig {
+ s.Comment = &v
+ return s
+}
+
+// SetCustomErrorResponses sets the CustomErrorResponses field's value.
+func (s *DistributionConfig) SetCustomErrorResponses(v *CustomErrorResponses) *DistributionConfig {
+ s.CustomErrorResponses = v
+ return s
+}
+
+// SetDefaultCacheBehavior sets the DefaultCacheBehavior field's value.
+func (s *DistributionConfig) SetDefaultCacheBehavior(v *DefaultCacheBehavior) *DistributionConfig {
+ s.DefaultCacheBehavior = v
+ return s
+}
+
+// SetDefaultRootObject sets the DefaultRootObject field's value.
+func (s *DistributionConfig) SetDefaultRootObject(v string) *DistributionConfig {
+ s.DefaultRootObject = &v
+ return s
+}
+
+// SetEnabled sets the Enabled field's value.
+func (s *DistributionConfig) SetEnabled(v bool) *DistributionConfig {
+ s.Enabled = &v
+ return s
+}
+
+// SetHttpVersion sets the HttpVersion field's value.
+func (s *DistributionConfig) SetHttpVersion(v string) *DistributionConfig {
+ s.HttpVersion = &v
+ return s
+}
+
+// SetIsIPV6Enabled sets the IsIPV6Enabled field's value.
+func (s *DistributionConfig) SetIsIPV6Enabled(v bool) *DistributionConfig {
+ s.IsIPV6Enabled = &v
+ return s
+}
+
+// SetLogging sets the Logging field's value.
+func (s *DistributionConfig) SetLogging(v *LoggingConfig) *DistributionConfig {
+ s.Logging = v
+ return s
+}
+
+// SetOrigins sets the Origins field's value.
+func (s *DistributionConfig) SetOrigins(v *Origins) *DistributionConfig {
+ s.Origins = v
+ return s
+}
+
+// SetPriceClass sets the PriceClass field's value.
+func (s *DistributionConfig) SetPriceClass(v string) *DistributionConfig {
+ s.PriceClass = &v
+ return s
+}
+
+// SetRestrictions sets the Restrictions field's value.
+func (s *DistributionConfig) SetRestrictions(v *Restrictions) *DistributionConfig {
+ s.Restrictions = v
+ return s
+}
+
+// SetViewerCertificate sets the ViewerCertificate field's value.
+func (s *DistributionConfig) SetViewerCertificate(v *ViewerCertificate) *DistributionConfig {
+ s.ViewerCertificate = v
+ return s
+}
+
+// SetWebACLId sets the WebACLId field's value.
+func (s *DistributionConfig) SetWebACLId(v string) *DistributionConfig {
+ s.WebACLId = &v
+ return s
+}
+
// A distribution Configuration and a list of tags to be associated with the
// distribution.
type DistributionConfigWithTags struct {
@@ -4552,6 +5170,18 @@ func (s *DistributionConfigWithTags) Validate() error {
return nil
}
+// SetDistributionConfig sets the DistributionConfig field's value.
+func (s *DistributionConfigWithTags) SetDistributionConfig(v *DistributionConfig) *DistributionConfigWithTags {
+ s.DistributionConfig = v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *DistributionConfigWithTags) SetTags(v *Tags) *DistributionConfigWithTags {
+ s.Tags = v
+ return s
+}
+
// A distribution list.
type DistributionList struct {
_ struct{} `type:"structure"`
@@ -4599,6 +5229,42 @@ func (s DistributionList) GoString() string {
return s.String()
}
+// SetIsTruncated sets the IsTruncated field's value.
+func (s *DistributionList) SetIsTruncated(v bool) *DistributionList {
+ s.IsTruncated = &v
+ return s
+}
+
+// SetItems sets the Items field's value.
+func (s *DistributionList) SetItems(v []*DistributionSummary) *DistributionList {
+ s.Items = v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DistributionList) SetMarker(v string) *DistributionList {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxItems sets the MaxItems field's value.
+func (s *DistributionList) SetMaxItems(v int64) *DistributionList {
+ s.MaxItems = &v
+ return s
+}
+
+// SetNextMarker sets the NextMarker field's value.
+func (s *DistributionList) SetNextMarker(v string) *DistributionList {
+ s.NextMarker = &v
+ return s
+}
+
+// SetQuantity sets the Quantity field's value.
+func (s *DistributionList) SetQuantity(v int64) *DistributionList {
+ s.Quantity = &v
+ return s
+}
+
// A summary of the information about a CloudFront distribution.
type DistributionSummary struct {
_ struct{} `type:"structure"`
@@ -4724,6 +5390,114 @@ func (s DistributionSummary) GoString() string {
return s.String()
}
+// SetARN sets the ARN field's value.
+func (s *DistributionSummary) SetARN(v string) *DistributionSummary {
+ s.ARN = &v
+ return s
+}
+
+// SetAliases sets the Aliases field's value.
+func (s *DistributionSummary) SetAliases(v *Aliases) *DistributionSummary {
+ s.Aliases = v
+ return s
+}
+
+// SetCacheBehaviors sets the CacheBehaviors field's value.
+func (s *DistributionSummary) SetCacheBehaviors(v *CacheBehaviors) *DistributionSummary {
+ s.CacheBehaviors = v
+ return s
+}
+
+// SetComment sets the Comment field's value.
+func (s *DistributionSummary) SetComment(v string) *DistributionSummary {
+ s.Comment = &v
+ return s
+}
+
+// SetCustomErrorResponses sets the CustomErrorResponses field's value.
+func (s *DistributionSummary) SetCustomErrorResponses(v *CustomErrorResponses) *DistributionSummary {
+ s.CustomErrorResponses = v
+ return s
+}
+
+// SetDefaultCacheBehavior sets the DefaultCacheBehavior field's value.
+func (s *DistributionSummary) SetDefaultCacheBehavior(v *DefaultCacheBehavior) *DistributionSummary {
+ s.DefaultCacheBehavior = v
+ return s
+}
+
+// SetDomainName sets the DomainName field's value.
+func (s *DistributionSummary) SetDomainName(v string) *DistributionSummary {
+ s.DomainName = &v
+ return s
+}
+
+// SetEnabled sets the Enabled field's value.
+func (s *DistributionSummary) SetEnabled(v bool) *DistributionSummary {
+ s.Enabled = &v
+ return s
+}
+
+// SetHttpVersion sets the HttpVersion field's value.
+func (s *DistributionSummary) SetHttpVersion(v string) *DistributionSummary {
+ s.HttpVersion = &v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *DistributionSummary) SetId(v string) *DistributionSummary {
+ s.Id = &v
+ return s
+}
+
+// SetIsIPV6Enabled sets the IsIPV6Enabled field's value.
+func (s *DistributionSummary) SetIsIPV6Enabled(v bool) *DistributionSummary {
+ s.IsIPV6Enabled = &v
+ return s
+}
+
+// SetLastModifiedTime sets the LastModifiedTime field's value.
+func (s *DistributionSummary) SetLastModifiedTime(v time.Time) *DistributionSummary {
+ s.LastModifiedTime = &v
+ return s
+}
+
+// SetOrigins sets the Origins field's value.
+func (s *DistributionSummary) SetOrigins(v *Origins) *DistributionSummary {
+ s.Origins = v
+ return s
+}
+
+// SetPriceClass sets the PriceClass field's value.
+func (s *DistributionSummary) SetPriceClass(v string) *DistributionSummary {
+ s.PriceClass = &v
+ return s
+}
+
+// SetRestrictions sets the Restrictions field's value.
+func (s *DistributionSummary) SetRestrictions(v *Restrictions) *DistributionSummary {
+ s.Restrictions = v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *DistributionSummary) SetStatus(v string) *DistributionSummary {
+ s.Status = &v
+ return s
+}
+
+// SetViewerCertificate sets the ViewerCertificate field's value.
+func (s *DistributionSummary) SetViewerCertificate(v *ViewerCertificate) *DistributionSummary {
+ s.ViewerCertificate = v
+ return s
+}
+
+// SetWebACLId sets the WebACLId field's value.
+func (s *DistributionSummary) SetWebACLId(v string) *DistributionSummary {
+ s.WebACLId = &v
+ return s
+}
+
// A complex type that specifies how CloudFront handles query strings and cookies.
type ForwardedValues struct {
_ struct{} `type:"structure"`
@@ -4814,6 +5588,30 @@ func (s *ForwardedValues) Validate() error {
return nil
}
+// SetCookies sets the Cookies field's value.
+func (s *ForwardedValues) SetCookies(v *CookiePreference) *ForwardedValues {
+ s.Cookies = v
+ return s
+}
+
+// SetHeaders sets the Headers field's value.
+func (s *ForwardedValues) SetHeaders(v *Headers) *ForwardedValues {
+ s.Headers = v
+ return s
+}
+
+// SetQueryString sets the QueryString field's value.
+func (s *ForwardedValues) SetQueryString(v bool) *ForwardedValues {
+ s.QueryString = &v
+ return s
+}
+
+// SetQueryStringCacheKeys sets the QueryStringCacheKeys field's value.
+func (s *ForwardedValues) SetQueryStringCacheKeys(v *QueryStringCacheKeys) *ForwardedValues {
+ s.QueryStringCacheKeys = v
+ return s
+}
+
// A complex type that controls the countries in which your content is distributed.
// CloudFront determines the location of your users using MaxMind GeoIP databases.
type GeoRestriction struct {
@@ -4883,6 +5681,24 @@ func (s *GeoRestriction) Validate() error {
return nil
}
+// SetItems sets the Items field's value.
+func (s *GeoRestriction) SetItems(v []*string) *GeoRestriction {
+ s.Items = v
+ return s
+}
+
+// SetQuantity sets the Quantity field's value.
+func (s *GeoRestriction) SetQuantity(v int64) *GeoRestriction {
+ s.Quantity = &v
+ return s
+}
+
+// SetRestrictionType sets the RestrictionType field's value.
+func (s *GeoRestriction) SetRestrictionType(v string) *GeoRestriction {
+ s.RestrictionType = &v
+ return s
+}
+
// The origin access identity's configuration information. For more information,
// see CloudFrontOriginAccessIdentityConfigComplexType.
type GetCloudFrontOriginAccessIdentityConfigInput struct {
@@ -4917,6 +5733,12 @@ func (s *GetCloudFrontOriginAccessIdentityConfigInput) Validate() error {
return nil
}
+// SetId sets the Id field's value.
+func (s *GetCloudFrontOriginAccessIdentityConfigInput) SetId(v string) *GetCloudFrontOriginAccessIdentityConfigInput {
+ s.Id = &v
+ return s
+}
+
// The returned result of the corresponding request.
type GetCloudFrontOriginAccessIdentityConfigOutput struct {
_ struct{} `type:"structure" payload:"CloudFrontOriginAccessIdentityConfig"`
@@ -4938,6 +5760,18 @@ func (s GetCloudFrontOriginAccessIdentityConfigOutput) GoString() string {
return s.String()
}
+// SetCloudFrontOriginAccessIdentityConfig sets the CloudFrontOriginAccessIdentityConfig field's value.
+func (s *GetCloudFrontOriginAccessIdentityConfigOutput) SetCloudFrontOriginAccessIdentityConfig(v *OriginAccessIdentityConfig) *GetCloudFrontOriginAccessIdentityConfigOutput {
+ s.CloudFrontOriginAccessIdentityConfig = v
+ return s
+}
+
+// SetETag sets the ETag field's value.
+func (s *GetCloudFrontOriginAccessIdentityConfigOutput) SetETag(v string) *GetCloudFrontOriginAccessIdentityConfigOutput {
+ s.ETag = &v
+ return s
+}
+
// The request to get an origin access identity's information.
type GetCloudFrontOriginAccessIdentityInput struct {
_ struct{} `type:"structure"`
@@ -4971,6 +5805,12 @@ func (s *GetCloudFrontOriginAccessIdentityInput) Validate() error {
return nil
}
+// SetId sets the Id field's value.
+func (s *GetCloudFrontOriginAccessIdentityInput) SetId(v string) *GetCloudFrontOriginAccessIdentityInput {
+ s.Id = &v
+ return s
+}
+
// The returned result of the corresponding request.
type GetCloudFrontOriginAccessIdentityOutput struct {
_ struct{} `type:"structure" payload:"CloudFrontOriginAccessIdentity"`
@@ -4993,6 +5833,18 @@ func (s GetCloudFrontOriginAccessIdentityOutput) GoString() string {
return s.String()
}
+// SetCloudFrontOriginAccessIdentity sets the CloudFrontOriginAccessIdentity field's value.
+func (s *GetCloudFrontOriginAccessIdentityOutput) SetCloudFrontOriginAccessIdentity(v *OriginAccessIdentity) *GetCloudFrontOriginAccessIdentityOutput {
+ s.CloudFrontOriginAccessIdentity = v
+ return s
+}
+
+// SetETag sets the ETag field's value.
+func (s *GetCloudFrontOriginAccessIdentityOutput) SetETag(v string) *GetCloudFrontOriginAccessIdentityOutput {
+ s.ETag = &v
+ return s
+}
+
// The request to get a distribution configuration.
type GetDistributionConfigInput struct {
_ struct{} `type:"structure"`
@@ -5026,6 +5878,12 @@ func (s *GetDistributionConfigInput) Validate() error {
return nil
}
+// SetId sets the Id field's value.
+func (s *GetDistributionConfigInput) SetId(v string) *GetDistributionConfigInput {
+ s.Id = &v
+ return s
+}
+
// The returned result of the corresponding request.
type GetDistributionConfigOutput struct {
_ struct{} `type:"structure" payload:"DistributionConfig"`
@@ -5047,6 +5905,18 @@ func (s GetDistributionConfigOutput) GoString() string {
return s.String()
}
+// SetDistributionConfig sets the DistributionConfig field's value.
+func (s *GetDistributionConfigOutput) SetDistributionConfig(v *DistributionConfig) *GetDistributionConfigOutput {
+ s.DistributionConfig = v
+ return s
+}
+
+// SetETag sets the ETag field's value.
+func (s *GetDistributionConfigOutput) SetETag(v string) *GetDistributionConfigOutput {
+ s.ETag = &v
+ return s
+}
+
// The request to get a distribution's information.
type GetDistributionInput struct {
_ struct{} `type:"structure"`
@@ -5080,6 +5950,12 @@ func (s *GetDistributionInput) Validate() error {
return nil
}
+// SetId sets the Id field's value.
+func (s *GetDistributionInput) SetId(v string) *GetDistributionInput {
+ s.Id = &v
+ return s
+}
+
// The returned result of the corresponding request.
type GetDistributionOutput struct {
_ struct{} `type:"structure" payload:"Distribution"`
@@ -5101,6 +5977,18 @@ func (s GetDistributionOutput) GoString() string {
return s.String()
}
+// SetDistribution sets the Distribution field's value.
+func (s *GetDistributionOutput) SetDistribution(v *Distribution) *GetDistributionOutput {
+ s.Distribution = v
+ return s
+}
+
+// SetETag sets the ETag field's value.
+func (s *GetDistributionOutput) SetETag(v string) *GetDistributionOutput {
+ s.ETag = &v
+ return s
+}
+
// The request to get an invalidation's information.
type GetInvalidationInput struct {
_ struct{} `type:"structure"`
@@ -5142,6 +6030,18 @@ func (s *GetInvalidationInput) Validate() error {
return nil
}
+// SetDistributionId sets the DistributionId field's value.
+func (s *GetInvalidationInput) SetDistributionId(v string) *GetInvalidationInput {
+ s.DistributionId = &v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *GetInvalidationInput) SetId(v string) *GetInvalidationInput {
+ s.Id = &v
+ return s
+}
+
// The returned result of the corresponding request.
type GetInvalidationOutput struct {
_ struct{} `type:"structure" payload:"Invalidation"`
@@ -5161,6 +6061,12 @@ func (s GetInvalidationOutput) GoString() string {
return s.String()
}
+// SetInvalidation sets the Invalidation field's value.
+func (s *GetInvalidationOutput) SetInvalidation(v *Invalidation) *GetInvalidationOutput {
+ s.Invalidation = v
+ return s
+}
+
// To request to get a streaming distribution configuration.
type GetStreamingDistributionConfigInput struct {
_ struct{} `type:"structure"`
@@ -5194,6 +6100,12 @@ func (s *GetStreamingDistributionConfigInput) Validate() error {
return nil
}
+// SetId sets the Id field's value.
+func (s *GetStreamingDistributionConfigInput) SetId(v string) *GetStreamingDistributionConfigInput {
+ s.Id = &v
+ return s
+}
+
// The returned result of the corresponding request.
type GetStreamingDistributionConfigOutput struct {
_ struct{} `type:"structure" payload:"StreamingDistributionConfig"`
@@ -5215,6 +6127,18 @@ func (s GetStreamingDistributionConfigOutput) GoString() string {
return s.String()
}
+// SetETag sets the ETag field's value.
+func (s *GetStreamingDistributionConfigOutput) SetETag(v string) *GetStreamingDistributionConfigOutput {
+ s.ETag = &v
+ return s
+}
+
+// SetStreamingDistributionConfig sets the StreamingDistributionConfig field's value.
+func (s *GetStreamingDistributionConfigOutput) SetStreamingDistributionConfig(v *StreamingDistributionConfig) *GetStreamingDistributionConfigOutput {
+ s.StreamingDistributionConfig = v
+ return s
+}
+
// The request to get a streaming distribution's information.
type GetStreamingDistributionInput struct {
_ struct{} `type:"structure"`
@@ -5248,6 +6172,12 @@ func (s *GetStreamingDistributionInput) Validate() error {
return nil
}
+// SetId sets the Id field's value.
+func (s *GetStreamingDistributionInput) SetId(v string) *GetStreamingDistributionInput {
+ s.Id = &v
+ return s
+}
+
// The returned result of the corresponding request.
type GetStreamingDistributionOutput struct {
_ struct{} `type:"structure" payload:"StreamingDistribution"`
@@ -5270,6 +6200,18 @@ func (s GetStreamingDistributionOutput) GoString() string {
return s.String()
}
+// SetETag sets the ETag field's value.
+func (s *GetStreamingDistributionOutput) SetETag(v string) *GetStreamingDistributionOutput {
+ s.ETag = &v
+ return s
+}
+
+// SetStreamingDistribution sets the StreamingDistribution field's value.
+func (s *GetStreamingDistributionOutput) SetStreamingDistribution(v *StreamingDistribution) *GetStreamingDistributionOutput {
+ s.StreamingDistribution = v
+ return s
+}
+
// A complex type that specifies the headers that you want CloudFront to forward
// to the origin for this cache behavior.
//
@@ -5339,6 +6281,18 @@ func (s *Headers) Validate() error {
return nil
}
+// SetItems sets the Items field's value.
+func (s *Headers) SetItems(v []*string) *Headers {
+ s.Items = v
+ return s
+}
+
+// SetQuantity sets the Quantity field's value.
+func (s *Headers) SetQuantity(v int64) *Headers {
+ s.Quantity = &v
+ return s
+}
+
// An invalidation.
type Invalidation struct {
_ struct{} `type:"structure"`
@@ -5375,6 +6329,30 @@ func (s Invalidation) GoString() string {
return s.String()
}
+// SetCreateTime sets the CreateTime field's value.
+func (s *Invalidation) SetCreateTime(v time.Time) *Invalidation {
+ s.CreateTime = &v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *Invalidation) SetId(v string) *Invalidation {
+ s.Id = &v
+ return s
+}
+
+// SetInvalidationBatch sets the InvalidationBatch field's value.
+func (s *Invalidation) SetInvalidationBatch(v *InvalidationBatch) *Invalidation {
+ s.InvalidationBatch = v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *Invalidation) SetStatus(v string) *Invalidation {
+ s.Status = &v
+ return s
+}
+
// An invalidation batch.
type InvalidationBatch struct {
_ struct{} `type:"structure"`
@@ -5438,6 +6416,18 @@ func (s *InvalidationBatch) Validate() error {
return nil
}
+// SetCallerReference sets the CallerReference field's value.
+func (s *InvalidationBatch) SetCallerReference(v string) *InvalidationBatch {
+ s.CallerReference = &v
+ return s
+}
+
+// SetPaths sets the Paths field's value.
+func (s *InvalidationBatch) SetPaths(v *Paths) *InvalidationBatch {
+ s.Paths = v
+ return s
+}
+
// The InvalidationList complex type describes the list of invalidation objects.
// For more information about invalidation, see Invalidating Objects (Web Distributions
// Only) (http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Invalidation.html)
@@ -5488,6 +6478,42 @@ func (s InvalidationList) GoString() string {
return s.String()
}
+// SetIsTruncated sets the IsTruncated field's value.
+func (s *InvalidationList) SetIsTruncated(v bool) *InvalidationList {
+ s.IsTruncated = &v
+ return s
+}
+
+// SetItems sets the Items field's value.
+func (s *InvalidationList) SetItems(v []*InvalidationSummary) *InvalidationList {
+ s.Items = v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *InvalidationList) SetMarker(v string) *InvalidationList {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxItems sets the MaxItems field's value.
+func (s *InvalidationList) SetMaxItems(v int64) *InvalidationList {
+ s.MaxItems = &v
+ return s
+}
+
+// SetNextMarker sets the NextMarker field's value.
+func (s *InvalidationList) SetNextMarker(v string) *InvalidationList {
+ s.NextMarker = &v
+ return s
+}
+
+// SetQuantity sets the Quantity field's value.
+func (s *InvalidationList) SetQuantity(v int64) *InvalidationList {
+ s.Quantity = &v
+ return s
+}
+
// A summary of an invalidation request.
type InvalidationSummary struct {
_ struct{} `type:"structure"`
@@ -5516,6 +6542,24 @@ func (s InvalidationSummary) GoString() string {
return s.String()
}
+// SetCreateTime sets the CreateTime field's value.
+func (s *InvalidationSummary) SetCreateTime(v time.Time) *InvalidationSummary {
+ s.CreateTime = &v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *InvalidationSummary) SetId(v string) *InvalidationSummary {
+ s.Id = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *InvalidationSummary) SetStatus(v string) *InvalidationSummary {
+ s.Status = &v
+ return s
+}
+
// A complex type that lists the active CloudFront key pairs, if any, that are
// associated with AwsAccountNumber.
//
@@ -5547,6 +6591,18 @@ func (s KeyPairIds) GoString() string {
return s.String()
}
+// SetItems sets the Items field's value.
+func (s *KeyPairIds) SetItems(v []*string) *KeyPairIds {
+ s.Items = v
+ return s
+}
+
+// SetQuantity sets the Quantity field's value.
+func (s *KeyPairIds) SetQuantity(v int64) *KeyPairIds {
+ s.Quantity = &v
+ return s
+}
+
// The request to list origin access identities.
type ListCloudFrontOriginAccessIdentitiesInput struct {
_ struct{} `type:"structure"`
@@ -5572,6 +6628,18 @@ func (s ListCloudFrontOriginAccessIdentitiesInput) GoString() string {
return s.String()
}
+// SetMarker sets the Marker field's value.
+func (s *ListCloudFrontOriginAccessIdentitiesInput) SetMarker(v string) *ListCloudFrontOriginAccessIdentitiesInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxItems sets the MaxItems field's value.
+func (s *ListCloudFrontOriginAccessIdentitiesInput) SetMaxItems(v int64) *ListCloudFrontOriginAccessIdentitiesInput {
+ s.MaxItems = &v
+ return s
+}
+
// The returned result of the corresponding request.
type ListCloudFrontOriginAccessIdentitiesOutput struct {
_ struct{} `type:"structure" payload:"CloudFrontOriginAccessIdentityList"`
@@ -5590,6 +6658,12 @@ func (s ListCloudFrontOriginAccessIdentitiesOutput) GoString() string {
return s.String()
}
+// SetCloudFrontOriginAccessIdentityList sets the CloudFrontOriginAccessIdentityList field's value.
+func (s *ListCloudFrontOriginAccessIdentitiesOutput) SetCloudFrontOriginAccessIdentityList(v *OriginAccessIdentityList) *ListCloudFrontOriginAccessIdentitiesOutput {
+ s.CloudFrontOriginAccessIdentityList = v
+ return s
+}
+
// The request to list distributions that are associated with a specified AWS
// WAF web ACL.
type ListDistributionsByWebACLIdInput struct {
@@ -5637,6 +6711,24 @@ func (s *ListDistributionsByWebACLIdInput) Validate() error {
return nil
}
+// SetMarker sets the Marker field's value.
+func (s *ListDistributionsByWebACLIdInput) SetMarker(v string) *ListDistributionsByWebACLIdInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxItems sets the MaxItems field's value.
+func (s *ListDistributionsByWebACLIdInput) SetMaxItems(v int64) *ListDistributionsByWebACLIdInput {
+ s.MaxItems = &v
+ return s
+}
+
+// SetWebACLId sets the WebACLId field's value.
+func (s *ListDistributionsByWebACLIdInput) SetWebACLId(v string) *ListDistributionsByWebACLIdInput {
+ s.WebACLId = &v
+ return s
+}
+
// The response to a request to list the distributions that are associated with
// a specified AWS WAF web ACL.
type ListDistributionsByWebACLIdOutput struct {
@@ -5656,6 +6748,12 @@ func (s ListDistributionsByWebACLIdOutput) GoString() string {
return s.String()
}
+// SetDistributionList sets the DistributionList field's value.
+func (s *ListDistributionsByWebACLIdOutput) SetDistributionList(v *DistributionList) *ListDistributionsByWebACLIdOutput {
+ s.DistributionList = v
+ return s
+}
+
// The request to list your distributions.
type ListDistributionsInput struct {
_ struct{} `type:"structure"`
@@ -5681,6 +6779,18 @@ func (s ListDistributionsInput) GoString() string {
return s.String()
}
+// SetMarker sets the Marker field's value.
+func (s *ListDistributionsInput) SetMarker(v string) *ListDistributionsInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxItems sets the MaxItems field's value.
+func (s *ListDistributionsInput) SetMaxItems(v int64) *ListDistributionsInput {
+ s.MaxItems = &v
+ return s
+}
+
// The returned result of the corresponding request.
type ListDistributionsOutput struct {
_ struct{} `type:"structure" payload:"DistributionList"`
@@ -5699,6 +6809,12 @@ func (s ListDistributionsOutput) GoString() string {
return s.String()
}
+// SetDistributionList sets the DistributionList field's value.
+func (s *ListDistributionsOutput) SetDistributionList(v *DistributionList) *ListDistributionsOutput {
+ s.DistributionList = v
+ return s
+}
+
// The request to list invalidations.
type ListInvalidationsInput struct {
_ struct{} `type:"structure"`
@@ -5745,6 +6861,24 @@ func (s *ListInvalidationsInput) Validate() error {
return nil
}
+// SetDistributionId sets the DistributionId field's value.
+func (s *ListInvalidationsInput) SetDistributionId(v string) *ListInvalidationsInput {
+ s.DistributionId = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *ListInvalidationsInput) SetMarker(v string) *ListInvalidationsInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxItems sets the MaxItems field's value.
+func (s *ListInvalidationsInput) SetMaxItems(v int64) *ListInvalidationsInput {
+ s.MaxItems = &v
+ return s
+}
+
// The returned result of the corresponding request.
type ListInvalidationsOutput struct {
_ struct{} `type:"structure" payload:"InvalidationList"`
@@ -5763,6 +6897,12 @@ func (s ListInvalidationsOutput) GoString() string {
return s.String()
}
+// SetInvalidationList sets the InvalidationList field's value.
+func (s *ListInvalidationsOutput) SetInvalidationList(v *InvalidationList) *ListInvalidationsOutput {
+ s.InvalidationList = v
+ return s
+}
+
// The request to list your streaming distributions.
type ListStreamingDistributionsInput struct {
_ struct{} `type:"structure"`
@@ -5784,6 +6924,18 @@ func (s ListStreamingDistributionsInput) GoString() string {
return s.String()
}
+// SetMarker sets the Marker field's value.
+func (s *ListStreamingDistributionsInput) SetMarker(v string) *ListStreamingDistributionsInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxItems sets the MaxItems field's value.
+func (s *ListStreamingDistributionsInput) SetMaxItems(v int64) *ListStreamingDistributionsInput {
+ s.MaxItems = &v
+ return s
+}
+
// The returned result of the corresponding request.
type ListStreamingDistributionsOutput struct {
_ struct{} `type:"structure" payload:"StreamingDistributionList"`
@@ -5802,6 +6954,12 @@ func (s ListStreamingDistributionsOutput) GoString() string {
return s.String()
}
+// SetStreamingDistributionList sets the StreamingDistributionList field's value.
+func (s *ListStreamingDistributionsOutput) SetStreamingDistributionList(v *StreamingDistributionList) *ListStreamingDistributionsOutput {
+ s.StreamingDistributionList = v
+ return s
+}
+
// The request to list tags for a CloudFront resource.
type ListTagsForResourceInput struct {
_ struct{} `type:"structure"`
@@ -5835,6 +6993,12 @@ func (s *ListTagsForResourceInput) Validate() error {
return nil
}
+// SetResource sets the Resource field's value.
+func (s *ListTagsForResourceInput) SetResource(v string) *ListTagsForResourceInput {
+ s.Resource = &v
+ return s
+}
+
// The returned result of the corresponding request.
type ListTagsForResourceOutput struct {
_ struct{} `type:"structure" payload:"Tags"`
@@ -5855,6 +7019,12 @@ func (s ListTagsForResourceOutput) GoString() string {
return s.String()
}
+// SetTags sets the Tags field's value.
+func (s *ListTagsForResourceOutput) SetTags(v *Tags) *ListTagsForResourceOutput {
+ s.Tags = v
+ return s
+}
+
// A complex type that controls whether access logs are written for the distribution.
type LoggingConfig struct {
_ struct{} `type:"structure"`
@@ -5925,6 +7095,30 @@ func (s *LoggingConfig) Validate() error {
return nil
}
+// SetBucket sets the Bucket field's value.
+func (s *LoggingConfig) SetBucket(v string) *LoggingConfig {
+ s.Bucket = &v
+ return s
+}
+
+// SetEnabled sets the Enabled field's value.
+func (s *LoggingConfig) SetEnabled(v bool) *LoggingConfig {
+ s.Enabled = &v
+ return s
+}
+
+// SetIncludeCookies sets the IncludeCookies field's value.
+func (s *LoggingConfig) SetIncludeCookies(v bool) *LoggingConfig {
+ s.IncludeCookies = &v
+ return s
+}
+
+// SetPrefix sets the Prefix field's value.
+func (s *LoggingConfig) SetPrefix(v string) *LoggingConfig {
+ s.Prefix = &v
+ return s
+}
+
// A complex type that describes the Amazon S3 bucket or the HTTP server (for
// example, a web server) from which CloudFront gets your files. You must create
// at least one origin.
@@ -6052,6 +7246,42 @@ func (s *Origin) Validate() error {
return nil
}
+// SetCustomHeaders sets the CustomHeaders field's value.
+func (s *Origin) SetCustomHeaders(v *CustomHeaders) *Origin {
+ s.CustomHeaders = v
+ return s
+}
+
+// SetCustomOriginConfig sets the CustomOriginConfig field's value.
+func (s *Origin) SetCustomOriginConfig(v *CustomOriginConfig) *Origin {
+ s.CustomOriginConfig = v
+ return s
+}
+
+// SetDomainName sets the DomainName field's value.
+func (s *Origin) SetDomainName(v string) *Origin {
+ s.DomainName = &v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *Origin) SetId(v string) *Origin {
+ s.Id = &v
+ return s
+}
+
+// SetOriginPath sets the OriginPath field's value.
+func (s *Origin) SetOriginPath(v string) *Origin {
+ s.OriginPath = &v
+ return s
+}
+
+// SetS3OriginConfig sets the S3OriginConfig field's value.
+func (s *Origin) SetS3OriginConfig(v *S3OriginConfig) *Origin {
+ s.S3OriginConfig = v
+ return s
+}
+
// CloudFront origin access identity.
type OriginAccessIdentity struct {
_ struct{} `type:"structure"`
@@ -6082,6 +7312,24 @@ func (s OriginAccessIdentity) GoString() string {
return s.String()
}
+// SetCloudFrontOriginAccessIdentityConfig sets the CloudFrontOriginAccessIdentityConfig field's value.
+func (s *OriginAccessIdentity) SetCloudFrontOriginAccessIdentityConfig(v *OriginAccessIdentityConfig) *OriginAccessIdentity {
+ s.CloudFrontOriginAccessIdentityConfig = v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *OriginAccessIdentity) SetId(v string) *OriginAccessIdentity {
+ s.Id = &v
+ return s
+}
+
+// SetS3CanonicalUserId sets the S3CanonicalUserId field's value.
+func (s *OriginAccessIdentity) SetS3CanonicalUserId(v string) *OriginAccessIdentity {
+ s.S3CanonicalUserId = &v
+ return s
+}
+
// Origin access identity configuration. Send a GET request to the /CloudFront
// API version/CloudFront/identity ID/config resource.
type OriginAccessIdentityConfig struct {
@@ -6137,6 +7385,18 @@ func (s *OriginAccessIdentityConfig) Validate() error {
return nil
}
+// SetCallerReference sets the CallerReference field's value.
+func (s *OriginAccessIdentityConfig) SetCallerReference(v string) *OriginAccessIdentityConfig {
+ s.CallerReference = &v
+ return s
+}
+
+// SetComment sets the Comment field's value.
+func (s *OriginAccessIdentityConfig) SetComment(v string) *OriginAccessIdentityConfig {
+ s.Comment = &v
+ return s
+}
+
// Lists the origin access identities for CloudFront.Send a GET request to the
// /CloudFront API version/origin-access-identity/cloudfront resource. The response
// includes a CloudFrontOriginAccessIdentityList element with zero or more CloudFrontOriginAccessIdentitySummary
@@ -6194,6 +7454,42 @@ func (s OriginAccessIdentityList) GoString() string {
return s.String()
}
+// SetIsTruncated sets the IsTruncated field's value.
+func (s *OriginAccessIdentityList) SetIsTruncated(v bool) *OriginAccessIdentityList {
+ s.IsTruncated = &v
+ return s
+}
+
+// SetItems sets the Items field's value.
+func (s *OriginAccessIdentityList) SetItems(v []*OriginAccessIdentitySummary) *OriginAccessIdentityList {
+ s.Items = v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *OriginAccessIdentityList) SetMarker(v string) *OriginAccessIdentityList {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxItems sets the MaxItems field's value.
+func (s *OriginAccessIdentityList) SetMaxItems(v int64) *OriginAccessIdentityList {
+ s.MaxItems = &v
+ return s
+}
+
+// SetNextMarker sets the NextMarker field's value.
+func (s *OriginAccessIdentityList) SetNextMarker(v string) *OriginAccessIdentityList {
+ s.NextMarker = &v
+ return s
+}
+
+// SetQuantity sets the Quantity field's value.
+func (s *OriginAccessIdentityList) SetQuantity(v int64) *OriginAccessIdentityList {
+ s.Quantity = &v
+ return s
+}
+
// Summary of the information about a CloudFront origin access identity.
type OriginAccessIdentitySummary struct {
_ struct{} `type:"structure"`
@@ -6227,6 +7523,24 @@ func (s OriginAccessIdentitySummary) GoString() string {
return s.String()
}
+// SetComment sets the Comment field's value.
+func (s *OriginAccessIdentitySummary) SetComment(v string) *OriginAccessIdentitySummary {
+ s.Comment = &v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *OriginAccessIdentitySummary) SetId(v string) *OriginAccessIdentitySummary {
+ s.Id = &v
+ return s
+}
+
+// SetS3CanonicalUserId sets the S3CanonicalUserId field's value.
+func (s *OriginAccessIdentitySummary) SetS3CanonicalUserId(v string) *OriginAccessIdentitySummary {
+ s.S3CanonicalUserId = &v
+ return s
+}
+
// A complex type that contains HeaderName and HeaderValue elements, if any,
// for this distribution.
type OriginCustomHeader struct {
@@ -6272,6 +7586,18 @@ func (s *OriginCustomHeader) Validate() error {
return nil
}
+// SetHeaderName sets the HeaderName field's value.
+func (s *OriginCustomHeader) SetHeaderName(v string) *OriginCustomHeader {
+ s.HeaderName = &v
+ return s
+}
+
+// SetHeaderValue sets the HeaderValue field's value.
+func (s *OriginCustomHeader) SetHeaderValue(v string) *OriginCustomHeader {
+ s.HeaderValue = &v
+ return s
+}
+
// A complex type that contains information about the SSL/TLS protocols that
// CloudFront can use when establishing an HTTPS connection with your origin.
type OriginSslProtocols struct {
@@ -6315,6 +7641,18 @@ func (s *OriginSslProtocols) Validate() error {
return nil
}
+// SetItems sets the Items field's value.
+func (s *OriginSslProtocols) SetItems(v []*string) *OriginSslProtocols {
+ s.Items = v
+ return s
+}
+
+// SetQuantity sets the Quantity field's value.
+func (s *OriginSslProtocols) SetQuantity(v int64) *OriginSslProtocols {
+ s.Quantity = &v
+ return s
+}
+
// A complex type that contains information about origins for this distribution.
type Origins struct {
_ struct{} `type:"structure"`
@@ -6364,6 +7702,18 @@ func (s *Origins) Validate() error {
return nil
}
+// SetItems sets the Items field's value.
+func (s *Origins) SetItems(v []*Origin) *Origins {
+ s.Items = v
+ return s
+}
+
+// SetQuantity sets the Quantity field's value.
+func (s *Origins) SetQuantity(v int64) *Origins {
+ s.Quantity = &v
+ return s
+}
+
// A complex type that contains information about the objects that you want
// to invalidate. For more information, see Specifying the Objects to Invalidate
// (http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Invalidation.html#invalidation-specifying-objects)
@@ -6403,6 +7753,18 @@ func (s *Paths) Validate() error {
return nil
}
+// SetItems sets the Items field's value.
+func (s *Paths) SetItems(v []*string) *Paths {
+ s.Items = v
+ return s
+}
+
+// SetQuantity sets the Quantity field's value.
+func (s *Paths) SetQuantity(v int64) *Paths {
+ s.Quantity = &v
+ return s
+}
+
type QueryStringCacheKeys struct {
_ struct{} `type:"structure"`
@@ -6440,6 +7802,18 @@ func (s *QueryStringCacheKeys) Validate() error {
return nil
}
+// SetItems sets the Items field's value.
+func (s *QueryStringCacheKeys) SetItems(v []*string) *QueryStringCacheKeys {
+ s.Items = v
+ return s
+}
+
+// SetQuantity sets the Quantity field's value.
+func (s *QueryStringCacheKeys) SetQuantity(v int64) *QueryStringCacheKeys {
+ s.Quantity = &v
+ return s
+}
+
// A complex type that identifies ways in which you want to restrict distribution
// of your content.
type Restrictions struct {
@@ -6480,6 +7854,12 @@ func (s *Restrictions) Validate() error {
return nil
}
+// SetGeoRestriction sets the GeoRestriction field's value.
+func (s *Restrictions) SetGeoRestriction(v *GeoRestriction) *Restrictions {
+ s.GeoRestriction = v
+ return s
+}
+
// A complex type that contains information about the Amazon S3 bucket from
// which you want CloudFront to get your media files for distribution.
type S3Origin struct {
@@ -6538,6 +7918,18 @@ func (s *S3Origin) Validate() error {
return nil
}
+// SetDomainName sets the DomainName field's value.
+func (s *S3Origin) SetDomainName(v string) *S3Origin {
+ s.DomainName = &v
+ return s
+}
+
+// SetOriginAccessIdentity sets the OriginAccessIdentity field's value.
+func (s *S3Origin) SetOriginAccessIdentity(v string) *S3Origin {
+ s.OriginAccessIdentity = &v
+ return s
+}
+
// A complex type that contains information about the Amazon S3 origin. If the
// origin is a custom origin, use the CustomOriginConfig element instead.
type S3OriginConfig struct {
@@ -6594,6 +7986,12 @@ func (s *S3OriginConfig) Validate() error {
return nil
}
+// SetOriginAccessIdentity sets the OriginAccessIdentity field's value.
+func (s *S3OriginConfig) SetOriginAccessIdentity(v string) *S3OriginConfig {
+ s.OriginAccessIdentity = &v
+ return s
+}
+
// 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.
type Signer struct {
@@ -6622,6 +8020,18 @@ func (s Signer) GoString() string {
return s.String()
}
+// SetAwsAccountNumber sets the AwsAccountNumber field's value.
+func (s *Signer) SetAwsAccountNumber(v string) *Signer {
+ s.AwsAccountNumber = &v
+ return s
+}
+
+// SetKeyPairIds sets the KeyPairIds field's value.
+func (s *Signer) SetKeyPairIds(v *KeyPairIds) *Signer {
+ s.KeyPairIds = v
+ return s
+}
+
// A streaming distribution.
type StreamingDistribution struct {
_ struct{} `type:"structure"`
@@ -6681,6 +8091,48 @@ func (s StreamingDistribution) GoString() string {
return s.String()
}
+// SetARN sets the ARN field's value.
+func (s *StreamingDistribution) SetARN(v string) *StreamingDistribution {
+ s.ARN = &v
+ return s
+}
+
+// SetActiveTrustedSigners sets the ActiveTrustedSigners field's value.
+func (s *StreamingDistribution) SetActiveTrustedSigners(v *ActiveTrustedSigners) *StreamingDistribution {
+ s.ActiveTrustedSigners = v
+ return s
+}
+
+// SetDomainName sets the DomainName field's value.
+func (s *StreamingDistribution) SetDomainName(v string) *StreamingDistribution {
+ s.DomainName = &v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *StreamingDistribution) SetId(v string) *StreamingDistribution {
+ s.Id = &v
+ return s
+}
+
+// SetLastModifiedTime sets the LastModifiedTime field's value.
+func (s *StreamingDistribution) SetLastModifiedTime(v time.Time) *StreamingDistribution {
+ s.LastModifiedTime = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *StreamingDistribution) SetStatus(v string) *StreamingDistribution {
+ s.Status = &v
+ return s
+}
+
+// SetStreamingDistributionConfig sets the StreamingDistributionConfig field's value.
+func (s *StreamingDistribution) SetStreamingDistributionConfig(v *StreamingDistributionConfig) *StreamingDistribution {
+ s.StreamingDistributionConfig = v
+ return s
+}
+
// The RTMP distribution's configuration information.
type StreamingDistributionConfig struct {
_ struct{} `type:"structure"`
@@ -6794,6 +8246,54 @@ func (s *StreamingDistributionConfig) Validate() error {
return nil
}
+// SetAliases sets the Aliases field's value.
+func (s *StreamingDistributionConfig) SetAliases(v *Aliases) *StreamingDistributionConfig {
+ s.Aliases = v
+ return s
+}
+
+// SetCallerReference sets the CallerReference field's value.
+func (s *StreamingDistributionConfig) SetCallerReference(v string) *StreamingDistributionConfig {
+ s.CallerReference = &v
+ return s
+}
+
+// SetComment sets the Comment field's value.
+func (s *StreamingDistributionConfig) SetComment(v string) *StreamingDistributionConfig {
+ s.Comment = &v
+ return s
+}
+
+// SetEnabled sets the Enabled field's value.
+func (s *StreamingDistributionConfig) SetEnabled(v bool) *StreamingDistributionConfig {
+ s.Enabled = &v
+ return s
+}
+
+// SetLogging sets the Logging field's value.
+func (s *StreamingDistributionConfig) SetLogging(v *StreamingLoggingConfig) *StreamingDistributionConfig {
+ s.Logging = v
+ return s
+}
+
+// SetPriceClass sets the PriceClass field's value.
+func (s *StreamingDistributionConfig) SetPriceClass(v string) *StreamingDistributionConfig {
+ s.PriceClass = &v
+ return s
+}
+
+// SetS3Origin sets the S3Origin field's value.
+func (s *StreamingDistributionConfig) SetS3Origin(v *S3Origin) *StreamingDistributionConfig {
+ s.S3Origin = v
+ return s
+}
+
+// SetTrustedSigners sets the TrustedSigners field's value.
+func (s *StreamingDistributionConfig) SetTrustedSigners(v *TrustedSigners) *StreamingDistributionConfig {
+ s.TrustedSigners = v
+ return s
+}
+
// A streaming distribution Configuration and a list of tags to be associated
// with the streaming distribution.
type StreamingDistributionConfigWithTags struct {
@@ -6846,6 +8346,18 @@ func (s *StreamingDistributionConfigWithTags) Validate() error {
return nil
}
+// SetStreamingDistributionConfig sets the StreamingDistributionConfig field's value.
+func (s *StreamingDistributionConfigWithTags) SetStreamingDistributionConfig(v *StreamingDistributionConfig) *StreamingDistributionConfigWithTags {
+ s.StreamingDistributionConfig = v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *StreamingDistributionConfigWithTags) SetTags(v *Tags) *StreamingDistributionConfigWithTags {
+ s.Tags = v
+ return s
+}
+
// A streaming distribution list.
type StreamingDistributionList struct {
_ struct{} `type:"structure"`
@@ -6894,6 +8406,42 @@ func (s StreamingDistributionList) GoString() string {
return s.String()
}
+// SetIsTruncated sets the IsTruncated field's value.
+func (s *StreamingDistributionList) SetIsTruncated(v bool) *StreamingDistributionList {
+ s.IsTruncated = &v
+ return s
+}
+
+// SetItems sets the Items field's value.
+func (s *StreamingDistributionList) SetItems(v []*StreamingDistributionSummary) *StreamingDistributionList {
+ s.Items = v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *StreamingDistributionList) SetMarker(v string) *StreamingDistributionList {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxItems sets the MaxItems field's value.
+func (s *StreamingDistributionList) SetMaxItems(v int64) *StreamingDistributionList {
+ s.MaxItems = &v
+ return s
+}
+
+// SetNextMarker sets the NextMarker field's value.
+func (s *StreamingDistributionList) SetNextMarker(v string) *StreamingDistributionList {
+ s.NextMarker = &v
+ return s
+}
+
+// SetQuantity sets the Quantity field's value.
+func (s *StreamingDistributionList) SetQuantity(v int64) *StreamingDistributionList {
+ s.Quantity = &v
+ return s
+}
+
// A summary of the information for an Amazon CloudFront streaming distribution.
type StreamingDistributionSummary struct {
_ struct{} `type:"structure"`
@@ -6977,6 +8525,72 @@ func (s StreamingDistributionSummary) GoString() string {
return s.String()
}
+// SetARN sets the ARN field's value.
+func (s *StreamingDistributionSummary) SetARN(v string) *StreamingDistributionSummary {
+ s.ARN = &v
+ return s
+}
+
+// SetAliases sets the Aliases field's value.
+func (s *StreamingDistributionSummary) SetAliases(v *Aliases) *StreamingDistributionSummary {
+ s.Aliases = v
+ return s
+}
+
+// SetComment sets the Comment field's value.
+func (s *StreamingDistributionSummary) SetComment(v string) *StreamingDistributionSummary {
+ s.Comment = &v
+ return s
+}
+
+// SetDomainName sets the DomainName field's value.
+func (s *StreamingDistributionSummary) SetDomainName(v string) *StreamingDistributionSummary {
+ s.DomainName = &v
+ return s
+}
+
+// SetEnabled sets the Enabled field's value.
+func (s *StreamingDistributionSummary) SetEnabled(v bool) *StreamingDistributionSummary {
+ s.Enabled = &v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *StreamingDistributionSummary) SetId(v string) *StreamingDistributionSummary {
+ s.Id = &v
+ return s
+}
+
+// SetLastModifiedTime sets the LastModifiedTime field's value.
+func (s *StreamingDistributionSummary) SetLastModifiedTime(v time.Time) *StreamingDistributionSummary {
+ s.LastModifiedTime = &v
+ return s
+}
+
+// SetPriceClass sets the PriceClass field's value.
+func (s *StreamingDistributionSummary) SetPriceClass(v string) *StreamingDistributionSummary {
+ s.PriceClass = &v
+ return s
+}
+
+// SetS3Origin sets the S3Origin field's value.
+func (s *StreamingDistributionSummary) SetS3Origin(v *S3Origin) *StreamingDistributionSummary {
+ s.S3Origin = v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *StreamingDistributionSummary) SetStatus(v string) *StreamingDistributionSummary {
+ s.Status = &v
+ return s
+}
+
+// SetTrustedSigners sets the TrustedSigners field's value.
+func (s *StreamingDistributionSummary) SetTrustedSigners(v *TrustedSigners) *StreamingDistributionSummary {
+ s.TrustedSigners = v
+ return s
+}
+
// A complex type that controls whether access logs are written for this streaming
// distribution.
type StreamingLoggingConfig struct {
@@ -7035,6 +8649,24 @@ func (s *StreamingLoggingConfig) Validate() error {
return nil
}
+// SetBucket sets the Bucket field's value.
+func (s *StreamingLoggingConfig) SetBucket(v string) *StreamingLoggingConfig {
+ s.Bucket = &v
+ return s
+}
+
+// SetEnabled sets the Enabled field's value.
+func (s *StreamingLoggingConfig) SetEnabled(v bool) *StreamingLoggingConfig {
+ s.Enabled = &v
+ return s
+}
+
+// SetPrefix sets the Prefix field's value.
+func (s *StreamingLoggingConfig) SetPrefix(v string) *StreamingLoggingConfig {
+ s.Prefix = &v
+ return s
+}
+
// A complex type that contains Tag key and Tag value.
type Tag struct {
_ struct{} `type:"structure"`
@@ -7080,6 +8712,18 @@ func (s *Tag) Validate() error {
return nil
}
+// 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
+}
+
// A complex type that contains zero or more Tag elements.
type TagKeys struct {
_ struct{} `type:"structure"`
@@ -7098,6 +8742,12 @@ func (s TagKeys) GoString() string {
return s.String()
}
+// SetItems sets the Items field's value.
+func (s *TagKeys) SetItems(v []*string) *TagKeys {
+ s.Items = v
+ return s
+}
+
// The request to add tags to a CloudFront resource.
type TagResourceInput struct {
_ struct{} `type:"structure" payload:"Tags"`
@@ -7144,6 +8794,18 @@ func (s *TagResourceInput) Validate() error {
return nil
}
+// SetResource sets the Resource field's value.
+func (s *TagResourceInput) SetResource(v string) *TagResourceInput {
+ s.Resource = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *TagResourceInput) SetTags(v *Tags) *TagResourceInput {
+ s.Tags = v
+ return s
+}
+
type TagResourceOutput struct {
_ struct{} `type:"structure"`
}
@@ -7196,6 +8858,12 @@ func (s *Tags) Validate() error {
return nil
}
+// SetItems sets the Items field's value.
+func (s *Tags) SetItems(v []*Tag) *Tags {
+ s.Items = v
+ return s
+}
+
// A complex type that specifies the AWS accounts, if any, that you want to
// allow to create signed URLs for private content.
//
@@ -7259,6 +8927,24 @@ func (s *TrustedSigners) Validate() error {
return nil
}
+// SetEnabled sets the Enabled field's value.
+func (s *TrustedSigners) SetEnabled(v bool) *TrustedSigners {
+ s.Enabled = &v
+ return s
+}
+
+// SetItems sets the Items field's value.
+func (s *TrustedSigners) SetItems(v []*string) *TrustedSigners {
+ s.Items = v
+ return s
+}
+
+// SetQuantity sets the Quantity field's value.
+func (s *TrustedSigners) SetQuantity(v int64) *TrustedSigners {
+ s.Quantity = &v
+ return s
+}
+
// The request to remove tags from a CloudFront resource.
type UntagResourceInput struct {
_ struct{} `type:"structure" payload:"TagKeys"`
@@ -7300,6 +8986,18 @@ func (s *UntagResourceInput) Validate() error {
return nil
}
+// SetResource sets the Resource field's value.
+func (s *UntagResourceInput) SetResource(v string) *UntagResourceInput {
+ s.Resource = &v
+ return s
+}
+
+// SetTagKeys sets the TagKeys field's value.
+func (s *UntagResourceInput) SetTagKeys(v *TagKeys) *UntagResourceInput {
+ s.TagKeys = v
+ return s
+}
+
type UntagResourceOutput struct {
_ struct{} `type:"structure"`
}
@@ -7364,6 +9062,24 @@ func (s *UpdateCloudFrontOriginAccessIdentityInput) Validate() error {
return nil
}
+// SetCloudFrontOriginAccessIdentityConfig sets the CloudFrontOriginAccessIdentityConfig field's value.
+func (s *UpdateCloudFrontOriginAccessIdentityInput) SetCloudFrontOriginAccessIdentityConfig(v *OriginAccessIdentityConfig) *UpdateCloudFrontOriginAccessIdentityInput {
+ s.CloudFrontOriginAccessIdentityConfig = v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *UpdateCloudFrontOriginAccessIdentityInput) SetId(v string) *UpdateCloudFrontOriginAccessIdentityInput {
+ s.Id = &v
+ return s
+}
+
+// SetIfMatch sets the IfMatch field's value.
+func (s *UpdateCloudFrontOriginAccessIdentityInput) SetIfMatch(v string) *UpdateCloudFrontOriginAccessIdentityInput {
+ s.IfMatch = &v
+ return s
+}
+
// The returned result of the corresponding request.
type UpdateCloudFrontOriginAccessIdentityOutput struct {
_ struct{} `type:"structure" payload:"CloudFrontOriginAccessIdentity"`
@@ -7385,6 +9101,18 @@ func (s UpdateCloudFrontOriginAccessIdentityOutput) GoString() string {
return s.String()
}
+// SetCloudFrontOriginAccessIdentity sets the CloudFrontOriginAccessIdentity field's value.
+func (s *UpdateCloudFrontOriginAccessIdentityOutput) SetCloudFrontOriginAccessIdentity(v *OriginAccessIdentity) *UpdateCloudFrontOriginAccessIdentityOutput {
+ s.CloudFrontOriginAccessIdentity = v
+ return s
+}
+
+// SetETag sets the ETag field's value.
+func (s *UpdateCloudFrontOriginAccessIdentityOutput) SetETag(v string) *UpdateCloudFrontOriginAccessIdentityOutput {
+ s.ETag = &v
+ return s
+}
+
// The request to update a distribution.
type UpdateDistributionInput struct {
_ struct{} `type:"structure" payload:"DistributionConfig"`
@@ -7435,6 +9163,24 @@ func (s *UpdateDistributionInput) Validate() error {
return nil
}
+// SetDistributionConfig sets the DistributionConfig field's value.
+func (s *UpdateDistributionInput) SetDistributionConfig(v *DistributionConfig) *UpdateDistributionInput {
+ s.DistributionConfig = v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *UpdateDistributionInput) SetId(v string) *UpdateDistributionInput {
+ s.Id = &v
+ return s
+}
+
+// SetIfMatch sets the IfMatch field's value.
+func (s *UpdateDistributionInput) SetIfMatch(v string) *UpdateDistributionInput {
+ s.IfMatch = &v
+ return s
+}
+
// The returned result of the corresponding request.
type UpdateDistributionOutput struct {
_ struct{} `type:"structure" payload:"Distribution"`
@@ -7456,6 +9202,18 @@ func (s UpdateDistributionOutput) GoString() string {
return s.String()
}
+// SetDistribution sets the Distribution field's value.
+func (s *UpdateDistributionOutput) SetDistribution(v *Distribution) *UpdateDistributionOutput {
+ s.Distribution = v
+ return s
+}
+
+// SetETag sets the ETag field's value.
+func (s *UpdateDistributionOutput) SetETag(v string) *UpdateDistributionOutput {
+ s.ETag = &v
+ return s
+}
+
// The request to update a streaming distribution.
type UpdateStreamingDistributionInput struct {
_ struct{} `type:"structure" payload:"StreamingDistributionConfig"`
@@ -7506,6 +9264,24 @@ func (s *UpdateStreamingDistributionInput) Validate() error {
return nil
}
+// SetId sets the Id field's value.
+func (s *UpdateStreamingDistributionInput) SetId(v string) *UpdateStreamingDistributionInput {
+ s.Id = &v
+ return s
+}
+
+// SetIfMatch sets the IfMatch field's value.
+func (s *UpdateStreamingDistributionInput) SetIfMatch(v string) *UpdateStreamingDistributionInput {
+ s.IfMatch = &v
+ return s
+}
+
+// SetStreamingDistributionConfig sets the StreamingDistributionConfig field's value.
+func (s *UpdateStreamingDistributionInput) SetStreamingDistributionConfig(v *StreamingDistributionConfig) *UpdateStreamingDistributionInput {
+ s.StreamingDistributionConfig = v
+ return s
+}
+
// The returned result of the corresponding request.
type UpdateStreamingDistributionOutput struct {
_ struct{} `type:"structure" payload:"StreamingDistribution"`
@@ -7527,6 +9303,18 @@ func (s UpdateStreamingDistributionOutput) GoString() string {
return s.String()
}
+// SetETag sets the ETag field's value.
+func (s *UpdateStreamingDistributionOutput) SetETag(v string) *UpdateStreamingDistributionOutput {
+ s.ETag = &v
+ return s
+}
+
+// SetStreamingDistribution sets the StreamingDistribution field's value.
+func (s *UpdateStreamingDistributionOutput) SetStreamingDistribution(v *StreamingDistribution) *UpdateStreamingDistributionOutput {
+ s.StreamingDistribution = v
+ return s
+}
+
// A complex type that specifies the following:
//
// * Which SSL/TLS certificate to use when viewers request objects using
@@ -7703,6 +9491,48 @@ func (s ViewerCertificate) GoString() string {
return s.String()
}
+// SetACMCertificateArn sets the ACMCertificateArn field's value.
+func (s *ViewerCertificate) SetACMCertificateArn(v string) *ViewerCertificate {
+ s.ACMCertificateArn = &v
+ return s
+}
+
+// SetCertificate sets the Certificate field's value.
+func (s *ViewerCertificate) SetCertificate(v string) *ViewerCertificate {
+ s.Certificate = &v
+ return s
+}
+
+// SetCertificateSource sets the CertificateSource field's value.
+func (s *ViewerCertificate) SetCertificateSource(v string) *ViewerCertificate {
+ s.CertificateSource = &v
+ return s
+}
+
+// SetCloudFrontDefaultCertificate sets the CloudFrontDefaultCertificate field's value.
+func (s *ViewerCertificate) SetCloudFrontDefaultCertificate(v bool) *ViewerCertificate {
+ s.CloudFrontDefaultCertificate = &v
+ return s
+}
+
+// SetIAMCertificateId sets the IAMCertificateId field's value.
+func (s *ViewerCertificate) SetIAMCertificateId(v string) *ViewerCertificate {
+ s.IAMCertificateId = &v
+ return s
+}
+
+// SetMinimumProtocolVersion sets the MinimumProtocolVersion field's value.
+func (s *ViewerCertificate) SetMinimumProtocolVersion(v string) *ViewerCertificate {
+ s.MinimumProtocolVersion = &v
+ return s
+}
+
+// SetSSLSupportMethod sets the SSLSupportMethod field's value.
+func (s *ViewerCertificate) SetSSLSupportMethod(v string) *ViewerCertificate {
+ s.SSLSupportMethod = &v
+ return s
+}
+
const (
// CertificateSourceCloudfront is a CertificateSource enum value
CertificateSourceCloudfront = "cloudfront"
diff --git a/vendor/github.com/aws/aws-sdk-go/service/cloudhsm/api.go b/vendor/github.com/aws/aws-sdk-go/service/cloudhsm/api.go
index 187237b..71a9b5e 100644
--- a/vendor/github.com/aws/aws-sdk-go/service/cloudhsm/api.go
+++ b/vendor/github.com/aws/aws-sdk-go/service/cloudhsm/api.go
@@ -1498,6 +1498,18 @@ func (s *AddTagsToResourceInput) Validate() error {
return nil
}
+// SetResourceArn sets the ResourceArn field's value.
+func (s *AddTagsToResourceInput) SetResourceArn(v string) *AddTagsToResourceInput {
+ s.ResourceArn = &v
+ return s
+}
+
+// SetTagList sets the TagList field's value.
+func (s *AddTagsToResourceInput) SetTagList(v []*Tag) *AddTagsToResourceInput {
+ s.TagList = v
+ return s
+}
+
type AddTagsToResourceOutput struct {
_ struct{} `type:"structure"`
@@ -1517,6 +1529,12 @@ func (s AddTagsToResourceOutput) GoString() string {
return s.String()
}
+// SetStatus sets the Status field's value.
+func (s *AddTagsToResourceOutput) SetStatus(v string) *AddTagsToResourceOutput {
+ s.Status = &v
+ return s
+}
+
// Contains the inputs for the CreateHapgRequest action.
type CreateHapgInput struct {
_ struct{} `type:"structure"`
@@ -1550,6 +1568,12 @@ func (s *CreateHapgInput) Validate() error {
return nil
}
+// SetLabel sets the Label field's value.
+func (s *CreateHapgInput) SetLabel(v string) *CreateHapgInput {
+ s.Label = &v
+ return s
+}
+
// Contains the output of the CreateHAPartitionGroup action.
type CreateHapgOutput struct {
_ struct{} `type:"structure"`
@@ -1568,6 +1592,12 @@ func (s CreateHapgOutput) GoString() string {
return s.String()
}
+// SetHapgArn sets the HapgArn field's value.
+func (s *CreateHapgOutput) SetHapgArn(v string) *CreateHapgOutput {
+ s.HapgArn = &v
+ return s
+}
+
// Contains the inputs for the CreateHsm operation.
type CreateHsmInput struct {
_ struct{} `locationName:"CreateHsmRequest" type:"structure"`
@@ -1646,6 +1676,54 @@ func (s *CreateHsmInput) Validate() error {
return nil
}
+// SetClientToken sets the ClientToken field's value.
+func (s *CreateHsmInput) SetClientToken(v string) *CreateHsmInput {
+ s.ClientToken = &v
+ return s
+}
+
+// SetEniIp sets the EniIp field's value.
+func (s *CreateHsmInput) SetEniIp(v string) *CreateHsmInput {
+ s.EniIp = &v
+ return s
+}
+
+// SetExternalId sets the ExternalId field's value.
+func (s *CreateHsmInput) SetExternalId(v string) *CreateHsmInput {
+ s.ExternalId = &v
+ return s
+}
+
+// SetIamRoleArn sets the IamRoleArn field's value.
+func (s *CreateHsmInput) SetIamRoleArn(v string) *CreateHsmInput {
+ s.IamRoleArn = &v
+ return s
+}
+
+// SetSshKey sets the SshKey field's value.
+func (s *CreateHsmInput) SetSshKey(v string) *CreateHsmInput {
+ s.SshKey = &v
+ return s
+}
+
+// SetSubnetId sets the SubnetId field's value.
+func (s *CreateHsmInput) SetSubnetId(v string) *CreateHsmInput {
+ s.SubnetId = &v
+ return s
+}
+
+// SetSubscriptionType sets the SubscriptionType field's value.
+func (s *CreateHsmInput) SetSubscriptionType(v string) *CreateHsmInput {
+ s.SubscriptionType = &v
+ return s
+}
+
+// SetSyslogIp sets the SyslogIp field's value.
+func (s *CreateHsmInput) SetSyslogIp(v string) *CreateHsmInput {
+ s.SyslogIp = &v
+ return s
+}
+
// Contains the output of the CreateHsm operation.
type CreateHsmOutput struct {
_ struct{} `type:"structure"`
@@ -1664,6 +1742,12 @@ func (s CreateHsmOutput) GoString() string {
return s.String()
}
+// SetHsmArn sets the HsmArn field's value.
+func (s *CreateHsmOutput) SetHsmArn(v string) *CreateHsmOutput {
+ s.HsmArn = &v
+ return s
+}
+
// Contains the inputs for the CreateLunaClient action.
type CreateLunaClientInput struct {
_ struct{} `type:"structure"`
@@ -1704,6 +1788,18 @@ func (s *CreateLunaClientInput) Validate() error {
return nil
}
+// SetCertificate sets the Certificate field's value.
+func (s *CreateLunaClientInput) SetCertificate(v string) *CreateLunaClientInput {
+ s.Certificate = &v
+ return s
+}
+
+// SetLabel sets the Label field's value.
+func (s *CreateLunaClientInput) SetLabel(v string) *CreateLunaClientInput {
+ s.Label = &v
+ return s
+}
+
// Contains the output of the CreateLunaClient action.
type CreateLunaClientOutput struct {
_ struct{} `type:"structure"`
@@ -1722,6 +1818,12 @@ func (s CreateLunaClientOutput) GoString() string {
return s.String()
}
+// SetClientArn sets the ClientArn field's value.
+func (s *CreateLunaClientOutput) SetClientArn(v string) *CreateLunaClientOutput {
+ s.ClientArn = &v
+ return s
+}
+
// Contains the inputs for the DeleteHapg action.
type DeleteHapgInput struct {
_ struct{} `type:"structure"`
@@ -1755,6 +1857,12 @@ func (s *DeleteHapgInput) Validate() error {
return nil
}
+// SetHapgArn sets the HapgArn field's value.
+func (s *DeleteHapgInput) SetHapgArn(v string) *DeleteHapgInput {
+ s.HapgArn = &v
+ return s
+}
+
// Contains the output of the DeleteHapg action.
type DeleteHapgOutput struct {
_ struct{} `type:"structure"`
@@ -1775,6 +1883,12 @@ func (s DeleteHapgOutput) GoString() string {
return s.String()
}
+// SetStatus sets the Status field's value.
+func (s *DeleteHapgOutput) SetStatus(v string) *DeleteHapgOutput {
+ s.Status = &v
+ return s
+}
+
// Contains the inputs for the DeleteHsm operation.
type DeleteHsmInput struct {
_ struct{} `locationName:"DeleteHsmRequest" type:"structure"`
@@ -1808,6 +1922,12 @@ func (s *DeleteHsmInput) Validate() error {
return nil
}
+// SetHsmArn sets the HsmArn field's value.
+func (s *DeleteHsmInput) SetHsmArn(v string) *DeleteHsmInput {
+ s.HsmArn = &v
+ return s
+}
+
// Contains the output of the DeleteHsm operation.
type DeleteHsmOutput struct {
_ struct{} `type:"structure"`
@@ -1828,6 +1948,12 @@ func (s DeleteHsmOutput) GoString() string {
return s.String()
}
+// SetStatus sets the Status field's value.
+func (s *DeleteHsmOutput) SetStatus(v string) *DeleteHsmOutput {
+ s.Status = &v
+ return s
+}
+
type DeleteLunaClientInput struct {
_ struct{} `type:"structure"`
@@ -1860,6 +1986,12 @@ func (s *DeleteLunaClientInput) Validate() error {
return nil
}
+// SetClientArn sets the ClientArn field's value.
+func (s *DeleteLunaClientInput) SetClientArn(v string) *DeleteLunaClientInput {
+ s.ClientArn = &v
+ return s
+}
+
type DeleteLunaClientOutput struct {
_ struct{} `type:"structure"`
@@ -1879,6 +2011,12 @@ func (s DeleteLunaClientOutput) GoString() string {
return s.String()
}
+// SetStatus sets the Status field's value.
+func (s *DeleteLunaClientOutput) SetStatus(v string) *DeleteLunaClientOutput {
+ s.Status = &v
+ return s
+}
+
// Contains the inputs for the DescribeHapg action.
type DescribeHapgInput struct {
_ struct{} `type:"structure"`
@@ -1912,6 +2050,12 @@ func (s *DescribeHapgInput) Validate() error {
return nil
}
+// SetHapgArn sets the HapgArn field's value.
+func (s *DescribeHapgInput) SetHapgArn(v string) *DescribeHapgInput {
+ s.HapgArn = &v
+ return s
+}
+
// Contains the output of the DescribeHapg action.
type DescribeHapgOutput struct {
_ struct{} `type:"structure"`
@@ -1955,6 +2099,60 @@ func (s DescribeHapgOutput) GoString() string {
return s.String()
}
+// SetHapgArn sets the HapgArn field's value.
+func (s *DescribeHapgOutput) SetHapgArn(v string) *DescribeHapgOutput {
+ s.HapgArn = &v
+ return s
+}
+
+// SetHapgSerial sets the HapgSerial field's value.
+func (s *DescribeHapgOutput) SetHapgSerial(v string) *DescribeHapgOutput {
+ s.HapgSerial = &v
+ return s
+}
+
+// SetHsmsLastActionFailed sets the HsmsLastActionFailed field's value.
+func (s *DescribeHapgOutput) SetHsmsLastActionFailed(v []*string) *DescribeHapgOutput {
+ s.HsmsLastActionFailed = v
+ return s
+}
+
+// SetHsmsPendingDeletion sets the HsmsPendingDeletion field's value.
+func (s *DescribeHapgOutput) SetHsmsPendingDeletion(v []*string) *DescribeHapgOutput {
+ s.HsmsPendingDeletion = v
+ return s
+}
+
+// SetHsmsPendingRegistration sets the HsmsPendingRegistration field's value.
+func (s *DescribeHapgOutput) SetHsmsPendingRegistration(v []*string) *DescribeHapgOutput {
+ s.HsmsPendingRegistration = v
+ return s
+}
+
+// SetLabel sets the Label field's value.
+func (s *DescribeHapgOutput) SetLabel(v string) *DescribeHapgOutput {
+ s.Label = &v
+ return s
+}
+
+// SetLastModifiedTimestamp sets the LastModifiedTimestamp field's value.
+func (s *DescribeHapgOutput) SetLastModifiedTimestamp(v string) *DescribeHapgOutput {
+ s.LastModifiedTimestamp = &v
+ return s
+}
+
+// SetPartitionSerialList sets the PartitionSerialList field's value.
+func (s *DescribeHapgOutput) SetPartitionSerialList(v []*string) *DescribeHapgOutput {
+ s.PartitionSerialList = v
+ return s
+}
+
+// SetState sets the State field's value.
+func (s *DescribeHapgOutput) SetState(v string) *DescribeHapgOutput {
+ s.State = &v
+ return s
+}
+
// Contains the inputs for the DescribeHsm operation.
type DescribeHsmInput struct {
_ struct{} `type:"structure"`
@@ -1978,6 +2176,18 @@ func (s DescribeHsmInput) GoString() string {
return s.String()
}
+// SetHsmArn sets the HsmArn field's value.
+func (s *DescribeHsmInput) SetHsmArn(v string) *DescribeHsmInput {
+ s.HsmArn = &v
+ return s
+}
+
+// SetHsmSerialNumber sets the HsmSerialNumber field's value.
+func (s *DescribeHsmInput) SetHsmSerialNumber(v string) *DescribeHsmInput {
+ s.HsmSerialNumber = &v
+ return s
+}
+
// Contains the output of the DescribeHsm operation.
type DescribeHsmOutput struct {
_ struct{} `type:"structure"`
@@ -2059,6 +2269,132 @@ func (s DescribeHsmOutput) GoString() string {
return s.String()
}
+// SetAvailabilityZone sets the AvailabilityZone field's value.
+func (s *DescribeHsmOutput) SetAvailabilityZone(v string) *DescribeHsmOutput {
+ s.AvailabilityZone = &v
+ return s
+}
+
+// SetEniId sets the EniId field's value.
+func (s *DescribeHsmOutput) SetEniId(v string) *DescribeHsmOutput {
+ s.EniId = &v
+ return s
+}
+
+// SetEniIp sets the EniIp field's value.
+func (s *DescribeHsmOutput) SetEniIp(v string) *DescribeHsmOutput {
+ s.EniIp = &v
+ return s
+}
+
+// SetHsmArn sets the HsmArn field's value.
+func (s *DescribeHsmOutput) SetHsmArn(v string) *DescribeHsmOutput {
+ s.HsmArn = &v
+ return s
+}
+
+// SetHsmType sets the HsmType field's value.
+func (s *DescribeHsmOutput) SetHsmType(v string) *DescribeHsmOutput {
+ s.HsmType = &v
+ return s
+}
+
+// SetIamRoleArn sets the IamRoleArn field's value.
+func (s *DescribeHsmOutput) SetIamRoleArn(v string) *DescribeHsmOutput {
+ s.IamRoleArn = &v
+ return s
+}
+
+// SetPartitions sets the Partitions field's value.
+func (s *DescribeHsmOutput) SetPartitions(v []*string) *DescribeHsmOutput {
+ s.Partitions = v
+ return s
+}
+
+// SetSerialNumber sets the SerialNumber field's value.
+func (s *DescribeHsmOutput) SetSerialNumber(v string) *DescribeHsmOutput {
+ s.SerialNumber = &v
+ return s
+}
+
+// SetServerCertLastUpdated sets the ServerCertLastUpdated field's value.
+func (s *DescribeHsmOutput) SetServerCertLastUpdated(v string) *DescribeHsmOutput {
+ s.ServerCertLastUpdated = &v
+ return s
+}
+
+// SetServerCertUri sets the ServerCertUri field's value.
+func (s *DescribeHsmOutput) SetServerCertUri(v string) *DescribeHsmOutput {
+ s.ServerCertUri = &v
+ return s
+}
+
+// SetSoftwareVersion sets the SoftwareVersion field's value.
+func (s *DescribeHsmOutput) SetSoftwareVersion(v string) *DescribeHsmOutput {
+ s.SoftwareVersion = &v
+ return s
+}
+
+// SetSshKeyLastUpdated sets the SshKeyLastUpdated field's value.
+func (s *DescribeHsmOutput) SetSshKeyLastUpdated(v string) *DescribeHsmOutput {
+ s.SshKeyLastUpdated = &v
+ return s
+}
+
+// SetSshPublicKey sets the SshPublicKey field's value.
+func (s *DescribeHsmOutput) SetSshPublicKey(v string) *DescribeHsmOutput {
+ s.SshPublicKey = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *DescribeHsmOutput) SetStatus(v string) *DescribeHsmOutput {
+ s.Status = &v
+ return s
+}
+
+// SetStatusDetails sets the StatusDetails field's value.
+func (s *DescribeHsmOutput) SetStatusDetails(v string) *DescribeHsmOutput {
+ s.StatusDetails = &v
+ return s
+}
+
+// SetSubnetId sets the SubnetId field's value.
+func (s *DescribeHsmOutput) SetSubnetId(v string) *DescribeHsmOutput {
+ s.SubnetId = &v
+ return s
+}
+
+// SetSubscriptionEndDate sets the SubscriptionEndDate field's value.
+func (s *DescribeHsmOutput) SetSubscriptionEndDate(v string) *DescribeHsmOutput {
+ s.SubscriptionEndDate = &v
+ return s
+}
+
+// SetSubscriptionStartDate sets the SubscriptionStartDate field's value.
+func (s *DescribeHsmOutput) SetSubscriptionStartDate(v string) *DescribeHsmOutput {
+ s.SubscriptionStartDate = &v
+ return s
+}
+
+// SetSubscriptionType sets the SubscriptionType field's value.
+func (s *DescribeHsmOutput) SetSubscriptionType(v string) *DescribeHsmOutput {
+ s.SubscriptionType = &v
+ return s
+}
+
+// SetVendorName sets the VendorName field's value.
+func (s *DescribeHsmOutput) SetVendorName(v string) *DescribeHsmOutput {
+ s.VendorName = &v
+ return s
+}
+
+// SetVpcId sets the VpcId field's value.
+func (s *DescribeHsmOutput) SetVpcId(v string) *DescribeHsmOutput {
+ s.VpcId = &v
+ return s
+}
+
type DescribeLunaClientInput struct {
_ struct{} `type:"structure"`
@@ -2079,6 +2415,18 @@ func (s DescribeLunaClientInput) GoString() string {
return s.String()
}
+// SetCertificateFingerprint sets the CertificateFingerprint field's value.
+func (s *DescribeLunaClientInput) SetCertificateFingerprint(v string) *DescribeLunaClientInput {
+ s.CertificateFingerprint = &v
+ return s
+}
+
+// SetClientArn sets the ClientArn field's value.
+func (s *DescribeLunaClientInput) SetClientArn(v string) *DescribeLunaClientInput {
+ s.ClientArn = &v
+ return s
+}
+
type DescribeLunaClientOutput struct {
_ struct{} `type:"structure"`
@@ -2108,6 +2456,36 @@ func (s DescribeLunaClientOutput) GoString() string {
return s.String()
}
+// SetCertificate sets the Certificate field's value.
+func (s *DescribeLunaClientOutput) SetCertificate(v string) *DescribeLunaClientOutput {
+ s.Certificate = &v
+ return s
+}
+
+// SetCertificateFingerprint sets the CertificateFingerprint field's value.
+func (s *DescribeLunaClientOutput) SetCertificateFingerprint(v string) *DescribeLunaClientOutput {
+ s.CertificateFingerprint = &v
+ return s
+}
+
+// SetClientArn sets the ClientArn field's value.
+func (s *DescribeLunaClientOutput) SetClientArn(v string) *DescribeLunaClientOutput {
+ s.ClientArn = &v
+ return s
+}
+
+// SetLabel sets the Label field's value.
+func (s *DescribeLunaClientOutput) SetLabel(v string) *DescribeLunaClientOutput {
+ s.Label = &v
+ return s
+}
+
+// SetLastModifiedTimestamp sets the LastModifiedTimestamp field's value.
+func (s *DescribeLunaClientOutput) SetLastModifiedTimestamp(v string) *DescribeLunaClientOutput {
+ s.LastModifiedTimestamp = &v
+ return s
+}
+
type GetConfigInput struct {
_ struct{} `type:"structure"`
@@ -2157,6 +2535,24 @@ func (s *GetConfigInput) Validate() error {
return nil
}
+// SetClientArn sets the ClientArn field's value.
+func (s *GetConfigInput) SetClientArn(v string) *GetConfigInput {
+ s.ClientArn = &v
+ return s
+}
+
+// SetClientVersion sets the ClientVersion field's value.
+func (s *GetConfigInput) SetClientVersion(v string) *GetConfigInput {
+ s.ClientVersion = &v
+ return s
+}
+
+// SetHapgList sets the HapgList field's value.
+func (s *GetConfigInput) SetHapgList(v []*string) *GetConfigInput {
+ s.HapgList = v
+ return s
+}
+
type GetConfigOutput struct {
_ struct{} `type:"structure"`
@@ -2180,6 +2576,24 @@ func (s GetConfigOutput) GoString() string {
return s.String()
}
+// SetConfigCred sets the ConfigCred field's value.
+func (s *GetConfigOutput) SetConfigCred(v string) *GetConfigOutput {
+ s.ConfigCred = &v
+ return s
+}
+
+// SetConfigFile sets the ConfigFile field's value.
+func (s *GetConfigOutput) SetConfigFile(v string) *GetConfigOutput {
+ s.ConfigFile = &v
+ return s
+}
+
+// SetConfigType sets the ConfigType field's value.
+func (s *GetConfigOutput) SetConfigType(v string) *GetConfigOutput {
+ s.ConfigType = &v
+ return s
+}
+
// Contains the inputs for the ListAvailableZones action.
type ListAvailableZonesInput struct {
_ struct{} `type:"structure"`
@@ -2212,6 +2626,12 @@ func (s ListAvailableZonesOutput) GoString() string {
return s.String()
}
+// SetAZList sets the AZList field's value.
+func (s *ListAvailableZonesOutput) SetAZList(v []*string) *ListAvailableZonesOutput {
+ s.AZList = v
+ return s
+}
+
type ListHapgsInput struct {
_ struct{} `type:"structure"`
@@ -2230,6 +2650,12 @@ func (s ListHapgsInput) GoString() string {
return s.String()
}
+// SetNextToken sets the NextToken field's value.
+func (s *ListHapgsInput) SetNextToken(v string) *ListHapgsInput {
+ s.NextToken = &v
+ return s
+}
+
type ListHapgsOutput struct {
_ struct{} `type:"structure"`
@@ -2253,6 +2679,18 @@ func (s ListHapgsOutput) GoString() string {
return s.String()
}
+// SetHapgList sets the HapgList field's value.
+func (s *ListHapgsOutput) SetHapgList(v []*string) *ListHapgsOutput {
+ s.HapgList = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListHapgsOutput) SetNextToken(v string) *ListHapgsOutput {
+ s.NextToken = &v
+ return s
+}
+
type ListHsmsInput struct {
_ struct{} `type:"structure"`
@@ -2271,6 +2709,12 @@ func (s ListHsmsInput) GoString() string {
return s.String()
}
+// SetNextToken sets the NextToken field's value.
+func (s *ListHsmsInput) SetNextToken(v string) *ListHsmsInput {
+ s.NextToken = &v
+ return s
+}
+
// Contains the output of the ListHsms operation.
type ListHsmsOutput struct {
_ struct{} `type:"structure"`
@@ -2293,6 +2737,18 @@ func (s ListHsmsOutput) GoString() string {
return s.String()
}
+// SetHsmList sets the HsmList field's value.
+func (s *ListHsmsOutput) SetHsmList(v []*string) *ListHsmsOutput {
+ s.HsmList = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListHsmsOutput) SetNextToken(v string) *ListHsmsOutput {
+ s.NextToken = &v
+ return s
+}
+
type ListLunaClientsInput struct {
_ struct{} `type:"structure"`
@@ -2311,6 +2767,12 @@ func (s ListLunaClientsInput) GoString() string {
return s.String()
}
+// SetNextToken sets the NextToken field's value.
+func (s *ListLunaClientsInput) SetNextToken(v string) *ListLunaClientsInput {
+ s.NextToken = &v
+ return s
+}
+
type ListLunaClientsOutput struct {
_ struct{} `type:"structure"`
@@ -2334,6 +2796,18 @@ func (s ListLunaClientsOutput) GoString() string {
return s.String()
}
+// SetClientList sets the ClientList field's value.
+func (s *ListLunaClientsOutput) SetClientList(v []*string) *ListLunaClientsOutput {
+ s.ClientList = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListLunaClientsOutput) SetNextToken(v string) *ListLunaClientsOutput {
+ s.NextToken = &v
+ return s
+}
+
type ListTagsForResourceInput struct {
_ struct{} `type:"structure"`
@@ -2366,6 +2840,12 @@ func (s *ListTagsForResourceInput) Validate() error {
return nil
}
+// SetResourceArn sets the ResourceArn field's value.
+func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput {
+ s.ResourceArn = &v
+ return s
+}
+
type ListTagsForResourceOutput struct {
_ struct{} `type:"structure"`
@@ -2385,6 +2865,12 @@ func (s ListTagsForResourceOutput) GoString() string {
return s.String()
}
+// SetTagList sets the TagList field's value.
+func (s *ListTagsForResourceOutput) SetTagList(v []*Tag) *ListTagsForResourceOutput {
+ s.TagList = v
+ return s
+}
+
type ModifyHapgInput struct {
_ struct{} `type:"structure"`
@@ -2424,6 +2910,24 @@ func (s *ModifyHapgInput) Validate() error {
return nil
}
+// SetHapgArn sets the HapgArn field's value.
+func (s *ModifyHapgInput) SetHapgArn(v string) *ModifyHapgInput {
+ s.HapgArn = &v
+ return s
+}
+
+// SetLabel sets the Label field's value.
+func (s *ModifyHapgInput) SetLabel(v string) *ModifyHapgInput {
+ s.Label = &v
+ return s
+}
+
+// SetPartitionSerialList sets the PartitionSerialList field's value.
+func (s *ModifyHapgInput) SetPartitionSerialList(v []*string) *ModifyHapgInput {
+ s.PartitionSerialList = v
+ return s
+}
+
type ModifyHapgOutput struct {
_ struct{} `type:"structure"`
@@ -2441,6 +2945,12 @@ func (s ModifyHapgOutput) GoString() string {
return s.String()
}
+// SetHapgArn sets the HapgArn field's value.
+func (s *ModifyHapgOutput) SetHapgArn(v string) *ModifyHapgOutput {
+ s.HapgArn = &v
+ return s
+}
+
// Contains the inputs for the ModifyHsm operation.
type ModifyHsmInput struct {
_ struct{} `locationName:"ModifyHsmRequest" type:"structure"`
@@ -2495,6 +3005,42 @@ func (s *ModifyHsmInput) Validate() error {
return nil
}
+// SetEniIp sets the EniIp field's value.
+func (s *ModifyHsmInput) SetEniIp(v string) *ModifyHsmInput {
+ s.EniIp = &v
+ return s
+}
+
+// SetExternalId sets the ExternalId field's value.
+func (s *ModifyHsmInput) SetExternalId(v string) *ModifyHsmInput {
+ s.ExternalId = &v
+ return s
+}
+
+// SetHsmArn sets the HsmArn field's value.
+func (s *ModifyHsmInput) SetHsmArn(v string) *ModifyHsmInput {
+ s.HsmArn = &v
+ return s
+}
+
+// SetIamRoleArn sets the IamRoleArn field's value.
+func (s *ModifyHsmInput) SetIamRoleArn(v string) *ModifyHsmInput {
+ s.IamRoleArn = &v
+ return s
+}
+
+// SetSubnetId sets the SubnetId field's value.
+func (s *ModifyHsmInput) SetSubnetId(v string) *ModifyHsmInput {
+ s.SubnetId = &v
+ return s
+}
+
+// SetSyslogIp sets the SyslogIp field's value.
+func (s *ModifyHsmInput) SetSyslogIp(v string) *ModifyHsmInput {
+ s.SyslogIp = &v
+ return s
+}
+
// Contains the output of the ModifyHsm operation.
type ModifyHsmOutput struct {
_ struct{} `type:"structure"`
@@ -2513,6 +3059,12 @@ func (s ModifyHsmOutput) GoString() string {
return s.String()
}
+// SetHsmArn sets the HsmArn field's value.
+func (s *ModifyHsmOutput) SetHsmArn(v string) *ModifyHsmOutput {
+ s.HsmArn = &v
+ return s
+}
+
type ModifyLunaClientInput struct {
_ struct{} `type:"structure"`
@@ -2556,6 +3108,18 @@ func (s *ModifyLunaClientInput) Validate() error {
return nil
}
+// SetCertificate sets the Certificate field's value.
+func (s *ModifyLunaClientInput) SetCertificate(v string) *ModifyLunaClientInput {
+ s.Certificate = &v
+ return s
+}
+
+// SetClientArn sets the ClientArn field's value.
+func (s *ModifyLunaClientInput) SetClientArn(v string) *ModifyLunaClientInput {
+ s.ClientArn = &v
+ return s
+}
+
type ModifyLunaClientOutput struct {
_ struct{} `type:"structure"`
@@ -2573,6 +3137,12 @@ func (s ModifyLunaClientOutput) GoString() string {
return s.String()
}
+// SetClientArn sets the ClientArn field's value.
+func (s *ModifyLunaClientOutput) SetClientArn(v string) *ModifyLunaClientOutput {
+ s.ClientArn = &v
+ return s
+}
+
type RemoveTagsFromResourceInput struct {
_ struct{} `type:"structure"`
@@ -2616,6 +3186,18 @@ func (s *RemoveTagsFromResourceInput) Validate() error {
return nil
}
+// SetResourceArn sets the ResourceArn field's value.
+func (s *RemoveTagsFromResourceInput) SetResourceArn(v string) *RemoveTagsFromResourceInput {
+ s.ResourceArn = &v
+ return s
+}
+
+// SetTagKeyList sets the TagKeyList field's value.
+func (s *RemoveTagsFromResourceInput) SetTagKeyList(v []*string) *RemoveTagsFromResourceInput {
+ s.TagKeyList = v
+ return s
+}
+
type RemoveTagsFromResourceOutput struct {
_ struct{} `type:"structure"`
@@ -2635,6 +3217,12 @@ func (s RemoveTagsFromResourceOutput) GoString() string {
return s.String()
}
+// SetStatus sets the Status field's value.
+func (s *RemoveTagsFromResourceOutput) SetStatus(v string) *RemoveTagsFromResourceOutput {
+ s.Status = &v
+ return s
+}
+
// A key-value pair that identifies or specifies metadata about an AWS CloudHSM
// resource.
type Tag struct {
@@ -2680,6 +3268,18 @@ func (s *Tag) Validate() error {
return nil
}
+// 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
+}
+
const (
// ClientVersion51 is a ClientVersion enum value
ClientVersion51 = "5.1"
diff --git a/vendor/github.com/aws/aws-sdk-go/service/cloudsearch/api.go b/vendor/github.com/aws/aws-sdk-go/service/cloudsearch/api.go
index 4b6006b..80ba863 100644
--- a/vendor/github.com/aws/aws-sdk-go/service/cloudsearch/api.go
+++ b/vendor/github.com/aws/aws-sdk-go/service/cloudsearch/api.go
@@ -1904,6 +1904,18 @@ func (s AccessPoliciesStatus) GoString() string {
return s.String()
}
+// SetOptions sets the Options field's value.
+func (s *AccessPoliciesStatus) SetOptions(v string) *AccessPoliciesStatus {
+ s.Options = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *AccessPoliciesStatus) SetStatus(v *OptionStatus) *AccessPoliciesStatus {
+ s.Status = v
+ return s
+}
+
// Synonyms, stopwords, and stemming options for an analysis scheme. Includes
// tokenization dictionary for Japanese.
type AnalysisOptions struct {
@@ -1956,6 +1968,36 @@ func (s AnalysisOptions) GoString() string {
return s.String()
}
+// SetAlgorithmicStemming sets the AlgorithmicStemming field's value.
+func (s *AnalysisOptions) SetAlgorithmicStemming(v string) *AnalysisOptions {
+ s.AlgorithmicStemming = &v
+ return s
+}
+
+// SetJapaneseTokenizationDictionary sets the JapaneseTokenizationDictionary field's value.
+func (s *AnalysisOptions) SetJapaneseTokenizationDictionary(v string) *AnalysisOptions {
+ s.JapaneseTokenizationDictionary = &v
+ return s
+}
+
+// SetStemmingDictionary sets the StemmingDictionary field's value.
+func (s *AnalysisOptions) SetStemmingDictionary(v string) *AnalysisOptions {
+ s.StemmingDictionary = &v
+ return s
+}
+
+// SetStopwords sets the Stopwords field's value.
+func (s *AnalysisOptions) SetStopwords(v string) *AnalysisOptions {
+ s.Stopwords = &v
+ return s
+}
+
+// SetSynonyms sets the Synonyms field's value.
+func (s *AnalysisOptions) SetSynonyms(v string) *AnalysisOptions {
+ s.Synonyms = &v
+ return s
+}
+
// Configuration information for an analysis scheme. Each analysis scheme has
// a unique name and specifies the language of the text to be processed. The
// following options can be configured for an analysis scheme: Synonyms, Stopwords,
@@ -2009,6 +2051,24 @@ func (s *AnalysisScheme) Validate() error {
return nil
}
+// SetAnalysisOptions sets the AnalysisOptions field's value.
+func (s *AnalysisScheme) SetAnalysisOptions(v *AnalysisOptions) *AnalysisScheme {
+ s.AnalysisOptions = v
+ return s
+}
+
+// SetAnalysisSchemeLanguage sets the AnalysisSchemeLanguage field's value.
+func (s *AnalysisScheme) SetAnalysisSchemeLanguage(v string) *AnalysisScheme {
+ s.AnalysisSchemeLanguage = &v
+ return s
+}
+
+// SetAnalysisSchemeName sets the AnalysisSchemeName field's value.
+func (s *AnalysisScheme) SetAnalysisSchemeName(v string) *AnalysisScheme {
+ s.AnalysisSchemeName = &v
+ return s
+}
+
// The status and configuration of an AnalysisScheme.
type AnalysisSchemeStatus struct {
_ struct{} `type:"structure"`
@@ -2037,6 +2097,18 @@ func (s AnalysisSchemeStatus) GoString() string {
return s.String()
}
+// SetOptions sets the Options field's value.
+func (s *AnalysisSchemeStatus) SetOptions(v *AnalysisScheme) *AnalysisSchemeStatus {
+ s.Options = v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *AnalysisSchemeStatus) SetStatus(v *OptionStatus) *AnalysisSchemeStatus {
+ s.Status = v
+ return s
+}
+
// The status and configuration of the domain's availability options.
type AvailabilityOptionsStatus struct {
_ struct{} `type:"structure"`
@@ -2062,6 +2134,18 @@ func (s AvailabilityOptionsStatus) GoString() string {
return s.String()
}
+// SetOptions sets the Options field's value.
+func (s *AvailabilityOptionsStatus) SetOptions(v bool) *AvailabilityOptionsStatus {
+ s.Options = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *AvailabilityOptionsStatus) SetStatus(v *OptionStatus) *AvailabilityOptionsStatus {
+ s.Status = v
+ return s
+}
+
// Container for the parameters to the BuildSuggester operation. Specifies the
// name of the domain you want to update.
type BuildSuggestersInput struct {
@@ -2102,6 +2186,12 @@ func (s *BuildSuggestersInput) Validate() error {
return nil
}
+// SetDomainName sets the DomainName field's value.
+func (s *BuildSuggestersInput) SetDomainName(v string) *BuildSuggestersInput {
+ s.DomainName = &v
+ return s
+}
+
// The result of a BuildSuggester request. Contains a list of the fields used
// for suggestions.
type BuildSuggestersOutput struct {
@@ -2121,6 +2211,12 @@ func (s BuildSuggestersOutput) GoString() string {
return s.String()
}
+// SetFieldNames sets the FieldNames field's value.
+func (s *BuildSuggestersOutput) SetFieldNames(v []*string) *BuildSuggestersOutput {
+ s.FieldNames = v
+ return s
+}
+
// Container for the parameters to the CreateDomain operation. Specifies a name
// for the new search domain.
type CreateDomainInput struct {
@@ -2160,6 +2256,12 @@ func (s *CreateDomainInput) Validate() error {
return nil
}
+// SetDomainName sets the DomainName field's value.
+func (s *CreateDomainInput) SetDomainName(v string) *CreateDomainInput {
+ s.DomainName = &v
+ return s
+}
+
// The result of a CreateDomainRequest. Contains the status of a newly created
// domain.
type CreateDomainOutput struct {
@@ -2179,6 +2281,12 @@ func (s CreateDomainOutput) GoString() string {
return s.String()
}
+// SetDomainStatus sets the DomainStatus field's value.
+func (s *CreateDomainOutput) SetDomainStatus(v *DomainStatus) *CreateDomainOutput {
+ s.DomainStatus = v
+ return s
+}
+
// Options for a field that contains an array of dates. Present if IndexFieldType
// specifies the field is of type date-array. All options are enabled by default.
type DateArrayOptions struct {
@@ -2210,6 +2318,36 @@ func (s DateArrayOptions) GoString() string {
return s.String()
}
+// SetDefaultValue sets the DefaultValue field's value.
+func (s *DateArrayOptions) SetDefaultValue(v string) *DateArrayOptions {
+ s.DefaultValue = &v
+ return s
+}
+
+// SetFacetEnabled sets the FacetEnabled field's value.
+func (s *DateArrayOptions) SetFacetEnabled(v bool) *DateArrayOptions {
+ s.FacetEnabled = &v
+ return s
+}
+
+// SetReturnEnabled sets the ReturnEnabled field's value.
+func (s *DateArrayOptions) SetReturnEnabled(v bool) *DateArrayOptions {
+ s.ReturnEnabled = &v
+ return s
+}
+
+// SetSearchEnabled sets the SearchEnabled field's value.
+func (s *DateArrayOptions) SetSearchEnabled(v bool) *DateArrayOptions {
+ s.SearchEnabled = &v
+ return s
+}
+
+// SetSourceFields sets the SourceFields field's value.
+func (s *DateArrayOptions) SetSourceFields(v string) *DateArrayOptions {
+ s.SourceFields = &v
+ return s
+}
+
// Options for a date field. Dates and times are specified in UTC (Coordinated
// Universal Time) according to IETF RFC3339: yyyy-mm-ddT00:00:00Z. Present
// if IndexFieldType specifies the field is of type date. All options are enabled
@@ -2272,6 +2410,42 @@ func (s *DateOptions) Validate() error {
return nil
}
+// SetDefaultValue sets the DefaultValue field's value.
+func (s *DateOptions) SetDefaultValue(v string) *DateOptions {
+ s.DefaultValue = &v
+ return s
+}
+
+// SetFacetEnabled sets the FacetEnabled field's value.
+func (s *DateOptions) SetFacetEnabled(v bool) *DateOptions {
+ s.FacetEnabled = &v
+ return s
+}
+
+// SetReturnEnabled sets the ReturnEnabled field's value.
+func (s *DateOptions) SetReturnEnabled(v bool) *DateOptions {
+ s.ReturnEnabled = &v
+ return s
+}
+
+// SetSearchEnabled sets the SearchEnabled field's value.
+func (s *DateOptions) SetSearchEnabled(v bool) *DateOptions {
+ s.SearchEnabled = &v
+ return s
+}
+
+// SetSortEnabled sets the SortEnabled field's value.
+func (s *DateOptions) SetSortEnabled(v bool) *DateOptions {
+ s.SortEnabled = &v
+ return s
+}
+
+// SetSourceField sets the SourceField field's value.
+func (s *DateOptions) SetSourceField(v string) *DateOptions {
+ s.SourceField = &v
+ return s
+}
+
// Container for the parameters to the DefineAnalysisScheme operation. Specifies
// the name of the domain you want to update and the analysis scheme configuration.
type DefineAnalysisSchemeInput struct {
@@ -2328,6 +2502,18 @@ func (s *DefineAnalysisSchemeInput) Validate() error {
return nil
}
+// SetAnalysisScheme sets the AnalysisScheme field's value.
+func (s *DefineAnalysisSchemeInput) SetAnalysisScheme(v *AnalysisScheme) *DefineAnalysisSchemeInput {
+ s.AnalysisScheme = v
+ return s
+}
+
+// SetDomainName sets the DomainName field's value.
+func (s *DefineAnalysisSchemeInput) SetDomainName(v string) *DefineAnalysisSchemeInput {
+ s.DomainName = &v
+ return s
+}
+
// The result of a DefineAnalysisScheme request. Contains the status of the
// newly-configured analysis scheme.
type DefineAnalysisSchemeOutput struct {
@@ -2349,6 +2535,12 @@ func (s DefineAnalysisSchemeOutput) GoString() string {
return s.String()
}
+// SetAnalysisScheme sets the AnalysisScheme field's value.
+func (s *DefineAnalysisSchemeOutput) SetAnalysisScheme(v *AnalysisSchemeStatus) *DefineAnalysisSchemeOutput {
+ s.AnalysisScheme = v
+ return s
+}
+
// Container for the parameters to the DefineExpression operation. Specifies
// the name of the domain you want to update and the expression you want to
// configure.
@@ -2405,6 +2597,18 @@ func (s *DefineExpressionInput) Validate() error {
return nil
}
+// SetDomainName sets the DomainName field's value.
+func (s *DefineExpressionInput) SetDomainName(v string) *DefineExpressionInput {
+ s.DomainName = &v
+ return s
+}
+
+// SetExpression sets the Expression field's value.
+func (s *DefineExpressionInput) SetExpression(v *Expression) *DefineExpressionInput {
+ s.Expression = v
+ return s
+}
+
// The result of a DefineExpression request. Contains the status of the newly-configured
// expression.
type DefineExpressionOutput struct {
@@ -2426,6 +2630,12 @@ func (s DefineExpressionOutput) GoString() string {
return s.String()
}
+// SetExpression sets the Expression field's value.
+func (s *DefineExpressionOutput) SetExpression(v *ExpressionStatus) *DefineExpressionOutput {
+ s.Expression = v
+ return s
+}
+
// Container for the parameters to the DefineIndexField operation. Specifies
// the name of the domain you want to update and the index field configuration.
type DefineIndexFieldInput struct {
@@ -2479,6 +2689,18 @@ func (s *DefineIndexFieldInput) Validate() error {
return nil
}
+// SetDomainName sets the DomainName field's value.
+func (s *DefineIndexFieldInput) SetDomainName(v string) *DefineIndexFieldInput {
+ s.DomainName = &v
+ return s
+}
+
+// SetIndexField sets the IndexField field's value.
+func (s *DefineIndexFieldInput) SetIndexField(v *IndexField) *DefineIndexFieldInput {
+ s.IndexField = v
+ return s
+}
+
// The result of a DefineIndexField request. Contains the status of the newly-configured
// index field.
type DefineIndexFieldOutput struct {
@@ -2500,6 +2722,12 @@ func (s DefineIndexFieldOutput) GoString() string {
return s.String()
}
+// SetIndexField sets the IndexField field's value.
+func (s *DefineIndexFieldOutput) SetIndexField(v *IndexFieldStatus) *DefineIndexFieldOutput {
+ s.IndexField = v
+ return s
+}
+
// Container for the parameters to the DefineSuggester operation. Specifies
// the name of the domain you want to update and the suggester configuration.
type DefineSuggesterInput struct {
@@ -2555,6 +2783,18 @@ func (s *DefineSuggesterInput) Validate() error {
return nil
}
+// SetDomainName sets the DomainName field's value.
+func (s *DefineSuggesterInput) SetDomainName(v string) *DefineSuggesterInput {
+ s.DomainName = &v
+ return s
+}
+
+// SetSuggester sets the Suggester field's value.
+func (s *DefineSuggesterInput) SetSuggester(v *Suggester) *DefineSuggesterInput {
+ s.Suggester = v
+ return s
+}
+
// The result of a DefineSuggester request. Contains the status of the newly-configured
// suggester.
type DefineSuggesterOutput struct {
@@ -2576,6 +2816,12 @@ func (s DefineSuggesterOutput) GoString() string {
return s.String()
}
+// SetSuggester sets the Suggester field's value.
+func (s *DefineSuggesterOutput) SetSuggester(v *SuggesterStatus) *DefineSuggesterOutput {
+ s.Suggester = v
+ return s
+}
+
// Container for the parameters to the DeleteAnalysisScheme operation. Specifies
// the name of the domain you want to update and the analysis scheme you want
// to delete.
@@ -2628,6 +2874,18 @@ func (s *DeleteAnalysisSchemeInput) Validate() error {
return nil
}
+// SetAnalysisSchemeName sets the AnalysisSchemeName field's value.
+func (s *DeleteAnalysisSchemeInput) SetAnalysisSchemeName(v string) *DeleteAnalysisSchemeInput {
+ s.AnalysisSchemeName = &v
+ return s
+}
+
+// SetDomainName sets the DomainName field's value.
+func (s *DeleteAnalysisSchemeInput) SetDomainName(v string) *DeleteAnalysisSchemeInput {
+ s.DomainName = &v
+ return s
+}
+
// The result of a DeleteAnalysisScheme request. Contains the status of the
// deleted analysis scheme.
type DeleteAnalysisSchemeOutput struct {
@@ -2649,6 +2907,12 @@ func (s DeleteAnalysisSchemeOutput) GoString() string {
return s.String()
}
+// SetAnalysisScheme sets the AnalysisScheme field's value.
+func (s *DeleteAnalysisSchemeOutput) SetAnalysisScheme(v *AnalysisSchemeStatus) *DeleteAnalysisSchemeOutput {
+ s.AnalysisScheme = v
+ return s
+}
+
// Container for the parameters to the DeleteDomain operation. Specifies the
// name of the domain you want to delete.
type DeleteDomainInput struct {
@@ -2686,6 +2950,12 @@ func (s *DeleteDomainInput) Validate() error {
return nil
}
+// SetDomainName sets the DomainName field's value.
+func (s *DeleteDomainInput) SetDomainName(v string) *DeleteDomainInput {
+ s.DomainName = &v
+ return s
+}
+
// The result of a DeleteDomain request. Contains the status of a newly deleted
// domain, or no status if the domain has already been completely deleted.
type DeleteDomainOutput struct {
@@ -2705,6 +2975,12 @@ func (s DeleteDomainOutput) GoString() string {
return s.String()
}
+// SetDomainStatus sets the DomainStatus field's value.
+func (s *DeleteDomainOutput) SetDomainStatus(v *DomainStatus) *DeleteDomainOutput {
+ s.DomainStatus = v
+ return s
+}
+
// Container for the parameters to the DeleteExpression operation. Specifies
// the name of the domain you want to update and the name of the expression
// you want to delete.
@@ -2757,6 +3033,18 @@ func (s *DeleteExpressionInput) Validate() error {
return nil
}
+// SetDomainName sets the DomainName field's value.
+func (s *DeleteExpressionInput) SetDomainName(v string) *DeleteExpressionInput {
+ s.DomainName = &v
+ return s
+}
+
+// SetExpressionName sets the ExpressionName field's value.
+func (s *DeleteExpressionInput) SetExpressionName(v string) *DeleteExpressionInput {
+ s.ExpressionName = &v
+ return s
+}
+
// The result of a DeleteExpression request. Specifies the expression being
// deleted.
type DeleteExpressionOutput struct {
@@ -2778,6 +3066,12 @@ func (s DeleteExpressionOutput) GoString() string {
return s.String()
}
+// SetExpression sets the Expression field's value.
+func (s *DeleteExpressionOutput) SetExpression(v *ExpressionStatus) *DeleteExpressionOutput {
+ s.Expression = v
+ return s
+}
+
// Container for the parameters to the DeleteIndexField operation. Specifies
// the name of the domain you want to update and the name of the index field
// you want to delete.
@@ -2831,6 +3125,18 @@ func (s *DeleteIndexFieldInput) Validate() error {
return nil
}
+// SetDomainName sets the DomainName field's value.
+func (s *DeleteIndexFieldInput) SetDomainName(v string) *DeleteIndexFieldInput {
+ s.DomainName = &v
+ return s
+}
+
+// SetIndexFieldName sets the IndexFieldName field's value.
+func (s *DeleteIndexFieldInput) SetIndexFieldName(v string) *DeleteIndexFieldInput {
+ s.IndexFieldName = &v
+ return s
+}
+
// The result of a DeleteIndexField request.
type DeleteIndexFieldOutput struct {
_ struct{} `type:"structure"`
@@ -2851,6 +3157,12 @@ func (s DeleteIndexFieldOutput) GoString() string {
return s.String()
}
+// SetIndexField sets the IndexField field's value.
+func (s *DeleteIndexFieldOutput) SetIndexField(v *IndexFieldStatus) *DeleteIndexFieldOutput {
+ s.IndexField = v
+ return s
+}
+
// Container for the parameters to the DeleteSuggester operation. Specifies
// the name of the domain you want to update and name of the suggester you want
// to delete.
@@ -2903,6 +3215,18 @@ func (s *DeleteSuggesterInput) Validate() error {
return nil
}
+// SetDomainName sets the DomainName field's value.
+func (s *DeleteSuggesterInput) SetDomainName(v string) *DeleteSuggesterInput {
+ s.DomainName = &v
+ return s
+}
+
+// SetSuggesterName sets the SuggesterName field's value.
+func (s *DeleteSuggesterInput) SetSuggesterName(v string) *DeleteSuggesterInput {
+ s.SuggesterName = &v
+ return s
+}
+
// The result of a DeleteSuggester request. Contains the status of the deleted
// suggester.
type DeleteSuggesterOutput struct {
@@ -2924,6 +3248,12 @@ func (s DeleteSuggesterOutput) GoString() string {
return s.String()
}
+// SetSuggester sets the Suggester field's value.
+func (s *DeleteSuggesterOutput) SetSuggester(v *SuggesterStatus) *DeleteSuggesterOutput {
+ s.Suggester = v
+ return s
+}
+
// Container for the parameters to the DescribeAnalysisSchemes operation. Specifies
// the name of the domain you want to describe. To limit the response to particular
// analysis schemes, specify the names of the analysis schemes you want to describe.
@@ -2971,6 +3301,24 @@ func (s *DescribeAnalysisSchemesInput) Validate() error {
return nil
}
+// SetAnalysisSchemeNames sets the AnalysisSchemeNames field's value.
+func (s *DescribeAnalysisSchemesInput) SetAnalysisSchemeNames(v []*string) *DescribeAnalysisSchemesInput {
+ s.AnalysisSchemeNames = v
+ return s
+}
+
+// SetDeployed sets the Deployed field's value.
+func (s *DescribeAnalysisSchemesInput) SetDeployed(v bool) *DescribeAnalysisSchemesInput {
+ s.Deployed = &v
+ return s
+}
+
+// SetDomainName sets the DomainName field's value.
+func (s *DescribeAnalysisSchemesInput) SetDomainName(v string) *DescribeAnalysisSchemesInput {
+ s.DomainName = &v
+ return s
+}
+
// The result of a DescribeAnalysisSchemes request. Contains the analysis schemes
// configured for the domain specified in the request.
type DescribeAnalysisSchemesOutput struct {
@@ -2992,6 +3340,12 @@ func (s DescribeAnalysisSchemesOutput) GoString() string {
return s.String()
}
+// SetAnalysisSchemes sets the AnalysisSchemes field's value.
+func (s *DescribeAnalysisSchemesOutput) SetAnalysisSchemes(v []*AnalysisSchemeStatus) *DescribeAnalysisSchemesOutput {
+ s.AnalysisSchemes = v
+ return s
+}
+
// Container for the parameters to the DescribeAvailabilityOptions operation.
// Specifies the name of the domain you want to describe. To show the active
// configuration and exclude any pending changes, set the Deployed option to
@@ -3035,6 +3389,18 @@ func (s *DescribeAvailabilityOptionsInput) Validate() error {
return nil
}
+// SetDeployed sets the Deployed field's value.
+func (s *DescribeAvailabilityOptionsInput) SetDeployed(v bool) *DescribeAvailabilityOptionsInput {
+ s.Deployed = &v
+ return s
+}
+
+// SetDomainName sets the DomainName field's value.
+func (s *DescribeAvailabilityOptionsInput) SetDomainName(v string) *DescribeAvailabilityOptionsInput {
+ s.DomainName = &v
+ return s
+}
+
// The result of a DescribeAvailabilityOptions request. Indicates whether or
// not the Multi-AZ option is enabled for the domain specified in the request.
type DescribeAvailabilityOptionsOutput struct {
@@ -3055,6 +3421,12 @@ func (s DescribeAvailabilityOptionsOutput) GoString() string {
return s.String()
}
+// SetAvailabilityOptions sets the AvailabilityOptions field's value.
+func (s *DescribeAvailabilityOptionsOutput) SetAvailabilityOptions(v *AvailabilityOptionsStatus) *DescribeAvailabilityOptionsOutput {
+ s.AvailabilityOptions = v
+ return s
+}
+
// Container for the parameters to the DescribeDomains operation. By default
// shows the status of all domains. To restrict the response to particular domains,
// specify the names of the domains you want to describe.
@@ -3075,6 +3447,12 @@ func (s DescribeDomainsInput) GoString() string {
return s.String()
}
+// SetDomainNames sets the DomainNames field's value.
+func (s *DescribeDomainsInput) SetDomainNames(v []*string) *DescribeDomainsInput {
+ s.DomainNames = v
+ return s
+}
+
// The result of a DescribeDomains request. Contains the status of the domains
// specified in the request or all domains owned by the account.
type DescribeDomainsOutput struct {
@@ -3096,6 +3474,12 @@ func (s DescribeDomainsOutput) GoString() string {
return s.String()
}
+// SetDomainStatusList sets the DomainStatusList field's value.
+func (s *DescribeDomainsOutput) SetDomainStatusList(v []*DomainStatus) *DescribeDomainsOutput {
+ s.DomainStatusList = v
+ return s
+}
+
// Container for the parameters to the DescribeDomains operation. Specifies
// the name of the domain you want to describe. To restrict the response to
// particular expressions, specify the names of the expressions you want to
@@ -3144,6 +3528,24 @@ func (s *DescribeExpressionsInput) Validate() error {
return nil
}
+// SetDeployed sets the Deployed field's value.
+func (s *DescribeExpressionsInput) SetDeployed(v bool) *DescribeExpressionsInput {
+ s.Deployed = &v
+ return s
+}
+
+// SetDomainName sets the DomainName field's value.
+func (s *DescribeExpressionsInput) SetDomainName(v string) *DescribeExpressionsInput {
+ s.DomainName = &v
+ return s
+}
+
+// SetExpressionNames sets the ExpressionNames field's value.
+func (s *DescribeExpressionsInput) SetExpressionNames(v []*string) *DescribeExpressionsInput {
+ s.ExpressionNames = v
+ return s
+}
+
// The result of a DescribeExpressions request. Contains the expressions configured
// for the domain specified in the request.
type DescribeExpressionsOutput struct {
@@ -3165,6 +3567,12 @@ func (s DescribeExpressionsOutput) GoString() string {
return s.String()
}
+// SetExpressions sets the Expressions field's value.
+func (s *DescribeExpressionsOutput) SetExpressions(v []*ExpressionStatus) *DescribeExpressionsOutput {
+ s.Expressions = v
+ return s
+}
+
// Container for the parameters to the DescribeIndexFields operation. Specifies
// the name of the domain you want to describe. To restrict the response to
// particular index fields, specify the names of the index fields you want to
@@ -3213,6 +3621,24 @@ func (s *DescribeIndexFieldsInput) Validate() error {
return nil
}
+// SetDeployed sets the Deployed field's value.
+func (s *DescribeIndexFieldsInput) SetDeployed(v bool) *DescribeIndexFieldsInput {
+ s.Deployed = &v
+ return s
+}
+
+// SetDomainName sets the DomainName field's value.
+func (s *DescribeIndexFieldsInput) SetDomainName(v string) *DescribeIndexFieldsInput {
+ s.DomainName = &v
+ return s
+}
+
+// SetFieldNames sets the FieldNames field's value.
+func (s *DescribeIndexFieldsInput) SetFieldNames(v []*string) *DescribeIndexFieldsInput {
+ s.FieldNames = v
+ return s
+}
+
// The result of a DescribeIndexFields request. Contains the index fields configured
// for the domain specified in the request.
type DescribeIndexFieldsOutput struct {
@@ -3234,6 +3660,12 @@ func (s DescribeIndexFieldsOutput) GoString() string {
return s.String()
}
+// SetIndexFields sets the IndexFields field's value.
+func (s *DescribeIndexFieldsOutput) SetIndexFields(v []*IndexFieldStatus) *DescribeIndexFieldsOutput {
+ s.IndexFields = v
+ return s
+}
+
// Container for the parameters to the DescribeScalingParameters operation.
// Specifies the name of the domain you want to describe.
type DescribeScalingParametersInput struct {
@@ -3274,6 +3706,12 @@ func (s *DescribeScalingParametersInput) Validate() error {
return nil
}
+// SetDomainName sets the DomainName field's value.
+func (s *DescribeScalingParametersInput) SetDomainName(v string) *DescribeScalingParametersInput {
+ s.DomainName = &v
+ return s
+}
+
// The result of a DescribeScalingParameters request. Contains the scaling parameters
// configured for the domain specified in the request.
type DescribeScalingParametersOutput struct {
@@ -3295,6 +3733,12 @@ func (s DescribeScalingParametersOutput) GoString() string {
return s.String()
}
+// SetScalingParameters sets the ScalingParameters field's value.
+func (s *DescribeScalingParametersOutput) SetScalingParameters(v *ScalingParametersStatus) *DescribeScalingParametersOutput {
+ s.ScalingParameters = v
+ return s
+}
+
// Container for the parameters to the DescribeServiceAccessPolicies operation.
// Specifies the name of the domain you want to describe. To show the active
// configuration and exclude any pending changes, set the Deployed option to
@@ -3338,6 +3782,18 @@ func (s *DescribeServiceAccessPoliciesInput) Validate() error {
return nil
}
+// SetDeployed sets the Deployed field's value.
+func (s *DescribeServiceAccessPoliciesInput) SetDeployed(v bool) *DescribeServiceAccessPoliciesInput {
+ s.Deployed = &v
+ return s
+}
+
+// SetDomainName sets the DomainName field's value.
+func (s *DescribeServiceAccessPoliciesInput) SetDomainName(v string) *DescribeServiceAccessPoliciesInput {
+ s.DomainName = &v
+ return s
+}
+
// The result of a DescribeServiceAccessPolicies request.
type DescribeServiceAccessPoliciesOutput struct {
_ struct{} `type:"structure"`
@@ -3358,6 +3814,12 @@ func (s DescribeServiceAccessPoliciesOutput) GoString() string {
return s.String()
}
+// SetAccessPolicies sets the AccessPolicies field's value.
+func (s *DescribeServiceAccessPoliciesOutput) SetAccessPolicies(v *AccessPoliciesStatus) *DescribeServiceAccessPoliciesOutput {
+ s.AccessPolicies = v
+ return s
+}
+
// Container for the parameters to the DescribeSuggester operation. Specifies
// the name of the domain you want to describe. To restrict the response to
// particular suggesters, specify the names of the suggesters you want to describe.
@@ -3405,6 +3867,24 @@ func (s *DescribeSuggestersInput) Validate() error {
return nil
}
+// SetDeployed sets the Deployed field's value.
+func (s *DescribeSuggestersInput) SetDeployed(v bool) *DescribeSuggestersInput {
+ s.Deployed = &v
+ return s
+}
+
+// SetDomainName sets the DomainName field's value.
+func (s *DescribeSuggestersInput) SetDomainName(v string) *DescribeSuggestersInput {
+ s.DomainName = &v
+ return s
+}
+
+// SetSuggesterNames sets the SuggesterNames field's value.
+func (s *DescribeSuggestersInput) SetSuggesterNames(v []*string) *DescribeSuggestersInput {
+ s.SuggesterNames = v
+ return s
+}
+
// The result of a DescribeSuggesters request.
type DescribeSuggestersOutput struct {
_ struct{} `type:"structure"`
@@ -3425,6 +3905,12 @@ func (s DescribeSuggestersOutput) GoString() string {
return s.String()
}
+// SetSuggesters sets the Suggesters field's value.
+func (s *DescribeSuggestersOutput) SetSuggesters(v []*SuggesterStatus) *DescribeSuggestersOutput {
+ s.Suggesters = v
+ return s
+}
+
// Options for a search suggester.
type DocumentSuggesterOptions struct {
_ struct{} `type:"structure"`
@@ -3477,6 +3963,24 @@ func (s *DocumentSuggesterOptions) Validate() error {
return nil
}
+// SetFuzzyMatching sets the FuzzyMatching field's value.
+func (s *DocumentSuggesterOptions) SetFuzzyMatching(v string) *DocumentSuggesterOptions {
+ s.FuzzyMatching = &v
+ return s
+}
+
+// SetSortExpression sets the SortExpression field's value.
+func (s *DocumentSuggesterOptions) SetSortExpression(v string) *DocumentSuggesterOptions {
+ s.SortExpression = &v
+ return s
+}
+
+// SetSourceField sets the SourceField field's value.
+func (s *DocumentSuggesterOptions) SetSourceField(v string) *DocumentSuggesterOptions {
+ s.SourceField = &v
+ return s
+}
+
// The current status of the search domain.
type DomainStatus struct {
_ struct{} `type:"structure"`
@@ -3548,6 +4052,84 @@ func (s DomainStatus) GoString() string {
return s.String()
}
+// SetARN sets the ARN field's value.
+func (s *DomainStatus) SetARN(v string) *DomainStatus {
+ s.ARN = &v
+ return s
+}
+
+// SetCreated sets the Created field's value.
+func (s *DomainStatus) SetCreated(v bool) *DomainStatus {
+ s.Created = &v
+ return s
+}
+
+// SetDeleted sets the Deleted field's value.
+func (s *DomainStatus) SetDeleted(v bool) *DomainStatus {
+ s.Deleted = &v
+ return s
+}
+
+// SetDocService sets the DocService field's value.
+func (s *DomainStatus) SetDocService(v *ServiceEndpoint) *DomainStatus {
+ s.DocService = v
+ return s
+}
+
+// SetDomainId sets the DomainId field's value.
+func (s *DomainStatus) SetDomainId(v string) *DomainStatus {
+ s.DomainId = &v
+ return s
+}
+
+// SetDomainName sets the DomainName field's value.
+func (s *DomainStatus) SetDomainName(v string) *DomainStatus {
+ s.DomainName = &v
+ return s
+}
+
+// SetLimits sets the Limits field's value.
+func (s *DomainStatus) SetLimits(v *Limits) *DomainStatus {
+ s.Limits = v
+ return s
+}
+
+// SetProcessing sets the Processing field's value.
+func (s *DomainStatus) SetProcessing(v bool) *DomainStatus {
+ s.Processing = &v
+ return s
+}
+
+// SetRequiresIndexDocuments sets the RequiresIndexDocuments field's value.
+func (s *DomainStatus) SetRequiresIndexDocuments(v bool) *DomainStatus {
+ s.RequiresIndexDocuments = &v
+ return s
+}
+
+// SetSearchInstanceCount sets the SearchInstanceCount field's value.
+func (s *DomainStatus) SetSearchInstanceCount(v int64) *DomainStatus {
+ s.SearchInstanceCount = &v
+ return s
+}
+
+// SetSearchInstanceType sets the SearchInstanceType field's value.
+func (s *DomainStatus) SetSearchInstanceType(v string) *DomainStatus {
+ s.SearchInstanceType = &v
+ return s
+}
+
+// SetSearchPartitionCount sets the SearchPartitionCount field's value.
+func (s *DomainStatus) SetSearchPartitionCount(v int64) *DomainStatus {
+ s.SearchPartitionCount = &v
+ return s
+}
+
+// SetSearchService sets the SearchService field's value.
+func (s *DomainStatus) SetSearchService(v *ServiceEndpoint) *DomainStatus {
+ s.SearchService = v
+ return s
+}
+
// Options for a field that contains an array of double-precision 64-bit floating
// point values. Present if IndexFieldType specifies the field is of type double-array.
// All options are enabled by default.
@@ -3580,6 +4162,36 @@ func (s DoubleArrayOptions) GoString() string {
return s.String()
}
+// SetDefaultValue sets the DefaultValue field's value.
+func (s *DoubleArrayOptions) SetDefaultValue(v float64) *DoubleArrayOptions {
+ s.DefaultValue = &v
+ return s
+}
+
+// SetFacetEnabled sets the FacetEnabled field's value.
+func (s *DoubleArrayOptions) SetFacetEnabled(v bool) *DoubleArrayOptions {
+ s.FacetEnabled = &v
+ return s
+}
+
+// SetReturnEnabled sets the ReturnEnabled field's value.
+func (s *DoubleArrayOptions) SetReturnEnabled(v bool) *DoubleArrayOptions {
+ s.ReturnEnabled = &v
+ return s
+}
+
+// SetSearchEnabled sets the SearchEnabled field's value.
+func (s *DoubleArrayOptions) SetSearchEnabled(v bool) *DoubleArrayOptions {
+ s.SearchEnabled = &v
+ return s
+}
+
+// SetSourceFields sets the SourceFields field's value.
+func (s *DoubleArrayOptions) SetSourceFields(v string) *DoubleArrayOptions {
+ s.SourceFields = &v
+ return s
+}
+
// Options for a double-precision 64-bit floating point field. Present if IndexFieldType
// specifies the field is of type double. All options are enabled by default.
type DoubleOptions struct {
@@ -3629,6 +4241,42 @@ func (s *DoubleOptions) Validate() error {
return nil
}
+// SetDefaultValue sets the DefaultValue field's value.
+func (s *DoubleOptions) SetDefaultValue(v float64) *DoubleOptions {
+ s.DefaultValue = &v
+ return s
+}
+
+// SetFacetEnabled sets the FacetEnabled field's value.
+func (s *DoubleOptions) SetFacetEnabled(v bool) *DoubleOptions {
+ s.FacetEnabled = &v
+ return s
+}
+
+// SetReturnEnabled sets the ReturnEnabled field's value.
+func (s *DoubleOptions) SetReturnEnabled(v bool) *DoubleOptions {
+ s.ReturnEnabled = &v
+ return s
+}
+
+// SetSearchEnabled sets the SearchEnabled field's value.
+func (s *DoubleOptions) SetSearchEnabled(v bool) *DoubleOptions {
+ s.SearchEnabled = &v
+ return s
+}
+
+// SetSortEnabled sets the SortEnabled field's value.
+func (s *DoubleOptions) SetSortEnabled(v bool) *DoubleOptions {
+ s.SortEnabled = &v
+ return s
+}
+
+// SetSourceField sets the SourceField field's value.
+func (s *DoubleOptions) SetSourceField(v string) *DoubleOptions {
+ s.SourceField = &v
+ return s
+}
+
// A named expression that can be evaluated at search time. Can be used to sort
// the search results, define other expressions, or return computed information
// in the search results.
@@ -3682,6 +4330,18 @@ func (s *Expression) Validate() error {
return nil
}
+// SetExpressionName sets the ExpressionName field's value.
+func (s *Expression) SetExpressionName(v string) *Expression {
+ s.ExpressionName = &v
+ return s
+}
+
+// SetExpressionValue sets the ExpressionValue field's value.
+func (s *Expression) SetExpressionValue(v string) *Expression {
+ s.ExpressionValue = &v
+ return s
+}
+
// The value of an Expression and its current status.
type ExpressionStatus struct {
_ struct{} `type:"structure"`
@@ -3707,6 +4367,18 @@ func (s ExpressionStatus) GoString() string {
return s.String()
}
+// SetOptions sets the Options field's value.
+func (s *ExpressionStatus) SetOptions(v *Expression) *ExpressionStatus {
+ s.Options = v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *ExpressionStatus) SetStatus(v *OptionStatus) *ExpressionStatus {
+ s.Status = v
+ return s
+}
+
// Container for the parameters to the IndexDocuments operation. Specifies the
// name of the domain you want to re-index.
type IndexDocumentsInput struct {
@@ -3747,6 +4419,12 @@ func (s *IndexDocumentsInput) Validate() error {
return nil
}
+// SetDomainName sets the DomainName field's value.
+func (s *IndexDocumentsInput) SetDomainName(v string) *IndexDocumentsInput {
+ s.DomainName = &v
+ return s
+}
+
// The result of an IndexDocuments request. Contains the status of the indexing
// operation, including the fields being indexed.
type IndexDocumentsOutput struct {
@@ -3766,6 +4444,12 @@ func (s IndexDocumentsOutput) GoString() string {
return s.String()
}
+// SetFieldNames sets the FieldNames field's value.
+func (s *IndexDocumentsOutput) SetFieldNames(v []*string) *IndexDocumentsOutput {
+ s.FieldNames = v
+ return s
+}
+
// Configuration information for a field in the index, including its name, type,
// and options. The supported options depend on the IndexFieldType.
type IndexField struct {
@@ -3909,6 +4593,84 @@ func (s *IndexField) Validate() error {
return nil
}
+// SetDateArrayOptions sets the DateArrayOptions field's value.
+func (s *IndexField) SetDateArrayOptions(v *DateArrayOptions) *IndexField {
+ s.DateArrayOptions = v
+ return s
+}
+
+// SetDateOptions sets the DateOptions field's value.
+func (s *IndexField) SetDateOptions(v *DateOptions) *IndexField {
+ s.DateOptions = v
+ return s
+}
+
+// SetDoubleArrayOptions sets the DoubleArrayOptions field's value.
+func (s *IndexField) SetDoubleArrayOptions(v *DoubleArrayOptions) *IndexField {
+ s.DoubleArrayOptions = v
+ return s
+}
+
+// SetDoubleOptions sets the DoubleOptions field's value.
+func (s *IndexField) SetDoubleOptions(v *DoubleOptions) *IndexField {
+ s.DoubleOptions = v
+ return s
+}
+
+// SetIndexFieldName sets the IndexFieldName field's value.
+func (s *IndexField) SetIndexFieldName(v string) *IndexField {
+ s.IndexFieldName = &v
+ return s
+}
+
+// SetIndexFieldType sets the IndexFieldType field's value.
+func (s *IndexField) SetIndexFieldType(v string) *IndexField {
+ s.IndexFieldType = &v
+ return s
+}
+
+// SetIntArrayOptions sets the IntArrayOptions field's value.
+func (s *IndexField) SetIntArrayOptions(v *IntArrayOptions) *IndexField {
+ s.IntArrayOptions = v
+ return s
+}
+
+// SetIntOptions sets the IntOptions field's value.
+func (s *IndexField) SetIntOptions(v *IntOptions) *IndexField {
+ s.IntOptions = v
+ return s
+}
+
+// SetLatLonOptions sets the LatLonOptions field's value.
+func (s *IndexField) SetLatLonOptions(v *LatLonOptions) *IndexField {
+ s.LatLonOptions = v
+ return s
+}
+
+// SetLiteralArrayOptions sets the LiteralArrayOptions field's value.
+func (s *IndexField) SetLiteralArrayOptions(v *LiteralArrayOptions) *IndexField {
+ s.LiteralArrayOptions = v
+ return s
+}
+
+// SetLiteralOptions sets the LiteralOptions field's value.
+func (s *IndexField) SetLiteralOptions(v *LiteralOptions) *IndexField {
+ s.LiteralOptions = v
+ return s
+}
+
+// SetTextArrayOptions sets the TextArrayOptions field's value.
+func (s *IndexField) SetTextArrayOptions(v *TextArrayOptions) *IndexField {
+ s.TextArrayOptions = v
+ return s
+}
+
+// SetTextOptions sets the TextOptions field's value.
+func (s *IndexField) SetTextOptions(v *TextOptions) *IndexField {
+ s.TextOptions = v
+ return s
+}
+
// The value of an IndexField and its current status.
type IndexFieldStatus struct {
_ struct{} `type:"structure"`
@@ -3935,6 +4697,18 @@ func (s IndexFieldStatus) GoString() string {
return s.String()
}
+// SetOptions sets the Options field's value.
+func (s *IndexFieldStatus) SetOptions(v *IndexField) *IndexFieldStatus {
+ s.Options = v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *IndexFieldStatus) SetStatus(v *OptionStatus) *IndexFieldStatus {
+ s.Status = v
+ return s
+}
+
// Options for a field that contains an array of 64-bit signed integers. Present
// if IndexFieldType specifies the field is of type int-array. All options are
// enabled by default.
@@ -3967,6 +4741,36 @@ func (s IntArrayOptions) GoString() string {
return s.String()
}
+// SetDefaultValue sets the DefaultValue field's value.
+func (s *IntArrayOptions) SetDefaultValue(v int64) *IntArrayOptions {
+ s.DefaultValue = &v
+ return s
+}
+
+// SetFacetEnabled sets the FacetEnabled field's value.
+func (s *IntArrayOptions) SetFacetEnabled(v bool) *IntArrayOptions {
+ s.FacetEnabled = &v
+ return s
+}
+
+// SetReturnEnabled sets the ReturnEnabled field's value.
+func (s *IntArrayOptions) SetReturnEnabled(v bool) *IntArrayOptions {
+ s.ReturnEnabled = &v
+ return s
+}
+
+// SetSearchEnabled sets the SearchEnabled field's value.
+func (s *IntArrayOptions) SetSearchEnabled(v bool) *IntArrayOptions {
+ s.SearchEnabled = &v
+ return s
+}
+
+// SetSourceFields sets the SourceFields field's value.
+func (s *IntArrayOptions) SetSourceFields(v string) *IntArrayOptions {
+ s.SourceFields = &v
+ return s
+}
+
// Options for a 64-bit signed integer field. Present if IndexFieldType specifies
// the field is of type int. All options are enabled by default.
type IntOptions struct {
@@ -4016,6 +4820,42 @@ func (s *IntOptions) Validate() error {
return nil
}
+// SetDefaultValue sets the DefaultValue field's value.
+func (s *IntOptions) SetDefaultValue(v int64) *IntOptions {
+ s.DefaultValue = &v
+ return s
+}
+
+// SetFacetEnabled sets the FacetEnabled field's value.
+func (s *IntOptions) SetFacetEnabled(v bool) *IntOptions {
+ s.FacetEnabled = &v
+ return s
+}
+
+// SetReturnEnabled sets the ReturnEnabled field's value.
+func (s *IntOptions) SetReturnEnabled(v bool) *IntOptions {
+ s.ReturnEnabled = &v
+ return s
+}
+
+// SetSearchEnabled sets the SearchEnabled field's value.
+func (s *IntOptions) SetSearchEnabled(v bool) *IntOptions {
+ s.SearchEnabled = &v
+ return s
+}
+
+// SetSortEnabled sets the SortEnabled field's value.
+func (s *IntOptions) SetSortEnabled(v bool) *IntOptions {
+ s.SortEnabled = &v
+ return s
+}
+
+// SetSourceField sets the SourceField field's value.
+func (s *IntOptions) SetSourceField(v string) *IntOptions {
+ s.SourceField = &v
+ return s
+}
+
// Options for a latlon field. A latlon field contains a location stored as
// a latitude and longitude value pair. Present if IndexFieldType specifies
// the field is of type latlon. All options are enabled by default.
@@ -4077,6 +4917,42 @@ func (s *LatLonOptions) Validate() error {
return nil
}
+// SetDefaultValue sets the DefaultValue field's value.
+func (s *LatLonOptions) SetDefaultValue(v string) *LatLonOptions {
+ s.DefaultValue = &v
+ return s
+}
+
+// SetFacetEnabled sets the FacetEnabled field's value.
+func (s *LatLonOptions) SetFacetEnabled(v bool) *LatLonOptions {
+ s.FacetEnabled = &v
+ return s
+}
+
+// SetReturnEnabled sets the ReturnEnabled field's value.
+func (s *LatLonOptions) SetReturnEnabled(v bool) *LatLonOptions {
+ s.ReturnEnabled = &v
+ return s
+}
+
+// SetSearchEnabled sets the SearchEnabled field's value.
+func (s *LatLonOptions) SetSearchEnabled(v bool) *LatLonOptions {
+ s.SearchEnabled = &v
+ return s
+}
+
+// SetSortEnabled sets the SortEnabled field's value.
+func (s *LatLonOptions) SetSortEnabled(v bool) *LatLonOptions {
+ s.SortEnabled = &v
+ return s
+}
+
+// SetSourceField sets the SourceField field's value.
+func (s *LatLonOptions) SetSourceField(v string) *LatLonOptions {
+ s.SourceField = &v
+ return s
+}
+
type Limits struct {
_ struct{} `type:"structure"`
@@ -4097,6 +4973,18 @@ func (s Limits) GoString() string {
return s.String()
}
+// SetMaximumPartitionCount sets the MaximumPartitionCount field's value.
+func (s *Limits) SetMaximumPartitionCount(v int64) *Limits {
+ s.MaximumPartitionCount = &v
+ return s
+}
+
+// SetMaximumReplicationCount sets the MaximumReplicationCount field's value.
+func (s *Limits) SetMaximumReplicationCount(v int64) *Limits {
+ s.MaximumReplicationCount = &v
+ return s
+}
+
type ListDomainNamesInput struct {
_ struct{} `type:"structure"`
}
@@ -4130,6 +5018,12 @@ func (s ListDomainNamesOutput) GoString() string {
return s.String()
}
+// SetDomainNames sets the DomainNames field's value.
+func (s *ListDomainNamesOutput) SetDomainNames(v map[string]*string) *ListDomainNamesOutput {
+ s.DomainNames = v
+ return s
+}
+
// Options for a field that contains an array of literal strings. Present if
// IndexFieldType specifies the field is of type literal-array. All options
// are enabled by default.
@@ -4162,6 +5056,36 @@ func (s LiteralArrayOptions) GoString() string {
return s.String()
}
+// SetDefaultValue sets the DefaultValue field's value.
+func (s *LiteralArrayOptions) SetDefaultValue(v string) *LiteralArrayOptions {
+ s.DefaultValue = &v
+ return s
+}
+
+// SetFacetEnabled sets the FacetEnabled field's value.
+func (s *LiteralArrayOptions) SetFacetEnabled(v bool) *LiteralArrayOptions {
+ s.FacetEnabled = &v
+ return s
+}
+
+// SetReturnEnabled sets the ReturnEnabled field's value.
+func (s *LiteralArrayOptions) SetReturnEnabled(v bool) *LiteralArrayOptions {
+ s.ReturnEnabled = &v
+ return s
+}
+
+// SetSearchEnabled sets the SearchEnabled field's value.
+func (s *LiteralArrayOptions) SetSearchEnabled(v bool) *LiteralArrayOptions {
+ s.SearchEnabled = &v
+ return s
+}
+
+// SetSourceFields sets the SourceFields field's value.
+func (s *LiteralArrayOptions) SetSourceFields(v string) *LiteralArrayOptions {
+ s.SourceFields = &v
+ return s
+}
+
// Options for literal field. Present if IndexFieldType specifies the field
// is of type literal. All options are enabled by default.
type LiteralOptions struct {
@@ -4222,6 +5146,42 @@ func (s *LiteralOptions) Validate() error {
return nil
}
+// SetDefaultValue sets the DefaultValue field's value.
+func (s *LiteralOptions) SetDefaultValue(v string) *LiteralOptions {
+ s.DefaultValue = &v
+ return s
+}
+
+// SetFacetEnabled sets the FacetEnabled field's value.
+func (s *LiteralOptions) SetFacetEnabled(v bool) *LiteralOptions {
+ s.FacetEnabled = &v
+ return s
+}
+
+// SetReturnEnabled sets the ReturnEnabled field's value.
+func (s *LiteralOptions) SetReturnEnabled(v bool) *LiteralOptions {
+ s.ReturnEnabled = &v
+ return s
+}
+
+// SetSearchEnabled sets the SearchEnabled field's value.
+func (s *LiteralOptions) SetSearchEnabled(v bool) *LiteralOptions {
+ s.SearchEnabled = &v
+ return s
+}
+
+// SetSortEnabled sets the SortEnabled field's value.
+func (s *LiteralOptions) SetSortEnabled(v bool) *LiteralOptions {
+ s.SortEnabled = &v
+ return s
+}
+
+// SetSourceField sets the SourceField field's value.
+func (s *LiteralOptions) SetSourceField(v string) *LiteralOptions {
+ s.SourceField = &v
+ return s
+}
+
// The status of domain configuration option.
type OptionStatus struct {
_ struct{} `type:"structure"`
@@ -4267,6 +5227,36 @@ func (s OptionStatus) GoString() string {
return s.String()
}
+// SetCreationDate sets the CreationDate field's value.
+func (s *OptionStatus) SetCreationDate(v time.Time) *OptionStatus {
+ s.CreationDate = &v
+ return s
+}
+
+// SetPendingDeletion sets the PendingDeletion field's value.
+func (s *OptionStatus) SetPendingDeletion(v bool) *OptionStatus {
+ s.PendingDeletion = &v
+ return s
+}
+
+// SetState sets the State field's value.
+func (s *OptionStatus) SetState(v string) *OptionStatus {
+ s.State = &v
+ return s
+}
+
+// SetUpdateDate sets the UpdateDate field's value.
+func (s *OptionStatus) SetUpdateDate(v time.Time) *OptionStatus {
+ s.UpdateDate = &v
+ return s
+}
+
+// SetUpdateVersion sets the UpdateVersion field's value.
+func (s *OptionStatus) SetUpdateVersion(v int64) *OptionStatus {
+ s.UpdateVersion = &v
+ return s
+}
+
// The desired instance type and desired number of replicas of each index partition.
type ScalingParameters struct {
_ struct{} `type:"structure"`
@@ -4293,6 +5283,24 @@ func (s ScalingParameters) GoString() string {
return s.String()
}
+// SetDesiredInstanceType sets the DesiredInstanceType field's value.
+func (s *ScalingParameters) SetDesiredInstanceType(v string) *ScalingParameters {
+ s.DesiredInstanceType = &v
+ return s
+}
+
+// SetDesiredPartitionCount sets the DesiredPartitionCount field's value.
+func (s *ScalingParameters) SetDesiredPartitionCount(v int64) *ScalingParameters {
+ s.DesiredPartitionCount = &v
+ return s
+}
+
+// SetDesiredReplicationCount sets the DesiredReplicationCount field's value.
+func (s *ScalingParameters) SetDesiredReplicationCount(v int64) *ScalingParameters {
+ s.DesiredReplicationCount = &v
+ return s
+}
+
// The status and configuration of a search domain's scaling parameters.
type ScalingParametersStatus struct {
_ struct{} `type:"structure"`
@@ -4318,6 +5326,18 @@ func (s ScalingParametersStatus) GoString() string {
return s.String()
}
+// SetOptions sets the Options field's value.
+func (s *ScalingParametersStatus) SetOptions(v *ScalingParameters) *ScalingParametersStatus {
+ s.Options = v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *ScalingParametersStatus) SetStatus(v *OptionStatus) *ScalingParametersStatus {
+ s.Status = v
+ return s
+}
+
// The endpoint to which service requests can be submitted.
type ServiceEndpoint struct {
_ struct{} `type:"structure"`
@@ -4337,6 +5357,12 @@ func (s ServiceEndpoint) GoString() string {
return s.String()
}
+// SetEndpoint sets the Endpoint field's value.
+func (s *ServiceEndpoint) SetEndpoint(v string) *ServiceEndpoint {
+ s.Endpoint = &v
+ return s
+}
+
// Configuration information for a search suggester. Each suggester has a unique
// name and specifies the text field you want to use for suggestions. The following
// options can be configured for a suggester: FuzzyMatching, SortExpression.
@@ -4389,6 +5415,18 @@ func (s *Suggester) Validate() error {
return nil
}
+// SetDocumentSuggesterOptions sets the DocumentSuggesterOptions field's value.
+func (s *Suggester) SetDocumentSuggesterOptions(v *DocumentSuggesterOptions) *Suggester {
+ s.DocumentSuggesterOptions = v
+ return s
+}
+
+// SetSuggesterName sets the SuggesterName field's value.
+func (s *Suggester) SetSuggesterName(v string) *Suggester {
+ s.SuggesterName = &v
+ return s
+}
+
// The value of a Suggester and its current status.
type SuggesterStatus struct {
_ struct{} `type:"structure"`
@@ -4416,6 +5454,18 @@ func (s SuggesterStatus) GoString() string {
return s.String()
}
+// SetOptions sets the Options field's value.
+func (s *SuggesterStatus) SetOptions(v *Suggester) *SuggesterStatus {
+ s.Options = v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *SuggesterStatus) SetStatus(v *OptionStatus) *SuggesterStatus {
+ s.Status = v
+ return s
+}
+
// Options for a field that contains an array of text strings. Present if IndexFieldType
// specifies the field is of type text-array. A text-array field is always searchable.
// All options are enabled by default.
@@ -4448,6 +5498,36 @@ func (s TextArrayOptions) GoString() string {
return s.String()
}
+// SetAnalysisScheme sets the AnalysisScheme field's value.
+func (s *TextArrayOptions) SetAnalysisScheme(v string) *TextArrayOptions {
+ s.AnalysisScheme = &v
+ return s
+}
+
+// SetDefaultValue sets the DefaultValue field's value.
+func (s *TextArrayOptions) SetDefaultValue(v string) *TextArrayOptions {
+ s.DefaultValue = &v
+ return s
+}
+
+// SetHighlightEnabled sets the HighlightEnabled field's value.
+func (s *TextArrayOptions) SetHighlightEnabled(v bool) *TextArrayOptions {
+ s.HighlightEnabled = &v
+ return s
+}
+
+// SetReturnEnabled sets the ReturnEnabled field's value.
+func (s *TextArrayOptions) SetReturnEnabled(v bool) *TextArrayOptions {
+ s.ReturnEnabled = &v
+ return s
+}
+
+// SetSourceFields sets the SourceFields field's value.
+func (s *TextArrayOptions) SetSourceFields(v string) *TextArrayOptions {
+ s.SourceFields = &v
+ return s
+}
+
// Options for text field. Present if IndexFieldType specifies the field is
// of type text. A text field is always searchable. All options are enabled
// by default.
@@ -4509,6 +5589,42 @@ func (s *TextOptions) Validate() error {
return nil
}
+// SetAnalysisScheme sets the AnalysisScheme field's value.
+func (s *TextOptions) SetAnalysisScheme(v string) *TextOptions {
+ s.AnalysisScheme = &v
+ return s
+}
+
+// SetDefaultValue sets the DefaultValue field's value.
+func (s *TextOptions) SetDefaultValue(v string) *TextOptions {
+ s.DefaultValue = &v
+ return s
+}
+
+// SetHighlightEnabled sets the HighlightEnabled field's value.
+func (s *TextOptions) SetHighlightEnabled(v bool) *TextOptions {
+ s.HighlightEnabled = &v
+ return s
+}
+
+// SetReturnEnabled sets the ReturnEnabled field's value.
+func (s *TextOptions) SetReturnEnabled(v bool) *TextOptions {
+ s.ReturnEnabled = &v
+ return s
+}
+
+// SetSortEnabled sets the SortEnabled field's value.
+func (s *TextOptions) SetSortEnabled(v bool) *TextOptions {
+ s.SortEnabled = &v
+ return s
+}
+
+// SetSourceField sets the SourceField field's value.
+func (s *TextOptions) SetSourceField(v string) *TextOptions {
+ s.SourceField = &v
+ return s
+}
+
// Container for the parameters to the UpdateAvailabilityOptions operation.
// Specifies the name of the domain you want to update and the Multi-AZ availability
// option.
@@ -4561,6 +5677,18 @@ func (s *UpdateAvailabilityOptionsInput) Validate() error {
return nil
}
+// SetDomainName sets the DomainName field's value.
+func (s *UpdateAvailabilityOptionsInput) SetDomainName(v string) *UpdateAvailabilityOptionsInput {
+ s.DomainName = &v
+ return s
+}
+
+// SetMultiAZ sets the MultiAZ field's value.
+func (s *UpdateAvailabilityOptionsInput) SetMultiAZ(v bool) *UpdateAvailabilityOptionsInput {
+ s.MultiAZ = &v
+ return s
+}
+
// The result of a UpdateAvailabilityOptions request. Contains the status of
// the domain's availability options.
type UpdateAvailabilityOptionsOutput struct {
@@ -4581,6 +5709,12 @@ func (s UpdateAvailabilityOptionsOutput) GoString() string {
return s.String()
}
+// SetAvailabilityOptions sets the AvailabilityOptions field's value.
+func (s *UpdateAvailabilityOptionsOutput) SetAvailabilityOptions(v *AvailabilityOptionsStatus) *UpdateAvailabilityOptionsOutput {
+ s.AvailabilityOptions = v
+ return s
+}
+
// Container for the parameters to the UpdateScalingParameters operation. Specifies
// the name of the domain you want to update and the scaling parameters you
// want to configure.
@@ -4630,6 +5764,18 @@ func (s *UpdateScalingParametersInput) Validate() error {
return nil
}
+// SetDomainName sets the DomainName field's value.
+func (s *UpdateScalingParametersInput) SetDomainName(v string) *UpdateScalingParametersInput {
+ s.DomainName = &v
+ return s
+}
+
+// SetScalingParameters sets the ScalingParameters field's value.
+func (s *UpdateScalingParametersInput) SetScalingParameters(v *ScalingParameters) *UpdateScalingParametersInput {
+ s.ScalingParameters = v
+ return s
+}
+
// The result of a UpdateScalingParameters request. Contains the status of the
// newly-configured scaling parameters.
type UpdateScalingParametersOutput struct {
@@ -4651,6 +5797,12 @@ func (s UpdateScalingParametersOutput) GoString() string {
return s.String()
}
+// SetScalingParameters sets the ScalingParameters field's value.
+func (s *UpdateScalingParametersOutput) SetScalingParameters(v *ScalingParametersStatus) *UpdateScalingParametersOutput {
+ s.ScalingParameters = v
+ return s
+}
+
// Container for the parameters to the UpdateServiceAccessPolicies operation.
// Specifies the name of the domain you want to update and the access rules
// you want to configure.
@@ -4701,6 +5853,18 @@ func (s *UpdateServiceAccessPoliciesInput) Validate() error {
return nil
}
+// SetAccessPolicies sets the AccessPolicies field's value.
+func (s *UpdateServiceAccessPoliciesInput) SetAccessPolicies(v string) *UpdateServiceAccessPoliciesInput {
+ s.AccessPolicies = &v
+ return s
+}
+
+// SetDomainName sets the DomainName field's value.
+func (s *UpdateServiceAccessPoliciesInput) SetDomainName(v string) *UpdateServiceAccessPoliciesInput {
+ s.DomainName = &v
+ return s
+}
+
// The result of an UpdateServiceAccessPolicies request. Contains the new access
// policies.
type UpdateServiceAccessPoliciesOutput struct {
@@ -4722,6 +5886,12 @@ func (s UpdateServiceAccessPoliciesOutput) GoString() string {
return s.String()
}
+// SetAccessPolicies sets the AccessPolicies field's value.
+func (s *UpdateServiceAccessPoliciesOutput) SetAccessPolicies(v *AccessPoliciesStatus) *UpdateServiceAccessPoliciesOutput {
+ s.AccessPolicies = v
+ return s
+}
+
const (
// AlgorithmicStemmingNone is a AlgorithmicStemming enum value
AlgorithmicStemmingNone = "none"
diff --git a/vendor/github.com/aws/aws-sdk-go/service/cloudsearchdomain/api.go b/vendor/github.com/aws/aws-sdk-go/service/cloudsearchdomain/api.go
index cdf811d..400eee8 100644
--- a/vendor/github.com/aws/aws-sdk-go/service/cloudsearchdomain/api.go
+++ b/vendor/github.com/aws/aws-sdk-go/service/cloudsearchdomain/api.go
@@ -280,6 +280,18 @@ func (s Bucket) GoString() string {
return s.String()
}
+// SetCount sets the Count field's value.
+func (s *Bucket) SetCount(v int64) *Bucket {
+ s.Count = &v
+ return s
+}
+
+// SetValue sets the Value field's value.
+func (s *Bucket) SetValue(v string) *Bucket {
+ s.Value = &v
+ return s
+}
+
// A container for the calculated facet values and counts.
type BucketInfo struct {
_ struct{} `type:"structure"`
@@ -298,6 +310,12 @@ func (s BucketInfo) GoString() string {
return s.String()
}
+// SetBuckets sets the Buckets field's value.
+func (s *BucketInfo) SetBuckets(v []*Bucket) *BucketInfo {
+ s.Buckets = v
+ return s
+}
+
// A warning returned by the document service when an issue is discovered while
// processing an upload request.
type DocumentServiceWarning struct {
@@ -317,6 +335,12 @@ func (s DocumentServiceWarning) GoString() string {
return s.String()
}
+// SetMessage sets the Message field's value.
+func (s *DocumentServiceWarning) SetMessage(v string) *DocumentServiceWarning {
+ s.Message = &v
+ return s
+}
+
// The statistics for a field calculated in the request.
type FieldStats struct {
_ struct{} `type:"structure"`
@@ -378,6 +402,54 @@ func (s FieldStats) GoString() string {
return s.String()
}
+// SetCount sets the Count field's value.
+func (s *FieldStats) SetCount(v int64) *FieldStats {
+ s.Count = &v
+ return s
+}
+
+// SetMax sets the Max field's value.
+func (s *FieldStats) SetMax(v string) *FieldStats {
+ s.Max = &v
+ return s
+}
+
+// SetMean sets the Mean field's value.
+func (s *FieldStats) SetMean(v string) *FieldStats {
+ s.Mean = &v
+ return s
+}
+
+// SetMin sets the Min field's value.
+func (s *FieldStats) SetMin(v string) *FieldStats {
+ s.Min = &v
+ return s
+}
+
+// SetMissing sets the Missing field's value.
+func (s *FieldStats) SetMissing(v int64) *FieldStats {
+ s.Missing = &v
+ return s
+}
+
+// SetStddev sets the Stddev field's value.
+func (s *FieldStats) SetStddev(v float64) *FieldStats {
+ s.Stddev = &v
+ return s
+}
+
+// SetSum sets the Sum field's value.
+func (s *FieldStats) SetSum(v float64) *FieldStats {
+ s.Sum = &v
+ return s
+}
+
+// SetSumOfSquares sets the SumOfSquares field's value.
+func (s *FieldStats) SetSumOfSquares(v float64) *FieldStats {
+ s.SumOfSquares = &v
+ return s
+}
+
// Information about a document that matches the search request.
type Hit struct {
_ struct{} `type:"structure"`
@@ -405,6 +477,30 @@ func (s Hit) GoString() string {
return s.String()
}
+// SetExprs sets the Exprs field's value.
+func (s *Hit) SetExprs(v map[string]*string) *Hit {
+ s.Exprs = v
+ return s
+}
+
+// SetFields sets the Fields field's value.
+func (s *Hit) SetFields(v map[string][]*string) *Hit {
+ s.Fields = v
+ return s
+}
+
+// SetHighlights sets the Highlights field's value.
+func (s *Hit) SetHighlights(v map[string]*string) *Hit {
+ s.Highlights = v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *Hit) SetId(v string) *Hit {
+ s.Id = &v
+ return s
+}
+
// The collection of documents that match the search request.
type Hits struct {
_ struct{} `type:"structure"`
@@ -433,6 +529,30 @@ func (s Hits) GoString() string {
return s.String()
}
+// SetCursor sets the Cursor field's value.
+func (s *Hits) SetCursor(v string) *Hits {
+ s.Cursor = &v
+ return s
+}
+
+// SetFound sets the Found field's value.
+func (s *Hits) SetFound(v int64) *Hits {
+ s.Found = &v
+ return s
+}
+
+// SetHit sets the Hit field's value.
+func (s *Hits) SetHit(v []*Hit) *Hits {
+ s.Hit = v
+ return s
+}
+
+// SetStart sets the Start field's value.
+func (s *Hits) SetStart(v int64) *Hits {
+ s.Start = &v
+ return s
+}
+
// Container for the parameters to the Search request.
type SearchInput struct {
_ struct{} `type:"structure"`
@@ -761,6 +881,90 @@ func (s *SearchInput) Validate() error {
return nil
}
+// SetCursor sets the Cursor field's value.
+func (s *SearchInput) SetCursor(v string) *SearchInput {
+ s.Cursor = &v
+ return s
+}
+
+// SetExpr sets the Expr field's value.
+func (s *SearchInput) SetExpr(v string) *SearchInput {
+ s.Expr = &v
+ return s
+}
+
+// SetFacet sets the Facet field's value.
+func (s *SearchInput) SetFacet(v string) *SearchInput {
+ s.Facet = &v
+ return s
+}
+
+// SetFilterQuery sets the FilterQuery field's value.
+func (s *SearchInput) SetFilterQuery(v string) *SearchInput {
+ s.FilterQuery = &v
+ return s
+}
+
+// SetHighlight sets the Highlight field's value.
+func (s *SearchInput) SetHighlight(v string) *SearchInput {
+ s.Highlight = &v
+ return s
+}
+
+// SetPartial sets the Partial field's value.
+func (s *SearchInput) SetPartial(v bool) *SearchInput {
+ s.Partial = &v
+ return s
+}
+
+// SetQuery sets the Query field's value.
+func (s *SearchInput) SetQuery(v string) *SearchInput {
+ s.Query = &v
+ return s
+}
+
+// SetQueryOptions sets the QueryOptions field's value.
+func (s *SearchInput) SetQueryOptions(v string) *SearchInput {
+ s.QueryOptions = &v
+ return s
+}
+
+// SetQueryParser sets the QueryParser field's value.
+func (s *SearchInput) SetQueryParser(v string) *SearchInput {
+ s.QueryParser = &v
+ return s
+}
+
+// SetReturn sets the Return field's value.
+func (s *SearchInput) SetReturn(v string) *SearchInput {
+ s.Return = &v
+ return s
+}
+
+// SetSize sets the Size field's value.
+func (s *SearchInput) SetSize(v int64) *SearchInput {
+ s.Size = &v
+ return s
+}
+
+// SetSort sets the Sort field's value.
+func (s *SearchInput) SetSort(v string) *SearchInput {
+ s.Sort = &v
+ return s
+}
+
+// SetStart sets the Start field's value.
+func (s *SearchInput) SetStart(v int64) *SearchInput {
+ s.Start = &v
+ return s
+}
+
+// SetStats sets the Stats field's value.
+func (s *SearchInput) SetStats(v string) *SearchInput {
+ s.Stats = &v
+ return s
+}
+
// The result of a Search request. Contains the documents that match the specified
// search criteria and any requested fields, highlights, and facet information.
type SearchOutput struct {
@@ -789,6 +993,30 @@ func (s SearchOutput) GoString() string {
return s.String()
}
+// SetFacets sets the Facets field's value.
+func (s *SearchOutput) SetFacets(v map[string]*BucketInfo) *SearchOutput {
+ s.Facets = v
+ return s
+}
+
+// SetHits sets the Hits field's value.
+func (s *SearchOutput) SetHits(v *Hits) *SearchOutput {
+ s.Hits = v
+ return s
+}
+
+// SetStats sets the Stats field's value.
+func (s *SearchOutput) SetStats(v map[string]*FieldStats) *SearchOutput {
+ s.Stats = v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *SearchOutput) SetStatus(v *SearchStatus) *SearchOutput {
+ s.Status = v
+ return s
+}
+
// Contains the resource id (rid) and the time it took to process the request
// (timems).
type SearchStatus struct {
@@ -811,6 +1039,18 @@ func (s SearchStatus) GoString() string {
return s.String()
}
+// SetRid sets the Rid field's value.
+func (s *SearchStatus) SetRid(v string) *SearchStatus {
+ s.Rid = &v
+ return s
+}
+
+// SetTimems sets the Timems field's value.
+func (s *SearchStatus) SetTimems(v int64) *SearchStatus {
+ s.Timems = &v
+ return s
+}
+
// Container for the parameters to the Suggest request.
type SuggestInput struct {
_ struct{} `type:"structure"`
@@ -855,6 +1095,24 @@ func (s *SuggestInput) Validate() error {
return nil
}
+// SetQuery sets the Query field's value.
+func (s *SuggestInput) SetQuery(v string) *SuggestInput {
+ s.Query = &v
+ return s
+}
+
+// SetSize sets the Size field's value.
+func (s *SuggestInput) SetSize(v int64) *SuggestInput {
+ s.Size = &v
+ return s
+}
+
+// SetSuggester sets the Suggester field's value.
+func (s *SuggestInput) SetSuggester(v string) *SuggestInput {
+ s.Suggester = &v
+ return s
+}
+
// Container for the suggestion information returned in a SuggestResponse.
type SuggestModel struct {
_ struct{} `type:"structure"`
@@ -879,6 +1137,24 @@ func (s SuggestModel) GoString() string {
return s.String()
}
+// SetFound sets the Found field's value.
+func (s *SuggestModel) SetFound(v int64) *SuggestModel {
+ s.Found = &v
+ return s
+}
+
+// SetQuery sets the Query field's value.
+func (s *SuggestModel) SetQuery(v string) *SuggestModel {
+ s.Query = &v
+ return s
+}
+
+// SetSuggestions sets the Suggestions field's value.
+func (s *SuggestModel) SetSuggestions(v []*SuggestionMatch) *SuggestModel {
+ s.Suggestions = v
+ return s
+}
+
// Contains the response to a Suggest request.
type SuggestOutput struct {
_ struct{} `type:"structure"`
@@ -901,6 +1177,18 @@ func (s SuggestOutput) GoString() string {
return s.String()
}
+// SetStatus sets the Status field's value.
+func (s *SuggestOutput) SetStatus(v *SuggestStatus) *SuggestOutput {
+ s.Status = v
+ return s
+}
+
+// SetSuggest sets the Suggest field's value.
+func (s *SuggestOutput) SetSuggest(v *SuggestModel) *SuggestOutput {
+ s.Suggest = v
+ return s
+}
+
// Contains the resource id (rid) and the time it took to process the request
// (timems).
type SuggestStatus struct {
@@ -923,6 +1211,18 @@ func (s SuggestStatus) GoString() string {
return s.String()
}
+// SetRid sets the Rid field's value.
+func (s *SuggestStatus) SetRid(v string) *SuggestStatus {
+ s.Rid = &v
+ return s
+}
+
+// SetTimems sets the Timems field's value.
+func (s *SuggestStatus) SetTimems(v int64) *SuggestStatus {
+ s.Timems = &v
+ return s
+}
+
// An autocomplete suggestion that matches the query string specified in a SuggestRequest.
type SuggestionMatch struct {
_ struct{} `type:"structure"`
@@ -947,6 +1247,24 @@ func (s SuggestionMatch) GoString() string {
return s.String()
}
+// SetId sets the Id field's value.
+func (s *SuggestionMatch) SetId(v string) *SuggestionMatch {
+ s.Id = &v
+ return s
+}
+
+// SetScore sets the Score field's value.
+func (s *SuggestionMatch) SetScore(v int64) *SuggestionMatch {
+ s.Score = &v
+ return s
+}
+
+// SetSuggestion sets the Suggestion field's value.
+func (s *SuggestionMatch) SetSuggestion(v string) *SuggestionMatch {
+ s.Suggestion = &v
+ return s
+}
+
// Container for the parameters to the UploadDocuments request.
type UploadDocumentsInput struct {
_ struct{} `type:"structure" payload:"Documents"`
@@ -992,6 +1310,18 @@ func (s *UploadDocumentsInput) Validate() error {
return nil
}
+// SetContentType sets the ContentType field's value.
+func (s *UploadDocumentsInput) SetContentType(v string) *UploadDocumentsInput {
+ s.ContentType = &v
+ return s
+}
+
+// SetDocuments sets the Documents field's value.
+func (s *UploadDocumentsInput) SetDocuments(v io.ReadSeeker) *UploadDocumentsInput {
+ s.Documents = v
+ return s
+}
+
// Contains the response to an UploadDocuments request.
type UploadDocumentsOutput struct {
_ struct{} `type:"structure"`
@@ -1019,6 +1349,30 @@ func (s UploadDocumentsOutput) GoString() string {
return s.String()
}
+// SetAdds sets the Adds field's value.
+func (s *UploadDocumentsOutput) SetAdds(v int64) *UploadDocumentsOutput {
+ s.Adds = &v
+ return s
+}
+
+// SetDeletes sets the Deletes field's value.
+func (s *UploadDocumentsOutput) SetDeletes(v int64) *UploadDocumentsOutput {
+ s.Deletes = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *UploadDocumentsOutput) SetStatus(v string) *UploadDocumentsOutput {
+ s.Status = &v
+ return s
+}
+
+// SetWarnings sets the Warnings field's value.
+func (s *UploadDocumentsOutput) SetWarnings(v []*DocumentServiceWarning) *UploadDocumentsOutput {
+ s.Warnings = v
+ return s
+}
+
const (
// ContentTypeApplicationJson is a ContentType enum value
ContentTypeApplicationJson = "application/json"
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 3268805..f713e8f 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
@@ -1245,6 +1245,18 @@ func (s *AddTagsInput) Validate() error {
return nil
}
+// SetResourceId sets the ResourceId field's value.
+func (s *AddTagsInput) SetResourceId(v string) *AddTagsInput {
+ s.ResourceId = &v
+ return s
+}
+
+// SetTagsList sets the TagsList field's value.
+func (s *AddTagsInput) SetTagsList(v []*Tag) *AddTagsInput {
+ s.TagsList = v
+ return s
+}
+
// Returns the objects or data listed below if successful. Otherwise, returns
// an error.
type AddTagsOutput struct {
@@ -1370,6 +1382,66 @@ func (s *CreateTrailInput) Validate() error {
return nil
}
+// SetCloudWatchLogsLogGroupArn sets the CloudWatchLogsLogGroupArn field's value.
+func (s *CreateTrailInput) SetCloudWatchLogsLogGroupArn(v string) *CreateTrailInput {
+ s.CloudWatchLogsLogGroupArn = &v
+ return s
+}
+
+// SetCloudWatchLogsRoleArn sets the CloudWatchLogsRoleArn field's value.
+func (s *CreateTrailInput) SetCloudWatchLogsRoleArn(v string) *CreateTrailInput {
+ s.CloudWatchLogsRoleArn = &v
+ return s
+}
+
+// SetEnableLogFileValidation sets the EnableLogFileValidation field's value.
+func (s *CreateTrailInput) SetEnableLogFileValidation(v bool) *CreateTrailInput {
+ s.EnableLogFileValidation = &v
+ return s
+}
+
+// SetIncludeGlobalServiceEvents sets the IncludeGlobalServiceEvents field's value.
+func (s *CreateTrailInput) SetIncludeGlobalServiceEvents(v bool) *CreateTrailInput {
+ s.IncludeGlobalServiceEvents = &v
+ return s
+}
+
+// SetIsMultiRegionTrail sets the IsMultiRegionTrail field's value.
+func (s *CreateTrailInput) SetIsMultiRegionTrail(v bool) *CreateTrailInput {
+ s.IsMultiRegionTrail = &v
+ return s
+}
+
+// SetKmsKeyId sets the KmsKeyId field's value.
+func (s *CreateTrailInput) SetKmsKeyId(v string) *CreateTrailInput {
+ s.KmsKeyId = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *CreateTrailInput) SetName(v string) *CreateTrailInput {
+ s.Name = &v
+ return s
+}
+
+// SetS3BucketName sets the S3BucketName field's value.
+func (s *CreateTrailInput) SetS3BucketName(v string) *CreateTrailInput {
+ s.S3BucketName = &v
+ return s
+}
+
+// SetS3KeyPrefix sets the S3KeyPrefix field's value.
+func (s *CreateTrailInput) SetS3KeyPrefix(v string) *CreateTrailInput {
+ s.S3KeyPrefix = &v
+ return s
+}
+
+// SetSnsTopicName sets the SnsTopicName field's value.
+func (s *CreateTrailInput) SetSnsTopicName(v string) *CreateTrailInput {
+ s.SnsTopicName = &v
+ return s
+}
+
// Returns the objects or data listed below if successful. Otherwise, returns
// an error.
type CreateTrailOutput struct {
@@ -1437,6 +1509,78 @@ func (s CreateTrailOutput) GoString() string {
return s.String()
}
+// SetCloudWatchLogsLogGroupArn sets the CloudWatchLogsLogGroupArn field's value.
+func (s *CreateTrailOutput) SetCloudWatchLogsLogGroupArn(v string) *CreateTrailOutput {
+ s.CloudWatchLogsLogGroupArn = &v
+ return s
+}
+
+// SetCloudWatchLogsRoleArn sets the CloudWatchLogsRoleArn field's value.
+func (s *CreateTrailOutput) SetCloudWatchLogsRoleArn(v string) *CreateTrailOutput {
+ s.CloudWatchLogsRoleArn = &v
+ return s
+}
+
+// SetIncludeGlobalServiceEvents sets the IncludeGlobalServiceEvents field's value.
+func (s *CreateTrailOutput) SetIncludeGlobalServiceEvents(v bool) *CreateTrailOutput {
+ s.IncludeGlobalServiceEvents = &v
+ return s
+}
+
+// SetIsMultiRegionTrail sets the IsMultiRegionTrail field's value.
+func (s *CreateTrailOutput) SetIsMultiRegionTrail(v bool) *CreateTrailOutput {
+ s.IsMultiRegionTrail = &v
+ return s
+}
+
+// SetKmsKeyId sets the KmsKeyId field's value.
+func (s *CreateTrailOutput) SetKmsKeyId(v string) *CreateTrailOutput {
+ s.KmsKeyId = &v
+ return s
+}
+
+// SetLogFileValidationEnabled sets the LogFileValidationEnabled field's value.
+func (s *CreateTrailOutput) SetLogFileValidationEnabled(v bool) *CreateTrailOutput {
+ s.LogFileValidationEnabled = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *CreateTrailOutput) SetName(v string) *CreateTrailOutput {
+ s.Name = &v
+ return s
+}
+
+// SetS3BucketName sets the S3BucketName field's value.
+func (s *CreateTrailOutput) SetS3BucketName(v string) *CreateTrailOutput {
+ s.S3BucketName = &v
+ return s
+}
+
+// SetS3KeyPrefix sets the S3KeyPrefix field's value.
+func (s *CreateTrailOutput) SetS3KeyPrefix(v string) *CreateTrailOutput {
+ s.S3KeyPrefix = &v
+ return s
+}
+
+// SetSnsTopicARN sets the SnsTopicARN field's value.
+func (s *CreateTrailOutput) SetSnsTopicARN(v string) *CreateTrailOutput {
+ s.SnsTopicARN = &v
+ return s
+}
+
+// SetSnsTopicName sets the SnsTopicName field's value.
+func (s *CreateTrailOutput) SetSnsTopicName(v string) *CreateTrailOutput {
+ s.SnsTopicName = &v
+ return s
+}
+
+// SetTrailARN sets the TrailARN field's value.
+func (s *CreateTrailOutput) SetTrailARN(v string) *CreateTrailOutput {
+ s.TrailARN = &v
+ return s
+}
+
// The request that specifies the name of a trail to delete.
type DeleteTrailInput struct {
_ struct{} `type:"structure"`
@@ -1473,6 +1617,12 @@ func (s *DeleteTrailInput) Validate() error {
return nil
}
+// SetName sets the Name field's value.
+func (s *DeleteTrailInput) SetName(v string) *DeleteTrailInput {
+ s.Name = &v
+ return s
+}
+
// Returns the objects or data listed below if successful. Otherwise, returns
// an error.
type DeleteTrailOutput struct {
@@ -1530,6 +1680,18 @@ func (s DescribeTrailsInput) GoString() string {
return s.String()
}
+// SetIncludeShadowTrails sets the IncludeShadowTrails field's value.
+func (s *DescribeTrailsInput) SetIncludeShadowTrails(v bool) *DescribeTrailsInput {
+ s.IncludeShadowTrails = &v
+ return s
+}
+
+// SetTrailNameList sets the TrailNameList field's value.
+func (s *DescribeTrailsInput) SetTrailNameList(v []*string) *DescribeTrailsInput {
+ s.TrailNameList = v
+ return s
+}
+
// Returns the objects or data listed below if successful. Otherwise, returns
// an error.
type DescribeTrailsOutput struct {
@@ -1549,6 +1711,12 @@ func (s DescribeTrailsOutput) GoString() string {
return s.String()
}
+// SetTrailList sets the TrailList field's value.
+func (s *DescribeTrailsOutput) SetTrailList(v []*Trail) *DescribeTrailsOutput {
+ s.TrailList = v
+ return s
+}
+
// Contains information about an event that was returned by a lookup request.
// The result includes a representation of a CloudTrail event.
type Event struct {
@@ -1584,6 +1752,42 @@ func (s Event) GoString() string {
return s.String()
}
+// SetCloudTrailEvent sets the CloudTrailEvent field's value.
+func (s *Event) SetCloudTrailEvent(v string) *Event {
+ s.CloudTrailEvent = &v
+ return s
+}
+
+// SetEventId sets the EventId field's value.
+func (s *Event) SetEventId(v string) *Event {
+ s.EventId = &v
+ return s
+}
+
+// SetEventName sets the EventName field's value.
+func (s *Event) SetEventName(v string) *Event {
+ s.EventName = &v
+ return s
+}
+
+// SetEventTime sets the EventTime field's value.
+func (s *Event) SetEventTime(v time.Time) *Event {
+ s.EventTime = &v
+ return s
+}
+
+// SetResources sets the Resources field's value.
+func (s *Event) SetResources(v []*Resource) *Event {
+ s.Resources = v
+ return s
+}
+
+// SetUsername sets the Username field's value.
+func (s *Event) SetUsername(v string) *Event {
+ s.Username = &v
+ return s
+}
+
// The name of a trail about which you want the current status.
type GetTrailStatusInput struct {
_ struct{} `type:"structure"`
@@ -1621,6 +1825,12 @@ func (s *GetTrailStatusInput) Validate() error {
return nil
}
+// SetName sets the Name field's value.
+func (s *GetTrailStatusInput) SetName(v string) *GetTrailStatusInput {
+ s.Name = &v
+ return s
+}
+
// Returns the objects or data listed below if successful. Otherwise, returns
// an error.
type GetTrailStatusOutput struct {
@@ -1713,6 +1923,108 @@ func (s GetTrailStatusOutput) GoString() string {
return s.String()
}
+// SetIsLogging sets the IsLogging field's value.
+func (s *GetTrailStatusOutput) SetIsLogging(v bool) *GetTrailStatusOutput {
+ s.IsLogging = &v
+ return s
+}
+
+// SetLatestCloudWatchLogsDeliveryError sets the LatestCloudWatchLogsDeliveryError field's value.
+func (s *GetTrailStatusOutput) SetLatestCloudWatchLogsDeliveryError(v string) *GetTrailStatusOutput {
+ s.LatestCloudWatchLogsDeliveryError = &v
+ return s
+}
+
+// SetLatestCloudWatchLogsDeliveryTime sets the LatestCloudWatchLogsDeliveryTime field's value.
+func (s *GetTrailStatusOutput) SetLatestCloudWatchLogsDeliveryTime(v time.Time) *GetTrailStatusOutput {
+ s.LatestCloudWatchLogsDeliveryTime = &v
+ return s
+}
+
+// SetLatestDeliveryAttemptSucceeded sets the LatestDeliveryAttemptSucceeded field's value.
+func (s *GetTrailStatusOutput) SetLatestDeliveryAttemptSucceeded(v string) *GetTrailStatusOutput {
+ s.LatestDeliveryAttemptSucceeded = &v
+ return s
+}
+
+// SetLatestDeliveryAttemptTime sets the LatestDeliveryAttemptTime field's value.
+func (s *GetTrailStatusOutput) SetLatestDeliveryAttemptTime(v string) *GetTrailStatusOutput {
+ s.LatestDeliveryAttemptTime = &v
+ return s
+}
+
+// SetLatestDeliveryError sets the LatestDeliveryError field's value.
+func (s *GetTrailStatusOutput) SetLatestDeliveryError(v string) *GetTrailStatusOutput {
+ s.LatestDeliveryError = &v
+ return s
+}
+
+// SetLatestDeliveryTime sets the LatestDeliveryTime field's value.
+func (s *GetTrailStatusOutput) SetLatestDeliveryTime(v time.Time) *GetTrailStatusOutput {
+ s.LatestDeliveryTime = &v
+ return s
+}
+
+// SetLatestDigestDeliveryError sets the LatestDigestDeliveryError field's value.
+func (s *GetTrailStatusOutput) SetLatestDigestDeliveryError(v string) *GetTrailStatusOutput {
+ s.LatestDigestDeliveryError = &v
+ return s
+}
+
+// SetLatestDigestDeliveryTime sets the LatestDigestDeliveryTime field's value.
+func (s *GetTrailStatusOutput) SetLatestDigestDeliveryTime(v time.Time) *GetTrailStatusOutput {
+ s.LatestDigestDeliveryTime = &v
+ return s
+}
+
+// SetLatestNotificationAttemptSucceeded sets the LatestNotificationAttemptSucceeded field's value.
+func (s *GetTrailStatusOutput) SetLatestNotificationAttemptSucceeded(v string) *GetTrailStatusOutput {
+ s.LatestNotificationAttemptSucceeded = &v
+ return s
+}
+
+// SetLatestNotificationAttemptTime sets the LatestNotificationAttemptTime field's value.
+func (s *GetTrailStatusOutput) SetLatestNotificationAttemptTime(v string) *GetTrailStatusOutput {
+ s.LatestNotificationAttemptTime = &v
+ return s
+}
+
+// SetLatestNotificationError sets the LatestNotificationError field's value.
+func (s *GetTrailStatusOutput) SetLatestNotificationError(v string) *GetTrailStatusOutput {
+ s.LatestNotificationError = &v
+ return s
+}
+
+// SetLatestNotificationTime sets the LatestNotificationTime field's value.
+func (s *GetTrailStatusOutput) SetLatestNotificationTime(v time.Time) *GetTrailStatusOutput {
+ s.LatestNotificationTime = &v
+ return s
+}
+
+// SetStartLoggingTime sets the StartLoggingTime field's value.
+func (s *GetTrailStatusOutput) SetStartLoggingTime(v time.Time) *GetTrailStatusOutput {
+ s.StartLoggingTime = &v
+ return s
+}
+
+// SetStopLoggingTime sets the StopLoggingTime field's value.
+func (s *GetTrailStatusOutput) SetStopLoggingTime(v time.Time) *GetTrailStatusOutput {
+ s.StopLoggingTime = &v
+ return s
+}
+
+// SetTimeLoggingStarted sets the TimeLoggingStarted field's value.
+func (s *GetTrailStatusOutput) SetTimeLoggingStarted(v string) *GetTrailStatusOutput {
+ s.TimeLoggingStarted = &v
+ return s
+}
+
+// SetTimeLoggingStopped sets the TimeLoggingStopped field's value.
+func (s *GetTrailStatusOutput) SetTimeLoggingStopped(v string) *GetTrailStatusOutput {
+ s.TimeLoggingStopped = &v
+ return s
+}
+
// Requests the public keys for a specified time range.
type ListPublicKeysInput struct {
_ struct{} `type:"structure"`
@@ -1740,6 +2052,24 @@ func (s ListPublicKeysInput) GoString() string {
return s.String()
}
+// SetEndTime sets the EndTime field's value.
+func (s *ListPublicKeysInput) SetEndTime(v time.Time) *ListPublicKeysInput {
+ s.EndTime = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListPublicKeysInput) SetNextToken(v string) *ListPublicKeysInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetStartTime sets the StartTime field's value.
+func (s *ListPublicKeysInput) SetStartTime(v time.Time) *ListPublicKeysInput {
+ s.StartTime = &v
+ return s
+}
+
// Returns the objects or data listed below if successful. Otherwise, returns
// an error.
type ListPublicKeysOutput struct {
@@ -1764,6 +2094,18 @@ func (s ListPublicKeysOutput) GoString() string {
return s.String()
}
+// SetNextToken sets the NextToken field's value.
+func (s *ListPublicKeysOutput) SetNextToken(v string) *ListPublicKeysOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetPublicKeyList sets the PublicKeyList field's value.
+func (s *ListPublicKeysOutput) SetPublicKeyList(v []*PublicKey) *ListPublicKeysOutput {
+ s.PublicKeyList = v
+ return s
+}
+
// Specifies a list of trail tags to return.
type ListTagsInput struct {
_ struct{} `type:"structure"`
@@ -1803,6 +2145,18 @@ func (s *ListTagsInput) Validate() error {
return nil
}
+// SetNextToken sets the NextToken field's value.
+func (s *ListTagsInput) SetNextToken(v string) *ListTagsInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetResourceIdList sets the ResourceIdList field's value.
+func (s *ListTagsInput) SetResourceIdList(v []*string) *ListTagsInput {
+ s.ResourceIdList = v
+ return s
+}
+
// Returns the objects or data listed below if successful. Otherwise, returns
// an error.
type ListTagsOutput struct {
@@ -1825,6 +2179,18 @@ func (s ListTagsOutput) GoString() string {
return s.String()
}
+// SetNextToken sets the NextToken field's value.
+func (s *ListTagsOutput) SetNextToken(v string) *ListTagsOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetResourceTagList sets the ResourceTagList field's value.
+func (s *ListTagsOutput) SetResourceTagList(v []*ResourceTag) *ListTagsOutput {
+ s.ResourceTagList = v
+ return s
+}
+
// Specifies an attribute and value that filter the events returned.
type LookupAttribute struct {
_ struct{} `type:"structure"`
@@ -1866,6 +2232,18 @@ func (s *LookupAttribute) Validate() error {
return nil
}
+// SetAttributeKey sets the AttributeKey field's value.
+func (s *LookupAttribute) SetAttributeKey(v string) *LookupAttribute {
+ s.AttributeKey = &v
+ return s
+}
+
+// SetAttributeValue sets the AttributeValue field's value.
+func (s *LookupAttribute) SetAttributeValue(v string) *LookupAttribute {
+ s.AttributeValue = &v
+ return s
+}
+
// Contains a request for LookupEvents.
type LookupEventsInput struct {
_ struct{} `type:"structure"`
@@ -1929,6 +2307,36 @@ func (s *LookupEventsInput) Validate() error {
return nil
}
+// SetEndTime sets the EndTime field's value.
+func (s *LookupEventsInput) SetEndTime(v time.Time) *LookupEventsInput {
+ s.EndTime = &v
+ return s
+}
+
+// SetLookupAttributes sets the LookupAttributes field's value.
+func (s *LookupEventsInput) SetLookupAttributes(v []*LookupAttribute) *LookupEventsInput {
+ s.LookupAttributes = v
+ return s
+}
+
+// SetMaxResults sets the MaxResults field's value.
+func (s *LookupEventsInput) SetMaxResults(v int64) *LookupEventsInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *LookupEventsInput) SetNextToken(v string) *LookupEventsInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetStartTime sets the StartTime field's value.
+func (s *LookupEventsInput) SetStartTime(v time.Time) *LookupEventsInput {
+ s.StartTime = &v
+ return s
+}
+
// Contains a response to a LookupEvents action.
type LookupEventsOutput struct {
_ struct{} `type:"structure"`
@@ -1956,6 +2364,18 @@ func (s LookupEventsOutput) GoString() string {
return s.String()
}
+// SetEvents sets the Events field's value.
+func (s *LookupEventsOutput) SetEvents(v []*Event) *LookupEventsOutput {
+ s.Events = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *LookupEventsOutput) SetNextToken(v string) *LookupEventsOutput {
+ s.NextToken = &v
+ return s
+}
+
// Contains information about a returned public key.
type PublicKey struct {
_ struct{} `type:"structure"`
@@ -1985,6 +2405,30 @@ func (s PublicKey) GoString() string {
return s.String()
}
+// SetFingerprint sets the Fingerprint field's value.
+func (s *PublicKey) SetFingerprint(v string) *PublicKey {
+ s.Fingerprint = &v
+ return s
+}
+
+// SetValidityEndTime sets the ValidityEndTime field's value.
+func (s *PublicKey) SetValidityEndTime(v time.Time) *PublicKey {
+ s.ValidityEndTime = &v
+ return s
+}
+
+// SetValidityStartTime sets the ValidityStartTime field's value.
+func (s *PublicKey) SetValidityStartTime(v time.Time) *PublicKey {
+ s.ValidityStartTime = &v
+ return s
+}
+
+// SetValue sets the Value field's value.
+func (s *PublicKey) SetValue(v []byte) *PublicKey {
+ s.Value = v
+ return s
+}
+
// Specifies the tags to remove from a trail.
type RemoveTagsInput struct {
_ struct{} `type:"structure"`
@@ -2034,6 +2478,18 @@ func (s *RemoveTagsInput) Validate() error {
return nil
}
+// SetResourceId sets the ResourceId field's value.
+func (s *RemoveTagsInput) SetResourceId(v string) *RemoveTagsInput {
+ s.ResourceId = &v
+ return s
+}
+
+// SetTagsList sets the TagsList field's value.
+func (s *RemoveTagsInput) SetTagsList(v []*Tag) *RemoveTagsInput {
+ s.TagsList = v
+ return s
+}
+
// Returns the objects or data listed below if successful. Otherwise, returns
// an error.
type RemoveTagsOutput struct {
@@ -2078,6 +2534,18 @@ func (s Resource) GoString() string {
return s.String()
}
+// SetResourceName sets the ResourceName field's value.
+func (s *Resource) SetResourceName(v string) *Resource {
+ s.ResourceName = &v
+ return s
+}
+
+// SetResourceType sets the ResourceType field's value.
+func (s *Resource) SetResourceType(v string) *Resource {
+ s.ResourceType = &v
+ return s
+}
+
// A resource tag.
type ResourceTag struct {
_ struct{} `type:"structure"`
@@ -2099,6 +2567,18 @@ func (s ResourceTag) GoString() string {
return s.String()
}
+// SetResourceId sets the ResourceId field's value.
+func (s *ResourceTag) SetResourceId(v string) *ResourceTag {
+ s.ResourceId = &v
+ return s
+}
+
+// SetTagsList sets the TagsList field's value.
+func (s *ResourceTag) SetTagsList(v []*Tag) *ResourceTag {
+ s.TagsList = v
+ return s
+}
+
// The request to CloudTrail to start logging AWS API calls for an account.
type StartLoggingInput struct {
_ struct{} `type:"structure"`
@@ -2135,6 +2615,12 @@ func (s *StartLoggingInput) Validate() error {
return nil
}
+// SetName sets the Name field's value.
+func (s *StartLoggingInput) SetName(v string) *StartLoggingInput {
+ s.Name = &v
+ return s
+}
+
// Returns the objects or data listed below if successful. Otherwise, returns
// an error.
type StartLoggingOutput struct {
@@ -2188,6 +2674,12 @@ func (s *StopLoggingInput) Validate() error {
return nil
}
+// SetName sets the Name field's value.
+func (s *StopLoggingInput) SetName(v string) *StopLoggingInput {
+ s.Name = &v
+ return s
+}
+
// Returns the objects or data listed below if successful. Otherwise, returns
// an error.
type StopLoggingOutput struct {
@@ -2242,6 +2734,18 @@ func (s *Tag) Validate() error {
return nil
}
+// 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
+}
+
// The settings for a trail.
type Trail struct {
_ struct{} `type:"structure"`
@@ -2311,6 +2815,84 @@ func (s Trail) GoString() string {
return s.String()
}
+// SetCloudWatchLogsLogGroupArn sets the CloudWatchLogsLogGroupArn field's value.
+func (s *Trail) SetCloudWatchLogsLogGroupArn(v string) *Trail {
+ s.CloudWatchLogsLogGroupArn = &v
+ return s
+}
+
+// SetCloudWatchLogsRoleArn sets the CloudWatchLogsRoleArn field's value.
+func (s *Trail) SetCloudWatchLogsRoleArn(v string) *Trail {
+ s.CloudWatchLogsRoleArn = &v
+ return s
+}
+
+// SetHomeRegion sets the HomeRegion field's value.
+func (s *Trail) SetHomeRegion(v string) *Trail {
+ s.HomeRegion = &v
+ return s
+}
+
+// SetIncludeGlobalServiceEvents sets the IncludeGlobalServiceEvents field's value.
+func (s *Trail) SetIncludeGlobalServiceEvents(v bool) *Trail {
+ s.IncludeGlobalServiceEvents = &v
+ return s
+}
+
+// SetIsMultiRegionTrail sets the IsMultiRegionTrail field's value.
+func (s *Trail) SetIsMultiRegionTrail(v bool) *Trail {
+ s.IsMultiRegionTrail = &v
+ return s
+}
+
+// SetKmsKeyId sets the KmsKeyId field's value.
+func (s *Trail) SetKmsKeyId(v string) *Trail {
+ s.KmsKeyId = &v
+ return s
+}
+
+// SetLogFileValidationEnabled sets the LogFileValidationEnabled field's value.
+func (s *Trail) SetLogFileValidationEnabled(v bool) *Trail {
+ s.LogFileValidationEnabled = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *Trail) SetName(v string) *Trail {
+ s.Name = &v
+ return s
+}
+
+// SetS3BucketName sets the S3BucketName field's value.
+func (s *Trail) SetS3BucketName(v string) *Trail {
+ s.S3BucketName = &v
+ return s
+}
+
+// SetS3KeyPrefix sets the S3KeyPrefix field's value.
+func (s *Trail) SetS3KeyPrefix(v string) *Trail {
+ s.S3KeyPrefix = &v
+ return s
+}
+
+// SetSnsTopicARN sets the SnsTopicARN field's value.
+func (s *Trail) SetSnsTopicARN(v string) *Trail {
+ s.SnsTopicARN = &v
+ return s
+}
+
+// SetSnsTopicName sets the SnsTopicName field's value.
+func (s *Trail) SetSnsTopicName(v string) *Trail {
+ s.SnsTopicName = &v
+ return s
+}
+
+// SetTrailARN sets the TrailARN field's value.
+func (s *Trail) SetTrailARN(v string) *Trail {
+ s.TrailARN = &v
+ return s
+}
+
// Specifies settings to update for the trail.
type UpdateTrailInput struct {
_ struct{} `type:"structure"`
@@ -2423,6 +3005,66 @@ func (s *UpdateTrailInput) Validate() error {
return nil
}
+// SetCloudWatchLogsLogGroupArn sets the CloudWatchLogsLogGroupArn field's value.
+func (s *UpdateTrailInput) SetCloudWatchLogsLogGroupArn(v string) *UpdateTrailInput {
+ s.CloudWatchLogsLogGroupArn = &v
+ return s
+}
+
+// SetCloudWatchLogsRoleArn sets the CloudWatchLogsRoleArn field's value.
+func (s *UpdateTrailInput) SetCloudWatchLogsRoleArn(v string) *UpdateTrailInput {
+ s.CloudWatchLogsRoleArn = &v
+ return s
+}
+
+// SetEnableLogFileValidation sets the EnableLogFileValidation field's value.
+func (s *UpdateTrailInput) SetEnableLogFileValidation(v bool) *UpdateTrailInput {
+ s.EnableLogFileValidation = &v
+ return s
+}
+
+// SetIncludeGlobalServiceEvents sets the IncludeGlobalServiceEvents field's value.
+func (s *UpdateTrailInput) SetIncludeGlobalServiceEvents(v bool) *UpdateTrailInput {
+ s.IncludeGlobalServiceEvents = &v
+ return s
+}
+
+// SetIsMultiRegionTrail sets the IsMultiRegionTrail field's value.
+func (s *UpdateTrailInput) SetIsMultiRegionTrail(v bool) *UpdateTrailInput {
+ s.IsMultiRegionTrail = &v
+ return s
+}
+
+// SetKmsKeyId sets the KmsKeyId field's value.
+func (s *UpdateTrailInput) SetKmsKeyId(v string) *UpdateTrailInput {
+ s.KmsKeyId = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *UpdateTrailInput) SetName(v string) *UpdateTrailInput {
+ s.Name = &v
+ return s
+}
+
+// SetS3BucketName sets the S3BucketName field's value.
+func (s *UpdateTrailInput) SetS3BucketName(v string) *UpdateTrailInput {
+ s.S3BucketName = &v
+ return s
+}
+
+// SetS3KeyPrefix sets the S3KeyPrefix field's value.
+func (s *UpdateTrailInput) SetS3KeyPrefix(v string) *UpdateTrailInput {
+ s.S3KeyPrefix = &v
+ return s
+}
+
+// SetSnsTopicName sets the SnsTopicName field's value.
+func (s *UpdateTrailInput) SetSnsTopicName(v string) *UpdateTrailInput {
+ s.SnsTopicName = &v
+ return s
+}
+
// Returns the objects or data listed below if successful. Otherwise, returns
// an error.
type UpdateTrailOutput struct {
@@ -2490,6 +3132,78 @@ func (s UpdateTrailOutput) GoString() string {
return s.String()
}
+// SetCloudWatchLogsLogGroupArn sets the CloudWatchLogsLogGroupArn field's value.
+func (s *UpdateTrailOutput) SetCloudWatchLogsLogGroupArn(v string) *UpdateTrailOutput {
+ s.CloudWatchLogsLogGroupArn = &v
+ return s
+}
+
+// SetCloudWatchLogsRoleArn sets the CloudWatchLogsRoleArn field's value.
+func (s *UpdateTrailOutput) SetCloudWatchLogsRoleArn(v string) *UpdateTrailOutput {
+ s.CloudWatchLogsRoleArn = &v
+ return s
+}
+
+// SetIncludeGlobalServiceEvents sets the IncludeGlobalServiceEvents field's value.
+func (s *UpdateTrailOutput) SetIncludeGlobalServiceEvents(v bool) *UpdateTrailOutput {
+ s.IncludeGlobalServiceEvents = &v
+ return s
+}
+
+// SetIsMultiRegionTrail sets the IsMultiRegionTrail field's value.
+func (s *UpdateTrailOutput) SetIsMultiRegionTrail(v bool) *UpdateTrailOutput {
+ s.IsMultiRegionTrail = &v
+ return s
+}
+
+// SetKmsKeyId sets the KmsKeyId field's value.
+func (s *UpdateTrailOutput) SetKmsKeyId(v string) *UpdateTrailOutput {
+ s.KmsKeyId = &v
+ return s
+}
+
+// SetLogFileValidationEnabled sets the LogFileValidationEnabled field's value.
+func (s *UpdateTrailOutput) SetLogFileValidationEnabled(v bool) *UpdateTrailOutput {
+ s.LogFileValidationEnabled = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *UpdateTrailOutput) SetName(v string) *UpdateTrailOutput {
+ s.Name = &v
+ return s
+}
+
+// SetS3BucketName sets the S3BucketName field's value.
+func (s *UpdateTrailOutput) SetS3BucketName(v string) *UpdateTrailOutput {
+ s.S3BucketName = &v
+ return s
+}
+
+// SetS3KeyPrefix sets the S3KeyPrefix field's value.
+func (s *UpdateTrailOutput) SetS3KeyPrefix(v string) *UpdateTrailOutput {
+ s.S3KeyPrefix = &v
+ return s
+}
+
+// SetSnsTopicARN sets the SnsTopicARN field's value.
+func (s *UpdateTrailOutput) SetSnsTopicARN(v string) *UpdateTrailOutput {
+ s.SnsTopicARN = &v
+ return s
+}
+
+// SetSnsTopicName sets the SnsTopicName field's value.
+func (s *UpdateTrailOutput) SetSnsTopicName(v string) *UpdateTrailOutput {
+ s.SnsTopicName = &v
+ return s
+}
+
+// SetTrailARN sets the TrailARN field's value.
+func (s *UpdateTrailOutput) SetTrailARN(v string) *UpdateTrailOutput {
+ s.TrailARN = &v
+ return s
+}
+
const (
// LookupAttributeKeyEventId is a LookupAttributeKey enum value
LookupAttributeKeyEventId = "EventId"
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 59d26cf..1461038 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
@@ -60,7 +60,7 @@ func (c *CloudWatch) DeleteAlarmsRequest(input *DeleteAlarmsInput) (req *request
// DeleteAlarms API operation for Amazon CloudWatch.
//
-// Deletes all specified alarms. In the event of an error, no alarms are deleted.
+// Deletes the specified alarms. In the event of an error, no alarms are 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
@@ -130,12 +130,12 @@ func (c *CloudWatch) DescribeAlarmHistoryRequest(input *DescribeAlarmHistoryInpu
// DescribeAlarmHistory API operation for Amazon CloudWatch.
//
-// Retrieves history for the specified alarm. Filter alarms by date range or
-// item type. If an alarm name is not specified, Amazon CloudWatch returns histories
-// for all of the owner's alarms.
+// Retrieves the history for the specified alarm. You can filter the results
+// by date range or item type. If an alarm name is not specified, the histories
+// for all alarms are returned.
//
-// Amazon CloudWatch retains the history of an alarm for two weeks, whether
-// or not you delete the alarm.
+// Note that Amazon CloudWatch retains the history of an alarm even if you delete
+// the alarm.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
@@ -230,9 +230,9 @@ func (c *CloudWatch) DescribeAlarmsRequest(input *DescribeAlarmsInput) (req *req
// DescribeAlarms API operation for Amazon CloudWatch.
//
-// Retrieves alarms with the specified names. If no name is specified, all alarms
-// for the user are returned. Alarms can be retrieved by using only a prefix
-// for the alarm name, the alarm state, or a prefix for any action.
+// Retrieves the specified alarms. If no alarms are specified, all alarms are
+// returned. Alarms can be retrieved by using only a prefix for the alarm name,
+// the alarm state, or a prefix for any 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
@@ -321,8 +321,8 @@ func (c *CloudWatch) DescribeAlarmsForMetricRequest(input *DescribeAlarmsForMetr
// DescribeAlarmsForMetric API operation for Amazon CloudWatch.
//
-// Retrieves all alarms for a single metric. Specify a statistic, period, or
-// unit to filter the set of alarms further.
+// Retrieves the alarms for the specified metric. Specify a statistic, period,
+// or unit to filter the 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
@@ -383,8 +383,8 @@ func (c *CloudWatch) DisableAlarmActionsRequest(input *DisableAlarmActionsInput)
// DisableAlarmActions API operation for Amazon CloudWatch.
//
-// Disables actions for the specified alarms. When an alarm's actions are disabled
-// the alarm's state may change, but none of the alarm's actions will execute.
+// Disables the actions for the specified alarms. When an alarm's actions are
+// disabled, the alarm actions do not execute when the alarm state changes.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
@@ -445,7 +445,7 @@ func (c *CloudWatch) EnableAlarmActionsRequest(input *EnableAlarmActionsInput) (
// EnableAlarmActions API operation for Amazon CloudWatch.
//
-// Enables actions for the specified alarms.
+// Enables the actions for the specified alarms.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
@@ -506,36 +506,36 @@ func (c *CloudWatch) GetMetricStatisticsRequest(input *GetMetricStatisticsInput)
//
// Gets statistics for the specified metric.
//
-// The maximum number of data points that can be queried is 50,850, whereas
-// the maximum number of data points returned from a single GetMetricStatistics
-// request is 1,440. If you make a request that generates more than 1,440 data
-// points, Amazon CloudWatch returns an error. In such a case, you can alter
-// the request by narrowing the specified time range or increasing the specified
-// period. A period can be as short as one minute (60 seconds) or as long as
-// one day (86,400 seconds). Alternatively, you can make multiple requests across
-// adjacent time ranges. GetMetricStatistics does not return the data in chronological
-// order.
+// Amazon CloudWatch retains metric data as follows:
//
-// Amazon CloudWatch aggregates data points based on the length of the period
-// that you specify. For example, if you request statistics with a one-minute
-// granularity, Amazon CloudWatch aggregates data points with time stamps that
-// fall within the same one-minute period. In such a case, the data points queried
-// can greatly outnumber the data points returned.
+// * Data points with a period of 60 seconds (1 minute) are available for
+// 15 days
+//
+// * Data points with a period of 300 seconds (5 minute) are available for
+// 63 days
//
-// The following examples show various statistics allowed by the data point
-// query maximum of 50,850 when you call GetMetricStatistics on Amazon EC2 instances
-// with detailed (one-minute) monitoring enabled:
+// * Data points with a period of 3600 seconds (1 hour) are available for
+// 455 days (15 months)
//
-// * Statistics for up to 400 instances for a span of one hour
+// Note that CloudWatch started retaining 5-minute and 1-hour metric data as
+// of 9 July 2016.
//
-// * Statistics for up to 35 instances over a span of 24 hours
+// The maximum number of data points returned from a single call is 1,440. If
+// you request more than 1,440 data points, Amazon CloudWatch returns an error.
+// To reduce the number of data points, you can narrow the specified time range
+// and make multiple requests across adjacent time ranges, or you can increase
+// the specified period. A period can be as short as one minute (60 seconds).
+// Note that data points are not returned in chronological order.
//
-// * Statistics for up to 2 instances over a span of 2 weeks
+// Amazon CloudWatch aggregates data points based on the length of the period
+// that you specify. For example, if you request statistics with a one-hour
+// period, Amazon CloudWatch aggregates all data points with time stamps that
+// fall within each one-hour period. Therefore, the number of values aggregated
+// by CloudWatch is larger than the number of data points returned.
//
-// For information about the namespace, metric names, and dimensions that other
-// Amazon Web Services products use to send metrics to CloudWatch, go to Amazon
-// CloudWatch Metrics, Namespaces, and Dimensions Reference (http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CW_Support_For_AWS.html)
-// in the Amazon CloudWatch Developer Guide.
+// For a list of metrics and dimensions supported by AWS services, see the Amazon
+// CloudWatch Metrics and Dimensions Reference (http://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CW_Support_For_AWS.html)
+// in the Amazon CloudWatch 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
@@ -546,17 +546,16 @@ func (c *CloudWatch) GetMetricStatisticsRequest(input *GetMetricStatisticsInput)
//
// Returned Error Codes:
// * InvalidParameterValue
-// Bad or out-of-range value was supplied for the input parameter.
+// The value of an input parameter is bad or out-of-range.
//
// * MissingParameter
-// An input parameter that is mandatory for processing the request is not supplied.
+// An input parameter that is required is missing.
//
// * InvalidParameterCombination
-// Parameters that must not be used together were used together.
+// Parameters that cannot be used together were used together.
//
// * InternalServiceError
-// Indicates that the request processing has failed due to some unknown error,
-// exception, or failure.
+// Request processing has failed due to some unknown error, exception, or failure.
//
func (c *CloudWatch) GetMetricStatistics(input *GetMetricStatisticsInput) (*GetMetricStatisticsOutput, error) {
req, out := c.GetMetricStatisticsRequest(input)
@@ -615,16 +614,15 @@ func (c *CloudWatch) ListMetricsRequest(input *ListMetricsInput) (req *request.R
// ListMetrics API operation for Amazon CloudWatch.
//
-// Returns a list of valid metrics stored for the AWS account owner. Returned
-// metrics can be used with GetMetricStatistics to obtain statistical data for
-// a given metric.
+// List the specified metrics. You can use the returned metrics with GetMetricStatistics
+// to obtain statistical data.
//
-// Up to 500 results are returned for any one call. To retrieve further results,
-// use returned NextToken values with subsequent ListMetrics operations.
+// Up to 500 results are returned for any one call. To retrieve additional results,
+// use the returned token with subsequent calls.
//
-// If you create a metric with PutMetricData, allow up to fifteen minutes for
-// the metric to appear in calls to ListMetrics. Statistics about the metric,
-// however, are available sooner using GetMetricStatistics.
+// After you create a metric, allow up to fifteen minutes before the metric
+// appears. Statistics about the metric, however, are available sooner using
+// GetMetricStatistics.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
@@ -635,11 +633,10 @@ func (c *CloudWatch) ListMetricsRequest(input *ListMetricsInput) (req *request.R
//
// Returned Error Codes:
// * InternalServiceError
-// Indicates that the request processing has failed due to some unknown error,
-// exception, or failure.
+// Request processing has failed due to some unknown error, exception, or failure.
//
// * InvalidParameterValue
-// Bad or out-of-range value was supplied for the input parameter.
+// The value of an input parameter is bad or out-of-range.
//
func (c *CloudWatch) ListMetrics(input *ListMetricsInput) (*ListMetricsOutput, error) {
req, out := c.ListMetricsRequest(input)
@@ -719,47 +716,49 @@ func (c *CloudWatch) PutMetricAlarmRequest(input *PutMetricAlarmInput) (req *req
// PutMetricAlarm API operation for Amazon CloudWatch.
//
-// Creates or updates an alarm and associates it with the specified Amazon CloudWatch
-// metric. Optionally, this operation can associate one or more Amazon SNS resources
+// Creates or updates an alarm and associates it with the specified metric.
+// Optionally, this operation can associate one or more Amazon SNS resources
// with the alarm.
//
// When this operation creates an alarm, the alarm state is immediately set
-// to INSUFFICIENT_DATA. The alarm is evaluated and its StateValue is set appropriately.
-// Any actions associated with the StateValue are then executed.
+// to INSUFFICIENT_DATA. The alarm is evaluated and its state is set appropriately.
+// Any actions associated with the state are then executed.
//
-// When updating an existing alarm, its StateValue is left unchanged, but it
-// completely overwrites the alarm's previous configuration.
+// When you update an existing alarm, its state is left unchanged, but the update
+// completely overwrites the previous configuration of the alarm.
//
-// If you are using an AWS Identity and Access Management (IAM) account to create
-// or modify an alarm, you must have the following Amazon EC2 permissions:
+// If you are an AWS Identity and Access Management (IAM) user, you must have
+// Amazon EC2 permissions for some operations:
//
-// ec2:DescribeInstanceStatus and ec2:DescribeInstances for all alarms on Amazon
-// EC2 instance status metrics.
+// * ec2:DescribeInstanceStatus and ec2:DescribeInstances for all alarms
+// on EC2 instance status metrics
//
-// ec2:StopInstances for alarms with stop actions.
+// * ec2:StopInstances for alarms with stop actions
//
-// ec2:TerminateInstances for alarms with terminate actions.
+// * ec2:TerminateInstances for alarms with terminate actions
//
-// ec2:DescribeInstanceRecoveryAttribute, and ec2:RecoverInstances for alarms
-// with recover actions.
+// * ec2:DescribeInstanceRecoveryAttribute and ec2:RecoverInstances for alarms
+// with recover actions
//
// If you have read/write permissions for Amazon CloudWatch but not for Amazon
-// EC2, you can still create an alarm but the stop or terminate actions won't
-// be performed on the Amazon EC2 instance. However, if you are later granted
-// permission to use the associated Amazon EC2 APIs, the alarm actions you created
-// earlier will be performed. For more information about IAM permissions, see
-// Permissions and Policies (http://docs.aws.amazon.com/IAM/latest/UserGuide/PermissionsAndPolicies.html)
-// in Using IAM.
-//
-// If you are using an IAM role (e.g., an Amazon EC2 instance profile), you
-// cannot stop or terminate the instance using alarm actions. However, you can
-// still see the alarm state and perform any other actions such as Amazon SNS
-// notifications or Auto Scaling policies.
+// EC2, you can still create an alarm, but the stop or terminate actions won't
+// be performed. However, if you are later granted the required permissions,
+// the alarm actions that you created earlier will be performed.
+//
+// If you are using an IAM role (for example, an Amazon EC2 instance profile),
+// you cannot stop or terminate the instance using alarm actions. However, you
+// can still see the alarm state and perform any other actions such as Amazon
+// SNS notifications or Auto Scaling policies.
//
// If you are using temporary security credentials granted using the AWS Security
// Token Service (AWS STS), you cannot stop or terminate an Amazon EC2 instance
// using alarm actions.
//
+// Note that you must create at least one stop, terminate, or reboot alarm using
+// the Amazon EC2 or CloudWatch console to create the EC2ActionsAccess IAM role.
+// After this IAM role is created, you can create stop, terminate, or reboot
+// alarms using a command-line interface or an 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.
@@ -839,8 +838,9 @@ func (c *CloudWatch) PutMetricDataRequest(input *PutMetricDataInput) (req *reque
// (Base 2). In addition, special values (e.g., NaN, +Infinity, -Infinity) are
// not supported.
//
-// Data that is timestamped 24 hours or more in the past may take in excess
-// of 48 hours to become available from submission time using GetMetricStatistics.
+// Data points with time stamps from 24 hours ago or longer can take at least
+// 48 hours to become available for GetMetricStatistics from the time they are
+// submitted.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
@@ -851,17 +851,16 @@ func (c *CloudWatch) PutMetricDataRequest(input *PutMetricDataInput) (req *reque
//
// Returned Error Codes:
// * InvalidParameterValue
-// Bad or out-of-range value was supplied for the input parameter.
+// The value of an input parameter is bad or out-of-range.
//
// * MissingParameter
-// An input parameter that is mandatory for processing the request is not supplied.
+// An input parameter that is required is missing.
//
// * InvalidParameterCombination
-// Parameters that must not be used together were used together.
+// Parameters that cannot be used together were used together.
//
// * InternalServiceError
-// Indicates that the request processing has failed due to some unknown error,
-// exception, or failure.
+// Request processing has failed due to some unknown error, exception, or failure.
//
func (c *CloudWatch) PutMetricData(input *PutMetricDataInput) (*PutMetricDataOutput, error) {
req, out := c.PutMetricDataRequest(input)
@@ -917,13 +916,13 @@ func (c *CloudWatch) SetAlarmStateRequest(input *SetAlarmStateInput) (req *reque
// SetAlarmState API operation for Amazon CloudWatch.
//
// Temporarily sets the state of an alarm for testing purposes. When the updated
-// StateValue differs from the previous value, the action configured for the
-// appropriate state is invoked. For example, if your alarm is configured to
-// send an Amazon SNS message when an alarm is triggered, temporarily changing
-// the alarm's state to ALARM sends an Amazon SNS message. The alarm returns
-// to its actual state (often within seconds). Because the alarm state change
-// happens very quickly, it is typically only visible in the alarm's History
-// tab in the Amazon CloudWatch console or through DescribeAlarmHistory.
+// state differs from the previous value, the action configured for the appropriate
+// state is invoked. For example, if your alarm is configured to send an Amazon
+// SNS message when an alarm is triggered, temporarily changing the alarm state
+// to ALARM sends an Amazon SNS message. The alarm returns to its actual state
+// (often within seconds). Because the alarm state change happens very quickly,
+// it is typically only visible in the alarm's History tab in the Amazon CloudWatch
+// console or through DescribeAlarmHistory.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
@@ -945,22 +944,20 @@ func (c *CloudWatch) SetAlarmState(input *SetAlarmStateInput) (*SetAlarmStateOut
return out, err
}
-// The AlarmHistoryItem data type contains descriptive information about the
-// history of a specific alarm. If you call DescribeAlarmHistory, Amazon CloudWatch
-// returns this data type as part of the DescribeAlarmHistoryResult data type.
+// Represents the history of a specific alarm.
type AlarmHistoryItem struct {
_ struct{} `type:"structure"`
// The descriptive name for the alarm.
AlarmName *string `min:"1" type:"string"`
- // Machine-readable data about the alarm in JSON format.
+ // Data about the alarm, in JSON format.
HistoryData *string `min:"1" type:"string"`
// The type of alarm history item.
HistoryItemType *string `type:"string" enum:"HistoryItemType"`
- // A human-readable summary of the alarm history.
+ // A summary of the alarm history, in text format.
HistorySummary *string `min:"1" type:"string"`
// The time stamp for the alarm history item.
@@ -977,31 +974,64 @@ func (s AlarmHistoryItem) GoString() string {
return s.String()
}
-// The Datapoint data type encapsulates the statistical data that Amazon CloudWatch
-// computes from metric data.
+// SetAlarmName sets the AlarmName field's value.
+func (s *AlarmHistoryItem) SetAlarmName(v string) *AlarmHistoryItem {
+ s.AlarmName = &v
+ return s
+}
+
+// SetHistoryData sets the HistoryData field's value.
+func (s *AlarmHistoryItem) SetHistoryData(v string) *AlarmHistoryItem {
+ s.HistoryData = &v
+ return s
+}
+
+// SetHistoryItemType sets the HistoryItemType field's value.
+func (s *AlarmHistoryItem) SetHistoryItemType(v string) *AlarmHistoryItem {
+ s.HistoryItemType = &v
+ return s
+}
+
+// SetHistorySummary sets the HistorySummary field's value.
+func (s *AlarmHistoryItem) SetHistorySummary(v string) *AlarmHistoryItem {
+ s.HistorySummary = &v
+ return s
+}
+
+// SetTimestamp sets the Timestamp field's value.
+func (s *AlarmHistoryItem) SetTimestamp(v time.Time) *AlarmHistoryItem {
+ s.Timestamp = &v
+ return s
+}
+
+// Encapsulates the statistical data that Amazon CloudWatch computes from metric
+// data.
type Datapoint struct {
_ struct{} `type:"structure"`
- // The average of metric values that correspond to the datapoint.
+ // The average of the metric values that correspond to the data point.
Average *float64 `type:"double"`
- // The maximum of the metric value used for the datapoint.
+ // The percentile statistic for the data point.
+ ExtendedStatistics map[string]*float64 `type:"map"`
+
+ // The maximum metric value for the data point.
Maximum *float64 `type:"double"`
- // The minimum metric value used for the datapoint.
+ // The minimum metric value for the data point.
Minimum *float64 `type:"double"`
// The number of metric values that contributed to the aggregate value of this
- // datapoint.
+ // data point.
SampleCount *float64 `type:"double"`
- // The sum of metric values used for the datapoint.
+ // The sum of the metric values for the data point.
Sum *float64 `type:"double"`
- // The time stamp used for the datapoint.
+ // The time stamp used for the data point.
Timestamp *time.Time `type:"timestamp" timestampFormat:"iso8601"`
- // The standard unit used for the datapoint.
+ // The standard unit for the data point.
Unit *string `type:"string" enum:"StandardUnit"`
}
@@ -1015,11 +1045,58 @@ func (s Datapoint) GoString() string {
return s.String()
}
-// Describes the inputs for DeleteAlarms.
+// SetAverage sets the Average field's value.
+func (s *Datapoint) SetAverage(v float64) *Datapoint {
+ s.Average = &v
+ return s
+}
+
+// SetExtendedStatistics sets the ExtendedStatistics field's value.
+func (s *Datapoint) SetExtendedStatistics(v map[string]*float64) *Datapoint {
+ s.ExtendedStatistics = v
+ return s
+}
+
+// SetMaximum sets the Maximum field's value.
+func (s *Datapoint) SetMaximum(v float64) *Datapoint {
+ s.Maximum = &v
+ return s
+}
+
+// SetMinimum sets the Minimum field's value.
+func (s *Datapoint) SetMinimum(v float64) *Datapoint {
+ s.Minimum = &v
+ return s
+}
+
+// SetSampleCount sets the SampleCount field's value.
+func (s *Datapoint) SetSampleCount(v float64) *Datapoint {
+ s.SampleCount = &v
+ return s
+}
+
+// SetSum sets the Sum field's value.
+func (s *Datapoint) SetSum(v float64) *Datapoint {
+ s.Sum = &v
+ return s
+}
+
+// SetTimestamp sets the Timestamp field's value.
+func (s *Datapoint) SetTimestamp(v time.Time) *Datapoint {
+ s.Timestamp = &v
+ return s
+}
+
+// SetUnit sets the Unit field's value.
+func (s *Datapoint) SetUnit(v string) *Datapoint {
+ s.Unit = &v
+ return s
+}
+
type DeleteAlarmsInput struct {
_ struct{} `type:"structure"`
- // A list of alarms to be deleted.
+ // The alarms to be deleted.
//
// AlarmNames is a required field
AlarmNames []*string `type:"list" required:"true"`
@@ -1048,6 +1125,12 @@ func (s *DeleteAlarmsInput) Validate() error {
return nil
}
+// SetAlarmNames sets the AlarmNames field's value.
+func (s *DeleteAlarmsInput) SetAlarmNames(v []*string) *DeleteAlarmsInput {
+ s.AlarmNames = v
+ return s
+}
+
type DeleteAlarmsOutput struct {
_ struct{} `type:"structure"`
}
@@ -1062,7 +1145,6 @@ func (s DeleteAlarmsOutput) GoString() string {
return s.String()
}
-// Describes the inputs for DescribeAlarmHistory.
type DescribeAlarmHistoryInput struct {
_ struct{} `type:"structure"`
@@ -1112,14 +1194,49 @@ func (s *DescribeAlarmHistoryInput) Validate() error {
return nil
}
-// The output for DescribeAlarmHistory.
+// SetAlarmName sets the AlarmName field's value.
+func (s *DescribeAlarmHistoryInput) SetAlarmName(v string) *DescribeAlarmHistoryInput {
+ s.AlarmName = &v
+ return s
+}
+
+// SetEndDate sets the EndDate field's value.
+func (s *DescribeAlarmHistoryInput) SetEndDate(v time.Time) *DescribeAlarmHistoryInput {
+ s.EndDate = &v
+ return s
+}
+
+// SetHistoryItemType sets the HistoryItemType field's value.
+func (s *DescribeAlarmHistoryInput) SetHistoryItemType(v string) *DescribeAlarmHistoryInput {
+ s.HistoryItemType = &v
+ return s
+}
+
+// SetMaxRecords sets the MaxRecords field's value.
+func (s *DescribeAlarmHistoryInput) SetMaxRecords(v int64) *DescribeAlarmHistoryInput {
+ s.MaxRecords = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeAlarmHistoryInput) SetNextToken(v string) *DescribeAlarmHistoryInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetStartDate sets the StartDate field's value.
+func (s *DescribeAlarmHistoryInput) SetStartDate(v time.Time) *DescribeAlarmHistoryInput {
+ s.StartDate = &v
+ return s
+}
+
type DescribeAlarmHistoryOutput struct {
_ struct{} `type:"structure"`
- // A list of alarm histories in JSON format.
+ // The alarm histories, in JSON format.
AlarmHistoryItems []*AlarmHistoryItem `type:"list"`
- // A string that marks the start of the next batch of returned results.
+ // The token that marks the start of the next batch of returned results.
NextToken *string `type:"string"`
}
@@ -1133,15 +1250,29 @@ func (s DescribeAlarmHistoryOutput) GoString() string {
return s.String()
}
-// Describes the inputs for DescribeAlarmsForMetric.
+// SetAlarmHistoryItems sets the AlarmHistoryItems field's value.
+func (s *DescribeAlarmHistoryOutput) SetAlarmHistoryItems(v []*AlarmHistoryItem) *DescribeAlarmHistoryOutput {
+ s.AlarmHistoryItems = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeAlarmHistoryOutput) SetNextToken(v string) *DescribeAlarmHistoryOutput {
+ s.NextToken = &v
+ return s
+}
+
type DescribeAlarmsForMetricInput struct {
_ struct{} `type:"structure"`
- // The list of dimensions associated with the metric. If the metric has any
- // associated dimensions, you must specify them in order for the DescribeAlarmsForMetric
- // to succeed.
+ // The dimensions associated with the metric. If the metric has any associated
+ // dimensions, you must specify them in order for the call to succeed.
Dimensions []*Dimension `type:"list"`
+ // The percentile statistic for the metric. Specify a value between p0.0 and
+ // p100.
+ ExtendedStatistic *string `type:"string"`
+
// The name of the metric.
//
// MetricName is a required field
@@ -1152,10 +1283,11 @@ type DescribeAlarmsForMetricInput struct {
// Namespace is a required field
Namespace *string `min:"1" type:"string" required:"true"`
- // The period in seconds over which the statistic is applied.
+ // The period, in seconds, over which the statistic is applied.
Period *int64 `min:"60" type:"integer"`
- // The statistic for the metric.
+ // The statistic for the metric, other than percentiles. For percentile statistics,
+ // use ExtendedStatistics.
Statistic *string `type:"string" enum:"Statistic"`
// The unit for the metric.
@@ -1207,11 +1339,52 @@ func (s *DescribeAlarmsForMetricInput) Validate() error {
return nil
}
-// The output for DescribeAlarmsForMetric.
+// SetDimensions sets the Dimensions field's value.
+func (s *DescribeAlarmsForMetricInput) SetDimensions(v []*Dimension) *DescribeAlarmsForMetricInput {
+ s.Dimensions = v
+ return s
+}
+
+// SetExtendedStatistic sets the ExtendedStatistic field's value.
+func (s *DescribeAlarmsForMetricInput) SetExtendedStatistic(v string) *DescribeAlarmsForMetricInput {
+ s.ExtendedStatistic = &v
+ return s
+}
+
+// SetMetricName sets the MetricName field's value.
+func (s *DescribeAlarmsForMetricInput) SetMetricName(v string) *DescribeAlarmsForMetricInput {
+ s.MetricName = &v
+ return s
+}
+
+// SetNamespace sets the Namespace field's value.
+func (s *DescribeAlarmsForMetricInput) SetNamespace(v string) *DescribeAlarmsForMetricInput {
+ s.Namespace = &v
+ return s
+}
+
+// SetPeriod sets the Period field's value.
+func (s *DescribeAlarmsForMetricInput) SetPeriod(v int64) *DescribeAlarmsForMetricInput {
+ s.Period = &v
+ return s
+}
+
+// SetStatistic sets the Statistic field's value.
+func (s *DescribeAlarmsForMetricInput) SetStatistic(v string) *DescribeAlarmsForMetricInput {
+ s.Statistic = &v
+ return s
+}
+
+// SetUnit sets the Unit field's value.
+func (s *DescribeAlarmsForMetricInput) SetUnit(v string) *DescribeAlarmsForMetricInput {
+ s.Unit = &v
+ return s
+}
+
type DescribeAlarmsForMetricOutput struct {
_ struct{} `type:"structure"`
- // A list of information for each alarm with the specified metric.
+ // The information for each alarm with the specified metric.
MetricAlarms []*MetricAlarm `type:"list"`
}
@@ -1225,18 +1398,23 @@ func (s DescribeAlarmsForMetricOutput) GoString() string {
return s.String()
}
-// Describes the inputs for DescribeAlarms.
+// SetMetricAlarms sets the MetricAlarms field's value.
+func (s *DescribeAlarmsForMetricOutput) SetMetricAlarms(v []*MetricAlarm) *DescribeAlarmsForMetricOutput {
+ s.MetricAlarms = v
+ return s
+}
+
type DescribeAlarmsInput struct {
_ struct{} `type:"structure"`
// The action name prefix.
ActionPrefix *string `min:"1" type:"string"`
- // The alarm name prefix. AlarmNames cannot be specified if this parameter is
+ // The alarm name prefix. You cannot specify AlarmNames if this parameter is
// specified.
AlarmNamePrefix *string `min:"1" type:"string"`
- // A list of alarm names to retrieve information for.
+ // The names of the alarms.
AlarmNames []*string `type:"list"`
// The maximum number of alarm descriptions to retrieve.
@@ -1279,14 +1457,49 @@ func (s *DescribeAlarmsInput) Validate() error {
return nil
}
-// The output for DescribeAlarms.
+// SetActionPrefix sets the ActionPrefix field's value.
+func (s *DescribeAlarmsInput) SetActionPrefix(v string) *DescribeAlarmsInput {
+ s.ActionPrefix = &v
+ return s
+}
+
+// SetAlarmNamePrefix sets the AlarmNamePrefix field's value.
+func (s *DescribeAlarmsInput) SetAlarmNamePrefix(v string) *DescribeAlarmsInput {
+ s.AlarmNamePrefix = &v
+ return s
+}
+
+// SetAlarmNames sets the AlarmNames field's value.
+func (s *DescribeAlarmsInput) SetAlarmNames(v []*string) *DescribeAlarmsInput {
+ s.AlarmNames = v
+ return s
+}
+
+// SetMaxRecords sets the MaxRecords field's value.
+func (s *DescribeAlarmsInput) SetMaxRecords(v int64) *DescribeAlarmsInput {
+ s.MaxRecords = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeAlarmsInput) SetNextToken(v string) *DescribeAlarmsInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetStateValue sets the StateValue field's value.
+func (s *DescribeAlarmsInput) SetStateValue(v string) *DescribeAlarmsInput {
+ s.StateValue = &v
+ return s
+}
+
type DescribeAlarmsOutput struct {
_ struct{} `type:"structure"`
- // A list of information for the specified alarms.
+ // The information for the specified alarms.
MetricAlarms []*MetricAlarm `type:"list"`
- // A string that marks the start of the next batch of returned results.
+ // The token that marks the start of the next batch of returned results.
NextToken *string `type:"string"`
}
@@ -1300,10 +1513,19 @@ func (s DescribeAlarmsOutput) GoString() string {
return s.String()
}
-// The Dimension data type further expands on the identity of a metric using
-// a Name, Value pair.
-//
-// For examples that use one or more dimensions, see PutMetricData.
+// SetMetricAlarms sets the MetricAlarms field's value.
+func (s *DescribeAlarmsOutput) SetMetricAlarms(v []*MetricAlarm) *DescribeAlarmsOutput {
+ s.MetricAlarms = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeAlarmsOutput) SetNextToken(v string) *DescribeAlarmsOutput {
+ s.NextToken = &v
+ return s
+}
+
+// Expands the identity of a metric.
type Dimension struct {
_ struct{} `type:"structure"`
@@ -1312,7 +1534,7 @@ type Dimension struct {
// Name is a required field
Name *string `min:"1" type:"string" required:"true"`
- // The value representing the dimension measurement
+ // The value representing the dimension measurement.
//
// Value is a required field
Value *string `min:"1" type:"string" required:"true"`
@@ -1350,7 +1572,19 @@ func (s *Dimension) Validate() error {
return nil
}
-// The DimensionFilter data type is used to filter ListMetrics results.
+// SetName sets the Name field's value.
+func (s *Dimension) SetName(v string) *Dimension {
+ s.Name = &v
+ return s
+}
+
+// SetValue sets the Value field's value.
+func (s *Dimension) SetValue(v string) *Dimension {
+ s.Value = &v
+ return s
+}
+
+// Represents filters for a dimension.
type DimensionFilter struct {
_ struct{} `type:"structure"`
@@ -1360,9 +1594,6 @@ type DimensionFilter struct {
Name *string `min:"1" type:"string" required:"true"`
// The value of the dimension to be matched.
- //
- // Specifying a Name without specifying a Value returns all values associated
- // with that Name.
Value *string `min:"1" type:"string"`
}
@@ -1395,10 +1626,22 @@ func (s *DimensionFilter) Validate() error {
return nil
}
+// SetName sets the Name field's value.
+func (s *DimensionFilter) SetName(v string) *DimensionFilter {
+ s.Name = &v
+ return s
+}
+
+// SetValue sets the Value field's value.
+func (s *DimensionFilter) SetValue(v string) *DimensionFilter {
+ s.Value = &v
+ return s
+}
+
type DisableAlarmActionsInput struct {
_ struct{} `type:"structure"`
- // The names of the alarms to disable actions for.
+ // The names of the alarms.
//
// AlarmNames is a required field
AlarmNames []*string `type:"list" required:"true"`
@@ -1427,6 +1670,12 @@ func (s *DisableAlarmActionsInput) Validate() error {
return nil
}
+// SetAlarmNames sets the AlarmNames field's value.
+func (s *DisableAlarmActionsInput) SetAlarmNames(v []*string) *DisableAlarmActionsInput {
+ s.AlarmNames = v
+ return s
+}
+
type DisableAlarmActionsOutput struct {
_ struct{} `type:"structure"`
}
@@ -1441,11 +1690,10 @@ func (s DisableAlarmActionsOutput) GoString() string {
return s.String()
}
-// Describes the inputs for EnableAlarmActions.
type EnableAlarmActionsInput struct {
_ struct{} `type:"structure"`
- // The names of the alarms to enable actions for.
+ // The names of the alarms.
//
// AlarmNames is a required field
AlarmNames []*string `type:"list" required:"true"`
@@ -1474,6 +1722,12 @@ func (s *EnableAlarmActionsInput) Validate() error {
return nil
}
+// SetAlarmNames sets the AlarmNames field's value.
+func (s *EnableAlarmActionsInput) SetAlarmNames(v []*string) *EnableAlarmActionsInput {
+ s.AlarmNames = v
+ return s
+}
+
type EnableAlarmActionsOutput struct {
_ struct{} `type:"structure"`
}
@@ -1488,20 +1742,29 @@ func (s EnableAlarmActionsOutput) GoString() string {
return s.String()
}
-// Describes the inputs for GetMetricStatistics.
type GetMetricStatisticsInput struct {
_ struct{} `type:"structure"`
- // A list of dimensions describing qualities of the metric.
+ // The dimensions. CloudWatch treats each unique combination of dimensions as
+ // a separate metric. You can't retrieve statistics using combinations of dimensions
+ // that were not specially published. You must specify the same dimensions that
+ // were used when the metrics were created. For an example, see Dimension Combinations
+ // (http://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html#dimension-combinations)
+ // in the Amazon CloudWatch User Guide.
Dimensions []*Dimension `type:"list"`
- // The time stamp to use for determining the last datapoint to return. The value
- // specified is exclusive; results will include datapoints up to the time stamp
- // specified. The time stamp must be in ISO 8601 UTC format (e.g., 2014-09-03T23:00:00Z).
+ // The time stamp that determines the last data point to return.
+ //
+ // The value specified is exclusive; results will include data points up to
+ // the specified time stamp. The time stamp must be in ISO 8601 UTC format (for
+ // example, 2016-10-10T23:00:00Z).
//
// EndTime is a required field
EndTime *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"`
+ // The percentile statistics. Specify values between p0.0 and p100.
+ ExtendedStatistics []*string `min:"1" type:"list"`
+
// The name of the metric, with or without spaces.
//
// MetricName is a required field
@@ -1512,38 +1775,51 @@ type GetMetricStatisticsInput struct {
// Namespace is a required field
Namespace *string `min:"1" type:"string" required:"true"`
- // The granularity, in seconds, of the returned datapoints. A Period can be
- // as short as one minute (60 seconds) or as long as one day (86,400 seconds),
- // and must be a multiple of 60. The default value is 60.
+ // The granularity, in seconds, of the returned data points. A period can be
+ // as short as one minute (60 seconds) and must be a multiple of 60. The default
+ // value is 60.
+ //
+ // If the StartTime parameter specifies a time stamp that is greater than 15
+ // days ago, you must specify the period as follows or no data points in that
+ // time range is returned:
+ //
+ // * Start time between 15 and 63 days ago - Use a multiple of 300 seconds
+ // (5 minutes).
+ //
+ // * Start time greater than 63 days ago - Use a multiple of 3600 seconds
+ // (1 hour).
//
// Period is a required field
Period *int64 `min:"60" type:"integer" required:"true"`
- // The time stamp to use for determining the first datapoint to return. The
- // value specified is inclusive; results include datapoints with the time stamp
- // specified. The time stamp must be in ISO 8601 UTC format (e.g., 2014-09-03T23:00:00Z).
+ // The time stamp that determines the first data point to return. Note that
+ // start times are evaluated relative to the time that CloudWatch receives the
+ // request.
+ //
+ // The value specified is inclusive; results include data points with the specified
+ // time stamp. The time stamp must be in ISO 8601 UTC format (for example, 2016-10-03T23:00:00Z).
//
- // The specified start time is rounded down to the nearest value. Datapoints
- // are returned for start times up to two weeks in the past. Specified start
- // times that are more than two weeks in the past will not return datapoints
- // for metrics that are older than two weeks.
+ // CloudWatch rounds the specified time stamp as follows:
//
- // Data that is timestamped 24 hours or more in the past may take in excess
- // of 48 hours to become available from submission time using GetMetricStatistics.
+ // * Start time less than 15 days ago - Round down to the nearest whole minute.
+ // For example, 12:32:34 is rounded down to 12:32:00.
+ //
+ // * Start time between 15 and 63 days ago - Round down to the nearest 5-minute
+ // clock interval. For example, 12:32:34 is rounded down to 12:30:00.
+ //
+ // * Start time greater than 63 days ago - Round down to the nearest 1-hour
+ // clock interval. For example, 12:32:34 is rounded down to 12:00:00.
//
// StartTime is a required field
StartTime *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"`
- // The metric statistics to return. For information about specific statistics
- // returned by GetMetricStatistics, see Statistics (http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/cloudwatch_concepts.html#Statistic)
- // in the Amazon CloudWatch Developer Guide.
- //
- // Statistics is a required field
- Statistics []*string `min:"1" type:"list" required:"true"`
+ // The metric statistics, other than percentile. For percentile statistics,
+ // use ExtendedStatistic.
+ Statistics []*string `min:"1" type:"list"`
- // The specific unit for a given metric. Metrics may be reported in multiple
- // units. Not supplying a unit results in all units being returned. If the metric
- // only ever reports one unit, specifying a unit will have no effect.
+ // The unit for a given metric. Metrics may be reported in multiple units. Not
+ // supplying a unit results in all units being returned. If the metric only
+ // ever reports one unit, specifying a unit has no effect.
Unit *string `type:"string" enum:"StandardUnit"`
}
@@ -1563,6 +1839,9 @@ func (s *GetMetricStatisticsInput) Validate() error {
if s.EndTime == nil {
invalidParams.Add(request.NewErrParamRequired("EndTime"))
}
+ if s.ExtendedStatistics != nil && len(s.ExtendedStatistics) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ExtendedStatistics", 1))
+ }
if s.MetricName == nil {
invalidParams.Add(request.NewErrParamRequired("MetricName"))
}
@@ -1584,9 +1863,6 @@ func (s *GetMetricStatisticsInput) Validate() error {
if s.StartTime == nil {
invalidParams.Add(request.NewErrParamRequired("StartTime"))
}
- if s.Statistics == nil {
- invalidParams.Add(request.NewErrParamRequired("Statistics"))
- }
if s.Statistics != nil && len(s.Statistics) < 1 {
invalidParams.Add(request.NewErrParamMinLen("Statistics", 1))
}
@@ -1607,14 +1883,67 @@ func (s *GetMetricStatisticsInput) Validate() error {
return nil
}
-// The output for GetMetricStatistics.
+// SetDimensions sets the Dimensions field's value.
+func (s *GetMetricStatisticsInput) SetDimensions(v []*Dimension) *GetMetricStatisticsInput {
+ s.Dimensions = v
+ return s
+}
+
+// SetEndTime sets the EndTime field's value.
+func (s *GetMetricStatisticsInput) SetEndTime(v time.Time) *GetMetricStatisticsInput {
+ s.EndTime = &v
+ return s
+}
+
+// SetExtendedStatistics sets the ExtendedStatistics field's value.
+func (s *GetMetricStatisticsInput) SetExtendedStatistics(v []*string) *GetMetricStatisticsInput {
+ s.ExtendedStatistics = v
+ return s
+}
+
+// SetMetricName sets the MetricName field's value.
+func (s *GetMetricStatisticsInput) SetMetricName(v string) *GetMetricStatisticsInput {
+ s.MetricName = &v
+ return s
+}
+
+// SetNamespace sets the Namespace field's value.
+func (s *GetMetricStatisticsInput) SetNamespace(v string) *GetMetricStatisticsInput {
+ s.Namespace = &v
+ return s
+}
+
+// SetPeriod sets the Period field's value.
+func (s *GetMetricStatisticsInput) SetPeriod(v int64) *GetMetricStatisticsInput {
+ s.Period = &v
+ return s
+}
+
+// SetStartTime sets the StartTime field's value.
+func (s *GetMetricStatisticsInput) SetStartTime(v time.Time) *GetMetricStatisticsInput {
+ s.StartTime = &v
+ return s
+}
+
+// SetStatistics sets the Statistics field's value.
+func (s *GetMetricStatisticsInput) SetStatistics(v []*string) *GetMetricStatisticsInput {
+ s.Statistics = v
+ return s
+}
+
+// SetUnit sets the Unit field's value.
+func (s *GetMetricStatisticsInput) SetUnit(v string) *GetMetricStatisticsInput {
+ s.Unit = &v
+ return s
+}
+
type GetMetricStatisticsOutput struct {
_ struct{} `type:"structure"`
- // The datapoints for the specified metric.
+ // The data points for the specified metric.
Datapoints []*Datapoint `type:"list"`
- // A label describing the specified metric.
+ // A label for the specified metric.
Label *string `type:"string"`
}
@@ -1628,11 +1957,22 @@ func (s GetMetricStatisticsOutput) GoString() string {
return s.String()
}
-// Describes the inputs for ListMetrics.
+// SetDatapoints sets the Datapoints field's value.
+func (s *GetMetricStatisticsOutput) SetDatapoints(v []*Datapoint) *GetMetricStatisticsOutput {
+ s.Datapoints = v
+ return s
+}
+
+// SetLabel sets the Label field's value.
+func (s *GetMetricStatisticsOutput) SetLabel(v string) *GetMetricStatisticsOutput {
+ s.Label = &v
+ return s
+}
+
type ListMetricsInput struct {
_ struct{} `type:"structure"`
- // A list of dimensions to filter against.
+ // The dimensions to filter against.
Dimensions []*DimensionFilter `type:"list"`
// The name of the metric to filter against.
@@ -1682,14 +2022,37 @@ func (s *ListMetricsInput) Validate() error {
return nil
}
-// The output for ListMetrics.
+// SetDimensions sets the Dimensions field's value.
+func (s *ListMetricsInput) SetDimensions(v []*DimensionFilter) *ListMetricsInput {
+ s.Dimensions = v
+ return s
+}
+
+// SetMetricName sets the MetricName field's value.
+func (s *ListMetricsInput) SetMetricName(v string) *ListMetricsInput {
+ s.MetricName = &v
+ return s
+}
+
+// SetNamespace sets the Namespace field's value.
+func (s *ListMetricsInput) SetNamespace(v string) *ListMetricsInput {
+ s.Namespace = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListMetricsInput) SetNextToken(v string) *ListMetricsInput {
+ s.NextToken = &v
+ return s
+}
+
type ListMetricsOutput struct {
_ struct{} `type:"structure"`
- // A list of metrics used to generate statistics for an AWS account.
+ // The metrics.
Metrics []*Metric `type:"list"`
- // A string that marks the start of the next batch of returned results.
+ // The token that marks the start of the next batch of returned results.
NextToken *string `type:"string"`
}
@@ -1703,17 +2066,23 @@ func (s ListMetricsOutput) GoString() string {
return s.String()
}
-// The Metric data type contains information about a specific metric. If you
-// call ListMetrics, Amazon CloudWatch returns information contained by this
-// data type.
-//
-// The example in the Examples section publishes two metrics named buffers and
-// latency. Both metrics are in the examples namespace. Both metrics have two
-// dimensions, InstanceID and InstanceType.
+// SetMetrics sets the Metrics field's value.
+func (s *ListMetricsOutput) SetMetrics(v []*Metric) *ListMetricsOutput {
+ s.Metrics = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListMetricsOutput) SetNextToken(v string) *ListMetricsOutput {
+ s.NextToken = &v
+ return s
+}
+
+// Represents a specific metric.
type Metric struct {
_ struct{} `type:"structure"`
- // A list of dimensions associated with the metric.
+ // The dimensions for the metric.
Dimensions []*Dimension `type:"list"`
// The name of the metric.
@@ -1733,18 +2102,34 @@ func (s Metric) GoString() string {
return s.String()
}
-// The MetricAlarm data type represents an alarm. You can use PutMetricAlarm
-// to create or update an alarm.
+// SetDimensions sets the Dimensions field's value.
+func (s *Metric) SetDimensions(v []*Dimension) *Metric {
+ s.Dimensions = v
+ return s
+}
+
+// SetMetricName sets the MetricName field's value.
+func (s *Metric) SetMetricName(v string) *Metric {
+ s.MetricName = &v
+ return s
+}
+
+// SetNamespace sets the Namespace field's value.
+func (s *Metric) SetNamespace(v string) *Metric {
+ s.Namespace = &v
+ return s
+}
+
+// Represents an alarm.
type MetricAlarm struct {
_ struct{} `type:"structure"`
- // Indicates whether actions should be executed during any changes to the alarm's
+ // Indicates whether actions should be executed during any changes to the alarm
// state.
ActionsEnabled *bool `type:"boolean"`
- // The list of actions to execute when this alarm transitions into an ALARM
- // state from any other state. Each action is specified as an Amazon Resource
- // Name (ARN).
+ // The actions to execute when this alarm transitions to the ALARM state from
+ // any other state. Each action is specified as an Amazon Resource Name (ARN).
AlarmActions []*string `type:"list"`
// The Amazon Resource Name (ARN) of the alarm.
@@ -1753,62 +2138,64 @@ type MetricAlarm struct {
// The time stamp of the last update to the alarm configuration.
AlarmConfigurationUpdatedTimestamp *time.Time `type:"timestamp" timestampFormat:"iso8601"`
- // The description for the alarm.
+ // The description of the alarm.
AlarmDescription *string `type:"string"`
// The name of the alarm.
AlarmName *string `min:"1" type:"string"`
- // The arithmetic operation to use when comparing the specified Statistic and
- // Threshold. The specified Statistic value is used as the first operand.
+ // The arithmetic operation to use when comparing the specified statistic and
+ // threshold. The specified statistic value is used as the first operand.
ComparisonOperator *string `type:"string" enum:"ComparisonOperator"`
- // The list of dimensions associated with the alarm's associated metric.
+ // The dimensions for the metric associated with the alarm.
Dimensions []*Dimension `type:"list"`
// The number of periods over which data is compared to the specified threshold.
EvaluationPeriods *int64 `min:"1" type:"integer"`
- // The list of actions to execute when this alarm transitions into an INSUFFICIENT_DATA
+ // The percentile statistic for the metric associated with the alarm. Specify
+ // a value between p0.0 and p100.
+ ExtendedStatistic *string `type:"string"`
+
+ // The actions to execute when this alarm transitions to the INSUFFICIENT_DATA
// state from any other state. Each action is specified as an Amazon Resource
// Name (ARN).
- //
- // The current WSDL lists this attribute as UnknownActions.
InsufficientDataActions []*string `type:"list"`
- // The name of the alarm's metric.
+ // The name of the metric associated with the alarm.
MetricName *string `min:"1" type:"string"`
- // The namespace of alarm's associated metric.
+ // The namespace of the metric associated with the alarm.
Namespace *string `min:"1" type:"string"`
- // The list of actions to execute when this alarm transitions into an OK state
- // from any other state. Each action is specified as an Amazon Resource Name
- // (ARN).
+ // The actions to execute when this alarm transitions to the OK state from any
+ // other state. Each action is specified as an Amazon Resource Name (ARN).
OKActions []*string `type:"list"`
- // The period in seconds over which the statistic is applied.
+ // The period, in seconds, over which the statistic is applied.
Period *int64 `min:"60" type:"integer"`
- // A human-readable explanation for the alarm's state.
+ // An explanation for the alarm state, in text format.
StateReason *string `type:"string"`
- // An explanation for the alarm's state in machine-readable JSON format
+ // An explanation for the alarm state, in JSON format.
StateReasonData *string `type:"string"`
- // The time stamp of the last update to the alarm's state.
+ // The time stamp of the last update to the alarm state.
StateUpdatedTimestamp *time.Time `type:"timestamp" timestampFormat:"iso8601"`
// The state value for the alarm.
StateValue *string `type:"string" enum:"StateValue"`
- // The statistic to apply to the alarm's associated metric.
+ // The statistic for the metric associated with the alarm, other than percentile.
+ // For percentile statistics, use ExtendedStatistic.
Statistic *string `type:"string" enum:"Statistic"`
- // The value against which the specified statistic is compared.
+ // The value to compare with the specified statistic.
Threshold *float64 `type:"double"`
- // The unit of the alarm's associated metric.
+ // The unit of the metric associated with the alarm.
Unit *string `type:"string" enum:"StandardUnit"`
}
@@ -1822,14 +2209,144 @@ func (s MetricAlarm) GoString() string {
return s.String()
}
-// The MetricDatum data type encapsulates the information sent with PutMetricData
-// to either create a new metric or add new values to be aggregated into an
-// existing metric.
+// SetActionsEnabled sets the ActionsEnabled field's value.
+func (s *MetricAlarm) SetActionsEnabled(v bool) *MetricAlarm {
+ s.ActionsEnabled = &v
+ return s
+}
+
+// SetAlarmActions sets the AlarmActions field's value.
+func (s *MetricAlarm) SetAlarmActions(v []*string) *MetricAlarm {
+ s.AlarmActions = v
+ return s
+}
+
+// SetAlarmArn sets the AlarmArn field's value.
+func (s *MetricAlarm) SetAlarmArn(v string) *MetricAlarm {
+ s.AlarmArn = &v
+ return s
+}
+
+// SetAlarmConfigurationUpdatedTimestamp sets the AlarmConfigurationUpdatedTimestamp field's value.
+func (s *MetricAlarm) SetAlarmConfigurationUpdatedTimestamp(v time.Time) *MetricAlarm {
+ s.AlarmConfigurationUpdatedTimestamp = &v
+ return s
+}
+
+// SetAlarmDescription sets the AlarmDescription field's value.
+func (s *MetricAlarm) SetAlarmDescription(v string) *MetricAlarm {
+ s.AlarmDescription = &v
+ return s
+}
+
+// SetAlarmName sets the AlarmName field's value.
+func (s *MetricAlarm) SetAlarmName(v string) *MetricAlarm {
+ s.AlarmName = &v
+ return s
+}
+
+// SetComparisonOperator sets the ComparisonOperator field's value.
+func (s *MetricAlarm) SetComparisonOperator(v string) *MetricAlarm {
+ s.ComparisonOperator = &v
+ return s
+}
+
+// SetDimensions sets the Dimensions field's value.
+func (s *MetricAlarm) SetDimensions(v []*Dimension) *MetricAlarm {
+ s.Dimensions = v
+ return s
+}
+
+// SetEvaluationPeriods sets the EvaluationPeriods field's value.
+func (s *MetricAlarm) SetEvaluationPeriods(v int64) *MetricAlarm {
+ s.EvaluationPeriods = &v
+ return s
+}
+
+// SetExtendedStatistic sets the ExtendedStatistic field's value.
+func (s *MetricAlarm) SetExtendedStatistic(v string) *MetricAlarm {
+ s.ExtendedStatistic = &v
+ return s
+}
+
+// SetInsufficientDataActions sets the InsufficientDataActions field's value.
+func (s *MetricAlarm) SetInsufficientDataActions(v []*string) *MetricAlarm {
+ s.InsufficientDataActions = v
+ return s
+}
+
+// SetMetricName sets the MetricName field's value.
+func (s *MetricAlarm) SetMetricName(v string) *MetricAlarm {
+ s.MetricName = &v
+ return s
+}
+
+// SetNamespace sets the Namespace field's value.
+func (s *MetricAlarm) SetNamespace(v string) *MetricAlarm {
+ s.Namespace = &v
+ return s
+}
+
+// SetOKActions sets the OKActions field's value.
+func (s *MetricAlarm) SetOKActions(v []*string) *MetricAlarm {
+ s.OKActions = v
+ return s
+}
+
+// SetPeriod sets the Period field's value.
+func (s *MetricAlarm) SetPeriod(v int64) *MetricAlarm {
+ s.Period = &v
+ return s
+}
+
+// SetStateReason sets the StateReason field's value.
+func (s *MetricAlarm) SetStateReason(v string) *MetricAlarm {
+ s.StateReason = &v
+ return s
+}
+
+// SetStateReasonData sets the StateReasonData field's value.
+func (s *MetricAlarm) SetStateReasonData(v string) *MetricAlarm {
+ s.StateReasonData = &v
+ return s
+}
+
+// SetStateUpdatedTimestamp sets the StateUpdatedTimestamp field's value.
+func (s *MetricAlarm) SetStateUpdatedTimestamp(v time.Time) *MetricAlarm {
+ s.StateUpdatedTimestamp = &v
+ return s
+}
+
+// SetStateValue sets the StateValue field's value.
+func (s *MetricAlarm) SetStateValue(v string) *MetricAlarm {
+ s.StateValue = &v
+ return s
+}
+
+// SetStatistic sets the Statistic field's value.
+func (s *MetricAlarm) SetStatistic(v string) *MetricAlarm {
+ s.Statistic = &v
+ return s
+}
+
+// SetThreshold sets the Threshold field's value.
+func (s *MetricAlarm) SetThreshold(v float64) *MetricAlarm {
+ s.Threshold = &v
+ return s
+}
+
+// SetUnit sets the Unit field's value.
+func (s *MetricAlarm) SetUnit(v string) *MetricAlarm {
+ s.Unit = &v
+ return s
+}
+
+// Encapsulates the information sent to either create a metric or add new values
+// to be aggregated into an existing metric.
type MetricDatum struct {
_ struct{} `type:"structure"`
- // A list of dimensions associated with the metric. Note, when using the Dimensions
- // value in a query, you need to append .member.N to it (e.g., Dimensions.member.N).
+ // The dimensions associated with the metric.
Dimensions []*Dimension `type:"list"`
// The name of the metric.
@@ -1837,12 +2354,11 @@ type MetricDatum struct {
// MetricName is a required field
MetricName *string `min:"1" type:"string" required:"true"`
- // A set of statistical values describing the metric.
+ // The statistical values for the metric.
StatisticValues *StatisticSet `type:"structure"`
- // The time stamp used for the metric in ISO 8601 Universal Coordinated Time
- // (UTC) format. If not specified, the default value is set to the time the
- // metric data was received.
+ // The time the metric data was received, expressed as the number of milliseconds
+ // since Jan 1, 1970 00:00:00 UTC.
Timestamp *time.Time `type:"timestamp" timestampFormat:"iso8601"`
// The unit of the metric.
@@ -1850,11 +2366,11 @@ type MetricDatum struct {
// The value for the metric.
//
- // Although the Value parameter accepts numbers of type Double, Amazon CloudWatch
+ // Although the parameter accepts numbers of type Double, Amazon CloudWatch
// rejects values that are either too small or too large. Values must be in
// the range of 8.515920e-109 to 1.174271e+108 (Base 10) or 2e-360 to 2e360
- // (Base 2). In addition, special values (e.g., NaN, +Infinity, -Infinity) are
- // not supported.
+ // (Base 2). In addition, special values (for example, NaN, +Infinity, -Infinity)
+ // are not supported.
Value *float64 `type:"double"`
}
@@ -1899,47 +2415,75 @@ func (s *MetricDatum) Validate() error {
return nil
}
-// Describes the inputs for PutMetricAlarm.
+// SetDimensions sets the Dimensions field's value.
+func (s *MetricDatum) SetDimensions(v []*Dimension) *MetricDatum {
+ s.Dimensions = v
+ return s
+}
+
+// SetMetricName sets the MetricName field's value.
+func (s *MetricDatum) SetMetricName(v string) *MetricDatum {
+ s.MetricName = &v
+ return s
+}
+
+// SetStatisticValues sets the StatisticValues field's value.
+func (s *MetricDatum) SetStatisticValues(v *StatisticSet) *MetricDatum {
+ s.StatisticValues = v
+ return s
+}
+
+// SetTimestamp sets the Timestamp field's value.
+func (s *MetricDatum) SetTimestamp(v time.Time) *MetricDatum {
+ s.Timestamp = &v
+ return s
+}
+
+// SetUnit sets the Unit field's value.
+func (s *MetricDatum) SetUnit(v string) *MetricDatum {
+ s.Unit = &v
+ return s
+}
+
+// SetValue sets the Value field's value.
+func (s *MetricDatum) SetValue(v float64) *MetricDatum {
+ s.Value = &v
+ return s
+}
+
type PutMetricAlarmInput struct {
_ struct{} `type:"structure"`
- // Indicates whether or not actions should be executed during any changes to
- // the alarm's state.
+ // Indicates whether actions should be executed during any changes to the alarm
+ // state.
ActionsEnabled *bool `type:"boolean"`
- // The list of actions to execute when this alarm transitions into an ALARM
- // state from any other state. Each action is specified as an Amazon Resource
- // Name (ARN).
+ // The actions to execute when this alarm transitions to the ALARM state from
+ // any other state. Each action is specified as an Amazon Resource Name (ARN).
//
- // Valid Values: arn:aws:automate:region (e.g., us-east-1):ec2:stop | arn:aws:automate:region
- // (e.g., us-east-1):ec2:terminate | arn:aws:automate:region (e.g., us-east-1):ec2:recover
+ // Valid Values: arn:aws:automate:region:ec2:stop | arn:aws:automate:region:ec2:terminate
+ // | arn:aws:automate:region:ec2:recover
//
// 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
- //
- // Note: You must create at least one stop, terminate, or reboot alarm using
- // the Amazon EC2 or CloudWatch console to create the EC2ActionsAccess IAM role
- // for the first time. After this IAM role is created, you can create stop,
- // terminate, or reboot alarms using the CLI.
AlarmActions []*string `type:"list"`
// The description for the alarm.
AlarmDescription *string `type:"string"`
- // The descriptive name for the alarm. This name must be unique within the user's
- // AWS account
+ // The name for the alarm. This name must be unique within the AWS account.
//
// AlarmName is a required field
AlarmName *string `min:"1" type:"string" required:"true"`
- // The arithmetic operation to use when comparing the specified Statistic and
- // Threshold. The specified Statistic value is used as the first operand.
+ // The arithmetic operation to use when comparing the specified statistic and
+ // threshold. The specified statistic value is used as the first operand.
//
// ComparisonOperator is a required field
ComparisonOperator *string `type:"string" required:"true" enum:"ComparisonOperator"`
- // The dimensions for the alarm's associated metric.
+ // The dimensions for the metric associated with the alarm.
Dimensions []*Dimension `type:"list"`
// The number of periods over which data is compared to the specified threshold.
@@ -1947,75 +2491,67 @@ type PutMetricAlarmInput struct {
// EvaluationPeriods is a required field
EvaluationPeriods *int64 `min:"1" type:"integer" required:"true"`
- // The list of actions to execute when this alarm transitions into an INSUFFICIENT_DATA
+ // The percentile statistic for the metric associated with the alarm. Specify
+ // a value between p0.0 and p100.
+ ExtendedStatistic *string `type:"string"`
+
+ // The actions to execute when this alarm transitions to the INSUFFICIENT_DATA
// state from any other state. Each action is specified as an Amazon Resource
// Name (ARN).
//
- // Valid Values: arn:aws:automate:region (e.g., us-east-1):ec2:stop | arn:aws:automate:region
- // (e.g., us-east-1):ec2:terminate | arn:aws:automate:region (e.g., us-east-1):ec2:recover
+ // Valid Values: arn:aws:automate:region:ec2:stop | arn:aws:automate:region:ec2:terminate
+ // | arn:aws:automate:region:ec2:recover
//
// 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
- //
- // Note: You must create at least one stop, terminate, or reboot alarm using
- // the Amazon EC2 or CloudWatch console to create the EC2ActionsAccess IAM role
- // for the first time. After this IAM role is created, you can create stop,
- // terminate, or reboot alarms using the CLI.
InsufficientDataActions []*string `type:"list"`
- // The name for the alarm's associated metric.
+ // The name for the metric associated with the alarm.
//
// MetricName is a required field
MetricName *string `min:"1" type:"string" required:"true"`
- // The namespace for the alarm's associated metric.
+ // The namespace for the metric associated with the alarm.
//
// Namespace is a required field
Namespace *string `min:"1" type:"string" required:"true"`
- // The list of actions to execute when this alarm transitions into an OK state
- // from any other state. Each action is specified as an Amazon Resource Name
- // (ARN).
+ // The actions to execute when this alarm transitions to an OK state from any
+ // other state. Each action is specified as an Amazon Resource Name (ARN).
//
- // Valid Values: arn:aws:automate:region (e.g., us-east-1):ec2:stop | arn:aws:automate:region
- // (e.g., us-east-1):ec2:terminate | arn:aws:automate:region (e.g., us-east-1):ec2:recover
+ // Valid Values: arn:aws:automate:region:ec2:stop | arn:aws:automate:region:ec2:terminate
+ // | arn:aws:automate:region:ec2:recover
//
// 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
- //
- // Note: You must create at least one stop, terminate, or reboot alarm using
- // the Amazon EC2 or CloudWatch console to create the EC2ActionsAccess IAM role
- // for the first time. After this IAM role is created, you can create stop,
- // terminate, or reboot alarms using the CLI.
OKActions []*string `type:"list"`
- // The period in seconds over which the specified statistic is applied.
+ // The period, in seconds, over which the specified statistic is applied.
//
// Period is a required field
Period *int64 `min:"60" type:"integer" required:"true"`
- // The statistic to apply to the alarm's associated metric.
- //
- // Statistic is a required field
- Statistic *string `type:"string" required:"true" enum:"Statistic"`
+ // The statistic for the metric associated with the alarm, other than percentile.
+ // For percentile statistics, use ExtendedStatistic.
+ Statistic *string `type:"string" enum:"Statistic"`
// The value against which the specified statistic is compared.
//
// Threshold is a required field
Threshold *float64 `type:"double" required:"true"`
- // The statistic's unit of measure. For example, the units for the Amazon EC2
- // NetworkIn metric are Bytes because NetworkIn tracks the number of bytes that
- // an instance receives on all network interfaces. You can also specify a unit
- // when you create a custom metric. Units help provide conceptual meaning to
- // your data. Metric data points that specify a unit of measure, such as Percent,
- // are aggregated separately.
+ // The unit of measure for the statistic. For example, the units for the Amazon
+ // EC2 NetworkIn metric are Bytes because NetworkIn tracks the number of bytes
+ // that an instance receives on all network interfaces. You can also specify
+ // a unit when you create a custom metric. Units help provide conceptual meaning
+ // to your data. Metric data points that specify a unit of measure, such as
+ // Percent, are aggregated separately.
//
- // Note: If you specify a unit, you must use a unit that is appropriate for
- // the metric. Otherwise, this can cause an Amazon CloudWatch alarm to get stuck
- // in the INSUFFICIENT DATA state.
+ // If you specify a unit, you must use a unit that is appropriate for the metric.
+ // Otherwise, the Amazon CloudWatch alarm can get stuck in the INSUFFICIENT
+ // DATA state.
Unit *string `type:"string" enum:"StandardUnit"`
}
@@ -2065,9 +2601,6 @@ func (s *PutMetricAlarmInput) Validate() error {
if s.Period != nil && *s.Period < 60 {
invalidParams.Add(request.NewErrParamMinValue("Period", 60))
}
- if s.Statistic == nil {
- invalidParams.Add(request.NewErrParamRequired("Statistic"))
- }
if s.Threshold == nil {
invalidParams.Add(request.NewErrParamRequired("Threshold"))
}
@@ -2088,6 +2621,102 @@ func (s *PutMetricAlarmInput) Validate() error {
return nil
}
+// SetActionsEnabled sets the ActionsEnabled field's value.
+func (s *PutMetricAlarmInput) SetActionsEnabled(v bool) *PutMetricAlarmInput {
+ s.ActionsEnabled = &v
+ return s
+}
+
+// SetAlarmActions sets the AlarmActions field's value.
+func (s *PutMetricAlarmInput) SetAlarmActions(v []*string) *PutMetricAlarmInput {
+ s.AlarmActions = v
+ return s
+}
+
+// SetAlarmDescription sets the AlarmDescription field's value.
+func (s *PutMetricAlarmInput) SetAlarmDescription(v string) *PutMetricAlarmInput {
+ s.AlarmDescription = &v
+ return s
+}
+
+// SetAlarmName sets the AlarmName field's value.
+func (s *PutMetricAlarmInput) SetAlarmName(v string) *PutMetricAlarmInput {
+ s.AlarmName = &v
+ return s
+}
+
+// SetComparisonOperator sets the ComparisonOperator field's value.
+func (s *PutMetricAlarmInput) SetComparisonOperator(v string) *PutMetricAlarmInput {
+ s.ComparisonOperator = &v
+ return s
+}
+
+// SetDimensions sets the Dimensions field's value.
+func (s *PutMetricAlarmInput) SetDimensions(v []*Dimension) *PutMetricAlarmInput {
+ s.Dimensions = v
+ return s
+}
+
+// SetEvaluationPeriods sets the EvaluationPeriods field's value.
+func (s *PutMetricAlarmInput) SetEvaluationPeriods(v int64) *PutMetricAlarmInput {
+ s.EvaluationPeriods = &v
+ return s
+}
+
+// SetExtendedStatistic sets the ExtendedStatistic field's value.
+func (s *PutMetricAlarmInput) SetExtendedStatistic(v string) *PutMetricAlarmInput {
+ s.ExtendedStatistic = &v
+ return s
+}
+
+// SetInsufficientDataActions sets the InsufficientDataActions field's value.
+func (s *PutMetricAlarmInput) SetInsufficientDataActions(v []*string) *PutMetricAlarmInput {
+ s.InsufficientDataActions = v
+ return s
+}
+
+// SetMetricName sets the MetricName field's value.
+func (s *PutMetricAlarmInput) SetMetricName(v string) *PutMetricAlarmInput {
+ s.MetricName = &v
+ return s
+}
+
+// SetNamespace sets the Namespace field's value.
+func (s *PutMetricAlarmInput) SetNamespace(v string) *PutMetricAlarmInput {
+ s.Namespace = &v
+ return s
+}
+
+// SetOKActions sets the OKActions field's value.
+func (s *PutMetricAlarmInput) SetOKActions(v []*string) *PutMetricAlarmInput {
+ s.OKActions = v
+ return s
+}
+
+// SetPeriod sets the Period field's value.
+func (s *PutMetricAlarmInput) SetPeriod(v int64) *PutMetricAlarmInput {
+ s.Period = &v
+ return s
+}
+
+// SetStatistic sets the Statistic field's value.
+func (s *PutMetricAlarmInput) SetStatistic(v string) *PutMetricAlarmInput {
+ s.Statistic = &v
+ return s
+}
+
+// SetThreshold sets the Threshold field's value.
+func (s *PutMetricAlarmInput) SetThreshold(v float64) *PutMetricAlarmInput {
+ s.Threshold = &v
+ return s
+}
+
+// SetUnit sets the Unit field's value.
+func (s *PutMetricAlarmInput) SetUnit(v string) *PutMetricAlarmInput {
+ s.Unit = &v
+ return s
+}
+
type PutMetricAlarmOutput struct {
_ struct{} `type:"structure"`
}
@@ -2102,11 +2731,10 @@ func (s PutMetricAlarmOutput) GoString() string {
return s.String()
}
-// Describes the inputs for PutMetricData.
type PutMetricDataInput struct {
_ struct{} `type:"structure"`
- // A list of data describing the metric.
+ // The data for the metric.
//
// MetricData is a required field
MetricData []*MetricDatum `type:"list" required:"true"`
@@ -2114,8 +2742,7 @@ type PutMetricDataInput struct {
// The namespace for the metric data.
//
// You cannot specify a namespace that begins with "AWS/". Namespaces that begin
- // with "AWS/" are reserved for other Amazon Web Services products that send
- // metrics to Amazon CloudWatch.
+ // with "AWS/" are reserved for use by Amazon Web Services products.
//
// Namespace is a required field
Namespace *string `min:"1" type:"string" required:"true"`
@@ -2160,6 +2787,18 @@ func (s *PutMetricDataInput) Validate() error {
return nil
}
+// SetMetricData sets the MetricData field's value.
+func (s *PutMetricDataInput) SetMetricData(v []*MetricDatum) *PutMetricDataInput {
+ s.MetricData = v
+ return s
+}
+
+// SetNamespace sets the Namespace field's value.
+func (s *PutMetricDataInput) SetNamespace(v string) *PutMetricDataInput {
+ s.Namespace = &v
+ return s
+}
+
type PutMetricDataOutput struct {
_ struct{} `type:"structure"`
}
@@ -2174,24 +2813,21 @@ func (s PutMetricDataOutput) GoString() string {
return s.String()
}
-// Describes the inputs for SetAlarmState.
type SetAlarmStateInput struct {
_ struct{} `type:"structure"`
- // The descriptive name for the alarm. This name must be unique within the user's
- // AWS account. The maximum length is 255 characters.
+ // The name for the alarm. This name must be unique within the AWS account.
+ // The maximum length is 255 characters.
//
// AlarmName is a required field
AlarmName *string `min:"1" type:"string" required:"true"`
- // The reason that this alarm is set to this specific state (in human-readable
- // text format)
+ // The reason that this alarm is set to this specific state, in text format.
//
// StateReason is a required field
StateReason *string `type:"string" required:"true"`
- // The reason that this alarm is set to this specific state (in machine-readable
- // JSON format)
+ // The reason that this alarm is set to this specific state, in JSON format.
StateReasonData *string `type:"string"`
// The value of the state.
@@ -2232,6 +2868,30 @@ func (s *SetAlarmStateInput) Validate() error {
return nil
}
+// SetAlarmName sets the AlarmName field's value.
+func (s *SetAlarmStateInput) SetAlarmName(v string) *SetAlarmStateInput {
+ s.AlarmName = &v
+ return s
+}
+
+// SetStateReason sets the StateReason field's value.
+func (s *SetAlarmStateInput) SetStateReason(v string) *SetAlarmStateInput {
+ s.StateReason = &v
+ return s
+}
+
+// SetStateReasonData sets the StateReasonData field's value.
+func (s *SetAlarmStateInput) SetStateReasonData(v string) *SetAlarmStateInput {
+ s.StateReasonData = &v
+ return s
+}
+
+// SetStateValue sets the StateValue field's value.
+func (s *SetAlarmStateInput) SetStateValue(v string) *SetAlarmStateInput {
+ s.StateValue = &v
+ return s
+}
+
type SetAlarmStateOutput struct {
_ struct{} `type:"structure"`
}
@@ -2246,8 +2906,7 @@ func (s SetAlarmStateOutput) GoString() string {
return s.String()
}
-// The StatisticSet data type describes the StatisticValues component of MetricDatum,
-// and represents a set of statistics that describes a specific metric.
+// Represents a set of statistics that describes a specific metric.
type StatisticSet struct {
_ struct{} `type:"structure"`
@@ -2304,6 +2963,30 @@ func (s *StatisticSet) Validate() error {
return nil
}
+// SetMaximum sets the Maximum field's value.
+func (s *StatisticSet) SetMaximum(v float64) *StatisticSet {
+ s.Maximum = &v
+ return s
+}
+
+// SetMinimum sets the Minimum field's value.
+func (s *StatisticSet) SetMinimum(v float64) *StatisticSet {
+ s.Minimum = &v
+ return s
+}
+
+// SetSampleCount sets the SampleCount field's value.
+func (s *StatisticSet) SetSampleCount(v float64) *StatisticSet {
+ s.SampleCount = &v
+ return s
+}
+
+// SetSum sets the Sum field's value.
+func (s *StatisticSet) SetSum(v float64) *StatisticSet {
+ s.Sum = &v
+ return s
+}
+
const (
// ComparisonOperatorGreaterThanOrEqualToThreshold is a ComparisonOperator enum value
ComparisonOperatorGreaterThanOrEqualToThreshold = "GreaterThanOrEqualToThreshold"
diff --git a/vendor/github.com/aws/aws-sdk-go/service/cloudwatch/examples_test.go b/vendor/github.com/aws/aws-sdk-go/service/cloudwatch/examples_test.go
index 1074b36..6ea7776 100644
--- a/vendor/github.com/aws/aws-sdk-go/service/cloudwatch/examples_test.go
+++ b/vendor/github.com/aws/aws-sdk-go/service/cloudwatch/examples_test.go
@@ -125,9 +125,10 @@ func ExampleCloudWatch_DescribeAlarmsForMetric() {
},
// More values...
},
- Period: aws.Int64(1),
- Statistic: aws.String("Statistic"),
- Unit: aws.String("StandardUnit"),
+ ExtendedStatistic: aws.String("ExtendedStatistic"),
+ Period: aws.Int64(1),
+ Statistic: aws.String("Statistic"),
+ Unit: aws.String("StandardUnit"),
}
resp, err := svc.DescribeAlarmsForMetric(params)
@@ -213,10 +214,6 @@ func ExampleCloudWatch_GetMetricStatistics() {
Namespace: aws.String("Namespace"), // Required
Period: aws.Int64(1), // Required
StartTime: aws.Time(time.Now()), // Required
- Statistics: []*string{ // Required
- aws.String("Statistic"), // Required
- // More values...
- },
Dimensions: []*cloudwatch.Dimension{
{ // Required
Name: aws.String("DimensionName"), // Required
@@ -224,6 +221,14 @@ func ExampleCloudWatch_GetMetricStatistics() {
},
// More values...
},
+ ExtendedStatistics: []*string{
+ aws.String("ExtendedStatistic"), // Required
+ // More values...
+ },
+ Statistics: []*string{
+ aws.String("Statistic"), // Required
+ // More values...
+ },
Unit: aws.String("StandardUnit"),
}
resp, err := svc.GetMetricStatistics(params)
@@ -289,7 +294,6 @@ func ExampleCloudWatch_PutMetricAlarm() {
MetricName: aws.String("MetricName"), // Required
Namespace: aws.String("Namespace"), // Required
Period: aws.Int64(1), // Required
- Statistic: aws.String("Statistic"), // Required
Threshold: aws.Float64(1.0), // Required
ActionsEnabled: aws.Bool(true),
AlarmActions: []*string{
@@ -304,6 +308,7 @@ func ExampleCloudWatch_PutMetricAlarm() {
},
// More values...
},
+ ExtendedStatistic: aws.String("ExtendedStatistic"),
InsufficientDataActions: []*string{
aws.String("ResourceName"), // Required
// More values...
@@ -312,7 +317,8 @@ func ExampleCloudWatch_PutMetricAlarm() {
aws.String("ResourceName"), // Required
// More values...
},
- Unit: aws.String("StandardUnit"),
+ Statistic: aws.String("Statistic"),
+ Unit: aws.String("StandardUnit"),
}
resp, err := svc.PutMetricAlarm(params)
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 2036f26..578569c 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
@@ -948,6 +948,12 @@ func (s *DeleteRuleInput) Validate() error {
return nil
}
+// SetName sets the Name field's value.
+func (s *DeleteRuleInput) SetName(v string) *DeleteRuleInput {
+ s.Name = &v
+ return s
+}
+
type DeleteRuleOutput struct {
_ struct{} `type:"structure"`
}
@@ -998,6 +1004,12 @@ func (s *DescribeRuleInput) Validate() error {
return nil
}
+// SetName sets the Name field's value.
+func (s *DescribeRuleInput) SetName(v string) *DescribeRuleInput {
+ s.Name = &v
+ return s
+}
+
// The result of the DescribeRule operation.
type DescribeRuleOutput struct {
_ struct{} `type:"structure"`
@@ -1034,6 +1046,48 @@ func (s DescribeRuleOutput) GoString() string {
return s.String()
}
+// SetArn sets the Arn field's value.
+func (s *DescribeRuleOutput) SetArn(v string) *DescribeRuleOutput {
+ s.Arn = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *DescribeRuleOutput) SetDescription(v string) *DescribeRuleOutput {
+ s.Description = &v
+ return s
+}
+
+// SetEventPattern sets the EventPattern field's value.
+func (s *DescribeRuleOutput) SetEventPattern(v string) *DescribeRuleOutput {
+ s.EventPattern = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *DescribeRuleOutput) SetName(v string) *DescribeRuleOutput {
+ s.Name = &v
+ return s
+}
+
+// SetRoleArn sets the RoleArn field's value.
+func (s *DescribeRuleOutput) SetRoleArn(v string) *DescribeRuleOutput {
+ s.RoleArn = &v
+ return s
+}
+
+// SetScheduleExpression sets the ScheduleExpression field's value.
+func (s *DescribeRuleOutput) SetScheduleExpression(v string) *DescribeRuleOutput {
+ s.ScheduleExpression = &v
+ return s
+}
+
+// SetState sets the State field's value.
+func (s *DescribeRuleOutput) SetState(v string) *DescribeRuleOutput {
+ s.State = &v
+ return s
+}
+
// Container for the parameters to the DisableRule operation.
type DisableRuleInput struct {
_ struct{} `type:"structure"`
@@ -1070,6 +1124,12 @@ func (s *DisableRuleInput) Validate() error {
return nil
}
+// SetName sets the Name field's value.
+func (s *DisableRuleInput) SetName(v string) *DisableRuleInput {
+ s.Name = &v
+ return s
+}
+
type DisableRuleOutput struct {
_ struct{} `type:"structure"`
}
@@ -1120,6 +1180,12 @@ func (s *EnableRuleInput) Validate() error {
return nil
}
+// SetName sets the Name field's value.
+func (s *EnableRuleInput) SetName(v string) *EnableRuleInput {
+ s.Name = &v
+ return s
+}
+
type EnableRuleOutput struct {
_ struct{} `type:"structure"`
}
@@ -1184,6 +1250,24 @@ func (s *ListRuleNamesByTargetInput) Validate() error {
return nil
}
+// SetLimit sets the Limit field's value.
+func (s *ListRuleNamesByTargetInput) SetLimit(v int64) *ListRuleNamesByTargetInput {
+ s.Limit = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListRuleNamesByTargetInput) SetNextToken(v string) *ListRuleNamesByTargetInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetTargetArn sets the TargetArn field's value.
+func (s *ListRuleNamesByTargetInput) SetTargetArn(v string) *ListRuleNamesByTargetInput {
+ s.TargetArn = &v
+ return s
+}
+
// The result of the ListRuleNamesByTarget operation.
type ListRuleNamesByTargetOutput struct {
_ struct{} `type:"structure"`
@@ -1205,6 +1289,18 @@ func (s ListRuleNamesByTargetOutput) GoString() string {
return s.String()
}
+// SetNextToken sets the NextToken field's value.
+func (s *ListRuleNamesByTargetOutput) SetNextToken(v string) *ListRuleNamesByTargetOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetRuleNames sets the RuleNames field's value.
+func (s *ListRuleNamesByTargetOutput) SetRuleNames(v []*string) *ListRuleNamesByTargetOutput {
+ s.RuleNames = v
+ return s
+}
+
// Container for the parameters to the ListRules operation.
type ListRulesInput struct {
_ struct{} `type:"structure"`
@@ -1249,6 +1345,24 @@ func (s *ListRulesInput) Validate() error {
return nil
}
+// SetLimit sets the Limit field's value.
+func (s *ListRulesInput) SetLimit(v int64) *ListRulesInput {
+ s.Limit = &v
+ return s
+}
+
+// SetNamePrefix sets the NamePrefix field's value.
+func (s *ListRulesInput) SetNamePrefix(v string) *ListRulesInput {
+ s.NamePrefix = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListRulesInput) SetNextToken(v string) *ListRulesInput {
+ s.NextToken = &v
+ return s
+}
+
// The result of the ListRules operation.
type ListRulesOutput struct {
_ struct{} `type:"structure"`
@@ -1270,6 +1384,18 @@ func (s ListRulesOutput) GoString() string {
return s.String()
}
+// SetNextToken sets the NextToken field's value.
+func (s *ListRulesOutput) SetNextToken(v string) *ListRulesOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetRules sets the Rules field's value.
+func (s *ListRulesOutput) SetRules(v []*Rule) *ListRulesOutput {
+ s.Rules = v
+ return s
+}
+
// Container for the parameters to the ListTargetsByRule operation.
type ListTargetsByRuleInput struct {
_ struct{} `type:"structure"`
@@ -1319,6 +1445,24 @@ func (s *ListTargetsByRuleInput) Validate() error {
return nil
}
+// SetLimit sets the Limit field's value.
+func (s *ListTargetsByRuleInput) SetLimit(v int64) *ListTargetsByRuleInput {
+ s.Limit = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListTargetsByRuleInput) SetNextToken(v string) *ListTargetsByRuleInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetRule sets the Rule field's value.
+func (s *ListTargetsByRuleInput) SetRule(v string) *ListTargetsByRuleInput {
+ s.Rule = &v
+ return s
+}
+
// The result of the ListTargetsByRule operation.
type ListTargetsByRuleOutput struct {
_ struct{} `type:"structure"`
@@ -1340,6 +1484,18 @@ func (s ListTargetsByRuleOutput) GoString() string {
return s.String()
}
+// SetNextToken sets the NextToken field's value.
+func (s *ListTargetsByRuleOutput) SetNextToken(v string) *ListTargetsByRuleOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetTargets sets the Targets field's value.
+func (s *ListTargetsByRuleOutput) SetTargets(v []*Target) *ListTargetsByRuleOutput {
+ s.Targets = v
+ return s
+}
+
// Container for the parameters to the PutEvents operation.
type PutEventsInput struct {
_ struct{} `type:"structure"`
@@ -1378,6 +1534,12 @@ func (s *PutEventsInput) Validate() error {
return nil
}
+// SetEntries sets the Entries field's value.
+func (s *PutEventsInput) SetEntries(v []*PutEventsRequestEntry) *PutEventsInput {
+ s.Entries = v
+ return s
+}
+
// The result of the PutEvents operation.
type PutEventsOutput struct {
_ struct{} `type:"structure"`
@@ -1402,6 +1564,18 @@ func (s PutEventsOutput) GoString() string {
return s.String()
}
+// SetEntries sets the Entries field's value.
+func (s *PutEventsOutput) SetEntries(v []*PutEventsResultEntry) *PutEventsOutput {
+ s.Entries = v
+ return s
+}
+
+// SetFailedEntryCount sets the FailedEntryCount field's value.
+func (s *PutEventsOutput) SetFailedEntryCount(v int64) *PutEventsOutput {
+ s.FailedEntryCount = &v
+ return s
+}
+
// Contains information about the event to be used in PutEvents.
type PutEventsRequestEntry struct {
_ struct{} `type:"structure"`
@@ -1436,6 +1610,36 @@ func (s PutEventsRequestEntry) GoString() string {
return s.String()
}
+// SetDetail sets the Detail field's value.
+func (s *PutEventsRequestEntry) SetDetail(v string) *PutEventsRequestEntry {
+ s.Detail = &v
+ return s
+}
+
+// SetDetailType sets the DetailType field's value.
+func (s *PutEventsRequestEntry) SetDetailType(v string) *PutEventsRequestEntry {
+ s.DetailType = &v
+ return s
+}
+
+// SetResources sets the Resources field's value.
+func (s *PutEventsRequestEntry) SetResources(v []*string) *PutEventsRequestEntry {
+ s.Resources = v
+ return s
+}
+
+// SetSource sets the Source field's value.
+func (s *PutEventsRequestEntry) SetSource(v string) *PutEventsRequestEntry {
+ s.Source = &v
+ return s
+}
+
+// SetTime sets the Time field's value.
+func (s *PutEventsRequestEntry) SetTime(v time.Time) *PutEventsRequestEntry {
+ s.Time = &v
+ return s
+}
+
// A PutEventsResult contains a list of PutEventsResultEntry.
type PutEventsResultEntry struct {
_ struct{} `type:"structure"`
@@ -1460,6 +1664,24 @@ func (s PutEventsResultEntry) GoString() string {
return s.String()
}
+// SetErrorCode sets the ErrorCode field's value.
+func (s *PutEventsResultEntry) SetErrorCode(v string) *PutEventsResultEntry {
+ s.ErrorCode = &v
+ return s
+}
+
+// SetErrorMessage sets the ErrorMessage field's value.
+func (s *PutEventsResultEntry) SetErrorMessage(v string) *PutEventsResultEntry {
+ s.ErrorMessage = &v
+ return s
+}
+
+// SetEventId sets the EventId field's value.
+func (s *PutEventsResultEntry) SetEventId(v string) *PutEventsResultEntry {
+ s.EventId = &v
+ return s
+}
+
// Container for the parameters to the PutRule operation.
type PutRuleInput struct {
_ struct{} `type:"structure"`
@@ -1514,6 +1736,42 @@ func (s *PutRuleInput) Validate() error {
return nil
}
+// SetDescription sets the Description field's value.
+func (s *PutRuleInput) SetDescription(v string) *PutRuleInput {
+ s.Description = &v
+ return s
+}
+
+// SetEventPattern sets the EventPattern field's value.
+func (s *PutRuleInput) SetEventPattern(v string) *PutRuleInput {
+ s.EventPattern = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *PutRuleInput) SetName(v string) *PutRuleInput {
+ s.Name = &v
+ return s
+}
+
+// SetRoleArn sets the RoleArn field's value.
+func (s *PutRuleInput) SetRoleArn(v string) *PutRuleInput {
+ s.RoleArn = &v
+ return s
+}
+
+// SetScheduleExpression sets the ScheduleExpression field's value.
+func (s *PutRuleInput) SetScheduleExpression(v string) *PutRuleInput {
+ s.ScheduleExpression = &v
+ return s
+}
+
+// SetState sets the State field's value.
+func (s *PutRuleInput) SetState(v string) *PutRuleInput {
+ s.State = &v
+ return s
+}
+
// The result of the PutRule operation.
type PutRuleOutput struct {
_ struct{} `type:"structure"`
@@ -1532,6 +1790,12 @@ func (s PutRuleOutput) GoString() string {
return s.String()
}
+// SetRuleArn sets the RuleArn field's value.
+func (s *PutRuleOutput) SetRuleArn(v string) *PutRuleOutput {
+ s.RuleArn = &v
+ return s
+}
+
// Container for the parameters to the PutTargets operation.
type PutTargetsInput struct {
_ struct{} `type:"structure"`
@@ -1586,6 +1850,18 @@ func (s *PutTargetsInput) Validate() error {
return nil
}
+// SetRule sets the Rule field's value.
+func (s *PutTargetsInput) SetRule(v string) *PutTargetsInput {
+ s.Rule = &v
+ return s
+}
+
+// SetTargets sets the Targets field's value.
+func (s *PutTargetsInput) SetTargets(v []*Target) *PutTargetsInput {
+ s.Targets = v
+ return s
+}
+
// The result of the PutTargets operation.
type PutTargetsOutput struct {
_ struct{} `type:"structure"`
@@ -1607,6 +1883,18 @@ func (s PutTargetsOutput) GoString() string {
return s.String()
}
+// SetFailedEntries sets the FailedEntries field's value.
+func (s *PutTargetsOutput) SetFailedEntries(v []*PutTargetsResultEntry) *PutTargetsOutput {
+ s.FailedEntries = v
+ return s
+}
+
+// SetFailedEntryCount sets the FailedEntryCount field's value.
+func (s *PutTargetsOutput) SetFailedEntryCount(v int64) *PutTargetsOutput {
+ s.FailedEntryCount = &v
+ return s
+}
+
// A PutTargetsResult contains a list of PutTargetsResultEntry.
type PutTargetsResultEntry struct {
_ struct{} `type:"structure"`
@@ -1631,6 +1919,24 @@ func (s PutTargetsResultEntry) GoString() string {
return s.String()
}
+// SetErrorCode sets the ErrorCode field's value.
+func (s *PutTargetsResultEntry) SetErrorCode(v string) *PutTargetsResultEntry {
+ s.ErrorCode = &v
+ return s
+}
+
+// SetErrorMessage sets the ErrorMessage field's value.
+func (s *PutTargetsResultEntry) SetErrorMessage(v string) *PutTargetsResultEntry {
+ s.ErrorMessage = &v
+ return s
+}
+
+// SetTargetId sets the TargetId field's value.
+func (s *PutTargetsResultEntry) SetTargetId(v string) *PutTargetsResultEntry {
+ s.TargetId = &v
+ return s
+}
+
// Container for the parameters to the RemoveTargets operation.
type RemoveTargetsInput struct {
_ struct{} `type:"structure"`
@@ -1678,6 +1984,18 @@ func (s *RemoveTargetsInput) Validate() error {
return nil
}
+// SetIds sets the Ids field's value.
+func (s *RemoveTargetsInput) SetIds(v []*string) *RemoveTargetsInput {
+ s.Ids = v
+ return s
+}
+
+// SetRule sets the Rule field's value.
+func (s *RemoveTargetsInput) SetRule(v string) *RemoveTargetsInput {
+ s.Rule = &v
+ return s
+}
+
// The result of the RemoveTargets operation.
type RemoveTargetsOutput struct {
_ struct{} `type:"structure"`
@@ -1699,6 +2017,18 @@ func (s RemoveTargetsOutput) GoString() string {
return s.String()
}
+// SetFailedEntries sets the FailedEntries field's value.
+func (s *RemoveTargetsOutput) SetFailedEntries(v []*RemoveTargetsResultEntry) *RemoveTargetsOutput {
+ s.FailedEntries = v
+ return s
+}
+
+// SetFailedEntryCount sets the FailedEntryCount field's value.
+func (s *RemoveTargetsOutput) SetFailedEntryCount(v int64) *RemoveTargetsOutput {
+ s.FailedEntryCount = &v
+ return s
+}
+
// The ID of the target requested to be removed from the rule by Amazon CloudWatch
// Events.
type RemoveTargetsResultEntry struct {
@@ -1724,6 +2054,24 @@ func (s RemoveTargetsResultEntry) GoString() string {
return s.String()
}
+// SetErrorCode sets the ErrorCode field's value.
+func (s *RemoveTargetsResultEntry) SetErrorCode(v string) *RemoveTargetsResultEntry {
+ s.ErrorCode = &v
+ return s
+}
+
+// SetErrorMessage sets the ErrorMessage field's value.
+func (s *RemoveTargetsResultEntry) SetErrorMessage(v string) *RemoveTargetsResultEntry {
+ s.ErrorMessage = &v
+ return s
+}
+
+// SetTargetId sets the TargetId field's value.
+func (s *RemoveTargetsResultEntry) SetTargetId(v string) *RemoveTargetsResultEntry {
+ s.TargetId = &v
+ return s
+}
+
// Contains information about a rule in Amazon CloudWatch Events. A ListRulesResult
// contains a list of Rules.
type Rule struct {
@@ -1762,6 +2110,48 @@ func (s Rule) GoString() string {
return s.String()
}
+// SetArn sets the Arn field's value.
+func (s *Rule) SetArn(v string) *Rule {
+ s.Arn = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *Rule) SetDescription(v string) *Rule {
+ s.Description = &v
+ return s
+}
+
+// SetEventPattern sets the EventPattern field's value.
+func (s *Rule) SetEventPattern(v string) *Rule {
+ s.EventPattern = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *Rule) SetName(v string) *Rule {
+ s.Name = &v
+ return s
+}
+
+// SetRoleArn sets the RoleArn field's value.
+func (s *Rule) SetRoleArn(v string) *Rule {
+ s.RoleArn = &v
+ return s
+}
+
+// SetScheduleExpression sets the ScheduleExpression field's value.
+func (s *Rule) SetScheduleExpression(v string) *Rule {
+ s.ScheduleExpression = &v
+ return s
+}
+
+// SetState sets the State field's value.
+func (s *Rule) SetState(v string) *Rule {
+ s.State = &v
+ return s
+}
+
// Targets are the resources that can be invoked when a rule is triggered. For
// example, AWS Lambda functions, Amazon Kinesis streams, and built-in targets.
//
@@ -1830,6 +2220,30 @@ func (s *Target) Validate() error {
return nil
}
+// SetArn sets the Arn field's value.
+func (s *Target) SetArn(v string) *Target {
+ s.Arn = &v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *Target) SetId(v string) *Target {
+ s.Id = &v
+ return s
+}
+
+// SetInput sets the Input field's value.
+func (s *Target) SetInput(v string) *Target {
+ s.Input = &v
+ return s
+}
+
+// SetInputPath sets the InputPath field's value.
+func (s *Target) SetInputPath(v string) *Target {
+ s.InputPath = &v
+ return s
+}
+
// Container for the parameters to the TestEventPattern operation.
type TestEventPatternInput struct {
_ struct{} `type:"structure"`
@@ -1871,6 +2285,18 @@ func (s *TestEventPatternInput) Validate() error {
return nil
}
+// SetEvent sets the Event field's value.
+func (s *TestEventPatternInput) SetEvent(v string) *TestEventPatternInput {
+ s.Event = &v
+ return s
+}
+
+// SetEventPattern sets the EventPattern field's value.
+func (s *TestEventPatternInput) SetEventPattern(v string) *TestEventPatternInput {
+ s.EventPattern = &v
+ return s
+}
+
// The result of the TestEventPattern operation.
type TestEventPatternOutput struct {
_ struct{} `type:"structure"`
@@ -1889,6 +2315,12 @@ func (s TestEventPatternOutput) GoString() string {
return s.String()
}
+// SetResult sets the Result field's value.
+func (s *TestEventPatternOutput) SetResult(v bool) *TestEventPatternOutput {
+ s.Result = &v
+ return s
+}
+
const (
// RuleStateEnabled is a RuleState enum value
RuleStateEnabled = "ENABLED"
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 ba48157..72d2898 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
@@ -59,7 +59,9 @@ func (c *CloudWatchLogs) CancelExportTaskRequest(input *CancelExportTaskInput) (
// CancelExportTask API operation for Amazon CloudWatch Logs.
//
-// Cancels an export task if it is in PENDING or RUNNING state.
+// Cancels the specified export task.
+//
+// The task must be in the PENDING or RUNNING 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
@@ -70,16 +72,16 @@ func (c *CloudWatchLogs) CancelExportTaskRequest(input *CancelExportTaskInput) (
//
// Returned Error Codes:
// * InvalidParameterException
-// Returned if a parameter of the request is incorrectly specified.
+// A parameter is specified incorrectly.
//
// * ResourceNotFoundException
-// Returned if the specified resource does not exist.
+// The specified resource does not exist.
//
// * InvalidOperationException
-// Returned if the operation is not valid on the specified resource
+// The operation is not valid on the specified resource.
//
// * ServiceUnavailableException
-// Returned if the service cannot complete the request.
+// The service cannot complete the request.
//
func (c *CloudWatchLogs) CancelExportTask(input *CancelExportTaskInput) (*CancelExportTaskOutput, error) {
req, out := c.CancelExportTaskRequest(input)
@@ -132,19 +134,18 @@ func (c *CloudWatchLogs) CreateExportTaskRequest(input *CreateExportTaskInput) (
// CreateExportTask API operation for Amazon CloudWatch Logs.
//
-// Creates an ExportTask which allows you to efficiently export data from a
-// Log Group to your Amazon S3 bucket.
+// Creates an export task, which allows you to efficiently export data from
+// a log group to an Amazon S3 bucket.
//
// This is an asynchronous call. If all the required information is provided,
-// this API will initiate an export task and respond with the task Id. Once
-// started, DescribeExportTasks can be used to get the status of an export task.
-// You can only have one active (RUNNING or PENDING) export task at a time,
-// per account.
+// this operation initiates an export task and responds with the ID of the task.
+// After the task has started, you can use DescribeExportTasks to get the status
+// of the export task. Each account can only have one active (RUNNING or PENDING)
+// export task at a time. To cancel an export task, use CancelExportTask.
//
// You can export logs from multiple log groups or multiple time ranges to the
-// same Amazon S3 bucket. To separate out log data for each export task, you
-// can specify a prefix that will be used as the Amazon S3 key prefix for all
-// exported objects.
+// same S3 bucket. To separate out log data for each export task, you can specify
+// a prefix that will be used as the Amazon S3 key prefix for all exported 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
@@ -155,23 +156,22 @@ func (c *CloudWatchLogs) CreateExportTaskRequest(input *CreateExportTaskInput) (
//
// Returned Error Codes:
// * InvalidParameterException
-// Returned if a parameter of the request is incorrectly specified.
+// A parameter is specified incorrectly.
//
// * LimitExceededException
-// Returned if you have reached the maximum number of resources that can be
-// created.
+// You have reached the maximum number of resources that can be created.
//
// * OperationAbortedException
-// Returned if multiple requests to update the same resource were in conflict.
+// Multiple requests to update the same resource were in conflict.
//
// * ServiceUnavailableException
-// Returned if the service cannot complete the request.
+// The service cannot complete the request.
//
// * ResourceNotFoundException
-// Returned if the specified resource does not exist.
+// The specified resource does not exist.
//
// * ResourceAlreadyExistsException
-// Returned if the specified resource already exists.
+// The specified resource already exists.
//
func (c *CloudWatchLogs) CreateExportTask(input *CreateExportTaskInput) (*CreateExportTaskOutput, error) {
req, out := c.CreateExportTaskRequest(input)
@@ -226,16 +226,18 @@ func (c *CloudWatchLogs) CreateLogGroupRequest(input *CreateLogGroupInput) (req
// CreateLogGroup API operation for Amazon CloudWatch Logs.
//
-// Creates a new log group with the specified name. The name of the log group
-// must be unique within a region for an AWS account. You can create up to 500
-// log groups per account.
+// Creates a log group with the specified name.
+//
+// You can create up to 5000 log groups per account.
//
// You must use the following guidelines when naming a log group:
//
+// * Log group names must be unique within a region for an AWS account.
+//
// * Log group names can be between 1 and 512 characters long.
//
-// * Allowed characters are a-z, A-Z, 0-9, '_' (underscore), '-' (hyphen),
-// '/' (forward slash), and '.' (period).
+// * Log group names consist of the following characters: a-z, A-Z, 0-9,
+// '_' (underscore), '-' (hyphen), '/' (forward slash), and '.' (period).
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
@@ -246,20 +248,19 @@ func (c *CloudWatchLogs) CreateLogGroupRequest(input *CreateLogGroupInput) (req
//
// Returned Error Codes:
// * InvalidParameterException
-// Returned if a parameter of the request is incorrectly specified.
+// A parameter is specified incorrectly.
//
// * ResourceAlreadyExistsException
-// Returned if the specified resource already exists.
+// The specified resource already exists.
//
// * LimitExceededException
-// Returned if you have reached the maximum number of resources that can be
-// created.
+// You have reached the maximum number of resources that can be created.
//
// * OperationAbortedException
-// Returned if multiple requests to update the same resource were in conflict.
+// Multiple requests to update the same resource were in conflict.
//
// * ServiceUnavailableException
-// Returned if the service cannot complete the request.
+// The service cannot complete the request.
//
func (c *CloudWatchLogs) CreateLogGroup(input *CreateLogGroupInput) (*CreateLogGroupOutput, error) {
req, out := c.CreateLogGroupRequest(input)
@@ -314,15 +315,18 @@ func (c *CloudWatchLogs) CreateLogStreamRequest(input *CreateLogStreamInput) (re
// CreateLogStream API operation for Amazon CloudWatch Logs.
//
-// Creates a new log stream in the specified log group. The name of the log
-// stream must be unique within the log group. There is no limit on the number
-// of log streams that can exist in a log group.
+// Creates a log stream for the specified log group.
+//
+// There is no limit on the number of log streams that you can create for a
+// log group.
//
// You must use the following guidelines when naming a log stream:
//
+// * Log stream names must be unique within the log group.
+//
// * Log stream names can be between 1 and 512 characters long.
//
-// * The ':' colon character is not allowed.
+// * The ':' (colon) and '*' (asterisk) characters are not allowed.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
@@ -333,16 +337,16 @@ func (c *CloudWatchLogs) CreateLogStreamRequest(input *CreateLogStreamInput) (re
//
// Returned Error Codes:
// * InvalidParameterException
-// Returned if a parameter of the request is incorrectly specified.
+// A parameter is specified incorrectly.
//
// * ResourceAlreadyExistsException
-// Returned if the specified resource already exists.
+// The specified resource already exists.
//
// * ResourceNotFoundException
-// Returned if the specified resource does not exist.
+// The specified resource does not exist.
//
// * ServiceUnavailableException
-// Returned if the service cannot complete the request.
+// The service cannot complete the request.
//
func (c *CloudWatchLogs) CreateLogStream(input *CreateLogStreamInput) (*CreateLogStreamOutput, error) {
req, out := c.CreateLogStreamRequest(input)
@@ -397,9 +401,9 @@ func (c *CloudWatchLogs) DeleteDestinationRequest(input *DeleteDestinationInput)
// DeleteDestination API operation for Amazon CloudWatch Logs.
//
-// Deletes the destination with the specified name and eventually disables all
-// the subscription filters that publish to it. This will not delete the physical
-// resource encapsulated by the destination.
+// Deletes the specified destination, and eventually disables all the subscription
+// filters that publish to it. This operation does not delete the physical resource
+// encapsulated by the destination.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
@@ -410,16 +414,16 @@ func (c *CloudWatchLogs) DeleteDestinationRequest(input *DeleteDestinationInput)
//
// Returned Error Codes:
// * InvalidParameterException
-// Returned if a parameter of the request is incorrectly specified.
+// A parameter is specified incorrectly.
//
// * ResourceNotFoundException
-// Returned if the specified resource does not exist.
+// The specified resource does not exist.
//
// * OperationAbortedException
-// Returned if multiple requests to update the same resource were in conflict.
+// Multiple requests to update the same resource were in conflict.
//
// * ServiceUnavailableException
-// Returned if the service cannot complete the request.
+// The service cannot complete the request.
//
func (c *CloudWatchLogs) DeleteDestination(input *DeleteDestinationInput) (*DeleteDestinationOutput, error) {
req, out := c.DeleteDestinationRequest(input)
@@ -474,8 +478,8 @@ func (c *CloudWatchLogs) DeleteLogGroupRequest(input *DeleteLogGroupInput) (req
// DeleteLogGroup API operation for Amazon CloudWatch Logs.
//
-// Deletes the log group with the specified name and permanently deletes all
-// the archived log events associated with it.
+// Deletes the specified log group and permanently deletes all the archived
+// log events associated with the log 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
@@ -486,16 +490,16 @@ func (c *CloudWatchLogs) DeleteLogGroupRequest(input *DeleteLogGroupInput) (req
//
// Returned Error Codes:
// * InvalidParameterException
-// Returned if a parameter of the request is incorrectly specified.
+// A parameter is specified incorrectly.
//
// * ResourceNotFoundException
-// Returned if the specified resource does not exist.
+// The specified resource does not exist.
//
// * OperationAbortedException
-// Returned if multiple requests to update the same resource were in conflict.
+// Multiple requests to update the same resource were in conflict.
//
// * ServiceUnavailableException
-// Returned if the service cannot complete the request.
+// The service cannot complete the request.
//
func (c *CloudWatchLogs) DeleteLogGroup(input *DeleteLogGroupInput) (*DeleteLogGroupOutput, error) {
req, out := c.DeleteLogGroupRequest(input)
@@ -550,8 +554,8 @@ func (c *CloudWatchLogs) DeleteLogStreamRequest(input *DeleteLogStreamInput) (re
// DeleteLogStream API operation for Amazon CloudWatch Logs.
//
-// Deletes a log stream and permanently deletes all the archived log events
-// associated with it.
+// Deletes the specified log stream and permanently deletes all the archived
+// log events associated with the log 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
@@ -562,16 +566,16 @@ func (c *CloudWatchLogs) DeleteLogStreamRequest(input *DeleteLogStreamInput) (re
//
// Returned Error Codes:
// * InvalidParameterException
-// Returned if a parameter of the request is incorrectly specified.
+// A parameter is specified incorrectly.
//
// * ResourceNotFoundException
-// Returned if the specified resource does not exist.
+// The specified resource does not exist.
//
// * OperationAbortedException
-// Returned if multiple requests to update the same resource were in conflict.
+// Multiple requests to update the same resource were in conflict.
//
// * ServiceUnavailableException
-// Returned if the service cannot complete the request.
+// The service cannot complete the request.
//
func (c *CloudWatchLogs) DeleteLogStream(input *DeleteLogStreamInput) (*DeleteLogStreamOutput, error) {
req, out := c.DeleteLogStreamRequest(input)
@@ -626,7 +630,7 @@ func (c *CloudWatchLogs) DeleteMetricFilterRequest(input *DeleteMetricFilterInpu
// DeleteMetricFilter API operation for Amazon CloudWatch Logs.
//
-// Deletes a metric filter associated with the specified log group.
+// Deletes the specified metric filter.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
@@ -637,16 +641,16 @@ func (c *CloudWatchLogs) DeleteMetricFilterRequest(input *DeleteMetricFilterInpu
//
// Returned Error Codes:
// * InvalidParameterException
-// Returned if a parameter of the request is incorrectly specified.
+// A parameter is specified incorrectly.
//
// * ResourceNotFoundException
-// Returned if the specified resource does not exist.
+// The specified resource does not exist.
//
// * OperationAbortedException
-// Returned if multiple requests to update the same resource were in conflict.
+// Multiple requests to update the same resource were in conflict.
//
// * ServiceUnavailableException
-// Returned if the service cannot complete the request.
+// The service cannot complete the request.
//
func (c *CloudWatchLogs) DeleteMetricFilter(input *DeleteMetricFilterInput) (*DeleteMetricFilterOutput, error) {
req, out := c.DeleteMetricFilterRequest(input)
@@ -701,8 +705,10 @@ func (c *CloudWatchLogs) DeleteRetentionPolicyRequest(input *DeleteRetentionPoli
// DeleteRetentionPolicy API operation for Amazon CloudWatch Logs.
//
-// Deletes the retention policy of the specified log group. Log events would
-// not expire if they belong to log groups without a retention policy.
+// Deletes the specified retention policy.
+//
+// Log events do not expire if they belong to log groups without a retention
+// 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
@@ -713,16 +719,16 @@ func (c *CloudWatchLogs) DeleteRetentionPolicyRequest(input *DeleteRetentionPoli
//
// Returned Error Codes:
// * InvalidParameterException
-// Returned if a parameter of the request is incorrectly specified.
+// A parameter is specified incorrectly.
//
// * ResourceNotFoundException
-// Returned if the specified resource does not exist.
+// The specified resource does not exist.
//
// * OperationAbortedException
-// Returned if multiple requests to update the same resource were in conflict.
+// Multiple requests to update the same resource were in conflict.
//
// * ServiceUnavailableException
-// Returned if the service cannot complete the request.
+// The service cannot complete the request.
//
func (c *CloudWatchLogs) DeleteRetentionPolicy(input *DeleteRetentionPolicyInput) (*DeleteRetentionPolicyOutput, error) {
req, out := c.DeleteRetentionPolicyRequest(input)
@@ -777,7 +783,7 @@ func (c *CloudWatchLogs) DeleteSubscriptionFilterRequest(input *DeleteSubscripti
// DeleteSubscriptionFilter API operation for Amazon CloudWatch Logs.
//
-// Deletes a subscription filter associated with the specified log group.
+// Deletes the specified subscription filter.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
@@ -788,16 +794,16 @@ func (c *CloudWatchLogs) DeleteSubscriptionFilterRequest(input *DeleteSubscripti
//
// Returned Error Codes:
// * InvalidParameterException
-// Returned if a parameter of the request is incorrectly specified.
+// A parameter is specified incorrectly.
//
// * ResourceNotFoundException
-// Returned if the specified resource does not exist.
+// The specified resource does not exist.
//
// * OperationAbortedException
-// Returned if multiple requests to update the same resource were in conflict.
+// Multiple requests to update the same resource were in conflict.
//
// * ServiceUnavailableException
-// Returned if the service cannot complete the request.
+// The service cannot complete the request.
//
func (c *CloudWatchLogs) DeleteSubscriptionFilter(input *DeleteSubscriptionFilterInput) (*DeleteSubscriptionFilterOutput, error) {
req, out := c.DeleteSubscriptionFilterRequest(input)
@@ -856,15 +862,9 @@ func (c *CloudWatchLogs) DescribeDestinationsRequest(input *DescribeDestinations
// DescribeDestinations API operation for Amazon CloudWatch Logs.
//
-// Returns all the destinations that are associated with the AWS account making
-// the request. The list returned in the response is ASCII-sorted by destination
+// Lists all your destinations. The results are ASCII-sorted by destination
// name.
//
-// By default, this operation returns up to 50 destinations. If there are more
-// destinations to list, the response would contain a nextToken value in the
-// response body. You can also limit the number of destinations returned in
-// the response by specifying the limit parameter 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.
@@ -874,10 +874,10 @@ func (c *CloudWatchLogs) DescribeDestinationsRequest(input *DescribeDestinations
//
// Returned Error Codes:
// * InvalidParameterException
-// Returned if a parameter of the request is incorrectly specified.
+// A parameter is specified incorrectly.
//
// * ServiceUnavailableException
-// Returned if the service cannot complete the request.
+// The service cannot complete the request.
//
func (c *CloudWatchLogs) DescribeDestinations(input *DescribeDestinationsInput) (*DescribeDestinationsOutput, error) {
req, out := c.DescribeDestinationsRequest(input)
@@ -955,14 +955,8 @@ func (c *CloudWatchLogs) DescribeExportTasksRequest(input *DescribeExportTasksIn
// DescribeExportTasks API operation for Amazon CloudWatch Logs.
//
-// Returns all the export tasks that are associated with the AWS account making
-// the request. The export tasks can be filtered based on TaskId or TaskStatus.
-//
-// By default, this operation returns up to 50 export tasks that satisfy the
-// specified filters. If there are more export tasks to list, the response would
-// contain a nextToken value in the response body. You can also limit the number
-// of export tasks returned in the response by specifying the limit parameter
-// in the request.
+// Lists the specified export tasks. You can list all your export tasks or filter
+// the results based on task ID or task 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
@@ -973,10 +967,10 @@ func (c *CloudWatchLogs) DescribeExportTasksRequest(input *DescribeExportTasksIn
//
// Returned Error Codes:
// * InvalidParameterException
-// Returned if a parameter of the request is incorrectly specified.
+// A parameter is specified incorrectly.
//
// * ServiceUnavailableException
-// Returned if the service cannot complete the request.
+// The service cannot complete the request.
//
func (c *CloudWatchLogs) DescribeExportTasks(input *DescribeExportTasksInput) (*DescribeExportTasksOutput, error) {
req, out := c.DescribeExportTasksRequest(input)
@@ -1035,14 +1029,8 @@ func (c *CloudWatchLogs) DescribeLogGroupsRequest(input *DescribeLogGroupsInput)
// DescribeLogGroups API operation for Amazon CloudWatch Logs.
//
-// Returns all the log groups that are associated with the AWS account making
-// the request. The list returned in the response is ASCII-sorted by log group
-// name.
-//
-// By default, this operation returns up to 50 log groups. If there are more
-// log groups to list, the response would contain a nextToken value in the response
-// body. You can also limit the number of log groups returned in the response
-// by specifying the limit parameter in the request.
+// Lists the specified log groups. You can list all your log groups or filter
+// the results by prefix. The results are ASCII-sorted by log group 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
@@ -1053,10 +1041,10 @@ func (c *CloudWatchLogs) DescribeLogGroupsRequest(input *DescribeLogGroupsInput)
//
// Returned Error Codes:
// * InvalidParameterException
-// Returned if a parameter of the request is incorrectly specified.
+// A parameter is specified incorrectly.
//
// * ServiceUnavailableException
-// Returned if the service cannot complete the request.
+// The service cannot complete the request.
//
func (c *CloudWatchLogs) DescribeLogGroups(input *DescribeLogGroupsInput) (*DescribeLogGroupsOutput, error) {
req, out := c.DescribeLogGroupsRequest(input)
@@ -1140,15 +1128,12 @@ func (c *CloudWatchLogs) DescribeLogStreamsRequest(input *DescribeLogStreamsInpu
// DescribeLogStreams API operation for Amazon CloudWatch Logs.
//
-// Returns all the log streams that are associated with the specified log group.
-// The list returned in the response is ASCII-sorted by log stream name.
+// Lists the log streams for the specified log group. You can list all the log
+// streams or filter the results by prefix. You can also control how the results
+// are ordered.
//
-// By default, this operation returns up to 50 log streams. If there are more
-// log streams to list, the response would contain a nextToken value in the
-// response body. You can also limit the number of log streams returned in the
-// response by specifying the limit parameter in the request. This operation
-// has a limit of five transactions per second, after which transactions are
-// throttled.
+// This operation has a limit of five transactions per second, after which transactions
+// are throttled.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
@@ -1159,13 +1144,13 @@ func (c *CloudWatchLogs) DescribeLogStreamsRequest(input *DescribeLogStreamsInpu
//
// Returned Error Codes:
// * InvalidParameterException
-// Returned if a parameter of the request is incorrectly specified.
+// A parameter is specified incorrectly.
//
// * ResourceNotFoundException
-// Returned if the specified resource does not exist.
+// The specified resource does not exist.
//
// * ServiceUnavailableException
-// Returned if the service cannot complete the request.
+// The service cannot complete the request.
//
func (c *CloudWatchLogs) DescribeLogStreams(input *DescribeLogStreamsInput) (*DescribeLogStreamsOutput, error) {
req, out := c.DescribeLogStreamsRequest(input)
@@ -1249,13 +1234,9 @@ func (c *CloudWatchLogs) DescribeMetricFiltersRequest(input *DescribeMetricFilte
// DescribeMetricFilters API operation for Amazon CloudWatch Logs.
//
-// Returns all the metrics filters associated with the specified log group.
-// The list returned in the response is ASCII-sorted by filter name.
-//
-// By default, this operation returns up to 50 metric filters. If there are
-// more metric filters to list, the response would contain a nextToken value
-// in the response body. You can also limit the number of metric filters returned
-// in the response by specifying the limit parameter in the request.
+// Lists the specified metric filters. You can list all the metric filters or
+// filter the results by log name, prefix, metric name, or metric namespace.
+// The results are ASCII-sorted by filter 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
@@ -1266,13 +1247,13 @@ func (c *CloudWatchLogs) DescribeMetricFiltersRequest(input *DescribeMetricFilte
//
// Returned Error Codes:
// * InvalidParameterException
-// Returned if a parameter of the request is incorrectly specified.
+// A parameter is specified incorrectly.
//
// * ResourceNotFoundException
-// Returned if the specified resource does not exist.
+// The specified resource does not exist.
//
// * ServiceUnavailableException
-// Returned if the service cannot complete the request.
+// The service cannot complete the request.
//
func (c *CloudWatchLogs) DescribeMetricFilters(input *DescribeMetricFiltersInput) (*DescribeMetricFiltersOutput, error) {
req, out := c.DescribeMetricFiltersRequest(input)
@@ -1356,14 +1337,9 @@ func (c *CloudWatchLogs) DescribeSubscriptionFiltersRequest(input *DescribeSubsc
// DescribeSubscriptionFilters API operation for Amazon CloudWatch Logs.
//
-// Returns all the subscription filters associated with the specified log group.
-// The list returned in the response is ASCII-sorted by filter name.
-//
-// By default, this operation returns up to 50 subscription filters. If there
-// are more subscription filters to list, the response would contain a nextToken
-// value in the response body. You can also limit the number of subscription
-// filters returned in the response by specifying the limit parameter in the
-// request.
+// Lists the subscription filters for the specified log group. You can list
+// all the subscription filters or filter the results by prefix. The results
+// are ASCII-sorted by filter 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
@@ -1374,13 +1350,13 @@ func (c *CloudWatchLogs) DescribeSubscriptionFiltersRequest(input *DescribeSubsc
//
// Returned Error Codes:
// * InvalidParameterException
-// Returned if a parameter of the request is incorrectly specified.
+// A parameter is specified incorrectly.
//
// * ResourceNotFoundException
-// Returned if the specified resource does not exist.
+// The specified resource does not exist.
//
// * ServiceUnavailableException
-// Returned if the service cannot complete the request.
+// The service cannot complete the request.
//
func (c *CloudWatchLogs) DescribeSubscriptionFilters(input *DescribeSubscriptionFiltersInput) (*DescribeSubscriptionFiltersOutput, error) {
req, out := c.DescribeSubscriptionFiltersRequest(input)
@@ -1464,20 +1440,15 @@ func (c *CloudWatchLogs) FilterLogEventsRequest(input *FilterLogEventsInput) (re
// FilterLogEvents API operation for Amazon CloudWatch Logs.
//
-// Retrieves log events, optionally filtered by a filter pattern from the specified
-// log group. You can provide an optional time range to filter the results on
-// the event timestamp. You can limit the streams searched to an explicit list
-// of logStreamNames.
-//
-// By default, this operation returns as much matching log events as can fit
-// in a response size of 1MB, up to 10,000 log events, or all the events found
-// within a time-bounded scan window. If the response includes a nextToken,
-// then there is more data to search, and the search can be resumed with a new
-// request providing the nextToken. The response will contain a list of searchedLogStreams
-// that contains information about which streams were searched in the request
-// and whether they have been searched completely or require further pagination.
-// The limit parameter in the request can be used to specify the maximum number
-// of events to return in a page.
+// Lists log events from the specified log group. You can list all the log events
+// or filter the results using a filter pattern, a time range, and the name
+// of the log stream.
+//
+// By default, this operation returns as many log events as can fit in 1MB (up
+// to 10,000 log events), or all the events found within the time range that
+// you specify. If the results include a token, then there are more log events
+// available, and you can get additional results by specifying the token in
+// a subsequent 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
@@ -1488,13 +1459,13 @@ func (c *CloudWatchLogs) FilterLogEventsRequest(input *FilterLogEventsInput) (re
//
// Returned Error Codes:
// * InvalidParameterException
-// Returned if a parameter of the request is incorrectly specified.
+// A parameter is specified incorrectly.
//
// * ResourceNotFoundException
-// Returned if the specified resource does not exist.
+// The specified resource does not exist.
//
// * ServiceUnavailableException
-// Returned if the service cannot complete the request.
+// The service cannot complete the request.
//
func (c *CloudWatchLogs) FilterLogEvents(input *FilterLogEventsInput) (*FilterLogEventsOutput, error) {
req, out := c.FilterLogEventsRequest(input)
@@ -1578,16 +1549,13 @@ func (c *CloudWatchLogs) GetLogEventsRequest(input *GetLogEventsInput) (req *req
// GetLogEvents API operation for Amazon CloudWatch Logs.
//
-// Retrieves log events from the specified log stream. You can provide an optional
-// time range to filter the results on the event timestamp.
+// Lists log events from the specified log stream. You can list all the log
+// events or filter using a time range.
//
-// By default, this operation returns as much log events as can fit in a response
-// size of 1MB, up to 10,000 log events. The response will always include a
-// nextForwardToken and a nextBackwardToken in the response body. You can use
-// any of these tokens in subsequent GetLogEvents requests to paginate through
-// events in either forward or backward direction. You can also limit the number
-// of log events returned in the response by specifying the limit parameter
-// in the request.
+// By default, this operation returns as many log events as can fit in a response
+// size of 1MB (up to 10,000 log events). If the results include tokens, there
+// are more log events available. You can get additional log events by specifying
+// one of the tokens in a subsequent 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
@@ -1598,13 +1566,13 @@ func (c *CloudWatchLogs) GetLogEventsRequest(input *GetLogEventsInput) (req *req
//
// Returned Error Codes:
// * InvalidParameterException
-// Returned if a parameter of the request is incorrectly specified.
+// A parameter is specified incorrectly.
//
// * ResourceNotFoundException
-// Returned if the specified resource does not exist.
+// The specified resource does not exist.
//
// * ServiceUnavailableException
-// Returned if the service cannot complete the request.
+// The service cannot complete the request.
//
func (c *CloudWatchLogs) GetLogEvents(input *GetLogEventsInput) (*GetLogEventsOutput, error) {
req, out := c.GetLogEventsRequest(input)
@@ -1682,17 +1650,17 @@ func (c *CloudWatchLogs) PutDestinationRequest(input *PutDestinationInput) (req
// PutDestination API operation for Amazon CloudWatch Logs.
//
-// Creates or updates a Destination. A destination encapsulates a physical resource
-// (such as a Kinesis stream) and allows you to subscribe to a real-time stream
-// of log events of a different account, ingested through PutLogEvents requests.
-// Currently, the only supported physical resource is a Amazon Kinesis stream
-// belonging to the same account as the destination.
+// Creates or updates a destination. A destination encapsulates a physical resource
+// (such as a Kinesis stream) and enables you to subscribe to a real-time stream
+// of log events of a different account, ingested using PutLogEvents. Currently,
+// the only supported physical resource is a Amazon Kinesis stream belonging
+// to the same account as the destination.
//
// A destination controls what is written to its Amazon Kinesis stream through
// an access policy. By default, PutDestination does not set any access policy
-// with the destination, which means a cross-account user will not be able to
-// call PutSubscriptionFilter against this destination. To enable that, the
-// destination owner must call PutDestinationPolicy after PutDestination.
+// with the destination, which means a cross-account user cannot call PutSubscriptionFilter
+// against this destination. To enable this, the destination owner must call
+// PutDestinationPolicy after PutDestination.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
@@ -1703,13 +1671,13 @@ func (c *CloudWatchLogs) PutDestinationRequest(input *PutDestinationInput) (req
//
// Returned Error Codes:
// * InvalidParameterException
-// Returned if a parameter of the request is incorrectly specified.
+// A parameter is specified incorrectly.
//
// * OperationAbortedException
-// Returned if multiple requests to update the same resource were in conflict.
+// Multiple requests to update the same resource were in conflict.
//
// * ServiceUnavailableException
-// Returned if the service cannot complete the request.
+// The service cannot complete the request.
//
func (c *CloudWatchLogs) PutDestination(input *PutDestinationInput) (*PutDestinationOutput, error) {
req, out := c.PutDestinationRequest(input)
@@ -1764,7 +1732,7 @@ func (c *CloudWatchLogs) PutDestinationPolicyRequest(input *PutDestinationPolicy
// PutDestinationPolicy API operation for Amazon CloudWatch Logs.
//
-// Creates or updates an access policy associated with an existing Destination.
+// Creates or updates an access policy associated with an existing destination.
// An access policy is an IAM policy document (http://docs.aws.amazon.com/IAM/latest/UserGuide/policies_overview.html)
// that is used to authorize claims to register a subscription filter against
// a given destination.
@@ -1778,13 +1746,13 @@ func (c *CloudWatchLogs) PutDestinationPolicyRequest(input *PutDestinationPolicy
//
// Returned Error Codes:
// * InvalidParameterException
-// Returned if a parameter of the request is incorrectly specified.
+// A parameter is specified incorrectly.
//
// * OperationAbortedException
-// Returned if multiple requests to update the same resource were in conflict.
+// Multiple requests to update the same resource were in conflict.
//
// * ServiceUnavailableException
-// Returned if the service cannot complete the request.
+// The service cannot complete the request.
//
func (c *CloudWatchLogs) PutDestinationPolicy(input *PutDestinationPolicyInput) (*PutDestinationPolicyOutput, error) {
req, out := c.PutDestinationPolicyRequest(input)
@@ -1839,10 +1807,9 @@ func (c *CloudWatchLogs) PutLogEventsRequest(input *PutLogEventsInput) (req *req
//
// Uploads a batch of log events to the specified log stream.
//
-// Every PutLogEvents request must include the sequenceToken obtained from the
-// response of the previous request. An upload in a newly created log stream
-// does not require a sequenceToken. You can also get the sequenceToken using
-// DescribeLogStreams.
+// You must include the sequence token obtained from the response of the previous
+// call. An upload in a newly created log stream does not require a sequence
+// token. You can also get the sequence token using DescribeLogStreams.
//
// The batch of events must satisfy the following constraints:
//
@@ -1873,19 +1840,19 @@ func (c *CloudWatchLogs) PutLogEventsRequest(input *PutLogEventsInput) (req *req
//
// Returned Error Codes:
// * InvalidParameterException
-// Returned if a parameter of the request is incorrectly specified.
+// A parameter is specified incorrectly.
//
// * InvalidSequenceTokenException
-
+// The sequence token is not valid.
//
// * DataAlreadyAcceptedException
-
+// The event was already logged.
//
// * ResourceNotFoundException
-// Returned if the specified resource does not exist.
+// The specified resource does not exist.
//
// * ServiceUnavailableException
-// Returned if the service cannot complete the request.
+// The service cannot complete the request.
//
func (c *CloudWatchLogs) PutLogEvents(input *PutLogEventsInput) (*PutLogEventsOutput, error) {
req, out := c.PutLogEventsRequest(input)
@@ -1942,7 +1909,7 @@ func (c *CloudWatchLogs) PutMetricFilterRequest(input *PutMetricFilterInput) (re
//
// Creates or updates a metric filter and associates it with the specified log
// group. Metric filters allow you to configure rules to extract metric data
-// from log events ingested through PutLogEvents requests.
+// from log events ingested through PutLogEvents.
//
// The maximum number of metric filters that can be associated with a log group
// is 100.
@@ -1956,20 +1923,19 @@ func (c *CloudWatchLogs) PutMetricFilterRequest(input *PutMetricFilterInput) (re
//
// Returned Error Codes:
// * InvalidParameterException
-// Returned if a parameter of the request is incorrectly specified.
+// A parameter is specified incorrectly.
//
// * ResourceNotFoundException
-// Returned if the specified resource does not exist.
+// The specified resource does not exist.
//
// * OperationAbortedException
-// Returned if multiple requests to update the same resource were in conflict.
+// Multiple requests to update the same resource were in conflict.
//
// * LimitExceededException
-// Returned if you have reached the maximum number of resources that can be
-// created.
+// You have reached the maximum number of resources that can be created.
//
// * ServiceUnavailableException
-// Returned if the service cannot complete the request.
+// The service cannot complete the request.
//
func (c *CloudWatchLogs) PutMetricFilter(input *PutMetricFilterInput) (*PutMetricFilterOutput, error) {
req, out := c.PutMetricFilterRequest(input)
@@ -2037,16 +2003,16 @@ func (c *CloudWatchLogs) PutRetentionPolicyRequest(input *PutRetentionPolicyInpu
//
// Returned Error Codes:
// * InvalidParameterException
-// Returned if a parameter of the request is incorrectly specified.
+// A parameter is specified incorrectly.
//
// * ResourceNotFoundException
-// Returned if the specified resource does not exist.
+// The specified resource does not exist.
//
// * OperationAbortedException
-// Returned if multiple requests to update the same resource were in conflict.
+// Multiple requests to update the same resource were in conflict.
//
// * ServiceUnavailableException
-// Returned if the service cannot complete the request.
+// The service cannot complete the request.
//
func (c *CloudWatchLogs) PutRetentionPolicy(input *PutRetentionPolicyInput) (*PutRetentionPolicyOutput, error) {
req, out := c.PutRetentionPolicyRequest(input)
@@ -2103,23 +2069,22 @@ func (c *CloudWatchLogs) PutSubscriptionFilterRequest(input *PutSubscriptionFilt
//
// Creates or updates a subscription filter and associates it with the specified
// log group. Subscription filters allow you to subscribe to a real-time stream
-// of log events ingested through PutLogEvents requests and have them delivered
-// to a specific destination. Currently, the supported destinations are:
+// of log events ingested through PutLogEvents and have them delivered to a
+// specific destination. Currently, the supported destinations are:
//
// * An Amazon Kinesis stream belonging to the same account as the subscription
// filter, for same-account delivery.
//
-// * A logical destination (used via an ARN of Destination) belonging to
-// a different account, for cross-account delivery.
+// * A logical destination that belongs to a different account, for cross-account
+// delivery.
//
-// * An Amazon Kinesis Firehose stream belonging to the same account as the
-// subscription filter, for same-account delivery.
+// * An Amazon Kinesis Firehose stream that belongs to the same account as
+// the subscription filter, for same-account delivery.
//
-// * An AWS Lambda function belonging to the same account as the subscription
+// * An AWS Lambda function that belongs to the same account as the subscription
// filter, for same-account delivery.
//
-// Currently there can only be one subscription filter associated with a log
-// group.
+// There can only be one subscription filter associated with a log 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
@@ -2130,20 +2095,19 @@ func (c *CloudWatchLogs) PutSubscriptionFilterRequest(input *PutSubscriptionFilt
//
// Returned Error Codes:
// * InvalidParameterException
-// Returned if a parameter of the request is incorrectly specified.
+// A parameter is specified incorrectly.
//
// * ResourceNotFoundException
-// Returned if the specified resource does not exist.
+// The specified resource does not exist.
//
// * OperationAbortedException
-// Returned if multiple requests to update the same resource were in conflict.
+// Multiple requests to update the same resource were in conflict.
//
// * LimitExceededException
-// Returned if you have reached the maximum number of resources that can be
-// created.
+// You have reached the maximum number of resources that can be created.
//
// * ServiceUnavailableException
-// Returned if the service cannot complete the request.
+// The service cannot complete the request.
//
func (c *CloudWatchLogs) PutSubscriptionFilter(input *PutSubscriptionFilterInput) (*PutSubscriptionFilterOutput, error) {
req, out := c.PutSubscriptionFilterRequest(input)
@@ -2209,10 +2173,10 @@ func (c *CloudWatchLogs) TestMetricFilterRequest(input *TestMetricFilterInput) (
//
// Returned Error Codes:
// * InvalidParameterException
-// Returned if a parameter of the request is incorrectly specified.
+// A parameter is specified incorrectly.
//
// * ServiceUnavailableException
-// Returned if the service cannot complete the request.
+// The service cannot complete the request.
//
func (c *CloudWatchLogs) TestMetricFilter(input *TestMetricFilterInput) (*TestMetricFilterOutput, error) {
req, out := c.TestMetricFilterRequest(input)
@@ -2223,7 +2187,7 @@ func (c *CloudWatchLogs) TestMetricFilter(input *TestMetricFilterInput) (*TestMe
type CancelExportTaskInput struct {
_ struct{} `type:"structure"`
- // Id of the export task to cancel.
+ // The ID of the export task.
//
// TaskId is a required field
TaskId *string `locationName:"taskId" min:"1" type:"string" required:"true"`
@@ -2255,6 +2219,12 @@ func (s *CancelExportTaskInput) Validate() error {
return nil
}
+// SetTaskId sets the TaskId field's value.
+func (s *CancelExportTaskInput) SetTaskId(v string) *CancelExportTaskInput {
+ s.TaskId = &v
+ return s
+}
+
type CancelExportTaskOutput struct {
_ struct{} `type:"structure"`
}
@@ -2272,39 +2242,38 @@ func (s CancelExportTaskOutput) GoString() string {
type CreateExportTaskInput struct {
_ struct{} `type:"structure"`
- // Name of Amazon S3 bucket to which the log data will be exported.
- //
- // Note: Only buckets in the same AWS region are supported.
+ // The name of S3 bucket for the exported log data. The bucket must be in the
+ // same AWS region.
//
// Destination is a required field
Destination *string `locationName:"destination" min:"1" type:"string" required:"true"`
- // Prefix that will be used as the start of Amazon S3 key for every object exported.
- // If not specified, this defaults to 'exportedlogs'.
+ // The prefix used as the start of the key for every object exported. If you
+ // don't specify a value, the default is exportedlogs.
DestinationPrefix *string `locationName:"destinationPrefix" type:"string"`
- // A point in time expressed as the number of milliseconds since Jan 1, 1970
- // 00:00:00 UTC. It indicates the start time of the range for the request. Events
- // with a timestamp prior to this time will not be exported.
+ // The start time of the range for the request, expressed as the number of milliseconds
+ // since Jan 1, 1970 00:00:00 UTC. Events with a timestamp earlier than this
+ // time are not exported.
//
// From is a required field
From *int64 `locationName:"from" type:"long" required:"true"`
- // The name of the log group to export.
+ // The name of the log group.
//
// LogGroupName is a required field
LogGroupName *string `locationName:"logGroupName" min:"1" type:"string" required:"true"`
- // Will only export log streams that match the provided logStreamNamePrefix.
- // If you don't specify a value, no prefix filter is applied.
+ // Export only log streams that match the provided prefix. If you don't specify
+ // a value, no prefix filter is applied.
LogStreamNamePrefix *string `locationName:"logStreamNamePrefix" min:"1" type:"string"`
// The name of the export task.
TaskName *string `locationName:"taskName" min:"1" type:"string"`
- // A point in time expressed as the number of milliseconds since Jan 1, 1970
- // 00:00:00 UTC. It indicates the end time of the range for the request. Events
- // with a timestamp later than this time will not be exported.
+ // The end time of the range for the request, expressed as the number of milliseconds
+ // since Jan 1, 1970 00:00:00 UTC. Events with a timestamp later than this time
+ // are not exported.
//
// To is a required field
To *int64 `locationName:"to" type:"long" required:"true"`
@@ -2354,10 +2323,52 @@ func (s *CreateExportTaskInput) Validate() error {
return nil
}
+// SetDestination sets the Destination field's value.
+func (s *CreateExportTaskInput) SetDestination(v string) *CreateExportTaskInput {
+ s.Destination = &v
+ return s
+}
+
+// SetDestinationPrefix sets the DestinationPrefix field's value.
+func (s *CreateExportTaskInput) SetDestinationPrefix(v string) *CreateExportTaskInput {
+ s.DestinationPrefix = &v
+ return s
+}
+
+// SetFrom sets the From field's value.
+func (s *CreateExportTaskInput) SetFrom(v int64) *CreateExportTaskInput {
+ s.From = &v
+ return s
+}
+
+// SetLogGroupName sets the LogGroupName field's value.
+func (s *CreateExportTaskInput) SetLogGroupName(v string) *CreateExportTaskInput {
+ s.LogGroupName = &v
+ return s
+}
+
+// SetLogStreamNamePrefix sets the LogStreamNamePrefix field's value.
+func (s *CreateExportTaskInput) SetLogStreamNamePrefix(v string) *CreateExportTaskInput {
+ s.LogStreamNamePrefix = &v
+ return s
+}
+
+// SetTaskName sets the TaskName field's value.
+func (s *CreateExportTaskInput) SetTaskName(v string) *CreateExportTaskInput {
+ s.TaskName = &v
+ return s
+}
+
+// SetTo sets the To field's value.
+func (s *CreateExportTaskInput) SetTo(v int64) *CreateExportTaskInput {
+ s.To = &v
+ return s
+}
+
type CreateExportTaskOutput struct {
_ struct{} `type:"structure"`
- // Id of the export task that got created.
+ // The ID of the export task.
TaskId *string `locationName:"taskId" min:"1" type:"string"`
}
@@ -2371,10 +2382,16 @@ func (s CreateExportTaskOutput) GoString() string {
return s.String()
}
+// SetTaskId sets the TaskId field's value.
+func (s *CreateExportTaskOutput) SetTaskId(v string) *CreateExportTaskOutput {
+ s.TaskId = &v
+ return s
+}
+
type CreateLogGroupInput struct {
_ struct{} `type:"structure"`
- // The name of the log group to create.
+ // The name of the log group.
//
// LogGroupName is a required field
LogGroupName *string `locationName:"logGroupName" min:"1" type:"string" required:"true"`
@@ -2406,6 +2423,12 @@ func (s *CreateLogGroupInput) Validate() error {
return nil
}
+// SetLogGroupName sets the LogGroupName field's value.
+func (s *CreateLogGroupInput) SetLogGroupName(v string) *CreateLogGroupInput {
+ s.LogGroupName = &v
+ return s
+}
+
type CreateLogGroupOutput struct {
_ struct{} `type:"structure"`
}
@@ -2423,12 +2446,12 @@ func (s CreateLogGroupOutput) GoString() string {
type CreateLogStreamInput struct {
_ struct{} `type:"structure"`
- // The name of the log group under which the log stream is to be created.
+ // The name of the log group.
//
// LogGroupName is a required field
LogGroupName *string `locationName:"logGroupName" min:"1" type:"string" required:"true"`
- // The name of the log stream to create.
+ // The name of the log stream.
//
// LogStreamName is a required field
LogStreamName *string `locationName:"logStreamName" min:"1" type:"string" required:"true"`
@@ -2466,6 +2489,18 @@ func (s *CreateLogStreamInput) Validate() error {
return nil
}
+// SetLogGroupName sets the LogGroupName field's value.
+func (s *CreateLogStreamInput) SetLogGroupName(v string) *CreateLogStreamInput {
+ s.LogGroupName = &v
+ return s
+}
+
+// SetLogStreamName sets the LogStreamName field's value.
+func (s *CreateLogStreamInput) SetLogStreamName(v string) *CreateLogStreamInput {
+ s.LogStreamName = &v
+ return s
+}
+
type CreateLogStreamOutput struct {
_ struct{} `type:"structure"`
}
@@ -2483,7 +2518,7 @@ func (s CreateLogStreamOutput) GoString() string {
type DeleteDestinationInput struct {
_ struct{} `type:"structure"`
- // The name of destination to delete.
+ // The name of the destination.
//
// DestinationName is a required field
DestinationName *string `locationName:"destinationName" min:"1" type:"string" required:"true"`
@@ -2515,6 +2550,12 @@ func (s *DeleteDestinationInput) Validate() error {
return nil
}
+// SetDestinationName sets the DestinationName field's value.
+func (s *DeleteDestinationInput) SetDestinationName(v string) *DeleteDestinationInput {
+ s.DestinationName = &v
+ return s
+}
+
type DeleteDestinationOutput struct {
_ struct{} `type:"structure"`
}
@@ -2532,7 +2573,7 @@ func (s DeleteDestinationOutput) GoString() string {
type DeleteLogGroupInput struct {
_ struct{} `type:"structure"`
- // The name of the log group to delete.
+ // The name of the log group.
//
// LogGroupName is a required field
LogGroupName *string `locationName:"logGroupName" min:"1" type:"string" required:"true"`
@@ -2564,6 +2605,12 @@ func (s *DeleteLogGroupInput) Validate() error {
return nil
}
+// SetLogGroupName sets the LogGroupName field's value.
+func (s *DeleteLogGroupInput) SetLogGroupName(v string) *DeleteLogGroupInput {
+ s.LogGroupName = &v
+ return s
+}
+
type DeleteLogGroupOutput struct {
_ struct{} `type:"structure"`
}
@@ -2581,12 +2628,12 @@ func (s DeleteLogGroupOutput) GoString() string {
type DeleteLogStreamInput struct {
_ struct{} `type:"structure"`
- // The name of the log group under which the log stream to delete belongs.
+ // The name of the log group.
//
// LogGroupName is a required field
LogGroupName *string `locationName:"logGroupName" min:"1" type:"string" required:"true"`
- // The name of the log stream to delete.
+ // The name of the log stream.
//
// LogStreamName is a required field
LogStreamName *string `locationName:"logStreamName" min:"1" type:"string" required:"true"`
@@ -2624,6 +2671,18 @@ func (s *DeleteLogStreamInput) Validate() error {
return nil
}
+// SetLogGroupName sets the LogGroupName field's value.
+func (s *DeleteLogStreamInput) SetLogGroupName(v string) *DeleteLogStreamInput {
+ s.LogGroupName = &v
+ return s
+}
+
+// SetLogStreamName sets the LogStreamName field's value.
+func (s *DeleteLogStreamInput) SetLogStreamName(v string) *DeleteLogStreamInput {
+ s.LogStreamName = &v
+ return s
+}
+
type DeleteLogStreamOutput struct {
_ struct{} `type:"structure"`
}
@@ -2641,12 +2700,12 @@ func (s DeleteLogStreamOutput) GoString() string {
type DeleteMetricFilterInput struct {
_ struct{} `type:"structure"`
- // The name of the metric filter to delete.
+ // The name of the metric filter.
//
// FilterName is a required field
FilterName *string `locationName:"filterName" min:"1" type:"string" required:"true"`
- // The name of the log group that is associated with the metric filter to delete.
+ // The name of the log group.
//
// LogGroupName is a required field
LogGroupName *string `locationName:"logGroupName" min:"1" type:"string" required:"true"`
@@ -2684,6 +2743,18 @@ func (s *DeleteMetricFilterInput) Validate() error {
return nil
}
+// SetFilterName sets the FilterName field's value.
+func (s *DeleteMetricFilterInput) SetFilterName(v string) *DeleteMetricFilterInput {
+ s.FilterName = &v
+ return s
+}
+
+// SetLogGroupName sets the LogGroupName field's value.
+func (s *DeleteMetricFilterInput) SetLogGroupName(v string) *DeleteMetricFilterInput {
+ s.LogGroupName = &v
+ return s
+}
+
type DeleteMetricFilterOutput struct {
_ struct{} `type:"structure"`
}
@@ -2701,8 +2772,7 @@ func (s DeleteMetricFilterOutput) GoString() string {
type DeleteRetentionPolicyInput struct {
_ struct{} `type:"structure"`
- // The name of the log group that is associated with the retention policy to
- // delete.
+ // The name of the log group.
//
// LogGroupName is a required field
LogGroupName *string `locationName:"logGroupName" min:"1" type:"string" required:"true"`
@@ -2734,6 +2804,12 @@ func (s *DeleteRetentionPolicyInput) Validate() error {
return nil
}
+// SetLogGroupName sets the LogGroupName field's value.
+func (s *DeleteRetentionPolicyInput) SetLogGroupName(v string) *DeleteRetentionPolicyInput {
+ s.LogGroupName = &v
+ return s
+}
+
type DeleteRetentionPolicyOutput struct {
_ struct{} `type:"structure"`
}
@@ -2751,13 +2827,12 @@ func (s DeleteRetentionPolicyOutput) GoString() string {
type DeleteSubscriptionFilterInput struct {
_ struct{} `type:"structure"`
- // The name of the subscription filter to delete.
+ // The name of the subscription filter.
//
// FilterName is a required field
FilterName *string `locationName:"filterName" min:"1" type:"string" required:"true"`
- // The name of the log group that is associated with the subscription filter
- // to delete.
+ // The name of the log group.
//
// LogGroupName is a required field
LogGroupName *string `locationName:"logGroupName" min:"1" type:"string" required:"true"`
@@ -2795,6 +2870,18 @@ func (s *DeleteSubscriptionFilterInput) Validate() error {
return nil
}
+// SetFilterName sets the FilterName field's value.
+func (s *DeleteSubscriptionFilterInput) SetFilterName(v string) *DeleteSubscriptionFilterInput {
+ s.FilterName = &v
+ return s
+}
+
+// SetLogGroupName sets the LogGroupName field's value.
+func (s *DeleteSubscriptionFilterInput) SetLogGroupName(v string) *DeleteSubscriptionFilterInput {
+ s.LogGroupName = &v
+ return s
+}
+
type DeleteSubscriptionFilterOutput struct {
_ struct{} `type:"structure"`
}
@@ -2812,16 +2899,15 @@ func (s DeleteSubscriptionFilterOutput) GoString() string {
type DescribeDestinationsInput struct {
_ struct{} `type:"structure"`
- // Will only return destinations that match the provided destinationNamePrefix.
- // If you don't specify a value, no prefix is applied.
+ // The prefix to match. If you don't specify a value, no prefix filter is applied.
DestinationNamePrefix *string `min:"1" type:"string"`
- // The maximum number of results to return.
+ // The maximum number of items returned. If you don't specify a value, the default
+ // is up to 50 items.
Limit *int64 `locationName:"limit" min:"1" type:"integer"`
- // A string token used for pagination that points to the next page of results.
- // It must be a value obtained from the response of the previous request. The
- // token expires after 24 hours.
+ // The token for the next set of items to return. (You received this token from
+ // a previous call.)
NextToken *string `locationName:"nextToken" min:"1" type:"string"`
}
@@ -2854,14 +2940,32 @@ func (s *DescribeDestinationsInput) Validate() error {
return nil
}
+// SetDestinationNamePrefix sets the DestinationNamePrefix field's value.
+func (s *DescribeDestinationsInput) SetDestinationNamePrefix(v string) *DescribeDestinationsInput {
+ s.DestinationNamePrefix = &v
+ return s
+}
+
+// SetLimit sets the Limit field's value.
+func (s *DescribeDestinationsInput) SetLimit(v int64) *DescribeDestinationsInput {
+ s.Limit = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeDestinationsInput) SetNextToken(v string) *DescribeDestinationsInput {
+ s.NextToken = &v
+ return s
+}
+
type DescribeDestinationsOutput struct {
_ struct{} `type:"structure"`
+ // The destinations.
Destinations []*Destination `locationName:"destinations" type:"list"`
- // A string token used for pagination that points to the next page of results.
- // It must be a value obtained from the response of the previous request. The
- // token expires after 24 hours.
+ // The token for the next set of items to return. The token expires after 24
+ // hours.
NextToken *string `locationName:"nextToken" min:"1" type:"string"`
}
@@ -2875,24 +2979,35 @@ func (s DescribeDestinationsOutput) GoString() string {
return s.String()
}
+// SetDestinations sets the Destinations field's value.
+func (s *DescribeDestinationsOutput) SetDestinations(v []*Destination) *DescribeDestinationsOutput {
+ s.Destinations = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeDestinationsOutput) SetNextToken(v string) *DescribeDestinationsOutput {
+ s.NextToken = &v
+ return s
+}
+
type DescribeExportTasksInput struct {
_ struct{} `type:"structure"`
- // The maximum number of items returned in the response. If you don't specify
- // a value, the request would return up to 50 items.
+ // The maximum number of items returned. If you don't specify a value, the default
+ // is up to 50 items.
Limit *int64 `locationName:"limit" min:"1" type:"integer"`
- // A string token used for pagination that points to the next page of results.
- // It must be a value obtained from the response of the previous DescribeExportTasks
- // request.
+ // The token for the next set of items to return. (You received this token from
+ // a previous call.)
NextToken *string `locationName:"nextToken" min:"1" type:"string"`
- // All export tasks that matches the specified status code will be returned.
- // This can return zero or more export tasks.
+ // The status code of the export task. Specifying a status code filters the
+ // results to zero or more export tasks.
StatusCode *string `locationName:"statusCode" type:"string" enum:"ExportTaskStatusCode"`
- // Export task that matches the specified task Id will be returned. This can
- // result in zero or one export task.
+ // The ID of the export task. Specifying a task ID filters the results to zero
+ // or one export tasks.
TaskId *string `locationName:"taskId" min:"1" type:"string"`
}
@@ -2925,15 +3040,38 @@ func (s *DescribeExportTasksInput) Validate() error {
return nil
}
+// SetLimit sets the Limit field's value.
+func (s *DescribeExportTasksInput) SetLimit(v int64) *DescribeExportTasksInput {
+ s.Limit = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeExportTasksInput) SetNextToken(v string) *DescribeExportTasksInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetStatusCode sets the StatusCode field's value.
+func (s *DescribeExportTasksInput) SetStatusCode(v string) *DescribeExportTasksInput {
+ s.StatusCode = &v
+ return s
+}
+
+// SetTaskId sets the TaskId field's value.
+func (s *DescribeExportTasksInput) SetTaskId(v string) *DescribeExportTasksInput {
+ s.TaskId = &v
+ return s
+}
+
type DescribeExportTasksOutput struct {
_ struct{} `type:"structure"`
- // A list of export tasks.
+ // The export tasks.
ExportTasks []*ExportTask `locationName:"exportTasks" type:"list"`
- // A string token used for pagination that points to the next page of results.
- // It must be a value obtained from the response of the previous request. The
- // token expires after 24 hours.
+ // The token for the next set of items to return. The token expires after 24
+ // hours.
NextToken *string `locationName:"nextToken" min:"1" type:"string"`
}
@@ -2947,20 +3085,30 @@ func (s DescribeExportTasksOutput) GoString() string {
return s.String()
}
+// SetExportTasks sets the ExportTasks field's value.
+func (s *DescribeExportTasksOutput) SetExportTasks(v []*ExportTask) *DescribeExportTasksOutput {
+ s.ExportTasks = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeExportTasksOutput) SetNextToken(v string) *DescribeExportTasksOutput {
+ s.NextToken = &v
+ return s
+}
+
type DescribeLogGroupsInput struct {
_ struct{} `type:"structure"`
- // The maximum number of items returned in the response. If you don't specify
- // a value, the request would return up to 50 items.
+ // The maximum number of items returned. If you don't specify a value, the default
+ // is up to 50 items.
Limit *int64 `locationName:"limit" min:"1" type:"integer"`
- // Will only return log groups that match the provided logGroupNamePrefix. If
- // you don't specify a value, no prefix filter is applied.
+ // The prefix to match.
LogGroupNamePrefix *string `locationName:"logGroupNamePrefix" min:"1" type:"string"`
- // A string token used for pagination that points to the next page of results.
- // It must be a value obtained from the response of the previous DescribeLogGroups
- // request.
+ // The token for the next set of items to return. (You received this token from
+ // a previous call.)
NextToken *string `locationName:"nextToken" min:"1" type:"string"`
}
@@ -2993,15 +3141,32 @@ func (s *DescribeLogGroupsInput) Validate() error {
return nil
}
+// SetLimit sets the Limit field's value.
+func (s *DescribeLogGroupsInput) SetLimit(v int64) *DescribeLogGroupsInput {
+ s.Limit = &v
+ return s
+}
+
+// SetLogGroupNamePrefix sets the LogGroupNamePrefix field's value.
+func (s *DescribeLogGroupsInput) SetLogGroupNamePrefix(v string) *DescribeLogGroupsInput {
+ s.LogGroupNamePrefix = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeLogGroupsInput) SetNextToken(v string) *DescribeLogGroupsInput {
+ s.NextToken = &v
+ return s
+}
+
type DescribeLogGroupsOutput struct {
_ struct{} `type:"structure"`
- // A list of log groups.
+ // The log groups.
LogGroups []*LogGroup `locationName:"logGroups" type:"list"`
- // A string token used for pagination that points to the next page of results.
- // It must be a value obtained from the response of the previous request. The
- // token expires after 24 hours.
+ // The token for the next set of items to return. The token expires after 24
+ // hours.
NextToken *string `locationName:"nextToken" min:"1" type:"string"`
}
@@ -3015,35 +3180,50 @@ func (s DescribeLogGroupsOutput) GoString() string {
return s.String()
}
+// SetLogGroups sets the LogGroups field's value.
+func (s *DescribeLogGroupsOutput) SetLogGroups(v []*LogGroup) *DescribeLogGroupsOutput {
+ s.LogGroups = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeLogGroupsOutput) SetNextToken(v string) *DescribeLogGroupsOutput {
+ s.NextToken = &v
+ return s
+}
+
type DescribeLogStreamsInput struct {
_ struct{} `type:"structure"`
- // If set to true, results are returned in descending order. If you don't specify
- // a value or set it to false, results are returned in ascending order.
+ // If the value is true, results are returned in descending order. If the value
+ // is to false, results are returned in ascending order. The default value is
+ // false.
Descending *bool `locationName:"descending" type:"boolean"`
- // The maximum number of items returned in the response. If you don't specify
- // a value, the request would return up to 50 items.
+ // The maximum number of items returned. If you don't specify a value, the default
+ // is up to 50 items.
Limit *int64 `locationName:"limit" min:"1" type:"integer"`
- // The log group name for which log streams are to be listed.
+ // The name of the log group.
//
// LogGroupName is a required field
LogGroupName *string `locationName:"logGroupName" min:"1" type:"string" required:"true"`
- // Will only return log streams that match the provided logStreamNamePrefix.
- // If you don't specify a value, no prefix filter is applied.
+ // The prefix to match.
+ //
+ // You cannot specify this parameter if orderBy is LastEventTime.
LogStreamNamePrefix *string `locationName:"logStreamNamePrefix" min:"1" type:"string"`
- // A string token used for pagination that points to the next page of results.
- // It must be a value obtained from the response of the previous DescribeLogStreams
- // request.
+ // The token for the next set of items to return. (You received this token from
+ // a previous call.)
NextToken *string `locationName:"nextToken" min:"1" type:"string"`
- // Specifies what to order the returned log streams by. Valid arguments are
- // 'LogStreamName' or 'LastEventTime'. If you don't specify a value, results
- // are ordered by LogStreamName. If 'LastEventTime' is chosen, the request cannot
- // also contain a logStreamNamePrefix.
+ // If the value is LogStreamName, the results are ordered by log stream name.
+ // If the value is LastEventTime, the results are ordered by the event time.
+ // The default value is LogStreamName.
+ //
+ // If you order the results by event time, you cannot specify the logStreamNamePrefix
+ // parameter.
OrderBy *string `locationName:"orderBy" type:"string" enum:"OrderBy"`
}
@@ -3082,15 +3262,50 @@ func (s *DescribeLogStreamsInput) Validate() error {
return nil
}
+// SetDescending sets the Descending field's value.
+func (s *DescribeLogStreamsInput) SetDescending(v bool) *DescribeLogStreamsInput {
+ s.Descending = &v
+ return s
+}
+
+// SetLimit sets the Limit field's value.
+func (s *DescribeLogStreamsInput) SetLimit(v int64) *DescribeLogStreamsInput {
+ s.Limit = &v
+ return s
+}
+
+// SetLogGroupName sets the LogGroupName field's value.
+func (s *DescribeLogStreamsInput) SetLogGroupName(v string) *DescribeLogStreamsInput {
+ s.LogGroupName = &v
+ return s
+}
+
+// SetLogStreamNamePrefix sets the LogStreamNamePrefix field's value.
+func (s *DescribeLogStreamsInput) SetLogStreamNamePrefix(v string) *DescribeLogStreamsInput {
+ s.LogStreamNamePrefix = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeLogStreamsInput) SetNextToken(v string) *DescribeLogStreamsInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetOrderBy sets the OrderBy field's value.
+func (s *DescribeLogStreamsInput) SetOrderBy(v string) *DescribeLogStreamsInput {
+ s.OrderBy = &v
+ return s
+}
+
type DescribeLogStreamsOutput struct {
_ struct{} `type:"structure"`
- // A list of log streams.
+ // The log streams.
LogStreams []*LogStream `locationName:"logStreams" type:"list"`
- // A string token used for pagination that points to the next page of results.
- // It must be a value obtained from the response of the previous request. The
- // token expires after 24 hours.
+ // The token for the next set of items to return. The token expires after 24
+ // hours.
NextToken *string `locationName:"nextToken" min:"1" type:"string"`
}
@@ -3104,25 +3319,39 @@ func (s DescribeLogStreamsOutput) GoString() string {
return s.String()
}
+// SetLogStreams sets the LogStreams field's value.
+func (s *DescribeLogStreamsOutput) SetLogStreams(v []*LogStream) *DescribeLogStreamsOutput {
+ s.LogStreams = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeLogStreamsOutput) SetNextToken(v string) *DescribeLogStreamsOutput {
+ s.NextToken = &v
+ return s
+}
+
type DescribeMetricFiltersInput struct {
_ struct{} `type:"structure"`
- // Will only return metric filters that match the provided filterNamePrefix.
- // If you don't specify a value, no prefix filter is applied.
+ // The prefix to match.
FilterNamePrefix *string `locationName:"filterNamePrefix" min:"1" type:"string"`
- // The maximum number of items returned in the response. If you don't specify
- // a value, the request would return up to 50 items.
+ // The maximum number of items returned. If you don't specify a value, the default
+ // is up to 50 items.
Limit *int64 `locationName:"limit" min:"1" type:"integer"`
- // The log group name for which metric filters are to be listed.
- //
- // LogGroupName is a required field
- LogGroupName *string `locationName:"logGroupName" min:"1" type:"string" required:"true"`
+ // The name of the log group.
+ LogGroupName *string `locationName:"logGroupName" min:"1" type:"string"`
+
+ // The name of the CloudWatch metric.
+ MetricName *string `locationName:"metricName" type:"string"`
+
+ // The namespace of the CloudWatch metric.
+ MetricNamespace *string `locationName:"metricNamespace" type:"string"`
- // A string token used for pagination that points to the next page of results.
- // It must be a value obtained from the response of the previous DescribeMetricFilters
- // request.
+ // The token for the next set of items to return. (You received this token from
+ // a previous call.)
NextToken *string `locationName:"nextToken" min:"1" type:"string"`
}
@@ -3145,9 +3374,6 @@ func (s *DescribeMetricFiltersInput) Validate() error {
if s.Limit != nil && *s.Limit < 1 {
invalidParams.Add(request.NewErrParamMinValue("Limit", 1))
}
- if s.LogGroupName == nil {
- invalidParams.Add(request.NewErrParamRequired("LogGroupName"))
- }
if s.LogGroupName != nil && len(*s.LogGroupName) < 1 {
invalidParams.Add(request.NewErrParamMinLen("LogGroupName", 1))
}
@@ -3161,14 +3387,50 @@ func (s *DescribeMetricFiltersInput) Validate() error {
return nil
}
+// SetFilterNamePrefix sets the FilterNamePrefix field's value.
+func (s *DescribeMetricFiltersInput) SetFilterNamePrefix(v string) *DescribeMetricFiltersInput {
+ s.FilterNamePrefix = &v
+ return s
+}
+
+// SetLimit sets the Limit field's value.
+func (s *DescribeMetricFiltersInput) SetLimit(v int64) *DescribeMetricFiltersInput {
+ s.Limit = &v
+ return s
+}
+
+// SetLogGroupName sets the LogGroupName field's value.
+func (s *DescribeMetricFiltersInput) SetLogGroupName(v string) *DescribeMetricFiltersInput {
+ s.LogGroupName = &v
+ return s
+}
+
+// SetMetricName sets the MetricName field's value.
+func (s *DescribeMetricFiltersInput) SetMetricName(v string) *DescribeMetricFiltersInput {
+ s.MetricName = &v
+ return s
+}
+
+// SetMetricNamespace sets the MetricNamespace field's value.
+func (s *DescribeMetricFiltersInput) SetMetricNamespace(v string) *DescribeMetricFiltersInput {
+ s.MetricNamespace = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeMetricFiltersInput) SetNextToken(v string) *DescribeMetricFiltersInput {
+ s.NextToken = &v
+ return s
+}
+
type DescribeMetricFiltersOutput struct {
_ struct{} `type:"structure"`
+ // The metric filters.
MetricFilters []*MetricFilter `locationName:"metricFilters" type:"list"`
- // A string token used for pagination that points to the next page of results.
- // It must be a value obtained from the response of the previous request. The
- // token expires after 24 hours.
+ // The token for the next set of items to return. The token expires after 24
+ // hours.
NextToken *string `locationName:"nextToken" min:"1" type:"string"`
}
@@ -3182,24 +3444,35 @@ func (s DescribeMetricFiltersOutput) GoString() string {
return s.String()
}
+// SetMetricFilters sets the MetricFilters field's value.
+func (s *DescribeMetricFiltersOutput) SetMetricFilters(v []*MetricFilter) *DescribeMetricFiltersOutput {
+ s.MetricFilters = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeMetricFiltersOutput) SetNextToken(v string) *DescribeMetricFiltersOutput {
+ s.NextToken = &v
+ return s
+}
+
type DescribeSubscriptionFiltersInput struct {
_ struct{} `type:"structure"`
- // Will only return subscription filters that match the provided filterNamePrefix.
- // If you don't specify a value, no prefix filter is applied.
+ // The prefix to match. If you don't specify a value, no prefix filter is applied.
FilterNamePrefix *string `locationName:"filterNamePrefix" min:"1" type:"string"`
- // The maximum number of results to return.
+ // The maximum number of items returned. If you don't specify a value, the default
+ // is up to 50 items.
Limit *int64 `locationName:"limit" min:"1" type:"integer"`
- // The log group name for which subscription filters are to be listed.
+ // The name of the log group.
//
// LogGroupName is a required field
LogGroupName *string `locationName:"logGroupName" min:"1" type:"string" required:"true"`
- // A string token used for pagination that points to the next page of results.
- // It must be a value obtained from the response of the previous request. The
- // token expires after 24 hours.
+ // The token for the next set of items to return. (You received this token from
+ // a previous call.)
NextToken *string `locationName:"nextToken" min:"1" type:"string"`
}
@@ -3238,14 +3511,38 @@ func (s *DescribeSubscriptionFiltersInput) Validate() error {
return nil
}
+// SetFilterNamePrefix sets the FilterNamePrefix field's value.
+func (s *DescribeSubscriptionFiltersInput) SetFilterNamePrefix(v string) *DescribeSubscriptionFiltersInput {
+ s.FilterNamePrefix = &v
+ return s
+}
+
+// SetLimit sets the Limit field's value.
+func (s *DescribeSubscriptionFiltersInput) SetLimit(v int64) *DescribeSubscriptionFiltersInput {
+ s.Limit = &v
+ return s
+}
+
+// SetLogGroupName sets the LogGroupName field's value.
+func (s *DescribeSubscriptionFiltersInput) SetLogGroupName(v string) *DescribeSubscriptionFiltersInput {
+ s.LogGroupName = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeSubscriptionFiltersInput) SetNextToken(v string) *DescribeSubscriptionFiltersInput {
+ s.NextToken = &v
+ return s
+}
+
type DescribeSubscriptionFiltersOutput struct {
_ struct{} `type:"structure"`
- // A string token used for pagination that points to the next page of results.
- // It must be a value obtained from the response of the previous request. The
- // token expires after 24 hours.
+ // The token for the next set of items to return. The token expires after 24
+ // hours.
NextToken *string `locationName:"nextToken" min:"1" type:"string"`
+ // The subscription filters.
SubscriptionFilters []*SubscriptionFilter `locationName:"subscriptionFilters" type:"list"`
}
@@ -3259,7 +3556,19 @@ func (s DescribeSubscriptionFiltersOutput) GoString() string {
return s.String()
}
-// A cross account destination that is the recipient of subscription log events.
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeSubscriptionFiltersOutput) SetNextToken(v string) *DescribeSubscriptionFiltersOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetSubscriptionFilters sets the SubscriptionFilters field's value.
+func (s *DescribeSubscriptionFiltersOutput) SetSubscriptionFilters(v []*SubscriptionFilter) *DescribeSubscriptionFiltersOutput {
+ s.SubscriptionFilters = v
+ return s
+}
+
+// Represents a cross-account destination that receives subscription log events.
type Destination struct {
_ struct{} `type:"structure"`
@@ -3267,21 +3576,20 @@ type Destination struct {
// filters against this destination.
AccessPolicy *string `locationName:"accessPolicy" min:"1" type:"string"`
- // ARN of this destination.
+ // The ARN of this destination.
Arn *string `locationName:"arn" type:"string"`
- // A point in time expressed as the number of milliseconds since Jan 1, 1970
- // 00:00:00 UTC specifying when this destination was created.
+ // The creation time of the destination.
CreationTime *int64 `locationName:"creationTime" type:"long"`
- // Name of the destination.
+ // The name of the destination.
DestinationName *string `locationName:"destinationName" min:"1" type:"string"`
- // A role for impersonation for delivering log events to the target.
+ // A role for impersonation, used when delivering log events to the target.
RoleArn *string `locationName:"roleArn" min:"1" type:"string"`
- // ARN of the physical target where the log events will be delivered (eg. ARN
- // of a Kinesis stream).
+ // The Amazon Resource Name (ARN) of the physical target where the log events
+ // will be delivered (for example, a Kinesis stream).
TargetArn *string `locationName:"targetArn" min:"1" type:"string"`
}
@@ -3295,37 +3603,71 @@ func (s Destination) GoString() string {
return s.String()
}
+// SetAccessPolicy sets the AccessPolicy field's value.
+func (s *Destination) SetAccessPolicy(v string) *Destination {
+ s.AccessPolicy = &v
+ return s
+}
+
+// SetArn sets the Arn field's value.
+func (s *Destination) SetArn(v string) *Destination {
+ s.Arn = &v
+ return s
+}
+
+// SetCreationTime sets the CreationTime field's value.
+func (s *Destination) SetCreationTime(v int64) *Destination {
+ s.CreationTime = &v
+ return s
+}
+
+// SetDestinationName sets the DestinationName field's value.
+func (s *Destination) SetDestinationName(v string) *Destination {
+ s.DestinationName = &v
+ return s
+}
+
+// SetRoleArn sets the RoleArn field's value.
+func (s *Destination) SetRoleArn(v string) *Destination {
+ s.RoleArn = &v
+ return s
+}
+
+// SetTargetArn sets the TargetArn field's value.
+func (s *Destination) SetTargetArn(v string) *Destination {
+ s.TargetArn = &v
+ return s
+}
+
// Represents an export task.
type ExportTask struct {
_ struct{} `type:"structure"`
- // Name of Amazon S3 bucket to which the log data was exported.
+ // The name of Amazon S3 bucket to which the log data was exported.
Destination *string `locationName:"destination" min:"1" type:"string"`
- // Prefix that was used as the start of Amazon S3 key for every object exported.
+ // The prefix that was used as the start of Amazon S3 key for every object exported.
DestinationPrefix *string `locationName:"destinationPrefix" type:"string"`
// Execution info about the export task.
ExecutionInfo *ExportTaskExecutionInfo `locationName:"executionInfo" type:"structure"`
- // A point in time expressed as the number of milliseconds since Jan 1, 1970
- // 00:00:00 UTC. Events with a timestamp prior to this time are not exported.
+ // The start time. Events with a timestamp prior to this time are not exported.
From *int64 `locationName:"from" type:"long"`
// The name of the log group from which logs data was exported.
LogGroupName *string `locationName:"logGroupName" min:"1" type:"string"`
- // Status of the export task.
+ // The status of the export task.
Status *ExportTaskStatus `locationName:"status" type:"structure"`
- // Id of the export task.
+ // The ID of the export task.
TaskId *string `locationName:"taskId" min:"1" type:"string"`
// The name of the export task.
TaskName *string `locationName:"taskName" min:"1" type:"string"`
- // A point in time expressed as the number of milliseconds since Jan 1, 1970
- // 00:00:00 UTC. Events with a timestamp later than this time are not exported.
+ // The end time. Events with a timestamp later than this time are not exported.
To *int64 `locationName:"to" type:"long"`
}
@@ -3339,14 +3681,68 @@ func (s ExportTask) GoString() string {
return s.String()
}
+// SetDestination sets the Destination field's value.
+func (s *ExportTask) SetDestination(v string) *ExportTask {
+ s.Destination = &v
+ return s
+}
+
+// SetDestinationPrefix sets the DestinationPrefix field's value.
+func (s *ExportTask) SetDestinationPrefix(v string) *ExportTask {
+ s.DestinationPrefix = &v
+ return s
+}
+
+// SetExecutionInfo sets the ExecutionInfo field's value.
+func (s *ExportTask) SetExecutionInfo(v *ExportTaskExecutionInfo) *ExportTask {
+ s.ExecutionInfo = v
+ return s
+}
+
+// SetFrom sets the From field's value.
+func (s *ExportTask) SetFrom(v int64) *ExportTask {
+ s.From = &v
+ return s
+}
+
+// SetLogGroupName sets the LogGroupName field's value.
+func (s *ExportTask) SetLogGroupName(v string) *ExportTask {
+ s.LogGroupName = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *ExportTask) SetStatus(v *ExportTaskStatus) *ExportTask {
+ s.Status = v
+ return s
+}
+
+// SetTaskId sets the TaskId field's value.
+func (s *ExportTask) SetTaskId(v string) *ExportTask {
+ s.TaskId = &v
+ return s
+}
+
+// SetTaskName sets the TaskName field's value.
+func (s *ExportTask) SetTaskName(v string) *ExportTask {
+ s.TaskName = &v
+ return s
+}
+
+// SetTo sets the To field's value.
+func (s *ExportTask) SetTo(v int64) *ExportTask {
+ s.To = &v
+ return s
+}
+
// Represents the status of an export task.
type ExportTaskExecutionInfo struct {
_ struct{} `type:"structure"`
- // A point in time when the export task got completed.
+ // The completion time of the export task.
CompletionTime *int64 `locationName:"completionTime" type:"long"`
- // A point in time when the export task got created.
+ // The creation time of the export task.
CreationTime *int64 `locationName:"creationTime" type:"long"`
}
@@ -3360,14 +3756,26 @@ func (s ExportTaskExecutionInfo) GoString() string {
return s.String()
}
+// SetCompletionTime sets the CompletionTime field's value.
+func (s *ExportTaskExecutionInfo) SetCompletionTime(v int64) *ExportTaskExecutionInfo {
+ s.CompletionTime = &v
+ return s
+}
+
+// SetCreationTime sets the CreationTime field's value.
+func (s *ExportTaskExecutionInfo) SetCreationTime(v int64) *ExportTaskExecutionInfo {
+ s.CreationTime = &v
+ return s
+}
+
// Represents the status of an export task.
type ExportTaskStatus struct {
_ struct{} `type:"structure"`
- // Status code of the export task.
+ // The status code of the export task.
Code *string `locationName:"code" type:"string" enum:"ExportTaskStatusCode"`
- // Status message related to the code.
+ // The status message related to the status code.
Message *string `locationName:"message" type:"string"`
}
@@ -3381,44 +3789,51 @@ func (s ExportTaskStatus) GoString() string {
return s.String()
}
+// SetCode sets the Code field's value.
+func (s *ExportTaskStatus) SetCode(v string) *ExportTaskStatus {
+ s.Code = &v
+ return s
+}
+
+// SetMessage sets the Message field's value.
+func (s *ExportTaskStatus) SetMessage(v string) *ExportTaskStatus {
+ s.Message = &v
+ return s
+}
+
type FilterLogEventsInput struct {
_ struct{} `type:"structure"`
- // A point in time expressed as the number of milliseconds since Jan 1, 1970
- // 00:00:00 UTC. If provided, events with a timestamp later than this time are
+ // The end of the time range. Events with a timestamp later than this time are
// not returned.
EndTime *int64 `locationName:"endTime" type:"long"`
- // A valid CloudWatch Logs filter pattern to use for filtering the response.
- // If not provided, all the events are matched.
+ // The filter pattern to use. If not provided, all the events are matched.
FilterPattern *string `locationName:"filterPattern" type:"string"`
- // If provided, the API will make a best effort to provide responses that contain
- // events from multiple log streams within the log group interleaved in a single
- // response. If not provided, all the matched log events in the first log stream
- // will be searched first, then those in the next log stream, etc.
+ // If the value is true, the operation makes a best effort to provide responses
+ // that contain events from multiple log streams within the log group interleaved
+ // in a single response. If the value is false all the matched log events in
+ // the first log stream are searched first, then those in the next log stream,
+ // and so on. The default is false.
Interleaved *bool `locationName:"interleaved" type:"boolean"`
- // The maximum number of events to return in a page of results. Default is 10,000
- // events.
+ // The maximum number of events to return. The default is 10,000 events.
Limit *int64 `locationName:"limit" min:"1" type:"integer"`
- // The name of the log group to query.
+ // The name of the log group.
//
// LogGroupName is a required field
LogGroupName *string `locationName:"logGroupName" min:"1" type:"string" required:"true"`
- // Optional list of log stream names within the specified log group to search.
- // Defaults to all the log streams in the log group.
+ // Optional list of log stream names.
LogStreamNames []*string `locationName:"logStreamNames" min:"1" type:"list"`
- // A pagination token obtained from a FilterLogEvents response to continue paginating
- // the FilterLogEvents results. This token is omitted from the response when
- // there are no other events to display.
+ // The token for the next set of events to return. (You received this token
+ // from a previous call.)
NextToken *string `locationName:"nextToken" min:"1" type:"string"`
- // A point in time expressed as the number of milliseconds since Jan 1, 1970
- // 00:00:00 UTC. If provided, events with a timestamp prior to this time are
+ // The start of the time range. Events with a timestamp prior to this time are
// not returned.
StartTime *int64 `locationName:"startTime" type:"long"`
}
@@ -3458,21 +3873,66 @@ func (s *FilterLogEventsInput) Validate() error {
return nil
}
+// SetEndTime sets the EndTime field's value.
+func (s *FilterLogEventsInput) SetEndTime(v int64) *FilterLogEventsInput {
+ s.EndTime = &v
+ return s
+}
+
+// SetFilterPattern sets the FilterPattern field's value.
+func (s *FilterLogEventsInput) SetFilterPattern(v string) *FilterLogEventsInput {
+ s.FilterPattern = &v
+ return s
+}
+
+// SetInterleaved sets the Interleaved field's value.
+func (s *FilterLogEventsInput) SetInterleaved(v bool) *FilterLogEventsInput {
+ s.Interleaved = &v
+ return s
+}
+
+// SetLimit sets the Limit field's value.
+func (s *FilterLogEventsInput) SetLimit(v int64) *FilterLogEventsInput {
+ s.Limit = &v
+ return s
+}
+
+// SetLogGroupName sets the LogGroupName field's value.
+func (s *FilterLogEventsInput) SetLogGroupName(v string) *FilterLogEventsInput {
+ s.LogGroupName = &v
+ return s
+}
+
+// SetLogStreamNames sets the LogStreamNames field's value.
+func (s *FilterLogEventsInput) SetLogStreamNames(v []*string) *FilterLogEventsInput {
+ s.LogStreamNames = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *FilterLogEventsInput) SetNextToken(v string) *FilterLogEventsInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetStartTime sets the StartTime field's value.
+func (s *FilterLogEventsInput) SetStartTime(v int64) *FilterLogEventsInput {
+ s.StartTime = &v
+ return s
+}
+
type FilterLogEventsOutput struct {
_ struct{} `type:"structure"`
- // A list of FilteredLogEvent objects representing the matched events from the
- // request.
+ // The matched events.
Events []*FilteredLogEvent `locationName:"events" type:"list"`
- // A pagination token obtained from a FilterLogEvents response to continue paginating
- // the FilterLogEvents results. This token is omitted from the response when
- // there are no other events to display.
+ // The token to use when requesting the next set of items. The token expires
+ // after 24 hours.
NextToken *string `locationName:"nextToken" min:"1" type:"string"`
- // A list of SearchedLogStream objects indicating which log streams have been
- // searched in this request and whether each has been searched completely or
- // still has more to be paginated.
+ // Indicates which log streams have been searched and whether each has been
+ // searched completely.
SearchedLogStreams []*SearchedLogStream `locationName:"searchedLogStreams" type:"list"`
}
@@ -3486,15 +3946,32 @@ func (s FilterLogEventsOutput) GoString() string {
return s.String()
}
-// Represents a matched event from a FilterLogEvents request.
+// SetEvents sets the Events field's value.
+func (s *FilterLogEventsOutput) SetEvents(v []*FilteredLogEvent) *FilterLogEventsOutput {
+ s.Events = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *FilterLogEventsOutput) SetNextToken(v string) *FilterLogEventsOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetSearchedLogStreams sets the SearchedLogStreams field's value.
+func (s *FilterLogEventsOutput) SetSearchedLogStreams(v []*SearchedLogStream) *FilterLogEventsOutput {
+ s.SearchedLogStreams = v
+ return s
+}
+
+// Represents a matched event.
type FilteredLogEvent struct {
_ struct{} `type:"structure"`
- // A unique identifier for this event.
+ // The ID of the event.
EventId *string `locationName:"eventId" type:"string"`
- // A point in time expressed as the number of milliseconds since Jan 1, 1970
- // 00:00:00 UTC.
+ // The time the event was ingested.
IngestionTime *int64 `locationName:"ingestionTime" type:"long"`
// The name of the log stream this event belongs to.
@@ -3503,8 +3980,7 @@ type FilteredLogEvent struct {
// The data contained in the log event.
Message *string `locationName:"message" min:"1" type:"string"`
- // A point in time expressed as the number of milliseconds since Jan 1, 1970
- // 00:00:00 UTC.
+ // The time the event occurred.
Timestamp *int64 `locationName:"timestamp" type:"long"`
}
@@ -3518,39 +3994,69 @@ func (s FilteredLogEvent) GoString() string {
return s.String()
}
+// SetEventId sets the EventId field's value.
+func (s *FilteredLogEvent) SetEventId(v string) *FilteredLogEvent {
+ s.EventId = &v
+ return s
+}
+
+// SetIngestionTime sets the IngestionTime field's value.
+func (s *FilteredLogEvent) SetIngestionTime(v int64) *FilteredLogEvent {
+ s.IngestionTime = &v
+ return s
+}
+
+// SetLogStreamName sets the LogStreamName field's value.
+func (s *FilteredLogEvent) SetLogStreamName(v string) *FilteredLogEvent {
+ s.LogStreamName = &v
+ return s
+}
+
+// SetMessage sets the Message field's value.
+func (s *FilteredLogEvent) SetMessage(v string) *FilteredLogEvent {
+ s.Message = &v
+ return s
+}
+
+// SetTimestamp sets the Timestamp field's value.
+func (s *FilteredLogEvent) SetTimestamp(v int64) *FilteredLogEvent {
+ s.Timestamp = &v
+ return s
+}
+
type GetLogEventsInput struct {
_ struct{} `type:"structure"`
- // A point in time expressed as the number of milliseconds since Jan 1, 1970
- // 00:00:00 UTC.
+ // The end of the time range. Events with a timestamp later than this time are
+ // not included.
EndTime *int64 `locationName:"endTime" type:"long"`
- // The maximum number of log events returned in the response. If you don't specify
- // a value, the request would return as many log events as can fit in a response
- // size of 1MB, up to 10,000 log events.
+ // The maximum number of log events returned. If you don't specify a value,
+ // the maximum is as many log events as can fit in a response size of 1MB, up
+ // to 10,000 log events.
Limit *int64 `locationName:"limit" min:"1" type:"integer"`
- // The name of the log group to query.
+ // The name of the log group.
//
// LogGroupName is a required field
LogGroupName *string `locationName:"logGroupName" min:"1" type:"string" required:"true"`
- // The name of the log stream to query.
+ // The name of the log stream.
//
// LogStreamName is a required field
LogStreamName *string `locationName:"logStreamName" min:"1" type:"string" required:"true"`
- // A string token used for pagination that points to the next page of results.
- // It must be a value obtained from the nextForwardToken or nextBackwardToken
- // fields in the response of the previous GetLogEvents request.
+ // The token for the next set of items to return. (You received this token from
+ // a previous call.)
NextToken *string `locationName:"nextToken" min:"1" type:"string"`
- // If set to true, the earliest log events would be returned first. The default
- // is false (the latest log events are returned first).
+ // If the value is true, the earliest log events are returned first. If the
+ // value is false, the latest log events are returned first. The default value
+ // is false.
StartFromHead *bool `locationName:"startFromHead" type:"boolean"`
- // A point in time expressed as the number of milliseconds since Jan 1, 1970
- // 00:00:00 UTC.
+ // The start of the time range. Events with a timestamp earlier than this time
+ // are not included.
StartTime *int64 `locationName:"startTime" type:"long"`
}
@@ -3592,19 +4098,60 @@ func (s *GetLogEventsInput) Validate() error {
return nil
}
+// SetEndTime sets the EndTime field's value.
+func (s *GetLogEventsInput) SetEndTime(v int64) *GetLogEventsInput {
+ s.EndTime = &v
+ return s
+}
+
+// SetLimit sets the Limit field's value.
+func (s *GetLogEventsInput) SetLimit(v int64) *GetLogEventsInput {
+ s.Limit = &v
+ return s
+}
+
+// SetLogGroupName sets the LogGroupName field's value.
+func (s *GetLogEventsInput) SetLogGroupName(v string) *GetLogEventsInput {
+ s.LogGroupName = &v
+ return s
+}
+
+// SetLogStreamName sets the LogStreamName field's value.
+func (s *GetLogEventsInput) SetLogStreamName(v string) *GetLogEventsInput {
+ s.LogStreamName = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *GetLogEventsInput) SetNextToken(v string) *GetLogEventsInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetStartFromHead sets the StartFromHead field's value.
+func (s *GetLogEventsInput) SetStartFromHead(v bool) *GetLogEventsInput {
+ s.StartFromHead = &v
+ return s
+}
+
+// SetStartTime sets the StartTime field's value.
+func (s *GetLogEventsInput) SetStartTime(v int64) *GetLogEventsInput {
+ s.StartTime = &v
+ return s
+}
+
type GetLogEventsOutput struct {
_ struct{} `type:"structure"`
+ // The events.
Events []*OutputLogEvent `locationName:"events" type:"list"`
- // A string token used for pagination that points to the next page of results.
- // It must be a value obtained from the response of the previous request. The
- // token expires after 24 hours.
+ // The token for the next set of items in the backward direction. The token
+ // expires after 24 hours.
NextBackwardToken *string `locationName:"nextBackwardToken" min:"1" type:"string"`
- // A string token used for pagination that points to the next page of results.
- // It must be a value obtained from the response of the previous request. The
- // token expires after 24 hours.
+ // The token for the next set of items in the forward direction. The token expires
+ // after 24 hours.
NextForwardToken *string `locationName:"nextForwardToken" min:"1" type:"string"`
}
@@ -3618,18 +4165,35 @@ func (s GetLogEventsOutput) GoString() string {
return s.String()
}
-// A log event is a record of some activity that was recorded by the application
-// or resource being monitored. The log event record that CloudWatch Logs understands
-// contains two properties: the timestamp of when the event occurred, and the
-// raw event message.
+// SetEvents sets the Events field's value.
+func (s *GetLogEventsOutput) SetEvents(v []*OutputLogEvent) *GetLogEventsOutput {
+ s.Events = v
+ return s
+}
+
+// SetNextBackwardToken sets the NextBackwardToken field's value.
+func (s *GetLogEventsOutput) SetNextBackwardToken(v string) *GetLogEventsOutput {
+ s.NextBackwardToken = &v
+ return s
+}
+
+// SetNextForwardToken sets the NextForwardToken field's value.
+func (s *GetLogEventsOutput) SetNextForwardToken(v string) *GetLogEventsOutput {
+ s.NextForwardToken = &v
+ return s
+}
+
+// Represents a log event, which is a record of activity that was recorded by
+// the application or resource being monitored.
type InputLogEvent struct {
_ struct{} `type:"structure"`
+ // The raw event message.
+ //
// Message is a required field
Message *string `locationName:"message" min:"1" type:"string" required:"true"`
- // A point in time expressed as the number of milliseconds since Jan 1, 1970
- // 00:00:00 UTC.
+ // The time the event occurred.
//
// Timestamp is a required field
Timestamp *int64 `locationName:"timestamp" type:"long" required:"true"`
@@ -3664,25 +4228,40 @@ func (s *InputLogEvent) Validate() error {
return nil
}
+// SetMessage sets the Message field's value.
+func (s *InputLogEvent) SetMessage(v string) *InputLogEvent {
+ s.Message = &v
+ return s
+}
+
+// SetTimestamp sets the Timestamp field's value.
+func (s *InputLogEvent) SetTimestamp(v int64) *InputLogEvent {
+ s.Timestamp = &v
+ return s
+}
+
+// Represents a log group.
type LogGroup struct {
_ struct{} `type:"structure"`
+ // The Amazon Resource Name (ARN) of the log group.
Arn *string `locationName:"arn" type:"string"`
- // A point in time expressed as the number of milliseconds since Jan 1, 1970
- // 00:00:00 UTC.
+ // The creation time of the log group.
CreationTime *int64 `locationName:"creationTime" type:"long"`
+ // The name of the log group.
LogGroupName *string `locationName:"logGroupName" min:"1" type:"string"`
- // The number of metric filters associated with the log group.
+ // The number of metric filters.
MetricFilterCount *int64 `locationName:"metricFilterCount" type:"integer"`
- // Specifies the number of days you want to retain log events in the specified
- // log group. Possible values are: 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180,
- // 365, 400, 545, 731, 1827, 3653.
+ // The number of days to retain the log events in the specified log group. Possible
+ // values are: 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731,
+ // 1827, and 3653.
RetentionInDays *int64 `locationName:"retentionInDays" type:"integer"`
+ // The number of bytes stored.
StoredBytes *int64 `locationName:"storedBytes" type:"long"`
}
@@ -3696,35 +4275,69 @@ func (s LogGroup) GoString() string {
return s.String()
}
-// A log stream is sequence of log events from a single emitter of logs.
+// SetArn sets the Arn field's value.
+func (s *LogGroup) SetArn(v string) *LogGroup {
+ s.Arn = &v
+ return s
+}
+
+// SetCreationTime sets the CreationTime field's value.
+func (s *LogGroup) SetCreationTime(v int64) *LogGroup {
+ s.CreationTime = &v
+ return s
+}
+
+// SetLogGroupName sets the LogGroupName field's value.
+func (s *LogGroup) SetLogGroupName(v string) *LogGroup {
+ s.LogGroupName = &v
+ return s
+}
+
+// SetMetricFilterCount sets the MetricFilterCount field's value.
+func (s *LogGroup) SetMetricFilterCount(v int64) *LogGroup {
+ s.MetricFilterCount = &v
+ return s
+}
+
+// SetRetentionInDays sets the RetentionInDays field's value.
+func (s *LogGroup) SetRetentionInDays(v int64) *LogGroup {
+ s.RetentionInDays = &v
+ return s
+}
+
+// SetStoredBytes sets the StoredBytes field's value.
+func (s *LogGroup) SetStoredBytes(v int64) *LogGroup {
+ s.StoredBytes = &v
+ return s
+}
+
+// Represents a log stream, which is a sequence of log events from a single
+// emitter of logs.
type LogStream struct {
_ struct{} `type:"structure"`
+ // The Amazon Resource Name (ARN) of the log stream.
Arn *string `locationName:"arn" type:"string"`
- // A point in time expressed as the number of milliseconds since Jan 1, 1970
- // 00:00:00 UTC.
+ // The creation time of the stream.
CreationTime *int64 `locationName:"creationTime" type:"long"`
- // A point in time expressed as the number of milliseconds since Jan 1, 1970
- // 00:00:00 UTC.
+ // The time of the first event.
FirstEventTimestamp *int64 `locationName:"firstEventTimestamp" type:"long"`
- // A point in time expressed as the number of milliseconds since Jan 1, 1970
- // 00:00:00 UTC.
+ // The time of the last event.
LastEventTimestamp *int64 `locationName:"lastEventTimestamp" type:"long"`
- // A point in time expressed as the number of milliseconds since Jan 1, 1970
- // 00:00:00 UTC.
+ // The ingestion time.
LastIngestionTime *int64 `locationName:"lastIngestionTime" type:"long"`
+ // The name of the log stream.
LogStreamName *string `locationName:"logStreamName" min:"1" type:"string"`
+ // The number of bytes stored.
StoredBytes *int64 `locationName:"storedBytes" type:"long"`
- // A string token used for making PutLogEvents requests. A sequenceToken can
- // only be used once, and PutLogEvents requests must include the sequenceToken
- // obtained from the response of the previous request.
+ // The sequence token.
UploadSequenceToken *string `locationName:"uploadSequenceToken" min:"1" type:"string"`
}
@@ -3738,17 +4351,64 @@ func (s LogStream) GoString() string {
return s.String()
}
-// Metric filters can be used to express how CloudWatch Logs would extract metric
-// observations from ingested log events and transform them to metric data in
-// a CloudWatch metric.
+// SetArn sets the Arn field's value.
+func (s *LogStream) SetArn(v string) *LogStream {
+ s.Arn = &v
+ return s
+}
+
+// SetCreationTime sets the CreationTime field's value.
+func (s *LogStream) SetCreationTime(v int64) *LogStream {
+ s.CreationTime = &v
+ return s
+}
+
+// SetFirstEventTimestamp sets the FirstEventTimestamp field's value.
+func (s *LogStream) SetFirstEventTimestamp(v int64) *LogStream {
+ s.FirstEventTimestamp = &v
+ return s
+}
+
+// SetLastEventTimestamp sets the LastEventTimestamp field's value.
+func (s *LogStream) SetLastEventTimestamp(v int64) *LogStream {
+ s.LastEventTimestamp = &v
+ return s
+}
+
+// SetLastIngestionTime sets the LastIngestionTime field's value.
+func (s *LogStream) SetLastIngestionTime(v int64) *LogStream {
+ s.LastIngestionTime = &v
+ return s
+}
+
+// SetLogStreamName sets the LogStreamName field's value.
+func (s *LogStream) SetLogStreamName(v string) *LogStream {
+ s.LogStreamName = &v
+ return s
+}
+
+// SetStoredBytes sets the StoredBytes field's value.
+func (s *LogStream) SetStoredBytes(v int64) *LogStream {
+ s.StoredBytes = &v
+ return s
+}
+
+// SetUploadSequenceToken sets the UploadSequenceToken field's value.
+func (s *LogStream) SetUploadSequenceToken(v string) *LogStream {
+ s.UploadSequenceToken = &v
+ return s
+}
+
+// Metric filters express how CloudWatch Logs would extract metric observations
+// from ingested log events and transform them into metric data in a CloudWatch
+// metric.
type MetricFilter struct {
_ struct{} `type:"structure"`
- // A point in time expressed as the number of milliseconds since Jan 1, 1970
- // 00:00:00 UTC.
+ // The creation time of the metric filter.
CreationTime *int64 `locationName:"creationTime" type:"long"`
- // A name for a metric or subscription filter.
+ // The name of the metric filter.
FilterName *string `locationName:"filterName" min:"1" type:"string"`
// A symbolic description of how CloudWatch Logs should interpret the data in
@@ -3757,6 +4417,10 @@ type MetricFilter struct {
// in the log event message.
FilterPattern *string `locationName:"filterPattern" type:"string"`
+ // The name of the log group.
+ LogGroupName *string `locationName:"logGroupName" min:"1" type:"string"`
+
+ // The metric transformations.
MetricTransformations []*MetricTransformation `locationName:"metricTransformations" min:"1" type:"list"`
}
@@ -3770,13 +4434,47 @@ func (s MetricFilter) GoString() string {
return s.String()
}
+// SetCreationTime sets the CreationTime field's value.
+func (s *MetricFilter) SetCreationTime(v int64) *MetricFilter {
+ s.CreationTime = &v
+ return s
+}
+
+// SetFilterName sets the FilterName field's value.
+func (s *MetricFilter) SetFilterName(v string) *MetricFilter {
+ s.FilterName = &v
+ return s
+}
+
+// SetFilterPattern sets the FilterPattern field's value.
+func (s *MetricFilter) SetFilterPattern(v string) *MetricFilter {
+ s.FilterPattern = &v
+ return s
+}
+
+// SetLogGroupName sets the LogGroupName field's value.
+func (s *MetricFilter) SetLogGroupName(v string) *MetricFilter {
+ s.LogGroupName = &v
+ return s
+}
+
+// SetMetricTransformations sets the MetricTransformations field's value.
+func (s *MetricFilter) SetMetricTransformations(v []*MetricTransformation) *MetricFilter {
+ s.MetricTransformations = v
+ return s
+}
+
+// Represents a matched event.
type MetricFilterMatchRecord struct {
_ struct{} `type:"structure"`
+ // The raw event data.
EventMessage *string `locationName:"eventMessage" min:"1" type:"string"`
+ // The event number.
EventNumber *int64 `locationName:"eventNumber" type:"long"`
+ // The values extracted from the event data by the filter.
ExtractedValues map[string]*string `locationName:"extractedValues" type:"map"`
}
@@ -3790,25 +4488,45 @@ func (s MetricFilterMatchRecord) GoString() string {
return s.String()
}
+// SetEventMessage sets the EventMessage field's value.
+func (s *MetricFilterMatchRecord) SetEventMessage(v string) *MetricFilterMatchRecord {
+ s.EventMessage = &v
+ return s
+}
+
+// SetEventNumber sets the EventNumber field's value.
+func (s *MetricFilterMatchRecord) SetEventNumber(v int64) *MetricFilterMatchRecord {
+ s.EventNumber = &v
+ return s
+}
+
+// SetExtractedValues sets the ExtractedValues field's value.
+func (s *MetricFilterMatchRecord) SetExtractedValues(v map[string]*string) *MetricFilterMatchRecord {
+ s.ExtractedValues = v
+ return s
+}
+
+// Indicates how to transform ingested log events into metric data in a CloudWatch
+// metric.
type MetricTransformation struct {
_ struct{} `type:"structure"`
- // (Optional) A default value to emit when a filter pattern does not match a
- // log event. Can be null.
+ // (Optional) The value to emit when a filter pattern does not match a log event.
+ // This value can be null.
DefaultValue *float64 `locationName:"defaultValue" type:"double"`
- // Name of the metric.
+ // The name of the CloudWatch metric.
//
// MetricName is a required field
MetricName *string `locationName:"metricName" type:"string" required:"true"`
- // Namespace to which the metric belongs.
+ // The namespace of the CloudWatch metric.
//
// MetricNamespace is a required field
MetricNamespace *string `locationName:"metricNamespace" type:"string" required:"true"`
- // A string representing a value to publish to this metric when a filter pattern
- // matches a log event.
+ // The value to publish to the CloudWatch metric when a filter pattern matches
+ // a log event.
//
// MetricValue is a required field
MetricValue *string `locationName:"metricValue" type:"string" required:"true"`
@@ -3843,17 +4561,41 @@ func (s *MetricTransformation) Validate() error {
return nil
}
+// SetDefaultValue sets the DefaultValue field's value.
+func (s *MetricTransformation) SetDefaultValue(v float64) *MetricTransformation {
+ s.DefaultValue = &v
+ return s
+}
+
+// SetMetricName sets the MetricName field's value.
+func (s *MetricTransformation) SetMetricName(v string) *MetricTransformation {
+ s.MetricName = &v
+ return s
+}
+
+// SetMetricNamespace sets the MetricNamespace field's value.
+func (s *MetricTransformation) SetMetricNamespace(v string) *MetricTransformation {
+ s.MetricNamespace = &v
+ return s
+}
+
+// SetMetricValue sets the MetricValue field's value.
+func (s *MetricTransformation) SetMetricValue(v string) *MetricTransformation {
+ s.MetricValue = &v
+ return s
+}
+
+// Represents a log event.
type OutputLogEvent struct {
_ struct{} `type:"structure"`
- // A point in time expressed as the number of milliseconds since Jan 1, 1970
- // 00:00:00 UTC.
+ // The time the event was ingested.
IngestionTime *int64 `locationName:"ingestionTime" type:"long"`
+ // The data contained in the log event.
Message *string `locationName:"message" min:"1" type:"string"`
- // A point in time expressed as the number of milliseconds since Jan 1, 1970
- // 00:00:00 UTC.
+ // The time the event occurred.
Timestamp *int64 `locationName:"timestamp" type:"long"`
}
@@ -3867,6 +4609,24 @@ func (s OutputLogEvent) GoString() string {
return s.String()
}
+// SetIngestionTime sets the IngestionTime field's value.
+func (s *OutputLogEvent) SetIngestionTime(v int64) *OutputLogEvent {
+ s.IngestionTime = &v
+ return s
+}
+
+// SetMessage sets the Message field's value.
+func (s *OutputLogEvent) SetMessage(v string) *OutputLogEvent {
+ s.Message = &v
+ return s
+}
+
+// SetTimestamp sets the Timestamp field's value.
+func (s *OutputLogEvent) SetTimestamp(v int64) *OutputLogEvent {
+ s.Timestamp = &v
+ return s
+}
+
type PutDestinationInput struct {
_ struct{} `type:"structure"`
@@ -3875,8 +4635,8 @@ type PutDestinationInput struct {
// DestinationName is a required field
DestinationName *string `locationName:"destinationName" min:"1" type:"string" required:"true"`
- // The ARN of an IAM role that grants CloudWatch Logs permissions to do Amazon
- // Kinesis PutRecord requests on the destination stream.
+ // The ARN of an IAM role that grants CloudWatch Logs permissions to call Amazon
+ // Kinesis PutRecord on the destination stream.
//
// RoleArn is a required field
RoleArn *string `locationName:"roleArn" min:"1" type:"string" required:"true"`
@@ -3925,10 +4685,28 @@ func (s *PutDestinationInput) Validate() error {
return nil
}
+// SetDestinationName sets the DestinationName field's value.
+func (s *PutDestinationInput) SetDestinationName(v string) *PutDestinationInput {
+ s.DestinationName = &v
+ return s
+}
+
+// SetRoleArn sets the RoleArn field's value.
+func (s *PutDestinationInput) SetRoleArn(v string) *PutDestinationInput {
+ s.RoleArn = &v
+ return s
+}
+
+// SetTargetArn sets the TargetArn field's value.
+func (s *PutDestinationInput) SetTargetArn(v string) *PutDestinationInput {
+ s.TargetArn = &v
+ return s
+}
+
type PutDestinationOutput struct {
_ struct{} `type:"structure"`
- // A cross account destination that is the recipient of subscription log events.
+ // The destination.
Destination *Destination `locationName:"destination" type:"structure"`
}
@@ -3942,11 +4720,17 @@ func (s PutDestinationOutput) GoString() string {
return s.String()
}
+// SetDestination sets the Destination field's value.
+func (s *PutDestinationOutput) SetDestination(v *Destination) *PutDestinationOutput {
+ s.Destination = v
+ return s
+}
+
type PutDestinationPolicyInput struct {
_ struct{} `type:"structure"`
// An IAM policy document that authorizes cross-account users to deliver their
- // log events to associated destination.
+ // log events to the associated destination.
//
// AccessPolicy is a required field
AccessPolicy *string `locationName:"accessPolicy" min:"1" type:"string" required:"true"`
@@ -3989,6 +4773,18 @@ func (s *PutDestinationPolicyInput) Validate() error {
return nil
}
+// SetAccessPolicy sets the AccessPolicy field's value.
+func (s *PutDestinationPolicyInput) SetAccessPolicy(v string) *PutDestinationPolicyInput {
+ s.AccessPolicy = &v
+ return s
+}
+
+// SetDestinationName sets the DestinationName field's value.
+func (s *PutDestinationPolicyInput) SetDestinationName(v string) *PutDestinationPolicyInput {
+ s.DestinationName = &v
+ return s
+}
+
type PutDestinationPolicyOutput struct {
_ struct{} `type:"structure"`
}
@@ -4006,23 +4802,22 @@ func (s PutDestinationPolicyOutput) GoString() string {
type PutLogEventsInput struct {
_ struct{} `type:"structure"`
- // A list of log events belonging to a log stream.
+ // The log events.
//
// LogEvents is a required field
LogEvents []*InputLogEvent `locationName:"logEvents" min:"1" type:"list" required:"true"`
- // The name of the log group to put log events to.
+ // The name of the log group.
//
// LogGroupName is a required field
LogGroupName *string `locationName:"logGroupName" min:"1" type:"string" required:"true"`
- // The name of the log stream to put log events to.
+ // The name of the log stream.
//
// LogStreamName is a required field
LogStreamName *string `locationName:"logStreamName" min:"1" type:"string" required:"true"`
- // A string token that must be obtained from the response of the previous PutLogEvents
- // request.
+ // The sequence token.
SequenceToken *string `locationName:"sequenceToken" min:"1" type:"string"`
}
@@ -4077,14 +4872,37 @@ func (s *PutLogEventsInput) Validate() error {
return nil
}
+// SetLogEvents sets the LogEvents field's value.
+func (s *PutLogEventsInput) SetLogEvents(v []*InputLogEvent) *PutLogEventsInput {
+ s.LogEvents = v
+ return s
+}
+
+// SetLogGroupName sets the LogGroupName field's value.
+func (s *PutLogEventsInput) SetLogGroupName(v string) *PutLogEventsInput {
+ s.LogGroupName = &v
+ return s
+}
+
+// SetLogStreamName sets the LogStreamName field's value.
+func (s *PutLogEventsInput) SetLogStreamName(v string) *PutLogEventsInput {
+ s.LogStreamName = &v
+ return s
+}
+
+// SetSequenceToken sets the SequenceToken field's value.
+func (s *PutLogEventsInput) SetSequenceToken(v string) *PutLogEventsInput {
+ s.SequenceToken = &v
+ return s
+}
+
type PutLogEventsOutput struct {
_ struct{} `type:"structure"`
- // A string token used for making PutLogEvents requests. A sequenceToken can
- // only be used once, and PutLogEvents requests must include the sequenceToken
- // obtained from the response of the previous request.
+ // The next sequence token.
NextSequenceToken *string `locationName:"nextSequenceToken" min:"1" type:"string"`
+ // The rejected events.
RejectedLogEventsInfo *RejectedLogEventsInfo `locationName:"rejectedLogEventsInfo" type:"structure"`
}
@@ -4098,6 +4916,18 @@ func (s PutLogEventsOutput) GoString() string {
return s.String()
}
+// SetNextSequenceToken sets the NextSequenceToken field's value.
+func (s *PutLogEventsOutput) SetNextSequenceToken(v string) *PutLogEventsOutput {
+ s.NextSequenceToken = &v
+ return s
+}
+
+// SetRejectedLogEventsInfo sets the RejectedLogEventsInfo field's value.
+func (s *PutLogEventsOutput) SetRejectedLogEventsInfo(v *RejectedLogEventsInfo) *PutLogEventsOutput {
+ s.RejectedLogEventsInfo = v
+ return s
+}
+
type PutMetricFilterInput struct {
_ struct{} `type:"structure"`
@@ -4106,13 +4936,12 @@ type PutMetricFilterInput struct {
// FilterName is a required field
FilterName *string `locationName:"filterName" min:"1" type:"string" required:"true"`
- // A valid CloudWatch Logs filter pattern for extracting metric data out of
- // ingested log events.
+ // A filter pattern for extracting metric data out of ingested log events.
//
// FilterPattern is a required field
FilterPattern *string `locationName:"filterPattern" type:"string" required:"true"`
- // The name of the log group to associate the metric filter with.
+ // The name of the log group.
//
// LogGroupName is a required field
LogGroupName *string `locationName:"logGroupName" min:"1" type:"string" required:"true"`
@@ -4174,6 +5003,30 @@ func (s *PutMetricFilterInput) Validate() error {
return nil
}
+// SetFilterName sets the FilterName field's value.
+func (s *PutMetricFilterInput) SetFilterName(v string) *PutMetricFilterInput {
+ s.FilterName = &v
+ return s
+}
+
+// SetFilterPattern sets the FilterPattern field's value.
+func (s *PutMetricFilterInput) SetFilterPattern(v string) *PutMetricFilterInput {
+ s.FilterPattern = &v
+ return s
+}
+
+// SetLogGroupName sets the LogGroupName field's value.
+func (s *PutMetricFilterInput) SetLogGroupName(v string) *PutMetricFilterInput {
+ s.LogGroupName = &v
+ return s
+}
+
+// SetMetricTransformations sets the MetricTransformations field's value.
+func (s *PutMetricFilterInput) SetMetricTransformations(v []*MetricTransformation) *PutMetricFilterInput {
+ s.MetricTransformations = v
+ return s
+}
+
type PutMetricFilterOutput struct {
_ struct{} `type:"structure"`
}
@@ -4191,14 +5044,14 @@ func (s PutMetricFilterOutput) GoString() string {
type PutRetentionPolicyInput struct {
_ struct{} `type:"structure"`
- // The name of the log group to associate the retention policy with.
+ // The name of the log group.
//
// LogGroupName is a required field
LogGroupName *string `locationName:"logGroupName" min:"1" type:"string" required:"true"`
- // Specifies the number of days you want to retain log events in the specified
- // log group. Possible values are: 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180,
- // 365, 400, 545, 731, 1827, 3653.
+ // The number of days to retain the log events in the specified log group. Possible
+ // values are: 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731,
+ // 1827, and 3653.
//
// RetentionInDays is a required field
RetentionInDays *int64 `locationName:"retentionInDays" type:"integer" required:"true"`
@@ -4233,6 +5086,18 @@ func (s *PutRetentionPolicyInput) Validate() error {
return nil
}
+// SetLogGroupName sets the LogGroupName field's value.
+func (s *PutRetentionPolicyInput) SetLogGroupName(v string) *PutRetentionPolicyInput {
+ s.LogGroupName = &v
+ return s
+}
+
+// SetRetentionInDays sets the RetentionInDays field's value.
+func (s *PutRetentionPolicyInput) SetRetentionInDays(v int64) *PutRetentionPolicyInput {
+ s.RetentionInDays = &v
+ return s
+}
+
type PutRetentionPolicyOutput struct {
_ struct{} `type:"structure"`
}
@@ -4256,8 +5121,8 @@ type PutSubscriptionFilterInput struct {
// * An Amazon Kinesis stream belonging to the same account as the subscription
// filter, for same-account delivery.
//
- // * A logical destination (used via an ARN of Destination) belonging to
- // a different account, for cross-account delivery.
+ // * A logical destination (specified using an ARN) belonging to a different
+ // account, for cross-account delivery.
//
// * An Amazon Kinesis Firehose stream belonging to the same account as the
// subscription filter, for same-account delivery.
@@ -4273,21 +5138,20 @@ type PutSubscriptionFilterInput struct {
// FilterName is a required field
FilterName *string `locationName:"filterName" min:"1" type:"string" required:"true"`
- // A valid CloudWatch Logs filter pattern for subscribing to a filtered stream
- // of log events.
+ // A filter pattern for subscribing to a filtered stream of log events.
//
// FilterPattern is a required field
FilterPattern *string `locationName:"filterPattern" type:"string" required:"true"`
- // The name of the log group to associate the subscription filter with.
+ // The name of the log group.
//
// LogGroupName is a required field
LogGroupName *string `locationName:"logGroupName" min:"1" type:"string" required:"true"`
// The ARN of an IAM role that grants CloudWatch Logs permissions to deliver
// ingested log events to the destination stream. You don't need to provide
- // the ARN when you are working with a logical destination (used via an ARN
- // of Destination) for cross-account delivery.
+ // the ARN when you are working with a logical destination for cross-account
+ // delivery.
RoleArn *string `locationName:"roleArn" min:"1" type:"string"`
}
@@ -4335,6 +5199,36 @@ func (s *PutSubscriptionFilterInput) Validate() error {
return nil
}
+// SetDestinationArn sets the DestinationArn field's value.
+func (s *PutSubscriptionFilterInput) SetDestinationArn(v string) *PutSubscriptionFilterInput {
+ s.DestinationArn = &v
+ return s
+}
+
+// SetFilterName sets the FilterName field's value.
+func (s *PutSubscriptionFilterInput) SetFilterName(v string) *PutSubscriptionFilterInput {
+ s.FilterName = &v
+ return s
+}
+
+// SetFilterPattern sets the FilterPattern field's value.
+func (s *PutSubscriptionFilterInput) SetFilterPattern(v string) *PutSubscriptionFilterInput {
+ s.FilterPattern = &v
+ return s
+}
+
+// SetLogGroupName sets the LogGroupName field's value.
+func (s *PutSubscriptionFilterInput) SetLogGroupName(v string) *PutSubscriptionFilterInput {
+ s.LogGroupName = &v
+ return s
+}
+
+// SetRoleArn sets the RoleArn field's value.
+func (s *PutSubscriptionFilterInput) SetRoleArn(v string) *PutSubscriptionFilterInput {
+ s.RoleArn = &v
+ return s
+}
+
type PutSubscriptionFilterOutput struct {
_ struct{} `type:"structure"`
}
@@ -4349,13 +5243,17 @@ func (s PutSubscriptionFilterOutput) GoString() string {
return s.String()
}
+// Represents the rejected events.
type RejectedLogEventsInfo struct {
_ struct{} `type:"structure"`
+ // The expired log events.
ExpiredLogEventEndIndex *int64 `locationName:"expiredLogEventEndIndex" type:"integer"`
+ // The log events that are too new.
TooNewLogEventStartIndex *int64 `locationName:"tooNewLogEventStartIndex" type:"integer"`
+ // The log events that are too old.
TooOldLogEventEndIndex *int64 `locationName:"tooOldLogEventEndIndex" type:"integer"`
}
@@ -4369,16 +5267,32 @@ func (s RejectedLogEventsInfo) GoString() string {
return s.String()
}
-// An object indicating the search status of a log stream in a FilterLogEvents
-// request.
+// SetExpiredLogEventEndIndex sets the ExpiredLogEventEndIndex field's value.
+func (s *RejectedLogEventsInfo) SetExpiredLogEventEndIndex(v int64) *RejectedLogEventsInfo {
+ s.ExpiredLogEventEndIndex = &v
+ return s
+}
+
+// SetTooNewLogEventStartIndex sets the TooNewLogEventStartIndex field's value.
+func (s *RejectedLogEventsInfo) SetTooNewLogEventStartIndex(v int64) *RejectedLogEventsInfo {
+ s.TooNewLogEventStartIndex = &v
+ return s
+}
+
+// SetTooOldLogEventEndIndex sets the TooOldLogEventEndIndex field's value.
+func (s *RejectedLogEventsInfo) SetTooOldLogEventEndIndex(v int64) *RejectedLogEventsInfo {
+ s.TooOldLogEventEndIndex = &v
+ return s
+}
+
+// Represents the search status of a log stream.
type SearchedLogStream struct {
_ struct{} `type:"structure"`
// The name of the log stream.
LogStreamName *string `locationName:"logStreamName" min:"1" type:"string"`
- // Indicates whether all the events in this log stream were searched or more
- // data exists to search by paginating further.
+ // Indicates whether all the events in this log stream were searched.
SearchedCompletely *bool `locationName:"searchedCompletely" type:"boolean"`
}
@@ -4392,16 +5306,29 @@ func (s SearchedLogStream) GoString() string {
return s.String()
}
+// SetLogStreamName sets the LogStreamName field's value.
+func (s *SearchedLogStream) SetLogStreamName(v string) *SearchedLogStream {
+ s.LogStreamName = &v
+ return s
+}
+
+// SetSearchedCompletely sets the SearchedCompletely field's value.
+func (s *SearchedLogStream) SetSearchedCompletely(v bool) *SearchedLogStream {
+ s.SearchedCompletely = &v
+ return s
+}
+
+// Represents a subscription filter.
type SubscriptionFilter struct {
_ struct{} `type:"structure"`
- // A point in time expressed as the number of milliseconds since Jan 1, 1970
- // 00:00:00 UTC.
+ // The creation time of the subscription filter.
CreationTime *int64 `locationName:"creationTime" type:"long"`
+ // The Amazon Resource Name (ARN) of the destination.
DestinationArn *string `locationName:"destinationArn" min:"1" type:"string"`
- // A name for a metric or subscription filter.
+ // The name of the subscription filter.
FilterName *string `locationName:"filterName" min:"1" type:"string"`
// A symbolic description of how CloudWatch Logs should interpret the data in
@@ -4410,6 +5337,7 @@ type SubscriptionFilter struct {
// in the log event message.
FilterPattern *string `locationName:"filterPattern" type:"string"`
+ // The name of the log group.
LogGroupName *string `locationName:"logGroupName" min:"1" type:"string"`
RoleArn *string `locationName:"roleArn" min:"1" type:"string"`
@@ -4425,6 +5353,42 @@ func (s SubscriptionFilter) GoString() string {
return s.String()
}
+// SetCreationTime sets the CreationTime field's value.
+func (s *SubscriptionFilter) SetCreationTime(v int64) *SubscriptionFilter {
+ s.CreationTime = &v
+ return s
+}
+
+// SetDestinationArn sets the DestinationArn field's value.
+func (s *SubscriptionFilter) SetDestinationArn(v string) *SubscriptionFilter {
+ s.DestinationArn = &v
+ return s
+}
+
+// SetFilterName sets the FilterName field's value.
+func (s *SubscriptionFilter) SetFilterName(v string) *SubscriptionFilter {
+ s.FilterName = &v
+ return s
+}
+
+// SetFilterPattern sets the FilterPattern field's value.
+func (s *SubscriptionFilter) SetFilterPattern(v string) *SubscriptionFilter {
+ s.FilterPattern = &v
+ return s
+}
+
+// SetLogGroupName sets the LogGroupName field's value.
+func (s *SubscriptionFilter) SetLogGroupName(v string) *SubscriptionFilter {
+ s.LogGroupName = &v
+ return s
+}
+
+// SetRoleArn sets the RoleArn field's value.
+func (s *SubscriptionFilter) SetRoleArn(v string) *SubscriptionFilter {
+ s.RoleArn = &v
+ return s
+}
+
type TestMetricFilterInput struct {
_ struct{} `type:"structure"`
@@ -4436,7 +5400,7 @@ type TestMetricFilterInput struct {
// FilterPattern is a required field
FilterPattern *string `locationName:"filterPattern" type:"string" required:"true"`
- // A list of log event messages to test.
+ // The log event messages to test.
//
// LogEventMessages is a required field
LogEventMessages []*string `locationName:"logEventMessages" min:"1" type:"list" required:"true"`
@@ -4471,9 +5435,22 @@ func (s *TestMetricFilterInput) Validate() error {
return nil
}
+// SetFilterPattern sets the FilterPattern field's value.
+func (s *TestMetricFilterInput) SetFilterPattern(v string) *TestMetricFilterInput {
+ s.FilterPattern = &v
+ return s
+}
+
+// SetLogEventMessages sets the LogEventMessages field's value.
+func (s *TestMetricFilterInput) SetLogEventMessages(v []*string) *TestMetricFilterInput {
+ s.LogEventMessages = v
+ return s
+}
+
type TestMetricFilterOutput struct {
_ struct{} `type:"structure"`
+ // The matched events.
Matches []*MetricFilterMatchRecord `locationName:"matches" type:"list"`
}
@@ -4487,6 +5464,12 @@ func (s TestMetricFilterOutput) GoString() string {
return s.String()
}
+// SetMatches sets the Matches field's value.
+func (s *TestMetricFilterOutput) SetMatches(v []*MetricFilterMatchRecord) *TestMetricFilterOutput {
+ s.Matches = v
+ return s
+}
+
const (
// ExportTaskStatusCodeCancelled is a ExportTaskStatusCode enum value
ExportTaskStatusCodeCancelled = "CANCELLED"
diff --git a/vendor/github.com/aws/aws-sdk-go/service/cloudwatchlogs/examples_test.go b/vendor/github.com/aws/aws-sdk-go/service/cloudwatchlogs/examples_test.go
index 4219711..f50d0f0 100644
--- a/vendor/github.com/aws/aws-sdk-go/service/cloudwatchlogs/examples_test.go
+++ b/vendor/github.com/aws/aws-sdk-go/service/cloudwatchlogs/examples_test.go
@@ -397,9 +397,11 @@ func ExampleCloudWatchLogs_DescribeMetricFilters() {
svc := cloudwatchlogs.New(sess)
params := &cloudwatchlogs.DescribeMetricFiltersInput{
- LogGroupName: aws.String("LogGroupName"), // Required
FilterNamePrefix: aws.String("FilterName"),
Limit: aws.Int64(1),
+ LogGroupName: aws.String("LogGroupName"),
+ MetricName: aws.String("MetricName"),
+ MetricNamespace: aws.String("MetricNamespace"),
NextToken: aws.String("NextToken"),
}
resp, err := svc.DescribeMetricFilters(params)
diff --git a/vendor/github.com/aws/aws-sdk-go/service/cloudwatchlogs/service.go b/vendor/github.com/aws/aws-sdk-go/service/cloudwatchlogs/service.go
index 0c7563a..4ae9017 100644
--- a/vendor/github.com/aws/aws-sdk-go/service/cloudwatchlogs/service.go
+++ b/vendor/github.com/aws/aws-sdk-go/service/cloudwatchlogs/service.go
@@ -12,10 +12,10 @@ import (
)
// You can use Amazon CloudWatch Logs to monitor, store, and access your log
-// files from Amazon Elastic Compute Cloud (Amazon EC2) instances, Amazon CloudTrail,
-// or other sources. You can then retrieve the associated log data from CloudWatch
-// Logs using the Amazon CloudWatch console, the CloudWatch Logs commands in
-// the AWS CLI, the CloudWatch Logs API, or the CloudWatch Logs SDK.
+// files from EC2 instances, Amazon CloudTrail, or other sources. You can then
+// retrieve the associated log data from CloudWatch Logs using the Amazon CloudWatch
+// console, the CloudWatch Logs commands in the AWS CLI, the CloudWatch Logs
+// API, or the CloudWatch Logs SDK.
//
// You can use CloudWatch Logs to:
//
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 3fdfa91..b834f02 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
@@ -1606,6 +1606,12 @@ func (s *BatchGetRepositoriesInput) Validate() error {
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.
type BatchGetRepositoriesOutput struct {
_ struct{} `type:"structure"`
@@ -1627,6 +1633,18 @@ 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 branch.
type BranchInfo struct {
_ struct{} `type:"structure"`
@@ -1648,6 +1666,18 @@ 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 commit.
type Commit struct {
_ struct{} `type:"structure"`
@@ -1684,6 +1714,42 @@ 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
+}
+
+// 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.
type CreateBranchInput struct {
_ struct{} `type:"structure"`
@@ -1739,6 +1805,24 @@ 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 {
+ s.RepositoryName = &v
+ return s
+}
+
type CreateBranchOutput struct {
_ struct{} `type:"structure"`
}
@@ -1804,6 +1888,18 @@ 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 {
+ s.RepositoryName = &v
+ return s
+}
+
// Represents the output of a create repository operation.
type CreateRepositoryOutput struct {
_ struct{} `type:"structure"`
@@ -1822,6 +1918,12 @@ 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 repository operation.
type DeleteRepositoryInput struct {
_ struct{} `type:"structure"`
@@ -1858,6 +1960,12 @@ func (s *DeleteRepositoryInput) Validate() error {
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.
type DeleteRepositoryOutput struct {
_ struct{} `type:"structure"`
@@ -1876,6 +1984,12 @@ 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
+}
+
// Represents the input of a get branch operation.
type GetBranchInput struct {
_ struct{} `type:"structure"`
@@ -1914,6 +2028,18 @@ func (s *GetBranchInput) Validate() error {
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.
type GetBranchOutput struct {
_ struct{} `type:"structure"`
@@ -1932,6 +2058,12 @@ 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
+}
+
// Represents the input of a get commit operation.
type GetCommitInput struct {
_ struct{} `type:"structure"`
@@ -1976,6 +2108,18 @@ func (s *GetCommitInput) Validate() error {
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.
type GetCommitOutput struct {
_ struct{} `type:"structure"`
@@ -1996,6 +2140,12 @@ 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
+}
+
// Represents the input of a get repository operation.
type GetRepositoryInput struct {
_ struct{} `type:"structure"`
@@ -2032,6 +2182,12 @@ func (s *GetRepositoryInput) Validate() error {
return nil
}
+// SetRepositoryName sets the RepositoryName field's value.
+func (s *GetRepositoryInput) SetRepositoryName(v string) *GetRepositoryInput {
+ s.RepositoryName = &v
+ return s
+}
+
// Represents the output of a get repository operation.
type GetRepositoryOutput struct {
_ struct{} `type:"structure"`
@@ -2050,6 +2206,12 @@ func (s GetRepositoryOutput) GoString() string {
return s.String()
}
+// 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.
type GetRepositoryTriggersInput struct {
_ struct{} `type:"structure"`
@@ -2081,6 +2243,12 @@ func (s *GetRepositoryTriggersInput) Validate() error {
return nil
}
+// SetRepositoryName sets the RepositoryName field's value.
+func (s *GetRepositoryTriggersInput) SetRepositoryName(v string) *GetRepositoryTriggersInput {
+ s.RepositoryName = &v
+ return s
+}
+
// Represents the output of a get repository triggers operation.
type GetRepositoryTriggersOutput struct {
_ struct{} `type:"structure"`
@@ -2102,6 +2270,18 @@ func (s GetRepositoryTriggersOutput) GoString() string {
return s.String()
}
+// SetConfigurationId sets the ConfigurationId field's value.
+func (s *GetRepositoryTriggersOutput) SetConfigurationId(v string) *GetRepositoryTriggersOutput {
+ s.ConfigurationId = &v
+ return s
+}
+
+// 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.
type ListBranchesInput struct {
_ struct{} `type:"structure"`
@@ -2141,6 +2321,18 @@ func (s *ListBranchesInput) Validate() error {
return nil
}
+// 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 *ListBranchesInput) SetRepositoryName(v string) *ListBranchesInput {
+ s.RepositoryName = &v
+ return s
+}
+
// Represents the output of a list branches operation.
type ListBranchesOutput struct {
_ struct{} `type:"structure"`
@@ -2162,6 +2354,18 @@ func (s ListBranchesOutput) GoString() string {
return s.String()
}
+// SetBranches sets the Branches field's value.
+func (s *ListBranchesOutput) SetBranches(v []*string) *ListBranchesOutput {
+ s.Branches = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListBranchesOutput) SetNextToken(v string) *ListBranchesOutput {
+ s.NextToken = &v
+ return s
+}
+
// Represents the input of a list repositories operation.
type ListRepositoriesInput struct {
_ struct{} `type:"structure"`
@@ -2189,6 +2393,24 @@ func (s ListRepositoriesInput) GoString() string {
return s.String()
}
+// SetNextToken sets the NextToken field's value.
+func (s *ListRepositoriesInput) SetNextToken(v string) *ListRepositoriesInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetOrder sets the Order field's value.
+func (s *ListRepositoriesInput) SetOrder(v string) *ListRepositoriesInput {
+ s.Order = &v
+ return s
+}
+
+// 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.
type ListRepositoriesOutput struct {
_ struct{} `type:"structure"`
@@ -2213,6 +2435,18 @@ 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 ofa put repository triggers operation.
type PutRepositoryTriggersInput struct {
_ struct{} `type:"structure"`
@@ -2247,6 +2481,18 @@ func (s *PutRepositoryTriggersInput) Validate() error {
return nil
}
+// SetRepositoryName sets the RepositoryName field's value.
+func (s *PutRepositoryTriggersInput) SetRepositoryName(v string) *PutRepositoryTriggersInput {
+ s.RepositoryName = &v
+ return s
+}
+
+// SetTriggers sets the Triggers field's value.
+func (s *PutRepositoryTriggersInput) SetTriggers(v []*RepositoryTrigger) *PutRepositoryTriggersInput {
+ s.Triggers = v
+ return s
+}
+
// Represents the output of a put repository triggers operation.
type PutRepositoryTriggersOutput struct {
_ struct{} `type:"structure"`
@@ -2265,6 +2511,12 @@ func (s PutRepositoryTriggersOutput) GoString() string {
return s.String()
}
+// SetConfigurationId sets the ConfigurationId field's value.
+func (s *PutRepositoryTriggersOutput) SetConfigurationId(v string) *PutRepositoryTriggersOutput {
+ s.ConfigurationId = &v
+ return s
+}
+
// Information about a repository.
type RepositoryMetadata struct {
_ struct{} `type:"structure"`
@@ -2310,6 +2562,66 @@ func (s RepositoryMetadata) GoString() string {
return s.String()
}
+// SetAccountId sets the AccountId field's value.
+func (s *RepositoryMetadata) SetAccountId(v string) *RepositoryMetadata {
+ s.AccountId = &v
+ return s
+}
+
+// SetArn sets the Arn field's value.
+func (s *RepositoryMetadata) SetArn(v string) *RepositoryMetadata {
+ s.Arn = &v
+ return s
+}
+
+// SetCloneUrlHttp sets the CloneUrlHttp field's value.
+func (s *RepositoryMetadata) SetCloneUrlHttp(v string) *RepositoryMetadata {
+ s.CloneUrlHttp = &v
+ return s
+}
+
+// SetCloneUrlSsh sets the CloneUrlSsh field's value.
+func (s *RepositoryMetadata) SetCloneUrlSsh(v string) *RepositoryMetadata {
+ s.CloneUrlSsh = &v
+ return s
+}
+
+// SetCreationDate sets the CreationDate field's value.
+func (s *RepositoryMetadata) SetCreationDate(v time.Time) *RepositoryMetadata {
+ s.CreationDate = &v
+ return s
+}
+
+// SetDefaultBranch sets the DefaultBranch field's value.
+func (s *RepositoryMetadata) SetDefaultBranch(v string) *RepositoryMetadata {
+ s.DefaultBranch = &v
+ return s
+}
+
+// SetLastModifiedDate sets the LastModifiedDate field's value.
+func (s *RepositoryMetadata) SetLastModifiedDate(v time.Time) *RepositoryMetadata {
+ s.LastModifiedDate = &v
+ return s
+}
+
+// SetRepositoryDescription sets the RepositoryDescription field's value.
+func (s *RepositoryMetadata) SetRepositoryDescription(v string) *RepositoryMetadata {
+ s.RepositoryDescription = &v
+ return s
+}
+
+// SetRepositoryId sets the RepositoryId field's value.
+func (s *RepositoryMetadata) SetRepositoryId(v string) *RepositoryMetadata {
+ s.RepositoryId = &v
+ return s
+}
+
+// SetRepositoryName sets the RepositoryName field's value.
+func (s *RepositoryMetadata) SetRepositoryName(v string) *RepositoryMetadata {
+ s.RepositoryName = &v
+ return s
+}
+
// Information about a repository name and ID.
type RepositoryNameIdPair struct {
_ struct{} `type:"structure"`
@@ -2331,6 +2643,18 @@ func (s RepositoryNameIdPair) GoString() string {
return s.String()
}
+// SetRepositoryId sets the RepositoryId field's value.
+func (s *RepositoryNameIdPair) SetRepositoryId(v string) *RepositoryNameIdPair {
+ s.RepositoryId = &v
+ return s
+}
+
+// SetRepositoryName sets the RepositoryName field's value.
+func (s *RepositoryNameIdPair) SetRepositoryName(v string) *RepositoryNameIdPair {
+ s.RepositoryName = &v
+ return s
+}
+
// Information about a trigger for a repository.
type RepositoryTrigger struct {
_ struct{} `type:"structure"`
@@ -2367,6 +2691,36 @@ func (s RepositoryTrigger) GoString() string {
return s.String()
}
+// SetBranches sets the Branches field's value.
+func (s *RepositoryTrigger) SetBranches(v []*string) *RepositoryTrigger {
+ s.Branches = v
+ return s
+}
+
+// SetCustomData sets the CustomData field's value.
+func (s *RepositoryTrigger) SetCustomData(v string) *RepositoryTrigger {
+ s.CustomData = &v
+ return s
+}
+
+// SetDestinationArn sets the DestinationArn field's value.
+func (s *RepositoryTrigger) SetDestinationArn(v string) *RepositoryTrigger {
+ s.DestinationArn = &v
+ return s
+}
+
+// SetEvents sets the Events field's value.
+func (s *RepositoryTrigger) SetEvents(v []*string) *RepositoryTrigger {
+ s.Events = v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *RepositoryTrigger) SetName(v string) *RepositoryTrigger {
+ s.Name = &v
+ return s
+}
+
// A trigger failed to run.
type RepositoryTriggerExecutionFailure struct {
_ struct{} `type:"structure"`
@@ -2388,6 +2742,18 @@ func (s RepositoryTriggerExecutionFailure) GoString() string {
return s.String()
}
+// SetFailureMessage sets the FailureMessage field's value.
+func (s *RepositoryTriggerExecutionFailure) SetFailureMessage(v string) *RepositoryTriggerExecutionFailure {
+ s.FailureMessage = &v
+ return s
+}
+
+// SetTrigger sets the Trigger field's value.
+func (s *RepositoryTriggerExecutionFailure) SetTrigger(v string) *RepositoryTriggerExecutionFailure {
+ s.Trigger = &v
+ return s
+}
+
// Represents the input of a test repository triggers operation.
type TestRepositoryTriggersInput struct {
_ struct{} `type:"structure"`
@@ -2422,6 +2788,18 @@ func (s *TestRepositoryTriggersInput) Validate() error {
return nil
}
+// SetRepositoryName sets the RepositoryName field's value.
+func (s *TestRepositoryTriggersInput) SetRepositoryName(v string) *TestRepositoryTriggersInput {
+ s.RepositoryName = &v
+ return s
+}
+
+// SetTriggers sets the Triggers field's value.
+func (s *TestRepositoryTriggersInput) SetTriggers(v []*RepositoryTrigger) *TestRepositoryTriggersInput {
+ s.Triggers = v
+ return s
+}
+
// Represents the output of a test repository triggers operation.
type TestRepositoryTriggersOutput struct {
_ struct{} `type:"structure"`
@@ -2445,6 +2823,18 @@ func (s TestRepositoryTriggersOutput) GoString() string {
return s.String()
}
+// SetFailedExecutions sets the FailedExecutions field's value.
+func (s *TestRepositoryTriggersOutput) SetFailedExecutions(v []*RepositoryTriggerExecutionFailure) *TestRepositoryTriggersOutput {
+ s.FailedExecutions = v
+ return s
+}
+
+// SetSuccessfulExecutions sets the SuccessfulExecutions field's value.
+func (s *TestRepositoryTriggersOutput) SetSuccessfulExecutions(v []*string) *TestRepositoryTriggersOutput {
+ s.SuccessfulExecutions = v
+ return s
+}
+
// Represents the input of an update default branch operation.
type UpdateDefaultBranchInput struct {
_ struct{} `type:"structure"`
@@ -2492,6 +2882,18 @@ func (s *UpdateDefaultBranchInput) Validate() error {
return nil
}
+// SetDefaultBranchName sets the DefaultBranchName field's value.
+func (s *UpdateDefaultBranchInput) SetDefaultBranchName(v string) *UpdateDefaultBranchInput {
+ s.DefaultBranchName = &v
+ return s
+}
+
+// SetRepositoryName sets the RepositoryName field's value.
+func (s *UpdateDefaultBranchInput) SetRepositoryName(v string) *UpdateDefaultBranchInput {
+ s.RepositoryName = &v
+ return s
+}
+
type UpdateDefaultBranchOutput struct {
_ struct{} `type:"structure"`
}
@@ -2546,6 +2948,18 @@ func (s *UpdateRepositoryDescriptionInput) Validate() error {
return nil
}
+// SetRepositoryDescription sets the RepositoryDescription field's value.
+func (s *UpdateRepositoryDescriptionInput) SetRepositoryDescription(v string) *UpdateRepositoryDescriptionInput {
+ s.RepositoryDescription = &v
+ return s
+}
+
+// SetRepositoryName sets the RepositoryName field's value.
+func (s *UpdateRepositoryDescriptionInput) SetRepositoryName(v string) *UpdateRepositoryDescriptionInput {
+ s.RepositoryName = &v
+ return s
+}
+
type UpdateRepositoryDescriptionOutput struct {
_ struct{} `type:"structure"`
}
@@ -2607,6 +3021,18 @@ func (s *UpdateRepositoryNameInput) Validate() error {
return nil
}
+// SetNewName sets the NewName field's value.
+func (s *UpdateRepositoryNameInput) SetNewName(v string) *UpdateRepositoryNameInput {
+ s.NewName = &v
+ return s
+}
+
+// SetOldName sets the OldName field's value.
+func (s *UpdateRepositoryNameInput) SetOldName(v string) *UpdateRepositoryNameInput {
+ s.OldName = &v
+ return s
+}
+
type UpdateRepositoryNameOutput struct {
_ struct{} `type:"structure"`
}
@@ -2645,6 +3071,24 @@ func (s UserInfo) GoString() string {
return s.String()
}
+// SetDate sets the Date field's value.
+func (s *UserInfo) SetDate(v string) *UserInfo {
+ s.Date = &v
+ return s
+}
+
+// SetEmail sets the Email field's value.
+func (s *UserInfo) SetEmail(v string) *UserInfo {
+ s.Email = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *UserInfo) SetName(v string) *UserInfo {
+ s.Name = &v
+ return s
+}
+
const (
// OrderEnumAscending is a OrderEnum enum value
OrderEnumAscending = "ascending"
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 ccb7bf0..3e7207b 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
@@ -3049,6 +3049,18 @@ func (s *AddTagsToOnPremisesInstancesInput) Validate() error {
return nil
}
+// SetInstanceNames sets the InstanceNames field's value.
+func (s *AddTagsToOnPremisesInstancesInput) SetInstanceNames(v []*string) *AddTagsToOnPremisesInstancesInput {
+ s.InstanceNames = v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *AddTagsToOnPremisesInstancesInput) SetTags(v []*Tag) *AddTagsToOnPremisesInstancesInput {
+ s.Tags = v
+ return s
+}
+
type AddTagsToOnPremisesInstancesOutput struct {
_ struct{} `type:"structure"`
}
@@ -3082,6 +3094,12 @@ func (s Alarm) GoString() string {
return s.String()
}
+// SetName sets the Name field's value.
+func (s *Alarm) SetName(v string) *Alarm {
+ s.Name = &v
+ return s
+}
+
// Information about alarms associated with the deployment group.
type AlarmConfiguration struct {
_ struct{} `type:"structure"`
@@ -3115,6 +3133,24 @@ func (s AlarmConfiguration) GoString() string {
return s.String()
}
+// SetAlarms sets the Alarms field's value.
+func (s *AlarmConfiguration) SetAlarms(v []*Alarm) *AlarmConfiguration {
+ s.Alarms = v
+ return s
+}
+
+// SetEnabled sets the Enabled field's value.
+func (s *AlarmConfiguration) SetEnabled(v bool) *AlarmConfiguration {
+ s.Enabled = &v
+ return s
+}
+
+// SetIgnorePollAlarmFailure sets the IgnorePollAlarmFailure field's value.
+func (s *AlarmConfiguration) SetIgnorePollAlarmFailure(v bool) *AlarmConfiguration {
+ s.IgnorePollAlarmFailure = &v
+ return s
+}
+
// Information about an application.
type ApplicationInfo struct {
_ struct{} `type:"structure"`
@@ -3143,6 +3179,30 @@ func (s ApplicationInfo) GoString() string {
return s.String()
}
+// SetApplicationId sets the ApplicationId field's value.
+func (s *ApplicationInfo) SetApplicationId(v string) *ApplicationInfo {
+ s.ApplicationId = &v
+ return s
+}
+
+// SetApplicationName sets the ApplicationName field's value.
+func (s *ApplicationInfo) SetApplicationName(v string) *ApplicationInfo {
+ s.ApplicationName = &v
+ return s
+}
+
+// SetCreateTime sets the CreateTime field's value.
+func (s *ApplicationInfo) SetCreateTime(v time.Time) *ApplicationInfo {
+ s.CreateTime = &v
+ return s
+}
+
+// SetLinkedToGitHub sets the LinkedToGitHub field's value.
+func (s *ApplicationInfo) SetLinkedToGitHub(v bool) *ApplicationInfo {
+ s.LinkedToGitHub = &v
+ return s
+}
+
// Information about a configuration for automatically rolling back to a previous
// version of an application revision when a deployment doesn't complete successfully.
type AutoRollbackConfiguration struct {
@@ -3166,6 +3226,18 @@ func (s AutoRollbackConfiguration) GoString() string {
return s.String()
}
+// SetEnabled sets the Enabled field's value.
+func (s *AutoRollbackConfiguration) SetEnabled(v bool) *AutoRollbackConfiguration {
+ s.Enabled = &v
+ return s
+}
+
+// SetEvents sets the Events field's value.
+func (s *AutoRollbackConfiguration) SetEvents(v []*string) *AutoRollbackConfiguration {
+ s.Events = v
+ return s
+}
+
// Information about an Auto Scaling group.
type AutoScalingGroup struct {
_ struct{} `type:"structure"`
@@ -3187,6 +3259,18 @@ func (s AutoScalingGroup) GoString() string {
return s.String()
}
+// SetHook sets the Hook field's value.
+func (s *AutoScalingGroup) SetHook(v string) *AutoScalingGroup {
+ s.Hook = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *AutoScalingGroup) SetName(v string) *AutoScalingGroup {
+ s.Name = &v
+ return s
+}
+
// Represents the input of a batch get application revisions operation.
type BatchGetApplicationRevisionsInput struct {
_ struct{} `type:"structure"`
@@ -3231,6 +3315,18 @@ func (s *BatchGetApplicationRevisionsInput) Validate() error {
return nil
}
+// SetApplicationName sets the ApplicationName field's value.
+func (s *BatchGetApplicationRevisionsInput) SetApplicationName(v string) *BatchGetApplicationRevisionsInput {
+ s.ApplicationName = &v
+ return s
+}
+
+// SetRevisions sets the Revisions field's value.
+func (s *BatchGetApplicationRevisionsInput) SetRevisions(v []*RevisionLocation) *BatchGetApplicationRevisionsInput {
+ s.Revisions = v
+ return s
+}
+
// Represents the output of a batch get application revisions operation.
type BatchGetApplicationRevisionsOutput struct {
_ struct{} `type:"structure"`
@@ -3255,6 +3351,24 @@ func (s BatchGetApplicationRevisionsOutput) GoString() string {
return s.String()
}
+// SetApplicationName sets the ApplicationName field's value.
+func (s *BatchGetApplicationRevisionsOutput) SetApplicationName(v string) *BatchGetApplicationRevisionsOutput {
+ s.ApplicationName = &v
+ return s
+}
+
+// SetErrorMessage sets the ErrorMessage field's value.
+func (s *BatchGetApplicationRevisionsOutput) SetErrorMessage(v string) *BatchGetApplicationRevisionsOutput {
+ s.ErrorMessage = &v
+ return s
+}
+
+// SetRevisions sets the Revisions field's value.
+func (s *BatchGetApplicationRevisionsOutput) SetRevisions(v []*RevisionInfo) *BatchGetApplicationRevisionsOutput {
+ s.Revisions = v
+ return s
+}
+
// Represents the input of a batch get applications operation.
type BatchGetApplicationsInput struct {
_ struct{} `type:"structure"`
@@ -3273,6 +3387,12 @@ func (s BatchGetApplicationsInput) GoString() string {
return s.String()
}
+// SetApplicationNames sets the ApplicationNames field's value.
+func (s *BatchGetApplicationsInput) SetApplicationNames(v []*string) *BatchGetApplicationsInput {
+ s.ApplicationNames = v
+ return s
+}
+
// Represents the output of a batch get applications operation.
type BatchGetApplicationsOutput struct {
_ struct{} `type:"structure"`
@@ -3291,6 +3411,12 @@ func (s BatchGetApplicationsOutput) GoString() string {
return s.String()
}
+// SetApplicationsInfo sets the ApplicationsInfo field's value.
+func (s *BatchGetApplicationsOutput) SetApplicationsInfo(v []*ApplicationInfo) *BatchGetApplicationsOutput {
+ s.ApplicationsInfo = v
+ return s
+}
+
// Represents the input of a batch get deployment groups operation.
type BatchGetDeploymentGroupsInput struct {
_ struct{} `type:"structure"`
@@ -3336,6 +3462,18 @@ func (s *BatchGetDeploymentGroupsInput) Validate() error {
return nil
}
+// SetApplicationName sets the ApplicationName field's value.
+func (s *BatchGetDeploymentGroupsInput) SetApplicationName(v string) *BatchGetDeploymentGroupsInput {
+ s.ApplicationName = &v
+ return s
+}
+
+// SetDeploymentGroupNames sets the DeploymentGroupNames field's value.
+func (s *BatchGetDeploymentGroupsInput) SetDeploymentGroupNames(v []*string) *BatchGetDeploymentGroupsInput {
+ s.DeploymentGroupNames = v
+ return s
+}
+
// Represents the output of a batch get deployment groups operation.
type BatchGetDeploymentGroupsOutput struct {
_ struct{} `type:"structure"`
@@ -3357,6 +3495,18 @@ func (s BatchGetDeploymentGroupsOutput) GoString() string {
return s.String()
}
+// SetDeploymentGroupsInfo sets the DeploymentGroupsInfo field's value.
+func (s *BatchGetDeploymentGroupsOutput) SetDeploymentGroupsInfo(v []*DeploymentGroupInfo) *BatchGetDeploymentGroupsOutput {
+ s.DeploymentGroupsInfo = v
+ return s
+}
+
+// SetErrorMessage sets the ErrorMessage field's value.
+func (s *BatchGetDeploymentGroupsOutput) SetErrorMessage(v string) *BatchGetDeploymentGroupsOutput {
+ s.ErrorMessage = &v
+ return s
+}
+
// Represents the input of a batch get deployment instances operation.
type BatchGetDeploymentInstancesInput struct {
_ struct{} `type:"structure"`
@@ -3398,6 +3548,18 @@ func (s *BatchGetDeploymentInstancesInput) Validate() error {
return nil
}
+// SetDeploymentId sets the DeploymentId field's value.
+func (s *BatchGetDeploymentInstancesInput) SetDeploymentId(v string) *BatchGetDeploymentInstancesInput {
+ s.DeploymentId = &v
+ return s
+}
+
+// SetInstanceIds sets the InstanceIds field's value.
+func (s *BatchGetDeploymentInstancesInput) SetInstanceIds(v []*string) *BatchGetDeploymentInstancesInput {
+ s.InstanceIds = v
+ return s
+}
+
// Represents the output of a batch get deployment instance operation.
type BatchGetDeploymentInstancesOutput struct {
_ struct{} `type:"structure"`
@@ -3419,6 +3581,18 @@ func (s BatchGetDeploymentInstancesOutput) GoString() string {
return s.String()
}
+// SetErrorMessage sets the ErrorMessage field's value.
+func (s *BatchGetDeploymentInstancesOutput) SetErrorMessage(v string) *BatchGetDeploymentInstancesOutput {
+ s.ErrorMessage = &v
+ return s
+}
+
+// SetInstancesSummary sets the InstancesSummary field's value.
+func (s *BatchGetDeploymentInstancesOutput) SetInstancesSummary(v []*InstanceSummary) *BatchGetDeploymentInstancesOutput {
+ s.InstancesSummary = v
+ return s
+}
+
// Represents the input of a batch get deployments operation.
type BatchGetDeploymentsInput struct {
_ struct{} `type:"structure"`
@@ -3437,6 +3611,12 @@ func (s BatchGetDeploymentsInput) GoString() string {
return s.String()
}
+// SetDeploymentIds sets the DeploymentIds field's value.
+func (s *BatchGetDeploymentsInput) SetDeploymentIds(v []*string) *BatchGetDeploymentsInput {
+ s.DeploymentIds = v
+ return s
+}
+
// Represents the output of a batch get deployments operation.
type BatchGetDeploymentsOutput struct {
_ struct{} `type:"structure"`
@@ -3455,6 +3635,12 @@ func (s BatchGetDeploymentsOutput) GoString() string {
return s.String()
}
+// SetDeploymentsInfo sets the DeploymentsInfo field's value.
+func (s *BatchGetDeploymentsOutput) SetDeploymentsInfo(v []*DeploymentInfo) *BatchGetDeploymentsOutput {
+ s.DeploymentsInfo = v
+ return s
+}
+
// Represents the input of a batch get on-premises instances operation.
type BatchGetOnPremisesInstancesInput struct {
_ struct{} `type:"structure"`
@@ -3473,6 +3659,12 @@ func (s BatchGetOnPremisesInstancesInput) GoString() string {
return s.String()
}
+// SetInstanceNames sets the InstanceNames field's value.
+func (s *BatchGetOnPremisesInstancesInput) SetInstanceNames(v []*string) *BatchGetOnPremisesInstancesInput {
+ s.InstanceNames = v
+ return s
+}
+
// Represents the output of a batch get on-premises instances operation.
type BatchGetOnPremisesInstancesOutput struct {
_ struct{} `type:"structure"`
@@ -3491,6 +3683,12 @@ func (s BatchGetOnPremisesInstancesOutput) GoString() string {
return s.String()
}
+// SetInstanceInfos sets the InstanceInfos field's value.
+func (s *BatchGetOnPremisesInstancesOutput) SetInstanceInfos(v []*InstanceInfo) *BatchGetOnPremisesInstancesOutput {
+ s.InstanceInfos = v
+ return s
+}
+
// Represents the input of a create application operation.
type CreateApplicationInput struct {
_ struct{} `type:"structure"`
@@ -3528,6 +3726,12 @@ func (s *CreateApplicationInput) Validate() error {
return nil
}
+// SetApplicationName sets the ApplicationName field's value.
+func (s *CreateApplicationInput) SetApplicationName(v string) *CreateApplicationInput {
+ s.ApplicationName = &v
+ return s
+}
+
// Represents the output of a create application operation.
type CreateApplicationOutput struct {
_ struct{} `type:"structure"`
@@ -3546,6 +3750,12 @@ func (s CreateApplicationOutput) GoString() string {
return s.String()
}
+// SetApplicationId sets the ApplicationId field's value.
+func (s *CreateApplicationOutput) SetApplicationId(v string) *CreateApplicationOutput {
+ s.ApplicationId = &v
+ return s
+}
+
// Represents the input of a create deployment configuration operation.
type CreateDeploymentConfigInput struct {
_ struct{} `type:"structure"`
@@ -3603,6 +3813,18 @@ func (s *CreateDeploymentConfigInput) Validate() error {
return nil
}
+// SetDeploymentConfigName sets the DeploymentConfigName field's value.
+func (s *CreateDeploymentConfigInput) SetDeploymentConfigName(v string) *CreateDeploymentConfigInput {
+ s.DeploymentConfigName = &v
+ return s
+}
+
+// SetMinimumHealthyHosts sets the MinimumHealthyHosts field's value.
+func (s *CreateDeploymentConfigInput) SetMinimumHealthyHosts(v *MinimumHealthyHosts) *CreateDeploymentConfigInput {
+ s.MinimumHealthyHosts = v
+ return s
+}
+
// Represents the output of a create deployment configuration operation.
type CreateDeploymentConfigOutput struct {
_ struct{} `type:"structure"`
@@ -3621,6 +3843,12 @@ func (s CreateDeploymentConfigOutput) GoString() string {
return s.String()
}
+// SetDeploymentConfigId sets the DeploymentConfigId field's value.
+func (s *CreateDeploymentConfigOutput) SetDeploymentConfigId(v string) *CreateDeploymentConfigOutput {
+ s.DeploymentConfigId = &v
+ return s
+}
+
// Represents the input of a create deployment group operation.
type CreateDeploymentGroupInput struct {
_ struct{} `type:"structure"`
@@ -3757,6 +3985,66 @@ func (s *CreateDeploymentGroupInput) Validate() error {
return nil
}
+// SetAlarmConfiguration sets the AlarmConfiguration field's value.
+func (s *CreateDeploymentGroupInput) SetAlarmConfiguration(v *AlarmConfiguration) *CreateDeploymentGroupInput {
+ s.AlarmConfiguration = v
+ return s
+}
+
+// SetApplicationName sets the ApplicationName field's value.
+func (s *CreateDeploymentGroupInput) SetApplicationName(v string) *CreateDeploymentGroupInput {
+ s.ApplicationName = &v
+ return s
+}
+
+// SetAutoRollbackConfiguration sets the AutoRollbackConfiguration field's value.
+func (s *CreateDeploymentGroupInput) SetAutoRollbackConfiguration(v *AutoRollbackConfiguration) *CreateDeploymentGroupInput {
+ s.AutoRollbackConfiguration = v
+ return s
+}
+
+// SetAutoScalingGroups sets the AutoScalingGroups field's value.
+func (s *CreateDeploymentGroupInput) SetAutoScalingGroups(v []*string) *CreateDeploymentGroupInput {
+ s.AutoScalingGroups = v
+ return s
+}
+
+// SetDeploymentConfigName sets the DeploymentConfigName field's value.
+func (s *CreateDeploymentGroupInput) SetDeploymentConfigName(v string) *CreateDeploymentGroupInput {
+ s.DeploymentConfigName = &v
+ return s
+}
+
+// SetDeploymentGroupName sets the DeploymentGroupName field's value.
+func (s *CreateDeploymentGroupInput) SetDeploymentGroupName(v string) *CreateDeploymentGroupInput {
+ s.DeploymentGroupName = &v
+ return s
+}
+
+// SetEc2TagFilters sets the Ec2TagFilters field's value.
+func (s *CreateDeploymentGroupInput) SetEc2TagFilters(v []*EC2TagFilter) *CreateDeploymentGroupInput {
+ s.Ec2TagFilters = v
+ return s
+}
+
+// SetOnPremisesInstanceTagFilters sets the OnPremisesInstanceTagFilters field's value.
+func (s *CreateDeploymentGroupInput) SetOnPremisesInstanceTagFilters(v []*TagFilter) *CreateDeploymentGroupInput {
+ s.OnPremisesInstanceTagFilters = v
+ return s
+}
+
+// SetServiceRoleArn sets the ServiceRoleArn field's value.
+func (s *CreateDeploymentGroupInput) SetServiceRoleArn(v string) *CreateDeploymentGroupInput {
+ s.ServiceRoleArn = &v
+ return s
+}
+
+// SetTriggerConfigurations sets the TriggerConfigurations field's value.
+func (s *CreateDeploymentGroupInput) SetTriggerConfigurations(v []*TriggerConfig) *CreateDeploymentGroupInput {
+ s.TriggerConfigurations = v
+ return s
+}
+
// Represents the output of a create deployment group operation.
type CreateDeploymentGroupOutput struct {
_ struct{} `type:"structure"`
@@ -3775,6 +4063,12 @@ func (s CreateDeploymentGroupOutput) GoString() string {
return s.String()
}
+// SetDeploymentGroupId sets the DeploymentGroupId field's value.
+func (s *CreateDeploymentGroupOutput) SetDeploymentGroupId(v string) *CreateDeploymentGroupOutput {
+ s.DeploymentGroupId = &v
+ return s
+}
+
// Represents the input of a create deployment operation.
type CreateDeploymentInput struct {
_ struct{} `type:"structure"`
@@ -3854,6 +4148,54 @@ func (s *CreateDeploymentInput) Validate() error {
return nil
}
+// SetApplicationName sets the ApplicationName field's value.
+func (s *CreateDeploymentInput) SetApplicationName(v string) *CreateDeploymentInput {
+ s.ApplicationName = &v
+ return s
+}
+
+// SetAutoRollbackConfiguration sets the AutoRollbackConfiguration field's value.
+func (s *CreateDeploymentInput) SetAutoRollbackConfiguration(v *AutoRollbackConfiguration) *CreateDeploymentInput {
+ s.AutoRollbackConfiguration = v
+ return s
+}
+
+// SetDeploymentConfigName sets the DeploymentConfigName field's value.
+func (s *CreateDeploymentInput) SetDeploymentConfigName(v string) *CreateDeploymentInput {
+ s.DeploymentConfigName = &v
+ return s
+}
+
+// SetDeploymentGroupName sets the DeploymentGroupName field's value.
+func (s *CreateDeploymentInput) SetDeploymentGroupName(v string) *CreateDeploymentInput {
+ s.DeploymentGroupName = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *CreateDeploymentInput) SetDescription(v string) *CreateDeploymentInput {
+ s.Description = &v
+ return s
+}
+
+// SetIgnoreApplicationStopFailures sets the IgnoreApplicationStopFailures field's value.
+func (s *CreateDeploymentInput) SetIgnoreApplicationStopFailures(v bool) *CreateDeploymentInput {
+ s.IgnoreApplicationStopFailures = &v
+ return s
+}
+
+// SetRevision sets the Revision field's value.
+func (s *CreateDeploymentInput) SetRevision(v *RevisionLocation) *CreateDeploymentInput {
+ s.Revision = v
+ return s
+}
+
+// SetUpdateOutdatedInstancesOnly sets the UpdateOutdatedInstancesOnly field's value.
+func (s *CreateDeploymentInput) SetUpdateOutdatedInstancesOnly(v bool) *CreateDeploymentInput {
+ s.UpdateOutdatedInstancesOnly = &v
+ return s
+}
+
// Represents the output of a create deployment operation.
type CreateDeploymentOutput struct {
_ struct{} `type:"structure"`
@@ -3872,6 +4214,12 @@ func (s CreateDeploymentOutput) GoString() string {
return s.String()
}
+// SetDeploymentId sets the DeploymentId field's value.
+func (s *CreateDeploymentOutput) SetDeploymentId(v string) *CreateDeploymentOutput {
+ s.DeploymentId = &v
+ return s
+}
+
// Represents the input of a delete application operation.
type DeleteApplicationInput struct {
_ struct{} `type:"structure"`
@@ -3909,6 +4257,12 @@ func (s *DeleteApplicationInput) Validate() error {
return nil
}
+// SetApplicationName sets the ApplicationName field's value.
+func (s *DeleteApplicationInput) SetApplicationName(v string) *DeleteApplicationInput {
+ s.ApplicationName = &v
+ return s
+}
+
type DeleteApplicationOutput struct {
_ struct{} `type:"structure"`
}
@@ -3960,6 +4314,12 @@ func (s *DeleteDeploymentConfigInput) Validate() error {
return nil
}
+// SetDeploymentConfigName sets the DeploymentConfigName field's value.
+func (s *DeleteDeploymentConfigInput) SetDeploymentConfigName(v string) *DeleteDeploymentConfigInput {
+ s.DeploymentConfigName = &v
+ return s
+}
+
type DeleteDeploymentConfigOutput struct {
_ struct{} `type:"structure"`
}
@@ -4022,6 +4382,18 @@ func (s *DeleteDeploymentGroupInput) Validate() error {
return nil
}
+// SetApplicationName sets the ApplicationName field's value.
+func (s *DeleteDeploymentGroupInput) SetApplicationName(v string) *DeleteDeploymentGroupInput {
+ s.ApplicationName = &v
+ return s
+}
+
+// SetDeploymentGroupName sets the DeploymentGroupName field's value.
+func (s *DeleteDeploymentGroupInput) SetDeploymentGroupName(v string) *DeleteDeploymentGroupInput {
+ s.DeploymentGroupName = &v
+ return s
+}
+
// Represents the output of a delete deployment group operation.
type DeleteDeploymentGroupOutput struct {
_ struct{} `type:"structure"`
@@ -4045,6 +4417,12 @@ func (s DeleteDeploymentGroupOutput) GoString() string {
return s.String()
}
+// SetHooksNotCleanedUp sets the HooksNotCleanedUp field's value.
+func (s *DeleteDeploymentGroupOutput) SetHooksNotCleanedUp(v []*AutoScalingGroup) *DeleteDeploymentGroupOutput {
+ s.HooksNotCleanedUp = v
+ return s
+}
+
// Information about a deployment configuration.
type DeploymentConfigInfo struct {
_ struct{} `type:"structure"`
@@ -4072,6 +4450,30 @@ func (s DeploymentConfigInfo) GoString() string {
return s.String()
}
+// SetCreateTime sets the CreateTime field's value.
+func (s *DeploymentConfigInfo) SetCreateTime(v time.Time) *DeploymentConfigInfo {
+ s.CreateTime = &v
+ return s
+}
+
+// SetDeploymentConfigId sets the DeploymentConfigId field's value.
+func (s *DeploymentConfigInfo) SetDeploymentConfigId(v string) *DeploymentConfigInfo {
+ s.DeploymentConfigId = &v
+ return s
+}
+
+// SetDeploymentConfigName sets the DeploymentConfigName field's value.
+func (s *DeploymentConfigInfo) SetDeploymentConfigName(v string) *DeploymentConfigInfo {
+ s.DeploymentConfigName = &v
+ return s
+}
+
+// SetMinimumHealthyHosts sets the MinimumHealthyHosts field's value.
+func (s *DeploymentConfigInfo) SetMinimumHealthyHosts(v *MinimumHealthyHosts) *DeploymentConfigInfo {
+ s.MinimumHealthyHosts = v
+ return s
+}
+
// Information about a deployment group.
type DeploymentGroupInfo struct {
_ struct{} `type:"structure"`
@@ -4125,6 +4527,78 @@ func (s DeploymentGroupInfo) GoString() string {
return s.String()
}
+// SetAlarmConfiguration sets the AlarmConfiguration field's value.
+func (s *DeploymentGroupInfo) SetAlarmConfiguration(v *AlarmConfiguration) *DeploymentGroupInfo {
+ s.AlarmConfiguration = v
+ return s
+}
+
+// SetApplicationName sets the ApplicationName field's value.
+func (s *DeploymentGroupInfo) SetApplicationName(v string) *DeploymentGroupInfo {
+ s.ApplicationName = &v
+ return s
+}
+
+// SetAutoRollbackConfiguration sets the AutoRollbackConfiguration field's value.
+func (s *DeploymentGroupInfo) SetAutoRollbackConfiguration(v *AutoRollbackConfiguration) *DeploymentGroupInfo {
+ s.AutoRollbackConfiguration = v
+ return s
+}
+
+// SetAutoScalingGroups sets the AutoScalingGroups field's value.
+func (s *DeploymentGroupInfo) SetAutoScalingGroups(v []*AutoScalingGroup) *DeploymentGroupInfo {
+ s.AutoScalingGroups = v
+ return s
+}
+
+// SetDeploymentConfigName sets the DeploymentConfigName field's value.
+func (s *DeploymentGroupInfo) SetDeploymentConfigName(v string) *DeploymentGroupInfo {
+ s.DeploymentConfigName = &v
+ return s
+}
+
+// SetDeploymentGroupId sets the DeploymentGroupId field's value.
+func (s *DeploymentGroupInfo) SetDeploymentGroupId(v string) *DeploymentGroupInfo {
+ s.DeploymentGroupId = &v
+ return s
+}
+
+// SetDeploymentGroupName sets the DeploymentGroupName field's value.
+func (s *DeploymentGroupInfo) SetDeploymentGroupName(v string) *DeploymentGroupInfo {
+ s.DeploymentGroupName = &v
+ return s
+}
+
+// SetEc2TagFilters sets the Ec2TagFilters field's value.
+func (s *DeploymentGroupInfo) SetEc2TagFilters(v []*EC2TagFilter) *DeploymentGroupInfo {
+ s.Ec2TagFilters = v
+ return s
+}
+
+// SetOnPremisesInstanceTagFilters sets the OnPremisesInstanceTagFilters field's value.
+func (s *DeploymentGroupInfo) SetOnPremisesInstanceTagFilters(v []*TagFilter) *DeploymentGroupInfo {
+ s.OnPremisesInstanceTagFilters = v
+ return s
+}
+
+// SetServiceRoleArn sets the ServiceRoleArn field's value.
+func (s *DeploymentGroupInfo) SetServiceRoleArn(v string) *DeploymentGroupInfo {
+ s.ServiceRoleArn = &v
+ return s
+}
+
+// SetTargetRevision sets the TargetRevision field's value.
+func (s *DeploymentGroupInfo) SetTargetRevision(v *RevisionLocation) *DeploymentGroupInfo {
+ s.TargetRevision = v
+ return s
+}
+
+// SetTriggerConfigurations sets the TriggerConfigurations field's value.
+func (s *DeploymentGroupInfo) SetTriggerConfigurations(v []*TriggerConfig) *DeploymentGroupInfo {
+ s.TriggerConfigurations = v
+ return s
+}
+
// Information about a deployment.
type DeploymentInfo struct {
_ struct{} `type:"structure"`
@@ -4213,6 +4687,108 @@ func (s DeploymentInfo) GoString() string {
return s.String()
}
+// SetApplicationName sets the ApplicationName field's value.
+func (s *DeploymentInfo) SetApplicationName(v string) *DeploymentInfo {
+ s.ApplicationName = &v
+ return s
+}
+
+// SetAutoRollbackConfiguration sets the AutoRollbackConfiguration field's value.
+func (s *DeploymentInfo) SetAutoRollbackConfiguration(v *AutoRollbackConfiguration) *DeploymentInfo {
+ s.AutoRollbackConfiguration = v
+ return s
+}
+
+// SetCompleteTime sets the CompleteTime field's value.
+func (s *DeploymentInfo) SetCompleteTime(v time.Time) *DeploymentInfo {
+ s.CompleteTime = &v
+ return s
+}
+
+// SetCreateTime sets the CreateTime field's value.
+func (s *DeploymentInfo) SetCreateTime(v time.Time) *DeploymentInfo {
+ s.CreateTime = &v
+ return s
+}
+
+// SetCreator sets the Creator field's value.
+func (s *DeploymentInfo) SetCreator(v string) *DeploymentInfo {
+ s.Creator = &v
+ return s
+}
+
+// SetDeploymentConfigName sets the DeploymentConfigName field's value.
+func (s *DeploymentInfo) SetDeploymentConfigName(v string) *DeploymentInfo {
+ s.DeploymentConfigName = &v
+ return s
+}
+
+// SetDeploymentGroupName sets the DeploymentGroupName field's value.
+func (s *DeploymentInfo) SetDeploymentGroupName(v string) *DeploymentInfo {
+ s.DeploymentGroupName = &v
+ return s
+}
+
+// SetDeploymentId sets the DeploymentId field's value.
+func (s *DeploymentInfo) SetDeploymentId(v string) *DeploymentInfo {
+ s.DeploymentId = &v
+ return s
+}
+
+// SetDeploymentOverview sets the DeploymentOverview field's value.
+func (s *DeploymentInfo) SetDeploymentOverview(v *DeploymentOverview) *DeploymentInfo {
+ s.DeploymentOverview = v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *DeploymentInfo) SetDescription(v string) *DeploymentInfo {
+ s.Description = &v
+ return s
+}
+
+// SetErrorInformation sets the ErrorInformation field's value.
+func (s *DeploymentInfo) SetErrorInformation(v *ErrorInformation) *DeploymentInfo {
+ s.ErrorInformation = v
+ return s
+}
+
+// SetIgnoreApplicationStopFailures sets the IgnoreApplicationStopFailures field's value.
+func (s *DeploymentInfo) SetIgnoreApplicationStopFailures(v bool) *DeploymentInfo {
+ s.IgnoreApplicationStopFailures = &v
+ return s
+}
+
+// SetRevision sets the Revision field's value.
+func (s *DeploymentInfo) SetRevision(v *RevisionLocation) *DeploymentInfo {
+ s.Revision = v
+ return s
+}
+
+// SetRollbackInfo sets the RollbackInfo field's value.
+func (s *DeploymentInfo) SetRollbackInfo(v *RollbackInfo) *DeploymentInfo {
+ s.RollbackInfo = v
+ return s
+}
+
+// SetStartTime sets the StartTime field's value.
+func (s *DeploymentInfo) SetStartTime(v time.Time) *DeploymentInfo {
+ s.StartTime = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *DeploymentInfo) SetStatus(v string) *DeploymentInfo {
+ s.Status = &v
+ return s
+}
+
+// SetUpdateOutdatedInstancesOnly sets the UpdateOutdatedInstancesOnly field's value.
+func (s *DeploymentInfo) SetUpdateOutdatedInstancesOnly(v bool) *DeploymentInfo {
+ s.UpdateOutdatedInstancesOnly = &v
+ return s
+}
+
// Information about the deployment status of the instances in the deployment.
type DeploymentOverview struct {
_ struct{} `type:"structure"`
@@ -4244,6 +4820,36 @@ func (s DeploymentOverview) GoString() string {
return s.String()
}
+// SetFailed sets the Failed field's value.
+func (s *DeploymentOverview) SetFailed(v int64) *DeploymentOverview {
+ s.Failed = &v
+ return s
+}
+
+// SetInProgress sets the InProgress field's value.
+func (s *DeploymentOverview) SetInProgress(v int64) *DeploymentOverview {
+ s.InProgress = &v
+ return s
+}
+
+// SetPending sets the Pending field's value.
+func (s *DeploymentOverview) SetPending(v int64) *DeploymentOverview {
+ s.Pending = &v
+ return s
+}
+
+// SetSkipped sets the Skipped field's value.
+func (s *DeploymentOverview) SetSkipped(v int64) *DeploymentOverview {
+ s.Skipped = &v
+ return s
+}
+
+// SetSucceeded sets the Succeeded field's value.
+func (s *DeploymentOverview) SetSucceeded(v int64) *DeploymentOverview {
+ s.Succeeded = &v
+ return s
+}
+
// Represents the input of a deregister on-premises instance operation.
type DeregisterOnPremisesInstanceInput struct {
_ struct{} `type:"structure"`
@@ -4277,6 +4883,12 @@ func (s *DeregisterOnPremisesInstanceInput) Validate() error {
return nil
}
+// SetInstanceName sets the InstanceName field's value.
+func (s *DeregisterOnPremisesInstanceInput) SetInstanceName(v string) *DeregisterOnPremisesInstanceInput {
+ s.InstanceName = &v
+ return s
+}
+
type DeregisterOnPremisesInstanceOutput struct {
_ struct{} `type:"structure"`
}
@@ -4335,6 +4947,30 @@ func (s Diagnostics) GoString() string {
return s.String()
}
+// SetErrorCode sets the ErrorCode field's value.
+func (s *Diagnostics) SetErrorCode(v string) *Diagnostics {
+ s.ErrorCode = &v
+ return s
+}
+
+// SetLogTail sets the LogTail field's value.
+func (s *Diagnostics) SetLogTail(v string) *Diagnostics {
+ s.LogTail = &v
+ return s
+}
+
+// SetMessage sets the Message field's value.
+func (s *Diagnostics) SetMessage(v string) *Diagnostics {
+ s.Message = &v
+ return s
+}
+
+// SetScriptName sets the ScriptName field's value.
+func (s *Diagnostics) SetScriptName(v string) *Diagnostics {
+ s.ScriptName = &v
+ return s
+}
+
// Information about a tag filter.
type EC2TagFilter struct {
_ struct{} `type:"structure"`
@@ -4365,6 +5001,24 @@ func (s EC2TagFilter) GoString() string {
return s.String()
}
+// SetKey sets the Key field's value.
+func (s *EC2TagFilter) SetKey(v string) *EC2TagFilter {
+ s.Key = &v
+ return s
+}
+
+// SetType sets the Type field's value.
+func (s *EC2TagFilter) SetType(v string) *EC2TagFilter {
+ s.Type = &v
+ return s
+}
+
+// SetValue sets the Value field's value.
+func (s *EC2TagFilter) SetValue(v string) *EC2TagFilter {
+ s.Value = &v
+ return s
+}
+
// Information about a deployment error.
type ErrorInformation struct {
_ struct{} `type:"structure"`
@@ -4422,6 +5076,18 @@ func (s ErrorInformation) GoString() string {
return s.String()
}
+// SetCode sets the Code field's value.
+func (s *ErrorInformation) SetCode(v string) *ErrorInformation {
+ s.Code = &v
+ return s
+}
+
+// SetMessage sets the Message field's value.
+func (s *ErrorInformation) SetMessage(v string) *ErrorInformation {
+ s.Message = &v
+ return s
+}
+
// Information about an application revision.
type GenericRevisionInfo struct {
_ struct{} `type:"structure"`
@@ -4452,6 +5118,36 @@ func (s GenericRevisionInfo) GoString() string {
return s.String()
}
+// SetDeploymentGroups sets the DeploymentGroups field's value.
+func (s *GenericRevisionInfo) SetDeploymentGroups(v []*string) *GenericRevisionInfo {
+ s.DeploymentGroups = v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *GenericRevisionInfo) SetDescription(v string) *GenericRevisionInfo {
+ s.Description = &v
+ return s
+}
+
+// SetFirstUsedTime sets the FirstUsedTime field's value.
+func (s *GenericRevisionInfo) SetFirstUsedTime(v time.Time) *GenericRevisionInfo {
+ s.FirstUsedTime = &v
+ return s
+}
+
+// SetLastUsedTime sets the LastUsedTime field's value.
+func (s *GenericRevisionInfo) SetLastUsedTime(v time.Time) *GenericRevisionInfo {
+ s.LastUsedTime = &v
+ return s
+}
+
+// SetRegisterTime sets the RegisterTime field's value.
+func (s *GenericRevisionInfo) SetRegisterTime(v time.Time) *GenericRevisionInfo {
+ s.RegisterTime = &v
+ return s
+}
+
// Represents the input of a get application operation.
type GetApplicationInput struct {
_ struct{} `type:"structure"`
@@ -4489,6 +5185,12 @@ func (s *GetApplicationInput) Validate() error {
return nil
}
+// SetApplicationName sets the ApplicationName field's value.
+func (s *GetApplicationInput) SetApplicationName(v string) *GetApplicationInput {
+ s.ApplicationName = &v
+ return s
+}
+
// Represents the output of a get application operation.
type GetApplicationOutput struct {
_ struct{} `type:"structure"`
@@ -4507,6 +5209,12 @@ func (s GetApplicationOutput) GoString() string {
return s.String()
}
+// SetApplication sets the Application field's value.
+func (s *GetApplicationOutput) SetApplication(v *ApplicationInfo) *GetApplicationOutput {
+ s.Application = v
+ return s
+}
+
// Represents the input of a get application revision operation.
type GetApplicationRevisionInput struct {
_ struct{} `type:"structure"`
@@ -4551,6 +5259,18 @@ func (s *GetApplicationRevisionInput) Validate() error {
return nil
}
+// SetApplicationName sets the ApplicationName field's value.
+func (s *GetApplicationRevisionInput) SetApplicationName(v string) *GetApplicationRevisionInput {
+ s.ApplicationName = &v
+ return s
+}
+
+// SetRevision sets the Revision field's value.
+func (s *GetApplicationRevisionInput) SetRevision(v *RevisionLocation) *GetApplicationRevisionInput {
+ s.Revision = v
+ return s
+}
+
// Represents the output of a get application revision operation.
type GetApplicationRevisionOutput struct {
_ struct{} `type:"structure"`
@@ -4575,6 +5295,24 @@ func (s GetApplicationRevisionOutput) GoString() string {
return s.String()
}
+// SetApplicationName sets the ApplicationName field's value.
+func (s *GetApplicationRevisionOutput) SetApplicationName(v string) *GetApplicationRevisionOutput {
+ s.ApplicationName = &v
+ return s
+}
+
+// SetRevision sets the Revision field's value.
+func (s *GetApplicationRevisionOutput) SetRevision(v *RevisionLocation) *GetApplicationRevisionOutput {
+ s.Revision = v
+ return s
+}
+
+// SetRevisionInfo sets the RevisionInfo field's value.
+func (s *GetApplicationRevisionOutput) SetRevisionInfo(v *GenericRevisionInfo) *GetApplicationRevisionOutput {
+ s.RevisionInfo = v
+ return s
+}
+
// Represents the input of a get deployment configuration operation.
type GetDeploymentConfigInput struct {
_ struct{} `type:"structure"`
@@ -4612,6 +5350,12 @@ func (s *GetDeploymentConfigInput) Validate() error {
return nil
}
+// SetDeploymentConfigName sets the DeploymentConfigName field's value.
+func (s *GetDeploymentConfigInput) SetDeploymentConfigName(v string) *GetDeploymentConfigInput {
+ s.DeploymentConfigName = &v
+ return s
+}
+
// Represents the output of a get deployment configuration operation.
type GetDeploymentConfigOutput struct {
_ struct{} `type:"structure"`
@@ -4630,6 +5374,12 @@ func (s GetDeploymentConfigOutput) GoString() string {
return s.String()
}
+// SetDeploymentConfigInfo sets the DeploymentConfigInfo field's value.
+func (s *GetDeploymentConfigOutput) SetDeploymentConfigInfo(v *DeploymentConfigInfo) *GetDeploymentConfigOutput {
+ s.DeploymentConfigInfo = v
+ return s
+}
+
// Represents the input of a get deployment group operation.
type GetDeploymentGroupInput struct {
_ struct{} `type:"structure"`
@@ -4678,6 +5428,18 @@ func (s *GetDeploymentGroupInput) Validate() error {
return nil
}
+// SetApplicationName sets the ApplicationName field's value.
+func (s *GetDeploymentGroupInput) SetApplicationName(v string) *GetDeploymentGroupInput {
+ s.ApplicationName = &v
+ return s
+}
+
+// SetDeploymentGroupName sets the DeploymentGroupName field's value.
+func (s *GetDeploymentGroupInput) SetDeploymentGroupName(v string) *GetDeploymentGroupInput {
+ s.DeploymentGroupName = &v
+ return s
+}
+
// Represents the output of a get deployment group operation.
type GetDeploymentGroupOutput struct {
_ struct{} `type:"structure"`
@@ -4696,6 +5458,12 @@ func (s GetDeploymentGroupOutput) GoString() string {
return s.String()
}
+// SetDeploymentGroupInfo sets the DeploymentGroupInfo field's value.
+func (s *GetDeploymentGroupOutput) SetDeploymentGroupInfo(v *DeploymentGroupInfo) *GetDeploymentGroupOutput {
+ s.DeploymentGroupInfo = v
+ return s
+}
+
// Represents the input of a get deployment operation.
type GetDeploymentInput struct {
_ struct{} `type:"structure"`
@@ -4729,6 +5497,12 @@ func (s *GetDeploymentInput) Validate() error {
return nil
}
+// SetDeploymentId sets the DeploymentId field's value.
+func (s *GetDeploymentInput) SetDeploymentId(v string) *GetDeploymentInput {
+ s.DeploymentId = &v
+ return s
+}
+
// Represents the input of a get deployment instance operation.
type GetDeploymentInstanceInput struct {
_ struct{} `type:"structure"`
@@ -4770,6 +5544,18 @@ func (s *GetDeploymentInstanceInput) Validate() error {
return nil
}
+// SetDeploymentId sets the DeploymentId field's value.
+func (s *GetDeploymentInstanceInput) SetDeploymentId(v string) *GetDeploymentInstanceInput {
+ s.DeploymentId = &v
+ return s
+}
+
+// SetInstanceId sets the InstanceId field's value.
+func (s *GetDeploymentInstanceInput) SetInstanceId(v string) *GetDeploymentInstanceInput {
+ s.InstanceId = &v
+ return s
+}
+
// Represents the output of a get deployment instance operation.
type GetDeploymentInstanceOutput struct {
_ struct{} `type:"structure"`
@@ -4788,6 +5574,12 @@ func (s GetDeploymentInstanceOutput) GoString() string {
return s.String()
}
+// SetInstanceSummary sets the InstanceSummary field's value.
+func (s *GetDeploymentInstanceOutput) SetInstanceSummary(v *InstanceSummary) *GetDeploymentInstanceOutput {
+ s.InstanceSummary = v
+ return s
+}
+
// Represents the output of a get deployment operation.
type GetDeploymentOutput struct {
_ struct{} `type:"structure"`
@@ -4806,6 +5598,12 @@ func (s GetDeploymentOutput) GoString() string {
return s.String()
}
+// SetDeploymentInfo sets the DeploymentInfo field's value.
+func (s *GetDeploymentOutput) SetDeploymentInfo(v *DeploymentInfo) *GetDeploymentOutput {
+ s.DeploymentInfo = v
+ return s
+}
+
// Represents the input of a get on-premises instance operation.
type GetOnPremisesInstanceInput struct {
_ struct{} `type:"structure"`
@@ -4839,6 +5637,12 @@ func (s *GetOnPremisesInstanceInput) Validate() error {
return nil
}
+// SetInstanceName sets the InstanceName field's value.
+func (s *GetOnPremisesInstanceInput) SetInstanceName(v string) *GetOnPremisesInstanceInput {
+ s.InstanceName = &v
+ return s
+}
+
// Represents the output of a get on-premises instance operation.
type GetOnPremisesInstanceOutput struct {
_ struct{} `type:"structure"`
@@ -4857,6 +5661,12 @@ func (s GetOnPremisesInstanceOutput) GoString() string {
return s.String()
}
+// SetInstanceInfo sets the InstanceInfo field's value.
+func (s *GetOnPremisesInstanceOutput) SetInstanceInfo(v *InstanceInfo) *GetOnPremisesInstanceOutput {
+ s.InstanceInfo = v
+ return s
+}
+
// Information about the location of application artifacts stored in GitHub.
type GitHubLocation struct {
_ struct{} `type:"structure"`
@@ -4882,6 +5692,18 @@ func (s GitHubLocation) GoString() string {
return s.String()
}
+// SetCommitId sets the CommitId field's value.
+func (s *GitHubLocation) SetCommitId(v string) *GitHubLocation {
+ s.CommitId = &v
+ return s
+}
+
+// SetRepository sets the Repository field's value.
+func (s *GitHubLocation) SetRepository(v string) *GitHubLocation {
+ s.Repository = &v
+ return s
+}
+
// Information about an on-premises instance.
type InstanceInfo struct {
_ struct{} `type:"structure"`
@@ -4916,6 +5738,42 @@ func (s InstanceInfo) GoString() string {
return s.String()
}
+// SetDeregisterTime sets the DeregisterTime field's value.
+func (s *InstanceInfo) SetDeregisterTime(v time.Time) *InstanceInfo {
+ s.DeregisterTime = &v
+ return s
+}
+
+// SetIamUserArn sets the IamUserArn field's value.
+func (s *InstanceInfo) SetIamUserArn(v string) *InstanceInfo {
+ s.IamUserArn = &v
+ return s
+}
+
+// SetInstanceArn sets the InstanceArn field's value.
+func (s *InstanceInfo) SetInstanceArn(v string) *InstanceInfo {
+ s.InstanceArn = &v
+ return s
+}
+
+// SetInstanceName sets the InstanceName field's value.
+func (s *InstanceInfo) SetInstanceName(v string) *InstanceInfo {
+ s.InstanceName = &v
+ return s
+}
+
+// SetRegisterTime sets the RegisterTime field's value.
+func (s *InstanceInfo) SetRegisterTime(v time.Time) *InstanceInfo {
+ s.RegisterTime = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *InstanceInfo) SetTags(v []*Tag) *InstanceInfo {
+ s.Tags = v
+ return s
+}
+
// Information about an instance in a deployment.
type InstanceSummary struct {
_ struct{} `type:"structure"`
@@ -4958,6 +5816,36 @@ func (s InstanceSummary) GoString() string {
return s.String()
}
+// SetDeploymentId sets the DeploymentId field's value.
+func (s *InstanceSummary) SetDeploymentId(v string) *InstanceSummary {
+ s.DeploymentId = &v
+ return s
+}
+
+// SetInstanceId sets the InstanceId field's value.
+func (s *InstanceSummary) SetInstanceId(v string) *InstanceSummary {
+ s.InstanceId = &v
+ return s
+}
+
+// SetLastUpdatedAt sets the LastUpdatedAt field's value.
+func (s *InstanceSummary) SetLastUpdatedAt(v time.Time) *InstanceSummary {
+ s.LastUpdatedAt = &v
+ return s
+}
+
+// SetLifecycleEvents sets the LifecycleEvents field's value.
+func (s *InstanceSummary) SetLifecycleEvents(v []*LifecycleEvent) *InstanceSummary {
+ s.LifecycleEvents = v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *InstanceSummary) SetStatus(v string) *InstanceSummary {
+ s.Status = &v
+ return s
+}
+
// Information about a deployment lifecycle event.
type LifecycleEvent struct {
_ struct{} `type:"structure"`
@@ -5001,6 +5889,36 @@ func (s LifecycleEvent) GoString() string {
return s.String()
}
+// SetDiagnostics sets the Diagnostics field's value.
+func (s *LifecycleEvent) SetDiagnostics(v *Diagnostics) *LifecycleEvent {
+ s.Diagnostics = v
+ return s
+}
+
+// SetEndTime sets the EndTime field's value.
+func (s *LifecycleEvent) SetEndTime(v time.Time) *LifecycleEvent {
+ s.EndTime = &v
+ return s
+}
+
+// SetLifecycleEventName sets the LifecycleEventName field's value.
+func (s *LifecycleEvent) SetLifecycleEventName(v string) *LifecycleEvent {
+ s.LifecycleEventName = &v
+ return s
+}
+
+// SetStartTime sets the StartTime field's value.
+func (s *LifecycleEvent) SetStartTime(v time.Time) *LifecycleEvent {
+ s.StartTime = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *LifecycleEvent) SetStatus(v string) *LifecycleEvent {
+ s.Status = &v
+ return s
+}
+
// Represents the input of a list application revisions operation.
type ListApplicationRevisionsInput struct {
_ struct{} `type:"structure"`
@@ -5085,6 +6003,48 @@ func (s *ListApplicationRevisionsInput) Validate() error {
return nil
}
+// SetApplicationName sets the ApplicationName field's value.
+func (s *ListApplicationRevisionsInput) SetApplicationName(v string) *ListApplicationRevisionsInput {
+ s.ApplicationName = &v
+ return s
+}
+
+// SetDeployed sets the Deployed field's value.
+func (s *ListApplicationRevisionsInput) SetDeployed(v string) *ListApplicationRevisionsInput {
+ s.Deployed = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListApplicationRevisionsInput) SetNextToken(v string) *ListApplicationRevisionsInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetS3Bucket sets the S3Bucket field's value.
+func (s *ListApplicationRevisionsInput) SetS3Bucket(v string) *ListApplicationRevisionsInput {
+ s.S3Bucket = &v
+ return s
+}
+
+// SetS3KeyPrefix sets the S3KeyPrefix field's value.
+func (s *ListApplicationRevisionsInput) SetS3KeyPrefix(v string) *ListApplicationRevisionsInput {
+ s.S3KeyPrefix = &v
+ return s
+}
+
+// SetSortBy sets the SortBy field's value.
+func (s *ListApplicationRevisionsInput) SetSortBy(v string) *ListApplicationRevisionsInput {
+ s.SortBy = &v
+ return s
+}
+
+// SetSortOrder sets the SortOrder field's value.
+func (s *ListApplicationRevisionsInput) SetSortOrder(v string) *ListApplicationRevisionsInput {
+ s.SortOrder = &v
+ return s
+}
+
// Represents the output of a list application revisions operation.
type ListApplicationRevisionsOutput struct {
_ struct{} `type:"structure"`
@@ -5108,6 +6068,18 @@ func (s ListApplicationRevisionsOutput) GoString() string {
return s.String()
}
+// SetNextToken sets the NextToken field's value.
+func (s *ListApplicationRevisionsOutput) SetNextToken(v string) *ListApplicationRevisionsOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetRevisions sets the Revisions field's value.
+func (s *ListApplicationRevisionsOutput) SetRevisions(v []*RevisionLocation) *ListApplicationRevisionsOutput {
+ s.Revisions = v
+ return s
+}
+
// Represents the input of a list applications operation.
type ListApplicationsInput struct {
_ struct{} `type:"structure"`
@@ -5127,6 +6099,12 @@ func (s ListApplicationsInput) GoString() string {
return s.String()
}
+// SetNextToken sets the NextToken field's value.
+func (s *ListApplicationsInput) SetNextToken(v string) *ListApplicationsInput {
+ s.NextToken = &v
+ return s
+}
+
// Represents the output of a list applications operation.
type ListApplicationsOutput struct {
_ struct{} `type:"structure"`
@@ -5150,6 +6128,18 @@ func (s ListApplicationsOutput) GoString() string {
return s.String()
}
+// SetApplications sets the Applications field's value.
+func (s *ListApplicationsOutput) SetApplications(v []*string) *ListApplicationsOutput {
+ s.Applications = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListApplicationsOutput) SetNextToken(v string) *ListApplicationsOutput {
+ s.NextToken = &v
+ return s
+}
+
// Represents the input of a list deployment configurations operation.
type ListDeploymentConfigsInput struct {
_ struct{} `type:"structure"`
@@ -5170,6 +6160,12 @@ func (s ListDeploymentConfigsInput) GoString() string {
return s.String()
}
+// SetNextToken sets the NextToken field's value.
+func (s *ListDeploymentConfigsInput) SetNextToken(v string) *ListDeploymentConfigsInput {
+ s.NextToken = &v
+ return s
+}
+
// Represents the output of a list deployment configurations operation.
type ListDeploymentConfigsOutput struct {
_ struct{} `type:"structure"`
@@ -5194,6 +6190,18 @@ func (s ListDeploymentConfigsOutput) GoString() string {
return s.String()
}
+// SetDeploymentConfigsList sets the DeploymentConfigsList field's value.
+func (s *ListDeploymentConfigsOutput) SetDeploymentConfigsList(v []*string) *ListDeploymentConfigsOutput {
+ s.DeploymentConfigsList = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListDeploymentConfigsOutput) SetNextToken(v string) *ListDeploymentConfigsOutput {
+ s.NextToken = &v
+ return s
+}
+
// Represents the input of a list deployment groups operation.
type ListDeploymentGroupsInput struct {
_ struct{} `type:"structure"`
@@ -5235,6 +6243,18 @@ func (s *ListDeploymentGroupsInput) Validate() error {
return nil
}
+// SetApplicationName sets the ApplicationName field's value.
+func (s *ListDeploymentGroupsInput) SetApplicationName(v string) *ListDeploymentGroupsInput {
+ s.ApplicationName = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListDeploymentGroupsInput) SetNextToken(v string) *ListDeploymentGroupsInput {
+ s.NextToken = &v
+ return s
+}
+
// Represents the output of a list deployment groups operation.
type ListDeploymentGroupsOutput struct {
_ struct{} `type:"structure"`
@@ -5261,6 +6281,24 @@ func (s ListDeploymentGroupsOutput) GoString() string {
return s.String()
}
+// SetApplicationName sets the ApplicationName field's value.
+func (s *ListDeploymentGroupsOutput) SetApplicationName(v string) *ListDeploymentGroupsOutput {
+ s.ApplicationName = &v
+ return s
+}
+
+// SetDeploymentGroups sets the DeploymentGroups field's value.
+func (s *ListDeploymentGroupsOutput) SetDeploymentGroups(v []*string) *ListDeploymentGroupsOutput {
+ s.DeploymentGroups = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListDeploymentGroupsOutput) SetNextToken(v string) *ListDeploymentGroupsOutput {
+ s.NextToken = &v
+ return s
+}
+
// Represents the input of a list deployment instances operation.
type ListDeploymentInstancesInput struct {
_ struct{} `type:"structure"`
@@ -5313,6 +6351,24 @@ func (s *ListDeploymentInstancesInput) Validate() error {
return nil
}
+// SetDeploymentId sets the DeploymentId field's value.
+func (s *ListDeploymentInstancesInput) SetDeploymentId(v string) *ListDeploymentInstancesInput {
+ s.DeploymentId = &v
+ return s
+}
+
+// SetInstanceStatusFilter sets the InstanceStatusFilter field's value.
+func (s *ListDeploymentInstancesInput) SetInstanceStatusFilter(v []*string) *ListDeploymentInstancesInput {
+ s.InstanceStatusFilter = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListDeploymentInstancesInput) SetNextToken(v string) *ListDeploymentInstancesInput {
+ s.NextToken = &v
+ return s
+}
+
// Represents the output of a list deployment instances operation.
type ListDeploymentInstancesOutput struct {
_ struct{} `type:"structure"`
@@ -5336,6 +6392,18 @@ func (s ListDeploymentInstancesOutput) GoString() string {
return s.String()
}
+// SetInstancesList sets the InstancesList field's value.
+func (s *ListDeploymentInstancesOutput) SetInstancesList(v []*string) *ListDeploymentInstancesOutput {
+ s.InstancesList = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListDeploymentInstancesOutput) SetNextToken(v string) *ListDeploymentInstancesOutput {
+ s.NextToken = &v
+ return s
+}
+
// Represents the input of a list deployments operation.
type ListDeploymentsInput struct {
_ struct{} `type:"structure"`
@@ -5396,6 +6464,36 @@ func (s *ListDeploymentsInput) Validate() error {
return nil
}
+// SetApplicationName sets the ApplicationName field's value.
+func (s *ListDeploymentsInput) SetApplicationName(v string) *ListDeploymentsInput {
+ s.ApplicationName = &v
+ return s
+}
+
+// SetCreateTimeRange sets the CreateTimeRange field's value.
+func (s *ListDeploymentsInput) SetCreateTimeRange(v *TimeRange) *ListDeploymentsInput {
+ s.CreateTimeRange = v
+ return s
+}
+
+// SetDeploymentGroupName sets the DeploymentGroupName field's value.
+func (s *ListDeploymentsInput) SetDeploymentGroupName(v string) *ListDeploymentsInput {
+ s.DeploymentGroupName = &v
+ return s
+}
+
+// SetIncludeOnlyStatuses sets the IncludeOnlyStatuses field's value.
+func (s *ListDeploymentsInput) SetIncludeOnlyStatuses(v []*string) *ListDeploymentsInput {
+ s.IncludeOnlyStatuses = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListDeploymentsInput) SetNextToken(v string) *ListDeploymentsInput {
+ s.NextToken = &v
+ return s
+}
+
// Represents the output of a list deployments operation.
type ListDeploymentsOutput struct {
_ struct{} `type:"structure"`
@@ -5419,6 +6517,18 @@ func (s ListDeploymentsOutput) GoString() string {
return s.String()
}
+// SetDeployments sets the Deployments field's value.
+func (s *ListDeploymentsOutput) SetDeployments(v []*string) *ListDeploymentsOutput {
+ s.Deployments = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListDeploymentsOutput) SetNextToken(v string) *ListDeploymentsOutput {
+ s.NextToken = &v
+ return s
+}
+
// Represents the input of a list on-premises instances operation.
type ListOnPremisesInstancesInput struct {
_ struct{} `type:"structure"`
@@ -5451,6 +6561,24 @@ func (s ListOnPremisesInstancesInput) GoString() string {
return s.String()
}
+// SetNextToken sets the NextToken field's value.
+func (s *ListOnPremisesInstancesInput) SetNextToken(v string) *ListOnPremisesInstancesInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetRegistrationStatus sets the RegistrationStatus field's value.
+func (s *ListOnPremisesInstancesInput) SetRegistrationStatus(v string) *ListOnPremisesInstancesInput {
+ s.RegistrationStatus = &v
+ return s
+}
+
+// SetTagFilters sets the TagFilters field's value.
+func (s *ListOnPremisesInstancesInput) SetTagFilters(v []*TagFilter) *ListOnPremisesInstancesInput {
+ s.TagFilters = v
+ return s
+}
+
// Represents the output of list on-premises instances operation.
type ListOnPremisesInstancesOutput struct {
_ struct{} `type:"structure"`
@@ -5474,6 +6602,18 @@ func (s ListOnPremisesInstancesOutput) GoString() string {
return s.String()
}
+// SetInstanceNames sets the InstanceNames field's value.
+func (s *ListOnPremisesInstancesOutput) SetInstanceNames(v []*string) *ListOnPremisesInstancesOutput {
+ s.InstanceNames = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListOnPremisesInstancesOutput) SetNextToken(v string) *ListOnPremisesInstancesOutput {
+ s.NextToken = &v
+ return s
+}
+
// Information about minimum healthy instance.
type MinimumHealthyHosts struct {
_ struct{} `type:"structure"`
@@ -5517,6 +6657,18 @@ func (s MinimumHealthyHosts) GoString() string {
return s.String()
}
+// SetType sets the Type field's value.
+func (s *MinimumHealthyHosts) SetType(v string) *MinimumHealthyHosts {
+ s.Type = &v
+ return s
+}
+
+// SetValue sets the Value field's value.
+func (s *MinimumHealthyHosts) SetValue(v int64) *MinimumHealthyHosts {
+ s.Value = &v
+ return s
+}
+
// Represents the input of a register application revision operation.
type RegisterApplicationRevisionInput struct {
_ struct{} `type:"structure"`
@@ -5566,6 +6718,24 @@ func (s *RegisterApplicationRevisionInput) Validate() error {
return nil
}
+// SetApplicationName sets the ApplicationName field's value.
+func (s *RegisterApplicationRevisionInput) SetApplicationName(v string) *RegisterApplicationRevisionInput {
+ s.ApplicationName = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *RegisterApplicationRevisionInput) SetDescription(v string) *RegisterApplicationRevisionInput {
+ s.Description = &v
+ return s
+}
+
+// SetRevision sets the Revision field's value.
+func (s *RegisterApplicationRevisionInput) SetRevision(v *RevisionLocation) *RegisterApplicationRevisionInput {
+ s.Revision = v
+ return s
+}
+
type RegisterApplicationRevisionOutput struct {
_ struct{} `type:"structure"`
}
@@ -5621,6 +6791,18 @@ func (s *RegisterOnPremisesInstanceInput) Validate() error {
return nil
}
+// SetIamUserArn sets the IamUserArn field's value.
+func (s *RegisterOnPremisesInstanceInput) SetIamUserArn(v string) *RegisterOnPremisesInstanceInput {
+ s.IamUserArn = &v
+ return s
+}
+
+// SetInstanceName sets the InstanceName field's value.
+func (s *RegisterOnPremisesInstanceInput) SetInstanceName(v string) *RegisterOnPremisesInstanceInput {
+ s.InstanceName = &v
+ return s
+}
+
type RegisterOnPremisesInstanceOutput struct {
_ struct{} `type:"structure"`
}
@@ -5676,6 +6858,18 @@ func (s *RemoveTagsFromOnPremisesInstancesInput) Validate() error {
return nil
}
+// SetInstanceNames sets the InstanceNames field's value.
+func (s *RemoveTagsFromOnPremisesInstancesInput) SetInstanceNames(v []*string) *RemoveTagsFromOnPremisesInstancesInput {
+ s.InstanceNames = v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *RemoveTagsFromOnPremisesInstancesInput) SetTags(v []*Tag) *RemoveTagsFromOnPremisesInstancesInput {
+ s.Tags = v
+ return s
+}
+
type RemoveTagsFromOnPremisesInstancesOutput struct {
_ struct{} `type:"structure"`
}
@@ -5711,6 +6905,18 @@ func (s RevisionInfo) GoString() string {
return s.String()
}
+// SetGenericRevisionInfo sets the GenericRevisionInfo field's value.
+func (s *RevisionInfo) SetGenericRevisionInfo(v *GenericRevisionInfo) *RevisionInfo {
+ s.GenericRevisionInfo = v
+ return s
+}
+
+// SetRevisionLocation sets the RevisionLocation field's value.
+func (s *RevisionInfo) SetRevisionLocation(v *RevisionLocation) *RevisionInfo {
+ s.RevisionLocation = v
+ return s
+}
+
// Information about the location of an application revision.
type RevisionLocation struct {
_ struct{} `type:"structure"`
@@ -5740,6 +6946,24 @@ func (s RevisionLocation) GoString() string {
return s.String()
}
+// SetGitHubLocation sets the GitHubLocation field's value.
+func (s *RevisionLocation) SetGitHubLocation(v *GitHubLocation) *RevisionLocation {
+ s.GitHubLocation = v
+ return s
+}
+
+// SetRevisionType sets the RevisionType field's value.
+func (s *RevisionLocation) SetRevisionType(v string) *RevisionLocation {
+ s.RevisionType = &v
+ return s
+}
+
+// SetS3Location sets the S3Location field's value.
+func (s *RevisionLocation) SetS3Location(v *S3Location) *RevisionLocation {
+ s.S3Location = v
+ return s
+}
+
// Information about a deployment rollback.
type RollbackInfo struct {
_ struct{} `type:"structure"`
@@ -5766,6 +6990,24 @@ func (s RollbackInfo) GoString() string {
return s.String()
}
+// SetRollbackDeploymentId sets the RollbackDeploymentId field's value.
+func (s *RollbackInfo) SetRollbackDeploymentId(v string) *RollbackInfo {
+ s.RollbackDeploymentId = &v
+ return s
+}
+
+// SetRollbackMessage sets the RollbackMessage field's value.
+func (s *RollbackInfo) SetRollbackMessage(v string) *RollbackInfo {
+ s.RollbackMessage = &v
+ return s
+}
+
+// SetRollbackTriggeringDeploymentId sets the RollbackTriggeringDeploymentId field's value.
+func (s *RollbackInfo) SetRollbackTriggeringDeploymentId(v string) *RollbackInfo {
+ s.RollbackTriggeringDeploymentId = &v
+ return s
+}
+
// Information about the location of application artifacts stored in Amazon
// S3.
type S3Location struct {
@@ -5812,6 +7054,36 @@ func (s S3Location) GoString() string {
return s.String()
}
+// SetBucket sets the Bucket field's value.
+func (s *S3Location) SetBucket(v string) *S3Location {
+ s.Bucket = &v
+ return s
+}
+
+// SetBundleType sets the BundleType field's value.
+func (s *S3Location) SetBundleType(v string) *S3Location {
+ s.BundleType = &v
+ return s
+}
+
+// SetETag sets the ETag field's value.
+func (s *S3Location) SetETag(v string) *S3Location {
+ s.ETag = &v
+ return s
+}
+
+// SetKey sets the Key field's value.
+func (s *S3Location) SetKey(v string) *S3Location {
+ s.Key = &v
+ return s
+}
+
+// SetVersion sets the Version field's value.
+func (s *S3Location) SetVersion(v string) *S3Location {
+ s.Version = &v
+ return s
+}
+
// Represents the input of a stop deployment operation.
type StopDeploymentInput struct {
_ struct{} `type:"structure"`
@@ -5850,6 +7122,18 @@ func (s *StopDeploymentInput) Validate() error {
return nil
}
+// SetAutoRollbackEnabled sets the AutoRollbackEnabled field's value.
+func (s *StopDeploymentInput) SetAutoRollbackEnabled(v bool) *StopDeploymentInput {
+ s.AutoRollbackEnabled = &v
+ return s
+}
+
+// SetDeploymentId sets the DeploymentId field's value.
+func (s *StopDeploymentInput) SetDeploymentId(v string) *StopDeploymentInput {
+ s.DeploymentId = &v
+ return s
+}
+
// Represents the output of a stop deployment operation.
type StopDeploymentOutput struct {
_ struct{} `type:"structure"`
@@ -5875,6 +7159,18 @@ func (s StopDeploymentOutput) GoString() string {
return s.String()
}
+// SetStatus sets the Status field's value.
+func (s *StopDeploymentOutput) SetStatus(v string) *StopDeploymentOutput {
+ s.Status = &v
+ return s
+}
+
+// SetStatusMessage sets the StatusMessage field's value.
+func (s *StopDeploymentOutput) SetStatusMessage(v string) *StopDeploymentOutput {
+ s.StatusMessage = &v
+ return s
+}
+
// Information about a tag.
type Tag struct {
_ struct{} `type:"structure"`
@@ -5896,6 +7192,18 @@ 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
+}
+
// Information about an on-premises instance tag filter.
type TagFilter struct {
_ struct{} `type:"structure"`
@@ -5926,6 +7234,24 @@ func (s TagFilter) GoString() string {
return s.String()
}
+// SetKey sets the Key field's value.
+func (s *TagFilter) SetKey(v string) *TagFilter {
+ s.Key = &v
+ return s
+}
+
+// SetType sets the Type field's value.
+func (s *TagFilter) SetType(v string) *TagFilter {
+ s.Type = &v
+ return s
+}
+
+// SetValue sets the Value field's value.
+func (s *TagFilter) SetValue(v string) *TagFilter {
+ s.Value = &v
+ return s
+}
+
// Information about a time range.
type TimeRange struct {
_ struct{} `type:"structure"`
@@ -5951,6 +7277,18 @@ func (s TimeRange) GoString() string {
return s.String()
}
+// SetEnd sets the End field's value.
+func (s *TimeRange) SetEnd(v time.Time) *TimeRange {
+ s.End = &v
+ return s
+}
+
+// SetStart sets the Start field's value.
+func (s *TimeRange) SetStart(v time.Time) *TimeRange {
+ s.Start = &v
+ return s
+}
+
// Information about notification triggers for the deployment group.
type TriggerConfig struct {
_ struct{} `type:"structure"`
@@ -5976,6 +7314,24 @@ func (s TriggerConfig) GoString() string {
return s.String()
}
+// SetTriggerEvents sets the TriggerEvents field's value.
+func (s *TriggerConfig) SetTriggerEvents(v []*string) *TriggerConfig {
+ s.TriggerEvents = v
+ return s
+}
+
+// SetTriggerName sets the TriggerName field's value.
+func (s *TriggerConfig) SetTriggerName(v string) *TriggerConfig {
+ s.TriggerName = &v
+ return s
+}
+
+// SetTriggerTargetArn sets the TriggerTargetArn field's value.
+func (s *TriggerConfig) SetTriggerTargetArn(v string) *TriggerConfig {
+ s.TriggerTargetArn = &v
+ return s
+}
+
// Represents the input of an update application operation.
type UpdateApplicationInput struct {
_ struct{} `type:"structure"`
@@ -6013,6 +7369,18 @@ func (s *UpdateApplicationInput) Validate() error {
return nil
}
+// SetApplicationName sets the ApplicationName field's value.
+func (s *UpdateApplicationInput) SetApplicationName(v string) *UpdateApplicationInput {
+ s.ApplicationName = &v
+ return s
+}
+
+// SetNewApplicationName sets the NewApplicationName field's value.
+func (s *UpdateApplicationInput) SetNewApplicationName(v string) *UpdateApplicationInput {
+ s.NewApplicationName = &v
+ return s
+}
+
type UpdateApplicationOutput struct {
_ struct{} `type:"structure"`
}
@@ -6119,6 +7487,72 @@ func (s *UpdateDeploymentGroupInput) Validate() error {
return nil
}
+// SetAlarmConfiguration sets the AlarmConfiguration field's value.
+func (s *UpdateDeploymentGroupInput) SetAlarmConfiguration(v *AlarmConfiguration) *UpdateDeploymentGroupInput {
+ s.AlarmConfiguration = v
+ return s
+}
+
+// SetApplicationName sets the ApplicationName field's value.
+func (s *UpdateDeploymentGroupInput) SetApplicationName(v string) *UpdateDeploymentGroupInput {
+ s.ApplicationName = &v
+ return s
+}
+
+// SetAutoRollbackConfiguration sets the AutoRollbackConfiguration field's value.
+func (s *UpdateDeploymentGroupInput) SetAutoRollbackConfiguration(v *AutoRollbackConfiguration) *UpdateDeploymentGroupInput {
+ s.AutoRollbackConfiguration = v
+ return s
+}
+
+// SetAutoScalingGroups sets the AutoScalingGroups field's value.
+func (s *UpdateDeploymentGroupInput) SetAutoScalingGroups(v []*string) *UpdateDeploymentGroupInput {
+ s.AutoScalingGroups = v
+ return s
+}
+
+// SetCurrentDeploymentGroupName sets the CurrentDeploymentGroupName field's value.
+func (s *UpdateDeploymentGroupInput) SetCurrentDeploymentGroupName(v string) *UpdateDeploymentGroupInput {
+ s.CurrentDeploymentGroupName = &v
+ return s
+}
+
+// SetDeploymentConfigName sets the DeploymentConfigName field's value.
+func (s *UpdateDeploymentGroupInput) SetDeploymentConfigName(v string) *UpdateDeploymentGroupInput {
+ s.DeploymentConfigName = &v
+ return s
+}
+
+// SetEc2TagFilters sets the Ec2TagFilters field's value.
+func (s *UpdateDeploymentGroupInput) SetEc2TagFilters(v []*EC2TagFilter) *UpdateDeploymentGroupInput {
+ s.Ec2TagFilters = v
+ return s
+}
+
+// SetNewDeploymentGroupName sets the NewDeploymentGroupName field's value.
+func (s *UpdateDeploymentGroupInput) SetNewDeploymentGroupName(v string) *UpdateDeploymentGroupInput {
+ s.NewDeploymentGroupName = &v
+ return s
+}
+
+// SetOnPremisesInstanceTagFilters sets the OnPremisesInstanceTagFilters field's value.
+func (s *UpdateDeploymentGroupInput) SetOnPremisesInstanceTagFilters(v []*TagFilter) *UpdateDeploymentGroupInput {
+ s.OnPremisesInstanceTagFilters = v
+ return s
+}
+
+// SetServiceRoleArn sets the ServiceRoleArn field's value.
+func (s *UpdateDeploymentGroupInput) SetServiceRoleArn(v string) *UpdateDeploymentGroupInput {
+ s.ServiceRoleArn = &v
+ return s
+}
+
+// SetTriggerConfigurations sets the TriggerConfigurations field's value.
+func (s *UpdateDeploymentGroupInput) SetTriggerConfigurations(v []*TriggerConfig) *UpdateDeploymentGroupInput {
+ s.TriggerConfigurations = v
+ return s
+}
+
// Represents the output of an update deployment group operation.
type UpdateDeploymentGroupOutput struct {
_ struct{} `type:"structure"`
@@ -6141,6 +7575,12 @@ func (s UpdateDeploymentGroupOutput) GoString() string {
return s.String()
}
+// SetHooksNotCleanedUp sets the HooksNotCleanedUp field's value.
+func (s *UpdateDeploymentGroupOutput) SetHooksNotCleanedUp(v []*AutoScalingGroup) *UpdateDeploymentGroupOutput {
+ s.HooksNotCleanedUp = v
+ return s
+}
+
const (
// ApplicationRevisionSortByRegisterTime is a ApplicationRevisionSortBy enum value
ApplicationRevisionSortByRegisterTime = "registerTime"
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 199fbb4..f10c33d 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
@@ -1945,6 +1945,24 @@ func (s AWSSessionCredentials) GoString() string {
return s.String()
}
+// SetAccessKeyId sets the AccessKeyId field's value.
+func (s *AWSSessionCredentials) SetAccessKeyId(v string) *AWSSessionCredentials {
+ s.AccessKeyId = &v
+ return s
+}
+
+// SetSecretAccessKey sets the SecretAccessKey field's value.
+func (s *AWSSessionCredentials) SetSecretAccessKey(v string) *AWSSessionCredentials {
+ s.SecretAccessKey = &v
+ return s
+}
+
+// SetSessionToken sets the SessionToken field's value.
+func (s *AWSSessionCredentials) SetSessionToken(v string) *AWSSessionCredentials {
+ s.SessionToken = &v
+ return s
+}
+
// Represents the input of an acknowledge job action.
type AcknowledgeJobInput struct {
_ struct{} `type:"structure"`
@@ -1988,6 +2006,18 @@ func (s *AcknowledgeJobInput) Validate() error {
return nil
}
+// SetJobId sets the JobId field's value.
+func (s *AcknowledgeJobInput) SetJobId(v string) *AcknowledgeJobInput {
+ s.JobId = &v
+ return s
+}
+
+// SetNonce sets the Nonce field's value.
+func (s *AcknowledgeJobInput) SetNonce(v string) *AcknowledgeJobInput {
+ s.Nonce = &v
+ return s
+}
+
// Represents the output of an acknowledge job action.
type AcknowledgeJobOutput struct {
_ struct{} `type:"structure"`
@@ -2006,6 +2036,12 @@ func (s AcknowledgeJobOutput) GoString() string {
return s.String()
}
+// SetStatus sets the Status field's value.
+func (s *AcknowledgeJobOutput) SetStatus(v string) *AcknowledgeJobOutput {
+ s.Status = &v
+ return s
+}
+
// Represents the input of an acknowledge third party job action.
type AcknowledgeThirdPartyJobInput struct {
_ struct{} `type:"structure"`
@@ -2061,6 +2097,24 @@ func (s *AcknowledgeThirdPartyJobInput) Validate() error {
return nil
}
+// SetClientToken sets the ClientToken field's value.
+func (s *AcknowledgeThirdPartyJobInput) SetClientToken(v string) *AcknowledgeThirdPartyJobInput {
+ s.ClientToken = &v
+ return s
+}
+
+// SetJobId sets the JobId field's value.
+func (s *AcknowledgeThirdPartyJobInput) SetJobId(v string) *AcknowledgeThirdPartyJobInput {
+ s.JobId = &v
+ return s
+}
+
+// SetNonce sets the Nonce field's value.
+func (s *AcknowledgeThirdPartyJobInput) SetNonce(v string) *AcknowledgeThirdPartyJobInput {
+ s.Nonce = &v
+ return s
+}
+
// Represents the output of an acknowledge third party job action.
type AcknowledgeThirdPartyJobOutput struct {
_ struct{} `type:"structure"`
@@ -2079,6 +2133,12 @@ func (s AcknowledgeThirdPartyJobOutput) GoString() string {
return s.String()
}
+// SetStatus sets the Status field's value.
+func (s *AcknowledgeThirdPartyJobOutput) SetStatus(v string) *AcknowledgeThirdPartyJobOutput {
+ s.Status = &v
+ return s
+}
+
// Represents information about an action configuration.
type ActionConfiguration struct {
_ struct{} `type:"structure"`
@@ -2097,6 +2157,12 @@ func (s ActionConfiguration) GoString() string {
return s.String()
}
+// SetConfiguration sets the Configuration field's value.
+func (s *ActionConfiguration) SetConfiguration(v map[string]*string) *ActionConfiguration {
+ s.Configuration = v
+ return s
+}
+
// Represents information about an action configuration property.
type ActionConfigurationProperty struct {
_ struct{} `type:"structure"`
@@ -2183,6 +2249,48 @@ func (s *ActionConfigurationProperty) Validate() error {
return nil
}
+// SetDescription sets the Description field's value.
+func (s *ActionConfigurationProperty) SetDescription(v string) *ActionConfigurationProperty {
+ s.Description = &v
+ return s
+}
+
+// SetKey sets the Key field's value.
+func (s *ActionConfigurationProperty) SetKey(v bool) *ActionConfigurationProperty {
+ s.Key = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *ActionConfigurationProperty) SetName(v string) *ActionConfigurationProperty {
+ s.Name = &v
+ return s
+}
+
+// SetQueryable sets the Queryable field's value.
+func (s *ActionConfigurationProperty) SetQueryable(v bool) *ActionConfigurationProperty {
+ s.Queryable = &v
+ return s
+}
+
+// SetRequired sets the Required field's value.
+func (s *ActionConfigurationProperty) SetRequired(v bool) *ActionConfigurationProperty {
+ s.Required = &v
+ return s
+}
+
+// SetSecret sets the Secret field's value.
+func (s *ActionConfigurationProperty) SetSecret(v bool) *ActionConfigurationProperty {
+ s.Secret = &v
+ return s
+}
+
+// SetType sets the Type field's value.
+func (s *ActionConfigurationProperty) SetType(v string) *ActionConfigurationProperty {
+ s.Type = &v
+ return s
+}
+
// Represents the context of an action within the stage of a pipeline to a job
// worker.
type ActionContext struct {
@@ -2202,6 +2310,12 @@ func (s ActionContext) GoString() string {
return s.String()
}
+// SetName sets the Name field's value.
+func (s *ActionContext) SetName(v string) *ActionContext {
+ s.Name = &v
+ return s
+}
+
// Represents information about an action declaration.
type ActionDeclaration struct {
_ struct{} `type:"structure"`
@@ -2292,6 +2406,48 @@ func (s *ActionDeclaration) Validate() error {
return nil
}
+// SetActionTypeId sets the ActionTypeId field's value.
+func (s *ActionDeclaration) SetActionTypeId(v *ActionTypeId) *ActionDeclaration {
+ s.ActionTypeId = v
+ return s
+}
+
+// SetConfiguration sets the Configuration field's value.
+func (s *ActionDeclaration) SetConfiguration(v map[string]*string) *ActionDeclaration {
+ s.Configuration = v
+ return s
+}
+
+// SetInputArtifacts sets the InputArtifacts field's value.
+func (s *ActionDeclaration) SetInputArtifacts(v []*InputArtifact) *ActionDeclaration {
+ s.InputArtifacts = v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *ActionDeclaration) SetName(v string) *ActionDeclaration {
+ s.Name = &v
+ return s
+}
+
+// SetOutputArtifacts sets the OutputArtifacts field's value.
+func (s *ActionDeclaration) SetOutputArtifacts(v []*OutputArtifact) *ActionDeclaration {
+ s.OutputArtifacts = v
+ return s
+}
+
+// SetRoleArn sets the RoleArn field's value.
+func (s *ActionDeclaration) SetRoleArn(v string) *ActionDeclaration {
+ s.RoleArn = &v
+ return s
+}
+
+// SetRunOrder sets the RunOrder field's value.
+func (s *ActionDeclaration) SetRunOrder(v int64) *ActionDeclaration {
+ s.RunOrder = &v
+ return s
+}
+
// Represents information about the run of an action.
type ActionExecution struct {
_ struct{} `type:"structure"`
@@ -2339,6 +2495,60 @@ func (s ActionExecution) GoString() string {
return s.String()
}
+// SetErrorDetails sets the ErrorDetails field's value.
+func (s *ActionExecution) SetErrorDetails(v *ErrorDetails) *ActionExecution {
+ s.ErrorDetails = v
+ return s
+}
+
+// SetExternalExecutionId sets the ExternalExecutionId field's value.
+func (s *ActionExecution) SetExternalExecutionId(v string) *ActionExecution {
+ s.ExternalExecutionId = &v
+ return s
+}
+
+// SetExternalExecutionUrl sets the ExternalExecutionUrl field's value.
+func (s *ActionExecution) SetExternalExecutionUrl(v string) *ActionExecution {
+ s.ExternalExecutionUrl = &v
+ return s
+}
+
+// SetLastStatusChange sets the LastStatusChange field's value.
+func (s *ActionExecution) SetLastStatusChange(v time.Time) *ActionExecution {
+ s.LastStatusChange = &v
+ return s
+}
+
+// SetLastUpdatedBy sets the LastUpdatedBy field's value.
+func (s *ActionExecution) SetLastUpdatedBy(v string) *ActionExecution {
+ s.LastUpdatedBy = &v
+ return s
+}
+
+// SetPercentComplete sets the PercentComplete field's value.
+func (s *ActionExecution) SetPercentComplete(v int64) *ActionExecution {
+ s.PercentComplete = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *ActionExecution) SetStatus(v string) *ActionExecution {
+ s.Status = &v
+ return s
+}
+
+// SetSummary sets the Summary field's value.
+func (s *ActionExecution) SetSummary(v string) *ActionExecution {
+ s.Summary = &v
+ return s
+}
+
+// SetToken sets the Token field's value.
+func (s *ActionExecution) SetToken(v string) *ActionExecution {
+ s.Token = &v
+ return s
+}
+
// Represents information about the version (or revision) of an action.
type ActionRevision struct {
_ struct{} `type:"structure"`
@@ -2397,6 +2607,24 @@ func (s *ActionRevision) Validate() error {
return nil
}
+// SetCreated sets the Created field's value.
+func (s *ActionRevision) SetCreated(v time.Time) *ActionRevision {
+ s.Created = &v
+ return s
+}
+
+// SetRevisionChangeId sets the RevisionChangeId field's value.
+func (s *ActionRevision) SetRevisionChangeId(v string) *ActionRevision {
+ s.RevisionChangeId = &v
+ return s
+}
+
+// SetRevisionId sets the RevisionId field's value.
+func (s *ActionRevision) SetRevisionId(v string) *ActionRevision {
+ s.RevisionId = &v
+ return s
+}
+
// Represents information about the state of an action.
type ActionState struct {
_ struct{} `type:"structure"`
@@ -2429,6 +2657,36 @@ func (s ActionState) GoString() string {
return s.String()
}
+// SetActionName sets the ActionName field's value.
+func (s *ActionState) SetActionName(v string) *ActionState {
+ s.ActionName = &v
+ return s
+}
+
+// SetCurrentRevision sets the CurrentRevision field's value.
+func (s *ActionState) SetCurrentRevision(v *ActionRevision) *ActionState {
+ s.CurrentRevision = v
+ return s
+}
+
+// SetEntityUrl sets the EntityUrl field's value.
+func (s *ActionState) SetEntityUrl(v string) *ActionState {
+ s.EntityUrl = &v
+ return s
+}
+
+// SetLatestExecution sets the LatestExecution field's value.
+func (s *ActionState) SetLatestExecution(v *ActionExecution) *ActionState {
+ s.LatestExecution = v
+ return s
+}
+
+// SetRevisionUrl sets the RevisionUrl field's value.
+func (s *ActionState) SetRevisionUrl(v string) *ActionState {
+ s.RevisionUrl = &v
+ return s
+}
+
// Returns information about the details of an action type.
type ActionType struct {
_ struct{} `type:"structure"`
@@ -2465,6 +2723,36 @@ func (s ActionType) GoString() string {
return s.String()
}
+// SetActionConfigurationProperties sets the ActionConfigurationProperties field's value.
+func (s *ActionType) SetActionConfigurationProperties(v []*ActionConfigurationProperty) *ActionType {
+ s.ActionConfigurationProperties = v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *ActionType) SetId(v *ActionTypeId) *ActionType {
+ s.Id = v
+ return s
+}
+
+// SetInputArtifactDetails sets the InputArtifactDetails field's value.
+func (s *ActionType) SetInputArtifactDetails(v *ArtifactDetails) *ActionType {
+ s.InputArtifactDetails = v
+ return s
+}
+
+// SetOutputArtifactDetails sets the OutputArtifactDetails field's value.
+func (s *ActionType) SetOutputArtifactDetails(v *ArtifactDetails) *ActionType {
+ s.OutputArtifactDetails = v
+ return s
+}
+
+// SetSettings sets the Settings field's value.
+func (s *ActionType) SetSettings(v *ActionTypeSettings) *ActionType {
+ s.Settings = v
+ return s
+}
+
// Represents information about an action type.
type ActionTypeId struct {
_ struct{} `type:"structure"`
@@ -2533,6 +2821,30 @@ func (s *ActionTypeId) Validate() error {
return nil
}
+// SetCategory sets the Category field's value.
+func (s *ActionTypeId) SetCategory(v string) *ActionTypeId {
+ s.Category = &v
+ return s
+}
+
+// SetOwner sets the Owner field's value.
+func (s *ActionTypeId) SetOwner(v string) *ActionTypeId {
+ s.Owner = &v
+ return s
+}
+
+// SetProvider sets the Provider field's value.
+func (s *ActionTypeId) SetProvider(v string) *ActionTypeId {
+ s.Provider = &v
+ return s
+}
+
+// SetVersion sets the Version field's value.
+func (s *ActionTypeId) SetVersion(v string) *ActionTypeId {
+ s.Version = &v
+ return s
+}
+
// Returns information about the settings for an action type.
type ActionTypeSettings struct {
_ struct{} `type:"structure"`
@@ -2592,6 +2904,30 @@ func (s *ActionTypeSettings) Validate() error {
return nil
}
+// SetEntityUrlTemplate sets the EntityUrlTemplate field's value.
+func (s *ActionTypeSettings) SetEntityUrlTemplate(v string) *ActionTypeSettings {
+ s.EntityUrlTemplate = &v
+ return s
+}
+
+// SetExecutionUrlTemplate sets the ExecutionUrlTemplate field's value.
+func (s *ActionTypeSettings) SetExecutionUrlTemplate(v string) *ActionTypeSettings {
+ s.ExecutionUrlTemplate = &v
+ return s
+}
+
+// SetRevisionUrlTemplate sets the RevisionUrlTemplate field's value.
+func (s *ActionTypeSettings) SetRevisionUrlTemplate(v string) *ActionTypeSettings {
+ s.RevisionUrlTemplate = &v
+ return s
+}
+
+// SetThirdPartyConfigurationUrl sets the ThirdPartyConfigurationUrl field's value.
+func (s *ActionTypeSettings) SetThirdPartyConfigurationUrl(v string) *ActionTypeSettings {
+ s.ThirdPartyConfigurationUrl = &v
+ return s
+}
+
// Represents information about the result of an approval request.
type ApprovalResult struct {
_ struct{} `type:"structure"`
@@ -2633,6 +2969,18 @@ func (s *ApprovalResult) Validate() error {
return nil
}
+// SetStatus sets the Status field's value.
+func (s *ApprovalResult) SetStatus(v string) *ApprovalResult {
+ s.Status = &v
+ return s
+}
+
+// SetSummary sets the Summary field's value.
+func (s *ApprovalResult) SetSummary(v string) *ApprovalResult {
+ s.Summary = &v
+ return s
+}
+
// Represents information about an artifact that will be worked upon by actions
// in the pipeline.
type Artifact struct {
@@ -2659,6 +3007,24 @@ func (s Artifact) GoString() string {
return s.String()
}
+// SetLocation sets the Location field's value.
+func (s *Artifact) SetLocation(v *ArtifactLocation) *Artifact {
+ s.Location = v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *Artifact) SetName(v string) *Artifact {
+ s.Name = &v
+ return s
+}
+
+// SetRevision sets the Revision field's value.
+func (s *Artifact) SetRevision(v string) *Artifact {
+ s.Revision = &v
+ return s
+}
+
// Returns information about the details of an artifact.
type ArtifactDetails struct {
_ struct{} `type:"structure"`
@@ -2700,6 +3066,18 @@ func (s *ArtifactDetails) Validate() error {
return nil
}
+// SetMaximumCount sets the MaximumCount field's value.
+func (s *ArtifactDetails) SetMaximumCount(v int64) *ArtifactDetails {
+ s.MaximumCount = &v
+ return s
+}
+
+// SetMinimumCount sets the MinimumCount field's value.
+func (s *ArtifactDetails) SetMinimumCount(v int64) *ArtifactDetails {
+ s.MinimumCount = &v
+ return s
+}
+
// Represents information about the location of an artifact.
type ArtifactLocation struct {
_ struct{} `type:"structure"`
@@ -2721,6 +3099,18 @@ func (s ArtifactLocation) GoString() string {
return s.String()
}
+// SetS3Location sets the S3Location field's value.
+func (s *ArtifactLocation) SetS3Location(v *S3ArtifactLocation) *ArtifactLocation {
+ s.S3Location = v
+ return s
+}
+
+// SetType sets the Type field's value.
+func (s *ArtifactLocation) SetType(v string) *ArtifactLocation {
+ s.Type = &v
+ return s
+}
+
// Represents revision details of an artifact.
type ArtifactRevision struct {
_ struct{} `type:"structure"`
@@ -2762,6 +3152,42 @@ func (s ArtifactRevision) GoString() string {
return s.String()
}
+// SetCreated sets the Created field's value.
+func (s *ArtifactRevision) SetCreated(v time.Time) *ArtifactRevision {
+ s.Created = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *ArtifactRevision) SetName(v string) *ArtifactRevision {
+ s.Name = &v
+ return s
+}
+
+// SetRevisionChangeIdentifier sets the RevisionChangeIdentifier field's value.
+func (s *ArtifactRevision) SetRevisionChangeIdentifier(v string) *ArtifactRevision {
+ s.RevisionChangeIdentifier = &v
+ return s
+}
+
+// SetRevisionId sets the RevisionId field's value.
+func (s *ArtifactRevision) SetRevisionId(v string) *ArtifactRevision {
+ s.RevisionId = &v
+ return s
+}
+
+// SetRevisionSummary sets the RevisionSummary field's value.
+func (s *ArtifactRevision) SetRevisionSummary(v string) *ArtifactRevision {
+ s.RevisionSummary = &v
+ return s
+}
+
+// SetRevisionUrl sets the RevisionUrl field's value.
+func (s *ArtifactRevision) SetRevisionUrl(v string) *ArtifactRevision {
+ s.RevisionUrl = &v
+ return s
+}
+
// The Amazon S3 location where artifacts are stored for the pipeline. If this
// Amazon S3 bucket is created manually, it must meet the requirements for AWS
// CodePipeline. For more information, see the Concepts (http://docs.aws.amazon.com/codepipeline/latest/userguide/concepts.html#CPS3Bucket).
@@ -2819,6 +3245,24 @@ func (s *ArtifactStore) Validate() error {
return nil
}
+// SetEncryptionKey sets the EncryptionKey field's value.
+func (s *ArtifactStore) SetEncryptionKey(v *EncryptionKey) *ArtifactStore {
+ s.EncryptionKey = v
+ return s
+}
+
+// SetLocation sets the Location field's value.
+func (s *ArtifactStore) SetLocation(v string) *ArtifactStore {
+ s.Location = &v
+ return s
+}
+
+// SetType sets the Type field's value.
+func (s *ArtifactStore) SetType(v string) *ArtifactStore {
+ s.Type = &v
+ return s
+}
+
// Reserved for future use.
type BlockerDeclaration struct {
_ struct{} `type:"structure"`
@@ -2863,6 +3307,18 @@ func (s *BlockerDeclaration) Validate() error {
return nil
}
+// SetName sets the Name field's value.
+func (s *BlockerDeclaration) SetName(v string) *BlockerDeclaration {
+ s.Name = &v
+ return s
+}
+
+// SetType sets the Type field's value.
+func (s *BlockerDeclaration) SetType(v string) *BlockerDeclaration {
+ s.Type = &v
+ return s
+}
+
// Represents the input of a create custom action operation.
type CreateCustomActionTypeInput struct {
_ struct{} `type:"structure"`
@@ -2973,6 +3429,48 @@ func (s *CreateCustomActionTypeInput) Validate() error {
return nil
}
+// SetCategory sets the Category field's value.
+func (s *CreateCustomActionTypeInput) SetCategory(v string) *CreateCustomActionTypeInput {
+ s.Category = &v
+ return s
+}
+
+// SetConfigurationProperties sets the ConfigurationProperties field's value.
+func (s *CreateCustomActionTypeInput) SetConfigurationProperties(v []*ActionConfigurationProperty) *CreateCustomActionTypeInput {
+ s.ConfigurationProperties = v
+ return s
+}
+
+// SetInputArtifactDetails sets the InputArtifactDetails field's value.
+func (s *CreateCustomActionTypeInput) SetInputArtifactDetails(v *ArtifactDetails) *CreateCustomActionTypeInput {
+ s.InputArtifactDetails = v
+ return s
+}
+
+// SetOutputArtifactDetails sets the OutputArtifactDetails field's value.
+func (s *CreateCustomActionTypeInput) SetOutputArtifactDetails(v *ArtifactDetails) *CreateCustomActionTypeInput {
+ s.OutputArtifactDetails = v
+ return s
+}
+
+// SetProvider sets the Provider field's value.
+func (s *CreateCustomActionTypeInput) SetProvider(v string) *CreateCustomActionTypeInput {
+ s.Provider = &v
+ return s
+}
+
+// SetSettings sets the Settings field's value.
+func (s *CreateCustomActionTypeInput) SetSettings(v *ActionTypeSettings) *CreateCustomActionTypeInput {
+ s.Settings = v
+ return s
+}
+
+// SetVersion sets the Version field's value.
+func (s *CreateCustomActionTypeInput) SetVersion(v string) *CreateCustomActionTypeInput {
+ s.Version = &v
+ return s
+}
+
// Represents the output of a create custom action operation.
type CreateCustomActionTypeOutput struct {
_ struct{} `type:"structure"`
@@ -2993,6 +3491,12 @@ func (s CreateCustomActionTypeOutput) GoString() string {
return s.String()
}
+// SetActionType sets the ActionType field's value.
+func (s *CreateCustomActionTypeOutput) SetActionType(v *ActionType) *CreateCustomActionTypeOutput {
+ s.ActionType = v
+ return s
+}
+
// Represents the input of a create pipeline action.
type CreatePipelineInput struct {
_ struct{} `type:"structure"`
@@ -3031,6 +3535,12 @@ func (s *CreatePipelineInput) Validate() error {
return nil
}
+// SetPipeline sets the Pipeline field's value.
+func (s *CreatePipelineInput) SetPipeline(v *PipelineDeclaration) *CreatePipelineInput {
+ s.Pipeline = v
+ return s
+}
+
// Represents the output of a create pipeline action.
type CreatePipelineOutput struct {
_ struct{} `type:"structure"`
@@ -3049,6 +3559,12 @@ func (s CreatePipelineOutput) GoString() string {
return s.String()
}
+// SetPipeline sets the Pipeline field's value.
+func (s *CreatePipelineOutput) SetPipeline(v *PipelineDeclaration) *CreatePipelineOutput {
+ s.Pipeline = v
+ return s
+}
+
// Represents information about a current revision.
type CurrentRevision struct {
_ struct{} `type:"structure"`
@@ -3106,6 +3622,30 @@ func (s *CurrentRevision) Validate() error {
return nil
}
+// SetChangeIdentifier sets the ChangeIdentifier field's value.
+func (s *CurrentRevision) SetChangeIdentifier(v string) *CurrentRevision {
+ s.ChangeIdentifier = &v
+ return s
+}
+
+// SetCreated sets the Created field's value.
+func (s *CurrentRevision) SetCreated(v time.Time) *CurrentRevision {
+ s.Created = &v
+ return s
+}
+
+// SetRevision sets the Revision field's value.
+func (s *CurrentRevision) SetRevision(v string) *CurrentRevision {
+ s.Revision = &v
+ return s
+}
+
+// SetRevisionSummary sets the RevisionSummary field's value.
+func (s *CurrentRevision) SetRevisionSummary(v string) *CurrentRevision {
+ s.RevisionSummary = &v
+ return s
+}
+
// Represents the input of a delete custom action operation. The custom action
// will be marked as deleted.
type DeleteCustomActionTypeInput struct {
@@ -3163,6 +3703,24 @@ func (s *DeleteCustomActionTypeInput) Validate() error {
return nil
}
+// SetCategory sets the Category field's value.
+func (s *DeleteCustomActionTypeInput) SetCategory(v string) *DeleteCustomActionTypeInput {
+ s.Category = &v
+ return s
+}
+
+// SetProvider sets the Provider field's value.
+func (s *DeleteCustomActionTypeInput) SetProvider(v string) *DeleteCustomActionTypeInput {
+ s.Provider = &v
+ return s
+}
+
+// SetVersion sets the Version field's value.
+func (s *DeleteCustomActionTypeInput) SetVersion(v string) *DeleteCustomActionTypeInput {
+ s.Version = &v
+ return s
+}
+
type DeleteCustomActionTypeOutput struct {
_ struct{} `type:"structure"`
}
@@ -3213,6 +3771,12 @@ func (s *DeletePipelineInput) Validate() error {
return nil
}
+// SetName sets the Name field's value.
+func (s *DeletePipelineInput) SetName(v string) *DeletePipelineInput {
+ s.Name = &v
+ return s
+}
+
type DeletePipelineOutput struct {
_ struct{} `type:"structure"`
}
@@ -3300,6 +3864,30 @@ func (s *DisableStageTransitionInput) Validate() error {
return nil
}
+// SetPipelineName sets the PipelineName field's value.
+func (s *DisableStageTransitionInput) SetPipelineName(v string) *DisableStageTransitionInput {
+ s.PipelineName = &v
+ return s
+}
+
+// SetReason sets the Reason field's value.
+func (s *DisableStageTransitionInput) SetReason(v string) *DisableStageTransitionInput {
+ s.Reason = &v
+ return s
+}
+
+// SetStageName sets the StageName field's value.
+func (s *DisableStageTransitionInput) SetStageName(v string) *DisableStageTransitionInput {
+ s.StageName = &v
+ return s
+}
+
+// SetTransitionType sets the TransitionType field's value.
+func (s *DisableStageTransitionInput) SetTransitionType(v string) *DisableStageTransitionInput {
+ s.TransitionType = &v
+ return s
+}
+
type DisableStageTransitionOutput struct {
_ struct{} `type:"structure"`
}
@@ -3373,6 +3961,24 @@ func (s *EnableStageTransitionInput) Validate() error {
return nil
}
+// SetPipelineName sets the PipelineName field's value.
+func (s *EnableStageTransitionInput) SetPipelineName(v string) *EnableStageTransitionInput {
+ s.PipelineName = &v
+ return s
+}
+
+// SetStageName sets the StageName field's value.
+func (s *EnableStageTransitionInput) SetStageName(v string) *EnableStageTransitionInput {
+ s.StageName = &v
+ return s
+}
+
+// SetTransitionType sets the TransitionType field's value.
+func (s *EnableStageTransitionInput) SetTransitionType(v string) *EnableStageTransitionInput {
+ s.TransitionType = &v
+ return s
+}
+
type EnableStageTransitionOutput struct {
_ struct{} `type:"structure"`
}
@@ -3434,6 +4040,18 @@ func (s *EncryptionKey) Validate() error {
return nil
}
+// SetId sets the Id field's value.
+func (s *EncryptionKey) SetId(v string) *EncryptionKey {
+ s.Id = &v
+ return s
+}
+
+// SetType sets the Type field's value.
+func (s *EncryptionKey) SetType(v string) *EncryptionKey {
+ s.Type = &v
+ return s
+}
+
// Represents information about an error in AWS CodePipeline.
type ErrorDetails struct {
_ struct{} `type:"structure"`
@@ -3455,6 +4073,18 @@ func (s ErrorDetails) GoString() string {
return s.String()
}
+// SetCode sets the Code field's value.
+func (s *ErrorDetails) SetCode(v string) *ErrorDetails {
+ s.Code = &v
+ return s
+}
+
+// SetMessage sets the Message field's value.
+func (s *ErrorDetails) SetMessage(v string) *ErrorDetails {
+ s.Message = &v
+ return s
+}
+
// The details of the actions taken and results produced on an artifact as it
// passes through stages in the pipeline.
type ExecutionDetails struct {
@@ -3495,6 +4125,24 @@ func (s *ExecutionDetails) Validate() error {
return nil
}
+// SetExternalExecutionId sets the ExternalExecutionId field's value.
+func (s *ExecutionDetails) SetExternalExecutionId(v string) *ExecutionDetails {
+ s.ExternalExecutionId = &v
+ return s
+}
+
+// SetPercentComplete sets the PercentComplete field's value.
+func (s *ExecutionDetails) SetPercentComplete(v int64) *ExecutionDetails {
+ s.PercentComplete = &v
+ return s
+}
+
+// SetSummary sets the Summary field's value.
+func (s *ExecutionDetails) SetSummary(v string) *ExecutionDetails {
+ s.Summary = &v
+ return s
+}
+
// Represents information about failure details.
type FailureDetails struct {
_ struct{} `type:"structure"`
@@ -3542,6 +4190,24 @@ func (s *FailureDetails) Validate() error {
return nil
}
+// SetExternalExecutionId sets the ExternalExecutionId field's value.
+func (s *FailureDetails) SetExternalExecutionId(v string) *FailureDetails {
+ s.ExternalExecutionId = &v
+ return s
+}
+
+// SetMessage sets the Message field's value.
+func (s *FailureDetails) SetMessage(v string) *FailureDetails {
+ s.Message = &v
+ return s
+}
+
+// SetType sets the Type field's value.
+func (s *FailureDetails) SetType(v string) *FailureDetails {
+ s.Type = &v
+ return s
+}
+
// Represents the input of a get job details action.
type GetJobDetailsInput struct {
_ struct{} `type:"structure"`
@@ -3575,6 +4241,12 @@ func (s *GetJobDetailsInput) Validate() error {
return nil
}
+// SetJobId sets the JobId field's value.
+func (s *GetJobDetailsInput) SetJobId(v string) *GetJobDetailsInput {
+ s.JobId = &v
+ return s
+}
+
// Represents the output of a get job details action.
type GetJobDetailsOutput struct {
_ struct{} `type:"structure"`
@@ -3596,6 +4268,12 @@ func (s GetJobDetailsOutput) GoString() string {
return s.String()
}
+// SetJobDetails sets the JobDetails field's value.
+func (s *GetJobDetailsOutput) SetJobDetails(v *JobDetails) *GetJobDetailsOutput {
+ s.JobDetails = v
+ return s
+}
+
// Represents the input of a get pipeline execution action.
type GetPipelineExecutionInput struct {
_ struct{} `type:"structure"`
@@ -3640,6 +4318,18 @@ func (s *GetPipelineExecutionInput) Validate() error {
return nil
}
+// SetPipelineExecutionId sets the PipelineExecutionId field's value.
+func (s *GetPipelineExecutionInput) SetPipelineExecutionId(v string) *GetPipelineExecutionInput {
+ s.PipelineExecutionId = &v
+ return s
+}
+
+// SetPipelineName sets the PipelineName field's value.
+func (s *GetPipelineExecutionInput) SetPipelineName(v string) *GetPipelineExecutionInput {
+ s.PipelineName = &v
+ return s
+}
+
// Represents the output of a get pipeline execution action.
type GetPipelineExecutionOutput struct {
_ struct{} `type:"structure"`
@@ -3658,6 +4348,12 @@ func (s GetPipelineExecutionOutput) GoString() string {
return s.String()
}
+// SetPipelineExecution sets the PipelineExecution field's value.
+func (s *GetPipelineExecutionOutput) SetPipelineExecution(v *PipelineExecution) *GetPipelineExecutionOutput {
+ s.PipelineExecution = v
+ return s
+}
+
// Represents the input of a get pipeline action.
type GetPipelineInput struct {
_ struct{} `type:"structure"`
@@ -3702,6 +4398,18 @@ func (s *GetPipelineInput) Validate() error {
return nil
}
+// SetName sets the Name field's value.
+func (s *GetPipelineInput) SetName(v string) *GetPipelineInput {
+ s.Name = &v
+ return s
+}
+
+// SetVersion sets the Version field's value.
+func (s *GetPipelineInput) SetVersion(v int64) *GetPipelineInput {
+ s.Version = &v
+ return s
+}
+
// Represents the output of a get pipeline action.
type GetPipelineOutput struct {
_ struct{} `type:"structure"`
@@ -3720,6 +4428,12 @@ func (s GetPipelineOutput) GoString() string {
return s.String()
}
+// SetPipeline sets the Pipeline field's value.
+func (s *GetPipelineOutput) SetPipeline(v *PipelineDeclaration) *GetPipelineOutput {
+ s.Pipeline = v
+ return s
+}
+
// Represents the input of a get pipeline state action.
type GetPipelineStateInput struct {
_ struct{} `type:"structure"`
@@ -3756,6 +4470,12 @@ func (s *GetPipelineStateInput) Validate() error {
return nil
}
+// SetName sets the Name field's value.
+func (s *GetPipelineStateInput) SetName(v string) *GetPipelineStateInput {
+ s.Name = &v
+ return s
+}
+
// Represents the output of a get pipeline state action.
type GetPipelineStateOutput struct {
_ struct{} `type:"structure"`
@@ -3789,6 +4509,36 @@ func (s GetPipelineStateOutput) GoString() string {
return s.String()
}
+// SetCreated sets the Created field's value.
+func (s *GetPipelineStateOutput) SetCreated(v time.Time) *GetPipelineStateOutput {
+ s.Created = &v
+ return s
+}
+
+// SetPipelineName sets the PipelineName field's value.
+func (s *GetPipelineStateOutput) SetPipelineName(v string) *GetPipelineStateOutput {
+ s.PipelineName = &v
+ return s
+}
+
+// SetPipelineVersion sets the PipelineVersion field's value.
+func (s *GetPipelineStateOutput) SetPipelineVersion(v int64) *GetPipelineStateOutput {
+ s.PipelineVersion = &v
+ return s
+}
+
+// SetStageStates sets the StageStates field's value.
+func (s *GetPipelineStateOutput) SetStageStates(v []*StageState) *GetPipelineStateOutput {
+ s.StageStates = v
+ return s
+}
+
+// SetUpdated sets the Updated field's value.
+func (s *GetPipelineStateOutput) SetUpdated(v time.Time) *GetPipelineStateOutput {
+ s.Updated = &v
+ return s
+}
+
// Represents the input of a get third party job details action.
type GetThirdPartyJobDetailsInput struct {
_ struct{} `type:"structure"`
@@ -3834,6 +4584,18 @@ func (s *GetThirdPartyJobDetailsInput) Validate() error {
return nil
}
+// SetClientToken sets the ClientToken field's value.
+func (s *GetThirdPartyJobDetailsInput) SetClientToken(v string) *GetThirdPartyJobDetailsInput {
+ s.ClientToken = &v
+ return s
+}
+
+// SetJobId sets the JobId field's value.
+func (s *GetThirdPartyJobDetailsInput) SetJobId(v string) *GetThirdPartyJobDetailsInput {
+ s.JobId = &v
+ return s
+}
+
// Represents the output of a get third party job details action.
type GetThirdPartyJobDetailsOutput struct {
_ struct{} `type:"structure"`
@@ -3852,6 +4614,12 @@ func (s GetThirdPartyJobDetailsOutput) GoString() string {
return s.String()
}
+// SetJobDetails sets the JobDetails field's value.
+func (s *GetThirdPartyJobDetailsOutput) SetJobDetails(v *ThirdPartyJobDetails) *GetThirdPartyJobDetailsOutput {
+ s.JobDetails = v
+ return s
+}
+
// Represents information about an artifact to be worked on, such as a test
// or build artifact.
type InputArtifact struct {
@@ -3895,6 +4663,12 @@ func (s *InputArtifact) Validate() error {
return nil
}
+// SetName sets the Name field's value.
+func (s *InputArtifact) SetName(v string) *InputArtifact {
+ s.Name = &v
+ return s
+}
+
// Represents information about a job.
type Job struct {
_ struct{} `type:"structure"`
@@ -3924,6 +4698,30 @@ func (s Job) GoString() string {
return s.String()
}
+// SetAccountId sets the AccountId field's value.
+func (s *Job) SetAccountId(v string) *Job {
+ s.AccountId = &v
+ return s
+}
+
+// SetData sets the Data field's value.
+func (s *Job) SetData(v *JobData) *Job {
+ s.Data = v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *Job) SetId(v string) *Job {
+ s.Id = &v
+ return s
+}
+
+// SetNonce sets the Nonce field's value.
+func (s *Job) SetNonce(v string) *Job {
+ s.Nonce = &v
+ return s
+}
+
// Represents additional information about a job required for a job worker to
// complete the job.
type JobData struct {
@@ -3969,6 +4767,54 @@ func (s JobData) GoString() string {
return s.String()
}
+// SetActionConfiguration sets the ActionConfiguration field's value.
+func (s *JobData) SetActionConfiguration(v *ActionConfiguration) *JobData {
+ s.ActionConfiguration = v
+ return s
+}
+
+// SetActionTypeId sets the ActionTypeId field's value.
+func (s *JobData) SetActionTypeId(v *ActionTypeId) *JobData {
+ s.ActionTypeId = v
+ return s
+}
+
+// SetArtifactCredentials sets the ArtifactCredentials field's value.
+func (s *JobData) SetArtifactCredentials(v *AWSSessionCredentials) *JobData {
+ s.ArtifactCredentials = v
+ return s
+}
+
+// SetContinuationToken sets the ContinuationToken field's value.
+func (s *JobData) SetContinuationToken(v string) *JobData {
+ s.ContinuationToken = &v
+ return s
+}
+
+// SetEncryptionKey sets the EncryptionKey field's value.
+func (s *JobData) SetEncryptionKey(v *EncryptionKey) *JobData {
+ s.EncryptionKey = v
+ return s
+}
+
+// SetInputArtifacts sets the InputArtifacts field's value.
+func (s *JobData) SetInputArtifacts(v []*Artifact) *JobData {
+ s.InputArtifacts = v
+ return s
+}
+
+// SetOutputArtifacts sets the OutputArtifacts field's value.
+func (s *JobData) SetOutputArtifacts(v []*Artifact) *JobData {
+ s.OutputArtifacts = v
+ return s
+}
+
+// SetPipelineContext sets the PipelineContext field's value.
+func (s *JobData) SetPipelineContext(v *PipelineContext) *JobData {
+ s.PipelineContext = v
+ return s
+}
+
// Represents information about the details of a job.
type JobDetails struct {
_ struct{} `type:"structure"`
@@ -3994,6 +4840,24 @@ func (s JobDetails) GoString() string {
return s.String()
}
+// SetAccountId sets the AccountId field's value.
+func (s *JobDetails) SetAccountId(v string) *JobDetails {
+ s.AccountId = &v
+ return s
+}
+
+// SetData sets the Data field's value.
+func (s *JobDetails) SetData(v *JobData) *JobDetails {
+ s.Data = v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *JobDetails) SetId(v string) *JobDetails {
+ s.Id = &v
+ return s
+}
+
// Represents the input of a list action types action.
type ListActionTypesInput struct {
_ struct{} `type:"structure"`
@@ -4016,6 +4880,18 @@ func (s ListActionTypesInput) GoString() string {
return s.String()
}
+// SetActionOwnerFilter sets the ActionOwnerFilter field's value.
+func (s *ListActionTypesInput) SetActionOwnerFilter(v string) *ListActionTypesInput {
+ s.ActionOwnerFilter = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListActionTypesInput) SetNextToken(v string) *ListActionTypesInput {
+ s.NextToken = &v
+ return s
+}
+
// Represents the output of a list action types action.
type ListActionTypesOutput struct {
_ struct{} `type:"structure"`
@@ -4041,6 +4917,18 @@ func (s ListActionTypesOutput) GoString() string {
return s.String()
}
+// SetActionTypes sets the ActionTypes field's value.
+func (s *ListActionTypesOutput) SetActionTypes(v []*ActionType) *ListActionTypesOutput {
+ s.ActionTypes = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListActionTypesOutput) SetNextToken(v string) *ListActionTypesOutput {
+ s.NextToken = &v
+ return s
+}
+
// Represents the input of a list pipelines action.
type ListPipelinesInput struct {
_ struct{} `type:"structure"`
@@ -4060,6 +4948,12 @@ func (s ListPipelinesInput) GoString() string {
return s.String()
}
+// SetNextToken sets the NextToken field's value.
+func (s *ListPipelinesInput) SetNextToken(v string) *ListPipelinesInput {
+ s.NextToken = &v
+ return s
+}
+
// Represents the output of a list pipelines action.
type ListPipelinesOutput struct {
_ struct{} `type:"structure"`
@@ -4083,6 +4977,18 @@ func (s ListPipelinesOutput) GoString() string {
return s.String()
}
+// SetNextToken sets the NextToken field's value.
+func (s *ListPipelinesOutput) SetNextToken(v string) *ListPipelinesOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetPipelines sets the Pipelines field's value.
+func (s *ListPipelinesOutput) SetPipelines(v []*PipelineSummary) *ListPipelinesOutput {
+ s.Pipelines = v
+ return s
+}
+
// Represents information about the output of an action.
type OutputArtifact struct {
_ struct{} `type:"structure"`
@@ -4127,6 +5033,12 @@ func (s *OutputArtifact) Validate() error {
return nil
}
+// SetName sets the Name field's value.
+func (s *OutputArtifact) SetName(v string) *OutputArtifact {
+ s.Name = &v
+ return s
+}
+
// Represents information about a pipeline to a job worker.
type PipelineContext struct {
_ struct{} `type:"structure"`
@@ -4153,6 +5065,24 @@ func (s PipelineContext) GoString() string {
return s.String()
}
+// SetAction sets the Action field's value.
+func (s *PipelineContext) SetAction(v *ActionContext) *PipelineContext {
+ s.Action = v
+ return s
+}
+
+// SetPipelineName sets the PipelineName field's value.
+func (s *PipelineContext) SetPipelineName(v string) *PipelineContext {
+ s.PipelineName = &v
+ return s
+}
+
+// SetStage sets the Stage field's value.
+func (s *PipelineContext) SetStage(v *StageContext) *PipelineContext {
+ s.Stage = v
+ return s
+}
+
// Represents the structure of actions and stages to be performed in the pipeline.
type PipelineDeclaration struct {
_ struct{} `type:"structure"`
@@ -4239,6 +5169,36 @@ func (s *PipelineDeclaration) Validate() error {
return nil
}
+// SetArtifactStore sets the ArtifactStore field's value.
+func (s *PipelineDeclaration) SetArtifactStore(v *ArtifactStore) *PipelineDeclaration {
+ s.ArtifactStore = v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *PipelineDeclaration) SetName(v string) *PipelineDeclaration {
+ s.Name = &v
+ return s
+}
+
+// SetRoleArn sets the RoleArn field's value.
+func (s *PipelineDeclaration) SetRoleArn(v string) *PipelineDeclaration {
+ s.RoleArn = &v
+ return s
+}
+
+// SetStages sets the Stages field's value.
+func (s *PipelineDeclaration) SetStages(v []*StageDeclaration) *PipelineDeclaration {
+ s.Stages = v
+ return s
+}
+
+// SetVersion sets the Version field's value.
+func (s *PipelineDeclaration) SetVersion(v int64) *PipelineDeclaration {
+ s.Version = &v
+ return s
+}
+
// Represents information about an execution of a pipeline.
type PipelineExecution struct {
_ struct{} `type:"structure"`
@@ -4279,6 +5239,36 @@ func (s PipelineExecution) GoString() string {
return s.String()
}
+// SetArtifactRevisions sets the ArtifactRevisions field's value.
+func (s *PipelineExecution) SetArtifactRevisions(v []*ArtifactRevision) *PipelineExecution {
+ s.ArtifactRevisions = v
+ return s
+}
+
+// SetPipelineExecutionId sets the PipelineExecutionId field's value.
+func (s *PipelineExecution) SetPipelineExecutionId(v string) *PipelineExecution {
+ s.PipelineExecutionId = &v
+ return s
+}
+
+// SetPipelineName sets the PipelineName field's value.
+func (s *PipelineExecution) SetPipelineName(v string) *PipelineExecution {
+ s.PipelineName = &v
+ return s
+}
+
+// SetPipelineVersion sets the PipelineVersion field's value.
+func (s *PipelineExecution) SetPipelineVersion(v int64) *PipelineExecution {
+ s.PipelineVersion = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *PipelineExecution) SetStatus(v string) *PipelineExecution {
+ s.Status = &v
+ return s
+}
+
// Returns a summary of a pipeline.
type PipelineSummary struct {
_ struct{} `type:"structure"`
@@ -4306,6 +5296,30 @@ func (s PipelineSummary) GoString() string {
return s.String()
}
+// SetCreated sets the Created field's value.
+func (s *PipelineSummary) SetCreated(v time.Time) *PipelineSummary {
+ s.Created = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *PipelineSummary) SetName(v string) *PipelineSummary {
+ s.Name = &v
+ return s
+}
+
+// SetUpdated sets the Updated field's value.
+func (s *PipelineSummary) SetUpdated(v time.Time) *PipelineSummary {
+ s.Updated = &v
+ return s
+}
+
+// SetVersion sets the Version field's value.
+func (s *PipelineSummary) SetVersion(v int64) *PipelineSummary {
+ s.Version = &v
+ return s
+}
+
// Represents the input of a poll for jobs action.
type PollForJobsInput struct {
_ struct{} `type:"structure"`
@@ -4356,6 +5370,24 @@ func (s *PollForJobsInput) Validate() error {
return nil
}
+// SetActionTypeId sets the ActionTypeId field's value.
+func (s *PollForJobsInput) SetActionTypeId(v *ActionTypeId) *PollForJobsInput {
+ s.ActionTypeId = v
+ return s
+}
+
+// SetMaxBatchSize sets the MaxBatchSize field's value.
+func (s *PollForJobsInput) SetMaxBatchSize(v int64) *PollForJobsInput {
+ s.MaxBatchSize = &v
+ return s
+}
+
+// SetQueryParam sets the QueryParam field's value.
+func (s *PollForJobsInput) SetQueryParam(v map[string]*string) *PollForJobsInput {
+ s.QueryParam = v
+ return s
+}
+
// Represents the output of a poll for jobs action.
type PollForJobsOutput struct {
_ struct{} `type:"structure"`
@@ -4374,6 +5406,12 @@ func (s PollForJobsOutput) GoString() string {
return s.String()
}
+// SetJobs sets the Jobs field's value.
+func (s *PollForJobsOutput) SetJobs(v []*Job) *PollForJobsOutput {
+ s.Jobs = v
+ return s
+}
+
// Represents the input of a poll for third party jobs action.
type PollForThirdPartyJobsInput struct {
_ struct{} `type:"structure"`
@@ -4418,6 +5456,18 @@ func (s *PollForThirdPartyJobsInput) Validate() error {
return nil
}
+// SetActionTypeId sets the ActionTypeId field's value.
+func (s *PollForThirdPartyJobsInput) SetActionTypeId(v *ActionTypeId) *PollForThirdPartyJobsInput {
+ s.ActionTypeId = v
+ return s
+}
+
+// SetMaxBatchSize sets the MaxBatchSize field's value.
+func (s *PollForThirdPartyJobsInput) SetMaxBatchSize(v int64) *PollForThirdPartyJobsInput {
+ s.MaxBatchSize = &v
+ return s
+}
+
// Represents the output of a poll for third party jobs action.
type PollForThirdPartyJobsOutput struct {
_ struct{} `type:"structure"`
@@ -4436,6 +5486,12 @@ func (s PollForThirdPartyJobsOutput) GoString() string {
return s.String()
}
+// SetJobs sets the Jobs field's value.
+func (s *PollForThirdPartyJobsOutput) SetJobs(v []*ThirdPartyJob) *PollForThirdPartyJobsOutput {
+ s.Jobs = v
+ return s
+}
+
// Represents the input of a put action revision action.
type PutActionRevisionInput struct {
_ struct{} `type:"structure"`
@@ -4507,6 +5563,30 @@ func (s *PutActionRevisionInput) Validate() error {
return nil
}
+// SetActionName sets the ActionName field's value.
+func (s *PutActionRevisionInput) SetActionName(v string) *PutActionRevisionInput {
+ s.ActionName = &v
+ return s
+}
+
+// SetActionRevision sets the ActionRevision field's value.
+func (s *PutActionRevisionInput) SetActionRevision(v *ActionRevision) *PutActionRevisionInput {
+ s.ActionRevision = v
+ return s
+}
+
+// SetPipelineName sets the PipelineName field's value.
+func (s *PutActionRevisionInput) SetPipelineName(v string) *PutActionRevisionInput {
+ s.PipelineName = &v
+ return s
+}
+
+// SetStageName sets the StageName field's value.
+func (s *PutActionRevisionInput) SetStageName(v string) *PutActionRevisionInput {
+ s.StageName = &v
+ return s
+}
+
// Represents the output of a put action revision action.
type PutActionRevisionOutput struct {
_ struct{} `type:"structure"`
@@ -4529,6 +5609,18 @@ func (s PutActionRevisionOutput) GoString() string {
return s.String()
}
+// SetNewRevision sets the NewRevision field's value.
+func (s *PutActionRevisionOutput) SetNewRevision(v bool) *PutActionRevisionOutput {
+ s.NewRevision = &v
+ return s
+}
+
+// SetPipelineExecutionId sets the PipelineExecutionId field's value.
+func (s *PutActionRevisionOutput) SetPipelineExecutionId(v string) *PutActionRevisionOutput {
+ s.PipelineExecutionId = &v
+ return s
+}
+
// Represents the input of a put approval result action.
type PutApprovalResultInput struct {
_ struct{} `type:"structure"`
@@ -4611,6 +5703,36 @@ func (s *PutApprovalResultInput) Validate() error {
return nil
}
+// SetActionName sets the ActionName field's value.
+func (s *PutApprovalResultInput) SetActionName(v string) *PutApprovalResultInput {
+ s.ActionName = &v
+ return s
+}
+
+// SetPipelineName sets the PipelineName field's value.
+func (s *PutApprovalResultInput) SetPipelineName(v string) *PutApprovalResultInput {
+ s.PipelineName = &v
+ return s
+}
+
+// SetResult sets the Result field's value.
+func (s *PutApprovalResultInput) SetResult(v *ApprovalResult) *PutApprovalResultInput {
+ s.Result = v
+ return s
+}
+
+// SetStageName sets the StageName field's value.
+func (s *PutApprovalResultInput) SetStageName(v string) *PutApprovalResultInput {
+ s.StageName = &v
+ return s
+}
+
+// SetToken sets the Token field's value.
+func (s *PutApprovalResultInput) SetToken(v string) *PutApprovalResultInput {
+ s.Token = &v
+ return s
+}
+
// Represents the output of a put approval result action.
type PutApprovalResultOutput struct {
_ struct{} `type:"structure"`
@@ -4629,6 +5751,12 @@ func (s PutApprovalResultOutput) GoString() string {
return s.String()
}
+// SetApprovedAt sets the ApprovedAt field's value.
+func (s *PutApprovalResultOutput) SetApprovedAt(v time.Time) *PutApprovalResultOutput {
+ s.ApprovedAt = &v
+ return s
+}
+
// Represents the input of a put job failure result action.
type PutJobFailureResultInput struct {
_ struct{} `type:"structure"`
@@ -4676,6 +5804,18 @@ func (s *PutJobFailureResultInput) Validate() error {
return nil
}
+// SetFailureDetails sets the FailureDetails field's value.
+func (s *PutJobFailureResultInput) SetFailureDetails(v *FailureDetails) *PutJobFailureResultInput {
+ s.FailureDetails = v
+ return s
+}
+
+// SetJobId sets the JobId field's value.
+func (s *PutJobFailureResultInput) SetJobId(v string) *PutJobFailureResultInput {
+ s.JobId = &v
+ return s
+}
+
type PutJobFailureResultOutput struct {
_ struct{} `type:"structure"`
}
@@ -4750,6 +5890,30 @@ func (s *PutJobSuccessResultInput) Validate() error {
return nil
}
+// SetContinuationToken sets the ContinuationToken field's value.
+func (s *PutJobSuccessResultInput) SetContinuationToken(v string) *PutJobSuccessResultInput {
+ s.ContinuationToken = &v
+ return s
+}
+
+// SetCurrentRevision sets the CurrentRevision field's value.
+func (s *PutJobSuccessResultInput) SetCurrentRevision(v *CurrentRevision) *PutJobSuccessResultInput {
+ s.CurrentRevision = v
+ return s
+}
+
+// SetExecutionDetails sets the ExecutionDetails field's value.
+func (s *PutJobSuccessResultInput) SetExecutionDetails(v *ExecutionDetails) *PutJobSuccessResultInput {
+ s.ExecutionDetails = v
+ return s
+}
+
+// SetJobId sets the JobId field's value.
+func (s *PutJobSuccessResultInput) SetJobId(v string) *PutJobSuccessResultInput {
+ s.JobId = &v
+ return s
+}
+
type PutJobSuccessResultOutput struct {
_ struct{} `type:"structure"`
}
@@ -4822,6 +5986,24 @@ func (s *PutThirdPartyJobFailureResultInput) Validate() error {
return nil
}
+// SetClientToken sets the ClientToken field's value.
+func (s *PutThirdPartyJobFailureResultInput) SetClientToken(v string) *PutThirdPartyJobFailureResultInput {
+ s.ClientToken = &v
+ return s
+}
+
+// SetFailureDetails sets the FailureDetails field's value.
+func (s *PutThirdPartyJobFailureResultInput) SetFailureDetails(v *FailureDetails) *PutThirdPartyJobFailureResultInput {
+ s.FailureDetails = v
+ return s
+}
+
+// SetJobId sets the JobId field's value.
+func (s *PutThirdPartyJobFailureResultInput) SetJobId(v string) *PutThirdPartyJobFailureResultInput {
+ s.JobId = &v
+ return s
+}
+
type PutThirdPartyJobFailureResultOutput struct {
_ struct{} `type:"structure"`
}
@@ -4907,6 +6089,36 @@ func (s *PutThirdPartyJobSuccessResultInput) Validate() error {
return nil
}
+// SetClientToken sets the ClientToken field's value.
+func (s *PutThirdPartyJobSuccessResultInput) SetClientToken(v string) *PutThirdPartyJobSuccessResultInput {
+ s.ClientToken = &v
+ return s
+}
+
+// SetContinuationToken sets the ContinuationToken field's value.
+func (s *PutThirdPartyJobSuccessResultInput) SetContinuationToken(v string) *PutThirdPartyJobSuccessResultInput {
+ s.ContinuationToken = &v
+ return s
+}
+
+// SetCurrentRevision sets the CurrentRevision field's value.
+func (s *PutThirdPartyJobSuccessResultInput) SetCurrentRevision(v *CurrentRevision) *PutThirdPartyJobSuccessResultInput {
+ s.CurrentRevision = v
+ return s
+}
+
+// SetExecutionDetails sets the ExecutionDetails field's value.
+func (s *PutThirdPartyJobSuccessResultInput) SetExecutionDetails(v *ExecutionDetails) *PutThirdPartyJobSuccessResultInput {
+ s.ExecutionDetails = v
+ return s
+}
+
+// SetJobId sets the JobId field's value.
+func (s *PutThirdPartyJobSuccessResultInput) SetJobId(v string) *PutThirdPartyJobSuccessResultInput {
+ s.JobId = &v
+ return s
+}
+
type PutThirdPartyJobSuccessResultOutput struct {
_ struct{} `type:"structure"`
}
@@ -4986,6 +6198,30 @@ func (s *RetryStageExecutionInput) Validate() error {
return nil
}
+// SetPipelineExecutionId sets the PipelineExecutionId field's value.
+func (s *RetryStageExecutionInput) SetPipelineExecutionId(v string) *RetryStageExecutionInput {
+ s.PipelineExecutionId = &v
+ return s
+}
+
+// SetPipelineName sets the PipelineName field's value.
+func (s *RetryStageExecutionInput) SetPipelineName(v string) *RetryStageExecutionInput {
+ s.PipelineName = &v
+ return s
+}
+
+// SetRetryMode sets the RetryMode field's value.
+func (s *RetryStageExecutionInput) SetRetryMode(v string) *RetryStageExecutionInput {
+ s.RetryMode = &v
+ return s
+}
+
+// SetStageName sets the StageName field's value.
+func (s *RetryStageExecutionInput) SetStageName(v string) *RetryStageExecutionInput {
+ s.StageName = &v
+ return s
+}
+
// Represents the output of a retry stage execution action.
type RetryStageExecutionOutput struct {
_ struct{} `type:"structure"`
@@ -5004,6 +6240,12 @@ func (s RetryStageExecutionOutput) GoString() string {
return s.String()
}
+// SetPipelineExecutionId sets the PipelineExecutionId field's value.
+func (s *RetryStageExecutionOutput) SetPipelineExecutionId(v string) *RetryStageExecutionOutput {
+ s.PipelineExecutionId = &v
+ return s
+}
+
// The location of the Amazon S3 bucket that contains a revision.
type S3ArtifactLocation struct {
_ struct{} `type:"structure"`
@@ -5030,6 +6272,18 @@ func (s S3ArtifactLocation) GoString() string {
return s.String()
}
+// SetBucketName sets the BucketName field's value.
+func (s *S3ArtifactLocation) SetBucketName(v string) *S3ArtifactLocation {
+ s.BucketName = &v
+ return s
+}
+
+// SetObjectKey sets the ObjectKey field's value.
+func (s *S3ArtifactLocation) SetObjectKey(v string) *S3ArtifactLocation {
+ s.ObjectKey = &v
+ return s
+}
+
// Represents information about a stage to a job worker.
type StageContext struct {
_ struct{} `type:"structure"`
@@ -5048,6 +6302,12 @@ func (s StageContext) GoString() string {
return s.String()
}
+// SetName sets the Name field's value.
+func (s *StageContext) SetName(v string) *StageContext {
+ s.Name = &v
+ return s
+}
+
// Represents information about a stage and its definition.
type StageDeclaration struct {
_ struct{} `type:"structure"`
@@ -5115,6 +6375,24 @@ func (s *StageDeclaration) Validate() error {
return nil
}
+// SetActions sets the Actions field's value.
+func (s *StageDeclaration) SetActions(v []*ActionDeclaration) *StageDeclaration {
+ s.Actions = v
+ return s
+}
+
+// SetBlockers sets the Blockers field's value.
+func (s *StageDeclaration) SetBlockers(v []*BlockerDeclaration) *StageDeclaration {
+ s.Blockers = v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *StageDeclaration) SetName(v string) *StageDeclaration {
+ s.Name = &v
+ return s
+}
+
// Represents information about the run of a stage.
type StageExecution struct {
_ struct{} `type:"structure"`
@@ -5141,6 +6419,18 @@ func (s StageExecution) GoString() string {
return s.String()
}
+// SetPipelineExecutionId sets the PipelineExecutionId field's value.
+func (s *StageExecution) SetPipelineExecutionId(v string) *StageExecution {
+ s.PipelineExecutionId = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *StageExecution) SetStatus(v string) *StageExecution {
+ s.Status = &v
+ return s
+}
+
// Represents information about the state of the stage.
type StageState struct {
_ struct{} `type:"structure"`
@@ -5169,6 +6459,30 @@ func (s StageState) GoString() string {
return s.String()
}
+// SetActionStates sets the ActionStates field's value.
+func (s *StageState) SetActionStates(v []*ActionState) *StageState {
+ s.ActionStates = v
+ return s
+}
+
+// SetInboundTransitionState sets the InboundTransitionState field's value.
+func (s *StageState) SetInboundTransitionState(v *TransitionState) *StageState {
+ s.InboundTransitionState = v
+ return s
+}
+
+// SetLatestExecution sets the LatestExecution field's value.
+func (s *StageState) SetLatestExecution(v *StageExecution) *StageState {
+ s.LatestExecution = v
+ return s
+}
+
+// SetStageName sets the StageName field's value.
+func (s *StageState) SetStageName(v string) *StageState {
+ s.StageName = &v
+ return s
+}
+
// Represents the input of a start pipeline execution action.
type StartPipelineExecutionInput struct {
_ struct{} `type:"structure"`
@@ -5205,6 +6519,12 @@ func (s *StartPipelineExecutionInput) Validate() error {
return nil
}
+// SetName sets the Name field's value.
+func (s *StartPipelineExecutionInput) SetName(v string) *StartPipelineExecutionInput {
+ s.Name = &v
+ return s
+}
+
// Represents the output of a start pipeline execution action.
type StartPipelineExecutionOutput struct {
_ struct{} `type:"structure"`
@@ -5223,6 +6543,12 @@ func (s StartPipelineExecutionOutput) GoString() string {
return s.String()
}
+// SetPipelineExecutionId sets the PipelineExecutionId field's value.
+func (s *StartPipelineExecutionOutput) SetPipelineExecutionId(v string) *StartPipelineExecutionOutput {
+ s.PipelineExecutionId = &v
+ return s
+}
+
// A response to a PollForThirdPartyJobs request returned by AWS CodePipeline
// when there is a job to be worked upon by a partner action.
type ThirdPartyJob struct {
@@ -5246,6 +6572,18 @@ func (s ThirdPartyJob) GoString() string {
return s.String()
}
+// SetClientId sets the ClientId field's value.
+func (s *ThirdPartyJob) SetClientId(v string) *ThirdPartyJob {
+ s.ClientId = &v
+ return s
+}
+
+// SetJobId sets the JobId field's value.
+func (s *ThirdPartyJob) SetJobId(v string) *ThirdPartyJob {
+ s.JobId = &v
+ return s
+}
+
// Represents information about the job data for a partner action.
type ThirdPartyJobData struct {
_ struct{} `type:"structure"`
@@ -5297,6 +6635,54 @@ func (s ThirdPartyJobData) GoString() string {
return s.String()
}
+// SetActionConfiguration sets the ActionConfiguration field's value.
+func (s *ThirdPartyJobData) SetActionConfiguration(v *ActionConfiguration) *ThirdPartyJobData {
+ s.ActionConfiguration = v
+ return s
+}
+
+// SetActionTypeId sets the ActionTypeId field's value.
+func (s *ThirdPartyJobData) SetActionTypeId(v *ActionTypeId) *ThirdPartyJobData {
+ s.ActionTypeId = v
+ return s
+}
+
+// SetArtifactCredentials sets the ArtifactCredentials field's value.
+func (s *ThirdPartyJobData) SetArtifactCredentials(v *AWSSessionCredentials) *ThirdPartyJobData {
+ s.ArtifactCredentials = v
+ return s
+}
+
+// SetContinuationToken sets the ContinuationToken field's value.
+func (s *ThirdPartyJobData) SetContinuationToken(v string) *ThirdPartyJobData {
+ s.ContinuationToken = &v
+ return s
+}
+
+// SetEncryptionKey sets the EncryptionKey field's value.
+func (s *ThirdPartyJobData) SetEncryptionKey(v *EncryptionKey) *ThirdPartyJobData {
+ s.EncryptionKey = v
+ return s
+}
+
+// SetInputArtifacts sets the InputArtifacts field's value.
+func (s *ThirdPartyJobData) SetInputArtifacts(v []*Artifact) *ThirdPartyJobData {
+ s.InputArtifacts = v
+ return s
+}
+
+// SetOutputArtifacts sets the OutputArtifacts field's value.
+func (s *ThirdPartyJobData) SetOutputArtifacts(v []*Artifact) *ThirdPartyJobData {
+ s.OutputArtifacts = v
+ return s
+}
+
+// SetPipelineContext sets the PipelineContext field's value.
+func (s *ThirdPartyJobData) SetPipelineContext(v *PipelineContext) *ThirdPartyJobData {
+ s.PipelineContext = v
+ return s
+}
+
// The details of a job sent in response to a GetThirdPartyJobDetails request.
type ThirdPartyJobDetails struct {
_ struct{} `type:"structure"`
@@ -5323,6 +6709,24 @@ func (s ThirdPartyJobDetails) GoString() string {
return s.String()
}
+// SetData sets the Data field's value.
+func (s *ThirdPartyJobDetails) SetData(v *ThirdPartyJobData) *ThirdPartyJobDetails {
+ s.Data = v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *ThirdPartyJobDetails) SetId(v string) *ThirdPartyJobDetails {
+ s.Id = &v
+ return s
+}
+
+// SetNonce sets the Nonce field's value.
+func (s *ThirdPartyJobDetails) SetNonce(v string) *ThirdPartyJobDetails {
+ s.Nonce = &v
+ return s
+}
+
// Represents information about the state of transitions between one stage and
// another stage.
type TransitionState struct {
@@ -5352,6 +6756,30 @@ func (s TransitionState) GoString() string {
return s.String()
}
+// SetDisabledReason sets the DisabledReason field's value.
+func (s *TransitionState) SetDisabledReason(v string) *TransitionState {
+ s.DisabledReason = &v
+ return s
+}
+
+// SetEnabled sets the Enabled field's value.
+func (s *TransitionState) SetEnabled(v bool) *TransitionState {
+ s.Enabled = &v
+ return s
+}
+
+// SetLastChangedAt sets the LastChangedAt field's value.
+func (s *TransitionState) SetLastChangedAt(v time.Time) *TransitionState {
+ s.LastChangedAt = &v
+ return s
+}
+
+// SetLastChangedBy sets the LastChangedBy field's value.
+func (s *TransitionState) SetLastChangedBy(v string) *TransitionState {
+ s.LastChangedBy = &v
+ return s
+}
+
// Represents the input of an update pipeline action.
type UpdatePipelineInput struct {
_ struct{} `type:"structure"`
@@ -5390,6 +6818,12 @@ func (s *UpdatePipelineInput) Validate() error {
return nil
}
+// SetPipeline sets the Pipeline field's value.
+func (s *UpdatePipelineInput) SetPipeline(v *PipelineDeclaration) *UpdatePipelineInput {
+ s.Pipeline = v
+ return s
+}
+
// Represents the output of an update pipeline action.
type UpdatePipelineOutput struct {
_ struct{} `type:"structure"`
@@ -5408,6 +6842,12 @@ func (s UpdatePipelineOutput) GoString() string {
return s.String()
}
+// SetPipeline sets the Pipeline field's value.
+func (s *UpdatePipelineOutput) SetPipeline(v *PipelineDeclaration) *UpdatePipelineOutput {
+ s.Pipeline = v
+ return s
+}
+
const (
// ActionCategorySource is a ActionCategory enum value
ActionCategorySource = "Source"
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 154d06b..22fbc6e 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
@@ -1644,6 +1644,48 @@ func (s *CreateIdentityPoolInput) Validate() error {
return nil
}
+// SetAllowUnauthenticatedIdentities sets the AllowUnauthenticatedIdentities field's value.
+func (s *CreateIdentityPoolInput) SetAllowUnauthenticatedIdentities(v bool) *CreateIdentityPoolInput {
+ s.AllowUnauthenticatedIdentities = &v
+ return s
+}
+
+// SetCognitoIdentityProviders sets the CognitoIdentityProviders field's value.
+func (s *CreateIdentityPoolInput) SetCognitoIdentityProviders(v []*Provider) *CreateIdentityPoolInput {
+ s.CognitoIdentityProviders = v
+ return s
+}
+
+// SetDeveloperProviderName sets the DeveloperProviderName field's value.
+func (s *CreateIdentityPoolInput) SetDeveloperProviderName(v string) *CreateIdentityPoolInput {
+ s.DeveloperProviderName = &v
+ return s
+}
+
+// SetIdentityPoolName sets the IdentityPoolName field's value.
+func (s *CreateIdentityPoolInput) SetIdentityPoolName(v string) *CreateIdentityPoolInput {
+ s.IdentityPoolName = &v
+ return s
+}
+
+// SetOpenIdConnectProviderARNs sets the OpenIdConnectProviderARNs field's value.
+func (s *CreateIdentityPoolInput) SetOpenIdConnectProviderARNs(v []*string) *CreateIdentityPoolInput {
+ s.OpenIdConnectProviderARNs = v
+ return s
+}
+
+// SetSamlProviderARNs sets the SamlProviderARNs field's value.
+func (s *CreateIdentityPoolInput) SetSamlProviderARNs(v []*string) *CreateIdentityPoolInput {
+ s.SamlProviderARNs = v
+ return s
+}
+
+// SetSupportedLoginProviders sets the SupportedLoginProviders field's value.
+func (s *CreateIdentityPoolInput) SetSupportedLoginProviders(v map[string]*string) *CreateIdentityPoolInput {
+ s.SupportedLoginProviders = v
+ return s
+}
+
// Credentials for the provided identity ID.
type Credentials struct {
_ struct{} `type:"structure"`
@@ -1671,6 +1713,30 @@ func (s Credentials) GoString() string {
return s.String()
}
+// SetAccessKeyId sets the AccessKeyId field's value.
+func (s *Credentials) SetAccessKeyId(v string) *Credentials {
+ s.AccessKeyId = &v
+ return s
+}
+
+// SetExpiration sets the Expiration field's value.
+func (s *Credentials) SetExpiration(v time.Time) *Credentials {
+ s.Expiration = &v
+ return s
+}
+
+// SetSecretKey sets the SecretKey field's value.
+func (s *Credentials) SetSecretKey(v string) *Credentials {
+ s.SecretKey = &v
+ return s
+}
+
+// SetSessionToken sets the SessionToken field's value.
+func (s *Credentials) SetSessionToken(v string) *Credentials {
+ s.SessionToken = &v
+ return s
+}
+
// Input to the DeleteIdentities action.
type DeleteIdentitiesInput struct {
_ struct{} `type:"structure"`
@@ -1707,6 +1773,12 @@ func (s *DeleteIdentitiesInput) Validate() error {
return nil
}
+// SetIdentityIdsToDelete sets the IdentityIdsToDelete field's value.
+func (s *DeleteIdentitiesInput) SetIdentityIdsToDelete(v []*string) *DeleteIdentitiesInput {
+ s.IdentityIdsToDelete = v
+ return s
+}
+
// Returned in response to a successful DeleteIdentities operation.
type DeleteIdentitiesOutput struct {
_ struct{} `type:"structure"`
@@ -1726,6 +1798,12 @@ func (s DeleteIdentitiesOutput) GoString() string {
return s.String()
}
+// SetUnprocessedIdentityIds sets the UnprocessedIdentityIds field's value.
+func (s *DeleteIdentitiesOutput) SetUnprocessedIdentityIds(v []*UnprocessedIdentityId) *DeleteIdentitiesOutput {
+ s.UnprocessedIdentityIds = v
+ return s
+}
+
// Input to the DeleteIdentityPool action.
type DeleteIdentityPoolInput struct {
_ struct{} `type:"structure"`
@@ -1762,6 +1840,12 @@ func (s *DeleteIdentityPoolInput) Validate() error {
return nil
}
+// SetIdentityPoolId sets the IdentityPoolId field's value.
+func (s *DeleteIdentityPoolInput) SetIdentityPoolId(v string) *DeleteIdentityPoolInput {
+ s.IdentityPoolId = &v
+ return s
+}
+
type DeleteIdentityPoolOutput struct {
_ struct{} `type:"structure"`
}
@@ -1812,6 +1896,12 @@ func (s *DescribeIdentityInput) Validate() error {
return nil
}
+// SetIdentityId sets the IdentityId field's value.
+func (s *DescribeIdentityInput) SetIdentityId(v string) *DescribeIdentityInput {
+ s.IdentityId = &v
+ return s
+}
+
// Input to the DescribeIdentityPool action.
type DescribeIdentityPoolInput struct {
_ struct{} `type:"structure"`
@@ -1848,6 +1938,12 @@ func (s *DescribeIdentityPoolInput) Validate() error {
return nil
}
+// SetIdentityPoolId sets the IdentityPoolId field's value.
+func (s *DescribeIdentityPoolInput) SetIdentityPoolId(v string) *DescribeIdentityPoolInput {
+ s.IdentityPoolId = &v
+ return s
+}
+
// Input to the GetCredentialsForIdentity action.
type GetCredentialsForIdentityInput struct {
_ struct{} `type:"structure"`
@@ -1896,6 +1992,24 @@ func (s *GetCredentialsForIdentityInput) Validate() error {
return nil
}
+// SetCustomRoleArn sets the CustomRoleArn field's value.
+func (s *GetCredentialsForIdentityInput) SetCustomRoleArn(v string) *GetCredentialsForIdentityInput {
+ s.CustomRoleArn = &v
+ return s
+}
+
+// SetIdentityId sets the IdentityId field's value.
+func (s *GetCredentialsForIdentityInput) SetIdentityId(v string) *GetCredentialsForIdentityInput {
+ s.IdentityId = &v
+ return s
+}
+
+// SetLogins sets the Logins field's value.
+func (s *GetCredentialsForIdentityInput) SetLogins(v map[string]*string) *GetCredentialsForIdentityInput {
+ s.Logins = v
+ return s
+}
+
// Returned in response to a successful GetCredentialsForIdentity operation.
type GetCredentialsForIdentityOutput struct {
_ struct{} `type:"structure"`
@@ -1917,6 +2031,18 @@ func (s GetCredentialsForIdentityOutput) GoString() string {
return s.String()
}
+// SetCredentials sets the Credentials field's value.
+func (s *GetCredentialsForIdentityOutput) SetCredentials(v *Credentials) *GetCredentialsForIdentityOutput {
+ s.Credentials = v
+ return s
+}
+
+// SetIdentityId sets the IdentityId field's value.
+func (s *GetCredentialsForIdentityOutput) SetIdentityId(v string) *GetCredentialsForIdentityOutput {
+ s.IdentityId = &v
+ return s
+}
+
// Input to the GetId action.
type GetIdInput struct {
_ struct{} `type:"structure"`
@@ -1969,6 +2095,24 @@ func (s *GetIdInput) Validate() error {
return nil
}
+// SetAccountId sets the AccountId field's value.
+func (s *GetIdInput) SetAccountId(v string) *GetIdInput {
+ s.AccountId = &v
+ return s
+}
+
+// SetIdentityPoolId sets the IdentityPoolId field's value.
+func (s *GetIdInput) SetIdentityPoolId(v string) *GetIdInput {
+ s.IdentityPoolId = &v
+ return s
+}
+
+// SetLogins sets the Logins field's value.
+func (s *GetIdInput) SetLogins(v map[string]*string) *GetIdInput {
+ s.Logins = v
+ return s
+}
+
// Returned in response to a GetId request.
type GetIdOutput struct {
_ struct{} `type:"structure"`
@@ -1987,6 +2131,12 @@ func (s GetIdOutput) GoString() string {
return s.String()
}
+// SetIdentityId sets the IdentityId field's value.
+func (s *GetIdOutput) SetIdentityId(v string) *GetIdOutput {
+ s.IdentityId = &v
+ return s
+}
+
// Input to the GetIdentityPoolRoles action.
type GetIdentityPoolRolesInput struct {
_ struct{} `type:"structure"`
@@ -2023,6 +2173,12 @@ func (s *GetIdentityPoolRolesInput) Validate() error {
return nil
}
+// SetIdentityPoolId sets the IdentityPoolId field's value.
+func (s *GetIdentityPoolRolesInput) SetIdentityPoolId(v string) *GetIdentityPoolRolesInput {
+ s.IdentityPoolId = &v
+ return s
+}
+
// Returned in response to a successful GetIdentityPoolRoles operation.
type GetIdentityPoolRolesOutput struct {
_ struct{} `type:"structure"`
@@ -2045,6 +2201,18 @@ func (s GetIdentityPoolRolesOutput) GoString() string {
return s.String()
}
+// SetIdentityPoolId sets the IdentityPoolId field's value.
+func (s *GetIdentityPoolRolesOutput) SetIdentityPoolId(v string) *GetIdentityPoolRolesOutput {
+ s.IdentityPoolId = &v
+ return s
+}
+
+// SetRoles sets the Roles field's value.
+func (s *GetIdentityPoolRolesOutput) SetRoles(v map[string]*string) *GetIdentityPoolRolesOutput {
+ s.Roles = v
+ return s
+}
+
// Input to the GetOpenIdTokenForDeveloperIdentity action.
type GetOpenIdTokenForDeveloperIdentityInput struct {
_ struct{} `type:"structure"`
@@ -2116,6 +2284,30 @@ func (s *GetOpenIdTokenForDeveloperIdentityInput) Validate() error {
return nil
}
+// SetIdentityId sets the IdentityId field's value.
+func (s *GetOpenIdTokenForDeveloperIdentityInput) SetIdentityId(v string) *GetOpenIdTokenForDeveloperIdentityInput {
+ s.IdentityId = &v
+ return s
+}
+
+// SetIdentityPoolId sets the IdentityPoolId field's value.
+func (s *GetOpenIdTokenForDeveloperIdentityInput) SetIdentityPoolId(v string) *GetOpenIdTokenForDeveloperIdentityInput {
+ s.IdentityPoolId = &v
+ return s
+}
+
+// SetLogins sets the Logins field's value.
+func (s *GetOpenIdTokenForDeveloperIdentityInput) SetLogins(v map[string]*string) *GetOpenIdTokenForDeveloperIdentityInput {
+ s.Logins = v
+ return s
+}
+
+// SetTokenDuration sets the TokenDuration field's value.
+func (s *GetOpenIdTokenForDeveloperIdentityInput) SetTokenDuration(v int64) *GetOpenIdTokenForDeveloperIdentityInput {
+ s.TokenDuration = &v
+ return s
+}
+
// Returned in response to a successful GetOpenIdTokenForDeveloperIdentity request.
type GetOpenIdTokenForDeveloperIdentityOutput struct {
_ struct{} `type:"structure"`
@@ -2137,6 +2329,18 @@ func (s GetOpenIdTokenForDeveloperIdentityOutput) GoString() string {
return s.String()
}
+// SetIdentityId sets the IdentityId field's value.
+func (s *GetOpenIdTokenForDeveloperIdentityOutput) SetIdentityId(v string) *GetOpenIdTokenForDeveloperIdentityOutput {
+ s.IdentityId = &v
+ return s
+}
+
+// SetToken sets the Token field's value.
+func (s *GetOpenIdTokenForDeveloperIdentityOutput) SetToken(v string) *GetOpenIdTokenForDeveloperIdentityOutput {
+ s.Token = &v
+ return s
+}
+
// Input to the GetOpenIdToken action.
type GetOpenIdTokenInput struct {
_ struct{} `type:"structure"`
@@ -2179,6 +2383,18 @@ func (s *GetOpenIdTokenInput) Validate() error {
return nil
}
+// SetIdentityId sets the IdentityId field's value.
+func (s *GetOpenIdTokenInput) SetIdentityId(v string) *GetOpenIdTokenInput {
+ s.IdentityId = &v
+ return s
+}
+
+// SetLogins sets the Logins field's value.
+func (s *GetOpenIdTokenInput) SetLogins(v map[string]*string) *GetOpenIdTokenInput {
+ s.Logins = v
+ return s
+}
+
// Returned in response to a successful GetOpenIdToken request.
type GetOpenIdTokenOutput struct {
_ struct{} `type:"structure"`
@@ -2201,6 +2417,18 @@ func (s GetOpenIdTokenOutput) GoString() string {
return s.String()
}
+// SetIdentityId sets the IdentityId field's value.
+func (s *GetOpenIdTokenOutput) SetIdentityId(v string) *GetOpenIdTokenOutput {
+ s.IdentityId = &v
+ return s
+}
+
+// SetToken sets the Token field's value.
+func (s *GetOpenIdTokenOutput) SetToken(v string) *GetOpenIdTokenOutput {
+ s.Token = &v
+ return s
+}
+
// A description of the identity.
type IdentityDescription struct {
_ struct{} `type:"structure"`
@@ -2228,6 +2456,30 @@ func (s IdentityDescription) GoString() string {
return s.String()
}
+// SetCreationDate sets the CreationDate field's value.
+func (s *IdentityDescription) SetCreationDate(v time.Time) *IdentityDescription {
+ s.CreationDate = &v
+ return s
+}
+
+// SetIdentityId sets the IdentityId field's value.
+func (s *IdentityDescription) SetIdentityId(v string) *IdentityDescription {
+ s.IdentityId = &v
+ return s
+}
+
+// SetLastModifiedDate sets the LastModifiedDate field's value.
+func (s *IdentityDescription) SetLastModifiedDate(v time.Time) *IdentityDescription {
+ s.LastModifiedDate = &v
+ return s
+}
+
+// SetLogins sets the Logins field's value.
+func (s *IdentityDescription) SetLogins(v []*string) *IdentityDescription {
+ s.Logins = v
+ return s
+}
+
// An object representing a Cognito identity pool.
type IdentityPool struct {
_ struct{} `type:"structure"`
@@ -2312,6 +2564,54 @@ func (s *IdentityPool) Validate() error {
return nil
}
+// SetAllowUnauthenticatedIdentities sets the AllowUnauthenticatedIdentities field's value.
+func (s *IdentityPool) SetAllowUnauthenticatedIdentities(v bool) *IdentityPool {
+ s.AllowUnauthenticatedIdentities = &v
+ return s
+}
+
+// SetCognitoIdentityProviders sets the CognitoIdentityProviders field's value.
+func (s *IdentityPool) SetCognitoIdentityProviders(v []*Provider) *IdentityPool {
+ s.CognitoIdentityProviders = v
+ return s
+}
+
+// SetDeveloperProviderName sets the DeveloperProviderName field's value.
+func (s *IdentityPool) SetDeveloperProviderName(v string) *IdentityPool {
+ s.DeveloperProviderName = &v
+ return s
+}
+
+// SetIdentityPoolId sets the IdentityPoolId field's value.
+func (s *IdentityPool) SetIdentityPoolId(v string) *IdentityPool {
+ s.IdentityPoolId = &v
+ return s
+}
+
+// SetIdentityPoolName sets the IdentityPoolName field's value.
+func (s *IdentityPool) SetIdentityPoolName(v string) *IdentityPool {
+ s.IdentityPoolName = &v
+ return s
+}
+
+// SetOpenIdConnectProviderARNs sets the OpenIdConnectProviderARNs field's value.
+func (s *IdentityPool) SetOpenIdConnectProviderARNs(v []*string) *IdentityPool {
+ s.OpenIdConnectProviderARNs = v
+ return s
+}
+
+// SetSamlProviderARNs sets the SamlProviderARNs field's value.
+func (s *IdentityPool) SetSamlProviderARNs(v []*string) *IdentityPool {
+ s.SamlProviderARNs = v
+ return s
+}
+
+// SetSupportedLoginProviders sets the SupportedLoginProviders field's value.
+func (s *IdentityPool) SetSupportedLoginProviders(v map[string]*string) *IdentityPool {
+ s.SupportedLoginProviders = v
+ return s
+}
+
// A description of the identity pool.
type IdentityPoolShortDescription struct {
_ struct{} `type:"structure"`
@@ -2333,6 +2633,18 @@ func (s IdentityPoolShortDescription) GoString() string {
return s.String()
}
+// SetIdentityPoolId sets the IdentityPoolId field's value.
+func (s *IdentityPoolShortDescription) SetIdentityPoolId(v string) *IdentityPoolShortDescription {
+ s.IdentityPoolId = &v
+ return s
+}
+
+// SetIdentityPoolName sets the IdentityPoolName field's value.
+func (s *IdentityPoolShortDescription) SetIdentityPoolName(v string) *IdentityPoolShortDescription {
+ s.IdentityPoolName = &v
+ return s
+}
+
// Input to the ListIdentities action.
type ListIdentitiesInput struct {
_ struct{} `type:"structure"`
@@ -2391,6 +2703,30 @@ func (s *ListIdentitiesInput) Validate() error {
return nil
}
+// SetHideDisabled sets the HideDisabled field's value.
+func (s *ListIdentitiesInput) SetHideDisabled(v bool) *ListIdentitiesInput {
+ s.HideDisabled = &v
+ return s
+}
+
+// SetIdentityPoolId sets the IdentityPoolId field's value.
+func (s *ListIdentitiesInput) SetIdentityPoolId(v string) *ListIdentitiesInput {
+ s.IdentityPoolId = &v
+ return s
+}
+
+// SetMaxResults sets the MaxResults field's value.
+func (s *ListIdentitiesInput) SetMaxResults(v int64) *ListIdentitiesInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListIdentitiesInput) SetNextToken(v string) *ListIdentitiesInput {
+ s.NextToken = &v
+ return s
+}
+
// The response to a ListIdentities request.
type ListIdentitiesOutput struct {
_ struct{} `type:"structure"`
@@ -2415,6 +2751,24 @@ func (s ListIdentitiesOutput) GoString() string {
return s.String()
}
+// SetIdentities sets the Identities field's value.
+func (s *ListIdentitiesOutput) SetIdentities(v []*IdentityDescription) *ListIdentitiesOutput {
+ s.Identities = v
+ return s
+}
+
+// SetIdentityPoolId sets the IdentityPoolId field's value.
+func (s *ListIdentitiesOutput) SetIdentityPoolId(v string) *ListIdentitiesOutput {
+ s.IdentityPoolId = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListIdentitiesOutput) SetNextToken(v string) *ListIdentitiesOutput {
+ s.NextToken = &v
+ return s
+}
+
// Input to the ListIdentityPools action.
type ListIdentityPoolsInput struct {
_ struct{} `type:"structure"`
@@ -2457,6 +2811,18 @@ func (s *ListIdentityPoolsInput) Validate() error {
return nil
}
+// SetMaxResults sets the MaxResults field's value.
+func (s *ListIdentityPoolsInput) SetMaxResults(v int64) *ListIdentityPoolsInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListIdentityPoolsInput) SetNextToken(v string) *ListIdentityPoolsInput {
+ s.NextToken = &v
+ return s
+}
+
// The result of a successful ListIdentityPools action.
type ListIdentityPoolsOutput struct {
_ struct{} `type:"structure"`
@@ -2478,6 +2844,18 @@ func (s ListIdentityPoolsOutput) GoString() string {
return s.String()
}
+// SetIdentityPools sets the IdentityPools field's value.
+func (s *ListIdentityPoolsOutput) SetIdentityPools(v []*IdentityPoolShortDescription) *ListIdentityPoolsOutput {
+ s.IdentityPools = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListIdentityPoolsOutput) SetNextToken(v string) *ListIdentityPoolsOutput {
+ s.NextToken = &v
+ return s
+}
+
// Input to the LookupDeveloperIdentityInput action.
type LookupDeveloperIdentityInput struct {
_ struct{} `type:"structure"`
@@ -2545,6 +2923,36 @@ func (s *LookupDeveloperIdentityInput) Validate() error {
return nil
}
+// SetDeveloperUserIdentifier sets the DeveloperUserIdentifier field's value.
+func (s *LookupDeveloperIdentityInput) SetDeveloperUserIdentifier(v string) *LookupDeveloperIdentityInput {
+ s.DeveloperUserIdentifier = &v
+ return s
+}
+
+// SetIdentityId sets the IdentityId field's value.
+func (s *LookupDeveloperIdentityInput) SetIdentityId(v string) *LookupDeveloperIdentityInput {
+ s.IdentityId = &v
+ return s
+}
+
+// SetIdentityPoolId sets the IdentityPoolId field's value.
+func (s *LookupDeveloperIdentityInput) SetIdentityPoolId(v string) *LookupDeveloperIdentityInput {
+ s.IdentityPoolId = &v
+ return s
+}
+
+// SetMaxResults sets the MaxResults field's value.
+func (s *LookupDeveloperIdentityInput) SetMaxResults(v int64) *LookupDeveloperIdentityInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *LookupDeveloperIdentityInput) SetNextToken(v string) *LookupDeveloperIdentityInput {
+ s.NextToken = &v
+ return s
+}
+
// Returned in response to a successful LookupDeveloperIdentity action.
type LookupDeveloperIdentityOutput struct {
_ struct{} `type:"structure"`
@@ -2576,6 +2984,24 @@ func (s LookupDeveloperIdentityOutput) GoString() string {
return s.String()
}
+// SetDeveloperUserIdentifierList sets the DeveloperUserIdentifierList field's value.
+func (s *LookupDeveloperIdentityOutput) SetDeveloperUserIdentifierList(v []*string) *LookupDeveloperIdentityOutput {
+ s.DeveloperUserIdentifierList = v
+ return s
+}
+
+// SetIdentityId sets the IdentityId field's value.
+func (s *LookupDeveloperIdentityOutput) SetIdentityId(v string) *LookupDeveloperIdentityOutput {
+ s.IdentityId = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *LookupDeveloperIdentityOutput) SetNextToken(v string) *LookupDeveloperIdentityOutput {
+ s.NextToken = &v
+ return s
+}
+
// Input to the MergeDeveloperIdentities action.
type MergeDeveloperIdentitiesInput struct {
_ struct{} `type:"structure"`
@@ -2649,6 +3075,30 @@ func (s *MergeDeveloperIdentitiesInput) Validate() error {
return nil
}
+// SetDestinationUserIdentifier sets the DestinationUserIdentifier field's value.
+func (s *MergeDeveloperIdentitiesInput) SetDestinationUserIdentifier(v string) *MergeDeveloperIdentitiesInput {
+ s.DestinationUserIdentifier = &v
+ return s
+}
+
+// SetDeveloperProviderName sets the DeveloperProviderName field's value.
+func (s *MergeDeveloperIdentitiesInput) SetDeveloperProviderName(v string) *MergeDeveloperIdentitiesInput {
+ s.DeveloperProviderName = &v
+ return s
+}
+
+// SetIdentityPoolId sets the IdentityPoolId field's value.
+func (s *MergeDeveloperIdentitiesInput) SetIdentityPoolId(v string) *MergeDeveloperIdentitiesInput {
+ s.IdentityPoolId = &v
+ return s
+}
+
+// SetSourceUserIdentifier sets the SourceUserIdentifier field's value.
+func (s *MergeDeveloperIdentitiesInput) SetSourceUserIdentifier(v string) *MergeDeveloperIdentitiesInput {
+ s.SourceUserIdentifier = &v
+ return s
+}
+
// Returned in response to a successful MergeDeveloperIdentities action.
type MergeDeveloperIdentitiesOutput struct {
_ struct{} `type:"structure"`
@@ -2667,6 +3117,12 @@ func (s MergeDeveloperIdentitiesOutput) GoString() string {
return s.String()
}
+// SetIdentityId sets the IdentityId field's value.
+func (s *MergeDeveloperIdentitiesOutput) SetIdentityId(v string) *MergeDeveloperIdentitiesOutput {
+ s.IdentityId = &v
+ return s
+}
+
// A provider representing an Amazon Cognito Identity User Pool and its client
// ID.
type Provider struct {
@@ -2706,6 +3162,18 @@ func (s *Provider) Validate() error {
return nil
}
+// SetClientId sets the ClientId field's value.
+func (s *Provider) SetClientId(v string) *Provider {
+ s.ClientId = &v
+ return s
+}
+
+// SetProviderName sets the ProviderName field's value.
+func (s *Provider) SetProviderName(v string) *Provider {
+ s.ProviderName = &v
+ return s
+}
+
// Input to the SetIdentityPoolRoles action.
type SetIdentityPoolRolesInput struct {
_ struct{} `type:"structure"`
@@ -2752,6 +3220,18 @@ func (s *SetIdentityPoolRolesInput) Validate() error {
return nil
}
+// SetIdentityPoolId sets the IdentityPoolId field's value.
+func (s *SetIdentityPoolRolesInput) SetIdentityPoolId(v string) *SetIdentityPoolRolesInput {
+ s.IdentityPoolId = &v
+ return s
+}
+
+// SetRoles sets the Roles field's value.
+func (s *SetIdentityPoolRolesInput) SetRoles(v map[string]*string) *SetIdentityPoolRolesInput {
+ s.Roles = v
+ return s
+}
+
type SetIdentityPoolRolesOutput struct {
_ struct{} `type:"structure"`
}
@@ -2835,6 +3315,30 @@ func (s *UnlinkDeveloperIdentityInput) Validate() error {
return nil
}
+// SetDeveloperProviderName sets the DeveloperProviderName field's value.
+func (s *UnlinkDeveloperIdentityInput) SetDeveloperProviderName(v string) *UnlinkDeveloperIdentityInput {
+ s.DeveloperProviderName = &v
+ return s
+}
+
+// SetDeveloperUserIdentifier sets the DeveloperUserIdentifier field's value.
+func (s *UnlinkDeveloperIdentityInput) SetDeveloperUserIdentifier(v string) *UnlinkDeveloperIdentityInput {
+ s.DeveloperUserIdentifier = &v
+ return s
+}
+
+// SetIdentityId sets the IdentityId field's value.
+func (s *UnlinkDeveloperIdentityInput) SetIdentityId(v string) *UnlinkDeveloperIdentityInput {
+ s.IdentityId = &v
+ return s
+}
+
+// SetIdentityPoolId sets the IdentityPoolId field's value.
+func (s *UnlinkDeveloperIdentityInput) SetIdentityPoolId(v string) *UnlinkDeveloperIdentityInput {
+ s.IdentityPoolId = &v
+ return s
+}
+
type UnlinkDeveloperIdentityOutput struct {
_ struct{} `type:"structure"`
}
@@ -2901,6 +3405,24 @@ func (s *UnlinkIdentityInput) Validate() error {
return nil
}
+// SetIdentityId sets the IdentityId field's value.
+func (s *UnlinkIdentityInput) SetIdentityId(v string) *UnlinkIdentityInput {
+ s.IdentityId = &v
+ return s
+}
+
+// SetLogins sets the Logins field's value.
+func (s *UnlinkIdentityInput) SetLogins(v map[string]*string) *UnlinkIdentityInput {
+ s.Logins = v
+ return s
+}
+
+// SetLoginsToRemove sets the LoginsToRemove field's value.
+func (s *UnlinkIdentityInput) SetLoginsToRemove(v []*string) *UnlinkIdentityInput {
+ s.LoginsToRemove = v
+ return s
+}
+
type UnlinkIdentityOutput struct {
_ struct{} `type:"structure"`
}
@@ -2937,6 +3459,18 @@ func (s UnprocessedIdentityId) GoString() string {
return s.String()
}
+// SetErrorCode sets the ErrorCode field's value.
+func (s *UnprocessedIdentityId) SetErrorCode(v string) *UnprocessedIdentityId {
+ s.ErrorCode = &v
+ return s
+}
+
+// SetIdentityId sets the IdentityId field's value.
+func (s *UnprocessedIdentityId) SetIdentityId(v string) *UnprocessedIdentityId {
+ s.IdentityId = &v
+ return s
+}
+
const (
// ErrorCodeAccessDenied is a ErrorCode enum value
ErrorCodeAccessDenied = "AccessDenied"
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 a88c31f..09feebb 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
@@ -5346,6 +5346,18 @@ func (s *AddCustomAttributesInput) Validate() error {
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.
type AddCustomAttributesOutput struct {
_ struct{} `type:"structure"`
@@ -5408,6 +5420,18 @@ func (s *AdminConfirmSignUpInput) Validate() error {
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.
type AdminConfirmSignUpOutput struct {
_ struct{} `type:"structure"`
@@ -5465,6 +5489,24 @@ func (s *AdminCreateUserConfigType) Validate() error {
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.
type AdminCreateUserInput struct {
_ struct{} `type:"structure"`
@@ -5617,6 +5659,54 @@ 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
+ 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.
type AdminCreateUserOutput struct {
_ struct{} `type:"structure"`
@@ -5635,6 +5725,12 @@ 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.
type AdminDeleteUserAttributesInput struct {
_ struct{} `type:"structure"`
@@ -5690,6 +5786,24 @@ func (s *AdminDeleteUserAttributesInput) Validate() error {
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.
type AdminDeleteUserAttributesOutput struct {
@@ -5753,6 +5867,18 @@ func (s *AdminDeleteUserInput) Validate() error {
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
+}
+
type AdminDeleteUserOutput struct {
_ struct{} `type:"structure"`
}
@@ -5814,6 +5940,18 @@ func (s *AdminDisableUserInput) Validate() error {
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.
type AdminDisableUserOutput struct {
@@ -5877,6 +6015,18 @@ func (s *AdminEnableUserInput) Validate() error {
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.
type AdminEnableUserOutput struct {
@@ -5951,6 +6101,24 @@ func (s *AdminForgetDeviceInput) Validate() error {
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
+}
+
type AdminForgetDeviceOutput struct {
_ struct{} `type:"structure"`
}
@@ -6023,6 +6191,24 @@ func (s *AdminGetDeviceInput) Validate() error {
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.
type AdminGetDeviceOutput struct {
_ struct{} `type:"structure"`
@@ -6043,6 +6229,12 @@ 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.
type AdminGetUserInput struct {
_ struct{} `type:"structure"`
@@ -6091,6 +6283,18 @@ func (s *AdminGetUserInput) Validate() error {
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.
type AdminGetUserOutput struct {
@@ -6140,6 +6344,48 @@ 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
+}
+
+// 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
+}
+
+// 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.
type AdminInitiateAuthInput struct {
_ struct{} `type:"structure"`
@@ -6201,11 +6447,41 @@ func (s *AdminInitiateAuthInput) Validate() error {
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
+}
+
+// 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
+}
+
+// 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.
type AdminInitiateAuthOutput struct {
_ struct{} `type:"structure"`
- // The result type of the authentication result.
+ // The result of the authentication response.
AuthenticationResult *AuthenticationResultType `type:"structure"`
// The name of the challenge.
@@ -6228,6 +6504,30 @@ 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
+}
+
// Represents the request to list devices, as an administrator.
type AdminListDevicesInput struct {
_ struct{} `type:"structure"`
@@ -6284,6 +6584,30 @@ func (s *AdminListDevicesInput) Validate() error {
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.
type AdminListDevicesOutput struct {
_ struct{} `type:"structure"`
@@ -6305,6 +6629,18 @@ 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
+}
+
// Represents the request to reset a user's password as an administrator.
type AdminResetUserPasswordInput struct {
_ struct{} `type:"structure"`
@@ -6352,6 +6688,18 @@ func (s *AdminResetUserPasswordInput) Validate() error {
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.
type AdminResetUserPasswordOutput struct {
_ struct{} `type:"structure"`
@@ -6431,11 +6779,41 @@ func (s *AdminRespondToAuthChallengeInput) Validate() error {
return nil
}
+// 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
+}
+
+// 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 *AdminRespondToAuthChallengeInput) SetUserPoolId(v string) *AdminRespondToAuthChallengeInput {
+ s.UserPoolId = &v
+ return s
+}
+
// Responds to the authentication challenge, as an administrator.
type AdminRespondToAuthChallengeOutput struct {
_ struct{} `type:"structure"`
- // The result type of the authentication result.
+ // The result returned by the server in response to the authentication request.
AuthenticationResult *AuthenticationResultType `type:"structure"`
// The name of the challenge.
@@ -6458,6 +6836,30 @@ 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
+}
+
// Represents the request to set user settings as an administrator.
type AdminSetUserSettingsInput struct {
_ struct{} `type:"structure"`
@@ -6524,6 +6926,24 @@ func (s *AdminSetUserSettingsInput) 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 *AdminSetUserSettingsInput) SetUserPoolId(v string) *AdminSetUserSettingsInput {
+ s.UserPoolId = &v
+ return s
+}
+
+// SetUsername sets the Username field's value.
+func (s *AdminSetUserSettingsInput) SetUsername(v string) *AdminSetUserSettingsInput {
+ s.Username = &v
+ return s
+}
+
// Represents the response from the server to set user settings as an administrator.
type AdminSetUserSettingsOutput struct {
_ struct{} `type:"structure"`
@@ -6600,6 +7020,30 @@ func (s *AdminUpdateDeviceStatusInput) Validate() error {
return nil
}
+// SetDeviceKey sets the DeviceKey field's value.
+func (s *AdminUpdateDeviceStatusInput) SetDeviceKey(v string) *AdminUpdateDeviceStatusInput {
+ s.DeviceKey = &v
+ return s
+}
+
+// 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 *AdminUpdateDeviceStatusInput) SetUserPoolId(v string) *AdminUpdateDeviceStatusInput {
+ 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.
type AdminUpdateDeviceStatusOutput struct {
_ struct{} `type:"structure"`
@@ -6680,6 +7124,24 @@ func (s *AdminUpdateUserAttributesInput) Validate() error {
return nil
}
+// 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 *AdminUpdateUserAttributesInput) SetUserPoolId(v string) *AdminUpdateUserAttributesInput {
+ s.UserPoolId = &v
+ return s
+}
+
+// SetUsername sets the Username field's value.
+func (s *AdminUpdateUserAttributesInput) SetUsername(v string) *AdminUpdateUserAttributesInput {
+ s.Username = &v
+ return s
+}
+
// Represents the response from the server for the request to update user attributes
// as an administrator.
type AdminUpdateUserAttributesOutput struct {
@@ -6743,6 +7205,18 @@ func (s *AdminUserGlobalSignOutInput) Validate() error {
return nil
}
+// SetUserPoolId sets the UserPoolId field's value.
+func (s *AdminUserGlobalSignOutInput) SetUserPoolId(v string) *AdminUserGlobalSignOutInput {
+ s.UserPoolId = &v
+ return s
+}
+
+// SetUsername sets the Username field's value.
+func (s *AdminUserGlobalSignOutInput) SetUsername(v string) *AdminUserGlobalSignOutInput {
+ s.Username = &v
+ return s
+}
+
// The global sign-out response, as an administrator.
type AdminUserGlobalSignOutOutput struct {
_ struct{} `type:"structure"`
@@ -6797,6 +7271,18 @@ func (s *AttributeType) Validate() error {
return nil
}
+// SetName sets the Name field's value.
+func (s *AttributeType) SetName(v string) *AttributeType {
+ s.Name = &v
+ return s
+}
+
+// SetValue sets the Value field's value.
+func (s *AttributeType) SetValue(v string) *AttributeType {
+ s.Value = &v
+ return s
+}
+
// The result type of the authentication result.
type AuthenticationResultType struct {
_ struct{} `type:"structure"`
@@ -6830,6 +7316,42 @@ func (s AuthenticationResultType) GoString() string {
return s.String()
}
+// SetAccessToken sets the AccessToken field's value.
+func (s *AuthenticationResultType) SetAccessToken(v string) *AuthenticationResultType {
+ s.AccessToken = &v
+ return s
+}
+
+// SetExpiresIn sets the ExpiresIn field's value.
+func (s *AuthenticationResultType) SetExpiresIn(v int64) *AuthenticationResultType {
+ s.ExpiresIn = &v
+ return s
+}
+
+// SetIdToken sets the IdToken field's value.
+func (s *AuthenticationResultType) SetIdToken(v string) *AuthenticationResultType {
+ s.IdToken = &v
+ return s
+}
+
+// SetNewDeviceMetadata sets the NewDeviceMetadata field's value.
+func (s *AuthenticationResultType) SetNewDeviceMetadata(v *NewDeviceMetadataType) *AuthenticationResultType {
+ s.NewDeviceMetadata = v
+ return s
+}
+
+// SetRefreshToken sets the RefreshToken field's value.
+func (s *AuthenticationResultType) SetRefreshToken(v string) *AuthenticationResultType {
+ s.RefreshToken = &v
+ return s
+}
+
+// SetTokenType sets the TokenType field's value.
+func (s *AuthenticationResultType) SetTokenType(v string) *AuthenticationResultType {
+ s.TokenType = &v
+ return s
+}
+
// Represents the request to change a user password.
type ChangePasswordInput struct {
_ struct{} `type:"structure"`
@@ -6880,6 +7402,24 @@ func (s *ChangePasswordInput) Validate() error {
return nil
}
+// SetAccessToken sets the AccessToken field's value.
+func (s *ChangePasswordInput) SetAccessToken(v string) *ChangePasswordInput {
+ s.AccessToken = &v
+ return s
+}
+
+// SetPreviousPassword sets the PreviousPassword field's value.
+func (s *ChangePasswordInput) SetPreviousPassword(v string) *ChangePasswordInput {
+ s.PreviousPassword = &v
+ return s
+}
+
+// SetProposedPassword sets the ProposedPassword field's value.
+func (s *ChangePasswordInput) SetProposedPassword(v string) *ChangePasswordInput {
+ s.ProposedPassword = &v
+ return s
+}
+
// The response from the server to the change password request.
type ChangePasswordOutput struct {
_ struct{} `type:"structure"`
@@ -6919,6 +7459,24 @@ func (s CodeDeliveryDetailsType) GoString() string {
return s.String()
}
+// SetAttributeName sets the AttributeName field's value.
+func (s *CodeDeliveryDetailsType) SetAttributeName(v string) *CodeDeliveryDetailsType {
+ s.AttributeName = &v
+ return s
+}
+
+// SetDeliveryMedium sets the DeliveryMedium field's value.
+func (s *CodeDeliveryDetailsType) SetDeliveryMedium(v string) *CodeDeliveryDetailsType {
+ s.DeliveryMedium = &v
+ return s
+}
+
+// SetDestination sets the Destination field's value.
+func (s *CodeDeliveryDetailsType) SetDestination(v string) *CodeDeliveryDetailsType {
+ s.Destination = &v
+ return s
+}
+
// Confirms the device request.
type ConfirmDeviceInput struct {
_ struct{} `type:"structure"`
@@ -6972,6 +7530,30 @@ func (s *ConfirmDeviceInput) Validate() error {
return nil
}
+// SetAccessToken sets the AccessToken field's value.
+func (s *ConfirmDeviceInput) SetAccessToken(v string) *ConfirmDeviceInput {
+ s.AccessToken = &v
+ return s
+}
+
+// SetDeviceKey sets the DeviceKey field's value.
+func (s *ConfirmDeviceInput) SetDeviceKey(v string) *ConfirmDeviceInput {
+ s.DeviceKey = &v
+ return s
+}
+
+// SetDeviceName sets the DeviceName field's value.
+func (s *ConfirmDeviceInput) SetDeviceName(v string) *ConfirmDeviceInput {
+ s.DeviceName = &v
+ return s
+}
+
+// SetDeviceSecretVerifierConfig sets the DeviceSecretVerifierConfig field's value.
+func (s *ConfirmDeviceInput) SetDeviceSecretVerifierConfig(v *DeviceSecretVerifierConfigType) *ConfirmDeviceInput {
+ s.DeviceSecretVerifierConfig = v
+ return s
+}
+
// Confirms the device response.
type ConfirmDeviceOutput struct {
_ struct{} `type:"structure"`
@@ -6991,6 +7573,12 @@ func (s ConfirmDeviceOutput) GoString() string {
return s.String()
}
+// 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.
type ConfirmForgotPasswordInput struct {
_ struct{} `type:"structure"`
@@ -7068,6 +7656,36 @@ 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
+ return s
+}
+
+// SetUsername sets the Username field's value.
+func (s *ConfirmForgotPasswordInput) SetUsername(v string) *ConfirmForgotPasswordInput {
+ s.Username = &v
+ return s
+}
+
// The response from the server that results from a user's request to retrieve
// a forgotten password.
type ConfirmForgotPasswordOutput struct {
@@ -7157,6 +7775,36 @@ 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
+ return s
+}
+
+// SetUsername sets the Username field's value.
+func (s *ConfirmSignUpInput) SetUsername(v string) *ConfirmSignUpInput {
+ s.Username = &v
+ return s
+}
+
// Represents the response from the server for the registration confirmation.
type ConfirmSignUpOutput struct {
_ struct{} `type:"structure"`
@@ -7230,6 +7878,24 @@ 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
+ return s
+}
+
+// SetUserPoolId sets the UserPoolId field's value.
+func (s *CreateUserImportJobInput) SetUserPoolId(v string) *CreateUserImportJobInput {
+ s.UserPoolId = &v
+ return s
+}
+
// Represents the response from the server to the request to create the user
// import job.
type CreateUserImportJobOutput struct {
@@ -7249,6 +7915,12 @@ func (s CreateUserImportJobOutput) 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.
type CreateUserPoolClientInput struct {
_ struct{} `type:"structure"`
@@ -7312,6 +7984,48 @@ func (s *CreateUserPoolClientInput) Validate() error {
return nil
}
+// SetClientName sets the ClientName field's value.
+func (s *CreateUserPoolClientInput) SetClientName(v string) *CreateUserPoolClientInput {
+ s.ClientName = &v
+ return s
+}
+
+// SetExplicitAuthFlows sets the ExplicitAuthFlows field's value.
+func (s *CreateUserPoolClientInput) SetExplicitAuthFlows(v []*string) *CreateUserPoolClientInput {
+ s.ExplicitAuthFlows = v
+ return s
+}
+
+// SetGenerateSecret sets the GenerateSecret field's value.
+func (s *CreateUserPoolClientInput) SetGenerateSecret(v bool) *CreateUserPoolClientInput {
+ s.GenerateSecret = &v
+ return s
+}
+
+// SetReadAttributes sets the ReadAttributes field's value.
+func (s *CreateUserPoolClientInput) SetReadAttributes(v []*string) *CreateUserPoolClientInput {
+ s.ReadAttributes = v
+ return s
+}
+
+// SetRefreshTokenValidity sets the RefreshTokenValidity field's value.
+func (s *CreateUserPoolClientInput) SetRefreshTokenValidity(v int64) *CreateUserPoolClientInput {
+ s.RefreshTokenValidity = &v
+ return s
+}
+
+// SetUserPoolId sets the UserPoolId field's value.
+func (s *CreateUserPoolClientInput) SetUserPoolId(v string) *CreateUserPoolClientInput {
+ 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.
type CreateUserPoolClientOutput struct {
_ struct{} `type:"structure"`
@@ -7330,6 +8044,12 @@ func (s CreateUserPoolClientOutput) GoString() string {
return s.String()
}
+// SetUserPoolClient sets the UserPoolClient field's value.
+func (s *CreateUserPoolClientOutput) SetUserPoolClient(v *UserPoolClientType) *CreateUserPoolClientOutput {
+ s.UserPoolClient = v
+ return s
+}
+
// Represents the request to create a user pool.
type CreateUserPoolInput struct {
_ struct{} `type:"structure"`
@@ -7370,6 +8090,10 @@ type CreateUserPoolInput struct {
// 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"`
@@ -7405,6 +8129,9 @@ func (s *CreateUserPoolInput) Validate() error {
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))
}
@@ -7431,6 +8158,16 @@ func (s *CreateUserPoolInput) Validate() error {
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))
@@ -7443,13 +8180,103 @@ func (s *CreateUserPoolInput) Validate() error {
return nil
}
-// Represents the response from the server for the request to create a user
-// pool.
-type CreateUserPoolOutput struct {
- _ struct{} `type:"structure"`
+// SetAdminCreateUserConfig sets the AdminCreateUserConfig field's value.
+func (s *CreateUserPoolInput) SetAdminCreateUserConfig(v *AdminCreateUserConfigType) *CreateUserPoolInput {
+ s.AdminCreateUserConfig = v
+ return s
+}
- // A container for the user pool details.
- UserPool *UserPoolType `type:"structure"`
+// SetAliasAttributes sets the AliasAttributes field's value.
+func (s *CreateUserPoolInput) SetAliasAttributes(v []*string) *CreateUserPoolInput {
+ s.AliasAttributes = v
+ return s
+}
+
+// SetAutoVerifiedAttributes sets the AutoVerifiedAttributes field's value.
+func (s *CreateUserPoolInput) SetAutoVerifiedAttributes(v []*string) *CreateUserPoolInput {
+ s.AutoVerifiedAttributes = v
+ return s
+}
+
+// SetDeviceConfiguration sets the DeviceConfiguration field's value.
+func (s *CreateUserPoolInput) SetDeviceConfiguration(v *DeviceConfigurationType) *CreateUserPoolInput {
+ s.DeviceConfiguration = v
+ return s
+}
+
+// SetEmailConfiguration sets the EmailConfiguration field's value.
+func (s *CreateUserPoolInput) SetEmailConfiguration(v *EmailConfigurationType) *CreateUserPoolInput {
+ s.EmailConfiguration = v
+ return s
+}
+
+// SetEmailVerificationMessage sets the EmailVerificationMessage field's value.
+func (s *CreateUserPoolInput) SetEmailVerificationMessage(v string) *CreateUserPoolInput {
+ s.EmailVerificationMessage = &v
+ return s
+}
+
+// SetEmailVerificationSubject sets the EmailVerificationSubject field's value.
+func (s *CreateUserPoolInput) SetEmailVerificationSubject(v string) *CreateUserPoolInput {
+ s.EmailVerificationSubject = &v
+ return s
+}
+
+// SetLambdaConfig sets the LambdaConfig field's value.
+func (s *CreateUserPoolInput) SetLambdaConfig(v *LambdaConfigType) *CreateUserPoolInput {
+ s.LambdaConfig = v
+ return s
+}
+
+// SetMfaConfiguration sets the MfaConfiguration field's value.
+func (s *CreateUserPoolInput) SetMfaConfiguration(v string) *CreateUserPoolInput {
+ s.MfaConfiguration = &v
+ return s
+}
+
+// SetPolicies sets the Policies field's value.
+func (s *CreateUserPoolInput) SetPolicies(v *UserPoolPolicyType) *CreateUserPoolInput {
+ s.Policies = v
+ return s
+}
+
+// SetPoolName sets the PoolName field's value.
+func (s *CreateUserPoolInput) SetPoolName(v string) *CreateUserPoolInput {
+ s.PoolName = &v
+ return s
+}
+
+// SetSchema sets the Schema field's value.
+func (s *CreateUserPoolInput) SetSchema(v []*SchemaAttributeType) *CreateUserPoolInput {
+ s.Schema = v
+ return s
+}
+
+// SetSmsAuthenticationMessage sets the SmsAuthenticationMessage field's value.
+func (s *CreateUserPoolInput) SetSmsAuthenticationMessage(v string) *CreateUserPoolInput {
+ s.SmsAuthenticationMessage = &v
+ return s
+}
+
+// SetSmsConfiguration sets the SmsConfiguration field's value.
+func (s *CreateUserPoolInput) SetSmsConfiguration(v *SmsConfigurationType) *CreateUserPoolInput {
+ s.SmsConfiguration = v
+ return s
+}
+
+// SetSmsVerificationMessage sets the SmsVerificationMessage field's value.
+func (s *CreateUserPoolInput) SetSmsVerificationMessage(v string) *CreateUserPoolInput {
+ s.SmsVerificationMessage = &v
+ return s
+}
+
+// Represents the response from the server for the request to create a user
+// pool.
+type CreateUserPoolOutput struct {
+ _ struct{} `type:"structure"`
+
+ // A container for the user pool details.
+ UserPool *UserPoolType `type:"structure"`
}
// String returns the string representation
@@ -7462,6 +8289,12 @@ func (s CreateUserPoolOutput) GoString() string {
return s.String()
}
+// SetUserPool sets the UserPool field's value.
+func (s *CreateUserPoolOutput) SetUserPool(v *UserPoolType) *CreateUserPoolOutput {
+ s.UserPool = v
+ return s
+}
+
// Represents the request to delete user attributes.
type DeleteUserAttributesInput struct {
_ struct{} `type:"structure"`
@@ -7498,6 +8331,18 @@ func (s *DeleteUserAttributesInput) Validate() error {
return nil
}
+// SetAccessToken sets the AccessToken field's value.
+func (s *DeleteUserAttributesInput) SetAccessToken(v string) *DeleteUserAttributesInput {
+ s.AccessToken = &v
+ return s
+}
+
+// SetUserAttributeNames sets the UserAttributeNames field's value.
+func (s *DeleteUserAttributesInput) SetUserAttributeNames(v []*string) *DeleteUserAttributesInput {
+ s.UserAttributeNames = v
+ return s
+}
+
// Represents the response from the server to delete user attributes.
type DeleteUserAttributesOutput struct {
_ struct{} `type:"structure"`
@@ -7531,6 +8376,12 @@ func (s DeleteUserInput) GoString() string {
return s.String()
}
+// SetAccessToken sets the AccessToken field's value.
+func (s *DeleteUserInput) SetAccessToken(v string) *DeleteUserInput {
+ s.AccessToken = &v
+ return s
+}
+
type DeleteUserOutput struct {
_ struct{} `type:"structure"`
}
@@ -7592,6 +8443,18 @@ func (s *DeleteUserPoolClientInput) Validate() error {
return nil
}
+// 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 *DeleteUserPoolClientInput) SetUserPoolId(v string) *DeleteUserPoolClientInput {
+ s.UserPoolId = &v
+ return s
+}
+
type DeleteUserPoolClientOutput struct {
_ struct{} `type:"structure"`
}
@@ -7642,6 +8505,12 @@ func (s *DeleteUserPoolInput) Validate() error {
return nil
}
+// SetUserPoolId sets the UserPoolId field's value.
+func (s *DeleteUserPoolInput) SetUserPoolId(v string) *DeleteUserPoolInput {
+ s.UserPoolId = &v
+ return s
+}
+
type DeleteUserPoolOutput struct {
_ struct{} `type:"structure"`
}
@@ -7703,6 +8572,18 @@ func (s *DescribeUserImportJobInput) Validate() error {
return nil
}
+// SetJobId sets the JobId field's value.
+func (s *DescribeUserImportJobInput) SetJobId(v string) *DescribeUserImportJobInput {
+ s.JobId = &v
+ return s
+}
+
+// SetUserPoolId sets the UserPoolId field's value.
+func (s *DescribeUserImportJobInput) SetUserPoolId(v string) *DescribeUserImportJobInput {
+ s.UserPoolId = &v
+ return s
+}
+
// Represents the response from the server to the request to describe the user
// import job.
type DescribeUserImportJobOutput struct {
@@ -7722,6 +8603,12 @@ func (s DescribeUserImportJobOutput) GoString() string {
return s.String()
}
+// SetUserImportJob sets the UserImportJob field's value.
+func (s *DescribeUserImportJobOutput) SetUserImportJob(v *UserImportJobType) *DescribeUserImportJobOutput {
+ s.UserImportJob = v
+ return s
+}
+
// Represents the request to describe a user pool client.
type DescribeUserPoolClientInput struct {
_ struct{} `type:"structure"`
@@ -7769,6 +8656,18 @@ func (s *DescribeUserPoolClientInput) Validate() error {
return nil
}
+// SetClientId sets the ClientId field's value.
+func (s *DescribeUserPoolClientInput) SetClientId(v string) *DescribeUserPoolClientInput {
+ s.ClientId = &v
+ return s
+}
+
+// SetUserPoolId sets the UserPoolId field's value.
+func (s *DescribeUserPoolClientInput) SetUserPoolId(v string) *DescribeUserPoolClientInput {
+ s.UserPoolId = &v
+ return s
+}
+
// Represents the response from the server from a request to describe the user
// pool client.
type DescribeUserPoolClientOutput struct {
@@ -7788,6 +8687,12 @@ func (s DescribeUserPoolClientOutput) GoString() string {
return s.String()
}
+// SetUserPoolClient sets the UserPoolClient field's value.
+func (s *DescribeUserPoolClientOutput) SetUserPoolClient(v *UserPoolClientType) *DescribeUserPoolClientOutput {
+ s.UserPoolClient = v
+ return s
+}
+
// Represents the request to describe the user pool.
type DescribeUserPoolInput struct {
_ struct{} `type:"structure"`
@@ -7824,6 +8729,12 @@ func (s *DescribeUserPoolInput) Validate() error {
return nil
}
+// SetUserPoolId sets the UserPoolId field's value.
+func (s *DescribeUserPoolInput) SetUserPoolId(v string) *DescribeUserPoolInput {
+ s.UserPoolId = &v
+ return s
+}
+
// Represents the response to describe the user pool.
type DescribeUserPoolOutput struct {
_ struct{} `type:"structure"`
@@ -7842,6 +8753,12 @@ 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
+ return s
+}
+
// The type of configuration for the user pool's device tracking.
type DeviceConfigurationType struct {
_ struct{} `type:"structure"`
@@ -7864,6 +8781,18 @@ func (s DeviceConfigurationType) 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
+ return s
+}
+
// The device verifier against which it will be authenticated.
type DeviceSecretVerifierConfigType struct {
_ struct{} `type:"structure"`
@@ -7885,6 +8814,18 @@ 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
+}
+
+// SetSalt sets the Salt field's value.
+func (s *DeviceSecretVerifierConfigType) SetSalt(v string) *DeviceSecretVerifierConfigType {
+ s.Salt = &v
+ return s
+}
+
// The device type.
type DeviceType struct {
_ struct{} `type:"structure"`
@@ -7915,6 +8856,36 @@ func (s DeviceType) GoString() string {
return s.String()
}
+// 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
+}
+
// The email configuration type.
type EmailConfigurationType struct {
_ struct{} `type:"structure"`
@@ -7949,6 +8920,18 @@ func (s *EmailConfigurationType) Validate() error {
return nil
}
+// SetReplyToEmailAddress sets the ReplyToEmailAddress field's value.
+func (s *EmailConfigurationType) SetReplyToEmailAddress(v string) *EmailConfigurationType {
+ s.ReplyToEmailAddress = &v
+ return s
+}
+
+// SetSourceArn sets the SourceArn field's value.
+func (s *EmailConfigurationType) SetSourceArn(v string) *EmailConfigurationType {
+ s.SourceArn = &v
+ return s
+}
+
// Represents the request to forget the device.
type ForgetDeviceInput struct {
_ struct{} `type:"structure"`
@@ -7988,6 +8971,18 @@ func (s *ForgetDeviceInput) Validate() error {
return nil
}
+// SetAccessToken sets the AccessToken field's value.
+func (s *ForgetDeviceInput) SetAccessToken(v string) *ForgetDeviceInput {
+ s.AccessToken = &v
+ return s
+}
+
+// SetDeviceKey sets the DeviceKey field's value.
+func (s *ForgetDeviceInput) SetDeviceKey(v string) *ForgetDeviceInput {
+ s.DeviceKey = &v
+ return s
+}
+
type ForgetDeviceOutput struct {
_ struct{} `type:"structure"`
}
@@ -8015,8 +9010,8 @@ type ForgotPasswordInput struct {
// 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 retrieve a
- // forgotten password.
+ // 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"`
@@ -8057,12 +9052,31 @@ func (s *ForgotPasswordInput) Validate() error {
return nil
}
+// 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
+}
+
+// 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.
type ForgotPasswordOutput struct {
_ struct{} `type:"structure"`
- // The type of code delivery details being returned from the server.
+ // The code delivery details returned by the server in response to the request
+ // to reset a password.
CodeDeliveryDetails *CodeDeliveryDetailsType `type:"structure"`
}
@@ -8076,6 +9090,12 @@ func (s ForgotPasswordOutput) GoString() string {
return s.String()
}
+// SetCodeDeliveryDetails sets the CodeDeliveryDetails field's value.
+func (s *ForgotPasswordOutput) SetCodeDeliveryDetails(v *CodeDeliveryDetailsType) *ForgotPasswordOutput {
+ s.CodeDeliveryDetails = v
+ return s
+}
+
// Represents the request to get the header information for the .csv file for
// the user import job.
type GetCSVHeaderInput struct {
@@ -8113,6 +9133,12 @@ func (s *GetCSVHeaderInput) Validate() error {
return nil
}
+// SetUserPoolId sets the UserPoolId field's value.
+func (s *GetCSVHeaderInput) SetUserPoolId(v string) *GetCSVHeaderInput {
+ s.UserPoolId = &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.
type GetCSVHeaderOutput struct {
@@ -8135,6 +9161,18 @@ func (s GetCSVHeaderOutput) GoString() string {
return s.String()
}
+// SetCSVHeader sets the CSVHeader field's value.
+func (s *GetCSVHeaderOutput) SetCSVHeader(v []*string) *GetCSVHeaderOutput {
+ s.CSVHeader = v
+ return s
+}
+
+// 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.
type GetDeviceInput struct {
_ struct{} `type:"structure"`
@@ -8174,6 +9212,18 @@ func (s *GetDeviceInput) Validate() error {
return nil
}
+// SetAccessToken sets the AccessToken field's value.
+func (s *GetDeviceInput) SetAccessToken(v string) *GetDeviceInput {
+ s.AccessToken = &v
+ return s
+}
+
+// SetDeviceKey sets the DeviceKey field's value.
+func (s *GetDeviceInput) SetDeviceKey(v string) *GetDeviceInput {
+ s.DeviceKey = &v
+ return s
+}
+
// Gets the device response.
type GetDeviceOutput struct {
_ struct{} `type:"structure"`
@@ -8194,6 +9244,12 @@ func (s GetDeviceOutput) GoString() string {
return s.String()
}
+// SetDevice sets the Device field's value.
+func (s *GetDeviceOutput) SetDevice(v *DeviceType) *GetDeviceOutput {
+ s.Device = v
+ return s
+}
+
// Represents the request to get user attribute verification.
type GetUserAttributeVerificationCodeInput struct {
_ struct{} `type:"structure"`
@@ -8235,13 +9291,25 @@ func (s *GetUserAttributeVerificationCodeInput) Validate() error {
return nil
}
+// SetAccessToken sets the AccessToken field's value.
+func (s *GetUserAttributeVerificationCodeInput) SetAccessToken(v string) *GetUserAttributeVerificationCodeInput {
+ s.AccessToken = &v
+ return s
+}
+
+// SetAttributeName sets the AttributeName field's value.
+func (s *GetUserAttributeVerificationCodeInput) SetAttributeName(v string) *GetUserAttributeVerificationCodeInput {
+ s.AttributeName = &v
+ return s
+}
+
// The verification code response returned by the server response to get the
// user attribute verification code.
type GetUserAttributeVerificationCodeOutput struct {
_ struct{} `type:"structure"`
- // The code delivery details returned by the server response to get the user
- // attribute verification code.
+ // The code delivery details returned by the server in response to the request
+ // to get the user attribute verification code.
CodeDeliveryDetails *CodeDeliveryDetailsType `type:"structure"`
}
@@ -8255,6 +9323,12 @@ 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
+}
+
// Represents the request to get information about the user.
type GetUserInput struct {
_ struct{} `type:"structure"`
@@ -8274,6 +9348,12 @@ func (s GetUserInput) GoString() string {
return s.String()
}
+// SetAccessToken sets the AccessToken field's value.
+func (s *GetUserInput) SetAccessToken(v string) *GetUserInput {
+ s.AccessToken = &v
+ return s
+}
+
// Represents the response from the server from the request to get information
// about the user.
type GetUserOutput struct {
@@ -8303,6 +9383,24 @@ func (s GetUserOutput) 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
+ return s
+}
+
+// SetUsername sets the Username field's value.
+func (s *GetUserOutput) SetUsername(v string) *GetUserOutput {
+ s.Username = &v
+ return s
+}
+
// Represents the request to sign out all devices.
type GlobalSignOutInput struct {
_ struct{} `type:"structure"`
@@ -8321,6 +9419,12 @@ func (s GlobalSignOutInput) GoString() string {
return s.String()
}
+// SetAccessToken sets the AccessToken field's value.
+func (s *GlobalSignOutInput) SetAccessToken(v string) *GlobalSignOutInput {
+ s.AccessToken = &v
+ return s
+}
+
// The response to the request to sign out all devices.
type GlobalSignOutOutput struct {
_ struct{} `type:"structure"`
@@ -8386,11 +9490,36 @@ 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
+ 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
+}
+
// Initiates the authentication response.
type InitiateAuthOutput struct {
_ struct{} `type:"structure"`
- // The result type of the authentication result.
+ // The result returned by the server in response to the request to initiate
+ // authentication.
AuthenticationResult *AuthenticationResultType `type:"structure"`
// The name of the challenge.
@@ -8413,6 +9542,30 @@ func (s InitiateAuthOutput) GoString() string {
return s.String()
}
+// SetAuthenticationResult sets the AuthenticationResult field's value.
+func (s *InitiateAuthOutput) SetAuthenticationResult(v *AuthenticationResultType) *InitiateAuthOutput {
+ s.AuthenticationResult = v
+ return s
+}
+
+// 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 type of configuration for AWS Lambda triggers.
type LambdaConfigType struct {
_ struct{} `type:"structure"`
@@ -8486,6 +9639,54 @@ func (s *LambdaConfigType) Validate() error {
return nil
}
+// SetCreateAuthChallenge sets the CreateAuthChallenge field's value.
+func (s *LambdaConfigType) SetCreateAuthChallenge(v string) *LambdaConfigType {
+ s.CreateAuthChallenge = &v
+ return s
+}
+
+// SetCustomMessage sets the CustomMessage field's value.
+func (s *LambdaConfigType) SetCustomMessage(v string) *LambdaConfigType {
+ s.CustomMessage = &v
+ return s
+}
+
+// SetDefineAuthChallenge sets the DefineAuthChallenge field's value.
+func (s *LambdaConfigType) SetDefineAuthChallenge(v string) *LambdaConfigType {
+ s.DefineAuthChallenge = &v
+ return s
+}
+
+// SetPostAuthentication sets the PostAuthentication field's value.
+func (s *LambdaConfigType) SetPostAuthentication(v string) *LambdaConfigType {
+ s.PostAuthentication = &v
+ return s
+}
+
+// SetPostConfirmation sets the PostConfirmation field's value.
+func (s *LambdaConfigType) SetPostConfirmation(v string) *LambdaConfigType {
+ s.PostConfirmation = &v
+ return s
+}
+
+// SetPreAuthentication sets the PreAuthentication field's value.
+func (s *LambdaConfigType) SetPreAuthentication(v string) *LambdaConfigType {
+ s.PreAuthentication = &v
+ return s
+}
+
+// SetPreSignUp sets the PreSignUp field's value.
+func (s *LambdaConfigType) SetPreSignUp(v string) *LambdaConfigType {
+ s.PreSignUp = &v
+ return s
+}
+
+// SetVerifyAuthChallengeResponse sets the VerifyAuthChallengeResponse field's value.
+func (s *LambdaConfigType) SetVerifyAuthChallengeResponse(v string) *LambdaConfigType {
+ s.VerifyAuthChallengeResponse = &v
+ return s
+}
+
// Represents the request to list the devices.
type ListDevicesInput struct {
_ struct{} `type:"structure"`
@@ -8528,6 +9729,24 @@ func (s *ListDevicesInput) Validate() error {
return nil
}
+// SetAccessToken sets the AccessToken field's value.
+func (s *ListDevicesInput) SetAccessToken(v string) *ListDevicesInput {
+ s.AccessToken = &v
+ return s
+}
+
+// SetLimit sets the Limit field's value.
+func (s *ListDevicesInput) SetLimit(v int64) *ListDevicesInput {
+ s.Limit = &v
+ return s
+}
+
+// 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.
type ListDevicesOutput struct {
_ struct{} `type:"structure"`
@@ -8549,6 +9768,18 @@ func (s ListDevicesOutput) GoString() string {
return s.String()
}
+// SetDevices sets the Devices field's value.
+func (s *ListDevicesOutput) SetDevices(v []*DeviceType) *ListDevicesOutput {
+ s.Devices = v
+ return s
+}
+
+// SetPaginationToken sets the PaginationToken field's value.
+func (s *ListDevicesOutput) SetPaginationToken(v string) *ListDevicesOutput {
+ s.PaginationToken = &v
+ return s
+}
+
// Represents the request to list the user import jobs.
type ListUserImportJobsInput struct {
_ struct{} `type:"structure"`
@@ -8603,6 +9834,24 @@ func (s *ListUserImportJobsInput) Validate() error {
return nil
}
+// SetMaxResults sets the MaxResults field's value.
+func (s *ListUserImportJobsInput) SetMaxResults(v int64) *ListUserImportJobsInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetPaginationToken sets the PaginationToken field's value.
+func (s *ListUserImportJobsInput) SetPaginationToken(v string) *ListUserImportJobsInput {
+ s.PaginationToken = &v
+ return s
+}
+
+// SetUserPoolId sets the UserPoolId field's value.
+func (s *ListUserImportJobsInput) SetUserPoolId(v string) *ListUserImportJobsInput {
+ s.UserPoolId = &v
+ return s
+}
+
// Represents the response from the server to the request to list the user import
// jobs.
type ListUserImportJobsOutput struct {
@@ -8626,6 +9875,18 @@ func (s ListUserImportJobsOutput) GoString() string {
return s.String()
}
+// SetPaginationToken sets the PaginationToken field's value.
+func (s *ListUserImportJobsOutput) SetPaginationToken(v string) *ListUserImportJobsOutput {
+ s.PaginationToken = &v
+ return s
+}
+
+// SetUserImportJobs sets the UserImportJobs field's value.
+func (s *ListUserImportJobsOutput) SetUserImportJobs(v []*UserImportJobType) *ListUserImportJobsOutput {
+ s.UserImportJobs = v
+ return s
+}
+
// Represents the request to list the user pool clients.
type ListUserPoolClientsInput struct {
_ struct{} `type:"structure"`
@@ -8676,6 +9937,24 @@ func (s *ListUserPoolClientsInput) Validate() error {
return nil
}
+// SetMaxResults sets the MaxResults field's value.
+func (s *ListUserPoolClientsInput) SetMaxResults(v int64) *ListUserPoolClientsInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListUserPoolClientsInput) SetNextToken(v string) *ListUserPoolClientsInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetUserPoolId sets the UserPoolId field's value.
+func (s *ListUserPoolClientsInput) SetUserPoolId(v string) *ListUserPoolClientsInput {
+ s.UserPoolId = &v
+ return s
+}
+
// Represents the response from the server that lists user pool clients.
type ListUserPoolClientsOutput struct {
_ struct{} `type:"structure"`
@@ -8698,6 +9977,18 @@ 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
+}
+
+// SetUserPoolClients sets the UserPoolClients field's value.
+func (s *ListUserPoolClientsOutput) SetUserPoolClients(v []*UserPoolClientDescription) *ListUserPoolClientsOutput {
+ s.UserPoolClients = v
+ return s
+}
+
// Represents the request to list user pools.
type ListUserPoolsInput struct {
_ struct{} `type:"structure"`
@@ -8742,6 +10033,18 @@ func (s *ListUserPoolsInput) Validate() error {
return nil
}
+// SetMaxResults sets the MaxResults field's value.
+func (s *ListUserPoolsInput) SetMaxResults(v int64) *ListUserPoolsInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListUserPoolsInput) SetNextToken(v string) *ListUserPoolsInput {
+ s.NextToken = &v
+ return s
+}
+
// Represents the response to list user pools.
type ListUserPoolsOutput struct {
_ struct{} `type:"structure"`
@@ -8764,6 +10067,18 @@ func (s ListUserPoolsOutput) GoString() string {
return s.String()
}
+// SetNextToken sets the NextToken field's value.
+func (s *ListUserPoolsOutput) SetNextToken(v string) *ListUserPoolsOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetUserPools sets the UserPools field's value.
+func (s *ListUserPoolsOutput) SetUserPools(v []*UserPoolDescriptionType) *ListUserPoolsOutput {
+ s.UserPools = v
+ return s
+}
+
// Represents the request to list users.
type ListUsersInput struct {
_ struct{} `type:"structure"`
@@ -8816,6 +10131,36 @@ func (s *ListUsersInput) 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 *ListUsersInput) SetLimit(v int64) *ListUsersInput {
+ s.Limit = &v
+ return s
+}
+
+// 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 *ListUsersInput) SetUserPoolId(v string) *ListUsersInput {
+ s.UserPoolId = &v
+ return s
+}
+
// The response from the request to list users.
type ListUsersOutput struct {
_ struct{} `type:"structure"`
@@ -8838,6 +10183,18 @@ func (s ListUsersOutput) 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
+ return s
+}
+
// Specifies the different settings for multi-factor authentication (MFA).
type MFAOptionType struct {
_ struct{} `type:"structure"`
@@ -8872,6 +10229,18 @@ func (s *MFAOptionType) Validate() error {
return nil
}
+// SetAttributeName sets the AttributeName field's value.
+func (s *MFAOptionType) SetAttributeName(v string) *MFAOptionType {
+ s.AttributeName = &v
+ return s
+}
+
+// SetDeliveryMedium sets the DeliveryMedium field's value.
+func (s *MFAOptionType) SetDeliveryMedium(v string) *MFAOptionType {
+ s.DeliveryMedium = &v
+ return s
+}
+
// The message template structure.
type MessageTemplateType struct {
_ struct{} `type:"structure"`
@@ -8915,6 +10284,24 @@ func (s *MessageTemplateType) Validate() error {
return nil
}
+// SetEmailMessage sets the EmailMessage field's value.
+func (s *MessageTemplateType) SetEmailMessage(v string) *MessageTemplateType {
+ s.EmailMessage = &v
+ return s
+}
+
+// SetEmailSubject sets the EmailSubject field's value.
+func (s *MessageTemplateType) SetEmailSubject(v string) *MessageTemplateType {
+ s.EmailSubject = &v
+ return s
+}
+
+// SetSMSMessage sets the SMSMessage field's value.
+func (s *MessageTemplateType) SetSMSMessage(v string) *MessageTemplateType {
+ s.SMSMessage = &v
+ return s
+}
+
// The new device metadata type.
type NewDeviceMetadataType struct {
_ struct{} `type:"structure"`
@@ -8936,6 +10323,18 @@ func (s NewDeviceMetadataType) GoString() string {
return s.String()
}
+// SetDeviceGroupKey sets the DeviceGroupKey field's value.
+func (s *NewDeviceMetadataType) SetDeviceGroupKey(v string) *NewDeviceMetadataType {
+ s.DeviceGroupKey = &v
+ return s
+}
+
+// SetDeviceKey sets the DeviceKey field's value.
+func (s *NewDeviceMetadataType) SetDeviceKey(v string) *NewDeviceMetadataType {
+ s.DeviceKey = &v
+ return s
+}
+
// The minimum and maximum value of an attribute that is of the number data
// type.
type NumberAttributeConstraintsType struct {
@@ -8958,6 +10357,18 @@ func (s NumberAttributeConstraintsType) GoString() string {
return s.String()
}
+// SetMaxValue sets the MaxValue field's value.
+func (s *NumberAttributeConstraintsType) SetMaxValue(v string) *NumberAttributeConstraintsType {
+ s.MaxValue = &v
+ return s
+}
+
+// SetMinValue sets the MinValue field's value.
+func (s *NumberAttributeConstraintsType) SetMinValue(v string) *NumberAttributeConstraintsType {
+ s.MinValue = &v
+ return s
+}
+
// The password policy type.
type PasswordPolicyType struct {
_ struct{} `type:"structure"`
@@ -9006,6 +10417,36 @@ func (s *PasswordPolicyType) Validate() error {
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
+ return s
+}
+
+// SetRequireNumbers sets the RequireNumbers field's value.
+func (s *PasswordPolicyType) SetRequireNumbers(v bool) *PasswordPolicyType {
+ s.RequireNumbers = &v
+ return s
+}
+
+// SetRequireSymbols sets the RequireSymbols field's value.
+func (s *PasswordPolicyType) SetRequireSymbols(v bool) *PasswordPolicyType {
+ s.RequireSymbols = &v
+ return s
+}
+
+// SetRequireUppercase sets the RequireUppercase field's value.
+func (s *PasswordPolicyType) SetRequireUppercase(v bool) *PasswordPolicyType {
+ s.RequireUppercase = &v
+ return s
+}
+
// Represents the request to resend the confirmation code.
type ResendConfirmationCodeInput struct {
_ struct{} `type:"structure"`
@@ -9060,12 +10501,31 @@ func (s *ResendConfirmationCodeInput) Validate() error {
return nil
}
-// The response from the server when the Amazon Cognito service makes the request
-// to resend a confirmation code.
+// SetClientId sets the ClientId field's value.
+func (s *ResendConfirmationCodeInput) SetClientId(v string) *ResendConfirmationCodeInput {
+ s.ClientId = &v
+ return s
+}
+
+// SetSecretHash sets the SecretHash field's value.
+func (s *ResendConfirmationCodeInput) SetSecretHash(v string) *ResendConfirmationCodeInput {
+ s.SecretHash = &v
+ return s
+}
+
+// SetUsername sets the Username field's value.
+func (s *ResendConfirmationCodeInput) SetUsername(v string) *ResendConfirmationCodeInput {
+ s.Username = &v
+ return s
+}
+
+// The response from the server when the Amazon Cognito Your User Pools service
+// makes the request to resend a confirmation code.
type ResendConfirmationCodeOutput struct {
_ struct{} `type:"structure"`
- // The type of code delivery details being returned from the server.
+ // The code delivery details returned by the server in response to the request
+ // to resend the confirmation code.
CodeDeliveryDetails *CodeDeliveryDetailsType `type:"structure"`
}
@@ -9079,6 +10539,12 @@ func (s ResendConfirmationCodeOutput) GoString() string {
return s.String()
}
+// SetCodeDeliveryDetails sets the CodeDeliveryDetails field's value.
+func (s *ResendConfirmationCodeOutput) SetCodeDeliveryDetails(v *CodeDeliveryDetailsType) *ResendConfirmationCodeOutput {
+ s.CodeDeliveryDetails = v
+ return s
+}
+
// The request to respond to an authentication challenge.
type RespondToAuthChallengeInput struct {
_ struct{} `type:"structure"`
@@ -9132,11 +10598,36 @@ func (s *RespondToAuthChallengeInput) Validate() error {
return nil
}
+// SetChallengeName sets the ChallengeName field's value.
+func (s *RespondToAuthChallengeInput) SetChallengeName(v string) *RespondToAuthChallengeInput {
+ s.ChallengeName = &v
+ return s
+}
+
+// SetChallengeResponses sets the ChallengeResponses field's value.
+func (s *RespondToAuthChallengeInput) SetChallengeResponses(v map[string]*string) *RespondToAuthChallengeInput {
+ s.ChallengeResponses = v
+ return s
+}
+
+// SetClientId sets the ClientId field's value.
+func (s *RespondToAuthChallengeInput) SetClientId(v string) *RespondToAuthChallengeInput {
+ s.ClientId = &v
+ return s
+}
+
+// SetSession sets the Session field's value.
+func (s *RespondToAuthChallengeInput) SetSession(v string) *RespondToAuthChallengeInput {
+ s.Session = &v
+ return s
+}
+
// The response to respond to the authentication challenge.
type RespondToAuthChallengeOutput struct {
_ struct{} `type:"structure"`
- // The result type of the authentication result.
+ // The result returned by the server in response to the request to respond to
+ // the authentication challenge.
AuthenticationResult *AuthenticationResultType `type:"structure"`
// The challenge name.
@@ -9159,6 +10650,30 @@ func (s RespondToAuthChallengeOutput) 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
+ return s
+}
+
// Contains information about the schema attribute.
type SchemaAttributeType struct {
_ struct{} `type:"structure"`
@@ -9210,6 +10725,48 @@ func (s *SchemaAttributeType) Validate() error {
return nil
}
+// SetAttributeDataType sets the AttributeDataType field's value.
+func (s *SchemaAttributeType) SetAttributeDataType(v string) *SchemaAttributeType {
+ s.AttributeDataType = &v
+ return s
+}
+
+// SetDeveloperOnlyAttribute sets the DeveloperOnlyAttribute field's value.
+func (s *SchemaAttributeType) SetDeveloperOnlyAttribute(v bool) *SchemaAttributeType {
+ s.DeveloperOnlyAttribute = &v
+ return s
+}
+
+// SetMutable sets the Mutable field's value.
+func (s *SchemaAttributeType) SetMutable(v bool) *SchemaAttributeType {
+ s.Mutable = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *SchemaAttributeType) SetName(v string) *SchemaAttributeType {
+ s.Name = &v
+ return s
+}
+
+// SetNumberAttributeConstraints sets the NumberAttributeConstraints field's value.
+func (s *SchemaAttributeType) SetNumberAttributeConstraints(v *NumberAttributeConstraintsType) *SchemaAttributeType {
+ s.NumberAttributeConstraints = v
+ return s
+}
+
+// SetRequired sets the Required field's value.
+func (s *SchemaAttributeType) SetRequired(v bool) *SchemaAttributeType {
+ s.Required = &v
+ return s
+}
+
+// SetStringAttributeConstraints sets the StringAttributeConstraints field's value.
+func (s *SchemaAttributeType) SetStringAttributeConstraints(v *StringAttributeConstraintsType) *SchemaAttributeType {
+ s.StringAttributeConstraints = v
+ return s
+}
+
// Represents the request to set user settings.
type SetUserSettingsInput struct {
_ struct{} `type:"structure"`
@@ -9261,6 +10818,18 @@ func (s *SetUserSettingsInput) Validate() error {
return nil
}
+// SetAccessToken sets the AccessToken field's value.
+func (s *SetUserSettingsInput) SetAccessToken(v string) *SetUserSettingsInput {
+ s.AccessToken = &v
+ return s
+}
+
+// SetMFAOptions sets the MFAOptions field's value.
+func (s *SetUserSettingsInput) SetMFAOptions(v []*MFAOptionType) *SetUserSettingsInput {
+ s.MFAOptions = v
+ return s
+}
+
// The response from the server for a set user settings request.
type SetUserSettingsOutput struct {
_ struct{} `type:"structure"`
@@ -9367,11 +10936,48 @@ func (s *SignUpInput) Validate() error {
return nil
}
+// SetClientId sets the ClientId field's value.
+func (s *SignUpInput) SetClientId(v string) *SignUpInput {
+ s.ClientId = &v
+ return s
+}
+
+// SetPassword sets the Password field's value.
+func (s *SignUpInput) SetPassword(v string) *SignUpInput {
+ s.Password = &v
+ return s
+}
+
+// SetSecretHash sets the SecretHash field's value.
+func (s *SignUpInput) SetSecretHash(v string) *SignUpInput {
+ s.SecretHash = &v
+ return s
+}
+
+// SetUserAttributes sets the UserAttributes field's value.
+func (s *SignUpInput) SetUserAttributes(v []*AttributeType) *SignUpInput {
+ s.UserAttributes = v
+ return s
+}
+
+// SetUsername sets the Username field's value.
+func (s *SignUpInput) SetUsername(v string) *SignUpInput {
+ s.Username = &v
+ return s
+}
+
+// SetValidationData sets the ValidationData field's value.
+func (s *SignUpInput) SetValidationData(v []*AttributeType) *SignUpInput {
+ s.ValidationData = v
+ return s
+}
+
// The response from the server for a registration request.
type SignUpOutput struct {
_ struct{} `type:"structure"`
- // The type of code delivery details being returned from the server.
+ // The code delivery details returned by the server response to the user registration
+ // request.
CodeDeliveryDetails *CodeDeliveryDetailsType `type:"structure"`
// A response from the server indicating that a user registration has been confirmed.
@@ -9388,6 +10994,18 @@ func (s SignUpOutput) GoString() string {
return s.String()
}
+// SetCodeDeliveryDetails sets the CodeDeliveryDetails field's value.
+func (s *SignUpOutput) SetCodeDeliveryDetails(v *CodeDeliveryDetailsType) *SignUpOutput {
+ s.CodeDeliveryDetails = v
+ return s
+}
+
+// SetUserConfirmed sets the UserConfirmed field's value.
+func (s *SignUpOutput) SetUserConfirmed(v bool) *SignUpOutput {
+ s.UserConfirmed = &v
+ return s
+}
+
// The SMS configuratoin type.
type SmsConfigurationType struct {
_ struct{} `type:"structure"`
@@ -9397,7 +11015,9 @@ type SmsConfigurationType struct {
// The Amazon Resource Name (ARN) of the Amazon Simple Notification Service
// (SNS) caller.
- SnsCallerArn *string `min:"20" type:"string"`
+ //
+ // SnsCallerArn is a required field
+ SnsCallerArn *string `min:"20" type:"string" required:"true"`
}
// String returns the string representation
@@ -9413,6 +11033,9 @@ func (s SmsConfigurationType) GoString() string {
// Validate inspects the fields of the type to determine if they are valid.
func (s *SmsConfigurationType) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "SmsConfigurationType"}
+ if s.SnsCallerArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("SnsCallerArn"))
+ }
if s.SnsCallerArn != nil && len(*s.SnsCallerArn) < 20 {
invalidParams.Add(request.NewErrParamMinLen("SnsCallerArn", 20))
}
@@ -9423,6 +11046,18 @@ func (s *SmsConfigurationType) Validate() error {
return nil
}
+// SetExternalId sets the ExternalId field's value.
+func (s *SmsConfigurationType) SetExternalId(v string) *SmsConfigurationType {
+ s.ExternalId = &v
+ return s
+}
+
+// SetSnsCallerArn sets the SnsCallerArn field's value.
+func (s *SmsConfigurationType) SetSnsCallerArn(v string) *SmsConfigurationType {
+ s.SnsCallerArn = &v
+ return s
+}
+
// Represents the request to start the user import job.
type StartUserImportJobInput struct {
_ struct{} `type:"structure"`
@@ -9470,6 +11105,18 @@ func (s *StartUserImportJobInput) Validate() error {
return nil
}
+// SetJobId sets the JobId field's value.
+func (s *StartUserImportJobInput) SetJobId(v string) *StartUserImportJobInput {
+ s.JobId = &v
+ return s
+}
+
+// SetUserPoolId sets the UserPoolId field's value.
+func (s *StartUserImportJobInput) SetUserPoolId(v string) *StartUserImportJobInput {
+ s.UserPoolId = &v
+ return s
+}
+
// Represents the response from the server to the request to start the user
// import job.
type StartUserImportJobOutput struct {
@@ -9489,6 +11136,12 @@ func (s StartUserImportJobOutput) GoString() string {
return s.String()
}
+// SetUserImportJob sets the UserImportJob field's value.
+func (s *StartUserImportJobOutput) SetUserImportJob(v *UserImportJobType) *StartUserImportJobOutput {
+ s.UserImportJob = v
+ return s
+}
+
// Represents the request to stop the user import job.
type StopUserImportJobInput struct {
_ struct{} `type:"structure"`
@@ -9536,6 +11189,18 @@ func (s *StopUserImportJobInput) Validate() error {
return nil
}
+// SetJobId sets the JobId field's value.
+func (s *StopUserImportJobInput) SetJobId(v string) *StopUserImportJobInput {
+ s.JobId = &v
+ return s
+}
+
+// SetUserPoolId sets the UserPoolId field's value.
+func (s *StopUserImportJobInput) SetUserPoolId(v string) *StopUserImportJobInput {
+ s.UserPoolId = &v
+ return s
+}
+
// Represents the response from the server to the request to stop the user import
// job.
type StopUserImportJobOutput struct {
@@ -9555,6 +11220,12 @@ func (s StopUserImportJobOutput) GoString() string {
return s.String()
}
+// SetUserImportJob sets the UserImportJob field's value.
+func (s *StopUserImportJobOutput) SetUserImportJob(v *UserImportJobType) *StopUserImportJobOutput {
+ s.UserImportJob = v
+ return s
+}
+
// The type of constraints associated with an attribute of the string type.
type StringAttributeConstraintsType struct {
_ struct{} `type:"structure"`
@@ -9576,6 +11247,18 @@ func (s StringAttributeConstraintsType) GoString() string {
return s.String()
}
+// SetMaxLength sets the MaxLength field's value.
+func (s *StringAttributeConstraintsType) SetMaxLength(v string) *StringAttributeConstraintsType {
+ s.MaxLength = &v
+ return s
+}
+
+// SetMinLength sets the MinLength field's value.
+func (s *StringAttributeConstraintsType) SetMinLength(v string) *StringAttributeConstraintsType {
+ s.MinLength = &v
+ return s
+}
+
// Represents the request to update the device status.
type UpdateDeviceStatusInput struct {
_ struct{} `type:"structure"`
@@ -9623,6 +11306,24 @@ func (s *UpdateDeviceStatusInput) Validate() error {
return nil
}
+// SetAccessToken sets the AccessToken field's value.
+func (s *UpdateDeviceStatusInput) SetAccessToken(v string) *UpdateDeviceStatusInput {
+ s.AccessToken = &v
+ return s
+}
+
+// SetDeviceKey sets the DeviceKey field's value.
+func (s *UpdateDeviceStatusInput) SetDeviceKey(v string) *UpdateDeviceStatusInput {
+ s.DeviceKey = &v
+ return s
+}
+
+// SetDeviceRememberedStatus sets the DeviceRememberedStatus field's value.
+func (s *UpdateDeviceStatusInput) SetDeviceRememberedStatus(v string) *UpdateDeviceStatusInput {
+ s.DeviceRememberedStatus = &v
+ return s
+}
+
// The response to the request to update the device status.
type UpdateDeviceStatusOutput struct {
_ struct{} `type:"structure"`
@@ -9684,6 +11385,18 @@ func (s *UpdateUserAttributesInput) Validate() error {
return nil
}
+// SetAccessToken sets the AccessToken field's value.
+func (s *UpdateUserAttributesInput) SetAccessToken(v string) *UpdateUserAttributesInput {
+ s.AccessToken = &v
+ return s
+}
+
+// SetUserAttributes sets the UserAttributes field's value.
+func (s *UpdateUserAttributesInput) SetUserAttributes(v []*AttributeType) *UpdateUserAttributesInput {
+ s.UserAttributes = v
+ return s
+}
+
// Represents the response from the server for the request to update user attributes.
type UpdateUserAttributesOutput struct {
_ struct{} `type:"structure"`
@@ -9703,6 +11416,12 @@ func (s UpdateUserAttributesOutput) GoString() string {
return s.String()
}
+// SetCodeDeliveryDetailsList sets the CodeDeliveryDetailsList field's value.
+func (s *UpdateUserAttributesOutput) SetCodeDeliveryDetailsList(v []*CodeDeliveryDetailsType) *UpdateUserAttributesOutput {
+ s.CodeDeliveryDetailsList = v
+ return s
+}
+
// Represents the request to update the user pool client.
type UpdateUserPoolClientInput struct {
_ struct{} `type:"structure"`
@@ -9769,6 +11488,48 @@ func (s *UpdateUserPoolClientInput) Validate() error {
return nil
}
+// SetClientId sets the ClientId field's value.
+func (s *UpdateUserPoolClientInput) SetClientId(v string) *UpdateUserPoolClientInput {
+ s.ClientId = &v
+ return s
+}
+
+// SetClientName sets the ClientName field's value.
+func (s *UpdateUserPoolClientInput) SetClientName(v string) *UpdateUserPoolClientInput {
+ s.ClientName = &v
+ return s
+}
+
+// SetExplicitAuthFlows sets the ExplicitAuthFlows field's value.
+func (s *UpdateUserPoolClientInput) SetExplicitAuthFlows(v []*string) *UpdateUserPoolClientInput {
+ s.ExplicitAuthFlows = v
+ return s
+}
+
+// SetReadAttributes sets the ReadAttributes field's value.
+func (s *UpdateUserPoolClientInput) SetReadAttributes(v []*string) *UpdateUserPoolClientInput {
+ s.ReadAttributes = v
+ return s
+}
+
+// SetRefreshTokenValidity sets the RefreshTokenValidity field's value.
+func (s *UpdateUserPoolClientInput) SetRefreshTokenValidity(v int64) *UpdateUserPoolClientInput {
+ s.RefreshTokenValidity = &v
+ return s
+}
+
+// SetUserPoolId sets the UserPoolId field's value.
+func (s *UpdateUserPoolClientInput) SetUserPoolId(v string) *UpdateUserPoolClientInput {
+ s.UserPoolId = &v
+ return s
+}
+
+// SetWriteAttributes sets the WriteAttributes field's value.
+func (s *UpdateUserPoolClientInput) SetWriteAttributes(v []*string) *UpdateUserPoolClientInput {
+ s.WriteAttributes = v
+ return s
+}
+
// Represents the response from the server to the request to update the user
// pool client.
type UpdateUserPoolClientOutput struct {
@@ -9789,6 +11550,12 @@ func (s UpdateUserPoolClientOutput) GoString() string {
return s.String()
}
+// SetUserPoolClient sets the UserPoolClient field's value.
+func (s *UpdateUserPoolClientOutput) SetUserPoolClient(v *UserPoolClientType) *UpdateUserPoolClientOutput {
+ s.UserPoolClient = v
+ return s
+}
+
// Represents the request to update the user pool.
type UpdateUserPoolInput struct {
_ struct{} `type:"structure"`
@@ -9908,6 +11675,84 @@ func (s *UpdateUserPoolInput) Validate() error {
return nil
}
+// SetAdminCreateUserConfig sets the AdminCreateUserConfig field's value.
+func (s *UpdateUserPoolInput) SetAdminCreateUserConfig(v *AdminCreateUserConfigType) *UpdateUserPoolInput {
+ s.AdminCreateUserConfig = v
+ return s
+}
+
+// SetAutoVerifiedAttributes sets the AutoVerifiedAttributes field's value.
+func (s *UpdateUserPoolInput) SetAutoVerifiedAttributes(v []*string) *UpdateUserPoolInput {
+ s.AutoVerifiedAttributes = v
+ return s
+}
+
+// SetDeviceConfiguration sets the DeviceConfiguration field's value.
+func (s *UpdateUserPoolInput) SetDeviceConfiguration(v *DeviceConfigurationType) *UpdateUserPoolInput {
+ s.DeviceConfiguration = v
+ return s
+}
+
+// SetEmailConfiguration sets the EmailConfiguration field's value.
+func (s *UpdateUserPoolInput) SetEmailConfiguration(v *EmailConfigurationType) *UpdateUserPoolInput {
+ s.EmailConfiguration = v
+ return s
+}
+
+// SetEmailVerificationMessage sets the EmailVerificationMessage field's value.
+func (s *UpdateUserPoolInput) SetEmailVerificationMessage(v string) *UpdateUserPoolInput {
+ s.EmailVerificationMessage = &v
+ return s
+}
+
+// SetEmailVerificationSubject sets the EmailVerificationSubject field's value.
+func (s *UpdateUserPoolInput) SetEmailVerificationSubject(v string) *UpdateUserPoolInput {
+ s.EmailVerificationSubject = &v
+ return s
+}
+
+// SetLambdaConfig sets the LambdaConfig field's value.
+func (s *UpdateUserPoolInput) SetLambdaConfig(v *LambdaConfigType) *UpdateUserPoolInput {
+ s.LambdaConfig = v
+ return s
+}
+
+// SetMfaConfiguration sets the MfaConfiguration field's value.
+func (s *UpdateUserPoolInput) SetMfaConfiguration(v string) *UpdateUserPoolInput {
+ s.MfaConfiguration = &v
+ return s
+}
+
+// SetPolicies sets the Policies field's value.
+func (s *UpdateUserPoolInput) SetPolicies(v *UserPoolPolicyType) *UpdateUserPoolInput {
+ s.Policies = v
+ return s
+}
+
+// SetSmsAuthenticationMessage sets the SmsAuthenticationMessage field's value.
+func (s *UpdateUserPoolInput) SetSmsAuthenticationMessage(v string) *UpdateUserPoolInput {
+ s.SmsAuthenticationMessage = &v
+ return s
+}
+
+// SetSmsConfiguration sets the SmsConfiguration field's value.
+func (s *UpdateUserPoolInput) SetSmsConfiguration(v *SmsConfigurationType) *UpdateUserPoolInput {
+ s.SmsConfiguration = v
+ return s
+}
+
+// SetSmsVerificationMessage sets the SmsVerificationMessage field's value.
+func (s *UpdateUserPoolInput) SetSmsVerificationMessage(v string) *UpdateUserPoolInput {
+ s.SmsVerificationMessage = &v
+ return s
+}
+
+// SetUserPoolId sets the UserPoolId field's value.
+func (s *UpdateUserPoolInput) SetUserPoolId(v string) *UpdateUserPoolInput {
+ s.UserPoolId = &v
+ return s
+}
+
// Represents the response from the server when you make a request to update
// the user pool.
type UpdateUserPoolOutput struct {
@@ -10001,6 +11846,84 @@ func (s UserImportJobType) GoString() string {
return s.String()
}
+// SetCloudWatchLogsRoleArn sets the CloudWatchLogsRoleArn field's value.
+func (s *UserImportJobType) SetCloudWatchLogsRoleArn(v string) *UserImportJobType {
+ s.CloudWatchLogsRoleArn = &v
+ return s
+}
+
+// SetCompletionDate sets the CompletionDate field's value.
+func (s *UserImportJobType) SetCompletionDate(v time.Time) *UserImportJobType {
+ s.CompletionDate = &v
+ return s
+}
+
+// SetCompletionMessage sets the CompletionMessage field's value.
+func (s *UserImportJobType) SetCompletionMessage(v string) *UserImportJobType {
+ s.CompletionMessage = &v
+ return s
+}
+
+// SetCreationDate sets the CreationDate field's value.
+func (s *UserImportJobType) SetCreationDate(v time.Time) *UserImportJobType {
+ s.CreationDate = &v
+ return s
+}
+
+// SetFailedUsers sets the FailedUsers field's value.
+func (s *UserImportJobType) SetFailedUsers(v int64) *UserImportJobType {
+ s.FailedUsers = &v
+ return s
+}
+
+// SetImportedUsers sets the ImportedUsers field's value.
+func (s *UserImportJobType) SetImportedUsers(v int64) *UserImportJobType {
+ s.ImportedUsers = &v
+ return s
+}
+
+// SetJobId sets the JobId field's value.
+func (s *UserImportJobType) SetJobId(v string) *UserImportJobType {
+ s.JobId = &v
+ return s
+}
+
+// SetJobName sets the JobName field's value.
+func (s *UserImportJobType) SetJobName(v string) *UserImportJobType {
+ s.JobName = &v
+ return s
+}
+
+// SetPreSignedUrl sets the PreSignedUrl field's value.
+func (s *UserImportJobType) SetPreSignedUrl(v string) *UserImportJobType {
+ s.PreSignedUrl = &v
+ return s
+}
+
+// SetSkippedUsers sets the SkippedUsers field's value.
+func (s *UserImportJobType) SetSkippedUsers(v int64) *UserImportJobType {
+ s.SkippedUsers = &v
+ return s
+}
+
+// SetStartDate sets the StartDate field's value.
+func (s *UserImportJobType) SetStartDate(v time.Time) *UserImportJobType {
+ s.StartDate = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *UserImportJobType) SetStatus(v string) *UserImportJobType {
+ s.Status = &v
+ return s
+}
+
+// SetUserPoolId sets the UserPoolId field's value.
+func (s *UserImportJobType) SetUserPoolId(v string) *UserImportJobType {
+ s.UserPoolId = &v
+ return s
+}
+
// The description of the user poool client.
type UserPoolClientDescription struct {
_ struct{} `type:"structure"`
@@ -10026,6 +11949,24 @@ func (s UserPoolClientDescription) GoString() string {
return s.String()
}
+// SetClientId sets the ClientId field's value.
+func (s *UserPoolClientDescription) SetClientId(v string) *UserPoolClientDescription {
+ s.ClientId = &v
+ return s
+}
+
+// SetClientName sets the ClientName field's value.
+func (s *UserPoolClientDescription) SetClientName(v string) *UserPoolClientDescription {
+ s.ClientName = &v
+ return s
+}
+
+// SetUserPoolId sets the UserPoolId field's value.
+func (s *UserPoolClientDescription) SetUserPoolId(v string) *UserPoolClientDescription {
+ s.UserPoolId = &v
+ return s
+}
+
// A user pool of the client type.
type UserPoolClientType struct {
_ struct{} `type:"structure"`
@@ -10071,6 +12012,66 @@ func (s UserPoolClientType) GoString() string {
return s.String()
}
+// SetClientId sets the ClientId field's value.
+func (s *UserPoolClientType) SetClientId(v string) *UserPoolClientType {
+ s.ClientId = &v
+ return s
+}
+
+// SetClientName sets the ClientName field's value.
+func (s *UserPoolClientType) SetClientName(v string) *UserPoolClientType {
+ s.ClientName = &v
+ return s
+}
+
+// SetClientSecret sets the ClientSecret field's value.
+func (s *UserPoolClientType) SetClientSecret(v string) *UserPoolClientType {
+ s.ClientSecret = &v
+ return s
+}
+
+// SetCreationDate sets the CreationDate field's value.
+func (s *UserPoolClientType) SetCreationDate(v time.Time) *UserPoolClientType {
+ s.CreationDate = &v
+ return s
+}
+
+// SetExplicitAuthFlows sets the ExplicitAuthFlows field's value.
+func (s *UserPoolClientType) SetExplicitAuthFlows(v []*string) *UserPoolClientType {
+ s.ExplicitAuthFlows = v
+ return s
+}
+
+// SetLastModifiedDate sets the LastModifiedDate field's value.
+func (s *UserPoolClientType) SetLastModifiedDate(v time.Time) *UserPoolClientType {
+ s.LastModifiedDate = &v
+ return s
+}
+
+// SetReadAttributes sets the ReadAttributes field's value.
+func (s *UserPoolClientType) SetReadAttributes(v []*string) *UserPoolClientType {
+ s.ReadAttributes = v
+ return s
+}
+
+// SetRefreshTokenValidity sets the RefreshTokenValidity field's value.
+func (s *UserPoolClientType) SetRefreshTokenValidity(v int64) *UserPoolClientType {
+ s.RefreshTokenValidity = &v
+ return s
+}
+
+// SetUserPoolId sets the UserPoolId field's value.
+func (s *UserPoolClientType) SetUserPoolId(v string) *UserPoolClientType {
+ s.UserPoolId = &v
+ return s
+}
+
+// SetWriteAttributes sets the WriteAttributes field's value.
+func (s *UserPoolClientType) SetWriteAttributes(v []*string) *UserPoolClientType {
+ s.WriteAttributes = v
+ return s
+}
+
// A user pool description.
type UserPoolDescriptionType struct {
_ struct{} `type:"structure"`
@@ -10104,6 +12105,42 @@ func (s UserPoolDescriptionType) GoString() string {
return s.String()
}
+// SetCreationDate sets the CreationDate field's value.
+func (s *UserPoolDescriptionType) SetCreationDate(v time.Time) *UserPoolDescriptionType {
+ s.CreationDate = &v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *UserPoolDescriptionType) SetId(v string) *UserPoolDescriptionType {
+ s.Id = &v
+ return s
+}
+
+// SetLambdaConfig sets the LambdaConfig field's value.
+func (s *UserPoolDescriptionType) SetLambdaConfig(v *LambdaConfigType) *UserPoolDescriptionType {
+ s.LambdaConfig = v
+ return s
+}
+
+// SetLastModifiedDate sets the LastModifiedDate field's value.
+func (s *UserPoolDescriptionType) SetLastModifiedDate(v time.Time) *UserPoolDescriptionType {
+ s.LastModifiedDate = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *UserPoolDescriptionType) SetName(v string) *UserPoolDescriptionType {
+ s.Name = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *UserPoolDescriptionType) SetStatus(v string) *UserPoolDescriptionType {
+ s.Status = &v
+ return s
+}
+
// The type of policy in a user pool.
type UserPoolPolicyType struct {
_ struct{} `type:"structure"`
@@ -10137,6 +12174,12 @@ func (s *UserPoolPolicyType) Validate() error {
return nil
}
+// SetPasswordPolicy sets the PasswordPolicy field's value.
+func (s *UserPoolPolicyType) SetPasswordPolicy(v *PasswordPolicyType) *UserPoolPolicyType {
+ s.PasswordPolicy = v
+ return s
+}
+
// A container with information about the user pool type.
type UserPoolType struct {
_ struct{} `type:"structure"`
@@ -10226,6 +12269,138 @@ func (s UserPoolType) GoString() string {
return s.String()
}
+// SetAdminCreateUserConfig sets the AdminCreateUserConfig field's value.
+func (s *UserPoolType) SetAdminCreateUserConfig(v *AdminCreateUserConfigType) *UserPoolType {
+ s.AdminCreateUserConfig = v
+ return s
+}
+
+// SetAliasAttributes sets the AliasAttributes field's value.
+func (s *UserPoolType) SetAliasAttributes(v []*string) *UserPoolType {
+ s.AliasAttributes = v
+ return s
+}
+
+// SetAutoVerifiedAttributes sets the AutoVerifiedAttributes field's value.
+func (s *UserPoolType) SetAutoVerifiedAttributes(v []*string) *UserPoolType {
+ s.AutoVerifiedAttributes = v
+ return s
+}
+
+// SetCreationDate sets the CreationDate field's value.
+func (s *UserPoolType) SetCreationDate(v time.Time) *UserPoolType {
+ s.CreationDate = &v
+ return s
+}
+
+// SetDeviceConfiguration sets the DeviceConfiguration field's value.
+func (s *UserPoolType) SetDeviceConfiguration(v *DeviceConfigurationType) *UserPoolType {
+ s.DeviceConfiguration = v
+ return s
+}
+
+// SetEmailConfiguration sets the EmailConfiguration field's value.
+func (s *UserPoolType) SetEmailConfiguration(v *EmailConfigurationType) *UserPoolType {
+ s.EmailConfiguration = v
+ return s
+}
+
+// SetEmailConfigurationFailure sets the EmailConfigurationFailure field's value.
+func (s *UserPoolType) SetEmailConfigurationFailure(v string) *UserPoolType {
+ s.EmailConfigurationFailure = &v
+ return s
+}
+
+// SetEmailVerificationMessage sets the EmailVerificationMessage field's value.
+func (s *UserPoolType) SetEmailVerificationMessage(v string) *UserPoolType {
+ s.EmailVerificationMessage = &v
+ return s
+}
+
+// SetEmailVerificationSubject sets the EmailVerificationSubject field's value.
+func (s *UserPoolType) SetEmailVerificationSubject(v string) *UserPoolType {
+ s.EmailVerificationSubject = &v
+ return s
+}
+
+// SetEstimatedNumberOfUsers sets the EstimatedNumberOfUsers field's value.
+func (s *UserPoolType) SetEstimatedNumberOfUsers(v int64) *UserPoolType {
+ s.EstimatedNumberOfUsers = &v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *UserPoolType) SetId(v string) *UserPoolType {
+ s.Id = &v
+ return s
+}
+
+// SetLambdaConfig sets the LambdaConfig field's value.
+func (s *UserPoolType) SetLambdaConfig(v *LambdaConfigType) *UserPoolType {
+ s.LambdaConfig = v
+ return s
+}
+
+// SetLastModifiedDate sets the LastModifiedDate field's value.
+func (s *UserPoolType) SetLastModifiedDate(v time.Time) *UserPoolType {
+ s.LastModifiedDate = &v
+ return s
+}
+
+// SetMfaConfiguration sets the MfaConfiguration field's value.
+func (s *UserPoolType) SetMfaConfiguration(v string) *UserPoolType {
+ s.MfaConfiguration = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *UserPoolType) SetName(v string) *UserPoolType {
+ s.Name = &v
+ return s
+}
+
+// SetPolicies sets the Policies field's value.
+func (s *UserPoolType) SetPolicies(v *UserPoolPolicyType) *UserPoolType {
+ s.Policies = v
+ return s
+}
+
+// SetSchemaAttributes sets the SchemaAttributes field's value.
+func (s *UserPoolType) SetSchemaAttributes(v []*SchemaAttributeType) *UserPoolType {
+ s.SchemaAttributes = v
+ return s
+}
+
+// SetSmsAuthenticationMessage sets the SmsAuthenticationMessage field's value.
+func (s *UserPoolType) SetSmsAuthenticationMessage(v string) *UserPoolType {
+ s.SmsAuthenticationMessage = &v
+ return s
+}
+
+// SetSmsConfiguration sets the SmsConfiguration field's value.
+func (s *UserPoolType) SetSmsConfiguration(v *SmsConfigurationType) *UserPoolType {
+ s.SmsConfiguration = v
+ return s
+}
+
+// SetSmsConfigurationFailure sets the SmsConfigurationFailure field's value.
+func (s *UserPoolType) SetSmsConfigurationFailure(v string) *UserPoolType {
+ s.SmsConfigurationFailure = &v
+ return s
+}
+
+// SetSmsVerificationMessage sets the SmsVerificationMessage field's value.
+func (s *UserPoolType) SetSmsVerificationMessage(v string) *UserPoolType {
+ s.SmsVerificationMessage = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *UserPoolType) SetStatus(v string) *UserPoolType {
+ s.Status = &v
+ return s
+}
+
// The user type.
type UserType struct {
_ struct{} `type:"structure"`
@@ -10272,6 +12447,48 @@ func (s UserType) GoString() string {
return s.String()
}
+// SetAttributes sets the Attributes field's value.
+func (s *UserType) SetAttributes(v []*AttributeType) *UserType {
+ s.Attributes = v
+ return s
+}
+
+// SetEnabled sets the Enabled field's value.
+func (s *UserType) SetEnabled(v bool) *UserType {
+ s.Enabled = &v
+ return s
+}
+
+// SetMFAOptions sets the MFAOptions field's value.
+func (s *UserType) SetMFAOptions(v []*MFAOptionType) *UserType {
+ s.MFAOptions = v
+ return s
+}
+
+// SetUserCreateDate sets the UserCreateDate field's value.
+func (s *UserType) SetUserCreateDate(v time.Time) *UserType {
+ s.UserCreateDate = &v
+ return s
+}
+
+// SetUserLastModifiedDate sets the UserLastModifiedDate field's value.
+func (s *UserType) SetUserLastModifiedDate(v time.Time) *UserType {
+ s.UserLastModifiedDate = &v
+ return s
+}
+
+// SetUserStatus sets the UserStatus field's value.
+func (s *UserType) SetUserStatus(v string) *UserType {
+ s.UserStatus = &v
+ return s
+}
+
+// SetUsername sets the Username field's value.
+func (s *UserType) SetUsername(v string) *UserType {
+ s.Username = &v
+ return s
+}
+
// Represents the request to verify user attributes.
type VerifyUserAttributeInput struct {
_ struct{} `type:"structure"`
@@ -10322,6 +12539,24 @@ func (s *VerifyUserAttributeInput) Validate() error {
return nil
}
+// SetAccessToken sets the AccessToken field's value.
+func (s *VerifyUserAttributeInput) SetAccessToken(v string) *VerifyUserAttributeInput {
+ s.AccessToken = &v
+ return s
+}
+
+// SetAttributeName sets the AttributeName field's value.
+func (s *VerifyUserAttributeInput) SetAttributeName(v string) *VerifyUserAttributeInput {
+ s.AttributeName = &v
+ return s
+}
+
+// SetCode sets the Code field's value.
+func (s *VerifyUserAttributeInput) SetCode(v string) *VerifyUserAttributeInput {
+ s.Code = &v
+ return s
+}
+
// A container representing the response from the server from the request to
// verify user attributes.
type VerifyUserAttributeOutput struct {
diff --git a/vendor/github.com/aws/aws-sdk-go/service/cognitoidentityprovider/examples_test.go b/vendor/github.com/aws/aws-sdk-go/service/cognitoidentityprovider/examples_test.go
index 7a1f627..7ca4b03 100644
--- a/vendor/github.com/aws/aws-sdk-go/service/cognitoidentityprovider/examples_test.go
+++ b/vendor/github.com/aws/aws-sdk-go/service/cognitoidentityprovider/examples_test.go
@@ -761,10 +761,28 @@ func ExampleCognitoIdentityProvider_CreateUserPool() {
RequireUppercase: aws.Bool(true),
},
},
+ Schema: []*cognitoidentityprovider.SchemaAttributeType{
+ { // Required
+ AttributeDataType: aws.String("AttributeDataType"),
+ DeveloperOnlyAttribute: aws.Bool(true),
+ Mutable: aws.Bool(true),
+ Name: aws.String("CustomAttributeNameType"),
+ NumberAttributeConstraints: &cognitoidentityprovider.NumberAttributeConstraintsType{
+ MaxValue: aws.String("StringType"),
+ MinValue: aws.String("StringType"),
+ },
+ Required: aws.Bool(true),
+ StringAttributeConstraints: &cognitoidentityprovider.StringAttributeConstraintsType{
+ MaxLength: aws.String("StringType"),
+ MinLength: aws.String("StringType"),
+ },
+ },
+ // More values...
+ },
SmsAuthenticationMessage: aws.String("SmsVerificationMessageType"),
SmsConfiguration: &cognitoidentityprovider.SmsConfigurationType{
+ SnsCallerArn: aws.String("ArnType"), // Required
ExternalId: aws.String("StringType"),
- SnsCallerArn: aws.String("ArnType"),
},
SmsVerificationMessage: aws.String("SmsVerificationMessageType"),
}
@@ -1655,8 +1673,8 @@ func ExampleCognitoIdentityProvider_UpdateUserPool() {
},
SmsAuthenticationMessage: aws.String("SmsVerificationMessageType"),
SmsConfiguration: &cognitoidentityprovider.SmsConfigurationType{
+ SnsCallerArn: aws.String("ArnType"), // Required
ExternalId: aws.String("StringType"),
- SnsCallerArn: aws.String("ArnType"),
},
SmsVerificationMessage: aws.String("SmsVerificationMessageType"),
}
diff --git a/vendor/github.com/aws/aws-sdk-go/service/cognitosync/api.go b/vendor/github.com/aws/aws-sdk-go/service/cognitosync/api.go
index d626979..3aa7c61 100644
--- a/vendor/github.com/aws/aws-sdk-go/service/cognitosync/api.go
+++ b/vendor/github.com/aws/aws-sdk-go/service/cognitosync/api.go
@@ -1454,6 +1454,12 @@ func (s *BulkPublishInput) Validate() error {
return nil
}
+// SetIdentityPoolId sets the IdentityPoolId field's value.
+func (s *BulkPublishInput) SetIdentityPoolId(v string) *BulkPublishInput {
+ s.IdentityPoolId = &v
+ return s
+}
+
// The output for the BulkPublish operation.
type BulkPublishOutput struct {
_ struct{} `type:"structure"`
@@ -1473,6 +1479,12 @@ func (s BulkPublishOutput) GoString() string {
return s.String()
}
+// SetIdentityPoolId sets the IdentityPoolId field's value.
+func (s *BulkPublishOutput) SetIdentityPoolId(v string) *BulkPublishOutput {
+ s.IdentityPoolId = &v
+ return s
+}
+
// Configuration options for configure Cognito streams.
type CognitoStreams struct {
_ struct{} `type:"structure"`
@@ -1520,6 +1532,24 @@ func (s *CognitoStreams) Validate() error {
return nil
}
+// SetRoleArn sets the RoleArn field's value.
+func (s *CognitoStreams) SetRoleArn(v string) *CognitoStreams {
+ s.RoleArn = &v
+ return s
+}
+
+// SetStreamName sets the StreamName field's value.
+func (s *CognitoStreams) SetStreamName(v string) *CognitoStreams {
+ s.StreamName = &v
+ return s
+}
+
+// SetStreamingStatus sets the StreamingStatus field's value.
+func (s *CognitoStreams) SetStreamingStatus(v string) *CognitoStreams {
+ s.StreamingStatus = &v
+ return s
+}
+
// A collection of data for an identity pool. An identity pool can have multiple
// datasets. A dataset is per identity and can be general or associated with
// a particular entity in an application (like a saved game). Datasets are automatically
@@ -1562,6 +1592,48 @@ func (s Dataset) GoString() string {
return s.String()
}
+// SetCreationDate sets the CreationDate field's value.
+func (s *Dataset) SetCreationDate(v time.Time) *Dataset {
+ s.CreationDate = &v
+ return s
+}
+
+// SetDataStorage sets the DataStorage field's value.
+func (s *Dataset) SetDataStorage(v int64) *Dataset {
+ s.DataStorage = &v
+ return s
+}
+
+// SetDatasetName sets the DatasetName field's value.
+func (s *Dataset) SetDatasetName(v string) *Dataset {
+ s.DatasetName = &v
+ return s
+}
+
+// SetIdentityId sets the IdentityId field's value.
+func (s *Dataset) SetIdentityId(v string) *Dataset {
+ s.IdentityId = &v
+ return s
+}
+
+// SetLastModifiedBy sets the LastModifiedBy field's value.
+func (s *Dataset) SetLastModifiedBy(v string) *Dataset {
+ s.LastModifiedBy = &v
+ return s
+}
+
+// SetLastModifiedDate sets the LastModifiedDate field's value.
+func (s *Dataset) SetLastModifiedDate(v time.Time) *Dataset {
+ s.LastModifiedDate = &v
+ return s
+}
+
+// SetNumRecords sets the NumRecords field's value.
+func (s *Dataset) SetNumRecords(v int64) *Dataset {
+ s.NumRecords = &v
+ return s
+}
+
// A request to delete the specific dataset.
type DeleteDatasetInput struct {
_ struct{} `type:"structure"`
@@ -1623,6 +1695,24 @@ func (s *DeleteDatasetInput) Validate() error {
return nil
}
+// SetDatasetName sets the DatasetName field's value.
+func (s *DeleteDatasetInput) SetDatasetName(v string) *DeleteDatasetInput {
+ s.DatasetName = &v
+ return s
+}
+
+// SetIdentityId sets the IdentityId field's value.
+func (s *DeleteDatasetInput) SetIdentityId(v string) *DeleteDatasetInput {
+ s.IdentityId = &v
+ return s
+}
+
+// SetIdentityPoolId sets the IdentityPoolId field's value.
+func (s *DeleteDatasetInput) SetIdentityPoolId(v string) *DeleteDatasetInput {
+ s.IdentityPoolId = &v
+ return s
+}
+
// Response to a successful DeleteDataset request.
type DeleteDatasetOutput struct {
_ struct{} `type:"structure"`
@@ -1645,6 +1735,12 @@ func (s DeleteDatasetOutput) GoString() string {
return s.String()
}
+// SetDataset sets the Dataset field's value.
+func (s *DeleteDatasetOutput) SetDataset(v *Dataset) *DeleteDatasetOutput {
+ s.Dataset = v
+ return s
+}
+
// A request for meta data about a dataset (creation date, number of records,
// size) by owner and dataset name.
type DescribeDatasetInput struct {
@@ -1707,6 +1803,24 @@ func (s *DescribeDatasetInput) Validate() error {
return nil
}
+// SetDatasetName sets the DatasetName field's value.
+func (s *DescribeDatasetInput) SetDatasetName(v string) *DescribeDatasetInput {
+ s.DatasetName = &v
+ return s
+}
+
+// SetIdentityId sets the IdentityId field's value.
+func (s *DescribeDatasetInput) SetIdentityId(v string) *DescribeDatasetInput {
+ s.IdentityId = &v
+ return s
+}
+
+// SetIdentityPoolId sets the IdentityPoolId field's value.
+func (s *DescribeDatasetInput) SetIdentityPoolId(v string) *DescribeDatasetInput {
+ s.IdentityPoolId = &v
+ return s
+}
+
// Response to a successful DescribeDataset request.
type DescribeDatasetOutput struct {
_ struct{} `type:"structure"`
@@ -1729,6 +1843,12 @@ func (s DescribeDatasetOutput) GoString() string {
return s.String()
}
+// SetDataset sets the Dataset field's value.
+func (s *DescribeDatasetOutput) SetDataset(v *Dataset) *DescribeDatasetOutput {
+ s.Dataset = v
+ return s
+}
+
// A request for usage information about the identity pool.
type DescribeIdentityPoolUsageInput struct {
_ struct{} `type:"structure"`
@@ -1766,6 +1886,12 @@ func (s *DescribeIdentityPoolUsageInput) Validate() error {
return nil
}
+// SetIdentityPoolId sets the IdentityPoolId field's value.
+func (s *DescribeIdentityPoolUsageInput) SetIdentityPoolId(v string) *DescribeIdentityPoolUsageInput {
+ s.IdentityPoolId = &v
+ return s
+}
+
// Response to a successful DescribeIdentityPoolUsage request.
type DescribeIdentityPoolUsageOutput struct {
_ struct{} `type:"structure"`
@@ -1784,6 +1910,12 @@ func (s DescribeIdentityPoolUsageOutput) GoString() string {
return s.String()
}
+// SetIdentityPoolUsage sets the IdentityPoolUsage field's value.
+func (s *DescribeIdentityPoolUsageOutput) SetIdentityPoolUsage(v *IdentityPoolUsage) *DescribeIdentityPoolUsageOutput {
+ s.IdentityPoolUsage = v
+ return s
+}
+
// A request for information about the usage of an identity pool.
type DescribeIdentityUsageInput struct {
_ struct{} `type:"structure"`
@@ -1833,6 +1965,18 @@ func (s *DescribeIdentityUsageInput) Validate() error {
return nil
}
+// SetIdentityId sets the IdentityId field's value.
+func (s *DescribeIdentityUsageInput) SetIdentityId(v string) *DescribeIdentityUsageInput {
+ s.IdentityId = &v
+ return s
+}
+
+// SetIdentityPoolId sets the IdentityPoolId field's value.
+func (s *DescribeIdentityUsageInput) SetIdentityPoolId(v string) *DescribeIdentityUsageInput {
+ s.IdentityPoolId = &v
+ return s
+}
+
// The response to a successful DescribeIdentityUsage request.
type DescribeIdentityUsageOutput struct {
_ struct{} `type:"structure"`
@@ -1851,6 +1995,12 @@ func (s DescribeIdentityUsageOutput) GoString() string {
return s.String()
}
+// SetIdentityUsage sets the IdentityUsage field's value.
+func (s *DescribeIdentityUsageOutput) SetIdentityUsage(v *IdentityUsage) *DescribeIdentityUsageOutput {
+ s.IdentityUsage = v
+ return s
+}
+
// The input for the GetBulkPublishDetails operation.
type GetBulkPublishDetailsInput struct {
_ struct{} `type:"structure"`
@@ -1888,6 +2038,12 @@ func (s *GetBulkPublishDetailsInput) Validate() error {
return nil
}
+// SetIdentityPoolId sets the IdentityPoolId field's value.
+func (s *GetBulkPublishDetailsInput) SetIdentityPoolId(v string) *GetBulkPublishDetailsInput {
+ s.IdentityPoolId = &v
+ return s
+}
+
// The output for the GetBulkPublishDetails operation.
type GetBulkPublishDetailsOutput struct {
_ struct{} `type:"structure"`
@@ -1930,6 +2086,36 @@ func (s GetBulkPublishDetailsOutput) GoString() string {
return s.String()
}
+// SetBulkPublishCompleteTime sets the BulkPublishCompleteTime field's value.
+func (s *GetBulkPublishDetailsOutput) SetBulkPublishCompleteTime(v time.Time) *GetBulkPublishDetailsOutput {
+ s.BulkPublishCompleteTime = &v
+ return s
+}
+
+// SetBulkPublishStartTime sets the BulkPublishStartTime field's value.
+func (s *GetBulkPublishDetailsOutput) SetBulkPublishStartTime(v time.Time) *GetBulkPublishDetailsOutput {
+ s.BulkPublishStartTime = &v
+ return s
+}
+
+// SetBulkPublishStatus sets the BulkPublishStatus field's value.
+func (s *GetBulkPublishDetailsOutput) SetBulkPublishStatus(v string) *GetBulkPublishDetailsOutput {
+ s.BulkPublishStatus = &v
+ return s
+}
+
+// SetFailureMessage sets the FailureMessage field's value.
+func (s *GetBulkPublishDetailsOutput) SetFailureMessage(v string) *GetBulkPublishDetailsOutput {
+ s.FailureMessage = &v
+ return s
+}
+
+// SetIdentityPoolId sets the IdentityPoolId field's value.
+func (s *GetBulkPublishDetailsOutput) SetIdentityPoolId(v string) *GetBulkPublishDetailsOutput {
+ s.IdentityPoolId = &v
+ return s
+}
+
// A request for a list of the configured Cognito Events
type GetCognitoEventsInput struct {
_ struct{} `type:"structure"`
@@ -1966,6 +2152,12 @@ func (s *GetCognitoEventsInput) Validate() error {
return nil
}
+// SetIdentityPoolId sets the IdentityPoolId field's value.
+func (s *GetCognitoEventsInput) SetIdentityPoolId(v string) *GetCognitoEventsInput {
+ s.IdentityPoolId = &v
+ return s
+}
+
// The response from the GetCognitoEvents request
type GetCognitoEventsOutput struct {
_ struct{} `type:"structure"`
@@ -1984,6 +2176,12 @@ func (s GetCognitoEventsOutput) GoString() string {
return s.String()
}
+// SetEvents sets the Events field's value.
+func (s *GetCognitoEventsOutput) SetEvents(v map[string]*string) *GetCognitoEventsOutput {
+ s.Events = v
+ return s
+}
+
// The input for the GetIdentityPoolConfiguration operation.
type GetIdentityPoolConfigurationInput struct {
_ struct{} `type:"structure"`
@@ -2022,6 +2220,12 @@ func (s *GetIdentityPoolConfigurationInput) Validate() error {
return nil
}
+// SetIdentityPoolId sets the IdentityPoolId field's value.
+func (s *GetIdentityPoolConfigurationInput) SetIdentityPoolId(v string) *GetIdentityPoolConfigurationInput {
+ s.IdentityPoolId = &v
+ return s
+}
+
// The output for the GetIdentityPoolConfiguration operation.
type GetIdentityPoolConfigurationOutput struct {
_ struct{} `type:"structure"`
@@ -2047,6 +2251,24 @@ func (s GetIdentityPoolConfigurationOutput) GoString() string {
return s.String()
}
+// SetCognitoStreams sets the CognitoStreams field's value.
+func (s *GetIdentityPoolConfigurationOutput) SetCognitoStreams(v *CognitoStreams) *GetIdentityPoolConfigurationOutput {
+ s.CognitoStreams = v
+ return s
+}
+
+// SetIdentityPoolId sets the IdentityPoolId field's value.
+func (s *GetIdentityPoolConfigurationOutput) SetIdentityPoolId(v string) *GetIdentityPoolConfigurationOutput {
+ s.IdentityPoolId = &v
+ return s
+}
+
+// SetPushSync sets the PushSync field's value.
+func (s *GetIdentityPoolConfigurationOutput) SetPushSync(v *PushSync) *GetIdentityPoolConfigurationOutput {
+ s.PushSync = v
+ return s
+}
+
// Usage information for the identity pool.
type IdentityPoolUsage struct {
_ struct{} `type:"structure"`
@@ -2075,6 +2297,30 @@ func (s IdentityPoolUsage) GoString() string {
return s.String()
}
+// SetDataStorage sets the DataStorage field's value.
+func (s *IdentityPoolUsage) SetDataStorage(v int64) *IdentityPoolUsage {
+ s.DataStorage = &v
+ return s
+}
+
+// SetIdentityPoolId sets the IdentityPoolId field's value.
+func (s *IdentityPoolUsage) SetIdentityPoolId(v string) *IdentityPoolUsage {
+ s.IdentityPoolId = &v
+ return s
+}
+
+// SetLastModifiedDate sets the LastModifiedDate field's value.
+func (s *IdentityPoolUsage) SetLastModifiedDate(v time.Time) *IdentityPoolUsage {
+ s.LastModifiedDate = &v
+ return s
+}
+
+// SetSyncSessionsCount sets the SyncSessionsCount field's value.
+func (s *IdentityPoolUsage) SetSyncSessionsCount(v int64) *IdentityPoolUsage {
+ s.SyncSessionsCount = &v
+ return s
+}
+
// Usage information for the identity.
type IdentityUsage struct {
_ struct{} `type:"structure"`
@@ -2107,6 +2353,36 @@ func (s IdentityUsage) GoString() string {
return s.String()
}
+// SetDataStorage sets the DataStorage field's value.
+func (s *IdentityUsage) SetDataStorage(v int64) *IdentityUsage {
+ s.DataStorage = &v
+ return s
+}
+
+// SetDatasetCount sets the DatasetCount field's value.
+func (s *IdentityUsage) SetDatasetCount(v int64) *IdentityUsage {
+ s.DatasetCount = &v
+ return s
+}
+
+// SetIdentityId sets the IdentityId field's value.
+func (s *IdentityUsage) SetIdentityId(v string) *IdentityUsage {
+ s.IdentityId = &v
+ return s
+}
+
+// SetIdentityPoolId sets the IdentityPoolId field's value.
+func (s *IdentityUsage) SetIdentityPoolId(v string) *IdentityUsage {
+ s.IdentityPoolId = &v
+ return s
+}
+
+// SetLastModifiedDate sets the LastModifiedDate field's value.
+func (s *IdentityUsage) SetLastModifiedDate(v time.Time) *IdentityUsage {
+ s.LastModifiedDate = &v
+ return s
+}
+
// Request for a list of datasets for an identity.
type ListDatasetsInput struct {
_ struct{} `type:"structure"`
@@ -2162,6 +2438,30 @@ func (s *ListDatasetsInput) Validate() error {
return nil
}
+// SetIdentityId sets the IdentityId field's value.
+func (s *ListDatasetsInput) SetIdentityId(v string) *ListDatasetsInput {
+ s.IdentityId = &v
+ return s
+}
+
+// SetIdentityPoolId sets the IdentityPoolId field's value.
+func (s *ListDatasetsInput) SetIdentityPoolId(v string) *ListDatasetsInput {
+ s.IdentityPoolId = &v
+ return s
+}
+
+// SetMaxResults sets the MaxResults field's value.
+func (s *ListDatasetsInput) SetMaxResults(v int64) *ListDatasetsInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListDatasetsInput) SetNextToken(v string) *ListDatasetsInput {
+ s.NextToken = &v
+ return s
+}
+
// Returned for a successful ListDatasets request.
type ListDatasetsOutput struct {
_ struct{} `type:"structure"`
@@ -2186,6 +2486,24 @@ func (s ListDatasetsOutput) GoString() string {
return s.String()
}
+// SetCount sets the Count field's value.
+func (s *ListDatasetsOutput) SetCount(v int64) *ListDatasetsOutput {
+ s.Count = &v
+ return s
+}
+
+// SetDatasets sets the Datasets field's value.
+func (s *ListDatasetsOutput) SetDatasets(v []*Dataset) *ListDatasetsOutput {
+ s.Datasets = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListDatasetsOutput) SetNextToken(v string) *ListDatasetsOutput {
+ s.NextToken = &v
+ return s
+}
+
// A request for usage information on an identity pool.
type ListIdentityPoolUsageInput struct {
_ struct{} `type:"structure"`
@@ -2207,6 +2525,18 @@ func (s ListIdentityPoolUsageInput) GoString() string {
return s.String()
}
+// SetMaxResults sets the MaxResults field's value.
+func (s *ListIdentityPoolUsageInput) SetMaxResults(v int64) *ListIdentityPoolUsageInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListIdentityPoolUsageInput) SetNextToken(v string) *ListIdentityPoolUsageInput {
+ s.NextToken = &v
+ return s
+}
+
// Returned for a successful ListIdentityPoolUsage request.
type ListIdentityPoolUsageOutput struct {
_ struct{} `type:"structure"`
@@ -2234,6 +2564,30 @@ func (s ListIdentityPoolUsageOutput) GoString() string {
return s.String()
}
+// SetCount sets the Count field's value.
+func (s *ListIdentityPoolUsageOutput) SetCount(v int64) *ListIdentityPoolUsageOutput {
+ s.Count = &v
+ return s
+}
+
+// SetIdentityPoolUsages sets the IdentityPoolUsages field's value.
+func (s *ListIdentityPoolUsageOutput) SetIdentityPoolUsages(v []*IdentityPoolUsage) *ListIdentityPoolUsageOutput {
+ s.IdentityPoolUsages = v
+ return s
+}
+
+// SetMaxResults sets the MaxResults field's value.
+func (s *ListIdentityPoolUsageOutput) SetMaxResults(v int64) *ListIdentityPoolUsageOutput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListIdentityPoolUsageOutput) SetNextToken(v string) *ListIdentityPoolUsageOutput {
+ s.NextToken = &v
+ return s
+}
+
// A request for a list of records.
type ListRecordsInput struct {
_ struct{} `type:"structure"`
@@ -2307,6 +2661,48 @@ func (s *ListRecordsInput) Validate() error {
return nil
}
+// SetDatasetName sets the DatasetName field's value.
+func (s *ListRecordsInput) SetDatasetName(v string) *ListRecordsInput {
+ s.DatasetName = &v
+ return s
+}
+
+// SetIdentityId sets the IdentityId field's value.
+func (s *ListRecordsInput) SetIdentityId(v string) *ListRecordsInput {
+ s.IdentityId = &v
+ return s
+}
+
+// SetIdentityPoolId sets the IdentityPoolId field's value.
+func (s *ListRecordsInput) SetIdentityPoolId(v string) *ListRecordsInput {
+ s.IdentityPoolId = &v
+ return s
+}
+
+// SetLastSyncCount sets the LastSyncCount field's value.
+func (s *ListRecordsInput) SetLastSyncCount(v int64) *ListRecordsInput {
+ s.LastSyncCount = &v
+ return s
+}
+
+// SetMaxResults sets the MaxResults field's value.
+func (s *ListRecordsInput) SetMaxResults(v int64) *ListRecordsInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListRecordsInput) SetNextToken(v string) *ListRecordsInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetSyncSessionToken sets the SyncSessionToken field's value.
+func (s *ListRecordsInput) SetSyncSessionToken(v string) *ListRecordsInput {
+ s.SyncSessionToken = &v
+ return s
+}
+
// Returned for a successful ListRecordsRequest.
type ListRecordsOutput struct {
_ struct{} `type:"structure"`
@@ -2349,6 +2745,60 @@ func (s ListRecordsOutput) GoString() string {
return s.String()
}
+// SetCount sets the Count field's value.
+func (s *ListRecordsOutput) SetCount(v int64) *ListRecordsOutput {
+ s.Count = &v
+ return s
+}
+
+// SetDatasetDeletedAfterRequestedSyncCount sets the DatasetDeletedAfterRequestedSyncCount field's value.
+func (s *ListRecordsOutput) SetDatasetDeletedAfterRequestedSyncCount(v bool) *ListRecordsOutput {
+ s.DatasetDeletedAfterRequestedSyncCount = &v
+ return s
+}
+
+// SetDatasetExists sets the DatasetExists field's value.
+func (s *ListRecordsOutput) SetDatasetExists(v bool) *ListRecordsOutput {
+ s.DatasetExists = &v
+ return s
+}
+
+// SetDatasetSyncCount sets the DatasetSyncCount field's value.
+func (s *ListRecordsOutput) SetDatasetSyncCount(v int64) *ListRecordsOutput {
+ s.DatasetSyncCount = &v
+ return s
+}
+
+// SetLastModifiedBy sets the LastModifiedBy field's value.
+func (s *ListRecordsOutput) SetLastModifiedBy(v string) *ListRecordsOutput {
+ s.LastModifiedBy = &v
+ return s
+}
+
+// SetMergedDatasetNames sets the MergedDatasetNames field's value.
+func (s *ListRecordsOutput) SetMergedDatasetNames(v []*string) *ListRecordsOutput {
+ s.MergedDatasetNames = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListRecordsOutput) SetNextToken(v string) *ListRecordsOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetRecords sets the Records field's value.
+func (s *ListRecordsOutput) SetRecords(v []*Record) *ListRecordsOutput {
+ s.Records = v
+ return s
+}
+
+// SetSyncSessionToken sets the SyncSessionToken field's value.
+func (s *ListRecordsOutput) SetSyncSessionToken(v string) *ListRecordsOutput {
+ s.SyncSessionToken = &v
+ return s
+}
+
// Configuration options to be applied to the identity pool.
type PushSync struct {
_ struct{} `type:"structure"`
@@ -2383,6 +2833,18 @@ func (s *PushSync) Validate() error {
return nil
}
+// SetApplicationArns sets the ApplicationArns field's value.
+func (s *PushSync) SetApplicationArns(v []*string) *PushSync {
+ s.ApplicationArns = v
+ return s
+}
+
+// SetRoleArn sets the RoleArn field's value.
+func (s *PushSync) SetRoleArn(v string) *PushSync {
+ s.RoleArn = &v
+ return s
+}
+
// The basic data structure of a dataset.
type Record struct {
_ struct{} `type:"structure"`
@@ -2416,6 +2878,42 @@ func (s Record) GoString() string {
return s.String()
}
+// SetDeviceLastModifiedDate sets the DeviceLastModifiedDate field's value.
+func (s *Record) SetDeviceLastModifiedDate(v time.Time) *Record {
+ s.DeviceLastModifiedDate = &v
+ return s
+}
+
+// SetKey sets the Key field's value.
+func (s *Record) SetKey(v string) *Record {
+ s.Key = &v
+ return s
+}
+
+// SetLastModifiedBy sets the LastModifiedBy field's value.
+func (s *Record) SetLastModifiedBy(v string) *Record {
+ s.LastModifiedBy = &v
+ return s
+}
+
+// SetLastModifiedDate sets the LastModifiedDate field's value.
+func (s *Record) SetLastModifiedDate(v time.Time) *Record {
+ s.LastModifiedDate = &v
+ return s
+}
+
+// SetSyncCount sets the SyncCount field's value.
+func (s *Record) SetSyncCount(v int64) *Record {
+ s.SyncCount = &v
+ return s
+}
+
+// SetValue sets the Value field's value.
+func (s *Record) SetValue(v string) *Record {
+ s.Value = &v
+ return s
+}
+
// An update operation for a record.
type RecordPatch struct {
_ struct{} `type:"structure"`
@@ -2474,6 +2972,36 @@ func (s *RecordPatch) Validate() error {
return nil
}
+// SetDeviceLastModifiedDate sets the DeviceLastModifiedDate field's value.
+func (s *RecordPatch) SetDeviceLastModifiedDate(v time.Time) *RecordPatch {
+ s.DeviceLastModifiedDate = &v
+ return s
+}
+
+// SetKey sets the Key field's value.
+func (s *RecordPatch) SetKey(v string) *RecordPatch {
+ s.Key = &v
+ return s
+}
+
+// SetOp sets the Op field's value.
+func (s *RecordPatch) SetOp(v string) *RecordPatch {
+ s.Op = &v
+ return s
+}
+
+// SetSyncCount sets the SyncCount field's value.
+func (s *RecordPatch) SetSyncCount(v int64) *RecordPatch {
+ s.SyncCount = &v
+ return s
+}
+
+// SetValue sets the Value field's value.
+func (s *RecordPatch) SetValue(v string) *RecordPatch {
+ s.Value = &v
+ return s
+}
+
// A request to RegisterDevice.
type RegisterDeviceInput struct {
_ struct{} `type:"structure"`
@@ -2539,6 +3067,30 @@ func (s *RegisterDeviceInput) Validate() error {
return nil
}
+// SetIdentityId sets the IdentityId field's value.
+func (s *RegisterDeviceInput) SetIdentityId(v string) *RegisterDeviceInput {
+ s.IdentityId = &v
+ return s
+}
+
+// SetIdentityPoolId sets the IdentityPoolId field's value.
+func (s *RegisterDeviceInput) SetIdentityPoolId(v string) *RegisterDeviceInput {
+ s.IdentityPoolId = &v
+ return s
+}
+
+// SetPlatform sets the Platform field's value.
+func (s *RegisterDeviceInput) SetPlatform(v string) *RegisterDeviceInput {
+ s.Platform = &v
+ return s
+}
+
+// SetToken sets the Token field's value.
+func (s *RegisterDeviceInput) SetToken(v string) *RegisterDeviceInput {
+ s.Token = &v
+ return s
+}
+
// Response to a RegisterDevice request.
type RegisterDeviceOutput struct {
_ struct{} `type:"structure"`
@@ -2557,6 +3109,12 @@ func (s RegisterDeviceOutput) GoString() string {
return s.String()
}
+// SetDeviceId sets the DeviceId field's value.
+func (s *RegisterDeviceOutput) SetDeviceId(v string) *RegisterDeviceOutput {
+ s.DeviceId = &v
+ return s
+}
+
// A request to configure Cognito Events"
type SetCognitoEventsInput struct {
_ struct{} `type:"structure"`
@@ -2601,6 +3159,18 @@ func (s *SetCognitoEventsInput) Validate() error {
return nil
}
+// SetEvents sets the Events field's value.
+func (s *SetCognitoEventsInput) SetEvents(v map[string]*string) *SetCognitoEventsInput {
+ s.Events = v
+ return s
+}
+
+// SetIdentityPoolId sets the IdentityPoolId field's value.
+func (s *SetCognitoEventsInput) SetIdentityPoolId(v string) *SetCognitoEventsInput {
+ s.IdentityPoolId = &v
+ return s
+}
+
type SetCognitoEventsOutput struct {
_ struct{} `type:"structure"`
}
@@ -2668,6 +3238,24 @@ func (s *SetIdentityPoolConfigurationInput) Validate() error {
return nil
}
+// SetCognitoStreams sets the CognitoStreams field's value.
+func (s *SetIdentityPoolConfigurationInput) SetCognitoStreams(v *CognitoStreams) *SetIdentityPoolConfigurationInput {
+ s.CognitoStreams = v
+ return s
+}
+
+// SetIdentityPoolId sets the IdentityPoolId field's value.
+func (s *SetIdentityPoolConfigurationInput) SetIdentityPoolId(v string) *SetIdentityPoolConfigurationInput {
+ s.IdentityPoolId = &v
+ return s
+}
+
+// SetPushSync sets the PushSync field's value.
+func (s *SetIdentityPoolConfigurationInput) SetPushSync(v *PushSync) *SetIdentityPoolConfigurationInput {
+ s.PushSync = v
+ return s
+}
+
// The output for the SetIdentityPoolConfiguration operation
type SetIdentityPoolConfigurationOutput struct {
_ struct{} `type:"structure"`
@@ -2693,6 +3281,24 @@ func (s SetIdentityPoolConfigurationOutput) GoString() string {
return s.String()
}
+// SetCognitoStreams sets the CognitoStreams field's value.
+func (s *SetIdentityPoolConfigurationOutput) SetCognitoStreams(v *CognitoStreams) *SetIdentityPoolConfigurationOutput {
+ s.CognitoStreams = v
+ return s
+}
+
+// SetIdentityPoolId sets the IdentityPoolId field's value.
+func (s *SetIdentityPoolConfigurationOutput) SetIdentityPoolId(v string) *SetIdentityPoolConfigurationOutput {
+ s.IdentityPoolId = &v
+ return s
+}
+
+// SetPushSync sets the PushSync field's value.
+func (s *SetIdentityPoolConfigurationOutput) SetPushSync(v *PushSync) *SetIdentityPoolConfigurationOutput {
+ s.PushSync = v
+ return s
+}
+
// A request to SubscribeToDatasetRequest.
type SubscribeToDatasetInput struct {
_ struct{} `type:"structure"`
@@ -2763,6 +3369,30 @@ func (s *SubscribeToDatasetInput) Validate() error {
return nil
}
+// SetDatasetName sets the DatasetName field's value.
+func (s *SubscribeToDatasetInput) SetDatasetName(v string) *SubscribeToDatasetInput {
+ s.DatasetName = &v
+ return s
+}
+
+// SetDeviceId sets the DeviceId field's value.
+func (s *SubscribeToDatasetInput) SetDeviceId(v string) *SubscribeToDatasetInput {
+ s.DeviceId = &v
+ return s
+}
+
+// SetIdentityId sets the IdentityId field's value.
+func (s *SubscribeToDatasetInput) SetIdentityId(v string) *SubscribeToDatasetInput {
+ s.IdentityId = &v
+ return s
+}
+
+// SetIdentityPoolId sets the IdentityPoolId field's value.
+func (s *SubscribeToDatasetInput) SetIdentityPoolId(v string) *SubscribeToDatasetInput {
+ s.IdentityPoolId = &v
+ return s
+}
+
// Response to a SubscribeToDataset request.
type SubscribeToDatasetOutput struct {
_ struct{} `type:"structure"`
@@ -2848,6 +3478,30 @@ func (s *UnsubscribeFromDatasetInput) Validate() error {
return nil
}
+// SetDatasetName sets the DatasetName field's value.
+func (s *UnsubscribeFromDatasetInput) SetDatasetName(v string) *UnsubscribeFromDatasetInput {
+ s.DatasetName = &v
+ return s
+}
+
+// SetDeviceId sets the DeviceId field's value.
+func (s *UnsubscribeFromDatasetInput) SetDeviceId(v string) *UnsubscribeFromDatasetInput {
+ s.DeviceId = &v
+ return s
+}
+
+// SetIdentityId sets the IdentityId field's value.
+func (s *UnsubscribeFromDatasetInput) SetIdentityId(v string) *UnsubscribeFromDatasetInput {
+ s.IdentityId = &v
+ return s
+}
+
+// SetIdentityPoolId sets the IdentityPoolId field's value.
+func (s *UnsubscribeFromDatasetInput) SetIdentityPoolId(v string) *UnsubscribeFromDatasetInput {
+ s.IdentityPoolId = &v
+ return s
+}
+
// Response to an UnsubscribeFromDataset request.
type UnsubscribeFromDatasetOutput struct {
_ struct{} `type:"structure"`
@@ -2957,6 +3611,48 @@ func (s *UpdateRecordsInput) Validate() error {
return nil
}
+// SetClientContext sets the ClientContext field's value.
+func (s *UpdateRecordsInput) SetClientContext(v string) *UpdateRecordsInput {
+ s.ClientContext = &v
+ return s
+}
+
+// SetDatasetName sets the DatasetName field's value.
+func (s *UpdateRecordsInput) SetDatasetName(v string) *UpdateRecordsInput {
+ s.DatasetName = &v
+ return s
+}
+
+// SetDeviceId sets the DeviceId field's value.
+func (s *UpdateRecordsInput) SetDeviceId(v string) *UpdateRecordsInput {
+ s.DeviceId = &v
+ return s
+}
+
+// SetIdentityId sets the IdentityId field's value.
+func (s *UpdateRecordsInput) SetIdentityId(v string) *UpdateRecordsInput {
+ s.IdentityId = &v
+ return s
+}
+
+// SetIdentityPoolId sets the IdentityPoolId field's value.
+func (s *UpdateRecordsInput) SetIdentityPoolId(v string) *UpdateRecordsInput {
+ s.IdentityPoolId = &v
+ return s
+}
+
+// SetRecordPatches sets the RecordPatches field's value.
+func (s *UpdateRecordsInput) SetRecordPatches(v []*RecordPatch) *UpdateRecordsInput {
+ s.RecordPatches = v
+ return s
+}
+
+// SetSyncSessionToken sets the SyncSessionToken field's value.
+func (s *UpdateRecordsInput) SetSyncSessionToken(v string) *UpdateRecordsInput {
+ s.SyncSessionToken = &v
+ return s
+}
+
// Returned for a successful UpdateRecordsRequest.
type UpdateRecordsOutput struct {
_ struct{} `type:"structure"`
@@ -2975,6 +3671,12 @@ func (s UpdateRecordsOutput) GoString() string {
return s.String()
}
+// SetRecords sets the Records field's value.
+func (s *UpdateRecordsOutput) SetRecords(v []*Record) *UpdateRecordsOutput {
+ s.Records = v
+ return s
+}
+
const (
// BulkPublishStatusNotStarted is a BulkPublishStatus enum value
BulkPublishStatusNotStarted = "NOT_STARTED"
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 f13c898..e0659bf 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
@@ -2118,6 +2118,18 @@ func (s Compliance) GoString() string {
return s.String()
}
+// SetComplianceContributorCount sets the ComplianceContributorCount field's value.
+func (s *Compliance) SetComplianceContributorCount(v *ComplianceContributorCount) *Compliance {
+ s.ComplianceContributorCount = v
+ return s
+}
+
+// SetComplianceType sets the ComplianceType field's value.
+func (s *Compliance) SetComplianceType(v string) *Compliance {
+ s.ComplianceType = &v
+ return s
+}
+
// 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.
@@ -2141,6 +2153,18 @@ func (s ComplianceByConfigRule) GoString() string {
return s.String()
}
+// SetCompliance sets the Compliance field's value.
+func (s *ComplianceByConfigRule) SetCompliance(v *Compliance) *ComplianceByConfigRule {
+ s.Compliance = v
+ return s
+}
+
+// SetConfigRuleName sets the ConfigRuleName field's value.
+func (s *ComplianceByConfigRule) SetConfigRuleName(v string) *ComplianceByConfigRule {
+ s.ConfigRuleName = &v
+ return s
+}
+
// Indicates whether an AWS resource that is evaluated according to one or more
// 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
@@ -2169,6 +2193,24 @@ func (s ComplianceByResource) GoString() string {
return s.String()
}
+// SetCompliance sets the Compliance field's value.
+func (s *ComplianceByResource) SetCompliance(v *Compliance) *ComplianceByResource {
+ s.Compliance = v
+ return s
+}
+
+// SetResourceId sets the ResourceId field's value.
+func (s *ComplianceByResource) SetResourceId(v string) *ComplianceByResource {
+ s.ResourceId = &v
+ return s
+}
+
+// SetResourceType sets the ResourceType field's value.
+func (s *ComplianceByResource) SetResourceType(v string) *ComplianceByResource {
+ s.ResourceType = &v
+ return s
+}
+
// The number of AWS resources or AWS Config rules responsible for the current
// compliance of the item, up to a maximum number.
type ComplianceContributorCount struct {
@@ -2192,6 +2234,18 @@ func (s ComplianceContributorCount) GoString() string {
return s.String()
}
+// SetCapExceeded sets the CapExceeded field's value.
+func (s *ComplianceContributorCount) SetCapExceeded(v bool) *ComplianceContributorCount {
+ s.CapExceeded = &v
+ return s
+}
+
+// SetCappedCount sets the CappedCount field's value.
+func (s *ComplianceContributorCount) SetCappedCount(v int64) *ComplianceContributorCount {
+ s.CappedCount = &v
+ return s
+}
+
// The number of AWS Config rules or AWS resources that are compliant and noncompliant,
// up to a maximum.
type ComplianceSummary struct {
@@ -2219,6 +2273,24 @@ func (s ComplianceSummary) GoString() string {
return s.String()
}
+// SetComplianceSummaryTimestamp sets the ComplianceSummaryTimestamp field's value.
+func (s *ComplianceSummary) SetComplianceSummaryTimestamp(v time.Time) *ComplianceSummary {
+ s.ComplianceSummaryTimestamp = &v
+ return s
+}
+
+// SetCompliantResourceCount sets the CompliantResourceCount field's value.
+func (s *ComplianceSummary) SetCompliantResourceCount(v *ComplianceContributorCount) *ComplianceSummary {
+ s.CompliantResourceCount = v
+ return s
+}
+
+// SetNonCompliantResourceCount sets the NonCompliantResourceCount field's value.
+func (s *ComplianceSummary) SetNonCompliantResourceCount(v *ComplianceContributorCount) *ComplianceSummary {
+ s.NonCompliantResourceCount = v
+ return s
+}
+
// The number of AWS resources of a specific type that are compliant or noncompliant,
// up to a maximum of 100 for each compliance.
type ComplianceSummaryByResourceType struct {
@@ -2242,6 +2314,18 @@ func (s ComplianceSummaryByResourceType) GoString() string {
return s.String()
}
+// SetComplianceSummary sets the ComplianceSummary field's value.
+func (s *ComplianceSummaryByResourceType) SetComplianceSummary(v *ComplianceSummary) *ComplianceSummaryByResourceType {
+ s.ComplianceSummary = v
+ return s
+}
+
+// SetResourceType sets the ResourceType field's value.
+func (s *ComplianceSummaryByResourceType) SetResourceType(v string) *ComplianceSummaryByResourceType {
+ s.ResourceType = &v
+ return s
+}
+
// A list that contains the status of the delivery of either the snapshot or
// the configuration history to the specified Amazon S3 bucket.
type ConfigExportDeliveryInfo struct {
@@ -2276,6 +2360,42 @@ func (s ConfigExportDeliveryInfo) GoString() string {
return s.String()
}
+// SetLastAttemptTime sets the LastAttemptTime field's value.
+func (s *ConfigExportDeliveryInfo) SetLastAttemptTime(v time.Time) *ConfigExportDeliveryInfo {
+ s.LastAttemptTime = &v
+ return s
+}
+
+// SetLastErrorCode sets the LastErrorCode field's value.
+func (s *ConfigExportDeliveryInfo) SetLastErrorCode(v string) *ConfigExportDeliveryInfo {
+ s.LastErrorCode = &v
+ return s
+}
+
+// SetLastErrorMessage sets the LastErrorMessage field's value.
+func (s *ConfigExportDeliveryInfo) SetLastErrorMessage(v string) *ConfigExportDeliveryInfo {
+ s.LastErrorMessage = &v
+ return s
+}
+
+// SetLastStatus sets the LastStatus field's value.
+func (s *ConfigExportDeliveryInfo) SetLastStatus(v string) *ConfigExportDeliveryInfo {
+ s.LastStatus = &v
+ return s
+}
+
+// SetLastSuccessfulTime sets the LastSuccessfulTime field's value.
+func (s *ConfigExportDeliveryInfo) SetLastSuccessfulTime(v time.Time) *ConfigExportDeliveryInfo {
+ s.LastSuccessfulTime = &v
+ return s
+}
+
+// SetNextDeliveryTime sets the NextDeliveryTime field's value.
+func (s *ConfigExportDeliveryInfo) SetNextDeliveryTime(v time.Time) *ConfigExportDeliveryInfo {
+ s.NextDeliveryTime = &v
+ return s
+}
+
// An AWS Config rule represents an AWS Lambda function that you create for
// a custom rule or a predefined function for an AWS managed rule. The function
// evaluates configuration items to assess whether your AWS resources comply
@@ -2392,6 +2512,60 @@ func (s *ConfigRule) Validate() error {
return nil
}
+// SetConfigRuleArn sets the ConfigRuleArn field's value.
+func (s *ConfigRule) SetConfigRuleArn(v string) *ConfigRule {
+ s.ConfigRuleArn = &v
+ return s
+}
+
+// SetConfigRuleId sets the ConfigRuleId field's value.
+func (s *ConfigRule) SetConfigRuleId(v string) *ConfigRule {
+ s.ConfigRuleId = &v
+ return s
+}
+
+// SetConfigRuleName sets the ConfigRuleName field's value.
+func (s *ConfigRule) SetConfigRuleName(v string) *ConfigRule {
+ s.ConfigRuleName = &v
+ return s
+}
+
+// SetConfigRuleState sets the ConfigRuleState field's value.
+func (s *ConfigRule) SetConfigRuleState(v string) *ConfigRule {
+ s.ConfigRuleState = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *ConfigRule) SetDescription(v string) *ConfigRule {
+ s.Description = &v
+ return s
+}
+
+// SetInputParameters sets the InputParameters field's value.
+func (s *ConfigRule) SetInputParameters(v string) *ConfigRule {
+ s.InputParameters = &v
+ return s
+}
+
+// SetMaximumExecutionFrequency sets the MaximumExecutionFrequency field's value.
+func (s *ConfigRule) SetMaximumExecutionFrequency(v string) *ConfigRule {
+ s.MaximumExecutionFrequency = &v
+ return s
+}
+
+// SetScope sets the Scope field's value.
+func (s *ConfigRule) SetScope(v *Scope) *ConfigRule {
+ s.Scope = v
+ return s
+}
+
+// SetSource sets the Source field's value.
+func (s *ConfigRule) SetSource(v *Source) *ConfigRule {
+ s.Source = v
+ return s
+}
+
// Status information for your AWS managed Config rules. The status includes
// information such as the last time the rule ran, the last time it failed,
// and the related error for the last failure.
@@ -2455,6 +2629,72 @@ func (s ConfigRuleEvaluationStatus) GoString() string {
return s.String()
}
+// SetConfigRuleArn sets the ConfigRuleArn field's value.
+func (s *ConfigRuleEvaluationStatus) SetConfigRuleArn(v string) *ConfigRuleEvaluationStatus {
+ s.ConfigRuleArn = &v
+ return s
+}
+
+// SetConfigRuleId sets the ConfigRuleId field's value.
+func (s *ConfigRuleEvaluationStatus) SetConfigRuleId(v string) *ConfigRuleEvaluationStatus {
+ s.ConfigRuleId = &v
+ return s
+}
+
+// SetConfigRuleName sets the ConfigRuleName field's value.
+func (s *ConfigRuleEvaluationStatus) SetConfigRuleName(v string) *ConfigRuleEvaluationStatus {
+ s.ConfigRuleName = &v
+ return s
+}
+
+// SetFirstActivatedTime sets the FirstActivatedTime field's value.
+func (s *ConfigRuleEvaluationStatus) SetFirstActivatedTime(v time.Time) *ConfigRuleEvaluationStatus {
+ s.FirstActivatedTime = &v
+ return s
+}
+
+// SetFirstEvaluationStarted sets the FirstEvaluationStarted field's value.
+func (s *ConfigRuleEvaluationStatus) SetFirstEvaluationStarted(v bool) *ConfigRuleEvaluationStatus {
+ s.FirstEvaluationStarted = &v
+ return s
+}
+
+// SetLastErrorCode sets the LastErrorCode field's value.
+func (s *ConfigRuleEvaluationStatus) SetLastErrorCode(v string) *ConfigRuleEvaluationStatus {
+ s.LastErrorCode = &v
+ return s
+}
+
+// SetLastErrorMessage sets the LastErrorMessage field's value.
+func (s *ConfigRuleEvaluationStatus) SetLastErrorMessage(v string) *ConfigRuleEvaluationStatus {
+ s.LastErrorMessage = &v
+ return s
+}
+
+// SetLastFailedEvaluationTime sets the LastFailedEvaluationTime field's value.
+func (s *ConfigRuleEvaluationStatus) SetLastFailedEvaluationTime(v time.Time) *ConfigRuleEvaluationStatus {
+ s.LastFailedEvaluationTime = &v
+ return s
+}
+
+// SetLastFailedInvocationTime sets the LastFailedInvocationTime field's value.
+func (s *ConfigRuleEvaluationStatus) SetLastFailedInvocationTime(v time.Time) *ConfigRuleEvaluationStatus {
+ s.LastFailedInvocationTime = &v
+ return s
+}
+
+// SetLastSuccessfulEvaluationTime sets the LastSuccessfulEvaluationTime field's value.
+func (s *ConfigRuleEvaluationStatus) SetLastSuccessfulEvaluationTime(v time.Time) *ConfigRuleEvaluationStatus {
+ s.LastSuccessfulEvaluationTime = &v
+ return s
+}
+
+// SetLastSuccessfulInvocationTime sets the LastSuccessfulInvocationTime field's value.
+func (s *ConfigRuleEvaluationStatus) SetLastSuccessfulInvocationTime(v time.Time) *ConfigRuleEvaluationStatus {
+ s.LastSuccessfulInvocationTime = &v
+ return s
+}
+
// Provides options for how often AWS Config delivers configuration snapshots
// to the Amazon S3 bucket in your delivery channel.
//
@@ -2511,6 +2751,12 @@ func (s ConfigSnapshotDeliveryProperties) GoString() string {
return s.String()
}
+// SetDeliveryFrequency sets the DeliveryFrequency field's value.
+func (s *ConfigSnapshotDeliveryProperties) SetDeliveryFrequency(v string) *ConfigSnapshotDeliveryProperties {
+ s.DeliveryFrequency = &v
+ return s
+}
+
// A list that contains the status of the delivery of the configuration stream
// notification to the Amazon SNS topic.
type ConfigStreamDeliveryInfo struct {
@@ -2543,6 +2789,30 @@ func (s ConfigStreamDeliveryInfo) GoString() string {
return s.String()
}
+// SetLastErrorCode sets the LastErrorCode field's value.
+func (s *ConfigStreamDeliveryInfo) SetLastErrorCode(v string) *ConfigStreamDeliveryInfo {
+ s.LastErrorCode = &v
+ return s
+}
+
+// SetLastErrorMessage sets the LastErrorMessage field's value.
+func (s *ConfigStreamDeliveryInfo) SetLastErrorMessage(v string) *ConfigStreamDeliveryInfo {
+ s.LastErrorMessage = &v
+ return s
+}
+
+// SetLastStatus sets the LastStatus field's value.
+func (s *ConfigStreamDeliveryInfo) SetLastStatus(v string) *ConfigStreamDeliveryInfo {
+ s.LastStatus = &v
+ return s
+}
+
+// SetLastStatusChangeTime sets the LastStatusChangeTime field's value.
+func (s *ConfigStreamDeliveryInfo) SetLastStatusChangeTime(v time.Time) *ConfigStreamDeliveryInfo {
+ s.LastStatusChangeTime = &v
+ return s
+}
+
// A list that contains detailed configurations of a specified resource.
//
// Currently, the list does not contain information about non-AWS components
@@ -2627,6 +2897,114 @@ func (s ConfigurationItem) GoString() string {
return s.String()
}
+// SetAccountId sets the AccountId field's value.
+func (s *ConfigurationItem) SetAccountId(v string) *ConfigurationItem {
+ s.AccountId = &v
+ return s
+}
+
+// SetArn sets the Arn field's value.
+func (s *ConfigurationItem) SetArn(v string) *ConfigurationItem {
+ s.Arn = &v
+ return s
+}
+
+// SetAvailabilityZone sets the AvailabilityZone field's value.
+func (s *ConfigurationItem) SetAvailabilityZone(v string) *ConfigurationItem {
+ s.AvailabilityZone = &v
+ return s
+}
+
+// SetAwsRegion sets the AwsRegion field's value.
+func (s *ConfigurationItem) SetAwsRegion(v string) *ConfigurationItem {
+ s.AwsRegion = &v
+ return s
+}
+
+// SetConfiguration sets the Configuration field's value.
+func (s *ConfigurationItem) SetConfiguration(v string) *ConfigurationItem {
+ s.Configuration = &v
+ return s
+}
+
+// SetConfigurationItemCaptureTime sets the ConfigurationItemCaptureTime field's value.
+func (s *ConfigurationItem) SetConfigurationItemCaptureTime(v time.Time) *ConfigurationItem {
+ s.ConfigurationItemCaptureTime = &v
+ return s
+}
+
+// SetConfigurationItemMD5Hash sets the ConfigurationItemMD5Hash field's value.
+func (s *ConfigurationItem) SetConfigurationItemMD5Hash(v string) *ConfigurationItem {
+ s.ConfigurationItemMD5Hash = &v
+ return s
+}
+
+// SetConfigurationItemStatus sets the ConfigurationItemStatus field's value.
+func (s *ConfigurationItem) SetConfigurationItemStatus(v string) *ConfigurationItem {
+ s.ConfigurationItemStatus = &v
+ return s
+}
+
+// SetConfigurationStateId sets the ConfigurationStateId field's value.
+func (s *ConfigurationItem) SetConfigurationStateId(v string) *ConfigurationItem {
+ s.ConfigurationStateId = &v
+ return s
+}
+
+// SetRelatedEvents sets the RelatedEvents field's value.
+func (s *ConfigurationItem) SetRelatedEvents(v []*string) *ConfigurationItem {
+ s.RelatedEvents = v
+ return s
+}
+
+// SetRelationships sets the Relationships field's value.
+func (s *ConfigurationItem) SetRelationships(v []*Relationship) *ConfigurationItem {
+ s.Relationships = v
+ return s
+}
+
+// SetResourceCreationTime sets the ResourceCreationTime field's value.
+func (s *ConfigurationItem) SetResourceCreationTime(v time.Time) *ConfigurationItem {
+ s.ResourceCreationTime = &v
+ return s
+}
+
+// SetResourceId sets the ResourceId field's value.
+func (s *ConfigurationItem) SetResourceId(v string) *ConfigurationItem {
+ s.ResourceId = &v
+ return s
+}
+
+// SetResourceName sets the ResourceName field's value.
+func (s *ConfigurationItem) SetResourceName(v string) *ConfigurationItem {
+ s.ResourceName = &v
+ return s
+}
+
+// SetResourceType sets the ResourceType field's value.
+func (s *ConfigurationItem) SetResourceType(v string) *ConfigurationItem {
+ s.ResourceType = &v
+ return s
+}
+
+// SetSupplementaryConfiguration sets the SupplementaryConfiguration field's value.
+func (s *ConfigurationItem) SetSupplementaryConfiguration(v map[string]*string) *ConfigurationItem {
+ s.SupplementaryConfiguration = v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *ConfigurationItem) SetTags(v map[string]*string) *ConfigurationItem {
+ s.Tags = v
+ return s
+}
+
+// SetVersion sets the Version field's value.
+func (s *ConfigurationItem) SetVersion(v string) *ConfigurationItem {
+ s.Version = &v
+ return s
+}
+
// An object that represents the recording of configuration changes of an AWS
// resource.
type ConfigurationRecorder struct {
@@ -2669,6 +3047,24 @@ func (s *ConfigurationRecorder) Validate() error {
return nil
}
+// SetName sets the Name field's value.
+func (s *ConfigurationRecorder) SetName(v string) *ConfigurationRecorder {
+ s.Name = &v
+ return s
+}
+
+// SetRecordingGroup sets the RecordingGroup field's value.
+func (s *ConfigurationRecorder) SetRecordingGroup(v *RecordingGroup) *ConfigurationRecorder {
+ s.RecordingGroup = v
+ return s
+}
+
+// SetRoleARN sets the RoleARN field's value.
+func (s *ConfigurationRecorder) SetRoleARN(v string) *ConfigurationRecorder {
+ s.RoleARN = &v
+ return s
+}
+
// The current status of the configuration recorder.
type ConfigurationRecorderStatus struct {
_ struct{} `type:"structure"`
@@ -2708,6 +3104,54 @@ func (s ConfigurationRecorderStatus) GoString() string {
return s.String()
}
+// SetLastErrorCode sets the LastErrorCode field's value.
+func (s *ConfigurationRecorderStatus) SetLastErrorCode(v string) *ConfigurationRecorderStatus {
+ s.LastErrorCode = &v
+ return s
+}
+
+// SetLastErrorMessage sets the LastErrorMessage field's value.
+func (s *ConfigurationRecorderStatus) SetLastErrorMessage(v string) *ConfigurationRecorderStatus {
+ s.LastErrorMessage = &v
+ return s
+}
+
+// SetLastStartTime sets the LastStartTime field's value.
+func (s *ConfigurationRecorderStatus) SetLastStartTime(v time.Time) *ConfigurationRecorderStatus {
+ s.LastStartTime = &v
+ return s
+}
+
+// SetLastStatus sets the LastStatus field's value.
+func (s *ConfigurationRecorderStatus) SetLastStatus(v string) *ConfigurationRecorderStatus {
+ s.LastStatus = &v
+ return s
+}
+
+// SetLastStatusChangeTime sets the LastStatusChangeTime field's value.
+func (s *ConfigurationRecorderStatus) SetLastStatusChangeTime(v time.Time) *ConfigurationRecorderStatus {
+ s.LastStatusChangeTime = &v
+ return s
+}
+
+// SetLastStopTime sets the LastStopTime field's value.
+func (s *ConfigurationRecorderStatus) SetLastStopTime(v time.Time) *ConfigurationRecorderStatus {
+ s.LastStopTime = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *ConfigurationRecorderStatus) SetName(v string) *ConfigurationRecorderStatus {
+ s.Name = &v
+ return s
+}
+
+// SetRecording sets the Recording field's value.
+func (s *ConfigurationRecorderStatus) SetRecording(v bool) *ConfigurationRecorderStatus {
+ s.Recording = &v
+ return s
+}
+
type DeleteConfigRuleInput struct {
_ struct{} `type:"structure"`
@@ -2743,6 +3187,12 @@ func (s *DeleteConfigRuleInput) Validate() error {
return nil
}
+// SetConfigRuleName sets the ConfigRuleName field's value.
+func (s *DeleteConfigRuleInput) SetConfigRuleName(v string) *DeleteConfigRuleInput {
+ s.ConfigRuleName = &v
+ return s
+}
+
type DeleteConfigRuleOutput struct {
_ struct{} `type:"structure"`
}
@@ -2795,6 +3245,12 @@ func (s *DeleteConfigurationRecorderInput) Validate() error {
return nil
}
+// SetConfigurationRecorderName sets the ConfigurationRecorderName field's value.
+func (s *DeleteConfigurationRecorderInput) SetConfigurationRecorderName(v string) *DeleteConfigurationRecorderInput {
+ s.ConfigurationRecorderName = &v
+ return s
+}
+
type DeleteConfigurationRecorderOutput struct {
_ struct{} `type:"structure"`
}
@@ -2846,6 +3302,12 @@ func (s *DeleteDeliveryChannelInput) Validate() error {
return nil
}
+// SetDeliveryChannelName sets the DeliveryChannelName field's value.
+func (s *DeleteDeliveryChannelInput) SetDeliveryChannelName(v string) *DeleteDeliveryChannelInput {
+ s.DeliveryChannelName = &v
+ return s
+}
+
type DeleteDeliveryChannelOutput struct {
_ struct{} `type:"structure"`
}
@@ -2895,6 +3357,12 @@ func (s *DeleteEvaluationResultsInput) Validate() error {
return nil
}
+// SetConfigRuleName sets the ConfigRuleName field's value.
+func (s *DeleteEvaluationResultsInput) SetConfigRuleName(v string) *DeleteEvaluationResultsInput {
+ s.ConfigRuleName = &v
+ return s
+}
+
// The output when you delete the evaluation results for the specified Config
// rule.
type DeleteEvaluationResultsOutput struct {
@@ -2947,6 +3415,12 @@ func (s *DeliverConfigSnapshotInput) Validate() error {
return nil
}
+// SetDeliveryChannelName sets the DeliveryChannelName field's value.
+func (s *DeliverConfigSnapshotInput) SetDeliveryChannelName(v string) *DeliverConfigSnapshotInput {
+ s.DeliveryChannelName = &v
+ return s
+}
+
// The output for the DeliverConfigSnapshot action in JSON format.
type DeliverConfigSnapshotOutput struct {
_ struct{} `type:"structure"`
@@ -2965,6 +3439,12 @@ func (s DeliverConfigSnapshotOutput) GoString() string {
return s.String()
}
+// SetConfigSnapshotId sets the ConfigSnapshotId field's value.
+func (s *DeliverConfigSnapshotOutput) SetConfigSnapshotId(v string) *DeliverConfigSnapshotOutput {
+ s.ConfigSnapshotId = &v
+ return s
+}
+
// The channel through which AWS Config delivers notifications and updated configuration
// states.
type DeliveryChannel struct {
@@ -3063,6 +3543,36 @@ func (s *DeliveryChannel) Validate() error {
return nil
}
+// SetConfigSnapshotDeliveryProperties sets the ConfigSnapshotDeliveryProperties field's value.
+func (s *DeliveryChannel) SetConfigSnapshotDeliveryProperties(v *ConfigSnapshotDeliveryProperties) *DeliveryChannel {
+ s.ConfigSnapshotDeliveryProperties = v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *DeliveryChannel) SetName(v string) *DeliveryChannel {
+ s.Name = &v
+ return s
+}
+
+// SetS3BucketName sets the S3BucketName field's value.
+func (s *DeliveryChannel) SetS3BucketName(v string) *DeliveryChannel {
+ s.S3BucketName = &v
+ return s
+}
+
+// SetS3KeyPrefix sets the S3KeyPrefix field's value.
+func (s *DeliveryChannel) SetS3KeyPrefix(v string) *DeliveryChannel {
+ s.S3KeyPrefix = &v
+ return s
+}
+
+// SetSnsTopicARN sets the SnsTopicARN field's value.
+func (s *DeliveryChannel) SetSnsTopicARN(v string) *DeliveryChannel {
+ s.SnsTopicARN = &v
+ return s
+}
+
// The status of a specified delivery channel.
//
// Valid values: Success | Failure
@@ -3095,6 +3605,30 @@ func (s DeliveryChannelStatus) GoString() string {
return s.String()
}
+// SetConfigHistoryDeliveryInfo sets the ConfigHistoryDeliveryInfo field's value.
+func (s *DeliveryChannelStatus) SetConfigHistoryDeliveryInfo(v *ConfigExportDeliveryInfo) *DeliveryChannelStatus {
+ s.ConfigHistoryDeliveryInfo = v
+ return s
+}
+
+// SetConfigSnapshotDeliveryInfo sets the ConfigSnapshotDeliveryInfo field's value.
+func (s *DeliveryChannelStatus) SetConfigSnapshotDeliveryInfo(v *ConfigExportDeliveryInfo) *DeliveryChannelStatus {
+ s.ConfigSnapshotDeliveryInfo = v
+ return s
+}
+
+// SetConfigStreamDeliveryInfo sets the ConfigStreamDeliveryInfo field's value.
+func (s *DeliveryChannelStatus) SetConfigStreamDeliveryInfo(v *ConfigStreamDeliveryInfo) *DeliveryChannelStatus {
+ s.ConfigStreamDeliveryInfo = v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *DeliveryChannelStatus) SetName(v string) *DeliveryChannelStatus {
+ s.Name = &v
+ return s
+}
+
type DescribeComplianceByConfigRuleInput struct {
_ struct{} `type:"structure"`
@@ -3121,6 +3655,24 @@ func (s DescribeComplianceByConfigRuleInput) GoString() string {
return s.String()
}
+// SetComplianceTypes sets the ComplianceTypes field's value.
+func (s *DescribeComplianceByConfigRuleInput) SetComplianceTypes(v []*string) *DescribeComplianceByConfigRuleInput {
+ s.ComplianceTypes = v
+ return s
+}
+
+// SetConfigRuleNames sets the ConfigRuleNames field's value.
+func (s *DescribeComplianceByConfigRuleInput) SetConfigRuleNames(v []*string) *DescribeComplianceByConfigRuleInput {
+ s.ConfigRuleNames = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeComplianceByConfigRuleInput) SetNextToken(v string) *DescribeComplianceByConfigRuleInput {
+ s.NextToken = &v
+ return s
+}
+
type DescribeComplianceByConfigRuleOutput struct {
_ struct{} `type:"structure"`
@@ -3142,6 +3694,18 @@ func (s DescribeComplianceByConfigRuleOutput) GoString() string {
return s.String()
}
+// SetComplianceByConfigRules sets the ComplianceByConfigRules field's value.
+func (s *DescribeComplianceByConfigRuleOutput) SetComplianceByConfigRules(v []*ComplianceByConfigRule) *DescribeComplianceByConfigRuleOutput {
+ s.ComplianceByConfigRules = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeComplianceByConfigRuleOutput) SetNextToken(v string) *DescribeComplianceByConfigRuleOutput {
+ s.NextToken = &v
+ return s
+}
+
type DescribeComplianceByResourceInput struct {
_ struct{} `type:"structure"`
@@ -3196,6 +3760,36 @@ func (s *DescribeComplianceByResourceInput) Validate() error {
return nil
}
+// SetComplianceTypes sets the ComplianceTypes field's value.
+func (s *DescribeComplianceByResourceInput) SetComplianceTypes(v []*string) *DescribeComplianceByResourceInput {
+ s.ComplianceTypes = v
+ return s
+}
+
+// SetLimit sets the Limit field's value.
+func (s *DescribeComplianceByResourceInput) SetLimit(v int64) *DescribeComplianceByResourceInput {
+ s.Limit = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeComplianceByResourceInput) SetNextToken(v string) *DescribeComplianceByResourceInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetResourceId sets the ResourceId field's value.
+func (s *DescribeComplianceByResourceInput) SetResourceId(v string) *DescribeComplianceByResourceInput {
+ s.ResourceId = &v
+ return s
+}
+
+// SetResourceType sets the ResourceType field's value.
+func (s *DescribeComplianceByResourceInput) SetResourceType(v string) *DescribeComplianceByResourceInput {
+ s.ResourceType = &v
+ return s
+}
+
type DescribeComplianceByResourceOutput struct {
_ struct{} `type:"structure"`
@@ -3218,6 +3812,18 @@ func (s DescribeComplianceByResourceOutput) GoString() string {
return s.String()
}
+// SetComplianceByResources sets the ComplianceByResources field's value.
+func (s *DescribeComplianceByResourceOutput) SetComplianceByResources(v []*ComplianceByResource) *DescribeComplianceByResourceOutput {
+ s.ComplianceByResources = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeComplianceByResourceOutput) SetNextToken(v string) *DescribeComplianceByResourceOutput {
+ s.NextToken = &v
+ return s
+}
+
type DescribeConfigRuleEvaluationStatusInput struct {
_ struct{} `type:"structure"`
@@ -3237,6 +3843,12 @@ func (s DescribeConfigRuleEvaluationStatusInput) GoString() string {
return s.String()
}
+// SetConfigRuleNames sets the ConfigRuleNames field's value.
+func (s *DescribeConfigRuleEvaluationStatusInput) SetConfigRuleNames(v []*string) *DescribeConfigRuleEvaluationStatusInput {
+ s.ConfigRuleNames = v
+ return s
+}
+
type DescribeConfigRuleEvaluationStatusOutput struct {
_ struct{} `type:"structure"`
@@ -3254,6 +3866,12 @@ func (s DescribeConfigRuleEvaluationStatusOutput) GoString() string {
return s.String()
}
+// SetConfigRulesEvaluationStatus sets the ConfigRulesEvaluationStatus field's value.
+func (s *DescribeConfigRuleEvaluationStatusOutput) SetConfigRulesEvaluationStatus(v []*ConfigRuleEvaluationStatus) *DescribeConfigRuleEvaluationStatusOutput {
+ s.ConfigRulesEvaluationStatus = v
+ return s
+}
+
type DescribeConfigRulesInput struct {
_ struct{} `type:"structure"`
@@ -3276,6 +3894,18 @@ func (s DescribeConfigRulesInput) GoString() string {
return s.String()
}
+// SetConfigRuleNames sets the ConfigRuleNames field's value.
+func (s *DescribeConfigRulesInput) SetConfigRuleNames(v []*string) *DescribeConfigRulesInput {
+ s.ConfigRuleNames = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeConfigRulesInput) SetNextToken(v string) *DescribeConfigRulesInput {
+ s.NextToken = &v
+ return s
+}
+
type DescribeConfigRulesOutput struct {
_ struct{} `type:"structure"`
@@ -3297,6 +3927,18 @@ func (s DescribeConfigRulesOutput) GoString() string {
return s.String()
}
+// SetConfigRules sets the ConfigRules field's value.
+func (s *DescribeConfigRulesOutput) SetConfigRules(v []*ConfigRule) *DescribeConfigRulesOutput {
+ s.ConfigRules = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeConfigRulesOutput) SetNextToken(v string) *DescribeConfigRulesOutput {
+ s.NextToken = &v
+ return s
+}
+
// The input for the DescribeConfigurationRecorderStatus action.
type DescribeConfigurationRecorderStatusInput struct {
_ struct{} `type:"structure"`
@@ -3317,6 +3959,12 @@ func (s DescribeConfigurationRecorderStatusInput) GoString() string {
return s.String()
}
+// SetConfigurationRecorderNames sets the ConfigurationRecorderNames field's value.
+func (s *DescribeConfigurationRecorderStatusInput) SetConfigurationRecorderNames(v []*string) *DescribeConfigurationRecorderStatusInput {
+ s.ConfigurationRecorderNames = v
+ return s
+}
+
// The output for the DescribeConfigurationRecorderStatus action in JSON format.
type DescribeConfigurationRecorderStatusOutput struct {
_ struct{} `type:"structure"`
@@ -3335,6 +3983,12 @@ func (s DescribeConfigurationRecorderStatusOutput) GoString() string {
return s.String()
}
+// SetConfigurationRecordersStatus sets the ConfigurationRecordersStatus field's value.
+func (s *DescribeConfigurationRecorderStatusOutput) SetConfigurationRecordersStatus(v []*ConfigurationRecorderStatus) *DescribeConfigurationRecorderStatusOutput {
+ s.ConfigurationRecordersStatus = v
+ return s
+}
+
// The input for the DescribeConfigurationRecorders action.
type DescribeConfigurationRecordersInput struct {
_ struct{} `type:"structure"`
@@ -3353,6 +4007,12 @@ func (s DescribeConfigurationRecordersInput) GoString() string {
return s.String()
}
+// SetConfigurationRecorderNames sets the ConfigurationRecorderNames field's value.
+func (s *DescribeConfigurationRecordersInput) SetConfigurationRecorderNames(v []*string) *DescribeConfigurationRecordersInput {
+ s.ConfigurationRecorderNames = v
+ return s
+}
+
// The output for the DescribeConfigurationRecorders action.
type DescribeConfigurationRecordersOutput struct {
_ struct{} `type:"structure"`
@@ -3371,6 +4031,12 @@ func (s DescribeConfigurationRecordersOutput) GoString() string {
return s.String()
}
+// SetConfigurationRecorders sets the ConfigurationRecorders field's value.
+func (s *DescribeConfigurationRecordersOutput) SetConfigurationRecorders(v []*ConfigurationRecorder) *DescribeConfigurationRecordersOutput {
+ s.ConfigurationRecorders = v
+ return s
+}
+
// The input for the DeliveryChannelStatus action.
type DescribeDeliveryChannelStatusInput struct {
_ struct{} `type:"structure"`
@@ -3389,6 +4055,12 @@ func (s DescribeDeliveryChannelStatusInput) GoString() string {
return s.String()
}
+// SetDeliveryChannelNames sets the DeliveryChannelNames field's value.
+func (s *DescribeDeliveryChannelStatusInput) SetDeliveryChannelNames(v []*string) *DescribeDeliveryChannelStatusInput {
+ s.DeliveryChannelNames = v
+ return s
+}
+
// The output for the DescribeDeliveryChannelStatus action.
type DescribeDeliveryChannelStatusOutput struct {
_ struct{} `type:"structure"`
@@ -3407,6 +4079,12 @@ func (s DescribeDeliveryChannelStatusOutput) GoString() string {
return s.String()
}
+// SetDeliveryChannelsStatus sets the DeliveryChannelsStatus field's value.
+func (s *DescribeDeliveryChannelStatusOutput) SetDeliveryChannelsStatus(v []*DeliveryChannelStatus) *DescribeDeliveryChannelStatusOutput {
+ s.DeliveryChannelsStatus = v
+ return s
+}
+
// The input for the DescribeDeliveryChannels action.
type DescribeDeliveryChannelsInput struct {
_ struct{} `type:"structure"`
@@ -3425,6 +4103,12 @@ func (s DescribeDeliveryChannelsInput) GoString() string {
return s.String()
}
+// SetDeliveryChannelNames sets the DeliveryChannelNames field's value.
+func (s *DescribeDeliveryChannelsInput) SetDeliveryChannelNames(v []*string) *DescribeDeliveryChannelsInput {
+ s.DeliveryChannelNames = v
+ return s
+}
+
// The output for the DescribeDeliveryChannels action.
type DescribeDeliveryChannelsOutput struct {
_ struct{} `type:"structure"`
@@ -3443,6 +4127,12 @@ func (s DescribeDeliveryChannelsOutput) GoString() string {
return s.String()
}
+// SetDeliveryChannels sets the DeliveryChannels field's value.
+func (s *DescribeDeliveryChannelsOutput) SetDeliveryChannels(v []*DeliveryChannel) *DescribeDeliveryChannelsOutput {
+ s.DeliveryChannels = v
+ return s
+}
+
// Identifies an AWS resource and indicates whether it complies with the AWS
// Config rule that it was evaluated against.
type Evaluation struct {
@@ -3526,6 +4216,36 @@ func (s *Evaluation) Validate() error {
return nil
}
+// SetAnnotation sets the Annotation field's value.
+func (s *Evaluation) SetAnnotation(v string) *Evaluation {
+ s.Annotation = &v
+ return s
+}
+
+// SetComplianceResourceId sets the ComplianceResourceId field's value.
+func (s *Evaluation) SetComplianceResourceId(v string) *Evaluation {
+ s.ComplianceResourceId = &v
+ return s
+}
+
+// SetComplianceResourceType sets the ComplianceResourceType field's value.
+func (s *Evaluation) SetComplianceResourceType(v string) *Evaluation {
+ s.ComplianceResourceType = &v
+ return s
+}
+
+// SetComplianceType sets the ComplianceType field's value.
+func (s *Evaluation) SetComplianceType(v string) *Evaluation {
+ s.ComplianceType = &v
+ return s
+}
+
+// SetOrderingTimestamp sets the OrderingTimestamp field's value.
+func (s *Evaluation) SetOrderingTimestamp(v time.Time) *Evaluation {
+ s.OrderingTimestamp = &v
+ return s
+}
+
// The details of an AWS Config evaluation. Provides the AWS resource that was
// evaluated, the compliance of the resource, related timestamps, and supplementary
// information.
@@ -3568,6 +4288,42 @@ func (s EvaluationResult) GoString() string {
return s.String()
}
+// SetAnnotation sets the Annotation field's value.
+func (s *EvaluationResult) SetAnnotation(v string) *EvaluationResult {
+ s.Annotation = &v
+ return s
+}
+
+// SetComplianceType sets the ComplianceType field's value.
+func (s *EvaluationResult) SetComplianceType(v string) *EvaluationResult {
+ s.ComplianceType = &v
+ return s
+}
+
+// SetConfigRuleInvokedTime sets the ConfigRuleInvokedTime field's value.
+func (s *EvaluationResult) SetConfigRuleInvokedTime(v time.Time) *EvaluationResult {
+ s.ConfigRuleInvokedTime = &v
+ return s
+}
+
+// SetEvaluationResultIdentifier sets the EvaluationResultIdentifier field's value.
+func (s *EvaluationResult) SetEvaluationResultIdentifier(v *EvaluationResultIdentifier) *EvaluationResult {
+ s.EvaluationResultIdentifier = v
+ return s
+}
+
+// SetResultRecordedTime sets the ResultRecordedTime field's value.
+func (s *EvaluationResult) SetResultRecordedTime(v time.Time) *EvaluationResult {
+ s.ResultRecordedTime = &v
+ return s
+}
+
+// SetResultToken sets the ResultToken field's value.
+func (s *EvaluationResult) SetResultToken(v string) *EvaluationResult {
+ s.ResultToken = &v
+ return s
+}
+
// Uniquely identifies an evaluation result.
type EvaluationResultIdentifier struct {
_ struct{} `type:"structure"`
@@ -3593,6 +4349,18 @@ func (s EvaluationResultIdentifier) GoString() string {
return s.String()
}
+// SetEvaluationResultQualifier sets the EvaluationResultQualifier field's value.
+func (s *EvaluationResultIdentifier) SetEvaluationResultQualifier(v *EvaluationResultQualifier) *EvaluationResultIdentifier {
+ s.EvaluationResultQualifier = v
+ return s
+}
+
+// SetOrderingTimestamp sets the OrderingTimestamp field's value.
+func (s *EvaluationResultIdentifier) SetOrderingTimestamp(v time.Time) *EvaluationResultIdentifier {
+ s.OrderingTimestamp = &v
+ return s
+}
+
// Identifies an AWS Config rule that evaluated an AWS resource, and provides
// the type and ID of the resource that the rule evaluated.
type EvaluationResultQualifier struct {
@@ -3618,6 +4386,24 @@ func (s EvaluationResultQualifier) GoString() string {
return s.String()
}
+// SetConfigRuleName sets the ConfigRuleName field's value.
+func (s *EvaluationResultQualifier) SetConfigRuleName(v string) *EvaluationResultQualifier {
+ s.ConfigRuleName = &v
+ return s
+}
+
+// SetResourceId sets the ResourceId field's value.
+func (s *EvaluationResultQualifier) SetResourceId(v string) *EvaluationResultQualifier {
+ s.ResourceId = &v
+ return s
+}
+
+// SetResourceType sets the ResourceType field's value.
+func (s *EvaluationResultQualifier) SetResourceType(v string) *EvaluationResultQualifier {
+ s.ResourceType = &v
+ return s
+}
+
type GetComplianceDetailsByConfigRuleInput struct {
_ struct{} `type:"structure"`
@@ -3667,6 +4453,30 @@ func (s *GetComplianceDetailsByConfigRuleInput) Validate() error {
return nil
}
+// SetComplianceTypes sets the ComplianceTypes field's value.
+func (s *GetComplianceDetailsByConfigRuleInput) SetComplianceTypes(v []*string) *GetComplianceDetailsByConfigRuleInput {
+ s.ComplianceTypes = v
+ return s
+}
+
+// SetConfigRuleName sets the ConfigRuleName field's value.
+func (s *GetComplianceDetailsByConfigRuleInput) SetConfigRuleName(v string) *GetComplianceDetailsByConfigRuleInput {
+ s.ConfigRuleName = &v
+ return s
+}
+
+// SetLimit sets the Limit field's value.
+func (s *GetComplianceDetailsByConfigRuleInput) SetLimit(v int64) *GetComplianceDetailsByConfigRuleInput {
+ s.Limit = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *GetComplianceDetailsByConfigRuleInput) SetNextToken(v string) *GetComplianceDetailsByConfigRuleInput {
+ s.NextToken = &v
+ return s
+}
+
type GetComplianceDetailsByConfigRuleOutput struct {
_ struct{} `type:"structure"`
@@ -3689,6 +4499,18 @@ func (s GetComplianceDetailsByConfigRuleOutput) GoString() string {
return s.String()
}
+// SetEvaluationResults sets the EvaluationResults field's value.
+func (s *GetComplianceDetailsByConfigRuleOutput) SetEvaluationResults(v []*EvaluationResult) *GetComplianceDetailsByConfigRuleOutput {
+ s.EvaluationResults = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *GetComplianceDetailsByConfigRuleOutput) SetNextToken(v string) *GetComplianceDetailsByConfigRuleOutput {
+ s.NextToken = &v
+ return s
+}
+
type GetComplianceDetailsByResourceInput struct {
_ struct{} `type:"structure"`
@@ -3744,6 +4566,30 @@ func (s *GetComplianceDetailsByResourceInput) Validate() error {
return nil
}
+// SetComplianceTypes sets the ComplianceTypes field's value.
+func (s *GetComplianceDetailsByResourceInput) SetComplianceTypes(v []*string) *GetComplianceDetailsByResourceInput {
+ s.ComplianceTypes = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *GetComplianceDetailsByResourceInput) SetNextToken(v string) *GetComplianceDetailsByResourceInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetResourceId sets the ResourceId field's value.
+func (s *GetComplianceDetailsByResourceInput) SetResourceId(v string) *GetComplianceDetailsByResourceInput {
+ s.ResourceId = &v
+ return s
+}
+
+// SetResourceType sets the ResourceType field's value.
+func (s *GetComplianceDetailsByResourceInput) SetResourceType(v string) *GetComplianceDetailsByResourceInput {
+ s.ResourceType = &v
+ return s
+}
+
type GetComplianceDetailsByResourceOutput struct {
_ struct{} `type:"structure"`
@@ -3765,6 +4611,18 @@ func (s GetComplianceDetailsByResourceOutput) GoString() string {
return s.String()
}
+// SetEvaluationResults sets the EvaluationResults field's value.
+func (s *GetComplianceDetailsByResourceOutput) SetEvaluationResults(v []*EvaluationResult) *GetComplianceDetailsByResourceOutput {
+ s.EvaluationResults = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *GetComplianceDetailsByResourceOutput) SetNextToken(v string) *GetComplianceDetailsByResourceOutput {
+ s.NextToken = &v
+ return s
+}
+
type GetComplianceSummaryByConfigRuleInput struct {
_ struct{} `type:"structure"`
}
@@ -3797,6 +4655,12 @@ func (s GetComplianceSummaryByConfigRuleOutput) GoString() string {
return s.String()
}
+// SetComplianceSummary sets the ComplianceSummary field's value.
+func (s *GetComplianceSummaryByConfigRuleOutput) SetComplianceSummary(v *ComplianceSummary) *GetComplianceSummaryByConfigRuleOutput {
+ s.ComplianceSummary = v
+ return s
+}
+
type GetComplianceSummaryByResourceTypeInput struct {
_ struct{} `type:"structure"`
@@ -3819,6 +4683,12 @@ func (s GetComplianceSummaryByResourceTypeInput) GoString() string {
return s.String()
}
+// SetResourceTypes sets the ResourceTypes field's value.
+func (s *GetComplianceSummaryByResourceTypeInput) SetResourceTypes(v []*string) *GetComplianceSummaryByResourceTypeInput {
+ s.ResourceTypes = v
+ return s
+}
+
type GetComplianceSummaryByResourceTypeOutput struct {
_ struct{} `type:"structure"`
@@ -3838,6 +4708,12 @@ func (s GetComplianceSummaryByResourceTypeOutput) GoString() string {
return s.String()
}
+// SetComplianceSummariesByResourceType sets the ComplianceSummariesByResourceType field's value.
+func (s *GetComplianceSummaryByResourceTypeOutput) SetComplianceSummariesByResourceType(v []*ComplianceSummaryByResourceType) *GetComplianceSummaryByResourceTypeOutput {
+ s.ComplianceSummariesByResourceType = v
+ return s
+}
+
// The input for the GetResourceConfigHistory action.
type GetResourceConfigHistoryInput struct {
_ struct{} `type:"structure"`
@@ -3901,6 +4777,48 @@ func (s *GetResourceConfigHistoryInput) Validate() error {
return nil
}
+// SetChronologicalOrder sets the ChronologicalOrder field's value.
+func (s *GetResourceConfigHistoryInput) SetChronologicalOrder(v string) *GetResourceConfigHistoryInput {
+ s.ChronologicalOrder = &v
+ return s
+}
+
+// SetEarlierTime sets the EarlierTime field's value.
+func (s *GetResourceConfigHistoryInput) SetEarlierTime(v time.Time) *GetResourceConfigHistoryInput {
+ s.EarlierTime = &v
+ return s
+}
+
+// SetLaterTime sets the LaterTime field's value.
+func (s *GetResourceConfigHistoryInput) SetLaterTime(v time.Time) *GetResourceConfigHistoryInput {
+ s.LaterTime = &v
+ return s
+}
+
+// SetLimit sets the Limit field's value.
+func (s *GetResourceConfigHistoryInput) SetLimit(v int64) *GetResourceConfigHistoryInput {
+ s.Limit = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *GetResourceConfigHistoryInput) SetNextToken(v string) *GetResourceConfigHistoryInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetResourceId sets the ResourceId field's value.
+func (s *GetResourceConfigHistoryInput) SetResourceId(v string) *GetResourceConfigHistoryInput {
+ s.ResourceId = &v
+ return s
+}
+
+// SetResourceType sets the ResourceType field's value.
+func (s *GetResourceConfigHistoryInput) SetResourceType(v string) *GetResourceConfigHistoryInput {
+ s.ResourceType = &v
+ return s
+}
+
// The output for the GetResourceConfigHistory action.
type GetResourceConfigHistoryOutput struct {
_ struct{} `type:"structure"`
@@ -3923,6 +4841,18 @@ func (s GetResourceConfigHistoryOutput) GoString() string {
return s.String()
}
+// SetConfigurationItems sets the ConfigurationItems field's value.
+func (s *GetResourceConfigHistoryOutput) SetConfigurationItems(v []*ConfigurationItem) *GetResourceConfigHistoryOutput {
+ s.ConfigurationItems = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *GetResourceConfigHistoryOutput) SetNextToken(v string) *GetResourceConfigHistoryOutput {
+ s.NextToken = &v
+ return s
+}
+
type ListDiscoveredResourcesInput struct {
_ struct{} `type:"structure"`
@@ -3978,6 +4908,42 @@ func (s *ListDiscoveredResourcesInput) Validate() error {
return nil
}
+// SetIncludeDeletedResources sets the IncludeDeletedResources field's value.
+func (s *ListDiscoveredResourcesInput) SetIncludeDeletedResources(v bool) *ListDiscoveredResourcesInput {
+ s.IncludeDeletedResources = &v
+ return s
+}
+
+// SetLimit sets the Limit field's value.
+func (s *ListDiscoveredResourcesInput) SetLimit(v int64) *ListDiscoveredResourcesInput {
+ s.Limit = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListDiscoveredResourcesInput) SetNextToken(v string) *ListDiscoveredResourcesInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetResourceIds sets the ResourceIds field's value.
+func (s *ListDiscoveredResourcesInput) SetResourceIds(v []*string) *ListDiscoveredResourcesInput {
+ s.ResourceIds = v
+ return s
+}
+
+// SetResourceName sets the ResourceName field's value.
+func (s *ListDiscoveredResourcesInput) SetResourceName(v string) *ListDiscoveredResourcesInput {
+ s.ResourceName = &v
+ return s
+}
+
+// SetResourceType sets the ResourceType field's value.
+func (s *ListDiscoveredResourcesInput) SetResourceType(v string) *ListDiscoveredResourcesInput {
+ s.ResourceType = &v
+ return s
+}
+
type ListDiscoveredResourcesOutput struct {
_ struct{} `type:"structure"`
@@ -4000,6 +4966,18 @@ func (s ListDiscoveredResourcesOutput) GoString() string {
return s.String()
}
+// SetNextToken sets the NextToken field's value.
+func (s *ListDiscoveredResourcesOutput) SetNextToken(v string) *ListDiscoveredResourcesOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetResourceIdentifiers sets the ResourceIdentifiers field's value.
+func (s *ListDiscoveredResourcesOutput) SetResourceIdentifiers(v []*ResourceIdentifier) *ListDiscoveredResourcesOutput {
+ s.ResourceIdentifiers = v
+ return s
+}
+
type PutConfigRuleInput struct {
_ struct{} `type:"structure"`
@@ -4050,6 +5028,12 @@ func (s *PutConfigRuleInput) Validate() error {
return nil
}
+// SetConfigRule sets the ConfigRule field's value.
+func (s *PutConfigRuleInput) SetConfigRule(v *ConfigRule) *PutConfigRuleInput {
+ s.ConfigRule = v
+ return s
+}
+
type PutConfigRuleOutput struct {
_ struct{} `type:"structure"`
}
@@ -4103,6 +5087,12 @@ func (s *PutConfigurationRecorderInput) Validate() error {
return nil
}
+// SetConfigurationRecorder sets the ConfigurationRecorder field's value.
+func (s *PutConfigurationRecorderInput) SetConfigurationRecorder(v *ConfigurationRecorder) *PutConfigurationRecorderInput {
+ s.ConfigurationRecorder = v
+ return s
+}
+
type PutConfigurationRecorderOutput struct {
_ struct{} `type:"structure"`
}
@@ -4156,6 +5146,12 @@ func (s *PutDeliveryChannelInput) Validate() error {
return nil
}
+// SetDeliveryChannel sets the DeliveryChannel field's value.
+func (s *PutDeliveryChannelInput) SetDeliveryChannel(v *DeliveryChannel) *PutDeliveryChannelInput {
+ s.DeliveryChannel = v
+ return s
+}
+
type PutDeliveryChannelOutput struct {
_ struct{} `type:"structure"`
}
@@ -4218,6 +5214,18 @@ func (s *PutEvaluationsInput) Validate() error {
return nil
}
+// SetEvaluations sets the Evaluations field's value.
+func (s *PutEvaluationsInput) SetEvaluations(v []*Evaluation) *PutEvaluationsInput {
+ s.Evaluations = v
+ return s
+}
+
+// SetResultToken sets the ResultToken field's value.
+func (s *PutEvaluationsInput) SetResultToken(v string) *PutEvaluationsInput {
+ s.ResultToken = &v
+ return s
+}
+
type PutEvaluationsOutput struct {
_ struct{} `type:"structure"`
@@ -4235,6 +5243,12 @@ func (s PutEvaluationsOutput) GoString() string {
return s.String()
}
+// SetFailedEvaluations sets the FailedEvaluations field's value.
+func (s *PutEvaluationsOutput) SetFailedEvaluations(v []*Evaluation) *PutEvaluationsOutput {
+ s.FailedEvaluations = v
+ return s
+}
+
// Specifies the types of AWS resource for which AWS Config records configuration
// changes.
//
@@ -4318,6 +5332,24 @@ func (s RecordingGroup) GoString() string {
return s.String()
}
+// SetAllSupported sets the AllSupported field's value.
+func (s *RecordingGroup) SetAllSupported(v bool) *RecordingGroup {
+ s.AllSupported = &v
+ return s
+}
+
+// SetIncludeGlobalResourceTypes sets the IncludeGlobalResourceTypes field's value.
+func (s *RecordingGroup) SetIncludeGlobalResourceTypes(v bool) *RecordingGroup {
+ s.IncludeGlobalResourceTypes = &v
+ return s
+}
+
+// SetResourceTypes sets the ResourceTypes field's value.
+func (s *RecordingGroup) SetResourceTypes(v []*string) *RecordingGroup {
+ s.ResourceTypes = v
+ return s
+}
+
// The relationship of the related resource to the main resource.
type Relationship struct {
_ struct{} `type:"structure"`
@@ -4345,6 +5377,30 @@ func (s Relationship) GoString() string {
return s.String()
}
+// SetRelationshipName sets the RelationshipName field's value.
+func (s *Relationship) SetRelationshipName(v string) *Relationship {
+ s.RelationshipName = &v
+ return s
+}
+
+// SetResourceId sets the ResourceId field's value.
+func (s *Relationship) SetResourceId(v string) *Relationship {
+ s.ResourceId = &v
+ return s
+}
+
+// SetResourceName sets the ResourceName field's value.
+func (s *Relationship) SetResourceName(v string) *Relationship {
+ s.ResourceName = &v
+ return s
+}
+
+// SetResourceType sets the ResourceType field's value.
+func (s *Relationship) SetResourceType(v string) *Relationship {
+ s.ResourceType = &v
+ return s
+}
+
// The details that identify a resource that is discovered by AWS Config, including
// the resource type, ID, and (if available) the custom resource name.
type ResourceIdentifier struct {
@@ -4373,6 +5429,30 @@ func (s ResourceIdentifier) GoString() string {
return s.String()
}
+// SetResourceDeletionTime sets the ResourceDeletionTime field's value.
+func (s *ResourceIdentifier) SetResourceDeletionTime(v time.Time) *ResourceIdentifier {
+ s.ResourceDeletionTime = &v
+ return s
+}
+
+// SetResourceId sets the ResourceId field's value.
+func (s *ResourceIdentifier) SetResourceId(v string) *ResourceIdentifier {
+ s.ResourceId = &v
+ return s
+}
+
+// SetResourceName sets the ResourceName field's value.
+func (s *ResourceIdentifier) SetResourceName(v string) *ResourceIdentifier {
+ s.ResourceName = &v
+ return s
+}
+
+// SetResourceType sets the ResourceType field's value.
+func (s *ResourceIdentifier) SetResourceType(v string) *ResourceIdentifier {
+ s.ResourceType = &v
+ return s
+}
+
// Defines which resources trigger an evaluation for an AWS Config rule. The
// scope can include one or more resource types, a combination of a tag key
// and value, or a combination of one resource type and one resource ID. Specify
@@ -4431,6 +5511,30 @@ func (s *Scope) Validate() error {
return nil
}
+// SetComplianceResourceId sets the ComplianceResourceId field's value.
+func (s *Scope) SetComplianceResourceId(v string) *Scope {
+ s.ComplianceResourceId = &v
+ return s
+}
+
+// SetComplianceResourceTypes sets the ComplianceResourceTypes field's value.
+func (s *Scope) SetComplianceResourceTypes(v []*string) *Scope {
+ s.ComplianceResourceTypes = v
+ return s
+}
+
+// SetTagKey sets the TagKey field's value.
+func (s *Scope) SetTagKey(v string) *Scope {
+ s.TagKey = &v
+ return s
+}
+
+// SetTagValue sets the TagValue field's value.
+func (s *Scope) SetTagValue(v string) *Scope {
+ s.TagValue = &v
+ return s
+}
+
// Provides the AWS Config rule owner (AWS or customer), the rule identifier,
// and the events that trigger the evaluation of your AWS resources.
type Source struct {
@@ -4475,6 +5579,24 @@ func (s *Source) Validate() error {
return nil
}
+// SetOwner sets the Owner field's value.
+func (s *Source) SetOwner(v string) *Source {
+ s.Owner = &v
+ return s
+}
+
+// SetSourceDetails sets the SourceDetails field's value.
+func (s *Source) SetSourceDetails(v []*SourceDetail) *Source {
+ s.SourceDetails = v
+ return s
+}
+
+// SetSourceIdentifier sets the SourceIdentifier field's value.
+func (s *Source) SetSourceIdentifier(v string) *Source {
+ s.SourceIdentifier = &v
+ return s
+}
+
// Provides the source and the message types that trigger AWS Config to evaluate
// your AWS resources against a rule. It also provides the frequency with which
// you want AWS Config to run evaluations for the rule if the trigger type is
@@ -4516,6 +5638,24 @@ func (s SourceDetail) GoString() string {
return s.String()
}
+// SetEventSource sets the EventSource field's value.
+func (s *SourceDetail) SetEventSource(v string) *SourceDetail {
+ s.EventSource = &v
+ return s
+}
+
+// SetMaximumExecutionFrequency sets the MaximumExecutionFrequency field's value.
+func (s *SourceDetail) SetMaximumExecutionFrequency(v string) *SourceDetail {
+ s.MaximumExecutionFrequency = &v
+ return s
+}
+
+// SetMessageType sets the MessageType field's value.
+func (s *SourceDetail) SetMessageType(v string) *SourceDetail {
+ s.MessageType = &v
+ return s
+}
+
type StartConfigRulesEvaluationInput struct {
_ struct{} `type:"structure"`
@@ -4546,6 +5686,12 @@ func (s *StartConfigRulesEvaluationInput) Validate() error {
return nil
}
+// SetConfigRuleNames sets the ConfigRuleNames field's value.
+func (s *StartConfigRulesEvaluationInput) SetConfigRuleNames(v []*string) *StartConfigRulesEvaluationInput {
+ s.ConfigRuleNames = v
+ return s
+}
+
// The output when you start the evaluation for the specified Config rule.
type StartConfigRulesEvaluationOutput struct {
_ struct{} `type:"structure"`
@@ -4598,6 +5744,12 @@ func (s *StartConfigurationRecorderInput) Validate() error {
return nil
}
+// SetConfigurationRecorderName sets the ConfigurationRecorderName field's value.
+func (s *StartConfigurationRecorderInput) SetConfigurationRecorderName(v string) *StartConfigurationRecorderInput {
+ s.ConfigurationRecorderName = &v
+ return s
+}
+
type StartConfigurationRecorderOutput struct {
_ struct{} `type:"structure"`
}
@@ -4649,6 +5801,12 @@ func (s *StopConfigurationRecorderInput) Validate() error {
return nil
}
+// SetConfigurationRecorderName sets the ConfigurationRecorderName field's value.
+func (s *StopConfigurationRecorderInput) SetConfigurationRecorderName(v string) *StopConfigurationRecorderInput {
+ s.ConfigurationRecorderName = &v
+ return s
+}
+
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 b054d81..457d4bc 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
@@ -2270,6 +2270,24 @@ func (s AccountQuota) GoString() string {
return s.String()
}
+// SetAccountQuotaName sets the AccountQuotaName field's value.
+func (s *AccountQuota) SetAccountQuotaName(v string) *AccountQuota {
+ s.AccountQuotaName = &v
+ return s
+}
+
+// SetMax sets the Max field's value.
+func (s *AccountQuota) SetMax(v int64) *AccountQuota {
+ s.Max = &v
+ return s
+}
+
+// SetUsed sets the Used field's value.
+func (s *AccountQuota) SetUsed(v int64) *AccountQuota {
+ s.Used = &v
+ return s
+}
+
type AddTagsToResourceInput struct {
_ struct{} `type:"structure"`
@@ -2312,6 +2330,18 @@ func (s *AddTagsToResourceInput) Validate() error {
return nil
}
+// SetResourceArn sets the ResourceArn field's value.
+func (s *AddTagsToResourceInput) SetResourceArn(v string) *AddTagsToResourceInput {
+ s.ResourceArn = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *AddTagsToResourceInput) SetTags(v []*Tag) *AddTagsToResourceInput {
+ s.Tags = v
+ return s
+}
+
type AddTagsToResourceOutput struct {
_ struct{} `type:"structure"`
}
@@ -2343,6 +2373,12 @@ func (s AvailabilityZone) GoString() string {
return s.String()
}
+// SetName sets the Name field's value.
+func (s *AvailabilityZone) SetName(v string) *AvailabilityZone {
+ s.Name = &v
+ return s
+}
+
// The SSL certificate that can be used to encrypt connections between the endpoints
// and the replication instance.
type Certificate struct {
@@ -2386,6 +2422,60 @@ 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
+}
+
+// SetCertificateCreationDate sets the CertificateCreationDate field's value.
+func (s *Certificate) SetCertificateCreationDate(v time.Time) *Certificate {
+ s.CertificateCreationDate = &v
+ return s
+}
+
+// SetCertificateIdentifier sets the CertificateIdentifier field's value.
+func (s *Certificate) SetCertificateIdentifier(v string) *Certificate {
+ s.CertificateIdentifier = &v
+ return s
+}
+
+// SetCertificateOwner sets the CertificateOwner field's value.
+func (s *Certificate) SetCertificateOwner(v string) *Certificate {
+ s.CertificateOwner = &v
+ return s
+}
+
+// SetCertificatePem sets the CertificatePem field's value.
+func (s *Certificate) SetCertificatePem(v string) *Certificate {
+ s.CertificatePem = &v
+ return s
+}
+
+// SetKeyLength sets the KeyLength field's value.
+func (s *Certificate) SetKeyLength(v int64) *Certificate {
+ s.KeyLength = &v
+ return s
+}
+
+// SetSigningAlgorithm sets the SigningAlgorithm field's value.
+func (s *Certificate) SetSigningAlgorithm(v string) *Certificate {
+ s.SigningAlgorithm = &v
+ return s
+}
+
+// SetValidFromDate sets the ValidFromDate field's value.
+func (s *Certificate) SetValidFromDate(v time.Time) *Certificate {
+ s.ValidFromDate = &v
+ return s
+}
+
+// SetValidToDate sets the ValidToDate field's value.
+func (s *Certificate) SetValidToDate(v time.Time) *Certificate {
+ s.ValidToDate = &v
+ return s
+}
+
type Connection struct {
_ struct{} `type:"structure"`
@@ -2421,6 +2511,42 @@ func (s Connection) GoString() string {
return s.String()
}
+// SetEndpointArn sets the EndpointArn field's value.
+func (s *Connection) SetEndpointArn(v string) *Connection {
+ s.EndpointArn = &v
+ return s
+}
+
+// SetEndpointIdentifier sets the EndpointIdentifier field's value.
+func (s *Connection) SetEndpointIdentifier(v string) *Connection {
+ s.EndpointIdentifier = &v
+ return s
+}
+
+// SetLastFailureMessage sets the LastFailureMessage field's value.
+func (s *Connection) SetLastFailureMessage(v string) *Connection {
+ s.LastFailureMessage = &v
+ return s
+}
+
+// SetReplicationInstanceArn sets the ReplicationInstanceArn field's value.
+func (s *Connection) SetReplicationInstanceArn(v string) *Connection {
+ s.ReplicationInstanceArn = &v
+ return s
+}
+
+// SetReplicationInstanceIdentifier sets the ReplicationInstanceIdentifier field's value.
+func (s *Connection) SetReplicationInstanceIdentifier(v string) *Connection {
+ s.ReplicationInstanceIdentifier = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *Connection) SetStatus(v string) *Connection {
+ s.Status = &v
+ return s
+}
+
type CreateEndpointInput struct {
_ struct{} `type:"structure"`
@@ -2530,6 +2656,84 @@ func (s *CreateEndpointInput) Validate() error {
return nil
}
+// SetCertificateArn sets the CertificateArn field's value.
+func (s *CreateEndpointInput) SetCertificateArn(v string) *CreateEndpointInput {
+ s.CertificateArn = &v
+ return s
+}
+
+// SetDatabaseName sets the DatabaseName field's value.
+func (s *CreateEndpointInput) SetDatabaseName(v string) *CreateEndpointInput {
+ s.DatabaseName = &v
+ return s
+}
+
+// SetEndpointIdentifier sets the EndpointIdentifier field's value.
+func (s *CreateEndpointInput) SetEndpointIdentifier(v string) *CreateEndpointInput {
+ s.EndpointIdentifier = &v
+ return s
+}
+
+// SetEndpointType sets the EndpointType field's value.
+func (s *CreateEndpointInput) SetEndpointType(v string) *CreateEndpointInput {
+ s.EndpointType = &v
+ return s
+}
+
+// SetEngineName sets the EngineName field's value.
+func (s *CreateEndpointInput) SetEngineName(v string) *CreateEndpointInput {
+ s.EngineName = &v
+ return s
+}
+
+// SetExtraConnectionAttributes sets the ExtraConnectionAttributes field's value.
+func (s *CreateEndpointInput) SetExtraConnectionAttributes(v string) *CreateEndpointInput {
+ s.ExtraConnectionAttributes = &v
+ return s
+}
+
+// SetKmsKeyId sets the KmsKeyId field's value.
+func (s *CreateEndpointInput) SetKmsKeyId(v string) *CreateEndpointInput {
+ s.KmsKeyId = &v
+ return s
+}
+
+// SetPassword sets the Password field's value.
+func (s *CreateEndpointInput) SetPassword(v string) *CreateEndpointInput {
+ s.Password = &v
+ return s
+}
+
+// SetPort sets the Port field's value.
+func (s *CreateEndpointInput) SetPort(v int64) *CreateEndpointInput {
+ s.Port = &v
+ return s
+}
+
+// SetServerName sets the ServerName field's value.
+func (s *CreateEndpointInput) SetServerName(v string) *CreateEndpointInput {
+ s.ServerName = &v
+ return s
+}
+
+// SetSslMode sets the SslMode field's value.
+func (s *CreateEndpointInput) SetSslMode(v string) *CreateEndpointInput {
+ s.SslMode = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *CreateEndpointInput) SetTags(v []*Tag) *CreateEndpointInput {
+ s.Tags = v
+ return s
+}
+
+// SetUsername sets the Username field's value.
+func (s *CreateEndpointInput) SetUsername(v string) *CreateEndpointInput {
+ s.Username = &v
+ return s
+}
+
type CreateEndpointOutput struct {
_ struct{} `type:"structure"`
@@ -2547,6 +2751,12 @@ func (s CreateEndpointOutput) GoString() string {
return s.String()
}
+// SetEndpoint sets the Endpoint field's value.
+func (s *CreateEndpointOutput) SetEndpoint(v *Endpoint) *CreateEndpointOutput {
+ s.Endpoint = v
+ return s
+}
+
type CreateReplicationInstanceInput struct {
_ struct{} `type:"structure"`
@@ -2662,6 +2872,84 @@ func (s *CreateReplicationInstanceInput) Validate() error {
return nil
}
+// SetAllocatedStorage sets the AllocatedStorage field's value.
+func (s *CreateReplicationInstanceInput) SetAllocatedStorage(v int64) *CreateReplicationInstanceInput {
+ s.AllocatedStorage = &v
+ return s
+}
+
+// SetAutoMinorVersionUpgrade sets the AutoMinorVersionUpgrade field's value.
+func (s *CreateReplicationInstanceInput) SetAutoMinorVersionUpgrade(v bool) *CreateReplicationInstanceInput {
+ s.AutoMinorVersionUpgrade = &v
+ return s
+}
+
+// SetAvailabilityZone sets the AvailabilityZone field's value.
+func (s *CreateReplicationInstanceInput) SetAvailabilityZone(v string) *CreateReplicationInstanceInput {
+ s.AvailabilityZone = &v
+ return s
+}
+
+// SetEngineVersion sets the EngineVersion field's value.
+func (s *CreateReplicationInstanceInput) SetEngineVersion(v string) *CreateReplicationInstanceInput {
+ s.EngineVersion = &v
+ return s
+}
+
+// SetKmsKeyId sets the KmsKeyId field's value.
+func (s *CreateReplicationInstanceInput) SetKmsKeyId(v string) *CreateReplicationInstanceInput {
+ s.KmsKeyId = &v
+ return s
+}
+
+// SetMultiAZ sets the MultiAZ field's value.
+func (s *CreateReplicationInstanceInput) SetMultiAZ(v bool) *CreateReplicationInstanceInput {
+ s.MultiAZ = &v
+ return s
+}
+
+// SetPreferredMaintenanceWindow sets the PreferredMaintenanceWindow field's value.
+func (s *CreateReplicationInstanceInput) SetPreferredMaintenanceWindow(v string) *CreateReplicationInstanceInput {
+ s.PreferredMaintenanceWindow = &v
+ return s
+}
+
+// SetPubliclyAccessible sets the PubliclyAccessible field's value.
+func (s *CreateReplicationInstanceInput) SetPubliclyAccessible(v bool) *CreateReplicationInstanceInput {
+ s.PubliclyAccessible = &v
+ return s
+}
+
+// SetReplicationInstanceClass sets the ReplicationInstanceClass field's value.
+func (s *CreateReplicationInstanceInput) SetReplicationInstanceClass(v string) *CreateReplicationInstanceInput {
+ s.ReplicationInstanceClass = &v
+ return s
+}
+
+// SetReplicationInstanceIdentifier sets the ReplicationInstanceIdentifier field's value.
+func (s *CreateReplicationInstanceInput) SetReplicationInstanceIdentifier(v string) *CreateReplicationInstanceInput {
+ s.ReplicationInstanceIdentifier = &v
+ return s
+}
+
+// SetReplicationSubnetGroupIdentifier sets the ReplicationSubnetGroupIdentifier field's value.
+func (s *CreateReplicationInstanceInput) SetReplicationSubnetGroupIdentifier(v string) *CreateReplicationInstanceInput {
+ s.ReplicationSubnetGroupIdentifier = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *CreateReplicationInstanceInput) SetTags(v []*Tag) *CreateReplicationInstanceInput {
+ s.Tags = v
+ return s
+}
+
+// SetVpcSecurityGroupIds sets the VpcSecurityGroupIds field's value.
+func (s *CreateReplicationInstanceInput) SetVpcSecurityGroupIds(v []*string) *CreateReplicationInstanceInput {
+ s.VpcSecurityGroupIds = v
+ return s
+}
+
type CreateReplicationInstanceOutput struct {
_ struct{} `type:"structure"`
@@ -2679,6 +2967,12 @@ func (s CreateReplicationInstanceOutput) GoString() string {
return s.String()
}
+// SetReplicationInstance sets the ReplicationInstance field's value.
+func (s *CreateReplicationInstanceOutput) SetReplicationInstance(v *ReplicationInstance) *CreateReplicationInstanceOutput {
+ s.ReplicationInstance = v
+ return s
+}
+
type CreateReplicationSubnetGroupInput struct {
_ struct{} `type:"structure"`
@@ -2736,6 +3030,30 @@ func (s *CreateReplicationSubnetGroupInput) Validate() error {
return nil
}
+// SetReplicationSubnetGroupDescription sets the ReplicationSubnetGroupDescription field's value.
+func (s *CreateReplicationSubnetGroupInput) SetReplicationSubnetGroupDescription(v string) *CreateReplicationSubnetGroupInput {
+ s.ReplicationSubnetGroupDescription = &v
+ return s
+}
+
+// SetReplicationSubnetGroupIdentifier sets the ReplicationSubnetGroupIdentifier field's value.
+func (s *CreateReplicationSubnetGroupInput) SetReplicationSubnetGroupIdentifier(v string) *CreateReplicationSubnetGroupInput {
+ s.ReplicationSubnetGroupIdentifier = &v
+ return s
+}
+
+// SetSubnetIds sets the SubnetIds field's value.
+func (s *CreateReplicationSubnetGroupInput) SetSubnetIds(v []*string) *CreateReplicationSubnetGroupInput {
+ s.SubnetIds = v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *CreateReplicationSubnetGroupInput) SetTags(v []*Tag) *CreateReplicationSubnetGroupInput {
+ s.Tags = v
+ return s
+}
+
type CreateReplicationSubnetGroupOutput struct {
_ struct{} `type:"structure"`
@@ -2753,6 +3071,12 @@ func (s CreateReplicationSubnetGroupOutput) GoString() string {
return s.String()
}
+// SetReplicationSubnetGroup sets the ReplicationSubnetGroup field's value.
+func (s *CreateReplicationSubnetGroupOutput) SetReplicationSubnetGroup(v *ReplicationSubnetGroup) *CreateReplicationSubnetGroupOutput {
+ s.ReplicationSubnetGroup = v
+ return s
+}
+
type CreateReplicationTaskInput struct {
_ struct{} `type:"structure"`
@@ -2845,6 +3169,60 @@ func (s *CreateReplicationTaskInput) Validate() error {
return nil
}
+// SetCdcStartTime sets the CdcStartTime field's value.
+func (s *CreateReplicationTaskInput) SetCdcStartTime(v time.Time) *CreateReplicationTaskInput {
+ s.CdcStartTime = &v
+ return s
+}
+
+// SetMigrationType sets the MigrationType field's value.
+func (s *CreateReplicationTaskInput) SetMigrationType(v string) *CreateReplicationTaskInput {
+ s.MigrationType = &v
+ return s
+}
+
+// SetReplicationInstanceArn sets the ReplicationInstanceArn field's value.
+func (s *CreateReplicationTaskInput) SetReplicationInstanceArn(v string) *CreateReplicationTaskInput {
+ s.ReplicationInstanceArn = &v
+ return s
+}
+
+// SetReplicationTaskIdentifier sets the ReplicationTaskIdentifier field's value.
+func (s *CreateReplicationTaskInput) SetReplicationTaskIdentifier(v string) *CreateReplicationTaskInput {
+ s.ReplicationTaskIdentifier = &v
+ return s
+}
+
+// SetReplicationTaskSettings sets the ReplicationTaskSettings field's value.
+func (s *CreateReplicationTaskInput) SetReplicationTaskSettings(v string) *CreateReplicationTaskInput {
+ s.ReplicationTaskSettings = &v
+ return s
+}
+
+// SetSourceEndpointArn sets the SourceEndpointArn field's value.
+func (s *CreateReplicationTaskInput) SetSourceEndpointArn(v string) *CreateReplicationTaskInput {
+ s.SourceEndpointArn = &v
+ return s
+}
+
+// SetTableMappings sets the TableMappings field's value.
+func (s *CreateReplicationTaskInput) SetTableMappings(v string) *CreateReplicationTaskInput {
+ s.TableMappings = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *CreateReplicationTaskInput) SetTags(v []*Tag) *CreateReplicationTaskInput {
+ s.Tags = v
+ return s
+}
+
+// SetTargetEndpointArn sets the TargetEndpointArn field's value.
+func (s *CreateReplicationTaskInput) SetTargetEndpointArn(v string) *CreateReplicationTaskInput {
+ s.TargetEndpointArn = &v
+ return s
+}
+
type CreateReplicationTaskOutput struct {
_ struct{} `type:"structure"`
@@ -2862,6 +3240,12 @@ func (s CreateReplicationTaskOutput) GoString() string {
return s.String()
}
+// SetReplicationTask sets the ReplicationTask field's value.
+func (s *CreateReplicationTaskOutput) SetReplicationTask(v *ReplicationTask) *CreateReplicationTaskOutput {
+ s.ReplicationTask = v
+ return s
+}
+
type DeleteCertificateInput struct {
_ struct{} `type:"structure"`
@@ -2894,6 +3278,12 @@ func (s *DeleteCertificateInput) Validate() error {
return nil
}
+// SetCertificateArn sets the CertificateArn field's value.
+func (s *DeleteCertificateInput) SetCertificateArn(v string) *DeleteCertificateInput {
+ s.CertificateArn = &v
+ return s
+}
+
type DeleteCertificateOutput struct {
_ struct{} `type:"structure"`
@@ -2911,6 +3301,12 @@ func (s DeleteCertificateOutput) GoString() string {
return s.String()
}
+// SetCertificate sets the Certificate field's value.
+func (s *DeleteCertificateOutput) SetCertificate(v *Certificate) *DeleteCertificateOutput {
+ s.Certificate = v
+ return s
+}
+
type DeleteEndpointInput struct {
_ struct{} `type:"structure"`
@@ -2943,6 +3339,12 @@ func (s *DeleteEndpointInput) Validate() error {
return nil
}
+// SetEndpointArn sets the EndpointArn field's value.
+func (s *DeleteEndpointInput) SetEndpointArn(v string) *DeleteEndpointInput {
+ s.EndpointArn = &v
+ return s
+}
+
type DeleteEndpointOutput struct {
_ struct{} `type:"structure"`
@@ -2960,6 +3362,12 @@ func (s DeleteEndpointOutput) GoString() string {
return s.String()
}
+// SetEndpoint sets the Endpoint field's value.
+func (s *DeleteEndpointOutput) SetEndpoint(v *Endpoint) *DeleteEndpointOutput {
+ s.Endpoint = v
+ return s
+}
+
type DeleteReplicationInstanceInput struct {
_ struct{} `type:"structure"`
@@ -2992,6 +3400,12 @@ func (s *DeleteReplicationInstanceInput) Validate() error {
return nil
}
+// SetReplicationInstanceArn sets the ReplicationInstanceArn field's value.
+func (s *DeleteReplicationInstanceInput) SetReplicationInstanceArn(v string) *DeleteReplicationInstanceInput {
+ s.ReplicationInstanceArn = &v
+ return s
+}
+
type DeleteReplicationInstanceOutput struct {
_ struct{} `type:"structure"`
@@ -3009,6 +3423,12 @@ func (s DeleteReplicationInstanceOutput) GoString() string {
return s.String()
}
+// SetReplicationInstance sets the ReplicationInstance field's value.
+func (s *DeleteReplicationInstanceOutput) SetReplicationInstance(v *ReplicationInstance) *DeleteReplicationInstanceOutput {
+ s.ReplicationInstance = v
+ return s
+}
+
type DeleteReplicationSubnetGroupInput struct {
_ struct{} `type:"structure"`
@@ -3041,6 +3461,12 @@ func (s *DeleteReplicationSubnetGroupInput) Validate() error {
return nil
}
+// SetReplicationSubnetGroupIdentifier sets the ReplicationSubnetGroupIdentifier field's value.
+func (s *DeleteReplicationSubnetGroupInput) SetReplicationSubnetGroupIdentifier(v string) *DeleteReplicationSubnetGroupInput {
+ s.ReplicationSubnetGroupIdentifier = &v
+ return s
+}
+
type DeleteReplicationSubnetGroupOutput struct {
_ struct{} `type:"structure"`
}
@@ -3087,6 +3513,12 @@ func (s *DeleteReplicationTaskInput) Validate() error {
return nil
}
+// SetReplicationTaskArn sets the ReplicationTaskArn field's value.
+func (s *DeleteReplicationTaskInput) SetReplicationTaskArn(v string) *DeleteReplicationTaskInput {
+ s.ReplicationTaskArn = &v
+ return s
+}
+
type DeleteReplicationTaskOutput struct {
_ struct{} `type:"structure"`
@@ -3104,6 +3536,12 @@ func (s DeleteReplicationTaskOutput) GoString() string {
return s.String()
}
+// SetReplicationTask sets the ReplicationTask field's value.
+func (s *DeleteReplicationTaskOutput) SetReplicationTask(v *ReplicationTask) *DeleteReplicationTaskOutput {
+ s.ReplicationTask = v
+ return s
+}
+
type DescribeAccountAttributesInput struct {
_ struct{} `type:"structure"`
}
@@ -3135,6 +3573,12 @@ func (s DescribeAccountAttributesOutput) GoString() string {
return s.String()
}
+// SetAccountQuotas sets the AccountQuotas field's value.
+func (s *DescribeAccountAttributesOutput) SetAccountQuotas(v []*AccountQuota) *DescribeAccountAttributesOutput {
+ s.AccountQuotas = v
+ return s
+}
+
type DescribeCertificatesInput struct {
_ struct{} `type:"structure"`
@@ -3184,6 +3628,24 @@ func (s *DescribeCertificatesInput) Validate() error {
return nil
}
+// SetFilters sets the Filters field's value.
+func (s *DescribeCertificatesInput) SetFilters(v []*Filter) *DescribeCertificatesInput {
+ s.Filters = v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeCertificatesInput) SetMarker(v string) *DescribeCertificatesInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxRecords sets the MaxRecords field's value.
+func (s *DescribeCertificatesInput) SetMaxRecords(v int64) *DescribeCertificatesInput {
+ s.MaxRecords = &v
+ return s
+}
+
type DescribeCertificatesOutput struct {
_ struct{} `type:"structure"`
@@ -3204,6 +3666,18 @@ func (s DescribeCertificatesOutput) GoString() string {
return s.String()
}
+// SetCertificates sets the Certificates field's value.
+func (s *DescribeCertificatesOutput) SetCertificates(v []*Certificate) *DescribeCertificatesOutput {
+ s.Certificates = v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeCertificatesOutput) SetMarker(v string) *DescribeCertificatesOutput {
+ s.Marker = &v
+ return s
+}
+
type DescribeConnectionsInput struct {
_ struct{} `type:"structure"`
@@ -3257,6 +3731,24 @@ func (s *DescribeConnectionsInput) Validate() error {
return nil
}
+// SetFilters sets the Filters field's value.
+func (s *DescribeConnectionsInput) SetFilters(v []*Filter) *DescribeConnectionsInput {
+ s.Filters = v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeConnectionsInput) SetMarker(v string) *DescribeConnectionsInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxRecords sets the MaxRecords field's value.
+func (s *DescribeConnectionsInput) SetMaxRecords(v int64) *DescribeConnectionsInput {
+ s.MaxRecords = &v
+ return s
+}
+
type DescribeConnectionsOutput struct {
_ struct{} `type:"structure"`
@@ -3279,6 +3771,18 @@ func (s DescribeConnectionsOutput) GoString() string {
return s.String()
}
+// SetConnections sets the Connections field's value.
+func (s *DescribeConnectionsOutput) SetConnections(v []*Connection) *DescribeConnectionsOutput {
+ s.Connections = v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeConnectionsOutput) SetMarker(v string) *DescribeConnectionsOutput {
+ s.Marker = &v
+ return s
+}
+
type DescribeEndpointTypesInput struct {
_ struct{} `type:"structure"`
@@ -3332,6 +3836,24 @@ func (s *DescribeEndpointTypesInput) Validate() error {
return nil
}
+// SetFilters sets the Filters field's value.
+func (s *DescribeEndpointTypesInput) SetFilters(v []*Filter) *DescribeEndpointTypesInput {
+ s.Filters = v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeEndpointTypesInput) SetMarker(v string) *DescribeEndpointTypesInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxRecords sets the MaxRecords field's value.
+func (s *DescribeEndpointTypesInput) SetMaxRecords(v int64) *DescribeEndpointTypesInput {
+ s.MaxRecords = &v
+ return s
+}
+
type DescribeEndpointTypesOutput struct {
_ struct{} `type:"structure"`
@@ -3354,6 +3876,18 @@ func (s DescribeEndpointTypesOutput) GoString() string {
return s.String()
}
+// SetMarker sets the Marker field's value.
+func (s *DescribeEndpointTypesOutput) SetMarker(v string) *DescribeEndpointTypesOutput {
+ s.Marker = &v
+ return s
+}
+
+// SetSupportedEndpointTypes sets the SupportedEndpointTypes field's value.
+func (s *DescribeEndpointTypesOutput) SetSupportedEndpointTypes(v []*SupportedEndpointType) *DescribeEndpointTypesOutput {
+ s.SupportedEndpointTypes = v
+ return s
+}
+
type DescribeEndpointsInput struct {
_ struct{} `type:"structure"`
@@ -3407,6 +3941,24 @@ func (s *DescribeEndpointsInput) Validate() error {
return nil
}
+// SetFilters sets the Filters field's value.
+func (s *DescribeEndpointsInput) SetFilters(v []*Filter) *DescribeEndpointsInput {
+ s.Filters = v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeEndpointsInput) SetMarker(v string) *DescribeEndpointsInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxRecords sets the MaxRecords field's value.
+func (s *DescribeEndpointsInput) SetMaxRecords(v int64) *DescribeEndpointsInput {
+ s.MaxRecords = &v
+ return s
+}
+
type DescribeEndpointsOutput struct {
_ struct{} `type:"structure"`
@@ -3429,6 +3981,18 @@ 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
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeEndpointsOutput) SetMarker(v string) *DescribeEndpointsOutput {
+ s.Marker = &v
+ return s
+}
+
type DescribeOrderableReplicationInstancesInput struct {
_ struct{} `type:"structure"`
@@ -3457,6 +4021,18 @@ func (s DescribeOrderableReplicationInstancesInput) GoString() string {
return s.String()
}
+// SetMarker sets the Marker field's value.
+func (s *DescribeOrderableReplicationInstancesInput) SetMarker(v string) *DescribeOrderableReplicationInstancesInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxRecords sets the MaxRecords field's value.
+func (s *DescribeOrderableReplicationInstancesInput) SetMaxRecords(v int64) *DescribeOrderableReplicationInstancesInput {
+ s.MaxRecords = &v
+ return s
+}
+
type DescribeOrderableReplicationInstancesOutput struct {
_ struct{} `type:"structure"`
@@ -3479,6 +4055,18 @@ func (s DescribeOrderableReplicationInstancesOutput) GoString() string {
return s.String()
}
+// SetMarker sets the Marker field's value.
+func (s *DescribeOrderableReplicationInstancesOutput) SetMarker(v string) *DescribeOrderableReplicationInstancesOutput {
+ s.Marker = &v
+ return s
+}
+
+// SetOrderableReplicationInstances sets the OrderableReplicationInstances field's value.
+func (s *DescribeOrderableReplicationInstancesOutput) SetOrderableReplicationInstances(v []*OrderableReplicationInstance) *DescribeOrderableReplicationInstancesOutput {
+ s.OrderableReplicationInstances = v
+ return s
+}
+
type DescribeRefreshSchemasStatusInput struct {
_ struct{} `type:"structure"`
@@ -3511,6 +4099,12 @@ func (s *DescribeRefreshSchemasStatusInput) Validate() error {
return nil
}
+// SetEndpointArn sets the EndpointArn field's value.
+func (s *DescribeRefreshSchemasStatusInput) SetEndpointArn(v string) *DescribeRefreshSchemasStatusInput {
+ s.EndpointArn = &v
+ return s
+}
+
type DescribeRefreshSchemasStatusOutput struct {
_ struct{} `type:"structure"`
@@ -3528,6 +4122,12 @@ func (s DescribeRefreshSchemasStatusOutput) GoString() string {
return s.String()
}
+// SetRefreshSchemasStatus sets the RefreshSchemasStatus field's value.
+func (s *DescribeRefreshSchemasStatusOutput) SetRefreshSchemasStatus(v *RefreshSchemasStatus) *DescribeRefreshSchemasStatusOutput {
+ s.RefreshSchemasStatus = v
+ return s
+}
+
type DescribeReplicationInstancesInput struct {
_ struct{} `type:"structure"`
@@ -3582,6 +4182,24 @@ func (s *DescribeReplicationInstancesInput) Validate() error {
return nil
}
+// SetFilters sets the Filters field's value.
+func (s *DescribeReplicationInstancesInput) SetFilters(v []*Filter) *DescribeReplicationInstancesInput {
+ s.Filters = v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeReplicationInstancesInput) SetMarker(v string) *DescribeReplicationInstancesInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxRecords sets the MaxRecords field's value.
+func (s *DescribeReplicationInstancesInput) SetMaxRecords(v int64) *DescribeReplicationInstancesInput {
+ s.MaxRecords = &v
+ return s
+}
+
type DescribeReplicationInstancesOutput struct {
_ struct{} `type:"structure"`
@@ -3604,6 +4222,18 @@ func (s DescribeReplicationInstancesOutput) GoString() string {
return s.String()
}
+// SetMarker sets the Marker field's value.
+func (s *DescribeReplicationInstancesOutput) SetMarker(v string) *DescribeReplicationInstancesOutput {
+ s.Marker = &v
+ return s
+}
+
+// SetReplicationInstances sets the ReplicationInstances field's value.
+func (s *DescribeReplicationInstancesOutput) SetReplicationInstances(v []*ReplicationInstance) *DescribeReplicationInstancesOutput {
+ s.ReplicationInstances = v
+ return s
+}
+
type DescribeReplicationSubnetGroupsInput struct {
_ struct{} `type:"structure"`
@@ -3655,6 +4285,24 @@ func (s *DescribeReplicationSubnetGroupsInput) Validate() error {
return nil
}
+// SetFilters sets the Filters field's value.
+func (s *DescribeReplicationSubnetGroupsInput) SetFilters(v []*Filter) *DescribeReplicationSubnetGroupsInput {
+ s.Filters = v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeReplicationSubnetGroupsInput) SetMarker(v string) *DescribeReplicationSubnetGroupsInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxRecords sets the MaxRecords field's value.
+func (s *DescribeReplicationSubnetGroupsInput) SetMaxRecords(v int64) *DescribeReplicationSubnetGroupsInput {
+ s.MaxRecords = &v
+ return s
+}
+
type DescribeReplicationSubnetGroupsOutput struct {
_ struct{} `type:"structure"`
@@ -3677,6 +4325,18 @@ func (s DescribeReplicationSubnetGroupsOutput) GoString() string {
return s.String()
}
+// SetMarker sets the Marker field's value.
+func (s *DescribeReplicationSubnetGroupsOutput) SetMarker(v string) *DescribeReplicationSubnetGroupsOutput {
+ s.Marker = &v
+ return s
+}
+
+// SetReplicationSubnetGroups sets the ReplicationSubnetGroups field's value.
+func (s *DescribeReplicationSubnetGroupsOutput) SetReplicationSubnetGroups(v []*ReplicationSubnetGroup) *DescribeReplicationSubnetGroupsOutput {
+ s.ReplicationSubnetGroups = v
+ return s
+}
+
type DescribeReplicationTasksInput struct {
_ struct{} `type:"structure"`
@@ -3731,6 +4391,24 @@ func (s *DescribeReplicationTasksInput) Validate() error {
return nil
}
+// SetFilters sets the Filters field's value.
+func (s *DescribeReplicationTasksInput) SetFilters(v []*Filter) *DescribeReplicationTasksInput {
+ s.Filters = v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeReplicationTasksInput) SetMarker(v string) *DescribeReplicationTasksInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxRecords sets the MaxRecords field's value.
+func (s *DescribeReplicationTasksInput) SetMaxRecords(v int64) *DescribeReplicationTasksInput {
+ s.MaxRecords = &v
+ return s
+}
+
type DescribeReplicationTasksOutput struct {
_ struct{} `type:"structure"`
@@ -3753,6 +4431,18 @@ func (s DescribeReplicationTasksOutput) GoString() string {
return s.String()
}
+// SetMarker sets the Marker field's value.
+func (s *DescribeReplicationTasksOutput) SetMarker(v string) *DescribeReplicationTasksOutput {
+ s.Marker = &v
+ return s
+}
+
+// SetReplicationTasks sets the ReplicationTasks field's value.
+func (s *DescribeReplicationTasksOutput) SetReplicationTasks(v []*ReplicationTask) *DescribeReplicationTasksOutput {
+ s.ReplicationTasks = v
+ return s
+}
+
type DescribeSchemasInput struct {
_ struct{} `type:"structure"`
@@ -3799,6 +4489,24 @@ func (s *DescribeSchemasInput) Validate() error {
return nil
}
+// SetEndpointArn sets the EndpointArn field's value.
+func (s *DescribeSchemasInput) SetEndpointArn(v string) *DescribeSchemasInput {
+ s.EndpointArn = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeSchemasInput) SetMarker(v string) *DescribeSchemasInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxRecords sets the MaxRecords field's value.
+func (s *DescribeSchemasInput) SetMaxRecords(v int64) *DescribeSchemasInput {
+ s.MaxRecords = &v
+ return s
+}
+
type DescribeSchemasOutput struct {
_ struct{} `type:"structure"`
@@ -3821,6 +4529,18 @@ func (s DescribeSchemasOutput) GoString() string {
return s.String()
}
+// SetMarker sets the Marker field's value.
+func (s *DescribeSchemasOutput) SetMarker(v string) *DescribeSchemasOutput {
+ s.Marker = &v
+ return s
+}
+
+// SetSchemas sets the Schemas field's value.
+func (s *DescribeSchemasOutput) SetSchemas(v []*string) *DescribeSchemasOutput {
+ s.Schemas = v
+ return s
+}
+
type DescribeTableStatisticsInput struct {
_ struct{} `type:"structure"`
@@ -3867,6 +4587,24 @@ func (s *DescribeTableStatisticsInput) Validate() error {
return nil
}
+// SetMarker sets the Marker field's value.
+func (s *DescribeTableStatisticsInput) SetMarker(v string) *DescribeTableStatisticsInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxRecords sets the MaxRecords field's value.
+func (s *DescribeTableStatisticsInput) SetMaxRecords(v int64) *DescribeTableStatisticsInput {
+ s.MaxRecords = &v
+ return s
+}
+
+// SetReplicationTaskArn sets the ReplicationTaskArn field's value.
+func (s *DescribeTableStatisticsInput) SetReplicationTaskArn(v string) *DescribeTableStatisticsInput {
+ s.ReplicationTaskArn = &v
+ return s
+}
+
type DescribeTableStatisticsOutput struct {
_ struct{} `type:"structure"`
@@ -3892,6 +4630,24 @@ func (s DescribeTableStatisticsOutput) GoString() string {
return s.String()
}
+// SetMarker sets the Marker field's value.
+func (s *DescribeTableStatisticsOutput) SetMarker(v string) *DescribeTableStatisticsOutput {
+ s.Marker = &v
+ return s
+}
+
+// SetReplicationTaskArn sets the ReplicationTaskArn field's value.
+func (s *DescribeTableStatisticsOutput) SetReplicationTaskArn(v string) *DescribeTableStatisticsOutput {
+ s.ReplicationTaskArn = &v
+ return s
+}
+
+// SetTableStatistics sets the TableStatistics field's value.
+func (s *DescribeTableStatisticsOutput) SetTableStatistics(v []*TableStatistics) *DescribeTableStatisticsOutput {
+ s.TableStatistics = v
+ return s
+}
+
type Endpoint struct {
_ struct{} `type:"structure"`
@@ -3955,10 +4711,88 @@ func (s Endpoint) GoString() string {
return s.String()
}
-type Filter struct {
- _ struct{} `type:"structure"`
+// SetCertificateArn sets the CertificateArn field's value.
+func (s *Endpoint) SetCertificateArn(v string) *Endpoint {
+ s.CertificateArn = &v
+ return s
+}
- // The name of the filter.
+// SetDatabaseName sets the DatabaseName field's value.
+func (s *Endpoint) SetDatabaseName(v string) *Endpoint {
+ s.DatabaseName = &v
+ return s
+}
+
+// SetEndpointArn sets the EndpointArn field's value.
+func (s *Endpoint) SetEndpointArn(v string) *Endpoint {
+ s.EndpointArn = &v
+ return s
+}
+
+// SetEndpointIdentifier sets the EndpointIdentifier field's value.
+func (s *Endpoint) SetEndpointIdentifier(v string) *Endpoint {
+ s.EndpointIdentifier = &v
+ return s
+}
+
+// SetEndpointType sets the EndpointType field's value.
+func (s *Endpoint) SetEndpointType(v string) *Endpoint {
+ s.EndpointType = &v
+ return s
+}
+
+// SetEngineName sets the EngineName field's value.
+func (s *Endpoint) SetEngineName(v string) *Endpoint {
+ s.EngineName = &v
+ return s
+}
+
+// SetExtraConnectionAttributes sets the ExtraConnectionAttributes field's value.
+func (s *Endpoint) SetExtraConnectionAttributes(v string) *Endpoint {
+ s.ExtraConnectionAttributes = &v
+ return s
+}
+
+// SetKmsKeyId sets the KmsKeyId field's value.
+func (s *Endpoint) SetKmsKeyId(v string) *Endpoint {
+ s.KmsKeyId = &v
+ return s
+}
+
+// SetPort sets the Port field's value.
+func (s *Endpoint) SetPort(v int64) *Endpoint {
+ s.Port = &v
+ return s
+}
+
+// SetServerName sets the ServerName field's value.
+func (s *Endpoint) SetServerName(v string) *Endpoint {
+ s.ServerName = &v
+ return s
+}
+
+// SetSslMode sets the SslMode field's value.
+func (s *Endpoint) SetSslMode(v string) *Endpoint {
+ s.SslMode = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *Endpoint) SetStatus(v string) *Endpoint {
+ s.Status = &v
+ return s
+}
+
+// SetUsername sets the Username field's value.
+func (s *Endpoint) SetUsername(v string) *Endpoint {
+ s.Username = &v
+ return s
+}
+
+type Filter struct {
+ _ struct{} `type:"structure"`
+
+ // The name of the filter.
//
// Name is a required field
Name *string `type:"string" required:"true"`
@@ -3995,6 +4829,18 @@ func (s *Filter) Validate() error {
return nil
}
+// SetName sets the Name field's value.
+func (s *Filter) SetName(v string) *Filter {
+ s.Name = &v
+ return s
+}
+
+// SetValues sets the Values field's value.
+func (s *Filter) SetValues(v []*string) *Filter {
+ s.Values = v
+ return s
+}
+
type ImportCertificateInput struct {
_ struct{} `type:"structure"`
@@ -4030,6 +4876,18 @@ func (s *ImportCertificateInput) Validate() error {
return nil
}
+// SetCertificateIdentifier sets the CertificateIdentifier field's value.
+func (s *ImportCertificateInput) SetCertificateIdentifier(v string) *ImportCertificateInput {
+ s.CertificateIdentifier = &v
+ return s
+}
+
+// SetCertificatePem sets the CertificatePem field's value.
+func (s *ImportCertificateInput) SetCertificatePem(v string) *ImportCertificateInput {
+ s.CertificatePem = &v
+ return s
+}
+
type ImportCertificateOutput struct {
_ struct{} `type:"structure"`
@@ -4047,6 +4905,12 @@ func (s ImportCertificateOutput) GoString() string {
return s.String()
}
+// SetCertificate sets the Certificate field's value.
+func (s *ImportCertificateOutput) SetCertificate(v *Certificate) *ImportCertificateOutput {
+ s.Certificate = v
+ return s
+}
+
type ListTagsForResourceInput struct {
_ struct{} `type:"structure"`
@@ -4080,6 +4944,12 @@ func (s *ListTagsForResourceInput) Validate() error {
return nil
}
+// SetResourceArn sets the ResourceArn field's value.
+func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput {
+ s.ResourceArn = &v
+ return s
+}
+
type ListTagsForResourceOutput struct {
_ struct{} `type:"structure"`
@@ -4097,6 +4967,12 @@ func (s ListTagsForResourceOutput) GoString() string {
return s.String()
}
+// SetTagList sets the TagList field's value.
+func (s *ListTagsForResourceOutput) SetTagList(v []*Tag) *ListTagsForResourceOutput {
+ s.TagList = v
+ return s
+}
+
type ModifyEndpointInput struct {
_ struct{} `type:"structure"`
@@ -4169,6 +5045,78 @@ func (s *ModifyEndpointInput) Validate() error {
return nil
}
+// SetCertificateArn sets the CertificateArn field's value.
+func (s *ModifyEndpointInput) SetCertificateArn(v string) *ModifyEndpointInput {
+ s.CertificateArn = &v
+ return s
+}
+
+// SetDatabaseName sets the DatabaseName field's value.
+func (s *ModifyEndpointInput) SetDatabaseName(v string) *ModifyEndpointInput {
+ s.DatabaseName = &v
+ return s
+}
+
+// SetEndpointArn sets the EndpointArn field's value.
+func (s *ModifyEndpointInput) SetEndpointArn(v string) *ModifyEndpointInput {
+ s.EndpointArn = &v
+ return s
+}
+
+// SetEndpointIdentifier sets the EndpointIdentifier field's value.
+func (s *ModifyEndpointInput) SetEndpointIdentifier(v string) *ModifyEndpointInput {
+ s.EndpointIdentifier = &v
+ return s
+}
+
+// SetEndpointType sets the EndpointType field's value.
+func (s *ModifyEndpointInput) SetEndpointType(v string) *ModifyEndpointInput {
+ s.EndpointType = &v
+ return s
+}
+
+// SetEngineName sets the EngineName field's value.
+func (s *ModifyEndpointInput) SetEngineName(v string) *ModifyEndpointInput {
+ s.EngineName = &v
+ return s
+}
+
+// SetExtraConnectionAttributes sets the ExtraConnectionAttributes field's value.
+func (s *ModifyEndpointInput) SetExtraConnectionAttributes(v string) *ModifyEndpointInput {
+ s.ExtraConnectionAttributes = &v
+ return s
+}
+
+// SetPassword sets the Password field's value.
+func (s *ModifyEndpointInput) SetPassword(v string) *ModifyEndpointInput {
+ s.Password = &v
+ return s
+}
+
+// SetPort sets the Port field's value.
+func (s *ModifyEndpointInput) SetPort(v int64) *ModifyEndpointInput {
+ s.Port = &v
+ return s
+}
+
+// SetServerName sets the ServerName field's value.
+func (s *ModifyEndpointInput) SetServerName(v string) *ModifyEndpointInput {
+ s.ServerName = &v
+ return s
+}
+
+// SetSslMode sets the SslMode field's value.
+func (s *ModifyEndpointInput) SetSslMode(v string) *ModifyEndpointInput {
+ s.SslMode = &v
+ return s
+}
+
+// SetUsername sets the Username field's value.
+func (s *ModifyEndpointInput) SetUsername(v string) *ModifyEndpointInput {
+ s.Username = &v
+ return s
+}
+
type ModifyEndpointOutput struct {
_ struct{} `type:"structure"`
@@ -4186,6 +5134,12 @@ func (s ModifyEndpointOutput) GoString() string {
return s.String()
}
+// SetEndpoint sets the Endpoint field's value.
+func (s *ModifyEndpointOutput) SetEndpoint(v *Endpoint) *ModifyEndpointOutput {
+ s.Endpoint = v
+ return s
+}
+
type ModifyReplicationInstanceInput struct {
_ struct{} `type:"structure"`
@@ -4282,6 +5236,72 @@ func (s *ModifyReplicationInstanceInput) Validate() error {
return nil
}
+// SetAllocatedStorage sets the AllocatedStorage field's value.
+func (s *ModifyReplicationInstanceInput) SetAllocatedStorage(v int64) *ModifyReplicationInstanceInput {
+ s.AllocatedStorage = &v
+ return s
+}
+
+// SetAllowMajorVersionUpgrade sets the AllowMajorVersionUpgrade field's value.
+func (s *ModifyReplicationInstanceInput) SetAllowMajorVersionUpgrade(v bool) *ModifyReplicationInstanceInput {
+ s.AllowMajorVersionUpgrade = &v
+ return s
+}
+
+// SetApplyImmediately sets the ApplyImmediately field's value.
+func (s *ModifyReplicationInstanceInput) SetApplyImmediately(v bool) *ModifyReplicationInstanceInput {
+ s.ApplyImmediately = &v
+ return s
+}
+
+// SetAutoMinorVersionUpgrade sets the AutoMinorVersionUpgrade field's value.
+func (s *ModifyReplicationInstanceInput) SetAutoMinorVersionUpgrade(v bool) *ModifyReplicationInstanceInput {
+ s.AutoMinorVersionUpgrade = &v
+ return s
+}
+
+// SetEngineVersion sets the EngineVersion field's value.
+func (s *ModifyReplicationInstanceInput) SetEngineVersion(v string) *ModifyReplicationInstanceInput {
+ s.EngineVersion = &v
+ return s
+}
+
+// SetMultiAZ sets the MultiAZ field's value.
+func (s *ModifyReplicationInstanceInput) SetMultiAZ(v bool) *ModifyReplicationInstanceInput {
+ s.MultiAZ = &v
+ return s
+}
+
+// SetPreferredMaintenanceWindow sets the PreferredMaintenanceWindow field's value.
+func (s *ModifyReplicationInstanceInput) SetPreferredMaintenanceWindow(v string) *ModifyReplicationInstanceInput {
+ s.PreferredMaintenanceWindow = &v
+ return s
+}
+
+// SetReplicationInstanceArn sets the ReplicationInstanceArn field's value.
+func (s *ModifyReplicationInstanceInput) SetReplicationInstanceArn(v string) *ModifyReplicationInstanceInput {
+ s.ReplicationInstanceArn = &v
+ return s
+}
+
+// SetReplicationInstanceClass sets the ReplicationInstanceClass field's value.
+func (s *ModifyReplicationInstanceInput) SetReplicationInstanceClass(v string) *ModifyReplicationInstanceInput {
+ s.ReplicationInstanceClass = &v
+ return s
+}
+
+// SetReplicationInstanceIdentifier sets the ReplicationInstanceIdentifier field's value.
+func (s *ModifyReplicationInstanceInput) SetReplicationInstanceIdentifier(v string) *ModifyReplicationInstanceInput {
+ s.ReplicationInstanceIdentifier = &v
+ return s
+}
+
+// SetVpcSecurityGroupIds sets the VpcSecurityGroupIds field's value.
+func (s *ModifyReplicationInstanceInput) SetVpcSecurityGroupIds(v []*string) *ModifyReplicationInstanceInput {
+ s.VpcSecurityGroupIds = v
+ return s
+}
+
type ModifyReplicationInstanceOutput struct {
_ struct{} `type:"structure"`
@@ -4299,6 +5319,12 @@ func (s ModifyReplicationInstanceOutput) GoString() string {
return s.String()
}
+// SetReplicationInstance sets the ReplicationInstance field's value.
+func (s *ModifyReplicationInstanceOutput) SetReplicationInstance(v *ReplicationInstance) *ModifyReplicationInstanceOutput {
+ s.ReplicationInstance = v
+ return s
+}
+
type ModifyReplicationSubnetGroupInput struct {
_ struct{} `type:"structure"`
@@ -4342,6 +5368,24 @@ func (s *ModifyReplicationSubnetGroupInput) Validate() error {
return nil
}
+// SetReplicationSubnetGroupDescription sets the ReplicationSubnetGroupDescription field's value.
+func (s *ModifyReplicationSubnetGroupInput) SetReplicationSubnetGroupDescription(v string) *ModifyReplicationSubnetGroupInput {
+ s.ReplicationSubnetGroupDescription = &v
+ return s
+}
+
+// SetReplicationSubnetGroupIdentifier sets the ReplicationSubnetGroupIdentifier field's value.
+func (s *ModifyReplicationSubnetGroupInput) SetReplicationSubnetGroupIdentifier(v string) *ModifyReplicationSubnetGroupInput {
+ s.ReplicationSubnetGroupIdentifier = &v
+ return s
+}
+
+// SetSubnetIds sets the SubnetIds field's value.
+func (s *ModifyReplicationSubnetGroupInput) SetSubnetIds(v []*string) *ModifyReplicationSubnetGroupInput {
+ s.SubnetIds = v
+ return s
+}
+
type ModifyReplicationSubnetGroupOutput struct {
_ struct{} `type:"structure"`
@@ -4359,6 +5403,12 @@ func (s ModifyReplicationSubnetGroupOutput) GoString() string {
return s.String()
}
+// SetReplicationSubnetGroup sets the ReplicationSubnetGroup field's value.
+func (s *ModifyReplicationSubnetGroupOutput) SetReplicationSubnetGroup(v *ReplicationSubnetGroup) *ModifyReplicationSubnetGroupOutput {
+ s.ReplicationSubnetGroup = v
+ return s
+}
+
type OrderableReplicationInstance struct {
_ struct{} `type:"structure"`
@@ -4401,6 +5451,48 @@ func (s OrderableReplicationInstance) GoString() string {
return s.String()
}
+// SetDefaultAllocatedStorage sets the DefaultAllocatedStorage field's value.
+func (s *OrderableReplicationInstance) SetDefaultAllocatedStorage(v int64) *OrderableReplicationInstance {
+ s.DefaultAllocatedStorage = &v
+ return s
+}
+
+// SetEngineVersion sets the EngineVersion field's value.
+func (s *OrderableReplicationInstance) SetEngineVersion(v string) *OrderableReplicationInstance {
+ s.EngineVersion = &v
+ return s
+}
+
+// SetIncludedAllocatedStorage sets the IncludedAllocatedStorage field's value.
+func (s *OrderableReplicationInstance) SetIncludedAllocatedStorage(v int64) *OrderableReplicationInstance {
+ s.IncludedAllocatedStorage = &v
+ return s
+}
+
+// SetMaxAllocatedStorage sets the MaxAllocatedStorage field's value.
+func (s *OrderableReplicationInstance) SetMaxAllocatedStorage(v int64) *OrderableReplicationInstance {
+ s.MaxAllocatedStorage = &v
+ return s
+}
+
+// SetMinAllocatedStorage sets the MinAllocatedStorage field's value.
+func (s *OrderableReplicationInstance) SetMinAllocatedStorage(v int64) *OrderableReplicationInstance {
+ s.MinAllocatedStorage = &v
+ return s
+}
+
+// SetReplicationInstanceClass sets the ReplicationInstanceClass field's value.
+func (s *OrderableReplicationInstance) SetReplicationInstanceClass(v string) *OrderableReplicationInstance {
+ s.ReplicationInstanceClass = &v
+ return s
+}
+
+// SetStorageType sets the StorageType field's value.
+func (s *OrderableReplicationInstance) SetStorageType(v string) *OrderableReplicationInstance {
+ s.StorageType = &v
+ return s
+}
+
type RefreshSchemasInput struct {
_ struct{} `type:"structure"`
@@ -4441,6 +5533,18 @@ func (s *RefreshSchemasInput) Validate() error {
return nil
}
+// SetEndpointArn sets the EndpointArn field's value.
+func (s *RefreshSchemasInput) SetEndpointArn(v string) *RefreshSchemasInput {
+ s.EndpointArn = &v
+ return s
+}
+
+// SetReplicationInstanceArn sets the ReplicationInstanceArn field's value.
+func (s *RefreshSchemasInput) SetReplicationInstanceArn(v string) *RefreshSchemasInput {
+ s.ReplicationInstanceArn = &v
+ return s
+}
+
type RefreshSchemasOutput struct {
_ struct{} `type:"structure"`
@@ -4458,6 +5562,12 @@ func (s RefreshSchemasOutput) GoString() string {
return s.String()
}
+// SetRefreshSchemasStatus sets the RefreshSchemasStatus field's value.
+func (s *RefreshSchemasOutput) SetRefreshSchemasStatus(v *RefreshSchemasStatus) *RefreshSchemasOutput {
+ s.RefreshSchemasStatus = v
+ return s
+}
+
type RefreshSchemasStatus struct {
_ struct{} `type:"structure"`
@@ -4487,6 +5597,36 @@ func (s RefreshSchemasStatus) GoString() string {
return s.String()
}
+// SetEndpointArn sets the EndpointArn field's value.
+func (s *RefreshSchemasStatus) SetEndpointArn(v string) *RefreshSchemasStatus {
+ s.EndpointArn = &v
+ return s
+}
+
+// SetLastFailureMessage sets the LastFailureMessage field's value.
+func (s *RefreshSchemasStatus) SetLastFailureMessage(v string) *RefreshSchemasStatus {
+ s.LastFailureMessage = &v
+ return s
+}
+
+// SetLastRefreshDate sets the LastRefreshDate field's value.
+func (s *RefreshSchemasStatus) SetLastRefreshDate(v time.Time) *RefreshSchemasStatus {
+ s.LastRefreshDate = &v
+ return s
+}
+
+// SetReplicationInstanceArn sets the ReplicationInstanceArn field's value.
+func (s *RefreshSchemasStatus) SetReplicationInstanceArn(v string) *RefreshSchemasStatus {
+ s.ReplicationInstanceArn = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *RefreshSchemasStatus) SetStatus(v string) *RefreshSchemasStatus {
+ s.Status = &v
+ return s
+}
+
type RemoveTagsFromResourceInput struct {
_ struct{} `type:"structure"`
@@ -4528,6 +5668,18 @@ func (s *RemoveTagsFromResourceInput) Validate() error {
return nil
}
+// SetResourceArn sets the ResourceArn field's value.
+func (s *RemoveTagsFromResourceInput) SetResourceArn(v string) *RemoveTagsFromResourceInput {
+ s.ResourceArn = &v
+ return s
+}
+
+// SetTagKeys sets the TagKeys field's value.
+func (s *RemoveTagsFromResourceInput) SetTagKeys(v []*string) *RemoveTagsFromResourceInput {
+ s.TagKeys = v
+ return s
+}
+
type RemoveTagsFromResourceOutput struct {
_ struct{} `type:"structure"`
}
@@ -4639,6 +5791,126 @@ func (s ReplicationInstance) GoString() string {
return s.String()
}
+// SetAllocatedStorage sets the AllocatedStorage field's value.
+func (s *ReplicationInstance) SetAllocatedStorage(v int64) *ReplicationInstance {
+ s.AllocatedStorage = &v
+ return s
+}
+
+// SetAutoMinorVersionUpgrade sets the AutoMinorVersionUpgrade field's value.
+func (s *ReplicationInstance) SetAutoMinorVersionUpgrade(v bool) *ReplicationInstance {
+ s.AutoMinorVersionUpgrade = &v
+ return s
+}
+
+// SetAvailabilityZone sets the AvailabilityZone field's value.
+func (s *ReplicationInstance) SetAvailabilityZone(v string) *ReplicationInstance {
+ s.AvailabilityZone = &v
+ return s
+}
+
+// SetEngineVersion sets the EngineVersion field's value.
+func (s *ReplicationInstance) SetEngineVersion(v string) *ReplicationInstance {
+ s.EngineVersion = &v
+ return s
+}
+
+// SetInstanceCreateTime sets the InstanceCreateTime field's value.
+func (s *ReplicationInstance) SetInstanceCreateTime(v time.Time) *ReplicationInstance {
+ s.InstanceCreateTime = &v
+ return s
+}
+
+// SetKmsKeyId sets the KmsKeyId field's value.
+func (s *ReplicationInstance) SetKmsKeyId(v string) *ReplicationInstance {
+ s.KmsKeyId = &v
+ return s
+}
+
+// SetMultiAZ sets the MultiAZ field's value.
+func (s *ReplicationInstance) SetMultiAZ(v bool) *ReplicationInstance {
+ s.MultiAZ = &v
+ return s
+}
+
+// SetPendingModifiedValues sets the PendingModifiedValues field's value.
+func (s *ReplicationInstance) SetPendingModifiedValues(v *ReplicationPendingModifiedValues) *ReplicationInstance {
+ s.PendingModifiedValues = v
+ return s
+}
+
+// SetPreferredMaintenanceWindow sets the PreferredMaintenanceWindow field's value.
+func (s *ReplicationInstance) SetPreferredMaintenanceWindow(v string) *ReplicationInstance {
+ s.PreferredMaintenanceWindow = &v
+ return s
+}
+
+// SetPubliclyAccessible sets the PubliclyAccessible field's value.
+func (s *ReplicationInstance) SetPubliclyAccessible(v bool) *ReplicationInstance {
+ s.PubliclyAccessible = &v
+ return s
+}
+
+// SetReplicationInstanceArn sets the ReplicationInstanceArn field's value.
+func (s *ReplicationInstance) SetReplicationInstanceArn(v string) *ReplicationInstance {
+ s.ReplicationInstanceArn = &v
+ return s
+}
+
+// SetReplicationInstanceClass sets the ReplicationInstanceClass field's value.
+func (s *ReplicationInstance) SetReplicationInstanceClass(v string) *ReplicationInstance {
+ s.ReplicationInstanceClass = &v
+ return s
+}
+
+// SetReplicationInstanceIdentifier sets the ReplicationInstanceIdentifier field's value.
+func (s *ReplicationInstance) SetReplicationInstanceIdentifier(v string) *ReplicationInstance {
+ s.ReplicationInstanceIdentifier = &v
+ return s
+}
+
+// SetReplicationInstancePrivateIpAddress sets the ReplicationInstancePrivateIpAddress field's value.
+func (s *ReplicationInstance) SetReplicationInstancePrivateIpAddress(v string) *ReplicationInstance {
+ s.ReplicationInstancePrivateIpAddress = &v
+ return s
+}
+
+// SetReplicationInstancePrivateIpAddresses sets the ReplicationInstancePrivateIpAddresses field's value.
+func (s *ReplicationInstance) SetReplicationInstancePrivateIpAddresses(v []*string) *ReplicationInstance {
+ s.ReplicationInstancePrivateIpAddresses = v
+ return s
+}
+
+// SetReplicationInstancePublicIpAddress sets the ReplicationInstancePublicIpAddress field's value.
+func (s *ReplicationInstance) SetReplicationInstancePublicIpAddress(v string) *ReplicationInstance {
+ s.ReplicationInstancePublicIpAddress = &v
+ return s
+}
+
+// SetReplicationInstancePublicIpAddresses sets the ReplicationInstancePublicIpAddresses field's value.
+func (s *ReplicationInstance) SetReplicationInstancePublicIpAddresses(v []*string) *ReplicationInstance {
+ s.ReplicationInstancePublicIpAddresses = v
+ return s
+}
+
+// SetReplicationInstanceStatus sets the ReplicationInstanceStatus field's value.
+func (s *ReplicationInstance) SetReplicationInstanceStatus(v string) *ReplicationInstance {
+ s.ReplicationInstanceStatus = &v
+ return s
+}
+
+// SetReplicationSubnetGroup sets the ReplicationSubnetGroup field's value.
+func (s *ReplicationInstance) SetReplicationSubnetGroup(v *ReplicationSubnetGroup) *ReplicationInstance {
+ s.ReplicationSubnetGroup = v
+ return s
+}
+
+// SetVpcSecurityGroups sets the VpcSecurityGroups field's value.
+func (s *ReplicationInstance) SetVpcSecurityGroups(v []*VpcSecurityGroupMembership) *ReplicationInstance {
+ s.VpcSecurityGroups = v
+ return s
+}
+
type ReplicationPendingModifiedValues struct {
_ struct{} `type:"structure"`
@@ -4670,6 +5942,30 @@ func (s ReplicationPendingModifiedValues) GoString() string {
return s.String()
}
+// SetAllocatedStorage sets the AllocatedStorage field's value.
+func (s *ReplicationPendingModifiedValues) SetAllocatedStorage(v int64) *ReplicationPendingModifiedValues {
+ s.AllocatedStorage = &v
+ return s
+}
+
+// SetEngineVersion sets the EngineVersion field's value.
+func (s *ReplicationPendingModifiedValues) SetEngineVersion(v string) *ReplicationPendingModifiedValues {
+ s.EngineVersion = &v
+ return s
+}
+
+// SetMultiAZ sets the MultiAZ field's value.
+func (s *ReplicationPendingModifiedValues) SetMultiAZ(v bool) *ReplicationPendingModifiedValues {
+ s.MultiAZ = &v
+ return s
+}
+
+// SetReplicationInstanceClass sets the ReplicationInstanceClass field's value.
+func (s *ReplicationPendingModifiedValues) SetReplicationInstanceClass(v string) *ReplicationPendingModifiedValues {
+ s.ReplicationInstanceClass = &v
+ return s
+}
+
type ReplicationSubnetGroup struct {
_ struct{} `type:"structure"`
@@ -4699,6 +5995,36 @@ func (s ReplicationSubnetGroup) GoString() string {
return s.String()
}
+// SetReplicationSubnetGroupDescription sets the ReplicationSubnetGroupDescription field's value.
+func (s *ReplicationSubnetGroup) SetReplicationSubnetGroupDescription(v string) *ReplicationSubnetGroup {
+ s.ReplicationSubnetGroupDescription = &v
+ return s
+}
+
+// SetReplicationSubnetGroupIdentifier sets the ReplicationSubnetGroupIdentifier field's value.
+func (s *ReplicationSubnetGroup) SetReplicationSubnetGroupIdentifier(v string) *ReplicationSubnetGroup {
+ s.ReplicationSubnetGroupIdentifier = &v
+ return s
+}
+
+// SetSubnetGroupStatus sets the SubnetGroupStatus field's value.
+func (s *ReplicationSubnetGroup) SetSubnetGroupStatus(v string) *ReplicationSubnetGroup {
+ s.SubnetGroupStatus = &v
+ return s
+}
+
+// SetSubnets sets the Subnets field's value.
+func (s *ReplicationSubnetGroup) SetSubnets(v []*Subnet) *ReplicationSubnetGroup {
+ s.Subnets = v
+ return s
+}
+
+// SetVpcId sets the VpcId field's value.
+func (s *ReplicationSubnetGroup) SetVpcId(v string) *ReplicationSubnetGroup {
+ s.VpcId = &v
+ return s
+}
+
type ReplicationTask struct {
_ struct{} `type:"structure"`
@@ -4761,6 +6087,84 @@ func (s ReplicationTask) GoString() string {
return s.String()
}
+// SetLastFailureMessage sets the LastFailureMessage field's value.
+func (s *ReplicationTask) SetLastFailureMessage(v string) *ReplicationTask {
+ s.LastFailureMessage = &v
+ return s
+}
+
+// SetMigrationType sets the MigrationType field's value.
+func (s *ReplicationTask) SetMigrationType(v string) *ReplicationTask {
+ s.MigrationType = &v
+ return s
+}
+
+// SetReplicationInstanceArn sets the ReplicationInstanceArn field's value.
+func (s *ReplicationTask) SetReplicationInstanceArn(v string) *ReplicationTask {
+ s.ReplicationInstanceArn = &v
+ return s
+}
+
+// SetReplicationTaskArn sets the ReplicationTaskArn field's value.
+func (s *ReplicationTask) SetReplicationTaskArn(v string) *ReplicationTask {
+ s.ReplicationTaskArn = &v
+ return s
+}
+
+// SetReplicationTaskCreationDate sets the ReplicationTaskCreationDate field's value.
+func (s *ReplicationTask) SetReplicationTaskCreationDate(v time.Time) *ReplicationTask {
+ s.ReplicationTaskCreationDate = &v
+ return s
+}
+
+// SetReplicationTaskIdentifier sets the ReplicationTaskIdentifier field's value.
+func (s *ReplicationTask) SetReplicationTaskIdentifier(v string) *ReplicationTask {
+ s.ReplicationTaskIdentifier = &v
+ return s
+}
+
+// SetReplicationTaskSettings sets the ReplicationTaskSettings field's value.
+func (s *ReplicationTask) SetReplicationTaskSettings(v string) *ReplicationTask {
+ s.ReplicationTaskSettings = &v
+ return s
+}
+
+// SetReplicationTaskStartDate sets the ReplicationTaskStartDate field's value.
+func (s *ReplicationTask) SetReplicationTaskStartDate(v time.Time) *ReplicationTask {
+ s.ReplicationTaskStartDate = &v
+ return s
+}
+
+// SetReplicationTaskStats sets the ReplicationTaskStats field's value.
+func (s *ReplicationTask) SetReplicationTaskStats(v *ReplicationTaskStats) *ReplicationTask {
+ s.ReplicationTaskStats = v
+ return s
+}
+
+// SetSourceEndpointArn sets the SourceEndpointArn field's value.
+func (s *ReplicationTask) SetSourceEndpointArn(v string) *ReplicationTask {
+ s.SourceEndpointArn = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *ReplicationTask) SetStatus(v string) *ReplicationTask {
+ s.Status = &v
+ return s
+}
+
+// SetTableMappings sets the TableMappings field's value.
+func (s *ReplicationTask) SetTableMappings(v string) *ReplicationTask {
+ s.TableMappings = &v
+ return s
+}
+
+// SetTargetEndpointArn sets the TargetEndpointArn field's value.
+func (s *ReplicationTask) SetTargetEndpointArn(v string) *ReplicationTask {
+ s.TargetEndpointArn = &v
+ return s
+}
+
type ReplicationTaskStats struct {
_ struct{} `type:"structure"`
@@ -4793,6 +6197,42 @@ func (s ReplicationTaskStats) GoString() string {
return s.String()
}
+// SetElapsedTimeMillis sets the ElapsedTimeMillis field's value.
+func (s *ReplicationTaskStats) SetElapsedTimeMillis(v int64) *ReplicationTaskStats {
+ s.ElapsedTimeMillis = &v
+ return s
+}
+
+// SetFullLoadProgressPercent sets the FullLoadProgressPercent field's value.
+func (s *ReplicationTaskStats) SetFullLoadProgressPercent(v int64) *ReplicationTaskStats {
+ s.FullLoadProgressPercent = &v
+ return s
+}
+
+// SetTablesErrored sets the TablesErrored field's value.
+func (s *ReplicationTaskStats) SetTablesErrored(v int64) *ReplicationTaskStats {
+ s.TablesErrored = &v
+ return s
+}
+
+// SetTablesLoaded sets the TablesLoaded field's value.
+func (s *ReplicationTaskStats) SetTablesLoaded(v int64) *ReplicationTaskStats {
+ s.TablesLoaded = &v
+ return s
+}
+
+// SetTablesLoading sets the TablesLoading field's value.
+func (s *ReplicationTaskStats) SetTablesLoading(v int64) *ReplicationTaskStats {
+ s.TablesLoading = &v
+ return s
+}
+
+// SetTablesQueued sets the TablesQueued field's value.
+func (s *ReplicationTaskStats) SetTablesQueued(v int64) *ReplicationTaskStats {
+ s.TablesQueued = &v
+ return s
+}
+
type StartReplicationTaskInput struct {
_ struct{} `type:"structure"`
@@ -4836,6 +6276,24 @@ func (s *StartReplicationTaskInput) Validate() error {
return nil
}
+// SetCdcStartTime sets the CdcStartTime field's value.
+func (s *StartReplicationTaskInput) SetCdcStartTime(v time.Time) *StartReplicationTaskInput {
+ s.CdcStartTime = &v
+ return s
+}
+
+// SetReplicationTaskArn sets the ReplicationTaskArn field's value.
+func (s *StartReplicationTaskInput) SetReplicationTaskArn(v string) *StartReplicationTaskInput {
+ s.ReplicationTaskArn = &v
+ return s
+}
+
+// SetStartReplicationTaskType sets the StartReplicationTaskType field's value.
+func (s *StartReplicationTaskInput) SetStartReplicationTaskType(v string) *StartReplicationTaskInput {
+ s.StartReplicationTaskType = &v
+ return s
+}
+
type StartReplicationTaskOutput struct {
_ struct{} `type:"structure"`
@@ -4853,6 +6311,12 @@ func (s StartReplicationTaskOutput) GoString() string {
return s.String()
}
+// SetReplicationTask sets the ReplicationTask field's value.
+func (s *StartReplicationTaskOutput) SetReplicationTask(v *ReplicationTask) *StartReplicationTaskOutput {
+ s.ReplicationTask = v
+ return s
+}
+
type StopReplicationTaskInput struct {
_ struct{} `type:"structure"`
@@ -4885,6 +6349,12 @@ func (s *StopReplicationTaskInput) Validate() error {
return nil
}
+// SetReplicationTaskArn sets the ReplicationTaskArn field's value.
+func (s *StopReplicationTaskInput) SetReplicationTaskArn(v string) *StopReplicationTaskInput {
+ s.ReplicationTaskArn = &v
+ return s
+}
+
type StopReplicationTaskOutput struct {
_ struct{} `type:"structure"`
@@ -4902,6 +6372,12 @@ func (s StopReplicationTaskOutput) GoString() string {
return s.String()
}
+// SetReplicationTask sets the ReplicationTask field's value.
+func (s *StopReplicationTaskOutput) SetReplicationTask(v *ReplicationTask) *StopReplicationTaskOutput {
+ s.ReplicationTask = v
+ return s
+}
+
type Subnet struct {
_ struct{} `type:"structure"`
@@ -4925,6 +6401,24 @@ func (s Subnet) GoString() string {
return s.String()
}
+// SetSubnetAvailabilityZone sets the SubnetAvailabilityZone field's value.
+func (s *Subnet) SetSubnetAvailabilityZone(v *AvailabilityZone) *Subnet {
+ s.SubnetAvailabilityZone = v
+ return s
+}
+
+// SetSubnetIdentifier sets the SubnetIdentifier field's value.
+func (s *Subnet) SetSubnetIdentifier(v string) *Subnet {
+ s.SubnetIdentifier = &v
+ return s
+}
+
+// SetSubnetStatus sets the SubnetStatus field's value.
+func (s *Subnet) SetSubnetStatus(v string) *Subnet {
+ s.SubnetStatus = &v
+ return s
+}
+
type SupportedEndpointType struct {
_ struct{} `type:"structure"`
@@ -4948,6 +6442,24 @@ func (s SupportedEndpointType) GoString() string {
return s.String()
}
+// SetEndpointType sets the EndpointType field's value.
+func (s *SupportedEndpointType) SetEndpointType(v string) *SupportedEndpointType {
+ s.EndpointType = &v
+ return s
+}
+
+// SetEngineName sets the EngineName field's value.
+func (s *SupportedEndpointType) SetEngineName(v string) *SupportedEndpointType {
+ s.EngineName = &v
+ return s
+}
+
+// SetSupportsCDC sets the SupportsCDC field's value.
+func (s *SupportedEndpointType) SetSupportsCDC(v bool) *SupportedEndpointType {
+ s.SupportsCDC = &v
+ return s
+}
+
type TableStatistics struct {
_ struct{} `type:"structure"`
@@ -4990,6 +6502,60 @@ func (s TableStatistics) GoString() string {
return s.String()
}
+// SetDdls sets the Ddls field's value.
+func (s *TableStatistics) SetDdls(v int64) *TableStatistics {
+ s.Ddls = &v
+ return s
+}
+
+// SetDeletes sets the Deletes field's value.
+func (s *TableStatistics) SetDeletes(v int64) *TableStatistics {
+ s.Deletes = &v
+ return s
+}
+
+// SetFullLoadRows sets the FullLoadRows field's value.
+func (s *TableStatistics) SetFullLoadRows(v int64) *TableStatistics {
+ s.FullLoadRows = &v
+ return s
+}
+
+// SetInserts sets the Inserts field's value.
+func (s *TableStatistics) SetInserts(v int64) *TableStatistics {
+ s.Inserts = &v
+ return s
+}
+
+// SetLastUpdateTime sets the LastUpdateTime field's value.
+func (s *TableStatistics) SetLastUpdateTime(v time.Time) *TableStatistics {
+ s.LastUpdateTime = &v
+ return s
+}
+
+// SetSchemaName sets the SchemaName field's value.
+func (s *TableStatistics) SetSchemaName(v string) *TableStatistics {
+ s.SchemaName = &v
+ return s
+}
+
+// SetTableName sets the TableName field's value.
+func (s *TableStatistics) SetTableName(v string) *TableStatistics {
+ s.TableName = &v
+ return s
+}
+
+// SetTableState sets the TableState field's value.
+func (s *TableStatistics) SetTableState(v string) *TableStatistics {
+ s.TableState = &v
+ return s
+}
+
+// SetUpdates sets the Updates field's value.
+func (s *TableStatistics) SetUpdates(v int64) *TableStatistics {
+ s.Updates = &v
+ return s
+}
+
type Tag struct {
_ struct{} `type:"structure"`
@@ -5016,6 +6582,18 @@ 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
+}
+
type TestConnectionInput struct {
_ struct{} `type:"structure"`
@@ -5056,6 +6634,18 @@ func (s *TestConnectionInput) Validate() error {
return nil
}
+// SetEndpointArn sets the EndpointArn field's value.
+func (s *TestConnectionInput) SetEndpointArn(v string) *TestConnectionInput {
+ s.EndpointArn = &v
+ return s
+}
+
+// SetReplicationInstanceArn sets the ReplicationInstanceArn field's value.
+func (s *TestConnectionInput) SetReplicationInstanceArn(v string) *TestConnectionInput {
+ s.ReplicationInstanceArn = &v
+ return s
+}
+
type TestConnectionOutput struct {
_ struct{} `type:"structure"`
@@ -5073,6 +6663,12 @@ func (s TestConnectionOutput) GoString() string {
return s.String()
}
+// SetConnection sets the Connection field's value.
+func (s *TestConnectionOutput) SetConnection(v *Connection) *TestConnectionOutput {
+ s.Connection = v
+ return s
+}
+
type VpcSecurityGroupMembership struct {
_ struct{} `type:"structure"`
@@ -5093,6 +6689,18 @@ func (s VpcSecurityGroupMembership) GoString() string {
return s.String()
}
+// SetStatus sets the Status field's value.
+func (s *VpcSecurityGroupMembership) SetStatus(v string) *VpcSecurityGroupMembership {
+ s.Status = &v
+ return s
+}
+
+// SetVpcSecurityGroupId sets the VpcSecurityGroupId field's value.
+func (s *VpcSecurityGroupMembership) SetVpcSecurityGroupId(v string) *VpcSecurityGroupMembership {
+ s.VpcSecurityGroupId = &v
+ return s
+}
+
const (
// DmsSslModeValueNone is a DmsSslModeValue enum value
DmsSslModeValueNone = "none"
diff --git a/vendor/github.com/aws/aws-sdk-go/service/datapipeline/api.go b/vendor/github.com/aws/aws-sdk-go/service/datapipeline/api.go
index 1cd0e20..0bf3be5 100644
--- a/vendor/github.com/aws/aws-sdk-go/service/datapipeline/api.go
+++ b/vendor/github.com/aws/aws-sdk-go/service/datapipeline/api.go
@@ -1673,6 +1673,24 @@ func (s *ActivatePipelineInput) Validate() error {
return nil
}
+// SetParameterValues sets the ParameterValues field's value.
+func (s *ActivatePipelineInput) SetParameterValues(v []*ParameterValue) *ActivatePipelineInput {
+ s.ParameterValues = v
+ return s
+}
+
+// SetPipelineId sets the PipelineId field's value.
+func (s *ActivatePipelineInput) SetPipelineId(v string) *ActivatePipelineInput {
+ s.PipelineId = &v
+ return s
+}
+
+// SetStartTimestamp sets the StartTimestamp field's value.
+func (s *ActivatePipelineInput) SetStartTimestamp(v time.Time) *ActivatePipelineInput {
+ s.StartTimestamp = &v
+ return s
+}
+
// Contains the output of ActivatePipeline.
type ActivatePipelineOutput struct {
_ struct{} `type:"structure"`
@@ -1742,6 +1760,18 @@ func (s *AddTagsInput) Validate() error {
return nil
}
+// SetPipelineId sets the PipelineId field's value.
+func (s *AddTagsInput) SetPipelineId(v string) *AddTagsInput {
+ s.PipelineId = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *AddTagsInput) SetTags(v []*Tag) *AddTagsInput {
+ s.Tags = v
+ return s
+}
+
// Contains the output of AddTags.
type AddTagsOutput struct {
_ struct{} `type:"structure"`
@@ -1835,6 +1865,30 @@ func (s *CreatePipelineInput) Validate() error {
return nil
}
+// SetDescription sets the Description field's value.
+func (s *CreatePipelineInput) SetDescription(v string) *CreatePipelineInput {
+ s.Description = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *CreatePipelineInput) SetName(v string) *CreatePipelineInput {
+ s.Name = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *CreatePipelineInput) SetTags(v []*Tag) *CreatePipelineInput {
+ s.Tags = v
+ return s
+}
+
+// SetUniqueId sets the UniqueId field's value.
+func (s *CreatePipelineInput) SetUniqueId(v string) *CreatePipelineInput {
+ s.UniqueId = &v
+ return s
+}
+
// Contains the output of CreatePipeline.
type CreatePipelineOutput struct {
_ struct{} `type:"structure"`
@@ -1856,6 +1910,12 @@ func (s CreatePipelineOutput) GoString() string {
return s.String()
}
+// SetPipelineId sets the PipelineId field's value.
+func (s *CreatePipelineOutput) SetPipelineId(v string) *CreatePipelineOutput {
+ s.PipelineId = &v
+ return s
+}
+
// Contains the parameters for DeactivatePipeline.
type DeactivatePipelineInput struct {
_ struct{} `type:"structure"`
@@ -1897,6 +1957,18 @@ func (s *DeactivatePipelineInput) Validate() error {
return nil
}
+// SetCancelActive sets the CancelActive field's value.
+func (s *DeactivatePipelineInput) SetCancelActive(v bool) *DeactivatePipelineInput {
+ s.CancelActive = &v
+ return s
+}
+
+// SetPipelineId sets the PipelineId field's value.
+func (s *DeactivatePipelineInput) SetPipelineId(v string) *DeactivatePipelineInput {
+ s.PipelineId = &v
+ return s
+}
+
// Contains the output of DeactivatePipeline.
type DeactivatePipelineOutput struct {
_ struct{} `type:"structure"`
@@ -1948,6 +2020,12 @@ func (s *DeletePipelineInput) Validate() error {
return nil
}
+// SetPipelineId sets the PipelineId field's value.
+func (s *DeletePipelineInput) SetPipelineId(v string) *DeletePipelineInput {
+ s.PipelineId = &v
+ return s
+}
+
type DeletePipelineOutput struct {
_ struct{} `type:"structure"`
}
@@ -2017,6 +2095,30 @@ func (s *DescribeObjectsInput) Validate() error {
return nil
}
+// SetEvaluateExpressions sets the EvaluateExpressions field's value.
+func (s *DescribeObjectsInput) SetEvaluateExpressions(v bool) *DescribeObjectsInput {
+ s.EvaluateExpressions = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeObjectsInput) SetMarker(v string) *DescribeObjectsInput {
+ s.Marker = &v
+ return s
+}
+
+// SetObjectIds sets the ObjectIds field's value.
+func (s *DescribeObjectsInput) SetObjectIds(v []*string) *DescribeObjectsInput {
+ s.ObjectIds = v
+ return s
+}
+
+// SetPipelineId sets the PipelineId field's value.
+func (s *DescribeObjectsInput) SetPipelineId(v string) *DescribeObjectsInput {
+ s.PipelineId = &v
+ return s
+}
+
// Contains the output of DescribeObjects.
type DescribeObjectsOutput struct {
_ struct{} `type:"structure"`
@@ -2045,6 +2147,24 @@ func (s DescribeObjectsOutput) GoString() string {
return s.String()
}
+// SetHasMoreResults sets the HasMoreResults field's value.
+func (s *DescribeObjectsOutput) SetHasMoreResults(v bool) *DescribeObjectsOutput {
+ s.HasMoreResults = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeObjectsOutput) SetMarker(v string) *DescribeObjectsOutput {
+ s.Marker = &v
+ return s
+}
+
+// SetPipelineObjects sets the PipelineObjects field's value.
+func (s *DescribeObjectsOutput) SetPipelineObjects(v []*PipelineObject) *DescribeObjectsOutput {
+ s.PipelineObjects = v
+ return s
+}
+
// Contains the parameters for DescribePipelines.
type DescribePipelinesInput struct {
_ struct{} `type:"structure"`
@@ -2079,6 +2199,12 @@ func (s *DescribePipelinesInput) Validate() error {
return nil
}
+// SetPipelineIds sets the PipelineIds field's value.
+func (s *DescribePipelinesInput) SetPipelineIds(v []*string) *DescribePipelinesInput {
+ s.PipelineIds = v
+ return s
+}
+
// Contains the output of DescribePipelines.
type DescribePipelinesOutput struct {
_ struct{} `type:"structure"`
@@ -2099,6 +2225,12 @@ func (s DescribePipelinesOutput) GoString() string {
return s.String()
}
+// SetPipelineDescriptionList sets the PipelineDescriptionList field's value.
+func (s *DescribePipelinesOutput) SetPipelineDescriptionList(v []*PipelineDescription) *DescribePipelinesOutput {
+ s.PipelineDescriptionList = v
+ return s
+}
+
// Contains the parameters for EvaluateExpression.
type EvaluateExpressionInput struct {
_ struct{} `type:"structure"`
@@ -2154,6 +2286,24 @@ func (s *EvaluateExpressionInput) Validate() error {
return nil
}
+// SetExpression sets the Expression field's value.
+func (s *EvaluateExpressionInput) SetExpression(v string) *EvaluateExpressionInput {
+ s.Expression = &v
+ return s
+}
+
+// SetObjectId sets the ObjectId field's value.
+func (s *EvaluateExpressionInput) SetObjectId(v string) *EvaluateExpressionInput {
+ s.ObjectId = &v
+ return s
+}
+
+// SetPipelineId sets the PipelineId field's value.
+func (s *EvaluateExpressionInput) SetPipelineId(v string) *EvaluateExpressionInput {
+ s.PipelineId = &v
+ return s
+}
+
// Contains the output of EvaluateExpression.
type EvaluateExpressionOutput struct {
_ struct{} `type:"structure"`
@@ -2174,6 +2324,12 @@ func (s EvaluateExpressionOutput) GoString() string {
return s.String()
}
+// SetEvaluatedExpression sets the EvaluatedExpression field's value.
+func (s *EvaluateExpressionOutput) SetEvaluatedExpression(v string) *EvaluateExpressionOutput {
+ s.EvaluatedExpression = &v
+ return s
+}
+
// A key-value pair that describes a property of a pipeline object. The value
// is specified as either a string value (StringValue) or a reference to another
// object (RefValue) but not as both.
@@ -2221,6 +2377,24 @@ func (s *Field) Validate() error {
return nil
}
+// SetKey sets the Key field's value.
+func (s *Field) SetKey(v string) *Field {
+ s.Key = &v
+ return s
+}
+
+// SetRefValue sets the RefValue field's value.
+func (s *Field) SetRefValue(v string) *Field {
+ s.RefValue = &v
+ return s
+}
+
+// SetStringValue sets the StringValue field's value.
+func (s *Field) SetStringValue(v string) *Field {
+ s.StringValue = &v
+ return s
+}
+
// Contains the parameters for GetPipelineDefinition.
type GetPipelineDefinitionInput struct {
_ struct{} `type:"structure"`
@@ -2262,6 +2436,18 @@ func (s *GetPipelineDefinitionInput) Validate() error {
return nil
}
+// SetPipelineId sets the PipelineId field's value.
+func (s *GetPipelineDefinitionInput) SetPipelineId(v string) *GetPipelineDefinitionInput {
+ s.PipelineId = &v
+ return s
+}
+
+// SetVersion sets the Version field's value.
+func (s *GetPipelineDefinitionInput) SetVersion(v string) *GetPipelineDefinitionInput {
+ s.Version = &v
+ return s
+}
+
// Contains the output of GetPipelineDefinition.
type GetPipelineDefinitionOutput struct {
_ struct{} `type:"structure"`
@@ -2286,6 +2472,24 @@ func (s GetPipelineDefinitionOutput) GoString() string {
return s.String()
}
+// SetParameterObjects sets the ParameterObjects field's value.
+func (s *GetPipelineDefinitionOutput) SetParameterObjects(v []*ParameterObject) *GetPipelineDefinitionOutput {
+ s.ParameterObjects = v
+ return s
+}
+
+// SetParameterValues sets the ParameterValues field's value.
+func (s *GetPipelineDefinitionOutput) SetParameterValues(v []*ParameterValue) *GetPipelineDefinitionOutput {
+ s.ParameterValues = v
+ return s
+}
+
+// SetPipelineObjects sets the PipelineObjects field's value.
+func (s *GetPipelineDefinitionOutput) SetPipelineObjects(v []*PipelineObject) *GetPipelineDefinitionOutput {
+ s.PipelineObjects = v
+ return s
+}
+
// Identity information for the EC2 instance that is hosting the task runner.
// You can get this value by calling a metadata URI from the EC2 instance. For
// more information, see Instance Metadata (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AESDG-chapter-instancedata.html)
@@ -2315,6 +2519,18 @@ func (s InstanceIdentity) GoString() string {
return s.String()
}
+// SetDocument sets the Document field's value.
+func (s *InstanceIdentity) SetDocument(v string) *InstanceIdentity {
+ s.Document = &v
+ return s
+}
+
+// SetSignature sets the Signature field's value.
+func (s *InstanceIdentity) SetSignature(v string) *InstanceIdentity {
+ s.Signature = &v
+ return s
+}
+
// Contains the parameters for ListPipelines.
type ListPipelinesInput struct {
_ struct{} `type:"structure"`
@@ -2336,6 +2552,12 @@ func (s ListPipelinesInput) GoString() string {
return s.String()
}
+// SetMarker sets the Marker field's value.
+func (s *ListPipelinesInput) SetMarker(v string) *ListPipelinesInput {
+ s.Marker = &v
+ return s
+}
+
// Contains the output of ListPipelines.
type ListPipelinesOutput struct {
_ struct{} `type:"structure"`
@@ -2366,6 +2588,24 @@ func (s ListPipelinesOutput) GoString() string {
return s.String()
}
+// SetHasMoreResults sets the HasMoreResults field's value.
+func (s *ListPipelinesOutput) SetHasMoreResults(v bool) *ListPipelinesOutput {
+ s.HasMoreResults = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *ListPipelinesOutput) SetMarker(v string) *ListPipelinesOutput {
+ s.Marker = &v
+ return s
+}
+
+// SetPipelineIdList sets the PipelineIdList field's value.
+func (s *ListPipelinesOutput) SetPipelineIdList(v []*PipelineIdName) *ListPipelinesOutput {
+ s.PipelineIdList = v
+ return s
+}
+
// Contains a logical operation for comparing the value of a field with a specified
// value.
type Operator struct {
@@ -2416,6 +2656,18 @@ func (s Operator) GoString() string {
return s.String()
}
+// SetType sets the Type field's value.
+func (s *Operator) SetType(v string) *Operator {
+ s.Type = &v
+ return s
+}
+
+// SetValues sets the Values field's value.
+func (s *Operator) SetValues(v []*string) *Operator {
+ s.Values = v
+ return s
+}
+
// The attributes allowed or specified with a parameter object.
type ParameterAttribute struct {
_ struct{} `type:"structure"`
@@ -2460,6 +2712,18 @@ func (s *ParameterAttribute) Validate() error {
return nil
}
+// SetKey sets the Key field's value.
+func (s *ParameterAttribute) SetKey(v string) *ParameterAttribute {
+ s.Key = &v
+ return s
+}
+
+// SetStringValue sets the StringValue field's value.
+func (s *ParameterAttribute) SetStringValue(v string) *ParameterAttribute {
+ s.StringValue = &v
+ return s
+}
+
// Contains information about a parameter object.
type ParameterObject struct {
_ struct{} `type:"structure"`
@@ -2514,6 +2778,18 @@ func (s *ParameterObject) Validate() error {
return nil
}
+// SetAttributes sets the Attributes field's value.
+func (s *ParameterObject) SetAttributes(v []*ParameterAttribute) *ParameterObject {
+ s.Attributes = v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *ParameterObject) SetId(v string) *ParameterObject {
+ s.Id = &v
+ return s
+}
+
// A value or list of parameter values.
type ParameterValue struct {
_ struct{} `type:"structure"`
@@ -2558,6 +2834,18 @@ func (s *ParameterValue) Validate() error {
return nil
}
+// SetId sets the Id field's value.
+func (s *ParameterValue) SetId(v string) *ParameterValue {
+ s.Id = &v
+ return s
+}
+
+// SetStringValue sets the StringValue field's value.
+func (s *ParameterValue) SetStringValue(v string) *ParameterValue {
+ s.StringValue = &v
+ return s
+}
+
// Contains pipeline metadata.
type PipelineDescription struct {
_ struct{} `type:"structure"`
@@ -2599,6 +2887,36 @@ func (s PipelineDescription) GoString() string {
return s.String()
}
+// SetDescription sets the Description field's value.
+func (s *PipelineDescription) SetDescription(v string) *PipelineDescription {
+ s.Description = &v
+ return s
+}
+
+// SetFields sets the Fields field's value.
+func (s *PipelineDescription) SetFields(v []*Field) *PipelineDescription {
+ s.Fields = v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *PipelineDescription) SetName(v string) *PipelineDescription {
+ s.Name = &v
+ return s
+}
+
+// SetPipelineId sets the PipelineId field's value.
+func (s *PipelineDescription) SetPipelineId(v string) *PipelineDescription {
+ s.PipelineId = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *PipelineDescription) SetTags(v []*Tag) *PipelineDescription {
+ s.Tags = v
+ return s
+}
+
// Contains the name and identifier of a pipeline.
type PipelineIdName struct {
_ struct{} `type:"structure"`
@@ -2621,6 +2939,18 @@ func (s PipelineIdName) GoString() string {
return s.String()
}
+// SetId sets the Id field's value.
+func (s *PipelineIdName) SetId(v string) *PipelineIdName {
+ s.Id = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *PipelineIdName) SetName(v string) *PipelineIdName {
+ s.Name = &v
+ return s
+}
+
// Contains information about a pipeline object. This can be a logical, physical,
// or physical attempt pipeline object. The complete set of components of a
// pipeline defines the pipeline.
@@ -2688,6 +3018,24 @@ func (s *PipelineObject) Validate() error {
return nil
}
+// SetFields sets the Fields field's value.
+func (s *PipelineObject) SetFields(v []*Field) *PipelineObject {
+ s.Fields = v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *PipelineObject) SetId(v string) *PipelineObject {
+ s.Id = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *PipelineObject) SetName(v string) *PipelineObject {
+ s.Name = &v
+ return s
+}
+
// Contains the parameters for PollForTask.
type PollForTaskInput struct {
_ struct{} `type:"structure"`
@@ -2739,6 +3087,24 @@ func (s *PollForTaskInput) Validate() error {
return nil
}
+// SetHostname sets the Hostname field's value.
+func (s *PollForTaskInput) SetHostname(v string) *PollForTaskInput {
+ s.Hostname = &v
+ return s
+}
+
+// SetInstanceIdentity sets the InstanceIdentity field's value.
+func (s *PollForTaskInput) SetInstanceIdentity(v *InstanceIdentity) *PollForTaskInput {
+ s.InstanceIdentity = v
+ return s
+}
+
+// SetWorkerGroup sets the WorkerGroup field's value.
+func (s *PollForTaskInput) SetWorkerGroup(v string) *PollForTaskInput {
+ s.WorkerGroup = &v
+ return s
+}
+
// Contains the output of PollForTask.
type PollForTaskOutput struct {
_ struct{} `type:"structure"`
@@ -2760,6 +3126,12 @@ func (s PollForTaskOutput) GoString() string {
return s.String()
}
+// SetTaskObject sets the TaskObject field's value.
+func (s *PollForTaskOutput) SetTaskObject(v *TaskObject) *PollForTaskOutput {
+ s.TaskObject = v
+ return s
+}
+
// Contains the parameters for PutPipelineDefinition.
type PutPipelineDefinitionInput struct {
_ struct{} `type:"structure"`
@@ -2841,6 +3213,30 @@ func (s *PutPipelineDefinitionInput) Validate() error {
return nil
}
+// SetParameterObjects sets the ParameterObjects field's value.
+func (s *PutPipelineDefinitionInput) SetParameterObjects(v []*ParameterObject) *PutPipelineDefinitionInput {
+ s.ParameterObjects = v
+ return s
+}
+
+// SetParameterValues sets the ParameterValues field's value.
+func (s *PutPipelineDefinitionInput) SetParameterValues(v []*ParameterValue) *PutPipelineDefinitionInput {
+ s.ParameterValues = v
+ return s
+}
+
+// SetPipelineId sets the PipelineId field's value.
+func (s *PutPipelineDefinitionInput) SetPipelineId(v string) *PutPipelineDefinitionInput {
+ s.PipelineId = &v
+ return s
+}
+
+// SetPipelineObjects sets the PipelineObjects field's value.
+func (s *PutPipelineDefinitionInput) SetPipelineObjects(v []*PipelineObject) *PutPipelineDefinitionInput {
+ s.PipelineObjects = v
+ return s
+}
+
// Contains the output of PutPipelineDefinition.
type PutPipelineDefinitionOutput struct {
_ struct{} `type:"structure"`
@@ -2869,6 +3265,24 @@ func (s PutPipelineDefinitionOutput) GoString() string {
return s.String()
}
+// SetErrored sets the Errored field's value.
+func (s *PutPipelineDefinitionOutput) SetErrored(v bool) *PutPipelineDefinitionOutput {
+ s.Errored = &v
+ return s
+}
+
+// SetValidationErrors sets the ValidationErrors field's value.
+func (s *PutPipelineDefinitionOutput) SetValidationErrors(v []*ValidationError) *PutPipelineDefinitionOutput {
+ s.ValidationErrors = v
+ return s
+}
+
+// SetValidationWarnings sets the ValidationWarnings field's value.
+func (s *PutPipelineDefinitionOutput) SetValidationWarnings(v []*ValidationWarning) *PutPipelineDefinitionOutput {
+ s.ValidationWarnings = v
+ return s
+}
+
// Defines the query to run against an object.
type Query struct {
_ struct{} `type:"structure"`
@@ -2888,6 +3302,12 @@ func (s Query) GoString() string {
return s.String()
}
+// SetSelectors sets the Selectors field's value.
+func (s *Query) SetSelectors(v []*Selector) *Query {
+ s.Selectors = v
+ return s
+}
+
// Contains the parameters for QueryObjects.
type QueryObjectsInput struct {
_ struct{} `type:"structure"`
@@ -2949,6 +3369,36 @@ func (s *QueryObjectsInput) Validate() error {
return nil
}
+// SetLimit sets the Limit field's value.
+func (s *QueryObjectsInput) SetLimit(v int64) *QueryObjectsInput {
+ s.Limit = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *QueryObjectsInput) SetMarker(v string) *QueryObjectsInput {
+ s.Marker = &v
+ return s
+}
+
+// SetPipelineId sets the PipelineId field's value.
+func (s *QueryObjectsInput) SetPipelineId(v string) *QueryObjectsInput {
+ s.PipelineId = &v
+ return s
+}
+
+// SetQuery sets the Query field's value.
+func (s *QueryObjectsInput) SetQuery(v *Query) *QueryObjectsInput {
+ s.Query = v
+ return s
+}
+
+// SetSphere sets the Sphere field's value.
+func (s *QueryObjectsInput) SetSphere(v string) *QueryObjectsInput {
+ s.Sphere = &v
+ return s
+}
+
// Contains the output of QueryObjects.
type QueryObjectsOutput struct {
_ struct{} `type:"structure"`
@@ -2976,6 +3426,24 @@ func (s QueryObjectsOutput) GoString() string {
return s.String()
}
+// SetHasMoreResults sets the HasMoreResults field's value.
+func (s *QueryObjectsOutput) SetHasMoreResults(v bool) *QueryObjectsOutput {
+ s.HasMoreResults = &v
+ return s
+}
+
+// SetIds sets the Ids field's value.
+func (s *QueryObjectsOutput) SetIds(v []*string) *QueryObjectsOutput {
+ s.Ids = v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *QueryObjectsOutput) SetMarker(v string) *QueryObjectsOutput {
+ s.Marker = &v
+ return s
+}
+
// Contains the parameters for RemoveTags.
type RemoveTagsInput struct {
_ struct{} `type:"structure"`
@@ -3020,6 +3488,18 @@ func (s *RemoveTagsInput) Validate() error {
return nil
}
+// SetPipelineId sets the PipelineId field's value.
+func (s *RemoveTagsInput) SetPipelineId(v string) *RemoveTagsInput {
+ s.PipelineId = &v
+ return s
+}
+
+// SetTagKeys sets the TagKeys field's value.
+func (s *RemoveTagsInput) SetTagKeys(v []*string) *RemoveTagsInput {
+ s.TagKeys = v
+ return s
+}
+
// Contains the output of RemoveTags.
type RemoveTagsOutput struct {
_ struct{} `type:"structure"`
@@ -3086,6 +3566,18 @@ func (s *ReportTaskProgressInput) Validate() error {
return nil
}
+// SetFields sets the Fields field's value.
+func (s *ReportTaskProgressInput) SetFields(v []*Field) *ReportTaskProgressInput {
+ s.Fields = v
+ return s
+}
+
+// SetTaskId sets the TaskId field's value.
+func (s *ReportTaskProgressInput) SetTaskId(v string) *ReportTaskProgressInput {
+ s.TaskId = &v
+ return s
+}
+
// Contains the output of ReportTaskProgress.
type ReportTaskProgressOutput struct {
_ struct{} `type:"structure"`
@@ -3107,6 +3599,12 @@ func (s ReportTaskProgressOutput) GoString() string {
return s.String()
}
+// SetCanceled sets the Canceled field's value.
+func (s *ReportTaskProgressOutput) SetCanceled(v bool) *ReportTaskProgressOutput {
+ s.Canceled = &v
+ return s
+}
+
// Contains the parameters for ReportTaskRunnerHeartbeat.
type ReportTaskRunnerHeartbeatInput struct {
_ struct{} `type:"structure"`
@@ -3160,6 +3658,24 @@ func (s *ReportTaskRunnerHeartbeatInput) Validate() error {
return nil
}
+// SetHostname sets the Hostname field's value.
+func (s *ReportTaskRunnerHeartbeatInput) SetHostname(v string) *ReportTaskRunnerHeartbeatInput {
+ s.Hostname = &v
+ return s
+}
+
+// SetTaskrunnerId sets the TaskrunnerId field's value.
+func (s *ReportTaskRunnerHeartbeatInput) SetTaskrunnerId(v string) *ReportTaskRunnerHeartbeatInput {
+ s.TaskrunnerId = &v
+ return s
+}
+
+// SetWorkerGroup sets the WorkerGroup field's value.
+func (s *ReportTaskRunnerHeartbeatInput) SetWorkerGroup(v string) *ReportTaskRunnerHeartbeatInput {
+ s.WorkerGroup = &v
+ return s
+}
+
// Contains the output of ReportTaskRunnerHeartbeat.
type ReportTaskRunnerHeartbeatOutput struct {
_ struct{} `type:"structure"`
@@ -3180,6 +3696,12 @@ func (s ReportTaskRunnerHeartbeatOutput) GoString() string {
return s.String()
}
+// SetTerminate sets the Terminate field's value.
+func (s *ReportTaskRunnerHeartbeatOutput) SetTerminate(v bool) *ReportTaskRunnerHeartbeatOutput {
+ s.Terminate = &v
+ return s
+}
+
// A comparision that is used to determine whether a query should return this
// object.
type Selector struct {
@@ -3206,6 +3728,18 @@ func (s Selector) GoString() string {
return s.String()
}
+// SetFieldName sets the FieldName field's value.
+func (s *Selector) SetFieldName(v string) *Selector {
+ s.FieldName = &v
+ return s
+}
+
+// SetOperator sets the Operator field's value.
+func (s *Selector) SetOperator(v *Operator) *Selector {
+ s.Operator = v
+ return s
+}
+
// Contains the parameters for SetStatus.
type SetStatusInput struct {
_ struct{} `type:"structure"`
@@ -3260,6 +3794,24 @@ func (s *SetStatusInput) Validate() error {
return nil
}
+// SetObjectIds sets the ObjectIds field's value.
+func (s *SetStatusInput) SetObjectIds(v []*string) *SetStatusInput {
+ s.ObjectIds = v
+ return s
+}
+
+// SetPipelineId sets the PipelineId field's value.
+func (s *SetStatusInput) SetPipelineId(v string) *SetStatusInput {
+ s.PipelineId = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *SetStatusInput) SetStatus(v string) *SetStatusInput {
+ s.Status = &v
+ return s
+}
+
type SetStatusOutput struct {
_ struct{} `type:"structure"`
}
@@ -3338,6 +3890,36 @@ func (s *SetTaskStatusInput) Validate() error {
return nil
}
+// SetErrorId sets the ErrorId field's value.
+func (s *SetTaskStatusInput) SetErrorId(v string) *SetTaskStatusInput {
+ s.ErrorId = &v
+ return s
+}
+
+// SetErrorMessage sets the ErrorMessage field's value.
+func (s *SetTaskStatusInput) SetErrorMessage(v string) *SetTaskStatusInput {
+ s.ErrorMessage = &v
+ return s
+}
+
+// SetErrorStackTrace sets the ErrorStackTrace field's value.
+func (s *SetTaskStatusInput) SetErrorStackTrace(v string) *SetTaskStatusInput {
+ s.ErrorStackTrace = &v
+ return s
+}
+
+// SetTaskId sets the TaskId field's value.
+func (s *SetTaskStatusInput) SetTaskId(v string) *SetTaskStatusInput {
+ s.TaskId = &v
+ return s
+}
+
+// SetTaskStatus sets the TaskStatus field's value.
+func (s *SetTaskStatusInput) SetTaskStatus(v string) *SetTaskStatusInput {
+ s.TaskStatus = &v
+ return s
+}
+
// Contains the output of SetTaskStatus.
type SetTaskStatusOutput struct {
_ struct{} `type:"structure"`
@@ -3405,6 +3987,18 @@ func (s *Tag) Validate() error {
return nil
}
+// 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
+}
+
// Contains information about a pipeline task that is assigned to a task runner.
type TaskObject struct {
_ struct{} `type:"structure"`
@@ -3435,6 +4029,30 @@ func (s TaskObject) GoString() string {
return s.String()
}
+// SetAttemptId sets the AttemptId field's value.
+func (s *TaskObject) SetAttemptId(v string) *TaskObject {
+ s.AttemptId = &v
+ return s
+}
+
+// SetObjects sets the Objects field's value.
+func (s *TaskObject) SetObjects(v map[string]*PipelineObject) *TaskObject {
+ s.Objects = v
+ return s
+}
+
+// SetPipelineId sets the PipelineId field's value.
+func (s *TaskObject) SetPipelineId(v string) *TaskObject {
+ s.PipelineId = &v
+ return s
+}
+
+// SetTaskId sets the TaskId field's value.
+func (s *TaskObject) SetTaskId(v string) *TaskObject {
+ s.TaskId = &v
+ return s
+}
+
// Contains the parameters for ValidatePipelineDefinition.
type ValidatePipelineDefinitionInput struct {
_ struct{} `type:"structure"`
@@ -3515,6 +4133,30 @@ func (s *ValidatePipelineDefinitionInput) Validate() error {
return nil
}
+// SetParameterObjects sets the ParameterObjects field's value.
+func (s *ValidatePipelineDefinitionInput) SetParameterObjects(v []*ParameterObject) *ValidatePipelineDefinitionInput {
+ s.ParameterObjects = v
+ return s
+}
+
+// SetParameterValues sets the ParameterValues field's value.
+func (s *ValidatePipelineDefinitionInput) SetParameterValues(v []*ParameterValue) *ValidatePipelineDefinitionInput {
+ s.ParameterValues = v
+ return s
+}
+
+// SetPipelineId sets the PipelineId field's value.
+func (s *ValidatePipelineDefinitionInput) SetPipelineId(v string) *ValidatePipelineDefinitionInput {
+ s.PipelineId = &v
+ return s
+}
+
+// SetPipelineObjects sets the PipelineObjects field's value.
+func (s *ValidatePipelineDefinitionInput) SetPipelineObjects(v []*PipelineObject) *ValidatePipelineDefinitionInput {
+ s.PipelineObjects = v
+ return s
+}
+
// Contains the output of ValidatePipelineDefinition.
type ValidatePipelineDefinitionOutput struct {
_ struct{} `type:"structure"`
@@ -3541,6 +4183,24 @@ func (s ValidatePipelineDefinitionOutput) GoString() string {
return s.String()
}
+// SetErrored sets the Errored field's value.
+func (s *ValidatePipelineDefinitionOutput) SetErrored(v bool) *ValidatePipelineDefinitionOutput {
+ s.Errored = &v
+ return s
+}
+
+// SetValidationErrors sets the ValidationErrors field's value.
+func (s *ValidatePipelineDefinitionOutput) SetValidationErrors(v []*ValidationError) *ValidatePipelineDefinitionOutput {
+ s.ValidationErrors = v
+ return s
+}
+
+// SetValidationWarnings sets the ValidationWarnings field's value.
+func (s *ValidatePipelineDefinitionOutput) SetValidationWarnings(v []*ValidationWarning) *ValidatePipelineDefinitionOutput {
+ s.ValidationWarnings = v
+ return s
+}
+
// Defines a validation error. Validation errors prevent pipeline activation.
// The set of validation errors that can be returned are defined by AWS Data
// Pipeline.
@@ -3564,6 +4224,18 @@ func (s ValidationError) GoString() string {
return s.String()
}
+// SetErrors sets the Errors field's value.
+func (s *ValidationError) SetErrors(v []*string) *ValidationError {
+ s.Errors = v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *ValidationError) SetId(v string) *ValidationError {
+ s.Id = &v
+ return s
+}
+
// Defines a validation warning. Validation warnings do not prevent pipeline
// activation. The set of validation warnings that can be returned are defined
// by AWS Data Pipeline.
@@ -3587,6 +4259,18 @@ func (s ValidationWarning) GoString() string {
return s.String()
}
+// SetId sets the Id field's value.
+func (s *ValidationWarning) SetId(v string) *ValidationWarning {
+ s.Id = &v
+ return s
+}
+
+// SetWarnings sets the Warnings field's value.
+func (s *ValidationWarning) SetWarnings(v []*string) *ValidationWarning {
+ s.Warnings = v
+ return s
+}
+
const (
// OperatorTypeEq is a OperatorType enum value
OperatorTypeEq = "EQ"
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 ff09cd5..3469bb1 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
@@ -3670,6 +3670,24 @@ func (s AccountSettings) GoString() string {
return s.String()
}
+// SetAwsAccountNumber sets the AwsAccountNumber field's value.
+func (s *AccountSettings) SetAwsAccountNumber(v string) *AccountSettings {
+ s.AwsAccountNumber = &v
+ return s
+}
+
+// SetUnmeteredDevices sets the UnmeteredDevices field's value.
+func (s *AccountSettings) SetUnmeteredDevices(v map[string]*int64) *AccountSettings {
+ s.UnmeteredDevices = v
+ return s
+}
+
+// SetUnmeteredRemoteAccessDevices sets the UnmeteredRemoteAccessDevices field's value.
+func (s *AccountSettings) SetUnmeteredRemoteAccessDevices(v map[string]*int64) *AccountSettings {
+ s.UnmeteredRemoteAccessDevices = v
+ return s
+}
+
// Represents the output of a test. Examples of artifacts include logs and screenshots.
type Artifact struct {
_ struct{} `type:"structure"`
@@ -3750,6 +3768,36 @@ func (s Artifact) GoString() string {
return s.String()
}
+// SetArn sets the Arn field's value.
+func (s *Artifact) SetArn(v string) *Artifact {
+ s.Arn = &v
+ return s
+}
+
+// SetExtension sets the Extension field's value.
+func (s *Artifact) SetExtension(v string) *Artifact {
+ s.Extension = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *Artifact) SetName(v string) *Artifact {
+ s.Name = &v
+ return s
+}
+
+// SetType sets the Type field's value.
+func (s *Artifact) SetType(v string) *Artifact {
+ s.Type = &v
+ return s
+}
+
+// SetUrl sets the Url field's value.
+func (s *Artifact) SetUrl(v string) *Artifact {
+ s.Url = &v
+ return s
+}
+
// Represents the amount of CPU that an app is using on a physical device.
//
// Note that this does not represent system-wide CPU usage.
@@ -3777,6 +3825,24 @@ func (s CPU) GoString() string {
return s.String()
}
+// SetArchitecture sets the Architecture field's value.
+func (s *CPU) SetArchitecture(v string) *CPU {
+ s.Architecture = &v
+ return s
+}
+
+// SetClock sets the Clock field's value.
+func (s *CPU) SetClock(v float64) *CPU {
+ s.Clock = &v
+ return s
+}
+
+// SetFrequency sets the Frequency field's value.
+func (s *CPU) SetFrequency(v string) *CPU {
+ s.Frequency = &v
+ return s
+}
+
// Represents entity counters.
type Counters struct {
_ struct{} `type:"structure"`
@@ -3813,6 +3879,48 @@ func (s Counters) GoString() string {
return s.String()
}
+// SetErrored sets the Errored field's value.
+func (s *Counters) SetErrored(v int64) *Counters {
+ s.Errored = &v
+ return s
+}
+
+// SetFailed sets the Failed field's value.
+func (s *Counters) SetFailed(v int64) *Counters {
+ s.Failed = &v
+ return s
+}
+
+// SetPassed sets the Passed field's value.
+func (s *Counters) SetPassed(v int64) *Counters {
+ s.Passed = &v
+ return s
+}
+
+// SetSkipped sets the Skipped field's value.
+func (s *Counters) SetSkipped(v int64) *Counters {
+ s.Skipped = &v
+ return s
+}
+
+// SetStopped sets the Stopped field's value.
+func (s *Counters) SetStopped(v int64) *Counters {
+ s.Stopped = &v
+ return s
+}
+
+// SetTotal sets the Total field's value.
+func (s *Counters) SetTotal(v int64) *Counters {
+ s.Total = &v
+ return s
+}
+
+// SetWarned sets the Warned field's value.
+func (s *Counters) SetWarned(v int64) *Counters {
+ s.Warned = &v
+ return s
+}
+
// Represents a request to the create device pool operation.
type CreateDevicePoolInput struct {
_ struct{} `type:"structure"`
@@ -3868,6 +3976,30 @@ func (s *CreateDevicePoolInput) Validate() error {
return nil
}
+// SetDescription sets the Description field's value.
+func (s *CreateDevicePoolInput) SetDescription(v string) *CreateDevicePoolInput {
+ s.Description = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *CreateDevicePoolInput) SetName(v string) *CreateDevicePoolInput {
+ s.Name = &v
+ return s
+}
+
+// SetProjectArn sets the ProjectArn field's value.
+func (s *CreateDevicePoolInput) SetProjectArn(v string) *CreateDevicePoolInput {
+ s.ProjectArn = &v
+ return s
+}
+
+// SetRules sets the Rules field's value.
+func (s *CreateDevicePoolInput) SetRules(v []*Rule) *CreateDevicePoolInput {
+ s.Rules = v
+ return s
+}
+
// Represents the result of a create device pool request.
type CreateDevicePoolOutput struct {
_ struct{} `type:"structure"`
@@ -3886,6 +4018,12 @@ func (s CreateDevicePoolOutput) GoString() string {
return s.String()
}
+// SetDevicePool sets the DevicePool field's value.
+func (s *CreateDevicePoolOutput) SetDevicePool(v *DevicePool) *CreateDevicePoolOutput {
+ s.DevicePool = v
+ return s
+}
+
// Represents a request to the create project operation.
type CreateProjectInput struct {
_ struct{} `type:"structure"`
@@ -3919,6 +4057,12 @@ func (s *CreateProjectInput) Validate() error {
return nil
}
+// SetName sets the Name field's value.
+func (s *CreateProjectInput) SetName(v string) *CreateProjectInput {
+ s.Name = &v
+ return s
+}
+
// Represents the result of a create project request.
type CreateProjectOutput struct {
_ struct{} `type:"structure"`
@@ -3937,6 +4081,12 @@ func (s CreateProjectOutput) GoString() string {
return s.String()
}
+// SetProject sets the Project field's value.
+func (s *CreateProjectOutput) SetProject(v *Project) *CreateProjectOutput {
+ s.Project = v
+ return s
+}
+
// Creates the configuration settings for a remote access session, including
// the device model and type.
type CreateRemoteAccessSessionConfiguration struct {
@@ -3956,6 +4106,12 @@ func (s CreateRemoteAccessSessionConfiguration) GoString() string {
return s.String()
}
+// SetBillingMethod sets the BillingMethod field's value.
+func (s *CreateRemoteAccessSessionConfiguration) SetBillingMethod(v string) *CreateRemoteAccessSessionConfiguration {
+ s.BillingMethod = &v
+ return s
+}
+
// Creates and submits a request to start a remote access session.
type CreateRemoteAccessSessionInput struct {
_ struct{} `type:"structure"`
@@ -4011,6 +4167,30 @@ func (s *CreateRemoteAccessSessionInput) Validate() error {
return nil
}
+// SetConfiguration sets the Configuration field's value.
+func (s *CreateRemoteAccessSessionInput) SetConfiguration(v *CreateRemoteAccessSessionConfiguration) *CreateRemoteAccessSessionInput {
+ s.Configuration = v
+ return s
+}
+
+// SetDeviceArn sets the DeviceArn field's value.
+func (s *CreateRemoteAccessSessionInput) SetDeviceArn(v string) *CreateRemoteAccessSessionInput {
+ s.DeviceArn = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *CreateRemoteAccessSessionInput) SetName(v string) *CreateRemoteAccessSessionInput {
+ s.Name = &v
+ return s
+}
+
+// SetProjectArn sets the ProjectArn field's value.
+func (s *CreateRemoteAccessSessionInput) SetProjectArn(v string) *CreateRemoteAccessSessionInput {
+ s.ProjectArn = &v
+ return s
+}
+
// Represents the server response from a request to create a remote access session.
type CreateRemoteAccessSessionOutput struct {
_ struct{} `type:"structure"`
@@ -4030,6 +4210,12 @@ func (s CreateRemoteAccessSessionOutput) GoString() string {
return s.String()
}
+// SetRemoteAccessSession sets the RemoteAccessSession field's value.
+func (s *CreateRemoteAccessSessionOutput) SetRemoteAccessSession(v *RemoteAccessSession) *CreateRemoteAccessSessionOutput {
+ s.RemoteAccessSession = v
+ return s
+}
+
// Represents a request to the create upload operation.
type CreateUploadInput struct {
_ struct{} `type:"structure"`
@@ -4128,6 +4314,30 @@ func (s *CreateUploadInput) Validate() error {
return nil
}
+// SetContentType sets the ContentType field's value.
+func (s *CreateUploadInput) SetContentType(v string) *CreateUploadInput {
+ s.ContentType = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *CreateUploadInput) SetName(v string) *CreateUploadInput {
+ s.Name = &v
+ return s
+}
+
+// SetProjectArn sets the ProjectArn field's value.
+func (s *CreateUploadInput) SetProjectArn(v string) *CreateUploadInput {
+ s.ProjectArn = &v
+ return s
+}
+
+// SetType sets the Type field's value.
+func (s *CreateUploadInput) SetType(v string) *CreateUploadInput {
+ s.Type = &v
+ return s
+}
+
// Represents the result of a create upload request.
type CreateUploadOutput struct {
_ struct{} `type:"structure"`
@@ -4146,6 +4356,12 @@ func (s CreateUploadOutput) GoString() string {
return s.String()
}
+// SetUpload sets the Upload field's value.
+func (s *CreateUploadOutput) SetUpload(v *Upload) *CreateUploadOutput {
+ s.Upload = v
+ return s
+}
+
// Represents a request to the delete device pool operation.
type DeleteDevicePoolInput struct {
_ struct{} `type:"structure"`
@@ -4183,6 +4399,12 @@ func (s *DeleteDevicePoolInput) Validate() error {
return nil
}
+// SetArn sets the Arn field's value.
+func (s *DeleteDevicePoolInput) SetArn(v string) *DeleteDevicePoolInput {
+ s.Arn = &v
+ return s
+}
+
// Represents the result of a delete device pool request.
type DeleteDevicePoolOutput struct {
_ struct{} `type:"structure"`
@@ -4235,6 +4457,12 @@ func (s *DeleteProjectInput) Validate() error {
return nil
}
+// SetArn sets the Arn field's value.
+func (s *DeleteProjectInput) SetArn(v string) *DeleteProjectInput {
+ s.Arn = &v
+ return s
+}
+
// Represents the result of a delete project request.
type DeleteProjectOutput struct {
_ struct{} `type:"structure"`
@@ -4287,6 +4515,12 @@ func (s *DeleteRemoteAccessSessionInput) Validate() error {
return nil
}
+// SetArn sets the Arn field's value.
+func (s *DeleteRemoteAccessSessionInput) SetArn(v string) *DeleteRemoteAccessSessionInput {
+ s.Arn = &v
+ return s
+}
+
// The response from the server when a request is made to delete the remote
// access session.
type DeleteRemoteAccessSessionOutput struct {
@@ -4339,6 +4573,12 @@ func (s *DeleteRunInput) Validate() error {
return nil
}
+// SetArn sets the Arn field's value.
+func (s *DeleteRunInput) SetArn(v string) *DeleteRunInput {
+ s.Arn = &v
+ return s
+}
+
// Represents the result of a delete run request.
type DeleteRunOutput struct {
_ struct{} `type:"structure"`
@@ -4391,6 +4631,12 @@ func (s *DeleteUploadInput) Validate() error {
return nil
}
+// SetArn sets the Arn field's value.
+func (s *DeleteUploadInput) SetArn(v string) *DeleteUploadInput {
+ s.Arn = &v
+ return s
+}
+
// Represents the result of a delete upload request.
type DeleteUploadOutput struct {
_ struct{} `type:"structure"`
@@ -4486,6 +4732,108 @@ func (s Device) GoString() string {
return s.String()
}
+// SetArn sets the Arn field's value.
+func (s *Device) SetArn(v string) *Device {
+ s.Arn = &v
+ return s
+}
+
+// SetCarrier sets the Carrier field's value.
+func (s *Device) SetCarrier(v string) *Device {
+ s.Carrier = &v
+ return s
+}
+
+// SetCpu sets the Cpu field's value.
+func (s *Device) SetCpu(v *CPU) *Device {
+ s.Cpu = v
+ return s
+}
+
+// SetFleetName sets the FleetName field's value.
+func (s *Device) SetFleetName(v string) *Device {
+ s.FleetName = &v
+ return s
+}
+
+// SetFleetType sets the FleetType field's value.
+func (s *Device) SetFleetType(v string) *Device {
+ s.FleetType = &v
+ return s
+}
+
+// SetFormFactor sets the FormFactor field's value.
+func (s *Device) SetFormFactor(v string) *Device {
+ s.FormFactor = &v
+ return s
+}
+
+// SetHeapSize sets the HeapSize field's value.
+func (s *Device) SetHeapSize(v int64) *Device {
+ s.HeapSize = &v
+ return s
+}
+
+// SetImage sets the Image field's value.
+func (s *Device) SetImage(v string) *Device {
+ s.Image = &v
+ return s
+}
+
+// SetManufacturer sets the Manufacturer field's value.
+func (s *Device) SetManufacturer(v string) *Device {
+ s.Manufacturer = &v
+ return s
+}
+
+// SetMemory sets the Memory field's value.
+func (s *Device) SetMemory(v int64) *Device {
+ s.Memory = &v
+ return s
+}
+
+// SetModel sets the Model field's value.
+func (s *Device) SetModel(v string) *Device {
+ s.Model = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *Device) SetName(v string) *Device {
+ s.Name = &v
+ return s
+}
+
+// SetOs sets the Os field's value.
+func (s *Device) SetOs(v string) *Device {
+ s.Os = &v
+ return s
+}
+
+// SetPlatform sets the Platform field's value.
+func (s *Device) SetPlatform(v string) *Device {
+ s.Platform = &v
+ return s
+}
+
+// SetRadio sets the Radio field's value.
+func (s *Device) SetRadio(v string) *Device {
+ s.Radio = &v
+ return s
+}
+
+// SetRemoteAccessEnabled sets the RemoteAccessEnabled field's value.
+func (s *Device) SetRemoteAccessEnabled(v bool) *Device {
+ s.RemoteAccessEnabled = &v
+ return s
+}
+
+// SetResolution sets the Resolution field's value.
+func (s *Device) SetResolution(v *Resolution) *Device {
+ s.Resolution = v
+ return s
+}
+
// Represents the total (metered or unmetered) minutes used by the resource
// to run tests. Contains the sum of minutes consumed by all children.
type DeviceMinutes struct {
@@ -4514,6 +4862,24 @@ func (s DeviceMinutes) GoString() string {
return s.String()
}
+// SetMetered sets the Metered field's value.
+func (s *DeviceMinutes) SetMetered(v float64) *DeviceMinutes {
+ s.Metered = &v
+ return s
+}
+
+// SetTotal sets the Total field's value.
+func (s *DeviceMinutes) SetTotal(v float64) *DeviceMinutes {
+ s.Total = &v
+ return s
+}
+
+// SetUnmetered sets the Unmetered field's value.
+func (s *DeviceMinutes) SetUnmetered(v float64) *DeviceMinutes {
+ s.Unmetered = &v
+ return s
+}
+
// Represents a collection of device types.
type DevicePool struct {
_ struct{} `type:"structure"`
@@ -4551,6 +4917,36 @@ func (s DevicePool) GoString() string {
return s.String()
}
+// SetArn sets the Arn field's value.
+func (s *DevicePool) SetArn(v string) *DevicePool {
+ s.Arn = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *DevicePool) SetDescription(v string) *DevicePool {
+ s.Description = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *DevicePool) SetName(v string) *DevicePool {
+ s.Name = &v
+ return s
+}
+
+// SetRules sets the Rules field's value.
+func (s *DevicePool) SetRules(v []*Rule) *DevicePool {
+ s.Rules = v
+ return s
+}
+
+// SetType sets the Type field's value.
+func (s *DevicePool) SetType(v string) *DevicePool {
+ s.Type = &v
+ return s
+}
+
// Represents a device pool compatibility result.
type DevicePoolCompatibilityResult struct {
_ struct{} `type:"structure"`
@@ -4575,6 +4971,24 @@ func (s DevicePoolCompatibilityResult) GoString() string {
return s.String()
}
+// SetCompatible sets the Compatible field's value.
+func (s *DevicePoolCompatibilityResult) SetCompatible(v bool) *DevicePoolCompatibilityResult {
+ s.Compatible = &v
+ return s
+}
+
+// SetDevice sets the Device field's value.
+func (s *DevicePoolCompatibilityResult) SetDevice(v *Device) *DevicePoolCompatibilityResult {
+ s.Device = v
+ return s
+}
+
+// SetIncompatibilityMessages sets the IncompatibilityMessages field's value.
+func (s *DevicePoolCompatibilityResult) SetIncompatibilityMessages(v []*IncompatibilityMessage) *DevicePoolCompatibilityResult {
+ s.IncompatibilityMessages = v
+ return s
+}
+
// Represents the request sent to retrieve the account settings.
type GetAccountSettingsInput struct {
_ struct{} `type:"structure"`
@@ -4609,6 +5023,12 @@ func (s GetAccountSettingsOutput) GoString() string {
return s.String()
}
+// SetAccountSettings sets the AccountSettings field's value.
+func (s *GetAccountSettingsOutput) SetAccountSettings(v *AccountSettings) *GetAccountSettingsOutput {
+ s.AccountSettings = v
+ return s
+}
+
// Represents a request to the get device request.
type GetDeviceInput struct {
_ struct{} `type:"structure"`
@@ -4645,6 +5065,12 @@ func (s *GetDeviceInput) Validate() error {
return nil
}
+// SetArn sets the Arn field's value.
+func (s *GetDeviceInput) SetArn(v string) *GetDeviceInput {
+ s.Arn = &v
+ return s
+}
+
// Represents the result of a get device request.
type GetDeviceOutput struct {
_ struct{} `type:"structure"`
@@ -4663,6 +5089,12 @@ func (s GetDeviceOutput) GoString() string {
return s.String()
}
+// SetDevice sets the Device field's value.
+func (s *GetDeviceOutput) SetDevice(v *Device) *GetDeviceOutput {
+ s.Device = v
+ return s
+}
+
// Represents a request to the get device pool compatibility operation.
type GetDevicePoolCompatibilityInput struct {
_ struct{} `type:"structure"`
@@ -4740,6 +5172,24 @@ func (s *GetDevicePoolCompatibilityInput) Validate() error {
return nil
}
+// SetAppArn sets the AppArn field's value.
+func (s *GetDevicePoolCompatibilityInput) SetAppArn(v string) *GetDevicePoolCompatibilityInput {
+ s.AppArn = &v
+ return s
+}
+
+// SetDevicePoolArn sets the DevicePoolArn field's value.
+func (s *GetDevicePoolCompatibilityInput) SetDevicePoolArn(v string) *GetDevicePoolCompatibilityInput {
+ s.DevicePoolArn = &v
+ return s
+}
+
+// SetTestType sets the TestType field's value.
+func (s *GetDevicePoolCompatibilityInput) SetTestType(v string) *GetDevicePoolCompatibilityInput {
+ s.TestType = &v
+ return s
+}
+
// Represents the result of describe device pool compatibility request.
type GetDevicePoolCompatibilityOutput struct {
_ struct{} `type:"structure"`
@@ -4761,6 +5211,18 @@ func (s GetDevicePoolCompatibilityOutput) GoString() string {
return s.String()
}
+// SetCompatibleDevices sets the CompatibleDevices field's value.
+func (s *GetDevicePoolCompatibilityOutput) SetCompatibleDevices(v []*DevicePoolCompatibilityResult) *GetDevicePoolCompatibilityOutput {
+ s.CompatibleDevices = v
+ return s
+}
+
+// SetIncompatibleDevices sets the IncompatibleDevices field's value.
+func (s *GetDevicePoolCompatibilityOutput) SetIncompatibleDevices(v []*DevicePoolCompatibilityResult) *GetDevicePoolCompatibilityOutput {
+ s.IncompatibleDevices = v
+ return s
+}
+
// Represents a request to the get device pool operation.
type GetDevicePoolInput struct {
_ struct{} `type:"structure"`
@@ -4797,6 +5259,12 @@ func (s *GetDevicePoolInput) Validate() error {
return nil
}
+// SetArn sets the Arn field's value.
+func (s *GetDevicePoolInput) SetArn(v string) *GetDevicePoolInput {
+ s.Arn = &v
+ return s
+}
+
// Represents the result of a get device pool request.
type GetDevicePoolOutput struct {
_ struct{} `type:"structure"`
@@ -4815,6 +5283,12 @@ func (s GetDevicePoolOutput) GoString() string {
return s.String()
}
+// SetDevicePool sets the DevicePool field's value.
+func (s *GetDevicePoolOutput) SetDevicePool(v *DevicePool) *GetDevicePoolOutput {
+ s.DevicePool = v
+ return s
+}
+
// Represents a request to the get job operation.
type GetJobInput struct {
_ struct{} `type:"structure"`
@@ -4851,6 +5325,12 @@ func (s *GetJobInput) Validate() error {
return nil
}
+// SetArn sets the Arn field's value.
+func (s *GetJobInput) SetArn(v string) *GetJobInput {
+ s.Arn = &v
+ return s
+}
+
// Represents the result of a get job request.
type GetJobOutput struct {
_ struct{} `type:"structure"`
@@ -4869,6 +5349,12 @@ 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
+}
+
// Represents the request to retrieve the offering status for the specified
// customer or account.
type GetOfferingStatusInput struct {
@@ -4902,6 +5388,12 @@ func (s *GetOfferingStatusInput) Validate() error {
return nil
}
+// SetNextToken sets the NextToken field's value.
+func (s *GetOfferingStatusInput) SetNextToken(v string) *GetOfferingStatusInput {
+ s.NextToken = &v
+ return s
+}
+
// Returns the status result for a device offering.
type GetOfferingStatusOutput struct {
_ struct{} `type:"structure"`
@@ -4927,6 +5419,24 @@ func (s GetOfferingStatusOutput) GoString() string {
return s.String()
}
+// SetCurrent sets the Current field's value.
+func (s *GetOfferingStatusOutput) SetCurrent(v map[string]*OfferingStatus) *GetOfferingStatusOutput {
+ s.Current = v
+ return s
+}
+
+// SetNextPeriod sets the NextPeriod field's value.
+func (s *GetOfferingStatusOutput) SetNextPeriod(v map[string]*OfferingStatus) *GetOfferingStatusOutput {
+ s.NextPeriod = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *GetOfferingStatusOutput) SetNextToken(v string) *GetOfferingStatusOutput {
+ s.NextToken = &v
+ return s
+}
+
// Represents a request to the get project operation.
type GetProjectInput struct {
_ struct{} `type:"structure"`
@@ -4963,6 +5473,12 @@ func (s *GetProjectInput) Validate() error {
return nil
}
+// SetArn sets the Arn field's value.
+func (s *GetProjectInput) SetArn(v string) *GetProjectInput {
+ s.Arn = &v
+ return s
+}
+
// Represents the result of a get project request.
type GetProjectOutput struct {
_ struct{} `type:"structure"`
@@ -4982,6 +5498,12 @@ func (s GetProjectOutput) GoString() string {
return s.String()
}
+// SetProject sets the Project field's value.
+func (s *GetProjectOutput) SetProject(v *Project) *GetProjectOutput {
+ s.Project = v
+ return s
+}
+
// Represents the request to get information about the specified remote access
// session.
type GetRemoteAccessSessionInput struct {
@@ -5020,6 +5542,12 @@ func (s *GetRemoteAccessSessionInput) Validate() error {
return nil
}
+// SetArn sets the Arn field's value.
+func (s *GetRemoteAccessSessionInput) SetArn(v string) *GetRemoteAccessSessionInput {
+ s.Arn = &v
+ return s
+}
+
// Represents the response from the server that lists detailed information about
// the remote access session.
type GetRemoteAccessSessionOutput struct {
@@ -5039,6 +5567,12 @@ func (s GetRemoteAccessSessionOutput) GoString() string {
return s.String()
}
+// SetRemoteAccessSession sets the RemoteAccessSession field's value.
+func (s *GetRemoteAccessSessionOutput) SetRemoteAccessSession(v *RemoteAccessSession) *GetRemoteAccessSessionOutput {
+ s.RemoteAccessSession = v
+ return s
+}
+
// Represents a request to the get run operation.
type GetRunInput struct {
_ struct{} `type:"structure"`
@@ -5075,6 +5609,12 @@ func (s *GetRunInput) Validate() error {
return nil
}
+// SetArn sets the Arn field's value.
+func (s *GetRunInput) SetArn(v string) *GetRunInput {
+ s.Arn = &v
+ return s
+}
+
// Represents the result of a get run request.
type GetRunOutput struct {
_ struct{} `type:"structure"`
@@ -5093,6 +5633,12 @@ func (s GetRunOutput) GoString() string {
return s.String()
}
+// SetRun sets the Run field's value.
+func (s *GetRunOutput) SetRun(v *Run) *GetRunOutput {
+ s.Run = v
+ return s
+}
+
// Represents a request to the get suite operation.
type GetSuiteInput struct {
_ struct{} `type:"structure"`
@@ -5129,6 +5675,12 @@ func (s *GetSuiteInput) Validate() error {
return nil
}
+// SetArn sets the Arn field's value.
+func (s *GetSuiteInput) SetArn(v string) *GetSuiteInput {
+ s.Arn = &v
+ return s
+}
+
// Represents the result of a get suite request.
type GetSuiteOutput struct {
_ struct{} `type:"structure"`
@@ -5147,6 +5699,12 @@ func (s GetSuiteOutput) GoString() string {
return s.String()
}
+// SetSuite sets the Suite field's value.
+func (s *GetSuiteOutput) SetSuite(v *Suite) *GetSuiteOutput {
+ s.Suite = v
+ return s
+}
+
// Represents a request to the get test operation.
type GetTestInput struct {
_ struct{} `type:"structure"`
@@ -5183,6 +5741,12 @@ func (s *GetTestInput) Validate() error {
return nil
}
+// SetArn sets the Arn field's value.
+func (s *GetTestInput) SetArn(v string) *GetTestInput {
+ s.Arn = &v
+ return s
+}
+
// Represents the result of a get test request.
type GetTestOutput struct {
_ struct{} `type:"structure"`
@@ -5201,6 +5765,12 @@ func (s GetTestOutput) GoString() string {
return s.String()
}
+// SetTest sets the Test field's value.
+func (s *GetTestOutput) SetTest(v *Test) *GetTestOutput {
+ s.Test = v
+ return s
+}
+
// Represents a request to the get upload operation.
type GetUploadInput struct {
_ struct{} `type:"structure"`
@@ -5237,6 +5807,12 @@ func (s *GetUploadInput) Validate() error {
return nil
}
+// SetArn sets the Arn field's value.
+func (s *GetUploadInput) SetArn(v string) *GetUploadInput {
+ s.Arn = &v
+ return s
+}
+
// Represents the result of a get upload request.
type GetUploadOutput struct {
_ struct{} `type:"structure"`
@@ -5255,6 +5831,12 @@ func (s GetUploadOutput) GoString() string {
return s.String()
}
+// SetUpload sets the Upload field's value.
+func (s *GetUploadOutput) SetUpload(v *Upload) *GetUploadOutput {
+ s.Upload = v
+ return s
+}
+
// Represents information about incompatibility.
type IncompatibilityMessage struct {
_ struct{} `type:"structure"`
@@ -5286,6 +5868,18 @@ func (s IncompatibilityMessage) GoString() string {
return s.String()
}
+// SetMessage sets the Message field's value.
+func (s *IncompatibilityMessage) SetMessage(v string) *IncompatibilityMessage {
+ s.Message = &v
+ return s
+}
+
+// SetType sets the Type field's value.
+func (s *IncompatibilityMessage) SetType(v string) *IncompatibilityMessage {
+ s.Type = &v
+ return s
+}
+
// 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.
type InstallToRemoteAccessSessionInput struct {
@@ -5336,6 +5930,18 @@ func (s *InstallToRemoteAccessSessionInput) Validate() error {
return nil
}
+// SetAppArn sets the AppArn field's value.
+func (s *InstallToRemoteAccessSessionInput) SetAppArn(v string) *InstallToRemoteAccessSessionInput {
+ s.AppArn = &v
+ return s
+}
+
+// SetRemoteAccessSessionArn sets the RemoteAccessSessionArn field's value.
+func (s *InstallToRemoteAccessSessionInput) SetRemoteAccessSessionArn(v string) *InstallToRemoteAccessSessionInput {
+ s.RemoteAccessSessionArn = &v
+ return s
+}
+
// Represents the response from the server after AWS Device Farm makes a request
// to install to a remote access session.
type InstallToRemoteAccessSessionOutput struct {
@@ -5355,6 +5961,12 @@ func (s InstallToRemoteAccessSessionOutput) GoString() string {
return s.String()
}
+// SetAppUpload sets the AppUpload field's value.
+func (s *InstallToRemoteAccessSessionOutput) SetAppUpload(v *Upload) *InstallToRemoteAccessSessionOutput {
+ s.AppUpload = v
+ return s
+}
+
// Represents a device.
type Job struct {
_ struct{} `type:"structure"`
@@ -5474,6 +6086,78 @@ 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
+}
+
+// SetCounters sets the Counters field's value.
+func (s *Job) SetCounters(v *Counters) *Job {
+ s.Counters = v
+ return s
+}
+
+// SetCreated sets the Created field's value.
+func (s *Job) SetCreated(v time.Time) *Job {
+ s.Created = &v
+ return s
+}
+
+// SetDevice sets the Device field's value.
+func (s *Job) SetDevice(v *Device) *Job {
+ s.Device = v
+ return s
+}
+
+// SetDeviceMinutes sets the DeviceMinutes field's value.
+func (s *Job) SetDeviceMinutes(v *DeviceMinutes) *Job {
+ s.DeviceMinutes = v
+ return s
+}
+
+// SetMessage sets the Message field's value.
+func (s *Job) SetMessage(v string) *Job {
+ s.Message = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *Job) SetName(v string) *Job {
+ s.Name = &v
+ return s
+}
+
+// SetResult sets the Result field's value.
+func (s *Job) SetResult(v string) *Job {
+ s.Result = &v
+ return s
+}
+
+// SetStarted sets the Started field's value.
+func (s *Job) SetStarted(v time.Time) *Job {
+ s.Started = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *Job) SetStatus(v string) *Job {
+ s.Status = &v
+ return s
+}
+
+// SetStopped sets the Stopped field's value.
+func (s *Job) SetStopped(v time.Time) *Job {
+ s.Stopped = &v
+ return s
+}
+
+// SetType sets the Type field's value.
+func (s *Job) SetType(v string) *Job {
+ s.Type = &v
+ return s
+}
+
// Represents a request to the list artifacts operation.
type ListArtifactsInput struct {
_ struct{} `type:"structure"`
@@ -5533,6 +6217,24 @@ func (s *ListArtifactsInput) Validate() error {
return nil
}
+// SetArn sets the Arn field's value.
+func (s *ListArtifactsInput) SetArn(v string) *ListArtifactsInput {
+ s.Arn = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListArtifactsInput) SetNextToken(v string) *ListArtifactsInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetType sets the Type field's value.
+func (s *ListArtifactsInput) SetType(v string) *ListArtifactsInput {
+ s.Type = &v
+ return s
+}
+
// Represents the result of a list artifacts operation.
type ListArtifactsOutput struct {
_ struct{} `type:"structure"`
@@ -5556,6 +6258,18 @@ func (s ListArtifactsOutput) GoString() string {
return s.String()
}
+// SetArtifacts sets the Artifacts field's value.
+func (s *ListArtifactsOutput) SetArtifacts(v []*Artifact) *ListArtifactsOutput {
+ s.Artifacts = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListArtifactsOutput) SetNextToken(v string) *ListArtifactsOutput {
+ s.NextToken = &v
+ return s
+}
+
// Represents the result of a list device pools request.
type ListDevicePoolsInput struct {
_ struct{} `type:"structure"`
@@ -5609,6 +6323,24 @@ func (s *ListDevicePoolsInput) Validate() error {
return nil
}
+// SetArn sets the Arn field's value.
+func (s *ListDevicePoolsInput) SetArn(v string) *ListDevicePoolsInput {
+ s.Arn = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListDevicePoolsInput) SetNextToken(v string) *ListDevicePoolsInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetType sets the Type field's value.
+func (s *ListDevicePoolsInput) SetType(v string) *ListDevicePoolsInput {
+ s.Type = &v
+ return s
+}
+
// Represents the result of a list device pools request.
type ListDevicePoolsOutput struct {
_ struct{} `type:"structure"`
@@ -5632,6 +6364,18 @@ func (s ListDevicePoolsOutput) GoString() string {
return s.String()
}
+// SetDevicePools sets the DevicePools field's value.
+func (s *ListDevicePoolsOutput) SetDevicePools(v []*DevicePool) *ListDevicePoolsOutput {
+ s.DevicePools = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListDevicePoolsOutput) SetNextToken(v string) *ListDevicePoolsOutput {
+ s.NextToken = &v
+ return s
+}
+
// Represents the result of a list devices request.
type ListDevicesInput struct {
_ struct{} `type:"structure"`
@@ -5670,6 +6414,18 @@ func (s *ListDevicesInput) Validate() error {
return nil
}
+// SetArn sets the Arn field's value.
+func (s *ListDevicesInput) SetArn(v string) *ListDevicesInput {
+ s.Arn = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListDevicesInput) SetNextToken(v string) *ListDevicesInput {
+ s.NextToken = &v
+ return s
+}
+
// Represents the result of a list devices operation.
type ListDevicesOutput struct {
_ struct{} `type:"structure"`
@@ -5693,6 +6449,18 @@ func (s ListDevicesOutput) GoString() string {
return s.String()
}
+// SetDevices sets the Devices field's value.
+func (s *ListDevicesOutput) SetDevices(v []*Device) *ListDevicesOutput {
+ s.Devices = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListDevicesOutput) SetNextToken(v string) *ListDevicesOutput {
+ s.NextToken = &v
+ return s
+}
+
// Represents a request to the list jobs operation.
type ListJobsInput struct {
_ struct{} `type:"structure"`
@@ -5736,6 +6504,18 @@ func (s *ListJobsInput) Validate() error {
return nil
}
+// SetArn sets the Arn field's value.
+func (s *ListJobsInput) SetArn(v string) *ListJobsInput {
+ s.Arn = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListJobsInput) SetNextToken(v string) *ListJobsInput {
+ s.NextToken = &v
+ return s
+}
+
// Represents the result of a list jobs request.
type ListJobsOutput struct {
_ struct{} `type:"structure"`
@@ -5759,6 +6539,18 @@ 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
+}
+
// Represents the request to list the offering transaction history.
type ListOfferingTransactionsInput struct {
_ struct{} `type:"structure"`
@@ -5791,6 +6583,12 @@ func (s *ListOfferingTransactionsInput) Validate() error {
return nil
}
+// SetNextToken sets the NextToken field's value.
+func (s *ListOfferingTransactionsInput) SetNextToken(v string) *ListOfferingTransactionsInput {
+ s.NextToken = &v
+ return s
+}
+
// Returns the transaction log of the specified offerings.
type ListOfferingTransactionsOutput struct {
_ struct{} `type:"structure"`
@@ -5814,6 +6612,18 @@ func (s ListOfferingTransactionsOutput) GoString() string {
return s.String()
}
+// SetNextToken sets the NextToken field's value.
+func (s *ListOfferingTransactionsOutput) SetNextToken(v string) *ListOfferingTransactionsOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetOfferingTransactions sets the OfferingTransactions field's value.
+func (s *ListOfferingTransactionsOutput) SetOfferingTransactions(v []*OfferingTransaction) *ListOfferingTransactionsOutput {
+ s.OfferingTransactions = v
+ return s
+}
+
// Represents the request to list all offerings.
type ListOfferingsInput struct {
_ struct{} `type:"structure"`
@@ -5846,6 +6656,12 @@ func (s *ListOfferingsInput) Validate() error {
return nil
}
+// SetNextToken sets the NextToken field's value.
+func (s *ListOfferingsInput) SetNextToken(v string) *ListOfferingsInput {
+ s.NextToken = &v
+ return s
+}
+
// Represents the return values of the list of offerings.
type ListOfferingsOutput struct {
_ struct{} `type:"structure"`
@@ -5868,6 +6684,18 @@ func (s ListOfferingsOutput) GoString() string {
return s.String()
}
+// SetNextToken sets the NextToken field's value.
+func (s *ListOfferingsOutput) SetNextToken(v string) *ListOfferingsOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetOfferings sets the Offerings field's value.
+func (s *ListOfferingsOutput) SetOfferings(v []*Offering) *ListOfferingsOutput {
+ s.Offerings = v
+ return s
+}
+
// Represents a request to the list projects operation.
type ListProjectsInput struct {
_ struct{} `type:"structure"`
@@ -5908,6 +6736,18 @@ func (s *ListProjectsInput) Validate() error {
return nil
}
+// SetArn sets the Arn field's value.
+func (s *ListProjectsInput) SetArn(v string) *ListProjectsInput {
+ s.Arn = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListProjectsInput) SetNextToken(v string) *ListProjectsInput {
+ s.NextToken = &v
+ return s
+}
+
// Represents the result of a list projects request.
type ListProjectsOutput struct {
_ struct{} `type:"structure"`
@@ -5931,6 +6771,18 @@ func (s ListProjectsOutput) GoString() string {
return s.String()
}
+// SetNextToken sets the NextToken field's value.
+func (s *ListProjectsOutput) SetNextToken(v string) *ListProjectsOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetProjects sets the Projects field's value.
+func (s *ListProjectsOutput) SetProjects(v []*Project) *ListProjectsOutput {
+ s.Projects = v
+ return s
+}
+
// Represents the request to return information about the remote access session.
type ListRemoteAccessSessionsInput struct {
_ struct{} `type:"structure"`
@@ -5975,6 +6827,18 @@ func (s *ListRemoteAccessSessionsInput) Validate() error {
return nil
}
+// SetArn sets the Arn field's value.
+func (s *ListRemoteAccessSessionsInput) SetArn(v string) *ListRemoteAccessSessionsInput {
+ s.Arn = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListRemoteAccessSessionsInput) SetNextToken(v string) *ListRemoteAccessSessionsInput {
+ s.NextToken = &v
+ return s
+}
+
// Represents the response from the server after AWS Device Farm makes a request
// to return information about the remote access session.
type ListRemoteAccessSessionsOutput struct {
@@ -5999,6 +6863,18 @@ func (s ListRemoteAccessSessionsOutput) GoString() string {
return s.String()
}
+// SetNextToken sets the NextToken field's value.
+func (s *ListRemoteAccessSessionsOutput) SetNextToken(v string) *ListRemoteAccessSessionsOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetRemoteAccessSessions sets the RemoteAccessSessions field's value.
+func (s *ListRemoteAccessSessionsOutput) SetRemoteAccessSessions(v []*RemoteAccessSession) *ListRemoteAccessSessionsOutput {
+ s.RemoteAccessSessions = v
+ return s
+}
+
// Represents a request to the list runs operation.
type ListRunsInput struct {
_ struct{} `type:"structure"`
@@ -6043,6 +6919,18 @@ func (s *ListRunsInput) Validate() error {
return nil
}
+// SetArn sets the Arn field's value.
+func (s *ListRunsInput) SetArn(v string) *ListRunsInput {
+ s.Arn = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListRunsInput) SetNextToken(v string) *ListRunsInput {
+ s.NextToken = &v
+ return s
+}
+
// Represents the result of a list runs request.
type ListRunsOutput struct {
_ struct{} `type:"structure"`
@@ -6066,6 +6954,18 @@ func (s ListRunsOutput) GoString() string {
return s.String()
}
+// SetNextToken sets the NextToken field's value.
+func (s *ListRunsOutput) SetNextToken(v string) *ListRunsOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetRuns sets the Runs field's value.
+func (s *ListRunsOutput) SetRuns(v []*Run) *ListRunsOutput {
+ s.Runs = v
+ return s
+}
+
// Represents a request to the list samples operation.
type ListSamplesInput struct {
_ struct{} `type:"structure"`
@@ -6110,6 +7010,18 @@ func (s *ListSamplesInput) Validate() error {
return nil
}
+// SetArn sets the Arn field's value.
+func (s *ListSamplesInput) SetArn(v string) *ListSamplesInput {
+ s.Arn = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListSamplesInput) SetNextToken(v string) *ListSamplesInput {
+ s.NextToken = &v
+ return s
+}
+
// Represents the result of a list samples request.
type ListSamplesOutput struct {
_ struct{} `type:"structure"`
@@ -6133,6 +7045,18 @@ func (s ListSamplesOutput) GoString() string {
return s.String()
}
+// SetNextToken sets the NextToken field's value.
+func (s *ListSamplesOutput) SetNextToken(v string) *ListSamplesOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetSamples sets the Samples field's value.
+func (s *ListSamplesOutput) SetSamples(v []*Sample) *ListSamplesOutput {
+ s.Samples = v
+ return s
+}
+
// Represents a request to the list suites operation.
type ListSuitesInput struct {
_ struct{} `type:"structure"`
@@ -6176,6 +7100,18 @@ func (s *ListSuitesInput) Validate() error {
return nil
}
+// SetArn sets the Arn field's value.
+func (s *ListSuitesInput) SetArn(v string) *ListSuitesInput {
+ s.Arn = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListSuitesInput) SetNextToken(v string) *ListSuitesInput {
+ s.NextToken = &v
+ return s
+}
+
// Represents the result of a list suites request.
type ListSuitesOutput struct {
_ struct{} `type:"structure"`
@@ -6199,6 +7135,18 @@ func (s ListSuitesOutput) GoString() string {
return s.String()
}
+// SetNextToken sets the NextToken field's value.
+func (s *ListSuitesOutput) SetNextToken(v string) *ListSuitesOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetSuites sets the Suites field's value.
+func (s *ListSuitesOutput) SetSuites(v []*Suite) *ListSuitesOutput {
+ s.Suites = v
+ return s
+}
+
// Represents a request to the list tests operation.
type ListTestsInput struct {
_ struct{} `type:"structure"`
@@ -6242,6 +7190,18 @@ func (s *ListTestsInput) Validate() error {
return nil
}
+// SetArn sets the Arn field's value.
+func (s *ListTestsInput) SetArn(v string) *ListTestsInput {
+ s.Arn = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListTestsInput) SetNextToken(v string) *ListTestsInput {
+ s.NextToken = &v
+ return s
+}
+
// Represents the result of a list tests request.
type ListTestsOutput struct {
_ struct{} `type:"structure"`
@@ -6265,6 +7225,18 @@ func (s ListTestsOutput) GoString() string {
return s.String()
}
+// SetNextToken sets the NextToken field's value.
+func (s *ListTestsOutput) SetNextToken(v string) *ListTestsOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetTests sets the Tests field's value.
+func (s *ListTestsOutput) SetTests(v []*Test) *ListTestsOutput {
+ s.Tests = v
+ return s
+}
+
// Represents a request to the list unique problems operation.
type ListUniqueProblemsInput struct {
_ struct{} `type:"structure"`
@@ -6308,6 +7280,18 @@ func (s *ListUniqueProblemsInput) Validate() error {
return nil
}
+// SetArn sets the Arn field's value.
+func (s *ListUniqueProblemsInput) SetArn(v string) *ListUniqueProblemsInput {
+ s.Arn = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListUniqueProblemsInput) SetNextToken(v string) *ListUniqueProblemsInput {
+ s.NextToken = &v
+ return s
+}
+
// Represents the result of a list unique problems request.
type ListUniqueProblemsOutput struct {
_ struct{} `type:"structure"`
@@ -6347,6 +7331,18 @@ func (s ListUniqueProblemsOutput) GoString() string {
return s.String()
}
+// SetNextToken sets the NextToken field's value.
+func (s *ListUniqueProblemsOutput) SetNextToken(v string) *ListUniqueProblemsOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetUniqueProblems sets the UniqueProblems field's value.
+func (s *ListUniqueProblemsOutput) SetUniqueProblems(v map[string][]*UniqueProblem) *ListUniqueProblemsOutput {
+ s.UniqueProblems = v
+ return s
+}
+
// Represents a request to the list uploads operation.
type ListUploadsInput struct {
_ struct{} `type:"structure"`
@@ -6391,6 +7387,18 @@ func (s *ListUploadsInput) Validate() error {
return nil
}
+// SetArn sets the Arn field's value.
+func (s *ListUploadsInput) SetArn(v string) *ListUploadsInput {
+ s.Arn = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListUploadsInput) SetNextToken(v string) *ListUploadsInput {
+ s.NextToken = &v
+ return s
+}
+
// Represents the result of a list uploads request.
type ListUploadsOutput struct {
_ struct{} `type:"structure"`
@@ -6414,6 +7422,18 @@ func (s ListUploadsOutput) GoString() string {
return s.String()
}
+// SetNextToken sets the NextToken field's value.
+func (s *ListUploadsOutput) SetNextToken(v string) *ListUploadsOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetUploads sets the Uploads field's value.
+func (s *ListUploadsOutput) SetUploads(v []*Upload) *ListUploadsOutput {
+ s.Uploads = v
+ return s
+}
+
// Represents a latitude and longitude pair, expressed in geographic coordinate
// system degrees (for example 47.6204, -122.3491).
//
@@ -6458,6 +7478,18 @@ func (s *Location) Validate() error {
return nil
}
+// SetLatitude sets the Latitude field's value.
+func (s *Location) SetLatitude(v float64) *Location {
+ s.Latitude = &v
+ return s
+}
+
+// SetLongitude sets the Longitude field's value.
+func (s *Location) SetLongitude(v float64) *Location {
+ s.Longitude = &v
+ return s
+}
+
// A number representing the monetary amount for an offering or transaction.
type MonetaryAmount struct {
_ struct{} `type:"structure"`
@@ -6479,6 +7511,18 @@ func (s MonetaryAmount) GoString() string {
return s.String()
}
+// SetAmount sets the Amount field's value.
+func (s *MonetaryAmount) SetAmount(v float64) *MonetaryAmount {
+ s.Amount = &v
+ return s
+}
+
+// SetCurrencyCode sets the CurrencyCode field's value.
+func (s *MonetaryAmount) SetCurrencyCode(v string) *MonetaryAmount {
+ s.CurrencyCode = &v
+ return s
+}
+
// Represents the metadata of a device offering.
type Offering struct {
_ struct{} `type:"structure"`
@@ -6509,6 +7553,36 @@ func (s Offering) GoString() string {
return s.String()
}
+// SetDescription sets the Description field's value.
+func (s *Offering) SetDescription(v string) *Offering {
+ s.Description = &v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *Offering) SetId(v string) *Offering {
+ s.Id = &v
+ return s
+}
+
+// SetPlatform sets the Platform field's value.
+func (s *Offering) SetPlatform(v string) *Offering {
+ s.Platform = &v
+ return s
+}
+
+// SetRecurringCharges sets the RecurringCharges field's value.
+func (s *Offering) SetRecurringCharges(v []*RecurringCharge) *Offering {
+ s.RecurringCharges = v
+ return s
+}
+
+// SetType sets the Type field's value.
+func (s *Offering) SetType(v string) *Offering {
+ s.Type = &v
+ return s
+}
+
// The status of the offering.
type OfferingStatus struct {
_ struct{} `type:"structure"`
@@ -6536,6 +7610,30 @@ func (s OfferingStatus) GoString() string {
return s.String()
}
+// SetEffectiveOn sets the EffectiveOn field's value.
+func (s *OfferingStatus) SetEffectiveOn(v time.Time) *OfferingStatus {
+ s.EffectiveOn = &v
+ return s
+}
+
+// SetOffering sets the Offering field's value.
+func (s *OfferingStatus) SetOffering(v *Offering) *OfferingStatus {
+ s.Offering = v
+ return s
+}
+
+// SetQuantity sets the Quantity field's value.
+func (s *OfferingStatus) SetQuantity(v int64) *OfferingStatus {
+ s.Quantity = &v
+ return s
+}
+
+// SetType sets the Type field's value.
+func (s *OfferingStatus) SetType(v string) *OfferingStatus {
+ s.Type = &v
+ return s
+}
+
// Represents the metadata of an offering transaction.
type OfferingTransaction struct {
_ struct{} `type:"structure"`
@@ -6563,6 +7661,30 @@ func (s OfferingTransaction) GoString() string {
return s.String()
}
+// SetCost sets the Cost field's value.
+func (s *OfferingTransaction) SetCost(v *MonetaryAmount) *OfferingTransaction {
+ s.Cost = v
+ return s
+}
+
+// SetCreatedOn sets the CreatedOn field's value.
+func (s *OfferingTransaction) SetCreatedOn(v time.Time) *OfferingTransaction {
+ s.CreatedOn = &v
+ return s
+}
+
+// SetOfferingStatus sets the OfferingStatus field's value.
+func (s *OfferingTransaction) SetOfferingStatus(v *OfferingStatus) *OfferingTransaction {
+ s.OfferingStatus = v
+ return s
+}
+
+// SetTransactionId sets the TransactionId field's value.
+func (s *OfferingTransaction) SetTransactionId(v string) *OfferingTransaction {
+ s.TransactionId = &v
+ return s
+}
+
// Represents a specific warning or failure.
type Problem struct {
_ struct{} `type:"structure"`
@@ -6615,6 +7737,48 @@ func (s Problem) GoString() string {
return s.String()
}
+// SetDevice sets the Device field's value.
+func (s *Problem) SetDevice(v *Device) *Problem {
+ s.Device = v
+ return s
+}
+
+// SetJob sets the Job field's value.
+func (s *Problem) SetJob(v *ProblemDetail) *Problem {
+ s.Job = v
+ return s
+}
+
+// SetMessage sets the Message field's value.
+func (s *Problem) SetMessage(v string) *Problem {
+ s.Message = &v
+ return s
+}
+
+// SetResult sets the Result field's value.
+func (s *Problem) SetResult(v string) *Problem {
+ s.Result = &v
+ return s
+}
+
+// SetRun sets the Run field's value.
+func (s *Problem) SetRun(v *ProblemDetail) *Problem {
+ s.Run = v
+ return s
+}
+
+// SetSuite sets the Suite field's value.
+func (s *Problem) SetSuite(v *ProblemDetail) *Problem {
+ s.Suite = v
+ return s
+}
+
+// SetTest sets the Test field's value.
+func (s *Problem) SetTest(v *ProblemDetail) *Problem {
+ s.Test = v
+ return s
+}
+
// Information about a problem detail.
type ProblemDetail struct {
_ struct{} `type:"structure"`
@@ -6636,6 +7800,18 @@ func (s ProblemDetail) GoString() string {
return s.String()
}
+// SetArn sets the Arn field's value.
+func (s *ProblemDetail) SetArn(v string) *ProblemDetail {
+ s.Arn = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *ProblemDetail) SetName(v string) *ProblemDetail {
+ s.Name = &v
+ return s
+}
+
// Represents an operating-system neutral workspace for running and managing
// tests.
type Project struct {
@@ -6661,6 +7837,24 @@ func (s Project) GoString() string {
return s.String()
}
+// SetArn sets the Arn field's value.
+func (s *Project) SetArn(v string) *Project {
+ s.Arn = &v
+ return s
+}
+
+// SetCreated sets the Created field's value.
+func (s *Project) SetCreated(v time.Time) *Project {
+ s.Created = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *Project) SetName(v string) *Project {
+ s.Name = &v
+ return s
+}
+
// Represents a request for a purchase offering.
type PurchaseOfferingInput struct {
_ struct{} `type:"structure"`
@@ -6695,6 +7889,18 @@ func (s *PurchaseOfferingInput) Validate() error {
return nil
}
+// SetOfferingId sets the OfferingId field's value.
+func (s *PurchaseOfferingInput) SetOfferingId(v string) *PurchaseOfferingInput {
+ s.OfferingId = &v
+ return s
+}
+
+// SetQuantity sets the Quantity field's value.
+func (s *PurchaseOfferingInput) SetQuantity(v int64) *PurchaseOfferingInput {
+ s.Quantity = &v
+ return s
+}
+
// The result of the purchase offering (e.g., success or failure).
type PurchaseOfferingOutput struct {
_ struct{} `type:"structure"`
@@ -6713,6 +7919,12 @@ func (s PurchaseOfferingOutput) GoString() string {
return s.String()
}
+// SetOfferingTransaction sets the OfferingTransaction field's value.
+func (s *PurchaseOfferingOutput) SetOfferingTransaction(v *OfferingTransaction) *PurchaseOfferingOutput {
+ s.OfferingTransaction = v
+ return s
+}
+
// Represents the set of radios and their states on a device. Examples of radios
// include Wi-Fi, GPS, Bluetooth, and NFC.
type Radios struct {
@@ -6741,6 +7953,30 @@ func (s Radios) GoString() string {
return s.String()
}
+// SetBluetooth sets the Bluetooth field's value.
+func (s *Radios) SetBluetooth(v bool) *Radios {
+ s.Bluetooth = &v
+ return s
+}
+
+// SetGps sets the Gps field's value.
+func (s *Radios) SetGps(v bool) *Radios {
+ s.Gps = &v
+ return s
+}
+
+// SetNfc sets the Nfc field's value.
+func (s *Radios) SetNfc(v bool) *Radios {
+ s.Nfc = &v
+ return s
+}
+
+// SetWifi sets the Wifi field's value.
+func (s *Radios) SetWifi(v bool) *Radios {
+ s.Wifi = &v
+ return s
+}
+
// Specifies whether charges for devices will be recurring.
type RecurringCharge struct {
_ struct{} `type:"structure"`
@@ -6762,6 +7998,18 @@ func (s RecurringCharge) GoString() string {
return s.String()
}
+// SetCost sets the Cost field's value.
+func (s *RecurringCharge) SetCost(v *MonetaryAmount) *RecurringCharge {
+ s.Cost = v
+ return s
+}
+
+// SetFrequency sets the Frequency field's value.
+func (s *RecurringCharge) SetFrequency(v string) *RecurringCharge {
+ s.Frequency = &v
+ return s
+}
+
// Represents information about the remote access session.
type RemoteAccessSession struct {
_ struct{} `type:"structure"`
@@ -6848,6 +8096,78 @@ func (s RemoteAccessSession) GoString() string {
return s.String()
}
+// SetArn sets the Arn field's value.
+func (s *RemoteAccessSession) SetArn(v string) *RemoteAccessSession {
+ s.Arn = &v
+ return s
+}
+
+// SetBillingMethod sets the BillingMethod field's value.
+func (s *RemoteAccessSession) SetBillingMethod(v string) *RemoteAccessSession {
+ s.BillingMethod = &v
+ return s
+}
+
+// SetCreated sets the Created field's value.
+func (s *RemoteAccessSession) SetCreated(v time.Time) *RemoteAccessSession {
+ s.Created = &v
+ return s
+}
+
+// SetDevice sets the Device field's value.
+func (s *RemoteAccessSession) SetDevice(v *Device) *RemoteAccessSession {
+ s.Device = v
+ return s
+}
+
+// SetDeviceMinutes sets the DeviceMinutes field's value.
+func (s *RemoteAccessSession) SetDeviceMinutes(v *DeviceMinutes) *RemoteAccessSession {
+ s.DeviceMinutes = v
+ return s
+}
+
+// SetEndpoint sets the Endpoint field's value.
+func (s *RemoteAccessSession) SetEndpoint(v string) *RemoteAccessSession {
+ s.Endpoint = &v
+ return s
+}
+
+// SetMessage sets the Message field's value.
+func (s *RemoteAccessSession) SetMessage(v string) *RemoteAccessSession {
+ s.Message = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *RemoteAccessSession) SetName(v string) *RemoteAccessSession {
+ s.Name = &v
+ return s
+}
+
+// SetResult sets the Result field's value.
+func (s *RemoteAccessSession) SetResult(v string) *RemoteAccessSession {
+ s.Result = &v
+ return s
+}
+
+// SetStarted sets the Started field's value.
+func (s *RemoteAccessSession) SetStarted(v time.Time) *RemoteAccessSession {
+ s.Started = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *RemoteAccessSession) SetStatus(v string) *RemoteAccessSession {
+ s.Status = &v
+ return s
+}
+
+// SetStopped sets the Stopped field's value.
+func (s *RemoteAccessSession) SetStopped(v time.Time) *RemoteAccessSession {
+ s.Stopped = &v
+ return s
+}
+
// A request representing an offering renewal.
type RenewOfferingInput struct {
_ struct{} `type:"structure"`
@@ -6882,6 +8202,18 @@ func (s *RenewOfferingInput) Validate() error {
return nil
}
+// SetOfferingId sets the OfferingId field's value.
+func (s *RenewOfferingInput) SetOfferingId(v string) *RenewOfferingInput {
+ s.OfferingId = &v
+ return s
+}
+
+// SetQuantity sets the Quantity field's value.
+func (s *RenewOfferingInput) SetQuantity(v int64) *RenewOfferingInput {
+ s.Quantity = &v
+ return s
+}
+
// The result of a renewal offering.
type RenewOfferingOutput struct {
_ struct{} `type:"structure"`
@@ -6900,6 +8232,12 @@ func (s RenewOfferingOutput) GoString() string {
return s.String()
}
+// SetOfferingTransaction sets the OfferingTransaction field's value.
+func (s *RenewOfferingOutput) SetOfferingTransaction(v *OfferingTransaction) *RenewOfferingOutput {
+ s.OfferingTransaction = v
+ return s
+}
+
// Represents the screen resolution of a device in height and width, expressed
// in pixels.
type Resolution struct {
@@ -6922,6 +8260,18 @@ func (s Resolution) GoString() string {
return s.String()
}
+// SetHeight sets the Height field's value.
+func (s *Resolution) SetHeight(v int64) *Resolution {
+ s.Height = &v
+ return s
+}
+
+// SetWidth sets the Width field's value.
+func (s *Resolution) SetWidth(v int64) *Resolution {
+ s.Width = &v
+ return s
+}
+
// Represents a condition for a device pool.
type Rule struct {
_ struct{} `type:"structure"`
@@ -6966,6 +8316,24 @@ func (s Rule) GoString() string {
return s.String()
}
+// SetAttribute sets the Attribute field's value.
+func (s *Rule) SetAttribute(v string) *Rule {
+ s.Attribute = &v
+ return s
+}
+
+// SetOperator sets the Operator field's value.
+func (s *Rule) SetOperator(v string) *Rule {
+ s.Operator = &v
+ return s
+}
+
+// SetValue sets the Value field's value.
+func (s *Rule) SetValue(v string) *Rule {
+ s.Value = &v
+ return s
+}
+
// Represents an app on a set of devices with a specific test and configuration.
type Run struct {
_ struct{} `type:"structure"`
@@ -7101,6 +8469,96 @@ func (s Run) GoString() string {
return s.String()
}
+// SetArn sets the Arn field's value.
+func (s *Run) SetArn(v string) *Run {
+ s.Arn = &v
+ return s
+}
+
+// SetBillingMethod sets the BillingMethod field's value.
+func (s *Run) SetBillingMethod(v string) *Run {
+ s.BillingMethod = &v
+ return s
+}
+
+// SetCompletedJobs sets the CompletedJobs field's value.
+func (s *Run) SetCompletedJobs(v int64) *Run {
+ s.CompletedJobs = &v
+ return s
+}
+
+// SetCounters sets the Counters field's value.
+func (s *Run) SetCounters(v *Counters) *Run {
+ s.Counters = v
+ return s
+}
+
+// SetCreated sets the Created field's value.
+func (s *Run) SetCreated(v time.Time) *Run {
+ s.Created = &v
+ return s
+}
+
+// SetDeviceMinutes sets the DeviceMinutes field's value.
+func (s *Run) SetDeviceMinutes(v *DeviceMinutes) *Run {
+ s.DeviceMinutes = v
+ return s
+}
+
+// SetMessage sets the Message field's value.
+func (s *Run) SetMessage(v string) *Run {
+ s.Message = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *Run) SetName(v string) *Run {
+ s.Name = &v
+ return s
+}
+
+// SetPlatform sets the Platform field's value.
+func (s *Run) SetPlatform(v string) *Run {
+ s.Platform = &v
+ return s
+}
+
+// SetResult sets the Result field's value.
+func (s *Run) SetResult(v string) *Run {
+ s.Result = &v
+ return s
+}
+
+// SetStarted sets the Started field's value.
+func (s *Run) SetStarted(v time.Time) *Run {
+ s.Started = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *Run) SetStatus(v string) *Run {
+ s.Status = &v
+ return s
+}
+
+// SetStopped sets the Stopped field's value.
+func (s *Run) SetStopped(v time.Time) *Run {
+ s.Stopped = &v
+ return s
+}
+
+// SetTotalJobs sets the TotalJobs field's value.
+func (s *Run) SetTotalJobs(v int64) *Run {
+ s.TotalJobs = &v
+ return s
+}
+
+// SetType sets the Type field's value.
+func (s *Run) SetType(v string) *Run {
+ s.Type = &v
+ return s
+}
+
// Represents a sample of performance data.
type Sample struct {
_ struct{} `type:"structure"`
@@ -7167,6 +8625,24 @@ func (s Sample) GoString() string {
return s.String()
}
+// SetArn sets the Arn field's value.
+func (s *Sample) SetArn(v string) *Sample {
+ s.Arn = &v
+ return s
+}
+
+// SetType sets the Type field's value.
+func (s *Sample) SetType(v string) *Sample {
+ s.Type = &v
+ return s
+}
+
+// SetUrl sets the Url field's value.
+func (s *Sample) SetUrl(v string) *Sample {
+ s.Url = &v
+ return s
+}
+
// Represents the settings for a run. Includes things like location, radio states,
// auxiliary apps, and network profiles.
type ScheduleRunConfiguration struct {
@@ -7228,6 +8704,48 @@ func (s *ScheduleRunConfiguration) Validate() error {
return nil
}
+// SetAuxiliaryApps sets the AuxiliaryApps field's value.
+func (s *ScheduleRunConfiguration) SetAuxiliaryApps(v []*string) *ScheduleRunConfiguration {
+ s.AuxiliaryApps = v
+ return s
+}
+
+// SetBillingMethod sets the BillingMethod field's value.
+func (s *ScheduleRunConfiguration) SetBillingMethod(v string) *ScheduleRunConfiguration {
+ s.BillingMethod = &v
+ return s
+}
+
+// SetExtraDataPackageArn sets the ExtraDataPackageArn field's value.
+func (s *ScheduleRunConfiguration) SetExtraDataPackageArn(v string) *ScheduleRunConfiguration {
+ s.ExtraDataPackageArn = &v
+ return s
+}
+
+// SetLocale sets the Locale field's value.
+func (s *ScheduleRunConfiguration) SetLocale(v string) *ScheduleRunConfiguration {
+ s.Locale = &v
+ return s
+}
+
+// SetLocation sets the Location field's value.
+func (s *ScheduleRunConfiguration) SetLocation(v *Location) *ScheduleRunConfiguration {
+ s.Location = v
+ return s
+}
+
+// SetNetworkProfileArn sets the NetworkProfileArn field's value.
+func (s *ScheduleRunConfiguration) SetNetworkProfileArn(v string) *ScheduleRunConfiguration {
+ s.NetworkProfileArn = &v
+ return s
+}
+
+// SetRadios sets the Radios field's value.
+func (s *ScheduleRunConfiguration) SetRadios(v *Radios) *ScheduleRunConfiguration {
+ s.Radios = v
+ return s
+}
+
// Represents a request to the schedule run operation.
type ScheduleRunInput struct {
_ struct{} `type:"structure"`
@@ -7305,6 +8823,42 @@ func (s *ScheduleRunInput) Validate() error {
return nil
}
+// SetAppArn sets the AppArn field's value.
+func (s *ScheduleRunInput) SetAppArn(v string) *ScheduleRunInput {
+ s.AppArn = &v
+ return s
+}
+
+// SetConfiguration sets the Configuration field's value.
+func (s *ScheduleRunInput) SetConfiguration(v *ScheduleRunConfiguration) *ScheduleRunInput {
+ s.Configuration = v
+ return s
+}
+
+// SetDevicePoolArn sets the DevicePoolArn field's value.
+func (s *ScheduleRunInput) SetDevicePoolArn(v string) *ScheduleRunInput {
+ s.DevicePoolArn = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *ScheduleRunInput) SetName(v string) *ScheduleRunInput {
+ s.Name = &v
+ return s
+}
+
+// SetProjectArn sets the ProjectArn field's value.
+func (s *ScheduleRunInput) SetProjectArn(v string) *ScheduleRunInput {
+ s.ProjectArn = &v
+ return s
+}
+
+// SetTest sets the Test field's value.
+func (s *ScheduleRunInput) SetTest(v *ScheduleRunTest) *ScheduleRunInput {
+ s.Test = v
+ return s
+}
+
// Represents the result of a schedule run request.
type ScheduleRunOutput struct {
_ struct{} `type:"structure"`
@@ -7323,6 +8877,12 @@ func (s ScheduleRunOutput) GoString() string {
return s.String()
}
+// SetRun sets the Run field's value.
+func (s *ScheduleRunOutput) SetRun(v *Run) *ScheduleRunOutput {
+ s.Run = v
+ return s
+}
+
// Represents additional test settings.
type ScheduleRunTest struct {
_ struct{} `type:"structure"`
@@ -7400,6 +8960,30 @@ func (s *ScheduleRunTest) Validate() error {
return nil
}
+// SetFilter sets the Filter field's value.
+func (s *ScheduleRunTest) SetFilter(v string) *ScheduleRunTest {
+ s.Filter = &v
+ return s
+}
+
+// SetParameters sets the Parameters field's value.
+func (s *ScheduleRunTest) SetParameters(v map[string]*string) *ScheduleRunTest {
+ s.Parameters = v
+ return s
+}
+
+// SetTestPackageArn sets the TestPackageArn field's value.
+func (s *ScheduleRunTest) SetTestPackageArn(v string) *ScheduleRunTest {
+ s.TestPackageArn = &v
+ return s
+}
+
+// SetType sets the Type field's value.
+func (s *ScheduleRunTest) SetType(v string) *ScheduleRunTest {
+ s.Type = &v
+ return s
+}
+
// Represents the request to stop the remote access session.
type StopRemoteAccessSessionInput struct {
_ struct{} `type:"structure"`
@@ -7436,6 +9020,12 @@ func (s *StopRemoteAccessSessionInput) Validate() error {
return nil
}
+// SetArn sets the Arn field's value.
+func (s *StopRemoteAccessSessionInput) SetArn(v string) *StopRemoteAccessSessionInput {
+ s.Arn = &v
+ return s
+}
+
// Represents the response from the server that describes the remote access
// session when AWS Device Farm stops the session.
type StopRemoteAccessSessionOutput struct {
@@ -7456,6 +9046,12 @@ func (s StopRemoteAccessSessionOutput) GoString() string {
return s.String()
}
+// SetRemoteAccessSession sets the RemoteAccessSession field's value.
+func (s *StopRemoteAccessSessionOutput) SetRemoteAccessSession(v *RemoteAccessSession) *StopRemoteAccessSessionOutput {
+ s.RemoteAccessSession = v
+ return s
+}
+
// Represents the request to stop a specific run.
type StopRunInput struct {
_ struct{} `type:"structure"`
@@ -7493,6 +9089,12 @@ func (s *StopRunInput) Validate() error {
return nil
}
+// SetArn sets the Arn field's value.
+func (s *StopRunInput) SetArn(v string) *StopRunInput {
+ s.Arn = &v
+ return s
+}
+
// Represents the results of your stop run attempt.
type StopRunOutput struct {
_ struct{} `type:"structure"`
@@ -7511,6 +9113,12 @@ func (s StopRunOutput) GoString() string {
return s.String()
}
+// SetRun sets the Run field's value.
+func (s *StopRunOutput) SetRun(v *Run) *StopRunOutput {
+ s.Run = v
+ return s
+}
+
// Represents a collection of one or more tests.
type Suite struct {
_ struct{} `type:"structure"`
@@ -7627,6 +9235,72 @@ func (s Suite) GoString() string {
return s.String()
}
+// SetArn sets the Arn field's value.
+func (s *Suite) SetArn(v string) *Suite {
+ s.Arn = &v
+ return s
+}
+
+// SetCounters sets the Counters field's value.
+func (s *Suite) SetCounters(v *Counters) *Suite {
+ s.Counters = v
+ return s
+}
+
+// SetCreated sets the Created field's value.
+func (s *Suite) SetCreated(v time.Time) *Suite {
+ s.Created = &v
+ return s
+}
+
+// SetDeviceMinutes sets the DeviceMinutes field's value.
+func (s *Suite) SetDeviceMinutes(v *DeviceMinutes) *Suite {
+ s.DeviceMinutes = v
+ return s
+}
+
+// SetMessage sets the Message field's value.
+func (s *Suite) SetMessage(v string) *Suite {
+ s.Message = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *Suite) SetName(v string) *Suite {
+ s.Name = &v
+ return s
+}
+
+// SetResult sets the Result field's value.
+func (s *Suite) SetResult(v string) *Suite {
+ s.Result = &v
+ return s
+}
+
+// SetStarted sets the Started field's value.
+func (s *Suite) SetStarted(v time.Time) *Suite {
+ s.Started = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *Suite) SetStatus(v string) *Suite {
+ s.Status = &v
+ return s
+}
+
+// SetStopped sets the Stopped field's value.
+func (s *Suite) SetStopped(v time.Time) *Suite {
+ s.Stopped = &v
+ return s
+}
+
+// SetType sets the Type field's value.
+func (s *Suite) SetType(v string) *Suite {
+ s.Type = &v
+ return s
+}
+
// Represents a condition that is evaluated.
type Test struct {
_ struct{} `type:"structure"`
@@ -7743,6 +9417,72 @@ func (s Test) GoString() string {
return s.String()
}
+// SetArn sets the Arn field's value.
+func (s *Test) SetArn(v string) *Test {
+ s.Arn = &v
+ return s
+}
+
+// SetCounters sets the Counters field's value.
+func (s *Test) SetCounters(v *Counters) *Test {
+ s.Counters = v
+ return s
+}
+
+// SetCreated sets the Created field's value.
+func (s *Test) SetCreated(v time.Time) *Test {
+ s.Created = &v
+ return s
+}
+
+// SetDeviceMinutes sets the DeviceMinutes field's value.
+func (s *Test) SetDeviceMinutes(v *DeviceMinutes) *Test {
+ s.DeviceMinutes = v
+ return s
+}
+
+// SetMessage sets the Message field's value.
+func (s *Test) SetMessage(v string) *Test {
+ s.Message = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *Test) SetName(v string) *Test {
+ s.Name = &v
+ return s
+}
+
+// SetResult sets the Result field's value.
+func (s *Test) SetResult(v string) *Test {
+ s.Result = &v
+ return s
+}
+
+// SetStarted sets the Started field's value.
+func (s *Test) SetStarted(v time.Time) *Test {
+ s.Started = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *Test) SetStatus(v string) *Test {
+ s.Status = &v
+ return s
+}
+
+// SetStopped sets the Stopped field's value.
+func (s *Test) SetStopped(v time.Time) *Test {
+ s.Stopped = &v
+ return s
+}
+
+// SetType sets the Type field's value.
+func (s *Test) SetType(v string) *Test {
+ s.Type = &v
+ return s
+}
+
// A collection of one or more problems, grouped by their result.
type UniqueProblem struct {
_ struct{} `type:"structure"`
@@ -7764,6 +9504,18 @@ func (s UniqueProblem) GoString() string {
return s.String()
}
+// SetMessage sets the Message field's value.
+func (s *UniqueProblem) SetMessage(v string) *UniqueProblem {
+ s.Message = &v
+ return s
+}
+
+// SetProblems sets the Problems field's value.
+func (s *UniqueProblem) SetProblems(v []*Problem) *UniqueProblem {
+ s.Problems = v
+ return s
+}
+
// Represents a request to the update device pool operation.
type UpdateDevicePoolInput struct {
_ struct{} `type:"structure"`
@@ -7812,6 +9564,30 @@ func (s *UpdateDevicePoolInput) Validate() error {
return nil
}
+// SetArn sets the Arn field's value.
+func (s *UpdateDevicePoolInput) SetArn(v string) *UpdateDevicePoolInput {
+ s.Arn = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *UpdateDevicePoolInput) SetDescription(v string) *UpdateDevicePoolInput {
+ s.Description = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *UpdateDevicePoolInput) SetName(v string) *UpdateDevicePoolInput {
+ s.Name = &v
+ return s
+}
+
+// SetRules sets the Rules field's value.
+func (s *UpdateDevicePoolInput) SetRules(v []*Rule) *UpdateDevicePoolInput {
+ s.Rules = v
+ return s
+}
+
// Represents the result of an update device pool request.
type UpdateDevicePoolOutput struct {
_ struct{} `type:"structure"`
@@ -7830,6 +9606,12 @@ func (s UpdateDevicePoolOutput) GoString() string {
return s.String()
}
+// SetDevicePool sets the DevicePool field's value.
+func (s *UpdateDevicePoolOutput) SetDevicePool(v *DevicePool) *UpdateDevicePoolOutput {
+ s.DevicePool = v
+ return s
+}
+
// Represents a request to the update project operation.
type UpdateProjectInput struct {
_ struct{} `type:"structure"`
@@ -7869,6 +9651,18 @@ func (s *UpdateProjectInput) Validate() error {
return nil
}
+// SetArn sets the Arn field's value.
+func (s *UpdateProjectInput) SetArn(v string) *UpdateProjectInput {
+ s.Arn = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *UpdateProjectInput) SetName(v string) *UpdateProjectInput {
+ s.Name = &v
+ return s
+}
+
// Represents the result of an update project request.
type UpdateProjectOutput struct {
_ struct{} `type:"structure"`
@@ -7888,6 +9682,12 @@ func (s UpdateProjectOutput) GoString() string {
return s.String()
}
+// SetProject sets the Project field's value.
+func (s *UpdateProjectOutput) SetProject(v *Project) *UpdateProjectOutput {
+ s.Project = v
+ return s
+}
+
// An app or a set of one or more tests to upload or that have been uploaded.
type Upload struct {
_ struct{} `type:"structure"`
@@ -7980,6 +9780,60 @@ func (s Upload) GoString() string {
return s.String()
}
+// SetArn sets the Arn field's value.
+func (s *Upload) SetArn(v string) *Upload {
+ s.Arn = &v
+ return s
+}
+
+// SetContentType sets the ContentType field's value.
+func (s *Upload) SetContentType(v string) *Upload {
+ s.ContentType = &v
+ return s
+}
+
+// SetCreated sets the Created field's value.
+func (s *Upload) SetCreated(v time.Time) *Upload {
+ s.Created = &v
+ return s
+}
+
+// SetMessage sets the Message field's value.
+func (s *Upload) SetMessage(v string) *Upload {
+ s.Message = &v
+ return s
+}
+
+// SetMetadata sets the Metadata field's value.
+func (s *Upload) SetMetadata(v string) *Upload {
+ s.Metadata = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *Upload) SetName(v string) *Upload {
+ s.Name = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *Upload) SetStatus(v string) *Upload {
+ s.Status = &v
+ return s
+}
+
+// SetType sets the Type field's value.
+func (s *Upload) SetType(v string) *Upload {
+ s.Type = &v
+ return s
+}
+
+// SetUrl sets the Url field's value.
+func (s *Upload) SetUrl(v string) *Upload {
+ s.Url = &v
+ return s
+}
+
const (
// ArtifactCategoryScreenshot is a ArtifactCategory enum value
ArtifactCategoryScreenshot = "SCREENSHOT"
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 a7757ca..d80a558 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
@@ -4,6 +4,7 @@
package directconnect
import (
+ "fmt"
"time"
"github.com/aws/aws-sdk-go/aws/awsutil"
@@ -1411,6 +1412,75 @@ func (c *DirectConnect) DescribeLocations(input *DescribeLocationsInput) (*Descr
return out, err
}
+const opDescribeTags = "DescribeTags"
+
+// DescribeTagsRequest generates a "aws/request.Request" representing the
+// client's request for the DescribeTags operation. The "output" return
+// value can be used to capture response data after the request's "Send" method
+// is called.
+//
+// See DescribeTags for usage and error information.
+//
+// Creating a request object using this method should be used when you want to inject
+// custom logic into the request's lifecycle using a custom handler, or if you want to
+// access properties on the request object before or after sending the request. If
+// you just want the service response, call the DescribeTags method directly
+// instead.
+//
+// Note: You must call the "Send" method on the returned request object in order
+// to execute the request.
+//
+// // Example sending a request using the DescribeTagsRequest method.
+// req, resp := client.DescribeTagsRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+func (c *DirectConnect) DescribeTagsRequest(input *DescribeTagsInput) (req *request.Request, output *DescribeTagsOutput) {
+ op := &request.Operation{
+ Name: opDescribeTags,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &DescribeTagsInput{}
+ }
+
+ req = c.newRequest(op, input, output)
+ output = &DescribeTagsOutput{}
+ req.Data = output
+ return
+}
+
+// DescribeTags API operation for AWS Direct Connect.
+//
+// Describes the tags associated with the specified Direct Connect 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 AWS Direct Connect's
+// API operation DescribeTags for usage and error information.
+//
+// Returned Error Codes:
+// * ServerException
+// A server-side error occurred during the API call. The error message will
+// contain additional details about the cause.
+//
+// * ClientException
+// The API was called with invalid parameters. The error message will contain
+// additional details about the cause.
+//
+func (c *DirectConnect) DescribeTags(input *DescribeTagsInput) (*DescribeTagsOutput, error) {
+ req, out := c.DescribeTagsRequest(input)
+ err := req.Send()
+ return out, err
+}
+
const opDescribeVirtualGateways = "DescribeVirtualGateways"
// DescribeVirtualGatewaysRequest generates a "aws/request.Request" representing the
@@ -1566,6 +1636,156 @@ func (c *DirectConnect) DescribeVirtualInterfaces(input *DescribeVirtualInterfac
return out, err
}
+const opTagResource = "TagResource"
+
+// TagResourceRequest generates a "aws/request.Request" representing the
+// client's request for the TagResource operation. The "output" return
+// value can be used to capture response data after the request's "Send" method
+// is called.
+//
+// See TagResource for usage and error information.
+//
+// Creating a request object using this method should be used when you want to inject
+// custom logic into the request's lifecycle using a custom handler, or if you want to
+// access properties on the request object before or after sending the request. If
+// you just want the service response, call the TagResource method directly
+// instead.
+//
+// Note: You must call the "Send" method on the returned request object in order
+// to execute the request.
+//
+// // Example sending a request using the TagResourceRequest method.
+// req, resp := client.TagResourceRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+func (c *DirectConnect) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) {
+ op := &request.Operation{
+ Name: opTagResource,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &TagResourceInput{}
+ }
+
+ req = c.newRequest(op, input, output)
+ output = &TagResourceOutput{}
+ req.Data = output
+ return
+}
+
+// TagResource API operation for AWS Direct Connect.
+//
+// Adds the specified tags to the specified Direct Connect resource. Each Direct
+// Connect resource can have a maximum of 50 tags.
+//
+// Each tag consists of a key and an optional value. If a tag with the same
+// key is already associated with the Direct Connect resource, this action updates
+// its 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 AWS Direct Connect's
+// API operation TagResource for usage and error information.
+//
+// Returned Error Codes:
+// * DuplicateTagKeysException
+// A tag key was specified more than once.
+//
+// * TooManyTagsException
+// You have reached the limit on the number of tags that can be assigned to
+// a Direct Connect resource.
+//
+// * ServerException
+// A server-side error occurred during the API call. The error message will
+// contain additional details about the cause.
+//
+// * ClientException
+// The API was called with invalid parameters. The error message will contain
+// additional details about the cause.
+//
+func (c *DirectConnect) TagResource(input *TagResourceInput) (*TagResourceOutput, error) {
+ req, out := c.TagResourceRequest(input)
+ err := req.Send()
+ return out, err
+}
+
+const opUntagResource = "UntagResource"
+
+// UntagResourceRequest generates a "aws/request.Request" representing the
+// client's request for the UntagResource operation. The "output" return
+// value can be used to capture response data after the request's "Send" method
+// is called.
+//
+// See UntagResource for usage and error information.
+//
+// Creating a request object using this method should be used when you want to inject
+// custom logic into the request's lifecycle using a custom handler, or if you want to
+// access properties on the request object before or after sending the request. If
+// you just want the service response, call the UntagResource method directly
+// instead.
+//
+// Note: You must call the "Send" method on the returned request object in order
+// to execute the request.
+//
+// // Example sending a request using the UntagResourceRequest method.
+// req, resp := client.UntagResourceRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+func (c *DirectConnect) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) {
+ op := &request.Operation{
+ Name: opUntagResource,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &UntagResourceInput{}
+ }
+
+ req = c.newRequest(op, input, output)
+ output = &UntagResourceOutput{}
+ req.Data = output
+ return
+}
+
+// UntagResource API operation for AWS Direct Connect.
+//
+// Removes one or more tags from the specified Direct Connect 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
+// the error.
+//
+// See the AWS API reference guide for AWS Direct Connect's
+// API operation UntagResource for usage and error information.
+//
+// Returned Error Codes:
+// * ServerException
+// A server-side error occurred during the API call. The error message will
+// contain additional details about the cause.
+//
+// * ClientException
+// The API was called with invalid parameters. The error message will contain
+// additional details about the cause.
+//
+func (c *DirectConnect) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) {
+ req, out := c.UntagResourceRequest(input)
+ err := req.Send()
+ return out, err
+}
+
// Container for the parameters to the AllocateConnectionOnInterconnect operation.
type AllocateConnectionOnInterconnectInput struct {
_ struct{} `type:"structure"`
@@ -1653,6 +1873,36 @@ func (s *AllocateConnectionOnInterconnectInput) Validate() error {
return nil
}
+// SetBandwidth sets the Bandwidth field's value.
+func (s *AllocateConnectionOnInterconnectInput) SetBandwidth(v string) *AllocateConnectionOnInterconnectInput {
+ s.Bandwidth = &v
+ return s
+}
+
+// SetConnectionName sets the ConnectionName field's value.
+func (s *AllocateConnectionOnInterconnectInput) SetConnectionName(v string) *AllocateConnectionOnInterconnectInput {
+ s.ConnectionName = &v
+ return s
+}
+
+// SetInterconnectId sets the InterconnectId field's value.
+func (s *AllocateConnectionOnInterconnectInput) SetInterconnectId(v string) *AllocateConnectionOnInterconnectInput {
+ s.InterconnectId = &v
+ return s
+}
+
+// SetOwnerAccount sets the OwnerAccount field's value.
+func (s *AllocateConnectionOnInterconnectInput) SetOwnerAccount(v string) *AllocateConnectionOnInterconnectInput {
+ s.OwnerAccount = &v
+ return s
+}
+
+// SetVlan sets the Vlan field's value.
+func (s *AllocateConnectionOnInterconnectInput) SetVlan(v int64) *AllocateConnectionOnInterconnectInput {
+ s.Vlan = &v
+ return s
+}
+
// Container for the parameters to the AllocatePrivateVirtualInterface operation.
type AllocatePrivateVirtualInterfaceInput struct {
_ struct{} `type:"structure"`
@@ -1713,6 +1963,24 @@ func (s *AllocatePrivateVirtualInterfaceInput) Validate() error {
return nil
}
+// SetConnectionId sets the ConnectionId field's value.
+func (s *AllocatePrivateVirtualInterfaceInput) SetConnectionId(v string) *AllocatePrivateVirtualInterfaceInput {
+ s.ConnectionId = &v
+ return s
+}
+
+// SetNewPrivateVirtualInterfaceAllocation sets the NewPrivateVirtualInterfaceAllocation field's value.
+func (s *AllocatePrivateVirtualInterfaceInput) SetNewPrivateVirtualInterfaceAllocation(v *NewPrivateVirtualInterfaceAllocation) *AllocatePrivateVirtualInterfaceInput {
+ s.NewPrivateVirtualInterfaceAllocation = v
+ return s
+}
+
+// SetOwnerAccount sets the OwnerAccount field's value.
+func (s *AllocatePrivateVirtualInterfaceInput) SetOwnerAccount(v string) *AllocatePrivateVirtualInterfaceInput {
+ s.OwnerAccount = &v
+ return s
+}
+
// Container for the parameters to the AllocatePublicVirtualInterface operation.
type AllocatePublicVirtualInterfaceInput struct {
_ struct{} `type:"structure"`
@@ -1773,6 +2041,24 @@ func (s *AllocatePublicVirtualInterfaceInput) Validate() error {
return nil
}
+// SetConnectionId sets the ConnectionId field's value.
+func (s *AllocatePublicVirtualInterfaceInput) SetConnectionId(v string) *AllocatePublicVirtualInterfaceInput {
+ s.ConnectionId = &v
+ return s
+}
+
+// SetNewPublicVirtualInterfaceAllocation sets the NewPublicVirtualInterfaceAllocation field's value.
+func (s *AllocatePublicVirtualInterfaceInput) SetNewPublicVirtualInterfaceAllocation(v *NewPublicVirtualInterfaceAllocation) *AllocatePublicVirtualInterfaceInput {
+ s.NewPublicVirtualInterfaceAllocation = v
+ return s
+}
+
+// SetOwnerAccount sets the OwnerAccount field's value.
+func (s *AllocatePublicVirtualInterfaceInput) SetOwnerAccount(v string) *AllocatePublicVirtualInterfaceInput {
+ s.OwnerAccount = &v
+ return s
+}
+
// Container for the parameters to the ConfirmConnection operation.
type ConfirmConnectionInput struct {
_ struct{} `type:"structure"`
@@ -1810,6 +2096,12 @@ func (s *ConfirmConnectionInput) Validate() error {
return nil
}
+// SetConnectionId sets the ConnectionId field's value.
+func (s *ConfirmConnectionInput) SetConnectionId(v string) *ConfirmConnectionInput {
+ s.ConnectionId = &v
+ return s
+}
+
// The response received when ConfirmConnection is called.
type ConfirmConnectionOutput struct {
_ struct{} `type:"structure"`
@@ -1849,6 +2141,12 @@ func (s ConfirmConnectionOutput) GoString() string {
return s.String()
}
+// SetConnectionState sets the ConnectionState field's value.
+func (s *ConfirmConnectionOutput) SetConnectionState(v string) *ConfirmConnectionOutput {
+ s.ConnectionState = &v
+ return s
+}
+
// Container for the parameters to the ConfirmPrivateVirtualInterface operation.
type ConfirmPrivateVirtualInterfaceInput struct {
_ struct{} `type:"structure"`
@@ -1900,6 +2198,18 @@ func (s *ConfirmPrivateVirtualInterfaceInput) Validate() error {
return nil
}
+// SetVirtualGatewayId sets the VirtualGatewayId field's value.
+func (s *ConfirmPrivateVirtualInterfaceInput) SetVirtualGatewayId(v string) *ConfirmPrivateVirtualInterfaceInput {
+ s.VirtualGatewayId = &v
+ return s
+}
+
+// SetVirtualInterfaceId sets the VirtualInterfaceId field's value.
+func (s *ConfirmPrivateVirtualInterfaceInput) SetVirtualInterfaceId(v string) *ConfirmPrivateVirtualInterfaceInput {
+ s.VirtualInterfaceId = &v
+ return s
+}
+
// The response received when ConfirmPrivateVirtualInterface is called.
type ConfirmPrivateVirtualInterfaceOutput struct {
_ struct{} `type:"structure"`
@@ -1945,6 +2255,12 @@ func (s ConfirmPrivateVirtualInterfaceOutput) GoString() string {
return s.String()
}
+// SetVirtualInterfaceState sets the VirtualInterfaceState field's value.
+func (s *ConfirmPrivateVirtualInterfaceOutput) SetVirtualInterfaceState(v string) *ConfirmPrivateVirtualInterfaceOutput {
+ s.VirtualInterfaceState = &v
+ return s
+}
+
// Container for the parameters to the ConfirmPublicVirtualInterface operation.
type ConfirmPublicVirtualInterfaceInput struct {
_ struct{} `type:"structure"`
@@ -1982,6 +2298,12 @@ func (s *ConfirmPublicVirtualInterfaceInput) Validate() error {
return nil
}
+// SetVirtualInterfaceId sets the VirtualInterfaceId field's value.
+func (s *ConfirmPublicVirtualInterfaceInput) SetVirtualInterfaceId(v string) *ConfirmPublicVirtualInterfaceInput {
+ s.VirtualInterfaceId = &v
+ return s
+}
+
// The response received when ConfirmPublicVirtualInterface is called.
type ConfirmPublicVirtualInterfaceOutput struct {
_ struct{} `type:"structure"`
@@ -2027,6 +2349,12 @@ func (s ConfirmPublicVirtualInterfaceOutput) GoString() string {
return s.String()
}
+// SetVirtualInterfaceState sets the VirtualInterfaceState field's value.
+func (s *ConfirmPublicVirtualInterfaceOutput) SetVirtualInterfaceState(v string) *ConfirmPublicVirtualInterfaceOutput {
+ s.VirtualInterfaceState = &v
+ return s
+}
+
// A connection represents the physical network connection between the AWS Direct
// Connect location and the customer.
type Connection struct {
@@ -2116,6 +2444,66 @@ func (s Connection) GoString() string {
return s.String()
}
+// SetBandwidth sets the Bandwidth field's value.
+func (s *Connection) SetBandwidth(v string) *Connection {
+ s.Bandwidth = &v
+ return s
+}
+
+// SetConnectionId sets the ConnectionId field's value.
+func (s *Connection) SetConnectionId(v string) *Connection {
+ s.ConnectionId = &v
+ return s
+}
+
+// SetConnectionName sets the ConnectionName field's value.
+func (s *Connection) SetConnectionName(v string) *Connection {
+ s.ConnectionName = &v
+ return s
+}
+
+// SetConnectionState sets the ConnectionState field's value.
+func (s *Connection) SetConnectionState(v string) *Connection {
+ s.ConnectionState = &v
+ return s
+}
+
+// SetLoaIssueTime sets the LoaIssueTime field's value.
+func (s *Connection) SetLoaIssueTime(v time.Time) *Connection {
+ s.LoaIssueTime = &v
+ return s
+}
+
+// SetLocation sets the Location field's value.
+func (s *Connection) SetLocation(v string) *Connection {
+ s.Location = &v
+ return s
+}
+
+// SetOwnerAccount sets the OwnerAccount field's value.
+func (s *Connection) SetOwnerAccount(v string) *Connection {
+ s.OwnerAccount = &v
+ return s
+}
+
+// SetPartnerName sets the PartnerName field's value.
+func (s *Connection) SetPartnerName(v string) *Connection {
+ s.PartnerName = &v
+ return s
+}
+
+// SetRegion sets the Region field's value.
+func (s *Connection) SetRegion(v string) *Connection {
+ s.Region = &v
+ return s
+}
+
+// SetVlan sets the Vlan field's value.
+func (s *Connection) SetVlan(v int64) *Connection {
+ s.Vlan = &v
+ return s
+}
+
// A structure containing a list of connections.
type Connections struct {
_ struct{} `type:"structure"`
@@ -2134,6 +2522,12 @@ func (s Connections) GoString() string {
return s.String()
}
+// SetConnections sets the Connections field's value.
+func (s *Connections) SetConnections(v []*Connection) *Connections {
+ s.Connections = v
+ return s
+}
+
// Container for the parameters to the CreateConnection operation.
type CreateConnectionInput struct {
_ struct{} `type:"structure"`
@@ -2195,6 +2589,24 @@ func (s *CreateConnectionInput) Validate() error {
return nil
}
+// SetBandwidth sets the Bandwidth field's value.
+func (s *CreateConnectionInput) SetBandwidth(v string) *CreateConnectionInput {
+ s.Bandwidth = &v
+ return s
+}
+
+// SetConnectionName sets the ConnectionName field's value.
+func (s *CreateConnectionInput) SetConnectionName(v string) *CreateConnectionInput {
+ s.ConnectionName = &v
+ return s
+}
+
+// SetLocation sets the Location field's value.
+func (s *CreateConnectionInput) SetLocation(v string) *CreateConnectionInput {
+ s.Location = &v
+ return s
+}
+
// Container for the parameters to the CreateInterconnect operation.
type CreateInterconnectInput struct {
_ struct{} `type:"structure"`
@@ -2258,6 +2670,24 @@ func (s *CreateInterconnectInput) Validate() error {
return nil
}
+// SetBandwidth sets the Bandwidth field's value.
+func (s *CreateInterconnectInput) SetBandwidth(v string) *CreateInterconnectInput {
+ s.Bandwidth = &v
+ return s
+}
+
+// SetInterconnectName sets the InterconnectName field's value.
+func (s *CreateInterconnectInput) SetInterconnectName(v string) *CreateInterconnectInput {
+ s.InterconnectName = &v
+ return s
+}
+
+// SetLocation sets the Location field's value.
+func (s *CreateInterconnectInput) SetLocation(v string) *CreateInterconnectInput {
+ s.Location = &v
+ return s
+}
+
// Container for the parameters to the CreatePrivateVirtualInterface operation.
type CreatePrivateVirtualInterfaceInput struct {
_ struct{} `type:"structure"`
@@ -2310,6 +2740,18 @@ func (s *CreatePrivateVirtualInterfaceInput) Validate() error {
return nil
}
+// SetConnectionId sets the ConnectionId field's value.
+func (s *CreatePrivateVirtualInterfaceInput) SetConnectionId(v string) *CreatePrivateVirtualInterfaceInput {
+ s.ConnectionId = &v
+ return s
+}
+
+// SetNewPrivateVirtualInterface sets the NewPrivateVirtualInterface field's value.
+func (s *CreatePrivateVirtualInterfaceInput) SetNewPrivateVirtualInterface(v *NewPrivateVirtualInterface) *CreatePrivateVirtualInterfaceInput {
+ s.NewPrivateVirtualInterface = v
+ return s
+}
+
// Container for the parameters to the CreatePublicVirtualInterface operation.
type CreatePublicVirtualInterfaceInput struct {
_ struct{} `type:"structure"`
@@ -2362,6 +2804,18 @@ func (s *CreatePublicVirtualInterfaceInput) Validate() error {
return nil
}
+// SetConnectionId sets the ConnectionId field's value.
+func (s *CreatePublicVirtualInterfaceInput) SetConnectionId(v string) *CreatePublicVirtualInterfaceInput {
+ s.ConnectionId = &v
+ return s
+}
+
+// SetNewPublicVirtualInterface sets the NewPublicVirtualInterface field's value.
+func (s *CreatePublicVirtualInterfaceInput) SetNewPublicVirtualInterface(v *NewPublicVirtualInterface) *CreatePublicVirtualInterfaceInput {
+ s.NewPublicVirtualInterface = v
+ return s
+}
+
// Container for the parameters to the DeleteConnection operation.
type DeleteConnectionInput struct {
_ struct{} `type:"structure"`
@@ -2399,6 +2853,12 @@ func (s *DeleteConnectionInput) Validate() error {
return nil
}
+// SetConnectionId sets the ConnectionId field's value.
+func (s *DeleteConnectionInput) SetConnectionId(v string) *DeleteConnectionInput {
+ s.ConnectionId = &v
+ return s
+}
+
// Container for the parameters to the DeleteInterconnect operation.
type DeleteInterconnectInput struct {
_ struct{} `type:"structure"`
@@ -2434,6 +2894,12 @@ func (s *DeleteInterconnectInput) Validate() error {
return nil
}
+// SetInterconnectId sets the InterconnectId field's value.
+func (s *DeleteInterconnectInput) SetInterconnectId(v string) *DeleteInterconnectInput {
+ s.InterconnectId = &v
+ return s
+}
+
// The response received when DeleteInterconnect is called.
type DeleteInterconnectOutput struct {
_ struct{} `type:"structure"`
@@ -2467,6 +2933,12 @@ func (s DeleteInterconnectOutput) GoString() string {
return s.String()
}
+// SetInterconnectState sets the InterconnectState field's value.
+func (s *DeleteInterconnectOutput) SetInterconnectState(v string) *DeleteInterconnectOutput {
+ s.InterconnectState = &v
+ return s
+}
+
// Container for the parameters to the DeleteVirtualInterface operation.
type DeleteVirtualInterfaceInput struct {
_ struct{} `type:"structure"`
@@ -2504,6 +2976,12 @@ func (s *DeleteVirtualInterfaceInput) Validate() error {
return nil
}
+// SetVirtualInterfaceId sets the VirtualInterfaceId field's value.
+func (s *DeleteVirtualInterfaceInput) SetVirtualInterfaceId(v string) *DeleteVirtualInterfaceInput {
+ s.VirtualInterfaceId = &v
+ return s
+}
+
// The response received when DeleteVirtualInterface is called.
type DeleteVirtualInterfaceOutput struct {
_ struct{} `type:"structure"`
@@ -2549,6 +3027,12 @@ func (s DeleteVirtualInterfaceOutput) GoString() string {
return s.String()
}
+// SetVirtualInterfaceState sets the VirtualInterfaceState field's value.
+func (s *DeleteVirtualInterfaceOutput) SetVirtualInterfaceState(v string) *DeleteVirtualInterfaceOutput {
+ s.VirtualInterfaceState = &v
+ return s
+}
+
// Container for the parameters to the DescribeConnectionLoa operation.
type DescribeConnectionLoaInput struct {
_ struct{} `type:"structure"`
@@ -2599,6 +3083,24 @@ func (s *DescribeConnectionLoaInput) Validate() error {
return nil
}
+// SetConnectionId sets the ConnectionId field's value.
+func (s *DescribeConnectionLoaInput) SetConnectionId(v string) *DescribeConnectionLoaInput {
+ s.ConnectionId = &v
+ return s
+}
+
+// SetLoaContentType sets the LoaContentType field's value.
+func (s *DescribeConnectionLoaInput) SetLoaContentType(v string) *DescribeConnectionLoaInput {
+ s.LoaContentType = &v
+ return s
+}
+
+// SetProviderName sets the ProviderName field's value.
+func (s *DescribeConnectionLoaInput) SetProviderName(v string) *DescribeConnectionLoaInput {
+ s.ProviderName = &v
+ return s
+}
+
// The response received when DescribeConnectionLoa is called.
type DescribeConnectionLoaOutput struct {
_ struct{} `type:"structure"`
@@ -2618,6 +3120,12 @@ func (s DescribeConnectionLoaOutput) GoString() string {
return s.String()
}
+// SetLoa sets the Loa field's value.
+func (s *DescribeConnectionLoaOutput) SetLoa(v *Loa) *DescribeConnectionLoaOutput {
+ s.Loa = v
+ return s
+}
+
// Container for the parameters to the DescribeConnections operation.
type DescribeConnectionsInput struct {
_ struct{} `type:"structure"`
@@ -2640,6 +3148,12 @@ func (s DescribeConnectionsInput) GoString() string {
return s.String()
}
+// SetConnectionId sets the ConnectionId field's value.
+func (s *DescribeConnectionsInput) SetConnectionId(v string) *DescribeConnectionsInput {
+ s.ConnectionId = &v
+ return s
+}
+
// Container for the parameters to the DescribeConnectionsOnInterconnect operation.
type DescribeConnectionsOnInterconnectInput struct {
_ struct{} `type:"structure"`
@@ -2677,6 +3191,12 @@ func (s *DescribeConnectionsOnInterconnectInput) Validate() error {
return nil
}
+// SetInterconnectId sets the InterconnectId field's value.
+func (s *DescribeConnectionsOnInterconnectInput) SetInterconnectId(v string) *DescribeConnectionsOnInterconnectInput {
+ s.InterconnectId = &v
+ return s
+}
+
// Container for the parameters to the DescribeInterconnectLoa operation.
type DescribeInterconnectLoaInput struct {
_ struct{} `type:"structure"`
@@ -2725,6 +3245,24 @@ func (s *DescribeInterconnectLoaInput) Validate() error {
return nil
}
+// SetInterconnectId sets the InterconnectId field's value.
+func (s *DescribeInterconnectLoaInput) SetInterconnectId(v string) *DescribeInterconnectLoaInput {
+ s.InterconnectId = &v
+ return s
+}
+
+// SetLoaContentType sets the LoaContentType field's value.
+func (s *DescribeInterconnectLoaInput) SetLoaContentType(v string) *DescribeInterconnectLoaInput {
+ s.LoaContentType = &v
+ return s
+}
+
+// SetProviderName sets the ProviderName field's value.
+func (s *DescribeInterconnectLoaInput) SetProviderName(v string) *DescribeInterconnectLoaInput {
+ s.ProviderName = &v
+ return s
+}
+
// The response received when DescribeInterconnectLoa is called.
type DescribeInterconnectLoaOutput struct {
_ struct{} `type:"structure"`
@@ -2744,6 +3282,12 @@ func (s DescribeInterconnectLoaOutput) GoString() string {
return s.String()
}
+// SetLoa sets the Loa field's value.
+func (s *DescribeInterconnectLoaOutput) SetLoa(v *Loa) *DescribeInterconnectLoaOutput {
+ s.Loa = v
+ return s
+}
+
// Container for the parameters to the DescribeInterconnects operation.
type DescribeInterconnectsInput struct {
_ struct{} `type:"structure"`
@@ -2764,6 +3308,12 @@ func (s DescribeInterconnectsInput) GoString() string {
return s.String()
}
+// SetInterconnectId sets the InterconnectId field's value.
+func (s *DescribeInterconnectsInput) SetInterconnectId(v string) *DescribeInterconnectsInput {
+ s.InterconnectId = &v
+ return s
+}
+
// A structure containing a list of interconnects.
type DescribeInterconnectsOutput struct {
_ struct{} `type:"structure"`
@@ -2782,6 +3332,12 @@ func (s DescribeInterconnectsOutput) GoString() string {
return s.String()
}
+// SetInterconnects sets the Interconnects field's value.
+func (s *DescribeInterconnectsOutput) SetInterconnects(v []*Interconnect) *DescribeInterconnectsOutput {
+ s.Interconnects = v
+ return s
+}
+
type DescribeLocationsInput struct {
_ struct{} `type:"structure"`
}
@@ -2818,6 +3374,75 @@ func (s DescribeLocationsOutput) GoString() string {
return s.String()
}
+// SetLocations sets the Locations field's value.
+func (s *DescribeLocationsOutput) SetLocations(v []*Location) *DescribeLocationsOutput {
+ s.Locations = v
+ return s
+}
+
+// Container for the parameters to the DescribeTags operation.
+type DescribeTagsInput struct {
+ _ struct{} `type:"structure"`
+
+ // The Amazon Resource Names (ARNs) of the Direct Connect resources.
+ //
+ // ResourceArns is a required field
+ ResourceArns []*string `locationName:"resourceArns" type:"list" required:"true"`
+}
+
+// String returns the string representation
+func (s DescribeTagsInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s DescribeTagsInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DescribeTagsInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DescribeTagsInput"}
+ if s.ResourceArns == nil {
+ invalidParams.Add(request.NewErrParamRequired("ResourceArns"))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetResourceArns sets the ResourceArns field's value.
+func (s *DescribeTagsInput) SetResourceArns(v []*string) *DescribeTagsInput {
+ s.ResourceArns = v
+ return s
+}
+
+// The response received when DescribeTags is called.
+type DescribeTagsOutput struct {
+ _ struct{} `type:"structure"`
+
+ // Information about the tags.
+ ResourceTags []*ResourceTag `locationName:"resourceTags" type:"list"`
+}
+
+// String returns the string representation
+func (s DescribeTagsOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s DescribeTagsOutput) GoString() string {
+ return s.String()
+}
+
+// SetResourceTags sets the ResourceTags field's value.
+func (s *DescribeTagsOutput) SetResourceTags(v []*ResourceTag) *DescribeTagsOutput {
+ s.ResourceTags = v
+ return s
+}
+
type DescribeVirtualGatewaysInput struct {
_ struct{} `type:"structure"`
}
@@ -2850,6 +3475,12 @@ func (s DescribeVirtualGatewaysOutput) GoString() string {
return s.String()
}
+// SetVirtualGateways sets the VirtualGateways field's value.
+func (s *DescribeVirtualGatewaysOutput) SetVirtualGateways(v []*VirtualGateway) *DescribeVirtualGatewaysOutput {
+ s.VirtualGateways = v
+ return s
+}
+
// Container for the parameters to the DescribeVirtualInterfaces operation.
type DescribeVirtualInterfacesInput struct {
_ struct{} `type:"structure"`
@@ -2879,6 +3510,18 @@ func (s DescribeVirtualInterfacesInput) GoString() string {
return s.String()
}
+// SetConnectionId sets the ConnectionId field's value.
+func (s *DescribeVirtualInterfacesInput) SetConnectionId(v string) *DescribeVirtualInterfacesInput {
+ s.ConnectionId = &v
+ return s
+}
+
+// SetVirtualInterfaceId sets the VirtualInterfaceId field's value.
+func (s *DescribeVirtualInterfacesInput) SetVirtualInterfaceId(v string) *DescribeVirtualInterfacesInput {
+ s.VirtualInterfaceId = &v
+ return s
+}
+
// A structure containing a list of virtual interfaces.
type DescribeVirtualInterfacesOutput struct {
_ struct{} `type:"structure"`
@@ -2897,6 +3540,12 @@ func (s DescribeVirtualInterfacesOutput) GoString() string {
return s.String()
}
+// SetVirtualInterfaces sets the VirtualInterfaces field's value.
+func (s *DescribeVirtualInterfacesOutput) SetVirtualInterfaces(v []*VirtualInterface) *DescribeVirtualInterfacesOutput {
+ s.VirtualInterfaces = v
+ return s
+}
+
// An interconnect is a connection that can host other connections.
//
// Like a standard AWS Direct Connect connection, an interconnect represents
@@ -2975,6 +3624,48 @@ func (s Interconnect) GoString() string {
return s.String()
}
+// SetBandwidth sets the Bandwidth field's value.
+func (s *Interconnect) SetBandwidth(v string) *Interconnect {
+ s.Bandwidth = &v
+ return s
+}
+
+// SetInterconnectId sets the InterconnectId field's value.
+func (s *Interconnect) SetInterconnectId(v string) *Interconnect {
+ s.InterconnectId = &v
+ return s
+}
+
+// SetInterconnectName sets the InterconnectName field's value.
+func (s *Interconnect) SetInterconnectName(v string) *Interconnect {
+ s.InterconnectName = &v
+ return s
+}
+
+// SetInterconnectState sets the InterconnectState field's value.
+func (s *Interconnect) SetInterconnectState(v string) *Interconnect {
+ s.InterconnectState = &v
+ return s
+}
+
+// SetLoaIssueTime sets the LoaIssueTime field's value.
+func (s *Interconnect) SetLoaIssueTime(v time.Time) *Interconnect {
+ s.LoaIssueTime = &v
+ return s
+}
+
+// SetLocation sets the Location field's value.
+func (s *Interconnect) SetLocation(v string) *Interconnect {
+ s.Location = &v
+ return s
+}
+
+// SetRegion sets the Region field's value.
+func (s *Interconnect) SetRegion(v string) *Interconnect {
+ s.Region = &v
+ return s
+}
+
// A structure containing the Letter of Authorization - Connecting Facility
// Assignment (LOA-CFA) for a connection.
type Loa struct {
@@ -3002,6 +3693,18 @@ func (s Loa) GoString() string {
return s.String()
}
+// SetLoaContent sets the LoaContent field's value.
+func (s *Loa) SetLoaContent(v []byte) *Loa {
+ s.LoaContent = v
+ return s
+}
+
+// SetLoaContentType sets the LoaContentType field's value.
+func (s *Loa) SetLoaContentType(v string) *Loa {
+ s.LoaContentType = &v
+ return s
+}
+
// An AWS Direct Connect location where connections and interconnects can be
// requested.
type Location struct {
@@ -3025,6 +3728,18 @@ func (s Location) GoString() string {
return s.String()
}
+// SetLocationCode sets the LocationCode field's value.
+func (s *Location) SetLocationCode(v string) *Location {
+ s.LocationCode = &v
+ return s
+}
+
+// SetLocationName sets the LocationName field's value.
+func (s *Location) SetLocationName(v string) *Location {
+ s.LocationName = &v
+ return s
+}
+
// A structure containing information about a new private virtual interface.
type NewPrivateVirtualInterface struct {
_ struct{} `type:"structure"`
@@ -3106,6 +3821,48 @@ func (s *NewPrivateVirtualInterface) Validate() error {
return nil
}
+// SetAmazonAddress sets the AmazonAddress field's value.
+func (s *NewPrivateVirtualInterface) SetAmazonAddress(v string) *NewPrivateVirtualInterface {
+ s.AmazonAddress = &v
+ return s
+}
+
+// SetAsn sets the Asn field's value.
+func (s *NewPrivateVirtualInterface) SetAsn(v int64) *NewPrivateVirtualInterface {
+ s.Asn = &v
+ return s
+}
+
+// SetAuthKey sets the AuthKey field's value.
+func (s *NewPrivateVirtualInterface) SetAuthKey(v string) *NewPrivateVirtualInterface {
+ s.AuthKey = &v
+ return s
+}
+
+// SetCustomerAddress sets the CustomerAddress field's value.
+func (s *NewPrivateVirtualInterface) SetCustomerAddress(v string) *NewPrivateVirtualInterface {
+ s.CustomerAddress = &v
+ return s
+}
+
+// SetVirtualGatewayId sets the VirtualGatewayId field's value.
+func (s *NewPrivateVirtualInterface) SetVirtualGatewayId(v string) *NewPrivateVirtualInterface {
+ s.VirtualGatewayId = &v
+ return s
+}
+
+// SetVirtualInterfaceName sets the VirtualInterfaceName field's value.
+func (s *NewPrivateVirtualInterface) SetVirtualInterfaceName(v string) *NewPrivateVirtualInterface {
+ s.VirtualInterfaceName = &v
+ return s
+}
+
+// SetVlan sets the Vlan field's value.
+func (s *NewPrivateVirtualInterface) SetVlan(v int64) *NewPrivateVirtualInterface {
+ s.Vlan = &v
+ return s
+}
+
// A structure containing information about a private virtual interface that
// will be provisioned on a connection.
type NewPrivateVirtualInterfaceAllocation struct {
@@ -3177,6 +3934,42 @@ func (s *NewPrivateVirtualInterfaceAllocation) Validate() error {
return nil
}
+// SetAmazonAddress sets the AmazonAddress field's value.
+func (s *NewPrivateVirtualInterfaceAllocation) SetAmazonAddress(v string) *NewPrivateVirtualInterfaceAllocation {
+ s.AmazonAddress = &v
+ return s
+}
+
+// SetAsn sets the Asn field's value.
+func (s *NewPrivateVirtualInterfaceAllocation) SetAsn(v int64) *NewPrivateVirtualInterfaceAllocation {
+ s.Asn = &v
+ return s
+}
+
+// SetAuthKey sets the AuthKey field's value.
+func (s *NewPrivateVirtualInterfaceAllocation) SetAuthKey(v string) *NewPrivateVirtualInterfaceAllocation {
+ s.AuthKey = &v
+ return s
+}
+
+// SetCustomerAddress sets the CustomerAddress field's value.
+func (s *NewPrivateVirtualInterfaceAllocation) SetCustomerAddress(v string) *NewPrivateVirtualInterfaceAllocation {
+ s.CustomerAddress = &v
+ return s
+}
+
+// SetVirtualInterfaceName sets the VirtualInterfaceName field's value.
+func (s *NewPrivateVirtualInterfaceAllocation) SetVirtualInterfaceName(v string) *NewPrivateVirtualInterfaceAllocation {
+ s.VirtualInterfaceName = &v
+ return s
+}
+
+// SetVlan sets the Vlan field's value.
+func (s *NewPrivateVirtualInterfaceAllocation) SetVlan(v int64) *NewPrivateVirtualInterfaceAllocation {
+ s.Vlan = &v
+ return s
+}
+
// A structure containing information about a new public virtual interface.
type NewPublicVirtualInterface struct {
_ struct{} `type:"structure"`
@@ -3266,6 +4059,48 @@ func (s *NewPublicVirtualInterface) Validate() error {
return nil
}
+// SetAmazonAddress sets the AmazonAddress field's value.
+func (s *NewPublicVirtualInterface) SetAmazonAddress(v string) *NewPublicVirtualInterface {
+ s.AmazonAddress = &v
+ return s
+}
+
+// SetAsn sets the Asn field's value.
+func (s *NewPublicVirtualInterface) SetAsn(v int64) *NewPublicVirtualInterface {
+ s.Asn = &v
+ return s
+}
+
+// SetAuthKey sets the AuthKey field's value.
+func (s *NewPublicVirtualInterface) SetAuthKey(v string) *NewPublicVirtualInterface {
+ s.AuthKey = &v
+ return s
+}
+
+// SetCustomerAddress sets the CustomerAddress field's value.
+func (s *NewPublicVirtualInterface) SetCustomerAddress(v string) *NewPublicVirtualInterface {
+ s.CustomerAddress = &v
+ return s
+}
+
+// SetRouteFilterPrefixes sets the RouteFilterPrefixes field's value.
+func (s *NewPublicVirtualInterface) SetRouteFilterPrefixes(v []*RouteFilterPrefix) *NewPublicVirtualInterface {
+ s.RouteFilterPrefixes = v
+ return s
+}
+
+// SetVirtualInterfaceName sets the VirtualInterfaceName field's value.
+func (s *NewPublicVirtualInterface) SetVirtualInterfaceName(v string) *NewPublicVirtualInterface {
+ s.VirtualInterfaceName = &v
+ return s
+}
+
+// SetVlan sets the Vlan field's value.
+func (s *NewPublicVirtualInterface) SetVlan(v int64) *NewPublicVirtualInterface {
+ s.Vlan = &v
+ return s
+}
+
// A structure containing information about a public virtual interface that
// will be provisioned on a connection.
type NewPublicVirtualInterfaceAllocation struct {
@@ -3356,6 +4191,81 @@ func (s *NewPublicVirtualInterfaceAllocation) Validate() error {
return nil
}
+// SetAmazonAddress sets the AmazonAddress field's value.
+func (s *NewPublicVirtualInterfaceAllocation) SetAmazonAddress(v string) *NewPublicVirtualInterfaceAllocation {
+ s.AmazonAddress = &v
+ return s
+}
+
+// SetAsn sets the Asn field's value.
+func (s *NewPublicVirtualInterfaceAllocation) SetAsn(v int64) *NewPublicVirtualInterfaceAllocation {
+ s.Asn = &v
+ return s
+}
+
+// SetAuthKey sets the AuthKey field's value.
+func (s *NewPublicVirtualInterfaceAllocation) SetAuthKey(v string) *NewPublicVirtualInterfaceAllocation {
+ s.AuthKey = &v
+ return s
+}
+
+// SetCustomerAddress sets the CustomerAddress field's value.
+func (s *NewPublicVirtualInterfaceAllocation) SetCustomerAddress(v string) *NewPublicVirtualInterfaceAllocation {
+ s.CustomerAddress = &v
+ return s
+}
+
+// SetRouteFilterPrefixes sets the RouteFilterPrefixes field's value.
+func (s *NewPublicVirtualInterfaceAllocation) SetRouteFilterPrefixes(v []*RouteFilterPrefix) *NewPublicVirtualInterfaceAllocation {
+ s.RouteFilterPrefixes = v
+ return s
+}
+
+// SetVirtualInterfaceName sets the VirtualInterfaceName field's value.
+func (s *NewPublicVirtualInterfaceAllocation) SetVirtualInterfaceName(v string) *NewPublicVirtualInterfaceAllocation {
+ s.VirtualInterfaceName = &v
+ return s
+}
+
+// SetVlan sets the Vlan field's value.
+func (s *NewPublicVirtualInterfaceAllocation) SetVlan(v int64) *NewPublicVirtualInterfaceAllocation {
+ s.Vlan = &v
+ return s
+}
+
+// The tags associated with a Direct Connect resource.
+type ResourceTag struct {
+ _ struct{} `type:"structure"`
+
+ // The Amazon Resource Name (ARN) of the Direct Connect resource.
+ ResourceArn *string `locationName:"resourceArn" type:"string"`
+
+ // The tags.
+ Tags []*Tag `locationName:"tags" min:"1" type:"list"`
+}
+
+// String returns the string representation
+func (s ResourceTag) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s ResourceTag) GoString() string {
+ return s.String()
+}
+
+// SetResourceArn sets the ResourceArn field's value.
+func (s *ResourceTag) SetResourceArn(v string) *ResourceTag {
+ s.ResourceArn = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *ResourceTag) SetTags(v []*Tag) *ResourceTag {
+ s.Tags = v
+ return s
+}
+
// A route filter prefix that the customer can advertise through Border Gateway
// Protocol (BGP) over a public virtual interface.
type RouteFilterPrefix struct {
@@ -3378,6 +4288,214 @@ func (s RouteFilterPrefix) GoString() string {
return s.String()
}
+// SetCidr sets the Cidr field's value.
+func (s *RouteFilterPrefix) SetCidr(v string) *RouteFilterPrefix {
+ s.Cidr = &v
+ return s
+}
+
+// Information about a tag.
+type Tag struct {
+ _ struct{} `type:"structure"`
+
+ // The key of the tag.
+ //
+ // Key is a required field
+ Key *string `locationName:"key" min:"1" type:"string" required:"true"`
+
+ // The value of the tag.
+ 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()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *Tag) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "Tag"}
+ if s.Key == nil {
+ invalidParams.Add(request.NewErrParamRequired("Key"))
+ }
+ if s.Key != nil && len(*s.Key) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Key", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// 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
+}
+
+// Container for the parameters to the TagResource operation.
+type TagResourceInput struct {
+ _ struct{} `type:"structure"`
+
+ // The Amazon Resource Name (ARN) of the Direct Connect resource.
+ //
+ // Example: arn:aws:directconnect:us-east-1:123456789012:dxcon/dxcon-fg5678gh
+ //
+ // ResourceArn is a required field
+ ResourceArn *string `locationName:"resourceArn" type:"string" required:"true"`
+
+ // The list of tags to add.
+ //
+ // Tags is a required field
+ Tags []*Tag `locationName:"tags" min:"1" type:"list" required:"true"`
+}
+
+// String returns the string representation
+func (s TagResourceInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s TagResourceInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *TagResourceInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "TagResourceInput"}
+ if s.ResourceArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
+ }
+ if s.Tags == nil {
+ invalidParams.Add(request.NewErrParamRequired("Tags"))
+ }
+ if s.Tags != nil && len(s.Tags) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
+ }
+ if s.Tags != nil {
+ for i, v := range s.Tags {
+ if v == nil {
+ continue
+ }
+ if err := v.Validate(); err != nil {
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
+ }
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetResourceArn sets the ResourceArn field's value.
+func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput {
+ s.ResourceArn = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *TagResourceInput) SetTags(v []*Tag) *TagResourceInput {
+ s.Tags = v
+ return s
+}
+
+// The response received when TagResource is called.
+type TagResourceOutput struct {
+ _ struct{} `type:"structure"`
+}
+
+// String returns the string representation
+func (s TagResourceOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s TagResourceOutput) GoString() string {
+ return s.String()
+}
+
+// Container for the parameters to the UntagResource operation.
+type UntagResourceInput struct {
+ _ struct{} `type:"structure"`
+
+ // The Amazon Resource Name (ARN) of the Direct Connect resource.
+ //
+ // ResourceArn is a required field
+ ResourceArn *string `locationName:"resourceArn" type:"string" required:"true"`
+
+ // The list of tag keys to remove.
+ //
+ // TagKeys is a required field
+ TagKeys []*string `locationName:"tagKeys" type:"list" required:"true"`
+}
+
+// String returns the string representation
+func (s UntagResourceInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s UntagResourceInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *UntagResourceInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "UntagResourceInput"}
+ if s.ResourceArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
+ }
+ if s.TagKeys == nil {
+ invalidParams.Add(request.NewErrParamRequired("TagKeys"))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetResourceArn sets the ResourceArn field's value.
+func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput {
+ s.ResourceArn = &v
+ return s
+}
+
+// SetTagKeys sets the TagKeys field's value.
+func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput {
+ s.TagKeys = v
+ return s
+}
+
+// The response received when UntagResource is called.
+type UntagResourceOutput struct {
+ _ struct{} `type:"structure"`
+}
+
+// String returns the string representation
+func (s UntagResourceOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s UntagResourceOutput) GoString() string {
+ return s.String()
+}
+
// You can create one or more AWS Direct Connect private virtual interfaces
// linking to your virtual private gateway.
//
@@ -3415,6 +4533,18 @@ func (s VirtualGateway) GoString() string {
return s.String()
}
+// SetVirtualGatewayId sets the VirtualGatewayId field's value.
+func (s *VirtualGateway) SetVirtualGatewayId(v string) *VirtualGateway {
+ s.VirtualGatewayId = &v
+ return s
+}
+
+// SetVirtualGatewayState sets the VirtualGatewayState field's value.
+func (s *VirtualGateway) SetVirtualGatewayState(v string) *VirtualGateway {
+ s.VirtualGatewayState = &v
+ return s
+}
+
// A virtual interface (VLAN) transmits the traffic between the AWS Direct Connect
// location and the customer.
type VirtualInterface struct {
@@ -3534,6 +4664,96 @@ func (s VirtualInterface) GoString() string {
return s.String()
}
+// SetAmazonAddress sets the AmazonAddress field's value.
+func (s *VirtualInterface) SetAmazonAddress(v string) *VirtualInterface {
+ s.AmazonAddress = &v
+ return s
+}
+
+// SetAsn sets the Asn field's value.
+func (s *VirtualInterface) SetAsn(v int64) *VirtualInterface {
+ s.Asn = &v
+ return s
+}
+
+// SetAuthKey sets the AuthKey field's value.
+func (s *VirtualInterface) SetAuthKey(v string) *VirtualInterface {
+ s.AuthKey = &v
+ return s
+}
+
+// SetConnectionId sets the ConnectionId field's value.
+func (s *VirtualInterface) SetConnectionId(v string) *VirtualInterface {
+ s.ConnectionId = &v
+ return s
+}
+
+// SetCustomerAddress sets the CustomerAddress field's value.
+func (s *VirtualInterface) SetCustomerAddress(v string) *VirtualInterface {
+ s.CustomerAddress = &v
+ return s
+}
+
+// SetCustomerRouterConfig sets the CustomerRouterConfig field's value.
+func (s *VirtualInterface) SetCustomerRouterConfig(v string) *VirtualInterface {
+ s.CustomerRouterConfig = &v
+ return s
+}
+
+// SetLocation sets the Location field's value.
+func (s *VirtualInterface) SetLocation(v string) *VirtualInterface {
+ s.Location = &v
+ return s
+}
+
+// SetOwnerAccount sets the OwnerAccount field's value.
+func (s *VirtualInterface) SetOwnerAccount(v string) *VirtualInterface {
+ s.OwnerAccount = &v
+ return s
+}
+
+// SetRouteFilterPrefixes sets the RouteFilterPrefixes field's value.
+func (s *VirtualInterface) SetRouteFilterPrefixes(v []*RouteFilterPrefix) *VirtualInterface {
+ s.RouteFilterPrefixes = v
+ return s
+}
+
+// SetVirtualGatewayId sets the VirtualGatewayId field's value.
+func (s *VirtualInterface) SetVirtualGatewayId(v string) *VirtualInterface {
+ s.VirtualGatewayId = &v
+ return s
+}
+
+// SetVirtualInterfaceId sets the VirtualInterfaceId field's value.
+func (s *VirtualInterface) SetVirtualInterfaceId(v string) *VirtualInterface {
+ s.VirtualInterfaceId = &v
+ return s
+}
+
+// SetVirtualInterfaceName sets the VirtualInterfaceName field's value.
+func (s *VirtualInterface) SetVirtualInterfaceName(v string) *VirtualInterface {
+ s.VirtualInterfaceName = &v
+ return s
+}
+
+// SetVirtualInterfaceState sets the VirtualInterfaceState field's value.
+func (s *VirtualInterface) SetVirtualInterfaceState(v string) *VirtualInterface {
+ s.VirtualInterfaceState = &v
+ return s
+}
+
+// SetVirtualInterfaceType sets the VirtualInterfaceType field's value.
+func (s *VirtualInterface) SetVirtualInterfaceType(v string) *VirtualInterface {
+ s.VirtualInterfaceType = &v
+ return s
+}
+
+// SetVlan sets the Vlan field's value.
+func (s *VirtualInterface) SetVlan(v int64) *VirtualInterface {
+ s.Vlan = &v
+ return s
+}
+
// State of the connection.
//
// * Ordering: The initial state of a hosted connection provisioned on an
diff --git a/vendor/github.com/aws/aws-sdk-go/service/directconnect/directconnectiface/interface.go b/vendor/github.com/aws/aws-sdk-go/service/directconnect/directconnectiface/interface.go
index 6ccf82d..cc70eb4 100644
--- a/vendor/github.com/aws/aws-sdk-go/service/directconnect/directconnectiface/interface.go
+++ b/vendor/github.com/aws/aws-sdk-go/service/directconnect/directconnectiface/interface.go
@@ -135,6 +135,10 @@ type DirectConnectAPI interface {
DescribeLocations(*directconnect.DescribeLocationsInput) (*directconnect.DescribeLocationsOutput, error)
+ DescribeTagsRequest(*directconnect.DescribeTagsInput) (*request.Request, *directconnect.DescribeTagsOutput)
+
+ DescribeTags(*directconnect.DescribeTagsInput) (*directconnect.DescribeTagsOutput, error)
+
DescribeVirtualGatewaysRequest(*directconnect.DescribeVirtualGatewaysInput) (*request.Request, *directconnect.DescribeVirtualGatewaysOutput)
DescribeVirtualGateways(*directconnect.DescribeVirtualGatewaysInput) (*directconnect.DescribeVirtualGatewaysOutput, error)
@@ -142,6 +146,14 @@ type DirectConnectAPI interface {
DescribeVirtualInterfacesRequest(*directconnect.DescribeVirtualInterfacesInput) (*request.Request, *directconnect.DescribeVirtualInterfacesOutput)
DescribeVirtualInterfaces(*directconnect.DescribeVirtualInterfacesInput) (*directconnect.DescribeVirtualInterfacesOutput, error)
+
+ TagResourceRequest(*directconnect.TagResourceInput) (*request.Request, *directconnect.TagResourceOutput)
+
+ TagResource(*directconnect.TagResourceInput) (*directconnect.TagResourceOutput, error)
+
+ UntagResourceRequest(*directconnect.UntagResourceInput) (*request.Request, *directconnect.UntagResourceOutput)
+
+ UntagResource(*directconnect.UntagResourceInput) (*directconnect.UntagResourceOutput, error)
}
var _ DirectConnectAPI = (*directconnect.DirectConnect)(nil)
diff --git a/vendor/github.com/aws/aws-sdk-go/service/directconnect/examples_test.go b/vendor/github.com/aws/aws-sdk-go/service/directconnect/examples_test.go
index e08d7c6..59da427 100644
--- a/vendor/github.com/aws/aws-sdk-go/service/directconnect/examples_test.go
+++ b/vendor/github.com/aws/aws-sdk-go/service/directconnect/examples_test.go
@@ -548,6 +548,34 @@ func ExampleDirectConnect_DescribeLocations() {
fmt.Println(resp)
}
+func ExampleDirectConnect_DescribeTags() {
+ sess, err := session.NewSession()
+ if err != nil {
+ fmt.Println("failed to create session,", err)
+ return
+ }
+
+ svc := directconnect.New(sess)
+
+ params := &directconnect.DescribeTagsInput{
+ ResourceArns: []*string{ // Required
+ aws.String("ResourceArn"), // Required
+ // More values...
+ },
+ }
+ resp, err := svc.DescribeTags(params)
+
+ if err != nil {
+ // Print the error, cast err to awserr.Error to get the Code and
+ // Message from an error.
+ fmt.Println(err.Error())
+ return
+ }
+
+ // Pretty-print the response data.
+ fmt.Println(resp)
+}
+
func ExampleDirectConnect_DescribeVirtualGateways() {
sess, err := session.NewSession()
if err != nil {
@@ -596,3 +624,64 @@ func ExampleDirectConnect_DescribeVirtualInterfaces() {
// Pretty-print the response data.
fmt.Println(resp)
}
+
+func ExampleDirectConnect_TagResource() {
+ sess, err := session.NewSession()
+ if err != nil {
+ fmt.Println("failed to create session,", err)
+ return
+ }
+
+ svc := directconnect.New(sess)
+
+ params := &directconnect.TagResourceInput{
+ ResourceArn: aws.String("ResourceArn"), // Required
+ Tags: []*directconnect.Tag{ // Required
+ { // Required
+ Key: aws.String("TagKey"), // Required
+ Value: aws.String("TagValue"),
+ },
+ // More values...
+ },
+ }
+ resp, err := svc.TagResource(params)
+
+ if err != nil {
+ // Print the error, cast err to awserr.Error to get the Code and
+ // Message from an error.
+ fmt.Println(err.Error())
+ return
+ }
+
+ // Pretty-print the response data.
+ fmt.Println(resp)
+}
+
+func ExampleDirectConnect_UntagResource() {
+ sess, err := session.NewSession()
+ if err != nil {
+ fmt.Println("failed to create session,", err)
+ return
+ }
+
+ svc := directconnect.New(sess)
+
+ params := &directconnect.UntagResourceInput{
+ ResourceArn: aws.String("ResourceArn"), // Required
+ TagKeys: []*string{ // Required
+ aws.String("TagKey"), // Required
+ // More values...
+ },
+ }
+ resp, err := svc.UntagResource(params)
+
+ if err != nil {
+ // Print the error, cast err to awserr.Error to get the Code and
+ // Message from an error.
+ fmt.Println(err.Error())
+ return
+ }
+
+ // Pretty-print the response data.
+ fmt.Println(resp)
+}
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 bd9236c..1e09ba9 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
@@ -62,6 +62,11 @@ func (c *DirectoryService) AddIpRoutesRequest(input *AddIpRoutesInput) (req *req
// address block. You can also use AddIpRoutes to facilitate routing traffic
// that uses public IP ranges from your Microsoft AD on AWS to a peer VPC.
//
+// Before you call AddIpRoutes, ensure that all of the required permissions
+// have been explicitly granted through a policy. For details about what permissions
+// are required to run the AddIpRoutes operation, see AWS Directory Service
+// API Permissions: Actions, Resources, and Conditions Reference (http://docs.aws.amazon.com/directoryservice/latest/admin-guide/UsingWithDS_IAM_ResourcePermissions.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.
@@ -144,7 +149,7 @@ func (c *DirectoryService) AddTagsToResourceRequest(input *AddTagsToResourceInpu
// AddTagsToResource API operation for AWS Directory Service.
//
// Adds or overwrites one or more tags for the specified Amazon Directory Services
-// directory. Each directory can have a maximum of 10 tags. Each tag consists
+// directory. Each directory can have a maximum of 50 tags. Each tag consists
// of a key and optional value. Tag keys must be unique to each resource.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
@@ -176,6 +181,79 @@ func (c *DirectoryService) AddTagsToResource(input *AddTagsToResourceInput) (*Ad
return out, err
}
+const opCancelSchemaExtension = "CancelSchemaExtension"
+
+// CancelSchemaExtensionRequest generates a "aws/request.Request" representing the
+// client's request for the CancelSchemaExtension operation. The "output" return
+// value can be used to capture response data after the request's "Send" method
+// is called.
+//
+// See CancelSchemaExtension for usage and error information.
+//
+// Creating a request object using this method should be used when you want to inject
+// custom logic into the request's lifecycle using a custom handler, or if you want to
+// access properties on the request object before or after sending the request. If
+// you just want the service response, call the CancelSchemaExtension method directly
+// instead.
+//
+// Note: You must call the "Send" method on the returned request object in order
+// to execute the request.
+//
+// // Example sending a request using the CancelSchemaExtensionRequest method.
+// req, resp := client.CancelSchemaExtensionRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+func (c *DirectoryService) CancelSchemaExtensionRequest(input *CancelSchemaExtensionInput) (req *request.Request, output *CancelSchemaExtensionOutput) {
+ op := &request.Operation{
+ Name: opCancelSchemaExtension,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &CancelSchemaExtensionInput{}
+ }
+
+ req = c.newRequest(op, input, output)
+ output = &CancelSchemaExtensionOutput{}
+ req.Data = output
+ return
+}
+
+// CancelSchemaExtension API operation for AWS Directory Service.
+//
+// Cancels an in-progress schema extension to a Microsoft AD directory. Once
+// a schema extension has started replicating to all domain controllers, the
+// task can no longer be canceled. A schema extension can be canceled during
+// any of the following states; Initializing, CreatingSnapshot, and UpdatingSchema.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime 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 Directory Service's
+// API operation CancelSchemaExtension for usage and error information.
+//
+// Returned Error Codes:
+// * EntityDoesNotExistException
+// The specified entity could not be found.
+//
+// * ClientException
+// A client exception has occurred.
+//
+// * ServiceException
+// An exception has occurred in AWS Directory Service.
+//
+func (c *DirectoryService) CancelSchemaExtension(input *CancelSchemaExtensionInput) (*CancelSchemaExtensionOutput, error) {
+ req, out := c.CancelSchemaExtensionRequest(input)
+ err := req.Send()
+ return out, err
+}
+
const opConnectDirectory = "ConnectDirectory"
// ConnectDirectoryRequest generates a "aws/request.Request" representing the
@@ -223,6 +301,11 @@ func (c *DirectoryService) ConnectDirectoryRequest(input *ConnectDirectoryInput)
//
// Creates an AD Connector to connect to an on-premises directory.
//
+// Before you call ConnectDirectory, ensure that all of the required permissions
+// have been explicitly granted through a policy. For details about what permissions
+// are required to run the ConnectDirectory operation, see AWS Directory Service
+// API Permissions: Actions, Resources, and Conditions Reference (http://docs.aws.amazon.com/directoryservice/latest/admin-guide/UsingWithDS_IAM_ResourcePermissions.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.
@@ -549,6 +632,11 @@ func (c *DirectoryService) CreateDirectoryRequest(input *CreateDirectoryInput) (
//
// Creates a Simple AD directory.
//
+// Before you call CreateDirectory, ensure that all of the required permissions
+// have been explicitly granted through a policy. For details about what permissions
+// are required to run the CreateDirectory operation, see AWS Directory Service
+// API Permissions: Actions, Resources, and Conditions Reference (http://docs.aws.amazon.com/directoryservice/latest/admin-guide/UsingWithDS_IAM_ResourcePermissions.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.
@@ -624,6 +712,11 @@ func (c *DirectoryService) CreateMicrosoftADRequest(input *CreateMicrosoftADInpu
//
// Creates a Microsoft AD in the AWS cloud.
//
+// Before you call CreateMicrosoftAD, ensure that all of the required permissions
+// have been explicitly granted through a policy. For details about what permissions
+// are required to run the CreateMicrosoftAD operation, see AWS Directory Service
+// API Permissions: Actions, Resources, and Conditions Reference (http://docs.aws.amazon.com/directoryservice/latest/admin-guide/UsingWithDS_IAM_ResourcePermissions.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.
@@ -947,6 +1040,11 @@ func (c *DirectoryService) DeleteDirectoryRequest(input *DeleteDirectoryInput) (
//
// Deletes an AWS Directory Service directory.
//
+// Before you call DeleteDirectory, ensure that all of the required permissions
+// have been explicitly granted through a policy. For details about what permissions
+// are required to run the DeleteDirectory operation, see AWS Directory Service
+// API Permissions: Actions, Resources, and Conditions Reference (http://docs.aws.amazon.com/directoryservice/latest/admin-guide/UsingWithDS_IAM_ResourcePermissions.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.
@@ -2120,6 +2218,79 @@ func (c *DirectoryService) ListIpRoutes(input *ListIpRoutesInput) (*ListIpRoutes
return out, err
}
+const opListSchemaExtensions = "ListSchemaExtensions"
+
+// ListSchemaExtensionsRequest generates a "aws/request.Request" representing the
+// client's request for the ListSchemaExtensions operation. The "output" return
+// value can be used to capture response data after the request's "Send" method
+// is called.
+//
+// See ListSchemaExtensions for usage and error information.
+//
+// Creating a request object using this method should be used when you want to inject
+// custom logic into the request's lifecycle using a custom handler, or if you want to
+// access properties on the request object before or after sending the request. If
+// you just want the service response, call the ListSchemaExtensions method directly
+// instead.
+//
+// Note: You must call the "Send" method on the returned request object in order
+// to execute the request.
+//
+// // Example sending a request using the ListSchemaExtensionsRequest method.
+// req, resp := client.ListSchemaExtensionsRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+func (c *DirectoryService) ListSchemaExtensionsRequest(input *ListSchemaExtensionsInput) (req *request.Request, output *ListSchemaExtensionsOutput) {
+ op := &request.Operation{
+ Name: opListSchemaExtensions,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &ListSchemaExtensionsInput{}
+ }
+
+ req = c.newRequest(op, input, output)
+ output = &ListSchemaExtensionsOutput{}
+ req.Data = output
+ return
+}
+
+// ListSchemaExtensions API operation for AWS Directory Service.
+//
+// Lists all schema extensions applied to a Microsoft AD Directory.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime 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 Directory Service's
+// API operation ListSchemaExtensions for usage and error information.
+//
+// Returned Error Codes:
+// * InvalidNextTokenException
+// The NextToken value is not valid.
+//
+// * EntityDoesNotExistException
+// The specified entity could not be found.
+//
+// * ClientException
+// A client exception has occurred.
+//
+// * ServiceException
+// An exception has occurred in AWS Directory Service.
+//
+func (c *DirectoryService) ListSchemaExtensions(input *ListSchemaExtensionsInput) (*ListSchemaExtensionsOutput, error) {
+ req, out := c.ListSchemaExtensionsRequest(input)
+ err := req.Send()
+ return out, err
+}
+
const opListTagsForResource = "ListTagsForResource"
// ListTagsForResourceRequest generates a "aws/request.Request" representing the
@@ -2504,6 +2675,87 @@ func (c *DirectoryService) RestoreFromSnapshot(input *RestoreFromSnapshotInput)
return out, err
}
+const opStartSchemaExtension = "StartSchemaExtension"
+
+// StartSchemaExtensionRequest generates a "aws/request.Request" representing the
+// client's request for the StartSchemaExtension operation. The "output" return
+// value can be used to capture response data after the request's "Send" method
+// is called.
+//
+// See StartSchemaExtension for usage and error information.
+//
+// Creating a request object using this method should be used when you want to inject
+// custom logic into the request's lifecycle using a custom handler, or if you want to
+// access properties on the request object before or after sending the request. If
+// you just want the service response, call the StartSchemaExtension method directly
+// instead.
+//
+// Note: You must call the "Send" method on the returned request object in order
+// to execute the request.
+//
+// // Example sending a request using the StartSchemaExtensionRequest method.
+// req, resp := client.StartSchemaExtensionRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+func (c *DirectoryService) StartSchemaExtensionRequest(input *StartSchemaExtensionInput) (req *request.Request, output *StartSchemaExtensionOutput) {
+ op := &request.Operation{
+ Name: opStartSchemaExtension,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &StartSchemaExtensionInput{}
+ }
+
+ req = c.newRequest(op, input, output)
+ output = &StartSchemaExtensionOutput{}
+ req.Data = output
+ return
+}
+
+// StartSchemaExtension API operation for AWS Directory Service.
+//
+// Applies a schema extension to a Microsoft AD directory.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime 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 Directory Service's
+// API operation StartSchemaExtension for usage and error information.
+//
+// Returned Error Codes:
+// * DirectoryUnavailableException
+// The specified directory is unavailable or could not be found.
+//
+// * EntityDoesNotExistException
+// The specified entity could not be found.
+//
+// * InvalidParameterException
+// One or more parameters are not valid.
+//
+// * SnapshotLimitExceededException
+// The maximum number of manual snapshots for the directory has been reached.
+// You can use the GetSnapshotLimits operation to determine the snapshot limits
+// for a directory.
+//
+// * ClientException
+// A client exception has occurred.
+//
+// * ServiceException
+// An exception has occurred in AWS Directory Service.
+//
+func (c *DirectoryService) StartSchemaExtension(input *StartSchemaExtensionInput) (*StartSchemaExtensionOutput, error) {
+ req, out := c.StartSchemaExtensionRequest(input)
+ err := req.Send()
+ return out, err
+}
+
const opUpdateConditionalForwarder = "UpdateConditionalForwarder"
// UpdateConditionalForwarderRequest generates a "aws/request.Request" representing the
@@ -2823,6 +3075,24 @@ func (s *AddIpRoutesInput) Validate() error {
return nil
}
+// SetDirectoryId sets the DirectoryId field's value.
+func (s *AddIpRoutesInput) SetDirectoryId(v string) *AddIpRoutesInput {
+ s.DirectoryId = &v
+ return s
+}
+
+// SetIpRoutes sets the IpRoutes field's value.
+func (s *AddIpRoutesInput) SetIpRoutes(v []*IpRoute) *AddIpRoutesInput {
+ s.IpRoutes = v
+ return s
+}
+
+// SetUpdateSecurityGroupForDirectoryControllers sets the UpdateSecurityGroupForDirectoryControllers field's value.
+func (s *AddIpRoutesInput) SetUpdateSecurityGroupForDirectoryControllers(v bool) *AddIpRoutesInput {
+ s.UpdateSecurityGroupForDirectoryControllers = &v
+ return s
+}
+
type AddIpRoutesOutput struct {
_ struct{} `type:"structure"`
}
@@ -2887,6 +3157,18 @@ func (s *AddTagsToResourceInput) Validate() error {
return nil
}
+// SetResourceId sets the ResourceId field's value.
+func (s *AddTagsToResourceInput) SetResourceId(v string) *AddTagsToResourceInput {
+ s.ResourceId = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *AddTagsToResourceInput) SetTags(v []*Tag) *AddTagsToResourceInput {
+ s.Tags = v
+ return s
+}
+
type AddTagsToResourceOutput struct {
_ struct{} `type:"structure"`
}
@@ -2935,6 +3217,84 @@ func (s *Attribute) Validate() error {
return nil
}
+// SetName sets the Name field's value.
+func (s *Attribute) SetName(v string) *Attribute {
+ s.Name = &v
+ return s
+}
+
+// SetValue sets the Value field's value.
+func (s *Attribute) SetValue(v string) *Attribute {
+ s.Value = &v
+ return s
+}
+
+type CancelSchemaExtensionInput struct {
+ _ struct{} `type:"structure"`
+
+ // The identifier of the directory whose schema extension will be canceled.
+ //
+ // DirectoryId is a required field
+ DirectoryId *string `type:"string" required:"true"`
+
+ // The identifier of the schema extension that will be canceled.
+ //
+ // SchemaExtensionId is a required field
+ SchemaExtensionId *string `type:"string" required:"true"`
+}
+
+// String returns the string representation
+func (s CancelSchemaExtensionInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s CancelSchemaExtensionInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *CancelSchemaExtensionInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "CancelSchemaExtensionInput"}
+ if s.DirectoryId == nil {
+ invalidParams.Add(request.NewErrParamRequired("DirectoryId"))
+ }
+ if s.SchemaExtensionId == nil {
+ invalidParams.Add(request.NewErrParamRequired("SchemaExtensionId"))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetDirectoryId sets the DirectoryId field's value.
+func (s *CancelSchemaExtensionInput) SetDirectoryId(v string) *CancelSchemaExtensionInput {
+ s.DirectoryId = &v
+ return s
+}
+
+// SetSchemaExtensionId sets the SchemaExtensionId field's value.
+func (s *CancelSchemaExtensionInput) SetSchemaExtensionId(v string) *CancelSchemaExtensionInput {
+ s.SchemaExtensionId = &v
+ return s
+}
+
+type CancelSchemaExtensionOutput struct {
+ _ struct{} `type:"structure"`
+}
+
+// String returns the string representation
+func (s CancelSchemaExtensionOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s CancelSchemaExtensionOutput) GoString() string {
+ return s.String()
+}
+
// Contains information about a computer account in a directory.
type Computer struct {
_ struct{} `type:"structure"`
@@ -2960,6 +3320,24 @@ func (s Computer) GoString() string {
return s.String()
}
+// SetComputerAttributes sets the ComputerAttributes field's value.
+func (s *Computer) SetComputerAttributes(v []*Attribute) *Computer {
+ s.ComputerAttributes = v
+ return s
+}
+
+// SetComputerId sets the ComputerId field's value.
+func (s *Computer) SetComputerId(v string) *Computer {
+ s.ComputerId = &v
+ return s
+}
+
+// SetComputerName sets the ComputerName field's value.
+func (s *Computer) SetComputerName(v string) *Computer {
+ s.ComputerName = &v
+ return s
+}
+
// 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.
@@ -2991,6 +3369,24 @@ func (s ConditionalForwarder) GoString() string {
return s.String()
}
+// SetDnsIpAddrs sets the DnsIpAddrs field's value.
+func (s *ConditionalForwarder) SetDnsIpAddrs(v []*string) *ConditionalForwarder {
+ s.DnsIpAddrs = v
+ return s
+}
+
+// SetRemoteDomainName sets the RemoteDomainName field's value.
+func (s *ConditionalForwarder) SetRemoteDomainName(v string) *ConditionalForwarder {
+ s.RemoteDomainName = &v
+ return s
+}
+
+// SetReplicationScope sets the ReplicationScope field's value.
+func (s *ConditionalForwarder) SetReplicationScope(v string) *ConditionalForwarder {
+ s.ReplicationScope = &v
+ return s
+}
+
// Contains the inputs for the ConnectDirectory operation.
type ConnectDirectoryInput struct {
_ struct{} `type:"structure"`
@@ -3063,11 +3459,47 @@ func (s *ConnectDirectoryInput) Validate() error {
return nil
}
-// Contains the results of the ConnectDirectory operation.
-type ConnectDirectoryOutput struct {
- _ struct{} `type:"structure"`
+// SetConnectSettings sets the ConnectSettings field's value.
+func (s *ConnectDirectoryInput) SetConnectSettings(v *DirectoryConnectSettings) *ConnectDirectoryInput {
+ s.ConnectSettings = v
+ return s
+}
- // The identifier of the new directory.
+// SetDescription sets the Description field's value.
+func (s *ConnectDirectoryInput) SetDescription(v string) *ConnectDirectoryInput {
+ s.Description = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *ConnectDirectoryInput) SetName(v string) *ConnectDirectoryInput {
+ s.Name = &v
+ return s
+}
+
+// SetPassword sets the Password field's value.
+func (s *ConnectDirectoryInput) SetPassword(v string) *ConnectDirectoryInput {
+ s.Password = &v
+ return s
+}
+
+// SetShortName sets the ShortName field's value.
+func (s *ConnectDirectoryInput) SetShortName(v string) *ConnectDirectoryInput {
+ s.ShortName = &v
+ return s
+}
+
+// SetSize sets the Size field's value.
+func (s *ConnectDirectoryInput) SetSize(v string) *ConnectDirectoryInput {
+ s.Size = &v
+ return s
+}
+
+// Contains the results of the ConnectDirectory operation.
+type ConnectDirectoryOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The identifier of the new directory.
DirectoryId *string `type:"string"`
}
@@ -3081,6 +3513,12 @@ func (s ConnectDirectoryOutput) GoString() string {
return s.String()
}
+// SetDirectoryId sets the DirectoryId field's value.
+func (s *ConnectDirectoryOutput) SetDirectoryId(v string) *ConnectDirectoryOutput {
+ s.DirectoryId = &v
+ return s
+}
+
// Contains the inputs for the CreateAlias operation.
type CreateAliasInput struct {
_ struct{} `type:"structure"`
@@ -3128,6 +3566,18 @@ func (s *CreateAliasInput) Validate() error {
return nil
}
+// SetAlias sets the Alias field's value.
+func (s *CreateAliasInput) SetAlias(v string) *CreateAliasInput {
+ s.Alias = &v
+ return s
+}
+
+// SetDirectoryId sets the DirectoryId field's value.
+func (s *CreateAliasInput) SetDirectoryId(v string) *CreateAliasInput {
+ s.DirectoryId = &v
+ return s
+}
+
// Contains the results of the CreateAlias operation.
type CreateAliasOutput struct {
_ struct{} `type:"structure"`
@@ -3149,6 +3599,18 @@ func (s CreateAliasOutput) GoString() string {
return s.String()
}
+// SetAlias sets the Alias field's value.
+func (s *CreateAliasOutput) SetAlias(v string) *CreateAliasOutput {
+ s.Alias = &v
+ return s
+}
+
+// SetDirectoryId sets the DirectoryId field's value.
+func (s *CreateAliasOutput) SetDirectoryId(v string) *CreateAliasOutput {
+ s.DirectoryId = &v
+ return s
+}
+
// Contains the inputs for the CreateComputer operation.
type CreateComputerInput struct {
_ struct{} `type:"structure"`
@@ -3226,6 +3688,36 @@ func (s *CreateComputerInput) Validate() error {
return nil
}
+// SetComputerAttributes sets the ComputerAttributes field's value.
+func (s *CreateComputerInput) SetComputerAttributes(v []*Attribute) *CreateComputerInput {
+ s.ComputerAttributes = v
+ return s
+}
+
+// SetComputerName sets the ComputerName field's value.
+func (s *CreateComputerInput) SetComputerName(v string) *CreateComputerInput {
+ s.ComputerName = &v
+ return s
+}
+
+// SetDirectoryId sets the DirectoryId field's value.
+func (s *CreateComputerInput) SetDirectoryId(v string) *CreateComputerInput {
+ s.DirectoryId = &v
+ return s
+}
+
+// SetOrganizationalUnitDistinguishedName sets the OrganizationalUnitDistinguishedName field's value.
+func (s *CreateComputerInput) SetOrganizationalUnitDistinguishedName(v string) *CreateComputerInput {
+ s.OrganizationalUnitDistinguishedName = &v
+ return s
+}
+
+// SetPassword sets the Password field's value.
+func (s *CreateComputerInput) SetPassword(v string) *CreateComputerInput {
+ s.Password = &v
+ return s
+}
+
// Contains the results for the CreateComputer operation.
type CreateComputerOutput struct {
_ struct{} `type:"structure"`
@@ -3244,6 +3736,12 @@ func (s CreateComputerOutput) GoString() string {
return s.String()
}
+// SetComputer sets the Computer field's value.
+func (s *CreateComputerOutput) SetComputer(v *Computer) *CreateComputerOutput {
+ s.Computer = v
+ return s
+}
+
// 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.
@@ -3297,6 +3795,24 @@ func (s *CreateConditionalForwarderInput) Validate() error {
return nil
}
+// SetDirectoryId sets the DirectoryId field's value.
+func (s *CreateConditionalForwarderInput) SetDirectoryId(v string) *CreateConditionalForwarderInput {
+ s.DirectoryId = &v
+ return s
+}
+
+// SetDnsIpAddrs sets the DnsIpAddrs field's value.
+func (s *CreateConditionalForwarderInput) SetDnsIpAddrs(v []*string) *CreateConditionalForwarderInput {
+ s.DnsIpAddrs = v
+ return s
+}
+
+// SetRemoteDomainName sets the RemoteDomainName field's value.
+func (s *CreateConditionalForwarderInput) SetRemoteDomainName(v string) *CreateConditionalForwarderInput {
+ s.RemoteDomainName = &v
+ return s
+}
+
// The result of a CreateConditinalForwarder request.
type CreateConditionalForwarderOutput struct {
_ struct{} `type:"structure"`
@@ -3378,6 +3894,42 @@ func (s *CreateDirectoryInput) Validate() error {
return nil
}
+// SetDescription sets the Description field's value.
+func (s *CreateDirectoryInput) SetDescription(v string) *CreateDirectoryInput {
+ s.Description = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *CreateDirectoryInput) SetName(v string) *CreateDirectoryInput {
+ s.Name = &v
+ return s
+}
+
+// SetPassword sets the Password field's value.
+func (s *CreateDirectoryInput) SetPassword(v string) *CreateDirectoryInput {
+ s.Password = &v
+ return s
+}
+
+// SetShortName sets the ShortName field's value.
+func (s *CreateDirectoryInput) SetShortName(v string) *CreateDirectoryInput {
+ s.ShortName = &v
+ return s
+}
+
+// SetSize sets the Size field's value.
+func (s *CreateDirectoryInput) SetSize(v string) *CreateDirectoryInput {
+ s.Size = &v
+ return s
+}
+
+// SetVpcSettings sets the VpcSettings field's value.
+func (s *CreateDirectoryInput) SetVpcSettings(v *DirectoryVpcSettings) *CreateDirectoryInput {
+ s.VpcSettings = v
+ return s
+}
+
// Contains the results of the CreateDirectory operation.
type CreateDirectoryOutput struct {
_ struct{} `type:"structure"`
@@ -3396,6 +3948,12 @@ func (s CreateDirectoryOutput) GoString() string {
return s.String()
}
+// SetDirectoryId sets the DirectoryId field's value.
+func (s *CreateDirectoryOutput) SetDirectoryId(v string) *CreateDirectoryOutput {
+ s.DirectoryId = &v
+ return s
+}
+
// Creates a Microsoft AD in the AWS cloud.
type CreateMicrosoftADInput struct {
_ struct{} `type:"structure"`
@@ -3461,6 +4019,36 @@ func (s *CreateMicrosoftADInput) Validate() error {
return nil
}
+// SetDescription sets the Description field's value.
+func (s *CreateMicrosoftADInput) SetDescription(v string) *CreateMicrosoftADInput {
+ s.Description = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *CreateMicrosoftADInput) SetName(v string) *CreateMicrosoftADInput {
+ s.Name = &v
+ return s
+}
+
+// SetPassword sets the Password field's value.
+func (s *CreateMicrosoftADInput) SetPassword(v string) *CreateMicrosoftADInput {
+ s.Password = &v
+ return s
+}
+
+// SetShortName sets the ShortName field's value.
+func (s *CreateMicrosoftADInput) SetShortName(v string) *CreateMicrosoftADInput {
+ s.ShortName = &v
+ return s
+}
+
+// SetVpcSettings sets the VpcSettings field's value.
+func (s *CreateMicrosoftADInput) SetVpcSettings(v *DirectoryVpcSettings) *CreateMicrosoftADInput {
+ s.VpcSettings = v
+ return s
+}
+
// Result of a CreateMicrosoftAD request.
type CreateMicrosoftADOutput struct {
_ struct{} `type:"structure"`
@@ -3479,6 +4067,12 @@ func (s CreateMicrosoftADOutput) GoString() string {
return s.String()
}
+// SetDirectoryId sets the DirectoryId field's value.
+func (s *CreateMicrosoftADOutput) SetDirectoryId(v string) *CreateMicrosoftADOutput {
+ s.DirectoryId = &v
+ return s
+}
+
// Contains the inputs for the CreateSnapshot operation.
type CreateSnapshotInput struct {
_ struct{} `type:"structure"`
@@ -3515,6 +4109,18 @@ func (s *CreateSnapshotInput) Validate() error {
return nil
}
+// SetDirectoryId sets the DirectoryId field's value.
+func (s *CreateSnapshotInput) SetDirectoryId(v string) *CreateSnapshotInput {
+ s.DirectoryId = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *CreateSnapshotInput) SetName(v string) *CreateSnapshotInput {
+ s.Name = &v
+ return s
+}
+
// Contains the results of the CreateSnapshot operation.
type CreateSnapshotOutput struct {
_ struct{} `type:"structure"`
@@ -3533,6 +4139,12 @@ func (s CreateSnapshotOutput) GoString() string {
return s.String()
}
+// SetSnapshotId sets the SnapshotId field's value.
+func (s *CreateSnapshotOutput) SetSnapshotId(v string) *CreateSnapshotOutput {
+ s.SnapshotId = &v
+ return s
+}
+
// AWS Directory Service for Microsoft Active Directory allows you to configure
// trust relationships. For example, you can establish a trust between your
// Microsoft AD in the AWS cloud, and your existing on-premises Microsoft Active
@@ -3609,6 +4221,42 @@ func (s *CreateTrustInput) Validate() error {
return nil
}
+// SetConditionalForwarderIpAddrs sets the ConditionalForwarderIpAddrs field's value.
+func (s *CreateTrustInput) SetConditionalForwarderIpAddrs(v []*string) *CreateTrustInput {
+ s.ConditionalForwarderIpAddrs = v
+ return s
+}
+
+// SetDirectoryId sets the DirectoryId field's value.
+func (s *CreateTrustInput) SetDirectoryId(v string) *CreateTrustInput {
+ s.DirectoryId = &v
+ return s
+}
+
+// SetRemoteDomainName sets the RemoteDomainName field's value.
+func (s *CreateTrustInput) SetRemoteDomainName(v string) *CreateTrustInput {
+ s.RemoteDomainName = &v
+ return s
+}
+
+// SetTrustDirection sets the TrustDirection field's value.
+func (s *CreateTrustInput) SetTrustDirection(v string) *CreateTrustInput {
+ s.TrustDirection = &v
+ return s
+}
+
+// SetTrustPassword sets the TrustPassword field's value.
+func (s *CreateTrustInput) SetTrustPassword(v string) *CreateTrustInput {
+ s.TrustPassword = &v
+ return s
+}
+
+// SetTrustType sets the TrustType field's value.
+func (s *CreateTrustInput) SetTrustType(v string) *CreateTrustInput {
+ s.TrustType = &v
+ return s
+}
+
// The result of a CreateTrust request.
type CreateTrustOutput struct {
_ struct{} `type:"structure"`
@@ -3627,6 +4275,12 @@ func (s CreateTrustOutput) GoString() string {
return s.String()
}
+// SetTrustId sets the TrustId field's value.
+func (s *CreateTrustOutput) SetTrustId(v string) *CreateTrustOutput {
+ s.TrustId = &v
+ return s
+}
+
// Deletes a conditional forwarder.
type DeleteConditionalForwarderInput struct {
_ struct{} `type:"structure"`
@@ -3669,6 +4323,18 @@ func (s *DeleteConditionalForwarderInput) Validate() error {
return nil
}
+// SetDirectoryId sets the DirectoryId field's value.
+func (s *DeleteConditionalForwarderInput) SetDirectoryId(v string) *DeleteConditionalForwarderInput {
+ s.DirectoryId = &v
+ return s
+}
+
+// SetRemoteDomainName sets the RemoteDomainName field's value.
+func (s *DeleteConditionalForwarderInput) SetRemoteDomainName(v string) *DeleteConditionalForwarderInput {
+ s.RemoteDomainName = &v
+ return s
+}
+
// The result of a DeleteConditionalForwarder request.
type DeleteConditionalForwarderOutput struct {
_ struct{} `type:"structure"`
@@ -3717,6 +4383,12 @@ func (s *DeleteDirectoryInput) Validate() error {
return nil
}
+// SetDirectoryId sets the DirectoryId field's value.
+func (s *DeleteDirectoryInput) SetDirectoryId(v string) *DeleteDirectoryInput {
+ s.DirectoryId = &v
+ return s
+}
+
// Contains the results of the DeleteDirectory operation.
type DeleteDirectoryOutput struct {
_ struct{} `type:"structure"`
@@ -3735,6 +4407,12 @@ func (s DeleteDirectoryOutput) GoString() string {
return s.String()
}
+// SetDirectoryId sets the DirectoryId field's value.
+func (s *DeleteDirectoryOutput) SetDirectoryId(v string) *DeleteDirectoryOutput {
+ s.DirectoryId = &v
+ return s
+}
+
// Contains the inputs for the DeleteSnapshot operation.
type DeleteSnapshotInput struct {
_ struct{} `type:"structure"`
@@ -3768,6 +4446,12 @@ func (s *DeleteSnapshotInput) Validate() error {
return nil
}
+// SetSnapshotId sets the SnapshotId field's value.
+func (s *DeleteSnapshotInput) SetSnapshotId(v string) *DeleteSnapshotInput {
+ s.SnapshotId = &v
+ return s
+}
+
// Contains the results of the DeleteSnapshot operation.
type DeleteSnapshotOutput struct {
_ struct{} `type:"structure"`
@@ -3786,6 +4470,12 @@ func (s DeleteSnapshotOutput) GoString() string {
return s.String()
}
+// SetSnapshotId sets the SnapshotId field's value.
+func (s *DeleteSnapshotOutput) SetSnapshotId(v string) *DeleteSnapshotOutput {
+ s.SnapshotId = &v
+ return s
+}
+
// Deletes the local side of an existing trust relationship between the Microsoft
// AD in the AWS cloud and the external domain.
type DeleteTrustInput struct {
@@ -3823,6 +4513,18 @@ func (s *DeleteTrustInput) Validate() error {
return nil
}
+// SetDeleteAssociatedConditionalForwarder sets the DeleteAssociatedConditionalForwarder field's value.
+func (s *DeleteTrustInput) SetDeleteAssociatedConditionalForwarder(v bool) *DeleteTrustInput {
+ s.DeleteAssociatedConditionalForwarder = &v
+ return s
+}
+
+// SetTrustId sets the TrustId field's value.
+func (s *DeleteTrustInput) SetTrustId(v string) *DeleteTrustInput {
+ s.TrustId = &v
+ return s
+}
+
// The result of a DeleteTrust request.
type DeleteTrustOutput struct {
_ struct{} `type:"structure"`
@@ -3841,6 +4543,12 @@ func (s DeleteTrustOutput) GoString() string {
return s.String()
}
+// SetTrustId sets the TrustId field's value.
+func (s *DeleteTrustOutput) SetTrustId(v string) *DeleteTrustOutput {
+ s.TrustId = &v
+ return s
+}
+
// Removes the specified directory as a publisher to the specified SNS topic.
type DeregisterEventTopicInput struct {
_ struct{} `type:"structure"`
@@ -3886,6 +4594,18 @@ func (s *DeregisterEventTopicInput) Validate() error {
return nil
}
+// SetDirectoryId sets the DirectoryId field's value.
+func (s *DeregisterEventTopicInput) SetDirectoryId(v string) *DeregisterEventTopicInput {
+ s.DirectoryId = &v
+ return s
+}
+
+// SetTopicName sets the TopicName field's value.
+func (s *DeregisterEventTopicInput) SetTopicName(v string) *DeregisterEventTopicInput {
+ s.TopicName = &v
+ return s
+}
+
// The result of a DeregisterEventTopic request.
type DeregisterEventTopicOutput struct {
_ struct{} `type:"structure"`
@@ -3939,6 +4659,18 @@ func (s *DescribeConditionalForwardersInput) Validate() error {
return nil
}
+// SetDirectoryId sets the DirectoryId field's value.
+func (s *DescribeConditionalForwardersInput) SetDirectoryId(v string) *DescribeConditionalForwardersInput {
+ s.DirectoryId = &v
+ return s
+}
+
+// SetRemoteDomainNames sets the RemoteDomainNames field's value.
+func (s *DescribeConditionalForwardersInput) SetRemoteDomainNames(v []*string) *DescribeConditionalForwardersInput {
+ s.RemoteDomainNames = v
+ return s
+}
+
// The result of a DescribeConditionalForwarder request.
type DescribeConditionalForwardersOutput struct {
_ struct{} `type:"structure"`
@@ -3957,6 +4689,12 @@ func (s DescribeConditionalForwardersOutput) GoString() string {
return s.String()
}
+// SetConditionalForwarders sets the ConditionalForwarders field's value.
+func (s *DescribeConditionalForwardersOutput) SetConditionalForwarders(v []*ConditionalForwarder) *DescribeConditionalForwardersOutput {
+ s.ConditionalForwarders = v
+ return s
+}
+
// Contains the inputs for the DescribeDirectories operation.
type DescribeDirectoriesInput struct {
_ struct{} `type:"structure"`
@@ -3987,6 +4725,24 @@ func (s DescribeDirectoriesInput) GoString() string {
return s.String()
}
+// SetDirectoryIds sets the DirectoryIds field's value.
+func (s *DescribeDirectoriesInput) SetDirectoryIds(v []*string) *DescribeDirectoriesInput {
+ s.DirectoryIds = v
+ return s
+}
+
+// SetLimit sets the Limit field's value.
+func (s *DescribeDirectoriesInput) SetLimit(v int64) *DescribeDirectoriesInput {
+ s.Limit = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeDirectoriesInput) SetNextToken(v string) *DescribeDirectoriesInput {
+ s.NextToken = &v
+ return s
+}
+
// Contains the results of the DescribeDirectories operation.
type DescribeDirectoriesOutput struct {
_ struct{} `type:"structure"`
@@ -4015,6 +4771,18 @@ func (s DescribeDirectoriesOutput) GoString() string {
return s.String()
}
+// SetDirectoryDescriptions sets the DirectoryDescriptions field's value.
+func (s *DescribeDirectoriesOutput) SetDirectoryDescriptions(v []*DirectoryDescription) *DescribeDirectoriesOutput {
+ s.DirectoryDescriptions = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeDirectoriesOutput) SetNextToken(v string) *DescribeDirectoriesOutput {
+ s.NextToken = &v
+ return s
+}
+
// Describes event topics.
type DescribeEventTopicsInput struct {
_ struct{} `type:"structure"`
@@ -4040,6 +4808,18 @@ func (s DescribeEventTopicsInput) GoString() string {
return s.String()
}
+// SetDirectoryId sets the DirectoryId field's value.
+func (s *DescribeEventTopicsInput) SetDirectoryId(v string) *DescribeEventTopicsInput {
+ s.DirectoryId = &v
+ return s
+}
+
+// SetTopicNames sets the TopicNames field's value.
+func (s *DescribeEventTopicsInput) SetTopicNames(v []*string) *DescribeEventTopicsInput {
+ s.TopicNames = v
+ return s
+}
+
// The result of a DescribeEventTopic request.
type DescribeEventTopicsOutput struct {
_ struct{} `type:"structure"`
@@ -4059,6 +4839,12 @@ func (s DescribeEventTopicsOutput) GoString() string {
return s.String()
}
+// SetEventTopics sets the EventTopics field's value.
+func (s *DescribeEventTopicsOutput) SetEventTopics(v []*EventTopic) *DescribeEventTopicsOutput {
+ s.EventTopics = v
+ return s
+}
+
// Contains the inputs for the DescribeSnapshots operation.
type DescribeSnapshotsInput struct {
_ struct{} `type:"structure"`
@@ -4089,6 +4875,30 @@ func (s DescribeSnapshotsInput) GoString() string {
return s.String()
}
+// SetDirectoryId sets the DirectoryId field's value.
+func (s *DescribeSnapshotsInput) SetDirectoryId(v string) *DescribeSnapshotsInput {
+ s.DirectoryId = &v
+ return s
+}
+
+// SetLimit sets the Limit field's value.
+func (s *DescribeSnapshotsInput) SetLimit(v int64) *DescribeSnapshotsInput {
+ s.Limit = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeSnapshotsInput) SetNextToken(v string) *DescribeSnapshotsInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetSnapshotIds sets the SnapshotIds field's value.
+func (s *DescribeSnapshotsInput) SetSnapshotIds(v []*string) *DescribeSnapshotsInput {
+ s.SnapshotIds = v
+ return s
+}
+
// Contains the results of the DescribeSnapshots operation.
type DescribeSnapshotsOutput struct {
_ struct{} `type:"structure"`
@@ -4116,6 +4926,18 @@ func (s DescribeSnapshotsOutput) GoString() string {
return s.String()
}
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeSnapshotsOutput) SetNextToken(v string) *DescribeSnapshotsOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetSnapshots sets the Snapshots field's value.
+func (s *DescribeSnapshotsOutput) SetSnapshots(v []*Snapshot) *DescribeSnapshotsOutput {
+ s.Snapshots = v
+ return s
+}
+
// 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.
@@ -4151,6 +4973,30 @@ func (s DescribeTrustsInput) GoString() string {
return s.String()
}
+// SetDirectoryId sets the DirectoryId field's value.
+func (s *DescribeTrustsInput) SetDirectoryId(v string) *DescribeTrustsInput {
+ s.DirectoryId = &v
+ return s
+}
+
+// SetLimit sets the Limit field's value.
+func (s *DescribeTrustsInput) SetLimit(v int64) *DescribeTrustsInput {
+ s.Limit = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeTrustsInput) SetNextToken(v string) *DescribeTrustsInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetTrustIds sets the TrustIds field's value.
+func (s *DescribeTrustsInput) SetTrustIds(v []*string) *DescribeTrustsInput {
+ s.TrustIds = v
+ return s
+}
+
// The result of a DescribeTrust request.
type DescribeTrustsOutput struct {
_ struct{} `type:"structure"`
@@ -4179,6 +5025,18 @@ func (s DescribeTrustsOutput) GoString() string {
return s.String()
}
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeTrustsOutput) SetNextToken(v string) *DescribeTrustsOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetTrusts sets the Trusts field's value.
+func (s *DescribeTrustsOutput) SetTrusts(v []*Trust) *DescribeTrustsOutput {
+ s.Trusts = v
+ return s
+}
+
// Contains information for the ConnectDirectory operation when an AD Connector
// directory is being created.
type DirectoryConnectSettings struct {
@@ -4248,6 +5106,30 @@ func (s *DirectoryConnectSettings) Validate() error {
return nil
}
+// SetCustomerDnsIps sets the CustomerDnsIps field's value.
+func (s *DirectoryConnectSettings) SetCustomerDnsIps(v []*string) *DirectoryConnectSettings {
+ s.CustomerDnsIps = v
+ return s
+}
+
+// SetCustomerUserName sets the CustomerUserName field's value.
+func (s *DirectoryConnectSettings) SetCustomerUserName(v string) *DirectoryConnectSettings {
+ s.CustomerUserName = &v
+ return s
+}
+
+// SetSubnetIds sets the SubnetIds field's value.
+func (s *DirectoryConnectSettings) SetSubnetIds(v []*string) *DirectoryConnectSettings {
+ s.SubnetIds = v
+ return s
+}
+
+// SetVpcId sets the VpcId field's value.
+func (s *DirectoryConnectSettings) SetVpcId(v string) *DirectoryConnectSettings {
+ s.VpcId = &v
+ return s
+}
+
// Contains information about an AD Connector directory.
type DirectoryConnectSettingsDescription struct {
_ struct{} `type:"structure"`
@@ -4281,6 +5163,42 @@ func (s DirectoryConnectSettingsDescription) GoString() string {
return s.String()
}
+// SetAvailabilityZones sets the AvailabilityZones field's value.
+func (s *DirectoryConnectSettingsDescription) SetAvailabilityZones(v []*string) *DirectoryConnectSettingsDescription {
+ s.AvailabilityZones = v
+ return s
+}
+
+// SetConnectIps sets the ConnectIps field's value.
+func (s *DirectoryConnectSettingsDescription) SetConnectIps(v []*string) *DirectoryConnectSettingsDescription {
+ s.ConnectIps = v
+ return s
+}
+
+// SetCustomerUserName sets the CustomerUserName field's value.
+func (s *DirectoryConnectSettingsDescription) SetCustomerUserName(v string) *DirectoryConnectSettingsDescription {
+ s.CustomerUserName = &v
+ return s
+}
+
+// SetSecurityGroupId sets the SecurityGroupId field's value.
+func (s *DirectoryConnectSettingsDescription) SetSecurityGroupId(v string) *DirectoryConnectSettingsDescription {
+ s.SecurityGroupId = &v
+ return s
+}
+
+// SetSubnetIds sets the SubnetIds field's value.
+func (s *DirectoryConnectSettingsDescription) SetSubnetIds(v []*string) *DirectoryConnectSettingsDescription {
+ s.SubnetIds = v
+ return s
+}
+
+// SetVpcId sets the VpcId field's value.
+func (s *DirectoryConnectSettingsDescription) SetVpcId(v string) *DirectoryConnectSettingsDescription {
+ s.VpcId = &v
+ return s
+}
+
// Contains information about an AWS Directory Service directory.
type DirectoryDescription struct {
_ struct{} `type:"structure"`
@@ -4363,6 +5281,114 @@ func (s DirectoryDescription) GoString() string {
return s.String()
}
+// SetAccessUrl sets the AccessUrl field's value.
+func (s *DirectoryDescription) SetAccessUrl(v string) *DirectoryDescription {
+ s.AccessUrl = &v
+ return s
+}
+
+// SetAlias sets the Alias field's value.
+func (s *DirectoryDescription) SetAlias(v string) *DirectoryDescription {
+ s.Alias = &v
+ return s
+}
+
+// SetConnectSettings sets the ConnectSettings field's value.
+func (s *DirectoryDescription) SetConnectSettings(v *DirectoryConnectSettingsDescription) *DirectoryDescription {
+ s.ConnectSettings = v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *DirectoryDescription) SetDescription(v string) *DirectoryDescription {
+ s.Description = &v
+ return s
+}
+
+// SetDirectoryId sets the DirectoryId field's value.
+func (s *DirectoryDescription) SetDirectoryId(v string) *DirectoryDescription {
+ s.DirectoryId = &v
+ return s
+}
+
+// SetDnsIpAddrs sets the DnsIpAddrs field's value.
+func (s *DirectoryDescription) SetDnsIpAddrs(v []*string) *DirectoryDescription {
+ s.DnsIpAddrs = v
+ return s
+}
+
+// SetLaunchTime sets the LaunchTime field's value.
+func (s *DirectoryDescription) SetLaunchTime(v time.Time) *DirectoryDescription {
+ s.LaunchTime = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *DirectoryDescription) SetName(v string) *DirectoryDescription {
+ s.Name = &v
+ return s
+}
+
+// SetRadiusSettings sets the RadiusSettings field's value.
+func (s *DirectoryDescription) SetRadiusSettings(v *RadiusSettings) *DirectoryDescription {
+ s.RadiusSettings = v
+ return s
+}
+
+// SetRadiusStatus sets the RadiusStatus field's value.
+func (s *DirectoryDescription) SetRadiusStatus(v string) *DirectoryDescription {
+ s.RadiusStatus = &v
+ return s
+}
+
+// SetShortName sets the ShortName field's value.
+func (s *DirectoryDescription) SetShortName(v string) *DirectoryDescription {
+ s.ShortName = &v
+ return s
+}
+
+// SetSize sets the Size field's value.
+func (s *DirectoryDescription) SetSize(v string) *DirectoryDescription {
+ s.Size = &v
+ return s
+}
+
+// SetSsoEnabled sets the SsoEnabled field's value.
+func (s *DirectoryDescription) SetSsoEnabled(v bool) *DirectoryDescription {
+ s.SsoEnabled = &v
+ return s
+}
+
+// SetStage sets the Stage field's value.
+func (s *DirectoryDescription) SetStage(v string) *DirectoryDescription {
+ s.Stage = &v
+ return s
+}
+
+// SetStageLastUpdatedDateTime sets the StageLastUpdatedDateTime field's value.
+func (s *DirectoryDescription) SetStageLastUpdatedDateTime(v time.Time) *DirectoryDescription {
+ s.StageLastUpdatedDateTime = &v
+ return s
+}
+
+// SetStageReason sets the StageReason field's value.
+func (s *DirectoryDescription) SetStageReason(v string) *DirectoryDescription {
+ s.StageReason = &v
+ return s
+}
+
+// SetType sets the Type field's value.
+func (s *DirectoryDescription) SetType(v string) *DirectoryDescription {
+ s.Type = &v
+ return s
+}
+
+// SetVpcSettings sets the VpcSettings field's value.
+func (s *DirectoryDescription) SetVpcSettings(v *DirectoryVpcSettingsDescription) *DirectoryDescription {
+ s.VpcSettings = v
+ return s
+}
+
// Contains directory limit information for a region.
type DirectoryLimits struct {
_ struct{} `type:"structure"`
@@ -4405,6 +5431,60 @@ func (s DirectoryLimits) GoString() string {
return s.String()
}
+// SetCloudOnlyDirectoriesCurrentCount sets the CloudOnlyDirectoriesCurrentCount field's value.
+func (s *DirectoryLimits) SetCloudOnlyDirectoriesCurrentCount(v int64) *DirectoryLimits {
+ s.CloudOnlyDirectoriesCurrentCount = &v
+ return s
+}
+
+// SetCloudOnlyDirectoriesLimit sets the CloudOnlyDirectoriesLimit field's value.
+func (s *DirectoryLimits) SetCloudOnlyDirectoriesLimit(v int64) *DirectoryLimits {
+ s.CloudOnlyDirectoriesLimit = &v
+ return s
+}
+
+// SetCloudOnlyDirectoriesLimitReached sets the CloudOnlyDirectoriesLimitReached field's value.
+func (s *DirectoryLimits) SetCloudOnlyDirectoriesLimitReached(v bool) *DirectoryLimits {
+ s.CloudOnlyDirectoriesLimitReached = &v
+ return s
+}
+
+// SetCloudOnlyMicrosoftADCurrentCount sets the CloudOnlyMicrosoftADCurrentCount field's value.
+func (s *DirectoryLimits) SetCloudOnlyMicrosoftADCurrentCount(v int64) *DirectoryLimits {
+ s.CloudOnlyMicrosoftADCurrentCount = &v
+ return s
+}
+
+// SetCloudOnlyMicrosoftADLimit sets the CloudOnlyMicrosoftADLimit field's value.
+func (s *DirectoryLimits) SetCloudOnlyMicrosoftADLimit(v int64) *DirectoryLimits {
+ s.CloudOnlyMicrosoftADLimit = &v
+ return s
+}
+
+// SetCloudOnlyMicrosoftADLimitReached sets the CloudOnlyMicrosoftADLimitReached field's value.
+func (s *DirectoryLimits) SetCloudOnlyMicrosoftADLimitReached(v bool) *DirectoryLimits {
+ s.CloudOnlyMicrosoftADLimitReached = &v
+ return s
+}
+
+// SetConnectedDirectoriesCurrentCount sets the ConnectedDirectoriesCurrentCount field's value.
+func (s *DirectoryLimits) SetConnectedDirectoriesCurrentCount(v int64) *DirectoryLimits {
+ s.ConnectedDirectoriesCurrentCount = &v
+ return s
+}
+
+// SetConnectedDirectoriesLimit sets the ConnectedDirectoriesLimit field's value.
+func (s *DirectoryLimits) SetConnectedDirectoriesLimit(v int64) *DirectoryLimits {
+ s.ConnectedDirectoriesLimit = &v
+ return s
+}
+
+// SetConnectedDirectoriesLimitReached sets the ConnectedDirectoriesLimitReached field's value.
+func (s *DirectoryLimits) SetConnectedDirectoriesLimitReached(v bool) *DirectoryLimits {
+ s.ConnectedDirectoriesLimitReached = &v
+ return s
+}
+
// Contains VPC information for the CreateDirectory or CreateMicrosoftAD operation.
type DirectoryVpcSettings struct {
_ struct{} `type:"structure"`
@@ -4448,6 +5528,18 @@ func (s *DirectoryVpcSettings) Validate() error {
return nil
}
+// SetSubnetIds sets the SubnetIds field's value.
+func (s *DirectoryVpcSettings) SetSubnetIds(v []*string) *DirectoryVpcSettings {
+ s.SubnetIds = v
+ return s
+}
+
+// SetVpcId sets the VpcId field's value.
+func (s *DirectoryVpcSettings) SetVpcId(v string) *DirectoryVpcSettings {
+ s.VpcId = &v
+ return s
+}
+
// Contains information about the directory.
type DirectoryVpcSettingsDescription struct {
_ struct{} `type:"structure"`
@@ -4478,6 +5570,30 @@ func (s DirectoryVpcSettingsDescription) GoString() string {
return s.String()
}
+// SetAvailabilityZones sets the AvailabilityZones field's value.
+func (s *DirectoryVpcSettingsDescription) SetAvailabilityZones(v []*string) *DirectoryVpcSettingsDescription {
+ s.AvailabilityZones = v
+ return s
+}
+
+// SetSecurityGroupId sets the SecurityGroupId field's value.
+func (s *DirectoryVpcSettingsDescription) SetSecurityGroupId(v string) *DirectoryVpcSettingsDescription {
+ s.SecurityGroupId = &v
+ return s
+}
+
+// SetSubnetIds sets the SubnetIds field's value.
+func (s *DirectoryVpcSettingsDescription) SetSubnetIds(v []*string) *DirectoryVpcSettingsDescription {
+ s.SubnetIds = v
+ return s
+}
+
+// SetVpcId sets the VpcId field's value.
+func (s *DirectoryVpcSettingsDescription) SetVpcId(v string) *DirectoryVpcSettingsDescription {
+ s.VpcId = &v
+ return s
+}
+
// Contains the inputs for the DisableRadius operation.
type DisableRadiusInput struct {
_ struct{} `type:"structure"`
@@ -4511,6 +5627,12 @@ func (s *DisableRadiusInput) Validate() error {
return nil
}
+// SetDirectoryId sets the DirectoryId field's value.
+func (s *DisableRadiusInput) SetDirectoryId(v string) *DisableRadiusInput {
+ s.DirectoryId = &v
+ return s
+}
+
// Contains the results of the DisableRadius operation.
type DisableRadiusOutput struct {
_ struct{} `type:"structure"`
@@ -4581,6 +5703,24 @@ func (s *DisableSsoInput) Validate() error {
return nil
}
+// SetDirectoryId sets the DirectoryId field's value.
+func (s *DisableSsoInput) SetDirectoryId(v string) *DisableSsoInput {
+ s.DirectoryId = &v
+ return s
+}
+
+// SetPassword sets the Password field's value.
+func (s *DisableSsoInput) SetPassword(v string) *DisableSsoInput {
+ s.Password = &v
+ return s
+}
+
+// SetUserName sets the UserName field's value.
+func (s *DisableSsoInput) SetUserName(v string) *DisableSsoInput {
+ s.UserName = &v
+ return s
+}
+
// Contains the results of the DisableSso operation.
type DisableSsoOutput struct {
_ struct{} `type:"structure"`
@@ -4642,6 +5782,18 @@ func (s *EnableRadiusInput) Validate() error {
return nil
}
+// SetDirectoryId sets the DirectoryId field's value.
+func (s *EnableRadiusInput) SetDirectoryId(v string) *EnableRadiusInput {
+ s.DirectoryId = &v
+ return s
+}
+
+// SetRadiusSettings sets the RadiusSettings field's value.
+func (s *EnableRadiusInput) SetRadiusSettings(v *RadiusSettings) *EnableRadiusInput {
+ s.RadiusSettings = v
+ return s
+}
+
// Contains the results of the EnableRadius operation.
type EnableRadiusOutput struct {
_ struct{} `type:"structure"`
@@ -4712,7 +5864,25 @@ func (s *EnableSsoInput) Validate() error {
return nil
}
-// Contains the results of the EnableSso operation.
+// SetDirectoryId sets the DirectoryId field's value.
+func (s *EnableSsoInput) SetDirectoryId(v string) *EnableSsoInput {
+ s.DirectoryId = &v
+ return s
+}
+
+// SetPassword sets the Password field's value.
+func (s *EnableSsoInput) SetPassword(v string) *EnableSsoInput {
+ s.Password = &v
+ return s
+}
+
+// SetUserName sets the UserName field's value.
+func (s *EnableSsoInput) SetUserName(v string) *EnableSsoInput {
+ s.UserName = &v
+ return s
+}
+
+// Contains the results of the EnableSso operation.
type EnableSsoOutput struct {
_ struct{} `type:"structure"`
}
@@ -4758,6 +5928,36 @@ func (s EventTopic) GoString() string {
return s.String()
}
+// SetCreatedDateTime sets the CreatedDateTime field's value.
+func (s *EventTopic) SetCreatedDateTime(v time.Time) *EventTopic {
+ s.CreatedDateTime = &v
+ return s
+}
+
+// SetDirectoryId sets the DirectoryId field's value.
+func (s *EventTopic) SetDirectoryId(v string) *EventTopic {
+ s.DirectoryId = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *EventTopic) SetStatus(v string) *EventTopic {
+ s.Status = &v
+ return s
+}
+
+// SetTopicArn sets the TopicArn field's value.
+func (s *EventTopic) SetTopicArn(v string) *EventTopic {
+ s.TopicArn = &v
+ return s
+}
+
+// SetTopicName sets the TopicName field's value.
+func (s *EventTopic) SetTopicName(v string) *EventTopic {
+ s.TopicName = &v
+ return s
+}
+
// Contains the inputs for the GetDirectoryLimits operation.
type GetDirectoryLimitsInput struct {
_ struct{} `type:"structure"`
@@ -4792,6 +5992,12 @@ func (s GetDirectoryLimitsOutput) GoString() string {
return s.String()
}
+// SetDirectoryLimits sets the DirectoryLimits field's value.
+func (s *GetDirectoryLimitsOutput) SetDirectoryLimits(v *DirectoryLimits) *GetDirectoryLimitsOutput {
+ s.DirectoryLimits = v
+ return s
+}
+
// Contains the inputs for the GetSnapshotLimits operation.
type GetSnapshotLimitsInput struct {
_ struct{} `type:"structure"`
@@ -4825,6 +6031,12 @@ func (s *GetSnapshotLimitsInput) Validate() error {
return nil
}
+// SetDirectoryId sets the DirectoryId field's value.
+func (s *GetSnapshotLimitsInput) SetDirectoryId(v string) *GetSnapshotLimitsInput {
+ s.DirectoryId = &v
+ return s
+}
+
// Contains the results of the GetSnapshotLimits operation.
type GetSnapshotLimitsOutput struct {
_ struct{} `type:"structure"`
@@ -4844,6 +6056,12 @@ func (s GetSnapshotLimitsOutput) GoString() string {
return s.String()
}
+// SetSnapshotLimits sets the SnapshotLimits field's value.
+func (s *GetSnapshotLimitsOutput) SetSnapshotLimits(v *SnapshotLimits) *GetSnapshotLimitsOutput {
+ s.SnapshotLimits = v
+ return s
+}
+
// IP address block. This is often the address block of the DNS server used
// for your on-premises domain.
type IpRoute struct {
@@ -4868,6 +6086,18 @@ func (s IpRoute) GoString() string {
return s.String()
}
+// SetCidrIp sets the CidrIp field's value.
+func (s *IpRoute) SetCidrIp(v string) *IpRoute {
+ s.CidrIp = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *IpRoute) SetDescription(v string) *IpRoute {
+ s.Description = &v
+ return s
+}
+
// Information about one or more IP address blocks.
type IpRouteInfo struct {
_ struct{} `type:"structure"`
@@ -4901,6 +6131,42 @@ func (s IpRouteInfo) GoString() string {
return s.String()
}
+// SetAddedDateTime sets the AddedDateTime field's value.
+func (s *IpRouteInfo) SetAddedDateTime(v time.Time) *IpRouteInfo {
+ s.AddedDateTime = &v
+ return s
+}
+
+// SetCidrIp sets the CidrIp field's value.
+func (s *IpRouteInfo) SetCidrIp(v string) *IpRouteInfo {
+ s.CidrIp = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *IpRouteInfo) SetDescription(v string) *IpRouteInfo {
+ s.Description = &v
+ return s
+}
+
+// SetDirectoryId sets the DirectoryId field's value.
+func (s *IpRouteInfo) SetDirectoryId(v string) *IpRouteInfo {
+ s.DirectoryId = &v
+ return s
+}
+
+// SetIpRouteStatusMsg sets the IpRouteStatusMsg field's value.
+func (s *IpRouteInfo) SetIpRouteStatusMsg(v string) *IpRouteInfo {
+ s.IpRouteStatusMsg = &v
+ return s
+}
+
+// SetIpRouteStatusReason sets the IpRouteStatusReason field's value.
+func (s *IpRouteInfo) SetIpRouteStatusReason(v string) *IpRouteInfo {
+ s.IpRouteStatusReason = &v
+ return s
+}
+
type ListIpRoutesInput struct {
_ struct{} `type:"structure"`
@@ -4941,6 +6207,24 @@ func (s *ListIpRoutesInput) Validate() error {
return nil
}
+// SetDirectoryId sets the DirectoryId field's value.
+func (s *ListIpRoutesInput) SetDirectoryId(v string) *ListIpRoutesInput {
+ s.DirectoryId = &v
+ return s
+}
+
+// SetLimit sets the Limit field's value.
+func (s *ListIpRoutesInput) SetLimit(v int64) *ListIpRoutesInput {
+ s.Limit = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListIpRoutesInput) SetNextToken(v string) *ListIpRoutesInput {
+ s.NextToken = &v
+ return s
+}
+
type ListIpRoutesOutput struct {
_ struct{} `type:"structure"`
@@ -4963,6 +6247,110 @@ func (s ListIpRoutesOutput) GoString() string {
return s.String()
}
+// SetIpRoutesInfo sets the IpRoutesInfo field's value.
+func (s *ListIpRoutesOutput) SetIpRoutesInfo(v []*IpRouteInfo) *ListIpRoutesOutput {
+ s.IpRoutesInfo = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListIpRoutesOutput) SetNextToken(v string) *ListIpRoutesOutput {
+ s.NextToken = &v
+ return s
+}
+
+type ListSchemaExtensionsInput struct {
+ _ struct{} `type:"structure"`
+
+ // The identifier of the directory from which to retrieve the schema extension
+ // information.
+ //
+ // DirectoryId is a required field
+ DirectoryId *string `type:"string" required:"true"`
+
+ // The maximum number of items to return.
+ Limit *int64 `type:"integer"`
+
+ // The ListSchemaExtensions.NextToken value from a previous call to ListSchemaExtensions.
+ // Pass null if this is the first call.
+ NextToken *string `type:"string"`
+}
+
+// String returns the string representation
+func (s ListSchemaExtensionsInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s ListSchemaExtensionsInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *ListSchemaExtensionsInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ListSchemaExtensionsInput"}
+ if s.DirectoryId == nil {
+ invalidParams.Add(request.NewErrParamRequired("DirectoryId"))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetDirectoryId sets the DirectoryId field's value.
+func (s *ListSchemaExtensionsInput) SetDirectoryId(v string) *ListSchemaExtensionsInput {
+ s.DirectoryId = &v
+ return s
+}
+
+// SetLimit sets the Limit field's value.
+func (s *ListSchemaExtensionsInput) SetLimit(v int64) *ListSchemaExtensionsInput {
+ s.Limit = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListSchemaExtensionsInput) SetNextToken(v string) *ListSchemaExtensionsInput {
+ s.NextToken = &v
+ return s
+}
+
+type ListSchemaExtensionsOutput struct {
+ _ struct{} `type:"structure"`
+
+ // If not null, more results are available. Pass this value for the NextToken
+ // parameter in a subsequent call to ListSchemaExtensions to retrieve the next
+ // set of items.
+ NextToken *string `type:"string"`
+
+ // Information about the schema extensions applied to the directory.
+ SchemaExtensionsInfo []*SchemaExtensionInfo `type:"list"`
+}
+
+// String returns the string representation
+func (s ListSchemaExtensionsOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s ListSchemaExtensionsOutput) GoString() string {
+ return s.String()
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListSchemaExtensionsOutput) SetNextToken(v string) *ListSchemaExtensionsOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetSchemaExtensionsInfo sets the SchemaExtensionsInfo field's value.
+func (s *ListSchemaExtensionsOutput) SetSchemaExtensionsInfo(v []*SchemaExtensionInfo) *ListSchemaExtensionsOutput {
+ s.SchemaExtensionsInfo = v
+ return s
+}
+
type ListTagsForResourceInput struct {
_ struct{} `type:"structure"`
@@ -5001,6 +6389,24 @@ func (s *ListTagsForResourceInput) Validate() error {
return nil
}
+// SetLimit sets the Limit field's value.
+func (s *ListTagsForResourceInput) SetLimit(v int64) *ListTagsForResourceInput {
+ s.Limit = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListTagsForResourceInput) SetNextToken(v string) *ListTagsForResourceInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetResourceId sets the ResourceId field's value.
+func (s *ListTagsForResourceInput) SetResourceId(v string) *ListTagsForResourceInput {
+ s.ResourceId = &v
+ return s
+}
+
type ListTagsForResourceOutput struct {
_ struct{} `type:"structure"`
@@ -5021,6 +6427,18 @@ func (s ListTagsForResourceOutput) GoString() string {
return s.String()
}
+// SetNextToken sets the NextToken field's value.
+func (s *ListTagsForResourceOutput) SetNextToken(v string) *ListTagsForResourceOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *ListTagsForResourceOutput) SetTags(v []*Tag) *ListTagsForResourceOutput {
+ s.Tags = v
+ return s
+}
+
// Contains information about a Remote Authentication Dial In User Service (RADIUS)
// server.
type RadiusSettings struct {
@@ -5087,6 +6505,54 @@ func (s *RadiusSettings) Validate() error {
return nil
}
+// SetAuthenticationProtocol sets the AuthenticationProtocol field's value.
+func (s *RadiusSettings) SetAuthenticationProtocol(v string) *RadiusSettings {
+ s.AuthenticationProtocol = &v
+ return s
+}
+
+// SetDisplayLabel sets the DisplayLabel field's value.
+func (s *RadiusSettings) SetDisplayLabel(v string) *RadiusSettings {
+ s.DisplayLabel = &v
+ return s
+}
+
+// SetRadiusPort sets the RadiusPort field's value.
+func (s *RadiusSettings) SetRadiusPort(v int64) *RadiusSettings {
+ s.RadiusPort = &v
+ return s
+}
+
+// SetRadiusRetries sets the RadiusRetries field's value.
+func (s *RadiusSettings) SetRadiusRetries(v int64) *RadiusSettings {
+ s.RadiusRetries = &v
+ return s
+}
+
+// SetRadiusServers sets the RadiusServers field's value.
+func (s *RadiusSettings) SetRadiusServers(v []*string) *RadiusSettings {
+ s.RadiusServers = v
+ return s
+}
+
+// SetRadiusTimeout sets the RadiusTimeout field's value.
+func (s *RadiusSettings) SetRadiusTimeout(v int64) *RadiusSettings {
+ s.RadiusTimeout = &v
+ return s
+}
+
+// SetSharedSecret sets the SharedSecret field's value.
+func (s *RadiusSettings) SetSharedSecret(v string) *RadiusSettings {
+ s.SharedSecret = &v
+ return s
+}
+
+// SetUseSameUsername sets the UseSameUsername field's value.
+func (s *RadiusSettings) SetUseSameUsername(v bool) *RadiusSettings {
+ s.UseSameUsername = &v
+ return s
+}
+
// Registers a new event topic.
type RegisterEventTopicInput struct {
_ struct{} `type:"structure"`
@@ -5132,6 +6598,18 @@ func (s *RegisterEventTopicInput) Validate() error {
return nil
}
+// SetDirectoryId sets the DirectoryId field's value.
+func (s *RegisterEventTopicInput) SetDirectoryId(v string) *RegisterEventTopicInput {
+ s.DirectoryId = &v
+ return s
+}
+
+// SetTopicName sets the TopicName field's value.
+func (s *RegisterEventTopicInput) SetTopicName(v string) *RegisterEventTopicInput {
+ s.TopicName = &v
+ return s
+}
+
// The result of a RegisterEventTopic request.
type RegisterEventTopicOutput struct {
_ struct{} `type:"structure"`
@@ -5187,6 +6665,18 @@ func (s *RemoveIpRoutesInput) Validate() error {
return nil
}
+// SetCidrIps sets the CidrIps field's value.
+func (s *RemoveIpRoutesInput) SetCidrIps(v []*string) *RemoveIpRoutesInput {
+ s.CidrIps = v
+ return s
+}
+
+// SetDirectoryId sets the DirectoryId field's value.
+func (s *RemoveIpRoutesInput) SetDirectoryId(v string) *RemoveIpRoutesInput {
+ s.DirectoryId = &v
+ return s
+}
+
type RemoveIpRoutesOutput struct {
_ struct{} `type:"structure"`
}
@@ -5241,6 +6731,18 @@ func (s *RemoveTagsFromResourceInput) Validate() error {
return nil
}
+// SetResourceId sets the ResourceId field's value.
+func (s *RemoveTagsFromResourceInput) SetResourceId(v string) *RemoveTagsFromResourceInput {
+ s.ResourceId = &v
+ return s
+}
+
+// SetTagKeys sets the TagKeys field's value.
+func (s *RemoveTagsFromResourceInput) SetTagKeys(v []*string) *RemoveTagsFromResourceInput {
+ s.TagKeys = v
+ return s
+}
+
type RemoveTagsFromResourceOutput struct {
_ struct{} `type:"structure"`
}
@@ -5288,6 +6790,12 @@ func (s *RestoreFromSnapshotInput) Validate() error {
return nil
}
+// SetSnapshotId sets the SnapshotId field's value.
+func (s *RestoreFromSnapshotInput) SetSnapshotId(v string) *RestoreFromSnapshotInput {
+ s.SnapshotId = &v
+ return s
+}
+
// Contains the results of the RestoreFromSnapshot operation.
type RestoreFromSnapshotOutput struct {
_ struct{} `type:"structure"`
@@ -5303,6 +6811,85 @@ func (s RestoreFromSnapshotOutput) GoString() string {
return s.String()
}
+// Information about a schema extension.
+type SchemaExtensionInfo struct {
+ _ struct{} `type:"structure"`
+
+ // A description of the schema extension.
+ Description *string `type:"string"`
+
+ // The identifier of the directory to which the schema extension is applied.
+ DirectoryId *string `type:"string"`
+
+ // The date and time that the schema extension was completed.
+ EndDateTime *time.Time `type:"timestamp" timestampFormat:"unix"`
+
+ // The identifier of the schema extension.
+ SchemaExtensionId *string `type:"string"`
+
+ // The current status of the schema extension.
+ SchemaExtensionStatus *string `type:"string" enum:"SchemaExtensionStatus"`
+
+ // The reason for the SchemaExtensionStatus.
+ SchemaExtensionStatusReason *string `type:"string"`
+
+ // The date and time that the schema extension started being applied to the
+ // directory.
+ StartDateTime *time.Time `type:"timestamp" timestampFormat:"unix"`
+}
+
+// String returns the string representation
+func (s SchemaExtensionInfo) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s SchemaExtensionInfo) GoString() string {
+ return s.String()
+}
+
+// SetDescription sets the Description field's value.
+func (s *SchemaExtensionInfo) SetDescription(v string) *SchemaExtensionInfo {
+ s.Description = &v
+ return s
+}
+
+// SetDirectoryId sets the DirectoryId field's value.
+func (s *SchemaExtensionInfo) SetDirectoryId(v string) *SchemaExtensionInfo {
+ s.DirectoryId = &v
+ return s
+}
+
+// SetEndDateTime sets the EndDateTime field's value.
+func (s *SchemaExtensionInfo) SetEndDateTime(v time.Time) *SchemaExtensionInfo {
+ s.EndDateTime = &v
+ return s
+}
+
+// SetSchemaExtensionId sets the SchemaExtensionId field's value.
+func (s *SchemaExtensionInfo) SetSchemaExtensionId(v string) *SchemaExtensionInfo {
+ s.SchemaExtensionId = &v
+ return s
+}
+
+// SetSchemaExtensionStatus sets the SchemaExtensionStatus field's value.
+func (s *SchemaExtensionInfo) SetSchemaExtensionStatus(v string) *SchemaExtensionInfo {
+ s.SchemaExtensionStatus = &v
+ return s
+}
+
+// SetSchemaExtensionStatusReason sets the SchemaExtensionStatusReason field's value.
+func (s *SchemaExtensionInfo) SetSchemaExtensionStatusReason(v string) *SchemaExtensionInfo {
+ s.SchemaExtensionStatusReason = &v
+ return s
+}
+
+// SetStartDateTime sets the StartDateTime field's value.
+func (s *SchemaExtensionInfo) SetStartDateTime(v time.Time) *SchemaExtensionInfo {
+ s.StartDateTime = &v
+ return s
+}
+
// Describes a directory snapshot.
type Snapshot struct {
_ struct{} `type:"structure"`
@@ -5336,6 +6923,42 @@ func (s Snapshot) GoString() string {
return s.String()
}
+// SetDirectoryId sets the DirectoryId field's value.
+func (s *Snapshot) SetDirectoryId(v string) *Snapshot {
+ s.DirectoryId = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *Snapshot) SetName(v string) *Snapshot {
+ s.Name = &v
+ return s
+}
+
+// SetSnapshotId sets the SnapshotId field's value.
+func (s *Snapshot) SetSnapshotId(v string) *Snapshot {
+ s.SnapshotId = &v
+ return s
+}
+
+// SetStartTime sets the StartTime field's value.
+func (s *Snapshot) SetStartTime(v time.Time) *Snapshot {
+ s.StartTime = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *Snapshot) SetStatus(v string) *Snapshot {
+ s.Status = &v
+ return s
+}
+
+// SetType sets the Type field's value.
+func (s *Snapshot) SetType(v string) *Snapshot {
+ s.Type = &v
+ return s
+}
+
// Contains manual snapshot limit information for a directory.
type SnapshotLimits struct {
_ struct{} `type:"structure"`
@@ -5360,6 +6983,132 @@ func (s SnapshotLimits) GoString() string {
return s.String()
}
+// SetManualSnapshotsCurrentCount sets the ManualSnapshotsCurrentCount field's value.
+func (s *SnapshotLimits) SetManualSnapshotsCurrentCount(v int64) *SnapshotLimits {
+ s.ManualSnapshotsCurrentCount = &v
+ return s
+}
+
+// SetManualSnapshotsLimit sets the ManualSnapshotsLimit field's value.
+func (s *SnapshotLimits) SetManualSnapshotsLimit(v int64) *SnapshotLimits {
+ s.ManualSnapshotsLimit = &v
+ return s
+}
+
+// SetManualSnapshotsLimitReached sets the ManualSnapshotsLimitReached field's value.
+func (s *SnapshotLimits) SetManualSnapshotsLimitReached(v bool) *SnapshotLimits {
+ s.ManualSnapshotsLimitReached = &v
+ return s
+}
+
+type StartSchemaExtensionInput struct {
+ _ struct{} `type:"structure"`
+
+ // If true, creates a snapshot of the directory before applying the schema extension.
+ //
+ // CreateSnapshotBeforeSchemaExtension is a required field
+ CreateSnapshotBeforeSchemaExtension *bool `type:"boolean" required:"true"`
+
+ // A description of the schema extension.
+ //
+ // Description is a required field
+ Description *string `type:"string" required:"true"`
+
+ // The identifier of the directory for which the schema extension will be applied
+ // to.
+ //
+ // DirectoryId is a required field
+ DirectoryId *string `type:"string" required:"true"`
+
+ // The LDIF file represented as a string. The file size can be no larger than
+ // 1MB.
+ //
+ // LdifContent is a required field
+ LdifContent *string `min:"1" type:"string" required:"true"`
+}
+
+// String returns the string representation
+func (s StartSchemaExtensionInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s StartSchemaExtensionInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *StartSchemaExtensionInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "StartSchemaExtensionInput"}
+ if s.CreateSnapshotBeforeSchemaExtension == nil {
+ invalidParams.Add(request.NewErrParamRequired("CreateSnapshotBeforeSchemaExtension"))
+ }
+ if s.Description == nil {
+ invalidParams.Add(request.NewErrParamRequired("Description"))
+ }
+ if s.DirectoryId == nil {
+ invalidParams.Add(request.NewErrParamRequired("DirectoryId"))
+ }
+ if s.LdifContent == nil {
+ invalidParams.Add(request.NewErrParamRequired("LdifContent"))
+ }
+ if s.LdifContent != nil && len(*s.LdifContent) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("LdifContent", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetCreateSnapshotBeforeSchemaExtension sets the CreateSnapshotBeforeSchemaExtension field's value.
+func (s *StartSchemaExtensionInput) SetCreateSnapshotBeforeSchemaExtension(v bool) *StartSchemaExtensionInput {
+ s.CreateSnapshotBeforeSchemaExtension = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *StartSchemaExtensionInput) SetDescription(v string) *StartSchemaExtensionInput {
+ s.Description = &v
+ return s
+}
+
+// SetDirectoryId sets the DirectoryId field's value.
+func (s *StartSchemaExtensionInput) SetDirectoryId(v string) *StartSchemaExtensionInput {
+ s.DirectoryId = &v
+ return s
+}
+
+// SetLdifContent sets the LdifContent field's value.
+func (s *StartSchemaExtensionInput) SetLdifContent(v string) *StartSchemaExtensionInput {
+ s.LdifContent = &v
+ return s
+}
+
+type StartSchemaExtensionOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The identifier of the schema extension that will be applied.
+ SchemaExtensionId *string `type:"string"`
+}
+
+// String returns the string representation
+func (s StartSchemaExtensionOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s StartSchemaExtensionOutput) GoString() string {
+ return s.String()
+}
+
+// SetSchemaExtensionId sets the SchemaExtensionId field's value.
+func (s *StartSchemaExtensionOutput) SetSchemaExtensionId(v string) *StartSchemaExtensionOutput {
+ s.SchemaExtensionId = &v
+ return s
+}
+
// Metadata assigned to an Amazon Directory Services directory consisting of
// a key-value pair.
type Tag struct {
@@ -5409,6 +7158,18 @@ func (s *Tag) Validate() error {
return nil
}
+// 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
+}
+
// Describes a trust relationship between an Microsoft AD in the AWS cloud and
// an external domain.
type Trust struct {
@@ -5456,6 +7217,66 @@ func (s Trust) GoString() string {
return s.String()
}
+// SetCreatedDateTime sets the CreatedDateTime field's value.
+func (s *Trust) SetCreatedDateTime(v time.Time) *Trust {
+ s.CreatedDateTime = &v
+ return s
+}
+
+// SetDirectoryId sets the DirectoryId field's value.
+func (s *Trust) SetDirectoryId(v string) *Trust {
+ s.DirectoryId = &v
+ return s
+}
+
+// SetLastUpdatedDateTime sets the LastUpdatedDateTime field's value.
+func (s *Trust) SetLastUpdatedDateTime(v time.Time) *Trust {
+ s.LastUpdatedDateTime = &v
+ return s
+}
+
+// SetRemoteDomainName sets the RemoteDomainName field's value.
+func (s *Trust) SetRemoteDomainName(v string) *Trust {
+ s.RemoteDomainName = &v
+ return s
+}
+
+// SetStateLastUpdatedDateTime sets the StateLastUpdatedDateTime field's value.
+func (s *Trust) SetStateLastUpdatedDateTime(v time.Time) *Trust {
+ s.StateLastUpdatedDateTime = &v
+ return s
+}
+
+// SetTrustDirection sets the TrustDirection field's value.
+func (s *Trust) SetTrustDirection(v string) *Trust {
+ s.TrustDirection = &v
+ return s
+}
+
+// SetTrustId sets the TrustId field's value.
+func (s *Trust) SetTrustId(v string) *Trust {
+ s.TrustId = &v
+ return s
+}
+
+// SetTrustState sets the TrustState field's value.
+func (s *Trust) SetTrustState(v string) *Trust {
+ s.TrustState = &v
+ return s
+}
+
+// SetTrustStateReason sets the TrustStateReason field's value.
+func (s *Trust) SetTrustStateReason(v string) *Trust {
+ s.TrustStateReason = &v
+ return s
+}
+
+// SetTrustType sets the TrustType field's value.
+func (s *Trust) SetTrustType(v string) *Trust {
+ s.TrustType = &v
+ return s
+}
+
// Updates a conditional forwarder.
type UpdateConditionalForwarderInput struct {
_ struct{} `type:"structure"`
@@ -5508,6 +7329,24 @@ func (s *UpdateConditionalForwarderInput) Validate() error {
return nil
}
+// SetDirectoryId sets the DirectoryId field's value.
+func (s *UpdateConditionalForwarderInput) SetDirectoryId(v string) *UpdateConditionalForwarderInput {
+ s.DirectoryId = &v
+ return s
+}
+
+// SetDnsIpAddrs sets the DnsIpAddrs field's value.
+func (s *UpdateConditionalForwarderInput) SetDnsIpAddrs(v []*string) *UpdateConditionalForwarderInput {
+ s.DnsIpAddrs = v
+ return s
+}
+
+// SetRemoteDomainName sets the RemoteDomainName field's value.
+func (s *UpdateConditionalForwarderInput) SetRemoteDomainName(v string) *UpdateConditionalForwarderInput {
+ s.RemoteDomainName = &v
+ return s
+}
+
// The result of an UpdateConditionalForwarder request.
type UpdateConditionalForwarderOutput struct {
_ struct{} `type:"structure"`
@@ -5569,6 +7408,18 @@ func (s *UpdateRadiusInput) Validate() error {
return nil
}
+// SetDirectoryId sets the DirectoryId field's value.
+func (s *UpdateRadiusInput) SetDirectoryId(v string) *UpdateRadiusInput {
+ s.DirectoryId = &v
+ return s
+}
+
+// SetRadiusSettings sets the RadiusSettings field's value.
+func (s *UpdateRadiusInput) SetRadiusSettings(v *RadiusSettings) *UpdateRadiusInput {
+ s.RadiusSettings = v
+ return s
+}
+
// Contains the results of the UpdateRadius operation.
type UpdateRadiusOutput struct {
_ struct{} `type:"structure"`
@@ -5618,6 +7469,12 @@ func (s *VerifyTrustInput) Validate() error {
return nil
}
+// SetTrustId sets the TrustId field's value.
+func (s *VerifyTrustInput) SetTrustId(v string) *VerifyTrustInput {
+ s.TrustId = &v
+ return s
+}
+
// Result of a VerifyTrust request.
type VerifyTrustOutput struct {
_ struct{} `type:"structure"`
@@ -5636,6 +7493,12 @@ func (s VerifyTrustOutput) GoString() string {
return s.String()
}
+// SetTrustId sets the TrustId field's value.
+func (s *VerifyTrustOutput) SetTrustId(v string) *VerifyTrustOutput {
+ s.TrustId = &v
+ return s
+}
+
const (
// DirectorySizeSmall is a DirectorySize enum value
DirectorySizeSmall = "Small"
@@ -5740,6 +7603,35 @@ const (
ReplicationScopeDomain = "Domain"
)
+const (
+ // SchemaExtensionStatusInitializing is a SchemaExtensionStatus enum value
+ SchemaExtensionStatusInitializing = "Initializing"
+
+ // SchemaExtensionStatusCreatingSnapshot is a SchemaExtensionStatus enum value
+ SchemaExtensionStatusCreatingSnapshot = "CreatingSnapshot"
+
+ // SchemaExtensionStatusUpdatingSchema is a SchemaExtensionStatus enum value
+ SchemaExtensionStatusUpdatingSchema = "UpdatingSchema"
+
+ // SchemaExtensionStatusReplicating is a SchemaExtensionStatus enum value
+ SchemaExtensionStatusReplicating = "Replicating"
+
+ // SchemaExtensionStatusCancelInProgress is a SchemaExtensionStatus enum value
+ SchemaExtensionStatusCancelInProgress = "CancelInProgress"
+
+ // SchemaExtensionStatusRollbackInProgress is a SchemaExtensionStatus enum value
+ SchemaExtensionStatusRollbackInProgress = "RollbackInProgress"
+
+ // SchemaExtensionStatusCancelled is a SchemaExtensionStatus enum value
+ SchemaExtensionStatusCancelled = "Cancelled"
+
+ // SchemaExtensionStatusFailed is a SchemaExtensionStatus enum value
+ SchemaExtensionStatusFailed = "Failed"
+
+ // SchemaExtensionStatusCompleted is a SchemaExtensionStatus enum value
+ SchemaExtensionStatusCompleted = "Completed"
+)
+
const (
// SnapshotStatusCreating is a SnapshotStatus enum value
SnapshotStatusCreating = "Creating"
diff --git a/vendor/github.com/aws/aws-sdk-go/service/directoryservice/directoryserviceiface/interface.go b/vendor/github.com/aws/aws-sdk-go/service/directoryservice/directoryserviceiface/interface.go
index 995ae2a..3e3af91 100644
--- a/vendor/github.com/aws/aws-sdk-go/service/directoryservice/directoryserviceiface/interface.go
+++ b/vendor/github.com/aws/aws-sdk-go/service/directoryservice/directoryserviceiface/interface.go
@@ -67,6 +67,10 @@ type DirectoryServiceAPI interface {
AddTagsToResource(*directoryservice.AddTagsToResourceInput) (*directoryservice.AddTagsToResourceOutput, error)
+ CancelSchemaExtensionRequest(*directoryservice.CancelSchemaExtensionInput) (*request.Request, *directoryservice.CancelSchemaExtensionOutput)
+
+ CancelSchemaExtension(*directoryservice.CancelSchemaExtensionInput) (*directoryservice.CancelSchemaExtensionOutput, error)
+
ConnectDirectoryRequest(*directoryservice.ConnectDirectoryInput) (*request.Request, *directoryservice.ConnectDirectoryOutput)
ConnectDirectory(*directoryservice.ConnectDirectoryInput) (*directoryservice.ConnectDirectoryOutput, error)
@@ -167,6 +171,10 @@ type DirectoryServiceAPI interface {
ListIpRoutes(*directoryservice.ListIpRoutesInput) (*directoryservice.ListIpRoutesOutput, error)
+ ListSchemaExtensionsRequest(*directoryservice.ListSchemaExtensionsInput) (*request.Request, *directoryservice.ListSchemaExtensionsOutput)
+
+ ListSchemaExtensions(*directoryservice.ListSchemaExtensionsInput) (*directoryservice.ListSchemaExtensionsOutput, error)
+
ListTagsForResourceRequest(*directoryservice.ListTagsForResourceInput) (*request.Request, *directoryservice.ListTagsForResourceOutput)
ListTagsForResource(*directoryservice.ListTagsForResourceInput) (*directoryservice.ListTagsForResourceOutput, error)
@@ -187,6 +195,10 @@ type DirectoryServiceAPI interface {
RestoreFromSnapshot(*directoryservice.RestoreFromSnapshotInput) (*directoryservice.RestoreFromSnapshotOutput, error)
+ StartSchemaExtensionRequest(*directoryservice.StartSchemaExtensionInput) (*request.Request, *directoryservice.StartSchemaExtensionOutput)
+
+ StartSchemaExtension(*directoryservice.StartSchemaExtensionInput) (*directoryservice.StartSchemaExtensionOutput, error)
+
UpdateConditionalForwarderRequest(*directoryservice.UpdateConditionalForwarderInput) (*request.Request, *directoryservice.UpdateConditionalForwarderOutput)
UpdateConditionalForwarder(*directoryservice.UpdateConditionalForwarderInput) (*directoryservice.UpdateConditionalForwarderOutput, error)
diff --git a/vendor/github.com/aws/aws-sdk-go/service/directoryservice/examples_test.go b/vendor/github.com/aws/aws-sdk-go/service/directoryservice/examples_test.go
index cbc1739..3e4ce97 100644
--- a/vendor/github.com/aws/aws-sdk-go/service/directoryservice/examples_test.go
+++ b/vendor/github.com/aws/aws-sdk-go/service/directoryservice/examples_test.go
@@ -80,6 +80,32 @@ func ExampleDirectoryService_AddTagsToResource() {
fmt.Println(resp)
}
+func ExampleDirectoryService_CancelSchemaExtension() {
+ sess, err := session.NewSession()
+ if err != nil {
+ fmt.Println("failed to create session,", err)
+ return
+ }
+
+ svc := directoryservice.New(sess)
+
+ params := &directoryservice.CancelSchemaExtensionInput{
+ DirectoryId: aws.String("DirectoryId"), // Required
+ SchemaExtensionId: aws.String("SchemaExtensionId"), // Required
+ }
+ resp, err := svc.CancelSchemaExtension(params)
+
+ if err != nil {
+ // Print the error, cast err to awserr.Error to get the Code and
+ // Message from an error.
+ fmt.Println(err.Error())
+ return
+ }
+
+ // Pretty-print the response data.
+ fmt.Println(resp)
+}
+
func ExampleDirectoryService_ConnectDirectory() {
sess, err := session.NewSession()
if err != nil {
@@ -812,6 +838,33 @@ func ExampleDirectoryService_ListIpRoutes() {
fmt.Println(resp)
}
+func ExampleDirectoryService_ListSchemaExtensions() {
+ sess, err := session.NewSession()
+ if err != nil {
+ fmt.Println("failed to create session,", err)
+ return
+ }
+
+ svc := directoryservice.New(sess)
+
+ params := &directoryservice.ListSchemaExtensionsInput{
+ DirectoryId: aws.String("DirectoryId"), // Required
+ Limit: aws.Int64(1),
+ NextToken: aws.String("NextToken"),
+ }
+ resp, err := svc.ListSchemaExtensions(params)
+
+ if err != nil {
+ // Print the error, cast err to awserr.Error to get the Code and
+ // Message from an error.
+ fmt.Println(err.Error())
+ return
+ }
+
+ // Pretty-print the response data.
+ fmt.Println(resp)
+}
+
func ExampleDirectoryService_ListTagsForResource() {
sess, err := session.NewSession()
if err != nil {
@@ -948,6 +1001,34 @@ func ExampleDirectoryService_RestoreFromSnapshot() {
fmt.Println(resp)
}
+func ExampleDirectoryService_StartSchemaExtension() {
+ sess, err := session.NewSession()
+ if err != nil {
+ fmt.Println("failed to create session,", err)
+ return
+ }
+
+ svc := directoryservice.New(sess)
+
+ params := &directoryservice.StartSchemaExtensionInput{
+ CreateSnapshotBeforeSchemaExtension: aws.Bool(true), // Required
+ Description: aws.String("Description"), // Required
+ DirectoryId: aws.String("DirectoryId"), // Required
+ LdifContent: aws.String("LdifContent"), // Required
+ }
+ resp, err := svc.StartSchemaExtension(params)
+
+ if err != nil {
+ // Print the error, cast err to awserr.Error to get the Code and
+ // Message from an error.
+ fmt.Println(err.Error())
+ return
+ }
+
+ // Pretty-print the response data.
+ fmt.Println(resp)
+}
+
func ExampleDirectoryService_UpdateConditionalForwarder() {
sess, err := session.NewSession()
if err != nil {
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 ed6c085..a1ce9ce 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
@@ -1586,6 +1586,18 @@ func (s *AttributeDefinition) Validate() error {
return nil
}
+// SetAttributeName sets the AttributeName field's value.
+func (s *AttributeDefinition) SetAttributeName(v string) *AttributeDefinition {
+ s.AttributeName = &v
+ return s
+}
+
+// SetAttributeType sets the AttributeType field's value.
+func (s *AttributeDefinition) SetAttributeType(v string) *AttributeDefinition {
+ s.AttributeType = &v
+ return s
+}
+
// Represents the data for an attribute. You can set one, and only one, of the
// elements.
//
@@ -1639,6 +1651,66 @@ func (s AttributeValue) GoString() string {
return s.String()
}
+// SetB sets the B field's value.
+func (s *AttributeValue) SetB(v []byte) *AttributeValue {
+ s.B = v
+ return s
+}
+
+// SetBOOL sets the BOOL field's value.
+func (s *AttributeValue) SetBOOL(v bool) *AttributeValue {
+ s.BOOL = &v
+ return s
+}
+
+// SetBS sets the BS field's value.
+func (s *AttributeValue) SetBS(v [][]byte) *AttributeValue {
+ s.BS = v
+ return s
+}
+
+// SetL sets the L field's value.
+func (s *AttributeValue) SetL(v []*AttributeValue) *AttributeValue {
+ s.L = v
+ return s
+}
+
+// SetM sets the M field's value.
+func (s *AttributeValue) SetM(v map[string]*AttributeValue) *AttributeValue {
+ s.M = v
+ return s
+}
+
+// SetN sets the N field's value.
+func (s *AttributeValue) SetN(v string) *AttributeValue {
+ s.N = &v
+ return s
+}
+
+// SetNS sets the NS field's value.
+func (s *AttributeValue) SetNS(v []*string) *AttributeValue {
+ s.NS = v
+ return s
+}
+
+// SetNULL sets the NULL field's value.
+func (s *AttributeValue) SetNULL(v bool) *AttributeValue {
+ s.NULL = &v
+ return s
+}
+
+// SetS sets the S field's value.
+func (s *AttributeValue) SetS(v string) *AttributeValue {
+ s.S = &v
+ return s
+}
+
+// SetSS sets the SS field's value.
+func (s *AttributeValue) SetSS(v []*string) *AttributeValue {
+ s.SS = v
+ return s
+}
+
// For the UpdateItem operation, represents the attributes to be modified, the
// action to perform on each, and the new value for each.
//
@@ -1737,6 +1809,18 @@ func (s AttributeValueUpdate) GoString() string {
return s.String()
}
+// SetAction sets the Action field's value.
+func (s *AttributeValueUpdate) SetAction(v string) *AttributeValueUpdate {
+ s.Action = &v
+ return s
+}
+
+// SetValue sets the Value field's value.
+func (s *AttributeValueUpdate) SetValue(v *AttributeValue) *AttributeValueUpdate {
+ s.Value = v
+ return s
+}
+
// Represents the input of a BatchGetItem operation.
type BatchGetItemInput struct {
_ struct{} `type:"structure"`
@@ -1879,6 +1963,18 @@ func (s *BatchGetItemInput) Validate() error {
return nil
}
+// SetRequestItems sets the RequestItems field's value.
+func (s *BatchGetItemInput) SetRequestItems(v map[string]*KeysAndAttributes) *BatchGetItemInput {
+ s.RequestItems = v
+ return s
+}
+
+// SetReturnConsumedCapacity sets the ReturnConsumedCapacity field's value.
+func (s *BatchGetItemInput) SetReturnConsumedCapacity(v string) *BatchGetItemInput {
+ s.ReturnConsumedCapacity = &v
+ return s
+}
+
// Represents the output of a BatchGetItem operation.
type BatchGetItemOutput struct {
_ struct{} `type:"structure"`
@@ -1930,6 +2026,24 @@ func (s BatchGetItemOutput) GoString() string {
return s.String()
}
+// SetConsumedCapacity sets the ConsumedCapacity field's value.
+func (s *BatchGetItemOutput) SetConsumedCapacity(v []*ConsumedCapacity) *BatchGetItemOutput {
+ s.ConsumedCapacity = v
+ return s
+}
+
+// SetResponses sets the Responses field's value.
+func (s *BatchGetItemOutput) SetResponses(v map[string][]map[string]*AttributeValue) *BatchGetItemOutput {
+ s.Responses = v
+ return s
+}
+
+// SetUnprocessedKeys sets the UnprocessedKeys field's value.
+func (s *BatchGetItemOutput) SetUnprocessedKeys(v map[string]*KeysAndAttributes) *BatchGetItemOutput {
+ s.UnprocessedKeys = v
+ return s
+}
+
// Represents the input of a BatchWriteItem operation.
type BatchWriteItemInput struct {
_ struct{} `type:"structure"`
@@ -2014,6 +2128,24 @@ func (s *BatchWriteItemInput) Validate() error {
return nil
}
+// SetRequestItems sets the RequestItems field's value.
+func (s *BatchWriteItemInput) SetRequestItems(v map[string][]*WriteRequest) *BatchWriteItemInput {
+ s.RequestItems = v
+ return s
+}
+
+// SetReturnConsumedCapacity sets the ReturnConsumedCapacity field's value.
+func (s *BatchWriteItemInput) SetReturnConsumedCapacity(v string) *BatchWriteItemInput {
+ s.ReturnConsumedCapacity = &v
+ return s
+}
+
+// SetReturnItemCollectionMetrics sets the ReturnItemCollectionMetrics field's value.
+func (s *BatchWriteItemInput) SetReturnItemCollectionMetrics(v string) *BatchWriteItemInput {
+ s.ReturnItemCollectionMetrics = &v
+ return s
+}
+
// Represents the output of a BatchWriteItem operation.
type BatchWriteItemOutput struct {
_ struct{} `type:"structure"`
@@ -2090,6 +2222,24 @@ func (s BatchWriteItemOutput) GoString() string {
return s.String()
}
+// SetConsumedCapacity sets the ConsumedCapacity field's value.
+func (s *BatchWriteItemOutput) SetConsumedCapacity(v []*ConsumedCapacity) *BatchWriteItemOutput {
+ s.ConsumedCapacity = v
+ return s
+}
+
+// SetItemCollectionMetrics sets the ItemCollectionMetrics field's value.
+func (s *BatchWriteItemOutput) SetItemCollectionMetrics(v map[string][]*ItemCollectionMetrics) *BatchWriteItemOutput {
+ s.ItemCollectionMetrics = v
+ return s
+}
+
+// SetUnprocessedItems sets the UnprocessedItems field's value.
+func (s *BatchWriteItemOutput) SetUnprocessedItems(v map[string][]*WriteRequest) *BatchWriteItemOutput {
+ s.UnprocessedItems = v
+ return s
+}
+
// Represents the amount of provisioned throughput capacity consumed on a table
// or an index.
type Capacity struct {
@@ -2109,6 +2259,12 @@ func (s Capacity) GoString() string {
return s.String()
}
+// SetCapacityUnits sets the CapacityUnits field's value.
+func (s *Capacity) SetCapacityUnits(v float64) *Capacity {
+ s.CapacityUnits = &v
+ return s
+}
+
// Represents the selection criteria for a Query or Scan operation:
//
// * For a Query operation, Condition is used for specifying the KeyConditions
@@ -2207,6 +2363,18 @@ func (s *Condition) Validate() error {
return nil
}
+// SetAttributeValueList sets the AttributeValueList field's value.
+func (s *Condition) SetAttributeValueList(v []*AttributeValue) *Condition {
+ s.AttributeValueList = v
+ return s
+}
+
+// SetComparisonOperator sets the ComparisonOperator field's value.
+func (s *Condition) SetComparisonOperator(v string) *Condition {
+ s.ComparisonOperator = &v
+ return s
+}
+
// The capacity units consumed by an operation. The data returned includes the
// total provisioned throughput consumed, along with statistics for the table
// and any indexes involved in the operation. ConsumedCapacity is only returned
@@ -2242,6 +2410,36 @@ func (s ConsumedCapacity) GoString() string {
return s.String()
}
+// SetCapacityUnits sets the CapacityUnits field's value.
+func (s *ConsumedCapacity) SetCapacityUnits(v float64) *ConsumedCapacity {
+ s.CapacityUnits = &v
+ return s
+}
+
+// SetGlobalSecondaryIndexes sets the GlobalSecondaryIndexes field's value.
+func (s *ConsumedCapacity) SetGlobalSecondaryIndexes(v map[string]*Capacity) *ConsumedCapacity {
+ s.GlobalSecondaryIndexes = v
+ return s
+}
+
+// SetLocalSecondaryIndexes sets the LocalSecondaryIndexes field's value.
+func (s *ConsumedCapacity) SetLocalSecondaryIndexes(v map[string]*Capacity) *ConsumedCapacity {
+ s.LocalSecondaryIndexes = v
+ return s
+}
+
+// SetTable sets the Table field's value.
+func (s *ConsumedCapacity) SetTable(v *Capacity) *ConsumedCapacity {
+ s.Table = v
+ return s
+}
+
+// SetTableName sets the TableName field's value.
+func (s *ConsumedCapacity) SetTableName(v string) *ConsumedCapacity {
+ s.TableName = &v
+ return s
+}
+
// Represents a new global secondary index to be added to an existing table.
type CreateGlobalSecondaryIndexAction struct {
_ struct{} `type:"structure"`
@@ -2332,6 +2530,30 @@ func (s *CreateGlobalSecondaryIndexAction) Validate() error {
return nil
}
+// 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
+}
+
// Represents the input of a CreateTable operation.
type CreateTableInput struct {
_ struct{} `type:"structure"`
@@ -2565,6 +2787,48 @@ func (s *CreateTableInput) Validate() error {
return nil
}
+// SetAttributeDefinitions sets the AttributeDefinitions field's value.
+func (s *CreateTableInput) SetAttributeDefinitions(v []*AttributeDefinition) *CreateTableInput {
+ s.AttributeDefinitions = v
+ return s
+}
+
+// SetGlobalSecondaryIndexes sets the GlobalSecondaryIndexes field's value.
+func (s *CreateTableInput) SetGlobalSecondaryIndexes(v []*GlobalSecondaryIndex) *CreateTableInput {
+ s.GlobalSecondaryIndexes = v
+ return s
+}
+
+// SetKeySchema sets the KeySchema field's value.
+func (s *CreateTableInput) SetKeySchema(v []*KeySchemaElement) *CreateTableInput {
+ s.KeySchema = v
+ return s
+}
+
+// SetLocalSecondaryIndexes sets the LocalSecondaryIndexes field's value.
+func (s *CreateTableInput) SetLocalSecondaryIndexes(v []*LocalSecondaryIndex) *CreateTableInput {
+ s.LocalSecondaryIndexes = v
+ return s
+}
+
+// SetProvisionedThroughput sets the ProvisionedThroughput field's value.
+func (s *CreateTableInput) SetProvisionedThroughput(v *ProvisionedThroughput) *CreateTableInput {
+ s.ProvisionedThroughput = v
+ return s
+}
+
+// SetStreamSpecification sets the StreamSpecification field's value.
+func (s *CreateTableInput) SetStreamSpecification(v *StreamSpecification) *CreateTableInput {
+ s.StreamSpecification = v
+ return s
+}
+
+// SetTableName sets the TableName field's value.
+func (s *CreateTableInput) SetTableName(v string) *CreateTableInput {
+ s.TableName = &v
+ return s
+}
+
// Represents the output of a CreateTable operation.
type CreateTableOutput struct {
_ struct{} `type:"structure"`
@@ -2583,6 +2847,12 @@ func (s CreateTableOutput) GoString() string {
return s.String()
}
+// SetTableDescription sets the TableDescription field's value.
+func (s *CreateTableOutput) SetTableDescription(v *TableDescription) *CreateTableOutput {
+ s.TableDescription = v
+ return s
+}
+
// Represents a global secondary index to be deleted from an existing table.
type DeleteGlobalSecondaryIndexAction struct {
_ struct{} `type:"structure"`
@@ -2619,6 +2889,12 @@ func (s *DeleteGlobalSecondaryIndexAction) Validate() error {
return nil
}
+// SetIndexName sets the IndexName field's value.
+func (s *DeleteGlobalSecondaryIndexAction) SetIndexName(v string) *DeleteGlobalSecondaryIndexAction {
+ s.IndexName = &v
+ return s
+}
+
// Represents the input of a DeleteItem operation.
type DeleteItemInput struct {
_ struct{} `type:"structure"`
@@ -2915,6 +3191,66 @@ func (s *DeleteItemInput) Validate() error {
return nil
}
+// SetConditionExpression sets the ConditionExpression field's value.
+func (s *DeleteItemInput) SetConditionExpression(v string) *DeleteItemInput {
+ s.ConditionExpression = &v
+ return s
+}
+
+// SetConditionalOperator sets the ConditionalOperator field's value.
+func (s *DeleteItemInput) SetConditionalOperator(v string) *DeleteItemInput {
+ s.ConditionalOperator = &v
+ return s
+}
+
+// SetExpected sets the Expected field's value.
+func (s *DeleteItemInput) SetExpected(v map[string]*ExpectedAttributeValue) *DeleteItemInput {
+ s.Expected = v
+ return s
+}
+
+// SetExpressionAttributeNames sets the ExpressionAttributeNames field's value.
+func (s *DeleteItemInput) SetExpressionAttributeNames(v map[string]*string) *DeleteItemInput {
+ s.ExpressionAttributeNames = v
+ return s
+}
+
+// SetExpressionAttributeValues sets the ExpressionAttributeValues field's value.
+func (s *DeleteItemInput) SetExpressionAttributeValues(v map[string]*AttributeValue) *DeleteItemInput {
+ s.ExpressionAttributeValues = v
+ return s
+}
+
+// SetKey sets the Key field's value.
+func (s *DeleteItemInput) SetKey(v map[string]*AttributeValue) *DeleteItemInput {
+ s.Key = v
+ return s
+}
+
+// SetReturnConsumedCapacity sets the ReturnConsumedCapacity field's value.
+func (s *DeleteItemInput) SetReturnConsumedCapacity(v string) *DeleteItemInput {
+ s.ReturnConsumedCapacity = &v
+ return s
+}
+
+// SetReturnItemCollectionMetrics sets the ReturnItemCollectionMetrics field's value.
+func (s *DeleteItemInput) SetReturnItemCollectionMetrics(v string) *DeleteItemInput {
+ s.ReturnItemCollectionMetrics = &v
+ return s
+}
+
+// SetReturnValues sets the ReturnValues field's value.
+func (s *DeleteItemInput) SetReturnValues(v string) *DeleteItemInput {
+ s.ReturnValues = &v
+ return s
+}
+
+// SetTableName sets the TableName field's value.
+func (s *DeleteItemInput) SetTableName(v string) *DeleteItemInput {
+ s.TableName = &v
+ return s
+}
+
// Represents the output of a DeleteItem operation.
type DeleteItemOutput struct {
_ struct{} `type:"structure"`
@@ -2964,6 +3300,24 @@ func (s DeleteItemOutput) GoString() string {
return s.String()
}
+// SetAttributes sets the Attributes field's value.
+func (s *DeleteItemOutput) SetAttributes(v map[string]*AttributeValue) *DeleteItemOutput {
+ s.Attributes = v
+ return s
+}
+
+// SetConsumedCapacity sets the ConsumedCapacity field's value.
+func (s *DeleteItemOutput) SetConsumedCapacity(v *ConsumedCapacity) *DeleteItemOutput {
+ s.ConsumedCapacity = v
+ return s
+}
+
+// SetItemCollectionMetrics sets the ItemCollectionMetrics field's value.
+func (s *DeleteItemOutput) SetItemCollectionMetrics(v *ItemCollectionMetrics) *DeleteItemOutput {
+ s.ItemCollectionMetrics = v
+ return s
+}
+
// Represents a request to perform a DeleteItem operation on an item.
type DeleteRequest struct {
_ struct{} `type:"structure"`
@@ -2986,6 +3340,12 @@ func (s DeleteRequest) GoString() string {
return s.String()
}
+// SetKey sets the Key field's value.
+func (s *DeleteRequest) SetKey(v map[string]*AttributeValue) *DeleteRequest {
+ s.Key = v
+ return s
+}
+
// Represents the input of a DeleteTable operation.
type DeleteTableInput struct {
_ struct{} `type:"structure"`
@@ -3022,6 +3382,12 @@ func (s *DeleteTableInput) Validate() error {
return nil
}
+// 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.
type DeleteTableOutput struct {
_ struct{} `type:"structure"`
@@ -3040,6 +3406,12 @@ 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
+}
+
// Represents the input of a DescribeLimits operation. Has no content.
type DescribeLimitsInput struct {
_ struct{} `type:"structure"`
@@ -3088,6 +3460,30 @@ func (s DescribeLimitsOutput) GoString() string {
return s.String()
}
+// SetAccountMaxReadCapacityUnits sets the AccountMaxReadCapacityUnits field's value.
+func (s *DescribeLimitsOutput) SetAccountMaxReadCapacityUnits(v int64) *DescribeLimitsOutput {
+ s.AccountMaxReadCapacityUnits = &v
+ return s
+}
+
+// SetAccountMaxWriteCapacityUnits sets the AccountMaxWriteCapacityUnits field's value.
+func (s *DescribeLimitsOutput) SetAccountMaxWriteCapacityUnits(v int64) *DescribeLimitsOutput {
+ s.AccountMaxWriteCapacityUnits = &v
+ return s
+}
+
+// SetTableMaxReadCapacityUnits sets the TableMaxReadCapacityUnits field's value.
+func (s *DescribeLimitsOutput) SetTableMaxReadCapacityUnits(v int64) *DescribeLimitsOutput {
+ s.TableMaxReadCapacityUnits = &v
+ return s
+}
+
+// SetTableMaxWriteCapacityUnits sets the TableMaxWriteCapacityUnits field's value.
+func (s *DescribeLimitsOutput) SetTableMaxWriteCapacityUnits(v int64) *DescribeLimitsOutput {
+ s.TableMaxWriteCapacityUnits = &v
+ return s
+}
+
// Represents the input of a DescribeTable operation.
type DescribeTableInput struct {
_ struct{} `type:"structure"`
@@ -3124,6 +3520,12 @@ func (s *DescribeTableInput) Validate() error {
return nil
}
+// SetTableName sets the TableName field's value.
+func (s *DescribeTableInput) SetTableName(v string) *DescribeTableInput {
+ s.TableName = &v
+ return s
+}
+
// Represents the output of a DescribeTable operation.
type DescribeTableOutput struct {
_ struct{} `type:"structure"`
@@ -3142,6 +3544,12 @@ func (s DescribeTableOutput) GoString() string {
return s.String()
}
+// SetTable sets the Table field's value.
+func (s *DescribeTableOutput) SetTable(v *TableDescription) *DescribeTableOutput {
+ s.Table = v
+ return s
+}
+
// Represents a condition to be compared with an attribute value. This condition
// can be used with DeleteItem, PutItem or UpdateItem operations; if the comparison
// evaluates to true, the operation succeeds; if not, the operation fails. You
@@ -3268,6 +3676,30 @@ func (s ExpectedAttributeValue) GoString() string {
return s.String()
}
+// SetAttributeValueList sets the AttributeValueList field's value.
+func (s *ExpectedAttributeValue) SetAttributeValueList(v []*AttributeValue) *ExpectedAttributeValue {
+ s.AttributeValueList = v
+ return s
+}
+
+// SetComparisonOperator sets the ComparisonOperator field's value.
+func (s *ExpectedAttributeValue) SetComparisonOperator(v string) *ExpectedAttributeValue {
+ s.ComparisonOperator = &v
+ return s
+}
+
+// SetExists sets the Exists field's value.
+func (s *ExpectedAttributeValue) SetExists(v bool) *ExpectedAttributeValue {
+ s.Exists = &v
+ return s
+}
+
+// SetValue sets the Value field's value.
+func (s *ExpectedAttributeValue) SetValue(v *AttributeValue) *ExpectedAttributeValue {
+ s.Value = v
+ return s
+}
+
// Represents the input of a GetItem operation.
type GetItemInput struct {
_ struct{} `type:"structure"`
@@ -3411,6 +3843,48 @@ func (s *GetItemInput) Validate() error {
return nil
}
+// SetAttributesToGet sets the AttributesToGet field's value.
+func (s *GetItemInput) SetAttributesToGet(v []*string) *GetItemInput {
+ s.AttributesToGet = v
+ return s
+}
+
+// SetConsistentRead sets the ConsistentRead field's value.
+func (s *GetItemInput) SetConsistentRead(v bool) *GetItemInput {
+ s.ConsistentRead = &v
+ return s
+}
+
+// SetExpressionAttributeNames sets the ExpressionAttributeNames field's value.
+func (s *GetItemInput) SetExpressionAttributeNames(v map[string]*string) *GetItemInput {
+ s.ExpressionAttributeNames = v
+ return s
+}
+
+// SetKey sets the Key field's value.
+func (s *GetItemInput) SetKey(v map[string]*AttributeValue) *GetItemInput {
+ s.Key = v
+ return s
+}
+
+// SetProjectionExpression sets the ProjectionExpression field's value.
+func (s *GetItemInput) SetProjectionExpression(v string) *GetItemInput {
+ s.ProjectionExpression = &v
+ return s
+}
+
+// SetReturnConsumedCapacity sets the ReturnConsumedCapacity field's value.
+func (s *GetItemInput) SetReturnConsumedCapacity(v string) *GetItemInput {
+ s.ReturnConsumedCapacity = &v
+ return s
+}
+
+// SetTableName sets the TableName field's value.
+func (s *GetItemInput) SetTableName(v string) *GetItemInput {
+ s.TableName = &v
+ return s
+}
+
// Represents the output of a GetItem operation.
type GetItemOutput struct {
_ struct{} `type:"structure"`
@@ -3437,6 +3911,18 @@ func (s GetItemOutput) GoString() string {
return s.String()
}
+// SetConsumedCapacity sets the ConsumedCapacity field's value.
+func (s *GetItemOutput) SetConsumedCapacity(v *ConsumedCapacity) *GetItemOutput {
+ s.ConsumedCapacity = v
+ return s
+}
+
+// SetItem sets the Item field's value.
+func (s *GetItemOutput) SetItem(v map[string]*AttributeValue) *GetItemOutput {
+ s.Item = v
+ return s
+}
+
// Represents the properties of a global secondary index.
type GlobalSecondaryIndex struct {
_ struct{} `type:"structure"`
@@ -3542,6 +4028,30 @@ func (s *GlobalSecondaryIndex) Validate() error {
return nil
}
+// SetIndexName sets the IndexName field's value.
+func (s *GlobalSecondaryIndex) SetIndexName(v string) *GlobalSecondaryIndex {
+ s.IndexName = &v
+ return s
+}
+
+// SetKeySchema sets the KeySchema field's value.
+func (s *GlobalSecondaryIndex) SetKeySchema(v []*KeySchemaElement) *GlobalSecondaryIndex {
+ s.KeySchema = v
+ return s
+}
+
+// SetProjection sets the Projection field's value.
+func (s *GlobalSecondaryIndex) SetProjection(v *Projection) *GlobalSecondaryIndex {
+ s.Projection = v
+ return s
+}
+
+// SetProvisionedThroughput sets the ProvisionedThroughput field's value.
+func (s *GlobalSecondaryIndex) SetProvisionedThroughput(v *ProvisionedThroughput) *GlobalSecondaryIndex {
+ s.ProvisionedThroughput = v
+ return s
+}
+
// Represents the properties of a global secondary index.
type GlobalSecondaryIndexDescription struct {
_ struct{} `type:"structure"`
@@ -3620,6 +4130,60 @@ func (s GlobalSecondaryIndexDescription) GoString() string {
return s.String()
}
+// SetBackfilling sets the Backfilling field's value.
+func (s *GlobalSecondaryIndexDescription) SetBackfilling(v bool) *GlobalSecondaryIndexDescription {
+ s.Backfilling = &v
+ return s
+}
+
+// SetIndexArn sets the IndexArn field's value.
+func (s *GlobalSecondaryIndexDescription) SetIndexArn(v string) *GlobalSecondaryIndexDescription {
+ s.IndexArn = &v
+ return s
+}
+
+// SetIndexName sets the IndexName field's value.
+func (s *GlobalSecondaryIndexDescription) SetIndexName(v string) *GlobalSecondaryIndexDescription {
+ s.IndexName = &v
+ return s
+}
+
+// SetIndexSizeBytes sets the IndexSizeBytes field's value.
+func (s *GlobalSecondaryIndexDescription) SetIndexSizeBytes(v int64) *GlobalSecondaryIndexDescription {
+ s.IndexSizeBytes = &v
+ return s
+}
+
+// SetIndexStatus sets the IndexStatus field's value.
+func (s *GlobalSecondaryIndexDescription) SetIndexStatus(v string) *GlobalSecondaryIndexDescription {
+ s.IndexStatus = &v
+ return s
+}
+
+// SetItemCount sets the ItemCount field's value.
+func (s *GlobalSecondaryIndexDescription) SetItemCount(v int64) *GlobalSecondaryIndexDescription {
+ s.ItemCount = &v
+ return s
+}
+
+// SetKeySchema sets the KeySchema field's value.
+func (s *GlobalSecondaryIndexDescription) SetKeySchema(v []*KeySchemaElement) *GlobalSecondaryIndexDescription {
+ s.KeySchema = v
+ return s
+}
+
+// SetProjection sets the Projection field's value.
+func (s *GlobalSecondaryIndexDescription) SetProjection(v *Projection) *GlobalSecondaryIndexDescription {
+ s.Projection = v
+ return s
+}
+
+// SetProvisionedThroughput sets the ProvisionedThroughput field's value.
+func (s *GlobalSecondaryIndexDescription) SetProvisionedThroughput(v *ProvisionedThroughputDescription) *GlobalSecondaryIndexDescription {
+ s.ProvisionedThroughput = v
+ return s
+}
+
// Represents one of the following:
//
// * A new global secondary index to be added to an existing table.
@@ -3688,6 +4252,24 @@ func (s *GlobalSecondaryIndexUpdate) Validate() error {
return nil
}
+// SetCreate sets the Create field's value.
+func (s *GlobalSecondaryIndexUpdate) SetCreate(v *CreateGlobalSecondaryIndexAction) *GlobalSecondaryIndexUpdate {
+ s.Create = v
+ return s
+}
+
+// SetDelete sets the Delete field's value.
+func (s *GlobalSecondaryIndexUpdate) SetDelete(v *DeleteGlobalSecondaryIndexAction) *GlobalSecondaryIndexUpdate {
+ s.Delete = v
+ return s
+}
+
+// SetUpdate sets the Update field's value.
+func (s *GlobalSecondaryIndexUpdate) SetUpdate(v *UpdateGlobalSecondaryIndexAction) *GlobalSecondaryIndexUpdate {
+ s.Update = 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
@@ -3721,6 +4303,18 @@ func (s ItemCollectionMetrics) GoString() string {
return s.String()
}
+// SetItemCollectionKey sets the ItemCollectionKey field's value.
+func (s *ItemCollectionMetrics) SetItemCollectionKey(v map[string]*AttributeValue) *ItemCollectionMetrics {
+ s.ItemCollectionKey = v
+ return s
+}
+
+// SetSizeEstimateRangeGB sets the SizeEstimateRangeGB field's value.
+func (s *ItemCollectionMetrics) SetSizeEstimateRangeGB(v []*float64) *ItemCollectionMetrics {
+ s.SizeEstimateRangeGB = v
+ return s
+}
+
// Represents a single element of a key schema. A key schema specifies the attributes
// that make up the primary key of a table, or the key attributes of an index.
//
@@ -3788,6 +4382,18 @@ func (s *KeySchemaElement) Validate() error {
return nil
}
+// SetAttributeName sets the AttributeName field's value.
+func (s *KeySchemaElement) SetAttributeName(v string) *KeySchemaElement {
+ s.AttributeName = &v
+ return s
+}
+
+// SetKeyType sets the KeyType field's value.
+func (s *KeySchemaElement) SetKeyType(v string) *KeySchemaElement {
+ s.KeyType = &v
+ return s
+}
+
// Represents a set of primary keys and, for each key, the attributes to retrieve
// from the table.
//
@@ -3894,6 +4500,36 @@ func (s *KeysAndAttributes) Validate() error {
return nil
}
+// 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
+}
+
// Represents the input of a ListTables operation.
type ListTablesInput struct {
_ struct{} `type:"structure"`
@@ -3934,6 +4570,18 @@ func (s *ListTablesInput) Validate() error {
return nil
}
+// SetExclusiveStartTableName sets the ExclusiveStartTableName field's value.
+func (s *ListTablesInput) SetExclusiveStartTableName(v string) *ListTablesInput {
+ s.ExclusiveStartTableName = &v
+ return s
+}
+
+// SetLimit sets the Limit field's value.
+func (s *ListTablesInput) SetLimit(v int64) *ListTablesInput {
+ s.Limit = &v
+ return s
+}
+
// Represents the output of a ListTables operation.
type ListTablesOutput struct {
_ struct{} `type:"structure"`
@@ -3965,6 +4613,18 @@ func (s ListTablesOutput) GoString() string {
return s.String()
}
+// SetLastEvaluatedTableName sets the LastEvaluatedTableName field's value.
+func (s *ListTablesOutput) SetLastEvaluatedTableName(v string) *ListTablesOutput {
+ s.LastEvaluatedTableName = &v
+ return s
+}
+
+// SetTableNames sets the TableNames field's value.
+func (s *ListTablesOutput) SetTableNames(v []*string) *ListTablesOutput {
+ s.TableNames = v
+ return s
+}
+
// Represents the properties of a local secondary index.
type LocalSecondaryIndex struct {
_ struct{} `type:"structure"`
@@ -4052,6 +4712,24 @@ func (s *LocalSecondaryIndex) Validate() error {
return nil
}
+// SetIndexName sets the IndexName field's value.
+func (s *LocalSecondaryIndex) SetIndexName(v string) *LocalSecondaryIndex {
+ s.IndexName = &v
+ return s
+}
+
+// SetKeySchema sets the KeySchema field's value.
+func (s *LocalSecondaryIndex) SetKeySchema(v []*KeySchemaElement) *LocalSecondaryIndex {
+ s.KeySchema = v
+ return s
+}
+
+// SetProjection sets the Projection field's value.
+func (s *LocalSecondaryIndex) SetProjection(v *Projection) *LocalSecondaryIndex {
+ s.Projection = v
+ return s
+}
+
// Represents the properties of a local secondary index.
type LocalSecondaryIndexDescription struct {
_ struct{} `type:"structure"`
@@ -4104,6 +4782,42 @@ func (s LocalSecondaryIndexDescription) GoString() string {
return s.String()
}
+// SetIndexArn sets the IndexArn field's value.
+func (s *LocalSecondaryIndexDescription) SetIndexArn(v string) *LocalSecondaryIndexDescription {
+ s.IndexArn = &v
+ return s
+}
+
+// SetIndexName sets the IndexName field's value.
+func (s *LocalSecondaryIndexDescription) SetIndexName(v string) *LocalSecondaryIndexDescription {
+ s.IndexName = &v
+ return s
+}
+
+// SetIndexSizeBytes sets the IndexSizeBytes field's value.
+func (s *LocalSecondaryIndexDescription) SetIndexSizeBytes(v int64) *LocalSecondaryIndexDescription {
+ s.IndexSizeBytes = &v
+ return s
+}
+
+// SetItemCount sets the ItemCount field's value.
+func (s *LocalSecondaryIndexDescription) SetItemCount(v int64) *LocalSecondaryIndexDescription {
+ s.ItemCount = &v
+ return s
+}
+
+// SetKeySchema sets the KeySchema field's value.
+func (s *LocalSecondaryIndexDescription) SetKeySchema(v []*KeySchemaElement) *LocalSecondaryIndexDescription {
+ s.KeySchema = v
+ return s
+}
+
+// SetProjection sets the Projection field's value.
+func (s *LocalSecondaryIndexDescription) SetProjection(v *Projection) *LocalSecondaryIndexDescription {
+ 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.
@@ -4152,6 +4866,18 @@ func (s *Projection) Validate() error {
return nil
}
+// SetNonKeyAttributes sets the NonKeyAttributes field's value.
+func (s *Projection) SetNonKeyAttributes(v []*string) *Projection {
+ s.NonKeyAttributes = v
+ return s
+}
+
+// SetProjectionType sets the ProjectionType field's value.
+func (s *Projection) SetProjectionType(v string) *Projection {
+ s.ProjectionType = &v
+ return s
+}
+
// Represents the provisioned throughput settings for a specified table or index.
// The settings can be modified using the UpdateTable operation.
//
@@ -4210,6 +4936,18 @@ func (s *ProvisionedThroughput) Validate() error {
return nil
}
+// SetReadCapacityUnits sets the ReadCapacityUnits field's value.
+func (s *ProvisionedThroughput) SetReadCapacityUnits(v int64) *ProvisionedThroughput {
+ s.ReadCapacityUnits = &v
+ return s
+}
+
+// SetWriteCapacityUnits sets the WriteCapacityUnits field's value.
+func (s *ProvisionedThroughput) SetWriteCapacityUnits(v int64) *ProvisionedThroughput {
+ s.WriteCapacityUnits = &v
+ return s
+}
+
// Represents the provisioned throughput settings for the table, consisting
// of read and write capacity units, along with data about increases and decreases.
type ProvisionedThroughputDescription struct {
@@ -4248,6 +4986,36 @@ func (s ProvisionedThroughputDescription) GoString() string {
return s.String()
}
+// SetLastDecreaseDateTime sets the LastDecreaseDateTime field's value.
+func (s *ProvisionedThroughputDescription) SetLastDecreaseDateTime(v time.Time) *ProvisionedThroughputDescription {
+ s.LastDecreaseDateTime = &v
+ return s
+}
+
+// SetLastIncreaseDateTime sets the LastIncreaseDateTime field's value.
+func (s *ProvisionedThroughputDescription) SetLastIncreaseDateTime(v time.Time) *ProvisionedThroughputDescription {
+ s.LastIncreaseDateTime = &v
+ return s
+}
+
+// SetNumberOfDecreasesToday sets the NumberOfDecreasesToday field's value.
+func (s *ProvisionedThroughputDescription) SetNumberOfDecreasesToday(v int64) *ProvisionedThroughputDescription {
+ s.NumberOfDecreasesToday = &v
+ return s
+}
+
+// SetReadCapacityUnits sets the ReadCapacityUnits field's value.
+func (s *ProvisionedThroughputDescription) SetReadCapacityUnits(v int64) *ProvisionedThroughputDescription {
+ s.ReadCapacityUnits = &v
+ return s
+}
+
+// SetWriteCapacityUnits sets the WriteCapacityUnits field's value.
+func (s *ProvisionedThroughputDescription) SetWriteCapacityUnits(v int64) *ProvisionedThroughputDescription {
+ s.WriteCapacityUnits = &v
+ return s
+}
+
// Represents the input of a PutItem operation.
type PutItemInput struct {
_ struct{} `type:"structure"`
@@ -4558,6 +5326,66 @@ func (s *PutItemInput) Validate() error {
return nil
}
+// SetConditionExpression sets the ConditionExpression field's value.
+func (s *PutItemInput) SetConditionExpression(v string) *PutItemInput {
+ s.ConditionExpression = &v
+ return s
+}
+
+// SetConditionalOperator sets the ConditionalOperator field's value.
+func (s *PutItemInput) SetConditionalOperator(v string) *PutItemInput {
+ s.ConditionalOperator = &v
+ return s
+}
+
+// SetExpected sets the Expected field's value.
+func (s *PutItemInput) SetExpected(v map[string]*ExpectedAttributeValue) *PutItemInput {
+ s.Expected = v
+ return s
+}
+
+// SetExpressionAttributeNames sets the ExpressionAttributeNames field's value.
+func (s *PutItemInput) SetExpressionAttributeNames(v map[string]*string) *PutItemInput {
+ s.ExpressionAttributeNames = v
+ return s
+}
+
+// SetExpressionAttributeValues sets the ExpressionAttributeValues field's value.
+func (s *PutItemInput) SetExpressionAttributeValues(v map[string]*AttributeValue) *PutItemInput {
+ s.ExpressionAttributeValues = v
+ return s
+}
+
+// SetItem sets the Item field's value.
+func (s *PutItemInput) SetItem(v map[string]*AttributeValue) *PutItemInput {
+ s.Item = v
+ return s
+}
+
+// SetReturnConsumedCapacity sets the ReturnConsumedCapacity field's value.
+func (s *PutItemInput) SetReturnConsumedCapacity(v string) *PutItemInput {
+ s.ReturnConsumedCapacity = &v
+ return s
+}
+
+// SetReturnItemCollectionMetrics sets the ReturnItemCollectionMetrics field's value.
+func (s *PutItemInput) SetReturnItemCollectionMetrics(v string) *PutItemInput {
+ s.ReturnItemCollectionMetrics = &v
+ return s
+}
+
+// SetReturnValues sets the ReturnValues field's value.
+func (s *PutItemInput) SetReturnValues(v string) *PutItemInput {
+ s.ReturnValues = &v
+ return s
+}
+
+// SetTableName sets the TableName field's value.
+func (s *PutItemInput) SetTableName(v string) *PutItemInput {
+ s.TableName = &v
+ return s
+}
+
// Represents the output of a PutItem operation.
type PutItemOutput struct {
_ struct{} `type:"structure"`
@@ -4607,6 +5435,24 @@ func (s PutItemOutput) GoString() string {
return s.String()
}
+// SetAttributes sets the Attributes field's value.
+func (s *PutItemOutput) SetAttributes(v map[string]*AttributeValue) *PutItemOutput {
+ s.Attributes = v
+ return s
+}
+
+// SetConsumedCapacity sets the ConsumedCapacity field's value.
+func (s *PutItemOutput) SetConsumedCapacity(v *ConsumedCapacity) *PutItemOutput {
+ s.ConsumedCapacity = v
+ return s
+}
+
+// SetItemCollectionMetrics sets the ItemCollectionMetrics field's value.
+func (s *PutItemOutput) SetItemCollectionMetrics(v *ItemCollectionMetrics) *PutItemOutput {
+ s.ItemCollectionMetrics = v
+ return s
+}
+
// Represents a request to perform a PutItem operation on an item.
type PutRequest struct {
_ struct{} `type:"structure"`
@@ -4631,6 +5477,12 @@ func (s PutRequest) GoString() string {
return s.String()
}
+// SetItem sets the Item field's value.
+func (s *PutRequest) SetItem(v map[string]*AttributeValue) *PutRequest {
+ s.Item = v
+ return s
+}
+
// Represents the input of a Query operation.
type QueryInput struct {
_ struct{} `type:"structure"`
@@ -5162,6 +6014,108 @@ func (s *QueryInput) Validate() error {
return nil
}
+// SetAttributesToGet sets the AttributesToGet field's value.
+func (s *QueryInput) SetAttributesToGet(v []*string) *QueryInput {
+ s.AttributesToGet = v
+ return s
+}
+
+// SetConditionalOperator sets the ConditionalOperator field's value.
+func (s *QueryInput) SetConditionalOperator(v string) *QueryInput {
+ s.ConditionalOperator = &v
+ return s
+}
+
+// SetConsistentRead sets the ConsistentRead field's value.
+func (s *QueryInput) SetConsistentRead(v bool) *QueryInput {
+ s.ConsistentRead = &v
+ return s
+}
+
+// SetExclusiveStartKey sets the ExclusiveStartKey field's value.
+func (s *QueryInput) SetExclusiveStartKey(v map[string]*AttributeValue) *QueryInput {
+ s.ExclusiveStartKey = v
+ return s
+}
+
+// SetExpressionAttributeNames sets the ExpressionAttributeNames field's value.
+func (s *QueryInput) SetExpressionAttributeNames(v map[string]*string) *QueryInput {
+ s.ExpressionAttributeNames = v
+ return s
+}
+
+// SetExpressionAttributeValues sets the ExpressionAttributeValues field's value.
+func (s *QueryInput) SetExpressionAttributeValues(v map[string]*AttributeValue) *QueryInput {
+ s.ExpressionAttributeValues = v
+ return s
+}
+
+// SetFilterExpression sets the FilterExpression field's value.
+func (s *QueryInput) SetFilterExpression(v string) *QueryInput {
+ s.FilterExpression = &v
+ return s
+}
+
+// SetIndexName sets the IndexName field's value.
+func (s *QueryInput) SetIndexName(v string) *QueryInput {
+ s.IndexName = &v
+ return s
+}
+
+// SetKeyConditionExpression sets the KeyConditionExpression field's value.
+func (s *QueryInput) SetKeyConditionExpression(v string) *QueryInput {
+ s.KeyConditionExpression = &v
+ return s
+}
+
+// SetKeyConditions sets the KeyConditions field's value.
+func (s *QueryInput) SetKeyConditions(v map[string]*Condition) *QueryInput {
+ s.KeyConditions = v
+ return s
+}
+
+// SetLimit sets the Limit field's value.
+func (s *QueryInput) SetLimit(v int64) *QueryInput {
+ s.Limit = &v
+ return s
+}
+
+// SetProjectionExpression sets the ProjectionExpression field's value.
+func (s *QueryInput) SetProjectionExpression(v string) *QueryInput {
+ s.ProjectionExpression = &v
+ return s
+}
+
+// SetQueryFilter sets the QueryFilter field's value.
+func (s *QueryInput) SetQueryFilter(v map[string]*Condition) *QueryInput {
+ s.QueryFilter = v
+ return s
+}
+
+// SetReturnConsumedCapacity sets the ReturnConsumedCapacity field's value.
+func (s *QueryInput) SetReturnConsumedCapacity(v string) *QueryInput {
+ s.ReturnConsumedCapacity = &v
+ return s
+}
+
+// SetScanIndexForward sets the ScanIndexForward field's value.
+func (s *QueryInput) SetScanIndexForward(v bool) *QueryInput {
+ s.ScanIndexForward = &v
+ return s
+}
+
+// SetSelect sets the Select field's value.
+func (s *QueryInput) SetSelect(v string) *QueryInput {
+ s.Select = &v
+ return s
+}
+
+// SetTableName sets the TableName field's value.
+func (s *QueryInput) SetTableName(v string) *QueryInput {
+ s.TableName = &v
+ return s
+}
+
// Represents the output of a Query operation.
type QueryOutput struct {
_ struct{} `type:"structure"`
@@ -5220,6 +6174,36 @@ 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 input of a Scan operation.
type ScanInput struct {
_ struct{} `type:"structure"`
@@ -5564,6 +6548,102 @@ func (s *ScanInput) Validate() error {
return nil
}
+// SetAttributesToGet sets the AttributesToGet field's value.
+func (s *ScanInput) SetAttributesToGet(v []*string) *ScanInput {
+ s.AttributesToGet = v
+ return s
+}
+
+// SetConditionalOperator sets the ConditionalOperator field's value.
+func (s *ScanInput) SetConditionalOperator(v string) *ScanInput {
+ s.ConditionalOperator = &v
+ return s
+}
+
+// SetConsistentRead sets the ConsistentRead field's value.
+func (s *ScanInput) SetConsistentRead(v bool) *ScanInput {
+ s.ConsistentRead = &v
+ return s
+}
+
+// SetExclusiveStartKey sets the ExclusiveStartKey field's value.
+func (s *ScanInput) SetExclusiveStartKey(v map[string]*AttributeValue) *ScanInput {
+ s.ExclusiveStartKey = v
+ return s
+}
+
+// SetExpressionAttributeNames sets the ExpressionAttributeNames field's value.
+func (s *ScanInput) SetExpressionAttributeNames(v map[string]*string) *ScanInput {
+ s.ExpressionAttributeNames = v
+ return s
+}
+
+// SetExpressionAttributeValues sets the ExpressionAttributeValues field's value.
+func (s *ScanInput) SetExpressionAttributeValues(v map[string]*AttributeValue) *ScanInput {
+ s.ExpressionAttributeValues = v
+ return s
+}
+
+// SetFilterExpression sets the FilterExpression field's value.
+func (s *ScanInput) SetFilterExpression(v string) *ScanInput {
+ s.FilterExpression = &v
+ return s
+}
+
+// SetIndexName sets the IndexName field's value.
+func (s *ScanInput) SetIndexName(v string) *ScanInput {
+ s.IndexName = &v
+ return s
+}
+
+// SetLimit sets the Limit field's value.
+func (s *ScanInput) SetLimit(v int64) *ScanInput {
+ s.Limit = &v
+ return s
+}
+
+// SetProjectionExpression sets the ProjectionExpression field's value.
+func (s *ScanInput) SetProjectionExpression(v string) *ScanInput {
+ s.ProjectionExpression = &v
+ return s
+}
+
+// SetReturnConsumedCapacity sets the ReturnConsumedCapacity field's value.
+func (s *ScanInput) SetReturnConsumedCapacity(v string) *ScanInput {
+ s.ReturnConsumedCapacity = &v
+ return s
+}
+
+// SetScanFilter sets the ScanFilter field's value.
+func (s *ScanInput) SetScanFilter(v map[string]*Condition) *ScanInput {
+ s.ScanFilter = v
+ return s
+}
+
+// SetSegment sets the Segment field's value.
+func (s *ScanInput) SetSegment(v int64) *ScanInput {
+ s.Segment = &v
+ return s
+}
+
+// SetSelect sets the Select field's value.
+func (s *ScanInput) SetSelect(v string) *ScanInput {
+ s.Select = &v
+ return s
+}
+
+// SetTableName sets the TableName field's value.
+func (s *ScanInput) SetTableName(v string) *ScanInput {
+ s.TableName = &v
+ return s
+}
+
+// SetTotalSegments sets the TotalSegments field's value.
+func (s *ScanInput) SetTotalSegments(v int64) *ScanInput {
+ s.TotalSegments = &v
+ return s
+}
+
// Represents the output of a Scan operation.
type ScanOutput struct {
_ struct{} `type:"structure"`
@@ -5621,6 +6701,36 @@ func (s ScanOutput) GoString() string {
return s.String()
}
+// SetConsumedCapacity sets the ConsumedCapacity field's value.
+func (s *ScanOutput) SetConsumedCapacity(v *ConsumedCapacity) *ScanOutput {
+ s.ConsumedCapacity = v
+ return s
+}
+
+// SetCount sets the Count field's value.
+func (s *ScanOutput) SetCount(v int64) *ScanOutput {
+ s.Count = &v
+ return s
+}
+
+// SetItems sets the Items field's value.
+func (s *ScanOutput) SetItems(v []map[string]*AttributeValue) *ScanOutput {
+ s.Items = v
+ return s
+}
+
+// SetLastEvaluatedKey sets the LastEvaluatedKey field's value.
+func (s *ScanOutput) SetLastEvaluatedKey(v map[string]*AttributeValue) *ScanOutput {
+ s.LastEvaluatedKey = v
+ return s
+}
+
+// SetScannedCount sets the ScannedCount field's value.
+func (s *ScanOutput) SetScannedCount(v int64) *ScanOutput {
+ s.ScannedCount = &v
+ return s
+}
+
// Represents the DynamoDB Streams configuration for a table in DynamoDB.
type StreamSpecification struct {
_ struct{} `type:"structure"`
@@ -5662,6 +6772,18 @@ func (s StreamSpecification) GoString() string {
return s.String()
}
+// SetStreamEnabled sets the StreamEnabled field's value.
+func (s *StreamSpecification) SetStreamEnabled(v bool) *StreamSpecification {
+ s.StreamEnabled = &v
+ return s
+}
+
+// SetStreamViewType sets the StreamViewType field's value.
+func (s *StreamSpecification) SetStreamViewType(v string) *StreamSpecification {
+ s.StreamViewType = &v
+ return s
+}
+
// Represents the properties of a table.
type TableDescription struct {
_ struct{} `type:"structure"`
@@ -5870,6 +6992,90 @@ func (s TableDescription) GoString() string {
return s.String()
}
+// SetAttributeDefinitions sets the AttributeDefinitions field's value.
+func (s *TableDescription) SetAttributeDefinitions(v []*AttributeDefinition) *TableDescription {
+ s.AttributeDefinitions = v
+ return s
+}
+
+// SetCreationDateTime sets the CreationDateTime field's value.
+func (s *TableDescription) SetCreationDateTime(v time.Time) *TableDescription {
+ s.CreationDateTime = &v
+ return s
+}
+
+// SetGlobalSecondaryIndexes sets the GlobalSecondaryIndexes field's value.
+func (s *TableDescription) SetGlobalSecondaryIndexes(v []*GlobalSecondaryIndexDescription) *TableDescription {
+ s.GlobalSecondaryIndexes = v
+ return s
+}
+
+// SetItemCount sets the ItemCount field's value.
+func (s *TableDescription) SetItemCount(v int64) *TableDescription {
+ s.ItemCount = &v
+ return s
+}
+
+// SetKeySchema sets the KeySchema field's value.
+func (s *TableDescription) SetKeySchema(v []*KeySchemaElement) *TableDescription {
+ s.KeySchema = v
+ return s
+}
+
+// SetLatestStreamArn sets the LatestStreamArn field's value.
+func (s *TableDescription) SetLatestStreamArn(v string) *TableDescription {
+ s.LatestStreamArn = &v
+ return s
+}
+
+// SetLatestStreamLabel sets the LatestStreamLabel field's value.
+func (s *TableDescription) SetLatestStreamLabel(v string) *TableDescription {
+ s.LatestStreamLabel = &v
+ return s
+}
+
+// SetLocalSecondaryIndexes sets the LocalSecondaryIndexes field's value.
+func (s *TableDescription) SetLocalSecondaryIndexes(v []*LocalSecondaryIndexDescription) *TableDescription {
+ s.LocalSecondaryIndexes = v
+ return s
+}
+
+// SetProvisionedThroughput sets the ProvisionedThroughput field's value.
+func (s *TableDescription) SetProvisionedThroughput(v *ProvisionedThroughputDescription) *TableDescription {
+ s.ProvisionedThroughput = v
+ return s
+}
+
+// SetStreamSpecification sets the StreamSpecification field's value.
+func (s *TableDescription) SetStreamSpecification(v *StreamSpecification) *TableDescription {
+ s.StreamSpecification = v
+ return s
+}
+
+// SetTableArn sets the TableArn field's value.
+func (s *TableDescription) SetTableArn(v string) *TableDescription {
+ s.TableArn = &v
+ return s
+}
+
+// SetTableName sets the TableName field's value.
+func (s *TableDescription) SetTableName(v string) *TableDescription {
+ s.TableName = &v
+ return s
+}
+
+// SetTableSizeBytes sets the TableSizeBytes field's value.
+func (s *TableDescription) SetTableSizeBytes(v int64) *TableDescription {
+ s.TableSizeBytes = &v
+ return s
+}
+
+// SetTableStatus sets the TableStatus field's value.
+func (s *TableDescription) SetTableStatus(v string) *TableDescription {
+ s.TableStatus = &v
+ return s
+}
+
// Represents the new provisioned throughput settings to be applied to a global
// secondary index.
type UpdateGlobalSecondaryIndexAction struct {
@@ -5925,6 +7131,18 @@ func (s *UpdateGlobalSecondaryIndexAction) Validate() error {
return nil
}
+// SetIndexName sets the IndexName field's value.
+func (s *UpdateGlobalSecondaryIndexAction) SetIndexName(v string) *UpdateGlobalSecondaryIndexAction {
+ s.IndexName = &v
+ return s
+}
+
+// SetProvisionedThroughput sets the ProvisionedThroughput field's value.
+func (s *UpdateGlobalSecondaryIndexAction) SetProvisionedThroughput(v *ProvisionedThroughput) *UpdateGlobalSecondaryIndexAction {
+ s.ProvisionedThroughput = v
+ return s
+}
+
// Represents the input of an UpdateItem operation.
type UpdateItemInput struct {
_ struct{} `type:"structure"`
@@ -6397,6 +7615,78 @@ func (s *UpdateItemInput) Validate() error {
return nil
}
+// SetAttributeUpdates sets the AttributeUpdates field's value.
+func (s *UpdateItemInput) SetAttributeUpdates(v map[string]*AttributeValueUpdate) *UpdateItemInput {
+ s.AttributeUpdates = v
+ return s
+}
+
+// SetConditionExpression sets the ConditionExpression field's value.
+func (s *UpdateItemInput) SetConditionExpression(v string) *UpdateItemInput {
+ s.ConditionExpression = &v
+ return s
+}
+
+// SetConditionalOperator sets the ConditionalOperator field's value.
+func (s *UpdateItemInput) SetConditionalOperator(v string) *UpdateItemInput {
+ s.ConditionalOperator = &v
+ return s
+}
+
+// SetExpected sets the Expected field's value.
+func (s *UpdateItemInput) SetExpected(v map[string]*ExpectedAttributeValue) *UpdateItemInput {
+ s.Expected = v
+ return s
+}
+
+// SetExpressionAttributeNames sets the ExpressionAttributeNames field's value.
+func (s *UpdateItemInput) SetExpressionAttributeNames(v map[string]*string) *UpdateItemInput {
+ s.ExpressionAttributeNames = v
+ return s
+}
+
+// SetExpressionAttributeValues sets the ExpressionAttributeValues field's value.
+func (s *UpdateItemInput) SetExpressionAttributeValues(v map[string]*AttributeValue) *UpdateItemInput {
+ s.ExpressionAttributeValues = v
+ return s
+}
+
+// SetKey sets the Key field's value.
+func (s *UpdateItemInput) SetKey(v map[string]*AttributeValue) *UpdateItemInput {
+ s.Key = v
+ return s
+}
+
+// SetReturnConsumedCapacity sets the ReturnConsumedCapacity field's value.
+func (s *UpdateItemInput) SetReturnConsumedCapacity(v string) *UpdateItemInput {
+ s.ReturnConsumedCapacity = &v
+ return s
+}
+
+// SetReturnItemCollectionMetrics sets the ReturnItemCollectionMetrics field's value.
+func (s *UpdateItemInput) SetReturnItemCollectionMetrics(v string) *UpdateItemInput {
+ s.ReturnItemCollectionMetrics = &v
+ return s
+}
+
+// SetReturnValues sets the ReturnValues field's value.
+func (s *UpdateItemInput) SetReturnValues(v string) *UpdateItemInput {
+ s.ReturnValues = &v
+ return s
+}
+
+// SetTableName sets the TableName field's value.
+func (s *UpdateItemInput) SetTableName(v string) *UpdateItemInput {
+ s.TableName = &v
+ return s
+}
+
+// SetUpdateExpression sets the UpdateExpression field's value.
+func (s *UpdateItemInput) SetUpdateExpression(v string) *UpdateItemInput {
+ s.UpdateExpression = &v
+ return s
+}
+
// Represents the output of an UpdateItem operation.
type UpdateItemOutput struct {
_ struct{} `type:"structure"`
@@ -6431,6 +7721,24 @@ func (s UpdateItemOutput) GoString() string {
return s.String()
}
+// SetAttributes sets the Attributes field's value.
+func (s *UpdateItemOutput) SetAttributes(v map[string]*AttributeValue) *UpdateItemOutput {
+ s.Attributes = v
+ return s
+}
+
+// SetConsumedCapacity sets the ConsumedCapacity field's value.
+func (s *UpdateItemOutput) SetConsumedCapacity(v *ConsumedCapacity) *UpdateItemOutput {
+ s.ConsumedCapacity = v
+ return s
+}
+
+// SetItemCollectionMetrics sets the ItemCollectionMetrics field's value.
+func (s *UpdateItemOutput) SetItemCollectionMetrics(v *ItemCollectionMetrics) *UpdateItemOutput {
+ s.ItemCollectionMetrics = v
+ return s
+}
+
// Represents the input of an UpdateTable operation.
type UpdateTableInput struct {
_ struct{} `type:"structure"`
@@ -6526,6 +7834,36 @@ func (s *UpdateTableInput) Validate() error {
return nil
}
+// SetAttributeDefinitions sets the AttributeDefinitions field's value.
+func (s *UpdateTableInput) SetAttributeDefinitions(v []*AttributeDefinition) *UpdateTableInput {
+ s.AttributeDefinitions = v
+ return s
+}
+
+// SetGlobalSecondaryIndexUpdates sets the GlobalSecondaryIndexUpdates field's value.
+func (s *UpdateTableInput) SetGlobalSecondaryIndexUpdates(v []*GlobalSecondaryIndexUpdate) *UpdateTableInput {
+ s.GlobalSecondaryIndexUpdates = v
+ return s
+}
+
+// SetProvisionedThroughput sets the ProvisionedThroughput field's value.
+func (s *UpdateTableInput) SetProvisionedThroughput(v *ProvisionedThroughput) *UpdateTableInput {
+ s.ProvisionedThroughput = v
+ return s
+}
+
+// SetStreamSpecification sets the StreamSpecification field's value.
+func (s *UpdateTableInput) SetStreamSpecification(v *StreamSpecification) *UpdateTableInput {
+ s.StreamSpecification = v
+ return s
+}
+
+// SetTableName sets the TableName field's value.
+func (s *UpdateTableInput) SetTableName(v string) *UpdateTableInput {
+ s.TableName = &v
+ return s
+}
+
// Represents the output of an UpdateTable operation.
type UpdateTableOutput struct {
_ struct{} `type:"structure"`
@@ -6544,6 +7882,12 @@ func (s UpdateTableOutput) GoString() string {
return s.String()
}
+// SetTableDescription sets the TableDescription field's value.
+func (s *UpdateTableOutput) SetTableDescription(v *TableDescription) *UpdateTableOutput {
+ s.TableDescription = v
+ return s
+}
+
// Represents an operation to perform - either DeleteItem or PutItem. You can
// 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
@@ -6568,6 +7912,18 @@ func (s WriteRequest) GoString() string {
return s.String()
}
+// SetDeleteRequest sets the DeleteRequest field's value.
+func (s *WriteRequest) SetDeleteRequest(v *DeleteRequest) *WriteRequest {
+ s.DeleteRequest = v
+ return s
+}
+
+// SetPutRequest sets the PutRequest field's value.
+func (s *WriteRequest) SetPutRequest(v *PutRequest) *WriteRequest {
+ s.PutRequest = v
+ return s
+}
+
const (
// AttributeActionAdd is a AttributeAction enum value
AttributeActionAdd = "ADD"
diff --git a/vendor/github.com/aws/aws-sdk-go/service/dynamodb/dynamodbattribute/marshaler_examples_test.go b/vendor/github.com/aws/aws-sdk-go/service/dynamodb/dynamodbattribute/marshaler_examples_test.go
index 28e915e..049d3e7 100644
--- a/vendor/github.com/aws/aws-sdk-go/service/dynamodb/dynamodbattribute/marshaler_examples_test.go
+++ b/vendor/github.com/aws/aws-sdk-go/service/dynamodb/dynamodbattribute/marshaler_examples_test.go
@@ -33,7 +33,7 @@ func ExampleMarshal() {
// Output:
// err
// Bytes {
- // B: [48,49]
+ // B: len 2
// }
// MyField {
// S: "MyFieldValue"
diff --git a/vendor/github.com/aws/aws-sdk-go/service/dynamodbstreams/api.go b/vendor/github.com/aws/aws-sdk-go/service/dynamodbstreams/api.go
index 06c15bf..6733696 100644
--- a/vendor/github.com/aws/aws-sdk-go/service/dynamodbstreams/api.go
+++ b/vendor/github.com/aws/aws-sdk-go/service/dynamodbstreams/api.go
@@ -397,6 +397,24 @@ func (s *DescribeStreamInput) Validate() error {
return nil
}
+// SetExclusiveStartShardId sets the ExclusiveStartShardId field's value.
+func (s *DescribeStreamInput) SetExclusiveStartShardId(v string) *DescribeStreamInput {
+ s.ExclusiveStartShardId = &v
+ return s
+}
+
+// SetLimit sets the Limit field's value.
+func (s *DescribeStreamInput) SetLimit(v int64) *DescribeStreamInput {
+ s.Limit = &v
+ return s
+}
+
+// SetStreamArn sets the StreamArn field's value.
+func (s *DescribeStreamInput) SetStreamArn(v string) *DescribeStreamInput {
+ s.StreamArn = &v
+ return s
+}
+
// Represents the output of a DescribeStream operation.
type DescribeStreamOutput struct {
_ struct{} `type:"structure"`
@@ -418,6 +436,12 @@ func (s DescribeStreamOutput) GoString() string {
return s.String()
}
+// SetStreamDescription sets the StreamDescription field's value.
+func (s *DescribeStreamOutput) SetStreamDescription(v *StreamDescription) *DescribeStreamOutput {
+ s.StreamDescription = v
+ return s
+}
+
// Represents the input of a GetRecords operation.
type GetRecordsInput struct {
_ struct{} `type:"structure"`
@@ -462,6 +486,18 @@ func (s *GetRecordsInput) Validate() error {
return nil
}
+// SetLimit sets the Limit field's value.
+func (s *GetRecordsInput) SetLimit(v int64) *GetRecordsInput {
+ s.Limit = &v
+ return s
+}
+
+// SetShardIterator sets the ShardIterator field's value.
+func (s *GetRecordsInput) SetShardIterator(v string) *GetRecordsInput {
+ s.ShardIterator = &v
+ return s
+}
+
// Represents the output of a GetRecords operation.
type GetRecordsOutput struct {
_ struct{} `type:"structure"`
@@ -485,6 +521,18 @@ func (s GetRecordsOutput) GoString() string {
return s.String()
}
+// SetNextShardIterator sets the NextShardIterator field's value.
+func (s *GetRecordsOutput) SetNextShardIterator(v string) *GetRecordsOutput {
+ s.NextShardIterator = &v
+ return s
+}
+
+// SetRecords sets the Records field's value.
+func (s *GetRecordsOutput) SetRecords(v []*Record) *GetRecordsOutput {
+ s.Records = v
+ return s
+}
+
// Represents the input of a GetShardIterator operation.
type GetShardIteratorInput struct {
_ struct{} `type:"structure"`
@@ -562,6 +610,30 @@ func (s *GetShardIteratorInput) Validate() error {
return nil
}
+// SetSequenceNumber sets the SequenceNumber field's value.
+func (s *GetShardIteratorInput) SetSequenceNumber(v string) *GetShardIteratorInput {
+ s.SequenceNumber = &v
+ return s
+}
+
+// SetShardId sets the ShardId field's value.
+func (s *GetShardIteratorInput) SetShardId(v string) *GetShardIteratorInput {
+ s.ShardId = &v
+ return s
+}
+
+// SetShardIteratorType sets the ShardIteratorType field's value.
+func (s *GetShardIteratorInput) SetShardIteratorType(v string) *GetShardIteratorInput {
+ s.ShardIteratorType = &v
+ return s
+}
+
+// SetStreamArn sets the StreamArn field's value.
+func (s *GetShardIteratorInput) SetStreamArn(v string) *GetShardIteratorInput {
+ s.StreamArn = &v
+ return s
+}
+
// Represents the output of a GetShardIterator operation.
type GetShardIteratorOutput struct {
_ struct{} `type:"structure"`
@@ -582,6 +654,12 @@ func (s GetShardIteratorOutput) GoString() string {
return s.String()
}
+// SetShardIterator sets the ShardIterator field's value.
+func (s *GetShardIteratorOutput) SetShardIterator(v string) *GetShardIteratorOutput {
+ s.ShardIterator = &v
+ return s
+}
+
// Represents the input of a ListStreams operation.
type ListStreamsInput struct {
_ struct{} `type:"structure"`
@@ -628,6 +706,24 @@ func (s *ListStreamsInput) Validate() error {
return nil
}
+// SetExclusiveStartStreamArn sets the ExclusiveStartStreamArn field's value.
+func (s *ListStreamsInput) SetExclusiveStartStreamArn(v string) *ListStreamsInput {
+ s.ExclusiveStartStreamArn = &v
+ return s
+}
+
+// SetLimit sets the Limit field's value.
+func (s *ListStreamsInput) SetLimit(v int64) *ListStreamsInput {
+ s.Limit = &v
+ return s
+}
+
+// SetTableName sets the TableName field's value.
+func (s *ListStreamsInput) SetTableName(v string) *ListStreamsInput {
+ s.TableName = &v
+ return s
+}
+
// Represents the output of a ListStreams operation.
type ListStreamsOutput struct {
_ struct{} `type:"structure"`
@@ -658,6 +754,18 @@ func (s ListStreamsOutput) GoString() string {
return s.String()
}
+// SetLastEvaluatedStreamArn sets the LastEvaluatedStreamArn field's value.
+func (s *ListStreamsOutput) SetLastEvaluatedStreamArn(v string) *ListStreamsOutput {
+ s.LastEvaluatedStreamArn = &v
+ return s
+}
+
+// SetStreams sets the Streams field's value.
+func (s *ListStreamsOutput) SetStreams(v []*Stream) *ListStreamsOutput {
+ s.Streams = v
+ return s
+}
+
// A description of a unique event within a stream.
type Record struct {
_ struct{} `type:"structure"`
@@ -705,6 +813,42 @@ func (s Record) GoString() string {
return s.String()
}
+// SetAwsRegion sets the AwsRegion field's value.
+func (s *Record) SetAwsRegion(v string) *Record {
+ s.AwsRegion = &v
+ return s
+}
+
+// SetDynamodb sets the Dynamodb field's value.
+func (s *Record) SetDynamodb(v *StreamRecord) *Record {
+ s.Dynamodb = v
+ return s
+}
+
+// SetEventID sets the EventID field's value.
+func (s *Record) SetEventID(v string) *Record {
+ s.EventID = &v
+ return s
+}
+
+// SetEventName sets the EventName field's value.
+func (s *Record) SetEventName(v string) *Record {
+ s.EventName = &v
+ return s
+}
+
+// SetEventSource sets the EventSource field's value.
+func (s *Record) SetEventSource(v string) *Record {
+ s.EventSource = &v
+ return s
+}
+
+// SetEventVersion sets the EventVersion field's value.
+func (s *Record) SetEventVersion(v string) *Record {
+ s.EventVersion = &v
+ return s
+}
+
// The beginning and ending sequence numbers for the stream records contained
// within a shard.
type SequenceNumberRange struct {
@@ -727,6 +871,18 @@ func (s SequenceNumberRange) GoString() string {
return s.String()
}
+// SetEndingSequenceNumber sets the EndingSequenceNumber field's value.
+func (s *SequenceNumberRange) SetEndingSequenceNumber(v string) *SequenceNumberRange {
+ s.EndingSequenceNumber = &v
+ return s
+}
+
+// SetStartingSequenceNumber sets the StartingSequenceNumber field's value.
+func (s *SequenceNumberRange) SetStartingSequenceNumber(v string) *SequenceNumberRange {
+ s.StartingSequenceNumber = &v
+ return s
+}
+
// A uniquely identified group of stream records within a stream.
type Shard struct {
_ struct{} `type:"structure"`
@@ -751,6 +907,24 @@ func (s Shard) GoString() string {
return s.String()
}
+// SetParentShardId sets the ParentShardId field's value.
+func (s *Shard) SetParentShardId(v string) *Shard {
+ s.ParentShardId = &v
+ return s
+}
+
+// SetSequenceNumberRange sets the SequenceNumberRange field's value.
+func (s *Shard) SetSequenceNumberRange(v *SequenceNumberRange) *Shard {
+ s.SequenceNumberRange = v
+ return s
+}
+
+// SetShardId sets the ShardId field's value.
+func (s *Shard) SetShardId(v string) *Shard {
+ s.ShardId = &v
+ return s
+}
+
// Represents all of the data describing a particular stream.
type Stream struct {
_ struct{} `type:"structure"`
@@ -786,6 +960,24 @@ func (s Stream) GoString() string {
return s.String()
}
+// SetStreamArn sets the StreamArn field's value.
+func (s *Stream) SetStreamArn(v string) *Stream {
+ s.StreamArn = &v
+ return s
+}
+
+// SetStreamLabel sets the StreamLabel field's value.
+func (s *Stream) SetStreamLabel(v string) *Stream {
+ s.StreamLabel = &v
+ return s
+}
+
+// SetTableName sets the TableName field's value.
+func (s *Stream) SetTableName(v string) *Stream {
+ s.TableName = &v
+ return s
+}
+
// Represents all of the data describing a particular stream.
type StreamDescription struct {
_ struct{} `type:"structure"`
@@ -868,6 +1060,60 @@ func (s StreamDescription) GoString() string {
return s.String()
}
+// SetCreationRequestDateTime sets the CreationRequestDateTime field's value.
+func (s *StreamDescription) SetCreationRequestDateTime(v time.Time) *StreamDescription {
+ s.CreationRequestDateTime = &v
+ return s
+}
+
+// SetKeySchema sets the KeySchema field's value.
+func (s *StreamDescription) SetKeySchema(v []*dynamodb.KeySchemaElement) *StreamDescription {
+ s.KeySchema = v
+ return s
+}
+
+// SetLastEvaluatedShardId sets the LastEvaluatedShardId field's value.
+func (s *StreamDescription) SetLastEvaluatedShardId(v string) *StreamDescription {
+ s.LastEvaluatedShardId = &v
+ return s
+}
+
+// SetShards sets the Shards field's value.
+func (s *StreamDescription) SetShards(v []*Shard) *StreamDescription {
+ s.Shards = v
+ return s
+}
+
+// SetStreamArn sets the StreamArn field's value.
+func (s *StreamDescription) SetStreamArn(v string) *StreamDescription {
+ s.StreamArn = &v
+ return s
+}
+
+// SetStreamLabel sets the StreamLabel field's value.
+func (s *StreamDescription) SetStreamLabel(v string) *StreamDescription {
+ s.StreamLabel = &v
+ return s
+}
+
+// SetStreamStatus sets the StreamStatus field's value.
+func (s *StreamDescription) SetStreamStatus(v string) *StreamDescription {
+ s.StreamStatus = &v
+ return s
+}
+
+// SetStreamViewType sets the StreamViewType field's value.
+func (s *StreamDescription) SetStreamViewType(v string) *StreamDescription {
+ s.StreamViewType = &v
+ return s
+}
+
+// SetTableName sets the TableName field's value.
+func (s *StreamDescription) SetTableName(v string) *StreamDescription {
+ s.TableName = &v
+ return s
+}
+
// A description of a single data modification that was performed on an item
// in a DynamoDB table.
type StreamRecord struct {
@@ -915,6 +1161,48 @@ func (s StreamRecord) GoString() string {
return s.String()
}
+// SetApproximateCreationDateTime sets the ApproximateCreationDateTime field's value.
+func (s *StreamRecord) SetApproximateCreationDateTime(v time.Time) *StreamRecord {
+ s.ApproximateCreationDateTime = &v
+ return s
+}
+
+// SetKeys sets the Keys field's value.
+func (s *StreamRecord) SetKeys(v map[string]*dynamodb.AttributeValue) *StreamRecord {
+ s.Keys = v
+ return s
+}
+
+// SetNewImage sets the NewImage field's value.
+func (s *StreamRecord) SetNewImage(v map[string]*dynamodb.AttributeValue) *StreamRecord {
+ s.NewImage = v
+ return s
+}
+
+// SetOldImage sets the OldImage field's value.
+func (s *StreamRecord) SetOldImage(v map[string]*dynamodb.AttributeValue) *StreamRecord {
+ s.OldImage = v
+ return s
+}
+
+// SetSequenceNumber sets the SequenceNumber field's value.
+func (s *StreamRecord) SetSequenceNumber(v string) *StreamRecord {
+ s.SequenceNumber = &v
+ return s
+}
+
+// SetSizeBytes sets the SizeBytes field's value.
+func (s *StreamRecord) SetSizeBytes(v int64) *StreamRecord {
+ s.SizeBytes = &v
+ return s
+}
+
+// SetStreamViewType sets the StreamViewType field's value.
+func (s *StreamRecord) SetStreamViewType(v string) *StreamRecord {
+ s.StreamViewType = &v
+ return s
+}
+
const (
// KeyTypeHash is a KeyType enum value
KeyTypeHash = "HASH"
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 0a74c4a..ac3653d 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
@@ -14554,6 +14554,24 @@ func (s *AcceptReservedInstancesExchangeQuoteInput) Validate() error {
return nil
}
+// SetDryRun sets the DryRun field's value.
+func (s *AcceptReservedInstancesExchangeQuoteInput) SetDryRun(v bool) *AcceptReservedInstancesExchangeQuoteInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetReservedInstanceIds sets the ReservedInstanceIds field's value.
+func (s *AcceptReservedInstancesExchangeQuoteInput) SetReservedInstanceIds(v []*string) *AcceptReservedInstancesExchangeQuoteInput {
+ s.ReservedInstanceIds = v
+ return s
+}
+
+// SetTargetConfigurations sets the TargetConfigurations field's value.
+func (s *AcceptReservedInstancesExchangeQuoteInput) SetTargetConfigurations(v []*TargetConfigurationRequest) *AcceptReservedInstancesExchangeQuoteInput {
+ s.TargetConfigurations = v
+ return s
+}
+
// The result of the exchange and whether it was successful.
type AcceptReservedInstancesExchangeQuoteOutput struct {
_ struct{} `type:"structure"`
@@ -14572,6 +14590,12 @@ func (s AcceptReservedInstancesExchangeQuoteOutput) GoString() string {
return s.String()
}
+// SetExchangeId sets the ExchangeId field's value.
+func (s *AcceptReservedInstancesExchangeQuoteOutput) SetExchangeId(v string) *AcceptReservedInstancesExchangeQuoteOutput {
+ s.ExchangeId = &v
+ return s
+}
+
// Contains the parameters for AcceptVpcPeeringConnection.
type AcceptVpcPeeringConnectionInput struct {
_ struct{} `type:"structure"`
@@ -14596,6 +14620,18 @@ func (s AcceptVpcPeeringConnectionInput) GoString() string {
return s.String()
}
+// SetDryRun sets the DryRun field's value.
+func (s *AcceptVpcPeeringConnectionInput) SetDryRun(v bool) *AcceptVpcPeeringConnectionInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetVpcPeeringConnectionId sets the VpcPeeringConnectionId field's value.
+func (s *AcceptVpcPeeringConnectionInput) SetVpcPeeringConnectionId(v string) *AcceptVpcPeeringConnectionInput {
+ s.VpcPeeringConnectionId = &v
+ return s
+}
+
// Contains the output of AcceptVpcPeeringConnection.
type AcceptVpcPeeringConnectionOutput struct {
_ struct{} `type:"structure"`
@@ -14614,6 +14650,12 @@ func (s AcceptVpcPeeringConnectionOutput) GoString() string {
return s.String()
}
+// SetVpcPeeringConnection sets the VpcPeeringConnection field's value.
+func (s *AcceptVpcPeeringConnectionOutput) SetVpcPeeringConnection(v *VpcPeeringConnection) *AcceptVpcPeeringConnectionOutput {
+ s.VpcPeeringConnection = v
+ return s
+}
+
// Describes an account attribute.
type AccountAttribute struct {
_ struct{} `type:"structure"`
@@ -14635,6 +14677,18 @@ func (s AccountAttribute) GoString() string {
return s.String()
}
+// SetAttributeName sets the AttributeName field's value.
+func (s *AccountAttribute) SetAttributeName(v string) *AccountAttribute {
+ s.AttributeName = &v
+ return s
+}
+
+// SetAttributeValues sets the AttributeValues field's value.
+func (s *AccountAttribute) SetAttributeValues(v []*AccountAttributeValue) *AccountAttribute {
+ s.AttributeValues = v
+ return s
+}
+
// Describes a value of an account attribute.
type AccountAttributeValue struct {
_ struct{} `type:"structure"`
@@ -14653,6 +14707,12 @@ func (s AccountAttributeValue) GoString() string {
return s.String()
}
+// SetAttributeValue sets the AttributeValue field's value.
+func (s *AccountAttributeValue) SetAttributeValue(v string) *AccountAttributeValue {
+ s.AttributeValue = &v
+ return s
+}
+
// Describes a running instance in a Spot fleet.
type ActiveInstance struct {
_ struct{} `type:"structure"`
@@ -14677,6 +14737,24 @@ func (s ActiveInstance) GoString() string {
return s.String()
}
+// SetInstanceId sets the InstanceId field's value.
+func (s *ActiveInstance) SetInstanceId(v string) *ActiveInstance {
+ s.InstanceId = &v
+ return s
+}
+
+// SetInstanceType sets the InstanceType field's value.
+func (s *ActiveInstance) SetInstanceType(v string) *ActiveInstance {
+ s.InstanceType = &v
+ return s
+}
+
+// SetSpotInstanceRequestId sets the SpotInstanceRequestId field's value.
+func (s *ActiveInstance) SetSpotInstanceRequestId(v string) *ActiveInstance {
+ s.SpotInstanceRequestId = &v
+ return s
+}
+
// Describes an Elastic IP address.
type Address struct {
_ struct{} `type:"structure"`
@@ -14718,6 +14796,54 @@ func (s Address) GoString() string {
return s.String()
}
+// SetAllocationId sets the AllocationId field's value.
+func (s *Address) SetAllocationId(v string) *Address {
+ s.AllocationId = &v
+ return s
+}
+
+// SetAssociationId sets the AssociationId field's value.
+func (s *Address) SetAssociationId(v string) *Address {
+ s.AssociationId = &v
+ return s
+}
+
+// SetDomain sets the Domain field's value.
+func (s *Address) SetDomain(v string) *Address {
+ s.Domain = &v
+ return s
+}
+
+// SetInstanceId sets the InstanceId field's value.
+func (s *Address) SetInstanceId(v string) *Address {
+ s.InstanceId = &v
+ return s
+}
+
+// SetNetworkInterfaceId sets the NetworkInterfaceId field's value.
+func (s *Address) SetNetworkInterfaceId(v string) *Address {
+ s.NetworkInterfaceId = &v
+ return s
+}
+
+// SetNetworkInterfaceOwnerId sets the NetworkInterfaceOwnerId field's value.
+func (s *Address) SetNetworkInterfaceOwnerId(v string) *Address {
+ s.NetworkInterfaceOwnerId = &v
+ return s
+}
+
+// SetPrivateIpAddress sets the PrivateIpAddress field's value.
+func (s *Address) SetPrivateIpAddress(v string) *Address {
+ s.PrivateIpAddress = &v
+ return s
+}
+
+// SetPublicIp sets the PublicIp field's value.
+func (s *Address) SetPublicIp(v string) *Address {
+ s.PublicIp = &v
+ return s
+}
+
// Contains the parameters for AllocateAddress.
type AllocateAddressInput struct {
_ struct{} `type:"structure"`
@@ -14744,6 +14870,18 @@ func (s AllocateAddressInput) GoString() string {
return s.String()
}
+// SetDomain sets the Domain field's value.
+func (s *AllocateAddressInput) SetDomain(v string) *AllocateAddressInput {
+ s.Domain = &v
+ return s
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *AllocateAddressInput) SetDryRun(v bool) *AllocateAddressInput {
+ s.DryRun = &v
+ return s
+}
+
// Contains the output of AllocateAddress.
type AllocateAddressOutput struct {
_ struct{} `type:"structure"`
@@ -14770,6 +14908,24 @@ func (s AllocateAddressOutput) GoString() string {
return s.String()
}
+// SetAllocationId sets the AllocationId field's value.
+func (s *AllocateAddressOutput) SetAllocationId(v string) *AllocateAddressOutput {
+ s.AllocationId = &v
+ return s
+}
+
+// SetDomain sets the Domain field's value.
+func (s *AllocateAddressOutput) SetDomain(v string) *AllocateAddressOutput {
+ s.Domain = &v
+ return s
+}
+
+// SetPublicIp sets the PublicIp field's value.
+func (s *AllocateAddressOutput) SetPublicIp(v string) *AllocateAddressOutput {
+ s.PublicIp = &v
+ return s
+}
+
// Contains the parameters for AllocateHosts.
type AllocateHostsInput struct {
_ struct{} `type:"structure"`
@@ -14834,6 +14990,36 @@ func (s *AllocateHostsInput) Validate() error {
return nil
}
+// SetAutoPlacement sets the AutoPlacement field's value.
+func (s *AllocateHostsInput) SetAutoPlacement(v string) *AllocateHostsInput {
+ s.AutoPlacement = &v
+ return s
+}
+
+// SetAvailabilityZone sets the AvailabilityZone field's value.
+func (s *AllocateHostsInput) SetAvailabilityZone(v string) *AllocateHostsInput {
+ s.AvailabilityZone = &v
+ return s
+}
+
+// SetClientToken sets the ClientToken field's value.
+func (s *AllocateHostsInput) SetClientToken(v string) *AllocateHostsInput {
+ s.ClientToken = &v
+ return s
+}
+
+// SetInstanceType sets the InstanceType field's value.
+func (s *AllocateHostsInput) SetInstanceType(v string) *AllocateHostsInput {
+ s.InstanceType = &v
+ return s
+}
+
+// SetQuantity sets the Quantity field's value.
+func (s *AllocateHostsInput) SetQuantity(v int64) *AllocateHostsInput {
+ s.Quantity = &v
+ return s
+}
+
// Contains the output of AllocateHosts.
type AllocateHostsOutput struct {
_ struct{} `type:"structure"`
@@ -14853,6 +15039,12 @@ func (s AllocateHostsOutput) GoString() string {
return s.String()
}
+// SetHostIds sets the HostIds field's value.
+func (s *AllocateHostsOutput) SetHostIds(v []*string) *AllocateHostsOutput {
+ s.HostIds = v
+ return s
+}
+
// Contains the parameters for AssignPrivateIpAddresses.
type AssignPrivateIpAddressesInput struct {
_ struct{} `type:"structure"`
@@ -14902,6 +15094,30 @@ func (s *AssignPrivateIpAddressesInput) Validate() error {
return nil
}
+// SetAllowReassignment sets the AllowReassignment field's value.
+func (s *AssignPrivateIpAddressesInput) SetAllowReassignment(v bool) *AssignPrivateIpAddressesInput {
+ s.AllowReassignment = &v
+ return s
+}
+
+// SetNetworkInterfaceId sets the NetworkInterfaceId field's value.
+func (s *AssignPrivateIpAddressesInput) SetNetworkInterfaceId(v string) *AssignPrivateIpAddressesInput {
+ s.NetworkInterfaceId = &v
+ return s
+}
+
+// SetPrivateIpAddresses sets the PrivateIpAddresses field's value.
+func (s *AssignPrivateIpAddressesInput) SetPrivateIpAddresses(v []*string) *AssignPrivateIpAddressesInput {
+ s.PrivateIpAddresses = v
+ return s
+}
+
+// SetSecondaryPrivateIpAddressCount sets the SecondaryPrivateIpAddressCount field's value.
+func (s *AssignPrivateIpAddressesInput) SetSecondaryPrivateIpAddressCount(v int64) *AssignPrivateIpAddressesInput {
+ s.SecondaryPrivateIpAddressCount = &v
+ return s
+}
+
type AssignPrivateIpAddressesOutput struct {
_ struct{} `type:"structure"`
}
@@ -14966,6 +15182,48 @@ func (s AssociateAddressInput) GoString() string {
return s.String()
}
+// SetAllocationId sets the AllocationId field's value.
+func (s *AssociateAddressInput) SetAllocationId(v string) *AssociateAddressInput {
+ s.AllocationId = &v
+ return s
+}
+
+// SetAllowReassociation sets the AllowReassociation field's value.
+func (s *AssociateAddressInput) SetAllowReassociation(v bool) *AssociateAddressInput {
+ s.AllowReassociation = &v
+ return s
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *AssociateAddressInput) SetDryRun(v bool) *AssociateAddressInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetInstanceId sets the InstanceId field's value.
+func (s *AssociateAddressInput) SetInstanceId(v string) *AssociateAddressInput {
+ s.InstanceId = &v
+ return s
+}
+
+// SetNetworkInterfaceId sets the NetworkInterfaceId field's value.
+func (s *AssociateAddressInput) SetNetworkInterfaceId(v string) *AssociateAddressInput {
+ s.NetworkInterfaceId = &v
+ return s
+}
+
+// SetPrivateIpAddress sets the PrivateIpAddress field's value.
+func (s *AssociateAddressInput) SetPrivateIpAddress(v string) *AssociateAddressInput {
+ s.PrivateIpAddress = &v
+ return s
+}
+
+// SetPublicIp sets the PublicIp field's value.
+func (s *AssociateAddressInput) SetPublicIp(v string) *AssociateAddressInput {
+ s.PublicIp = &v
+ return s
+}
+
// Contains the output of AssociateAddress.
type AssociateAddressOutput struct {
_ struct{} `type:"structure"`
@@ -14985,6 +15243,12 @@ func (s AssociateAddressOutput) GoString() string {
return s.String()
}
+// SetAssociationId sets the AssociationId field's value.
+func (s *AssociateAddressOutput) SetAssociationId(v string) *AssociateAddressOutput {
+ s.AssociationId = &v
+ return s
+}
+
// Contains the parameters for AssociateDhcpOptions.
type AssociateDhcpOptionsInput struct {
_ struct{} `type:"structure"`
@@ -15033,6 +15297,24 @@ func (s *AssociateDhcpOptionsInput) Validate() error {
return nil
}
+// SetDhcpOptionsId sets the DhcpOptionsId field's value.
+func (s *AssociateDhcpOptionsInput) SetDhcpOptionsId(v string) *AssociateDhcpOptionsInput {
+ s.DhcpOptionsId = &v
+ return s
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *AssociateDhcpOptionsInput) SetDryRun(v bool) *AssociateDhcpOptionsInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetVpcId sets the VpcId field's value.
+func (s *AssociateDhcpOptionsInput) SetVpcId(v string) *AssociateDhcpOptionsInput {
+ s.VpcId = &v
+ return s
+}
+
type AssociateDhcpOptionsOutput struct {
_ struct{} `type:"structure"`
}
@@ -15094,6 +15376,24 @@ func (s *AssociateRouteTableInput) Validate() error {
return nil
}
+// SetDryRun sets the DryRun field's value.
+func (s *AssociateRouteTableInput) SetDryRun(v bool) *AssociateRouteTableInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetRouteTableId sets the RouteTableId field's value.
+func (s *AssociateRouteTableInput) SetRouteTableId(v string) *AssociateRouteTableInput {
+ s.RouteTableId = &v
+ return s
+}
+
+// SetSubnetId sets the SubnetId field's value.
+func (s *AssociateRouteTableInput) SetSubnetId(v string) *AssociateRouteTableInput {
+ s.SubnetId = &v
+ return s
+}
+
// Contains the output of AssociateRouteTable.
type AssociateRouteTableOutput struct {
_ struct{} `type:"structure"`
@@ -15112,6 +15412,12 @@ func (s AssociateRouteTableOutput) GoString() string {
return s.String()
}
+// SetAssociationId sets the AssociationId field's value.
+func (s *AssociateRouteTableOutput) SetAssociationId(v string) *AssociateRouteTableOutput {
+ s.AssociationId = &v
+ return s
+}
+
// Contains the parameters for AttachClassicLinkVpc.
type AttachClassicLinkVpcInput struct {
_ struct{} `type:"structure"`
@@ -15168,6 +15474,30 @@ func (s *AttachClassicLinkVpcInput) Validate() error {
return nil
}
+// SetDryRun sets the DryRun field's value.
+func (s *AttachClassicLinkVpcInput) SetDryRun(v bool) *AttachClassicLinkVpcInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetGroups sets the Groups field's value.
+func (s *AttachClassicLinkVpcInput) SetGroups(v []*string) *AttachClassicLinkVpcInput {
+ s.Groups = v
+ return s
+}
+
+// SetInstanceId sets the InstanceId field's value.
+func (s *AttachClassicLinkVpcInput) SetInstanceId(v string) *AttachClassicLinkVpcInput {
+ s.InstanceId = &v
+ return s
+}
+
+// SetVpcId sets the VpcId field's value.
+func (s *AttachClassicLinkVpcInput) SetVpcId(v string) *AttachClassicLinkVpcInput {
+ s.VpcId = &v
+ return s
+}
+
// Contains the output of AttachClassicLinkVpc.
type AttachClassicLinkVpcOutput struct {
_ struct{} `type:"structure"`
@@ -15186,6 +15516,12 @@ func (s AttachClassicLinkVpcOutput) GoString() string {
return s.String()
}
+// SetReturn sets the Return field's value.
+func (s *AttachClassicLinkVpcOutput) SetReturn(v bool) *AttachClassicLinkVpcOutput {
+ s.Return = &v
+ return s
+}
+
// Contains the parameters for AttachInternetGateway.
type AttachInternetGatewayInput struct {
_ struct{} `type:"structure"`
@@ -15233,6 +15569,24 @@ func (s *AttachInternetGatewayInput) Validate() error {
return nil
}
+// SetDryRun sets the DryRun field's value.
+func (s *AttachInternetGatewayInput) SetDryRun(v bool) *AttachInternetGatewayInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetInternetGatewayId sets the InternetGatewayId field's value.
+func (s *AttachInternetGatewayInput) SetInternetGatewayId(v string) *AttachInternetGatewayInput {
+ s.InternetGatewayId = &v
+ return s
+}
+
+// SetVpcId sets the VpcId field's value.
+func (s *AttachInternetGatewayInput) SetVpcId(v string) *AttachInternetGatewayInput {
+ s.VpcId = &v
+ return s
+}
+
type AttachInternetGatewayOutput struct {
_ struct{} `type:"structure"`
}
@@ -15302,6 +15656,30 @@ func (s *AttachNetworkInterfaceInput) Validate() error {
return nil
}
+// SetDeviceIndex sets the DeviceIndex field's value.
+func (s *AttachNetworkInterfaceInput) SetDeviceIndex(v int64) *AttachNetworkInterfaceInput {
+ s.DeviceIndex = &v
+ return s
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *AttachNetworkInterfaceInput) SetDryRun(v bool) *AttachNetworkInterfaceInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetInstanceId sets the InstanceId field's value.
+func (s *AttachNetworkInterfaceInput) SetInstanceId(v string) *AttachNetworkInterfaceInput {
+ s.InstanceId = &v
+ return s
+}
+
+// SetNetworkInterfaceId sets the NetworkInterfaceId field's value.
+func (s *AttachNetworkInterfaceInput) SetNetworkInterfaceId(v string) *AttachNetworkInterfaceInput {
+ s.NetworkInterfaceId = &v
+ return s
+}
+
// Contains the output of AttachNetworkInterface.
type AttachNetworkInterfaceOutput struct {
_ struct{} `type:"structure"`
@@ -15320,6 +15698,12 @@ func (s AttachNetworkInterfaceOutput) GoString() string {
return s.String()
}
+// SetAttachmentId sets the AttachmentId field's value.
+func (s *AttachNetworkInterfaceOutput) SetAttachmentId(v string) *AttachNetworkInterfaceOutput {
+ s.AttachmentId = &v
+ return s
+}
+
// Contains the parameters for AttachVolume.
type AttachVolumeInput struct {
_ struct{} `type:"structure"`
@@ -15376,6 +15760,30 @@ func (s *AttachVolumeInput) Validate() error {
return nil
}
+// SetDevice sets the Device field's value.
+func (s *AttachVolumeInput) SetDevice(v string) *AttachVolumeInput {
+ s.Device = &v
+ return s
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *AttachVolumeInput) SetDryRun(v bool) *AttachVolumeInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetInstanceId sets the InstanceId field's value.
+func (s *AttachVolumeInput) SetInstanceId(v string) *AttachVolumeInput {
+ s.InstanceId = &v
+ return s
+}
+
+// SetVolumeId sets the VolumeId field's value.
+func (s *AttachVolumeInput) SetVolumeId(v string) *AttachVolumeInput {
+ s.VolumeId = &v
+ return s
+}
+
// Contains the parameters for AttachVpnGateway.
type AttachVpnGatewayInput struct {
_ struct{} `type:"structure"`
@@ -15423,6 +15831,24 @@ func (s *AttachVpnGatewayInput) Validate() error {
return nil
}
+// SetDryRun sets the DryRun field's value.
+func (s *AttachVpnGatewayInput) SetDryRun(v bool) *AttachVpnGatewayInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetVpcId sets the VpcId field's value.
+func (s *AttachVpnGatewayInput) SetVpcId(v string) *AttachVpnGatewayInput {
+ s.VpcId = &v
+ return s
+}
+
+// SetVpnGatewayId sets the VpnGatewayId field's value.
+func (s *AttachVpnGatewayInput) SetVpnGatewayId(v string) *AttachVpnGatewayInput {
+ s.VpnGatewayId = &v
+ return s
+}
+
// Contains the output of AttachVpnGateway.
type AttachVpnGatewayOutput struct {
_ struct{} `type:"structure"`
@@ -15441,6 +15867,12 @@ func (s AttachVpnGatewayOutput) GoString() string {
return s.String()
}
+// SetVpcAttachment sets the VpcAttachment field's value.
+func (s *AttachVpnGatewayOutput) SetVpcAttachment(v *VpcAttachment) *AttachVpnGatewayOutput {
+ s.VpcAttachment = v
+ return s
+}
+
// Describes a value for a resource attribute that is a Boolean value.
type AttributeBooleanValue struct {
_ struct{} `type:"structure"`
@@ -15459,6 +15891,12 @@ func (s AttributeBooleanValue) GoString() string {
return s.String()
}
+// SetValue sets the Value field's value.
+func (s *AttributeBooleanValue) SetValue(v bool) *AttributeBooleanValue {
+ s.Value = &v
+ return s
+}
+
// Describes a value for a resource attribute that is a String.
type AttributeValue struct {
_ struct{} `type:"structure"`
@@ -15477,6 +15915,12 @@ func (s AttributeValue) GoString() string {
return s.String()
}
+// SetValue sets the Value field's value.
+func (s *AttributeValue) SetValue(v string) *AttributeValue {
+ s.Value = &v
+ return s
+}
+
// Contains the parameters for AuthorizeSecurityGroupEgress.
type AuthorizeSecurityGroupEgressInput struct {
_ struct{} `type:"structure"`
@@ -15546,6 +15990,60 @@ func (s *AuthorizeSecurityGroupEgressInput) Validate() error {
return nil
}
+// SetCidrIp sets the CidrIp field's value.
+func (s *AuthorizeSecurityGroupEgressInput) SetCidrIp(v string) *AuthorizeSecurityGroupEgressInput {
+ s.CidrIp = &v
+ return s
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *AuthorizeSecurityGroupEgressInput) SetDryRun(v bool) *AuthorizeSecurityGroupEgressInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetFromPort sets the FromPort field's value.
+func (s *AuthorizeSecurityGroupEgressInput) SetFromPort(v int64) *AuthorizeSecurityGroupEgressInput {
+ s.FromPort = &v
+ return s
+}
+
+// SetGroupId sets the GroupId field's value.
+func (s *AuthorizeSecurityGroupEgressInput) SetGroupId(v string) *AuthorizeSecurityGroupEgressInput {
+ s.GroupId = &v
+ return s
+}
+
+// SetIpPermissions sets the IpPermissions field's value.
+func (s *AuthorizeSecurityGroupEgressInput) SetIpPermissions(v []*IpPermission) *AuthorizeSecurityGroupEgressInput {
+ s.IpPermissions = v
+ return s
+}
+
+// SetIpProtocol sets the IpProtocol field's value.
+func (s *AuthorizeSecurityGroupEgressInput) SetIpProtocol(v string) *AuthorizeSecurityGroupEgressInput {
+ s.IpProtocol = &v
+ return s
+}
+
+// SetSourceSecurityGroupName sets the SourceSecurityGroupName field's value.
+func (s *AuthorizeSecurityGroupEgressInput) SetSourceSecurityGroupName(v string) *AuthorizeSecurityGroupEgressInput {
+ s.SourceSecurityGroupName = &v
+ return s
+}
+
+// SetSourceSecurityGroupOwnerId sets the SourceSecurityGroupOwnerId field's value.
+func (s *AuthorizeSecurityGroupEgressInput) SetSourceSecurityGroupOwnerId(v string) *AuthorizeSecurityGroupEgressInput {
+ s.SourceSecurityGroupOwnerId = &v
+ return s
+}
+
+// SetToPort sets the ToPort field's value.
+func (s *AuthorizeSecurityGroupEgressInput) SetToPort(v int64) *AuthorizeSecurityGroupEgressInput {
+ s.ToPort = &v
+ return s
+}
+
type AuthorizeSecurityGroupEgressOutput struct {
_ struct{} `type:"structure"`
}
@@ -15625,6 +16123,66 @@ func (s AuthorizeSecurityGroupIngressInput) GoString() string {
return s.String()
}
+// SetCidrIp sets the CidrIp field's value.
+func (s *AuthorizeSecurityGroupIngressInput) SetCidrIp(v string) *AuthorizeSecurityGroupIngressInput {
+ s.CidrIp = &v
+ return s
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *AuthorizeSecurityGroupIngressInput) SetDryRun(v bool) *AuthorizeSecurityGroupIngressInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetFromPort sets the FromPort field's value.
+func (s *AuthorizeSecurityGroupIngressInput) SetFromPort(v int64) *AuthorizeSecurityGroupIngressInput {
+ s.FromPort = &v
+ return s
+}
+
+// SetGroupId sets the GroupId field's value.
+func (s *AuthorizeSecurityGroupIngressInput) SetGroupId(v string) *AuthorizeSecurityGroupIngressInput {
+ s.GroupId = &v
+ return s
+}
+
+// SetGroupName sets the GroupName field's value.
+func (s *AuthorizeSecurityGroupIngressInput) SetGroupName(v string) *AuthorizeSecurityGroupIngressInput {
+ s.GroupName = &v
+ return s
+}
+
+// SetIpPermissions sets the IpPermissions field's value.
+func (s *AuthorizeSecurityGroupIngressInput) SetIpPermissions(v []*IpPermission) *AuthorizeSecurityGroupIngressInput {
+ s.IpPermissions = v
+ return s
+}
+
+// SetIpProtocol sets the IpProtocol field's value.
+func (s *AuthorizeSecurityGroupIngressInput) SetIpProtocol(v string) *AuthorizeSecurityGroupIngressInput {
+ s.IpProtocol = &v
+ return s
+}
+
+// SetSourceSecurityGroupName sets the SourceSecurityGroupName field's value.
+func (s *AuthorizeSecurityGroupIngressInput) SetSourceSecurityGroupName(v string) *AuthorizeSecurityGroupIngressInput {
+ s.SourceSecurityGroupName = &v
+ return s
+}
+
+// SetSourceSecurityGroupOwnerId sets the SourceSecurityGroupOwnerId field's value.
+func (s *AuthorizeSecurityGroupIngressInput) SetSourceSecurityGroupOwnerId(v string) *AuthorizeSecurityGroupIngressInput {
+ s.SourceSecurityGroupOwnerId = &v
+ return s
+}
+
+// SetToPort sets the ToPort field's value.
+func (s *AuthorizeSecurityGroupIngressInput) SetToPort(v int64) *AuthorizeSecurityGroupIngressInput {
+ s.ToPort = &v
+ return s
+}
+
type AuthorizeSecurityGroupIngressOutput struct {
_ struct{} `type:"structure"`
}
@@ -15666,6 +16224,30 @@ func (s AvailabilityZone) GoString() string {
return s.String()
}
+// SetMessages sets the Messages field's value.
+func (s *AvailabilityZone) SetMessages(v []*AvailabilityZoneMessage) *AvailabilityZone {
+ s.Messages = v
+ return s
+}
+
+// SetRegionName sets the RegionName field's value.
+func (s *AvailabilityZone) SetRegionName(v string) *AvailabilityZone {
+ s.RegionName = &v
+ return s
+}
+
+// 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 message about an Availability Zone.
type AvailabilityZoneMessage struct {
_ struct{} `type:"structure"`
@@ -15684,6 +16266,12 @@ func (s AvailabilityZoneMessage) GoString() string {
return s.String()
}
+// SetMessage sets the Message field's value.
+func (s *AvailabilityZoneMessage) SetMessage(v string) *AvailabilityZoneMessage {
+ s.Message = &v
+ return s
+}
+
// The capacity information for instances launched onto the Dedicated Host.
type AvailableCapacity struct {
_ struct{} `type:"structure"`
@@ -15705,6 +16293,18 @@ func (s AvailableCapacity) GoString() string {
return s.String()
}
+// SetAvailableInstanceCapacity sets the AvailableInstanceCapacity field's value.
+func (s *AvailableCapacity) SetAvailableInstanceCapacity(v []*InstanceCapacity) *AvailableCapacity {
+ s.AvailableInstanceCapacity = v
+ return s
+}
+
+// SetAvailableVCpus sets the AvailableVCpus field's value.
+func (s *AvailableCapacity) SetAvailableVCpus(v int64) *AvailableCapacity {
+ s.AvailableVCpus = &v
+ return s
+}
+
type BlobAttributeValue struct {
_ struct{} `type:"structure"`
@@ -15722,6 +16322,12 @@ func (s BlobAttributeValue) GoString() string {
return s.String()
}
+// SetValue sets the Value field's value.
+func (s *BlobAttributeValue) SetValue(v []byte) *BlobAttributeValue {
+ s.Value = v
+ return s
+}
+
// Describes a block device mapping.
type BlockDeviceMapping struct {
_ struct{} `type:"structure"`
@@ -15760,6 +16366,30 @@ func (s BlockDeviceMapping) GoString() string {
return s.String()
}
+// SetDeviceName sets the DeviceName field's value.
+func (s *BlockDeviceMapping) SetDeviceName(v string) *BlockDeviceMapping {
+ s.DeviceName = &v
+ return s
+}
+
+// SetEbs sets the Ebs field's value.
+func (s *BlockDeviceMapping) SetEbs(v *EbsBlockDevice) *BlockDeviceMapping {
+ s.Ebs = v
+ return s
+}
+
+// SetNoDevice sets the NoDevice field's value.
+func (s *BlockDeviceMapping) SetNoDevice(v string) *BlockDeviceMapping {
+ s.NoDevice = &v
+ return s
+}
+
+// SetVirtualName sets the VirtualName field's value.
+func (s *BlockDeviceMapping) SetVirtualName(v string) *BlockDeviceMapping {
+ s.VirtualName = &v
+ return s
+}
+
// Contains the parameters for BundleInstance.
type BundleInstanceInput struct {
_ struct{} `type:"structure"`
@@ -15815,6 +16445,24 @@ func (s *BundleInstanceInput) Validate() error {
return nil
}
+// SetDryRun sets the DryRun field's value.
+func (s *BundleInstanceInput) SetDryRun(v bool) *BundleInstanceInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetInstanceId sets the InstanceId field's value.
+func (s *BundleInstanceInput) SetInstanceId(v string) *BundleInstanceInput {
+ s.InstanceId = &v
+ return s
+}
+
+// SetStorage sets the Storage field's value.
+func (s *BundleInstanceInput) SetStorage(v *Storage) *BundleInstanceInput {
+ s.Storage = v
+ return s
+}
+
// Contains the output of BundleInstance.
type BundleInstanceOutput struct {
_ struct{} `type:"structure"`
@@ -15833,6 +16481,12 @@ func (s BundleInstanceOutput) GoString() string {
return s.String()
}
+// SetBundleTask sets the BundleTask field's value.
+func (s *BundleInstanceOutput) SetBundleTask(v *BundleTask) *BundleInstanceOutput {
+ s.BundleTask = v
+ return s
+}
+
// Describes a bundle task.
type BundleTask struct {
_ struct{} `type:"structure"`
@@ -15872,6 +16526,54 @@ func (s BundleTask) GoString() string {
return s.String()
}
+// SetBundleId sets the BundleId field's value.
+func (s *BundleTask) SetBundleId(v string) *BundleTask {
+ s.BundleId = &v
+ return s
+}
+
+// SetBundleTaskError sets the BundleTaskError field's value.
+func (s *BundleTask) SetBundleTaskError(v *BundleTaskError) *BundleTask {
+ s.BundleTaskError = v
+ return s
+}
+
+// SetInstanceId sets the InstanceId field's value.
+func (s *BundleTask) SetInstanceId(v string) *BundleTask {
+ s.InstanceId = &v
+ return s
+}
+
+// SetProgress sets the Progress field's value.
+func (s *BundleTask) SetProgress(v string) *BundleTask {
+ s.Progress = &v
+ return s
+}
+
+// SetStartTime sets the StartTime field's value.
+func (s *BundleTask) SetStartTime(v time.Time) *BundleTask {
+ s.StartTime = &v
+ return s
+}
+
+// SetState sets the State field's value.
+func (s *BundleTask) SetState(v string) *BundleTask {
+ s.State = &v
+ return s
+}
+
+// SetStorage sets the Storage field's value.
+func (s *BundleTask) SetStorage(v *Storage) *BundleTask {
+ s.Storage = v
+ return s
+}
+
+// SetUpdateTime sets the UpdateTime field's value.
+func (s *BundleTask) SetUpdateTime(v time.Time) *BundleTask {
+ s.UpdateTime = &v
+ return s
+}
+
// Describes an error for BundleInstance.
type BundleTaskError struct {
_ struct{} `type:"structure"`
@@ -15893,6 +16595,18 @@ func (s BundleTaskError) GoString() string {
return s.String()
}
+// SetCode sets the Code field's value.
+func (s *BundleTaskError) SetCode(v string) *BundleTaskError {
+ s.Code = &v
+ return s
+}
+
+// SetMessage sets the Message field's value.
+func (s *BundleTaskError) SetMessage(v string) *BundleTaskError {
+ s.Message = &v
+ return s
+}
+
// Contains the parameters for CancelBundleTask.
type CancelBundleTaskInput struct {
_ struct{} `type:"structure"`
@@ -15932,6 +16646,18 @@ func (s *CancelBundleTaskInput) Validate() error {
return nil
}
+// SetBundleId sets the BundleId field's value.
+func (s *CancelBundleTaskInput) SetBundleId(v string) *CancelBundleTaskInput {
+ s.BundleId = &v
+ return s
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *CancelBundleTaskInput) SetDryRun(v bool) *CancelBundleTaskInput {
+ s.DryRun = &v
+ return s
+}
+
// Contains the output of CancelBundleTask.
type CancelBundleTaskOutput struct {
_ struct{} `type:"structure"`
@@ -15950,6 +16676,12 @@ func (s CancelBundleTaskOutput) GoString() string {
return s.String()
}
+// SetBundleTask sets the BundleTask field's value.
+func (s *CancelBundleTaskOutput) SetBundleTask(v *BundleTask) *CancelBundleTaskOutput {
+ s.BundleTask = v
+ return s
+}
+
// Contains the parameters for CancelConversionTask.
type CancelConversionTaskInput struct {
_ struct{} `type:"structure"`
@@ -15992,6 +16724,24 @@ func (s *CancelConversionTaskInput) Validate() error {
return nil
}
+// SetConversionTaskId sets the ConversionTaskId field's value.
+func (s *CancelConversionTaskInput) SetConversionTaskId(v string) *CancelConversionTaskInput {
+ s.ConversionTaskId = &v
+ return s
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *CancelConversionTaskInput) SetDryRun(v bool) *CancelConversionTaskInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetReasonMessage sets the ReasonMessage field's value.
+func (s *CancelConversionTaskInput) SetReasonMessage(v string) *CancelConversionTaskInput {
+ s.ReasonMessage = &v
+ return s
+}
+
type CancelConversionTaskOutput struct {
_ struct{} `type:"structure"`
}
@@ -16039,6 +16789,12 @@ func (s *CancelExportTaskInput) Validate() error {
return nil
}
+// SetExportTaskId sets the ExportTaskId field's value.
+func (s *CancelExportTaskInput) SetExportTaskId(v string) *CancelExportTaskInput {
+ s.ExportTaskId = &v
+ return s
+}
+
type CancelExportTaskOutput struct {
_ struct{} `type:"structure"`
}
@@ -16080,9 +16836,27 @@ func (s CancelImportTaskInput) GoString() string {
return s.String()
}
-// Contains the output for CancelImportTask.
-type CancelImportTaskOutput struct {
- _ struct{} `type:"structure"`
+// SetCancelReason sets the CancelReason field's value.
+func (s *CancelImportTaskInput) SetCancelReason(v string) *CancelImportTaskInput {
+ s.CancelReason = &v
+ return s
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *CancelImportTaskInput) SetDryRun(v bool) *CancelImportTaskInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetImportTaskId sets the ImportTaskId field's value.
+func (s *CancelImportTaskInput) SetImportTaskId(v string) *CancelImportTaskInput {
+ s.ImportTaskId = &v
+ return s
+}
+
+// Contains the output for CancelImportTask.
+type CancelImportTaskOutput struct {
+ _ struct{} `type:"structure"`
// The ID of the task being canceled.
ImportTaskId *string `locationName:"importTaskId" type:"string"`
@@ -16104,6 +16878,24 @@ func (s CancelImportTaskOutput) GoString() string {
return s.String()
}
+// SetImportTaskId sets the ImportTaskId field's value.
+func (s *CancelImportTaskOutput) SetImportTaskId(v string) *CancelImportTaskOutput {
+ s.ImportTaskId = &v
+ return s
+}
+
+// SetPreviousState sets the PreviousState field's value.
+func (s *CancelImportTaskOutput) SetPreviousState(v string) *CancelImportTaskOutput {
+ s.PreviousState = &v
+ return s
+}
+
+// SetState sets the State field's value.
+func (s *CancelImportTaskOutput) SetState(v string) *CancelImportTaskOutput {
+ s.State = &v
+ return s
+}
+
// Contains the parameters for CancelReservedInstancesListing.
type CancelReservedInstancesListingInput struct {
_ struct{} `type:"structure"`
@@ -16137,6 +16929,12 @@ func (s *CancelReservedInstancesListingInput) Validate() error {
return nil
}
+// SetReservedInstancesListingId sets the ReservedInstancesListingId field's value.
+func (s *CancelReservedInstancesListingInput) SetReservedInstancesListingId(v string) *CancelReservedInstancesListingInput {
+ s.ReservedInstancesListingId = &v
+ return s
+}
+
// Contains the output of CancelReservedInstancesListing.
type CancelReservedInstancesListingOutput struct {
_ struct{} `type:"structure"`
@@ -16155,6 +16953,12 @@ func (s CancelReservedInstancesListingOutput) GoString() string {
return s.String()
}
+// SetReservedInstancesListings sets the ReservedInstancesListings field's value.
+func (s *CancelReservedInstancesListingOutput) SetReservedInstancesListings(v []*ReservedInstancesListing) *CancelReservedInstancesListingOutput {
+ s.ReservedInstancesListings = v
+ return s
+}
+
// Describes a Spot fleet error.
type CancelSpotFleetRequestsError struct {
_ struct{} `type:"structure"`
@@ -16180,6 +16984,18 @@ func (s CancelSpotFleetRequestsError) GoString() string {
return s.String()
}
+// SetCode sets the Code field's value.
+func (s *CancelSpotFleetRequestsError) SetCode(v string) *CancelSpotFleetRequestsError {
+ s.Code = &v
+ return s
+}
+
+// SetMessage sets the Message field's value.
+func (s *CancelSpotFleetRequestsError) SetMessage(v string) *CancelSpotFleetRequestsError {
+ s.Message = &v
+ return s
+}
+
// Describes a Spot fleet request that was not successfully canceled.
type CancelSpotFleetRequestsErrorItem struct {
_ struct{} `type:"structure"`
@@ -16205,6 +17021,18 @@ func (s CancelSpotFleetRequestsErrorItem) GoString() string {
return s.String()
}
+// SetError sets the Error field's value.
+func (s *CancelSpotFleetRequestsErrorItem) SetError(v *CancelSpotFleetRequestsError) *CancelSpotFleetRequestsErrorItem {
+ s.Error = v
+ return s
+}
+
+// SetSpotFleetRequestId sets the SpotFleetRequestId field's value.
+func (s *CancelSpotFleetRequestsErrorItem) SetSpotFleetRequestId(v string) *CancelSpotFleetRequestsErrorItem {
+ s.SpotFleetRequestId = &v
+ return s
+}
+
// Contains the parameters for CancelSpotFleetRequests.
type CancelSpotFleetRequestsInput struct {
_ struct{} `type:"structure"`
@@ -16253,6 +17081,24 @@ func (s *CancelSpotFleetRequestsInput) Validate() error {
return nil
}
+// SetDryRun sets the DryRun field's value.
+func (s *CancelSpotFleetRequestsInput) SetDryRun(v bool) *CancelSpotFleetRequestsInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetSpotFleetRequestIds sets the SpotFleetRequestIds field's value.
+func (s *CancelSpotFleetRequestsInput) SetSpotFleetRequestIds(v []*string) *CancelSpotFleetRequestsInput {
+ s.SpotFleetRequestIds = v
+ return s
+}
+
+// SetTerminateInstances sets the TerminateInstances field's value.
+func (s *CancelSpotFleetRequestsInput) SetTerminateInstances(v bool) *CancelSpotFleetRequestsInput {
+ s.TerminateInstances = &v
+ return s
+}
+
// Contains the output of CancelSpotFleetRequests.
type CancelSpotFleetRequestsOutput struct {
_ struct{} `type:"structure"`
@@ -16274,6 +17120,18 @@ func (s CancelSpotFleetRequestsOutput) GoString() string {
return s.String()
}
+// SetSuccessfulFleetRequests sets the SuccessfulFleetRequests field's value.
+func (s *CancelSpotFleetRequestsOutput) SetSuccessfulFleetRequests(v []*CancelSpotFleetRequestsSuccessItem) *CancelSpotFleetRequestsOutput {
+ s.SuccessfulFleetRequests = v
+ return s
+}
+
+// SetUnsuccessfulFleetRequests sets the UnsuccessfulFleetRequests field's value.
+func (s *CancelSpotFleetRequestsOutput) SetUnsuccessfulFleetRequests(v []*CancelSpotFleetRequestsErrorItem) *CancelSpotFleetRequestsOutput {
+ s.UnsuccessfulFleetRequests = v
+ return s
+}
+
// Describes a Spot fleet request that was successfully canceled.
type CancelSpotFleetRequestsSuccessItem struct {
_ struct{} `type:"structure"`
@@ -16304,6 +17162,24 @@ func (s CancelSpotFleetRequestsSuccessItem) GoString() string {
return s.String()
}
+// SetCurrentSpotFleetRequestState sets the CurrentSpotFleetRequestState field's value.
+func (s *CancelSpotFleetRequestsSuccessItem) SetCurrentSpotFleetRequestState(v string) *CancelSpotFleetRequestsSuccessItem {
+ s.CurrentSpotFleetRequestState = &v
+ return s
+}
+
+// SetPreviousSpotFleetRequestState sets the PreviousSpotFleetRequestState field's value.
+func (s *CancelSpotFleetRequestsSuccessItem) SetPreviousSpotFleetRequestState(v string) *CancelSpotFleetRequestsSuccessItem {
+ s.PreviousSpotFleetRequestState = &v
+ return s
+}
+
+// SetSpotFleetRequestId sets the SpotFleetRequestId field's value.
+func (s *CancelSpotFleetRequestsSuccessItem) SetSpotFleetRequestId(v string) *CancelSpotFleetRequestsSuccessItem {
+ s.SpotFleetRequestId = &v
+ return s
+}
+
// Contains the parameters for CancelSpotInstanceRequests.
type CancelSpotInstanceRequestsInput struct {
_ struct{} `type:"structure"`
@@ -16343,6 +17219,18 @@ func (s *CancelSpotInstanceRequestsInput) Validate() error {
return nil
}
+// SetDryRun sets the DryRun field's value.
+func (s *CancelSpotInstanceRequestsInput) SetDryRun(v bool) *CancelSpotInstanceRequestsInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetSpotInstanceRequestIds sets the SpotInstanceRequestIds field's value.
+func (s *CancelSpotInstanceRequestsInput) SetSpotInstanceRequestIds(v []*string) *CancelSpotInstanceRequestsInput {
+ s.SpotInstanceRequestIds = v
+ return s
+}
+
// Contains the output of CancelSpotInstanceRequests.
type CancelSpotInstanceRequestsOutput struct {
_ struct{} `type:"structure"`
@@ -16361,6 +17249,12 @@ func (s CancelSpotInstanceRequestsOutput) GoString() string {
return s.String()
}
+// SetCancelledSpotInstanceRequests sets the CancelledSpotInstanceRequests field's value.
+func (s *CancelSpotInstanceRequestsOutput) SetCancelledSpotInstanceRequests(v []*CancelledSpotInstanceRequest) *CancelSpotInstanceRequestsOutput {
+ s.CancelledSpotInstanceRequests = v
+ return s
+}
+
// Describes a request to cancel a Spot instance.
type CancelledSpotInstanceRequest struct {
_ struct{} `type:"structure"`
@@ -16382,6 +17276,18 @@ func (s CancelledSpotInstanceRequest) GoString() string {
return s.String()
}
+// SetSpotInstanceRequestId sets the SpotInstanceRequestId field's value.
+func (s *CancelledSpotInstanceRequest) SetSpotInstanceRequestId(v string) *CancelledSpotInstanceRequest {
+ s.SpotInstanceRequestId = &v
+ return s
+}
+
+// SetState sets the State field's value.
+func (s *CancelledSpotInstanceRequest) SetState(v string) *CancelledSpotInstanceRequest {
+ s.State = &v
+ return s
+}
+
// Describes the ClassicLink DNS support status of a VPC.
type ClassicLinkDnsSupport struct {
_ struct{} `type:"structure"`
@@ -16403,6 +17309,18 @@ func (s ClassicLinkDnsSupport) GoString() string {
return s.String()
}
+// SetClassicLinkDnsSupported sets the ClassicLinkDnsSupported field's value.
+func (s *ClassicLinkDnsSupport) SetClassicLinkDnsSupported(v bool) *ClassicLinkDnsSupport {
+ s.ClassicLinkDnsSupported = &v
+ return s
+}
+
+// SetVpcId sets the VpcId field's value.
+func (s *ClassicLinkDnsSupport) SetVpcId(v string) *ClassicLinkDnsSupport {
+ s.VpcId = &v
+ return s
+}
+
// Describes a linked EC2-Classic instance.
type ClassicLinkInstance struct {
_ struct{} `type:"structure"`
@@ -16430,6 +17348,30 @@ func (s ClassicLinkInstance) GoString() string {
return s.String()
}
+// SetGroups sets the Groups field's value.
+func (s *ClassicLinkInstance) SetGroups(v []*GroupIdentifier) *ClassicLinkInstance {
+ s.Groups = v
+ return s
+}
+
+// SetInstanceId sets the InstanceId field's value.
+func (s *ClassicLinkInstance) SetInstanceId(v string) *ClassicLinkInstance {
+ s.InstanceId = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *ClassicLinkInstance) SetTags(v []*Tag) *ClassicLinkInstance {
+ s.Tags = v
+ return s
+}
+
+// SetVpcId sets the VpcId field's value.
+func (s *ClassicLinkInstance) SetVpcId(v string) *ClassicLinkInstance {
+ s.VpcId = &v
+ return s
+}
+
// Describes the client-specific data.
type ClientData struct {
_ struct{} `type:"structure"`
@@ -16457,6 +17399,30 @@ func (s ClientData) GoString() string {
return s.String()
}
+// SetComment sets the Comment field's value.
+func (s *ClientData) SetComment(v string) *ClientData {
+ s.Comment = &v
+ return s
+}
+
+// SetUploadEnd sets the UploadEnd field's value.
+func (s *ClientData) SetUploadEnd(v time.Time) *ClientData {
+ s.UploadEnd = &v
+ return s
+}
+
+// SetUploadSize sets the UploadSize field's value.
+func (s *ClientData) SetUploadSize(v float64) *ClientData {
+ s.UploadSize = &v
+ return s
+}
+
+// SetUploadStart sets the UploadStart field's value.
+func (s *ClientData) SetUploadStart(v time.Time) *ClientData {
+ s.UploadStart = &v
+ return s
+}
+
// Contains the parameters for ConfirmProductInstance.
type ConfirmProductInstanceInput struct {
_ struct{} `type:"structure"`
@@ -16504,6 +17470,24 @@ func (s *ConfirmProductInstanceInput) Validate() error {
return nil
}
+// SetDryRun sets the DryRun field's value.
+func (s *ConfirmProductInstanceInput) SetDryRun(v bool) *ConfirmProductInstanceInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetInstanceId sets the InstanceId field's value.
+func (s *ConfirmProductInstanceInput) SetInstanceId(v string) *ConfirmProductInstanceInput {
+ s.InstanceId = &v
+ return s
+}
+
+// SetProductCode sets the ProductCode field's value.
+func (s *ConfirmProductInstanceInput) SetProductCode(v string) *ConfirmProductInstanceInput {
+ s.ProductCode = &v
+ return s
+}
+
// Contains the output of ConfirmProductInstance.
type ConfirmProductInstanceOutput struct {
_ struct{} `type:"structure"`
@@ -16527,6 +17511,18 @@ func (s ConfirmProductInstanceOutput) GoString() string {
return s.String()
}
+// SetOwnerId sets the OwnerId field's value.
+func (s *ConfirmProductInstanceOutput) SetOwnerId(v string) *ConfirmProductInstanceOutput {
+ s.OwnerId = &v
+ return s
+}
+
+// SetReturn sets the Return field's value.
+func (s *ConfirmProductInstanceOutput) SetReturn(v bool) *ConfirmProductInstanceOutput {
+ s.Return = &v
+ return s
+}
+
// Describes a conversion task.
type ConversionTask struct {
_ struct{} `type:"structure"`
@@ -16570,6 +17566,48 @@ func (s ConversionTask) GoString() string {
return s.String()
}
+// SetConversionTaskId sets the ConversionTaskId field's value.
+func (s *ConversionTask) SetConversionTaskId(v string) *ConversionTask {
+ s.ConversionTaskId = &v
+ return s
+}
+
+// SetExpirationTime sets the ExpirationTime field's value.
+func (s *ConversionTask) SetExpirationTime(v string) *ConversionTask {
+ s.ExpirationTime = &v
+ return s
+}
+
+// SetImportInstance sets the ImportInstance field's value.
+func (s *ConversionTask) SetImportInstance(v *ImportInstanceTaskDetails) *ConversionTask {
+ s.ImportInstance = v
+ return s
+}
+
+// SetImportVolume sets the ImportVolume field's value.
+func (s *ConversionTask) SetImportVolume(v *ImportVolumeTaskDetails) *ConversionTask {
+ s.ImportVolume = v
+ return s
+}
+
+// SetState sets the State field's value.
+func (s *ConversionTask) SetState(v string) *ConversionTask {
+ s.State = &v
+ return s
+}
+
+// SetStatusMessage sets the StatusMessage field's value.
+func (s *ConversionTask) SetStatusMessage(v string) *ConversionTask {
+ s.StatusMessage = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *ConversionTask) SetTags(v []*Tag) *ConversionTask {
+ s.Tags = v
+ return s
+}
+
// Contains the parameters for CopyImage.
type CopyImageInput struct {
_ struct{} `type:"structure"`
@@ -16650,6 +17688,54 @@ func (s *CopyImageInput) Validate() error {
return nil
}
+// SetClientToken sets the ClientToken field's value.
+func (s *CopyImageInput) SetClientToken(v string) *CopyImageInput {
+ s.ClientToken = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *CopyImageInput) SetDescription(v string) *CopyImageInput {
+ s.Description = &v
+ return s
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *CopyImageInput) SetDryRun(v bool) *CopyImageInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetEncrypted sets the Encrypted field's value.
+func (s *CopyImageInput) SetEncrypted(v bool) *CopyImageInput {
+ s.Encrypted = &v
+ return s
+}
+
+// SetKmsKeyId sets the KmsKeyId field's value.
+func (s *CopyImageInput) SetKmsKeyId(v string) *CopyImageInput {
+ s.KmsKeyId = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *CopyImageInput) SetName(v string) *CopyImageInput {
+ s.Name = &v
+ return s
+}
+
+// SetSourceImageId sets the SourceImageId field's value.
+func (s *CopyImageInput) SetSourceImageId(v string) *CopyImageInput {
+ s.SourceImageId = &v
+ return s
+}
+
+// SetSourceRegion sets the SourceRegion field's value.
+func (s *CopyImageInput) SetSourceRegion(v string) *CopyImageInput {
+ s.SourceRegion = &v
+ return s
+}
+
// Contains the output of CopyImage.
type CopyImageOutput struct {
_ struct{} `type:"structure"`
@@ -16668,6 +17754,12 @@ func (s CopyImageOutput) GoString() string {
return s.String()
}
+// SetImageId sets the ImageId field's value.
+func (s *CopyImageOutput) SetImageId(v string) *CopyImageOutput {
+ s.ImageId = &v
+ return s
+}
+
// Contains the parameters for CopySnapshot.
type CopySnapshotInput struct {
_ struct{} `type:"structure"`
@@ -16761,6 +17853,54 @@ func (s *CopySnapshotInput) Validate() error {
return nil
}
+// SetDescription sets the Description field's value.
+func (s *CopySnapshotInput) SetDescription(v string) *CopySnapshotInput {
+ s.Description = &v
+ return s
+}
+
+// SetDestinationRegion sets the DestinationRegion field's value.
+func (s *CopySnapshotInput) SetDestinationRegion(v string) *CopySnapshotInput {
+ s.DestinationRegion = &v
+ return s
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *CopySnapshotInput) SetDryRun(v bool) *CopySnapshotInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetEncrypted sets the Encrypted field's value.
+func (s *CopySnapshotInput) SetEncrypted(v bool) *CopySnapshotInput {
+ s.Encrypted = &v
+ return s
+}
+
+// SetKmsKeyId sets the KmsKeyId field's value.
+func (s *CopySnapshotInput) SetKmsKeyId(v string) *CopySnapshotInput {
+ s.KmsKeyId = &v
+ return s
+}
+
+// SetPresignedUrl sets the PresignedUrl field's value.
+func (s *CopySnapshotInput) SetPresignedUrl(v string) *CopySnapshotInput {
+ s.PresignedUrl = &v
+ return s
+}
+
+// SetSourceRegion sets the SourceRegion field's value.
+func (s *CopySnapshotInput) SetSourceRegion(v string) *CopySnapshotInput {
+ s.SourceRegion = &v
+ return s
+}
+
+// SetSourceSnapshotId sets the SourceSnapshotId field's value.
+func (s *CopySnapshotInput) SetSourceSnapshotId(v string) *CopySnapshotInput {
+ s.SourceSnapshotId = &v
+ return s
+}
+
// Contains the output of CopySnapshot.
type CopySnapshotOutput struct {
_ struct{} `type:"structure"`
@@ -16779,6 +17919,12 @@ func (s CopySnapshotOutput) GoString() string {
return s.String()
}
+// SetSnapshotId sets the SnapshotId field's value.
+func (s *CopySnapshotOutput) SetSnapshotId(v string) *CopySnapshotOutput {
+ s.SnapshotId = &v
+ return s
+}
+
// Contains the parameters for CreateCustomerGateway.
type CreateCustomerGatewayInput struct {
_ struct{} `type:"structure"`
@@ -16837,6 +17983,30 @@ func (s *CreateCustomerGatewayInput) Validate() error {
return nil
}
+// SetBgpAsn sets the BgpAsn field's value.
+func (s *CreateCustomerGatewayInput) SetBgpAsn(v int64) *CreateCustomerGatewayInput {
+ s.BgpAsn = &v
+ return s
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *CreateCustomerGatewayInput) SetDryRun(v bool) *CreateCustomerGatewayInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetPublicIp sets the PublicIp field's value.
+func (s *CreateCustomerGatewayInput) SetPublicIp(v string) *CreateCustomerGatewayInput {
+ s.PublicIp = &v
+ return s
+}
+
+// SetType sets the Type field's value.
+func (s *CreateCustomerGatewayInput) SetType(v string) *CreateCustomerGatewayInput {
+ s.Type = &v
+ return s
+}
+
// Contains the output of CreateCustomerGateway.
type CreateCustomerGatewayOutput struct {
_ struct{} `type:"structure"`
@@ -16855,6 +18025,12 @@ func (s CreateCustomerGatewayOutput) GoString() string {
return s.String()
}
+// SetCustomerGateway sets the CustomerGateway field's value.
+func (s *CreateCustomerGatewayOutput) SetCustomerGateway(v *CustomerGateway) *CreateCustomerGatewayOutput {
+ s.CustomerGateway = v
+ return s
+}
+
// Contains the parameters for CreateDhcpOptions.
type CreateDhcpOptionsInput struct {
_ struct{} `type:"structure"`
@@ -16894,6 +18070,18 @@ func (s *CreateDhcpOptionsInput) Validate() error {
return nil
}
+// SetDhcpConfigurations sets the DhcpConfigurations field's value.
+func (s *CreateDhcpOptionsInput) SetDhcpConfigurations(v []*NewDhcpConfiguration) *CreateDhcpOptionsInput {
+ s.DhcpConfigurations = v
+ return s
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *CreateDhcpOptionsInput) SetDryRun(v bool) *CreateDhcpOptionsInput {
+ s.DryRun = &v
+ return s
+}
+
// Contains the output of CreateDhcpOptions.
type CreateDhcpOptionsOutput struct {
_ struct{} `type:"structure"`
@@ -16912,6 +18100,12 @@ func (s CreateDhcpOptionsOutput) GoString() string {
return s.String()
}
+// SetDhcpOptions sets the DhcpOptions field's value.
+func (s *CreateDhcpOptionsOutput) SetDhcpOptions(v *DhcpOptions) *CreateDhcpOptionsOutput {
+ s.DhcpOptions = v
+ return s
+}
+
// Contains the parameters for CreateFlowLogs.
type CreateFlowLogsInput struct {
_ struct{} `type:"structure"`
@@ -16984,6 +18178,42 @@ func (s *CreateFlowLogsInput) Validate() error {
return nil
}
+// SetClientToken sets the ClientToken field's value.
+func (s *CreateFlowLogsInput) SetClientToken(v string) *CreateFlowLogsInput {
+ s.ClientToken = &v
+ return s
+}
+
+// SetDeliverLogsPermissionArn sets the DeliverLogsPermissionArn field's value.
+func (s *CreateFlowLogsInput) SetDeliverLogsPermissionArn(v string) *CreateFlowLogsInput {
+ s.DeliverLogsPermissionArn = &v
+ return s
+}
+
+// SetLogGroupName sets the LogGroupName field's value.
+func (s *CreateFlowLogsInput) SetLogGroupName(v string) *CreateFlowLogsInput {
+ s.LogGroupName = &v
+ return s
+}
+
+// SetResourceIds sets the ResourceIds field's value.
+func (s *CreateFlowLogsInput) SetResourceIds(v []*string) *CreateFlowLogsInput {
+ s.ResourceIds = v
+ return s
+}
+
+// SetResourceType sets the ResourceType field's value.
+func (s *CreateFlowLogsInput) SetResourceType(v string) *CreateFlowLogsInput {
+ s.ResourceType = &v
+ return s
+}
+
+// SetTrafficType sets the TrafficType field's value.
+func (s *CreateFlowLogsInput) SetTrafficType(v string) *CreateFlowLogsInput {
+ s.TrafficType = &v
+ return s
+}
+
// Contains the output of CreateFlowLogs.
type CreateFlowLogsOutput struct {
_ struct{} `type:"structure"`
@@ -17009,6 +18239,24 @@ func (s CreateFlowLogsOutput) GoString() string {
return s.String()
}
+// SetClientToken sets the ClientToken field's value.
+func (s *CreateFlowLogsOutput) SetClientToken(v string) *CreateFlowLogsOutput {
+ s.ClientToken = &v
+ return s
+}
+
+// SetFlowLogIds sets the FlowLogIds field's value.
+func (s *CreateFlowLogsOutput) SetFlowLogIds(v []*string) *CreateFlowLogsOutput {
+ s.FlowLogIds = v
+ return s
+}
+
+// SetUnsuccessful sets the Unsuccessful field's value.
+func (s *CreateFlowLogsOutput) SetUnsuccessful(v []*UnsuccessfulItem) *CreateFlowLogsOutput {
+ s.Unsuccessful = v
+ return s
+}
+
// Contains the parameters for CreateImage.
type CreateImageInput struct {
_ struct{} `type:"structure"`
@@ -17072,6 +18320,42 @@ func (s *CreateImageInput) Validate() error {
return nil
}
+// SetBlockDeviceMappings sets the BlockDeviceMappings field's value.
+func (s *CreateImageInput) SetBlockDeviceMappings(v []*BlockDeviceMapping) *CreateImageInput {
+ s.BlockDeviceMappings = v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *CreateImageInput) SetDescription(v string) *CreateImageInput {
+ s.Description = &v
+ return s
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *CreateImageInput) SetDryRun(v bool) *CreateImageInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetInstanceId sets the InstanceId field's value.
+func (s *CreateImageInput) SetInstanceId(v string) *CreateImageInput {
+ s.InstanceId = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *CreateImageInput) SetName(v string) *CreateImageInput {
+ s.Name = &v
+ return s
+}
+
+// SetNoReboot sets the NoReboot field's value.
+func (s *CreateImageInput) SetNoReboot(v bool) *CreateImageInput {
+ s.NoReboot = &v
+ return s
+}
+
// Contains the output of CreateImage.
type CreateImageOutput struct {
_ struct{} `type:"structure"`
@@ -17090,6 +18374,12 @@ func (s CreateImageOutput) GoString() string {
return s.String()
}
+// SetImageId sets the ImageId field's value.
+func (s *CreateImageOutput) SetImageId(v string) *CreateImageOutput {
+ s.ImageId = &v
+ return s
+}
+
// Contains the parameters for CreateInstanceExportTask.
type CreateInstanceExportTaskInput struct {
_ struct{} `type:"structure"`
@@ -17133,6 +18423,30 @@ func (s *CreateInstanceExportTaskInput) Validate() error {
return nil
}
+// SetDescription sets the Description field's value.
+func (s *CreateInstanceExportTaskInput) SetDescription(v string) *CreateInstanceExportTaskInput {
+ s.Description = &v
+ return s
+}
+
+// SetExportToS3Task sets the ExportToS3Task field's value.
+func (s *CreateInstanceExportTaskInput) SetExportToS3Task(v *ExportToS3TaskSpecification) *CreateInstanceExportTaskInput {
+ s.ExportToS3Task = v
+ return s
+}
+
+// SetInstanceId sets the InstanceId field's value.
+func (s *CreateInstanceExportTaskInput) SetInstanceId(v string) *CreateInstanceExportTaskInput {
+ s.InstanceId = &v
+ return s
+}
+
+// SetTargetEnvironment sets the TargetEnvironment field's value.
+func (s *CreateInstanceExportTaskInput) SetTargetEnvironment(v string) *CreateInstanceExportTaskInput {
+ s.TargetEnvironment = &v
+ return s
+}
+
// Contains the output for CreateInstanceExportTask.
type CreateInstanceExportTaskOutput struct {
_ struct{} `type:"structure"`
@@ -17151,6 +18465,12 @@ func (s CreateInstanceExportTaskOutput) GoString() string {
return s.String()
}
+// SetExportTask sets the ExportTask field's value.
+func (s *CreateInstanceExportTaskOutput) SetExportTask(v *ExportTask) *CreateInstanceExportTaskOutput {
+ s.ExportTask = v
+ return s
+}
+
// Contains the parameters for CreateInternetGateway.
type CreateInternetGatewayInput struct {
_ struct{} `type:"structure"`
@@ -17172,6 +18492,12 @@ func (s CreateInternetGatewayInput) GoString() string {
return s.String()
}
+// SetDryRun sets the DryRun field's value.
+func (s *CreateInternetGatewayInput) SetDryRun(v bool) *CreateInternetGatewayInput {
+ s.DryRun = &v
+ return s
+}
+
// Contains the output of CreateInternetGateway.
type CreateInternetGatewayOutput struct {
_ struct{} `type:"structure"`
@@ -17190,6 +18516,12 @@ func (s CreateInternetGatewayOutput) GoString() string {
return s.String()
}
+// SetInternetGateway sets the InternetGateway field's value.
+func (s *CreateInternetGatewayOutput) SetInternetGateway(v *InternetGateway) *CreateInternetGatewayOutput {
+ s.InternetGateway = v
+ return s
+}
+
// Contains the parameters for CreateKeyPair.
type CreateKeyPairInput struct {
_ struct{} `type:"structure"`
@@ -17231,6 +18563,18 @@ func (s *CreateKeyPairInput) Validate() error {
return nil
}
+// SetDryRun sets the DryRun field's value.
+func (s *CreateKeyPairInput) SetDryRun(v bool) *CreateKeyPairInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetKeyName sets the KeyName field's value.
+func (s *CreateKeyPairInput) SetKeyName(v string) *CreateKeyPairInput {
+ s.KeyName = &v
+ return s
+}
+
// Describes a key pair.
type CreateKeyPairOutput struct {
_ struct{} `type:"structure"`
@@ -17255,6 +18599,24 @@ func (s CreateKeyPairOutput) GoString() string {
return s.String()
}
+// SetKeyFingerprint sets the KeyFingerprint field's value.
+func (s *CreateKeyPairOutput) SetKeyFingerprint(v string) *CreateKeyPairOutput {
+ s.KeyFingerprint = &v
+ return s
+}
+
+// SetKeyMaterial sets the KeyMaterial field's value.
+func (s *CreateKeyPairOutput) SetKeyMaterial(v string) *CreateKeyPairOutput {
+ s.KeyMaterial = &v
+ return s
+}
+
+// SetKeyName sets the KeyName field's value.
+func (s *CreateKeyPairOutput) SetKeyName(v string) *CreateKeyPairOutput {
+ s.KeyName = &v
+ return s
+}
+
// Contains the parameters for CreateNatGateway.
type CreateNatGatewayInput struct {
_ struct{} `type:"structure"`
@@ -17304,6 +18666,24 @@ func (s *CreateNatGatewayInput) Validate() error {
return nil
}
+// SetAllocationId sets the AllocationId field's value.
+func (s *CreateNatGatewayInput) SetAllocationId(v string) *CreateNatGatewayInput {
+ s.AllocationId = &v
+ return s
+}
+
+// SetClientToken sets the ClientToken field's value.
+func (s *CreateNatGatewayInput) SetClientToken(v string) *CreateNatGatewayInput {
+ s.ClientToken = &v
+ return s
+}
+
+// SetSubnetId sets the SubnetId field's value.
+func (s *CreateNatGatewayInput) SetSubnetId(v string) *CreateNatGatewayInput {
+ s.SubnetId = &v
+ return s
+}
+
// Contains the output of CreateNatGateway.
type CreateNatGatewayOutput struct {
_ struct{} `type:"structure"`
@@ -17326,6 +18706,18 @@ func (s CreateNatGatewayOutput) GoString() string {
return s.String()
}
+// SetClientToken sets the ClientToken field's value.
+func (s *CreateNatGatewayOutput) SetClientToken(v string) *CreateNatGatewayOutput {
+ s.ClientToken = &v
+ return s
+}
+
+// SetNatGateway sets the NatGateway field's value.
+func (s *CreateNatGatewayOutput) SetNatGateway(v *NatGateway) *CreateNatGatewayOutput {
+ s.NatGateway = v
+ return s
+}
+
// Contains the parameters for CreateNetworkAclEntry.
type CreateNetworkAclEntryInput struct {
_ struct{} `type:"structure"`
@@ -17417,6 +18809,60 @@ func (s *CreateNetworkAclEntryInput) Validate() error {
return nil
}
+// SetCidrBlock sets the CidrBlock field's value.
+func (s *CreateNetworkAclEntryInput) SetCidrBlock(v string) *CreateNetworkAclEntryInput {
+ s.CidrBlock = &v
+ return s
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *CreateNetworkAclEntryInput) SetDryRun(v bool) *CreateNetworkAclEntryInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetEgress sets the Egress field's value.
+func (s *CreateNetworkAclEntryInput) SetEgress(v bool) *CreateNetworkAclEntryInput {
+ s.Egress = &v
+ return s
+}
+
+// SetIcmpTypeCode sets the IcmpTypeCode field's value.
+func (s *CreateNetworkAclEntryInput) SetIcmpTypeCode(v *IcmpTypeCode) *CreateNetworkAclEntryInput {
+ s.IcmpTypeCode = v
+ return s
+}
+
+// SetNetworkAclId sets the NetworkAclId field's value.
+func (s *CreateNetworkAclEntryInput) SetNetworkAclId(v string) *CreateNetworkAclEntryInput {
+ s.NetworkAclId = &v
+ return s
+}
+
+// SetPortRange sets the PortRange field's value.
+func (s *CreateNetworkAclEntryInput) SetPortRange(v *PortRange) *CreateNetworkAclEntryInput {
+ s.PortRange = v
+ return s
+}
+
+// SetProtocol sets the Protocol field's value.
+func (s *CreateNetworkAclEntryInput) SetProtocol(v string) *CreateNetworkAclEntryInput {
+ s.Protocol = &v
+ return s
+}
+
+// SetRuleAction sets the RuleAction field's value.
+func (s *CreateNetworkAclEntryInput) SetRuleAction(v string) *CreateNetworkAclEntryInput {
+ s.RuleAction = &v
+ return s
+}
+
+// SetRuleNumber sets the RuleNumber field's value.
+func (s *CreateNetworkAclEntryInput) SetRuleNumber(v int64) *CreateNetworkAclEntryInput {
+ s.RuleNumber = &v
+ return s
+}
+
type CreateNetworkAclEntryOutput struct {
_ struct{} `type:"structure"`
}
@@ -17470,6 +18916,18 @@ func (s *CreateNetworkAclInput) Validate() error {
return nil
}
+// SetDryRun sets the DryRun field's value.
+func (s *CreateNetworkAclInput) SetDryRun(v bool) *CreateNetworkAclInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetVpcId sets the VpcId field's value.
+func (s *CreateNetworkAclInput) SetVpcId(v string) *CreateNetworkAclInput {
+ s.VpcId = &v
+ return s
+}
+
// Contains the output of CreateNetworkAcl.
type CreateNetworkAclOutput struct {
_ struct{} `type:"structure"`
@@ -17488,6 +18946,12 @@ func (s CreateNetworkAclOutput) GoString() string {
return s.String()
}
+// SetNetworkAcl sets the NetworkAcl field's value.
+func (s *CreateNetworkAclOutput) SetNetworkAcl(v *NetworkAcl) *CreateNetworkAclOutput {
+ s.NetworkAcl = v
+ return s
+}
+
// Contains the parameters for CreateNetworkInterface.
type CreateNetworkInterfaceInput struct {
_ struct{} `type:"structure"`
@@ -17563,6 +19027,48 @@ func (s *CreateNetworkInterfaceInput) Validate() error {
return nil
}
+// SetDescription sets the Description field's value.
+func (s *CreateNetworkInterfaceInput) SetDescription(v string) *CreateNetworkInterfaceInput {
+ s.Description = &v
+ return s
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *CreateNetworkInterfaceInput) SetDryRun(v bool) *CreateNetworkInterfaceInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetGroups sets the Groups field's value.
+func (s *CreateNetworkInterfaceInput) SetGroups(v []*string) *CreateNetworkInterfaceInput {
+ s.Groups = v
+ return s
+}
+
+// SetPrivateIpAddress sets the PrivateIpAddress field's value.
+func (s *CreateNetworkInterfaceInput) SetPrivateIpAddress(v string) *CreateNetworkInterfaceInput {
+ s.PrivateIpAddress = &v
+ return s
+}
+
+// SetPrivateIpAddresses sets the PrivateIpAddresses field's value.
+func (s *CreateNetworkInterfaceInput) SetPrivateIpAddresses(v []*PrivateIpAddressSpecification) *CreateNetworkInterfaceInput {
+ s.PrivateIpAddresses = v
+ return s
+}
+
+// SetSecondaryPrivateIpAddressCount sets the SecondaryPrivateIpAddressCount field's value.
+func (s *CreateNetworkInterfaceInput) SetSecondaryPrivateIpAddressCount(v int64) *CreateNetworkInterfaceInput {
+ s.SecondaryPrivateIpAddressCount = &v
+ return s
+}
+
+// SetSubnetId sets the SubnetId field's value.
+func (s *CreateNetworkInterfaceInput) SetSubnetId(v string) *CreateNetworkInterfaceInput {
+ s.SubnetId = &v
+ return s
+}
+
// Contains the output of CreateNetworkInterface.
type CreateNetworkInterfaceOutput struct {
_ struct{} `type:"structure"`
@@ -17581,6 +19087,12 @@ func (s CreateNetworkInterfaceOutput) GoString() string {
return s.String()
}
+// SetNetworkInterface sets the NetworkInterface field's value.
+func (s *CreateNetworkInterfaceOutput) SetNetworkInterface(v *NetworkInterface) *CreateNetworkInterfaceOutput {
+ s.NetworkInterface = v
+ return s
+}
+
// Contains the parameters for CreatePlacementGroup.
type CreatePlacementGroupInput struct {
_ struct{} `type:"structure"`
@@ -17630,8 +19142,26 @@ func (s *CreatePlacementGroupInput) Validate() error {
return nil
}
-type CreatePlacementGroupOutput struct {
- _ struct{} `type:"structure"`
+// SetDryRun sets the DryRun field's value.
+func (s *CreatePlacementGroupInput) SetDryRun(v bool) *CreatePlacementGroupInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetGroupName sets the GroupName field's value.
+func (s *CreatePlacementGroupInput) SetGroupName(v string) *CreatePlacementGroupInput {
+ s.GroupName = &v
+ return s
+}
+
+// SetStrategy sets the Strategy field's value.
+func (s *CreatePlacementGroupInput) SetStrategy(v string) *CreatePlacementGroupInput {
+ s.Strategy = &v
+ return s
+}
+
+type CreatePlacementGroupOutput struct {
+ _ struct{} `type:"structure"`
}
// String returns the string representation
@@ -17707,6 +19237,30 @@ func (s *CreateReservedInstancesListingInput) Validate() error {
return nil
}
+// SetClientToken sets the ClientToken field's value.
+func (s *CreateReservedInstancesListingInput) SetClientToken(v string) *CreateReservedInstancesListingInput {
+ s.ClientToken = &v
+ return s
+}
+
+// SetInstanceCount sets the InstanceCount field's value.
+func (s *CreateReservedInstancesListingInput) SetInstanceCount(v int64) *CreateReservedInstancesListingInput {
+ s.InstanceCount = &v
+ return s
+}
+
+// SetPriceSchedules sets the PriceSchedules field's value.
+func (s *CreateReservedInstancesListingInput) SetPriceSchedules(v []*PriceScheduleSpecification) *CreateReservedInstancesListingInput {
+ s.PriceSchedules = v
+ return s
+}
+
+// SetReservedInstancesId sets the ReservedInstancesId field's value.
+func (s *CreateReservedInstancesListingInput) SetReservedInstancesId(v string) *CreateReservedInstancesListingInput {
+ s.ReservedInstancesId = &v
+ return s
+}
+
// Contains the output of CreateReservedInstancesListing.
type CreateReservedInstancesListingOutput struct {
_ struct{} `type:"structure"`
@@ -17725,6 +19279,12 @@ func (s CreateReservedInstancesListingOutput) GoString() string {
return s.String()
}
+// SetReservedInstancesListings sets the ReservedInstancesListings field's value.
+func (s *CreateReservedInstancesListingOutput) SetReservedInstancesListings(v []*ReservedInstancesListing) *CreateReservedInstancesListingOutput {
+ s.ReservedInstancesListings = v
+ return s
+}
+
// Contains the parameters for CreateRoute.
type CreateRouteInput struct {
_ struct{} `type:"structure"`
@@ -17790,6 +19350,54 @@ func (s *CreateRouteInput) Validate() error {
return nil
}
+// SetDestinationCidrBlock sets the DestinationCidrBlock field's value.
+func (s *CreateRouteInput) SetDestinationCidrBlock(v string) *CreateRouteInput {
+ s.DestinationCidrBlock = &v
+ return s
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *CreateRouteInput) SetDryRun(v bool) *CreateRouteInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetGatewayId sets the GatewayId field's value.
+func (s *CreateRouteInput) SetGatewayId(v string) *CreateRouteInput {
+ s.GatewayId = &v
+ return s
+}
+
+// SetInstanceId sets the InstanceId field's value.
+func (s *CreateRouteInput) SetInstanceId(v string) *CreateRouteInput {
+ s.InstanceId = &v
+ return s
+}
+
+// SetNatGatewayId sets the NatGatewayId field's value.
+func (s *CreateRouteInput) SetNatGatewayId(v string) *CreateRouteInput {
+ s.NatGatewayId = &v
+ return s
+}
+
+// SetNetworkInterfaceId sets the NetworkInterfaceId field's value.
+func (s *CreateRouteInput) SetNetworkInterfaceId(v string) *CreateRouteInput {
+ s.NetworkInterfaceId = &v
+ return s
+}
+
+// SetRouteTableId sets the RouteTableId field's value.
+func (s *CreateRouteInput) SetRouteTableId(v string) *CreateRouteInput {
+ s.RouteTableId = &v
+ return s
+}
+
+// SetVpcPeeringConnectionId sets the VpcPeeringConnectionId field's value.
+func (s *CreateRouteInput) SetVpcPeeringConnectionId(v string) *CreateRouteInput {
+ s.VpcPeeringConnectionId = &v
+ return s
+}
+
// Contains the output of CreateRoute.
type CreateRouteOutput struct {
_ struct{} `type:"structure"`
@@ -17808,6 +19416,12 @@ func (s CreateRouteOutput) GoString() string {
return s.String()
}
+// SetReturn sets the Return field's value.
+func (s *CreateRouteOutput) SetReturn(v bool) *CreateRouteOutput {
+ s.Return = &v
+ return s
+}
+
// Contains the parameters for CreateRouteTable.
type CreateRouteTableInput struct {
_ struct{} `type:"structure"`
@@ -17847,6 +19461,18 @@ func (s *CreateRouteTableInput) Validate() error {
return nil
}
+// SetDryRun sets the DryRun field's value.
+func (s *CreateRouteTableInput) SetDryRun(v bool) *CreateRouteTableInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetVpcId sets the VpcId field's value.
+func (s *CreateRouteTableInput) SetVpcId(v string) *CreateRouteTableInput {
+ s.VpcId = &v
+ return s
+}
+
// Contains the output of CreateRouteTable.
type CreateRouteTableOutput struct {
_ struct{} `type:"structure"`
@@ -17865,6 +19491,12 @@ func (s CreateRouteTableOutput) GoString() string {
return s.String()
}
+// SetRouteTable sets the RouteTable field's value.
+func (s *CreateRouteTableOutput) SetRouteTable(v *RouteTable) *CreateRouteTableOutput {
+ s.RouteTable = v
+ return s
+}
+
// Contains the parameters for CreateSecurityGroup.
type CreateSecurityGroupInput struct {
_ struct{} `type:"structure"`
@@ -17927,6 +19559,30 @@ func (s *CreateSecurityGroupInput) Validate() error {
return nil
}
+// SetDescription sets the Description field's value.
+func (s *CreateSecurityGroupInput) SetDescription(v string) *CreateSecurityGroupInput {
+ s.Description = &v
+ return s
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *CreateSecurityGroupInput) SetDryRun(v bool) *CreateSecurityGroupInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetGroupName sets the GroupName field's value.
+func (s *CreateSecurityGroupInput) SetGroupName(v string) *CreateSecurityGroupInput {
+ s.GroupName = &v
+ return s
+}
+
+// SetVpcId sets the VpcId field's value.
+func (s *CreateSecurityGroupInput) SetVpcId(v string) *CreateSecurityGroupInput {
+ s.VpcId = &v
+ return s
+}
+
// Contains the output of CreateSecurityGroup.
type CreateSecurityGroupOutput struct {
_ struct{} `type:"structure"`
@@ -17945,6 +19601,12 @@ func (s CreateSecurityGroupOutput) GoString() string {
return s.String()
}
+// SetGroupId sets the GroupId field's value.
+func (s *CreateSecurityGroupOutput) SetGroupId(v string) *CreateSecurityGroupOutput {
+ s.GroupId = &v
+ return s
+}
+
// Contains the parameters for CreateSnapshot.
type CreateSnapshotInput struct {
_ struct{} `type:"structure"`
@@ -17987,6 +19649,24 @@ func (s *CreateSnapshotInput) Validate() error {
return nil
}
+// SetDescription sets the Description field's value.
+func (s *CreateSnapshotInput) SetDescription(v string) *CreateSnapshotInput {
+ s.Description = &v
+ return s
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *CreateSnapshotInput) SetDryRun(v bool) *CreateSnapshotInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetVolumeId sets the VolumeId field's value.
+func (s *CreateSnapshotInput) SetVolumeId(v string) *CreateSnapshotInput {
+ s.VolumeId = &v
+ return s
+}
+
// Contains the parameters for CreateSpotDatafeedSubscription.
type CreateSpotDatafeedSubscriptionInput struct {
_ struct{} `type:"structure"`
@@ -18029,6 +19709,24 @@ func (s *CreateSpotDatafeedSubscriptionInput) Validate() error {
return nil
}
+// SetBucket sets the Bucket field's value.
+func (s *CreateSpotDatafeedSubscriptionInput) SetBucket(v string) *CreateSpotDatafeedSubscriptionInput {
+ s.Bucket = &v
+ return s
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *CreateSpotDatafeedSubscriptionInput) SetDryRun(v bool) *CreateSpotDatafeedSubscriptionInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetPrefix sets the Prefix field's value.
+func (s *CreateSpotDatafeedSubscriptionInput) SetPrefix(v string) *CreateSpotDatafeedSubscriptionInput {
+ s.Prefix = &v
+ return s
+}
+
// Contains the output of CreateSpotDatafeedSubscription.
type CreateSpotDatafeedSubscriptionOutput struct {
_ struct{} `type:"structure"`
@@ -18047,6 +19745,12 @@ func (s CreateSpotDatafeedSubscriptionOutput) GoString() string {
return s.String()
}
+// SetSpotDatafeedSubscription sets the SpotDatafeedSubscription field's value.
+func (s *CreateSpotDatafeedSubscriptionOutput) SetSpotDatafeedSubscription(v *SpotDatafeedSubscription) *CreateSpotDatafeedSubscriptionOutput {
+ s.SpotDatafeedSubscription = v
+ return s
+}
+
// Contains the parameters for CreateSubnet.
type CreateSubnetInput struct {
_ struct{} `type:"structure"`
@@ -18100,6 +19804,30 @@ func (s *CreateSubnetInput) Validate() error {
return nil
}
+// SetAvailabilityZone sets the AvailabilityZone field's value.
+func (s *CreateSubnetInput) SetAvailabilityZone(v string) *CreateSubnetInput {
+ s.AvailabilityZone = &v
+ return s
+}
+
+// SetCidrBlock sets the CidrBlock field's value.
+func (s *CreateSubnetInput) SetCidrBlock(v string) *CreateSubnetInput {
+ s.CidrBlock = &v
+ return s
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *CreateSubnetInput) SetDryRun(v bool) *CreateSubnetInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetVpcId sets the VpcId field's value.
+func (s *CreateSubnetInput) SetVpcId(v string) *CreateSubnetInput {
+ s.VpcId = &v
+ return s
+}
+
// Contains the output of CreateSubnet.
type CreateSubnetOutput struct {
_ struct{} `type:"structure"`
@@ -18118,6 +19846,12 @@ func (s CreateSubnetOutput) GoString() string {
return s.String()
}
+// SetSubnet sets the Subnet field's value.
+func (s *CreateSubnetOutput) SetSubnet(v *Subnet) *CreateSubnetOutput {
+ s.Subnet = v
+ return s
+}
+
// Contains the parameters for CreateTags.
type CreateTagsInput struct {
_ struct{} `type:"structure"`
@@ -18167,6 +19901,24 @@ func (s *CreateTagsInput) Validate() error {
return nil
}
+// SetDryRun sets the DryRun field's value.
+func (s *CreateTagsInput) SetDryRun(v bool) *CreateTagsInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetResources sets the Resources field's value.
+func (s *CreateTagsInput) SetResources(v []*string) *CreateTagsInput {
+ s.Resources = v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *CreateTagsInput) SetTags(v []*Tag) *CreateTagsInput {
+ s.Tags = v
+ return s
+}
+
type CreateTagsOutput struct {
_ struct{} `type:"structure"`
}
@@ -18266,6 +20018,54 @@ func (s *CreateVolumeInput) Validate() error {
return nil
}
+// SetAvailabilityZone sets the AvailabilityZone field's value.
+func (s *CreateVolumeInput) SetAvailabilityZone(v string) *CreateVolumeInput {
+ s.AvailabilityZone = &v
+ return s
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *CreateVolumeInput) SetDryRun(v bool) *CreateVolumeInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetEncrypted sets the Encrypted field's value.
+func (s *CreateVolumeInput) SetEncrypted(v bool) *CreateVolumeInput {
+ s.Encrypted = &v
+ return s
+}
+
+// SetIops sets the Iops field's value.
+func (s *CreateVolumeInput) SetIops(v int64) *CreateVolumeInput {
+ s.Iops = &v
+ return s
+}
+
+// SetKmsKeyId sets the KmsKeyId field's value.
+func (s *CreateVolumeInput) SetKmsKeyId(v string) *CreateVolumeInput {
+ s.KmsKeyId = &v
+ return s
+}
+
+// SetSize sets the Size field's value.
+func (s *CreateVolumeInput) SetSize(v int64) *CreateVolumeInput {
+ s.Size = &v
+ return s
+}
+
+// SetSnapshotId sets the SnapshotId field's value.
+func (s *CreateVolumeInput) SetSnapshotId(v string) *CreateVolumeInput {
+ s.SnapshotId = &v
+ return s
+}
+
+// SetVolumeType sets the VolumeType field's value.
+func (s *CreateVolumeInput) SetVolumeType(v string) *CreateVolumeInput {
+ s.VolumeType = &v
+ return s
+}
+
// Describes the user or group to be added or removed from the permissions for
// a volume.
type CreateVolumePermission struct {
@@ -18290,6 +20090,18 @@ func (s CreateVolumePermission) GoString() string {
return s.String()
}
+// SetGroup sets the Group field's value.
+func (s *CreateVolumePermission) SetGroup(v string) *CreateVolumePermission {
+ s.Group = &v
+ return s
+}
+
+// SetUserId sets the UserId field's value.
+func (s *CreateVolumePermission) SetUserId(v string) *CreateVolumePermission {
+ s.UserId = &v
+ return s
+}
+
// Describes modifications to the permissions for a volume.
type CreateVolumePermissionModifications struct {
_ struct{} `type:"structure"`
@@ -18313,6 +20125,18 @@ func (s CreateVolumePermissionModifications) GoString() string {
return s.String()
}
+// SetAdd sets the Add field's value.
+func (s *CreateVolumePermissionModifications) SetAdd(v []*CreateVolumePermission) *CreateVolumePermissionModifications {
+ s.Add = v
+ return s
+}
+
+// SetRemove sets the Remove field's value.
+func (s *CreateVolumePermissionModifications) SetRemove(v []*CreateVolumePermission) *CreateVolumePermissionModifications {
+ s.Remove = v
+ return s
+}
+
// Contains the parameters for CreateVpcEndpoint.
type CreateVpcEndpointInput struct {
_ struct{} `type:"structure"`
@@ -18373,6 +20197,42 @@ func (s *CreateVpcEndpointInput) Validate() error {
return nil
}
+// SetClientToken sets the ClientToken field's value.
+func (s *CreateVpcEndpointInput) SetClientToken(v string) *CreateVpcEndpointInput {
+ s.ClientToken = &v
+ return s
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *CreateVpcEndpointInput) SetDryRun(v bool) *CreateVpcEndpointInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetPolicyDocument sets the PolicyDocument field's value.
+func (s *CreateVpcEndpointInput) SetPolicyDocument(v string) *CreateVpcEndpointInput {
+ s.PolicyDocument = &v
+ return s
+}
+
+// SetRouteTableIds sets the RouteTableIds field's value.
+func (s *CreateVpcEndpointInput) SetRouteTableIds(v []*string) *CreateVpcEndpointInput {
+ s.RouteTableIds = v
+ return s
+}
+
+// SetServiceName sets the ServiceName field's value.
+func (s *CreateVpcEndpointInput) SetServiceName(v string) *CreateVpcEndpointInput {
+ s.ServiceName = &v
+ return s
+}
+
+// SetVpcId sets the VpcId field's value.
+func (s *CreateVpcEndpointInput) SetVpcId(v string) *CreateVpcEndpointInput {
+ s.VpcId = &v
+ return s
+}
+
// Contains the output of CreateVpcEndpoint.
type CreateVpcEndpointOutput struct {
_ struct{} `type:"structure"`
@@ -18395,6 +20255,18 @@ func (s CreateVpcEndpointOutput) GoString() string {
return s.String()
}
+// SetClientToken sets the ClientToken field's value.
+func (s *CreateVpcEndpointOutput) SetClientToken(v string) *CreateVpcEndpointOutput {
+ s.ClientToken = &v
+ return s
+}
+
+// SetVpcEndpoint sets the VpcEndpoint field's value.
+func (s *CreateVpcEndpointOutput) SetVpcEndpoint(v *VpcEndpoint) *CreateVpcEndpointOutput {
+ s.VpcEndpoint = v
+ return s
+}
+
// Contains the parameters for CreateVpc.
type CreateVpcInput struct {
_ struct{} `type:"structure"`
@@ -18446,6 +20318,24 @@ func (s *CreateVpcInput) Validate() error {
return nil
}
+// SetCidrBlock sets the CidrBlock field's value.
+func (s *CreateVpcInput) SetCidrBlock(v string) *CreateVpcInput {
+ s.CidrBlock = &v
+ return s
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *CreateVpcInput) SetDryRun(v bool) *CreateVpcInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetInstanceTenancy sets the InstanceTenancy field's value.
+func (s *CreateVpcInput) SetInstanceTenancy(v string) *CreateVpcInput {
+ s.InstanceTenancy = &v
+ return s
+}
+
// Contains the output of CreateVpc.
type CreateVpcOutput struct {
_ struct{} `type:"structure"`
@@ -18464,6 +20354,12 @@ func (s CreateVpcOutput) GoString() string {
return s.String()
}
+// SetVpc sets the Vpc field's value.
+func (s *CreateVpcOutput) SetVpc(v *Vpc) *CreateVpcOutput {
+ s.Vpc = v
+ return s
+}
+
// Contains the parameters for CreateVpcPeeringConnection.
type CreateVpcPeeringConnectionInput struct {
_ struct{} `type:"structure"`
@@ -18496,6 +20392,30 @@ func (s CreateVpcPeeringConnectionInput) GoString() string {
return s.String()
}
+// SetDryRun sets the DryRun field's value.
+func (s *CreateVpcPeeringConnectionInput) SetDryRun(v bool) *CreateVpcPeeringConnectionInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetPeerOwnerId sets the PeerOwnerId field's value.
+func (s *CreateVpcPeeringConnectionInput) SetPeerOwnerId(v string) *CreateVpcPeeringConnectionInput {
+ s.PeerOwnerId = &v
+ return s
+}
+
+// SetPeerVpcId sets the PeerVpcId field's value.
+func (s *CreateVpcPeeringConnectionInput) SetPeerVpcId(v string) *CreateVpcPeeringConnectionInput {
+ s.PeerVpcId = &v
+ return s
+}
+
+// SetVpcId sets the VpcId field's value.
+func (s *CreateVpcPeeringConnectionInput) SetVpcId(v string) *CreateVpcPeeringConnectionInput {
+ s.VpcId = &v
+ return s
+}
+
// Contains the output of CreateVpcPeeringConnection.
type CreateVpcPeeringConnectionOutput struct {
_ struct{} `type:"structure"`
@@ -18514,6 +20434,12 @@ func (s CreateVpcPeeringConnectionOutput) GoString() string {
return s.String()
}
+// SetVpcPeeringConnection sets the VpcPeeringConnection field's value.
+func (s *CreateVpcPeeringConnectionOutput) SetVpcPeeringConnection(v *VpcPeeringConnection) *CreateVpcPeeringConnectionOutput {
+ s.VpcPeeringConnection = v
+ return s
+}
+
// Contains the parameters for CreateVpnConnection.
type CreateVpnConnectionInput struct {
_ struct{} `type:"structure"`
@@ -18576,6 +20502,36 @@ func (s *CreateVpnConnectionInput) Validate() error {
return nil
}
+// SetCustomerGatewayId sets the CustomerGatewayId field's value.
+func (s *CreateVpnConnectionInput) SetCustomerGatewayId(v string) *CreateVpnConnectionInput {
+ s.CustomerGatewayId = &v
+ return s
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *CreateVpnConnectionInput) SetDryRun(v bool) *CreateVpnConnectionInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetOptions sets the Options field's value.
+func (s *CreateVpnConnectionInput) SetOptions(v *VpnConnectionOptionsSpecification) *CreateVpnConnectionInput {
+ s.Options = v
+ return s
+}
+
+// SetType sets the Type field's value.
+func (s *CreateVpnConnectionInput) SetType(v string) *CreateVpnConnectionInput {
+ s.Type = &v
+ return s
+}
+
+// SetVpnGatewayId sets the VpnGatewayId field's value.
+func (s *CreateVpnConnectionInput) SetVpnGatewayId(v string) *CreateVpnConnectionInput {
+ s.VpnGatewayId = &v
+ return s
+}
+
// Contains the output of CreateVpnConnection.
type CreateVpnConnectionOutput struct {
_ struct{} `type:"structure"`
@@ -18594,6 +20550,12 @@ func (s CreateVpnConnectionOutput) GoString() string {
return s.String()
}
+// SetVpnConnection sets the VpnConnection field's value.
+func (s *CreateVpnConnectionOutput) SetVpnConnection(v *VpnConnection) *CreateVpnConnectionOutput {
+ s.VpnConnection = v
+ return s
+}
+
// Contains the parameters for CreateVpnConnectionRoute.
type CreateVpnConnectionRouteInput struct {
_ struct{} `type:"structure"`
@@ -18635,6 +20597,18 @@ func (s *CreateVpnConnectionRouteInput) Validate() error {
return nil
}
+// SetDestinationCidrBlock sets the DestinationCidrBlock field's value.
+func (s *CreateVpnConnectionRouteInput) SetDestinationCidrBlock(v string) *CreateVpnConnectionRouteInput {
+ s.DestinationCidrBlock = &v
+ return s
+}
+
+// SetVpnConnectionId sets the VpnConnectionId field's value.
+func (s *CreateVpnConnectionRouteInput) SetVpnConnectionId(v string) *CreateVpnConnectionRouteInput {
+ s.VpnConnectionId = &v
+ return s
+}
+
type CreateVpnConnectionRouteOutput struct {
_ struct{} `type:"structure"`
}
@@ -18691,6 +20665,24 @@ func (s *CreateVpnGatewayInput) Validate() error {
return nil
}
+// SetAvailabilityZone sets the AvailabilityZone field's value.
+func (s *CreateVpnGatewayInput) SetAvailabilityZone(v string) *CreateVpnGatewayInput {
+ s.AvailabilityZone = &v
+ return s
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *CreateVpnGatewayInput) SetDryRun(v bool) *CreateVpnGatewayInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetType sets the Type field's value.
+func (s *CreateVpnGatewayInput) SetType(v string) *CreateVpnGatewayInput {
+ s.Type = &v
+ return s
+}
+
// Contains the output of CreateVpnGateway.
type CreateVpnGatewayOutput struct {
_ struct{} `type:"structure"`
@@ -18709,6 +20701,12 @@ func (s CreateVpnGatewayOutput) GoString() string {
return s.String()
}
+// SetVpnGateway sets the VpnGateway field's value.
+func (s *CreateVpnGatewayOutput) SetVpnGateway(v *VpnGateway) *CreateVpnGatewayOutput {
+ s.VpnGateway = v
+ return s
+}
+
// Describes a customer gateway.
type CustomerGateway struct {
_ struct{} `type:"structure"`
@@ -18744,6 +20742,42 @@ func (s CustomerGateway) GoString() string {
return s.String()
}
+// SetBgpAsn sets the BgpAsn field's value.
+func (s *CustomerGateway) SetBgpAsn(v string) *CustomerGateway {
+ s.BgpAsn = &v
+ return s
+}
+
+// SetCustomerGatewayId sets the CustomerGatewayId field's value.
+func (s *CustomerGateway) SetCustomerGatewayId(v string) *CustomerGateway {
+ s.CustomerGatewayId = &v
+ return s
+}
+
+// SetIpAddress sets the IpAddress field's value.
+func (s *CustomerGateway) SetIpAddress(v string) *CustomerGateway {
+ s.IpAddress = &v
+ return s
+}
+
+// SetState sets the State field's value.
+func (s *CustomerGateway) SetState(v string) *CustomerGateway {
+ s.State = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *CustomerGateway) SetTags(v []*Tag) *CustomerGateway {
+ s.Tags = v
+ return s
+}
+
+// SetType sets the Type field's value.
+func (s *CustomerGateway) SetType(v string) *CustomerGateway {
+ s.Type = &v
+ return s
+}
+
// Contains the parameters for DeleteCustomerGateway.
type DeleteCustomerGatewayInput struct {
_ struct{} `type:"structure"`
@@ -18783,6 +20817,18 @@ func (s *DeleteCustomerGatewayInput) Validate() error {
return nil
}
+// SetCustomerGatewayId sets the CustomerGatewayId field's value.
+func (s *DeleteCustomerGatewayInput) SetCustomerGatewayId(v string) *DeleteCustomerGatewayInput {
+ s.CustomerGatewayId = &v
+ return s
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *DeleteCustomerGatewayInput) SetDryRun(v bool) *DeleteCustomerGatewayInput {
+ s.DryRun = &v
+ return s
+}
+
type DeleteCustomerGatewayOutput struct {
_ struct{} `type:"structure"`
}
@@ -18836,6 +20882,18 @@ func (s *DeleteDhcpOptionsInput) Validate() error {
return nil
}
+// SetDhcpOptionsId sets the DhcpOptionsId field's value.
+func (s *DeleteDhcpOptionsInput) SetDhcpOptionsId(v string) *DeleteDhcpOptionsInput {
+ s.DhcpOptionsId = &v
+ return s
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *DeleteDhcpOptionsInput) SetDryRun(v bool) *DeleteDhcpOptionsInput {
+ s.DryRun = &v
+ return s
+}
+
type DeleteDhcpOptionsOutput struct {
_ struct{} `type:"structure"`
}
@@ -18883,6 +20941,12 @@ func (s *DeleteFlowLogsInput) Validate() error {
return nil
}
+// SetFlowLogIds sets the FlowLogIds field's value.
+func (s *DeleteFlowLogsInput) SetFlowLogIds(v []*string) *DeleteFlowLogsInput {
+ s.FlowLogIds = v
+ return s
+}
+
// Contains the output of DeleteFlowLogs.
type DeleteFlowLogsOutput struct {
_ struct{} `type:"structure"`
@@ -18901,6 +20965,12 @@ func (s DeleteFlowLogsOutput) GoString() string {
return s.String()
}
+// SetUnsuccessful sets the Unsuccessful field's value.
+func (s *DeleteFlowLogsOutput) SetUnsuccessful(v []*UnsuccessfulItem) *DeleteFlowLogsOutput {
+ s.Unsuccessful = v
+ return s
+}
+
// Contains the parameters for DeleteInternetGateway.
type DeleteInternetGatewayInput struct {
_ struct{} `type:"structure"`
@@ -18940,6 +21010,18 @@ func (s *DeleteInternetGatewayInput) Validate() error {
return nil
}
+// SetDryRun sets the DryRun field's value.
+func (s *DeleteInternetGatewayInput) SetDryRun(v bool) *DeleteInternetGatewayInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetInternetGatewayId sets the InternetGatewayId field's value.
+func (s *DeleteInternetGatewayInput) SetInternetGatewayId(v string) *DeleteInternetGatewayInput {
+ s.InternetGatewayId = &v
+ return s
+}
+
type DeleteInternetGatewayOutput struct {
_ struct{} `type:"structure"`
}
@@ -18993,6 +21075,18 @@ func (s *DeleteKeyPairInput) Validate() error {
return nil
}
+// SetDryRun sets the DryRun field's value.
+func (s *DeleteKeyPairInput) SetDryRun(v bool) *DeleteKeyPairInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetKeyName sets the KeyName field's value.
+func (s *DeleteKeyPairInput) SetKeyName(v string) *DeleteKeyPairInput {
+ s.KeyName = &v
+ return s
+}
+
type DeleteKeyPairOutput struct {
_ struct{} `type:"structure"`
}
@@ -19040,6 +21134,12 @@ func (s *DeleteNatGatewayInput) Validate() error {
return nil
}
+// SetNatGatewayId sets the NatGatewayId field's value.
+func (s *DeleteNatGatewayInput) SetNatGatewayId(v string) *DeleteNatGatewayInput {
+ s.NatGatewayId = &v
+ return s
+}
+
// Contains the output of DeleteNatGateway.
type DeleteNatGatewayOutput struct {
_ struct{} `type:"structure"`
@@ -19058,6 +21158,12 @@ func (s DeleteNatGatewayOutput) GoString() string {
return s.String()
}
+// SetNatGatewayId sets the NatGatewayId field's value.
+func (s *DeleteNatGatewayOutput) SetNatGatewayId(v string) *DeleteNatGatewayOutput {
+ s.NatGatewayId = &v
+ return s
+}
+
// Contains the parameters for DeleteNetworkAclEntry.
type DeleteNetworkAclEntryInput struct {
_ struct{} `type:"structure"`
@@ -19113,6 +21219,30 @@ func (s *DeleteNetworkAclEntryInput) Validate() error {
return nil
}
+// SetDryRun sets the DryRun field's value.
+func (s *DeleteNetworkAclEntryInput) SetDryRun(v bool) *DeleteNetworkAclEntryInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetEgress sets the Egress field's value.
+func (s *DeleteNetworkAclEntryInput) SetEgress(v bool) *DeleteNetworkAclEntryInput {
+ s.Egress = &v
+ return s
+}
+
+// SetNetworkAclId sets the NetworkAclId field's value.
+func (s *DeleteNetworkAclEntryInput) SetNetworkAclId(v string) *DeleteNetworkAclEntryInput {
+ s.NetworkAclId = &v
+ return s
+}
+
+// SetRuleNumber sets the RuleNumber field's value.
+func (s *DeleteNetworkAclEntryInput) SetRuleNumber(v int64) *DeleteNetworkAclEntryInput {
+ s.RuleNumber = &v
+ return s
+}
+
type DeleteNetworkAclEntryOutput struct {
_ struct{} `type:"structure"`
}
@@ -19166,6 +21296,18 @@ func (s *DeleteNetworkAclInput) Validate() error {
return nil
}
+// SetDryRun sets the DryRun field's value.
+func (s *DeleteNetworkAclInput) SetDryRun(v bool) *DeleteNetworkAclInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetNetworkAclId sets the NetworkAclId field's value.
+func (s *DeleteNetworkAclInput) SetNetworkAclId(v string) *DeleteNetworkAclInput {
+ s.NetworkAclId = &v
+ return s
+}
+
type DeleteNetworkAclOutput struct {
_ struct{} `type:"structure"`
}
@@ -19219,6 +21361,18 @@ func (s *DeleteNetworkInterfaceInput) Validate() error {
return nil
}
+// SetDryRun sets the DryRun field's value.
+func (s *DeleteNetworkInterfaceInput) SetDryRun(v bool) *DeleteNetworkInterfaceInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetNetworkInterfaceId sets the NetworkInterfaceId field's value.
+func (s *DeleteNetworkInterfaceInput) SetNetworkInterfaceId(v string) *DeleteNetworkInterfaceInput {
+ s.NetworkInterfaceId = &v
+ return s
+}
+
type DeleteNetworkInterfaceOutput struct {
_ struct{} `type:"structure"`
}
@@ -19272,6 +21426,18 @@ func (s *DeletePlacementGroupInput) Validate() error {
return nil
}
+// SetDryRun sets the DryRun field's value.
+func (s *DeletePlacementGroupInput) SetDryRun(v bool) *DeletePlacementGroupInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetGroupName sets the GroupName field's value.
+func (s *DeletePlacementGroupInput) SetGroupName(v string) *DeletePlacementGroupInput {
+ s.GroupName = &v
+ return s
+}
+
type DeletePlacementGroupOutput struct {
_ struct{} `type:"structure"`
}
@@ -19334,6 +21500,24 @@ func (s *DeleteRouteInput) Validate() error {
return nil
}
+// SetDestinationCidrBlock sets the DestinationCidrBlock field's value.
+func (s *DeleteRouteInput) SetDestinationCidrBlock(v string) *DeleteRouteInput {
+ s.DestinationCidrBlock = &v
+ return s
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *DeleteRouteInput) SetDryRun(v bool) *DeleteRouteInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetRouteTableId sets the RouteTableId field's value.
+func (s *DeleteRouteInput) SetRouteTableId(v string) *DeleteRouteInput {
+ s.RouteTableId = &v
+ return s
+}
+
type DeleteRouteOutput struct {
_ struct{} `type:"structure"`
}
@@ -19387,6 +21571,18 @@ func (s *DeleteRouteTableInput) Validate() error {
return nil
}
+// SetDryRun sets the DryRun field's value.
+func (s *DeleteRouteTableInput) SetDryRun(v bool) *DeleteRouteTableInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetRouteTableId sets the RouteTableId field's value.
+func (s *DeleteRouteTableInput) SetRouteTableId(v string) *DeleteRouteTableInput {
+ s.RouteTableId = &v
+ return s
+}
+
type DeleteRouteTableOutput struct {
_ struct{} `type:"structure"`
}
@@ -19429,6 +21625,24 @@ func (s DeleteSecurityGroupInput) GoString() string {
return s.String()
}
+// SetDryRun sets the DryRun field's value.
+func (s *DeleteSecurityGroupInput) SetDryRun(v bool) *DeleteSecurityGroupInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetGroupId sets the GroupId field's value.
+func (s *DeleteSecurityGroupInput) SetGroupId(v string) *DeleteSecurityGroupInput {
+ s.GroupId = &v
+ return s
+}
+
+// SetGroupName sets the GroupName field's value.
+func (s *DeleteSecurityGroupInput) SetGroupName(v string) *DeleteSecurityGroupInput {
+ s.GroupName = &v
+ return s
+}
+
type DeleteSecurityGroupOutput struct {
_ struct{} `type:"structure"`
}
@@ -19482,6 +21696,18 @@ func (s *DeleteSnapshotInput) Validate() error {
return nil
}
+// SetDryRun sets the DryRun field's value.
+func (s *DeleteSnapshotInput) SetDryRun(v bool) *DeleteSnapshotInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetSnapshotId sets the SnapshotId field's value.
+func (s *DeleteSnapshotInput) SetSnapshotId(v string) *DeleteSnapshotInput {
+ s.SnapshotId = &v
+ return s
+}
+
type DeleteSnapshotOutput struct {
_ struct{} `type:"structure"`
}
@@ -19517,6 +21743,12 @@ func (s DeleteSpotDatafeedSubscriptionInput) GoString() string {
return s.String()
}
+// SetDryRun sets the DryRun field's value.
+func (s *DeleteSpotDatafeedSubscriptionInput) SetDryRun(v bool) *DeleteSpotDatafeedSubscriptionInput {
+ s.DryRun = &v
+ return s
+}
+
type DeleteSpotDatafeedSubscriptionOutput struct {
_ struct{} `type:"structure"`
}
@@ -19570,6 +21802,18 @@ func (s *DeleteSubnetInput) Validate() error {
return nil
}
+// SetDryRun sets the DryRun field's value.
+func (s *DeleteSubnetInput) SetDryRun(v bool) *DeleteSubnetInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetSubnetId sets the SubnetId field's value.
+func (s *DeleteSubnetInput) SetSubnetId(v string) *DeleteSubnetInput {
+ s.SubnetId = &v
+ return s
+}
+
type DeleteSubnetOutput struct {
_ struct{} `type:"structure"`
}
@@ -19629,6 +21873,24 @@ func (s *DeleteTagsInput) Validate() error {
return nil
}
+// SetDryRun sets the DryRun field's value.
+func (s *DeleteTagsInput) SetDryRun(v bool) *DeleteTagsInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetResources sets the Resources field's value.
+func (s *DeleteTagsInput) SetResources(v []*string) *DeleteTagsInput {
+ s.Resources = v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *DeleteTagsInput) SetTags(v []*Tag) *DeleteTagsInput {
+ s.Tags = v
+ return s
+}
+
type DeleteTagsOutput struct {
_ struct{} `type:"structure"`
}
@@ -19682,6 +21944,18 @@ func (s *DeleteVolumeInput) Validate() error {
return nil
}
+// SetDryRun sets the DryRun field's value.
+func (s *DeleteVolumeInput) SetDryRun(v bool) *DeleteVolumeInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetVolumeId sets the VolumeId field's value.
+func (s *DeleteVolumeInput) SetVolumeId(v string) *DeleteVolumeInput {
+ s.VolumeId = &v
+ return s
+}
+
type DeleteVolumeOutput struct {
_ struct{} `type:"structure"`
}
@@ -19735,6 +22009,18 @@ func (s *DeleteVpcEndpointsInput) Validate() error {
return nil
}
+// SetDryRun sets the DryRun field's value.
+func (s *DeleteVpcEndpointsInput) SetDryRun(v bool) *DeleteVpcEndpointsInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetVpcEndpointIds sets the VpcEndpointIds field's value.
+func (s *DeleteVpcEndpointsInput) SetVpcEndpointIds(v []*string) *DeleteVpcEndpointsInput {
+ s.VpcEndpointIds = v
+ return s
+}
+
// Contains the output of DeleteVpcEndpoints.
type DeleteVpcEndpointsOutput struct {
_ struct{} `type:"structure"`
@@ -19753,6 +22039,12 @@ func (s DeleteVpcEndpointsOutput) GoString() string {
return s.String()
}
+// SetUnsuccessful sets the Unsuccessful field's value.
+func (s *DeleteVpcEndpointsOutput) SetUnsuccessful(v []*UnsuccessfulItem) *DeleteVpcEndpointsOutput {
+ s.Unsuccessful = v
+ return s
+}
+
// Contains the parameters for DeleteVpc.
type DeleteVpcInput struct {
_ struct{} `type:"structure"`
@@ -19792,6 +22084,18 @@ func (s *DeleteVpcInput) Validate() error {
return nil
}
+// SetDryRun sets the DryRun field's value.
+func (s *DeleteVpcInput) SetDryRun(v bool) *DeleteVpcInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetVpcId sets the VpcId field's value.
+func (s *DeleteVpcInput) SetVpcId(v string) *DeleteVpcInput {
+ s.VpcId = &v
+ return s
+}
+
type DeleteVpcOutput struct {
_ struct{} `type:"structure"`
}
@@ -19845,6 +22149,18 @@ func (s *DeleteVpcPeeringConnectionInput) Validate() error {
return nil
}
+// SetDryRun sets the DryRun field's value.
+func (s *DeleteVpcPeeringConnectionInput) SetDryRun(v bool) *DeleteVpcPeeringConnectionInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetVpcPeeringConnectionId sets the VpcPeeringConnectionId field's value.
+func (s *DeleteVpcPeeringConnectionInput) SetVpcPeeringConnectionId(v string) *DeleteVpcPeeringConnectionInput {
+ s.VpcPeeringConnectionId = &v
+ return s
+}
+
// Contains the output of DeleteVpcPeeringConnection.
type DeleteVpcPeeringConnectionOutput struct {
_ struct{} `type:"structure"`
@@ -19863,6 +22179,12 @@ func (s DeleteVpcPeeringConnectionOutput) GoString() string {
return s.String()
}
+// SetReturn sets the Return field's value.
+func (s *DeleteVpcPeeringConnectionOutput) SetReturn(v bool) *DeleteVpcPeeringConnectionOutput {
+ s.Return = &v
+ return s
+}
+
// Contains the parameters for DeleteVpnConnection.
type DeleteVpnConnectionInput struct {
_ struct{} `type:"structure"`
@@ -19902,6 +22224,18 @@ func (s *DeleteVpnConnectionInput) Validate() error {
return nil
}
+// SetDryRun sets the DryRun field's value.
+func (s *DeleteVpnConnectionInput) SetDryRun(v bool) *DeleteVpnConnectionInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetVpnConnectionId sets the VpnConnectionId field's value.
+func (s *DeleteVpnConnectionInput) SetVpnConnectionId(v string) *DeleteVpnConnectionInput {
+ s.VpnConnectionId = &v
+ return s
+}
+
type DeleteVpnConnectionOutput struct {
_ struct{} `type:"structure"`
}
@@ -19957,6 +22291,18 @@ func (s *DeleteVpnConnectionRouteInput) Validate() error {
return nil
}
+// SetDestinationCidrBlock sets the DestinationCidrBlock field's value.
+func (s *DeleteVpnConnectionRouteInput) SetDestinationCidrBlock(v string) *DeleteVpnConnectionRouteInput {
+ s.DestinationCidrBlock = &v
+ return s
+}
+
+// SetVpnConnectionId sets the VpnConnectionId field's value.
+func (s *DeleteVpnConnectionRouteInput) SetVpnConnectionId(v string) *DeleteVpnConnectionRouteInput {
+ s.VpnConnectionId = &v
+ return s
+}
+
type DeleteVpnConnectionRouteOutput struct {
_ struct{} `type:"structure"`
}
@@ -20010,6 +22356,18 @@ func (s *DeleteVpnGatewayInput) Validate() error {
return nil
}
+// SetDryRun sets the DryRun field's value.
+func (s *DeleteVpnGatewayInput) SetDryRun(v bool) *DeleteVpnGatewayInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetVpnGatewayId sets the VpnGatewayId field's value.
+func (s *DeleteVpnGatewayInput) SetVpnGatewayId(v string) *DeleteVpnGatewayInput {
+ s.VpnGatewayId = &v
+ return s
+}
+
type DeleteVpnGatewayOutput struct {
_ struct{} `type:"structure"`
}
@@ -20063,6 +22421,18 @@ func (s *DeregisterImageInput) Validate() error {
return nil
}
+// SetDryRun sets the DryRun field's value.
+func (s *DeregisterImageInput) SetDryRun(v bool) *DeregisterImageInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetImageId sets the ImageId field's value.
+func (s *DeregisterImageInput) SetImageId(v string) *DeregisterImageInput {
+ s.ImageId = &v
+ return s
+}
+
type DeregisterImageOutput struct {
_ struct{} `type:"structure"`
}
@@ -20101,6 +22471,18 @@ func (s DescribeAccountAttributesInput) GoString() string {
return s.String()
}
+// SetAttributeNames sets the AttributeNames field's value.
+func (s *DescribeAccountAttributesInput) SetAttributeNames(v []*string) *DescribeAccountAttributesInput {
+ s.AttributeNames = v
+ return s
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *DescribeAccountAttributesInput) SetDryRun(v bool) *DescribeAccountAttributesInput {
+ s.DryRun = &v
+ return s
+}
+
// Contains the output of DescribeAccountAttributes.
type DescribeAccountAttributesOutput struct {
_ struct{} `type:"structure"`
@@ -20119,6 +22501,12 @@ func (s DescribeAccountAttributesOutput) GoString() string {
return s.String()
}
+// SetAccountAttributes sets the AccountAttributes field's value.
+func (s *DescribeAccountAttributesOutput) SetAccountAttributes(v []*AccountAttribute) *DescribeAccountAttributesOutput {
+ s.AccountAttributes = v
+ return s
+}
+
// Contains the parameters for DescribeAddresses.
type DescribeAddressesInput struct {
_ struct{} `type:"structure"`
@@ -20173,6 +22561,30 @@ func (s DescribeAddressesInput) GoString() string {
return s.String()
}
+// SetAllocationIds sets the AllocationIds field's value.
+func (s *DescribeAddressesInput) SetAllocationIds(v []*string) *DescribeAddressesInput {
+ s.AllocationIds = v
+ return s
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *DescribeAddressesInput) SetDryRun(v bool) *DescribeAddressesInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetFilters sets the Filters field's value.
+func (s *DescribeAddressesInput) SetFilters(v []*Filter) *DescribeAddressesInput {
+ s.Filters = v
+ return s
+}
+
+// SetPublicIps sets the PublicIps field's value.
+func (s *DescribeAddressesInput) SetPublicIps(v []*string) *DescribeAddressesInput {
+ s.PublicIps = v
+ return s
+}
+
// Contains the output of DescribeAddresses.
type DescribeAddressesOutput struct {
_ struct{} `type:"structure"`
@@ -20191,6 +22603,12 @@ func (s DescribeAddressesOutput) GoString() string {
return s.String()
}
+// SetAddresses sets the Addresses field's value.
+func (s *DescribeAddressesOutput) SetAddresses(v []*Address) *DescribeAddressesOutput {
+ s.Addresses = v
+ return s
+}
+
// Contains the parameters for DescribeAvailabilityZones.
type DescribeAvailabilityZonesInput struct {
_ struct{} `type:"structure"`
@@ -20228,6 +22646,24 @@ func (s DescribeAvailabilityZonesInput) GoString() string {
return s.String()
}
+// SetDryRun sets the DryRun field's value.
+func (s *DescribeAvailabilityZonesInput) SetDryRun(v bool) *DescribeAvailabilityZonesInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetFilters sets the Filters field's value.
+func (s *DescribeAvailabilityZonesInput) SetFilters(v []*Filter) *DescribeAvailabilityZonesInput {
+ s.Filters = v
+ return s
+}
+
+// SetZoneNames sets the ZoneNames field's value.
+func (s *DescribeAvailabilityZonesInput) SetZoneNames(v []*string) *DescribeAvailabilityZonesInput {
+ s.ZoneNames = v
+ return s
+}
+
// Contains the output of DescribeAvailabiltyZones.
type DescribeAvailabilityZonesOutput struct {
_ struct{} `type:"structure"`
@@ -20246,6 +22682,12 @@ func (s DescribeAvailabilityZonesOutput) GoString() string {
return s.String()
}
+// SetAvailabilityZones sets the AvailabilityZones field's value.
+func (s *DescribeAvailabilityZonesOutput) SetAvailabilityZones(v []*AvailabilityZone) *DescribeAvailabilityZonesOutput {
+ s.AvailabilityZones = v
+ return s
+}
+
// Contains the parameters for DescribeBundleTasks.
type DescribeBundleTasksInput struct {
_ struct{} `type:"structure"`
@@ -20297,6 +22739,24 @@ func (s DescribeBundleTasksInput) GoString() string {
return s.String()
}
+// SetBundleIds sets the BundleIds field's value.
+func (s *DescribeBundleTasksInput) SetBundleIds(v []*string) *DescribeBundleTasksInput {
+ s.BundleIds = v
+ return s
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *DescribeBundleTasksInput) SetDryRun(v bool) *DescribeBundleTasksInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetFilters sets the Filters field's value.
+func (s *DescribeBundleTasksInput) SetFilters(v []*Filter) *DescribeBundleTasksInput {
+ s.Filters = v
+ return s
+}
+
// Contains the output of DescribeBundleTasks.
type DescribeBundleTasksOutput struct {
_ struct{} `type:"structure"`
@@ -20315,6 +22775,12 @@ func (s DescribeBundleTasksOutput) GoString() string {
return s.String()
}
+// SetBundleTasks sets the BundleTasks field's value.
+func (s *DescribeBundleTasksOutput) SetBundleTasks(v []*BundleTask) *DescribeBundleTasksOutput {
+ s.BundleTasks = v
+ return s
+}
+
// Contains the parameters for DescribeClassicLinkInstances.
type DescribeClassicLinkInstancesInput struct {
_ struct{} `type:"structure"`
@@ -20375,6 +22841,36 @@ func (s DescribeClassicLinkInstancesInput) GoString() string {
return s.String()
}
+// SetDryRun sets the DryRun field's value.
+func (s *DescribeClassicLinkInstancesInput) SetDryRun(v bool) *DescribeClassicLinkInstancesInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetFilters sets the Filters field's value.
+func (s *DescribeClassicLinkInstancesInput) SetFilters(v []*Filter) *DescribeClassicLinkInstancesInput {
+ s.Filters = v
+ return s
+}
+
+// SetInstanceIds sets the InstanceIds field's value.
+func (s *DescribeClassicLinkInstancesInput) SetInstanceIds(v []*string) *DescribeClassicLinkInstancesInput {
+ s.InstanceIds = v
+ return s
+}
+
+// SetMaxResults sets the MaxResults field's value.
+func (s *DescribeClassicLinkInstancesInput) SetMaxResults(v int64) *DescribeClassicLinkInstancesInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeClassicLinkInstancesInput) SetNextToken(v string) *DescribeClassicLinkInstancesInput {
+ s.NextToken = &v
+ return s
+}
+
// Contains the output of DescribeClassicLinkInstances.
type DescribeClassicLinkInstancesOutput struct {
_ struct{} `type:"structure"`
@@ -20397,6 +22893,18 @@ func (s DescribeClassicLinkInstancesOutput) GoString() string {
return s.String()
}
+// SetInstances sets the Instances field's value.
+func (s *DescribeClassicLinkInstancesOutput) SetInstances(v []*ClassicLinkInstance) *DescribeClassicLinkInstancesOutput {
+ s.Instances = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeClassicLinkInstancesOutput) SetNextToken(v string) *DescribeClassicLinkInstancesOutput {
+ s.NextToken = &v
+ return s
+}
+
// Contains the parameters for DescribeConversionTasks.
type DescribeConversionTasksInput struct {
_ struct{} `type:"structure"`
@@ -20421,6 +22929,18 @@ func (s DescribeConversionTasksInput) GoString() string {
return s.String()
}
+// SetConversionTaskIds sets the ConversionTaskIds field's value.
+func (s *DescribeConversionTasksInput) SetConversionTaskIds(v []*string) *DescribeConversionTasksInput {
+ s.ConversionTaskIds = v
+ return s
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *DescribeConversionTasksInput) SetDryRun(v bool) *DescribeConversionTasksInput {
+ s.DryRun = &v
+ return s
+}
+
// Contains the output for DescribeConversionTasks.
type DescribeConversionTasksOutput struct {
_ struct{} `type:"structure"`
@@ -20439,6 +22959,12 @@ func (s DescribeConversionTasksOutput) GoString() string {
return s.String()
}
+// SetConversionTasks sets the ConversionTasks field's value.
+func (s *DescribeConversionTasksOutput) SetConversionTasks(v []*ConversionTask) *DescribeConversionTasksOutput {
+ s.ConversionTasks = v
+ return s
+}
+
// Contains the parameters for DescribeCustomerGateways.
type DescribeCustomerGatewaysInput struct {
_ struct{} `type:"structure"`
@@ -20495,6 +23021,24 @@ func (s DescribeCustomerGatewaysInput) GoString() string {
return s.String()
}
+// SetCustomerGatewayIds sets the CustomerGatewayIds field's value.
+func (s *DescribeCustomerGatewaysInput) SetCustomerGatewayIds(v []*string) *DescribeCustomerGatewaysInput {
+ s.CustomerGatewayIds = v
+ return s
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *DescribeCustomerGatewaysInput) SetDryRun(v bool) *DescribeCustomerGatewaysInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetFilters sets the Filters field's value.
+func (s *DescribeCustomerGatewaysInput) SetFilters(v []*Filter) *DescribeCustomerGatewaysInput {
+ s.Filters = v
+ return s
+}
+
// Contains the output of DescribeCustomerGateways.
type DescribeCustomerGatewaysOutput struct {
_ struct{} `type:"structure"`
@@ -20513,6 +23057,12 @@ func (s DescribeCustomerGatewaysOutput) GoString() string {
return s.String()
}
+// SetCustomerGateways sets the CustomerGateways field's value.
+func (s *DescribeCustomerGatewaysOutput) SetCustomerGateways(v []*CustomerGateway) *DescribeCustomerGatewaysOutput {
+ s.CustomerGateways = v
+ return s
+}
+
// Contains the parameters for DescribeDhcpOptions.
type DescribeDhcpOptionsInput struct {
_ struct{} `type:"structure"`
@@ -20561,6 +23111,24 @@ func (s DescribeDhcpOptionsInput) GoString() string {
return s.String()
}
+// SetDhcpOptionsIds sets the DhcpOptionsIds field's value.
+func (s *DescribeDhcpOptionsInput) SetDhcpOptionsIds(v []*string) *DescribeDhcpOptionsInput {
+ s.DhcpOptionsIds = v
+ return s
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *DescribeDhcpOptionsInput) SetDryRun(v bool) *DescribeDhcpOptionsInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetFilters sets the Filters field's value.
+func (s *DescribeDhcpOptionsInput) SetFilters(v []*Filter) *DescribeDhcpOptionsInput {
+ s.Filters = v
+ return s
+}
+
// Contains the output of DescribeDhcpOptions.
type DescribeDhcpOptionsOutput struct {
_ struct{} `type:"structure"`
@@ -20579,6 +23147,12 @@ func (s DescribeDhcpOptionsOutput) GoString() string {
return s.String()
}
+// SetDhcpOptions sets the DhcpOptions field's value.
+func (s *DescribeDhcpOptionsOutput) SetDhcpOptions(v []*DhcpOptions) *DescribeDhcpOptionsOutput {
+ s.DhcpOptions = v
+ return s
+}
+
// Contains the parameters for DescribeExportTasks.
type DescribeExportTasksInput struct {
_ struct{} `type:"structure"`
@@ -20597,6 +23171,12 @@ func (s DescribeExportTasksInput) GoString() string {
return s.String()
}
+// SetExportTaskIds sets the ExportTaskIds field's value.
+func (s *DescribeExportTasksInput) SetExportTaskIds(v []*string) *DescribeExportTasksInput {
+ s.ExportTaskIds = v
+ return s
+}
+
// Contains the output for DescribeExportTasks.
type DescribeExportTasksOutput struct {
_ struct{} `type:"structure"`
@@ -20615,6 +23195,12 @@ func (s DescribeExportTasksOutput) GoString() string {
return s.String()
}
+// SetExportTasks sets the ExportTasks field's value.
+func (s *DescribeExportTasksOutput) SetExportTasks(v []*ExportTask) *DescribeExportTasksOutput {
+ s.ExportTasks = v
+ return s
+}
+
// Contains the parameters for DescribeFlowLogs.
type DescribeFlowLogsInput struct {
_ struct{} `type:"structure"`
@@ -20656,6 +23242,30 @@ func (s DescribeFlowLogsInput) GoString() string {
return s.String()
}
+// SetFilter sets the Filter field's value.
+func (s *DescribeFlowLogsInput) SetFilter(v []*Filter) *DescribeFlowLogsInput {
+ s.Filter = v
+ return s
+}
+
+// SetFlowLogIds sets the FlowLogIds field's value.
+func (s *DescribeFlowLogsInput) SetFlowLogIds(v []*string) *DescribeFlowLogsInput {
+ s.FlowLogIds = v
+ return s
+}
+
+// SetMaxResults sets the MaxResults field's value.
+func (s *DescribeFlowLogsInput) SetMaxResults(v int64) *DescribeFlowLogsInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeFlowLogsInput) SetNextToken(v string) *DescribeFlowLogsInput {
+ s.NextToken = &v
+ return s
+}
+
// Contains the output of DescribeFlowLogs.
type DescribeFlowLogsOutput struct {
_ struct{} `type:"structure"`
@@ -20678,6 +23288,18 @@ func (s DescribeFlowLogsOutput) GoString() string {
return s.String()
}
+// SetFlowLogs sets the FlowLogs field's value.
+func (s *DescribeFlowLogsOutput) SetFlowLogs(v []*FlowLog) *DescribeFlowLogsOutput {
+ s.FlowLogs = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeFlowLogsOutput) SetNextToken(v string) *DescribeFlowLogsOutput {
+ s.NextToken = &v
+ return s
+}
+
type DescribeHostReservationOfferingsInput struct {
_ struct{} `type:"structure"`
@@ -20726,6 +23348,42 @@ func (s DescribeHostReservationOfferingsInput) GoString() string {
return s.String()
}
+// SetFilter sets the Filter field's value.
+func (s *DescribeHostReservationOfferingsInput) SetFilter(v []*Filter) *DescribeHostReservationOfferingsInput {
+ s.Filter = v
+ return s
+}
+
+// SetMaxDuration sets the MaxDuration field's value.
+func (s *DescribeHostReservationOfferingsInput) SetMaxDuration(v int64) *DescribeHostReservationOfferingsInput {
+ s.MaxDuration = &v
+ return s
+}
+
+// SetMaxResults sets the MaxResults field's value.
+func (s *DescribeHostReservationOfferingsInput) SetMaxResults(v int64) *DescribeHostReservationOfferingsInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetMinDuration sets the MinDuration field's value.
+func (s *DescribeHostReservationOfferingsInput) SetMinDuration(v int64) *DescribeHostReservationOfferingsInput {
+ s.MinDuration = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeHostReservationOfferingsInput) SetNextToken(v string) *DescribeHostReservationOfferingsInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetOfferingId sets the OfferingId field's value.
+func (s *DescribeHostReservationOfferingsInput) SetOfferingId(v string) *DescribeHostReservationOfferingsInput {
+ s.OfferingId = &v
+ return s
+}
+
type DescribeHostReservationOfferingsOutput struct {
_ struct{} `type:"structure"`
@@ -20747,6 +23405,18 @@ func (s DescribeHostReservationOfferingsOutput) GoString() string {
return s.String()
}
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeHostReservationOfferingsOutput) SetNextToken(v string) *DescribeHostReservationOfferingsOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetOfferingSet sets the OfferingSet field's value.
+func (s *DescribeHostReservationOfferingsOutput) SetOfferingSet(v []*HostOffering) *DescribeHostReservationOfferingsOutput {
+ s.OfferingSet = v
+ return s
+}
+
type DescribeHostReservationsInput struct {
_ struct{} `type:"structure"`
@@ -20784,6 +23454,30 @@ func (s DescribeHostReservationsInput) GoString() string {
return s.String()
}
+// SetFilter sets the Filter field's value.
+func (s *DescribeHostReservationsInput) SetFilter(v []*Filter) *DescribeHostReservationsInput {
+ s.Filter = v
+ return s
+}
+
+// SetHostReservationIdSet sets the HostReservationIdSet field's value.
+func (s *DescribeHostReservationsInput) SetHostReservationIdSet(v []*string) *DescribeHostReservationsInput {
+ s.HostReservationIdSet = v
+ return s
+}
+
+// SetMaxResults sets the MaxResults field's value.
+func (s *DescribeHostReservationsInput) SetMaxResults(v int64) *DescribeHostReservationsInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeHostReservationsInput) SetNextToken(v string) *DescribeHostReservationsInput {
+ s.NextToken = &v
+ return s
+}
+
type DescribeHostReservationsOutput struct {
_ struct{} `type:"structure"`
@@ -20805,6 +23499,18 @@ func (s DescribeHostReservationsOutput) GoString() string {
return s.String()
}
+// SetHostReservationSet sets the HostReservationSet field's value.
+func (s *DescribeHostReservationsOutput) SetHostReservationSet(v []*HostReservation) *DescribeHostReservationsOutput {
+ s.HostReservationSet = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeHostReservationsOutput) SetNextToken(v string) *DescribeHostReservationsOutput {
+ s.NextToken = &v
+ return s
+}
+
// Contains the parameters for DescribeHosts.
type DescribeHostsInput struct {
_ struct{} `type:"structure"`
@@ -20852,6 +23558,30 @@ func (s DescribeHostsInput) GoString() string {
return s.String()
}
+// SetFilter sets the Filter field's value.
+func (s *DescribeHostsInput) SetFilter(v []*Filter) *DescribeHostsInput {
+ s.Filter = v
+ return s
+}
+
+// SetHostIds sets the HostIds field's value.
+func (s *DescribeHostsInput) SetHostIds(v []*string) *DescribeHostsInput {
+ s.HostIds = v
+ return s
+}
+
+// SetMaxResults sets the MaxResults field's value.
+func (s *DescribeHostsInput) SetMaxResults(v int64) *DescribeHostsInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeHostsInput) SetNextToken(v string) *DescribeHostsInput {
+ s.NextToken = &v
+ return s
+}
+
// Contains the output of DescribeHosts.
type DescribeHostsOutput struct {
_ struct{} `type:"structure"`
@@ -20874,6 +23604,18 @@ func (s DescribeHostsOutput) GoString() string {
return s.String()
}
+// SetHosts sets the Hosts field's value.
+func (s *DescribeHostsOutput) SetHosts(v []*Host) *DescribeHostsOutput {
+ s.Hosts = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeHostsOutput) SetNextToken(v string) *DescribeHostsOutput {
+ s.NextToken = &v
+ return s
+}
+
// Contains the parameters for DescribeIdFormat.
type DescribeIdFormatInput struct {
_ struct{} `type:"structure"`
@@ -20892,6 +23634,12 @@ func (s DescribeIdFormatInput) GoString() string {
return s.String()
}
+// SetResource sets the Resource field's value.
+func (s *DescribeIdFormatInput) SetResource(v string) *DescribeIdFormatInput {
+ s.Resource = &v
+ return s
+}
+
// Contains the output of DescribeIdFormat.
type DescribeIdFormatOutput struct {
_ struct{} `type:"structure"`
@@ -20910,6 +23658,12 @@ func (s DescribeIdFormatOutput) GoString() string {
return s.String()
}
+// SetStatuses sets the Statuses field's value.
+func (s *DescribeIdFormatOutput) SetStatuses(v []*IdFormat) *DescribeIdFormatOutput {
+ s.Statuses = v
+ return s
+}
+
// Contains the parameters for DescribeIdentityIdFormat.
type DescribeIdentityIdFormatInput struct {
_ struct{} `type:"structure"`
@@ -20947,6 +23701,18 @@ func (s *DescribeIdentityIdFormatInput) Validate() error {
return nil
}
+// SetPrincipalArn sets the PrincipalArn field's value.
+func (s *DescribeIdentityIdFormatInput) SetPrincipalArn(v string) *DescribeIdentityIdFormatInput {
+ s.PrincipalArn = &v
+ return s
+}
+
+// SetResource sets the Resource field's value.
+func (s *DescribeIdentityIdFormatInput) SetResource(v string) *DescribeIdentityIdFormatInput {
+ s.Resource = &v
+ return s
+}
+
// Contains the output of DescribeIdentityIdFormat.
type DescribeIdentityIdFormatOutput struct {
_ struct{} `type:"structure"`
@@ -20965,6 +23731,12 @@ func (s DescribeIdentityIdFormatOutput) GoString() string {
return s.String()
}
+// SetStatuses sets the Statuses field's value.
+func (s *DescribeIdentityIdFormatOutput) SetStatuses(v []*IdFormat) *DescribeIdentityIdFormatOutput {
+ s.Statuses = v
+ return s
+}
+
// Contains the parameters for DescribeImageAttribute.
type DescribeImageAttributeInput struct {
_ struct{} `type:"structure"`
@@ -21016,6 +23788,24 @@ func (s *DescribeImageAttributeInput) Validate() error {
return nil
}
+// SetAttribute sets the Attribute field's value.
+func (s *DescribeImageAttributeInput) SetAttribute(v string) *DescribeImageAttributeInput {
+ s.Attribute = &v
+ return s
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *DescribeImageAttributeInput) SetDryRun(v bool) *DescribeImageAttributeInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetImageId sets the ImageId field's value.
+func (s *DescribeImageAttributeInput) SetImageId(v string) *DescribeImageAttributeInput {
+ s.ImageId = &v
+ return s
+}
+
// Describes an image attribute.
type DescribeImageAttributeOutput struct {
_ struct{} `type:"structure"`
@@ -21056,6 +23846,54 @@ func (s DescribeImageAttributeOutput) GoString() string {
return s.String()
}
+// SetBlockDeviceMappings sets the BlockDeviceMappings field's value.
+func (s *DescribeImageAttributeOutput) SetBlockDeviceMappings(v []*BlockDeviceMapping) *DescribeImageAttributeOutput {
+ s.BlockDeviceMappings = v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *DescribeImageAttributeOutput) SetDescription(v *AttributeValue) *DescribeImageAttributeOutput {
+ s.Description = v
+ return s
+}
+
+// SetImageId sets the ImageId field's value.
+func (s *DescribeImageAttributeOutput) SetImageId(v string) *DescribeImageAttributeOutput {
+ s.ImageId = &v
+ return s
+}
+
+// SetKernelId sets the KernelId field's value.
+func (s *DescribeImageAttributeOutput) SetKernelId(v *AttributeValue) *DescribeImageAttributeOutput {
+ s.KernelId = v
+ return s
+}
+
+// SetLaunchPermissions sets the LaunchPermissions field's value.
+func (s *DescribeImageAttributeOutput) SetLaunchPermissions(v []*LaunchPermission) *DescribeImageAttributeOutput {
+ s.LaunchPermissions = v
+ return s
+}
+
+// SetProductCodes sets the ProductCodes field's value.
+func (s *DescribeImageAttributeOutput) SetProductCodes(v []*ProductCode) *DescribeImageAttributeOutput {
+ s.ProductCodes = v
+ return s
+}
+
+// SetRamdiskId sets the RamdiskId field's value.
+func (s *DescribeImageAttributeOutput) SetRamdiskId(v *AttributeValue) *DescribeImageAttributeOutput {
+ s.RamdiskId = v
+ return s
+}
+
+// SetSriovNetSupport sets the SriovNetSupport field's value.
+func (s *DescribeImageAttributeOutput) SetSriovNetSupport(v *AttributeValue) *DescribeImageAttributeOutput {
+ s.SriovNetSupport = v
+ return s
+}
+
// Contains the parameters for DescribeImages.
type DescribeImagesInput struct {
_ struct{} `type:"structure"`
@@ -21168,6 +24006,36 @@ func (s DescribeImagesInput) GoString() string {
return s.String()
}
+// SetDryRun sets the DryRun field's value.
+func (s *DescribeImagesInput) SetDryRun(v bool) *DescribeImagesInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetExecutableUsers sets the ExecutableUsers field's value.
+func (s *DescribeImagesInput) SetExecutableUsers(v []*string) *DescribeImagesInput {
+ s.ExecutableUsers = v
+ return s
+}
+
+// SetFilters sets the Filters field's value.
+func (s *DescribeImagesInput) SetFilters(v []*Filter) *DescribeImagesInput {
+ s.Filters = v
+ return s
+}
+
+// SetImageIds sets the ImageIds field's value.
+func (s *DescribeImagesInput) SetImageIds(v []*string) *DescribeImagesInput {
+ s.ImageIds = v
+ return s
+}
+
+// SetOwners sets the Owners field's value.
+func (s *DescribeImagesInput) SetOwners(v []*string) *DescribeImagesInput {
+ s.Owners = v
+ return s
+}
+
// Contains the output of DescribeImages.
type DescribeImagesOutput struct {
_ struct{} `type:"structure"`
@@ -21186,6 +24054,12 @@ func (s DescribeImagesOutput) GoString() string {
return s.String()
}
+// SetImages sets the Images field's value.
+func (s *DescribeImagesOutput) SetImages(v []*Image) *DescribeImagesOutput {
+ s.Images = v
+ return s
+}
+
// Contains the parameters for DescribeImportImageTasks.
type DescribeImportImageTasksInput struct {
_ struct{} `type:"structure"`
@@ -21221,6 +24095,36 @@ func (s DescribeImportImageTasksInput) GoString() string {
return s.String()
}
+// SetDryRun sets the DryRun field's value.
+func (s *DescribeImportImageTasksInput) SetDryRun(v bool) *DescribeImportImageTasksInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetFilters sets the Filters field's value.
+func (s *DescribeImportImageTasksInput) SetFilters(v []*Filter) *DescribeImportImageTasksInput {
+ s.Filters = v
+ return s
+}
+
+// SetImportTaskIds sets the ImportTaskIds field's value.
+func (s *DescribeImportImageTasksInput) SetImportTaskIds(v []*string) *DescribeImportImageTasksInput {
+ s.ImportTaskIds = v
+ return s
+}
+
+// SetMaxResults sets the MaxResults field's value.
+func (s *DescribeImportImageTasksInput) SetMaxResults(v int64) *DescribeImportImageTasksInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeImportImageTasksInput) SetNextToken(v string) *DescribeImportImageTasksInput {
+ s.NextToken = &v
+ return s
+}
+
// Contains the output for DescribeImportImageTasks.
type DescribeImportImageTasksOutput struct {
_ struct{} `type:"structure"`
@@ -21244,6 +24148,18 @@ func (s DescribeImportImageTasksOutput) GoString() string {
return s.String()
}
+// SetImportImageTasks sets the ImportImageTasks field's value.
+func (s *DescribeImportImageTasksOutput) SetImportImageTasks(v []*ImportImageTask) *DescribeImportImageTasksOutput {
+ s.ImportImageTasks = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeImportImageTasksOutput) SetNextToken(v string) *DescribeImportImageTasksOutput {
+ s.NextToken = &v
+ return s
+}
+
// Contains the parameters for DescribeImportSnapshotTasks.
type DescribeImportSnapshotTasksInput struct {
_ struct{} `type:"structure"`
@@ -21278,6 +24194,36 @@ func (s DescribeImportSnapshotTasksInput) GoString() string {
return s.String()
}
+// SetDryRun sets the DryRun field's value.
+func (s *DescribeImportSnapshotTasksInput) SetDryRun(v bool) *DescribeImportSnapshotTasksInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetFilters sets the Filters field's value.
+func (s *DescribeImportSnapshotTasksInput) SetFilters(v []*Filter) *DescribeImportSnapshotTasksInput {
+ s.Filters = v
+ return s
+}
+
+// SetImportTaskIds sets the ImportTaskIds field's value.
+func (s *DescribeImportSnapshotTasksInput) SetImportTaskIds(v []*string) *DescribeImportSnapshotTasksInput {
+ s.ImportTaskIds = v
+ return s
+}
+
+// SetMaxResults sets the MaxResults field's value.
+func (s *DescribeImportSnapshotTasksInput) SetMaxResults(v int64) *DescribeImportSnapshotTasksInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeImportSnapshotTasksInput) SetNextToken(v string) *DescribeImportSnapshotTasksInput {
+ s.NextToken = &v
+ return s
+}
+
// Contains the output for DescribeImportSnapshotTasks.
type DescribeImportSnapshotTasksOutput struct {
_ struct{} `type:"structure"`
@@ -21301,6 +24247,18 @@ func (s DescribeImportSnapshotTasksOutput) GoString() string {
return s.String()
}
+// SetImportSnapshotTasks sets the ImportSnapshotTasks field's value.
+func (s *DescribeImportSnapshotTasksOutput) SetImportSnapshotTasks(v []*ImportSnapshotTask) *DescribeImportSnapshotTasksOutput {
+ s.ImportSnapshotTasks = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeImportSnapshotTasksOutput) SetNextToken(v string) *DescribeImportSnapshotTasksOutput {
+ s.NextToken = &v
+ return s
+}
+
// Contains the parameters for DescribeInstanceAttribute.
type DescribeInstanceAttributeInput struct {
_ struct{} `type:"structure"`
@@ -21350,6 +24308,24 @@ func (s *DescribeInstanceAttributeInput) Validate() error {
return nil
}
+// SetAttribute sets the Attribute field's value.
+func (s *DescribeInstanceAttributeInput) SetAttribute(v string) *DescribeInstanceAttributeInput {
+ s.Attribute = &v
+ return s
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *DescribeInstanceAttributeInput) SetDryRun(v bool) *DescribeInstanceAttributeInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetInstanceId sets the InstanceId field's value.
+func (s *DescribeInstanceAttributeInput) SetInstanceId(v string) *DescribeInstanceAttributeInput {
+ s.InstanceId = &v
+ return s
+}
+
// Describes an instance attribute.
type DescribeInstanceAttributeOutput struct {
_ struct{} `type:"structure"`
@@ -21415,28 +24391,118 @@ func (s DescribeInstanceAttributeOutput) GoString() string {
return s.String()
}
-// Contains the parameters for DescribeInstanceStatus.
-type DescribeInstanceStatusInput struct {
- _ struct{} `type:"structure"`
+// SetBlockDeviceMappings sets the BlockDeviceMappings field's value.
+func (s *DescribeInstanceAttributeOutput) SetBlockDeviceMappings(v []*InstanceBlockDeviceMapping) *DescribeInstanceAttributeOutput {
+ s.BlockDeviceMappings = v
+ return s
+}
- // 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 `locationName:"dryRun" type:"boolean"`
+// SetDisableApiTermination sets the DisableApiTermination field's value.
+func (s *DescribeInstanceAttributeOutput) SetDisableApiTermination(v *AttributeBooleanValue) *DescribeInstanceAttributeOutput {
+ s.DisableApiTermination = v
+ return s
+}
- // One or more filters.
- //
- // * availability-zone - The Availability Zone of the instance.
- //
- // * event.code - The code for the scheduled event (instance-reboot | system-reboot
- // | system-maintenance | instance-retirement | instance-stop).
- //
- // * event.description - A description of the event.
- //
- // * event.not-after - The latest end time for the scheduled event (for example,
- // 2014-09-15T17:15:20.000Z).
- //
+// SetEbsOptimized sets the EbsOptimized field's value.
+func (s *DescribeInstanceAttributeOutput) SetEbsOptimized(v *AttributeBooleanValue) *DescribeInstanceAttributeOutput {
+ s.EbsOptimized = v
+ return s
+}
+
+// SetEnaSupport sets the EnaSupport field's value.
+func (s *DescribeInstanceAttributeOutput) SetEnaSupport(v *AttributeBooleanValue) *DescribeInstanceAttributeOutput {
+ s.EnaSupport = v
+ return s
+}
+
+// SetGroups sets the Groups field's value.
+func (s *DescribeInstanceAttributeOutput) SetGroups(v []*GroupIdentifier) *DescribeInstanceAttributeOutput {
+ s.Groups = v
+ return s
+}
+
+// SetInstanceId sets the InstanceId field's value.
+func (s *DescribeInstanceAttributeOutput) SetInstanceId(v string) *DescribeInstanceAttributeOutput {
+ s.InstanceId = &v
+ return s
+}
+
+// SetInstanceInitiatedShutdownBehavior sets the InstanceInitiatedShutdownBehavior field's value.
+func (s *DescribeInstanceAttributeOutput) SetInstanceInitiatedShutdownBehavior(v *AttributeValue) *DescribeInstanceAttributeOutput {
+ s.InstanceInitiatedShutdownBehavior = v
+ return s
+}
+
+// SetInstanceType sets the InstanceType field's value.
+func (s *DescribeInstanceAttributeOutput) SetInstanceType(v *AttributeValue) *DescribeInstanceAttributeOutput {
+ s.InstanceType = v
+ return s
+}
+
+// SetKernelId sets the KernelId field's value.
+func (s *DescribeInstanceAttributeOutput) SetKernelId(v *AttributeValue) *DescribeInstanceAttributeOutput {
+ s.KernelId = v
+ return s
+}
+
+// SetProductCodes sets the ProductCodes field's value.
+func (s *DescribeInstanceAttributeOutput) SetProductCodes(v []*ProductCode) *DescribeInstanceAttributeOutput {
+ s.ProductCodes = v
+ return s
+}
+
+// SetRamdiskId sets the RamdiskId field's value.
+func (s *DescribeInstanceAttributeOutput) SetRamdiskId(v *AttributeValue) *DescribeInstanceAttributeOutput {
+ s.RamdiskId = v
+ return s
+}
+
+// SetRootDeviceName sets the RootDeviceName field's value.
+func (s *DescribeInstanceAttributeOutput) SetRootDeviceName(v *AttributeValue) *DescribeInstanceAttributeOutput {
+ s.RootDeviceName = v
+ return s
+}
+
+// SetSourceDestCheck sets the SourceDestCheck field's value.
+func (s *DescribeInstanceAttributeOutput) SetSourceDestCheck(v *AttributeBooleanValue) *DescribeInstanceAttributeOutput {
+ s.SourceDestCheck = v
+ return s
+}
+
+// SetSriovNetSupport sets the SriovNetSupport field's value.
+func (s *DescribeInstanceAttributeOutput) SetSriovNetSupport(v *AttributeValue) *DescribeInstanceAttributeOutput {
+ s.SriovNetSupport = v
+ return s
+}
+
+// SetUserData sets the UserData field's value.
+func (s *DescribeInstanceAttributeOutput) SetUserData(v *AttributeValue) *DescribeInstanceAttributeOutput {
+ s.UserData = v
+ return s
+}
+
+// Contains the parameters for DescribeInstanceStatus.
+type DescribeInstanceStatusInput 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 `locationName:"dryRun" type:"boolean"`
+
+ // One or more filters.
+ //
+ // * availability-zone - The Availability Zone of the instance.
+ //
+ // * event.code - The code for the scheduled event (instance-reboot | system-reboot
+ // | system-maintenance | instance-retirement | instance-stop).
+ //
+ // * event.description - A description of the event.
+ //
+ // * event.not-after - The latest end time for the scheduled event (for example,
+ // 2014-09-15T17:15:20.000Z).
+ //
// * event.not-before - The earliest start time for the scheduled event (for
// example, 2014-09-15T17:15:20.000Z).
//
@@ -21495,6 +24561,42 @@ func (s DescribeInstanceStatusInput) GoString() string {
return s.String()
}
+// SetDryRun sets the DryRun field's value.
+func (s *DescribeInstanceStatusInput) SetDryRun(v bool) *DescribeInstanceStatusInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetFilters sets the Filters field's value.
+func (s *DescribeInstanceStatusInput) SetFilters(v []*Filter) *DescribeInstanceStatusInput {
+ s.Filters = v
+ return s
+}
+
+// SetIncludeAllInstances sets the IncludeAllInstances field's value.
+func (s *DescribeInstanceStatusInput) SetIncludeAllInstances(v bool) *DescribeInstanceStatusInput {
+ s.IncludeAllInstances = &v
+ return s
+}
+
+// SetInstanceIds sets the InstanceIds field's value.
+func (s *DescribeInstanceStatusInput) SetInstanceIds(v []*string) *DescribeInstanceStatusInput {
+ s.InstanceIds = v
+ return s
+}
+
+// SetMaxResults sets the MaxResults field's value.
+func (s *DescribeInstanceStatusInput) SetMaxResults(v int64) *DescribeInstanceStatusInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeInstanceStatusInput) SetNextToken(v string) *DescribeInstanceStatusInput {
+ s.NextToken = &v
+ return s
+}
+
// Contains the output of DescribeInstanceStatus.
type DescribeInstanceStatusOutput struct {
_ struct{} `type:"structure"`
@@ -21517,6 +24619,18 @@ func (s DescribeInstanceStatusOutput) GoString() string {
return s.String()
}
+// SetInstanceStatuses sets the InstanceStatuses field's value.
+func (s *DescribeInstanceStatusOutput) SetInstanceStatuses(v []*InstanceStatus) *DescribeInstanceStatusOutput {
+ s.InstanceStatuses = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeInstanceStatusOutput) SetNextToken(v string) *DescribeInstanceStatusOutput {
+ s.NextToken = &v
+ return s
+}
+
// Contains the parameters for DescribeInstances.
type DescribeInstancesInput struct {
_ struct{} `type:"structure"`
@@ -21789,6 +24903,36 @@ func (s DescribeInstancesInput) GoString() string {
return s.String()
}
+// SetDryRun sets the DryRun field's value.
+func (s *DescribeInstancesInput) SetDryRun(v bool) *DescribeInstancesInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetFilters sets the Filters field's value.
+func (s *DescribeInstancesInput) SetFilters(v []*Filter) *DescribeInstancesInput {
+ s.Filters = v
+ return s
+}
+
+// SetInstanceIds sets the InstanceIds field's value.
+func (s *DescribeInstancesInput) SetInstanceIds(v []*string) *DescribeInstancesInput {
+ s.InstanceIds = v
+ return s
+}
+
+// SetMaxResults sets the MaxResults field's value.
+func (s *DescribeInstancesInput) SetMaxResults(v int64) *DescribeInstancesInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeInstancesInput) SetNextToken(v string) *DescribeInstancesInput {
+ s.NextToken = &v
+ return s
+}
+
// Contains the output of DescribeInstances.
type DescribeInstancesOutput struct {
_ struct{} `type:"structure"`
@@ -21811,6 +24955,18 @@ func (s DescribeInstancesOutput) GoString() string {
return s.String()
}
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeInstancesOutput) SetNextToken(v string) *DescribeInstancesOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetReservations sets the Reservations field's value.
+func (s *DescribeInstancesOutput) SetReservations(v []*Reservation) *DescribeInstancesOutput {
+ s.Reservations = v
+ return s
+}
+
// Contains the parameters for DescribeInternetGateways.
type DescribeInternetGatewaysInput struct {
_ struct{} `type:"structure"`
@@ -21860,6 +25016,24 @@ func (s DescribeInternetGatewaysInput) GoString() string {
return s.String()
}
+// SetDryRun sets the DryRun field's value.
+func (s *DescribeInternetGatewaysInput) SetDryRun(v bool) *DescribeInternetGatewaysInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetFilters sets the Filters field's value.
+func (s *DescribeInternetGatewaysInput) SetFilters(v []*Filter) *DescribeInternetGatewaysInput {
+ s.Filters = v
+ return s
+}
+
+// SetInternetGatewayIds sets the InternetGatewayIds field's value.
+func (s *DescribeInternetGatewaysInput) SetInternetGatewayIds(v []*string) *DescribeInternetGatewaysInput {
+ s.InternetGatewayIds = v
+ return s
+}
+
// Contains the output of DescribeInternetGateways.
type DescribeInternetGatewaysOutput struct {
_ struct{} `type:"structure"`
@@ -21878,6 +25052,12 @@ func (s DescribeInternetGatewaysOutput) GoString() string {
return s.String()
}
+// SetInternetGateways sets the InternetGateways field's value.
+func (s *DescribeInternetGatewaysOutput) SetInternetGateways(v []*InternetGateway) *DescribeInternetGatewaysOutput {
+ s.InternetGateways = v
+ return s
+}
+
// Contains the parameters for DescribeKeyPairs.
type DescribeKeyPairsInput struct {
_ struct{} `type:"structure"`
@@ -21911,6 +25091,24 @@ func (s DescribeKeyPairsInput) GoString() string {
return s.String()
}
+// SetDryRun sets the DryRun field's value.
+func (s *DescribeKeyPairsInput) SetDryRun(v bool) *DescribeKeyPairsInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetFilters sets the Filters field's value.
+func (s *DescribeKeyPairsInput) SetFilters(v []*Filter) *DescribeKeyPairsInput {
+ s.Filters = v
+ return s
+}
+
+// SetKeyNames sets the KeyNames field's value.
+func (s *DescribeKeyPairsInput) SetKeyNames(v []*string) *DescribeKeyPairsInput {
+ s.KeyNames = v
+ return s
+}
+
// Contains the output of DescribeKeyPairs.
type DescribeKeyPairsOutput struct {
_ struct{} `type:"structure"`
@@ -21929,6 +25127,12 @@ func (s DescribeKeyPairsOutput) GoString() string {
return s.String()
}
+// SetKeyPairs sets the KeyPairs field's value.
+func (s *DescribeKeyPairsOutput) SetKeyPairs(v []*KeyPairInfo) *DescribeKeyPairsOutput {
+ s.KeyPairs = v
+ return s
+}
+
// Contains the parameters for DescribeMovingAddresses.
type DescribeMovingAddressesInput struct {
_ struct{} `type:"structure"`
@@ -21970,6 +25174,36 @@ func (s DescribeMovingAddressesInput) GoString() string {
return s.String()
}
+// SetDryRun sets the DryRun field's value.
+func (s *DescribeMovingAddressesInput) SetDryRun(v bool) *DescribeMovingAddressesInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetFilters sets the Filters field's value.
+func (s *DescribeMovingAddressesInput) SetFilters(v []*Filter) *DescribeMovingAddressesInput {
+ s.Filters = v
+ return s
+}
+
+// SetMaxResults sets the MaxResults field's value.
+func (s *DescribeMovingAddressesInput) SetMaxResults(v int64) *DescribeMovingAddressesInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeMovingAddressesInput) SetNextToken(v string) *DescribeMovingAddressesInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetPublicIps sets the PublicIps field's value.
+func (s *DescribeMovingAddressesInput) SetPublicIps(v []*string) *DescribeMovingAddressesInput {
+ s.PublicIps = v
+ return s
+}
+
// Contains the output of DescribeMovingAddresses.
type DescribeMovingAddressesOutput struct {
_ struct{} `type:"structure"`
@@ -21992,6 +25226,18 @@ func (s DescribeMovingAddressesOutput) GoString() string {
return s.String()
}
+// SetMovingAddressStatuses sets the MovingAddressStatuses field's value.
+func (s *DescribeMovingAddressesOutput) SetMovingAddressStatuses(v []*MovingAddressStatus) *DescribeMovingAddressesOutput {
+ s.MovingAddressStatuses = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeMovingAddressesOutput) SetNextToken(v string) *DescribeMovingAddressesOutput {
+ s.NextToken = &v
+ return s
+}
+
// Contains the parameters for DescribeNatGateways.
type DescribeNatGatewaysInput struct {
_ struct{} `type:"structure"`
@@ -22033,6 +25279,30 @@ func (s DescribeNatGatewaysInput) GoString() string {
return s.String()
}
+// SetFilter sets the Filter field's value.
+func (s *DescribeNatGatewaysInput) SetFilter(v []*Filter) *DescribeNatGatewaysInput {
+ s.Filter = v
+ return s
+}
+
+// SetMaxResults sets the MaxResults field's value.
+func (s *DescribeNatGatewaysInput) SetMaxResults(v int64) *DescribeNatGatewaysInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNatGatewayIds sets the NatGatewayIds field's value.
+func (s *DescribeNatGatewaysInput) SetNatGatewayIds(v []*string) *DescribeNatGatewaysInput {
+ s.NatGatewayIds = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeNatGatewaysInput) SetNextToken(v string) *DescribeNatGatewaysInput {
+ s.NextToken = &v
+ return s
+}
+
// Contains the output of DescribeNatGateways.
type DescribeNatGatewaysOutput struct {
_ struct{} `type:"structure"`
@@ -22055,6 +25325,18 @@ func (s DescribeNatGatewaysOutput) GoString() string {
return s.String()
}
+// SetNatGateways sets the NatGateways field's value.
+func (s *DescribeNatGatewaysOutput) SetNatGateways(v []*NatGateway) *DescribeNatGatewaysOutput {
+ s.NatGateways = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeNatGatewaysOutput) SetNextToken(v string) *DescribeNatGatewaysOutput {
+ s.NextToken = &v
+ return s
+}
+
// Contains the parameters for DescribeNetworkAcls.
type DescribeNetworkAclsInput struct {
_ struct{} `type:"structure"`
@@ -22133,6 +25415,24 @@ func (s DescribeNetworkAclsInput) GoString() string {
return s.String()
}
+// SetDryRun sets the DryRun field's value.
+func (s *DescribeNetworkAclsInput) SetDryRun(v bool) *DescribeNetworkAclsInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetFilters sets the Filters field's value.
+func (s *DescribeNetworkAclsInput) SetFilters(v []*Filter) *DescribeNetworkAclsInput {
+ s.Filters = v
+ return s
+}
+
+// SetNetworkAclIds sets the NetworkAclIds field's value.
+func (s *DescribeNetworkAclsInput) SetNetworkAclIds(v []*string) *DescribeNetworkAclsInput {
+ s.NetworkAclIds = v
+ return s
+}
+
// Contains the output of DescribeNetworkAcls.
type DescribeNetworkAclsOutput struct {
_ struct{} `type:"structure"`
@@ -22151,6 +25451,12 @@ func (s DescribeNetworkAclsOutput) GoString() string {
return s.String()
}
+// SetNetworkAcls sets the NetworkAcls field's value.
+func (s *DescribeNetworkAclsOutput) SetNetworkAcls(v []*NetworkAcl) *DescribeNetworkAclsOutput {
+ s.NetworkAcls = v
+ return s
+}
+
// Contains the parameters for DescribeNetworkInterfaceAttribute.
type DescribeNetworkInterfaceAttributeInput struct {
_ struct{} `type:"structure"`
@@ -22193,6 +25499,24 @@ func (s *DescribeNetworkInterfaceAttributeInput) Validate() error {
return nil
}
+// SetAttribute sets the Attribute field's value.
+func (s *DescribeNetworkInterfaceAttributeInput) SetAttribute(v string) *DescribeNetworkInterfaceAttributeInput {
+ s.Attribute = &v
+ return s
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *DescribeNetworkInterfaceAttributeInput) SetDryRun(v bool) *DescribeNetworkInterfaceAttributeInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetNetworkInterfaceId sets the NetworkInterfaceId field's value.
+func (s *DescribeNetworkInterfaceAttributeInput) SetNetworkInterfaceId(v string) *DescribeNetworkInterfaceAttributeInput {
+ s.NetworkInterfaceId = &v
+ return s
+}
+
// Contains the output of DescribeNetworkInterfaceAttribute.
type DescribeNetworkInterfaceAttributeOutput struct {
_ struct{} `type:"structure"`
@@ -22223,6 +25547,36 @@ func (s DescribeNetworkInterfaceAttributeOutput) GoString() string {
return s.String()
}
+// SetAttachment sets the Attachment field's value.
+func (s *DescribeNetworkInterfaceAttributeOutput) SetAttachment(v *NetworkInterfaceAttachment) *DescribeNetworkInterfaceAttributeOutput {
+ s.Attachment = v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *DescribeNetworkInterfaceAttributeOutput) SetDescription(v *AttributeValue) *DescribeNetworkInterfaceAttributeOutput {
+ s.Description = v
+ return s
+}
+
+// SetGroups sets the Groups field's value.
+func (s *DescribeNetworkInterfaceAttributeOutput) SetGroups(v []*GroupIdentifier) *DescribeNetworkInterfaceAttributeOutput {
+ s.Groups = v
+ return s
+}
+
+// SetNetworkInterfaceId sets the NetworkInterfaceId field's value.
+func (s *DescribeNetworkInterfaceAttributeOutput) SetNetworkInterfaceId(v string) *DescribeNetworkInterfaceAttributeOutput {
+ s.NetworkInterfaceId = &v
+ return s
+}
+
+// SetSourceDestCheck sets the SourceDestCheck field's value.
+func (s *DescribeNetworkInterfaceAttributeOutput) SetSourceDestCheck(v *AttributeBooleanValue) *DescribeNetworkInterfaceAttributeOutput {
+ s.SourceDestCheck = v
+ return s
+}
+
// Contains the parameters for DescribeNetworkInterfaces.
type DescribeNetworkInterfacesInput struct {
_ struct{} `type:"structure"`
@@ -22355,6 +25709,24 @@ func (s DescribeNetworkInterfacesInput) GoString() string {
return s.String()
}
+// SetDryRun sets the DryRun field's value.
+func (s *DescribeNetworkInterfacesInput) SetDryRun(v bool) *DescribeNetworkInterfacesInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetFilters sets the Filters field's value.
+func (s *DescribeNetworkInterfacesInput) SetFilters(v []*Filter) *DescribeNetworkInterfacesInput {
+ s.Filters = v
+ return s
+}
+
+// SetNetworkInterfaceIds sets the NetworkInterfaceIds field's value.
+func (s *DescribeNetworkInterfacesInput) SetNetworkInterfaceIds(v []*string) *DescribeNetworkInterfacesInput {
+ s.NetworkInterfaceIds = v
+ return s
+}
+
// Contains the output of DescribeNetworkInterfaces.
type DescribeNetworkInterfacesOutput struct {
_ struct{} `type:"structure"`
@@ -22373,6 +25745,12 @@ func (s DescribeNetworkInterfacesOutput) GoString() string {
return s.String()
}
+// SetNetworkInterfaces sets the NetworkInterfaces field's value.
+func (s *DescribeNetworkInterfacesOutput) SetNetworkInterfaces(v []*NetworkInterface) *DescribeNetworkInterfacesOutput {
+ s.NetworkInterfaces = v
+ return s
+}
+
// Contains the parameters for DescribePlacementGroups.
type DescribePlacementGroupsInput struct {
_ struct{} `type:"structure"`
@@ -22409,6 +25787,24 @@ func (s DescribePlacementGroupsInput) GoString() string {
return s.String()
}
+// SetDryRun sets the DryRun field's value.
+func (s *DescribePlacementGroupsInput) SetDryRun(v bool) *DescribePlacementGroupsInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetFilters sets the Filters field's value.
+func (s *DescribePlacementGroupsInput) SetFilters(v []*Filter) *DescribePlacementGroupsInput {
+ s.Filters = v
+ return s
+}
+
+// SetGroupNames sets the GroupNames field's value.
+func (s *DescribePlacementGroupsInput) SetGroupNames(v []*string) *DescribePlacementGroupsInput {
+ s.GroupNames = v
+ return s
+}
+
// Contains the output of DescribePlacementGroups.
type DescribePlacementGroupsOutput struct {
_ struct{} `type:"structure"`
@@ -22427,6 +25823,12 @@ func (s DescribePlacementGroupsOutput) GoString() string {
return s.String()
}
+// SetPlacementGroups sets the PlacementGroups field's value.
+func (s *DescribePlacementGroupsOutput) SetPlacementGroups(v []*PlacementGroup) *DescribePlacementGroupsOutput {
+ s.PlacementGroups = v
+ return s
+}
+
// Contains the parameters for DescribePrefixLists.
type DescribePrefixListsInput struct {
_ struct{} `type:"structure"`
@@ -22470,6 +25872,36 @@ func (s DescribePrefixListsInput) GoString() string {
return s.String()
}
+// SetDryRun sets the DryRun field's value.
+func (s *DescribePrefixListsInput) SetDryRun(v bool) *DescribePrefixListsInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetFilters sets the Filters field's value.
+func (s *DescribePrefixListsInput) SetFilters(v []*Filter) *DescribePrefixListsInput {
+ s.Filters = v
+ return s
+}
+
+// SetMaxResults sets the MaxResults field's value.
+func (s *DescribePrefixListsInput) SetMaxResults(v int64) *DescribePrefixListsInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribePrefixListsInput) SetNextToken(v string) *DescribePrefixListsInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetPrefixListIds sets the PrefixListIds field's value.
+func (s *DescribePrefixListsInput) SetPrefixListIds(v []*string) *DescribePrefixListsInput {
+ s.PrefixListIds = v
+ return s
+}
+
// Contains the output of DescribePrefixLists.
type DescribePrefixListsOutput struct {
_ struct{} `type:"structure"`
@@ -22492,6 +25924,18 @@ func (s DescribePrefixListsOutput) GoString() string {
return s.String()
}
+// SetNextToken sets the NextToken field's value.
+func (s *DescribePrefixListsOutput) SetNextToken(v string) *DescribePrefixListsOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetPrefixLists sets the PrefixLists field's value.
+func (s *DescribePrefixListsOutput) SetPrefixLists(v []*PrefixList) *DescribePrefixListsOutput {
+ s.PrefixLists = v
+ return s
+}
+
// Contains the parameters for DescribeRegions.
type DescribeRegionsInput struct {
_ struct{} `type:"structure"`
@@ -22523,6 +25967,24 @@ func (s DescribeRegionsInput) GoString() string {
return s.String()
}
+// SetDryRun sets the DryRun field's value.
+func (s *DescribeRegionsInput) SetDryRun(v bool) *DescribeRegionsInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetFilters sets the Filters field's value.
+func (s *DescribeRegionsInput) SetFilters(v []*Filter) *DescribeRegionsInput {
+ s.Filters = v
+ return s
+}
+
+// SetRegionNames sets the RegionNames field's value.
+func (s *DescribeRegionsInput) SetRegionNames(v []*string) *DescribeRegionsInput {
+ s.RegionNames = v
+ return s
+}
+
// Contains the output of DescribeRegions.
type DescribeRegionsOutput struct {
_ struct{} `type:"structure"`
@@ -22541,6 +26003,12 @@ func (s DescribeRegionsOutput) GoString() string {
return s.String()
}
+// SetRegions sets the Regions field's value.
+func (s *DescribeRegionsOutput) SetRegions(v []*Region) *DescribeRegionsOutput {
+ s.Regions = v
+ return s
+}
+
// Contains the parameters for DescribeReservedInstances.
type DescribeReservedInstancesInput struct {
_ struct{} `type:"structure"`
@@ -22627,6 +26095,36 @@ func (s DescribeReservedInstancesInput) GoString() string {
return s.String()
}
+// SetDryRun sets the DryRun field's value.
+func (s *DescribeReservedInstancesInput) SetDryRun(v bool) *DescribeReservedInstancesInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetFilters sets the Filters field's value.
+func (s *DescribeReservedInstancesInput) SetFilters(v []*Filter) *DescribeReservedInstancesInput {
+ s.Filters = v
+ return s
+}
+
+// SetOfferingClass sets the OfferingClass field's value.
+func (s *DescribeReservedInstancesInput) SetOfferingClass(v string) *DescribeReservedInstancesInput {
+ s.OfferingClass = &v
+ return s
+}
+
+// SetOfferingType sets the OfferingType field's value.
+func (s *DescribeReservedInstancesInput) SetOfferingType(v string) *DescribeReservedInstancesInput {
+ s.OfferingType = &v
+ return s
+}
+
+// SetReservedInstancesIds sets the ReservedInstancesIds field's value.
+func (s *DescribeReservedInstancesInput) SetReservedInstancesIds(v []*string) *DescribeReservedInstancesInput {
+ s.ReservedInstancesIds = v
+ return s
+}
+
// Contains the parameters for DescribeReservedInstancesListings.
type DescribeReservedInstancesListingsInput struct {
_ struct{} `type:"structure"`
@@ -22660,6 +26158,24 @@ func (s DescribeReservedInstancesListingsInput) GoString() string {
return s.String()
}
+// SetFilters sets the Filters field's value.
+func (s *DescribeReservedInstancesListingsInput) SetFilters(v []*Filter) *DescribeReservedInstancesListingsInput {
+ s.Filters = v
+ return s
+}
+
+// SetReservedInstancesId sets the ReservedInstancesId field's value.
+func (s *DescribeReservedInstancesListingsInput) SetReservedInstancesId(v string) *DescribeReservedInstancesListingsInput {
+ s.ReservedInstancesId = &v
+ return s
+}
+
+// SetReservedInstancesListingId sets the ReservedInstancesListingId field's value.
+func (s *DescribeReservedInstancesListingsInput) SetReservedInstancesListingId(v string) *DescribeReservedInstancesListingsInput {
+ s.ReservedInstancesListingId = &v
+ return s
+}
+
// Contains the output of DescribeReservedInstancesListings.
type DescribeReservedInstancesListingsOutput struct {
_ struct{} `type:"structure"`
@@ -22678,6 +26194,12 @@ func (s DescribeReservedInstancesListingsOutput) GoString() string {
return s.String()
}
+// SetReservedInstancesListings sets the ReservedInstancesListings field's value.
+func (s *DescribeReservedInstancesListingsOutput) SetReservedInstancesListings(v []*ReservedInstancesListing) *DescribeReservedInstancesListingsOutput {
+ s.ReservedInstancesListings = v
+ return s
+}
+
// Contains the parameters for DescribeReservedInstancesModifications.
type DescribeReservedInstancesModificationsInput struct {
_ struct{} `type:"structure"`
@@ -22735,6 +26257,24 @@ func (s DescribeReservedInstancesModificationsInput) GoString() string {
return s.String()
}
+// SetFilters sets the Filters field's value.
+func (s *DescribeReservedInstancesModificationsInput) SetFilters(v []*Filter) *DescribeReservedInstancesModificationsInput {
+ s.Filters = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeReservedInstancesModificationsInput) SetNextToken(v string) *DescribeReservedInstancesModificationsInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetReservedInstancesModificationIds sets the ReservedInstancesModificationIds field's value.
+func (s *DescribeReservedInstancesModificationsInput) SetReservedInstancesModificationIds(v []*string) *DescribeReservedInstancesModificationsInput {
+ s.ReservedInstancesModificationIds = v
+ return s
+}
+
// Contains the output of DescribeReservedInstancesModifications.
type DescribeReservedInstancesModificationsOutput struct {
_ struct{} `type:"structure"`
@@ -22757,6 +26297,18 @@ func (s DescribeReservedInstancesModificationsOutput) GoString() string {
return s.String()
}
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeReservedInstancesModificationsOutput) SetNextToken(v string) *DescribeReservedInstancesModificationsOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetReservedInstancesModifications sets the ReservedInstancesModifications field's value.
+func (s *DescribeReservedInstancesModificationsOutput) SetReservedInstancesModifications(v []*ReservedInstancesModification) *DescribeReservedInstancesModificationsOutput {
+ s.ReservedInstancesModifications = v
+ return s
+}
+
// Contains the parameters for DescribeReservedInstancesOfferings.
type DescribeReservedInstancesOfferingsInput struct {
_ struct{} `type:"structure"`
@@ -22873,6 +26425,96 @@ func (s DescribeReservedInstancesOfferingsInput) GoString() string {
return s.String()
}
+// SetAvailabilityZone sets the AvailabilityZone field's value.
+func (s *DescribeReservedInstancesOfferingsInput) SetAvailabilityZone(v string) *DescribeReservedInstancesOfferingsInput {
+ s.AvailabilityZone = &v
+ return s
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *DescribeReservedInstancesOfferingsInput) SetDryRun(v bool) *DescribeReservedInstancesOfferingsInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetFilters sets the Filters field's value.
+func (s *DescribeReservedInstancesOfferingsInput) SetFilters(v []*Filter) *DescribeReservedInstancesOfferingsInput {
+ s.Filters = v
+ return s
+}
+
+// SetIncludeMarketplace sets the IncludeMarketplace field's value.
+func (s *DescribeReservedInstancesOfferingsInput) SetIncludeMarketplace(v bool) *DescribeReservedInstancesOfferingsInput {
+ s.IncludeMarketplace = &v
+ return s
+}
+
+// SetInstanceTenancy sets the InstanceTenancy field's value.
+func (s *DescribeReservedInstancesOfferingsInput) SetInstanceTenancy(v string) *DescribeReservedInstancesOfferingsInput {
+ s.InstanceTenancy = &v
+ return s
+}
+
+// SetInstanceType sets the InstanceType field's value.
+func (s *DescribeReservedInstancesOfferingsInput) SetInstanceType(v string) *DescribeReservedInstancesOfferingsInput {
+ s.InstanceType = &v
+ return s
+}
+
+// SetMaxDuration sets the MaxDuration field's value.
+func (s *DescribeReservedInstancesOfferingsInput) SetMaxDuration(v int64) *DescribeReservedInstancesOfferingsInput {
+ s.MaxDuration = &v
+ return s
+}
+
+// SetMaxInstanceCount sets the MaxInstanceCount field's value.
+func (s *DescribeReservedInstancesOfferingsInput) SetMaxInstanceCount(v int64) *DescribeReservedInstancesOfferingsInput {
+ s.MaxInstanceCount = &v
+ return s
+}
+
+// SetMaxResults sets the MaxResults field's value.
+func (s *DescribeReservedInstancesOfferingsInput) SetMaxResults(v int64) *DescribeReservedInstancesOfferingsInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetMinDuration sets the MinDuration field's value.
+func (s *DescribeReservedInstancesOfferingsInput) SetMinDuration(v int64) *DescribeReservedInstancesOfferingsInput {
+ s.MinDuration = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeReservedInstancesOfferingsInput) SetNextToken(v string) *DescribeReservedInstancesOfferingsInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetOfferingClass sets the OfferingClass field's value.
+func (s *DescribeReservedInstancesOfferingsInput) SetOfferingClass(v string) *DescribeReservedInstancesOfferingsInput {
+ s.OfferingClass = &v
+ return s
+}
+
+// SetOfferingType sets the OfferingType field's value.
+func (s *DescribeReservedInstancesOfferingsInput) SetOfferingType(v string) *DescribeReservedInstancesOfferingsInput {
+ s.OfferingType = &v
+ return s
+}
+
+// SetProductDescription sets the ProductDescription field's value.
+func (s *DescribeReservedInstancesOfferingsInput) SetProductDescription(v string) *DescribeReservedInstancesOfferingsInput {
+ s.ProductDescription = &v
+ return s
+}
+
+// SetReservedInstancesOfferingIds sets the ReservedInstancesOfferingIds field's value.
+func (s *DescribeReservedInstancesOfferingsInput) SetReservedInstancesOfferingIds(v []*string) *DescribeReservedInstancesOfferingsInput {
+ s.ReservedInstancesOfferingIds = v
+ return s
+}
+
// Contains the output of DescribeReservedInstancesOfferings.
type DescribeReservedInstancesOfferingsOutput struct {
_ struct{} `type:"structure"`
@@ -22895,6 +26537,18 @@ func (s DescribeReservedInstancesOfferingsOutput) GoString() string {
return s.String()
}
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeReservedInstancesOfferingsOutput) SetNextToken(v string) *DescribeReservedInstancesOfferingsOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetReservedInstancesOfferings sets the ReservedInstancesOfferings field's value.
+func (s *DescribeReservedInstancesOfferingsOutput) SetReservedInstancesOfferings(v []*ReservedInstancesOffering) *DescribeReservedInstancesOfferingsOutput {
+ s.ReservedInstancesOfferings = v
+ return s
+}
+
// Contains the output for DescribeReservedInstances.
type DescribeReservedInstancesOutput struct {
_ struct{} `type:"structure"`
@@ -22913,6 +26567,12 @@ func (s DescribeReservedInstancesOutput) GoString() string {
return s.String()
}
+// SetReservedInstances sets the ReservedInstances field's value.
+func (s *DescribeReservedInstancesOutput) SetReservedInstances(v []*ReservedInstances) *DescribeReservedInstancesOutput {
+ s.ReservedInstances = v
+ return s
+}
+
// Contains the parameters for DescribeRouteTables.
type DescribeRouteTablesInput struct {
_ struct{} `type:"structure"`
@@ -22997,6 +26657,24 @@ func (s DescribeRouteTablesInput) GoString() string {
return s.String()
}
+// SetDryRun sets the DryRun field's value.
+func (s *DescribeRouteTablesInput) SetDryRun(v bool) *DescribeRouteTablesInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetFilters sets the Filters field's value.
+func (s *DescribeRouteTablesInput) SetFilters(v []*Filter) *DescribeRouteTablesInput {
+ s.Filters = v
+ return s
+}
+
+// SetRouteTableIds sets the RouteTableIds field's value.
+func (s *DescribeRouteTablesInput) SetRouteTableIds(v []*string) *DescribeRouteTablesInput {
+ s.RouteTableIds = v
+ return s
+}
+
// Contains the output of DescribeRouteTables.
type DescribeRouteTablesOutput struct {
_ struct{} `type:"structure"`
@@ -23015,6 +26693,12 @@ func (s DescribeRouteTablesOutput) GoString() string {
return s.String()
}
+// SetRouteTables sets the RouteTables field's value.
+func (s *DescribeRouteTablesOutput) SetRouteTables(v []*RouteTable) *DescribeRouteTablesOutput {
+ s.RouteTables = v
+ return s
+}
+
// Contains the parameters for DescribeScheduledInstanceAvailability.
type DescribeScheduledInstanceAvailabilityInput struct {
_ struct{} `type:"structure"`
@@ -23096,8 +26780,56 @@ func (s *DescribeScheduledInstanceAvailabilityInput) Validate() error {
return nil
}
-// Contains the output of DescribeScheduledInstanceAvailability.
-type DescribeScheduledInstanceAvailabilityOutput struct {
+// SetDryRun sets the DryRun field's value.
+func (s *DescribeScheduledInstanceAvailabilityInput) SetDryRun(v bool) *DescribeScheduledInstanceAvailabilityInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetFilters sets the Filters field's value.
+func (s *DescribeScheduledInstanceAvailabilityInput) SetFilters(v []*Filter) *DescribeScheduledInstanceAvailabilityInput {
+ s.Filters = v
+ return s
+}
+
+// SetFirstSlotStartTimeRange sets the FirstSlotStartTimeRange field's value.
+func (s *DescribeScheduledInstanceAvailabilityInput) SetFirstSlotStartTimeRange(v *SlotDateTimeRangeRequest) *DescribeScheduledInstanceAvailabilityInput {
+ s.FirstSlotStartTimeRange = v
+ return s
+}
+
+// SetMaxResults sets the MaxResults field's value.
+func (s *DescribeScheduledInstanceAvailabilityInput) SetMaxResults(v int64) *DescribeScheduledInstanceAvailabilityInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetMaxSlotDurationInHours sets the MaxSlotDurationInHours field's value.
+func (s *DescribeScheduledInstanceAvailabilityInput) SetMaxSlotDurationInHours(v int64) *DescribeScheduledInstanceAvailabilityInput {
+ s.MaxSlotDurationInHours = &v
+ return s
+}
+
+// SetMinSlotDurationInHours sets the MinSlotDurationInHours field's value.
+func (s *DescribeScheduledInstanceAvailabilityInput) SetMinSlotDurationInHours(v int64) *DescribeScheduledInstanceAvailabilityInput {
+ s.MinSlotDurationInHours = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeScheduledInstanceAvailabilityInput) SetNextToken(v string) *DescribeScheduledInstanceAvailabilityInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetRecurrence sets the Recurrence field's value.
+func (s *DescribeScheduledInstanceAvailabilityInput) SetRecurrence(v *ScheduledInstanceRecurrenceRequest) *DescribeScheduledInstanceAvailabilityInput {
+ s.Recurrence = v
+ return s
+}
+
+// Contains the output of DescribeScheduledInstanceAvailability.
+type DescribeScheduledInstanceAvailabilityOutput struct {
_ struct{} `type:"structure"`
// The token required to retrieve the next set of results. This value is null
@@ -23118,6 +26850,18 @@ func (s DescribeScheduledInstanceAvailabilityOutput) GoString() string {
return s.String()
}
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeScheduledInstanceAvailabilityOutput) SetNextToken(v string) *DescribeScheduledInstanceAvailabilityOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetScheduledInstanceAvailabilitySet sets the ScheduledInstanceAvailabilitySet field's value.
+func (s *DescribeScheduledInstanceAvailabilityOutput) SetScheduledInstanceAvailabilitySet(v []*ScheduledInstanceAvailability) *DescribeScheduledInstanceAvailabilityOutput {
+ s.ScheduledInstanceAvailabilitySet = v
+ return s
+}
+
// Contains the parameters for DescribeScheduledInstances.
type DescribeScheduledInstancesInput struct {
_ struct{} `type:"structure"`
@@ -23164,6 +26908,42 @@ func (s DescribeScheduledInstancesInput) GoString() string {
return s.String()
}
+// SetDryRun sets the DryRun field's value.
+func (s *DescribeScheduledInstancesInput) SetDryRun(v bool) *DescribeScheduledInstancesInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetFilters sets the Filters field's value.
+func (s *DescribeScheduledInstancesInput) SetFilters(v []*Filter) *DescribeScheduledInstancesInput {
+ s.Filters = v
+ return s
+}
+
+// SetMaxResults sets the MaxResults field's value.
+func (s *DescribeScheduledInstancesInput) SetMaxResults(v int64) *DescribeScheduledInstancesInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeScheduledInstancesInput) SetNextToken(v string) *DescribeScheduledInstancesInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetScheduledInstanceIds sets the ScheduledInstanceIds field's value.
+func (s *DescribeScheduledInstancesInput) SetScheduledInstanceIds(v []*string) *DescribeScheduledInstancesInput {
+ s.ScheduledInstanceIds = v
+ return s
+}
+
+// SetSlotStartTimeRange sets the SlotStartTimeRange field's value.
+func (s *DescribeScheduledInstancesInput) SetSlotStartTimeRange(v *SlotStartTimeRangeRequest) *DescribeScheduledInstancesInput {
+ s.SlotStartTimeRange = v
+ return s
+}
+
// Contains the output of DescribeScheduledInstances.
type DescribeScheduledInstancesOutput struct {
_ struct{} `type:"structure"`
@@ -23186,6 +26966,18 @@ func (s DescribeScheduledInstancesOutput) GoString() string {
return s.String()
}
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeScheduledInstancesOutput) SetNextToken(v string) *DescribeScheduledInstancesOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetScheduledInstanceSet sets the ScheduledInstanceSet field's value.
+func (s *DescribeScheduledInstancesOutput) SetScheduledInstanceSet(v []*ScheduledInstance) *DescribeScheduledInstancesOutput {
+ s.ScheduledInstanceSet = v
+ return s
+}
+
type DescribeSecurityGroupReferencesInput struct {
_ struct{} `type:"structure"`
@@ -23224,6 +27016,18 @@ func (s *DescribeSecurityGroupReferencesInput) Validate() error {
return nil
}
+// SetDryRun sets the DryRun field's value.
+func (s *DescribeSecurityGroupReferencesInput) SetDryRun(v bool) *DescribeSecurityGroupReferencesInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetGroupId sets the GroupId field's value.
+func (s *DescribeSecurityGroupReferencesInput) SetGroupId(v []*string) *DescribeSecurityGroupReferencesInput {
+ s.GroupId = v
+ return s
+}
+
type DescribeSecurityGroupReferencesOutput struct {
_ struct{} `type:"structure"`
@@ -23241,6 +27045,12 @@ func (s DescribeSecurityGroupReferencesOutput) GoString() string {
return s.String()
}
+// SetSecurityGroupReferenceSet sets the SecurityGroupReferenceSet field's value.
+func (s *DescribeSecurityGroupReferencesOutput) SetSecurityGroupReferenceSet(v []*SecurityGroupReference) *DescribeSecurityGroupReferencesOutput {
+ s.SecurityGroupReferenceSet = v
+ return s
+}
+
// Contains the parameters for DescribeSecurityGroups.
type DescribeSecurityGroupsInput struct {
_ struct{} `type:"structure"`
@@ -23318,6 +27128,30 @@ func (s DescribeSecurityGroupsInput) GoString() string {
return s.String()
}
+// SetDryRun sets the DryRun field's value.
+func (s *DescribeSecurityGroupsInput) SetDryRun(v bool) *DescribeSecurityGroupsInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetFilters sets the Filters field's value.
+func (s *DescribeSecurityGroupsInput) SetFilters(v []*Filter) *DescribeSecurityGroupsInput {
+ s.Filters = v
+ return s
+}
+
+// SetGroupIds sets the GroupIds field's value.
+func (s *DescribeSecurityGroupsInput) SetGroupIds(v []*string) *DescribeSecurityGroupsInput {
+ s.GroupIds = v
+ return s
+}
+
+// SetGroupNames sets the GroupNames field's value.
+func (s *DescribeSecurityGroupsInput) SetGroupNames(v []*string) *DescribeSecurityGroupsInput {
+ s.GroupNames = v
+ return s
+}
+
// Contains the output of DescribeSecurityGroups.
type DescribeSecurityGroupsOutput struct {
_ struct{} `type:"structure"`
@@ -23336,6 +27170,12 @@ func (s DescribeSecurityGroupsOutput) GoString() string {
return s.String()
}
+// SetSecurityGroups sets the SecurityGroups field's value.
+func (s *DescribeSecurityGroupsOutput) SetSecurityGroups(v []*SecurityGroup) *DescribeSecurityGroupsOutput {
+ s.SecurityGroups = v
+ return s
+}
+
// Contains the parameters for DescribeSnapshotAttribute.
type DescribeSnapshotAttributeInput struct {
_ struct{} `type:"structure"`
@@ -23383,6 +27223,24 @@ func (s *DescribeSnapshotAttributeInput) Validate() error {
return nil
}
+// SetAttribute sets the Attribute field's value.
+func (s *DescribeSnapshotAttributeInput) SetAttribute(v string) *DescribeSnapshotAttributeInput {
+ s.Attribute = &v
+ return s
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *DescribeSnapshotAttributeInput) SetDryRun(v bool) *DescribeSnapshotAttributeInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetSnapshotId sets the SnapshotId field's value.
+func (s *DescribeSnapshotAttributeInput) SetSnapshotId(v string) *DescribeSnapshotAttributeInput {
+ s.SnapshotId = &v
+ return s
+}
+
// Contains the output of DescribeSnapshotAttribute.
type DescribeSnapshotAttributeOutput struct {
_ struct{} `type:"structure"`
@@ -23407,6 +27265,24 @@ func (s DescribeSnapshotAttributeOutput) GoString() string {
return s.String()
}
+// SetCreateVolumePermissions sets the CreateVolumePermissions field's value.
+func (s *DescribeSnapshotAttributeOutput) SetCreateVolumePermissions(v []*CreateVolumePermission) *DescribeSnapshotAttributeOutput {
+ s.CreateVolumePermissions = v
+ return s
+}
+
+// SetProductCodes sets the ProductCodes field's value.
+func (s *DescribeSnapshotAttributeOutput) SetProductCodes(v []*ProductCode) *DescribeSnapshotAttributeOutput {
+ s.ProductCodes = v
+ return s
+}
+
+// SetSnapshotId sets the SnapshotId field's value.
+func (s *DescribeSnapshotAttributeOutput) SetSnapshotId(v string) *DescribeSnapshotAttributeOutput {
+ s.SnapshotId = &v
+ return s
+}
+
// Contains the parameters for DescribeSnapshots.
type DescribeSnapshotsInput struct {
_ struct{} `type:"structure"`
@@ -23495,6 +27371,48 @@ func (s DescribeSnapshotsInput) GoString() string {
return s.String()
}
+// SetDryRun sets the DryRun field's value.
+func (s *DescribeSnapshotsInput) SetDryRun(v bool) *DescribeSnapshotsInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetFilters sets the Filters field's value.
+func (s *DescribeSnapshotsInput) SetFilters(v []*Filter) *DescribeSnapshotsInput {
+ s.Filters = v
+ return s
+}
+
+// SetMaxResults sets the MaxResults field's value.
+func (s *DescribeSnapshotsInput) SetMaxResults(v int64) *DescribeSnapshotsInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeSnapshotsInput) SetNextToken(v string) *DescribeSnapshotsInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetOwnerIds sets the OwnerIds field's value.
+func (s *DescribeSnapshotsInput) SetOwnerIds(v []*string) *DescribeSnapshotsInput {
+ s.OwnerIds = v
+ return s
+}
+
+// SetRestorableByUserIds sets the RestorableByUserIds field's value.
+func (s *DescribeSnapshotsInput) SetRestorableByUserIds(v []*string) *DescribeSnapshotsInput {
+ s.RestorableByUserIds = v
+ return s
+}
+
+// SetSnapshotIds sets the SnapshotIds field's value.
+func (s *DescribeSnapshotsInput) SetSnapshotIds(v []*string) *DescribeSnapshotsInput {
+ s.SnapshotIds = v
+ return s
+}
+
// Contains the output of DescribeSnapshots.
type DescribeSnapshotsOutput struct {
_ struct{} `type:"structure"`
@@ -23519,6 +27437,18 @@ func (s DescribeSnapshotsOutput) GoString() string {
return s.String()
}
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeSnapshotsOutput) SetNextToken(v string) *DescribeSnapshotsOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetSnapshots sets the Snapshots field's value.
+func (s *DescribeSnapshotsOutput) SetSnapshots(v []*Snapshot) *DescribeSnapshotsOutput {
+ s.Snapshots = v
+ return s
+}
+
// Contains the parameters for DescribeSpotDatafeedSubscription.
type DescribeSpotDatafeedSubscriptionInput struct {
_ struct{} `type:"structure"`
@@ -23540,6 +27470,12 @@ func (s DescribeSpotDatafeedSubscriptionInput) GoString() string {
return s.String()
}
+// SetDryRun sets the DryRun field's value.
+func (s *DescribeSpotDatafeedSubscriptionInput) SetDryRun(v bool) *DescribeSpotDatafeedSubscriptionInput {
+ s.DryRun = &v
+ return s
+}
+
// Contains the output of DescribeSpotDatafeedSubscription.
type DescribeSpotDatafeedSubscriptionOutput struct {
_ struct{} `type:"structure"`
@@ -23558,6 +27494,12 @@ func (s DescribeSpotDatafeedSubscriptionOutput) GoString() string {
return s.String()
}
+// SetSpotDatafeedSubscription sets the SpotDatafeedSubscription field's value.
+func (s *DescribeSpotDatafeedSubscriptionOutput) SetSpotDatafeedSubscription(v *SpotDatafeedSubscription) *DescribeSpotDatafeedSubscriptionOutput {
+ s.SpotDatafeedSubscription = v
+ return s
+}
+
// Contains the parameters for DescribeSpotFleetInstances.
type DescribeSpotFleetInstancesInput struct {
_ struct{} `type:"structure"`
@@ -23605,6 +27547,30 @@ func (s *DescribeSpotFleetInstancesInput) Validate() error {
return nil
}
+// SetDryRun sets the DryRun field's value.
+func (s *DescribeSpotFleetInstancesInput) SetDryRun(v bool) *DescribeSpotFleetInstancesInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetMaxResults sets the MaxResults field's value.
+func (s *DescribeSpotFleetInstancesInput) SetMaxResults(v int64) *DescribeSpotFleetInstancesInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeSpotFleetInstancesInput) SetNextToken(v string) *DescribeSpotFleetInstancesInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetSpotFleetRequestId sets the SpotFleetRequestId field's value.
+func (s *DescribeSpotFleetInstancesInput) SetSpotFleetRequestId(v string) *DescribeSpotFleetInstancesInput {
+ s.SpotFleetRequestId = &v
+ return s
+}
+
// Contains the output of DescribeSpotFleetInstances.
type DescribeSpotFleetInstancesOutput struct {
_ struct{} `type:"structure"`
@@ -23635,6 +27601,24 @@ func (s DescribeSpotFleetInstancesOutput) GoString() string {
return s.String()
}
+// SetActiveInstances sets the ActiveInstances field's value.
+func (s *DescribeSpotFleetInstancesOutput) SetActiveInstances(v []*ActiveInstance) *DescribeSpotFleetInstancesOutput {
+ s.ActiveInstances = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeSpotFleetInstancesOutput) SetNextToken(v string) *DescribeSpotFleetInstancesOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetSpotFleetRequestId sets the SpotFleetRequestId field's value.
+func (s *DescribeSpotFleetInstancesOutput) SetSpotFleetRequestId(v string) *DescribeSpotFleetInstancesOutput {
+ s.SpotFleetRequestId = &v
+ return s
+}
+
// Contains the parameters for DescribeSpotFleetRequestHistory.
type DescribeSpotFleetRequestHistoryInput struct {
_ struct{} `type:"structure"`
@@ -23693,6 +27677,42 @@ func (s *DescribeSpotFleetRequestHistoryInput) Validate() error {
return nil
}
+// SetDryRun sets the DryRun field's value.
+func (s *DescribeSpotFleetRequestHistoryInput) SetDryRun(v bool) *DescribeSpotFleetRequestHistoryInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetEventType sets the EventType field's value.
+func (s *DescribeSpotFleetRequestHistoryInput) SetEventType(v string) *DescribeSpotFleetRequestHistoryInput {
+ s.EventType = &v
+ return s
+}
+
+// SetMaxResults sets the MaxResults field's value.
+func (s *DescribeSpotFleetRequestHistoryInput) SetMaxResults(v int64) *DescribeSpotFleetRequestHistoryInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeSpotFleetRequestHistoryInput) SetNextToken(v string) *DescribeSpotFleetRequestHistoryInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetSpotFleetRequestId sets the SpotFleetRequestId field's value.
+func (s *DescribeSpotFleetRequestHistoryInput) SetSpotFleetRequestId(v string) *DescribeSpotFleetRequestHistoryInput {
+ s.SpotFleetRequestId = &v
+ return s
+}
+
+// SetStartTime sets the StartTime field's value.
+func (s *DescribeSpotFleetRequestHistoryInput) SetStartTime(v time.Time) *DescribeSpotFleetRequestHistoryInput {
+ s.StartTime = &v
+ return s
+}
+
// Contains the output of DescribeSpotFleetRequestHistory.
type DescribeSpotFleetRequestHistoryOutput struct {
_ struct{} `type:"structure"`
@@ -23735,6 +27755,36 @@ func (s DescribeSpotFleetRequestHistoryOutput) GoString() string {
return s.String()
}
+// SetHistoryRecords sets the HistoryRecords field's value.
+func (s *DescribeSpotFleetRequestHistoryOutput) SetHistoryRecords(v []*HistoryRecord) *DescribeSpotFleetRequestHistoryOutput {
+ s.HistoryRecords = v
+ return s
+}
+
+// SetLastEvaluatedTime sets the LastEvaluatedTime field's value.
+func (s *DescribeSpotFleetRequestHistoryOutput) SetLastEvaluatedTime(v time.Time) *DescribeSpotFleetRequestHistoryOutput {
+ s.LastEvaluatedTime = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeSpotFleetRequestHistoryOutput) SetNextToken(v string) *DescribeSpotFleetRequestHistoryOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetSpotFleetRequestId sets the SpotFleetRequestId field's value.
+func (s *DescribeSpotFleetRequestHistoryOutput) SetSpotFleetRequestId(v string) *DescribeSpotFleetRequestHistoryOutput {
+ s.SpotFleetRequestId = &v
+ return s
+}
+
+// SetStartTime sets the StartTime field's value.
+func (s *DescribeSpotFleetRequestHistoryOutput) SetStartTime(v time.Time) *DescribeSpotFleetRequestHistoryOutput {
+ s.StartTime = &v
+ return s
+}
+
// Contains the parameters for DescribeSpotFleetRequests.
type DescribeSpotFleetRequestsInput struct {
_ struct{} `type:"structure"`
@@ -23767,6 +27817,30 @@ func (s DescribeSpotFleetRequestsInput) GoString() string {
return s.String()
}
+// SetDryRun sets the DryRun field's value.
+func (s *DescribeSpotFleetRequestsInput) SetDryRun(v bool) *DescribeSpotFleetRequestsInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetMaxResults sets the MaxResults field's value.
+func (s *DescribeSpotFleetRequestsInput) SetMaxResults(v int64) *DescribeSpotFleetRequestsInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeSpotFleetRequestsInput) SetNextToken(v string) *DescribeSpotFleetRequestsInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetSpotFleetRequestIds sets the SpotFleetRequestIds field's value.
+func (s *DescribeSpotFleetRequestsInput) SetSpotFleetRequestIds(v []*string) *DescribeSpotFleetRequestsInput {
+ s.SpotFleetRequestIds = v
+ return s
+}
+
// Contains the output of DescribeSpotFleetRequests.
type DescribeSpotFleetRequestsOutput struct {
_ struct{} `type:"structure"`
@@ -23791,6 +27865,18 @@ func (s DescribeSpotFleetRequestsOutput) GoString() string {
return s.String()
}
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeSpotFleetRequestsOutput) SetNextToken(v string) *DescribeSpotFleetRequestsOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetSpotFleetRequestConfigs sets the SpotFleetRequestConfigs field's value.
+func (s *DescribeSpotFleetRequestsOutput) SetSpotFleetRequestConfigs(v []*SpotFleetRequestConfig) *DescribeSpotFleetRequestsOutput {
+ s.SpotFleetRequestConfigs = v
+ return s
+}
+
// Contains the parameters for DescribeSpotInstanceRequests.
type DescribeSpotInstanceRequestsInput struct {
_ struct{} `type:"structure"`
@@ -23927,6 +28013,24 @@ func (s DescribeSpotInstanceRequestsInput) GoString() string {
return s.String()
}
+// SetDryRun sets the DryRun field's value.
+func (s *DescribeSpotInstanceRequestsInput) SetDryRun(v bool) *DescribeSpotInstanceRequestsInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetFilters sets the Filters field's value.
+func (s *DescribeSpotInstanceRequestsInput) SetFilters(v []*Filter) *DescribeSpotInstanceRequestsInput {
+ s.Filters = v
+ return s
+}
+
+// SetSpotInstanceRequestIds sets the SpotInstanceRequestIds field's value.
+func (s *DescribeSpotInstanceRequestsInput) SetSpotInstanceRequestIds(v []*string) *DescribeSpotInstanceRequestsInput {
+ s.SpotInstanceRequestIds = v
+ return s
+}
+
// Contains the output of DescribeSpotInstanceRequests.
type DescribeSpotInstanceRequestsOutput struct {
_ struct{} `type:"structure"`
@@ -23945,6 +28049,12 @@ func (s DescribeSpotInstanceRequestsOutput) GoString() string {
return s.String()
}
+// SetSpotInstanceRequests sets the SpotInstanceRequests field's value.
+func (s *DescribeSpotInstanceRequestsOutput) SetSpotInstanceRequests(v []*SpotInstanceRequest) *DescribeSpotInstanceRequestsOutput {
+ s.SpotInstanceRequests = v
+ return s
+}
+
// Contains the parameters for DescribeSpotPriceHistory.
type DescribeSpotPriceHistoryInput struct {
_ struct{} `type:"structure"`
@@ -24010,6 +28120,60 @@ func (s DescribeSpotPriceHistoryInput) GoString() string {
return s.String()
}
+// SetAvailabilityZone sets the AvailabilityZone field's value.
+func (s *DescribeSpotPriceHistoryInput) SetAvailabilityZone(v string) *DescribeSpotPriceHistoryInput {
+ s.AvailabilityZone = &v
+ return s
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *DescribeSpotPriceHistoryInput) SetDryRun(v bool) *DescribeSpotPriceHistoryInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetEndTime sets the EndTime field's value.
+func (s *DescribeSpotPriceHistoryInput) SetEndTime(v time.Time) *DescribeSpotPriceHistoryInput {
+ s.EndTime = &v
+ return s
+}
+
+// SetFilters sets the Filters field's value.
+func (s *DescribeSpotPriceHistoryInput) SetFilters(v []*Filter) *DescribeSpotPriceHistoryInput {
+ s.Filters = v
+ return s
+}
+
+// SetInstanceTypes sets the InstanceTypes field's value.
+func (s *DescribeSpotPriceHistoryInput) SetInstanceTypes(v []*string) *DescribeSpotPriceHistoryInput {
+ s.InstanceTypes = v
+ return s
+}
+
+// SetMaxResults sets the MaxResults field's value.
+func (s *DescribeSpotPriceHistoryInput) SetMaxResults(v int64) *DescribeSpotPriceHistoryInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeSpotPriceHistoryInput) SetNextToken(v string) *DescribeSpotPriceHistoryInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetProductDescriptions sets the ProductDescriptions field's value.
+func (s *DescribeSpotPriceHistoryInput) SetProductDescriptions(v []*string) *DescribeSpotPriceHistoryInput {
+ s.ProductDescriptions = v
+ return s
+}
+
+// SetStartTime sets the StartTime field's value.
+func (s *DescribeSpotPriceHistoryInput) SetStartTime(v time.Time) *DescribeSpotPriceHistoryInput {
+ s.StartTime = &v
+ return s
+}
+
// Contains the output of DescribeSpotPriceHistory.
type DescribeSpotPriceHistoryOutput struct {
_ struct{} `type:"structure"`
@@ -24032,6 +28196,18 @@ func (s DescribeSpotPriceHistoryOutput) GoString() string {
return s.String()
}
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeSpotPriceHistoryOutput) SetNextToken(v string) *DescribeSpotPriceHistoryOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetSpotPriceHistory sets the SpotPriceHistory field's value.
+func (s *DescribeSpotPriceHistoryOutput) SetSpotPriceHistory(v []*SpotPrice) *DescribeSpotPriceHistoryOutput {
+ s.SpotPriceHistory = v
+ return s
+}
+
type DescribeStaleSecurityGroupsInput struct {
_ struct{} `type:"structure"`
@@ -24085,6 +28261,30 @@ func (s *DescribeStaleSecurityGroupsInput) Validate() error {
return nil
}
+// SetDryRun sets the DryRun field's value.
+func (s *DescribeStaleSecurityGroupsInput) SetDryRun(v bool) *DescribeStaleSecurityGroupsInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetMaxResults sets the MaxResults field's value.
+func (s *DescribeStaleSecurityGroupsInput) SetMaxResults(v int64) *DescribeStaleSecurityGroupsInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeStaleSecurityGroupsInput) SetNextToken(v string) *DescribeStaleSecurityGroupsInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetVpcId sets the VpcId field's value.
+func (s *DescribeStaleSecurityGroupsInput) SetVpcId(v string) *DescribeStaleSecurityGroupsInput {
+ s.VpcId = &v
+ return s
+}
+
type DescribeStaleSecurityGroupsOutput struct {
_ struct{} `type:"structure"`
@@ -24106,6 +28306,18 @@ func (s DescribeStaleSecurityGroupsOutput) GoString() string {
return s.String()
}
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeStaleSecurityGroupsOutput) SetNextToken(v string) *DescribeStaleSecurityGroupsOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetStaleSecurityGroupSet sets the StaleSecurityGroupSet field's value.
+func (s *DescribeStaleSecurityGroupsOutput) SetStaleSecurityGroupSet(v []*StaleSecurityGroup) *DescribeStaleSecurityGroupsOutput {
+ s.StaleSecurityGroupSet = v
+ return s
+}
+
// Contains the parameters for DescribeSubnets.
type DescribeSubnetsInput struct {
_ struct{} `type:"structure"`
@@ -24167,6 +28379,24 @@ func (s DescribeSubnetsInput) GoString() string {
return s.String()
}
+// SetDryRun sets the DryRun field's value.
+func (s *DescribeSubnetsInput) SetDryRun(v bool) *DescribeSubnetsInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetFilters sets the Filters field's value.
+func (s *DescribeSubnetsInput) SetFilters(v []*Filter) *DescribeSubnetsInput {
+ s.Filters = v
+ return s
+}
+
+// SetSubnetIds sets the SubnetIds field's value.
+func (s *DescribeSubnetsInput) SetSubnetIds(v []*string) *DescribeSubnetsInput {
+ s.SubnetIds = v
+ return s
+}
+
// Contains the output of DescribeSubnets.
type DescribeSubnetsOutput struct {
_ struct{} `type:"structure"`
@@ -24185,6 +28415,12 @@ func (s DescribeSubnetsOutput) GoString() string {
return s.String()
}
+// SetSubnets sets the Subnets field's value.
+func (s *DescribeSubnetsOutput) SetSubnets(v []*Subnet) *DescribeSubnetsOutput {
+ s.Subnets = v
+ return s
+}
+
// Contains the parameters for DescribeTags.
type DescribeTagsInput struct {
_ struct{} `type:"structure"`
@@ -24228,6 +28464,30 @@ func (s DescribeTagsInput) GoString() string {
return s.String()
}
+// SetDryRun sets the DryRun field's value.
+func (s *DescribeTagsInput) SetDryRun(v bool) *DescribeTagsInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetFilters sets the Filters field's value.
+func (s *DescribeTagsInput) SetFilters(v []*Filter) *DescribeTagsInput {
+ s.Filters = v
+ return s
+}
+
+// SetMaxResults sets the MaxResults field's value.
+func (s *DescribeTagsInput) SetMaxResults(v int64) *DescribeTagsInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeTagsInput) SetNextToken(v string) *DescribeTagsInput {
+ s.NextToken = &v
+ return s
+}
+
// Contains the output of DescribeTags.
type DescribeTagsOutput struct {
_ struct{} `type:"structure"`
@@ -24250,6 +28510,18 @@ func (s DescribeTagsOutput) GoString() string {
return s.String()
}
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeTagsOutput) SetNextToken(v string) *DescribeTagsOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *DescribeTagsOutput) SetTags(v []*TagDescription) *DescribeTagsOutput {
+ s.Tags = v
+ return s
+}
+
// Contains the parameters for DescribeVolumeAttribute.
type DescribeVolumeAttributeInput struct {
_ struct{} `type:"structure"`
@@ -24292,6 +28564,24 @@ func (s *DescribeVolumeAttributeInput) Validate() error {
return nil
}
+// SetAttribute sets the Attribute field's value.
+func (s *DescribeVolumeAttributeInput) SetAttribute(v string) *DescribeVolumeAttributeInput {
+ s.Attribute = &v
+ return s
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *DescribeVolumeAttributeInput) SetDryRun(v bool) *DescribeVolumeAttributeInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetVolumeId sets the VolumeId field's value.
+func (s *DescribeVolumeAttributeInput) SetVolumeId(v string) *DescribeVolumeAttributeInput {
+ s.VolumeId = &v
+ return s
+}
+
// Contains the output of DescribeVolumeAttribute.
type DescribeVolumeAttributeOutput struct {
_ struct{} `type:"structure"`
@@ -24316,6 +28606,24 @@ func (s DescribeVolumeAttributeOutput) GoString() string {
return s.String()
}
+// SetAutoEnableIO sets the AutoEnableIO field's value.
+func (s *DescribeVolumeAttributeOutput) SetAutoEnableIO(v *AttributeBooleanValue) *DescribeVolumeAttributeOutput {
+ s.AutoEnableIO = v
+ return s
+}
+
+// SetProductCodes sets the ProductCodes field's value.
+func (s *DescribeVolumeAttributeOutput) SetProductCodes(v []*ProductCode) *DescribeVolumeAttributeOutput {
+ s.ProductCodes = v
+ return s
+}
+
+// SetVolumeId sets the VolumeId field's value.
+func (s *DescribeVolumeAttributeOutput) SetVolumeId(v string) *DescribeVolumeAttributeOutput {
+ s.VolumeId = &v
+ return s
+}
+
// Contains the parameters for DescribeVolumeStatus.
type DescribeVolumeStatusInput struct {
_ struct{} `type:"structure"`
@@ -24391,6 +28699,36 @@ func (s DescribeVolumeStatusInput) GoString() string {
return s.String()
}
+// SetDryRun sets the DryRun field's value.
+func (s *DescribeVolumeStatusInput) SetDryRun(v bool) *DescribeVolumeStatusInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetFilters sets the Filters field's value.
+func (s *DescribeVolumeStatusInput) SetFilters(v []*Filter) *DescribeVolumeStatusInput {
+ s.Filters = v
+ return s
+}
+
+// SetMaxResults sets the MaxResults field's value.
+func (s *DescribeVolumeStatusInput) SetMaxResults(v int64) *DescribeVolumeStatusInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeVolumeStatusInput) SetNextToken(v string) *DescribeVolumeStatusInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetVolumeIds sets the VolumeIds field's value.
+func (s *DescribeVolumeStatusInput) SetVolumeIds(v []*string) *DescribeVolumeStatusInput {
+ s.VolumeIds = v
+ return s
+}
+
// Contains the output of DescribeVolumeStatus.
type DescribeVolumeStatusOutput struct {
_ struct{} `type:"structure"`
@@ -24413,6 +28751,18 @@ func (s DescribeVolumeStatusOutput) GoString() string {
return s.String()
}
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeVolumeStatusOutput) SetNextToken(v string) *DescribeVolumeStatusOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetVolumeStatuses sets the VolumeStatuses field's value.
+func (s *DescribeVolumeStatusOutput) SetVolumeStatuses(v []*VolumeStatusItem) *DescribeVolumeStatusOutput {
+ s.VolumeStatuses = v
+ return s
+}
+
// Contains the parameters for DescribeVolumes.
type DescribeVolumesInput struct {
_ struct{} `type:"structure"`
@@ -24503,6 +28853,36 @@ func (s DescribeVolumesInput) GoString() string {
return s.String()
}
+// SetDryRun sets the DryRun field's value.
+func (s *DescribeVolumesInput) SetDryRun(v bool) *DescribeVolumesInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetFilters sets the Filters field's value.
+func (s *DescribeVolumesInput) SetFilters(v []*Filter) *DescribeVolumesInput {
+ s.Filters = v
+ return s
+}
+
+// SetMaxResults sets the MaxResults field's value.
+func (s *DescribeVolumesInput) SetMaxResults(v int64) *DescribeVolumesInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeVolumesInput) SetNextToken(v string) *DescribeVolumesInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetVolumeIds sets the VolumeIds field's value.
+func (s *DescribeVolumesInput) SetVolumeIds(v []*string) *DescribeVolumesInput {
+ s.VolumeIds = v
+ return s
+}
+
// Contains the output of DescribeVolumes.
type DescribeVolumesOutput struct {
_ struct{} `type:"structure"`
@@ -24527,6 +28907,18 @@ func (s DescribeVolumesOutput) GoString() string {
return s.String()
}
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeVolumesOutput) SetNextToken(v string) *DescribeVolumesOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetVolumes sets the Volumes field's value.
+func (s *DescribeVolumesOutput) SetVolumes(v []*Volume) *DescribeVolumesOutput {
+ s.Volumes = v
+ return s
+}
+
// Contains the parameters for DescribeVpcAttribute.
type DescribeVpcAttributeInput struct {
_ struct{} `type:"structure"`
@@ -24574,6 +28966,24 @@ func (s *DescribeVpcAttributeInput) Validate() error {
return nil
}
+// SetAttribute sets the Attribute field's value.
+func (s *DescribeVpcAttributeInput) SetAttribute(v string) *DescribeVpcAttributeInput {
+ s.Attribute = &v
+ return s
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *DescribeVpcAttributeInput) SetDryRun(v bool) *DescribeVpcAttributeInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetVpcId sets the VpcId field's value.
+func (s *DescribeVpcAttributeInput) SetVpcId(v string) *DescribeVpcAttributeInput {
+ s.VpcId = &v
+ return s
+}
+
// Contains the output of DescribeVpcAttribute.
type DescribeVpcAttributeOutput struct {
_ struct{} `type:"structure"`
@@ -24602,6 +29012,24 @@ func (s DescribeVpcAttributeOutput) GoString() string {
return s.String()
}
+// SetEnableDnsHostnames sets the EnableDnsHostnames field's value.
+func (s *DescribeVpcAttributeOutput) SetEnableDnsHostnames(v *AttributeBooleanValue) *DescribeVpcAttributeOutput {
+ s.EnableDnsHostnames = v
+ return s
+}
+
+// SetEnableDnsSupport sets the EnableDnsSupport field's value.
+func (s *DescribeVpcAttributeOutput) SetEnableDnsSupport(v *AttributeBooleanValue) *DescribeVpcAttributeOutput {
+ s.EnableDnsSupport = v
+ return s
+}
+
+// SetVpcId sets the VpcId field's value.
+func (s *DescribeVpcAttributeOutput) SetVpcId(v string) *DescribeVpcAttributeOutput {
+ s.VpcId = &v
+ return s
+}
+
// Contains the parameters for DescribeVpcClassicLinkDnsSupport.
type DescribeVpcClassicLinkDnsSupportInput struct {
_ struct{} `type:"structure"`
@@ -24645,6 +29073,24 @@ func (s *DescribeVpcClassicLinkDnsSupportInput) Validate() error {
return nil
}
+// SetMaxResults sets the MaxResults field's value.
+func (s *DescribeVpcClassicLinkDnsSupportInput) SetMaxResults(v int64) *DescribeVpcClassicLinkDnsSupportInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeVpcClassicLinkDnsSupportInput) SetNextToken(v string) *DescribeVpcClassicLinkDnsSupportInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetVpcIds sets the VpcIds field's value.
+func (s *DescribeVpcClassicLinkDnsSupportInput) SetVpcIds(v []*string) *DescribeVpcClassicLinkDnsSupportInput {
+ s.VpcIds = v
+ return s
+}
+
// Contains the output of DescribeVpcClassicLinkDnsSupport.
type DescribeVpcClassicLinkDnsSupportOutput struct {
_ struct{} `type:"structure"`
@@ -24666,6 +29112,18 @@ func (s DescribeVpcClassicLinkDnsSupportOutput) GoString() string {
return s.String()
}
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeVpcClassicLinkDnsSupportOutput) SetNextToken(v string) *DescribeVpcClassicLinkDnsSupportOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetVpcs sets the Vpcs field's value.
+func (s *DescribeVpcClassicLinkDnsSupportOutput) SetVpcs(v []*ClassicLinkDnsSupport) *DescribeVpcClassicLinkDnsSupportOutput {
+ s.Vpcs = v
+ return s
+}
+
// Contains the parameters for DescribeVpcClassicLink.
type DescribeVpcClassicLinkInput struct {
_ struct{} `type:"structure"`
@@ -24709,6 +29167,24 @@ func (s DescribeVpcClassicLinkInput) GoString() string {
return s.String()
}
+// SetDryRun sets the DryRun field's value.
+func (s *DescribeVpcClassicLinkInput) SetDryRun(v bool) *DescribeVpcClassicLinkInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetFilters sets the Filters field's value.
+func (s *DescribeVpcClassicLinkInput) SetFilters(v []*Filter) *DescribeVpcClassicLinkInput {
+ s.Filters = v
+ return s
+}
+
+// SetVpcIds sets the VpcIds field's value.
+func (s *DescribeVpcClassicLinkInput) SetVpcIds(v []*string) *DescribeVpcClassicLinkInput {
+ s.VpcIds = v
+ return s
+}
+
// Contains the output of DescribeVpcClassicLink.
type DescribeVpcClassicLinkOutput struct {
_ struct{} `type:"structure"`
@@ -24727,6 +29203,12 @@ func (s DescribeVpcClassicLinkOutput) GoString() string {
return s.String()
}
+// SetVpcs sets the Vpcs field's value.
+func (s *DescribeVpcClassicLinkOutput) SetVpcs(v []*VpcClassicLink) *DescribeVpcClassicLinkOutput {
+ s.Vpcs = v
+ return s
+}
+
// Contains the parameters for DescribeVpcEndpointServices.
type DescribeVpcEndpointServicesInput struct {
_ struct{} `type:"structure"`
@@ -24759,6 +29241,24 @@ func (s DescribeVpcEndpointServicesInput) GoString() string {
return s.String()
}
+// SetDryRun sets the DryRun field's value.
+func (s *DescribeVpcEndpointServicesInput) SetDryRun(v bool) *DescribeVpcEndpointServicesInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetMaxResults sets the MaxResults field's value.
+func (s *DescribeVpcEndpointServicesInput) SetMaxResults(v int64) *DescribeVpcEndpointServicesInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeVpcEndpointServicesInput) SetNextToken(v string) *DescribeVpcEndpointServicesInput {
+ s.NextToken = &v
+ return s
+}
+
// Contains the output of DescribeVpcEndpointServices.
type DescribeVpcEndpointServicesOutput struct {
_ struct{} `type:"structure"`
@@ -24781,6 +29281,18 @@ func (s DescribeVpcEndpointServicesOutput) GoString() string {
return s.String()
}
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeVpcEndpointServicesOutput) SetNextToken(v string) *DescribeVpcEndpointServicesOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetServiceNames sets the ServiceNames field's value.
+func (s *DescribeVpcEndpointServicesOutput) SetServiceNames(v []*string) *DescribeVpcEndpointServicesOutput {
+ s.ServiceNames = v
+ return s
+}
+
// Contains the parameters for DescribeVpcEndpoints.
type DescribeVpcEndpointsInput struct {
_ struct{} `type:"structure"`
@@ -24828,6 +29340,36 @@ func (s DescribeVpcEndpointsInput) GoString() string {
return s.String()
}
+// SetDryRun sets the DryRun field's value.
+func (s *DescribeVpcEndpointsInput) SetDryRun(v bool) *DescribeVpcEndpointsInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetFilters sets the Filters field's value.
+func (s *DescribeVpcEndpointsInput) SetFilters(v []*Filter) *DescribeVpcEndpointsInput {
+ s.Filters = v
+ return s
+}
+
+// SetMaxResults sets the MaxResults field's value.
+func (s *DescribeVpcEndpointsInput) SetMaxResults(v int64) *DescribeVpcEndpointsInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeVpcEndpointsInput) SetNextToken(v string) *DescribeVpcEndpointsInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetVpcEndpointIds sets the VpcEndpointIds field's value.
+func (s *DescribeVpcEndpointsInput) SetVpcEndpointIds(v []*string) *DescribeVpcEndpointsInput {
+ s.VpcEndpointIds = v
+ return s
+}
+
// Contains the output of DescribeVpcEndpoints.
type DescribeVpcEndpointsOutput struct {
_ struct{} `type:"structure"`
@@ -24850,6 +29392,18 @@ func (s DescribeVpcEndpointsOutput) GoString() string {
return s.String()
}
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeVpcEndpointsOutput) SetNextToken(v string) *DescribeVpcEndpointsOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetVpcEndpoints sets the VpcEndpoints field's value.
+func (s *DescribeVpcEndpointsOutput) SetVpcEndpoints(v []*VpcEndpoint) *DescribeVpcEndpointsOutput {
+ s.VpcEndpoints = v
+ return s
+}
+
// Contains the parameters for DescribeVpcPeeringConnections.
type DescribeVpcPeeringConnectionsInput struct {
_ struct{} `type:"structure"`
@@ -24916,6 +29470,24 @@ func (s DescribeVpcPeeringConnectionsInput) GoString() string {
return s.String()
}
+// SetDryRun sets the DryRun field's value.
+func (s *DescribeVpcPeeringConnectionsInput) SetDryRun(v bool) *DescribeVpcPeeringConnectionsInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetFilters sets the Filters field's value.
+func (s *DescribeVpcPeeringConnectionsInput) SetFilters(v []*Filter) *DescribeVpcPeeringConnectionsInput {
+ s.Filters = v
+ return s
+}
+
+// SetVpcPeeringConnectionIds sets the VpcPeeringConnectionIds field's value.
+func (s *DescribeVpcPeeringConnectionsInput) SetVpcPeeringConnectionIds(v []*string) *DescribeVpcPeeringConnectionsInput {
+ s.VpcPeeringConnectionIds = v
+ return s
+}
+
// Contains the output of DescribeVpcPeeringConnections.
type DescribeVpcPeeringConnectionsOutput struct {
_ struct{} `type:"structure"`
@@ -24934,6 +29506,12 @@ func (s DescribeVpcPeeringConnectionsOutput) GoString() string {
return s.String()
}
+// SetVpcPeeringConnections sets the VpcPeeringConnections field's value.
+func (s *DescribeVpcPeeringConnectionsOutput) SetVpcPeeringConnections(v []*VpcPeeringConnection) *DescribeVpcPeeringConnectionsOutput {
+ s.VpcPeeringConnections = v
+ return s
+}
+
// Contains the parameters for DescribeVpcs.
type DescribeVpcsInput struct {
_ struct{} `type:"structure"`
@@ -24988,6 +29566,24 @@ func (s DescribeVpcsInput) GoString() string {
return s.String()
}
+// SetDryRun sets the DryRun field's value.
+func (s *DescribeVpcsInput) SetDryRun(v bool) *DescribeVpcsInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetFilters sets the Filters field's value.
+func (s *DescribeVpcsInput) SetFilters(v []*Filter) *DescribeVpcsInput {
+ s.Filters = v
+ return s
+}
+
+// SetVpcIds sets the VpcIds field's value.
+func (s *DescribeVpcsInput) SetVpcIds(v []*string) *DescribeVpcsInput {
+ s.VpcIds = v
+ return s
+}
+
// Contains the output of DescribeVpcs.
type DescribeVpcsOutput struct {
_ struct{} `type:"structure"`
@@ -25006,6 +29602,12 @@ func (s DescribeVpcsOutput) GoString() string {
return s.String()
}
+// SetVpcs sets the Vpcs field's value.
+func (s *DescribeVpcsOutput) SetVpcs(v []*Vpc) *DescribeVpcsOutput {
+ s.Vpcs = v
+ return s
+}
+
// Contains the parameters for DescribeVpnConnections.
type DescribeVpnConnectionsInput struct {
_ struct{} `type:"structure"`
@@ -25075,6 +29677,24 @@ func (s DescribeVpnConnectionsInput) GoString() string {
return s.String()
}
+// SetDryRun sets the DryRun field's value.
+func (s *DescribeVpnConnectionsInput) SetDryRun(v bool) *DescribeVpnConnectionsInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetFilters sets the Filters field's value.
+func (s *DescribeVpnConnectionsInput) SetFilters(v []*Filter) *DescribeVpnConnectionsInput {
+ s.Filters = v
+ return s
+}
+
+// SetVpnConnectionIds sets the VpnConnectionIds field's value.
+func (s *DescribeVpnConnectionsInput) SetVpnConnectionIds(v []*string) *DescribeVpnConnectionsInput {
+ s.VpnConnectionIds = v
+ return s
+}
+
// Contains the output of DescribeVpnConnections.
type DescribeVpnConnectionsOutput struct {
_ struct{} `type:"structure"`
@@ -25093,6 +29713,12 @@ func (s DescribeVpnConnectionsOutput) GoString() string {
return s.String()
}
+// SetVpnConnections sets the VpnConnections field's value.
+func (s *DescribeVpnConnectionsOutput) SetVpnConnections(v []*VpnConnection) *DescribeVpnConnectionsOutput {
+ s.VpnConnections = v
+ return s
+}
+
// Contains the parameters for DescribeVpnGateways.
type DescribeVpnGatewaysInput struct {
_ struct{} `type:"structure"`
@@ -25151,6 +29777,24 @@ func (s DescribeVpnGatewaysInput) GoString() string {
return s.String()
}
+// SetDryRun sets the DryRun field's value.
+func (s *DescribeVpnGatewaysInput) SetDryRun(v bool) *DescribeVpnGatewaysInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetFilters sets the Filters field's value.
+func (s *DescribeVpnGatewaysInput) SetFilters(v []*Filter) *DescribeVpnGatewaysInput {
+ s.Filters = v
+ return s
+}
+
+// SetVpnGatewayIds sets the VpnGatewayIds field's value.
+func (s *DescribeVpnGatewaysInput) SetVpnGatewayIds(v []*string) *DescribeVpnGatewaysInput {
+ s.VpnGatewayIds = v
+ return s
+}
+
// Contains the output of DescribeVpnGateways.
type DescribeVpnGatewaysOutput struct {
_ struct{} `type:"structure"`
@@ -25169,6 +29813,12 @@ func (s DescribeVpnGatewaysOutput) GoString() string {
return s.String()
}
+// SetVpnGateways sets the VpnGateways field's value.
+func (s *DescribeVpnGatewaysOutput) SetVpnGateways(v []*VpnGateway) *DescribeVpnGatewaysOutput {
+ s.VpnGateways = v
+ return s
+}
+
// Contains the parameters for DetachClassicLinkVpc.
type DetachClassicLinkVpcInput struct {
_ struct{} `type:"structure"`
@@ -25216,6 +29866,24 @@ func (s *DetachClassicLinkVpcInput) Validate() error {
return nil
}
+// SetDryRun sets the DryRun field's value.
+func (s *DetachClassicLinkVpcInput) SetDryRun(v bool) *DetachClassicLinkVpcInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetInstanceId sets the InstanceId field's value.
+func (s *DetachClassicLinkVpcInput) SetInstanceId(v string) *DetachClassicLinkVpcInput {
+ s.InstanceId = &v
+ return s
+}
+
+// SetVpcId sets the VpcId field's value.
+func (s *DetachClassicLinkVpcInput) SetVpcId(v string) *DetachClassicLinkVpcInput {
+ s.VpcId = &v
+ return s
+}
+
// Contains the output of DetachClassicLinkVpc.
type DetachClassicLinkVpcOutput struct {
_ struct{} `type:"structure"`
@@ -25234,6 +29902,12 @@ func (s DetachClassicLinkVpcOutput) GoString() string {
return s.String()
}
+// SetReturn sets the Return field's value.
+func (s *DetachClassicLinkVpcOutput) SetReturn(v bool) *DetachClassicLinkVpcOutput {
+ s.Return = &v
+ return s
+}
+
// Contains the parameters for DetachInternetGateway.
type DetachInternetGatewayInput struct {
_ struct{} `type:"structure"`
@@ -25281,6 +29955,24 @@ func (s *DetachInternetGatewayInput) Validate() error {
return nil
}
+// SetDryRun sets the DryRun field's value.
+func (s *DetachInternetGatewayInput) SetDryRun(v bool) *DetachInternetGatewayInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetInternetGatewayId sets the InternetGatewayId field's value.
+func (s *DetachInternetGatewayInput) SetInternetGatewayId(v string) *DetachInternetGatewayInput {
+ s.InternetGatewayId = &v
+ return s
+}
+
+// SetVpcId sets the VpcId field's value.
+func (s *DetachInternetGatewayInput) SetVpcId(v string) *DetachInternetGatewayInput {
+ s.VpcId = &v
+ return s
+}
+
type DetachInternetGatewayOutput struct {
_ struct{} `type:"structure"`
}
@@ -25337,6 +30029,24 @@ func (s *DetachNetworkInterfaceInput) Validate() error {
return nil
}
+// SetAttachmentId sets the AttachmentId field's value.
+func (s *DetachNetworkInterfaceInput) SetAttachmentId(v string) *DetachNetworkInterfaceInput {
+ s.AttachmentId = &v
+ return s
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *DetachNetworkInterfaceInput) SetDryRun(v bool) *DetachNetworkInterfaceInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetForce sets the Force field's value.
+func (s *DetachNetworkInterfaceInput) SetForce(v bool) *DetachNetworkInterfaceInput {
+ s.Force = &v
+ return s
+}
+
type DetachNetworkInterfaceOutput struct {
_ struct{} `type:"structure"`
}
@@ -25405,6 +30115,36 @@ func (s *DetachVolumeInput) Validate() error {
return nil
}
+// SetDevice sets the Device field's value.
+func (s *DetachVolumeInput) SetDevice(v string) *DetachVolumeInput {
+ s.Device = &v
+ return s
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *DetachVolumeInput) SetDryRun(v bool) *DetachVolumeInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetForce sets the Force field's value.
+func (s *DetachVolumeInput) SetForce(v bool) *DetachVolumeInput {
+ s.Force = &v
+ return s
+}
+
+// SetInstanceId sets the InstanceId field's value.
+func (s *DetachVolumeInput) SetInstanceId(v string) *DetachVolumeInput {
+ s.InstanceId = &v
+ return s
+}
+
+// SetVolumeId sets the VolumeId field's value.
+func (s *DetachVolumeInput) SetVolumeId(v string) *DetachVolumeInput {
+ s.VolumeId = &v
+ return s
+}
+
// Contains the parameters for DetachVpnGateway.
type DetachVpnGatewayInput struct {
_ struct{} `type:"structure"`
@@ -25452,6 +30192,24 @@ func (s *DetachVpnGatewayInput) Validate() error {
return nil
}
+// SetDryRun sets the DryRun field's value.
+func (s *DetachVpnGatewayInput) SetDryRun(v bool) *DetachVpnGatewayInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetVpcId sets the VpcId field's value.
+func (s *DetachVpnGatewayInput) SetVpcId(v string) *DetachVpnGatewayInput {
+ s.VpcId = &v
+ return s
+}
+
+// SetVpnGatewayId sets the VpnGatewayId field's value.
+func (s *DetachVpnGatewayInput) SetVpnGatewayId(v string) *DetachVpnGatewayInput {
+ s.VpnGatewayId = &v
+ return s
+}
+
type DetachVpnGatewayOutput struct {
_ struct{} `type:"structure"`
}
@@ -25487,6 +30245,18 @@ func (s DhcpConfiguration) GoString() string {
return s.String()
}
+// SetKey sets the Key field's value.
+func (s *DhcpConfiguration) SetKey(v string) *DhcpConfiguration {
+ s.Key = &v
+ return s
+}
+
+// SetValues sets the Values field's value.
+func (s *DhcpConfiguration) SetValues(v []*AttributeValue) *DhcpConfiguration {
+ s.Values = v
+ return s
+}
+
// Describes a set of DHCP options.
type DhcpOptions struct {
_ struct{} `type:"structure"`
@@ -25511,6 +30281,24 @@ func (s DhcpOptions) GoString() string {
return s.String()
}
+// SetDhcpConfigurations sets the DhcpConfigurations field's value.
+func (s *DhcpOptions) SetDhcpConfigurations(v []*DhcpConfiguration) *DhcpOptions {
+ s.DhcpConfigurations = v
+ return s
+}
+
+// SetDhcpOptionsId sets the DhcpOptionsId field's value.
+func (s *DhcpOptions) SetDhcpOptionsId(v string) *DhcpOptions {
+ s.DhcpOptionsId = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *DhcpOptions) SetTags(v []*Tag) *DhcpOptions {
+ s.Tags = v
+ return s
+}
+
// Contains the parameters for DisableVgwRoutePropagation.
type DisableVgwRoutePropagationInput struct {
_ struct{} `type:"structure"`
@@ -25552,6 +30340,18 @@ func (s *DisableVgwRoutePropagationInput) Validate() error {
return nil
}
+// SetGatewayId sets the GatewayId field's value.
+func (s *DisableVgwRoutePropagationInput) SetGatewayId(v string) *DisableVgwRoutePropagationInput {
+ s.GatewayId = &v
+ return s
+}
+
+// SetRouteTableId sets the RouteTableId field's value.
+func (s *DisableVgwRoutePropagationInput) SetRouteTableId(v string) *DisableVgwRoutePropagationInput {
+ s.RouteTableId = &v
+ return s
+}
+
type DisableVgwRoutePropagationOutput struct {
_ struct{} `type:"structure"`
}
@@ -25584,6 +30384,12 @@ func (s DisableVpcClassicLinkDnsSupportInput) GoString() string {
return s.String()
}
+// SetVpcId sets the VpcId field's value.
+func (s *DisableVpcClassicLinkDnsSupportInput) SetVpcId(v string) *DisableVpcClassicLinkDnsSupportInput {
+ s.VpcId = &v
+ return s
+}
+
// Contains the output of DisableVpcClassicLinkDnsSupport.
type DisableVpcClassicLinkDnsSupportOutput struct {
_ struct{} `type:"structure"`
@@ -25602,6 +30408,12 @@ func (s DisableVpcClassicLinkDnsSupportOutput) GoString() string {
return s.String()
}
+// SetReturn sets the Return field's value.
+func (s *DisableVpcClassicLinkDnsSupportOutput) SetReturn(v bool) *DisableVpcClassicLinkDnsSupportOutput {
+ s.Return = &v
+ return s
+}
+
// Contains the parameters for DisableVpcClassicLink.
type DisableVpcClassicLinkInput struct {
_ struct{} `type:"structure"`
@@ -25641,6 +30453,18 @@ func (s *DisableVpcClassicLinkInput) Validate() error {
return nil
}
+// SetDryRun sets the DryRun field's value.
+func (s *DisableVpcClassicLinkInput) SetDryRun(v bool) *DisableVpcClassicLinkInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetVpcId sets the VpcId field's value.
+func (s *DisableVpcClassicLinkInput) SetVpcId(v string) *DisableVpcClassicLinkInput {
+ s.VpcId = &v
+ return s
+}
+
// Contains the output of DisableVpcClassicLink.
type DisableVpcClassicLinkOutput struct {
_ struct{} `type:"structure"`
@@ -25659,6 +30483,12 @@ func (s DisableVpcClassicLinkOutput) GoString() string {
return s.String()
}
+// SetReturn sets the Return field's value.
+func (s *DisableVpcClassicLinkOutput) SetReturn(v bool) *DisableVpcClassicLinkOutput {
+ s.Return = &v
+ return s
+}
+
// Contains the parameters for DisassociateAddress.
type DisassociateAddressInput struct {
_ struct{} `type:"structure"`
@@ -25686,6 +30516,24 @@ func (s DisassociateAddressInput) GoString() string {
return s.String()
}
+// SetAssociationId sets the AssociationId field's value.
+func (s *DisassociateAddressInput) SetAssociationId(v string) *DisassociateAddressInput {
+ s.AssociationId = &v
+ return s
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *DisassociateAddressInput) SetDryRun(v bool) *DisassociateAddressInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetPublicIp sets the PublicIp field's value.
+func (s *DisassociateAddressInput) SetPublicIp(v string) *DisassociateAddressInput {
+ s.PublicIp = &v
+ return s
+}
+
type DisassociateAddressOutput struct {
_ struct{} `type:"structure"`
}
@@ -25740,6 +30588,18 @@ func (s *DisassociateRouteTableInput) Validate() error {
return nil
}
+// SetAssociationId sets the AssociationId field's value.
+func (s *DisassociateRouteTableInput) SetAssociationId(v string) *DisassociateRouteTableInput {
+ s.AssociationId = &v
+ return s
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *DisassociateRouteTableInput) SetDryRun(v bool) *DisassociateRouteTableInput {
+ s.DryRun = &v
+ return s
+}
+
type DisassociateRouteTableOutput struct {
_ struct{} `type:"structure"`
}
@@ -25798,6 +30658,24 @@ func (s *DiskImage) Validate() error {
return nil
}
+// SetDescription sets the Description field's value.
+func (s *DiskImage) SetDescription(v string) *DiskImage {
+ s.Description = &v
+ return s
+}
+
+// SetImage sets the Image field's value.
+func (s *DiskImage) SetImage(v *DiskImageDetail) *DiskImage {
+ s.Image = v
+ return s
+}
+
+// SetVolume sets the Volume field's value.
+func (s *DiskImage) SetVolume(v *VolumeDetail) *DiskImage {
+ s.Volume = v
+ return s
+}
+
// Describes a disk image.
type DiskImageDescription struct {
_ struct{} `type:"structure"`
@@ -25838,6 +30716,30 @@ func (s DiskImageDescription) GoString() string {
return s.String()
}
+// SetChecksum sets the Checksum field's value.
+func (s *DiskImageDescription) SetChecksum(v string) *DiskImageDescription {
+ s.Checksum = &v
+ return s
+}
+
+// SetFormat sets the Format field's value.
+func (s *DiskImageDescription) SetFormat(v string) *DiskImageDescription {
+ s.Format = &v
+ return s
+}
+
+// SetImportManifestUrl sets the ImportManifestUrl field's value.
+func (s *DiskImageDescription) SetImportManifestUrl(v string) *DiskImageDescription {
+ s.ImportManifestUrl = &v
+ return s
+}
+
+// SetSize sets the Size field's value.
+func (s *DiskImageDescription) SetSize(v int64) *DiskImageDescription {
+ s.Size = &v
+ return s
+}
+
// Describes a disk image.
type DiskImageDetail struct {
_ struct{} `type:"structure"`
@@ -25894,6 +30796,24 @@ func (s *DiskImageDetail) Validate() error {
return nil
}
+// SetBytes sets the Bytes field's value.
+func (s *DiskImageDetail) SetBytes(v int64) *DiskImageDetail {
+ s.Bytes = &v
+ return s
+}
+
+// SetFormat sets the Format field's value.
+func (s *DiskImageDetail) SetFormat(v string) *DiskImageDetail {
+ s.Format = &v
+ return s
+}
+
+// SetImportManifestUrl sets the ImportManifestUrl field's value.
+func (s *DiskImageDetail) SetImportManifestUrl(v string) *DiskImageDetail {
+ s.ImportManifestUrl = &v
+ return s
+}
+
// Describes a disk image volume.
type DiskImageVolumeDescription struct {
_ struct{} `type:"structure"`
@@ -25917,6 +30837,18 @@ func (s DiskImageVolumeDescription) GoString() string {
return s.String()
}
+// SetId sets the Id field's value.
+func (s *DiskImageVolumeDescription) SetId(v string) *DiskImageVolumeDescription {
+ s.Id = &v
+ return s
+}
+
+// SetSize sets the Size field's value.
+func (s *DiskImageVolumeDescription) SetSize(v int64) *DiskImageVolumeDescription {
+ s.Size = &v
+ return s
+}
+
// Describes a block device for an EBS volume.
type EbsBlockDevice struct {
_ struct{} `type:"structure"`
@@ -25974,6 +30906,42 @@ func (s EbsBlockDevice) GoString() string {
return s.String()
}
+// SetDeleteOnTermination sets the DeleteOnTermination field's value.
+func (s *EbsBlockDevice) SetDeleteOnTermination(v bool) *EbsBlockDevice {
+ s.DeleteOnTermination = &v
+ return s
+}
+
+// SetEncrypted sets the Encrypted field's value.
+func (s *EbsBlockDevice) SetEncrypted(v bool) *EbsBlockDevice {
+ s.Encrypted = &v
+ return s
+}
+
+// SetIops sets the Iops field's value.
+func (s *EbsBlockDevice) SetIops(v int64) *EbsBlockDevice {
+ s.Iops = &v
+ return s
+}
+
+// SetSnapshotId sets the SnapshotId field's value.
+func (s *EbsBlockDevice) SetSnapshotId(v string) *EbsBlockDevice {
+ s.SnapshotId = &v
+ return s
+}
+
+// SetVolumeSize sets the VolumeSize field's value.
+func (s *EbsBlockDevice) SetVolumeSize(v int64) *EbsBlockDevice {
+ s.VolumeSize = &v
+ return s
+}
+
+// SetVolumeType sets the VolumeType field's value.
+func (s *EbsBlockDevice) SetVolumeType(v string) *EbsBlockDevice {
+ s.VolumeType = &v
+ return s
+}
+
// Describes a parameter used to set up an EBS volume in a block device mapping.
type EbsInstanceBlockDevice struct {
_ struct{} `type:"structure"`
@@ -26001,6 +30969,30 @@ func (s EbsInstanceBlockDevice) GoString() string {
return s.String()
}
+// SetAttachTime sets the AttachTime field's value.
+func (s *EbsInstanceBlockDevice) SetAttachTime(v time.Time) *EbsInstanceBlockDevice {
+ s.AttachTime = &v
+ return s
+}
+
+// SetDeleteOnTermination sets the DeleteOnTermination field's value.
+func (s *EbsInstanceBlockDevice) SetDeleteOnTermination(v bool) *EbsInstanceBlockDevice {
+ s.DeleteOnTermination = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *EbsInstanceBlockDevice) SetStatus(v string) *EbsInstanceBlockDevice {
+ s.Status = &v
+ return s
+}
+
+// SetVolumeId sets the VolumeId field's value.
+func (s *EbsInstanceBlockDevice) SetVolumeId(v string) *EbsInstanceBlockDevice {
+ s.VolumeId = &v
+ return s
+}
+
// Describes information used to set up an EBS volume specified in a block device
// mapping.
type EbsInstanceBlockDeviceSpecification struct {
@@ -26023,6 +31015,18 @@ func (s EbsInstanceBlockDeviceSpecification) GoString() string {
return s.String()
}
+// SetDeleteOnTermination sets the DeleteOnTermination field's value.
+func (s *EbsInstanceBlockDeviceSpecification) SetDeleteOnTermination(v bool) *EbsInstanceBlockDeviceSpecification {
+ s.DeleteOnTermination = &v
+ return s
+}
+
+// SetVolumeId sets the VolumeId field's value.
+func (s *EbsInstanceBlockDeviceSpecification) SetVolumeId(v string) *EbsInstanceBlockDeviceSpecification {
+ s.VolumeId = &v
+ return s
+}
+
// Contains the parameters for EnableVgwRoutePropagation.
type EnableVgwRoutePropagationInput struct {
_ struct{} `type:"structure"`
@@ -26064,6 +31068,18 @@ func (s *EnableVgwRoutePropagationInput) Validate() error {
return nil
}
+// SetGatewayId sets the GatewayId field's value.
+func (s *EnableVgwRoutePropagationInput) SetGatewayId(v string) *EnableVgwRoutePropagationInput {
+ s.GatewayId = &v
+ return s
+}
+
+// SetRouteTableId sets the RouteTableId field's value.
+func (s *EnableVgwRoutePropagationInput) SetRouteTableId(v string) *EnableVgwRoutePropagationInput {
+ s.RouteTableId = &v
+ return s
+}
+
type EnableVgwRoutePropagationOutput struct {
_ struct{} `type:"structure"`
}
@@ -26117,6 +31133,18 @@ func (s *EnableVolumeIOInput) Validate() error {
return nil
}
+// SetDryRun sets the DryRun field's value.
+func (s *EnableVolumeIOInput) SetDryRun(v bool) *EnableVolumeIOInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetVolumeId sets the VolumeId field's value.
+func (s *EnableVolumeIOInput) SetVolumeId(v string) *EnableVolumeIOInput {
+ s.VolumeId = &v
+ return s
+}
+
type EnableVolumeIOOutput struct {
_ struct{} `type:"structure"`
}
@@ -26149,6 +31177,12 @@ func (s EnableVpcClassicLinkDnsSupportInput) GoString() string {
return s.String()
}
+// SetVpcId sets the VpcId field's value.
+func (s *EnableVpcClassicLinkDnsSupportInput) SetVpcId(v string) *EnableVpcClassicLinkDnsSupportInput {
+ s.VpcId = &v
+ return s
+}
+
// Contains the output of EnableVpcClassicLinkDnsSupport.
type EnableVpcClassicLinkDnsSupportOutput struct {
_ struct{} `type:"structure"`
@@ -26167,6 +31201,12 @@ func (s EnableVpcClassicLinkDnsSupportOutput) GoString() string {
return s.String()
}
+// SetReturn sets the Return field's value.
+func (s *EnableVpcClassicLinkDnsSupportOutput) SetReturn(v bool) *EnableVpcClassicLinkDnsSupportOutput {
+ s.Return = &v
+ return s
+}
+
// Contains the parameters for EnableVpcClassicLink.
type EnableVpcClassicLinkInput struct {
_ struct{} `type:"structure"`
@@ -26206,6 +31246,18 @@ func (s *EnableVpcClassicLinkInput) Validate() error {
return nil
}
+// SetDryRun sets the DryRun field's value.
+func (s *EnableVpcClassicLinkInput) SetDryRun(v bool) *EnableVpcClassicLinkInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetVpcId sets the VpcId field's value.
+func (s *EnableVpcClassicLinkInput) SetVpcId(v string) *EnableVpcClassicLinkInput {
+ s.VpcId = &v
+ return s
+}
+
// Contains the output of EnableVpcClassicLink.
type EnableVpcClassicLinkOutput struct {
_ struct{} `type:"structure"`
@@ -26224,6 +31276,12 @@ func (s EnableVpcClassicLinkOutput) GoString() string {
return s.String()
}
+// SetReturn sets the Return field's value.
+func (s *EnableVpcClassicLinkOutput) SetReturn(v bool) *EnableVpcClassicLinkOutput {
+ s.Return = &v
+ return s
+}
+
// Describes a Spot fleet event.
type EventInformation struct {
_ struct{} `type:"structure"`
@@ -26300,6 +31358,24 @@ func (s EventInformation) GoString() string {
return s.String()
}
+// SetEventDescription sets the EventDescription field's value.
+func (s *EventInformation) SetEventDescription(v string) *EventInformation {
+ s.EventDescription = &v
+ return s
+}
+
+// SetEventSubType sets the EventSubType field's value.
+func (s *EventInformation) SetEventSubType(v string) *EventInformation {
+ s.EventSubType = &v
+ return s
+}
+
+// SetInstanceId sets the InstanceId field's value.
+func (s *EventInformation) SetInstanceId(v string) *EventInformation {
+ s.InstanceId = &v
+ return s
+}
+
// Describes an instance export task.
type ExportTask struct {
_ struct{} `type:"structure"`
@@ -26333,6 +31409,42 @@ func (s ExportTask) GoString() string {
return s.String()
}
+// SetDescription sets the Description field's value.
+func (s *ExportTask) SetDescription(v string) *ExportTask {
+ s.Description = &v
+ return s
+}
+
+// SetExportTaskId sets the ExportTaskId field's value.
+func (s *ExportTask) SetExportTaskId(v string) *ExportTask {
+ s.ExportTaskId = &v
+ return s
+}
+
+// SetExportToS3Task sets the ExportToS3Task field's value.
+func (s *ExportTask) SetExportToS3Task(v *ExportToS3Task) *ExportTask {
+ s.ExportToS3Task = v
+ return s
+}
+
+// SetInstanceExportDetails sets the InstanceExportDetails field's value.
+func (s *ExportTask) SetInstanceExportDetails(v *InstanceExportDetails) *ExportTask {
+ s.InstanceExportDetails = v
+ return s
+}
+
+// SetState sets the State field's value.
+func (s *ExportTask) SetState(v string) *ExportTask {
+ s.State = &v
+ return s
+}
+
+// SetStatusMessage sets the StatusMessage field's value.
+func (s *ExportTask) SetStatusMessage(v string) *ExportTask {
+ s.StatusMessage = &v
+ return s
+}
+
// Describes the format and location for an instance export task.
type ExportToS3Task struct {
_ struct{} `type:"structure"`
@@ -26362,6 +31474,30 @@ func (s ExportToS3Task) GoString() string {
return s.String()
}
+// SetContainerFormat sets the ContainerFormat field's value.
+func (s *ExportToS3Task) SetContainerFormat(v string) *ExportToS3Task {
+ s.ContainerFormat = &v
+ return s
+}
+
+// SetDiskImageFormat sets the DiskImageFormat field's value.
+func (s *ExportToS3Task) SetDiskImageFormat(v string) *ExportToS3Task {
+ s.DiskImageFormat = &v
+ return s
+}
+
+// SetS3Bucket sets the S3Bucket field's value.
+func (s *ExportToS3Task) SetS3Bucket(v string) *ExportToS3Task {
+ s.S3Bucket = &v
+ return s
+}
+
+// SetS3Key sets the S3Key field's value.
+func (s *ExportToS3Task) SetS3Key(v string) *ExportToS3Task {
+ s.S3Key = &v
+ return s
+}
+
// Describes an instance export task.
type ExportToS3TaskSpecification struct {
_ struct{} `type:"structure"`
@@ -26392,6 +31528,30 @@ func (s ExportToS3TaskSpecification) GoString() string {
return s.String()
}
+// SetContainerFormat sets the ContainerFormat field's value.
+func (s *ExportToS3TaskSpecification) SetContainerFormat(v string) *ExportToS3TaskSpecification {
+ s.ContainerFormat = &v
+ return s
+}
+
+// SetDiskImageFormat sets the DiskImageFormat field's value.
+func (s *ExportToS3TaskSpecification) SetDiskImageFormat(v string) *ExportToS3TaskSpecification {
+ s.DiskImageFormat = &v
+ return s
+}
+
+// SetS3Bucket sets the S3Bucket field's value.
+func (s *ExportToS3TaskSpecification) SetS3Bucket(v string) *ExportToS3TaskSpecification {
+ s.S3Bucket = &v
+ return s
+}
+
+// SetS3Prefix sets the S3Prefix field's value.
+func (s *ExportToS3TaskSpecification) SetS3Prefix(v string) *ExportToS3TaskSpecification {
+ s.S3Prefix = &v
+ return s
+}
+
// 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.
@@ -26415,6 +31575,18 @@ func (s Filter) GoString() string {
return s.String()
}
+// SetName sets the Name field's value.
+func (s *Filter) SetName(v string) *Filter {
+ s.Name = &v
+ return s
+}
+
+// SetValues sets the Values field's value.
+func (s *Filter) SetValues(v []*string) *Filter {
+ s.Values = v
+ return s
+}
+
// Describes a flow log.
type FlowLog struct {
_ struct{} `type:"structure"`
@@ -26462,20 +31634,74 @@ func (s FlowLog) GoString() string {
return s.String()
}
-// Contains the parameters for GetConsoleOutput.
-type GetConsoleOutputInput struct {
- _ struct{} `type:"structure"`
+// SetCreationTime sets the CreationTime field's value.
+func (s *FlowLog) SetCreationTime(v time.Time) *FlowLog {
+ s.CreationTime = &v
+ return s
+}
- // 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 `locationName:"dryRun" type:"boolean"`
+// SetDeliverLogsErrorMessage sets the DeliverLogsErrorMessage field's value.
+func (s *FlowLog) SetDeliverLogsErrorMessage(v string) *FlowLog {
+ s.DeliverLogsErrorMessage = &v
+ return s
+}
- // The ID of the instance.
- //
- // InstanceId is a required field
- InstanceId *string `type:"string" required:"true"`
+// SetDeliverLogsPermissionArn sets the DeliverLogsPermissionArn field's value.
+func (s *FlowLog) SetDeliverLogsPermissionArn(v string) *FlowLog {
+ s.DeliverLogsPermissionArn = &v
+ return s
+}
+
+// SetDeliverLogsStatus sets the DeliverLogsStatus field's value.
+func (s *FlowLog) SetDeliverLogsStatus(v string) *FlowLog {
+ s.DeliverLogsStatus = &v
+ return s
+}
+
+// SetFlowLogId sets the FlowLogId field's value.
+func (s *FlowLog) SetFlowLogId(v string) *FlowLog {
+ s.FlowLogId = &v
+ return s
+}
+
+// SetFlowLogStatus sets the FlowLogStatus field's value.
+func (s *FlowLog) SetFlowLogStatus(v string) *FlowLog {
+ s.FlowLogStatus = &v
+ return s
+}
+
+// SetLogGroupName sets the LogGroupName field's value.
+func (s *FlowLog) SetLogGroupName(v string) *FlowLog {
+ s.LogGroupName = &v
+ return s
+}
+
+// SetResourceId sets the ResourceId field's value.
+func (s *FlowLog) SetResourceId(v string) *FlowLog {
+ s.ResourceId = &v
+ return s
+}
+
+// SetTrafficType sets the TrafficType field's value.
+func (s *FlowLog) SetTrafficType(v string) *FlowLog {
+ s.TrafficType = &v
+ return s
+}
+
+// Contains the parameters for GetConsoleOutput.
+type GetConsoleOutputInput 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 `locationName:"dryRun" type:"boolean"`
+
+ // The ID of the instance.
+ //
+ // InstanceId is a required field
+ InstanceId *string `type:"string" required:"true"`
}
// String returns the string representation
@@ -26501,6 +31727,18 @@ func (s *GetConsoleOutputInput) Validate() error {
return nil
}
+// SetDryRun sets the DryRun field's value.
+func (s *GetConsoleOutputInput) SetDryRun(v bool) *GetConsoleOutputInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetInstanceId sets the InstanceId field's value.
+func (s *GetConsoleOutputInput) SetInstanceId(v string) *GetConsoleOutputInput {
+ s.InstanceId = &v
+ return s
+}
+
// Contains the output of GetConsoleOutput.
type GetConsoleOutputOutput struct {
_ struct{} `type:"structure"`
@@ -26526,6 +31764,24 @@ func (s GetConsoleOutputOutput) GoString() string {
return s.String()
}
+// SetInstanceId sets the InstanceId field's value.
+func (s *GetConsoleOutputOutput) SetInstanceId(v string) *GetConsoleOutputOutput {
+ s.InstanceId = &v
+ return s
+}
+
+// SetOutput sets the Output field's value.
+func (s *GetConsoleOutputOutput) SetOutput(v string) *GetConsoleOutputOutput {
+ s.Output = &v
+ return s
+}
+
+// SetTimestamp sets the Timestamp field's value.
+func (s *GetConsoleOutputOutput) SetTimestamp(v time.Time) *GetConsoleOutputOutput {
+ s.Timestamp = &v
+ return s
+}
+
// Contains the parameters for the request.
type GetConsoleScreenshotInput struct {
_ struct{} `type:"structure"`
@@ -26569,6 +31825,24 @@ func (s *GetConsoleScreenshotInput) Validate() error {
return nil
}
+// SetDryRun sets the DryRun field's value.
+func (s *GetConsoleScreenshotInput) SetDryRun(v bool) *GetConsoleScreenshotInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetInstanceId sets the InstanceId field's value.
+func (s *GetConsoleScreenshotInput) SetInstanceId(v string) *GetConsoleScreenshotInput {
+ s.InstanceId = &v
+ return s
+}
+
+// SetWakeUp sets the WakeUp field's value.
+func (s *GetConsoleScreenshotInput) SetWakeUp(v bool) *GetConsoleScreenshotInput {
+ s.WakeUp = &v
+ return s
+}
+
// Contains the output of the request.
type GetConsoleScreenshotOutput struct {
_ struct{} `type:"structure"`
@@ -26590,6 +31864,18 @@ func (s GetConsoleScreenshotOutput) GoString() string {
return s.String()
}
+// SetImageData sets the ImageData field's value.
+func (s *GetConsoleScreenshotOutput) SetImageData(v string) *GetConsoleScreenshotOutput {
+ s.ImageData = &v
+ return s
+}
+
+// SetInstanceId sets the InstanceId field's value.
+func (s *GetConsoleScreenshotOutput) SetInstanceId(v string) *GetConsoleScreenshotOutput {
+ s.InstanceId = &v
+ return s
+}
+
type GetHostReservationPurchasePreviewInput struct {
_ struct{} `type:"structure"`
@@ -26631,6 +31917,18 @@ func (s *GetHostReservationPurchasePreviewInput) Validate() error {
return nil
}
+// SetHostIdSet sets the HostIdSet field's value.
+func (s *GetHostReservationPurchasePreviewInput) SetHostIdSet(v []*string) *GetHostReservationPurchasePreviewInput {
+ s.HostIdSet = v
+ return s
+}
+
+// SetOfferingId sets the OfferingId field's value.
+func (s *GetHostReservationPurchasePreviewInput) SetOfferingId(v string) *GetHostReservationPurchasePreviewInput {
+ s.OfferingId = &v
+ return s
+}
+
type GetHostReservationPurchasePreviewOutput struct {
_ struct{} `type:"structure"`
@@ -26659,6 +31957,30 @@ func (s GetHostReservationPurchasePreviewOutput) GoString() string {
return s.String()
}
+// SetCurrencyCode sets the CurrencyCode field's value.
+func (s *GetHostReservationPurchasePreviewOutput) SetCurrencyCode(v string) *GetHostReservationPurchasePreviewOutput {
+ s.CurrencyCode = &v
+ return s
+}
+
+// SetPurchase sets the Purchase field's value.
+func (s *GetHostReservationPurchasePreviewOutput) SetPurchase(v []*Purchase) *GetHostReservationPurchasePreviewOutput {
+ s.Purchase = v
+ return s
+}
+
+// SetTotalHourlyPrice sets the TotalHourlyPrice field's value.
+func (s *GetHostReservationPurchasePreviewOutput) SetTotalHourlyPrice(v string) *GetHostReservationPurchasePreviewOutput {
+ s.TotalHourlyPrice = &v
+ return s
+}
+
+// SetTotalUpfrontPrice sets the TotalUpfrontPrice field's value.
+func (s *GetHostReservationPurchasePreviewOutput) SetTotalUpfrontPrice(v string) *GetHostReservationPurchasePreviewOutput {
+ s.TotalUpfrontPrice = &v
+ return s
+}
+
// Contains the parameters for GetPasswordData.
type GetPasswordDataInput struct {
_ struct{} `type:"structure"`
@@ -26698,6 +32020,18 @@ func (s *GetPasswordDataInput) Validate() error {
return nil
}
+// SetDryRun sets the DryRun field's value.
+func (s *GetPasswordDataInput) SetDryRun(v bool) *GetPasswordDataInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetInstanceId sets the InstanceId field's value.
+func (s *GetPasswordDataInput) SetInstanceId(v string) *GetPasswordDataInput {
+ s.InstanceId = &v
+ return s
+}
+
// Contains the output of GetPasswordData.
type GetPasswordDataOutput struct {
_ struct{} `type:"structure"`
@@ -26722,6 +32056,24 @@ func (s GetPasswordDataOutput) GoString() string {
return s.String()
}
+// SetInstanceId sets the InstanceId field's value.
+func (s *GetPasswordDataOutput) SetInstanceId(v string) *GetPasswordDataOutput {
+ s.InstanceId = &v
+ return s
+}
+
+// SetPasswordData sets the PasswordData field's value.
+func (s *GetPasswordDataOutput) SetPasswordData(v string) *GetPasswordDataOutput {
+ s.PasswordData = &v
+ return s
+}
+
+// SetTimestamp sets the Timestamp field's value.
+func (s *GetPasswordDataOutput) SetTimestamp(v time.Time) *GetPasswordDataOutput {
+ s.Timestamp = &v
+ return s
+}
+
// Contains the parameters for GetReservedInstanceExchangeQuote.
type GetReservedInstancesExchangeQuoteInput struct {
_ struct{} `type:"structure"`
@@ -26775,6 +32127,24 @@ func (s *GetReservedInstancesExchangeQuoteInput) Validate() error {
return nil
}
+// SetDryRun sets the DryRun field's value.
+func (s *GetReservedInstancesExchangeQuoteInput) SetDryRun(v bool) *GetReservedInstancesExchangeQuoteInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetReservedInstanceIds sets the ReservedInstanceIds field's value.
+func (s *GetReservedInstancesExchangeQuoteInput) SetReservedInstanceIds(v []*string) *GetReservedInstancesExchangeQuoteInput {
+ s.ReservedInstanceIds = v
+ return s
+}
+
+// SetTargetConfigurations sets the TargetConfigurations field's value.
+func (s *GetReservedInstancesExchangeQuoteInput) SetTargetConfigurations(v []*TargetConfigurationRequest) *GetReservedInstancesExchangeQuoteInput {
+ s.TargetConfigurations = v
+ return s
+}
+
// Contains the output of GetReservedInstancesExchangeQuote.
type GetReservedInstancesExchangeQuoteOutput struct {
_ struct{} `type:"structure"`
@@ -26817,6 +32187,60 @@ func (s GetReservedInstancesExchangeQuoteOutput) GoString() string {
return s.String()
}
+// SetCurrencyCode sets the CurrencyCode field's value.
+func (s *GetReservedInstancesExchangeQuoteOutput) SetCurrencyCode(v string) *GetReservedInstancesExchangeQuoteOutput {
+ s.CurrencyCode = &v
+ return s
+}
+
+// SetIsValidExchange sets the IsValidExchange field's value.
+func (s *GetReservedInstancesExchangeQuoteOutput) SetIsValidExchange(v bool) *GetReservedInstancesExchangeQuoteOutput {
+ s.IsValidExchange = &v
+ return s
+}
+
+// SetOutputReservedInstancesWillExpireAt sets the OutputReservedInstancesWillExpireAt field's value.
+func (s *GetReservedInstancesExchangeQuoteOutput) SetOutputReservedInstancesWillExpireAt(v time.Time) *GetReservedInstancesExchangeQuoteOutput {
+ s.OutputReservedInstancesWillExpireAt = &v
+ return s
+}
+
+// SetPaymentDue sets the PaymentDue field's value.
+func (s *GetReservedInstancesExchangeQuoteOutput) SetPaymentDue(v string) *GetReservedInstancesExchangeQuoteOutput {
+ s.PaymentDue = &v
+ return s
+}
+
+// SetReservedInstanceValueRollup sets the ReservedInstanceValueRollup field's value.
+func (s *GetReservedInstancesExchangeQuoteOutput) SetReservedInstanceValueRollup(v *ReservationValue) *GetReservedInstancesExchangeQuoteOutput {
+ s.ReservedInstanceValueRollup = v
+ return s
+}
+
+// SetReservedInstanceValueSet sets the ReservedInstanceValueSet field's value.
+func (s *GetReservedInstancesExchangeQuoteOutput) SetReservedInstanceValueSet(v []*ReservedInstanceReservationValue) *GetReservedInstancesExchangeQuoteOutput {
+ s.ReservedInstanceValueSet = v
+ return s
+}
+
+// SetTargetConfigurationValueRollup sets the TargetConfigurationValueRollup field's value.
+func (s *GetReservedInstancesExchangeQuoteOutput) SetTargetConfigurationValueRollup(v *ReservationValue) *GetReservedInstancesExchangeQuoteOutput {
+ s.TargetConfigurationValueRollup = v
+ return s
+}
+
+// SetTargetConfigurationValueSet sets the TargetConfigurationValueSet field's value.
+func (s *GetReservedInstancesExchangeQuoteOutput) SetTargetConfigurationValueSet(v []*TargetReservationValue) *GetReservedInstancesExchangeQuoteOutput {
+ s.TargetConfigurationValueSet = v
+ return s
+}
+
+// SetValidationFailureReason sets the ValidationFailureReason field's value.
+func (s *GetReservedInstancesExchangeQuoteOutput) SetValidationFailureReason(v string) *GetReservedInstancesExchangeQuoteOutput {
+ s.ValidationFailureReason = &v
+ return s
+}
+
// Describes a security group.
type GroupIdentifier struct {
_ struct{} `type:"structure"`
@@ -26838,6 +32262,18 @@ func (s GroupIdentifier) GoString() string {
return s.String()
}
+// SetGroupId sets the GroupId field's value.
+func (s *GroupIdentifier) SetGroupId(v string) *GroupIdentifier {
+ s.GroupId = &v
+ return s
+}
+
+// SetGroupName sets the GroupName field's value.
+func (s *GroupIdentifier) SetGroupName(v string) *GroupIdentifier {
+ s.GroupName = &v
+ return s
+}
+
// Describes an event in the history of the Spot fleet request.
type HistoryRecord struct {
_ struct{} `type:"structure"`
@@ -26875,6 +32311,24 @@ func (s HistoryRecord) GoString() string {
return s.String()
}
+// SetEventInformation sets the EventInformation field's value.
+func (s *HistoryRecord) SetEventInformation(v *EventInformation) *HistoryRecord {
+ s.EventInformation = v
+ return s
+}
+
+// SetEventType sets the EventType field's value.
+func (s *HistoryRecord) SetEventType(v string) *HistoryRecord {
+ s.EventType = &v
+ return s
+}
+
+// SetTimestamp sets the Timestamp field's value.
+func (s *HistoryRecord) SetTimestamp(v time.Time) *HistoryRecord {
+ s.Timestamp = &v
+ return s
+}
+
// Describes the properties of the Dedicated Host.
type Host struct {
_ struct{} `type:"structure"`
@@ -26920,6 +32374,60 @@ func (s Host) GoString() string {
return s.String()
}
+// SetAutoPlacement sets the AutoPlacement field's value.
+func (s *Host) SetAutoPlacement(v string) *Host {
+ s.AutoPlacement = &v
+ return s
+}
+
+// SetAvailabilityZone sets the AvailabilityZone field's value.
+func (s *Host) SetAvailabilityZone(v string) *Host {
+ s.AvailabilityZone = &v
+ return s
+}
+
+// SetAvailableCapacity sets the AvailableCapacity field's value.
+func (s *Host) SetAvailableCapacity(v *AvailableCapacity) *Host {
+ s.AvailableCapacity = v
+ return s
+}
+
+// SetClientToken sets the ClientToken field's value.
+func (s *Host) SetClientToken(v string) *Host {
+ s.ClientToken = &v
+ return s
+}
+
+// SetHostId sets the HostId field's value.
+func (s *Host) SetHostId(v string) *Host {
+ s.HostId = &v
+ return s
+}
+
+// SetHostProperties sets the HostProperties field's value.
+func (s *Host) SetHostProperties(v *HostProperties) *Host {
+ s.HostProperties = v
+ return s
+}
+
+// SetHostReservationId sets the HostReservationId field's value.
+func (s *Host) SetHostReservationId(v string) *Host {
+ s.HostReservationId = &v
+ return s
+}
+
+// SetInstances sets the Instances field's value.
+func (s *Host) SetInstances(v []*HostInstance) *Host {
+ s.Instances = v
+ return s
+}
+
+// SetState sets the State field's value.
+func (s *Host) SetState(v string) *Host {
+ s.State = &v
+ return s
+}
+
// Describes an instance running on a Dedicated Host.
type HostInstance struct {
_ struct{} `type:"structure"`
@@ -26941,6 +32449,18 @@ func (s HostInstance) GoString() string {
return s.String()
}
+// SetInstanceId sets the InstanceId field's value.
+func (s *HostInstance) SetInstanceId(v string) *HostInstance {
+ s.InstanceId = &v
+ return s
+}
+
+// SetInstanceType sets the InstanceType field's value.
+func (s *HostInstance) SetInstanceType(v string) *HostInstance {
+ s.InstanceType = &v
+ return s
+}
+
// Details about the Dedicated Host Reservation offering.
type HostOffering struct {
_ struct{} `type:"structure"`
@@ -26977,6 +32497,48 @@ func (s HostOffering) GoString() string {
return s.String()
}
+// SetCurrencyCode sets the CurrencyCode field's value.
+func (s *HostOffering) SetCurrencyCode(v string) *HostOffering {
+ s.CurrencyCode = &v
+ return s
+}
+
+// SetDuration sets the Duration field's value.
+func (s *HostOffering) SetDuration(v int64) *HostOffering {
+ s.Duration = &v
+ return s
+}
+
+// SetHourlyPrice sets the HourlyPrice field's value.
+func (s *HostOffering) SetHourlyPrice(v string) *HostOffering {
+ s.HourlyPrice = &v
+ return s
+}
+
+// SetInstanceFamily sets the InstanceFamily field's value.
+func (s *HostOffering) SetInstanceFamily(v string) *HostOffering {
+ s.InstanceFamily = &v
+ return s
+}
+
+// SetOfferingId sets the OfferingId field's value.
+func (s *HostOffering) SetOfferingId(v string) *HostOffering {
+ s.OfferingId = &v
+ return s
+}
+
+// SetPaymentOption sets the PaymentOption field's value.
+func (s *HostOffering) SetPaymentOption(v string) *HostOffering {
+ s.PaymentOption = &v
+ return s
+}
+
+// SetUpfrontPrice sets the UpfrontPrice field's value.
+func (s *HostOffering) SetUpfrontPrice(v string) *HostOffering {
+ s.UpfrontPrice = &v
+ return s
+}
+
// Describes properties of a Dedicated Host.
type HostProperties struct {
_ struct{} `type:"structure"`
@@ -27004,6 +32566,30 @@ func (s HostProperties) GoString() string {
return s.String()
}
+// SetCores sets the Cores field's value.
+func (s *HostProperties) SetCores(v int64) *HostProperties {
+ s.Cores = &v
+ return s
+}
+
+// SetInstanceType sets the InstanceType field's value.
+func (s *HostProperties) SetInstanceType(v string) *HostProperties {
+ s.InstanceType = &v
+ return s
+}
+
+// SetSockets sets the Sockets field's value.
+func (s *HostProperties) SetSockets(v int64) *HostProperties {
+ s.Sockets = &v
+ return s
+}
+
+// SetTotalVCpus sets the TotalVCpus field's value.
+func (s *HostProperties) SetTotalVCpus(v int64) *HostProperties {
+ s.TotalVCpus = &v
+ return s
+}
+
// Details about the Dedicated Host Reservation and associated Dedicated Hosts.
type HostReservation struct {
_ struct{} `type:"structure"`
@@ -27063,6 +32649,84 @@ func (s HostReservation) GoString() string {
return s.String()
}
+// SetCount sets the Count field's value.
+func (s *HostReservation) SetCount(v int64) *HostReservation {
+ s.Count = &v
+ return s
+}
+
+// SetCurrencyCode sets the CurrencyCode field's value.
+func (s *HostReservation) SetCurrencyCode(v string) *HostReservation {
+ s.CurrencyCode = &v
+ return s
+}
+
+// SetDuration sets the Duration field's value.
+func (s *HostReservation) SetDuration(v int64) *HostReservation {
+ s.Duration = &v
+ return s
+}
+
+// SetEnd sets the End field's value.
+func (s *HostReservation) SetEnd(v time.Time) *HostReservation {
+ s.End = &v
+ return s
+}
+
+// SetHostIdSet sets the HostIdSet field's value.
+func (s *HostReservation) SetHostIdSet(v []*string) *HostReservation {
+ s.HostIdSet = v
+ return s
+}
+
+// SetHostReservationId sets the HostReservationId field's value.
+func (s *HostReservation) SetHostReservationId(v string) *HostReservation {
+ s.HostReservationId = &v
+ return s
+}
+
+// SetHourlyPrice sets the HourlyPrice field's value.
+func (s *HostReservation) SetHourlyPrice(v string) *HostReservation {
+ s.HourlyPrice = &v
+ return s
+}
+
+// SetInstanceFamily sets the InstanceFamily field's value.
+func (s *HostReservation) SetInstanceFamily(v string) *HostReservation {
+ s.InstanceFamily = &v
+ return s
+}
+
+// SetOfferingId sets the OfferingId field's value.
+func (s *HostReservation) SetOfferingId(v string) *HostReservation {
+ s.OfferingId = &v
+ return s
+}
+
+// SetPaymentOption sets the PaymentOption field's value.
+func (s *HostReservation) SetPaymentOption(v string) *HostReservation {
+ s.PaymentOption = &v
+ return s
+}
+
+// SetStart sets the Start field's value.
+func (s *HostReservation) SetStart(v time.Time) *HostReservation {
+ s.Start = &v
+ return s
+}
+
+// SetState sets the State field's value.
+func (s *HostReservation) SetState(v string) *HostReservation {
+ s.State = &v
+ return s
+}
+
+// SetUpfrontPrice sets the UpfrontPrice field's value.
+func (s *HostReservation) SetUpfrontPrice(v string) *HostReservation {
+ s.UpfrontPrice = &v
+ return s
+}
+
// Describes an IAM instance profile.
type IamInstanceProfile struct {
_ struct{} `type:"structure"`
@@ -27084,6 +32748,18 @@ 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
+}
+
// Describes an IAM instance profile.
type IamInstanceProfileSpecification struct {
_ struct{} `type:"structure"`
@@ -27105,6 +32781,18 @@ func (s IamInstanceProfileSpecification) GoString() string {
return s.String()
}
+// SetArn sets the Arn field's value.
+func (s *IamInstanceProfileSpecification) SetArn(v string) *IamInstanceProfileSpecification {
+ s.Arn = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *IamInstanceProfileSpecification) SetName(v string) *IamInstanceProfileSpecification {
+ s.Name = &v
+ return s
+}
+
// Describes the ICMP type and code.
type IcmpTypeCode struct {
_ struct{} `type:"structure"`
@@ -27126,6 +32814,18 @@ func (s IcmpTypeCode) GoString() string {
return s.String()
}
+// SetCode sets the Code field's value.
+func (s *IcmpTypeCode) SetCode(v int64) *IcmpTypeCode {
+ s.Code = &v
+ return s
+}
+
+// SetType sets the Type field's value.
+func (s *IcmpTypeCode) SetType(v int64) *IcmpTypeCode {
+ s.Type = &v
+ return s
+}
+
// Describes the ID format for a resource.
type IdFormat struct {
_ struct{} `type:"structure"`
@@ -27152,6 +32852,24 @@ func (s IdFormat) GoString() string {
return s.String()
}
+// SetDeadline sets the Deadline field's value.
+func (s *IdFormat) SetDeadline(v time.Time) *IdFormat {
+ s.Deadline = &v
+ return s
+}
+
+// SetResource sets the Resource field's value.
+func (s *IdFormat) SetResource(v string) *IdFormat {
+ s.Resource = &v
+ return s
+}
+
+// SetUseLongIds sets the UseLongIds field's value.
+func (s *IdFormat) SetUseLongIds(v bool) *IdFormat {
+ s.UseLongIds = &v
+ return s
+}
+
// Describes an image.
type Image struct {
_ struct{} `type:"structure"`
@@ -27247,6 +32965,150 @@ func (s Image) GoString() string {
return s.String()
}
+// SetArchitecture sets the Architecture field's value.
+func (s *Image) SetArchitecture(v string) *Image {
+ s.Architecture = &v
+ return s
+}
+
+// SetBlockDeviceMappings sets the BlockDeviceMappings field's value.
+func (s *Image) SetBlockDeviceMappings(v []*BlockDeviceMapping) *Image {
+ s.BlockDeviceMappings = v
+ return s
+}
+
+// SetCreationDate sets the CreationDate field's value.
+func (s *Image) SetCreationDate(v string) *Image {
+ s.CreationDate = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *Image) SetDescription(v string) *Image {
+ s.Description = &v
+ return s
+}
+
+// SetEnaSupport sets the EnaSupport field's value.
+func (s *Image) SetEnaSupport(v bool) *Image {
+ s.EnaSupport = &v
+ return s
+}
+
+// SetHypervisor sets the Hypervisor field's value.
+func (s *Image) SetHypervisor(v string) *Image {
+ s.Hypervisor = &v
+ return s
+}
+
+// SetImageId sets the ImageId field's value.
+func (s *Image) SetImageId(v string) *Image {
+ s.ImageId = &v
+ return s
+}
+
+// SetImageLocation sets the ImageLocation field's value.
+func (s *Image) SetImageLocation(v string) *Image {
+ s.ImageLocation = &v
+ return s
+}
+
+// SetImageOwnerAlias sets the ImageOwnerAlias field's value.
+func (s *Image) SetImageOwnerAlias(v string) *Image {
+ s.ImageOwnerAlias = &v
+ return s
+}
+
+// SetImageType sets the ImageType field's value.
+func (s *Image) SetImageType(v string) *Image {
+ s.ImageType = &v
+ return s
+}
+
+// SetKernelId sets the KernelId field's value.
+func (s *Image) SetKernelId(v string) *Image {
+ s.KernelId = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *Image) SetName(v string) *Image {
+ s.Name = &v
+ return s
+}
+
+// SetOwnerId sets the OwnerId field's value.
+func (s *Image) SetOwnerId(v string) *Image {
+ s.OwnerId = &v
+ return s
+}
+
+// SetPlatform sets the Platform field's value.
+func (s *Image) SetPlatform(v string) *Image {
+ s.Platform = &v
+ return s
+}
+
+// SetProductCodes sets the ProductCodes field's value.
+func (s *Image) SetProductCodes(v []*ProductCode) *Image {
+ s.ProductCodes = v
+ return s
+}
+
+// SetPublic sets the Public field's value.
+func (s *Image) SetPublic(v bool) *Image {
+ s.Public = &v
+ return s
+}
+
+// SetRamdiskId sets the RamdiskId field's value.
+func (s *Image) SetRamdiskId(v string) *Image {
+ s.RamdiskId = &v
+ return s
+}
+
+// SetRootDeviceName sets the RootDeviceName field's value.
+func (s *Image) SetRootDeviceName(v string) *Image {
+ s.RootDeviceName = &v
+ return s
+}
+
+// SetRootDeviceType sets the RootDeviceType field's value.
+func (s *Image) SetRootDeviceType(v string) *Image {
+ s.RootDeviceType = &v
+ return s
+}
+
+// SetSriovNetSupport sets the SriovNetSupport field's value.
+func (s *Image) SetSriovNetSupport(v string) *Image {
+ s.SriovNetSupport = &v
+ return s
+}
+
+// SetState sets the State field's value.
+func (s *Image) SetState(v string) *Image {
+ s.State = &v
+ return s
+}
+
+// SetStateReason sets the StateReason field's value.
+func (s *Image) SetStateReason(v *StateReason) *Image {
+ s.StateReason = v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *Image) SetTags(v []*Tag) *Image {
+ s.Tags = v
+ return s
+}
+
+// SetVirtualizationType sets the VirtualizationType field's value.
+func (s *Image) SetVirtualizationType(v string) *Image {
+ s.VirtualizationType = &v
+ return s
+}
+
// Describes the disk container object for an import image task.
type ImageDiskContainer struct {
_ struct{} `type:"structure"`
@@ -27283,6 +33145,42 @@ func (s ImageDiskContainer) GoString() string {
return s.String()
}
+// SetDescription sets the Description field's value.
+func (s *ImageDiskContainer) SetDescription(v string) *ImageDiskContainer {
+ s.Description = &v
+ return s
+}
+
+// SetDeviceName sets the DeviceName field's value.
+func (s *ImageDiskContainer) SetDeviceName(v string) *ImageDiskContainer {
+ s.DeviceName = &v
+ return s
+}
+
+// SetFormat sets the Format field's value.
+func (s *ImageDiskContainer) SetFormat(v string) *ImageDiskContainer {
+ s.Format = &v
+ return s
+}
+
+// SetSnapshotId sets the SnapshotId field's value.
+func (s *ImageDiskContainer) SetSnapshotId(v string) *ImageDiskContainer {
+ s.SnapshotId = &v
+ return s
+}
+
+// SetUrl sets the Url field's value.
+func (s *ImageDiskContainer) SetUrl(v string) *ImageDiskContainer {
+ s.Url = &v
+ return s
+}
+
+// SetUserBucket sets the UserBucket field's value.
+func (s *ImageDiskContainer) SetUserBucket(v *UserBucket) *ImageDiskContainer {
+ s.UserBucket = v
+ return s
+}
+
// Contains the parameters for ImportImage.
type ImportImageInput struct {
_ struct{} `type:"structure"`
@@ -27344,9 +33242,69 @@ func (s ImportImageInput) GoString() string {
return s.String()
}
-// Contains the output for ImportImage.
-type ImportImageOutput struct {
- _ struct{} `type:"structure"`
+// SetArchitecture sets the Architecture field's value.
+func (s *ImportImageInput) SetArchitecture(v string) *ImportImageInput {
+ s.Architecture = &v
+ return s
+}
+
+// SetClientData sets the ClientData field's value.
+func (s *ImportImageInput) SetClientData(v *ClientData) *ImportImageInput {
+ s.ClientData = v
+ return s
+}
+
+// SetClientToken sets the ClientToken field's value.
+func (s *ImportImageInput) SetClientToken(v string) *ImportImageInput {
+ s.ClientToken = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *ImportImageInput) SetDescription(v string) *ImportImageInput {
+ s.Description = &v
+ return s
+}
+
+// SetDiskContainers sets the DiskContainers field's value.
+func (s *ImportImageInput) SetDiskContainers(v []*ImageDiskContainer) *ImportImageInput {
+ s.DiskContainers = v
+ return s
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *ImportImageInput) SetDryRun(v bool) *ImportImageInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetHypervisor sets the Hypervisor field's value.
+func (s *ImportImageInput) SetHypervisor(v string) *ImportImageInput {
+ s.Hypervisor = &v
+ return s
+}
+
+// SetLicenseType sets the LicenseType field's value.
+func (s *ImportImageInput) SetLicenseType(v string) *ImportImageInput {
+ s.LicenseType = &v
+ return s
+}
+
+// SetPlatform sets the Platform field's value.
+func (s *ImportImageInput) SetPlatform(v string) *ImportImageInput {
+ s.Platform = &v
+ return s
+}
+
+// SetRoleName sets the RoleName field's value.
+func (s *ImportImageInput) SetRoleName(v string) *ImportImageInput {
+ s.RoleName = &v
+ return s
+}
+
+// Contains the output for ImportImage.
+type ImportImageOutput struct {
+ _ struct{} `type:"structure"`
// The architecture of the virtual machine.
Architecture *string `locationName:"architecture" type:"string"`
@@ -27392,6 +33350,72 @@ func (s ImportImageOutput) GoString() string {
return s.String()
}
+// SetArchitecture sets the Architecture field's value.
+func (s *ImportImageOutput) SetArchitecture(v string) *ImportImageOutput {
+ s.Architecture = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *ImportImageOutput) SetDescription(v string) *ImportImageOutput {
+ s.Description = &v
+ return s
+}
+
+// SetHypervisor sets the Hypervisor field's value.
+func (s *ImportImageOutput) SetHypervisor(v string) *ImportImageOutput {
+ s.Hypervisor = &v
+ return s
+}
+
+// SetImageId sets the ImageId field's value.
+func (s *ImportImageOutput) SetImageId(v string) *ImportImageOutput {
+ s.ImageId = &v
+ return s
+}
+
+// SetImportTaskId sets the ImportTaskId field's value.
+func (s *ImportImageOutput) SetImportTaskId(v string) *ImportImageOutput {
+ s.ImportTaskId = &v
+ return s
+}
+
+// SetLicenseType sets the LicenseType field's value.
+func (s *ImportImageOutput) SetLicenseType(v string) *ImportImageOutput {
+ s.LicenseType = &v
+ return s
+}
+
+// SetPlatform sets the Platform field's value.
+func (s *ImportImageOutput) SetPlatform(v string) *ImportImageOutput {
+ s.Platform = &v
+ return s
+}
+
+// SetProgress sets the Progress field's value.
+func (s *ImportImageOutput) SetProgress(v string) *ImportImageOutput {
+ s.Progress = &v
+ return s
+}
+
+// SetSnapshotDetails sets the SnapshotDetails field's value.
+func (s *ImportImageOutput) SetSnapshotDetails(v []*SnapshotDetail) *ImportImageOutput {
+ s.SnapshotDetails = v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *ImportImageOutput) SetStatus(v string) *ImportImageOutput {
+ s.Status = &v
+ return s
+}
+
+// SetStatusMessage sets the StatusMessage field's value.
+func (s *ImportImageOutput) SetStatusMessage(v string) *ImportImageOutput {
+ s.StatusMessage = &v
+ return s
+}
+
// Describes an import image task.
type ImportImageTask struct {
_ struct{} `type:"structure"`
@@ -27444,6 +33468,72 @@ func (s ImportImageTask) GoString() string {
return s.String()
}
+// SetArchitecture sets the Architecture field's value.
+func (s *ImportImageTask) SetArchitecture(v string) *ImportImageTask {
+ s.Architecture = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *ImportImageTask) SetDescription(v string) *ImportImageTask {
+ s.Description = &v
+ return s
+}
+
+// SetHypervisor sets the Hypervisor field's value.
+func (s *ImportImageTask) SetHypervisor(v string) *ImportImageTask {
+ s.Hypervisor = &v
+ return s
+}
+
+// SetImageId sets the ImageId field's value.
+func (s *ImportImageTask) SetImageId(v string) *ImportImageTask {
+ s.ImageId = &v
+ return s
+}
+
+// SetImportTaskId sets the ImportTaskId field's value.
+func (s *ImportImageTask) SetImportTaskId(v string) *ImportImageTask {
+ s.ImportTaskId = &v
+ return s
+}
+
+// SetLicenseType sets the LicenseType field's value.
+func (s *ImportImageTask) SetLicenseType(v string) *ImportImageTask {
+ s.LicenseType = &v
+ return s
+}
+
+// SetPlatform sets the Platform field's value.
+func (s *ImportImageTask) SetPlatform(v string) *ImportImageTask {
+ s.Platform = &v
+ return s
+}
+
+// SetProgress sets the Progress field's value.
+func (s *ImportImageTask) SetProgress(v string) *ImportImageTask {
+ s.Progress = &v
+ return s
+}
+
+// SetSnapshotDetails sets the SnapshotDetails field's value.
+func (s *ImportImageTask) SetSnapshotDetails(v []*SnapshotDetail) *ImportImageTask {
+ s.SnapshotDetails = v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *ImportImageTask) SetStatus(v string) *ImportImageTask {
+ s.Status = &v
+ return s
+}
+
+// SetStatusMessage sets the StatusMessage field's value.
+func (s *ImportImageTask) SetStatusMessage(v string) *ImportImageTask {
+ s.StatusMessage = &v
+ return s
+}
+
// Contains the parameters for ImportInstance.
type ImportInstanceInput struct {
_ struct{} `type:"structure"`
@@ -27502,6 +33592,36 @@ func (s *ImportInstanceInput) Validate() error {
return nil
}
+// SetDescription sets the Description field's value.
+func (s *ImportInstanceInput) SetDescription(v string) *ImportInstanceInput {
+ s.Description = &v
+ return s
+}
+
+// SetDiskImages sets the DiskImages field's value.
+func (s *ImportInstanceInput) SetDiskImages(v []*DiskImage) *ImportInstanceInput {
+ s.DiskImages = v
+ return s
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *ImportInstanceInput) SetDryRun(v bool) *ImportInstanceInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetLaunchSpecification sets the LaunchSpecification field's value.
+func (s *ImportInstanceInput) SetLaunchSpecification(v *ImportInstanceLaunchSpecification) *ImportInstanceInput {
+ s.LaunchSpecification = v
+ return s
+}
+
+// SetPlatform sets the Platform field's value.
+func (s *ImportInstanceInput) SetPlatform(v string) *ImportInstanceInput {
+ s.Platform = &v
+ return s
+}
+
// Describes the launch specification for VM import.
type ImportInstanceLaunchSpecification struct {
_ struct{} `type:"structure"`
@@ -27555,6 +33675,72 @@ func (s ImportInstanceLaunchSpecification) GoString() string {
return s.String()
}
+// SetAdditionalInfo sets the AdditionalInfo field's value.
+func (s *ImportInstanceLaunchSpecification) SetAdditionalInfo(v string) *ImportInstanceLaunchSpecification {
+ s.AdditionalInfo = &v
+ return s
+}
+
+// SetArchitecture sets the Architecture field's value.
+func (s *ImportInstanceLaunchSpecification) SetArchitecture(v string) *ImportInstanceLaunchSpecification {
+ s.Architecture = &v
+ return s
+}
+
+// SetGroupIds sets the GroupIds field's value.
+func (s *ImportInstanceLaunchSpecification) SetGroupIds(v []*string) *ImportInstanceLaunchSpecification {
+ s.GroupIds = v
+ return s
+}
+
+// SetGroupNames sets the GroupNames field's value.
+func (s *ImportInstanceLaunchSpecification) SetGroupNames(v []*string) *ImportInstanceLaunchSpecification {
+ s.GroupNames = v
+ return s
+}
+
+// SetInstanceInitiatedShutdownBehavior sets the InstanceInitiatedShutdownBehavior field's value.
+func (s *ImportInstanceLaunchSpecification) SetInstanceInitiatedShutdownBehavior(v string) *ImportInstanceLaunchSpecification {
+ s.InstanceInitiatedShutdownBehavior = &v
+ return s
+}
+
+// SetInstanceType sets the InstanceType field's value.
+func (s *ImportInstanceLaunchSpecification) SetInstanceType(v string) *ImportInstanceLaunchSpecification {
+ s.InstanceType = &v
+ return s
+}
+
+// SetMonitoring sets the Monitoring field's value.
+func (s *ImportInstanceLaunchSpecification) SetMonitoring(v bool) *ImportInstanceLaunchSpecification {
+ s.Monitoring = &v
+ return s
+}
+
+// SetPlacement sets the Placement field's value.
+func (s *ImportInstanceLaunchSpecification) SetPlacement(v *Placement) *ImportInstanceLaunchSpecification {
+ s.Placement = v
+ return s
+}
+
+// SetPrivateIpAddress sets the PrivateIpAddress field's value.
+func (s *ImportInstanceLaunchSpecification) SetPrivateIpAddress(v string) *ImportInstanceLaunchSpecification {
+ s.PrivateIpAddress = &v
+ return s
+}
+
+// SetSubnetId sets the SubnetId field's value.
+func (s *ImportInstanceLaunchSpecification) SetSubnetId(v string) *ImportInstanceLaunchSpecification {
+ s.SubnetId = &v
+ return s
+}
+
+// SetUserData sets the UserData field's value.
+func (s *ImportInstanceLaunchSpecification) SetUserData(v *UserData) *ImportInstanceLaunchSpecification {
+ s.UserData = v
+ return s
+}
+
// Contains the output for ImportInstance.
type ImportInstanceOutput struct {
_ struct{} `type:"structure"`
@@ -27573,6 +33759,12 @@ func (s ImportInstanceOutput) GoString() string {
return s.String()
}
+// SetConversionTask sets the ConversionTask field's value.
+func (s *ImportInstanceOutput) SetConversionTask(v *ConversionTask) *ImportInstanceOutput {
+ s.ConversionTask = v
+ return s
+}
+
// Describes an import instance task.
type ImportInstanceTaskDetails struct {
_ struct{} `type:"structure"`
@@ -27602,6 +33794,30 @@ func (s ImportInstanceTaskDetails) GoString() string {
return s.String()
}
+// SetDescription sets the Description field's value.
+func (s *ImportInstanceTaskDetails) SetDescription(v string) *ImportInstanceTaskDetails {
+ s.Description = &v
+ return s
+}
+
+// SetInstanceId sets the InstanceId field's value.
+func (s *ImportInstanceTaskDetails) SetInstanceId(v string) *ImportInstanceTaskDetails {
+ s.InstanceId = &v
+ return s
+}
+
+// SetPlatform sets the Platform field's value.
+func (s *ImportInstanceTaskDetails) SetPlatform(v string) *ImportInstanceTaskDetails {
+ s.Platform = &v
+ return s
+}
+
+// SetVolumes sets the Volumes field's value.
+func (s *ImportInstanceTaskDetails) SetVolumes(v []*ImportInstanceVolumeDetailItem) *ImportInstanceTaskDetails {
+ s.Volumes = v
+ return s
+}
+
// Describes an import volume task.
type ImportInstanceVolumeDetailItem struct {
_ struct{} `type:"structure"`
@@ -27648,6 +33864,48 @@ func (s ImportInstanceVolumeDetailItem) GoString() string {
return s.String()
}
+// SetAvailabilityZone sets the AvailabilityZone field's value.
+func (s *ImportInstanceVolumeDetailItem) SetAvailabilityZone(v string) *ImportInstanceVolumeDetailItem {
+ s.AvailabilityZone = &v
+ return s
+}
+
+// SetBytesConverted sets the BytesConverted field's value.
+func (s *ImportInstanceVolumeDetailItem) SetBytesConverted(v int64) *ImportInstanceVolumeDetailItem {
+ s.BytesConverted = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *ImportInstanceVolumeDetailItem) SetDescription(v string) *ImportInstanceVolumeDetailItem {
+ s.Description = &v
+ return s
+}
+
+// SetImage sets the Image field's value.
+func (s *ImportInstanceVolumeDetailItem) SetImage(v *DiskImageDescription) *ImportInstanceVolumeDetailItem {
+ s.Image = v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *ImportInstanceVolumeDetailItem) SetStatus(v string) *ImportInstanceVolumeDetailItem {
+ s.Status = &v
+ return s
+}
+
+// SetStatusMessage sets the StatusMessage field's value.
+func (s *ImportInstanceVolumeDetailItem) SetStatusMessage(v string) *ImportInstanceVolumeDetailItem {
+ s.StatusMessage = &v
+ return s
+}
+
+// SetVolume sets the Volume field's value.
+func (s *ImportInstanceVolumeDetailItem) SetVolume(v *DiskImageVolumeDescription) *ImportInstanceVolumeDetailItem {
+ s.Volume = v
+ return s
+}
+
// Contains the parameters for ImportKeyPair.
type ImportKeyPairInput struct {
_ struct{} `type:"structure"`
@@ -27698,6 +33956,24 @@ func (s *ImportKeyPairInput) Validate() error {
return nil
}
+// SetDryRun sets the DryRun field's value.
+func (s *ImportKeyPairInput) SetDryRun(v bool) *ImportKeyPairInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetKeyName sets the KeyName field's value.
+func (s *ImportKeyPairInput) SetKeyName(v string) *ImportKeyPairInput {
+ s.KeyName = &v
+ return s
+}
+
+// SetPublicKeyMaterial sets the PublicKeyMaterial field's value.
+func (s *ImportKeyPairInput) SetPublicKeyMaterial(v []byte) *ImportKeyPairInput {
+ s.PublicKeyMaterial = v
+ return s
+}
+
// Contains the output of ImportKeyPair.
type ImportKeyPairOutput struct {
_ struct{} `type:"structure"`
@@ -27719,6 +33995,18 @@ func (s ImportKeyPairOutput) GoString() string {
return s.String()
}
+// SetKeyFingerprint sets the KeyFingerprint field's value.
+func (s *ImportKeyPairOutput) SetKeyFingerprint(v string) *ImportKeyPairOutput {
+ s.KeyFingerprint = &v
+ return s
+}
+
+// SetKeyName sets the KeyName field's value.
+func (s *ImportKeyPairOutput) SetKeyName(v string) *ImportKeyPairOutput {
+ s.KeyName = &v
+ return s
+}
+
// Contains the parameters for ImportSnapshot.
type ImportSnapshotInput struct {
_ struct{} `type:"structure"`
@@ -27755,6 +34043,42 @@ func (s ImportSnapshotInput) GoString() string {
return s.String()
}
+// SetClientData sets the ClientData field's value.
+func (s *ImportSnapshotInput) SetClientData(v *ClientData) *ImportSnapshotInput {
+ s.ClientData = v
+ return s
+}
+
+// SetClientToken sets the ClientToken field's value.
+func (s *ImportSnapshotInput) SetClientToken(v string) *ImportSnapshotInput {
+ s.ClientToken = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *ImportSnapshotInput) SetDescription(v string) *ImportSnapshotInput {
+ s.Description = &v
+ return s
+}
+
+// SetDiskContainer sets the DiskContainer field's value.
+func (s *ImportSnapshotInput) SetDiskContainer(v *SnapshotDiskContainer) *ImportSnapshotInput {
+ s.DiskContainer = v
+ return s
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *ImportSnapshotInput) SetDryRun(v bool) *ImportSnapshotInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetRoleName sets the RoleName field's value.
+func (s *ImportSnapshotInput) SetRoleName(v string) *ImportSnapshotInput {
+ s.RoleName = &v
+ return s
+}
+
// Contains the output for ImportSnapshot.
type ImportSnapshotOutput struct {
_ struct{} `type:"structure"`
@@ -27779,6 +34103,24 @@ func (s ImportSnapshotOutput) GoString() string {
return s.String()
}
+// SetDescription sets the Description field's value.
+func (s *ImportSnapshotOutput) SetDescription(v string) *ImportSnapshotOutput {
+ s.Description = &v
+ return s
+}
+
+// SetImportTaskId sets the ImportTaskId field's value.
+func (s *ImportSnapshotOutput) SetImportTaskId(v string) *ImportSnapshotOutput {
+ s.ImportTaskId = &v
+ return s
+}
+
+// SetSnapshotTaskDetail sets the SnapshotTaskDetail field's value.
+func (s *ImportSnapshotOutput) SetSnapshotTaskDetail(v *SnapshotTaskDetail) *ImportSnapshotOutput {
+ s.SnapshotTaskDetail = v
+ return s
+}
+
// Describes an import snapshot task.
type ImportSnapshotTask struct {
_ struct{} `type:"structure"`
@@ -27803,6 +34145,24 @@ func (s ImportSnapshotTask) GoString() string {
return s.String()
}
+// SetDescription sets the Description field's value.
+func (s *ImportSnapshotTask) SetDescription(v string) *ImportSnapshotTask {
+ s.Description = &v
+ return s
+}
+
+// SetImportTaskId sets the ImportTaskId field's value.
+func (s *ImportSnapshotTask) SetImportTaskId(v string) *ImportSnapshotTask {
+ s.ImportTaskId = &v
+ return s
+}
+
+// SetSnapshotTaskDetail sets the SnapshotTaskDetail field's value.
+func (s *ImportSnapshotTask) SetSnapshotTaskDetail(v *SnapshotTaskDetail) *ImportSnapshotTask {
+ s.SnapshotTaskDetail = v
+ return s
+}
+
// Contains the parameters for ImportVolume.
type ImportVolumeInput struct {
_ struct{} `type:"structure"`
@@ -27871,6 +34231,36 @@ func (s *ImportVolumeInput) Validate() error {
return nil
}
+// SetAvailabilityZone sets the AvailabilityZone field's value.
+func (s *ImportVolumeInput) SetAvailabilityZone(v string) *ImportVolumeInput {
+ s.AvailabilityZone = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *ImportVolumeInput) SetDescription(v string) *ImportVolumeInput {
+ s.Description = &v
+ return s
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *ImportVolumeInput) SetDryRun(v bool) *ImportVolumeInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetImage sets the Image field's value.
+func (s *ImportVolumeInput) SetImage(v *DiskImageDetail) *ImportVolumeInput {
+ s.Image = v
+ return s
+}
+
+// SetVolume sets the Volume field's value.
+func (s *ImportVolumeInput) SetVolume(v *VolumeDetail) *ImportVolumeInput {
+ s.Volume = v
+ return s
+}
+
// Contains the output for ImportVolume.
type ImportVolumeOutput struct {
_ struct{} `type:"structure"`
@@ -27889,6 +34279,12 @@ func (s ImportVolumeOutput) GoString() string {
return s.String()
}
+// SetConversionTask sets the ConversionTask field's value.
+func (s *ImportVolumeOutput) SetConversionTask(v *ConversionTask) *ImportVolumeOutput {
+ s.ConversionTask = v
+ return s
+}
+
// Describes an import volume task.
type ImportVolumeTaskDetails struct {
_ struct{} `type:"structure"`
@@ -27927,6 +34323,36 @@ func (s ImportVolumeTaskDetails) GoString() string {
return s.String()
}
+// SetAvailabilityZone sets the AvailabilityZone field's value.
+func (s *ImportVolumeTaskDetails) SetAvailabilityZone(v string) *ImportVolumeTaskDetails {
+ s.AvailabilityZone = &v
+ return s
+}
+
+// SetBytesConverted sets the BytesConverted field's value.
+func (s *ImportVolumeTaskDetails) SetBytesConverted(v int64) *ImportVolumeTaskDetails {
+ s.BytesConverted = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *ImportVolumeTaskDetails) SetDescription(v string) *ImportVolumeTaskDetails {
+ s.Description = &v
+ return s
+}
+
+// SetImage sets the Image field's value.
+func (s *ImportVolumeTaskDetails) SetImage(v *DiskImageDescription) *ImportVolumeTaskDetails {
+ s.Image = v
+ return s
+}
+
+// SetVolume sets the Volume field's value.
+func (s *ImportVolumeTaskDetails) SetVolume(v *DiskImageVolumeDescription) *ImportVolumeTaskDetails {
+ s.Volume = v
+ return s
+}
+
// Describes an instance.
type Instance struct {
_ struct{} `type:"structure"`
@@ -28074,6 +34500,234 @@ func (s Instance) GoString() string {
return s.String()
}
+// SetAmiLaunchIndex sets the AmiLaunchIndex field's value.
+func (s *Instance) SetAmiLaunchIndex(v int64) *Instance {
+ s.AmiLaunchIndex = &v
+ return s
+}
+
+// SetArchitecture sets the Architecture field's value.
+func (s *Instance) SetArchitecture(v string) *Instance {
+ s.Architecture = &v
+ return s
+}
+
+// SetBlockDeviceMappings sets the BlockDeviceMappings field's value.
+func (s *Instance) SetBlockDeviceMappings(v []*InstanceBlockDeviceMapping) *Instance {
+ s.BlockDeviceMappings = v
+ return s
+}
+
+// SetClientToken sets the ClientToken field's value.
+func (s *Instance) SetClientToken(v string) *Instance {
+ s.ClientToken = &v
+ return s
+}
+
+// SetEbsOptimized sets the EbsOptimized field's value.
+func (s *Instance) SetEbsOptimized(v bool) *Instance {
+ s.EbsOptimized = &v
+ return s
+}
+
+// SetEnaSupport sets the EnaSupport field's value.
+func (s *Instance) SetEnaSupport(v bool) *Instance {
+ s.EnaSupport = &v
+ return s
+}
+
+// SetHypervisor sets the Hypervisor field's value.
+func (s *Instance) SetHypervisor(v string) *Instance {
+ s.Hypervisor = &v
+ return s
+}
+
+// SetIamInstanceProfile sets the IamInstanceProfile field's value.
+func (s *Instance) SetIamInstanceProfile(v *IamInstanceProfile) *Instance {
+ s.IamInstanceProfile = v
+ return s
+}
+
+// SetImageId sets the ImageId field's value.
+func (s *Instance) SetImageId(v string) *Instance {
+ s.ImageId = &v
+ return s
+}
+
+// SetInstanceId sets the InstanceId field's value.
+func (s *Instance) SetInstanceId(v string) *Instance {
+ s.InstanceId = &v
+ return s
+}
+
+// SetInstanceLifecycle sets the InstanceLifecycle field's value.
+func (s *Instance) SetInstanceLifecycle(v string) *Instance {
+ s.InstanceLifecycle = &v
+ return s
+}
+
+// SetInstanceType sets the InstanceType field's value.
+func (s *Instance) SetInstanceType(v string) *Instance {
+ s.InstanceType = &v
+ return s
+}
+
+// SetKernelId sets the KernelId field's value.
+func (s *Instance) SetKernelId(v string) *Instance {
+ s.KernelId = &v
+ return s
+}
+
+// SetKeyName sets the KeyName field's value.
+func (s *Instance) SetKeyName(v string) *Instance {
+ s.KeyName = &v
+ return s
+}
+
+// SetLaunchTime sets the LaunchTime field's value.
+func (s *Instance) SetLaunchTime(v time.Time) *Instance {
+ s.LaunchTime = &v
+ return s
+}
+
+// SetMonitoring sets the Monitoring field's value.
+func (s *Instance) SetMonitoring(v *Monitoring) *Instance {
+ s.Monitoring = v
+ return s
+}
+
+// SetNetworkInterfaces sets the NetworkInterfaces field's value.
+func (s *Instance) SetNetworkInterfaces(v []*InstanceNetworkInterface) *Instance {
+ s.NetworkInterfaces = v
+ return s
+}
+
+// SetPlacement sets the Placement field's value.
+func (s *Instance) SetPlacement(v *Placement) *Instance {
+ s.Placement = v
+ return s
+}
+
+// SetPlatform sets the Platform field's value.
+func (s *Instance) SetPlatform(v string) *Instance {
+ s.Platform = &v
+ return s
+}
+
+// SetPrivateDnsName sets the PrivateDnsName field's value.
+func (s *Instance) SetPrivateDnsName(v string) *Instance {
+ s.PrivateDnsName = &v
+ return s
+}
+
+// SetPrivateIpAddress sets the PrivateIpAddress field's value.
+func (s *Instance) SetPrivateIpAddress(v string) *Instance {
+ s.PrivateIpAddress = &v
+ return s
+}
+
+// SetProductCodes sets the ProductCodes field's value.
+func (s *Instance) SetProductCodes(v []*ProductCode) *Instance {
+ s.ProductCodes = v
+ return s
+}
+
+// SetPublicDnsName sets the PublicDnsName field's value.
+func (s *Instance) SetPublicDnsName(v string) *Instance {
+ s.PublicDnsName = &v
+ return s
+}
+
+// SetPublicIpAddress sets the PublicIpAddress field's value.
+func (s *Instance) SetPublicIpAddress(v string) *Instance {
+ s.PublicIpAddress = &v
+ return s
+}
+
+// SetRamdiskId sets the RamdiskId field's value.
+func (s *Instance) SetRamdiskId(v string) *Instance {
+ s.RamdiskId = &v
+ return s
+}
+
+// SetRootDeviceName sets the RootDeviceName field's value.
+func (s *Instance) SetRootDeviceName(v string) *Instance {
+ s.RootDeviceName = &v
+ return s
+}
+
+// SetRootDeviceType sets the RootDeviceType field's value.
+func (s *Instance) SetRootDeviceType(v string) *Instance {
+ s.RootDeviceType = &v
+ return s
+}
+
+// SetSecurityGroups sets the SecurityGroups field's value.
+func (s *Instance) SetSecurityGroups(v []*GroupIdentifier) *Instance {
+ s.SecurityGroups = v
+ return s
+}
+
+// SetSourceDestCheck sets the SourceDestCheck field's value.
+func (s *Instance) SetSourceDestCheck(v bool) *Instance {
+ s.SourceDestCheck = &v
+ return s
+}
+
+// SetSpotInstanceRequestId sets the SpotInstanceRequestId field's value.
+func (s *Instance) SetSpotInstanceRequestId(v string) *Instance {
+ s.SpotInstanceRequestId = &v
+ return s
+}
+
+// SetSriovNetSupport sets the SriovNetSupport field's value.
+func (s *Instance) SetSriovNetSupport(v string) *Instance {
+ s.SriovNetSupport = &v
+ return s
+}
+
+// SetState sets the State field's value.
+func (s *Instance) SetState(v *InstanceState) *Instance {
+ s.State = v
+ return s
+}
+
+// SetStateReason sets the StateReason field's value.
+func (s *Instance) SetStateReason(v *StateReason) *Instance {
+ s.StateReason = v
+ return s
+}
+
+// SetStateTransitionReason sets the StateTransitionReason field's value.
+func (s *Instance) SetStateTransitionReason(v string) *Instance {
+ s.StateTransitionReason = &v
+ return s
+}
+
+// SetSubnetId sets the SubnetId field's value.
+func (s *Instance) SetSubnetId(v string) *Instance {
+ s.SubnetId = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *Instance) SetTags(v []*Tag) *Instance {
+ s.Tags = v
+ return s
+}
+
+// SetVirtualizationType sets the VirtualizationType field's value.
+func (s *Instance) SetVirtualizationType(v string) *Instance {
+ s.VirtualizationType = &v
+ return s
+}
+
+// SetVpcId sets the VpcId field's value.
+func (s *Instance) SetVpcId(v string) *Instance {
+ s.VpcId = &v
+ return s
+}
+
// Describes a block device mapping.
type InstanceBlockDeviceMapping struct {
_ struct{} `type:"structure"`
@@ -28096,6 +34750,18 @@ func (s InstanceBlockDeviceMapping) GoString() string {
return s.String()
}
+// SetDeviceName sets the DeviceName field's value.
+func (s *InstanceBlockDeviceMapping) SetDeviceName(v string) *InstanceBlockDeviceMapping {
+ s.DeviceName = &v
+ return s
+}
+
+// SetEbs sets the Ebs field's value.
+func (s *InstanceBlockDeviceMapping) SetEbs(v *EbsInstanceBlockDevice) *InstanceBlockDeviceMapping {
+ s.Ebs = v
+ return s
+}
+
// Describes a block device mapping entry.
type InstanceBlockDeviceMappingSpecification struct {
_ struct{} `type:"structure"`
@@ -28124,6 +34790,30 @@ func (s InstanceBlockDeviceMappingSpecification) GoString() string {
return s.String()
}
+// SetDeviceName sets the DeviceName field's value.
+func (s *InstanceBlockDeviceMappingSpecification) SetDeviceName(v string) *InstanceBlockDeviceMappingSpecification {
+ s.DeviceName = &v
+ return s
+}
+
+// SetEbs sets the Ebs field's value.
+func (s *InstanceBlockDeviceMappingSpecification) SetEbs(v *EbsInstanceBlockDeviceSpecification) *InstanceBlockDeviceMappingSpecification {
+ s.Ebs = v
+ return s
+}
+
+// SetNoDevice sets the NoDevice field's value.
+func (s *InstanceBlockDeviceMappingSpecification) SetNoDevice(v string) *InstanceBlockDeviceMappingSpecification {
+ s.NoDevice = &v
+ return s
+}
+
+// SetVirtualName sets the VirtualName field's value.
+func (s *InstanceBlockDeviceMappingSpecification) SetVirtualName(v string) *InstanceBlockDeviceMappingSpecification {
+ s.VirtualName = &v
+ return s
+}
+
// Information about the instance type that the Dedicated Host supports.
type InstanceCapacity struct {
_ struct{} `type:"structure"`
@@ -28148,6 +34838,24 @@ func (s InstanceCapacity) GoString() string {
return s.String()
}
+// SetAvailableCapacity sets the AvailableCapacity field's value.
+func (s *InstanceCapacity) SetAvailableCapacity(v int64) *InstanceCapacity {
+ s.AvailableCapacity = &v
+ return s
+}
+
+// SetInstanceType sets the InstanceType field's value.
+func (s *InstanceCapacity) SetInstanceType(v string) *InstanceCapacity {
+ s.InstanceType = &v
+ return s
+}
+
+// SetTotalCapacity sets the TotalCapacity field's value.
+func (s *InstanceCapacity) SetTotalCapacity(v int64) *InstanceCapacity {
+ s.TotalCapacity = &v
+ return s
+}
+
// Describes a Reserved Instance listing state.
type InstanceCount struct {
_ struct{} `type:"structure"`
@@ -28169,6 +34877,18 @@ func (s InstanceCount) GoString() string {
return s.String()
}
+// SetInstanceCount sets the InstanceCount field's value.
+func (s *InstanceCount) SetInstanceCount(v int64) *InstanceCount {
+ s.InstanceCount = &v
+ return s
+}
+
+// SetState sets the State field's value.
+func (s *InstanceCount) SetState(v string) *InstanceCount {
+ s.State = &v
+ return s
+}
+
// Describes an instance to export.
type InstanceExportDetails struct {
_ struct{} `type:"structure"`
@@ -28190,6 +34910,18 @@ func (s InstanceExportDetails) GoString() string {
return s.String()
}
+// SetInstanceId sets the InstanceId field's value.
+func (s *InstanceExportDetails) SetInstanceId(v string) *InstanceExportDetails {
+ s.InstanceId = &v
+ return s
+}
+
+// SetTargetEnvironment sets the TargetEnvironment field's value.
+func (s *InstanceExportDetails) SetTargetEnvironment(v string) *InstanceExportDetails {
+ s.TargetEnvironment = &v
+ return s
+}
+
// Describes the monitoring information of the instance.
type InstanceMonitoring struct {
_ struct{} `type:"structure"`
@@ -28211,6 +34943,18 @@ func (s InstanceMonitoring) GoString() string {
return s.String()
}
+// SetInstanceId sets the InstanceId field's value.
+func (s *InstanceMonitoring) SetInstanceId(v string) *InstanceMonitoring {
+ s.InstanceId = &v
+ return s
+}
+
+// SetMonitoring sets the Monitoring field's value.
+func (s *InstanceMonitoring) SetMonitoring(v *Monitoring) *InstanceMonitoring {
+ s.Monitoring = v
+ return s
+}
+
// Describes a network interface.
type InstanceNetworkInterface struct {
_ struct{} `type:"structure"`
@@ -28269,6 +35013,90 @@ func (s InstanceNetworkInterface) GoString() string {
return s.String()
}
+// SetAssociation sets the Association field's value.
+func (s *InstanceNetworkInterface) SetAssociation(v *InstanceNetworkInterfaceAssociation) *InstanceNetworkInterface {
+ s.Association = v
+ return s
+}
+
+// SetAttachment sets the Attachment field's value.
+func (s *InstanceNetworkInterface) SetAttachment(v *InstanceNetworkInterfaceAttachment) *InstanceNetworkInterface {
+ s.Attachment = v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *InstanceNetworkInterface) SetDescription(v string) *InstanceNetworkInterface {
+ s.Description = &v
+ return s
+}
+
+// SetGroups sets the Groups field's value.
+func (s *InstanceNetworkInterface) SetGroups(v []*GroupIdentifier) *InstanceNetworkInterface {
+ s.Groups = v
+ return s
+}
+
+// SetMacAddress sets the MacAddress field's value.
+func (s *InstanceNetworkInterface) SetMacAddress(v string) *InstanceNetworkInterface {
+ s.MacAddress = &v
+ return s
+}
+
+// SetNetworkInterfaceId sets the NetworkInterfaceId field's value.
+func (s *InstanceNetworkInterface) SetNetworkInterfaceId(v string) *InstanceNetworkInterface {
+ s.NetworkInterfaceId = &v
+ return s
+}
+
+// SetOwnerId sets the OwnerId field's value.
+func (s *InstanceNetworkInterface) SetOwnerId(v string) *InstanceNetworkInterface {
+ s.OwnerId = &v
+ return s
+}
+
+// SetPrivateDnsName sets the PrivateDnsName field's value.
+func (s *InstanceNetworkInterface) SetPrivateDnsName(v string) *InstanceNetworkInterface {
+ s.PrivateDnsName = &v
+ return s
+}
+
+// SetPrivateIpAddress sets the PrivateIpAddress field's value.
+func (s *InstanceNetworkInterface) SetPrivateIpAddress(v string) *InstanceNetworkInterface {
+ s.PrivateIpAddress = &v
+ return s
+}
+
+// SetPrivateIpAddresses sets the PrivateIpAddresses field's value.
+func (s *InstanceNetworkInterface) SetPrivateIpAddresses(v []*InstancePrivateIpAddress) *InstanceNetworkInterface {
+ s.PrivateIpAddresses = v
+ return s
+}
+
+// SetSourceDestCheck sets the SourceDestCheck field's value.
+func (s *InstanceNetworkInterface) SetSourceDestCheck(v bool) *InstanceNetworkInterface {
+ s.SourceDestCheck = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *InstanceNetworkInterface) SetStatus(v string) *InstanceNetworkInterface {
+ s.Status = &v
+ return s
+}
+
+// SetSubnetId sets the SubnetId field's value.
+func (s *InstanceNetworkInterface) SetSubnetId(v string) *InstanceNetworkInterface {
+ s.SubnetId = &v
+ return s
+}
+
+// SetVpcId sets the VpcId field's value.
+func (s *InstanceNetworkInterface) SetVpcId(v string) *InstanceNetworkInterface {
+ s.VpcId = &v
+ return s
+}
+
// Describes association information for an Elastic IP address.
type InstanceNetworkInterfaceAssociation struct {
_ struct{} `type:"structure"`
@@ -28293,6 +35121,24 @@ func (s InstanceNetworkInterfaceAssociation) GoString() string {
return s.String()
}
+// SetIpOwnerId sets the IpOwnerId field's value.
+func (s *InstanceNetworkInterfaceAssociation) SetIpOwnerId(v string) *InstanceNetworkInterfaceAssociation {
+ s.IpOwnerId = &v
+ return s
+}
+
+// SetPublicDnsName sets the PublicDnsName field's value.
+func (s *InstanceNetworkInterfaceAssociation) SetPublicDnsName(v string) *InstanceNetworkInterfaceAssociation {
+ s.PublicDnsName = &v
+ return s
+}
+
+// SetPublicIp sets the PublicIp field's value.
+func (s *InstanceNetworkInterfaceAssociation) SetPublicIp(v string) *InstanceNetworkInterfaceAssociation {
+ s.PublicIp = &v
+ return s
+}
+
// Describes a network interface attachment.
type InstanceNetworkInterfaceAttachment struct {
_ struct{} `type:"structure"`
@@ -28323,6 +35169,36 @@ func (s InstanceNetworkInterfaceAttachment) GoString() string {
return s.String()
}
+// SetAttachTime sets the AttachTime field's value.
+func (s *InstanceNetworkInterfaceAttachment) SetAttachTime(v time.Time) *InstanceNetworkInterfaceAttachment {
+ s.AttachTime = &v
+ return s
+}
+
+// SetAttachmentId sets the AttachmentId field's value.
+func (s *InstanceNetworkInterfaceAttachment) SetAttachmentId(v string) *InstanceNetworkInterfaceAttachment {
+ s.AttachmentId = &v
+ return s
+}
+
+// SetDeleteOnTermination sets the DeleteOnTermination field's value.
+func (s *InstanceNetworkInterfaceAttachment) SetDeleteOnTermination(v bool) *InstanceNetworkInterfaceAttachment {
+ s.DeleteOnTermination = &v
+ return s
+}
+
+// SetDeviceIndex sets the DeviceIndex field's value.
+func (s *InstanceNetworkInterfaceAttachment) SetDeviceIndex(v int64) *InstanceNetworkInterfaceAttachment {
+ s.DeviceIndex = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *InstanceNetworkInterfaceAttachment) SetStatus(v string) *InstanceNetworkInterfaceAttachment {
+ s.Status = &v
+ return s
+}
+
// Describes a network interface.
type InstanceNetworkInterfaceSpecification struct {
_ struct{} `type:"structure"`
@@ -28406,6 +35282,66 @@ func (s *InstanceNetworkInterfaceSpecification) Validate() error {
return nil
}
+// SetAssociatePublicIpAddress sets the AssociatePublicIpAddress field's value.
+func (s *InstanceNetworkInterfaceSpecification) SetAssociatePublicIpAddress(v bool) *InstanceNetworkInterfaceSpecification {
+ s.AssociatePublicIpAddress = &v
+ return s
+}
+
+// SetDeleteOnTermination sets the DeleteOnTermination field's value.
+func (s *InstanceNetworkInterfaceSpecification) SetDeleteOnTermination(v bool) *InstanceNetworkInterfaceSpecification {
+ s.DeleteOnTermination = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *InstanceNetworkInterfaceSpecification) SetDescription(v string) *InstanceNetworkInterfaceSpecification {
+ s.Description = &v
+ return s
+}
+
+// SetDeviceIndex sets the DeviceIndex field's value.
+func (s *InstanceNetworkInterfaceSpecification) SetDeviceIndex(v int64) *InstanceNetworkInterfaceSpecification {
+ s.DeviceIndex = &v
+ return s
+}
+
+// SetGroups sets the Groups field's value.
+func (s *InstanceNetworkInterfaceSpecification) SetGroups(v []*string) *InstanceNetworkInterfaceSpecification {
+ s.Groups = v
+ return s
+}
+
+// SetNetworkInterfaceId sets the NetworkInterfaceId field's value.
+func (s *InstanceNetworkInterfaceSpecification) SetNetworkInterfaceId(v string) *InstanceNetworkInterfaceSpecification {
+ s.NetworkInterfaceId = &v
+ return s
+}
+
+// SetPrivateIpAddress sets the PrivateIpAddress field's value.
+func (s *InstanceNetworkInterfaceSpecification) SetPrivateIpAddress(v string) *InstanceNetworkInterfaceSpecification {
+ s.PrivateIpAddress = &v
+ return s
+}
+
+// SetPrivateIpAddresses sets the PrivateIpAddresses field's value.
+func (s *InstanceNetworkInterfaceSpecification) SetPrivateIpAddresses(v []*PrivateIpAddressSpecification) *InstanceNetworkInterfaceSpecification {
+ s.PrivateIpAddresses = v
+ return s
+}
+
+// SetSecondaryPrivateIpAddressCount sets the SecondaryPrivateIpAddressCount field's value.
+func (s *InstanceNetworkInterfaceSpecification) SetSecondaryPrivateIpAddressCount(v int64) *InstanceNetworkInterfaceSpecification {
+ s.SecondaryPrivateIpAddressCount = &v
+ return s
+}
+
+// SetSubnetId sets the SubnetId field's value.
+func (s *InstanceNetworkInterfaceSpecification) SetSubnetId(v string) *InstanceNetworkInterfaceSpecification {
+ s.SubnetId = &v
+ return s
+}
+
// Describes a private IP address.
type InstancePrivateIpAddress struct {
_ struct{} `type:"structure"`
@@ -28434,6 +35370,30 @@ func (s InstancePrivateIpAddress) GoString() string {
return s.String()
}
+// SetAssociation sets the Association field's value.
+func (s *InstancePrivateIpAddress) SetAssociation(v *InstanceNetworkInterfaceAssociation) *InstancePrivateIpAddress {
+ s.Association = v
+ return s
+}
+
+// SetPrimary sets the Primary field's value.
+func (s *InstancePrivateIpAddress) SetPrimary(v bool) *InstancePrivateIpAddress {
+ s.Primary = &v
+ return s
+}
+
+// SetPrivateDnsName sets the PrivateDnsName field's value.
+func (s *InstancePrivateIpAddress) SetPrivateDnsName(v string) *InstancePrivateIpAddress {
+ s.PrivateDnsName = &v
+ return s
+}
+
+// SetPrivateIpAddress sets the PrivateIpAddress field's value.
+func (s *InstancePrivateIpAddress) SetPrivateIpAddress(v string) *InstancePrivateIpAddress {
+ s.PrivateIpAddress = &v
+ return s
+}
+
// Describes the current state of the instance.
type InstanceState struct {
_ struct{} `type:"structure"`
@@ -28468,6 +35428,18 @@ func (s InstanceState) GoString() string {
return s.String()
}
+// SetCode sets the Code field's value.
+func (s *InstanceState) SetCode(v int64) *InstanceState {
+ s.Code = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *InstanceState) SetName(v string) *InstanceState {
+ s.Name = &v
+ return s
+}
+
// Describes an instance state change.
type InstanceStateChange struct {
_ struct{} `type:"structure"`
@@ -28492,6 +35464,24 @@ func (s InstanceStateChange) GoString() string {
return s.String()
}
+// SetCurrentState sets the CurrentState field's value.
+func (s *InstanceStateChange) SetCurrentState(v *InstanceState) *InstanceStateChange {
+ s.CurrentState = v
+ return s
+}
+
+// SetInstanceId sets the InstanceId field's value.
+func (s *InstanceStateChange) SetInstanceId(v string) *InstanceStateChange {
+ s.InstanceId = &v
+ return s
+}
+
+// SetPreviousState sets the PreviousState field's value.
+func (s *InstanceStateChange) SetPreviousState(v *InstanceState) *InstanceStateChange {
+ s.PreviousState = v
+ return s
+}
+
// Describes the status of an instance.
type InstanceStatus struct {
_ struct{} `type:"structure"`
@@ -28529,6 +35519,42 @@ func (s InstanceStatus) GoString() string {
return s.String()
}
+// SetAvailabilityZone sets the AvailabilityZone field's value.
+func (s *InstanceStatus) SetAvailabilityZone(v string) *InstanceStatus {
+ s.AvailabilityZone = &v
+ return s
+}
+
+// SetEvents sets the Events field's value.
+func (s *InstanceStatus) SetEvents(v []*InstanceStatusEvent) *InstanceStatus {
+ s.Events = v
+ return s
+}
+
+// SetInstanceId sets the InstanceId field's value.
+func (s *InstanceStatus) SetInstanceId(v string) *InstanceStatus {
+ s.InstanceId = &v
+ return s
+}
+
+// SetInstanceState sets the InstanceState field's value.
+func (s *InstanceStatus) SetInstanceState(v *InstanceState) *InstanceStatus {
+ s.InstanceState = v
+ return s
+}
+
+// SetInstanceStatus sets the InstanceStatus field's value.
+func (s *InstanceStatus) SetInstanceStatus(v *InstanceStatusSummary) *InstanceStatus {
+ s.InstanceStatus = v
+ return s
+}
+
+// SetSystemStatus sets the SystemStatus field's value.
+func (s *InstanceStatus) SetSystemStatus(v *InstanceStatusSummary) *InstanceStatus {
+ s.SystemStatus = v
+ return s
+}
+
// Describes the instance status.
type InstanceStatusDetails struct {
_ struct{} `type:"structure"`
@@ -28554,6 +35580,24 @@ func (s InstanceStatusDetails) GoString() string {
return s.String()
}
+// SetImpairedSince sets the ImpairedSince field's value.
+func (s *InstanceStatusDetails) SetImpairedSince(v time.Time) *InstanceStatusDetails {
+ s.ImpairedSince = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *InstanceStatusDetails) SetName(v string) *InstanceStatusDetails {
+ s.Name = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *InstanceStatusDetails) SetStatus(v string) *InstanceStatusDetails {
+ s.Status = &v
+ return s
+}
+
// Describes a scheduled event for an instance.
type InstanceStatusEvent struct {
_ struct{} `type:"structure"`
@@ -28585,6 +35629,30 @@ func (s InstanceStatusEvent) GoString() string {
return s.String()
}
+// SetCode sets the Code field's value.
+func (s *InstanceStatusEvent) SetCode(v string) *InstanceStatusEvent {
+ s.Code = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *InstanceStatusEvent) SetDescription(v string) *InstanceStatusEvent {
+ s.Description = &v
+ return s
+}
+
+// SetNotAfter sets the NotAfter field's value.
+func (s *InstanceStatusEvent) SetNotAfter(v time.Time) *InstanceStatusEvent {
+ s.NotAfter = &v
+ return s
+}
+
+// SetNotBefore sets the NotBefore field's value.
+func (s *InstanceStatusEvent) SetNotBefore(v time.Time) *InstanceStatusEvent {
+ s.NotBefore = &v
+ return s
+}
+
// Describes the status of an instance.
type InstanceStatusSummary struct {
_ struct{} `type:"structure"`
@@ -28606,6 +35674,18 @@ func (s InstanceStatusSummary) GoString() string {
return s.String()
}
+// SetDetails sets the Details field's value.
+func (s *InstanceStatusSummary) SetDetails(v []*InstanceStatusDetails) *InstanceStatusSummary {
+ s.Details = v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *InstanceStatusSummary) SetStatus(v string) *InstanceStatusSummary {
+ s.Status = &v
+ return s
+}
+
// Describes an Internet gateway.
type InternetGateway struct {
_ struct{} `type:"structure"`
@@ -28630,6 +35710,24 @@ func (s InternetGateway) GoString() string {
return s.String()
}
+// SetAttachments sets the Attachments field's value.
+func (s *InternetGateway) SetAttachments(v []*InternetGatewayAttachment) *InternetGateway {
+ s.Attachments = v
+ return s
+}
+
+// SetInternetGatewayId sets the InternetGatewayId field's value.
+func (s *InternetGateway) SetInternetGatewayId(v string) *InternetGateway {
+ s.InternetGatewayId = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *InternetGateway) SetTags(v []*Tag) *InternetGateway {
+ s.Tags = v
+ return s
+}
+
// Describes the attachment of a VPC to an Internet gateway.
type InternetGatewayAttachment struct {
_ struct{} `type:"structure"`
@@ -28651,6 +35749,18 @@ func (s InternetGatewayAttachment) GoString() string {
return s.String()
}
+// SetState sets the State field's value.
+func (s *InternetGatewayAttachment) SetState(v string) *InternetGatewayAttachment {
+ s.State = &v
+ return s
+}
+
+// SetVpcId sets the VpcId field's value.
+func (s *InternetGatewayAttachment) SetVpcId(v string) *InternetGatewayAttachment {
+ s.VpcId = &v
+ return s
+}
+
// Describes a security group rule.
type IpPermission struct {
_ struct{} `type:"structure"`
@@ -28693,6 +35803,42 @@ func (s IpPermission) GoString() string {
return s.String()
}
+// SetFromPort sets the FromPort field's value.
+func (s *IpPermission) SetFromPort(v int64) *IpPermission {
+ s.FromPort = &v
+ return s
+}
+
+// SetIpProtocol sets the IpProtocol field's value.
+func (s *IpPermission) SetIpProtocol(v string) *IpPermission {
+ s.IpProtocol = &v
+ return s
+}
+
+// SetIpRanges sets the IpRanges field's value.
+func (s *IpPermission) SetIpRanges(v []*IpRange) *IpPermission {
+ s.IpRanges = v
+ return s
+}
+
+// SetPrefixListIds sets the PrefixListIds field's value.
+func (s *IpPermission) SetPrefixListIds(v []*PrefixListId) *IpPermission {
+ s.PrefixListIds = v
+ return s
+}
+
+// SetToPort sets the ToPort field's value.
+func (s *IpPermission) SetToPort(v int64) *IpPermission {
+ s.ToPort = &v
+ return s
+}
+
+// SetUserIdGroupPairs sets the UserIdGroupPairs field's value.
+func (s *IpPermission) SetUserIdGroupPairs(v []*UserIdGroupPair) *IpPermission {
+ s.UserIdGroupPairs = v
+ return s
+}
+
// Describes an IP range.
type IpRange struct {
_ struct{} `type:"structure"`
@@ -28712,6 +35858,12 @@ func (s IpRange) GoString() string {
return s.String()
}
+// SetCidrIp sets the CidrIp field's value.
+func (s *IpRange) SetCidrIp(v string) *IpRange {
+ s.CidrIp = &v
+ return s
+}
+
// Describes a key pair.
type KeyPairInfo struct {
_ struct{} `type:"structure"`
@@ -28736,6 +35888,18 @@ func (s KeyPairInfo) GoString() string {
return s.String()
}
+// SetKeyFingerprint sets the KeyFingerprint field's value.
+func (s *KeyPairInfo) SetKeyFingerprint(v string) *KeyPairInfo {
+ s.KeyFingerprint = &v
+ return s
+}
+
+// SetKeyName sets the KeyName field's value.
+func (s *KeyPairInfo) SetKeyName(v string) *KeyPairInfo {
+ s.KeyName = &v
+ return s
+}
+
// Describes a launch permission.
type LaunchPermission struct {
_ struct{} `type:"structure"`
@@ -28757,6 +35921,18 @@ func (s LaunchPermission) GoString() string {
return s.String()
}
+// SetGroup sets the Group field's value.
+func (s *LaunchPermission) SetGroup(v string) *LaunchPermission {
+ s.Group = &v
+ return s
+}
+
+// SetUserId sets the UserId field's value.
+func (s *LaunchPermission) SetUserId(v string) *LaunchPermission {
+ s.UserId = &v
+ return s
+}
+
// Describes a launch permission modification.
type LaunchPermissionModifications struct {
_ struct{} `type:"structure"`
@@ -28779,6 +35955,18 @@ func (s LaunchPermissionModifications) GoString() string {
return s.String()
}
+// SetAdd sets the Add field's value.
+func (s *LaunchPermissionModifications) SetAdd(v []*LaunchPermission) *LaunchPermissionModifications {
+ s.Add = v
+ return s
+}
+
+// SetRemove sets the Remove field's value.
+func (s *LaunchPermissionModifications) SetRemove(v []*LaunchPermission) *LaunchPermissionModifications {
+ s.Remove = v
+ return s
+}
+
// Describes the launch specification for an instance.
type LaunchSpecification struct {
_ struct{} `type:"structure"`
@@ -28852,6 +36040,96 @@ func (s LaunchSpecification) GoString() string {
return s.String()
}
+// SetAddressingType sets the AddressingType field's value.
+func (s *LaunchSpecification) SetAddressingType(v string) *LaunchSpecification {
+ s.AddressingType = &v
+ return s
+}
+
+// SetBlockDeviceMappings sets the BlockDeviceMappings field's value.
+func (s *LaunchSpecification) SetBlockDeviceMappings(v []*BlockDeviceMapping) *LaunchSpecification {
+ s.BlockDeviceMappings = v
+ return s
+}
+
+// SetEbsOptimized sets the EbsOptimized field's value.
+func (s *LaunchSpecification) SetEbsOptimized(v bool) *LaunchSpecification {
+ s.EbsOptimized = &v
+ return s
+}
+
+// SetIamInstanceProfile sets the IamInstanceProfile field's value.
+func (s *LaunchSpecification) SetIamInstanceProfile(v *IamInstanceProfileSpecification) *LaunchSpecification {
+ s.IamInstanceProfile = v
+ return s
+}
+
+// SetImageId sets the ImageId field's value.
+func (s *LaunchSpecification) SetImageId(v string) *LaunchSpecification {
+ s.ImageId = &v
+ return s
+}
+
+// SetInstanceType sets the InstanceType field's value.
+func (s *LaunchSpecification) SetInstanceType(v string) *LaunchSpecification {
+ s.InstanceType = &v
+ return s
+}
+
+// SetKernelId sets the KernelId field's value.
+func (s *LaunchSpecification) SetKernelId(v string) *LaunchSpecification {
+ s.KernelId = &v
+ return s
+}
+
+// SetKeyName sets the KeyName field's value.
+func (s *LaunchSpecification) SetKeyName(v string) *LaunchSpecification {
+ s.KeyName = &v
+ return s
+}
+
+// SetMonitoring sets the Monitoring field's value.
+func (s *LaunchSpecification) SetMonitoring(v *RunInstancesMonitoringEnabled) *LaunchSpecification {
+ s.Monitoring = v
+ return s
+}
+
+// SetNetworkInterfaces sets the NetworkInterfaces field's value.
+func (s *LaunchSpecification) SetNetworkInterfaces(v []*InstanceNetworkInterfaceSpecification) *LaunchSpecification {
+ s.NetworkInterfaces = v
+ return s
+}
+
+// SetPlacement sets the Placement field's value.
+func (s *LaunchSpecification) SetPlacement(v *SpotPlacement) *LaunchSpecification {
+ s.Placement = v
+ return s
+}
+
+// SetRamdiskId sets the RamdiskId field's value.
+func (s *LaunchSpecification) SetRamdiskId(v string) *LaunchSpecification {
+ s.RamdiskId = &v
+ return s
+}
+
+// SetSecurityGroups sets the SecurityGroups field's value.
+func (s *LaunchSpecification) SetSecurityGroups(v []*GroupIdentifier) *LaunchSpecification {
+ s.SecurityGroups = v
+ return s
+}
+
+// SetSubnetId sets the SubnetId field's value.
+func (s *LaunchSpecification) SetSubnetId(v string) *LaunchSpecification {
+ s.SubnetId = &v
+ return s
+}
+
+// SetUserData sets the UserData field's value.
+func (s *LaunchSpecification) SetUserData(v string) *LaunchSpecification {
+ s.UserData = &v
+ return s
+}
+
// Contains the parameters for ModifyHosts.
type ModifyHostsInput struct {
_ struct{} `type:"structure"`
@@ -28893,6 +36171,18 @@ func (s *ModifyHostsInput) Validate() error {
return nil
}
+// SetAutoPlacement sets the AutoPlacement field's value.
+func (s *ModifyHostsInput) SetAutoPlacement(v string) *ModifyHostsInput {
+ s.AutoPlacement = &v
+ return s
+}
+
+// SetHostIds sets the HostIds field's value.
+func (s *ModifyHostsInput) SetHostIds(v []*string) *ModifyHostsInput {
+ s.HostIds = v
+ return s
+}
+
// Contains the output of ModifyHosts.
type ModifyHostsOutput struct {
_ struct{} `type:"structure"`
@@ -28915,6 +36205,18 @@ func (s ModifyHostsOutput) GoString() string {
return s.String()
}
+// SetSuccessful sets the Successful field's value.
+func (s *ModifyHostsOutput) SetSuccessful(v []*string) *ModifyHostsOutput {
+ s.Successful = v
+ return s
+}
+
+// SetUnsuccessful sets the Unsuccessful field's value.
+func (s *ModifyHostsOutput) SetUnsuccessful(v []*UnsuccessfulItem) *ModifyHostsOutput {
+ s.Unsuccessful = v
+ return s
+}
+
// Contains the parameters of ModifyIdFormat.
type ModifyIdFormatInput struct {
_ struct{} `type:"structure"`
@@ -28956,6 +36258,18 @@ func (s *ModifyIdFormatInput) Validate() error {
return nil
}
+// SetResource sets the Resource field's value.
+func (s *ModifyIdFormatInput) SetResource(v string) *ModifyIdFormatInput {
+ s.Resource = &v
+ return s
+}
+
+// SetUseLongIds sets the UseLongIds field's value.
+func (s *ModifyIdFormatInput) SetUseLongIds(v bool) *ModifyIdFormatInput {
+ s.UseLongIds = &v
+ return s
+}
+
type ModifyIdFormatOutput struct {
_ struct{} `type:"structure"`
}
@@ -29021,6 +36335,24 @@ func (s *ModifyIdentityIdFormatInput) Validate() error {
return nil
}
+// SetPrincipalArn sets the PrincipalArn field's value.
+func (s *ModifyIdentityIdFormatInput) SetPrincipalArn(v string) *ModifyIdentityIdFormatInput {
+ s.PrincipalArn = &v
+ return s
+}
+
+// SetResource sets the Resource field's value.
+func (s *ModifyIdentityIdFormatInput) SetResource(v string) *ModifyIdentityIdFormatInput {
+ s.Resource = &v
+ return s
+}
+
+// SetUseLongIds sets the UseLongIds field's value.
+func (s *ModifyIdentityIdFormatInput) SetUseLongIds(v bool) *ModifyIdentityIdFormatInput {
+ s.UseLongIds = &v
+ return s
+}
+
type ModifyIdentityIdFormatOutput struct {
_ struct{} `type:"structure"`
}
@@ -29102,6 +36434,66 @@ func (s *ModifyImageAttributeInput) Validate() error {
return nil
}
+// SetAttribute sets the Attribute field's value.
+func (s *ModifyImageAttributeInput) SetAttribute(v string) *ModifyImageAttributeInput {
+ s.Attribute = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *ModifyImageAttributeInput) SetDescription(v *AttributeValue) *ModifyImageAttributeInput {
+ s.Description = v
+ return s
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *ModifyImageAttributeInput) SetDryRun(v bool) *ModifyImageAttributeInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetImageId sets the ImageId field's value.
+func (s *ModifyImageAttributeInput) SetImageId(v string) *ModifyImageAttributeInput {
+ s.ImageId = &v
+ return s
+}
+
+// SetLaunchPermission sets the LaunchPermission field's value.
+func (s *ModifyImageAttributeInput) SetLaunchPermission(v *LaunchPermissionModifications) *ModifyImageAttributeInput {
+ s.LaunchPermission = v
+ return s
+}
+
+// SetOperationType sets the OperationType field's value.
+func (s *ModifyImageAttributeInput) SetOperationType(v string) *ModifyImageAttributeInput {
+ s.OperationType = &v
+ return s
+}
+
+// SetProductCodes sets the ProductCodes field's value.
+func (s *ModifyImageAttributeInput) SetProductCodes(v []*string) *ModifyImageAttributeInput {
+ s.ProductCodes = v
+ return s
+}
+
+// SetUserGroups sets the UserGroups field's value.
+func (s *ModifyImageAttributeInput) SetUserGroups(v []*string) *ModifyImageAttributeInput {
+ s.UserGroups = v
+ return s
+}
+
+// SetUserIds sets the UserIds field's value.
+func (s *ModifyImageAttributeInput) SetUserIds(v []*string) *ModifyImageAttributeInput {
+ s.UserIds = v
+ return s
+}
+
+// SetValue sets the Value field's value.
+func (s *ModifyImageAttributeInput) SetValue(v string) *ModifyImageAttributeInput {
+ s.Value = &v
+ return s
+}
+
type ModifyImageAttributeOutput struct {
_ struct{} `type:"structure"`
}
@@ -29236,6 +36628,102 @@ func (s *ModifyInstanceAttributeInput) Validate() error {
return nil
}
+// SetAttribute sets the Attribute field's value.
+func (s *ModifyInstanceAttributeInput) SetAttribute(v string) *ModifyInstanceAttributeInput {
+ s.Attribute = &v
+ return s
+}
+
+// SetBlockDeviceMappings sets the BlockDeviceMappings field's value.
+func (s *ModifyInstanceAttributeInput) SetBlockDeviceMappings(v []*InstanceBlockDeviceMappingSpecification) *ModifyInstanceAttributeInput {
+ s.BlockDeviceMappings = v
+ return s
+}
+
+// SetDisableApiTermination sets the DisableApiTermination field's value.
+func (s *ModifyInstanceAttributeInput) SetDisableApiTermination(v *AttributeBooleanValue) *ModifyInstanceAttributeInput {
+ s.DisableApiTermination = v
+ return s
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *ModifyInstanceAttributeInput) SetDryRun(v bool) *ModifyInstanceAttributeInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetEbsOptimized sets the EbsOptimized field's value.
+func (s *ModifyInstanceAttributeInput) SetEbsOptimized(v *AttributeBooleanValue) *ModifyInstanceAttributeInput {
+ s.EbsOptimized = v
+ return s
+}
+
+// SetEnaSupport sets the EnaSupport field's value.
+func (s *ModifyInstanceAttributeInput) SetEnaSupport(v *AttributeBooleanValue) *ModifyInstanceAttributeInput {
+ s.EnaSupport = v
+ return s
+}
+
+// SetGroups sets the Groups field's value.
+func (s *ModifyInstanceAttributeInput) SetGroups(v []*string) *ModifyInstanceAttributeInput {
+ s.Groups = v
+ return s
+}
+
+// SetInstanceId sets the InstanceId field's value.
+func (s *ModifyInstanceAttributeInput) SetInstanceId(v string) *ModifyInstanceAttributeInput {
+ s.InstanceId = &v
+ return s
+}
+
+// SetInstanceInitiatedShutdownBehavior sets the InstanceInitiatedShutdownBehavior field's value.
+func (s *ModifyInstanceAttributeInput) SetInstanceInitiatedShutdownBehavior(v *AttributeValue) *ModifyInstanceAttributeInput {
+ s.InstanceInitiatedShutdownBehavior = v
+ return s
+}
+
+// SetInstanceType sets the InstanceType field's value.
+func (s *ModifyInstanceAttributeInput) SetInstanceType(v *AttributeValue) *ModifyInstanceAttributeInput {
+ s.InstanceType = v
+ return s
+}
+
+// SetKernel sets the Kernel field's value.
+func (s *ModifyInstanceAttributeInput) SetKernel(v *AttributeValue) *ModifyInstanceAttributeInput {
+ s.Kernel = v
+ return s
+}
+
+// SetRamdisk sets the Ramdisk field's value.
+func (s *ModifyInstanceAttributeInput) SetRamdisk(v *AttributeValue) *ModifyInstanceAttributeInput {
+ s.Ramdisk = v
+ return s
+}
+
+// SetSourceDestCheck sets the SourceDestCheck field's value.
+func (s *ModifyInstanceAttributeInput) SetSourceDestCheck(v *AttributeBooleanValue) *ModifyInstanceAttributeInput {
+ s.SourceDestCheck = v
+ return s
+}
+
+// SetSriovNetSupport sets the SriovNetSupport field's value.
+func (s *ModifyInstanceAttributeInput) SetSriovNetSupport(v *AttributeValue) *ModifyInstanceAttributeInput {
+ s.SriovNetSupport = v
+ return s
+}
+
+// SetUserData sets the UserData field's value.
+func (s *ModifyInstanceAttributeInput) SetUserData(v *BlobAttributeValue) *ModifyInstanceAttributeInput {
+ s.UserData = v
+ return s
+}
+
+// SetValue sets the Value field's value.
+func (s *ModifyInstanceAttributeInput) SetValue(v string) *ModifyInstanceAttributeInput {
+ s.Value = &v
+ return s
+}
+
type ModifyInstanceAttributeOutput struct {
_ struct{} `type:"structure"`
}
@@ -29292,6 +36780,30 @@ func (s *ModifyInstancePlacementInput) Validate() error {
return nil
}
+// SetAffinity sets the Affinity field's value.
+func (s *ModifyInstancePlacementInput) SetAffinity(v string) *ModifyInstancePlacementInput {
+ s.Affinity = &v
+ return s
+}
+
+// SetHostId sets the HostId field's value.
+func (s *ModifyInstancePlacementInput) SetHostId(v string) *ModifyInstancePlacementInput {
+ s.HostId = &v
+ return s
+}
+
+// SetInstanceId sets the InstanceId field's value.
+func (s *ModifyInstancePlacementInput) SetInstanceId(v string) *ModifyInstancePlacementInput {
+ s.InstanceId = &v
+ return s
+}
+
+// SetTenancy sets the Tenancy field's value.
+func (s *ModifyInstancePlacementInput) SetTenancy(v string) *ModifyInstancePlacementInput {
+ s.Tenancy = &v
+ return s
+}
+
// Contains the output of ModifyInstancePlacement.
type ModifyInstancePlacementOutput struct {
_ struct{} `type:"structure"`
@@ -29310,6 +36822,12 @@ func (s ModifyInstancePlacementOutput) GoString() string {
return s.String()
}
+// SetReturn sets the Return field's value.
+func (s *ModifyInstancePlacementOutput) SetReturn(v bool) *ModifyInstancePlacementOutput {
+ s.Return = &v
+ return s
+}
+
// Contains the parameters for ModifyNetworkInterfaceAttribute.
type ModifyNetworkInterfaceAttributeInput struct {
_ struct{} `type:"structure"`
@@ -29369,6 +36887,42 @@ func (s *ModifyNetworkInterfaceAttributeInput) Validate() error {
return nil
}
+// SetAttachment sets the Attachment field's value.
+func (s *ModifyNetworkInterfaceAttributeInput) SetAttachment(v *NetworkInterfaceAttachmentChanges) *ModifyNetworkInterfaceAttributeInput {
+ s.Attachment = v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *ModifyNetworkInterfaceAttributeInput) SetDescription(v *AttributeValue) *ModifyNetworkInterfaceAttributeInput {
+ s.Description = v
+ return s
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *ModifyNetworkInterfaceAttributeInput) SetDryRun(v bool) *ModifyNetworkInterfaceAttributeInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetGroups sets the Groups field's value.
+func (s *ModifyNetworkInterfaceAttributeInput) SetGroups(v []*string) *ModifyNetworkInterfaceAttributeInput {
+ s.Groups = v
+ return s
+}
+
+// SetNetworkInterfaceId sets the NetworkInterfaceId field's value.
+func (s *ModifyNetworkInterfaceAttributeInput) SetNetworkInterfaceId(v string) *ModifyNetworkInterfaceAttributeInput {
+ s.NetworkInterfaceId = &v
+ return s
+}
+
+// SetSourceDestCheck sets the SourceDestCheck field's value.
+func (s *ModifyNetworkInterfaceAttributeInput) SetSourceDestCheck(v *AttributeBooleanValue) *ModifyNetworkInterfaceAttributeInput {
+ s.SourceDestCheck = v
+ return s
+}
+
type ModifyNetworkInterfaceAttributeOutput struct {
_ struct{} `type:"structure"`
}
@@ -29428,6 +36982,24 @@ func (s *ModifyReservedInstancesInput) Validate() error {
return nil
}
+// SetClientToken sets the ClientToken field's value.
+func (s *ModifyReservedInstancesInput) SetClientToken(v string) *ModifyReservedInstancesInput {
+ s.ClientToken = &v
+ return s
+}
+
+// SetReservedInstancesIds sets the ReservedInstancesIds field's value.
+func (s *ModifyReservedInstancesInput) SetReservedInstancesIds(v []*string) *ModifyReservedInstancesInput {
+ s.ReservedInstancesIds = v
+ return s
+}
+
+// SetTargetConfigurations sets the TargetConfigurations field's value.
+func (s *ModifyReservedInstancesInput) SetTargetConfigurations(v []*ReservedInstancesConfiguration) *ModifyReservedInstancesInput {
+ s.TargetConfigurations = v
+ return s
+}
+
// Contains the output of ModifyReservedInstances.
type ModifyReservedInstancesOutput struct {
_ struct{} `type:"structure"`
@@ -29446,6 +37018,12 @@ func (s ModifyReservedInstancesOutput) GoString() string {
return s.String()
}
+// SetReservedInstancesModificationId sets the ReservedInstancesModificationId field's value.
+func (s *ModifyReservedInstancesOutput) SetReservedInstancesModificationId(v string) *ModifyReservedInstancesOutput {
+ s.ReservedInstancesModificationId = &v
+ return s
+}
+
// Contains the parameters for ModifySnapshotAttribute.
type ModifySnapshotAttributeInput struct {
_ struct{} `type:"structure"`
@@ -29502,6 +37080,48 @@ func (s *ModifySnapshotAttributeInput) Validate() error {
return nil
}
+// SetAttribute sets the Attribute field's value.
+func (s *ModifySnapshotAttributeInput) SetAttribute(v string) *ModifySnapshotAttributeInput {
+ s.Attribute = &v
+ return s
+}
+
+// SetCreateVolumePermission sets the CreateVolumePermission field's value.
+func (s *ModifySnapshotAttributeInput) SetCreateVolumePermission(v *CreateVolumePermissionModifications) *ModifySnapshotAttributeInput {
+ s.CreateVolumePermission = v
+ return s
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *ModifySnapshotAttributeInput) SetDryRun(v bool) *ModifySnapshotAttributeInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetGroupNames sets the GroupNames field's value.
+func (s *ModifySnapshotAttributeInput) SetGroupNames(v []*string) *ModifySnapshotAttributeInput {
+ s.GroupNames = v
+ return s
+}
+
+// SetOperationType sets the OperationType field's value.
+func (s *ModifySnapshotAttributeInput) SetOperationType(v string) *ModifySnapshotAttributeInput {
+ s.OperationType = &v
+ return s
+}
+
+// SetSnapshotId sets the SnapshotId field's value.
+func (s *ModifySnapshotAttributeInput) SetSnapshotId(v string) *ModifySnapshotAttributeInput {
+ s.SnapshotId = &v
+ return s
+}
+
+// SetUserIds sets the UserIds field's value.
+func (s *ModifySnapshotAttributeInput) SetUserIds(v []*string) *ModifySnapshotAttributeInput {
+ s.UserIds = v
+ return s
+}
+
type ModifySnapshotAttributeOutput struct {
_ struct{} `type:"structure"`
}
@@ -29557,6 +37177,24 @@ func (s *ModifySpotFleetRequestInput) Validate() error {
return nil
}
+// SetExcessCapacityTerminationPolicy sets the ExcessCapacityTerminationPolicy field's value.
+func (s *ModifySpotFleetRequestInput) SetExcessCapacityTerminationPolicy(v string) *ModifySpotFleetRequestInput {
+ s.ExcessCapacityTerminationPolicy = &v
+ return s
+}
+
+// SetSpotFleetRequestId sets the SpotFleetRequestId field's value.
+func (s *ModifySpotFleetRequestInput) SetSpotFleetRequestId(v string) *ModifySpotFleetRequestInput {
+ s.SpotFleetRequestId = &v
+ return s
+}
+
+// SetTargetCapacity sets the TargetCapacity field's value.
+func (s *ModifySpotFleetRequestInput) SetTargetCapacity(v int64) *ModifySpotFleetRequestInput {
+ s.TargetCapacity = &v
+ return s
+}
+
// Contains the output of ModifySpotFleetRequest.
type ModifySpotFleetRequestOutput struct {
_ struct{} `type:"structure"`
@@ -29575,6 +37213,12 @@ func (s ModifySpotFleetRequestOutput) GoString() string {
return s.String()
}
+// SetReturn sets the Return field's value.
+func (s *ModifySpotFleetRequestOutput) SetReturn(v bool) *ModifySpotFleetRequestOutput {
+ s.Return = &v
+ return s
+}
+
// Contains the parameters for ModifySubnetAttribute.
type ModifySubnetAttributeInput struct {
_ struct{} `type:"structure"`
@@ -29612,6 +37256,18 @@ func (s *ModifySubnetAttributeInput) Validate() error {
return nil
}
+// SetMapPublicIpOnLaunch sets the MapPublicIpOnLaunch field's value.
+func (s *ModifySubnetAttributeInput) SetMapPublicIpOnLaunch(v *AttributeBooleanValue) *ModifySubnetAttributeInput {
+ s.MapPublicIpOnLaunch = v
+ return s
+}
+
+// SetSubnetId sets the SubnetId field's value.
+func (s *ModifySubnetAttributeInput) SetSubnetId(v string) *ModifySubnetAttributeInput {
+ s.SubnetId = &v
+ return s
+}
+
type ModifySubnetAttributeOutput struct {
_ struct{} `type:"structure"`
}
@@ -29668,6 +37324,24 @@ func (s *ModifyVolumeAttributeInput) Validate() error {
return nil
}
+// SetAutoEnableIO sets the AutoEnableIO field's value.
+func (s *ModifyVolumeAttributeInput) SetAutoEnableIO(v *AttributeBooleanValue) *ModifyVolumeAttributeInput {
+ s.AutoEnableIO = v
+ return s
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *ModifyVolumeAttributeInput) SetDryRun(v bool) *ModifyVolumeAttributeInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetVolumeId sets the VolumeId field's value.
+func (s *ModifyVolumeAttributeInput) SetVolumeId(v string) *ModifyVolumeAttributeInput {
+ s.VolumeId = &v
+ return s
+}
+
type ModifyVolumeAttributeOutput struct {
_ struct{} `type:"structure"`
}
@@ -29733,6 +37407,24 @@ func (s *ModifyVpcAttributeInput) Validate() error {
return nil
}
+// SetEnableDnsHostnames sets the EnableDnsHostnames field's value.
+func (s *ModifyVpcAttributeInput) SetEnableDnsHostnames(v *AttributeBooleanValue) *ModifyVpcAttributeInput {
+ s.EnableDnsHostnames = v
+ return s
+}
+
+// SetEnableDnsSupport sets the EnableDnsSupport field's value.
+func (s *ModifyVpcAttributeInput) SetEnableDnsSupport(v *AttributeBooleanValue) *ModifyVpcAttributeInput {
+ s.EnableDnsSupport = v
+ return s
+}
+
+// SetVpcId sets the VpcId field's value.
+func (s *ModifyVpcAttributeInput) SetVpcId(v string) *ModifyVpcAttributeInput {
+ s.VpcId = &v
+ return s
+}
+
type ModifyVpcAttributeOutput struct {
_ struct{} `type:"structure"`
}
@@ -29800,6 +37492,42 @@ func (s *ModifyVpcEndpointInput) Validate() error {
return nil
}
+// SetAddRouteTableIds sets the AddRouteTableIds field's value.
+func (s *ModifyVpcEndpointInput) SetAddRouteTableIds(v []*string) *ModifyVpcEndpointInput {
+ s.AddRouteTableIds = v
+ return s
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *ModifyVpcEndpointInput) SetDryRun(v bool) *ModifyVpcEndpointInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetPolicyDocument sets the PolicyDocument field's value.
+func (s *ModifyVpcEndpointInput) SetPolicyDocument(v string) *ModifyVpcEndpointInput {
+ s.PolicyDocument = &v
+ return s
+}
+
+// SetRemoveRouteTableIds sets the RemoveRouteTableIds field's value.
+func (s *ModifyVpcEndpointInput) SetRemoveRouteTableIds(v []*string) *ModifyVpcEndpointInput {
+ s.RemoveRouteTableIds = v
+ return s
+}
+
+// SetResetPolicy sets the ResetPolicy field's value.
+func (s *ModifyVpcEndpointInput) SetResetPolicy(v bool) *ModifyVpcEndpointInput {
+ s.ResetPolicy = &v
+ return s
+}
+
+// SetVpcEndpointId sets the VpcEndpointId field's value.
+func (s *ModifyVpcEndpointInput) SetVpcEndpointId(v string) *ModifyVpcEndpointInput {
+ s.VpcEndpointId = &v
+ return s
+}
+
// Contains the output of ModifyVpcEndpoint.
type ModifyVpcEndpointOutput struct {
_ struct{} `type:"structure"`
@@ -29818,6 +37546,12 @@ func (s ModifyVpcEndpointOutput) GoString() string {
return s.String()
}
+// SetReturn sets the Return field's value.
+func (s *ModifyVpcEndpointOutput) SetReturn(v bool) *ModifyVpcEndpointOutput {
+ s.Return = &v
+ return s
+}
+
type ModifyVpcPeeringConnectionOptionsInput struct {
_ struct{} `type:"structure"`
@@ -29862,6 +37596,30 @@ func (s *ModifyVpcPeeringConnectionOptionsInput) Validate() error {
return nil
}
+// SetAccepterPeeringConnectionOptions sets the AccepterPeeringConnectionOptions field's value.
+func (s *ModifyVpcPeeringConnectionOptionsInput) SetAccepterPeeringConnectionOptions(v *PeeringConnectionOptionsRequest) *ModifyVpcPeeringConnectionOptionsInput {
+ s.AccepterPeeringConnectionOptions = v
+ return s
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *ModifyVpcPeeringConnectionOptionsInput) SetDryRun(v bool) *ModifyVpcPeeringConnectionOptionsInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetRequesterPeeringConnectionOptions sets the RequesterPeeringConnectionOptions field's value.
+func (s *ModifyVpcPeeringConnectionOptionsInput) SetRequesterPeeringConnectionOptions(v *PeeringConnectionOptionsRequest) *ModifyVpcPeeringConnectionOptionsInput {
+ s.RequesterPeeringConnectionOptions = v
+ return s
+}
+
+// SetVpcPeeringConnectionId sets the VpcPeeringConnectionId field's value.
+func (s *ModifyVpcPeeringConnectionOptionsInput) SetVpcPeeringConnectionId(v string) *ModifyVpcPeeringConnectionOptionsInput {
+ s.VpcPeeringConnectionId = &v
+ return s
+}
+
type ModifyVpcPeeringConnectionOptionsOutput struct {
_ struct{} `type:"structure"`
@@ -29882,6 +37640,18 @@ func (s ModifyVpcPeeringConnectionOptionsOutput) GoString() string {
return s.String()
}
+// SetAccepterPeeringConnectionOptions sets the AccepterPeeringConnectionOptions field's value.
+func (s *ModifyVpcPeeringConnectionOptionsOutput) SetAccepterPeeringConnectionOptions(v *PeeringConnectionOptions) *ModifyVpcPeeringConnectionOptionsOutput {
+ s.AccepterPeeringConnectionOptions = v
+ return s
+}
+
+// SetRequesterPeeringConnectionOptions sets the RequesterPeeringConnectionOptions field's value.
+func (s *ModifyVpcPeeringConnectionOptionsOutput) SetRequesterPeeringConnectionOptions(v *PeeringConnectionOptions) *ModifyVpcPeeringConnectionOptionsOutput {
+ s.RequesterPeeringConnectionOptions = v
+ return s
+}
+
// Contains the parameters for MonitorInstances.
type MonitorInstancesInput struct {
_ struct{} `type:"structure"`
@@ -29921,6 +37691,18 @@ func (s *MonitorInstancesInput) Validate() error {
return nil
}
+// SetDryRun sets the DryRun field's value.
+func (s *MonitorInstancesInput) SetDryRun(v bool) *MonitorInstancesInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetInstanceIds sets the InstanceIds field's value.
+func (s *MonitorInstancesInput) SetInstanceIds(v []*string) *MonitorInstancesInput {
+ s.InstanceIds = v
+ return s
+}
+
// Contains the output of MonitorInstances.
type MonitorInstancesOutput struct {
_ struct{} `type:"structure"`
@@ -29939,6 +37721,12 @@ func (s MonitorInstancesOutput) GoString() string {
return s.String()
}
+// SetInstanceMonitorings sets the InstanceMonitorings field's value.
+func (s *MonitorInstancesOutput) SetInstanceMonitorings(v []*InstanceMonitoring) *MonitorInstancesOutput {
+ s.InstanceMonitorings = v
+ return s
+}
+
// Describes the monitoring for the instance.
type Monitoring struct {
_ struct{} `type:"structure"`
@@ -29957,6 +37745,12 @@ func (s Monitoring) GoString() string {
return s.String()
}
+// SetState sets the State field's value.
+func (s *Monitoring) SetState(v string) *Monitoring {
+ s.State = &v
+ return s
+}
+
// Contains the parameters for MoveAddressToVpc.
type MoveAddressToVpcInput struct {
_ struct{} `type:"structure"`
@@ -29996,6 +37790,18 @@ func (s *MoveAddressToVpcInput) Validate() error {
return nil
}
+// SetDryRun sets the DryRun field's value.
+func (s *MoveAddressToVpcInput) SetDryRun(v bool) *MoveAddressToVpcInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetPublicIp sets the PublicIp field's value.
+func (s *MoveAddressToVpcInput) SetPublicIp(v string) *MoveAddressToVpcInput {
+ s.PublicIp = &v
+ return s
+}
+
// Contains the output of MoveAddressToVpc.
type MoveAddressToVpcOutput struct {
_ struct{} `type:"structure"`
@@ -30017,6 +37823,18 @@ func (s MoveAddressToVpcOutput) GoString() string {
return s.String()
}
+// SetAllocationId sets the AllocationId field's value.
+func (s *MoveAddressToVpcOutput) SetAllocationId(v string) *MoveAddressToVpcOutput {
+ s.AllocationId = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *MoveAddressToVpcOutput) SetStatus(v string) *MoveAddressToVpcOutput {
+ s.Status = &v
+ return s
+}
+
// Describes the status of a moving Elastic IP address.
type MovingAddressStatus struct {
_ struct{} `type:"structure"`
@@ -30039,6 +37857,18 @@ func (s MovingAddressStatus) GoString() string {
return s.String()
}
+// SetMoveStatus sets the MoveStatus field's value.
+func (s *MovingAddressStatus) SetMoveStatus(v string) *MovingAddressStatus {
+ s.MoveStatus = &v
+ return s
+}
+
+// SetPublicIp sets the PublicIp field's value.
+func (s *MovingAddressStatus) SetPublicIp(v string) *MovingAddressStatus {
+ s.PublicIp = &v
+ return s
+}
+
// Describes a NAT gateway.
type NatGateway struct {
_ struct{} `type:"structure"`
@@ -30107,21 +37937,81 @@ type NatGateway struct {
// traffic.
State *string `locationName:"state" type:"string" enum:"NatGatewayState"`
- // The ID of the subnet in which the NAT gateway is located.
- SubnetId *string `locationName:"subnetId" type:"string"`
+ // The ID of the subnet in which the NAT gateway is located.
+ SubnetId *string `locationName:"subnetId" type:"string"`
+
+ // The ID of the VPC in which the NAT gateway is located.
+ VpcId *string `locationName:"vpcId" type:"string"`
+}
+
+// String returns the string representation
+func (s NatGateway) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s NatGateway) GoString() string {
+ return s.String()
+}
+
+// SetCreateTime sets the CreateTime field's value.
+func (s *NatGateway) SetCreateTime(v time.Time) *NatGateway {
+ s.CreateTime = &v
+ return s
+}
+
+// SetDeleteTime sets the DeleteTime field's value.
+func (s *NatGateway) SetDeleteTime(v time.Time) *NatGateway {
+ s.DeleteTime = &v
+ return s
+}
+
+// SetFailureCode sets the FailureCode field's value.
+func (s *NatGateway) SetFailureCode(v string) *NatGateway {
+ s.FailureCode = &v
+ return s
+}
+
+// SetFailureMessage sets the FailureMessage field's value.
+func (s *NatGateway) SetFailureMessage(v string) *NatGateway {
+ s.FailureMessage = &v
+ return s
+}
+
+// SetNatGatewayAddresses sets the NatGatewayAddresses field's value.
+func (s *NatGateway) SetNatGatewayAddresses(v []*NatGatewayAddress) *NatGateway {
+ s.NatGatewayAddresses = v
+ return s
+}
+
+// SetNatGatewayId sets the NatGatewayId field's value.
+func (s *NatGateway) SetNatGatewayId(v string) *NatGateway {
+ s.NatGatewayId = &v
+ return s
+}
- // The ID of the VPC in which the NAT gateway is located.
- VpcId *string `locationName:"vpcId" type:"string"`
+// SetProvisionedBandwidth sets the ProvisionedBandwidth field's value.
+func (s *NatGateway) SetProvisionedBandwidth(v *ProvisionedBandwidth) *NatGateway {
+ s.ProvisionedBandwidth = v
+ return s
}
-// String returns the string representation
-func (s NatGateway) String() string {
- return awsutil.Prettify(s)
+// SetState sets the State field's value.
+func (s *NatGateway) SetState(v string) *NatGateway {
+ s.State = &v
+ return s
}
-// GoString returns the string representation
-func (s NatGateway) GoString() string {
- return s.String()
+// SetSubnetId sets the SubnetId field's value.
+func (s *NatGateway) SetSubnetId(v string) *NatGateway {
+ s.SubnetId = &v
+ return s
+}
+
+// SetVpcId sets the VpcId field's value.
+func (s *NatGateway) SetVpcId(v string) *NatGateway {
+ s.VpcId = &v
+ return s
}
// Describes the IP addresses and network interface associated with a NAT gateway.
@@ -30152,6 +38042,30 @@ func (s NatGatewayAddress) GoString() string {
return s.String()
}
+// SetAllocationId sets the AllocationId field's value.
+func (s *NatGatewayAddress) SetAllocationId(v string) *NatGatewayAddress {
+ s.AllocationId = &v
+ return s
+}
+
+// SetNetworkInterfaceId sets the NetworkInterfaceId field's value.
+func (s *NatGatewayAddress) SetNetworkInterfaceId(v string) *NatGatewayAddress {
+ s.NetworkInterfaceId = &v
+ return s
+}
+
+// SetPrivateIp sets the PrivateIp field's value.
+func (s *NatGatewayAddress) SetPrivateIp(v string) *NatGatewayAddress {
+ s.PrivateIp = &v
+ return s
+}
+
+// SetPublicIp sets the PublicIp field's value.
+func (s *NatGatewayAddress) SetPublicIp(v string) *NatGatewayAddress {
+ s.PublicIp = &v
+ return s
+}
+
// Describes a network ACL.
type NetworkAcl struct {
_ struct{} `type:"structure"`
@@ -30185,6 +38099,42 @@ func (s NetworkAcl) GoString() string {
return s.String()
}
+// SetAssociations sets the Associations field's value.
+func (s *NetworkAcl) SetAssociations(v []*NetworkAclAssociation) *NetworkAcl {
+ s.Associations = v
+ return s
+}
+
+// SetEntries sets the Entries field's value.
+func (s *NetworkAcl) SetEntries(v []*NetworkAclEntry) *NetworkAcl {
+ s.Entries = v
+ return s
+}
+
+// SetIsDefault sets the IsDefault field's value.
+func (s *NetworkAcl) SetIsDefault(v bool) *NetworkAcl {
+ s.IsDefault = &v
+ return s
+}
+
+// SetNetworkAclId sets the NetworkAclId field's value.
+func (s *NetworkAcl) SetNetworkAclId(v string) *NetworkAcl {
+ s.NetworkAclId = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *NetworkAcl) SetTags(v []*Tag) *NetworkAcl {
+ s.Tags = v
+ return s
+}
+
+// SetVpcId sets the VpcId field's value.
+func (s *NetworkAcl) SetVpcId(v string) *NetworkAcl {
+ s.VpcId = &v
+ return s
+}
+
// Describes an association between a network ACL and a subnet.
type NetworkAclAssociation struct {
_ struct{} `type:"structure"`
@@ -30209,6 +38159,24 @@ func (s NetworkAclAssociation) GoString() string {
return s.String()
}
+// SetNetworkAclAssociationId sets the NetworkAclAssociationId field's value.
+func (s *NetworkAclAssociation) SetNetworkAclAssociationId(v string) *NetworkAclAssociation {
+ s.NetworkAclAssociationId = &v
+ return s
+}
+
+// SetNetworkAclId sets the NetworkAclId field's value.
+func (s *NetworkAclAssociation) SetNetworkAclId(v string) *NetworkAclAssociation {
+ s.NetworkAclId = &v
+ return s
+}
+
+// SetSubnetId sets the SubnetId field's value.
+func (s *NetworkAclAssociation) SetSubnetId(v string) *NetworkAclAssociation {
+ s.SubnetId = &v
+ return s
+}
+
// Describes an entry in a network ACL.
type NetworkAclEntry struct {
_ struct{} `type:"structure"`
@@ -30247,6 +38215,48 @@ func (s NetworkAclEntry) GoString() string {
return s.String()
}
+// SetCidrBlock sets the CidrBlock field's value.
+func (s *NetworkAclEntry) SetCidrBlock(v string) *NetworkAclEntry {
+ s.CidrBlock = &v
+ return s
+}
+
+// SetEgress sets the Egress field's value.
+func (s *NetworkAclEntry) SetEgress(v bool) *NetworkAclEntry {
+ s.Egress = &v
+ return s
+}
+
+// SetIcmpTypeCode sets the IcmpTypeCode field's value.
+func (s *NetworkAclEntry) SetIcmpTypeCode(v *IcmpTypeCode) *NetworkAclEntry {
+ s.IcmpTypeCode = v
+ return s
+}
+
+// SetPortRange sets the PortRange field's value.
+func (s *NetworkAclEntry) SetPortRange(v *PortRange) *NetworkAclEntry {
+ s.PortRange = v
+ return s
+}
+
+// SetProtocol sets the Protocol field's value.
+func (s *NetworkAclEntry) SetProtocol(v string) *NetworkAclEntry {
+ s.Protocol = &v
+ return s
+}
+
+// SetRuleAction sets the RuleAction field's value.
+func (s *NetworkAclEntry) SetRuleAction(v string) *NetworkAclEntry {
+ s.RuleAction = &v
+ return s
+}
+
+// SetRuleNumber sets the RuleNumber field's value.
+func (s *NetworkAclEntry) SetRuleNumber(v int64) *NetworkAclEntry {
+ s.RuleNumber = &v
+ return s
+}
+
// Describes a network interface.
type NetworkInterface struct {
_ struct{} `type:"structure"`
@@ -30321,6 +38331,120 @@ func (s NetworkInterface) GoString() string {
return s.String()
}
+// SetAssociation sets the Association field's value.
+func (s *NetworkInterface) SetAssociation(v *NetworkInterfaceAssociation) *NetworkInterface {
+ s.Association = v
+ return s
+}
+
+// SetAttachment sets the Attachment field's value.
+func (s *NetworkInterface) SetAttachment(v *NetworkInterfaceAttachment) *NetworkInterface {
+ s.Attachment = v
+ return s
+}
+
+// SetAvailabilityZone sets the AvailabilityZone field's value.
+func (s *NetworkInterface) SetAvailabilityZone(v string) *NetworkInterface {
+ s.AvailabilityZone = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *NetworkInterface) SetDescription(v string) *NetworkInterface {
+ s.Description = &v
+ return s
+}
+
+// SetGroups sets the Groups field's value.
+func (s *NetworkInterface) SetGroups(v []*GroupIdentifier) *NetworkInterface {
+ s.Groups = v
+ return s
+}
+
+// SetInterfaceType sets the InterfaceType field's value.
+func (s *NetworkInterface) SetInterfaceType(v string) *NetworkInterface {
+ s.InterfaceType = &v
+ return s
+}
+
+// SetMacAddress sets the MacAddress field's value.
+func (s *NetworkInterface) SetMacAddress(v string) *NetworkInterface {
+ s.MacAddress = &v
+ return s
+}
+
+// SetNetworkInterfaceId sets the NetworkInterfaceId field's value.
+func (s *NetworkInterface) SetNetworkInterfaceId(v string) *NetworkInterface {
+ s.NetworkInterfaceId = &v
+ return s
+}
+
+// SetOwnerId sets the OwnerId field's value.
+func (s *NetworkInterface) SetOwnerId(v string) *NetworkInterface {
+ s.OwnerId = &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 []*NetworkInterfacePrivateIpAddress) *NetworkInterface {
+ s.PrivateIpAddresses = v
+ return s
+}
+
+// SetRequesterId sets the RequesterId field's value.
+func (s *NetworkInterface) SetRequesterId(v string) *NetworkInterface {
+ s.RequesterId = &v
+ return s
+}
+
+// SetRequesterManaged sets the RequesterManaged field's value.
+func (s *NetworkInterface) SetRequesterManaged(v bool) *NetworkInterface {
+ s.RequesterManaged = &v
+ return s
+}
+
+// SetSourceDestCheck sets the SourceDestCheck field's value.
+func (s *NetworkInterface) SetSourceDestCheck(v bool) *NetworkInterface {
+ s.SourceDestCheck = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *NetworkInterface) SetStatus(v string) *NetworkInterface {
+ s.Status = &v
+ return s
+}
+
+// SetSubnetId sets the SubnetId field's value.
+func (s *NetworkInterface) SetSubnetId(v string) *NetworkInterface {
+ s.SubnetId = &v
+ return s
+}
+
+// SetTagSet sets the TagSet field's value.
+func (s *NetworkInterface) SetTagSet(v []*Tag) *NetworkInterface {
+ s.TagSet = v
+ return s
+}
+
+// SetVpcId sets the VpcId field's value.
+func (s *NetworkInterface) SetVpcId(v string) *NetworkInterface {
+ s.VpcId = &v
+ return s
+}
+
// Describes association information for an Elastic IP address.
type NetworkInterfaceAssociation struct {
_ struct{} `type:"structure"`
@@ -30351,6 +38475,36 @@ func (s NetworkInterfaceAssociation) GoString() string {
return s.String()
}
+// SetAllocationId sets the AllocationId field's value.
+func (s *NetworkInterfaceAssociation) SetAllocationId(v string) *NetworkInterfaceAssociation {
+ s.AllocationId = &v
+ return s
+}
+
+// SetAssociationId sets the AssociationId field's value.
+func (s *NetworkInterfaceAssociation) SetAssociationId(v string) *NetworkInterfaceAssociation {
+ s.AssociationId = &v
+ return s
+}
+
+// SetIpOwnerId sets the IpOwnerId field's value.
+func (s *NetworkInterfaceAssociation) SetIpOwnerId(v string) *NetworkInterfaceAssociation {
+ s.IpOwnerId = &v
+ return s
+}
+
+// SetPublicDnsName sets the PublicDnsName field's value.
+func (s *NetworkInterfaceAssociation) SetPublicDnsName(v string) *NetworkInterfaceAssociation {
+ s.PublicDnsName = &v
+ return s
+}
+
+// SetPublicIp sets the PublicIp field's value.
+func (s *NetworkInterfaceAssociation) SetPublicIp(v string) *NetworkInterfaceAssociation {
+ s.PublicIp = &v
+ return s
+}
+
// Describes a network interface attachment.
type NetworkInterfaceAttachment struct {
_ struct{} `type:"structure"`
@@ -30387,6 +38541,48 @@ func (s NetworkInterfaceAttachment) GoString() string {
return s.String()
}
+// SetAttachTime sets the AttachTime field's value.
+func (s *NetworkInterfaceAttachment) SetAttachTime(v time.Time) *NetworkInterfaceAttachment {
+ s.AttachTime = &v
+ return s
+}
+
+// SetAttachmentId sets the AttachmentId field's value.
+func (s *NetworkInterfaceAttachment) SetAttachmentId(v string) *NetworkInterfaceAttachment {
+ s.AttachmentId = &v
+ return s
+}
+
+// SetDeleteOnTermination sets the DeleteOnTermination field's value.
+func (s *NetworkInterfaceAttachment) SetDeleteOnTermination(v bool) *NetworkInterfaceAttachment {
+ s.DeleteOnTermination = &v
+ return s
+}
+
+// SetDeviceIndex sets the DeviceIndex field's value.
+func (s *NetworkInterfaceAttachment) SetDeviceIndex(v int64) *NetworkInterfaceAttachment {
+ s.DeviceIndex = &v
+ return s
+}
+
+// SetInstanceId sets the InstanceId field's value.
+func (s *NetworkInterfaceAttachment) SetInstanceId(v string) *NetworkInterfaceAttachment {
+ s.InstanceId = &v
+ return s
+}
+
+// SetInstanceOwnerId sets the InstanceOwnerId field's value.
+func (s *NetworkInterfaceAttachment) SetInstanceOwnerId(v string) *NetworkInterfaceAttachment {
+ s.InstanceOwnerId = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *NetworkInterfaceAttachment) SetStatus(v string) *NetworkInterfaceAttachment {
+ s.Status = &v
+ return s
+}
+
// Describes an attachment change.
type NetworkInterfaceAttachmentChanges struct {
_ struct{} `type:"structure"`
@@ -30408,6 +38604,18 @@ func (s NetworkInterfaceAttachmentChanges) GoString() string {
return s.String()
}
+// SetAttachmentId sets the AttachmentId field's value.
+func (s *NetworkInterfaceAttachmentChanges) SetAttachmentId(v string) *NetworkInterfaceAttachmentChanges {
+ s.AttachmentId = &v
+ return s
+}
+
+// SetDeleteOnTermination sets the DeleteOnTermination field's value.
+func (s *NetworkInterfaceAttachmentChanges) SetDeleteOnTermination(v bool) *NetworkInterfaceAttachmentChanges {
+ s.DeleteOnTermination = &v
+ return s
+}
+
// Describes the private IP address of a network interface.
type NetworkInterfacePrivateIpAddress struct {
_ struct{} `type:"structure"`
@@ -30437,6 +38645,30 @@ func (s NetworkInterfacePrivateIpAddress) GoString() string {
return s.String()
}
+// SetAssociation sets the Association field's value.
+func (s *NetworkInterfacePrivateIpAddress) SetAssociation(v *NetworkInterfaceAssociation) *NetworkInterfacePrivateIpAddress {
+ s.Association = v
+ return s
+}
+
+// SetPrimary sets the Primary field's value.
+func (s *NetworkInterfacePrivateIpAddress) SetPrimary(v bool) *NetworkInterfacePrivateIpAddress {
+ s.Primary = &v
+ return s
+}
+
+// SetPrivateDnsName sets the PrivateDnsName field's value.
+func (s *NetworkInterfacePrivateIpAddress) SetPrivateDnsName(v string) *NetworkInterfacePrivateIpAddress {
+ s.PrivateDnsName = &v
+ return s
+}
+
+// SetPrivateIpAddress sets the PrivateIpAddress field's value.
+func (s *NetworkInterfacePrivateIpAddress) SetPrivateIpAddress(v string) *NetworkInterfacePrivateIpAddress {
+ s.PrivateIpAddress = &v
+ return s
+}
+
type NewDhcpConfiguration struct {
_ struct{} `type:"structure"`
@@ -30455,6 +38687,18 @@ func (s NewDhcpConfiguration) GoString() string {
return s.String()
}
+// SetKey sets the Key field's value.
+func (s *NewDhcpConfiguration) SetKey(v string) *NewDhcpConfiguration {
+ s.Key = &v
+ return s
+}
+
+// SetValues sets the Values field's value.
+func (s *NewDhcpConfiguration) SetValues(v []*string) *NewDhcpConfiguration {
+ s.Values = v
+ return s
+}
+
// Describes the VPC peering connection options.
type PeeringConnectionOptions struct {
_ struct{} `type:"structure"`
@@ -30482,6 +38726,24 @@ func (s PeeringConnectionOptions) GoString() string {
return s.String()
}
+// SetAllowDnsResolutionFromRemoteVpc sets the AllowDnsResolutionFromRemoteVpc field's value.
+func (s *PeeringConnectionOptions) SetAllowDnsResolutionFromRemoteVpc(v bool) *PeeringConnectionOptions {
+ s.AllowDnsResolutionFromRemoteVpc = &v
+ return s
+}
+
+// SetAllowEgressFromLocalClassicLinkToRemoteVpc sets the AllowEgressFromLocalClassicLinkToRemoteVpc field's value.
+func (s *PeeringConnectionOptions) SetAllowEgressFromLocalClassicLinkToRemoteVpc(v bool) *PeeringConnectionOptions {
+ s.AllowEgressFromLocalClassicLinkToRemoteVpc = &v
+ return s
+}
+
+// SetAllowEgressFromLocalVpcToRemoteClassicLink sets the AllowEgressFromLocalVpcToRemoteClassicLink field's value.
+func (s *PeeringConnectionOptions) SetAllowEgressFromLocalVpcToRemoteClassicLink(v bool) *PeeringConnectionOptions {
+ s.AllowEgressFromLocalVpcToRemoteClassicLink = &v
+ return s
+}
+
// The VPC peering connection options.
type PeeringConnectionOptionsRequest struct {
_ struct{} `type:"structure"`
@@ -30509,6 +38771,24 @@ func (s PeeringConnectionOptionsRequest) GoString() string {
return s.String()
}
+// SetAllowDnsResolutionFromRemoteVpc sets the AllowDnsResolutionFromRemoteVpc field's value.
+func (s *PeeringConnectionOptionsRequest) SetAllowDnsResolutionFromRemoteVpc(v bool) *PeeringConnectionOptionsRequest {
+ s.AllowDnsResolutionFromRemoteVpc = &v
+ return s
+}
+
+// SetAllowEgressFromLocalClassicLinkToRemoteVpc sets the AllowEgressFromLocalClassicLinkToRemoteVpc field's value.
+func (s *PeeringConnectionOptionsRequest) SetAllowEgressFromLocalClassicLinkToRemoteVpc(v bool) *PeeringConnectionOptionsRequest {
+ s.AllowEgressFromLocalClassicLinkToRemoteVpc = &v
+ return s
+}
+
+// SetAllowEgressFromLocalVpcToRemoteClassicLink sets the AllowEgressFromLocalVpcToRemoteClassicLink field's value.
+func (s *PeeringConnectionOptionsRequest) SetAllowEgressFromLocalVpcToRemoteClassicLink(v bool) *PeeringConnectionOptionsRequest {
+ s.AllowEgressFromLocalVpcToRemoteClassicLink = &v
+ return s
+}
+
// Describes the placement for the instance.
type Placement struct {
_ struct{} `type:"structure"`
@@ -30543,6 +38823,36 @@ func (s Placement) GoString() string {
return s.String()
}
+// SetAffinity sets the Affinity field's value.
+func (s *Placement) SetAffinity(v string) *Placement {
+ s.Affinity = &v
+ return s
+}
+
+// SetAvailabilityZone sets the AvailabilityZone field's value.
+func (s *Placement) SetAvailabilityZone(v string) *Placement {
+ s.AvailabilityZone = &v
+ return s
+}
+
+// SetGroupName sets the GroupName field's value.
+func (s *Placement) SetGroupName(v string) *Placement {
+ s.GroupName = &v
+ return s
+}
+
+// SetHostId sets the HostId field's value.
+func (s *Placement) SetHostId(v string) *Placement {
+ s.HostId = &v
+ return s
+}
+
+// SetTenancy sets the Tenancy field's value.
+func (s *Placement) SetTenancy(v string) *Placement {
+ s.Tenancy = &v
+ return s
+}
+
// Describes a placement group.
type PlacementGroup struct {
_ struct{} `type:"structure"`
@@ -30567,6 +38877,24 @@ func (s PlacementGroup) GoString() string {
return s.String()
}
+// SetGroupName sets the GroupName field's value.
+func (s *PlacementGroup) SetGroupName(v string) *PlacementGroup {
+ s.GroupName = &v
+ return s
+}
+
+// SetState sets the State field's value.
+func (s *PlacementGroup) SetState(v string) *PlacementGroup {
+ s.State = &v
+ return s
+}
+
+// SetStrategy sets the Strategy field's value.
+func (s *PlacementGroup) SetStrategy(v string) *PlacementGroup {
+ s.Strategy = &v
+ return s
+}
+
// Describes a range of ports.
type PortRange struct {
_ struct{} `type:"structure"`
@@ -30588,6 +38916,18 @@ func (s PortRange) GoString() string {
return s.String()
}
+// SetFrom sets the From field's value.
+func (s *PortRange) SetFrom(v int64) *PortRange {
+ s.From = &v
+ return s
+}
+
+// SetTo sets the To field's value.
+func (s *PortRange) SetTo(v int64) *PortRange {
+ s.To = &v
+ return s
+}
+
// Describes prefixes for AWS services.
type PrefixList struct {
_ struct{} `type:"structure"`
@@ -30612,6 +38952,24 @@ func (s PrefixList) GoString() string {
return s.String()
}
+// SetCidrs sets the Cidrs field's value.
+func (s *PrefixList) SetCidrs(v []*string) *PrefixList {
+ s.Cidrs = v
+ return s
+}
+
+// SetPrefixListId sets the PrefixListId field's value.
+func (s *PrefixList) SetPrefixListId(v string) *PrefixList {
+ s.PrefixListId = &v
+ return s
+}
+
+// SetPrefixListName sets the PrefixListName field's value.
+func (s *PrefixList) SetPrefixListName(v string) *PrefixList {
+ s.PrefixListName = &v
+ return s
+}
+
// The ID of the prefix.
type PrefixListId struct {
_ struct{} `type:"structure"`
@@ -30630,6 +38988,12 @@ func (s PrefixListId) GoString() string {
return s.String()
}
+// SetPrefixListId sets the PrefixListId field's value.
+func (s *PrefixListId) SetPrefixListId(v string) *PrefixListId {
+ s.PrefixListId = &v
+ return s
+}
+
// Describes the price for a Reserved Instance.
type PriceSchedule struct {
_ struct{} `type:"structure"`
@@ -30668,6 +39032,30 @@ func (s PriceSchedule) GoString() string {
return s.String()
}
+// SetActive sets the Active field's value.
+func (s *PriceSchedule) SetActive(v bool) *PriceSchedule {
+ s.Active = &v
+ return s
+}
+
+// SetCurrencyCode sets the CurrencyCode field's value.
+func (s *PriceSchedule) SetCurrencyCode(v string) *PriceSchedule {
+ s.CurrencyCode = &v
+ return s
+}
+
+// SetPrice sets the Price field's value.
+func (s *PriceSchedule) SetPrice(v float64) *PriceSchedule {
+ s.Price = &v
+ return s
+}
+
+// SetTerm sets the Term field's value.
+func (s *PriceSchedule) SetTerm(v int64) *PriceSchedule {
+ s.Term = &v
+ return s
+}
+
// Describes the price for a Reserved Instance.
type PriceScheduleSpecification struct {
_ struct{} `type:"structure"`
@@ -30694,6 +39082,24 @@ func (s PriceScheduleSpecification) GoString() string {
return s.String()
}
+// SetCurrencyCode sets the CurrencyCode field's value.
+func (s *PriceScheduleSpecification) SetCurrencyCode(v string) *PriceScheduleSpecification {
+ s.CurrencyCode = &v
+ return s
+}
+
+// SetPrice sets the Price field's value.
+func (s *PriceScheduleSpecification) SetPrice(v float64) *PriceScheduleSpecification {
+ s.Price = &v
+ return s
+}
+
+// SetTerm sets the Term field's value.
+func (s *PriceScheduleSpecification) SetTerm(v int64) *PriceScheduleSpecification {
+ s.Term = &v
+ return s
+}
+
// Describes a Reserved Instance offering.
type PricingDetail struct {
_ struct{} `type:"structure"`
@@ -30715,6 +39121,18 @@ func (s PricingDetail) GoString() string {
return s.String()
}
+// SetCount sets the Count field's value.
+func (s *PricingDetail) SetCount(v int64) *PricingDetail {
+ s.Count = &v
+ return s
+}
+
+// SetPrice sets the Price field's value.
+func (s *PricingDetail) SetPrice(v float64) *PricingDetail {
+ s.Price = &v
+ return s
+}
+
// Describes a secondary private IP address for a network interface.
type PrivateIpAddressSpecification struct {
_ struct{} `type:"structure"`
@@ -30752,6 +39170,18 @@ func (s *PrivateIpAddressSpecification) Validate() error {
return nil
}
+// SetPrimary sets the Primary field's value.
+func (s *PrivateIpAddressSpecification) SetPrimary(v bool) *PrivateIpAddressSpecification {
+ s.Primary = &v
+ return s
+}
+
+// SetPrivateIpAddress sets the PrivateIpAddress field's value.
+func (s *PrivateIpAddressSpecification) SetPrivateIpAddress(v string) *PrivateIpAddressSpecification {
+ s.PrivateIpAddress = &v
+ return s
+}
+
// Describes a product code.
type ProductCode struct {
_ struct{} `type:"structure"`
@@ -30773,6 +39203,18 @@ func (s ProductCode) GoString() string {
return s.String()
}
+// SetProductCodeId sets the ProductCodeId field's value.
+func (s *ProductCode) SetProductCodeId(v string) *ProductCode {
+ s.ProductCodeId = &v
+ return s
+}
+
+// SetProductCodeType sets the ProductCodeType field's value.
+func (s *ProductCode) SetProductCodeType(v string) *ProductCode {
+ s.ProductCodeType = &v
+ return s
+}
+
// Describes a virtual private gateway propagating route.
type PropagatingVgw struct {
_ struct{} `type:"structure"`
@@ -30791,6 +39233,12 @@ func (s PropagatingVgw) GoString() string {
return s.String()
}
+// SetGatewayId sets the GatewayId field's value.
+func (s *PropagatingVgw) SetGatewayId(v string) *PropagatingVgw {
+ s.GatewayId = &v
+ return s
+}
+
// 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?).
@@ -30833,6 +39281,36 @@ func (s ProvisionedBandwidth) GoString() string {
return s.String()
}
+// SetProvisionTime sets the ProvisionTime field's value.
+func (s *ProvisionedBandwidth) SetProvisionTime(v time.Time) *ProvisionedBandwidth {
+ s.ProvisionTime = &v
+ return s
+}
+
+// SetProvisioned sets the Provisioned field's value.
+func (s *ProvisionedBandwidth) SetProvisioned(v string) *ProvisionedBandwidth {
+ s.Provisioned = &v
+ return s
+}
+
+// SetRequestTime sets the RequestTime field's value.
+func (s *ProvisionedBandwidth) SetRequestTime(v time.Time) *ProvisionedBandwidth {
+ s.RequestTime = &v
+ return s
+}
+
+// SetRequested sets the Requested field's value.
+func (s *ProvisionedBandwidth) SetRequested(v string) *ProvisionedBandwidth {
+ s.Requested = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *ProvisionedBandwidth) SetStatus(v string) *ProvisionedBandwidth {
+ s.Status = &v
+ return s
+}
+
// Describes the result of the purchase.
type Purchase struct {
_ struct{} `type:"structure"`
@@ -30874,6 +39352,54 @@ func (s Purchase) GoString() string {
return s.String()
}
+// SetCurrencyCode sets the CurrencyCode field's value.
+func (s *Purchase) SetCurrencyCode(v string) *Purchase {
+ s.CurrencyCode = &v
+ return s
+}
+
+// SetDuration sets the Duration field's value.
+func (s *Purchase) SetDuration(v int64) *Purchase {
+ s.Duration = &v
+ return s
+}
+
+// SetHostIdSet sets the HostIdSet field's value.
+func (s *Purchase) SetHostIdSet(v []*string) *Purchase {
+ s.HostIdSet = v
+ return s
+}
+
+// SetHostReservationId sets the HostReservationId field's value.
+func (s *Purchase) SetHostReservationId(v string) *Purchase {
+ s.HostReservationId = &v
+ return s
+}
+
+// SetHourlyPrice sets the HourlyPrice field's value.
+func (s *Purchase) SetHourlyPrice(v string) *Purchase {
+ s.HourlyPrice = &v
+ return s
+}
+
+// SetInstanceFamily sets the InstanceFamily field's value.
+func (s *Purchase) SetInstanceFamily(v string) *Purchase {
+ s.InstanceFamily = &v
+ return s
+}
+
+// SetPaymentOption sets the PaymentOption field's value.
+func (s *Purchase) SetPaymentOption(v string) *Purchase {
+ s.PaymentOption = &v
+ return s
+}
+
+// SetUpfrontPrice sets the UpfrontPrice field's value.
+func (s *Purchase) SetUpfrontPrice(v string) *Purchase {
+ s.UpfrontPrice = &v
+ return s
+}
+
type PurchaseHostReservationInput struct {
_ struct{} `type:"structure"`
@@ -30933,6 +39459,36 @@ func (s *PurchaseHostReservationInput) Validate() error {
return nil
}
+// SetClientToken sets the ClientToken field's value.
+func (s *PurchaseHostReservationInput) SetClientToken(v string) *PurchaseHostReservationInput {
+ s.ClientToken = &v
+ return s
+}
+
+// SetCurrencyCode sets the CurrencyCode field's value.
+func (s *PurchaseHostReservationInput) SetCurrencyCode(v string) *PurchaseHostReservationInput {
+ s.CurrencyCode = &v
+ return s
+}
+
+// SetHostIdSet sets the HostIdSet field's value.
+func (s *PurchaseHostReservationInput) SetHostIdSet(v []*string) *PurchaseHostReservationInput {
+ s.HostIdSet = v
+ return s
+}
+
+// SetLimitPrice sets the LimitPrice field's value.
+func (s *PurchaseHostReservationInput) SetLimitPrice(v string) *PurchaseHostReservationInput {
+ s.LimitPrice = &v
+ return s
+}
+
+// SetOfferingId sets the OfferingId field's value.
+func (s *PurchaseHostReservationInput) SetOfferingId(v string) *PurchaseHostReservationInput {
+ s.OfferingId = &v
+ return s
+}
+
type PurchaseHostReservationOutput struct {
_ struct{} `type:"structure"`
@@ -30966,6 +39522,36 @@ func (s PurchaseHostReservationOutput) GoString() string {
return s.String()
}
+// SetClientToken sets the ClientToken field's value.
+func (s *PurchaseHostReservationOutput) SetClientToken(v string) *PurchaseHostReservationOutput {
+ s.ClientToken = &v
+ return s
+}
+
+// SetCurrencyCode sets the CurrencyCode field's value.
+func (s *PurchaseHostReservationOutput) SetCurrencyCode(v string) *PurchaseHostReservationOutput {
+ s.CurrencyCode = &v
+ return s
+}
+
+// SetPurchase sets the Purchase field's value.
+func (s *PurchaseHostReservationOutput) SetPurchase(v []*Purchase) *PurchaseHostReservationOutput {
+ s.Purchase = v
+ return s
+}
+
+// SetTotalHourlyPrice sets the TotalHourlyPrice field's value.
+func (s *PurchaseHostReservationOutput) SetTotalHourlyPrice(v string) *PurchaseHostReservationOutput {
+ s.TotalHourlyPrice = &v
+ return s
+}
+
+// SetTotalUpfrontPrice sets the TotalUpfrontPrice field's value.
+func (s *PurchaseHostReservationOutput) SetTotalUpfrontPrice(v string) *PurchaseHostReservationOutput {
+ s.TotalUpfrontPrice = &v
+ return s
+}
+
// Describes a request to purchase Scheduled Instances.
type PurchaseRequest struct {
_ struct{} `type:"structure"`
@@ -31007,6 +39593,18 @@ func (s *PurchaseRequest) Validate() error {
return nil
}
+// SetInstanceCount sets the InstanceCount field's value.
+func (s *PurchaseRequest) SetInstanceCount(v int64) *PurchaseRequest {
+ s.InstanceCount = &v
+ return s
+}
+
+// SetPurchaseToken sets the PurchaseToken field's value.
+func (s *PurchaseRequest) SetPurchaseToken(v string) *PurchaseRequest {
+ s.PurchaseToken = &v
+ return s
+}
+
// Contains the parameters for PurchaseReservedInstancesOffering.
type PurchaseReservedInstancesOfferingInput struct {
_ struct{} `type:"structure"`
@@ -31059,6 +39657,30 @@ func (s *PurchaseReservedInstancesOfferingInput) Validate() error {
return nil
}
+// SetDryRun sets the DryRun field's value.
+func (s *PurchaseReservedInstancesOfferingInput) SetDryRun(v bool) *PurchaseReservedInstancesOfferingInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetInstanceCount sets the InstanceCount field's value.
+func (s *PurchaseReservedInstancesOfferingInput) SetInstanceCount(v int64) *PurchaseReservedInstancesOfferingInput {
+ s.InstanceCount = &v
+ return s
+}
+
+// SetLimitPrice sets the LimitPrice field's value.
+func (s *PurchaseReservedInstancesOfferingInput) SetLimitPrice(v *ReservedInstanceLimitPrice) *PurchaseReservedInstancesOfferingInput {
+ s.LimitPrice = v
+ return s
+}
+
+// SetReservedInstancesOfferingId sets the ReservedInstancesOfferingId field's value.
+func (s *PurchaseReservedInstancesOfferingInput) SetReservedInstancesOfferingId(v string) *PurchaseReservedInstancesOfferingInput {
+ s.ReservedInstancesOfferingId = &v
+ return s
+}
+
// Contains the output of PurchaseReservedInstancesOffering.
type PurchaseReservedInstancesOfferingOutput struct {
_ struct{} `type:"structure"`
@@ -31077,6 +39699,12 @@ func (s PurchaseReservedInstancesOfferingOutput) GoString() string {
return s.String()
}
+// SetReservedInstancesId sets the ReservedInstancesId field's value.
+func (s *PurchaseReservedInstancesOfferingOutput) SetReservedInstancesId(v string) *PurchaseReservedInstancesOfferingOutput {
+ s.ReservedInstancesId = &v
+ return s
+}
+
// Contains the parameters for PurchaseScheduledInstances.
type PurchaseScheduledInstancesInput struct {
_ struct{} `type:"structure"`
@@ -31133,6 +39761,24 @@ func (s *PurchaseScheduledInstancesInput) Validate() error {
return nil
}
+// SetClientToken sets the ClientToken field's value.
+func (s *PurchaseScheduledInstancesInput) SetClientToken(v string) *PurchaseScheduledInstancesInput {
+ s.ClientToken = &v
+ return s
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *PurchaseScheduledInstancesInput) SetDryRun(v bool) *PurchaseScheduledInstancesInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetPurchaseRequests sets the PurchaseRequests field's value.
+func (s *PurchaseScheduledInstancesInput) SetPurchaseRequests(v []*PurchaseRequest) *PurchaseScheduledInstancesInput {
+ s.PurchaseRequests = v
+ return s
+}
+
// Contains the output of PurchaseScheduledInstances.
type PurchaseScheduledInstancesOutput struct {
_ struct{} `type:"structure"`
@@ -31151,6 +39797,12 @@ func (s PurchaseScheduledInstancesOutput) GoString() string {
return s.String()
}
+// SetScheduledInstanceSet sets the ScheduledInstanceSet field's value.
+func (s *PurchaseScheduledInstancesOutput) SetScheduledInstanceSet(v []*ScheduledInstance) *PurchaseScheduledInstancesOutput {
+ s.ScheduledInstanceSet = v
+ return s
+}
+
// Contains the parameters for RebootInstances.
type RebootInstancesInput struct {
_ struct{} `type:"structure"`
@@ -31190,6 +39842,18 @@ func (s *RebootInstancesInput) Validate() error {
return nil
}
+// SetDryRun sets the DryRun field's value.
+func (s *RebootInstancesInput) SetDryRun(v bool) *RebootInstancesInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetInstanceIds sets the InstanceIds field's value.
+func (s *RebootInstancesInput) SetInstanceIds(v []*string) *RebootInstancesInput {
+ s.InstanceIds = v
+ return s
+}
+
type RebootInstancesOutput struct {
_ struct{} `type:"structure"`
}
@@ -31225,6 +39889,18 @@ func (s RecurringCharge) GoString() string {
return s.String()
}
+// SetAmount sets the Amount field's value.
+func (s *RecurringCharge) SetAmount(v float64) *RecurringCharge {
+ s.Amount = &v
+ return s
+}
+
+// SetFrequency sets the Frequency field's value.
+func (s *RecurringCharge) SetFrequency(v string) *RecurringCharge {
+ s.Frequency = &v
+ return s
+}
+
// Describes a region.
type Region struct {
_ struct{} `type:"structure"`
@@ -31246,6 +39922,18 @@ func (s Region) GoString() string {
return s.String()
}
+// SetEndpoint sets the Endpoint field's value.
+func (s *Region) SetEndpoint(v string) *Region {
+ s.Endpoint = &v
+ return s
+}
+
+// SetRegionName sets the RegionName field's value.
+func (s *Region) SetRegionName(v string) *Region {
+ s.RegionName = &v
+ return s
+}
+
// Contains the parameters for RegisterImage.
type RegisterImageInput struct {
_ struct{} `type:"structure"`
@@ -31335,6 +40023,78 @@ func (s *RegisterImageInput) Validate() error {
return nil
}
+// SetArchitecture sets the Architecture field's value.
+func (s *RegisterImageInput) SetArchitecture(v string) *RegisterImageInput {
+ s.Architecture = &v
+ return s
+}
+
+// SetBlockDeviceMappings sets the BlockDeviceMappings field's value.
+func (s *RegisterImageInput) SetBlockDeviceMappings(v []*BlockDeviceMapping) *RegisterImageInput {
+ s.BlockDeviceMappings = v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *RegisterImageInput) SetDescription(v string) *RegisterImageInput {
+ s.Description = &v
+ return s
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *RegisterImageInput) SetDryRun(v bool) *RegisterImageInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetEnaSupport sets the EnaSupport field's value.
+func (s *RegisterImageInput) SetEnaSupport(v bool) *RegisterImageInput {
+ s.EnaSupport = &v
+ return s
+}
+
+// SetImageLocation sets the ImageLocation field's value.
+func (s *RegisterImageInput) SetImageLocation(v string) *RegisterImageInput {
+ s.ImageLocation = &v
+ return s
+}
+
+// SetKernelId sets the KernelId field's value.
+func (s *RegisterImageInput) SetKernelId(v string) *RegisterImageInput {
+ s.KernelId = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *RegisterImageInput) SetName(v string) *RegisterImageInput {
+ s.Name = &v
+ return s
+}
+
+// SetRamdiskId sets the RamdiskId field's value.
+func (s *RegisterImageInput) SetRamdiskId(v string) *RegisterImageInput {
+ s.RamdiskId = &v
+ return s
+}
+
+// SetRootDeviceName sets the RootDeviceName field's value.
+func (s *RegisterImageInput) SetRootDeviceName(v string) *RegisterImageInput {
+ s.RootDeviceName = &v
+ return s
+}
+
+// SetSriovNetSupport sets the SriovNetSupport field's value.
+func (s *RegisterImageInput) SetSriovNetSupport(v string) *RegisterImageInput {
+ s.SriovNetSupport = &v
+ return s
+}
+
+// SetVirtualizationType sets the VirtualizationType field's value.
+func (s *RegisterImageInput) SetVirtualizationType(v string) *RegisterImageInput {
+ s.VirtualizationType = &v
+ return s
+}
+
// Contains the output of RegisterImage.
type RegisterImageOutput struct {
_ struct{} `type:"structure"`
@@ -31353,6 +40113,12 @@ func (s RegisterImageOutput) GoString() string {
return s.String()
}
+// SetImageId sets the ImageId field's value.
+func (s *RegisterImageOutput) SetImageId(v string) *RegisterImageOutput {
+ s.ImageId = &v
+ return s
+}
+
// Contains the parameters for RejectVpcPeeringConnection.
type RejectVpcPeeringConnectionInput struct {
_ struct{} `type:"structure"`
@@ -31392,6 +40158,18 @@ func (s *RejectVpcPeeringConnectionInput) Validate() error {
return nil
}
+// SetDryRun sets the DryRun field's value.
+func (s *RejectVpcPeeringConnectionInput) SetDryRun(v bool) *RejectVpcPeeringConnectionInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetVpcPeeringConnectionId sets the VpcPeeringConnectionId field's value.
+func (s *RejectVpcPeeringConnectionInput) SetVpcPeeringConnectionId(v string) *RejectVpcPeeringConnectionInput {
+ s.VpcPeeringConnectionId = &v
+ return s
+}
+
// Contains the output of RejectVpcPeeringConnection.
type RejectVpcPeeringConnectionOutput struct {
_ struct{} `type:"structure"`
@@ -31410,6 +40188,12 @@ func (s RejectVpcPeeringConnectionOutput) GoString() string {
return s.String()
}
+// SetReturn sets the Return field's value.
+func (s *RejectVpcPeeringConnectionOutput) SetReturn(v bool) *RejectVpcPeeringConnectionOutput {
+ s.Return = &v
+ return s
+}
+
// Contains the parameters for ReleaseAddress.
type ReleaseAddressInput struct {
_ struct{} `type:"structure"`
@@ -31437,6 +40221,24 @@ func (s ReleaseAddressInput) GoString() string {
return s.String()
}
+// SetAllocationId sets the AllocationId field's value.
+func (s *ReleaseAddressInput) SetAllocationId(v string) *ReleaseAddressInput {
+ s.AllocationId = &v
+ return s
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *ReleaseAddressInput) SetDryRun(v bool) *ReleaseAddressInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetPublicIp sets the PublicIp field's value.
+func (s *ReleaseAddressInput) SetPublicIp(v string) *ReleaseAddressInput {
+ s.PublicIp = &v
+ return s
+}
+
type ReleaseAddressOutput struct {
_ struct{} `type:"structure"`
}
@@ -31484,6 +40286,12 @@ func (s *ReleaseHostsInput) Validate() error {
return nil
}
+// SetHostIds sets the HostIds field's value.
+func (s *ReleaseHostsInput) SetHostIds(v []*string) *ReleaseHostsInput {
+ s.HostIds = v
+ return s
+}
+
// Contains the output of ReleaseHosts.
type ReleaseHostsOutput struct {
_ struct{} `type:"structure"`
@@ -31506,6 +40314,18 @@ func (s ReleaseHostsOutput) GoString() string {
return s.String()
}
+// SetSuccessful sets the Successful field's value.
+func (s *ReleaseHostsOutput) SetSuccessful(v []*string) *ReleaseHostsOutput {
+ s.Successful = v
+ return s
+}
+
+// SetUnsuccessful sets the Unsuccessful field's value.
+func (s *ReleaseHostsOutput) SetUnsuccessful(v []*UnsuccessfulItem) *ReleaseHostsOutput {
+ s.Unsuccessful = v
+ return s
+}
+
// Contains the parameters for ReplaceNetworkAclAssociation.
type ReplaceNetworkAclAssociationInput struct {
_ struct{} `type:"structure"`
@@ -31554,6 +40374,24 @@ func (s *ReplaceNetworkAclAssociationInput) Validate() error {
return nil
}
+// SetAssociationId sets the AssociationId field's value.
+func (s *ReplaceNetworkAclAssociationInput) SetAssociationId(v string) *ReplaceNetworkAclAssociationInput {
+ s.AssociationId = &v
+ return s
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *ReplaceNetworkAclAssociationInput) SetDryRun(v bool) *ReplaceNetworkAclAssociationInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetNetworkAclId sets the NetworkAclId field's value.
+func (s *ReplaceNetworkAclAssociationInput) SetNetworkAclId(v string) *ReplaceNetworkAclAssociationInput {
+ s.NetworkAclId = &v
+ return s
+}
+
// Contains the output of ReplaceNetworkAclAssociation.
type ReplaceNetworkAclAssociationOutput struct {
_ struct{} `type:"structure"`
@@ -31572,6 +40410,12 @@ func (s ReplaceNetworkAclAssociationOutput) GoString() string {
return s.String()
}
+// SetNewAssociationId sets the NewAssociationId field's value.
+func (s *ReplaceNetworkAclAssociationOutput) SetNewAssociationId(v string) *ReplaceNetworkAclAssociationOutput {
+ s.NewAssociationId = &v
+ return s
+}
+
// Contains the parameters for ReplaceNetworkAclEntry.
type ReplaceNetworkAclEntryInput struct {
_ struct{} `type:"structure"`
@@ -31661,6 +40505,60 @@ func (s *ReplaceNetworkAclEntryInput) Validate() error {
return nil
}
+// SetCidrBlock sets the CidrBlock field's value.
+func (s *ReplaceNetworkAclEntryInput) SetCidrBlock(v string) *ReplaceNetworkAclEntryInput {
+ s.CidrBlock = &v
+ return s
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *ReplaceNetworkAclEntryInput) SetDryRun(v bool) *ReplaceNetworkAclEntryInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetEgress sets the Egress field's value.
+func (s *ReplaceNetworkAclEntryInput) SetEgress(v bool) *ReplaceNetworkAclEntryInput {
+ s.Egress = &v
+ return s
+}
+
+// SetIcmpTypeCode sets the IcmpTypeCode field's value.
+func (s *ReplaceNetworkAclEntryInput) SetIcmpTypeCode(v *IcmpTypeCode) *ReplaceNetworkAclEntryInput {
+ s.IcmpTypeCode = v
+ return s
+}
+
+// SetNetworkAclId sets the NetworkAclId field's value.
+func (s *ReplaceNetworkAclEntryInput) SetNetworkAclId(v string) *ReplaceNetworkAclEntryInput {
+ s.NetworkAclId = &v
+ return s
+}
+
+// SetPortRange sets the PortRange field's value.
+func (s *ReplaceNetworkAclEntryInput) SetPortRange(v *PortRange) *ReplaceNetworkAclEntryInput {
+ s.PortRange = v
+ return s
+}
+
+// SetProtocol sets the Protocol field's value.
+func (s *ReplaceNetworkAclEntryInput) SetProtocol(v string) *ReplaceNetworkAclEntryInput {
+ s.Protocol = &v
+ return s
+}
+
+// SetRuleAction sets the RuleAction field's value.
+func (s *ReplaceNetworkAclEntryInput) SetRuleAction(v string) *ReplaceNetworkAclEntryInput {
+ s.RuleAction = &v
+ return s
+}
+
+// SetRuleNumber sets the RuleNumber field's value.
+func (s *ReplaceNetworkAclEntryInput) SetRuleNumber(v int64) *ReplaceNetworkAclEntryInput {
+ s.RuleNumber = &v
+ return s
+}
+
type ReplaceNetworkAclEntryOutput struct {
_ struct{} `type:"structure"`
}
@@ -31738,6 +40636,54 @@ func (s *ReplaceRouteInput) Validate() error {
return nil
}
+// SetDestinationCidrBlock sets the DestinationCidrBlock field's value.
+func (s *ReplaceRouteInput) SetDestinationCidrBlock(v string) *ReplaceRouteInput {
+ s.DestinationCidrBlock = &v
+ return s
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *ReplaceRouteInput) SetDryRun(v bool) *ReplaceRouteInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetGatewayId sets the GatewayId field's value.
+func (s *ReplaceRouteInput) SetGatewayId(v string) *ReplaceRouteInput {
+ s.GatewayId = &v
+ return s
+}
+
+// SetInstanceId sets the InstanceId field's value.
+func (s *ReplaceRouteInput) SetInstanceId(v string) *ReplaceRouteInput {
+ s.InstanceId = &v
+ return s
+}
+
+// SetNatGatewayId sets the NatGatewayId field's value.
+func (s *ReplaceRouteInput) SetNatGatewayId(v string) *ReplaceRouteInput {
+ s.NatGatewayId = &v
+ return s
+}
+
+// SetNetworkInterfaceId sets the NetworkInterfaceId field's value.
+func (s *ReplaceRouteInput) SetNetworkInterfaceId(v string) *ReplaceRouteInput {
+ s.NetworkInterfaceId = &v
+ return s
+}
+
+// SetRouteTableId sets the RouteTableId field's value.
+func (s *ReplaceRouteInput) SetRouteTableId(v string) *ReplaceRouteInput {
+ s.RouteTableId = &v
+ return s
+}
+
+// SetVpcPeeringConnectionId sets the VpcPeeringConnectionId field's value.
+func (s *ReplaceRouteInput) SetVpcPeeringConnectionId(v string) *ReplaceRouteInput {
+ s.VpcPeeringConnectionId = &v
+ return s
+}
+
type ReplaceRouteOutput struct {
_ struct{} `type:"structure"`
}
@@ -31799,6 +40745,24 @@ func (s *ReplaceRouteTableAssociationInput) Validate() error {
return nil
}
+// SetAssociationId sets the AssociationId field's value.
+func (s *ReplaceRouteTableAssociationInput) SetAssociationId(v string) *ReplaceRouteTableAssociationInput {
+ s.AssociationId = &v
+ return s
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *ReplaceRouteTableAssociationInput) SetDryRun(v bool) *ReplaceRouteTableAssociationInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetRouteTableId sets the RouteTableId field's value.
+func (s *ReplaceRouteTableAssociationInput) SetRouteTableId(v string) *ReplaceRouteTableAssociationInput {
+ s.RouteTableId = &v
+ return s
+}
+
// Contains the output of ReplaceRouteTableAssociation.
type ReplaceRouteTableAssociationOutput struct {
_ struct{} `type:"structure"`
@@ -31817,6 +40781,12 @@ func (s ReplaceRouteTableAssociationOutput) GoString() string {
return s.String()
}
+// SetNewAssociationId sets the NewAssociationId field's value.
+func (s *ReplaceRouteTableAssociationOutput) SetNewAssociationId(v string) *ReplaceRouteTableAssociationOutput {
+ s.NewAssociationId = &v
+ return s
+}
+
// Contains the parameters for ReportInstanceStatus.
type ReportInstanceStatusInput struct {
_ struct{} `type:"structure"`
@@ -31902,6 +40872,48 @@ func (s *ReportInstanceStatusInput) Validate() error {
return nil
}
+// SetDescription sets the Description field's value.
+func (s *ReportInstanceStatusInput) SetDescription(v string) *ReportInstanceStatusInput {
+ s.Description = &v
+ return s
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *ReportInstanceStatusInput) SetDryRun(v bool) *ReportInstanceStatusInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetEndTime sets the EndTime field's value.
+func (s *ReportInstanceStatusInput) SetEndTime(v time.Time) *ReportInstanceStatusInput {
+ s.EndTime = &v
+ return s
+}
+
+// SetInstances sets the Instances field's value.
+func (s *ReportInstanceStatusInput) SetInstances(v []*string) *ReportInstanceStatusInput {
+ s.Instances = v
+ return s
+}
+
+// SetReasonCodes sets the ReasonCodes field's value.
+func (s *ReportInstanceStatusInput) SetReasonCodes(v []*string) *ReportInstanceStatusInput {
+ s.ReasonCodes = v
+ return s
+}
+
+// SetStartTime sets the StartTime field's value.
+func (s *ReportInstanceStatusInput) SetStartTime(v time.Time) *ReportInstanceStatusInput {
+ s.StartTime = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *ReportInstanceStatusInput) SetStatus(v string) *ReportInstanceStatusInput {
+ s.Status = &v
+ return s
+}
+
type ReportInstanceStatusOutput struct {
_ struct{} `type:"structure"`
}
@@ -31960,6 +40972,18 @@ func (s *RequestSpotFleetInput) Validate() error {
return nil
}
+// SetDryRun sets the DryRun field's value.
+func (s *RequestSpotFleetInput) SetDryRun(v bool) *RequestSpotFleetInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetSpotFleetRequestConfig sets the SpotFleetRequestConfig field's value.
+func (s *RequestSpotFleetInput) SetSpotFleetRequestConfig(v *SpotFleetRequestConfigData) *RequestSpotFleetInput {
+ s.SpotFleetRequestConfig = v
+ return s
+}
+
// Contains the output of RequestSpotFleet.
type RequestSpotFleetOutput struct {
_ struct{} `type:"structure"`
@@ -31980,6 +41004,12 @@ func (s RequestSpotFleetOutput) GoString() string {
return s.String()
}
+// SetSpotFleetRequestId sets the SpotFleetRequestId field's value.
+func (s *RequestSpotFleetOutput) SetSpotFleetRequestId(v string) *RequestSpotFleetOutput {
+ s.SpotFleetRequestId = &v
+ return s
+}
+
// Contains the parameters for RequestSpotInstances.
type RequestSpotInstancesInput struct {
_ struct{} `type:"structure"`
@@ -32100,6 +41130,72 @@ func (s *RequestSpotInstancesInput) Validate() error {
return nil
}
+// SetAvailabilityZoneGroup sets the AvailabilityZoneGroup field's value.
+func (s *RequestSpotInstancesInput) SetAvailabilityZoneGroup(v string) *RequestSpotInstancesInput {
+ s.AvailabilityZoneGroup = &v
+ return s
+}
+
+// SetBlockDurationMinutes sets the BlockDurationMinutes field's value.
+func (s *RequestSpotInstancesInput) SetBlockDurationMinutes(v int64) *RequestSpotInstancesInput {
+ s.BlockDurationMinutes = &v
+ return s
+}
+
+// SetClientToken sets the ClientToken field's value.
+func (s *RequestSpotInstancesInput) SetClientToken(v string) *RequestSpotInstancesInput {
+ s.ClientToken = &v
+ return s
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *RequestSpotInstancesInput) SetDryRun(v bool) *RequestSpotInstancesInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetInstanceCount sets the InstanceCount field's value.
+func (s *RequestSpotInstancesInput) SetInstanceCount(v int64) *RequestSpotInstancesInput {
+ s.InstanceCount = &v
+ return s
+}
+
+// SetLaunchGroup sets the LaunchGroup field's value.
+func (s *RequestSpotInstancesInput) SetLaunchGroup(v string) *RequestSpotInstancesInput {
+ s.LaunchGroup = &v
+ return s
+}
+
+// SetLaunchSpecification sets the LaunchSpecification field's value.
+func (s *RequestSpotInstancesInput) SetLaunchSpecification(v *RequestSpotLaunchSpecification) *RequestSpotInstancesInput {
+ s.LaunchSpecification = v
+ return s
+}
+
+// SetSpotPrice sets the SpotPrice field's value.
+func (s *RequestSpotInstancesInput) SetSpotPrice(v string) *RequestSpotInstancesInput {
+ s.SpotPrice = &v
+ return s
+}
+
+// SetType sets the Type field's value.
+func (s *RequestSpotInstancesInput) SetType(v string) *RequestSpotInstancesInput {
+ s.Type = &v
+ return s
+}
+
+// SetValidFrom sets the ValidFrom field's value.
+func (s *RequestSpotInstancesInput) SetValidFrom(v time.Time) *RequestSpotInstancesInput {
+ s.ValidFrom = &v
+ return s
+}
+
+// SetValidUntil sets the ValidUntil field's value.
+func (s *RequestSpotInstancesInput) SetValidUntil(v time.Time) *RequestSpotInstancesInput {
+ s.ValidUntil = &v
+ return s
+}
+
// Contains the output of RequestSpotInstances.
type RequestSpotInstancesOutput struct {
_ struct{} `type:"structure"`
@@ -32118,6 +41214,12 @@ func (s RequestSpotInstancesOutput) GoString() string {
return s.String()
}
+// SetSpotInstanceRequests sets the SpotInstanceRequests field's value.
+func (s *RequestSpotInstancesOutput) SetSpotInstanceRequests(v []*SpotInstanceRequest) *RequestSpotInstancesOutput {
+ s.SpotInstanceRequests = v
+ return s
+}
+
// Describes the launch specification for an instance.
type RequestSpotLaunchSpecification struct {
_ struct{} `type:"structure"`
@@ -32215,6 +41317,102 @@ func (s *RequestSpotLaunchSpecification) Validate() error {
return nil
}
+// SetAddressingType sets the AddressingType field's value.
+func (s *RequestSpotLaunchSpecification) SetAddressingType(v string) *RequestSpotLaunchSpecification {
+ s.AddressingType = &v
+ return s
+}
+
+// SetBlockDeviceMappings sets the BlockDeviceMappings field's value.
+func (s *RequestSpotLaunchSpecification) SetBlockDeviceMappings(v []*BlockDeviceMapping) *RequestSpotLaunchSpecification {
+ s.BlockDeviceMappings = v
+ return s
+}
+
+// SetEbsOptimized sets the EbsOptimized field's value.
+func (s *RequestSpotLaunchSpecification) SetEbsOptimized(v bool) *RequestSpotLaunchSpecification {
+ s.EbsOptimized = &v
+ return s
+}
+
+// SetIamInstanceProfile sets the IamInstanceProfile field's value.
+func (s *RequestSpotLaunchSpecification) SetIamInstanceProfile(v *IamInstanceProfileSpecification) *RequestSpotLaunchSpecification {
+ s.IamInstanceProfile = v
+ return s
+}
+
+// SetImageId sets the ImageId field's value.
+func (s *RequestSpotLaunchSpecification) SetImageId(v string) *RequestSpotLaunchSpecification {
+ s.ImageId = &v
+ return s
+}
+
+// SetInstanceType sets the InstanceType field's value.
+func (s *RequestSpotLaunchSpecification) SetInstanceType(v string) *RequestSpotLaunchSpecification {
+ s.InstanceType = &v
+ return s
+}
+
+// SetKernelId sets the KernelId field's value.
+func (s *RequestSpotLaunchSpecification) SetKernelId(v string) *RequestSpotLaunchSpecification {
+ s.KernelId = &v
+ return s
+}
+
+// SetKeyName sets the KeyName field's value.
+func (s *RequestSpotLaunchSpecification) SetKeyName(v string) *RequestSpotLaunchSpecification {
+ s.KeyName = &v
+ return s
+}
+
+// SetMonitoring sets the Monitoring field's value.
+func (s *RequestSpotLaunchSpecification) SetMonitoring(v *RunInstancesMonitoringEnabled) *RequestSpotLaunchSpecification {
+ s.Monitoring = v
+ return s
+}
+
+// SetNetworkInterfaces sets the NetworkInterfaces field's value.
+func (s *RequestSpotLaunchSpecification) SetNetworkInterfaces(v []*InstanceNetworkInterfaceSpecification) *RequestSpotLaunchSpecification {
+ s.NetworkInterfaces = v
+ return s
+}
+
+// SetPlacement sets the Placement field's value.
+func (s *RequestSpotLaunchSpecification) SetPlacement(v *SpotPlacement) *RequestSpotLaunchSpecification {
+ s.Placement = v
+ return s
+}
+
+// SetRamdiskId sets the RamdiskId field's value.
+func (s *RequestSpotLaunchSpecification) SetRamdiskId(v string) *RequestSpotLaunchSpecification {
+ s.RamdiskId = &v
+ return s
+}
+
+// SetSecurityGroupIds sets the SecurityGroupIds field's value.
+func (s *RequestSpotLaunchSpecification) SetSecurityGroupIds(v []*string) *RequestSpotLaunchSpecification {
+ s.SecurityGroupIds = v
+ return s
+}
+
+// SetSecurityGroups sets the SecurityGroups field's value.
+func (s *RequestSpotLaunchSpecification) SetSecurityGroups(v []*string) *RequestSpotLaunchSpecification {
+ s.SecurityGroups = v
+ return s
+}
+
+// SetSubnetId sets the SubnetId field's value.
+func (s *RequestSpotLaunchSpecification) SetSubnetId(v string) *RequestSpotLaunchSpecification {
+ s.SubnetId = &v
+ return s
+}
+
+// SetUserData sets the UserData field's value.
+func (s *RequestSpotLaunchSpecification) SetUserData(v string) *RequestSpotLaunchSpecification {
+ s.UserData = &v
+ return s
+}
+
// Describes a reservation.
type Reservation struct {
_ struct{} `type:"structure"`
@@ -32246,6 +41444,36 @@ func (s Reservation) GoString() string {
return s.String()
}
+// SetGroups sets the Groups field's value.
+func (s *Reservation) SetGroups(v []*GroupIdentifier) *Reservation {
+ s.Groups = v
+ return s
+}
+
+// SetInstances sets the Instances field's value.
+func (s *Reservation) SetInstances(v []*Instance) *Reservation {
+ s.Instances = v
+ return s
+}
+
+// SetOwnerId sets the OwnerId field's value.
+func (s *Reservation) SetOwnerId(v string) *Reservation {
+ s.OwnerId = &v
+ return s
+}
+
+// SetRequesterId sets the RequesterId field's value.
+func (s *Reservation) SetRequesterId(v string) *Reservation {
+ s.RequesterId = &v
+ return s
+}
+
+// SetReservationId sets the ReservationId field's value.
+func (s *Reservation) SetReservationId(v string) *Reservation {
+ s.ReservationId = &v
+ return s
+}
+
// The cost associated with the Reserved Instance.
type ReservationValue struct {
_ struct{} `type:"structure"`
@@ -32271,6 +41499,24 @@ func (s ReservationValue) GoString() string {
return s.String()
}
+// SetHourlyPrice sets the HourlyPrice field's value.
+func (s *ReservationValue) SetHourlyPrice(v string) *ReservationValue {
+ s.HourlyPrice = &v
+ return s
+}
+
+// SetRemainingTotalValue sets the RemainingTotalValue field's value.
+func (s *ReservationValue) SetRemainingTotalValue(v string) *ReservationValue {
+ s.RemainingTotalValue = &v
+ return s
+}
+
+// SetRemainingUpfrontValue sets the RemainingUpfrontValue field's value.
+func (s *ReservationValue) SetRemainingUpfrontValue(v string) *ReservationValue {
+ s.RemainingUpfrontValue = &v
+ return s
+}
+
// Describes the limit price of a Reserved Instance offering.
type ReservedInstanceLimitPrice struct {
_ struct{} `type:"structure"`
@@ -32294,6 +41540,18 @@ func (s ReservedInstanceLimitPrice) GoString() string {
return s.String()
}
+// SetAmount sets the Amount field's value.
+func (s *ReservedInstanceLimitPrice) SetAmount(v float64) *ReservedInstanceLimitPrice {
+ s.Amount = &v
+ return s
+}
+
+// SetCurrencyCode sets the CurrencyCode field's value.
+func (s *ReservedInstanceLimitPrice) SetCurrencyCode(v string) *ReservedInstanceLimitPrice {
+ s.CurrencyCode = &v
+ return s
+}
+
// The total value of the Convertible Reserved Instance.
type ReservedInstanceReservationValue struct {
_ struct{} `type:"structure"`
@@ -32315,6 +41573,18 @@ func (s ReservedInstanceReservationValue) GoString() string {
return s.String()
}
+// SetReservationValue sets the ReservationValue field's value.
+func (s *ReservedInstanceReservationValue) SetReservationValue(v *ReservationValue) *ReservedInstanceReservationValue {
+ s.ReservationValue = v
+ return s
+}
+
+// SetReservedInstanceId sets the ReservedInstanceId field's value.
+func (s *ReservedInstanceReservationValue) SetReservedInstanceId(v string) *ReservedInstanceReservationValue {
+ s.ReservedInstanceId = &v
+ return s
+}
+
// Describes a Reserved Instance.
type ReservedInstances struct {
_ struct{} `type:"structure"`
@@ -32380,9 +41650,117 @@ func (s ReservedInstances) String() string {
return awsutil.Prettify(s)
}
-// GoString returns the string representation
-func (s ReservedInstances) GoString() string {
- return s.String()
+// GoString returns the string representation
+func (s ReservedInstances) GoString() string {
+ return s.String()
+}
+
+// SetAvailabilityZone sets the AvailabilityZone field's value.
+func (s *ReservedInstances) SetAvailabilityZone(v string) *ReservedInstances {
+ s.AvailabilityZone = &v
+ return s
+}
+
+// SetCurrencyCode sets the CurrencyCode field's value.
+func (s *ReservedInstances) SetCurrencyCode(v string) *ReservedInstances {
+ s.CurrencyCode = &v
+ return s
+}
+
+// SetDuration sets the Duration field's value.
+func (s *ReservedInstances) SetDuration(v int64) *ReservedInstances {
+ s.Duration = &v
+ return s
+}
+
+// SetEnd sets the End field's value.
+func (s *ReservedInstances) SetEnd(v time.Time) *ReservedInstances {
+ s.End = &v
+ return s
+}
+
+// SetFixedPrice sets the FixedPrice field's value.
+func (s *ReservedInstances) SetFixedPrice(v float64) *ReservedInstances {
+ s.FixedPrice = &v
+ return s
+}
+
+// SetInstanceCount sets the InstanceCount field's value.
+func (s *ReservedInstances) SetInstanceCount(v int64) *ReservedInstances {
+ s.InstanceCount = &v
+ return s
+}
+
+// SetInstanceTenancy sets the InstanceTenancy field's value.
+func (s *ReservedInstances) SetInstanceTenancy(v string) *ReservedInstances {
+ s.InstanceTenancy = &v
+ return s
+}
+
+// SetInstanceType sets the InstanceType field's value.
+func (s *ReservedInstances) SetInstanceType(v string) *ReservedInstances {
+ s.InstanceType = &v
+ return s
+}
+
+// SetOfferingClass sets the OfferingClass field's value.
+func (s *ReservedInstances) SetOfferingClass(v string) *ReservedInstances {
+ s.OfferingClass = &v
+ return s
+}
+
+// SetOfferingType sets the OfferingType field's value.
+func (s *ReservedInstances) SetOfferingType(v string) *ReservedInstances {
+ s.OfferingType = &v
+ return s
+}
+
+// SetProductDescription sets the ProductDescription field's value.
+func (s *ReservedInstances) SetProductDescription(v string) *ReservedInstances {
+ s.ProductDescription = &v
+ return s
+}
+
+// SetRecurringCharges sets the RecurringCharges field's value.
+func (s *ReservedInstances) SetRecurringCharges(v []*RecurringCharge) *ReservedInstances {
+ s.RecurringCharges = v
+ return s
+}
+
+// SetReservedInstancesId sets the ReservedInstancesId field's value.
+func (s *ReservedInstances) SetReservedInstancesId(v string) *ReservedInstances {
+ s.ReservedInstancesId = &v
+ return s
+}
+
+// SetScope sets the Scope field's value.
+func (s *ReservedInstances) SetScope(v string) *ReservedInstances {
+ s.Scope = &v
+ return s
+}
+
+// SetStart sets the Start field's value.
+func (s *ReservedInstances) SetStart(v time.Time) *ReservedInstances {
+ s.Start = &v
+ return s
+}
+
+// SetState sets the State field's value.
+func (s *ReservedInstances) SetState(v string) *ReservedInstances {
+ s.State = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *ReservedInstances) SetTags(v []*Tag) *ReservedInstances {
+ s.Tags = v
+ return s
+}
+
+// SetUsagePrice sets the UsagePrice field's value.
+func (s *ReservedInstances) SetUsagePrice(v float64) *ReservedInstances {
+ s.UsagePrice = &v
+ return s
}
// Describes the configuration settings for the modified Reserved Instances.
@@ -32416,6 +41794,36 @@ func (s ReservedInstancesConfiguration) GoString() string {
return s.String()
}
+// SetAvailabilityZone sets the AvailabilityZone field's value.
+func (s *ReservedInstancesConfiguration) SetAvailabilityZone(v string) *ReservedInstancesConfiguration {
+ s.AvailabilityZone = &v
+ return s
+}
+
+// SetInstanceCount sets the InstanceCount field's value.
+func (s *ReservedInstancesConfiguration) SetInstanceCount(v int64) *ReservedInstancesConfiguration {
+ s.InstanceCount = &v
+ return s
+}
+
+// SetInstanceType sets the InstanceType field's value.
+func (s *ReservedInstancesConfiguration) SetInstanceType(v string) *ReservedInstancesConfiguration {
+ s.InstanceType = &v
+ return s
+}
+
+// SetPlatform sets the Platform field's value.
+func (s *ReservedInstancesConfiguration) SetPlatform(v string) *ReservedInstancesConfiguration {
+ s.Platform = &v
+ return s
+}
+
+// SetScope sets the Scope field's value.
+func (s *ReservedInstancesConfiguration) SetScope(v string) *ReservedInstancesConfiguration {
+ s.Scope = &v
+ return s
+}
+
// Describes the ID of a Reserved Instance.
type ReservedInstancesId struct {
_ struct{} `type:"structure"`
@@ -32434,6 +41842,12 @@ func (s ReservedInstancesId) GoString() string {
return s.String()
}
+// SetReservedInstancesId sets the ReservedInstancesId field's value.
+func (s *ReservedInstancesId) SetReservedInstancesId(v string) *ReservedInstancesId {
+ s.ReservedInstancesId = &v
+ return s
+}
+
// Describes a Reserved Instance listing.
type ReservedInstancesListing struct {
_ struct{} `type:"structure"`
@@ -32481,6 +41895,66 @@ func (s ReservedInstancesListing) GoString() string {
return s.String()
}
+// SetClientToken sets the ClientToken field's value.
+func (s *ReservedInstancesListing) SetClientToken(v string) *ReservedInstancesListing {
+ s.ClientToken = &v
+ return s
+}
+
+// SetCreateDate sets the CreateDate field's value.
+func (s *ReservedInstancesListing) SetCreateDate(v time.Time) *ReservedInstancesListing {
+ s.CreateDate = &v
+ return s
+}
+
+// SetInstanceCounts sets the InstanceCounts field's value.
+func (s *ReservedInstancesListing) SetInstanceCounts(v []*InstanceCount) *ReservedInstancesListing {
+ s.InstanceCounts = v
+ return s
+}
+
+// SetPriceSchedules sets the PriceSchedules field's value.
+func (s *ReservedInstancesListing) SetPriceSchedules(v []*PriceSchedule) *ReservedInstancesListing {
+ s.PriceSchedules = v
+ return s
+}
+
+// SetReservedInstancesId sets the ReservedInstancesId field's value.
+func (s *ReservedInstancesListing) SetReservedInstancesId(v string) *ReservedInstancesListing {
+ s.ReservedInstancesId = &v
+ return s
+}
+
+// SetReservedInstancesListingId sets the ReservedInstancesListingId field's value.
+func (s *ReservedInstancesListing) SetReservedInstancesListingId(v string) *ReservedInstancesListing {
+ s.ReservedInstancesListingId = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *ReservedInstancesListing) SetStatus(v string) *ReservedInstancesListing {
+ s.Status = &v
+ return s
+}
+
+// SetStatusMessage sets the StatusMessage field's value.
+func (s *ReservedInstancesListing) SetStatusMessage(v string) *ReservedInstancesListing {
+ s.StatusMessage = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *ReservedInstancesListing) SetTags(v []*Tag) *ReservedInstancesListing {
+ s.Tags = v
+ return s
+}
+
+// SetUpdateDate sets the UpdateDate field's value.
+func (s *ReservedInstancesListing) SetUpdateDate(v time.Time) *ReservedInstancesListing {
+ s.UpdateDate = &v
+ return s
+}
+
// Describes a Reserved Instance modification.
type ReservedInstancesModification struct {
_ struct{} `type:"structure"`
@@ -32525,6 +41999,60 @@ func (s ReservedInstancesModification) GoString() string {
return s.String()
}
+// SetClientToken sets the ClientToken field's value.
+func (s *ReservedInstancesModification) SetClientToken(v string) *ReservedInstancesModification {
+ s.ClientToken = &v
+ return s
+}
+
+// SetCreateDate sets the CreateDate field's value.
+func (s *ReservedInstancesModification) SetCreateDate(v time.Time) *ReservedInstancesModification {
+ s.CreateDate = &v
+ return s
+}
+
+// SetEffectiveDate sets the EffectiveDate field's value.
+func (s *ReservedInstancesModification) SetEffectiveDate(v time.Time) *ReservedInstancesModification {
+ s.EffectiveDate = &v
+ return s
+}
+
+// SetModificationResults sets the ModificationResults field's value.
+func (s *ReservedInstancesModification) SetModificationResults(v []*ReservedInstancesModificationResult) *ReservedInstancesModification {
+ s.ModificationResults = v
+ return s
+}
+
+// SetReservedInstancesIds sets the ReservedInstancesIds field's value.
+func (s *ReservedInstancesModification) SetReservedInstancesIds(v []*ReservedInstancesId) *ReservedInstancesModification {
+ s.ReservedInstancesIds = v
+ return s
+}
+
+// SetReservedInstancesModificationId sets the ReservedInstancesModificationId field's value.
+func (s *ReservedInstancesModification) SetReservedInstancesModificationId(v string) *ReservedInstancesModification {
+ s.ReservedInstancesModificationId = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *ReservedInstancesModification) SetStatus(v string) *ReservedInstancesModification {
+ s.Status = &v
+ return s
+}
+
+// SetStatusMessage sets the StatusMessage field's value.
+func (s *ReservedInstancesModification) SetStatusMessage(v string) *ReservedInstancesModification {
+ s.StatusMessage = &v
+ return s
+}
+
+// SetUpdateDate sets the UpdateDate field's value.
+func (s *ReservedInstancesModification) SetUpdateDate(v time.Time) *ReservedInstancesModification {
+ s.UpdateDate = &v
+ return s
+}
+
// Describes the modification request/s.
type ReservedInstancesModificationResult struct {
_ struct{} `type:"structure"`
@@ -32548,6 +42076,18 @@ func (s ReservedInstancesModificationResult) GoString() string {
return s.String()
}
+// SetReservedInstancesId sets the ReservedInstancesId field's value.
+func (s *ReservedInstancesModificationResult) SetReservedInstancesId(v string) *ReservedInstancesModificationResult {
+ s.ReservedInstancesId = &v
+ return s
+}
+
+// SetTargetConfiguration sets the TargetConfiguration field's value.
+func (s *ReservedInstancesModificationResult) SetTargetConfiguration(v *ReservedInstancesConfiguration) *ReservedInstancesModificationResult {
+ s.TargetConfiguration = v
+ return s
+}
+
// Describes a Reserved Instance offering.
type ReservedInstancesOffering struct {
_ struct{} `type:"structure"`
@@ -32616,6 +42156,96 @@ func (s ReservedInstancesOffering) GoString() string {
return s.String()
}
+// SetAvailabilityZone sets the AvailabilityZone field's value.
+func (s *ReservedInstancesOffering) SetAvailabilityZone(v string) *ReservedInstancesOffering {
+ s.AvailabilityZone = &v
+ return s
+}
+
+// SetCurrencyCode sets the CurrencyCode field's value.
+func (s *ReservedInstancesOffering) SetCurrencyCode(v string) *ReservedInstancesOffering {
+ s.CurrencyCode = &v
+ return s
+}
+
+// SetDuration sets the Duration field's value.
+func (s *ReservedInstancesOffering) SetDuration(v int64) *ReservedInstancesOffering {
+ s.Duration = &v
+ return s
+}
+
+// SetFixedPrice sets the FixedPrice field's value.
+func (s *ReservedInstancesOffering) SetFixedPrice(v float64) *ReservedInstancesOffering {
+ s.FixedPrice = &v
+ return s
+}
+
+// SetInstanceTenancy sets the InstanceTenancy field's value.
+func (s *ReservedInstancesOffering) SetInstanceTenancy(v string) *ReservedInstancesOffering {
+ s.InstanceTenancy = &v
+ return s
+}
+
+// SetInstanceType sets the InstanceType field's value.
+func (s *ReservedInstancesOffering) SetInstanceType(v string) *ReservedInstancesOffering {
+ s.InstanceType = &v
+ return s
+}
+
+// SetMarketplace sets the Marketplace field's value.
+func (s *ReservedInstancesOffering) SetMarketplace(v bool) *ReservedInstancesOffering {
+ s.Marketplace = &v
+ return s
+}
+
+// SetOfferingClass sets the OfferingClass field's value.
+func (s *ReservedInstancesOffering) SetOfferingClass(v string) *ReservedInstancesOffering {
+ s.OfferingClass = &v
+ return s
+}
+
+// SetOfferingType sets the OfferingType field's value.
+func (s *ReservedInstancesOffering) SetOfferingType(v string) *ReservedInstancesOffering {
+ s.OfferingType = &v
+ return s
+}
+
+// SetPricingDetails sets the PricingDetails field's value.
+func (s *ReservedInstancesOffering) SetPricingDetails(v []*PricingDetail) *ReservedInstancesOffering {
+ s.PricingDetails = v
+ return s
+}
+
+// SetProductDescription sets the ProductDescription field's value.
+func (s *ReservedInstancesOffering) SetProductDescription(v string) *ReservedInstancesOffering {
+ s.ProductDescription = &v
+ return s
+}
+
+// SetRecurringCharges sets the RecurringCharges field's value.
+func (s *ReservedInstancesOffering) SetRecurringCharges(v []*RecurringCharge) *ReservedInstancesOffering {
+ s.RecurringCharges = v
+ return s
+}
+
+// SetReservedInstancesOfferingId sets the ReservedInstancesOfferingId field's value.
+func (s *ReservedInstancesOffering) SetReservedInstancesOfferingId(v string) *ReservedInstancesOffering {
+ s.ReservedInstancesOfferingId = &v
+ return s
+}
+
+// SetScope sets the Scope field's value.
+func (s *ReservedInstancesOffering) SetScope(v string) *ReservedInstancesOffering {
+ s.Scope = &v
+ return s
+}
+
+// SetUsagePrice sets the UsagePrice field's value.
+func (s *ReservedInstancesOffering) SetUsagePrice(v float64) *ReservedInstancesOffering {
+ s.UsagePrice = &v
+ return s
+}
+
// Contains the parameters for ResetImageAttribute.
type ResetImageAttributeInput struct {
_ struct{} `type:"structure"`
@@ -32664,6 +42294,24 @@ func (s *ResetImageAttributeInput) Validate() error {
return nil
}
+// SetAttribute sets the Attribute field's value.
+func (s *ResetImageAttributeInput) SetAttribute(v string) *ResetImageAttributeInput {
+ s.Attribute = &v
+ return s
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *ResetImageAttributeInput) SetDryRun(v bool) *ResetImageAttributeInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetImageId sets the ImageId field's value.
+func (s *ResetImageAttributeInput) SetImageId(v string) *ResetImageAttributeInput {
+ s.ImageId = &v
+ return s
+}
+
type ResetImageAttributeOutput struct {
_ struct{} `type:"structure"`
}
@@ -32728,6 +42376,24 @@ func (s *ResetInstanceAttributeInput) Validate() error {
return nil
}
+// SetAttribute sets the Attribute field's value.
+func (s *ResetInstanceAttributeInput) SetAttribute(v string) *ResetInstanceAttributeInput {
+ s.Attribute = &v
+ return s
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *ResetInstanceAttributeInput) SetDryRun(v bool) *ResetInstanceAttributeInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetInstanceId sets the InstanceId field's value.
+func (s *ResetInstanceAttributeInput) SetInstanceId(v string) *ResetInstanceAttributeInput {
+ s.InstanceId = &v
+ return s
+}
+
type ResetInstanceAttributeOutput struct {
_ struct{} `type:"structure"`
}
@@ -32784,6 +42450,24 @@ func (s *ResetNetworkInterfaceAttributeInput) Validate() error {
return nil
}
+// SetDryRun sets the DryRun field's value.
+func (s *ResetNetworkInterfaceAttributeInput) SetDryRun(v bool) *ResetNetworkInterfaceAttributeInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetNetworkInterfaceId sets the NetworkInterfaceId field's value.
+func (s *ResetNetworkInterfaceAttributeInput) SetNetworkInterfaceId(v string) *ResetNetworkInterfaceAttributeInput {
+ s.NetworkInterfaceId = &v
+ return s
+}
+
+// SetSourceDestCheck sets the SourceDestCheck field's value.
+func (s *ResetNetworkInterfaceAttributeInput) SetSourceDestCheck(v string) *ResetNetworkInterfaceAttributeInput {
+ s.SourceDestCheck = &v
+ return s
+}
+
type ResetNetworkInterfaceAttributeOutput struct {
_ struct{} `type:"structure"`
}
@@ -32846,6 +42530,24 @@ func (s *ResetSnapshotAttributeInput) Validate() error {
return nil
}
+// SetAttribute sets the Attribute field's value.
+func (s *ResetSnapshotAttributeInput) SetAttribute(v string) *ResetSnapshotAttributeInput {
+ s.Attribute = &v
+ return s
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *ResetSnapshotAttributeInput) SetDryRun(v bool) *ResetSnapshotAttributeInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetSnapshotId sets the SnapshotId field's value.
+func (s *ResetSnapshotAttributeInput) SetSnapshotId(v string) *ResetSnapshotAttributeInput {
+ s.SnapshotId = &v
+ return s
+}
+
type ResetSnapshotAttributeOutput struct {
_ struct{} `type:"structure"`
}
@@ -32899,6 +42601,18 @@ func (s *RestoreAddressToClassicInput) Validate() error {
return nil
}
+// SetDryRun sets the DryRun field's value.
+func (s *RestoreAddressToClassicInput) SetDryRun(v bool) *RestoreAddressToClassicInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetPublicIp sets the PublicIp field's value.
+func (s *RestoreAddressToClassicInput) SetPublicIp(v string) *RestoreAddressToClassicInput {
+ s.PublicIp = &v
+ return s
+}
+
// Contains the output of RestoreAddressToClassic.
type RestoreAddressToClassicOutput struct {
_ struct{} `type:"structure"`
@@ -32920,6 +42634,18 @@ func (s RestoreAddressToClassicOutput) GoString() string {
return s.String()
}
+// SetPublicIp sets the PublicIp field's value.
+func (s *RestoreAddressToClassicOutput) SetPublicIp(v string) *RestoreAddressToClassicOutput {
+ s.PublicIp = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *RestoreAddressToClassicOutput) SetStatus(v string) *RestoreAddressToClassicOutput {
+ s.Status = &v
+ return s
+}
+
// Contains the parameters for RevokeSecurityGroupEgress.
type RevokeSecurityGroupEgressInput struct {
_ struct{} `type:"structure"`
@@ -32989,6 +42715,60 @@ func (s *RevokeSecurityGroupEgressInput) Validate() error {
return nil
}
+// SetCidrIp sets the CidrIp field's value.
+func (s *RevokeSecurityGroupEgressInput) SetCidrIp(v string) *RevokeSecurityGroupEgressInput {
+ s.CidrIp = &v
+ return s
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *RevokeSecurityGroupEgressInput) SetDryRun(v bool) *RevokeSecurityGroupEgressInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetFromPort sets the FromPort field's value.
+func (s *RevokeSecurityGroupEgressInput) SetFromPort(v int64) *RevokeSecurityGroupEgressInput {
+ s.FromPort = &v
+ return s
+}
+
+// SetGroupId sets the GroupId field's value.
+func (s *RevokeSecurityGroupEgressInput) SetGroupId(v string) *RevokeSecurityGroupEgressInput {
+ s.GroupId = &v
+ return s
+}
+
+// SetIpPermissions sets the IpPermissions field's value.
+func (s *RevokeSecurityGroupEgressInput) SetIpPermissions(v []*IpPermission) *RevokeSecurityGroupEgressInput {
+ s.IpPermissions = v
+ return s
+}
+
+// SetIpProtocol sets the IpProtocol field's value.
+func (s *RevokeSecurityGroupEgressInput) SetIpProtocol(v string) *RevokeSecurityGroupEgressInput {
+ s.IpProtocol = &v
+ return s
+}
+
+// SetSourceSecurityGroupName sets the SourceSecurityGroupName field's value.
+func (s *RevokeSecurityGroupEgressInput) SetSourceSecurityGroupName(v string) *RevokeSecurityGroupEgressInput {
+ s.SourceSecurityGroupName = &v
+ return s
+}
+
+// SetSourceSecurityGroupOwnerId sets the SourceSecurityGroupOwnerId field's value.
+func (s *RevokeSecurityGroupEgressInput) SetSourceSecurityGroupOwnerId(v string) *RevokeSecurityGroupEgressInput {
+ s.SourceSecurityGroupOwnerId = &v
+ return s
+}
+
+// SetToPort sets the ToPort field's value.
+func (s *RevokeSecurityGroupEgressInput) SetToPort(v int64) *RevokeSecurityGroupEgressInput {
+ s.ToPort = &v
+ return s
+}
+
type RevokeSecurityGroupEgressOutput struct {
_ struct{} `type:"structure"`
}
@@ -33067,6 +42847,66 @@ func (s RevokeSecurityGroupIngressInput) GoString() string {
return s.String()
}
+// SetCidrIp sets the CidrIp field's value.
+func (s *RevokeSecurityGroupIngressInput) SetCidrIp(v string) *RevokeSecurityGroupIngressInput {
+ s.CidrIp = &v
+ return s
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *RevokeSecurityGroupIngressInput) SetDryRun(v bool) *RevokeSecurityGroupIngressInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetFromPort sets the FromPort field's value.
+func (s *RevokeSecurityGroupIngressInput) SetFromPort(v int64) *RevokeSecurityGroupIngressInput {
+ s.FromPort = &v
+ return s
+}
+
+// SetGroupId sets the GroupId field's value.
+func (s *RevokeSecurityGroupIngressInput) SetGroupId(v string) *RevokeSecurityGroupIngressInput {
+ s.GroupId = &v
+ return s
+}
+
+// SetGroupName sets the GroupName field's value.
+func (s *RevokeSecurityGroupIngressInput) SetGroupName(v string) *RevokeSecurityGroupIngressInput {
+ s.GroupName = &v
+ return s
+}
+
+// SetIpPermissions sets the IpPermissions field's value.
+func (s *RevokeSecurityGroupIngressInput) SetIpPermissions(v []*IpPermission) *RevokeSecurityGroupIngressInput {
+ s.IpPermissions = v
+ return s
+}
+
+// SetIpProtocol sets the IpProtocol field's value.
+func (s *RevokeSecurityGroupIngressInput) SetIpProtocol(v string) *RevokeSecurityGroupIngressInput {
+ s.IpProtocol = &v
+ return s
+}
+
+// SetSourceSecurityGroupName sets the SourceSecurityGroupName field's value.
+func (s *RevokeSecurityGroupIngressInput) SetSourceSecurityGroupName(v string) *RevokeSecurityGroupIngressInput {
+ s.SourceSecurityGroupName = &v
+ return s
+}
+
+// SetSourceSecurityGroupOwnerId sets the SourceSecurityGroupOwnerId field's value.
+func (s *RevokeSecurityGroupIngressInput) SetSourceSecurityGroupOwnerId(v string) *RevokeSecurityGroupIngressInput {
+ s.SourceSecurityGroupOwnerId = &v
+ return s
+}
+
+// SetToPort sets the ToPort field's value.
+func (s *RevokeSecurityGroupIngressInput) SetToPort(v int64) *RevokeSecurityGroupIngressInput {
+ s.ToPort = &v
+ return s
+}
+
type RevokeSecurityGroupIngressOutput struct {
_ struct{} `type:"structure"`
}
@@ -33135,6 +42975,66 @@ func (s Route) GoString() string {
return s.String()
}
+// SetDestinationCidrBlock sets the DestinationCidrBlock field's value.
+func (s *Route) SetDestinationCidrBlock(v string) *Route {
+ s.DestinationCidrBlock = &v
+ return s
+}
+
+// SetDestinationPrefixListId sets the DestinationPrefixListId field's value.
+func (s *Route) SetDestinationPrefixListId(v string) *Route {
+ s.DestinationPrefixListId = &v
+ return s
+}
+
+// SetGatewayId sets the GatewayId field's value.
+func (s *Route) SetGatewayId(v string) *Route {
+ s.GatewayId = &v
+ return s
+}
+
+// SetInstanceId sets the InstanceId field's value.
+func (s *Route) SetInstanceId(v string) *Route {
+ s.InstanceId = &v
+ return s
+}
+
+// SetInstanceOwnerId sets the InstanceOwnerId field's value.
+func (s *Route) SetInstanceOwnerId(v string) *Route {
+ s.InstanceOwnerId = &v
+ return s
+}
+
+// SetNatGatewayId sets the NatGatewayId field's value.
+func (s *Route) SetNatGatewayId(v string) *Route {
+ s.NatGatewayId = &v
+ return s
+}
+
+// SetNetworkInterfaceId sets the NetworkInterfaceId field's value.
+func (s *Route) SetNetworkInterfaceId(v string) *Route {
+ s.NetworkInterfaceId = &v
+ return s
+}
+
+// SetOrigin sets the Origin field's value.
+func (s *Route) SetOrigin(v string) *Route {
+ s.Origin = &v
+ return s
+}
+
+// SetState sets the State field's value.
+func (s *Route) SetState(v string) *Route {
+ s.State = &v
+ return s
+}
+
+// SetVpcPeeringConnectionId sets the VpcPeeringConnectionId field's value.
+func (s *Route) SetVpcPeeringConnectionId(v string) *Route {
+ s.VpcPeeringConnectionId = &v
+ return s
+}
+
// Describes a route table.
type RouteTable struct {
_ struct{} `type:"structure"`
@@ -33168,6 +43068,42 @@ func (s RouteTable) GoString() string {
return s.String()
}
+// SetAssociations sets the Associations field's value.
+func (s *RouteTable) SetAssociations(v []*RouteTableAssociation) *RouteTable {
+ s.Associations = v
+ return s
+}
+
+// SetPropagatingVgws sets the PropagatingVgws field's value.
+func (s *RouteTable) SetPropagatingVgws(v []*PropagatingVgw) *RouteTable {
+ s.PropagatingVgws = v
+ return s
+}
+
+// SetRouteTableId sets the RouteTableId field's value.
+func (s *RouteTable) SetRouteTableId(v string) *RouteTable {
+ s.RouteTableId = &v
+ return s
+}
+
+// SetRoutes sets the Routes field's value.
+func (s *RouteTable) SetRoutes(v []*Route) *RouteTable {
+ s.Routes = v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *RouteTable) SetTags(v []*Tag) *RouteTable {
+ s.Tags = v
+ return s
+}
+
+// SetVpcId sets the VpcId field's value.
+func (s *RouteTable) SetVpcId(v string) *RouteTable {
+ s.VpcId = &v
+ return s
+}
+
// Describes an association between a route table and a subnet.
type RouteTableAssociation struct {
_ struct{} `type:"structure"`
@@ -33195,6 +43131,30 @@ func (s RouteTableAssociation) GoString() string {
return s.String()
}
+// SetMain sets the Main field's value.
+func (s *RouteTableAssociation) SetMain(v bool) *RouteTableAssociation {
+ s.Main = &v
+ return s
+}
+
+// SetRouteTableAssociationId sets the RouteTableAssociationId field's value.
+func (s *RouteTableAssociation) SetRouteTableAssociationId(v string) *RouteTableAssociation {
+ s.RouteTableAssociationId = &v
+ return s
+}
+
+// SetRouteTableId sets the RouteTableId field's value.
+func (s *RouteTableAssociation) SetRouteTableId(v string) *RouteTableAssociation {
+ s.RouteTableId = &v
+ return s
+}
+
+// SetSubnetId sets the SubnetId field's value.
+func (s *RouteTableAssociation) SetSubnetId(v string) *RouteTableAssociation {
+ s.SubnetId = &v
+ return s
+}
+
// Contains the parameters for RunInstances.
type RunInstancesInput struct {
_ struct{} `type:"structure"`
@@ -33397,6 +43357,144 @@ func (s *RunInstancesInput) Validate() error {
return nil
}
+// SetAdditionalInfo sets the AdditionalInfo field's value.
+func (s *RunInstancesInput) SetAdditionalInfo(v string) *RunInstancesInput {
+ s.AdditionalInfo = &v
+ return s
+}
+
+// SetBlockDeviceMappings sets the BlockDeviceMappings field's value.
+func (s *RunInstancesInput) SetBlockDeviceMappings(v []*BlockDeviceMapping) *RunInstancesInput {
+ s.BlockDeviceMappings = v
+ return s
+}
+
+// SetClientToken sets the ClientToken field's value.
+func (s *RunInstancesInput) SetClientToken(v string) *RunInstancesInput {
+ s.ClientToken = &v
+ return s
+}
+
+// SetDisableApiTermination sets the DisableApiTermination field's value.
+func (s *RunInstancesInput) SetDisableApiTermination(v bool) *RunInstancesInput {
+ s.DisableApiTermination = &v
+ return s
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *RunInstancesInput) SetDryRun(v bool) *RunInstancesInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetEbsOptimized sets the EbsOptimized field's value.
+func (s *RunInstancesInput) SetEbsOptimized(v bool) *RunInstancesInput {
+ s.EbsOptimized = &v
+ return s
+}
+
+// SetIamInstanceProfile sets the IamInstanceProfile field's value.
+func (s *RunInstancesInput) SetIamInstanceProfile(v *IamInstanceProfileSpecification) *RunInstancesInput {
+ s.IamInstanceProfile = v
+ return s
+}
+
+// SetImageId sets the ImageId field's value.
+func (s *RunInstancesInput) SetImageId(v string) *RunInstancesInput {
+ s.ImageId = &v
+ return s
+}
+
+// SetInstanceInitiatedShutdownBehavior sets the InstanceInitiatedShutdownBehavior field's value.
+func (s *RunInstancesInput) SetInstanceInitiatedShutdownBehavior(v string) *RunInstancesInput {
+ s.InstanceInitiatedShutdownBehavior = &v
+ return s
+}
+
+// SetInstanceType sets the InstanceType field's value.
+func (s *RunInstancesInput) SetInstanceType(v string) *RunInstancesInput {
+ s.InstanceType = &v
+ return s
+}
+
+// SetKernelId sets the KernelId field's value.
+func (s *RunInstancesInput) SetKernelId(v string) *RunInstancesInput {
+ s.KernelId = &v
+ return s
+}
+
+// SetKeyName sets the KeyName field's value.
+func (s *RunInstancesInput) SetKeyName(v string) *RunInstancesInput {
+ s.KeyName = &v
+ return s
+}
+
+// SetMaxCount sets the MaxCount field's value.
+func (s *RunInstancesInput) SetMaxCount(v int64) *RunInstancesInput {
+ s.MaxCount = &v
+ return s
+}
+
+// SetMinCount sets the MinCount field's value.
+func (s *RunInstancesInput) SetMinCount(v int64) *RunInstancesInput {
+ s.MinCount = &v
+ return s
+}
+
+// SetMonitoring sets the Monitoring field's value.
+func (s *RunInstancesInput) SetMonitoring(v *RunInstancesMonitoringEnabled) *RunInstancesInput {
+ s.Monitoring = v
+ return s
+}
+
+// SetNetworkInterfaces sets the NetworkInterfaces field's value.
+func (s *RunInstancesInput) SetNetworkInterfaces(v []*InstanceNetworkInterfaceSpecification) *RunInstancesInput {
+ s.NetworkInterfaces = v
+ return s
+}
+
+// SetPlacement sets the Placement field's value.
+func (s *RunInstancesInput) SetPlacement(v *Placement) *RunInstancesInput {
+ s.Placement = v
+ return s
+}
+
+// SetPrivateIpAddress sets the PrivateIpAddress field's value.
+func (s *RunInstancesInput) SetPrivateIpAddress(v string) *RunInstancesInput {
+ s.PrivateIpAddress = &v
+ return s
+}
+
+// SetRamdiskId sets the RamdiskId field's value.
+func (s *RunInstancesInput) SetRamdiskId(v string) *RunInstancesInput {
+ s.RamdiskId = &v
+ return s
+}
+
+// SetSecurityGroupIds sets the SecurityGroupIds field's value.
+func (s *RunInstancesInput) SetSecurityGroupIds(v []*string) *RunInstancesInput {
+ s.SecurityGroupIds = v
+ return s
+}
+
+// SetSecurityGroups sets the SecurityGroups field's value.
+func (s *RunInstancesInput) SetSecurityGroups(v []*string) *RunInstancesInput {
+ s.SecurityGroups = v
+ return s
+}
+
+// SetSubnetId sets the SubnetId field's value.
+func (s *RunInstancesInput) SetSubnetId(v string) *RunInstancesInput {
+ s.SubnetId = &v
+ return s
+}
+
+// SetUserData sets the UserData field's value.
+func (s *RunInstancesInput) SetUserData(v string) *RunInstancesInput {
+ s.UserData = &v
+ return s
+}
+
// Describes the monitoring for the instance.
type RunInstancesMonitoringEnabled struct {
_ struct{} `type:"structure"`
@@ -33430,6 +43528,12 @@ func (s *RunInstancesMonitoringEnabled) Validate() error {
return nil
}
+// SetEnabled sets the Enabled field's value.
+func (s *RunInstancesMonitoringEnabled) SetEnabled(v bool) *RunInstancesMonitoringEnabled {
+ s.Enabled = &v
+ return s
+}
+
// Contains the parameters for RunScheduledInstances.
type RunScheduledInstancesInput struct {
_ struct{} `type:"structure"`
@@ -33492,6 +43596,36 @@ func (s *RunScheduledInstancesInput) Validate() error {
return nil
}
+// SetClientToken sets the ClientToken field's value.
+func (s *RunScheduledInstancesInput) SetClientToken(v string) *RunScheduledInstancesInput {
+ s.ClientToken = &v
+ return s
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *RunScheduledInstancesInput) SetDryRun(v bool) *RunScheduledInstancesInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetInstanceCount sets the InstanceCount field's value.
+func (s *RunScheduledInstancesInput) SetInstanceCount(v int64) *RunScheduledInstancesInput {
+ s.InstanceCount = &v
+ return s
+}
+
+// SetLaunchSpecification sets the LaunchSpecification field's value.
+func (s *RunScheduledInstancesInput) SetLaunchSpecification(v *ScheduledInstancesLaunchSpecification) *RunScheduledInstancesInput {
+ s.LaunchSpecification = v
+ return s
+}
+
+// SetScheduledInstanceId sets the ScheduledInstanceId field's value.
+func (s *RunScheduledInstancesInput) SetScheduledInstanceId(v string) *RunScheduledInstancesInput {
+ s.ScheduledInstanceId = &v
+ return s
+}
+
// Contains the output of RunScheduledInstances.
type RunScheduledInstancesOutput struct {
_ struct{} `type:"structure"`
@@ -33510,6 +43644,12 @@ func (s RunScheduledInstancesOutput) GoString() string {
return s.String()
}
+// SetInstanceIdSet sets the InstanceIdSet field's value.
+func (s *RunScheduledInstancesOutput) SetInstanceIdSet(v []*string) *RunScheduledInstancesOutput {
+ s.InstanceIdSet = v
+ return s
+}
+
// Describes the storage parameters for S3 and S3 buckets for an instance store-backed
// AMI.
type S3Storage struct {
@@ -33548,6 +43688,36 @@ func (s S3Storage) GoString() string {
return s.String()
}
+// SetAWSAccessKeyId sets the AWSAccessKeyId field's value.
+func (s *S3Storage) SetAWSAccessKeyId(v string) *S3Storage {
+ s.AWSAccessKeyId = &v
+ return s
+}
+
+// SetBucket sets the Bucket field's value.
+func (s *S3Storage) SetBucket(v string) *S3Storage {
+ s.Bucket = &v
+ return s
+}
+
+// SetPrefix sets the Prefix field's value.
+func (s *S3Storage) SetPrefix(v string) *S3Storage {
+ s.Prefix = &v
+ return s
+}
+
+// SetUploadPolicy sets the UploadPolicy field's value.
+func (s *S3Storage) SetUploadPolicy(v []byte) *S3Storage {
+ s.UploadPolicy = v
+ return s
+}
+
+// SetUploadPolicySignature sets the UploadPolicySignature field's value.
+func (s *S3Storage) SetUploadPolicySignature(v string) *S3Storage {
+ s.UploadPolicySignature = &v
+ return s
+}
+
// Describes a Scheduled Instance.
type ScheduledInstance struct {
_ struct{} `type:"structure"`
@@ -33608,6 +43778,96 @@ func (s ScheduledInstance) GoString() string {
return s.String()
}
+// SetAvailabilityZone sets the AvailabilityZone field's value.
+func (s *ScheduledInstance) SetAvailabilityZone(v string) *ScheduledInstance {
+ s.AvailabilityZone = &v
+ return s
+}
+
+// SetCreateDate sets the CreateDate field's value.
+func (s *ScheduledInstance) SetCreateDate(v time.Time) *ScheduledInstance {
+ s.CreateDate = &v
+ return s
+}
+
+// SetHourlyPrice sets the HourlyPrice field's value.
+func (s *ScheduledInstance) SetHourlyPrice(v string) *ScheduledInstance {
+ s.HourlyPrice = &v
+ return s
+}
+
+// SetInstanceCount sets the InstanceCount field's value.
+func (s *ScheduledInstance) SetInstanceCount(v int64) *ScheduledInstance {
+ s.InstanceCount = &v
+ return s
+}
+
+// SetInstanceType sets the InstanceType field's value.
+func (s *ScheduledInstance) SetInstanceType(v string) *ScheduledInstance {
+ s.InstanceType = &v
+ return s
+}
+
+// SetNetworkPlatform sets the NetworkPlatform field's value.
+func (s *ScheduledInstance) SetNetworkPlatform(v string) *ScheduledInstance {
+ s.NetworkPlatform = &v
+ return s
+}
+
+// SetNextSlotStartTime sets the NextSlotStartTime field's value.
+func (s *ScheduledInstance) SetNextSlotStartTime(v time.Time) *ScheduledInstance {
+ s.NextSlotStartTime = &v
+ return s
+}
+
+// SetPlatform sets the Platform field's value.
+func (s *ScheduledInstance) SetPlatform(v string) *ScheduledInstance {
+ s.Platform = &v
+ return s
+}
+
+// SetPreviousSlotEndTime sets the PreviousSlotEndTime field's value.
+func (s *ScheduledInstance) SetPreviousSlotEndTime(v time.Time) *ScheduledInstance {
+ s.PreviousSlotEndTime = &v
+ return s
+}
+
+// SetRecurrence sets the Recurrence field's value.
+func (s *ScheduledInstance) SetRecurrence(v *ScheduledInstanceRecurrence) *ScheduledInstance {
+ s.Recurrence = v
+ return s
+}
+
+// SetScheduledInstanceId sets the ScheduledInstanceId field's value.
+func (s *ScheduledInstance) SetScheduledInstanceId(v string) *ScheduledInstance {
+ s.ScheduledInstanceId = &v
+ return s
+}
+
+// SetSlotDurationInHours sets the SlotDurationInHours field's value.
+func (s *ScheduledInstance) SetSlotDurationInHours(v int64) *ScheduledInstance {
+ s.SlotDurationInHours = &v
+ return s
+}
+
+// SetTermEndDate sets the TermEndDate field's value.
+func (s *ScheduledInstance) SetTermEndDate(v time.Time) *ScheduledInstance {
+ s.TermEndDate = &v
+ return s
+}
+
+// SetTermStartDate sets the TermStartDate field's value.
+func (s *ScheduledInstance) SetTermStartDate(v time.Time) *ScheduledInstance {
+ s.TermStartDate = &v
+ return s
+}
+
+// SetTotalScheduledInstanceHours sets the TotalScheduledInstanceHours field's value.
+func (s *ScheduledInstance) SetTotalScheduledInstanceHours(v int64) *ScheduledInstance {
+ s.TotalScheduledInstanceHours = &v
+ return s
+}
+
// Describes a schedule that is available for your Scheduled Instances.
type ScheduledInstanceAvailability struct {
_ struct{} `type:"structure"`
@@ -33663,6 +43923,84 @@ func (s ScheduledInstanceAvailability) GoString() string {
return s.String()
}
+// SetAvailabilityZone sets the AvailabilityZone field's value.
+func (s *ScheduledInstanceAvailability) SetAvailabilityZone(v string) *ScheduledInstanceAvailability {
+ s.AvailabilityZone = &v
+ return s
+}
+
+// SetAvailableInstanceCount sets the AvailableInstanceCount field's value.
+func (s *ScheduledInstanceAvailability) SetAvailableInstanceCount(v int64) *ScheduledInstanceAvailability {
+ s.AvailableInstanceCount = &v
+ return s
+}
+
+// SetFirstSlotStartTime sets the FirstSlotStartTime field's value.
+func (s *ScheduledInstanceAvailability) SetFirstSlotStartTime(v time.Time) *ScheduledInstanceAvailability {
+ s.FirstSlotStartTime = &v
+ return s
+}
+
+// SetHourlyPrice sets the HourlyPrice field's value.
+func (s *ScheduledInstanceAvailability) SetHourlyPrice(v string) *ScheduledInstanceAvailability {
+ s.HourlyPrice = &v
+ return s
+}
+
+// SetInstanceType sets the InstanceType field's value.
+func (s *ScheduledInstanceAvailability) SetInstanceType(v string) *ScheduledInstanceAvailability {
+ s.InstanceType = &v
+ return s
+}
+
+// SetMaxTermDurationInDays sets the MaxTermDurationInDays field's value.
+func (s *ScheduledInstanceAvailability) SetMaxTermDurationInDays(v int64) *ScheduledInstanceAvailability {
+ s.MaxTermDurationInDays = &v
+ return s
+}
+
+// SetMinTermDurationInDays sets the MinTermDurationInDays field's value.
+func (s *ScheduledInstanceAvailability) SetMinTermDurationInDays(v int64) *ScheduledInstanceAvailability {
+ s.MinTermDurationInDays = &v
+ return s
+}
+
+// SetNetworkPlatform sets the NetworkPlatform field's value.
+func (s *ScheduledInstanceAvailability) SetNetworkPlatform(v string) *ScheduledInstanceAvailability {
+ s.NetworkPlatform = &v
+ return s
+}
+
+// SetPlatform sets the Platform field's value.
+func (s *ScheduledInstanceAvailability) SetPlatform(v string) *ScheduledInstanceAvailability {
+ s.Platform = &v
+ return s
+}
+
+// SetPurchaseToken sets the PurchaseToken field's value.
+func (s *ScheduledInstanceAvailability) SetPurchaseToken(v string) *ScheduledInstanceAvailability {
+ s.PurchaseToken = &v
+ return s
+}
+
+// SetRecurrence sets the Recurrence field's value.
+func (s *ScheduledInstanceAvailability) SetRecurrence(v *ScheduledInstanceRecurrence) *ScheduledInstanceAvailability {
+ s.Recurrence = v
+ return s
+}
+
+// SetSlotDurationInHours sets the SlotDurationInHours field's value.
+func (s *ScheduledInstanceAvailability) SetSlotDurationInHours(v int64) *ScheduledInstanceAvailability {
+ s.SlotDurationInHours = &v
+ return s
+}
+
+// SetTotalScheduledInstanceHours sets the TotalScheduledInstanceHours field's value.
+func (s *ScheduledInstanceAvailability) SetTotalScheduledInstanceHours(v int64) *ScheduledInstanceAvailability {
+ s.TotalScheduledInstanceHours = &v
+ return s
+}
+
// Describes the recurring schedule for a Scheduled Instance.
type ScheduledInstanceRecurrence struct {
_ struct{} `type:"structure"`
@@ -33697,6 +44035,36 @@ func (s ScheduledInstanceRecurrence) GoString() string {
return s.String()
}
+// SetFrequency sets the Frequency field's value.
+func (s *ScheduledInstanceRecurrence) SetFrequency(v string) *ScheduledInstanceRecurrence {
+ s.Frequency = &v
+ return s
+}
+
+// SetInterval sets the Interval field's value.
+func (s *ScheduledInstanceRecurrence) SetInterval(v int64) *ScheduledInstanceRecurrence {
+ s.Interval = &v
+ return s
+}
+
+// SetOccurrenceDaySet sets the OccurrenceDaySet field's value.
+func (s *ScheduledInstanceRecurrence) SetOccurrenceDaySet(v []*int64) *ScheduledInstanceRecurrence {
+ s.OccurrenceDaySet = v
+ return s
+}
+
+// SetOccurrenceRelativeToEnd sets the OccurrenceRelativeToEnd field's value.
+func (s *ScheduledInstanceRecurrence) SetOccurrenceRelativeToEnd(v bool) *ScheduledInstanceRecurrence {
+ s.OccurrenceRelativeToEnd = &v
+ return s
+}
+
+// SetOccurrenceUnit sets the OccurrenceUnit field's value.
+func (s *ScheduledInstanceRecurrence) SetOccurrenceUnit(v string) *ScheduledInstanceRecurrence {
+ s.OccurrenceUnit = &v
+ return s
+}
+
// Describes the recurring schedule for a Scheduled Instance.
type ScheduledInstanceRecurrenceRequest struct {
_ struct{} `type:"structure"`
@@ -33734,6 +44102,36 @@ func (s ScheduledInstanceRecurrenceRequest) GoString() string {
return s.String()
}
+// SetFrequency sets the Frequency field's value.
+func (s *ScheduledInstanceRecurrenceRequest) SetFrequency(v string) *ScheduledInstanceRecurrenceRequest {
+ s.Frequency = &v
+ return s
+}
+
+// SetInterval sets the Interval field's value.
+func (s *ScheduledInstanceRecurrenceRequest) SetInterval(v int64) *ScheduledInstanceRecurrenceRequest {
+ s.Interval = &v
+ return s
+}
+
+// SetOccurrenceDays sets the OccurrenceDays field's value.
+func (s *ScheduledInstanceRecurrenceRequest) SetOccurrenceDays(v []*int64) *ScheduledInstanceRecurrenceRequest {
+ s.OccurrenceDays = v
+ return s
+}
+
+// SetOccurrenceRelativeToEnd sets the OccurrenceRelativeToEnd field's value.
+func (s *ScheduledInstanceRecurrenceRequest) SetOccurrenceRelativeToEnd(v bool) *ScheduledInstanceRecurrenceRequest {
+ s.OccurrenceRelativeToEnd = &v
+ return s
+}
+
+// SetOccurrenceUnit sets the OccurrenceUnit field's value.
+func (s *ScheduledInstanceRecurrenceRequest) SetOccurrenceUnit(v string) *ScheduledInstanceRecurrenceRequest {
+ s.OccurrenceUnit = &v
+ return s
+}
+
// Describes a block device mapping for a Scheduled Instance.
type ScheduledInstancesBlockDeviceMapping struct {
_ struct{} `type:"structure"`
@@ -33772,6 +44170,30 @@ func (s ScheduledInstancesBlockDeviceMapping) GoString() string {
return s.String()
}
+// SetDeviceName sets the DeviceName field's value.
+func (s *ScheduledInstancesBlockDeviceMapping) SetDeviceName(v string) *ScheduledInstancesBlockDeviceMapping {
+ s.DeviceName = &v
+ return s
+}
+
+// SetEbs sets the Ebs field's value.
+func (s *ScheduledInstancesBlockDeviceMapping) SetEbs(v *ScheduledInstancesEbs) *ScheduledInstancesBlockDeviceMapping {
+ s.Ebs = v
+ return s
+}
+
+// SetNoDevice sets the NoDevice field's value.
+func (s *ScheduledInstancesBlockDeviceMapping) SetNoDevice(v string) *ScheduledInstancesBlockDeviceMapping {
+ s.NoDevice = &v
+ return s
+}
+
+// SetVirtualName sets the VirtualName field's value.
+func (s *ScheduledInstancesBlockDeviceMapping) SetVirtualName(v string) *ScheduledInstancesBlockDeviceMapping {
+ s.VirtualName = &v
+ return s
+}
+
// Describes an EBS volume for a Scheduled Instance.
type ScheduledInstancesEbs struct {
_ struct{} `type:"structure"`
@@ -33824,6 +44246,42 @@ func (s ScheduledInstancesEbs) GoString() string {
return s.String()
}
+// SetDeleteOnTermination sets the DeleteOnTermination field's value.
+func (s *ScheduledInstancesEbs) SetDeleteOnTermination(v bool) *ScheduledInstancesEbs {
+ s.DeleteOnTermination = &v
+ return s
+}
+
+// SetEncrypted sets the Encrypted field's value.
+func (s *ScheduledInstancesEbs) SetEncrypted(v bool) *ScheduledInstancesEbs {
+ s.Encrypted = &v
+ return s
+}
+
+// SetIops sets the Iops field's value.
+func (s *ScheduledInstancesEbs) SetIops(v int64) *ScheduledInstancesEbs {
+ s.Iops = &v
+ return s
+}
+
+// SetSnapshotId sets the SnapshotId field's value.
+func (s *ScheduledInstancesEbs) SetSnapshotId(v string) *ScheduledInstancesEbs {
+ s.SnapshotId = &v
+ return s
+}
+
+// SetVolumeSize sets the VolumeSize field's value.
+func (s *ScheduledInstancesEbs) SetVolumeSize(v int64) *ScheduledInstancesEbs {
+ s.VolumeSize = &v
+ return s
+}
+
+// SetVolumeType sets the VolumeType field's value.
+func (s *ScheduledInstancesEbs) SetVolumeType(v string) *ScheduledInstancesEbs {
+ s.VolumeType = &v
+ return s
+}
+
// Describes an IAM instance profile for a Scheduled Instance.
type ScheduledInstancesIamInstanceProfile struct {
_ struct{} `type:"structure"`
@@ -33845,6 +44303,18 @@ func (s ScheduledInstancesIamInstanceProfile) GoString() string {
return s.String()
}
+// SetArn sets the Arn field's value.
+func (s *ScheduledInstancesIamInstanceProfile) SetArn(v string) *ScheduledInstancesIamInstanceProfile {
+ s.Arn = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *ScheduledInstancesIamInstanceProfile) SetName(v string) *ScheduledInstancesIamInstanceProfile {
+ s.Name = &v
+ return s
+}
+
// Describes the launch specification for a Scheduled Instance.
//
// If you are launching the Scheduled Instance in EC2-VPC, you must specify
@@ -33927,6 +44397,90 @@ func (s *ScheduledInstancesLaunchSpecification) Validate() error {
return nil
}
+// SetBlockDeviceMappings sets the BlockDeviceMappings field's value.
+func (s *ScheduledInstancesLaunchSpecification) SetBlockDeviceMappings(v []*ScheduledInstancesBlockDeviceMapping) *ScheduledInstancesLaunchSpecification {
+ s.BlockDeviceMappings = v
+ return s
+}
+
+// SetEbsOptimized sets the EbsOptimized field's value.
+func (s *ScheduledInstancesLaunchSpecification) SetEbsOptimized(v bool) *ScheduledInstancesLaunchSpecification {
+ s.EbsOptimized = &v
+ return s
+}
+
+// SetIamInstanceProfile sets the IamInstanceProfile field's value.
+func (s *ScheduledInstancesLaunchSpecification) SetIamInstanceProfile(v *ScheduledInstancesIamInstanceProfile) *ScheduledInstancesLaunchSpecification {
+ s.IamInstanceProfile = v
+ return s
+}
+
+// SetImageId sets the ImageId field's value.
+func (s *ScheduledInstancesLaunchSpecification) SetImageId(v string) *ScheduledInstancesLaunchSpecification {
+ s.ImageId = &v
+ return s
+}
+
+// SetInstanceType sets the InstanceType field's value.
+func (s *ScheduledInstancesLaunchSpecification) SetInstanceType(v string) *ScheduledInstancesLaunchSpecification {
+ s.InstanceType = &v
+ return s
+}
+
+// SetKernelId sets the KernelId field's value.
+func (s *ScheduledInstancesLaunchSpecification) SetKernelId(v string) *ScheduledInstancesLaunchSpecification {
+ s.KernelId = &v
+ return s
+}
+
+// SetKeyName sets the KeyName field's value.
+func (s *ScheduledInstancesLaunchSpecification) SetKeyName(v string) *ScheduledInstancesLaunchSpecification {
+ s.KeyName = &v
+ return s
+}
+
+// SetMonitoring sets the Monitoring field's value.
+func (s *ScheduledInstancesLaunchSpecification) SetMonitoring(v *ScheduledInstancesMonitoring) *ScheduledInstancesLaunchSpecification {
+ s.Monitoring = v
+ return s
+}
+
+// SetNetworkInterfaces sets the NetworkInterfaces field's value.
+func (s *ScheduledInstancesLaunchSpecification) SetNetworkInterfaces(v []*ScheduledInstancesNetworkInterface) *ScheduledInstancesLaunchSpecification {
+ s.NetworkInterfaces = v
+ return s
+}
+
+// SetPlacement sets the Placement field's value.
+func (s *ScheduledInstancesLaunchSpecification) SetPlacement(v *ScheduledInstancesPlacement) *ScheduledInstancesLaunchSpecification {
+ s.Placement = v
+ return s
+}
+
+// SetRamdiskId sets the RamdiskId field's value.
+func (s *ScheduledInstancesLaunchSpecification) SetRamdiskId(v string) *ScheduledInstancesLaunchSpecification {
+ s.RamdiskId = &v
+ return s
+}
+
+// SetSecurityGroupIds sets the SecurityGroupIds field's value.
+func (s *ScheduledInstancesLaunchSpecification) SetSecurityGroupIds(v []*string) *ScheduledInstancesLaunchSpecification {
+ s.SecurityGroupIds = v
+ return s
+}
+
+// SetSubnetId sets the SubnetId field's value.
+func (s *ScheduledInstancesLaunchSpecification) SetSubnetId(v string) *ScheduledInstancesLaunchSpecification {
+ s.SubnetId = &v
+ return s
+}
+
+// SetUserData sets the UserData field's value.
+func (s *ScheduledInstancesLaunchSpecification) SetUserData(v string) *ScheduledInstancesLaunchSpecification {
+ s.UserData = &v
+ return s
+}
+
// Describes whether monitoring is enabled for a Scheduled Instance.
type ScheduledInstancesMonitoring struct {
_ struct{} `type:"structure"`
@@ -33945,6 +44499,12 @@ func (s ScheduledInstancesMonitoring) GoString() string {
return s.String()
}
+// SetEnabled sets the Enabled field's value.
+func (s *ScheduledInstancesMonitoring) SetEnabled(v bool) *ScheduledInstancesMonitoring {
+ s.Enabled = &v
+ return s
+}
+
// Describes a network interface for a Scheduled Instance.
type ScheduledInstancesNetworkInterface struct {
_ struct{} `type:"structure"`
@@ -33994,6 +44554,66 @@ func (s ScheduledInstancesNetworkInterface) GoString() string {
return s.String()
}
+// SetAssociatePublicIpAddress sets the AssociatePublicIpAddress field's value.
+func (s *ScheduledInstancesNetworkInterface) SetAssociatePublicIpAddress(v bool) *ScheduledInstancesNetworkInterface {
+ s.AssociatePublicIpAddress = &v
+ return s
+}
+
+// SetDeleteOnTermination sets the DeleteOnTermination field's value.
+func (s *ScheduledInstancesNetworkInterface) SetDeleteOnTermination(v bool) *ScheduledInstancesNetworkInterface {
+ s.DeleteOnTermination = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *ScheduledInstancesNetworkInterface) SetDescription(v string) *ScheduledInstancesNetworkInterface {
+ s.Description = &v
+ return s
+}
+
+// SetDeviceIndex sets the DeviceIndex field's value.
+func (s *ScheduledInstancesNetworkInterface) SetDeviceIndex(v int64) *ScheduledInstancesNetworkInterface {
+ s.DeviceIndex = &v
+ return s
+}
+
+// SetGroups sets the Groups field's value.
+func (s *ScheduledInstancesNetworkInterface) SetGroups(v []*string) *ScheduledInstancesNetworkInterface {
+ s.Groups = v
+ return s
+}
+
+// SetNetworkInterfaceId sets the NetworkInterfaceId field's value.
+func (s *ScheduledInstancesNetworkInterface) SetNetworkInterfaceId(v string) *ScheduledInstancesNetworkInterface {
+ s.NetworkInterfaceId = &v
+ return s
+}
+
+// SetPrivateIpAddress sets the PrivateIpAddress field's value.
+func (s *ScheduledInstancesNetworkInterface) SetPrivateIpAddress(v string) *ScheduledInstancesNetworkInterface {
+ s.PrivateIpAddress = &v
+ return s
+}
+
+// SetPrivateIpAddressConfigs sets the PrivateIpAddressConfigs field's value.
+func (s *ScheduledInstancesNetworkInterface) SetPrivateIpAddressConfigs(v []*ScheduledInstancesPrivateIpAddressConfig) *ScheduledInstancesNetworkInterface {
+ s.PrivateIpAddressConfigs = v
+ return s
+}
+
+// SetSecondaryPrivateIpAddressCount sets the SecondaryPrivateIpAddressCount field's value.
+func (s *ScheduledInstancesNetworkInterface) SetSecondaryPrivateIpAddressCount(v int64) *ScheduledInstancesNetworkInterface {
+ s.SecondaryPrivateIpAddressCount = &v
+ return s
+}
+
+// SetSubnetId sets the SubnetId field's value.
+func (s *ScheduledInstancesNetworkInterface) SetSubnetId(v string) *ScheduledInstancesNetworkInterface {
+ s.SubnetId = &v
+ return s
+}
+
// Describes the placement for a Scheduled Instance.
type ScheduledInstancesPlacement struct {
_ struct{} `type:"structure"`
@@ -34015,6 +44635,18 @@ func (s ScheduledInstancesPlacement) GoString() string {
return s.String()
}
+// SetAvailabilityZone sets the AvailabilityZone field's value.
+func (s *ScheduledInstancesPlacement) SetAvailabilityZone(v string) *ScheduledInstancesPlacement {
+ s.AvailabilityZone = &v
+ return s
+}
+
+// SetGroupName sets the GroupName field's value.
+func (s *ScheduledInstancesPlacement) SetGroupName(v string) *ScheduledInstancesPlacement {
+ s.GroupName = &v
+ return s
+}
+
// Describes a private IP address for a Scheduled Instance.
type ScheduledInstancesPrivateIpAddressConfig struct {
_ struct{} `type:"structure"`
@@ -34037,6 +44669,18 @@ func (s ScheduledInstancesPrivateIpAddressConfig) GoString() string {
return s.String()
}
+// SetPrimary sets the Primary field's value.
+func (s *ScheduledInstancesPrivateIpAddressConfig) SetPrimary(v bool) *ScheduledInstancesPrivateIpAddressConfig {
+ s.Primary = &v
+ return s
+}
+
+// SetPrivateIpAddress sets the PrivateIpAddress field's value.
+func (s *ScheduledInstancesPrivateIpAddressConfig) SetPrivateIpAddress(v string) *ScheduledInstancesPrivateIpAddressConfig {
+ s.PrivateIpAddress = &v
+ return s
+}
+
// Describes a security group
type SecurityGroup struct {
_ struct{} `type:"structure"`
@@ -34076,6 +44720,54 @@ func (s SecurityGroup) GoString() string {
return s.String()
}
+// SetDescription sets the Description field's value.
+func (s *SecurityGroup) SetDescription(v string) *SecurityGroup {
+ s.Description = &v
+ return s
+}
+
+// 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
+}
+
+// SetIpPermissions sets the IpPermissions field's value.
+func (s *SecurityGroup) SetIpPermissions(v []*IpPermission) *SecurityGroup {
+ s.IpPermissions = v
+ return s
+}
+
+// SetIpPermissionsEgress sets the IpPermissionsEgress field's value.
+func (s *SecurityGroup) SetIpPermissionsEgress(v []*IpPermission) *SecurityGroup {
+ s.IpPermissionsEgress = v
+ return s
+}
+
+// SetOwnerId sets the OwnerId field's value.
+func (s *SecurityGroup) SetOwnerId(v string) *SecurityGroup {
+ s.OwnerId = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *SecurityGroup) SetTags(v []*Tag) *SecurityGroup {
+ s.Tags = v
+ return s
+}
+
+// SetVpcId sets the VpcId field's value.
+func (s *SecurityGroup) SetVpcId(v string) *SecurityGroup {
+ s.VpcId = &v
+ return s
+}
+
// Describes a VPC with a security group that references your security group.
type SecurityGroupReference struct {
_ struct{} `type:"structure"`
@@ -34104,6 +44796,24 @@ func (s SecurityGroupReference) GoString() string {
return s.String()
}
+// SetGroupId sets the GroupId field's value.
+func (s *SecurityGroupReference) SetGroupId(v string) *SecurityGroupReference {
+ s.GroupId = &v
+ return s
+}
+
+// SetReferencingVpcId sets the ReferencingVpcId field's value.
+func (s *SecurityGroupReference) SetReferencingVpcId(v string) *SecurityGroupReference {
+ s.ReferencingVpcId = &v
+ return s
+}
+
+// SetVpcPeeringConnectionId sets the VpcPeeringConnectionId field's value.
+func (s *SecurityGroupReference) SetVpcPeeringConnectionId(v string) *SecurityGroupReference {
+ s.VpcPeeringConnectionId = &v
+ return s
+}
+
// Describes the time period for a Scheduled Instance to start its first schedule.
// The time period must span less than one day.
type SlotDateTimeRangeRequest struct {
@@ -34148,6 +44858,18 @@ func (s *SlotDateTimeRangeRequest) Validate() error {
return nil
}
+// SetEarliestTime sets the EarliestTime field's value.
+func (s *SlotDateTimeRangeRequest) SetEarliestTime(v time.Time) *SlotDateTimeRangeRequest {
+ s.EarliestTime = &v
+ return s
+}
+
+// SetLatestTime sets the LatestTime field's value.
+func (s *SlotDateTimeRangeRequest) SetLatestTime(v time.Time) *SlotDateTimeRangeRequest {
+ s.LatestTime = &v
+ return s
+}
+
// Describes the time period for a Scheduled Instance to start its first schedule.
type SlotStartTimeRangeRequest struct {
_ struct{} `type:"structure"`
@@ -34169,6 +44891,18 @@ func (s SlotStartTimeRangeRequest) GoString() string {
return s.String()
}
+// SetEarliestTime sets the EarliestTime field's value.
+func (s *SlotStartTimeRangeRequest) SetEarliestTime(v time.Time) *SlotStartTimeRangeRequest {
+ s.EarliestTime = &v
+ return s
+}
+
+// SetLatestTime sets the LatestTime field's value.
+func (s *SlotStartTimeRangeRequest) SetLatestTime(v time.Time) *SlotStartTimeRangeRequest {
+ s.LatestTime = &v
+ return s
+}
+
// Describes a snapshot.
type Snapshot struct {
_ struct{} `type:"structure"`
@@ -34242,6 +44976,90 @@ func (s Snapshot) GoString() string {
return s.String()
}
+// SetDataEncryptionKeyId sets the DataEncryptionKeyId field's value.
+func (s *Snapshot) SetDataEncryptionKeyId(v string) *Snapshot {
+ s.DataEncryptionKeyId = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *Snapshot) SetDescription(v string) *Snapshot {
+ s.Description = &v
+ return s
+}
+
+// SetEncrypted sets the Encrypted field's value.
+func (s *Snapshot) SetEncrypted(v bool) *Snapshot {
+ s.Encrypted = &v
+ return s
+}
+
+// SetKmsKeyId sets the KmsKeyId field's value.
+func (s *Snapshot) SetKmsKeyId(v string) *Snapshot {
+ s.KmsKeyId = &v
+ return s
+}
+
+// SetOwnerAlias sets the OwnerAlias field's value.
+func (s *Snapshot) SetOwnerAlias(v string) *Snapshot {
+ s.OwnerAlias = &v
+ return s
+}
+
+// SetOwnerId sets the OwnerId field's value.
+func (s *Snapshot) SetOwnerId(v string) *Snapshot {
+ s.OwnerId = &v
+ return s
+}
+
+// SetProgress sets the Progress field's value.
+func (s *Snapshot) SetProgress(v string) *Snapshot {
+ s.Progress = &v
+ return s
+}
+
+// SetSnapshotId sets the SnapshotId field's value.
+func (s *Snapshot) SetSnapshotId(v string) *Snapshot {
+ s.SnapshotId = &v
+ return s
+}
+
+// SetStartTime sets the StartTime field's value.
+func (s *Snapshot) SetStartTime(v time.Time) *Snapshot {
+ s.StartTime = &v
+ return s
+}
+
+// SetState sets the State field's value.
+func (s *Snapshot) SetState(v string) *Snapshot {
+ s.State = &v
+ return s
+}
+
+// SetStateMessage sets the StateMessage field's value.
+func (s *Snapshot) SetStateMessage(v string) *Snapshot {
+ s.StateMessage = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *Snapshot) SetTags(v []*Tag) *Snapshot {
+ s.Tags = v
+ return s
+}
+
+// SetVolumeId sets the VolumeId field's value.
+func (s *Snapshot) SetVolumeId(v string) *Snapshot {
+ s.VolumeId = &v
+ return s
+}
+
+// SetVolumeSize sets the VolumeSize field's value.
+func (s *Snapshot) SetVolumeSize(v int64) *Snapshot {
+ s.VolumeSize = &v
+ return s
+}
+
// Describes the snapshot created from the imported disk.
type SnapshotDetail struct {
_ struct{} `type:"structure"`
@@ -34270,21 +45088,81 @@ type SnapshotDetail struct {
// A detailed status message for the snapshot creation.
StatusMessage *string `locationName:"statusMessage" type:"string"`
- // The URL used to access the disk image.
- Url *string `locationName:"url" type:"string"`
+ // The URL used to access the disk image.
+ Url *string `locationName:"url" type:"string"`
+
+ // The S3 bucket for the disk image.
+ UserBucket *UserBucketDetails `locationName:"userBucket" type:"structure"`
+}
+
+// String returns the string representation
+func (s SnapshotDetail) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s SnapshotDetail) GoString() string {
+ return s.String()
+}
+
+// SetDescription sets the Description field's value.
+func (s *SnapshotDetail) SetDescription(v string) *SnapshotDetail {
+ s.Description = &v
+ return s
+}
+
+// SetDeviceName sets the DeviceName field's value.
+func (s *SnapshotDetail) SetDeviceName(v string) *SnapshotDetail {
+ s.DeviceName = &v
+ return s
+}
+
+// SetDiskImageSize sets the DiskImageSize field's value.
+func (s *SnapshotDetail) SetDiskImageSize(v float64) *SnapshotDetail {
+ s.DiskImageSize = &v
+ return s
+}
+
+// SetFormat sets the Format field's value.
+func (s *SnapshotDetail) SetFormat(v string) *SnapshotDetail {
+ s.Format = &v
+ return s
+}
+
+// SetProgress sets the Progress field's value.
+func (s *SnapshotDetail) SetProgress(v string) *SnapshotDetail {
+ s.Progress = &v
+ return s
+}
+
+// SetSnapshotId sets the SnapshotId field's value.
+func (s *SnapshotDetail) SetSnapshotId(v string) *SnapshotDetail {
+ s.SnapshotId = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *SnapshotDetail) SetStatus(v string) *SnapshotDetail {
+ s.Status = &v
+ return s
+}
- // The S3 bucket for the disk image.
- UserBucket *UserBucketDetails `locationName:"userBucket" type:"structure"`
+// SetStatusMessage sets the StatusMessage field's value.
+func (s *SnapshotDetail) SetStatusMessage(v string) *SnapshotDetail {
+ s.StatusMessage = &v
+ return s
}
-// String returns the string representation
-func (s SnapshotDetail) String() string {
- return awsutil.Prettify(s)
+// SetUrl sets the Url field's value.
+func (s *SnapshotDetail) SetUrl(v string) *SnapshotDetail {
+ s.Url = &v
+ return s
}
-// GoString returns the string representation
-func (s SnapshotDetail) GoString() string {
- return s.String()
+// SetUserBucket sets the UserBucket field's value.
+func (s *SnapshotDetail) SetUserBucket(v *UserBucketDetails) *SnapshotDetail {
+ s.UserBucket = v
+ return s
}
// The disk container object for the import snapshot request.
@@ -34317,6 +45195,30 @@ func (s SnapshotDiskContainer) GoString() string {
return s.String()
}
+// SetDescription sets the Description field's value.
+func (s *SnapshotDiskContainer) SetDescription(v string) *SnapshotDiskContainer {
+ s.Description = &v
+ return s
+}
+
+// SetFormat sets the Format field's value.
+func (s *SnapshotDiskContainer) SetFormat(v string) *SnapshotDiskContainer {
+ s.Format = &v
+ return s
+}
+
+// SetUrl sets the Url field's value.
+func (s *SnapshotDiskContainer) SetUrl(v string) *SnapshotDiskContainer {
+ s.Url = &v
+ return s
+}
+
+// SetUserBucket sets the UserBucket field's value.
+func (s *SnapshotDiskContainer) SetUserBucket(v *UserBucket) *SnapshotDiskContainer {
+ s.UserBucket = v
+ return s
+}
+
// Details about the import snapshot task.
type SnapshotTaskDetail struct {
_ struct{} `type:"structure"`
@@ -34359,6 +45261,60 @@ func (s SnapshotTaskDetail) GoString() string {
return s.String()
}
+// SetDescription sets the Description field's value.
+func (s *SnapshotTaskDetail) SetDescription(v string) *SnapshotTaskDetail {
+ s.Description = &v
+ return s
+}
+
+// SetDiskImageSize sets the DiskImageSize field's value.
+func (s *SnapshotTaskDetail) SetDiskImageSize(v float64) *SnapshotTaskDetail {
+ s.DiskImageSize = &v
+ return s
+}
+
+// SetFormat sets the Format field's value.
+func (s *SnapshotTaskDetail) SetFormat(v string) *SnapshotTaskDetail {
+ s.Format = &v
+ return s
+}
+
+// SetProgress sets the Progress field's value.
+func (s *SnapshotTaskDetail) SetProgress(v string) *SnapshotTaskDetail {
+ s.Progress = &v
+ return s
+}
+
+// SetSnapshotId sets the SnapshotId field's value.
+func (s *SnapshotTaskDetail) SetSnapshotId(v string) *SnapshotTaskDetail {
+ s.SnapshotId = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *SnapshotTaskDetail) SetStatus(v string) *SnapshotTaskDetail {
+ s.Status = &v
+ return s
+}
+
+// SetStatusMessage sets the StatusMessage field's value.
+func (s *SnapshotTaskDetail) SetStatusMessage(v string) *SnapshotTaskDetail {
+ s.StatusMessage = &v
+ return s
+}
+
+// SetUrl sets the Url field's value.
+func (s *SnapshotTaskDetail) SetUrl(v string) *SnapshotTaskDetail {
+ s.Url = &v
+ return s
+}
+
+// SetUserBucket sets the UserBucket field's value.
+func (s *SnapshotTaskDetail) SetUserBucket(v *UserBucketDetails) *SnapshotTaskDetail {
+ s.UserBucket = v
+ return s
+}
+
// Describes the data feed for a Spot instance.
type SpotDatafeedSubscription struct {
_ struct{} `type:"structure"`
@@ -34389,6 +45345,36 @@ func (s SpotDatafeedSubscription) GoString() string {
return s.String()
}
+// SetBucket sets the Bucket field's value.
+func (s *SpotDatafeedSubscription) SetBucket(v string) *SpotDatafeedSubscription {
+ s.Bucket = &v
+ return s
+}
+
+// SetFault sets the Fault field's value.
+func (s *SpotDatafeedSubscription) SetFault(v *SpotInstanceStateFault) *SpotDatafeedSubscription {
+ s.Fault = v
+ return s
+}
+
+// SetOwnerId sets the OwnerId field's value.
+func (s *SpotDatafeedSubscription) SetOwnerId(v string) *SpotDatafeedSubscription {
+ s.OwnerId = &v
+ return s
+}
+
+// SetPrefix sets the Prefix field's value.
+func (s *SpotDatafeedSubscription) SetPrefix(v string) *SpotDatafeedSubscription {
+ s.Prefix = &v
+ return s
+}
+
+// SetState sets the State field's value.
+func (s *SpotDatafeedSubscription) SetState(v string) *SpotDatafeedSubscription {
+ s.State = &v
+ return s
+}
+
// Describes the launch specification for one or more Spot instances.
type SpotFleetLaunchSpecification struct {
_ struct{} `type:"structure"`
@@ -34495,6 +45481,108 @@ func (s *SpotFleetLaunchSpecification) Validate() error {
return nil
}
+// SetAddressingType sets the AddressingType field's value.
+func (s *SpotFleetLaunchSpecification) SetAddressingType(v string) *SpotFleetLaunchSpecification {
+ s.AddressingType = &v
+ return s
+}
+
+// SetBlockDeviceMappings sets the BlockDeviceMappings field's value.
+func (s *SpotFleetLaunchSpecification) SetBlockDeviceMappings(v []*BlockDeviceMapping) *SpotFleetLaunchSpecification {
+ s.BlockDeviceMappings = v
+ return s
+}
+
+// SetEbsOptimized sets the EbsOptimized field's value.
+func (s *SpotFleetLaunchSpecification) SetEbsOptimized(v bool) *SpotFleetLaunchSpecification {
+ s.EbsOptimized = &v
+ return s
+}
+
+// SetIamInstanceProfile sets the IamInstanceProfile field's value.
+func (s *SpotFleetLaunchSpecification) SetIamInstanceProfile(v *IamInstanceProfileSpecification) *SpotFleetLaunchSpecification {
+ s.IamInstanceProfile = v
+ return s
+}
+
+// SetImageId sets the ImageId field's value.
+func (s *SpotFleetLaunchSpecification) SetImageId(v string) *SpotFleetLaunchSpecification {
+ s.ImageId = &v
+ return s
+}
+
+// SetInstanceType sets the InstanceType field's value.
+func (s *SpotFleetLaunchSpecification) SetInstanceType(v string) *SpotFleetLaunchSpecification {
+ s.InstanceType = &v
+ return s
+}
+
+// SetKernelId sets the KernelId field's value.
+func (s *SpotFleetLaunchSpecification) SetKernelId(v string) *SpotFleetLaunchSpecification {
+ s.KernelId = &v
+ return s
+}
+
+// SetKeyName sets the KeyName field's value.
+func (s *SpotFleetLaunchSpecification) SetKeyName(v string) *SpotFleetLaunchSpecification {
+ s.KeyName = &v
+ return s
+}
+
+// SetMonitoring sets the Monitoring field's value.
+func (s *SpotFleetLaunchSpecification) SetMonitoring(v *SpotFleetMonitoring) *SpotFleetLaunchSpecification {
+ s.Monitoring = v
+ return s
+}
+
+// SetNetworkInterfaces sets the NetworkInterfaces field's value.
+func (s *SpotFleetLaunchSpecification) SetNetworkInterfaces(v []*InstanceNetworkInterfaceSpecification) *SpotFleetLaunchSpecification {
+ s.NetworkInterfaces = v
+ return s
+}
+
+// SetPlacement sets the Placement field's value.
+func (s *SpotFleetLaunchSpecification) SetPlacement(v *SpotPlacement) *SpotFleetLaunchSpecification {
+ s.Placement = v
+ return s
+}
+
+// SetRamdiskId sets the RamdiskId field's value.
+func (s *SpotFleetLaunchSpecification) SetRamdiskId(v string) *SpotFleetLaunchSpecification {
+ s.RamdiskId = &v
+ return s
+}
+
+// SetSecurityGroups sets the SecurityGroups field's value.
+func (s *SpotFleetLaunchSpecification) SetSecurityGroups(v []*GroupIdentifier) *SpotFleetLaunchSpecification {
+ s.SecurityGroups = v
+ return s
+}
+
+// SetSpotPrice sets the SpotPrice field's value.
+func (s *SpotFleetLaunchSpecification) SetSpotPrice(v string) *SpotFleetLaunchSpecification {
+ s.SpotPrice = &v
+ return s
+}
+
+// SetSubnetId sets the SubnetId field's value.
+func (s *SpotFleetLaunchSpecification) SetSubnetId(v string) *SpotFleetLaunchSpecification {
+ s.SubnetId = &v
+ return s
+}
+
+// SetUserData sets the UserData field's value.
+func (s *SpotFleetLaunchSpecification) SetUserData(v string) *SpotFleetLaunchSpecification {
+ s.UserData = &v
+ return s
+}
+
+// SetWeightedCapacity sets the WeightedCapacity field's value.
+func (s *SpotFleetLaunchSpecification) SetWeightedCapacity(v float64) *SpotFleetLaunchSpecification {
+ s.WeightedCapacity = &v
+ return s
+}
+
// Describes whether monitoring is enabled.
type SpotFleetMonitoring struct {
_ struct{} `type:"structure"`
@@ -34515,6 +45603,12 @@ func (s SpotFleetMonitoring) GoString() string {
return s.String()
}
+// SetEnabled sets the Enabled field's value.
+func (s *SpotFleetMonitoring) SetEnabled(v bool) *SpotFleetMonitoring {
+ s.Enabled = &v
+ return s
+}
+
// Describes a Spot fleet request.
type SpotFleetRequestConfig struct {
_ struct{} `type:"structure"`
@@ -34557,6 +45651,36 @@ func (s SpotFleetRequestConfig) GoString() string {
return s.String()
}
+// SetActivityStatus sets the ActivityStatus field's value.
+func (s *SpotFleetRequestConfig) SetActivityStatus(v string) *SpotFleetRequestConfig {
+ s.ActivityStatus = &v
+ return s
+}
+
+// SetCreateTime sets the CreateTime field's value.
+func (s *SpotFleetRequestConfig) SetCreateTime(v time.Time) *SpotFleetRequestConfig {
+ s.CreateTime = &v
+ return s
+}
+
+// SetSpotFleetRequestConfig sets the SpotFleetRequestConfig field's value.
+func (s *SpotFleetRequestConfig) SetSpotFleetRequestConfig(v *SpotFleetRequestConfigData) *SpotFleetRequestConfig {
+ s.SpotFleetRequestConfig = v
+ return s
+}
+
+// SetSpotFleetRequestId sets the SpotFleetRequestId field's value.
+func (s *SpotFleetRequestConfig) SetSpotFleetRequestId(v string) *SpotFleetRequestConfig {
+ s.SpotFleetRequestId = &v
+ return s
+}
+
+// SetSpotFleetRequestState sets the SpotFleetRequestState field's value.
+func (s *SpotFleetRequestConfig) SetSpotFleetRequestState(v string) *SpotFleetRequestConfig {
+ s.SpotFleetRequestState = &v
+ return s
+}
+
// Describes the configuration of a Spot fleet request.
type SpotFleetRequestConfigData struct {
_ struct{} `type:"structure"`
@@ -34672,6 +45796,78 @@ func (s *SpotFleetRequestConfigData) Validate() error {
return nil
}
+// SetAllocationStrategy sets the AllocationStrategy field's value.
+func (s *SpotFleetRequestConfigData) SetAllocationStrategy(v string) *SpotFleetRequestConfigData {
+ s.AllocationStrategy = &v
+ return s
+}
+
+// SetClientToken sets the ClientToken field's value.
+func (s *SpotFleetRequestConfigData) SetClientToken(v string) *SpotFleetRequestConfigData {
+ s.ClientToken = &v
+ return s
+}
+
+// SetExcessCapacityTerminationPolicy sets the ExcessCapacityTerminationPolicy field's value.
+func (s *SpotFleetRequestConfigData) SetExcessCapacityTerminationPolicy(v string) *SpotFleetRequestConfigData {
+ s.ExcessCapacityTerminationPolicy = &v
+ return s
+}
+
+// SetFulfilledCapacity sets the FulfilledCapacity field's value.
+func (s *SpotFleetRequestConfigData) SetFulfilledCapacity(v float64) *SpotFleetRequestConfigData {
+ s.FulfilledCapacity = &v
+ return s
+}
+
+// SetIamFleetRole sets the IamFleetRole field's value.
+func (s *SpotFleetRequestConfigData) SetIamFleetRole(v string) *SpotFleetRequestConfigData {
+ s.IamFleetRole = &v
+ return s
+}
+
+// SetLaunchSpecifications sets the LaunchSpecifications field's value.
+func (s *SpotFleetRequestConfigData) SetLaunchSpecifications(v []*SpotFleetLaunchSpecification) *SpotFleetRequestConfigData {
+ s.LaunchSpecifications = v
+ return s
+}
+
+// SetSpotPrice sets the SpotPrice field's value.
+func (s *SpotFleetRequestConfigData) SetSpotPrice(v string) *SpotFleetRequestConfigData {
+ s.SpotPrice = &v
+ return s
+}
+
+// SetTargetCapacity sets the TargetCapacity field's value.
+func (s *SpotFleetRequestConfigData) SetTargetCapacity(v int64) *SpotFleetRequestConfigData {
+ s.TargetCapacity = &v
+ return s
+}
+
+// SetTerminateInstancesWithExpiration sets the TerminateInstancesWithExpiration field's value.
+func (s *SpotFleetRequestConfigData) SetTerminateInstancesWithExpiration(v bool) *SpotFleetRequestConfigData {
+ s.TerminateInstancesWithExpiration = &v
+ return s
+}
+
+// SetType sets the Type field's value.
+func (s *SpotFleetRequestConfigData) SetType(v string) *SpotFleetRequestConfigData {
+ s.Type = &v
+ return s
+}
+
+// SetValidFrom sets the ValidFrom field's value.
+func (s *SpotFleetRequestConfigData) SetValidFrom(v time.Time) *SpotFleetRequestConfigData {
+ s.ValidFrom = &v
+ return s
+}
+
+// SetValidUntil sets the ValidUntil field's value.
+func (s *SpotFleetRequestConfigData) SetValidUntil(v time.Time) *SpotFleetRequestConfigData {
+ s.ValidUntil = &v
+ return s
+}
+
// Describes a Spot instance request.
type SpotInstanceRequest struct {
_ struct{} `type:"structure"`
@@ -34755,6 +45951,114 @@ func (s SpotInstanceRequest) GoString() string {
return s.String()
}
+// SetActualBlockHourlyPrice sets the ActualBlockHourlyPrice field's value.
+func (s *SpotInstanceRequest) SetActualBlockHourlyPrice(v string) *SpotInstanceRequest {
+ s.ActualBlockHourlyPrice = &v
+ return s
+}
+
+// SetAvailabilityZoneGroup sets the AvailabilityZoneGroup field's value.
+func (s *SpotInstanceRequest) SetAvailabilityZoneGroup(v string) *SpotInstanceRequest {
+ s.AvailabilityZoneGroup = &v
+ return s
+}
+
+// SetBlockDurationMinutes sets the BlockDurationMinutes field's value.
+func (s *SpotInstanceRequest) SetBlockDurationMinutes(v int64) *SpotInstanceRequest {
+ s.BlockDurationMinutes = &v
+ return s
+}
+
+// SetCreateTime sets the CreateTime field's value.
+func (s *SpotInstanceRequest) SetCreateTime(v time.Time) *SpotInstanceRequest {
+ s.CreateTime = &v
+ return s
+}
+
+// SetFault sets the Fault field's value.
+func (s *SpotInstanceRequest) SetFault(v *SpotInstanceStateFault) *SpotInstanceRequest {
+ s.Fault = v
+ return s
+}
+
+// SetInstanceId sets the InstanceId field's value.
+func (s *SpotInstanceRequest) SetInstanceId(v string) *SpotInstanceRequest {
+ s.InstanceId = &v
+ return s
+}
+
+// SetLaunchGroup sets the LaunchGroup field's value.
+func (s *SpotInstanceRequest) SetLaunchGroup(v string) *SpotInstanceRequest {
+ s.LaunchGroup = &v
+ return s
+}
+
+// SetLaunchSpecification sets the LaunchSpecification field's value.
+func (s *SpotInstanceRequest) SetLaunchSpecification(v *LaunchSpecification) *SpotInstanceRequest {
+ s.LaunchSpecification = v
+ return s
+}
+
+// SetLaunchedAvailabilityZone sets the LaunchedAvailabilityZone field's value.
+func (s *SpotInstanceRequest) SetLaunchedAvailabilityZone(v string) *SpotInstanceRequest {
+ s.LaunchedAvailabilityZone = &v
+ return s
+}
+
+// SetProductDescription sets the ProductDescription field's value.
+func (s *SpotInstanceRequest) SetProductDescription(v string) *SpotInstanceRequest {
+ s.ProductDescription = &v
+ return s
+}
+
+// SetSpotInstanceRequestId sets the SpotInstanceRequestId field's value.
+func (s *SpotInstanceRequest) SetSpotInstanceRequestId(v string) *SpotInstanceRequest {
+ s.SpotInstanceRequestId = &v
+ return s
+}
+
+// SetSpotPrice sets the SpotPrice field's value.
+func (s *SpotInstanceRequest) SetSpotPrice(v string) *SpotInstanceRequest {
+ s.SpotPrice = &v
+ return s
+}
+
+// SetState sets the State field's value.
+func (s *SpotInstanceRequest) SetState(v string) *SpotInstanceRequest {
+ s.State = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *SpotInstanceRequest) SetStatus(v *SpotInstanceStatus) *SpotInstanceRequest {
+ s.Status = v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *SpotInstanceRequest) SetTags(v []*Tag) *SpotInstanceRequest {
+ s.Tags = v
+ return s
+}
+
+// SetType sets the Type field's value.
+func (s *SpotInstanceRequest) SetType(v string) *SpotInstanceRequest {
+ s.Type = &v
+ return s
+}
+
+// SetValidFrom sets the ValidFrom field's value.
+func (s *SpotInstanceRequest) SetValidFrom(v time.Time) *SpotInstanceRequest {
+ s.ValidFrom = &v
+ return s
+}
+
+// SetValidUntil sets the ValidUntil field's value.
+func (s *SpotInstanceRequest) SetValidUntil(v time.Time) *SpotInstanceRequest {
+ s.ValidUntil = &v
+ return s
+}
+
// Describes a Spot instance state change.
type SpotInstanceStateFault struct {
_ struct{} `type:"structure"`
@@ -34776,6 +46080,18 @@ func (s SpotInstanceStateFault) GoString() string {
return s.String()
}
+// SetCode sets the Code field's value.
+func (s *SpotInstanceStateFault) SetCode(v string) *SpotInstanceStateFault {
+ s.Code = &v
+ return s
+}
+
+// SetMessage sets the Message field's value.
+func (s *SpotInstanceStateFault) SetMessage(v string) *SpotInstanceStateFault {
+ s.Message = &v
+ return s
+}
+
// Describes the status of a Spot instance request.
type SpotInstanceStatus struct {
_ struct{} `type:"structure"`
@@ -34802,6 +46118,24 @@ func (s SpotInstanceStatus) GoString() string {
return s.String()
}
+// SetCode sets the Code field's value.
+func (s *SpotInstanceStatus) SetCode(v string) *SpotInstanceStatus {
+ s.Code = &v
+ return s
+}
+
+// SetMessage sets the Message field's value.
+func (s *SpotInstanceStatus) SetMessage(v string) *SpotInstanceStatus {
+ s.Message = &v
+ return s
+}
+
+// SetUpdateTime sets the UpdateTime field's value.
+func (s *SpotInstanceStatus) SetUpdateTime(v time.Time) *SpotInstanceStatus {
+ s.UpdateTime = &v
+ return s
+}
+
// Describes Spot instance placement.
type SpotPlacement struct {
_ struct{} `type:"structure"`
@@ -34826,6 +46160,18 @@ func (s SpotPlacement) GoString() string {
return s.String()
}
+// SetAvailabilityZone sets the AvailabilityZone field's value.
+func (s *SpotPlacement) SetAvailabilityZone(v string) *SpotPlacement {
+ s.AvailabilityZone = &v
+ return s
+}
+
+// SetGroupName sets the GroupName field's value.
+func (s *SpotPlacement) SetGroupName(v string) *SpotPlacement {
+ s.GroupName = &v
+ return s
+}
+
// Describes the maximum hourly price (bid) for any Spot instance launched to
// fulfill the request.
type SpotPrice struct {
@@ -34857,6 +46203,36 @@ func (s SpotPrice) GoString() string {
return s.String()
}
+// SetAvailabilityZone sets the AvailabilityZone field's value.
+func (s *SpotPrice) SetAvailabilityZone(v string) *SpotPrice {
+ s.AvailabilityZone = &v
+ return s
+}
+
+// SetInstanceType sets the InstanceType field's value.
+func (s *SpotPrice) SetInstanceType(v string) *SpotPrice {
+ s.InstanceType = &v
+ return s
+}
+
+// SetProductDescription sets the ProductDescription field's value.
+func (s *SpotPrice) SetProductDescription(v string) *SpotPrice {
+ s.ProductDescription = &v
+ return s
+}
+
+// SetSpotPrice sets the SpotPrice field's value.
+func (s *SpotPrice) SetSpotPrice(v string) *SpotPrice {
+ s.SpotPrice = &v
+ return s
+}
+
+// SetTimestamp sets the Timestamp field's value.
+func (s *SpotPrice) SetTimestamp(v time.Time) *SpotPrice {
+ s.Timestamp = &v
+ return s
+}
+
// Describes a stale rule in a security group.
type StaleIpPermission struct {
_ struct{} `type:"structure"`
@@ -34895,6 +46271,42 @@ func (s StaleIpPermission) GoString() string {
return s.String()
}
+// SetFromPort sets the FromPort field's value.
+func (s *StaleIpPermission) SetFromPort(v int64) *StaleIpPermission {
+ s.FromPort = &v
+ return s
+}
+
+// SetIpProtocol sets the IpProtocol field's value.
+func (s *StaleIpPermission) SetIpProtocol(v string) *StaleIpPermission {
+ s.IpProtocol = &v
+ return s
+}
+
+// SetIpRanges sets the IpRanges field's value.
+func (s *StaleIpPermission) SetIpRanges(v []*string) *StaleIpPermission {
+ s.IpRanges = v
+ return s
+}
+
+// SetPrefixListIds sets the PrefixListIds field's value.
+func (s *StaleIpPermission) SetPrefixListIds(v []*string) *StaleIpPermission {
+ s.PrefixListIds = v
+ return s
+}
+
+// SetToPort sets the ToPort field's value.
+func (s *StaleIpPermission) SetToPort(v int64) *StaleIpPermission {
+ s.ToPort = &v
+ return s
+}
+
+// SetUserIdGroupPairs sets the UserIdGroupPairs field's value.
+func (s *StaleIpPermission) SetUserIdGroupPairs(v []*UserIdGroupPair) *StaleIpPermission {
+ s.UserIdGroupPairs = v
+ return s
+}
+
// Describes a stale security group (a security group that contains stale rules).
type StaleSecurityGroup struct {
_ struct{} `type:"structure"`
@@ -34930,6 +46342,42 @@ func (s StaleSecurityGroup) GoString() string {
return s.String()
}
+// SetDescription sets the Description field's value.
+func (s *StaleSecurityGroup) SetDescription(v string) *StaleSecurityGroup {
+ s.Description = &v
+ return s
+}
+
+// SetGroupId sets the GroupId field's value.
+func (s *StaleSecurityGroup) SetGroupId(v string) *StaleSecurityGroup {
+ s.GroupId = &v
+ return s
+}
+
+// SetGroupName sets the GroupName field's value.
+func (s *StaleSecurityGroup) SetGroupName(v string) *StaleSecurityGroup {
+ s.GroupName = &v
+ return s
+}
+
+// SetStaleIpPermissions sets the StaleIpPermissions field's value.
+func (s *StaleSecurityGroup) SetStaleIpPermissions(v []*StaleIpPermission) *StaleSecurityGroup {
+ s.StaleIpPermissions = v
+ return s
+}
+
+// SetStaleIpPermissionsEgress sets the StaleIpPermissionsEgress field's value.
+func (s *StaleSecurityGroup) SetStaleIpPermissionsEgress(v []*StaleIpPermission) *StaleSecurityGroup {
+ s.StaleIpPermissionsEgress = v
+ return s
+}
+
+// SetVpcId sets the VpcId field's value.
+func (s *StaleSecurityGroup) SetVpcId(v string) *StaleSecurityGroup {
+ s.VpcId = &v
+ return s
+}
+
// Contains the parameters for StartInstances.
type StartInstancesInput struct {
_ struct{} `type:"structure"`
@@ -34972,6 +46420,24 @@ func (s *StartInstancesInput) Validate() error {
return nil
}
+// SetAdditionalInfo sets the AdditionalInfo field's value.
+func (s *StartInstancesInput) SetAdditionalInfo(v string) *StartInstancesInput {
+ s.AdditionalInfo = &v
+ return s
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *StartInstancesInput) SetDryRun(v bool) *StartInstancesInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetInstanceIds sets the InstanceIds field's value.
+func (s *StartInstancesInput) SetInstanceIds(v []*string) *StartInstancesInput {
+ s.InstanceIds = v
+ return s
+}
+
// Contains the output of StartInstances.
type StartInstancesOutput struct {
_ struct{} `type:"structure"`
@@ -34990,6 +46456,12 @@ func (s StartInstancesOutput) GoString() string {
return s.String()
}
+// SetStartingInstances sets the StartingInstances field's value.
+func (s *StartInstancesOutput) SetStartingInstances(v []*InstanceStateChange) *StartInstancesOutput {
+ s.StartingInstances = v
+ return s
+}
+
// Describes a state change.
type StateReason struct {
_ struct{} `type:"structure"`
@@ -35035,6 +46507,18 @@ func (s StateReason) GoString() string {
return s.String()
}
+// SetCode sets the Code field's value.
+func (s *StateReason) SetCode(v string) *StateReason {
+ s.Code = &v
+ return s
+}
+
+// SetMessage sets the Message field's value.
+func (s *StateReason) SetMessage(v string) *StateReason {
+ s.Message = &v
+ return s
+}
+
// Contains the parameters for StopInstances.
type StopInstancesInput struct {
_ struct{} `type:"structure"`
@@ -35082,6 +46566,24 @@ func (s *StopInstancesInput) Validate() error {
return nil
}
+// SetDryRun sets the DryRun field's value.
+func (s *StopInstancesInput) SetDryRun(v bool) *StopInstancesInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetForce sets the Force field's value.
+func (s *StopInstancesInput) SetForce(v bool) *StopInstancesInput {
+ s.Force = &v
+ return s
+}
+
+// SetInstanceIds sets the InstanceIds field's value.
+func (s *StopInstancesInput) SetInstanceIds(v []*string) *StopInstancesInput {
+ s.InstanceIds = v
+ return s
+}
+
// Contains the output of StopInstances.
type StopInstancesOutput struct {
_ struct{} `type:"structure"`
@@ -35100,6 +46602,12 @@ func (s StopInstancesOutput) GoString() string {
return s.String()
}
+// SetStoppingInstances sets the StoppingInstances field's value.
+func (s *StopInstancesOutput) SetStoppingInstances(v []*InstanceStateChange) *StopInstancesOutput {
+ s.StoppingInstances = v
+ return s
+}
+
// Describes the storage location for an instance store-backed AMI.
type Storage struct {
_ struct{} `type:"structure"`
@@ -35118,6 +46626,12 @@ func (s Storage) GoString() string {
return s.String()
}
+// SetS3 sets the S3 field's value.
+func (s *Storage) SetS3(v *S3Storage) *Storage {
+ s.S3 = v
+ return s
+}
+
// Describes a subnet.
type Subnet struct {
_ struct{} `type:"structure"`
@@ -35161,6 +46675,60 @@ func (s Subnet) GoString() string {
return s.String()
}
+// SetAvailabilityZone sets the AvailabilityZone field's value.
+func (s *Subnet) SetAvailabilityZone(v string) *Subnet {
+ s.AvailabilityZone = &v
+ return s
+}
+
+// SetAvailableIpAddressCount sets the AvailableIpAddressCount field's value.
+func (s *Subnet) SetAvailableIpAddressCount(v int64) *Subnet {
+ s.AvailableIpAddressCount = &v
+ return s
+}
+
+// SetCidrBlock sets the CidrBlock field's value.
+func (s *Subnet) SetCidrBlock(v string) *Subnet {
+ s.CidrBlock = &v
+ return s
+}
+
+// SetDefaultForAz sets the DefaultForAz field's value.
+func (s *Subnet) SetDefaultForAz(v bool) *Subnet {
+ s.DefaultForAz = &v
+ return s
+}
+
+// SetMapPublicIpOnLaunch sets the MapPublicIpOnLaunch field's value.
+func (s *Subnet) SetMapPublicIpOnLaunch(v bool) *Subnet {
+ s.MapPublicIpOnLaunch = &v
+ return s
+}
+
+// SetState sets the State field's value.
+func (s *Subnet) SetState(v string) *Subnet {
+ s.State = &v
+ return s
+}
+
+// SetSubnetId sets the SubnetId field's value.
+func (s *Subnet) SetSubnetId(v string) *Subnet {
+ s.SubnetId = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *Subnet) SetTags(v []*Tag) *Subnet {
+ s.Tags = v
+ return s
+}
+
+// SetVpcId sets the VpcId field's value.
+func (s *Subnet) SetVpcId(v string) *Subnet {
+ s.VpcId = &v
+ return s
+}
+
// Describes a tag.
type Tag struct {
_ struct{} `type:"structure"`
@@ -35188,6 +46756,18 @@ 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
+}
+
// Describes a tag.
type TagDescription struct {
_ struct{} `type:"structure"`
@@ -35210,9 +46790,33 @@ func (s TagDescription) String() string {
return awsutil.Prettify(s)
}
-// GoString returns the string representation
-func (s TagDescription) GoString() string {
- return s.String()
+// GoString returns the string representation
+func (s TagDescription) GoString() string {
+ return s.String()
+}
+
+// SetKey sets the Key field's value.
+func (s *TagDescription) SetKey(v string) *TagDescription {
+ s.Key = &v
+ return s
+}
+
+// SetResourceId sets the ResourceId field's value.
+func (s *TagDescription) SetResourceId(v string) *TagDescription {
+ s.ResourceId = &v
+ return s
+}
+
+// SetResourceType sets the ResourceType field's value.
+func (s *TagDescription) SetResourceType(v string) *TagDescription {
+ s.ResourceType = &v
+ return s
+}
+
+// SetValue sets the Value field's value.
+func (s *TagDescription) SetValue(v string) *TagDescription {
+ s.Value = &v
+ return s
}
// Information about the Convertible Reserved Instance offering.
@@ -35237,6 +46841,18 @@ func (s TargetConfiguration) GoString() string {
return s.String()
}
+// SetInstanceCount sets the InstanceCount field's value.
+func (s *TargetConfiguration) SetInstanceCount(v int64) *TargetConfiguration {
+ s.InstanceCount = &v
+ return s
+}
+
+// SetOfferingId sets the OfferingId field's value.
+func (s *TargetConfiguration) SetOfferingId(v string) *TargetConfiguration {
+ s.OfferingId = &v
+ return s
+}
+
// Details about the target configuration.
type TargetConfigurationRequest struct {
_ struct{} `type:"structure"`
@@ -35276,6 +46892,18 @@ func (s *TargetConfigurationRequest) Validate() error {
return nil
}
+// SetInstanceCount sets the InstanceCount field's value.
+func (s *TargetConfigurationRequest) SetInstanceCount(v int64) *TargetConfigurationRequest {
+ s.InstanceCount = &v
+ return s
+}
+
+// SetOfferingId sets the OfferingId field's value.
+func (s *TargetConfigurationRequest) SetOfferingId(v string) *TargetConfigurationRequest {
+ s.OfferingId = &v
+ return s
+}
+
// The total value of the new Convertible Reserved Instances.
type TargetReservationValue struct {
_ struct{} `type:"structure"`
@@ -35300,6 +46928,18 @@ func (s TargetReservationValue) GoString() string {
return s.String()
}
+// SetReservationValue sets the ReservationValue field's value.
+func (s *TargetReservationValue) SetReservationValue(v *ReservationValue) *TargetReservationValue {
+ s.ReservationValue = v
+ return s
+}
+
+// SetTargetConfiguration sets the TargetConfiguration field's value.
+func (s *TargetReservationValue) SetTargetConfiguration(v *TargetConfiguration) *TargetReservationValue {
+ s.TargetConfiguration = v
+ return s
+}
+
// Contains the parameters for TerminateInstances.
type TerminateInstancesInput struct {
_ struct{} `type:"structure"`
@@ -35342,6 +46982,18 @@ func (s *TerminateInstancesInput) Validate() error {
return nil
}
+// SetDryRun sets the DryRun field's value.
+func (s *TerminateInstancesInput) SetDryRun(v bool) *TerminateInstancesInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetInstanceIds sets the InstanceIds field's value.
+func (s *TerminateInstancesInput) SetInstanceIds(v []*string) *TerminateInstancesInput {
+ s.InstanceIds = v
+ return s
+}
+
// Contains the output of TerminateInstances.
type TerminateInstancesOutput struct {
_ struct{} `type:"structure"`
@@ -35360,6 +47012,12 @@ func (s TerminateInstancesOutput) GoString() string {
return s.String()
}
+// SetTerminatingInstances sets the TerminatingInstances field's value.
+func (s *TerminateInstancesOutput) SetTerminatingInstances(v []*InstanceStateChange) *TerminateInstancesOutput {
+ s.TerminatingInstances = v
+ return s
+}
+
// Contains the parameters for UnassignPrivateIpAddresses.
type UnassignPrivateIpAddressesInput struct {
_ struct{} `type:"structure"`
@@ -35402,6 +47060,18 @@ func (s *UnassignPrivateIpAddressesInput) Validate() error {
return nil
}
+// SetNetworkInterfaceId sets the NetworkInterfaceId field's value.
+func (s *UnassignPrivateIpAddressesInput) SetNetworkInterfaceId(v string) *UnassignPrivateIpAddressesInput {
+ s.NetworkInterfaceId = &v
+ return s
+}
+
+// SetPrivateIpAddresses sets the PrivateIpAddresses field's value.
+func (s *UnassignPrivateIpAddressesInput) SetPrivateIpAddresses(v []*string) *UnassignPrivateIpAddressesInput {
+ s.PrivateIpAddresses = v
+ return s
+}
+
type UnassignPrivateIpAddressesOutput struct {
_ struct{} `type:"structure"`
}
@@ -35455,6 +47125,18 @@ func (s *UnmonitorInstancesInput) Validate() error {
return nil
}
+// SetDryRun sets the DryRun field's value.
+func (s *UnmonitorInstancesInput) SetDryRun(v bool) *UnmonitorInstancesInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetInstanceIds sets the InstanceIds field's value.
+func (s *UnmonitorInstancesInput) SetInstanceIds(v []*string) *UnmonitorInstancesInput {
+ s.InstanceIds = v
+ return s
+}
+
// Contains the output of UnmonitorInstances.
type UnmonitorInstancesOutput struct {
_ struct{} `type:"structure"`
@@ -35473,6 +47155,12 @@ func (s UnmonitorInstancesOutput) GoString() string {
return s.String()
}
+// SetInstanceMonitorings sets the InstanceMonitorings field's value.
+func (s *UnmonitorInstancesOutput) SetInstanceMonitorings(v []*InstanceMonitoring) *UnmonitorInstancesOutput {
+ s.InstanceMonitorings = v
+ return s
+}
+
// Information about items that were not successfully processed in a batch call.
type UnsuccessfulItem struct {
_ struct{} `type:"structure"`
@@ -35496,6 +47184,18 @@ func (s UnsuccessfulItem) GoString() string {
return s.String()
}
+// SetError sets the Error field's value.
+func (s *UnsuccessfulItem) SetError(v *UnsuccessfulItemError) *UnsuccessfulItem {
+ s.Error = v
+ return s
+}
+
+// SetResourceId sets the ResourceId field's value.
+func (s *UnsuccessfulItem) SetResourceId(v string) *UnsuccessfulItem {
+ s.ResourceId = &v
+ return s
+}
+
// 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).
type UnsuccessfulItemError struct {
@@ -35522,6 +47222,18 @@ func (s UnsuccessfulItemError) GoString() string {
return s.String()
}
+// SetCode sets the Code field's value.
+func (s *UnsuccessfulItemError) SetCode(v string) *UnsuccessfulItemError {
+ s.Code = &v
+ return s
+}
+
+// SetMessage sets the Message field's value.
+func (s *UnsuccessfulItemError) SetMessage(v string) *UnsuccessfulItemError {
+ s.Message = &v
+ return s
+}
+
// Describes the S3 bucket for the disk image.
type UserBucket struct {
_ struct{} `type:"structure"`
@@ -35543,6 +47255,18 @@ func (s UserBucket) GoString() string {
return s.String()
}
+// SetS3Bucket sets the S3Bucket field's value.
+func (s *UserBucket) SetS3Bucket(v string) *UserBucket {
+ s.S3Bucket = &v
+ return s
+}
+
+// SetS3Key sets the S3Key field's value.
+func (s *UserBucket) SetS3Key(v string) *UserBucket {
+ s.S3Key = &v
+ return s
+}
+
// Describes the S3 bucket for the disk image.
type UserBucketDetails struct {
_ struct{} `type:"structure"`
@@ -35564,6 +47288,18 @@ func (s UserBucketDetails) GoString() string {
return s.String()
}
+// SetS3Bucket sets the S3Bucket field's value.
+func (s *UserBucketDetails) SetS3Bucket(v string) *UserBucketDetails {
+ s.S3Bucket = &v
+ return s
+}
+
+// SetS3Key sets the S3Key field's value.
+func (s *UserBucketDetails) SetS3Key(v string) *UserBucketDetails {
+ s.S3Key = &v
+ return s
+}
+
// Describes the user data for an instance.
type UserData struct {
_ struct{} `type:"structure"`
@@ -35584,6 +47320,12 @@ func (s UserData) GoString() string {
return s.String()
}
+// SetData sets the Data field's value.
+func (s *UserData) SetData(v string) *UserData {
+ s.Data = &v
+ return s
+}
+
// Describes a security group and AWS account ID pair.
type UserIdGroupPair struct {
_ struct{} `type:"structure"`
@@ -35623,6 +47365,42 @@ func (s UserIdGroupPair) GoString() string {
return s.String()
}
+// SetGroupId sets the GroupId field's value.
+func (s *UserIdGroupPair) SetGroupId(v string) *UserIdGroupPair {
+ s.GroupId = &v
+ return s
+}
+
+// SetGroupName sets the GroupName field's value.
+func (s *UserIdGroupPair) SetGroupName(v string) *UserIdGroupPair {
+ s.GroupName = &v
+ return s
+}
+
+// SetPeeringStatus sets the PeeringStatus field's value.
+func (s *UserIdGroupPair) SetPeeringStatus(v string) *UserIdGroupPair {
+ s.PeeringStatus = &v
+ return s
+}
+
+// SetUserId sets the UserId field's value.
+func (s *UserIdGroupPair) SetUserId(v string) *UserIdGroupPair {
+ s.UserId = &v
+ return s
+}
+
+// SetVpcId sets the VpcId field's value.
+func (s *UserIdGroupPair) SetVpcId(v string) *UserIdGroupPair {
+ s.VpcId = &v
+ return s
+}
+
+// SetVpcPeeringConnectionId sets the VpcPeeringConnectionId field's value.
+func (s *UserIdGroupPair) SetVpcPeeringConnectionId(v string) *UserIdGroupPair {
+ s.VpcPeeringConnectionId = &v
+ return s
+}
+
// Describes telemetry for a VPN tunnel.
type VgwTelemetry struct {
_ struct{} `type:"structure"`
@@ -35654,6 +47432,36 @@ func (s VgwTelemetry) GoString() string {
return s.String()
}
+// SetAcceptedRouteCount sets the AcceptedRouteCount field's value.
+func (s *VgwTelemetry) SetAcceptedRouteCount(v int64) *VgwTelemetry {
+ s.AcceptedRouteCount = &v
+ return s
+}
+
+// SetLastStatusChange sets the LastStatusChange field's value.
+func (s *VgwTelemetry) SetLastStatusChange(v time.Time) *VgwTelemetry {
+ s.LastStatusChange = &v
+ return s
+}
+
+// SetOutsideIpAddress sets the OutsideIpAddress field's value.
+func (s *VgwTelemetry) SetOutsideIpAddress(v string) *VgwTelemetry {
+ s.OutsideIpAddress = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *VgwTelemetry) SetStatus(v string) *VgwTelemetry {
+ s.Status = &v
+ return s
+}
+
+// SetStatusMessage sets the StatusMessage field's value.
+func (s *VgwTelemetry) SetStatusMessage(v string) *VgwTelemetry {
+ s.StatusMessage = &v
+ return s
+}
+
// Describes a volume.
type Volume struct {
_ struct{} `type:"structure"`
@@ -35720,6 +47528,78 @@ func (s Volume) GoString() string {
return s.String()
}
+// SetAttachments sets the Attachments field's value.
+func (s *Volume) SetAttachments(v []*VolumeAttachment) *Volume {
+ s.Attachments = v
+ return s
+}
+
+// SetAvailabilityZone sets the AvailabilityZone field's value.
+func (s *Volume) SetAvailabilityZone(v string) *Volume {
+ s.AvailabilityZone = &v
+ return s
+}
+
+// SetCreateTime sets the CreateTime field's value.
+func (s *Volume) SetCreateTime(v time.Time) *Volume {
+ s.CreateTime = &v
+ return s
+}
+
+// SetEncrypted sets the Encrypted field's value.
+func (s *Volume) SetEncrypted(v bool) *Volume {
+ s.Encrypted = &v
+ return s
+}
+
+// SetIops sets the Iops field's value.
+func (s *Volume) SetIops(v int64) *Volume {
+ s.Iops = &v
+ return s
+}
+
+// SetKmsKeyId sets the KmsKeyId field's value.
+func (s *Volume) SetKmsKeyId(v string) *Volume {
+ s.KmsKeyId = &v
+ return s
+}
+
+// SetSize sets the Size field's value.
+func (s *Volume) SetSize(v int64) *Volume {
+ s.Size = &v
+ return s
+}
+
+// SetSnapshotId sets the SnapshotId field's value.
+func (s *Volume) SetSnapshotId(v string) *Volume {
+ s.SnapshotId = &v
+ return s
+}
+
+// SetState sets the State field's value.
+func (s *Volume) SetState(v string) *Volume {
+ s.State = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *Volume) SetTags(v []*Tag) *Volume {
+ s.Tags = v
+ return s
+}
+
+// SetVolumeId sets the VolumeId field's value.
+func (s *Volume) SetVolumeId(v string) *Volume {
+ s.VolumeId = &v
+ return s
+}
+
+// SetVolumeType sets the VolumeType field's value.
+func (s *Volume) SetVolumeType(v string) *Volume {
+ s.VolumeType = &v
+ return s
+}
+
// Describes volume attachment details.
type VolumeAttachment struct {
_ struct{} `type:"structure"`
@@ -35753,6 +47633,42 @@ func (s VolumeAttachment) GoString() string {
return s.String()
}
+// SetAttachTime sets the AttachTime field's value.
+func (s *VolumeAttachment) SetAttachTime(v time.Time) *VolumeAttachment {
+ s.AttachTime = &v
+ return s
+}
+
+// SetDeleteOnTermination sets the DeleteOnTermination field's value.
+func (s *VolumeAttachment) SetDeleteOnTermination(v bool) *VolumeAttachment {
+ s.DeleteOnTermination = &v
+ return s
+}
+
+// SetDevice sets the Device field's value.
+func (s *VolumeAttachment) SetDevice(v string) *VolumeAttachment {
+ s.Device = &v
+ return s
+}
+
+// SetInstanceId sets the InstanceId field's value.
+func (s *VolumeAttachment) SetInstanceId(v string) *VolumeAttachment {
+ s.InstanceId = &v
+ return s
+}
+
+// SetState sets the State field's value.
+func (s *VolumeAttachment) SetState(v string) *VolumeAttachment {
+ s.State = &v
+ return s
+}
+
+// SetVolumeId sets the VolumeId field's value.
+func (s *VolumeAttachment) SetVolumeId(v string) *VolumeAttachment {
+ s.VolumeId = &v
+ return s
+}
+
// Describes an EBS volume.
type VolumeDetail struct {
_ struct{} `type:"structure"`
@@ -35786,6 +47702,12 @@ func (s *VolumeDetail) Validate() error {
return nil
}
+// SetSize sets the Size field's value.
+func (s *VolumeDetail) SetSize(v int64) *VolumeDetail {
+ s.Size = &v
+ return s
+}
+
// Describes a volume status operation code.
type VolumeStatusAction struct {
_ struct{} `type:"structure"`
@@ -35813,6 +47735,30 @@ func (s VolumeStatusAction) GoString() string {
return s.String()
}
+// SetCode sets the Code field's value.
+func (s *VolumeStatusAction) SetCode(v string) *VolumeStatusAction {
+ s.Code = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *VolumeStatusAction) SetDescription(v string) *VolumeStatusAction {
+ s.Description = &v
+ return s
+}
+
+// SetEventId sets the EventId field's value.
+func (s *VolumeStatusAction) SetEventId(v string) *VolumeStatusAction {
+ s.EventId = &v
+ return s
+}
+
+// SetEventType sets the EventType field's value.
+func (s *VolumeStatusAction) SetEventType(v string) *VolumeStatusAction {
+ s.EventType = &v
+ return s
+}
+
// Describes a volume status.
type VolumeStatusDetails struct {
_ struct{} `type:"structure"`
@@ -35834,6 +47780,18 @@ func (s VolumeStatusDetails) GoString() string {
return s.String()
}
+// SetName sets the Name field's value.
+func (s *VolumeStatusDetails) SetName(v string) *VolumeStatusDetails {
+ s.Name = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *VolumeStatusDetails) SetStatus(v string) *VolumeStatusDetails {
+ s.Status = &v
+ return s
+}
+
// Describes a volume status event.
type VolumeStatusEvent struct {
_ struct{} `type:"structure"`
@@ -35864,6 +47822,36 @@ func (s VolumeStatusEvent) GoString() string {
return s.String()
}
+// SetDescription sets the Description field's value.
+func (s *VolumeStatusEvent) SetDescription(v string) *VolumeStatusEvent {
+ s.Description = &v
+ return s
+}
+
+// SetEventId sets the EventId field's value.
+func (s *VolumeStatusEvent) SetEventId(v string) *VolumeStatusEvent {
+ s.EventId = &v
+ return s
+}
+
+// SetEventType sets the EventType field's value.
+func (s *VolumeStatusEvent) SetEventType(v string) *VolumeStatusEvent {
+ s.EventType = &v
+ return s
+}
+
+// SetNotAfter sets the NotAfter field's value.
+func (s *VolumeStatusEvent) SetNotAfter(v time.Time) *VolumeStatusEvent {
+ s.NotAfter = &v
+ return s
+}
+
+// SetNotBefore sets the NotBefore field's value.
+func (s *VolumeStatusEvent) SetNotBefore(v time.Time) *VolumeStatusEvent {
+ s.NotBefore = &v
+ return s
+}
+
// Describes the status of a volume.
type VolumeStatusInfo struct {
_ struct{} `type:"structure"`
@@ -35885,6 +47873,18 @@ func (s VolumeStatusInfo) GoString() string {
return s.String()
}
+// SetDetails sets the Details field's value.
+func (s *VolumeStatusInfo) SetDetails(v []*VolumeStatusDetails) *VolumeStatusInfo {
+ s.Details = v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *VolumeStatusInfo) SetStatus(v string) *VolumeStatusInfo {
+ s.Status = &v
+ return s
+}
+
// Describes the volume status.
type VolumeStatusItem struct {
_ struct{} `type:"structure"`
@@ -35915,6 +47915,36 @@ func (s VolumeStatusItem) GoString() string {
return s.String()
}
+// SetActions sets the Actions field's value.
+func (s *VolumeStatusItem) SetActions(v []*VolumeStatusAction) *VolumeStatusItem {
+ s.Actions = v
+ return s
+}
+
+// SetAvailabilityZone sets the AvailabilityZone field's value.
+func (s *VolumeStatusItem) SetAvailabilityZone(v string) *VolumeStatusItem {
+ s.AvailabilityZone = &v
+ return s
+}
+
+// SetEvents sets the Events field's value.
+func (s *VolumeStatusItem) SetEvents(v []*VolumeStatusEvent) *VolumeStatusItem {
+ s.Events = v
+ return s
+}
+
+// SetVolumeId sets the VolumeId field's value.
+func (s *VolumeStatusItem) SetVolumeId(v string) *VolumeStatusItem {
+ s.VolumeId = &v
+ return s
+}
+
+// SetVolumeStatus sets the VolumeStatus field's value.
+func (s *VolumeStatusItem) SetVolumeStatus(v *VolumeStatusInfo) *VolumeStatusItem {
+ s.VolumeStatus = v
+ return s
+}
+
// Describes a VPC.
type Vpc struct {
_ struct{} `type:"structure"`
@@ -35952,6 +47982,48 @@ func (s Vpc) GoString() string {
return s.String()
}
+// SetCidrBlock sets the CidrBlock field's value.
+func (s *Vpc) SetCidrBlock(v string) *Vpc {
+ s.CidrBlock = &v
+ return s
+}
+
+// SetDhcpOptionsId sets the DhcpOptionsId field's value.
+func (s *Vpc) SetDhcpOptionsId(v string) *Vpc {
+ s.DhcpOptionsId = &v
+ return s
+}
+
+// SetInstanceTenancy sets the InstanceTenancy field's value.
+func (s *Vpc) SetInstanceTenancy(v string) *Vpc {
+ s.InstanceTenancy = &v
+ return s
+}
+
+// SetIsDefault sets the IsDefault field's value.
+func (s *Vpc) SetIsDefault(v bool) *Vpc {
+ s.IsDefault = &v
+ return s
+}
+
+// SetState sets the State field's value.
+func (s *Vpc) SetState(v string) *Vpc {
+ s.State = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *Vpc) SetTags(v []*Tag) *Vpc {
+ s.Tags = v
+ return s
+}
+
+// SetVpcId sets the VpcId field's value.
+func (s *Vpc) SetVpcId(v string) *Vpc {
+ s.VpcId = &v
+ return s
+}
+
// Describes an attachment between a virtual private gateway and a VPC.
type VpcAttachment struct {
_ struct{} `type:"structure"`
@@ -35973,6 +48045,18 @@ func (s VpcAttachment) GoString() string {
return s.String()
}
+// SetState sets the State field's value.
+func (s *VpcAttachment) SetState(v string) *VpcAttachment {
+ s.State = &v
+ return s
+}
+
+// SetVpcId sets the VpcId field's value.
+func (s *VpcAttachment) SetVpcId(v string) *VpcAttachment {
+ s.VpcId = &v
+ return s
+}
+
// Describes whether a VPC is enabled for ClassicLink.
type VpcClassicLink struct {
_ struct{} `type:"structure"`
@@ -35997,6 +48081,24 @@ func (s VpcClassicLink) GoString() string {
return s.String()
}
+// SetClassicLinkEnabled sets the ClassicLinkEnabled field's value.
+func (s *VpcClassicLink) SetClassicLinkEnabled(v bool) *VpcClassicLink {
+ s.ClassicLinkEnabled = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *VpcClassicLink) SetTags(v []*Tag) *VpcClassicLink {
+ s.Tags = v
+ return s
+}
+
+// SetVpcId sets the VpcId field's value.
+func (s *VpcClassicLink) SetVpcId(v string) *VpcClassicLink {
+ s.VpcId = &v
+ return s
+}
+
// Describes a VPC endpoint.
type VpcEndpoint struct {
_ struct{} `type:"structure"`
@@ -36033,6 +48135,48 @@ func (s VpcEndpoint) GoString() string {
return s.String()
}
+// SetCreationTimestamp sets the CreationTimestamp field's value.
+func (s *VpcEndpoint) SetCreationTimestamp(v time.Time) *VpcEndpoint {
+ s.CreationTimestamp = &v
+ return s
+}
+
+// SetPolicyDocument sets the PolicyDocument field's value.
+func (s *VpcEndpoint) SetPolicyDocument(v string) *VpcEndpoint {
+ s.PolicyDocument = &v
+ return s
+}
+
+// SetRouteTableIds sets the RouteTableIds field's value.
+func (s *VpcEndpoint) SetRouteTableIds(v []*string) *VpcEndpoint {
+ s.RouteTableIds = v
+ return s
+}
+
+// SetServiceName sets the ServiceName field's value.
+func (s *VpcEndpoint) SetServiceName(v string) *VpcEndpoint {
+ s.ServiceName = &v
+ return s
+}
+
+// SetState sets the State field's value.
+func (s *VpcEndpoint) SetState(v string) *VpcEndpoint {
+ s.State = &v
+ return s
+}
+
+// SetVpcEndpointId sets the VpcEndpointId field's value.
+func (s *VpcEndpoint) SetVpcEndpointId(v string) *VpcEndpoint {
+ s.VpcEndpointId = &v
+ return s
+}
+
+// SetVpcId sets the VpcId field's value.
+func (s *VpcEndpoint) SetVpcId(v string) *VpcEndpoint {
+ s.VpcId = &v
+ return s
+}
+
// Describes a VPC peering connection.
type VpcPeeringConnection struct {
_ struct{} `type:"structure"`
@@ -36068,6 +48212,42 @@ func (s VpcPeeringConnection) GoString() string {
return s.String()
}
+// SetAccepterVpcInfo sets the AccepterVpcInfo field's value.
+func (s *VpcPeeringConnection) SetAccepterVpcInfo(v *VpcPeeringConnectionVpcInfo) *VpcPeeringConnection {
+ s.AccepterVpcInfo = v
+ return s
+}
+
+// SetExpirationTime sets the ExpirationTime field's value.
+func (s *VpcPeeringConnection) SetExpirationTime(v time.Time) *VpcPeeringConnection {
+ s.ExpirationTime = &v
+ return s
+}
+
+// SetRequesterVpcInfo sets the RequesterVpcInfo field's value.
+func (s *VpcPeeringConnection) SetRequesterVpcInfo(v *VpcPeeringConnectionVpcInfo) *VpcPeeringConnection {
+ s.RequesterVpcInfo = v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *VpcPeeringConnection) SetStatus(v *VpcPeeringConnectionStateReason) *VpcPeeringConnection {
+ s.Status = v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *VpcPeeringConnection) SetTags(v []*Tag) *VpcPeeringConnection {
+ s.Tags = v
+ return s
+}
+
+// SetVpcPeeringConnectionId sets the VpcPeeringConnectionId field's value.
+func (s *VpcPeeringConnection) SetVpcPeeringConnectionId(v string) *VpcPeeringConnection {
+ s.VpcPeeringConnectionId = &v
+ return s
+}
+
// Describes the VPC peering connection options.
type VpcPeeringConnectionOptionsDescription struct {
_ struct{} `type:"structure"`
@@ -36095,6 +48275,24 @@ func (s VpcPeeringConnectionOptionsDescription) GoString() string {
return s.String()
}
+// SetAllowDnsResolutionFromRemoteVpc sets the AllowDnsResolutionFromRemoteVpc field's value.
+func (s *VpcPeeringConnectionOptionsDescription) SetAllowDnsResolutionFromRemoteVpc(v bool) *VpcPeeringConnectionOptionsDescription {
+ s.AllowDnsResolutionFromRemoteVpc = &v
+ return s
+}
+
+// SetAllowEgressFromLocalClassicLinkToRemoteVpc sets the AllowEgressFromLocalClassicLinkToRemoteVpc field's value.
+func (s *VpcPeeringConnectionOptionsDescription) SetAllowEgressFromLocalClassicLinkToRemoteVpc(v bool) *VpcPeeringConnectionOptionsDescription {
+ s.AllowEgressFromLocalClassicLinkToRemoteVpc = &v
+ return s
+}
+
+// SetAllowEgressFromLocalVpcToRemoteClassicLink sets the AllowEgressFromLocalVpcToRemoteClassicLink field's value.
+func (s *VpcPeeringConnectionOptionsDescription) SetAllowEgressFromLocalVpcToRemoteClassicLink(v bool) *VpcPeeringConnectionOptionsDescription {
+ s.AllowEgressFromLocalVpcToRemoteClassicLink = &v
+ return s
+}
+
// Describes the status of a VPC peering connection.
type VpcPeeringConnectionStateReason struct {
_ struct{} `type:"structure"`
@@ -36116,6 +48314,18 @@ func (s VpcPeeringConnectionStateReason) GoString() string {
return s.String()
}
+// SetCode sets the Code field's value.
+func (s *VpcPeeringConnectionStateReason) SetCode(v string) *VpcPeeringConnectionStateReason {
+ s.Code = &v
+ return s
+}
+
+// SetMessage sets the Message field's value.
+func (s *VpcPeeringConnectionStateReason) SetMessage(v string) *VpcPeeringConnectionStateReason {
+ s.Message = &v
+ return s
+}
+
// Describes a VPC in a VPC peering connection.
type VpcPeeringConnectionVpcInfo struct {
_ struct{} `type:"structure"`
@@ -36144,6 +48354,30 @@ func (s VpcPeeringConnectionVpcInfo) GoString() string {
return s.String()
}
+// SetCidrBlock sets the CidrBlock field's value.
+func (s *VpcPeeringConnectionVpcInfo) SetCidrBlock(v string) *VpcPeeringConnectionVpcInfo {
+ s.CidrBlock = &v
+ return s
+}
+
+// SetOwnerId sets the OwnerId field's value.
+func (s *VpcPeeringConnectionVpcInfo) SetOwnerId(v string) *VpcPeeringConnectionVpcInfo {
+ s.OwnerId = &v
+ return s
+}
+
+// SetPeeringOptions sets the PeeringOptions field's value.
+func (s *VpcPeeringConnectionVpcInfo) SetPeeringOptions(v *VpcPeeringConnectionOptionsDescription) *VpcPeeringConnectionVpcInfo {
+ s.PeeringOptions = v
+ return s
+}
+
+// SetVpcId sets the VpcId field's value.
+func (s *VpcPeeringConnectionVpcInfo) SetVpcId(v string) *VpcPeeringConnectionVpcInfo {
+ s.VpcId = &v
+ return s
+}
+
// Describes a VPN connection.
type VpnConnection struct {
_ struct{} `type:"structure"`
@@ -36192,6 +48426,66 @@ func (s VpnConnection) GoString() string {
return s.String()
}
+// SetCustomerGatewayConfiguration sets the CustomerGatewayConfiguration field's value.
+func (s *VpnConnection) SetCustomerGatewayConfiguration(v string) *VpnConnection {
+ s.CustomerGatewayConfiguration = &v
+ return s
+}
+
+// SetCustomerGatewayId sets the CustomerGatewayId field's value.
+func (s *VpnConnection) SetCustomerGatewayId(v string) *VpnConnection {
+ s.CustomerGatewayId = &v
+ return s
+}
+
+// SetOptions sets the Options field's value.
+func (s *VpnConnection) SetOptions(v *VpnConnectionOptions) *VpnConnection {
+ s.Options = v
+ return s
+}
+
+// SetRoutes sets the Routes field's value.
+func (s *VpnConnection) SetRoutes(v []*VpnStaticRoute) *VpnConnection {
+ s.Routes = v
+ return s
+}
+
+// SetState sets the State field's value.
+func (s *VpnConnection) SetState(v string) *VpnConnection {
+ s.State = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *VpnConnection) SetTags(v []*Tag) *VpnConnection {
+ s.Tags = v
+ return s
+}
+
+// SetType sets the Type field's value.
+func (s *VpnConnection) SetType(v string) *VpnConnection {
+ s.Type = &v
+ return s
+}
+
+// SetVgwTelemetry sets the VgwTelemetry field's value.
+func (s *VpnConnection) SetVgwTelemetry(v []*VgwTelemetry) *VpnConnection {
+ s.VgwTelemetry = v
+ return s
+}
+
+// SetVpnConnectionId sets the VpnConnectionId field's value.
+func (s *VpnConnection) SetVpnConnectionId(v string) *VpnConnection {
+ s.VpnConnectionId = &v
+ return s
+}
+
+// SetVpnGatewayId sets the VpnGatewayId field's value.
+func (s *VpnConnection) SetVpnGatewayId(v string) *VpnConnection {
+ s.VpnGatewayId = &v
+ return s
+}
+
// Describes VPN connection options.
type VpnConnectionOptions struct {
_ struct{} `type:"structure"`
@@ -36211,6 +48505,12 @@ func (s VpnConnectionOptions) GoString() string {
return s.String()
}
+// SetStaticRoutesOnly sets the StaticRoutesOnly field's value.
+func (s *VpnConnectionOptions) SetStaticRoutesOnly(v bool) *VpnConnectionOptions {
+ s.StaticRoutesOnly = &v
+ return s
+}
+
// Describes VPN connection options.
type VpnConnectionOptionsSpecification struct {
_ struct{} `type:"structure"`
@@ -36230,6 +48530,12 @@ func (s VpnConnectionOptionsSpecification) GoString() string {
return s.String()
}
+// SetStaticRoutesOnly sets the StaticRoutesOnly field's value.
+func (s *VpnConnectionOptionsSpecification) SetStaticRoutesOnly(v bool) *VpnConnectionOptionsSpecification {
+ s.StaticRoutesOnly = &v
+ return s
+}
+
// Describes a virtual private gateway.
type VpnGateway struct {
_ struct{} `type:"structure"`
@@ -36264,6 +48570,42 @@ func (s VpnGateway) GoString() string {
return s.String()
}
+// SetAvailabilityZone sets the AvailabilityZone field's value.
+func (s *VpnGateway) SetAvailabilityZone(v string) *VpnGateway {
+ s.AvailabilityZone = &v
+ return s
+}
+
+// SetState sets the State field's value.
+func (s *VpnGateway) SetState(v string) *VpnGateway {
+ s.State = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *VpnGateway) SetTags(v []*Tag) *VpnGateway {
+ s.Tags = v
+ return s
+}
+
+// SetType sets the Type field's value.
+func (s *VpnGateway) SetType(v string) *VpnGateway {
+ s.Type = &v
+ return s
+}
+
+// SetVpcAttachments sets the VpcAttachments field's value.
+func (s *VpnGateway) SetVpcAttachments(v []*VpcAttachment) *VpnGateway {
+ s.VpcAttachments = v
+ return s
+}
+
+// SetVpnGatewayId sets the VpnGatewayId field's value.
+func (s *VpnGateway) SetVpnGatewayId(v string) *VpnGateway {
+ s.VpnGatewayId = &v
+ return s
+}
+
// Describes a static route for a VPN connection.
type VpnStaticRoute struct {
_ struct{} `type:"structure"`
@@ -36288,6 +48630,24 @@ func (s VpnStaticRoute) GoString() string {
return s.String()
}
+// SetDestinationCidrBlock sets the DestinationCidrBlock field's value.
+func (s *VpnStaticRoute) SetDestinationCidrBlock(v string) *VpnStaticRoute {
+ s.DestinationCidrBlock = &v
+ return s
+}
+
+// SetSource sets the Source field's value.
+func (s *VpnStaticRoute) SetSource(v string) *VpnStaticRoute {
+ s.Source = &v
+ return s
+}
+
+// SetState sets the State field's value.
+func (s *VpnStaticRoute) SetState(v string) *VpnStaticRoute {
+ s.State = &v
+ return s
+}
+
const (
// AccountAttributeNameSupportedPlatforms is a AccountAttributeName enum value
AccountAttributeNameSupportedPlatforms = "supported-platforms"
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 53bfc60..58ddb25 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
@@ -587,6 +587,12 @@ func (c *ECR) DescribeImagesRequest(input *DescribeImagesInput) (req *request.Re
Name: opDescribeImages,
HTTPMethod: "POST",
HTTPPath: "/",
+ Paginator: &request.Paginator{
+ InputTokens: []string{"nextToken"},
+ OutputTokens: []string{"nextToken"},
+ LimitToken: "maxResults",
+ TruncationToken: "",
+ },
}
if input == nil {
@@ -637,6 +643,31 @@ func (c *ECR) DescribeImages(input *DescribeImagesInput) (*DescribeImagesOutput,
return out, err
}
+// DescribeImagesPages iterates over the pages of a DescribeImages operation,
+// calling the "fn" function with the response data for each page. To stop
+// iterating, return false from the fn function.
+//
+// See DescribeImages 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 DescribeImages operation.
+// pageNum := 0
+// err := client.DescribeImagesPages(params,
+// func(page *DescribeImagesOutput, lastPage bool) bool {
+// pageNum++
+// fmt.Println(page)
+// return pageNum <= 3
+// })
+//
+func (c *ECR) DescribeImagesPages(input *DescribeImagesInput, fn func(p *DescribeImagesOutput, lastPage bool) (shouldContinue bool)) error {
+ page, _ := c.DescribeImagesRequest(input)
+ page.Handlers.Build.PushBack(request.MakeAddToUserAgentFreeFormHandler("Paginator"))
+ return page.EachPage(func(p interface{}, lastPage bool) bool {
+ return fn(p.(*DescribeImagesOutput), lastPage)
+ })
+}
+
const opDescribeRepositories = "DescribeRepositories"
// DescribeRepositoriesRequest generates a "aws/request.Request" representing the
@@ -668,6 +699,12 @@ func (c *ECR) DescribeRepositoriesRequest(input *DescribeRepositoriesInput) (req
Name: opDescribeRepositories,
HTTPMethod: "POST",
HTTPPath: "/",
+ Paginator: &request.Paginator{
+ InputTokens: []string{"nextToken"},
+ OutputTokens: []string{"nextToken"},
+ LimitToken: "maxResults",
+ TruncationToken: "",
+ },
}
if input == nil {
@@ -709,6 +746,31 @@ func (c *ECR) DescribeRepositories(input *DescribeRepositoriesInput) (*DescribeR
return out, err
}
+// DescribeRepositoriesPages iterates over the pages of a DescribeRepositories operation,
+// calling the "fn" function with the response data for each page. To stop
+// iterating, return false from the fn function.
+//
+// See DescribeRepositories 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 DescribeRepositories operation.
+// pageNum := 0
+// err := client.DescribeRepositoriesPages(params,
+// func(page *DescribeRepositoriesOutput, lastPage bool) bool {
+// pageNum++
+// fmt.Println(page)
+// return pageNum <= 3
+// })
+//
+func (c *ECR) DescribeRepositoriesPages(input *DescribeRepositoriesInput, fn func(p *DescribeRepositoriesOutput, lastPage bool) (shouldContinue bool)) error {
+ page, _ := c.DescribeRepositoriesRequest(input)
+ page.Handlers.Build.PushBack(request.MakeAddToUserAgentFreeFormHandler("Paginator"))
+ return page.EachPage(func(p interface{}, lastPage bool) bool {
+ return fn(p.(*DescribeRepositoriesOutput), lastPage)
+ })
+}
+
const opGetAuthorizationToken = "GetAuthorizationToken"
// GetAuthorizationTokenRequest generates a "aws/request.Request" representing the
@@ -1050,6 +1112,12 @@ func (c *ECR) ListImagesRequest(input *ListImagesInput) (req *request.Request, o
Name: opListImages,
HTTPMethod: "POST",
HTTPPath: "/",
+ Paginator: &request.Paginator{
+ InputTokens: []string{"nextToken"},
+ OutputTokens: []string{"nextToken"},
+ LimitToken: "maxResults",
+ TruncationToken: "",
+ },
}
if input == nil {
@@ -1097,6 +1165,31 @@ func (c *ECR) ListImages(input *ListImagesInput) (*ListImagesOutput, error) {
return out, err
}
+// ListImagesPages iterates over the pages of a ListImages operation,
+// calling the "fn" function with the response data for each page. To stop
+// iterating, return false from the fn function.
+//
+// See ListImages 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 ListImages operation.
+// pageNum := 0
+// err := client.ListImagesPages(params,
+// func(page *ListImagesOutput, lastPage bool) bool {
+// pageNum++
+// fmt.Println(page)
+// return pageNum <= 3
+// })
+//
+func (c *ECR) ListImagesPages(input *ListImagesInput, fn func(p *ListImagesOutput, lastPage bool) (shouldContinue bool)) error {
+ page, _ := c.ListImagesRequest(input)
+ page.Handlers.Build.PushBack(request.MakeAddToUserAgentFreeFormHandler("Paginator"))
+ return page.EachPage(func(p interface{}, lastPage bool) bool {
+ return fn(p.(*ListImagesOutput), lastPage)
+ })
+}
+
const opPutImage = "PutImage"
// PutImageRequest generates a "aws/request.Request" representing the
@@ -1376,6 +1469,24 @@ func (s AuthorizationData) GoString() string {
return s.String()
}
+// SetAuthorizationToken sets the AuthorizationToken field's value.
+func (s *AuthorizationData) SetAuthorizationToken(v string) *AuthorizationData {
+ s.AuthorizationToken = &v
+ return s
+}
+
+// SetExpiresAt sets the ExpiresAt field's value.
+func (s *AuthorizationData) SetExpiresAt(v time.Time) *AuthorizationData {
+ s.ExpiresAt = &v
+ return s
+}
+
+// SetProxyEndpoint sets the ProxyEndpoint field's value.
+func (s *AuthorizationData) SetProxyEndpoint(v string) *AuthorizationData {
+ s.ProxyEndpoint = &v
+ return s
+}
+
type BatchCheckLayerAvailabilityInput struct {
_ struct{} `type:"structure"`
@@ -1426,6 +1537,24 @@ func (s *BatchCheckLayerAvailabilityInput) Validate() error {
return nil
}
+// SetLayerDigests sets the LayerDigests field's value.
+func (s *BatchCheckLayerAvailabilityInput) SetLayerDigests(v []*string) *BatchCheckLayerAvailabilityInput {
+ s.LayerDigests = v
+ return s
+}
+
+// SetRegistryId sets the RegistryId field's value.
+func (s *BatchCheckLayerAvailabilityInput) SetRegistryId(v string) *BatchCheckLayerAvailabilityInput {
+ s.RegistryId = &v
+ return s
+}
+
+// SetRepositoryName sets the RepositoryName field's value.
+func (s *BatchCheckLayerAvailabilityInput) SetRepositoryName(v string) *BatchCheckLayerAvailabilityInput {
+ s.RepositoryName = &v
+ return s
+}
+
type BatchCheckLayerAvailabilityOutput struct {
_ struct{} `type:"structure"`
@@ -1447,6 +1576,18 @@ func (s BatchCheckLayerAvailabilityOutput) GoString() string {
return s.String()
}
+// SetFailures sets the Failures field's value.
+func (s *BatchCheckLayerAvailabilityOutput) SetFailures(v []*LayerFailure) *BatchCheckLayerAvailabilityOutput {
+ s.Failures = v
+ return s
+}
+
+// SetLayers sets the Layers field's value.
+func (s *BatchCheckLayerAvailabilityOutput) SetLayers(v []*Layer) *BatchCheckLayerAvailabilityOutput {
+ s.Layers = v
+ return s
+}
+
// Deletes specified images within a specified repository. Images are specified
// with either the imageTag or imageDigest.
type BatchDeleteImageInput struct {
@@ -1500,6 +1641,24 @@ func (s *BatchDeleteImageInput) Validate() error {
return nil
}
+// SetImageIds sets the ImageIds field's value.
+func (s *BatchDeleteImageInput) SetImageIds(v []*ImageIdentifier) *BatchDeleteImageInput {
+ s.ImageIds = v
+ return s
+}
+
+// SetRegistryId sets the RegistryId field's value.
+func (s *BatchDeleteImageInput) SetRegistryId(v string) *BatchDeleteImageInput {
+ s.RegistryId = &v
+ return s
+}
+
+// SetRepositoryName sets the RepositoryName field's value.
+func (s *BatchDeleteImageInput) SetRepositoryName(v string) *BatchDeleteImageInput {
+ s.RepositoryName = &v
+ return s
+}
+
type BatchDeleteImageOutput struct {
_ struct{} `type:"structure"`
@@ -1520,6 +1679,18 @@ func (s BatchDeleteImageOutput) GoString() string {
return s.String()
}
+// SetFailures sets the Failures field's value.
+func (s *BatchDeleteImageOutput) SetFailures(v []*ImageFailure) *BatchDeleteImageOutput {
+ s.Failures = v
+ return s
+}
+
+// SetImageIds sets the ImageIds field's value.
+func (s *BatchDeleteImageOutput) SetImageIds(v []*ImageIdentifier) *BatchDeleteImageOutput {
+ s.ImageIds = v
+ return s
+}
+
type BatchGetImageInput struct {
_ struct{} `type:"structure"`
@@ -1571,6 +1742,24 @@ func (s *BatchGetImageInput) Validate() error {
return nil
}
+// SetImageIds sets the ImageIds field's value.
+func (s *BatchGetImageInput) SetImageIds(v []*ImageIdentifier) *BatchGetImageInput {
+ s.ImageIds = v
+ return s
+}
+
+// SetRegistryId sets the RegistryId field's value.
+func (s *BatchGetImageInput) SetRegistryId(v string) *BatchGetImageInput {
+ s.RegistryId = &v
+ return s
+}
+
+// SetRepositoryName sets the RepositoryName field's value.
+func (s *BatchGetImageInput) SetRepositoryName(v string) *BatchGetImageInput {
+ s.RepositoryName = &v
+ return s
+}
+
type BatchGetImageOutput struct {
_ struct{} `type:"structure"`
@@ -1591,6 +1780,18 @@ func (s BatchGetImageOutput) GoString() string {
return s.String()
}
+// SetFailures sets the Failures field's value.
+func (s *BatchGetImageOutput) SetFailures(v []*ImageFailure) *BatchGetImageOutput {
+ s.Failures = v
+ return s
+}
+
+// SetImages sets the Images field's value.
+func (s *BatchGetImageOutput) SetImages(v []*Image) *BatchGetImageOutput {
+ s.Images = v
+ return s
+}
+
type CompleteLayerUploadInput struct {
_ struct{} `type:"structure"`
@@ -1650,6 +1851,30 @@ func (s *CompleteLayerUploadInput) Validate() error {
return nil
}
+// SetLayerDigests sets the LayerDigests field's value.
+func (s *CompleteLayerUploadInput) SetLayerDigests(v []*string) *CompleteLayerUploadInput {
+ s.LayerDigests = v
+ return s
+}
+
+// SetRegistryId sets the RegistryId field's value.
+func (s *CompleteLayerUploadInput) SetRegistryId(v string) *CompleteLayerUploadInput {
+ s.RegistryId = &v
+ return s
+}
+
+// SetRepositoryName sets the RepositoryName field's value.
+func (s *CompleteLayerUploadInput) SetRepositoryName(v string) *CompleteLayerUploadInput {
+ s.RepositoryName = &v
+ return s
+}
+
+// SetUploadId sets the UploadId field's value.
+func (s *CompleteLayerUploadInput) SetUploadId(v string) *CompleteLayerUploadInput {
+ s.UploadId = &v
+ return s
+}
+
type CompleteLayerUploadOutput struct {
_ struct{} `type:"structure"`
@@ -1676,6 +1901,30 @@ func (s CompleteLayerUploadOutput) GoString() string {
return s.String()
}
+// SetLayerDigest sets the LayerDigest field's value.
+func (s *CompleteLayerUploadOutput) SetLayerDigest(v string) *CompleteLayerUploadOutput {
+ s.LayerDigest = &v
+ return s
+}
+
+// SetRegistryId sets the RegistryId field's value.
+func (s *CompleteLayerUploadOutput) SetRegistryId(v string) *CompleteLayerUploadOutput {
+ s.RegistryId = &v
+ return s
+}
+
+// SetRepositoryName sets the RepositoryName field's value.
+func (s *CompleteLayerUploadOutput) SetRepositoryName(v string) *CompleteLayerUploadOutput {
+ s.RepositoryName = &v
+ return s
+}
+
+// SetUploadId sets the UploadId field's value.
+func (s *CompleteLayerUploadOutput) SetUploadId(v string) *CompleteLayerUploadOutput {
+ s.UploadId = &v
+ return s
+}
+
type CreateRepositoryInput struct {
_ struct{} `type:"structure"`
@@ -1713,6 +1962,12 @@ func (s *CreateRepositoryInput) Validate() error {
return nil
}
+// SetRepositoryName sets the RepositoryName field's value.
+func (s *CreateRepositoryInput) SetRepositoryName(v string) *CreateRepositoryInput {
+ s.RepositoryName = &v
+ return s
+}
+
type CreateRepositoryOutput struct {
_ struct{} `type:"structure"`
@@ -1730,6 +1985,12 @@ func (s CreateRepositoryOutput) GoString() string {
return s.String()
}
+// SetRepository sets the Repository field's value.
+func (s *CreateRepositoryOutput) SetRepository(v *Repository) *CreateRepositoryOutput {
+ s.Repository = v
+ return s
+}
+
type DeleteRepositoryInput struct {
_ struct{} `type:"structure"`
@@ -1772,6 +2033,24 @@ func (s *DeleteRepositoryInput) Validate() error {
return nil
}
+// SetForce sets the Force field's value.
+func (s *DeleteRepositoryInput) SetForce(v bool) *DeleteRepositoryInput {
+ s.Force = &v
+ return s
+}
+
+// SetRegistryId sets the RegistryId field's value.
+func (s *DeleteRepositoryInput) SetRegistryId(v string) *DeleteRepositoryInput {
+ s.RegistryId = &v
+ return s
+}
+
+// SetRepositoryName sets the RepositoryName field's value.
+func (s *DeleteRepositoryInput) SetRepositoryName(v string) *DeleteRepositoryInput {
+ s.RepositoryName = &v
+ return s
+}
+
type DeleteRepositoryOutput struct {
_ struct{} `type:"structure"`
@@ -1789,6 +2068,12 @@ func (s DeleteRepositoryOutput) GoString() string {
return s.String()
}
+// SetRepository sets the Repository field's value.
+func (s *DeleteRepositoryOutput) SetRepository(v *Repository) *DeleteRepositoryOutput {
+ s.Repository = v
+ return s
+}
+
type DeleteRepositoryPolicyInput struct {
_ struct{} `type:"structure"`
@@ -1830,6 +2115,18 @@ func (s *DeleteRepositoryPolicyInput) Validate() error {
return nil
}
+// SetRegistryId sets the RegistryId field's value.
+func (s *DeleteRepositoryPolicyInput) SetRegistryId(v string) *DeleteRepositoryPolicyInput {
+ s.RegistryId = &v
+ return s
+}
+
+// SetRepositoryName sets the RepositoryName field's value.
+func (s *DeleteRepositoryPolicyInput) SetRepositoryName(v string) *DeleteRepositoryPolicyInput {
+ s.RepositoryName = &v
+ return s
+}
+
type DeleteRepositoryPolicyOutput struct {
_ struct{} `type:"structure"`
@@ -1853,6 +2150,24 @@ func (s DeleteRepositoryPolicyOutput) GoString() string {
return s.String()
}
+// SetPolicyText sets the PolicyText field's value.
+func (s *DeleteRepositoryPolicyOutput) SetPolicyText(v string) *DeleteRepositoryPolicyOutput {
+ s.PolicyText = &v
+ return s
+}
+
+// SetRegistryId sets the RegistryId field's value.
+func (s *DeleteRepositoryPolicyOutput) SetRegistryId(v string) *DeleteRepositoryPolicyOutput {
+ s.RegistryId = &v
+ return s
+}
+
+// SetRepositoryName sets the RepositoryName field's value.
+func (s *DeleteRepositoryPolicyOutput) SetRepositoryName(v string) *DeleteRepositoryPolicyOutput {
+ s.RepositoryName = &v
+ return s
+}
+
// An object representing a filter on a DescribeImages operation.
type DescribeImagesFilter struct {
_ struct{} `type:"structure"`
@@ -1872,6 +2187,12 @@ func (s DescribeImagesFilter) GoString() string {
return s.String()
}
+// SetTagStatus sets the TagStatus field's value.
+func (s *DescribeImagesFilter) SetTagStatus(v string) *DescribeImagesFilter {
+ s.TagStatus = &v
+ return s
+}
+
type DescribeImagesInput struct {
_ struct{} `type:"structure"`
@@ -1940,6 +2261,42 @@ func (s *DescribeImagesInput) Validate() error {
return nil
}
+// SetFilter sets the Filter field's value.
+func (s *DescribeImagesInput) SetFilter(v *DescribeImagesFilter) *DescribeImagesInput {
+ s.Filter = v
+ return s
+}
+
+// SetImageIds sets the ImageIds field's value.
+func (s *DescribeImagesInput) SetImageIds(v []*ImageIdentifier) *DescribeImagesInput {
+ s.ImageIds = v
+ return s
+}
+
+// SetMaxResults sets the MaxResults field's value.
+func (s *DescribeImagesInput) SetMaxResults(v int64) *DescribeImagesInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeImagesInput) SetNextToken(v string) *DescribeImagesInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetRegistryId sets the RegistryId field's value.
+func (s *DescribeImagesInput) SetRegistryId(v string) *DescribeImagesInput {
+ s.RegistryId = &v
+ return s
+}
+
+// SetRepositoryName sets the RepositoryName field's value.
+func (s *DescribeImagesInput) SetRepositoryName(v string) *DescribeImagesInput {
+ s.RepositoryName = &v
+ return s
+}
+
type DescribeImagesOutput struct {
_ struct{} `type:"structure"`
@@ -1963,6 +2320,18 @@ func (s DescribeImagesOutput) GoString() string {
return s.String()
}
+// SetImageDetails sets the ImageDetails field's value.
+func (s *DescribeImagesOutput) SetImageDetails(v []*ImageDetail) *DescribeImagesOutput {
+ s.ImageDetails = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeImagesOutput) SetNextToken(v string) *DescribeImagesOutput {
+ s.NextToken = &v
+ return s
+}
+
type DescribeRepositoriesInput struct {
_ struct{} `type:"structure"`
@@ -2021,6 +2390,30 @@ func (s *DescribeRepositoriesInput) Validate() error {
return nil
}
+// SetMaxResults sets the MaxResults field's value.
+func (s *DescribeRepositoriesInput) SetMaxResults(v int64) *DescribeRepositoriesInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeRepositoriesInput) SetNextToken(v string) *DescribeRepositoriesInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetRegistryId sets the RegistryId field's value.
+func (s *DescribeRepositoriesInput) SetRegistryId(v string) *DescribeRepositoriesInput {
+ s.RegistryId = &v
+ return s
+}
+
+// SetRepositoryNames sets the RepositoryNames field's value.
+func (s *DescribeRepositoriesInput) SetRepositoryNames(v []*string) *DescribeRepositoriesInput {
+ s.RepositoryNames = v
+ return s
+}
+
type DescribeRepositoriesOutput struct {
_ struct{} `type:"structure"`
@@ -2044,6 +2437,18 @@ func (s DescribeRepositoriesOutput) GoString() string {
return s.String()
}
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeRepositoriesOutput) SetNextToken(v string) *DescribeRepositoriesOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetRepositories sets the Repositories field's value.
+func (s *DescribeRepositoriesOutput) SetRepositories(v []*Repository) *DescribeRepositoriesOutput {
+ s.Repositories = v
+ return s
+}
+
type GetAuthorizationTokenInput struct {
_ struct{} `type:"structure"`
@@ -2076,6 +2481,12 @@ func (s *GetAuthorizationTokenInput) Validate() error {
return nil
}
+// SetRegistryIds sets the RegistryIds field's value.
+func (s *GetAuthorizationTokenInput) SetRegistryIds(v []*string) *GetAuthorizationTokenInput {
+ s.RegistryIds = v
+ return s
+}
+
type GetAuthorizationTokenOutput struct {
_ struct{} `type:"structure"`
@@ -2094,6 +2505,12 @@ func (s GetAuthorizationTokenOutput) GoString() string {
return s.String()
}
+// SetAuthorizationData sets the AuthorizationData field's value.
+func (s *GetAuthorizationTokenOutput) SetAuthorizationData(v []*AuthorizationData) *GetAuthorizationTokenOutput {
+ s.AuthorizationData = v
+ return s
+}
+
type GetDownloadUrlForLayerInput struct {
_ struct{} `type:"structure"`
@@ -2141,6 +2558,24 @@ func (s *GetDownloadUrlForLayerInput) Validate() error {
return nil
}
+// SetLayerDigest sets the LayerDigest field's value.
+func (s *GetDownloadUrlForLayerInput) SetLayerDigest(v string) *GetDownloadUrlForLayerInput {
+ s.LayerDigest = &v
+ return s
+}
+
+// SetRegistryId sets the RegistryId field's value.
+func (s *GetDownloadUrlForLayerInput) SetRegistryId(v string) *GetDownloadUrlForLayerInput {
+ s.RegistryId = &v
+ return s
+}
+
+// SetRepositoryName sets the RepositoryName field's value.
+func (s *GetDownloadUrlForLayerInput) SetRepositoryName(v string) *GetDownloadUrlForLayerInput {
+ s.RepositoryName = &v
+ return s
+}
+
type GetDownloadUrlForLayerOutput struct {
_ struct{} `type:"structure"`
@@ -2161,6 +2596,18 @@ func (s GetDownloadUrlForLayerOutput) GoString() string {
return s.String()
}
+// SetDownloadUrl sets the DownloadUrl field's value.
+func (s *GetDownloadUrlForLayerOutput) SetDownloadUrl(v string) *GetDownloadUrlForLayerOutput {
+ s.DownloadUrl = &v
+ return s
+}
+
+// SetLayerDigest sets the LayerDigest field's value.
+func (s *GetDownloadUrlForLayerOutput) SetLayerDigest(v string) *GetDownloadUrlForLayerOutput {
+ s.LayerDigest = &v
+ return s
+}
+
type GetRepositoryPolicyInput struct {
_ struct{} `type:"structure"`
@@ -2200,6 +2647,18 @@ func (s *GetRepositoryPolicyInput) Validate() error {
return nil
}
+// SetRegistryId sets the RegistryId field's value.
+func (s *GetRepositoryPolicyInput) SetRegistryId(v string) *GetRepositoryPolicyInput {
+ s.RegistryId = &v
+ return s
+}
+
+// SetRepositoryName sets the RepositoryName field's value.
+func (s *GetRepositoryPolicyInput) SetRepositoryName(v string) *GetRepositoryPolicyInput {
+ s.RepositoryName = &v
+ return s
+}
+
type GetRepositoryPolicyOutput struct {
_ struct{} `type:"structure"`
@@ -2223,6 +2682,24 @@ func (s GetRepositoryPolicyOutput) GoString() string {
return s.String()
}
+// SetPolicyText sets the PolicyText field's value.
+func (s *GetRepositoryPolicyOutput) SetPolicyText(v string) *GetRepositoryPolicyOutput {
+ s.PolicyText = &v
+ return s
+}
+
+// SetRegistryId sets the RegistryId field's value.
+func (s *GetRepositoryPolicyOutput) SetRegistryId(v string) *GetRepositoryPolicyOutput {
+ s.RegistryId = &v
+ return s
+}
+
+// SetRepositoryName sets the RepositoryName field's value.
+func (s *GetRepositoryPolicyOutput) SetRepositoryName(v string) *GetRepositoryPolicyOutput {
+ s.RepositoryName = &v
+ return s
+}
+
// An object representing an Amazon ECR image.
type Image struct {
_ struct{} `type:"structure"`
@@ -2250,6 +2727,30 @@ func (s Image) GoString() string {
return s.String()
}
+// SetImageId sets the ImageId field's value.
+func (s *Image) SetImageId(v *ImageIdentifier) *Image {
+ s.ImageId = v
+ return s
+}
+
+// SetImageManifest sets the ImageManifest field's value.
+func (s *Image) SetImageManifest(v string) *Image {
+ s.ImageManifest = &v
+ return s
+}
+
+// SetRegistryId sets the RegistryId field's value.
+func (s *Image) SetRegistryId(v string) *Image {
+ s.RegistryId = &v
+ return s
+}
+
+// SetRepositoryName sets the RepositoryName field's value.
+func (s *Image) SetRepositoryName(v string) *Image {
+ s.RepositoryName = &v
+ return s
+}
+
// An object that describes an image returned by a DescribeImages operation.
type ImageDetail struct {
_ struct{} `type:"structure"`
@@ -2289,6 +2790,42 @@ func (s ImageDetail) GoString() string {
return s.String()
}
+// SetImageDigest sets the ImageDigest field's value.
+func (s *ImageDetail) SetImageDigest(v string) *ImageDetail {
+ s.ImageDigest = &v
+ return s
+}
+
+// SetImagePushedAt sets the ImagePushedAt field's value.
+func (s *ImageDetail) SetImagePushedAt(v time.Time) *ImageDetail {
+ s.ImagePushedAt = &v
+ return s
+}
+
+// SetImageSizeInBytes sets the ImageSizeInBytes field's value.
+func (s *ImageDetail) SetImageSizeInBytes(v int64) *ImageDetail {
+ s.ImageSizeInBytes = &v
+ return s
+}
+
+// SetImageTags sets the ImageTags field's value.
+func (s *ImageDetail) SetImageTags(v []*string) *ImageDetail {
+ s.ImageTags = v
+ return s
+}
+
+// SetRegistryId sets the RegistryId field's value.
+func (s *ImageDetail) SetRegistryId(v string) *ImageDetail {
+ s.RegistryId = &v
+ return s
+}
+
+// SetRepositoryName sets the RepositoryName field's value.
+func (s *ImageDetail) SetRepositoryName(v string) *ImageDetail {
+ s.RepositoryName = &v
+ return s
+}
+
// An object representing an Amazon ECR image failure.
type ImageFailure struct {
_ struct{} `type:"structure"`
@@ -2313,6 +2850,24 @@ func (s ImageFailure) GoString() string {
return s.String()
}
+// SetFailureCode sets the FailureCode field's value.
+func (s *ImageFailure) SetFailureCode(v string) *ImageFailure {
+ s.FailureCode = &v
+ return s
+}
+
+// SetFailureReason sets the FailureReason field's value.
+func (s *ImageFailure) SetFailureReason(v string) *ImageFailure {
+ s.FailureReason = &v
+ return s
+}
+
+// SetImageId sets the ImageId field's value.
+func (s *ImageFailure) SetImageId(v *ImageIdentifier) *ImageFailure {
+ s.ImageId = v
+ return s
+}
+
// An object with identifying information for an Amazon ECR image.
type ImageIdentifier struct {
_ struct{} `type:"structure"`
@@ -2334,6 +2889,18 @@ func (s ImageIdentifier) GoString() string {
return s.String()
}
+// SetImageDigest sets the ImageDigest field's value.
+func (s *ImageIdentifier) SetImageDigest(v string) *ImageIdentifier {
+ s.ImageDigest = &v
+ return s
+}
+
+// SetImageTag sets the ImageTag field's value.
+func (s *ImageIdentifier) SetImageTag(v string) *ImageIdentifier {
+ s.ImageTag = &v
+ return s
+}
+
type InitiateLayerUploadInput struct {
_ struct{} `type:"structure"`
@@ -2373,6 +2940,18 @@ func (s *InitiateLayerUploadInput) Validate() error {
return nil
}
+// SetRegistryId sets the RegistryId field's value.
+func (s *InitiateLayerUploadInput) SetRegistryId(v string) *InitiateLayerUploadInput {
+ s.RegistryId = &v
+ return s
+}
+
+// SetRepositoryName sets the RepositoryName field's value.
+func (s *InitiateLayerUploadInput) SetRepositoryName(v string) *InitiateLayerUploadInput {
+ s.RepositoryName = &v
+ return s
+}
+
type InitiateLayerUploadOutput struct {
_ struct{} `type:"structure"`
@@ -2395,6 +2974,18 @@ func (s InitiateLayerUploadOutput) GoString() string {
return s.String()
}
+// SetPartSize sets the PartSize field's value.
+func (s *InitiateLayerUploadOutput) SetPartSize(v int64) *InitiateLayerUploadOutput {
+ s.PartSize = &v
+ return s
+}
+
+// SetUploadId sets the UploadId field's value.
+func (s *InitiateLayerUploadOutput) SetUploadId(v string) *InitiateLayerUploadOutput {
+ s.UploadId = &v
+ return s
+}
+
// An object representing an Amazon ECR image layer.
type Layer struct {
_ struct{} `type:"structure"`
@@ -2420,6 +3011,24 @@ func (s Layer) GoString() string {
return s.String()
}
+// SetLayerAvailability sets the LayerAvailability field's value.
+func (s *Layer) SetLayerAvailability(v string) *Layer {
+ s.LayerAvailability = &v
+ return s
+}
+
+// SetLayerDigest sets the LayerDigest field's value.
+func (s *Layer) SetLayerDigest(v string) *Layer {
+ s.LayerDigest = &v
+ return s
+}
+
+// SetLayerSize sets the LayerSize field's value.
+func (s *Layer) SetLayerSize(v int64) *Layer {
+ s.LayerSize = &v
+ return s
+}
+
// An object representing an Amazon ECR image layer failure.
type LayerFailure struct {
_ struct{} `type:"structure"`
@@ -2444,6 +3053,24 @@ func (s LayerFailure) GoString() string {
return s.String()
}
+// SetFailureCode sets the FailureCode field's value.
+func (s *LayerFailure) SetFailureCode(v string) *LayerFailure {
+ s.FailureCode = &v
+ return s
+}
+
+// SetFailureReason sets the FailureReason field's value.
+func (s *LayerFailure) SetFailureReason(v string) *LayerFailure {
+ s.FailureReason = &v
+ return s
+}
+
+// SetLayerDigest sets the LayerDigest field's value.
+func (s *LayerFailure) SetLayerDigest(v string) *LayerFailure {
+ s.LayerDigest = &v
+ return s
+}
+
// An object representing a filter on a ListImages operation.
type ListImagesFilter struct {
_ struct{} `type:"structure"`
@@ -2463,6 +3090,12 @@ func (s ListImagesFilter) GoString() string {
return s.String()
}
+// SetTagStatus sets the TagStatus field's value.
+func (s *ListImagesFilter) SetTagStatus(v string) *ListImagesFilter {
+ s.TagStatus = &v
+ return s
+}
+
type ListImagesInput struct {
_ struct{} `type:"structure"`
@@ -2527,6 +3160,36 @@ func (s *ListImagesInput) Validate() error {
return nil
}
+// SetFilter sets the Filter field's value.
+func (s *ListImagesInput) SetFilter(v *ListImagesFilter) *ListImagesInput {
+ s.Filter = v
+ return s
+}
+
+// SetMaxResults sets the MaxResults field's value.
+func (s *ListImagesInput) SetMaxResults(v int64) *ListImagesInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListImagesInput) SetNextToken(v string) *ListImagesInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetRegistryId sets the RegistryId field's value.
+func (s *ListImagesInput) SetRegistryId(v string) *ListImagesInput {
+ s.RegistryId = &v
+ return s
+}
+
+// SetRepositoryName sets the RepositoryName field's value.
+func (s *ListImagesInput) SetRepositoryName(v string) *ListImagesInput {
+ s.RepositoryName = &v
+ return s
+}
+
type ListImagesOutput struct {
_ struct{} `type:"structure"`
@@ -2550,6 +3213,18 @@ func (s ListImagesOutput) GoString() string {
return s.String()
}
+// SetImageIds sets the ImageIds field's value.
+func (s *ListImagesOutput) SetImageIds(v []*ImageIdentifier) *ListImagesOutput {
+ s.ImageIds = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListImagesOutput) SetNextToken(v string) *ListImagesOutput {
+ s.NextToken = &v
+ return s
+}
+
type PutImageInput struct {
_ struct{} `type:"structure"`
@@ -2598,6 +3273,24 @@ func (s *PutImageInput) Validate() error {
return nil
}
+// SetImageManifest sets the ImageManifest field's value.
+func (s *PutImageInput) SetImageManifest(v string) *PutImageInput {
+ s.ImageManifest = &v
+ return s
+}
+
+// SetRegistryId sets the RegistryId field's value.
+func (s *PutImageInput) SetRegistryId(v string) *PutImageInput {
+ s.RegistryId = &v
+ return s
+}
+
+// SetRepositoryName sets the RepositoryName field's value.
+func (s *PutImageInput) SetRepositoryName(v string) *PutImageInput {
+ s.RepositoryName = &v
+ return s
+}
+
type PutImageOutput struct {
_ struct{} `type:"structure"`
@@ -2615,6 +3308,12 @@ func (s PutImageOutput) GoString() string {
return s.String()
}
+// SetImage sets the Image field's value.
+func (s *PutImageOutput) SetImage(v *Image) *PutImageOutput {
+ s.Image = v
+ return s
+}
+
// An object representing a repository.
type Repository struct {
_ struct{} `type:"structure"`
@@ -2650,6 +3349,36 @@ func (s Repository) GoString() string {
return s.String()
}
+// SetCreatedAt sets the CreatedAt field's value.
+func (s *Repository) SetCreatedAt(v time.Time) *Repository {
+ s.CreatedAt = &v
+ return s
+}
+
+// SetRegistryId sets the RegistryId field's value.
+func (s *Repository) SetRegistryId(v string) *Repository {
+ s.RegistryId = &v
+ return s
+}
+
+// SetRepositoryArn sets the RepositoryArn field's value.
+func (s *Repository) SetRepositoryArn(v string) *Repository {
+ s.RepositoryArn = &v
+ return s
+}
+
+// SetRepositoryName sets the RepositoryName field's value.
+func (s *Repository) SetRepositoryName(v string) *Repository {
+ s.RepositoryName = &v
+ return s
+}
+
+// SetRepositoryUri sets the RepositoryUri field's value.
+func (s *Repository) SetRepositoryUri(v string) *Repository {
+ s.RepositoryUri = &v
+ return s
+}
+
type SetRepositoryPolicyInput struct {
_ struct{} `type:"structure"`
@@ -2702,6 +3431,30 @@ func (s *SetRepositoryPolicyInput) Validate() error {
return nil
}
+// SetForce sets the Force field's value.
+func (s *SetRepositoryPolicyInput) SetForce(v bool) *SetRepositoryPolicyInput {
+ s.Force = &v
+ return s
+}
+
+// SetPolicyText sets the PolicyText field's value.
+func (s *SetRepositoryPolicyInput) SetPolicyText(v string) *SetRepositoryPolicyInput {
+ s.PolicyText = &v
+ return s
+}
+
+// SetRegistryId sets the RegistryId field's value.
+func (s *SetRepositoryPolicyInput) SetRegistryId(v string) *SetRepositoryPolicyInput {
+ s.RegistryId = &v
+ return s
+}
+
+// SetRepositoryName sets the RepositoryName field's value.
+func (s *SetRepositoryPolicyInput) SetRepositoryName(v string) *SetRepositoryPolicyInput {
+ s.RepositoryName = &v
+ return s
+}
+
type SetRepositoryPolicyOutput struct {
_ struct{} `type:"structure"`
@@ -2725,6 +3478,24 @@ func (s SetRepositoryPolicyOutput) GoString() string {
return s.String()
}
+// SetPolicyText sets the PolicyText field's value.
+func (s *SetRepositoryPolicyOutput) SetPolicyText(v string) *SetRepositoryPolicyOutput {
+ s.PolicyText = &v
+ return s
+}
+
+// SetRegistryId sets the RegistryId field's value.
+func (s *SetRepositoryPolicyOutput) SetRegistryId(v string) *SetRepositoryPolicyOutput {
+ s.RegistryId = &v
+ return s
+}
+
+// SetRepositoryName sets the RepositoryName field's value.
+func (s *SetRepositoryPolicyOutput) SetRepositoryName(v string) *SetRepositoryPolicyOutput {
+ s.RepositoryName = &v
+ return s
+}
+
type UploadLayerPartInput struct {
_ struct{} `type:"structure"`
@@ -2799,6 +3570,42 @@ func (s *UploadLayerPartInput) Validate() error {
return nil
}
+// SetLayerPartBlob sets the LayerPartBlob field's value.
+func (s *UploadLayerPartInput) SetLayerPartBlob(v []byte) *UploadLayerPartInput {
+ s.LayerPartBlob = v
+ return s
+}
+
+// SetPartFirstByte sets the PartFirstByte field's value.
+func (s *UploadLayerPartInput) SetPartFirstByte(v int64) *UploadLayerPartInput {
+ s.PartFirstByte = &v
+ return s
+}
+
+// SetPartLastByte sets the PartLastByte field's value.
+func (s *UploadLayerPartInput) SetPartLastByte(v int64) *UploadLayerPartInput {
+ s.PartLastByte = &v
+ return s
+}
+
+// SetRegistryId sets the RegistryId field's value.
+func (s *UploadLayerPartInput) SetRegistryId(v string) *UploadLayerPartInput {
+ s.RegistryId = &v
+ return s
+}
+
+// SetRepositoryName sets the RepositoryName field's value.
+func (s *UploadLayerPartInput) SetRepositoryName(v string) *UploadLayerPartInput {
+ s.RepositoryName = &v
+ return s
+}
+
+// SetUploadId sets the UploadId field's value.
+func (s *UploadLayerPartInput) SetUploadId(v string) *UploadLayerPartInput {
+ s.UploadId = &v
+ return s
+}
+
type UploadLayerPartOutput struct {
_ struct{} `type:"structure"`
@@ -2825,6 +3632,30 @@ func (s UploadLayerPartOutput) GoString() string {
return s.String()
}
+// SetLastByteReceived sets the LastByteReceived field's value.
+func (s *UploadLayerPartOutput) SetLastByteReceived(v int64) *UploadLayerPartOutput {
+ s.LastByteReceived = &v
+ return s
+}
+
+// SetRegistryId sets the RegistryId field's value.
+func (s *UploadLayerPartOutput) SetRegistryId(v string) *UploadLayerPartOutput {
+ s.RegistryId = &v
+ return s
+}
+
+// SetRepositoryName sets the RepositoryName field's value.
+func (s *UploadLayerPartOutput) SetRepositoryName(v string) *UploadLayerPartOutput {
+ s.RepositoryName = &v
+ return s
+}
+
+// SetUploadId sets the UploadId field's value.
+func (s *UploadLayerPartOutput) SetUploadId(v string) *UploadLayerPartOutput {
+ s.UploadId = &v
+ return s
+}
+
const (
// ImageFailureCodeInvalidImageDigest is a ImageFailureCode enum value
ImageFailureCodeInvalidImageDigest = "InvalidImageDigest"
diff --git a/vendor/github.com/aws/aws-sdk-go/service/ecr/ecriface/interface.go b/vendor/github.com/aws/aws-sdk-go/service/ecr/ecriface/interface.go
index 01189e3..b5a84ee 100644
--- a/vendor/github.com/aws/aws-sdk-go/service/ecr/ecriface/interface.go
+++ b/vendor/github.com/aws/aws-sdk-go/service/ecr/ecriface/interface.go
@@ -91,10 +91,14 @@ type ECRAPI interface {
DescribeImages(*ecr.DescribeImagesInput) (*ecr.DescribeImagesOutput, error)
+ DescribeImagesPages(*ecr.DescribeImagesInput, func(*ecr.DescribeImagesOutput, bool) bool) error
+
DescribeRepositoriesRequest(*ecr.DescribeRepositoriesInput) (*request.Request, *ecr.DescribeRepositoriesOutput)
DescribeRepositories(*ecr.DescribeRepositoriesInput) (*ecr.DescribeRepositoriesOutput, error)
+ DescribeRepositoriesPages(*ecr.DescribeRepositoriesInput, func(*ecr.DescribeRepositoriesOutput, bool) bool) error
+
GetAuthorizationTokenRequest(*ecr.GetAuthorizationTokenInput) (*request.Request, *ecr.GetAuthorizationTokenOutput)
GetAuthorizationToken(*ecr.GetAuthorizationTokenInput) (*ecr.GetAuthorizationTokenOutput, error)
@@ -115,6 +119,8 @@ type ECRAPI interface {
ListImages(*ecr.ListImagesInput) (*ecr.ListImagesOutput, error)
+ ListImagesPages(*ecr.ListImagesInput, func(*ecr.ListImagesOutput, bool) bool) error
+
PutImageRequest(*ecr.PutImageInput) (*request.Request, *ecr.PutImageOutput)
PutImage(*ecr.PutImageInput) (*ecr.PutImageOutput, error)
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 7f158a0..f088cee 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
@@ -2512,6 +2512,18 @@ func (s *Attribute) Validate() error {
return nil
}
+// SetName sets the Name field's value.
+func (s *Attribute) SetName(v string) *Attribute {
+ s.Name = &v
+ return s
+}
+
+// SetValue sets the Value field's value.
+func (s *Attribute) SetValue(v string) *Attribute {
+ s.Value = &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
@@ -2557,6 +2569,48 @@ func (s Cluster) GoString() string {
return s.String()
}
+// SetActiveServicesCount sets the ActiveServicesCount field's value.
+func (s *Cluster) SetActiveServicesCount(v int64) *Cluster {
+ s.ActiveServicesCount = &v
+ return s
+}
+
+// SetClusterArn sets the ClusterArn field's value.
+func (s *Cluster) SetClusterArn(v string) *Cluster {
+ s.ClusterArn = &v
+ return s
+}
+
+// SetClusterName sets the ClusterName field's value.
+func (s *Cluster) SetClusterName(v string) *Cluster {
+ s.ClusterName = &v
+ return s
+}
+
+// SetPendingTasksCount sets the PendingTasksCount field's value.
+func (s *Cluster) SetPendingTasksCount(v int64) *Cluster {
+ s.PendingTasksCount = &v
+ return s
+}
+
+// SetRegisteredContainerInstancesCount sets the RegisteredContainerInstancesCount field's value.
+func (s *Cluster) SetRegisteredContainerInstancesCount(v int64) *Cluster {
+ s.RegisteredContainerInstancesCount = &v
+ return s
+}
+
+// SetRunningTasksCount sets the RunningTasksCount field's value.
+func (s *Cluster) SetRunningTasksCount(v int64) *Cluster {
+ s.RunningTasksCount = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *Cluster) SetStatus(v string) *Cluster {
+ s.Status = &v
+ return s
+}
+
// A Docker container that is part of a task.
type Container struct {
_ struct{} `type:"structure"`
@@ -2594,6 +2648,48 @@ func (s Container) GoString() string {
return s.String()
}
+// SetContainerArn sets the ContainerArn field's value.
+func (s *Container) SetContainerArn(v string) *Container {
+ s.ContainerArn = &v
+ return s
+}
+
+// SetExitCode sets the ExitCode field's value.
+func (s *Container) SetExitCode(v int64) *Container {
+ s.ExitCode = &v
+ return s
+}
+
+// SetLastStatus sets the LastStatus field's value.
+func (s *Container) SetLastStatus(v string) *Container {
+ s.LastStatus = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *Container) SetName(v string) *Container {
+ s.Name = &v
+ return s
+}
+
+// SetNetworkBindings sets the NetworkBindings field's value.
+func (s *Container) SetNetworkBindings(v []*NetworkBinding) *Container {
+ s.NetworkBindings = v
+ return s
+}
+
+// SetReason sets the Reason field's value.
+func (s *Container) SetReason(v string) *Container {
+ s.Reason = &v
+ return s
+}
+
+// SetTaskArn sets the TaskArn field's value.
+func (s *Container) SetTaskArn(v string) *Container {
+ s.TaskArn = &v
+ return s
+}
+
// Container definitions are used in task definitions to describe the different
// containers that are launched as part of a task.
type ContainerDefinition struct {
@@ -2964,6 +3060,162 @@ func (s *ContainerDefinition) Validate() error {
return nil
}
+// SetCommand sets the Command field's value.
+func (s *ContainerDefinition) SetCommand(v []*string) *ContainerDefinition {
+ s.Command = v
+ return s
+}
+
+// SetCpu sets the Cpu field's value.
+func (s *ContainerDefinition) SetCpu(v int64) *ContainerDefinition {
+ s.Cpu = &v
+ return s
+}
+
+// SetDisableNetworking sets the DisableNetworking field's value.
+func (s *ContainerDefinition) SetDisableNetworking(v bool) *ContainerDefinition {
+ s.DisableNetworking = &v
+ return s
+}
+
+// SetDnsSearchDomains sets the DnsSearchDomains field's value.
+func (s *ContainerDefinition) SetDnsSearchDomains(v []*string) *ContainerDefinition {
+ s.DnsSearchDomains = v
+ return s
+}
+
+// SetDnsServers sets the DnsServers field's value.
+func (s *ContainerDefinition) SetDnsServers(v []*string) *ContainerDefinition {
+ s.DnsServers = v
+ return s
+}
+
+// SetDockerLabels sets the DockerLabels field's value.
+func (s *ContainerDefinition) SetDockerLabels(v map[string]*string) *ContainerDefinition {
+ s.DockerLabels = v
+ return s
+}
+
+// SetDockerSecurityOptions sets the DockerSecurityOptions field's value.
+func (s *ContainerDefinition) SetDockerSecurityOptions(v []*string) *ContainerDefinition {
+ s.DockerSecurityOptions = v
+ return s
+}
+
+// SetEntryPoint sets the EntryPoint field's value.
+func (s *ContainerDefinition) SetEntryPoint(v []*string) *ContainerDefinition {
+ s.EntryPoint = v
+ return s
+}
+
+// SetEnvironment sets the Environment field's value.
+func (s *ContainerDefinition) SetEnvironment(v []*KeyValuePair) *ContainerDefinition {
+ s.Environment = v
+ return s
+}
+
+// SetEssential sets the Essential field's value.
+func (s *ContainerDefinition) SetEssential(v bool) *ContainerDefinition {
+ s.Essential = &v
+ return s
+}
+
+// SetExtraHosts sets the ExtraHosts field's value.
+func (s *ContainerDefinition) SetExtraHosts(v []*HostEntry) *ContainerDefinition {
+ s.ExtraHosts = v
+ return s
+}
+
+// SetHostname sets the Hostname field's value.
+func (s *ContainerDefinition) SetHostname(v string) *ContainerDefinition {
+ s.Hostname = &v
+ return s
+}
+
+// SetImage sets the Image field's value.
+func (s *ContainerDefinition) SetImage(v string) *ContainerDefinition {
+ s.Image = &v
+ return s
+}
+
+// SetLinks sets the Links field's value.
+func (s *ContainerDefinition) SetLinks(v []*string) *ContainerDefinition {
+ s.Links = v
+ return s
+}
+
+// SetLogConfiguration sets the LogConfiguration field's value.
+func (s *ContainerDefinition) SetLogConfiguration(v *LogConfiguration) *ContainerDefinition {
+ s.LogConfiguration = v
+ return s
+}
+
+// SetMemory sets the Memory field's value.
+func (s *ContainerDefinition) SetMemory(v int64) *ContainerDefinition {
+ s.Memory = &v
+ return s
+}
+
+// SetMemoryReservation sets the MemoryReservation field's value.
+func (s *ContainerDefinition) SetMemoryReservation(v int64) *ContainerDefinition {
+ s.MemoryReservation = &v
+ return s
+}
+
+// SetMountPoints sets the MountPoints field's value.
+func (s *ContainerDefinition) SetMountPoints(v []*MountPoint) *ContainerDefinition {
+ s.MountPoints = v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *ContainerDefinition) SetName(v string) *ContainerDefinition {
+ s.Name = &v
+ return s
+}
+
+// SetPortMappings sets the PortMappings field's value.
+func (s *ContainerDefinition) SetPortMappings(v []*PortMapping) *ContainerDefinition {
+ s.PortMappings = v
+ return s
+}
+
+// SetPrivileged sets the Privileged field's value.
+func (s *ContainerDefinition) SetPrivileged(v bool) *ContainerDefinition {
+ s.Privileged = &v
+ return s
+}
+
+// SetReadonlyRootFilesystem sets the ReadonlyRootFilesystem field's value.
+func (s *ContainerDefinition) SetReadonlyRootFilesystem(v bool) *ContainerDefinition {
+ s.ReadonlyRootFilesystem = &v
+ return s
+}
+
+// SetUlimits sets the Ulimits field's value.
+func (s *ContainerDefinition) SetUlimits(v []*Ulimit) *ContainerDefinition {
+ s.Ulimits = v
+ return s
+}
+
+// SetUser sets the User field's value.
+func (s *ContainerDefinition) SetUser(v string) *ContainerDefinition {
+ s.User = &v
+ return s
+}
+
+// SetVolumesFrom sets the VolumesFrom field's value.
+func (s *ContainerDefinition) SetVolumesFrom(v []*VolumeFrom) *ContainerDefinition {
+ s.VolumesFrom = v
+ return s
+}
+
+// SetWorkingDirectory sets the WorkingDirectory field's value.
+func (s *ContainerDefinition) SetWorkingDirectory(v string) *ContainerDefinition {
+ s.WorkingDirectory = &v
+ return s
+}
+
// An EC2 instance that is running the Amazon ECS agent and has been registered
// with a cluster.
type ContainerInstance struct {
@@ -3031,6 +3283,72 @@ func (s ContainerInstance) GoString() string {
return s.String()
}
+// SetAgentConnected sets the AgentConnected field's value.
+func (s *ContainerInstance) SetAgentConnected(v bool) *ContainerInstance {
+ s.AgentConnected = &v
+ return s
+}
+
+// SetAgentUpdateStatus sets the AgentUpdateStatus field's value.
+func (s *ContainerInstance) SetAgentUpdateStatus(v string) *ContainerInstance {
+ s.AgentUpdateStatus = &v
+ return s
+}
+
+// SetAttributes sets the Attributes field's value.
+func (s *ContainerInstance) SetAttributes(v []*Attribute) *ContainerInstance {
+ s.Attributes = v
+ return s
+}
+
+// SetContainerInstanceArn sets the ContainerInstanceArn field's value.
+func (s *ContainerInstance) SetContainerInstanceArn(v string) *ContainerInstance {
+ s.ContainerInstanceArn = &v
+ return s
+}
+
+// SetEc2InstanceId sets the Ec2InstanceId field's value.
+func (s *ContainerInstance) SetEc2InstanceId(v string) *ContainerInstance {
+ s.Ec2InstanceId = &v
+ return s
+}
+
+// SetPendingTasksCount sets the PendingTasksCount field's value.
+func (s *ContainerInstance) SetPendingTasksCount(v int64) *ContainerInstance {
+ s.PendingTasksCount = &v
+ return s
+}
+
+// SetRegisteredResources sets the RegisteredResources field's value.
+func (s *ContainerInstance) SetRegisteredResources(v []*Resource) *ContainerInstance {
+ s.RegisteredResources = v
+ return s
+}
+
+// SetRemainingResources sets the RemainingResources field's value.
+func (s *ContainerInstance) SetRemainingResources(v []*Resource) *ContainerInstance {
+ s.RemainingResources = v
+ return s
+}
+
+// SetRunningTasksCount sets the RunningTasksCount field's value.
+func (s *ContainerInstance) SetRunningTasksCount(v int64) *ContainerInstance {
+ s.RunningTasksCount = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *ContainerInstance) SetStatus(v string) *ContainerInstance {
+ s.Status = &v
+ return s
+}
+
+// SetVersionInfo sets the VersionInfo field's value.
+func (s *ContainerInstance) SetVersionInfo(v *VersionInfo) *ContainerInstance {
+ s.VersionInfo = v
+ return s
+}
+
// The overrides that should be sent to a container.
type ContainerOverride struct {
_ struct{} `type:"structure"`
@@ -3058,6 +3376,24 @@ func (s ContainerOverride) GoString() string {
return s.String()
}
+// SetCommand sets the Command field's value.
+func (s *ContainerOverride) SetCommand(v []*string) *ContainerOverride {
+ s.Command = v
+ return s
+}
+
+// SetEnvironment sets the Environment field's value.
+func (s *ContainerOverride) SetEnvironment(v []*KeyValuePair) *ContainerOverride {
+ s.Environment = v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *ContainerOverride) SetName(v string) *ContainerOverride {
+ s.Name = &v
+ return s
+}
+
type CreateClusterInput struct {
_ struct{} `type:"structure"`
@@ -3077,6 +3413,12 @@ func (s CreateClusterInput) GoString() string {
return s.String()
}
+// SetClusterName sets the ClusterName field's value.
+func (s *CreateClusterInput) SetClusterName(v string) *CreateClusterInput {
+ s.ClusterName = &v
+ return s
+}
+
type CreateClusterOutput struct {
_ struct{} `type:"structure"`
@@ -3094,6 +3436,12 @@ func (s CreateClusterOutput) GoString() string {
return s.String()
}
+// SetCluster sets the Cluster field's value.
+func (s *CreateClusterOutput) SetCluster(v *Cluster) *CreateClusterOutput {
+ s.Cluster = v
+ return s
+}
+
type CreateServiceInput struct {
_ struct{} `type:"structure"`
@@ -3194,6 +3542,54 @@ func (s *CreateServiceInput) Validate() error {
return nil
}
+// SetClientToken sets the ClientToken field's value.
+func (s *CreateServiceInput) SetClientToken(v string) *CreateServiceInput {
+ s.ClientToken = &v
+ return s
+}
+
+// SetCluster sets the Cluster field's value.
+func (s *CreateServiceInput) SetCluster(v string) *CreateServiceInput {
+ s.Cluster = &v
+ return s
+}
+
+// SetDeploymentConfiguration sets the DeploymentConfiguration field's value.
+func (s *CreateServiceInput) SetDeploymentConfiguration(v *DeploymentConfiguration) *CreateServiceInput {
+ s.DeploymentConfiguration = v
+ return s
+}
+
+// SetDesiredCount sets the DesiredCount field's value.
+func (s *CreateServiceInput) SetDesiredCount(v int64) *CreateServiceInput {
+ s.DesiredCount = &v
+ return s
+}
+
+// SetLoadBalancers sets the LoadBalancers field's value.
+func (s *CreateServiceInput) SetLoadBalancers(v []*LoadBalancer) *CreateServiceInput {
+ s.LoadBalancers = v
+ return s
+}
+
+// SetRole sets the Role field's value.
+func (s *CreateServiceInput) SetRole(v string) *CreateServiceInput {
+ s.Role = &v
+ return s
+}
+
+// SetServiceName sets the ServiceName field's value.
+func (s *CreateServiceInput) SetServiceName(v string) *CreateServiceInput {
+ s.ServiceName = &v
+ return s
+}
+
+// SetTaskDefinition sets the TaskDefinition field's value.
+func (s *CreateServiceInput) SetTaskDefinition(v string) *CreateServiceInput {
+ s.TaskDefinition = &v
+ return s
+}
+
type CreateServiceOutput struct {
_ struct{} `type:"structure"`
@@ -3211,6 +3607,12 @@ 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
+}
+
type DeleteClusterInput struct {
_ struct{} `type:"structure"`
@@ -3243,6 +3645,12 @@ func (s *DeleteClusterInput) Validate() error {
return nil
}
+// SetCluster sets the Cluster field's value.
+func (s *DeleteClusterInput) SetCluster(v string) *DeleteClusterInput {
+ s.Cluster = &v
+ return s
+}
+
type DeleteClusterOutput struct {
_ struct{} `type:"structure"`
@@ -3260,6 +3668,12 @@ func (s DeleteClusterOutput) GoString() string {
return s.String()
}
+// SetCluster sets the Cluster field's value.
+func (s *DeleteClusterOutput) SetCluster(v *Cluster) *DeleteClusterOutput {
+ s.Cluster = v
+ return s
+}
+
type DeleteServiceInput struct {
_ struct{} `type:"structure"`
@@ -3296,6 +3710,18 @@ func (s *DeleteServiceInput) Validate() error {
return nil
}
+// SetCluster sets the Cluster field's value.
+func (s *DeleteServiceInput) SetCluster(v string) *DeleteServiceInput {
+ s.Cluster = &v
+ return s
+}
+
+// SetService sets the Service field's value.
+func (s *DeleteServiceInput) SetService(v string) *DeleteServiceInput {
+ s.Service = &v
+ return s
+}
+
type DeleteServiceOutput struct {
_ struct{} `type:"structure"`
@@ -3313,6 +3739,12 @@ func (s DeleteServiceOutput) GoString() string {
return s.String()
}
+// SetService sets the Service field's value.
+func (s *DeleteServiceOutput) SetService(v *Service) *DeleteServiceOutput {
+ s.Service = v
+ return s
+}
+
// The details of an Amazon ECS service deployment.
type Deployment struct {
_ struct{} `type:"structure"`
@@ -3356,6 +3788,54 @@ func (s Deployment) GoString() string {
return s.String()
}
+// SetCreatedAt sets the CreatedAt field's value.
+func (s *Deployment) SetCreatedAt(v time.Time) *Deployment {
+ s.CreatedAt = &v
+ return s
+}
+
+// SetDesiredCount sets the DesiredCount field's value.
+func (s *Deployment) SetDesiredCount(v int64) *Deployment {
+ s.DesiredCount = &v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *Deployment) SetId(v string) *Deployment {
+ s.Id = &v
+ return s
+}
+
+// SetPendingCount sets the PendingCount field's value.
+func (s *Deployment) SetPendingCount(v int64) *Deployment {
+ s.PendingCount = &v
+ return s
+}
+
+// SetRunningCount sets the RunningCount field's value.
+func (s *Deployment) SetRunningCount(v int64) *Deployment {
+ s.RunningCount = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *Deployment) SetStatus(v string) *Deployment {
+ s.Status = &v
+ return s
+}
+
+// SetTaskDefinition sets the TaskDefinition field's value.
+func (s *Deployment) SetTaskDefinition(v string) *Deployment {
+ s.TaskDefinition = &v
+ return s
+}
+
+// SetUpdatedAt sets the UpdatedAt field's value.
+func (s *Deployment) SetUpdatedAt(v time.Time) *Deployment {
+ s.UpdatedAt = &v
+ return s
+}
+
// Optional deployment parameters that control how many tasks run during the
// deployment and the ordering of stopping and starting tasks.
type DeploymentConfiguration struct {
@@ -3386,6 +3866,18 @@ func (s DeploymentConfiguration) GoString() string {
return s.String()
}
+// SetMaximumPercent sets the MaximumPercent field's value.
+func (s *DeploymentConfiguration) SetMaximumPercent(v int64) *DeploymentConfiguration {
+ s.MaximumPercent = &v
+ return s
+}
+
+// SetMinimumHealthyPercent sets the MinimumHealthyPercent field's value.
+func (s *DeploymentConfiguration) SetMinimumHealthyPercent(v int64) *DeploymentConfiguration {
+ s.MinimumHealthyPercent = &v
+ return s
+}
+
type DeregisterContainerInstanceInput struct {
_ struct{} `type:"structure"`
@@ -3441,6 +3933,24 @@ func (s *DeregisterContainerInstanceInput) Validate() error {
return nil
}
+// SetCluster sets the Cluster field's value.
+func (s *DeregisterContainerInstanceInput) SetCluster(v string) *DeregisterContainerInstanceInput {
+ s.Cluster = &v
+ return s
+}
+
+// SetContainerInstance sets the ContainerInstance field's value.
+func (s *DeregisterContainerInstanceInput) SetContainerInstance(v string) *DeregisterContainerInstanceInput {
+ s.ContainerInstance = &v
+ return s
+}
+
+// SetForce sets the Force field's value.
+func (s *DeregisterContainerInstanceInput) SetForce(v bool) *DeregisterContainerInstanceInput {
+ s.Force = &v
+ return s
+}
+
type DeregisterContainerInstanceOutput struct {
_ struct{} `type:"structure"`
@@ -3459,6 +3969,12 @@ func (s DeregisterContainerInstanceOutput) GoString() string {
return s.String()
}
+// SetContainerInstance sets the ContainerInstance field's value.
+func (s *DeregisterContainerInstanceOutput) SetContainerInstance(v *ContainerInstance) *DeregisterContainerInstanceOutput {
+ s.ContainerInstance = v
+ return s
+}
+
type DeregisterTaskDefinitionInput struct {
_ struct{} `type:"structure"`
@@ -3492,6 +4008,12 @@ func (s *DeregisterTaskDefinitionInput) Validate() error {
return nil
}
+// SetTaskDefinition sets the TaskDefinition field's value.
+func (s *DeregisterTaskDefinitionInput) SetTaskDefinition(v string) *DeregisterTaskDefinitionInput {
+ s.TaskDefinition = &v
+ return s
+}
+
type DeregisterTaskDefinitionOutput struct {
_ struct{} `type:"structure"`
@@ -3509,6 +4031,12 @@ func (s DeregisterTaskDefinitionOutput) GoString() string {
return s.String()
}
+// SetTaskDefinition sets the TaskDefinition field's value.
+func (s *DeregisterTaskDefinitionOutput) SetTaskDefinition(v *TaskDefinition) *DeregisterTaskDefinitionOutput {
+ s.TaskDefinition = v
+ return s
+}
+
type DescribeClustersInput struct {
_ struct{} `type:"structure"`
@@ -3528,6 +4056,12 @@ func (s DescribeClustersInput) GoString() string {
return s.String()
}
+// SetClusters sets the Clusters field's value.
+func (s *DescribeClustersInput) SetClusters(v []*string) *DescribeClustersInput {
+ s.Clusters = v
+ return s
+}
+
type DescribeClustersOutput struct {
_ struct{} `type:"structure"`
@@ -3548,6 +4082,18 @@ func (s DescribeClustersOutput) GoString() string {
return s.String()
}
+// SetClusters sets the Clusters field's value.
+func (s *DescribeClustersOutput) SetClusters(v []*Cluster) *DescribeClustersOutput {
+ s.Clusters = v
+ return s
+}
+
+// SetFailures sets the Failures field's value.
+func (s *DescribeClustersOutput) SetFailures(v []*Failure) *DescribeClustersOutput {
+ s.Failures = v
+ return s
+}
+
type DescribeContainerInstancesInput struct {
_ struct{} `type:"structure"`
@@ -3586,6 +4132,18 @@ func (s *DescribeContainerInstancesInput) Validate() error {
return nil
}
+// SetCluster sets the Cluster field's value.
+func (s *DescribeContainerInstancesInput) SetCluster(v string) *DescribeContainerInstancesInput {
+ s.Cluster = &v
+ return s
+}
+
+// SetContainerInstances sets the ContainerInstances field's value.
+func (s *DescribeContainerInstancesInput) SetContainerInstances(v []*string) *DescribeContainerInstancesInput {
+ s.ContainerInstances = v
+ return s
+}
+
type DescribeContainerInstancesOutput struct {
_ struct{} `type:"structure"`
@@ -3606,6 +4164,18 @@ func (s DescribeContainerInstancesOutput) GoString() string {
return s.String()
}
+// SetContainerInstances sets the ContainerInstances field's value.
+func (s *DescribeContainerInstancesOutput) SetContainerInstances(v []*ContainerInstance) *DescribeContainerInstancesOutput {
+ s.ContainerInstances = v
+ return s
+}
+
+// SetFailures sets the Failures field's value.
+func (s *DescribeContainerInstancesOutput) SetFailures(v []*Failure) *DescribeContainerInstancesOutput {
+ s.Failures = v
+ return s
+}
+
type DescribeServicesInput struct {
_ struct{} `type:"structure"`
@@ -3643,6 +4213,18 @@ func (s *DescribeServicesInput) Validate() error {
return nil
}
+// SetCluster sets the Cluster field's value.
+func (s *DescribeServicesInput) SetCluster(v string) *DescribeServicesInput {
+ s.Cluster = &v
+ return s
+}
+
+// SetServices sets the Services field's value.
+func (s *DescribeServicesInput) SetServices(v []*string) *DescribeServicesInput {
+ s.Services = v
+ return s
+}
+
type DescribeServicesOutput struct {
_ struct{} `type:"structure"`
@@ -3663,6 +4245,18 @@ func (s DescribeServicesOutput) GoString() string {
return s.String()
}
+// SetFailures sets the Failures field's value.
+func (s *DescribeServicesOutput) SetFailures(v []*Failure) *DescribeServicesOutput {
+ s.Failures = v
+ return s
+}
+
+// SetServices sets the Services field's value.
+func (s *DescribeServicesOutput) SetServices(v []*Service) *DescribeServicesOutput {
+ s.Services = v
+ return s
+}
+
type DescribeTaskDefinitionInput struct {
_ struct{} `type:"structure"`
@@ -3697,6 +4291,12 @@ func (s *DescribeTaskDefinitionInput) Validate() error {
return nil
}
+// SetTaskDefinition sets the TaskDefinition field's value.
+func (s *DescribeTaskDefinitionInput) SetTaskDefinition(v string) *DescribeTaskDefinitionInput {
+ s.TaskDefinition = &v
+ return s
+}
+
type DescribeTaskDefinitionOutput struct {
_ struct{} `type:"structure"`
@@ -3714,6 +4314,12 @@ func (s DescribeTaskDefinitionOutput) GoString() string {
return s.String()
}
+// SetTaskDefinition sets the TaskDefinition field's value.
+func (s *DescribeTaskDefinitionOutput) SetTaskDefinition(v *TaskDefinition) *DescribeTaskDefinitionOutput {
+ s.TaskDefinition = v
+ return s
+}
+
type DescribeTasksInput struct {
_ struct{} `type:"structure"`
@@ -3751,6 +4357,18 @@ func (s *DescribeTasksInput) Validate() error {
return nil
}
+// SetCluster sets the Cluster field's value.
+func (s *DescribeTasksInput) SetCluster(v string) *DescribeTasksInput {
+ s.Cluster = &v
+ return s
+}
+
+// SetTasks sets the Tasks field's value.
+func (s *DescribeTasksInput) SetTasks(v []*string) *DescribeTasksInput {
+ s.Tasks = v
+ return s
+}
+
type DescribeTasksOutput struct {
_ struct{} `type:"structure"`
@@ -3771,6 +4389,18 @@ func (s DescribeTasksOutput) GoString() string {
return s.String()
}
+// SetFailures sets the Failures field's value.
+func (s *DescribeTasksOutput) SetFailures(v []*Failure) *DescribeTasksOutput {
+ s.Failures = v
+ return s
+}
+
+// SetTasks sets the Tasks field's value.
+func (s *DescribeTasksOutput) SetTasks(v []*Task) *DescribeTasksOutput {
+ s.Tasks = v
+ return s
+}
+
type DiscoverPollEndpointInput struct {
_ struct{} `type:"structure"`
@@ -3795,6 +4425,18 @@ func (s DiscoverPollEndpointInput) GoString() string {
return s.String()
}
+// SetCluster sets the Cluster field's value.
+func (s *DiscoverPollEndpointInput) SetCluster(v string) *DiscoverPollEndpointInput {
+ s.Cluster = &v
+ return s
+}
+
+// SetContainerInstance sets the ContainerInstance field's value.
+func (s *DiscoverPollEndpointInput) SetContainerInstance(v string) *DiscoverPollEndpointInput {
+ s.ContainerInstance = &v
+ return s
+}
+
type DiscoverPollEndpointOutput struct {
_ struct{} `type:"structure"`
@@ -3815,6 +4457,18 @@ func (s DiscoverPollEndpointOutput) GoString() string {
return s.String()
}
+// SetEndpoint sets the Endpoint field's value.
+func (s *DiscoverPollEndpointOutput) SetEndpoint(v string) *DiscoverPollEndpointOutput {
+ s.Endpoint = &v
+ return s
+}
+
+// SetTelemetryEndpoint sets the TelemetryEndpoint field's value.
+func (s *DiscoverPollEndpointOutput) SetTelemetryEndpoint(v string) *DiscoverPollEndpointOutput {
+ s.TelemetryEndpoint = &v
+ return s
+}
+
// A failed resource.
type Failure struct {
_ struct{} `type:"structure"`
@@ -3836,6 +4490,18 @@ func (s Failure) GoString() string {
return s.String()
}
+// SetArn sets the Arn field's value.
+func (s *Failure) SetArn(v string) *Failure {
+ s.Arn = &v
+ return s
+}
+
+// SetReason sets the Reason field's value.
+func (s *Failure) SetReason(v string) *Failure {
+ s.Reason = &v
+ return s
+}
+
// Hostnames and IP address entries that are added to the /etc/hosts file of
// a container via the extraHosts parameter of its ContainerDefinition.
type HostEntry struct {
@@ -3878,6 +4544,18 @@ func (s *HostEntry) Validate() error {
return nil
}
+// SetHostname sets the Hostname field's value.
+func (s *HostEntry) SetHostname(v string) *HostEntry {
+ s.Hostname = &v
+ return s
+}
+
+// SetIpAddress sets the IpAddress field's value.
+func (s *HostEntry) SetIpAddress(v string) *HostEntry {
+ s.IpAddress = &v
+ return s
+}
+
// Details on a container instance host volume.
type HostVolumeProperties struct {
_ struct{} `type:"structure"`
@@ -3902,6 +4580,12 @@ func (s HostVolumeProperties) GoString() string {
return s.String()
}
+// SetSourcePath sets the SourcePath field's value.
+func (s *HostVolumeProperties) SetSourcePath(v string) *HostVolumeProperties {
+ s.SourcePath = &v
+ return s
+}
+
// A key and value pair object.
type KeyValuePair struct {
_ struct{} `type:"structure"`
@@ -3925,6 +4609,18 @@ func (s KeyValuePair) GoString() string {
return s.String()
}
+// SetName sets the Name field's value.
+func (s *KeyValuePair) SetName(v string) *KeyValuePair {
+ s.Name = &v
+ return s
+}
+
+// SetValue sets the Value field's value.
+func (s *KeyValuePair) SetValue(v string) *KeyValuePair {
+ s.Value = &v
+ return s
+}
+
type ListClustersInput struct {
_ struct{} `type:"structure"`
@@ -3957,6 +4653,18 @@ func (s ListClustersInput) GoString() string {
return s.String()
}
+// SetMaxResults sets the MaxResults field's value.
+func (s *ListClustersInput) SetMaxResults(v int64) *ListClustersInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListClustersInput) SetNextToken(v string) *ListClustersInput {
+ s.NextToken = &v
+ return s
+}
+
type ListClustersOutput struct {
_ struct{} `type:"structure"`
@@ -3981,6 +4689,18 @@ func (s ListClustersOutput) GoString() string {
return s.String()
}
+// SetClusterArns sets the ClusterArns field's value.
+func (s *ListClustersOutput) SetClusterArns(v []*string) *ListClustersOutput {
+ s.ClusterArns = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListClustersOutput) SetNextToken(v string) *ListClustersOutput {
+ s.NextToken = &v
+ return s
+}
+
type ListContainerInstancesInput struct {
_ struct{} `type:"structure"`
@@ -4020,6 +4740,24 @@ func (s ListContainerInstancesInput) GoString() string {
return s.String()
}
+// SetCluster sets the Cluster field's value.
+func (s *ListContainerInstancesInput) SetCluster(v string) *ListContainerInstancesInput {
+ s.Cluster = &v
+ return s
+}
+
+// SetMaxResults sets the MaxResults field's value.
+func (s *ListContainerInstancesInput) SetMaxResults(v int64) *ListContainerInstancesInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListContainerInstancesInput) SetNextToken(v string) *ListContainerInstancesInput {
+ s.NextToken = &v
+ return s
+}
+
type ListContainerInstancesOutput struct {
_ struct{} `type:"structure"`
@@ -4044,6 +4782,18 @@ func (s ListContainerInstancesOutput) GoString() string {
return s.String()
}
+// SetContainerInstanceArns sets the ContainerInstanceArns field's value.
+func (s *ListContainerInstancesOutput) SetContainerInstanceArns(v []*string) *ListContainerInstancesOutput {
+ s.ContainerInstanceArns = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListContainerInstancesOutput) SetNextToken(v string) *ListContainerInstancesOutput {
+ s.NextToken = &v
+ return s
+}
+
type ListServicesInput struct {
_ struct{} `type:"structure"`
@@ -4081,6 +4831,24 @@ func (s ListServicesInput) GoString() string {
return s.String()
}
+// SetCluster sets the Cluster field's value.
+func (s *ListServicesInput) SetCluster(v string) *ListServicesInput {
+ s.Cluster = &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
+}
+
type ListServicesOutput struct {
_ struct{} `type:"structure"`
@@ -4105,6 +4873,18 @@ 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
+}
+
+// SetServiceArns sets the ServiceArns field's value.
+func (s *ListServicesOutput) SetServiceArns(v []*string) *ListServicesOutput {
+ s.ServiceArns = v
+ return s
+}
+
type ListTaskDefinitionFamiliesInput struct {
_ struct{} `type:"structure"`
@@ -4153,6 +4933,30 @@ func (s ListTaskDefinitionFamiliesInput) GoString() string {
return s.String()
}
+// SetFamilyPrefix sets the FamilyPrefix field's value.
+func (s *ListTaskDefinitionFamiliesInput) SetFamilyPrefix(v string) *ListTaskDefinitionFamiliesInput {
+ s.FamilyPrefix = &v
+ return s
+}
+
+// SetMaxResults sets the MaxResults field's value.
+func (s *ListTaskDefinitionFamiliesInput) SetMaxResults(v int64) *ListTaskDefinitionFamiliesInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListTaskDefinitionFamiliesInput) SetNextToken(v string) *ListTaskDefinitionFamiliesInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *ListTaskDefinitionFamiliesInput) SetStatus(v string) *ListTaskDefinitionFamiliesInput {
+ s.Status = &v
+ return s
+}
+
type ListTaskDefinitionFamiliesOutput struct {
_ struct{} `type:"structure"`
@@ -4177,6 +4981,18 @@ func (s ListTaskDefinitionFamiliesOutput) GoString() string {
return s.String()
}
+// SetFamilies sets the Families field's value.
+func (s *ListTaskDefinitionFamiliesOutput) SetFamilies(v []*string) *ListTaskDefinitionFamiliesOutput {
+ s.Families = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListTaskDefinitionFamiliesOutput) SetNextToken(v string) *ListTaskDefinitionFamiliesOutput {
+ s.NextToken = &v
+ return s
+}
+
type ListTaskDefinitionsInput struct {
_ struct{} `type:"structure"`
@@ -4230,6 +5046,36 @@ func (s ListTaskDefinitionsInput) GoString() string {
return s.String()
}
+// SetFamilyPrefix sets the FamilyPrefix field's value.
+func (s *ListTaskDefinitionsInput) SetFamilyPrefix(v string) *ListTaskDefinitionsInput {
+ s.FamilyPrefix = &v
+ return s
+}
+
+// SetMaxResults sets the MaxResults field's value.
+func (s *ListTaskDefinitionsInput) SetMaxResults(v int64) *ListTaskDefinitionsInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListTaskDefinitionsInput) SetNextToken(v string) *ListTaskDefinitionsInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetSort sets the Sort field's value.
+func (s *ListTaskDefinitionsInput) SetSort(v string) *ListTaskDefinitionsInput {
+ s.Sort = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *ListTaskDefinitionsInput) SetStatus(v string) *ListTaskDefinitionsInput {
+ s.Status = &v
+ return s
+}
+
type ListTaskDefinitionsOutput struct {
_ struct{} `type:"structure"`
@@ -4254,6 +5100,18 @@ func (s ListTaskDefinitionsOutput) GoString() string {
return s.String()
}
+// SetNextToken sets the NextToken field's value.
+func (s *ListTaskDefinitionsOutput) SetNextToken(v string) *ListTaskDefinitionsOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetTaskDefinitionArns sets the TaskDefinitionArns field's value.
+func (s *ListTaskDefinitionsOutput) SetTaskDefinitionArns(v []*string) *ListTaskDefinitionsOutput {
+ s.TaskDefinitionArns = v
+ return s
+}
+
type ListTasksInput struct {
_ struct{} `type:"structure"`
@@ -4319,6 +5177,54 @@ func (s ListTasksInput) GoString() string {
return s.String()
}
+// SetCluster sets the Cluster field's value.
+func (s *ListTasksInput) SetCluster(v string) *ListTasksInput {
+ s.Cluster = &v
+ return s
+}
+
+// SetContainerInstance sets the ContainerInstance field's value.
+func (s *ListTasksInput) SetContainerInstance(v string) *ListTasksInput {
+ s.ContainerInstance = &v
+ return s
+}
+
+// SetDesiredStatus sets the DesiredStatus field's value.
+func (s *ListTasksInput) SetDesiredStatus(v string) *ListTasksInput {
+ s.DesiredStatus = &v
+ return s
+}
+
+// SetFamily sets the Family field's value.
+func (s *ListTasksInput) SetFamily(v string) *ListTasksInput {
+ s.Family = &v
+ return s
+}
+
+// SetMaxResults sets the MaxResults field's value.
+func (s *ListTasksInput) SetMaxResults(v int64) *ListTasksInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListTasksInput) SetNextToken(v string) *ListTasksInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetServiceName sets the ServiceName field's value.
+func (s *ListTasksInput) SetServiceName(v string) *ListTasksInput {
+ s.ServiceName = &v
+ return s
+}
+
+// SetStartedBy sets the StartedBy field's value.
+func (s *ListTasksInput) SetStartedBy(v string) *ListTasksInput {
+ s.StartedBy = &v
+ return s
+}
+
type ListTasksOutput struct {
_ struct{} `type:"structure"`
@@ -4342,6 +5248,18 @@ func (s ListTasksOutput) GoString() string {
return s.String()
}
+// SetNextToken sets the NextToken field's value.
+func (s *ListTasksOutput) SetNextToken(v string) *ListTasksOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetTaskArns sets the TaskArns field's value.
+func (s *ListTasksOutput) SetTaskArns(v []*string) *ListTasksOutput {
+ s.TaskArns = v
+ return s
+}
+
// Details on a load balancer that is used with a service.
type LoadBalancer struct {
_ struct{} `type:"structure"`
@@ -4374,6 +5292,30 @@ func (s LoadBalancer) GoString() string {
return s.String()
}
+// SetContainerName sets the ContainerName field's value.
+func (s *LoadBalancer) SetContainerName(v string) *LoadBalancer {
+ s.ContainerName = &v
+ return s
+}
+
+// SetContainerPort sets the ContainerPort field's value.
+func (s *LoadBalancer) SetContainerPort(v int64) *LoadBalancer {
+ s.ContainerPort = &v
+ return s
+}
+
+// SetLoadBalancerName sets the LoadBalancerName field's value.
+func (s *LoadBalancer) SetLoadBalancerName(v string) *LoadBalancer {
+ s.LoadBalancerName = &v
+ return s
+}
+
+// SetTargetGroupArn sets the TargetGroupArn field's value.
+func (s *LoadBalancer) SetTargetGroupArn(v string) *LoadBalancer {
+ s.TargetGroupArn = &v
+ return s
+}
+
// Log configuration options to send to a custom log driver for the container.
type LogConfiguration struct {
_ struct{} `type:"structure"`
@@ -4429,6 +5371,18 @@ func (s *LogConfiguration) Validate() error {
return nil
}
+// SetLogDriver sets the LogDriver field's value.
+func (s *LogConfiguration) SetLogDriver(v string) *LogConfiguration {
+ s.LogDriver = &v
+ return s
+}
+
+// SetOptions sets the Options field's value.
+func (s *LogConfiguration) SetOptions(v map[string]*string) *LogConfiguration {
+ s.Options = v
+ return s
+}
+
// Details on a volume mount point that is used in a container definition.
type MountPoint struct {
_ struct{} `type:"structure"`
@@ -4455,6 +5409,24 @@ func (s MountPoint) GoString() string {
return s.String()
}
+// SetContainerPath sets the ContainerPath field's value.
+func (s *MountPoint) SetContainerPath(v string) *MountPoint {
+ s.ContainerPath = &v
+ return s
+}
+
+// SetReadOnly sets the ReadOnly field's value.
+func (s *MountPoint) SetReadOnly(v bool) *MountPoint {
+ s.ReadOnly = &v
+ return s
+}
+
+// SetSourceVolume sets the SourceVolume field's value.
+func (s *MountPoint) SetSourceVolume(v string) *MountPoint {
+ s.SourceVolume = &v
+ return s
+}
+
// Details on the network bindings between a container and its host container
// instance. After a task reaches the RUNNING status, manual and automatic host
// and container port assignments are visible in the networkBindings section
@@ -4485,6 +5457,30 @@ func (s NetworkBinding) GoString() string {
return s.String()
}
+// SetBindIP sets the BindIP field's value.
+func (s *NetworkBinding) SetBindIP(v string) *NetworkBinding {
+ s.BindIP = &v
+ return s
+}
+
+// SetContainerPort sets the ContainerPort field's value.
+func (s *NetworkBinding) SetContainerPort(v int64) *NetworkBinding {
+ s.ContainerPort = &v
+ return s
+}
+
+// SetHostPort sets the HostPort field's value.
+func (s *NetworkBinding) SetHostPort(v int64) *NetworkBinding {
+ s.HostPort = &v
+ return s
+}
+
+// SetProtocol sets the Protocol field's value.
+func (s *NetworkBinding) SetProtocol(v string) *NetworkBinding {
+ s.Protocol = &v
+ return s
+}
+
// 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
@@ -4540,6 +5536,24 @@ func (s PortMapping) GoString() string {
return s.String()
}
+// SetContainerPort sets the ContainerPort field's value.
+func (s *PortMapping) SetContainerPort(v int64) *PortMapping {
+ s.ContainerPort = &v
+ return s
+}
+
+// SetHostPort sets the HostPort field's value.
+func (s *PortMapping) SetHostPort(v int64) *PortMapping {
+ s.HostPort = &v
+ return s
+}
+
+// SetProtocol sets the Protocol field's value.
+func (s *PortMapping) SetProtocol(v string) *PortMapping {
+ s.Protocol = &v
+ return s
+}
+
type RegisterContainerInstanceInput struct {
_ struct{} `type:"structure"`
@@ -4602,6 +5616,48 @@ func (s *RegisterContainerInstanceInput) Validate() error {
return nil
}
+// SetAttributes sets the Attributes field's value.
+func (s *RegisterContainerInstanceInput) SetAttributes(v []*Attribute) *RegisterContainerInstanceInput {
+ s.Attributes = v
+ return s
+}
+
+// SetCluster sets the Cluster field's value.
+func (s *RegisterContainerInstanceInput) SetCluster(v string) *RegisterContainerInstanceInput {
+ s.Cluster = &v
+ return s
+}
+
+// SetContainerInstanceArn sets the ContainerInstanceArn field's value.
+func (s *RegisterContainerInstanceInput) SetContainerInstanceArn(v string) *RegisterContainerInstanceInput {
+ s.ContainerInstanceArn = &v
+ return s
+}
+
+// SetInstanceIdentityDocument sets the InstanceIdentityDocument field's value.
+func (s *RegisterContainerInstanceInput) SetInstanceIdentityDocument(v string) *RegisterContainerInstanceInput {
+ s.InstanceIdentityDocument = &v
+ return s
+}
+
+// SetInstanceIdentityDocumentSignature sets the InstanceIdentityDocumentSignature field's value.
+func (s *RegisterContainerInstanceInput) SetInstanceIdentityDocumentSignature(v string) *RegisterContainerInstanceInput {
+ s.InstanceIdentityDocumentSignature = &v
+ return s
+}
+
+// SetTotalResources sets the TotalResources field's value.
+func (s *RegisterContainerInstanceInput) SetTotalResources(v []*Resource) *RegisterContainerInstanceInput {
+ s.TotalResources = v
+ return s
+}
+
+// SetVersionInfo sets the VersionInfo field's value.
+func (s *RegisterContainerInstanceInput) SetVersionInfo(v *VersionInfo) *RegisterContainerInstanceInput {
+ s.VersionInfo = v
+ return s
+}
+
type RegisterContainerInstanceOutput struct {
_ struct{} `type:"structure"`
@@ -4620,6 +5676,12 @@ func (s RegisterContainerInstanceOutput) GoString() string {
return s.String()
}
+// SetContainerInstance sets the ContainerInstance field's value.
+func (s *RegisterContainerInstanceOutput) SetContainerInstance(v *ContainerInstance) *RegisterContainerInstanceOutput {
+ s.ContainerInstance = v
+ return s
+}
+
type RegisterTaskDefinitionInput struct {
_ struct{} `type:"structure"`
@@ -4702,6 +5764,36 @@ func (s *RegisterTaskDefinitionInput) Validate() error {
return nil
}
+// SetContainerDefinitions sets the ContainerDefinitions field's value.
+func (s *RegisterTaskDefinitionInput) SetContainerDefinitions(v []*ContainerDefinition) *RegisterTaskDefinitionInput {
+ s.ContainerDefinitions = v
+ return s
+}
+
+// SetFamily sets the Family field's value.
+func (s *RegisterTaskDefinitionInput) SetFamily(v string) *RegisterTaskDefinitionInput {
+ s.Family = &v
+ return s
+}
+
+// SetNetworkMode sets the NetworkMode field's value.
+func (s *RegisterTaskDefinitionInput) SetNetworkMode(v string) *RegisterTaskDefinitionInput {
+ s.NetworkMode = &v
+ return s
+}
+
+// SetTaskRoleArn sets the TaskRoleArn field's value.
+func (s *RegisterTaskDefinitionInput) SetTaskRoleArn(v string) *RegisterTaskDefinitionInput {
+ s.TaskRoleArn = &v
+ return s
+}
+
+// SetVolumes sets the Volumes field's value.
+func (s *RegisterTaskDefinitionInput) SetVolumes(v []*Volume) *RegisterTaskDefinitionInput {
+ s.Volumes = v
+ return s
+}
+
type RegisterTaskDefinitionOutput struct {
_ struct{} `type:"structure"`
@@ -4719,6 +5811,12 @@ func (s RegisterTaskDefinitionOutput) GoString() string {
return s.String()
}
+// SetTaskDefinition sets the TaskDefinition field's value.
+func (s *RegisterTaskDefinitionOutput) SetTaskDefinition(v *TaskDefinition) *RegisterTaskDefinitionOutput {
+ s.TaskDefinition = v
+ return s
+}
+
// Describes the resources available for a container instance.
type Resource struct {
_ struct{} `type:"structure"`
@@ -4755,6 +5853,42 @@ func (s Resource) GoString() string {
return s.String()
}
+// SetDoubleValue sets the DoubleValue field's value.
+func (s *Resource) SetDoubleValue(v float64) *Resource {
+ s.DoubleValue = &v
+ return s
+}
+
+// SetIntegerValue sets the IntegerValue field's value.
+func (s *Resource) SetIntegerValue(v int64) *Resource {
+ s.IntegerValue = &v
+ return s
+}
+
+// SetLongValue sets the LongValue field's value.
+func (s *Resource) SetLongValue(v int64) *Resource {
+ s.LongValue = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *Resource) SetName(v string) *Resource {
+ s.Name = &v
+ return s
+}
+
+// SetStringSetValue sets the StringSetValue field's value.
+func (s *Resource) SetStringSetValue(v []*string) *Resource {
+ s.StringSetValue = v
+ return s
+}
+
+// SetType sets the Type field's value.
+func (s *Resource) SetType(v string) *Resource {
+ s.Type = &v
+ return s
+}
+
type RunTaskInput struct {
_ struct{} `type:"structure"`
@@ -4822,6 +5956,36 @@ func (s *RunTaskInput) Validate() error {
return nil
}
+// SetCluster sets the Cluster field's value.
+func (s *RunTaskInput) SetCluster(v string) *RunTaskInput {
+ s.Cluster = &v
+ return s
+}
+
+// SetCount sets the Count field's value.
+func (s *RunTaskInput) SetCount(v int64) *RunTaskInput {
+ s.Count = &v
+ return s
+}
+
+// SetOverrides sets the Overrides field's value.
+func (s *RunTaskInput) SetOverrides(v *TaskOverride) *RunTaskInput {
+ s.Overrides = v
+ return s
+}
+
+// SetStartedBy sets the StartedBy field's value.
+func (s *RunTaskInput) SetStartedBy(v string) *RunTaskInput {
+ s.StartedBy = &v
+ return s
+}
+
+// SetTaskDefinition sets the TaskDefinition field's value.
+func (s *RunTaskInput) SetTaskDefinition(v string) *RunTaskInput {
+ s.TaskDefinition = &v
+ return s
+}
+
type RunTaskOutput struct {
_ struct{} `type:"structure"`
@@ -4843,6 +6007,18 @@ func (s RunTaskOutput) GoString() string {
return s.String()
}
+// SetFailures sets the Failures field's value.
+func (s *RunTaskOutput) SetFailures(v []*Failure) *RunTaskOutput {
+ s.Failures = v
+ return s
+}
+
+// SetTasks sets the Tasks field's value.
+func (s *RunTaskOutput) SetTasks(v []*Task) *RunTaskOutput {
+ s.Tasks = v
+ return s
+}
+
// Details on a service within a cluster
type Service struct {
_ struct{} `type:"structure"`
@@ -4916,6 +6092,90 @@ func (s Service) GoString() string {
return s.String()
}
+// SetClusterArn sets the ClusterArn field's value.
+func (s *Service) SetClusterArn(v string) *Service {
+ s.ClusterArn = &v
+ return s
+}
+
+// SetCreatedAt sets the CreatedAt field's value.
+func (s *Service) SetCreatedAt(v time.Time) *Service {
+ s.CreatedAt = &v
+ return s
+}
+
+// SetDeploymentConfiguration sets the DeploymentConfiguration field's value.
+func (s *Service) SetDeploymentConfiguration(v *DeploymentConfiguration) *Service {
+ s.DeploymentConfiguration = v
+ return s
+}
+
+// SetDeployments sets the Deployments field's value.
+func (s *Service) SetDeployments(v []*Deployment) *Service {
+ s.Deployments = v
+ return s
+}
+
+// SetDesiredCount sets the DesiredCount field's value.
+func (s *Service) SetDesiredCount(v int64) *Service {
+ s.DesiredCount = &v
+ return s
+}
+
+// SetEvents sets the Events field's value.
+func (s *Service) SetEvents(v []*ServiceEvent) *Service {
+ s.Events = v
+ return s
+}
+
+// SetLoadBalancers sets the LoadBalancers field's value.
+func (s *Service) SetLoadBalancers(v []*LoadBalancer) *Service {
+ s.LoadBalancers = v
+ return s
+}
+
+// SetPendingCount sets the PendingCount field's value.
+func (s *Service) SetPendingCount(v int64) *Service {
+ s.PendingCount = &v
+ return s
+}
+
+// SetRoleArn sets the RoleArn field's value.
+func (s *Service) SetRoleArn(v string) *Service {
+ s.RoleArn = &v
+ return s
+}
+
+// SetRunningCount sets the RunningCount field's value.
+func (s *Service) SetRunningCount(v int64) *Service {
+ s.RunningCount = &v
+ return s
+}
+
+// SetServiceArn sets the ServiceArn field's value.
+func (s *Service) SetServiceArn(v string) *Service {
+ s.ServiceArn = &v
+ return s
+}
+
+// SetServiceName sets the ServiceName field's value.
+func (s *Service) SetServiceName(v string) *Service {
+ s.ServiceName = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *Service) SetStatus(v string) *Service {
+ s.Status = &v
+ return s
+}
+
+// SetTaskDefinition sets the TaskDefinition field's value.
+func (s *Service) SetTaskDefinition(v string) *Service {
+ s.TaskDefinition = &v
+ return s
+}
+
// Details on an event associated with a service.
type ServiceEvent struct {
_ struct{} `type:"structure"`
@@ -4940,6 +6200,24 @@ func (s ServiceEvent) GoString() string {
return s.String()
}
+// SetCreatedAt sets the CreatedAt field's value.
+func (s *ServiceEvent) SetCreatedAt(v time.Time) *ServiceEvent {
+ s.CreatedAt = &v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *ServiceEvent) SetId(v string) *ServiceEvent {
+ s.Id = &v
+ return s
+}
+
+// SetMessage sets the Message field's value.
+func (s *ServiceEvent) SetMessage(v string) *ServiceEvent {
+ s.Message = &v
+ return s
+}
+
type StartTaskInput struct {
_ struct{} `type:"structure"`
@@ -5013,6 +6291,36 @@ func (s *StartTaskInput) Validate() error {
return nil
}
+// SetCluster sets the Cluster field's value.
+func (s *StartTaskInput) SetCluster(v string) *StartTaskInput {
+ s.Cluster = &v
+ return s
+}
+
+// SetContainerInstances sets the ContainerInstances field's value.
+func (s *StartTaskInput) SetContainerInstances(v []*string) *StartTaskInput {
+ s.ContainerInstances = v
+ return s
+}
+
+// SetOverrides sets the Overrides field's value.
+func (s *StartTaskInput) SetOverrides(v *TaskOverride) *StartTaskInput {
+ s.Overrides = v
+ return s
+}
+
+// SetStartedBy sets the StartedBy field's value.
+func (s *StartTaskInput) SetStartedBy(v string) *StartTaskInput {
+ s.StartedBy = &v
+ return s
+}
+
+// SetTaskDefinition sets the TaskDefinition field's value.
+func (s *StartTaskInput) SetTaskDefinition(v string) *StartTaskInput {
+ s.TaskDefinition = &v
+ return s
+}
+
type StartTaskOutput struct {
_ struct{} `type:"structure"`
@@ -5034,6 +6342,18 @@ func (s StartTaskOutput) GoString() string {
return s.String()
}
+// SetFailures sets the Failures field's value.
+func (s *StartTaskOutput) SetFailures(v []*Failure) *StartTaskOutput {
+ s.Failures = v
+ return s
+}
+
+// SetTasks sets the Tasks field's value.
+func (s *StartTaskOutput) SetTasks(v []*Task) *StartTaskOutput {
+ s.Tasks = v
+ return s
+}
+
type StopTaskInput struct {
_ struct{} `type:"structure"`
@@ -5077,6 +6397,24 @@ func (s *StopTaskInput) Validate() error {
return nil
}
+// SetCluster sets the Cluster field's value.
+func (s *StopTaskInput) SetCluster(v string) *StopTaskInput {
+ s.Cluster = &v
+ return s
+}
+
+// SetReason sets the Reason field's value.
+func (s *StopTaskInput) SetReason(v string) *StopTaskInput {
+ s.Reason = &v
+ return s
+}
+
+// SetTask sets the Task field's value.
+func (s *StopTaskInput) SetTask(v string) *StopTaskInput {
+ s.Task = &v
+ return s
+}
+
type StopTaskOutput struct {
_ struct{} `type:"structure"`
@@ -5094,6 +6432,12 @@ func (s StopTaskOutput) GoString() string {
return s.String()
}
+// SetTask sets the Task field's value.
+func (s *StopTaskOutput) SetTask(v *Task) *StopTaskOutput {
+ s.Task = v
+ return s
+}
+
type SubmitContainerStateChangeInput struct {
_ struct{} `type:"structure"`
@@ -5131,6 +6475,48 @@ func (s SubmitContainerStateChangeInput) GoString() string {
return s.String()
}
+// SetCluster sets the Cluster field's value.
+func (s *SubmitContainerStateChangeInput) SetCluster(v string) *SubmitContainerStateChangeInput {
+ s.Cluster = &v
+ return s
+}
+
+// SetContainerName sets the ContainerName field's value.
+func (s *SubmitContainerStateChangeInput) SetContainerName(v string) *SubmitContainerStateChangeInput {
+ s.ContainerName = &v
+ return s
+}
+
+// SetExitCode sets the ExitCode field's value.
+func (s *SubmitContainerStateChangeInput) SetExitCode(v int64) *SubmitContainerStateChangeInput {
+ s.ExitCode = &v
+ return s
+}
+
+// SetNetworkBindings sets the NetworkBindings field's value.
+func (s *SubmitContainerStateChangeInput) SetNetworkBindings(v []*NetworkBinding) *SubmitContainerStateChangeInput {
+ s.NetworkBindings = v
+ return s
+}
+
+// SetReason sets the Reason field's value.
+func (s *SubmitContainerStateChangeInput) SetReason(v string) *SubmitContainerStateChangeInput {
+ s.Reason = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *SubmitContainerStateChangeInput) SetStatus(v string) *SubmitContainerStateChangeInput {
+ s.Status = &v
+ return s
+}
+
+// SetTask sets the Task field's value.
+func (s *SubmitContainerStateChangeInput) SetTask(v string) *SubmitContainerStateChangeInput {
+ s.Task = &v
+ return s
+}
+
type SubmitContainerStateChangeOutput struct {
_ struct{} `type:"structure"`
@@ -5148,6 +6534,12 @@ func (s SubmitContainerStateChangeOutput) GoString() string {
return s.String()
}
+// SetAcknowledgment sets the Acknowledgment field's value.
+func (s *SubmitContainerStateChangeOutput) SetAcknowledgment(v string) *SubmitContainerStateChangeOutput {
+ s.Acknowledgment = &v
+ return s
+}
+
type SubmitTaskStateChangeInput struct {
_ struct{} `type:"structure"`
@@ -5176,6 +6568,30 @@ func (s SubmitTaskStateChangeInput) GoString() string {
return s.String()
}
+// SetCluster sets the Cluster field's value.
+func (s *SubmitTaskStateChangeInput) SetCluster(v string) *SubmitTaskStateChangeInput {
+ s.Cluster = &v
+ return s
+}
+
+// SetReason sets the Reason field's value.
+func (s *SubmitTaskStateChangeInput) SetReason(v string) *SubmitTaskStateChangeInput {
+ s.Reason = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *SubmitTaskStateChangeInput) SetStatus(v string) *SubmitTaskStateChangeInput {
+ s.Status = &v
+ return s
+}
+
+// SetTask sets the Task field's value.
+func (s *SubmitTaskStateChangeInput) SetTask(v string) *SubmitTaskStateChangeInput {
+ s.Task = &v
+ return s
+}
+
type SubmitTaskStateChangeOutput struct {
_ struct{} `type:"structure"`
@@ -5193,6 +6609,12 @@ func (s SubmitTaskStateChangeOutput) GoString() string {
return s.String()
}
+// SetAcknowledgment sets the Acknowledgment field's value.
+func (s *SubmitTaskStateChangeOutput) SetAcknowledgment(v string) *SubmitTaskStateChangeOutput {
+ s.Acknowledgment = &v
+ return s
+}
+
// Details on a task in a cluster.
type Task struct {
_ struct{} `type:"structure"`
@@ -5252,6 +6674,84 @@ func (s Task) GoString() string {
return s.String()
}
+// SetClusterArn sets the ClusterArn field's value.
+func (s *Task) SetClusterArn(v string) *Task {
+ s.ClusterArn = &v
+ return s
+}
+
+// SetContainerInstanceArn sets the ContainerInstanceArn field's value.
+func (s *Task) SetContainerInstanceArn(v string) *Task {
+ s.ContainerInstanceArn = &v
+ return s
+}
+
+// SetContainers sets the Containers field's value.
+func (s *Task) SetContainers(v []*Container) *Task {
+ s.Containers = v
+ return s
+}
+
+// SetCreatedAt sets the CreatedAt field's value.
+func (s *Task) SetCreatedAt(v time.Time) *Task {
+ s.CreatedAt = &v
+ return s
+}
+
+// SetDesiredStatus sets the DesiredStatus field's value.
+func (s *Task) SetDesiredStatus(v string) *Task {
+ s.DesiredStatus = &v
+ return s
+}
+
+// SetLastStatus sets the LastStatus field's value.
+func (s *Task) SetLastStatus(v string) *Task {
+ s.LastStatus = &v
+ return s
+}
+
+// SetOverrides sets the Overrides field's value.
+func (s *Task) SetOverrides(v *TaskOverride) *Task {
+ s.Overrides = v
+ return s
+}
+
+// SetStartedAt sets the StartedAt field's value.
+func (s *Task) SetStartedAt(v time.Time) *Task {
+ s.StartedAt = &v
+ return s
+}
+
+// SetStartedBy sets the StartedBy field's value.
+func (s *Task) SetStartedBy(v string) *Task {
+ s.StartedBy = &v
+ return s
+}
+
+// SetStoppedAt sets the StoppedAt field's value.
+func (s *Task) SetStoppedAt(v time.Time) *Task {
+ s.StoppedAt = &v
+ return s
+}
+
+// SetStoppedReason sets the StoppedReason field's value.
+func (s *Task) SetStoppedReason(v string) *Task {
+ s.StoppedReason = &v
+ return s
+}
+
+// SetTaskArn sets the TaskArn field's value.
+func (s *Task) SetTaskArn(v string) *Task {
+ s.TaskArn = &v
+ return s
+}
+
+// SetTaskDefinitionArn sets the TaskDefinitionArn field's value.
+func (s *Task) SetTaskDefinitionArn(v string) *Task {
+ s.TaskDefinitionArn = &v
+ return s
+}
+
// Details of a task definition.
type TaskDefinition struct {
_ struct{} `type:"structure"`
@@ -5314,6 +6814,60 @@ func (s TaskDefinition) GoString() string {
return s.String()
}
+// SetContainerDefinitions sets the ContainerDefinitions field's value.
+func (s *TaskDefinition) SetContainerDefinitions(v []*ContainerDefinition) *TaskDefinition {
+ s.ContainerDefinitions = v
+ return s
+}
+
+// SetFamily sets the Family field's value.
+func (s *TaskDefinition) SetFamily(v string) *TaskDefinition {
+ s.Family = &v
+ return s
+}
+
+// SetNetworkMode sets the NetworkMode field's value.
+func (s *TaskDefinition) SetNetworkMode(v string) *TaskDefinition {
+ s.NetworkMode = &v
+ return s
+}
+
+// SetRequiresAttributes sets the RequiresAttributes field's value.
+func (s *TaskDefinition) SetRequiresAttributes(v []*Attribute) *TaskDefinition {
+ s.RequiresAttributes = v
+ return s
+}
+
+// SetRevision sets the Revision field's value.
+func (s *TaskDefinition) SetRevision(v int64) *TaskDefinition {
+ s.Revision = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *TaskDefinition) SetStatus(v string) *TaskDefinition {
+ s.Status = &v
+ return s
+}
+
+// SetTaskDefinitionArn sets the TaskDefinitionArn field's value.
+func (s *TaskDefinition) SetTaskDefinitionArn(v string) *TaskDefinition {
+ s.TaskDefinitionArn = &v
+ return s
+}
+
+// SetTaskRoleArn sets the TaskRoleArn field's value.
+func (s *TaskDefinition) SetTaskRoleArn(v string) *TaskDefinition {
+ s.TaskRoleArn = &v
+ return s
+}
+
+// SetVolumes sets the Volumes field's value.
+func (s *TaskDefinition) SetVolumes(v []*Volume) *TaskDefinition {
+ s.Volumes = v
+ return s
+}
+
// The overrides associated with a task.
type TaskOverride struct {
_ struct{} `type:"structure"`
@@ -5337,6 +6891,18 @@ func (s TaskOverride) GoString() string {
return s.String()
}
+// SetContainerOverrides sets the ContainerOverrides field's value.
+func (s *TaskOverride) SetContainerOverrides(v []*ContainerOverride) *TaskOverride {
+ s.ContainerOverrides = v
+ return s
+}
+
+// SetTaskRoleArn sets the TaskRoleArn field's value.
+func (s *TaskOverride) SetTaskRoleArn(v string) *TaskOverride {
+ s.TaskRoleArn = &v
+ return s
+}
+
// The ulimit settings to pass to the container.
type Ulimit struct {
_ struct{} `type:"structure"`
@@ -5386,6 +6952,24 @@ func (s *Ulimit) Validate() error {
return nil
}
+// SetHardLimit sets the HardLimit field's value.
+func (s *Ulimit) SetHardLimit(v int64) *Ulimit {
+ s.HardLimit = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *Ulimit) SetName(v string) *Ulimit {
+ s.Name = &v
+ return s
+}
+
+// SetSoftLimit sets the SoftLimit field's value.
+func (s *Ulimit) SetSoftLimit(v int64) *Ulimit {
+ s.SoftLimit = &v
+ return s
+}
+
type UpdateContainerAgentInput struct {
_ struct{} `type:"structure"`
@@ -5425,6 +7009,18 @@ func (s *UpdateContainerAgentInput) Validate() error {
return nil
}
+// SetCluster sets the Cluster field's value.
+func (s *UpdateContainerAgentInput) SetCluster(v string) *UpdateContainerAgentInput {
+ s.Cluster = &v
+ return s
+}
+
+// SetContainerInstance sets the ContainerInstance field's value.
+func (s *UpdateContainerAgentInput) SetContainerInstance(v string) *UpdateContainerAgentInput {
+ s.ContainerInstance = &v
+ return s
+}
+
type UpdateContainerAgentOutput struct {
_ struct{} `type:"structure"`
@@ -5443,6 +7039,12 @@ func (s UpdateContainerAgentOutput) GoString() string {
return s.String()
}
+// SetContainerInstance sets the ContainerInstance field's value.
+func (s *UpdateContainerAgentOutput) SetContainerInstance(v *ContainerInstance) *UpdateContainerAgentOutput {
+ s.ContainerInstance = v
+ return s
+}
+
type UpdateServiceInput struct {
_ struct{} `type:"structure"`
@@ -5495,6 +7097,36 @@ func (s *UpdateServiceInput) Validate() error {
return nil
}
+// SetCluster sets the Cluster field's value.
+func (s *UpdateServiceInput) SetCluster(v string) *UpdateServiceInput {
+ s.Cluster = &v
+ return s
+}
+
+// SetDeploymentConfiguration sets the DeploymentConfiguration field's value.
+func (s *UpdateServiceInput) SetDeploymentConfiguration(v *DeploymentConfiguration) *UpdateServiceInput {
+ s.DeploymentConfiguration = v
+ return s
+}
+
+// SetDesiredCount sets the DesiredCount field's value.
+func (s *UpdateServiceInput) SetDesiredCount(v int64) *UpdateServiceInput {
+ s.DesiredCount = &v
+ return s
+}
+
+// SetService sets the Service field's value.
+func (s *UpdateServiceInput) SetService(v string) *UpdateServiceInput {
+ s.Service = &v
+ return s
+}
+
+// SetTaskDefinition sets the TaskDefinition field's value.
+func (s *UpdateServiceInput) SetTaskDefinition(v string) *UpdateServiceInput {
+ s.TaskDefinition = &v
+ return s
+}
+
type UpdateServiceOutput struct {
_ struct{} `type:"structure"`
@@ -5512,6 +7144,12 @@ func (s UpdateServiceOutput) GoString() string {
return s.String()
}
+// SetService sets the Service field's value.
+func (s *UpdateServiceOutput) SetService(v *Service) *UpdateServiceOutput {
+ s.Service = v
+ return s
+}
+
// The Docker and Amazon ECS container agent version information about a container
// instance.
type VersionInfo struct {
@@ -5538,6 +7176,24 @@ func (s VersionInfo) GoString() string {
return s.String()
}
+// SetAgentHash sets the AgentHash field's value.
+func (s *VersionInfo) SetAgentHash(v string) *VersionInfo {
+ s.AgentHash = &v
+ return s
+}
+
+// SetAgentVersion sets the AgentVersion field's value.
+func (s *VersionInfo) SetAgentVersion(v string) *VersionInfo {
+ s.AgentVersion = &v
+ return s
+}
+
+// SetDockerVersion sets the DockerVersion field's value.
+func (s *VersionInfo) SetDockerVersion(v string) *VersionInfo {
+ s.DockerVersion = &v
+ return s
+}
+
// A data volume used in a task definition.
type Volume struct {
_ struct{} `type:"structure"`
@@ -5565,6 +7221,18 @@ func (s Volume) GoString() string {
return s.String()
}
+// SetHost sets the Host field's value.
+func (s *Volume) SetHost(v *HostVolumeProperties) *Volume {
+ s.Host = v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *Volume) SetName(v string) *Volume {
+ s.Name = &v
+ return s
+}
+
// Details on a data volume from another container.
type VolumeFrom struct {
_ struct{} `type:"structure"`
@@ -5588,6 +7256,18 @@ func (s VolumeFrom) GoString() string {
return s.String()
}
+// SetReadOnly sets the ReadOnly field's value.
+func (s *VolumeFrom) SetReadOnly(v bool) *VolumeFrom {
+ s.ReadOnly = &v
+ return s
+}
+
+// SetSourceContainer sets the SourceContainer field's value.
+func (s *VolumeFrom) SetSourceContainer(v string) *VolumeFrom {
+ s.SourceContainer = &v
+ return s
+}
+
const (
// AgentUpdateStatusPending is a AgentUpdateStatus enum value
AgentUpdateStatusPending = "PENDING"
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 0654198..afc6707 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
@@ -1175,6 +1175,18 @@ func (s *CreateFileSystemInput) Validate() error {
return nil
}
+// SetCreationToken sets the CreationToken field's value.
+func (s *CreateFileSystemInput) SetCreationToken(v string) *CreateFileSystemInput {
+ s.CreationToken = &v
+ return s
+}
+
+// SetPerformanceMode sets the PerformanceMode field's value.
+func (s *CreateFileSystemInput) SetPerformanceMode(v string) *CreateFileSystemInput {
+ s.PerformanceMode = &v
+ return s
+}
+
type CreateMountTargetInput struct {
_ struct{} `type:"structure"`
@@ -1222,6 +1234,30 @@ func (s *CreateMountTargetInput) Validate() error {
return nil
}
+// SetFileSystemId sets the FileSystemId field's value.
+func (s *CreateMountTargetInput) SetFileSystemId(v string) *CreateMountTargetInput {
+ s.FileSystemId = &v
+ return s
+}
+
+// SetIpAddress sets the IpAddress field's value.
+func (s *CreateMountTargetInput) SetIpAddress(v string) *CreateMountTargetInput {
+ s.IpAddress = &v
+ return s
+}
+
+// SetSecurityGroups sets the SecurityGroups field's value.
+func (s *CreateMountTargetInput) SetSecurityGroups(v []*string) *CreateMountTargetInput {
+ s.SecurityGroups = v
+ return s
+}
+
+// SetSubnetId sets the SubnetId field's value.
+func (s *CreateMountTargetInput) SetSubnetId(v string) *CreateMountTargetInput {
+ s.SubnetId = &v
+ return s
+}
+
type CreateTagsInput struct {
_ struct{} `type:"structure"`
@@ -1273,6 +1309,18 @@ func (s *CreateTagsInput) Validate() error {
return nil
}
+// SetFileSystemId sets the FileSystemId field's value.
+func (s *CreateTagsInput) SetFileSystemId(v string) *CreateTagsInput {
+ s.FileSystemId = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *CreateTagsInput) SetTags(v []*Tag) *CreateTagsInput {
+ s.Tags = v
+ return s
+}
+
type CreateTagsOutput struct {
_ struct{} `type:"structure"`
}
@@ -1319,6 +1367,12 @@ func (s *DeleteFileSystemInput) Validate() error {
return nil
}
+// SetFileSystemId sets the FileSystemId field's value.
+func (s *DeleteFileSystemInput) SetFileSystemId(v string) *DeleteFileSystemInput {
+ s.FileSystemId = &v
+ return s
+}
+
type DeleteFileSystemOutput struct {
_ struct{} `type:"structure"`
}
@@ -1365,6 +1419,12 @@ func (s *DeleteMountTargetInput) Validate() error {
return nil
}
+// SetMountTargetId sets the MountTargetId field's value.
+func (s *DeleteMountTargetInput) SetMountTargetId(v string) *DeleteMountTargetInput {
+ s.MountTargetId = &v
+ return s
+}
+
type DeleteMountTargetOutput struct {
_ struct{} `type:"structure"`
}
@@ -1419,6 +1479,18 @@ func (s *DeleteTagsInput) Validate() error {
return nil
}
+// SetFileSystemId sets the FileSystemId field's value.
+func (s *DeleteTagsInput) SetFileSystemId(v string) *DeleteTagsInput {
+ s.FileSystemId = &v
+ return s
+}
+
+// SetTagKeys sets the TagKeys field's value.
+func (s *DeleteTagsInput) SetTagKeys(v []*string) *DeleteTagsInput {
+ s.TagKeys = v
+ return s
+}
+
type DeleteTagsOutput struct {
_ struct{} `type:"structure"`
}
@@ -1483,6 +1555,30 @@ func (s *DescribeFileSystemsInput) Validate() error {
return nil
}
+// SetCreationToken sets the CreationToken field's value.
+func (s *DescribeFileSystemsInput) SetCreationToken(v string) *DescribeFileSystemsInput {
+ s.CreationToken = &v
+ return s
+}
+
+// SetFileSystemId sets the FileSystemId field's value.
+func (s *DescribeFileSystemsInput) SetFileSystemId(v string) *DescribeFileSystemsInput {
+ s.FileSystemId = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeFileSystemsInput) SetMarker(v string) *DescribeFileSystemsInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxItems sets the MaxItems field's value.
+func (s *DescribeFileSystemsInput) SetMaxItems(v int64) *DescribeFileSystemsInput {
+ s.MaxItems = &v
+ return s
+}
+
type DescribeFileSystemsOutput struct {
_ struct{} `type:"structure"`
@@ -1507,6 +1603,24 @@ func (s DescribeFileSystemsOutput) GoString() string {
return s.String()
}
+// SetFileSystems sets the FileSystems field's value.
+func (s *DescribeFileSystemsOutput) SetFileSystems(v []*FileSystemDescription) *DescribeFileSystemsOutput {
+ s.FileSystems = v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeFileSystemsOutput) SetMarker(v string) *DescribeFileSystemsOutput {
+ s.Marker = &v
+ return s
+}
+
+// SetNextMarker sets the NextMarker field's value.
+func (s *DescribeFileSystemsOutput) SetNextMarker(v string) *DescribeFileSystemsOutput {
+ s.NextMarker = &v
+ return s
+}
+
type DescribeMountTargetSecurityGroupsInput struct {
_ struct{} `type:"structure"`
@@ -1539,6 +1653,12 @@ func (s *DescribeMountTargetSecurityGroupsInput) Validate() error {
return nil
}
+// SetMountTargetId sets the MountTargetId field's value.
+func (s *DescribeMountTargetSecurityGroupsInput) SetMountTargetId(v string) *DescribeMountTargetSecurityGroupsInput {
+ s.MountTargetId = &v
+ return s
+}
+
type DescribeMountTargetSecurityGroupsOutput struct {
_ struct{} `type:"structure"`
@@ -1558,6 +1678,12 @@ func (s DescribeMountTargetSecurityGroupsOutput) GoString() string {
return s.String()
}
+// SetSecurityGroups sets the SecurityGroups field's value.
+func (s *DescribeMountTargetSecurityGroupsOutput) SetSecurityGroups(v []*string) *DescribeMountTargetSecurityGroupsOutput {
+ s.SecurityGroups = v
+ return s
+}
+
type DescribeMountTargetsInput struct {
_ struct{} `type:"structure"`
@@ -1602,6 +1728,30 @@ func (s *DescribeMountTargetsInput) Validate() error {
return nil
}
+// SetFileSystemId sets the FileSystemId field's value.
+func (s *DescribeMountTargetsInput) SetFileSystemId(v string) *DescribeMountTargetsInput {
+ s.FileSystemId = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeMountTargetsInput) SetMarker(v string) *DescribeMountTargetsInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxItems sets the MaxItems field's value.
+func (s *DescribeMountTargetsInput) SetMaxItems(v int64) *DescribeMountTargetsInput {
+ s.MaxItems = &v
+ return s
+}
+
+// SetMountTargetId sets the MountTargetId field's value.
+func (s *DescribeMountTargetsInput) SetMountTargetId(v string) *DescribeMountTargetsInput {
+ s.MountTargetId = &v
+ return s
+}
+
type DescribeMountTargetsOutput struct {
_ struct{} `type:"structure"`
@@ -1629,6 +1779,24 @@ func (s DescribeMountTargetsOutput) GoString() string {
return s.String()
}
+// SetMarker sets the Marker field's value.
+func (s *DescribeMountTargetsOutput) SetMarker(v string) *DescribeMountTargetsOutput {
+ s.Marker = &v
+ return s
+}
+
+// SetMountTargets sets the MountTargets field's value.
+func (s *DescribeMountTargetsOutput) SetMountTargets(v []*MountTargetDescription) *DescribeMountTargetsOutput {
+ s.MountTargets = v
+ return s
+}
+
+// SetNextMarker sets the NextMarker field's value.
+func (s *DescribeMountTargetsOutput) SetNextMarker(v string) *DescribeMountTargetsOutput {
+ s.NextMarker = &v
+ return s
+}
+
type DescribeTagsInput struct {
_ struct{} `type:"structure"`
@@ -1673,6 +1841,24 @@ func (s *DescribeTagsInput) Validate() error {
return nil
}
+// SetFileSystemId sets the FileSystemId field's value.
+func (s *DescribeTagsInput) SetFileSystemId(v string) *DescribeTagsInput {
+ s.FileSystemId = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeTagsInput) SetMarker(v string) *DescribeTagsInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxItems sets the MaxItems field's value.
+func (s *DescribeTagsInput) SetMaxItems(v int64) *DescribeTagsInput {
+ s.MaxItems = &v
+ return s
+}
+
type DescribeTagsOutput struct {
_ struct{} `type:"structure"`
@@ -1701,6 +1887,24 @@ func (s DescribeTagsOutput) GoString() string {
return s.String()
}
+// SetMarker sets the Marker field's value.
+func (s *DescribeTagsOutput) SetMarker(v string) *DescribeTagsOutput {
+ s.Marker = &v
+ return s
+}
+
+// SetNextMarker sets the NextMarker field's value.
+func (s *DescribeTagsOutput) SetNextMarker(v string) *DescribeTagsOutput {
+ s.NextMarker = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *DescribeTagsOutput) SetTags(v []*Tag) *DescribeTagsOutput {
+ s.Tags = v
+ return s
+}
+
// Description of the file system.
type FileSystemDescription struct {
_ struct{} `type:"structure"`
@@ -1771,6 +1975,60 @@ func (s FileSystemDescription) GoString() string {
return s.String()
}
+// SetCreationTime sets the CreationTime field's value.
+func (s *FileSystemDescription) SetCreationTime(v time.Time) *FileSystemDescription {
+ s.CreationTime = &v
+ return s
+}
+
+// SetCreationToken sets the CreationToken field's value.
+func (s *FileSystemDescription) SetCreationToken(v string) *FileSystemDescription {
+ s.CreationToken = &v
+ return s
+}
+
+// SetFileSystemId sets the FileSystemId field's value.
+func (s *FileSystemDescription) SetFileSystemId(v string) *FileSystemDescription {
+ s.FileSystemId = &v
+ return s
+}
+
+// SetLifeCycleState sets the LifeCycleState field's value.
+func (s *FileSystemDescription) SetLifeCycleState(v string) *FileSystemDescription {
+ s.LifeCycleState = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *FileSystemDescription) SetName(v string) *FileSystemDescription {
+ s.Name = &v
+ return s
+}
+
+// SetNumberOfMountTargets sets the NumberOfMountTargets field's value.
+func (s *FileSystemDescription) SetNumberOfMountTargets(v int64) *FileSystemDescription {
+ s.NumberOfMountTargets = &v
+ return s
+}
+
+// SetOwnerId sets the OwnerId field's value.
+func (s *FileSystemDescription) SetOwnerId(v string) *FileSystemDescription {
+ s.OwnerId = &v
+ return s
+}
+
+// SetPerformanceMode sets the PerformanceMode field's value.
+func (s *FileSystemDescription) SetPerformanceMode(v string) *FileSystemDescription {
+ s.PerformanceMode = &v
+ return s
+}
+
+// SetSizeInBytes sets the SizeInBytes field's value.
+func (s *FileSystemDescription) SetSizeInBytes(v *FileSystemSize) *FileSystemDescription {
+ s.SizeInBytes = v
+ return s
+}
+
// Latest known metered size (in bytes) of data stored in the file system, in
// its Value field, and the time at which that size was determined in its Timestamp
// field. Note that the value does not represent the size of a consistent snapshot
@@ -1802,6 +2060,18 @@ func (s FileSystemSize) GoString() string {
return s.String()
}
+// SetTimestamp sets the Timestamp field's value.
+func (s *FileSystemSize) SetTimestamp(v time.Time) *FileSystemSize {
+ s.Timestamp = &v
+ return s
+}
+
+// SetValue sets the Value field's value.
+func (s *FileSystemSize) SetValue(v int64) *FileSystemSize {
+ s.Value = &v
+ return s
+}
+
type ModifyMountTargetSecurityGroupsInput struct {
_ struct{} `type:"structure"`
@@ -1837,6 +2107,18 @@ func (s *ModifyMountTargetSecurityGroupsInput) Validate() error {
return nil
}
+// SetMountTargetId sets the MountTargetId field's value.
+func (s *ModifyMountTargetSecurityGroupsInput) SetMountTargetId(v string) *ModifyMountTargetSecurityGroupsInput {
+ s.MountTargetId = &v
+ return s
+}
+
+// SetSecurityGroups sets the SecurityGroups field's value.
+func (s *ModifyMountTargetSecurityGroupsInput) SetSecurityGroups(v []*string) *ModifyMountTargetSecurityGroupsInput {
+ s.SecurityGroups = v
+ return s
+}
+
type ModifyMountTargetSecurityGroupsOutput struct {
_ struct{} `type:"structure"`
}
@@ -1896,6 +2178,48 @@ func (s MountTargetDescription) GoString() string {
return s.String()
}
+// SetFileSystemId sets the FileSystemId field's value.
+func (s *MountTargetDescription) SetFileSystemId(v string) *MountTargetDescription {
+ s.FileSystemId = &v
+ return s
+}
+
+// SetIpAddress sets the IpAddress field's value.
+func (s *MountTargetDescription) SetIpAddress(v string) *MountTargetDescription {
+ s.IpAddress = &v
+ return s
+}
+
+// SetLifeCycleState sets the LifeCycleState field's value.
+func (s *MountTargetDescription) SetLifeCycleState(v string) *MountTargetDescription {
+ s.LifeCycleState = &v
+ return s
+}
+
+// SetMountTargetId sets the MountTargetId field's value.
+func (s *MountTargetDescription) SetMountTargetId(v string) *MountTargetDescription {
+ s.MountTargetId = &v
+ return s
+}
+
+// SetNetworkInterfaceId sets the NetworkInterfaceId field's value.
+func (s *MountTargetDescription) SetNetworkInterfaceId(v string) *MountTargetDescription {
+ s.NetworkInterfaceId = &v
+ return s
+}
+
+// SetOwnerId sets the OwnerId field's value.
+func (s *MountTargetDescription) SetOwnerId(v string) *MountTargetDescription {
+ s.OwnerId = &v
+ return s
+}
+
+// SetSubnetId sets the SubnetId field's value.
+func (s *MountTargetDescription) SetSubnetId(v string) *MountTargetDescription {
+ s.SubnetId = &v
+ return s
+}
+
// A tag is a key-value pair. Allowed characters: letters, whitespace, and numbers,
// representable in UTF-8, and the following characters: + - = . _ : /
type Tag struct {
@@ -1941,6 +2265,18 @@ func (s *Tag) Validate() error {
return nil
}
+// 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
+}
+
const (
// LifeCycleStateCreating is a LifeCycleState enum value
LifeCycleStateCreating = "creating"
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 6c1d711..1f9b9d2 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
@@ -742,7 +742,7 @@ func (c *ElastiCache) CreateReplicationGroupRequest(input *CreateReplicationGrou
// When a Redis (cluster mode disabled) replication group has been successfully
// created, you can add one or more read replicas to it, up to a total of 5
// read replicas. You cannot alter a Redis (cluster mode enabled) replication
-// group once it has been created.
+// group after it has been created.
//
// This operation is valid for Redis only.
//
@@ -3615,6 +3615,18 @@ func (s *AddTagsToResourceInput) Validate() error {
return nil
}
+// SetResourceName sets the ResourceName field's value.
+func (s *AddTagsToResourceInput) SetResourceName(v string) *AddTagsToResourceInput {
+ s.ResourceName = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *AddTagsToResourceInput) SetTags(v []*Tag) *AddTagsToResourceInput {
+ s.Tags = v
+ return s
+}
+
// Represents the input of an AuthorizeCacheSecurityGroupIngress operation.
type AuthorizeCacheSecurityGroupIngressInput struct {
_ struct{} `type:"structure"`
@@ -3667,6 +3679,24 @@ func (s *AuthorizeCacheSecurityGroupIngressInput) Validate() error {
return nil
}
+// SetCacheSecurityGroupName sets the CacheSecurityGroupName field's value.
+func (s *AuthorizeCacheSecurityGroupIngressInput) SetCacheSecurityGroupName(v string) *AuthorizeCacheSecurityGroupIngressInput {
+ s.CacheSecurityGroupName = &v
+ return s
+}
+
+// SetEC2SecurityGroupName sets the EC2SecurityGroupName field's value.
+func (s *AuthorizeCacheSecurityGroupIngressInput) SetEC2SecurityGroupName(v string) *AuthorizeCacheSecurityGroupIngressInput {
+ s.EC2SecurityGroupName = &v
+ return s
+}
+
+// SetEC2SecurityGroupOwnerId sets the EC2SecurityGroupOwnerId field's value.
+func (s *AuthorizeCacheSecurityGroupIngressInput) SetEC2SecurityGroupOwnerId(v string) *AuthorizeCacheSecurityGroupIngressInput {
+ s.EC2SecurityGroupOwnerId = &v
+ return s
+}
+
type AuthorizeCacheSecurityGroupIngressOutput struct {
_ struct{} `type:"structure"`
@@ -3690,6 +3720,12 @@ func (s AuthorizeCacheSecurityGroupIngressOutput) GoString() string {
return s.String()
}
+// SetCacheSecurityGroup sets the CacheSecurityGroup field's value.
+func (s *AuthorizeCacheSecurityGroupIngressOutput) SetCacheSecurityGroup(v *CacheSecurityGroup) *AuthorizeCacheSecurityGroupIngressOutput {
+ s.CacheSecurityGroup = v
+ return s
+}
+
// Describes an Availability Zone in which the cache cluster is launched.
type AvailabilityZone struct {
_ struct{} `type:"structure"`
@@ -3708,6 +3744,12 @@ func (s AvailabilityZone) GoString() string {
return s.String()
}
+// SetName sets the Name field's value.
+func (s *AvailabilityZone) SetName(v string) *AvailabilityZone {
+ s.Name = &v
+ return s
+}
+
// Contains all of the attributes of a specific cache cluster.
type CacheCluster struct {
_ struct{} `type:"structure"`
@@ -3869,6 +3911,138 @@ func (s CacheCluster) GoString() string {
return s.String()
}
+// SetAutoMinorVersionUpgrade sets the AutoMinorVersionUpgrade field's value.
+func (s *CacheCluster) SetAutoMinorVersionUpgrade(v bool) *CacheCluster {
+ s.AutoMinorVersionUpgrade = &v
+ return s
+}
+
+// SetCacheClusterCreateTime sets the CacheClusterCreateTime field's value.
+func (s *CacheCluster) SetCacheClusterCreateTime(v time.Time) *CacheCluster {
+ s.CacheClusterCreateTime = &v
+ return s
+}
+
+// SetCacheClusterId sets the CacheClusterId field's value.
+func (s *CacheCluster) SetCacheClusterId(v string) *CacheCluster {
+ s.CacheClusterId = &v
+ return s
+}
+
+// SetCacheClusterStatus sets the CacheClusterStatus field's value.
+func (s *CacheCluster) SetCacheClusterStatus(v string) *CacheCluster {
+ s.CacheClusterStatus = &v
+ return s
+}
+
+// SetCacheNodeType sets the CacheNodeType field's value.
+func (s *CacheCluster) SetCacheNodeType(v string) *CacheCluster {
+ s.CacheNodeType = &v
+ return s
+}
+
+// SetCacheNodes sets the CacheNodes field's value.
+func (s *CacheCluster) SetCacheNodes(v []*CacheNode) *CacheCluster {
+ s.CacheNodes = v
+ return s
+}
+
+// SetCacheParameterGroup sets the CacheParameterGroup field's value.
+func (s *CacheCluster) SetCacheParameterGroup(v *CacheParameterGroupStatus) *CacheCluster {
+ s.CacheParameterGroup = v
+ return s
+}
+
+// SetCacheSecurityGroups sets the CacheSecurityGroups field's value.
+func (s *CacheCluster) SetCacheSecurityGroups(v []*CacheSecurityGroupMembership) *CacheCluster {
+ s.CacheSecurityGroups = v
+ return s
+}
+
+// SetCacheSubnetGroupName sets the CacheSubnetGroupName field's value.
+func (s *CacheCluster) SetCacheSubnetGroupName(v string) *CacheCluster {
+ s.CacheSubnetGroupName = &v
+ return s
+}
+
+// SetClientDownloadLandingPage sets the ClientDownloadLandingPage field's value.
+func (s *CacheCluster) SetClientDownloadLandingPage(v string) *CacheCluster {
+ s.ClientDownloadLandingPage = &v
+ return s
+}
+
+// SetConfigurationEndpoint sets the ConfigurationEndpoint field's value.
+func (s *CacheCluster) SetConfigurationEndpoint(v *Endpoint) *CacheCluster {
+ s.ConfigurationEndpoint = v
+ return s
+}
+
+// SetEngine sets the Engine field's value.
+func (s *CacheCluster) SetEngine(v string) *CacheCluster {
+ s.Engine = &v
+ return s
+}
+
+// SetEngineVersion sets the EngineVersion field's value.
+func (s *CacheCluster) SetEngineVersion(v string) *CacheCluster {
+ s.EngineVersion = &v
+ return s
+}
+
+// SetNotificationConfiguration sets the NotificationConfiguration field's value.
+func (s *CacheCluster) SetNotificationConfiguration(v *NotificationConfiguration) *CacheCluster {
+ s.NotificationConfiguration = v
+ return s
+}
+
+// SetNumCacheNodes sets the NumCacheNodes field's value.
+func (s *CacheCluster) SetNumCacheNodes(v int64) *CacheCluster {
+ s.NumCacheNodes = &v
+ return s
+}
+
+// SetPendingModifiedValues sets the PendingModifiedValues field's value.
+func (s *CacheCluster) SetPendingModifiedValues(v *PendingModifiedValues) *CacheCluster {
+ s.PendingModifiedValues = v
+ return s
+}
+
+// SetPreferredAvailabilityZone sets the PreferredAvailabilityZone field's value.
+func (s *CacheCluster) SetPreferredAvailabilityZone(v string) *CacheCluster {
+ s.PreferredAvailabilityZone = &v
+ return s
+}
+
+// SetPreferredMaintenanceWindow sets the PreferredMaintenanceWindow field's value.
+func (s *CacheCluster) SetPreferredMaintenanceWindow(v string) *CacheCluster {
+ s.PreferredMaintenanceWindow = &v
+ return s
+}
+
+// SetReplicationGroupId sets the ReplicationGroupId field's value.
+func (s *CacheCluster) SetReplicationGroupId(v string) *CacheCluster {
+ s.ReplicationGroupId = &v
+ return s
+}
+
+// SetSecurityGroups sets the SecurityGroups field's value.
+func (s *CacheCluster) SetSecurityGroups(v []*SecurityGroupMembership) *CacheCluster {
+ s.SecurityGroups = v
+ return s
+}
+
+// SetSnapshotRetentionLimit sets the SnapshotRetentionLimit field's value.
+func (s *CacheCluster) SetSnapshotRetentionLimit(v int64) *CacheCluster {
+ s.SnapshotRetentionLimit = &v
+ return s
+}
+
+// SetSnapshotWindow sets the SnapshotWindow field's value.
+func (s *CacheCluster) SetSnapshotWindow(v string) *CacheCluster {
+ s.SnapshotWindow = &v
+ return s
+}
+
// Provides all of the details about a particular cache engine version.
type CacheEngineVersion struct {
_ struct{} `type:"structure"`
@@ -3901,6 +4075,36 @@ func (s CacheEngineVersion) GoString() string {
return s.String()
}
+// SetCacheEngineDescription sets the CacheEngineDescription field's value.
+func (s *CacheEngineVersion) SetCacheEngineDescription(v string) *CacheEngineVersion {
+ s.CacheEngineDescription = &v
+ return s
+}
+
+// SetCacheEngineVersionDescription sets the CacheEngineVersionDescription field's value.
+func (s *CacheEngineVersion) SetCacheEngineVersionDescription(v string) *CacheEngineVersion {
+ s.CacheEngineVersionDescription = &v
+ return s
+}
+
+// SetCacheParameterGroupFamily sets the CacheParameterGroupFamily field's value.
+func (s *CacheEngineVersion) SetCacheParameterGroupFamily(v string) *CacheEngineVersion {
+ s.CacheParameterGroupFamily = &v
+ return s
+}
+
+// SetEngine sets the Engine field's value.
+func (s *CacheEngineVersion) SetEngine(v string) *CacheEngineVersion {
+ s.Engine = &v
+ return s
+}
+
+// SetEngineVersion sets the EngineVersion field's value.
+func (s *CacheEngineVersion) SetEngineVersion(v string) *CacheEngineVersion {
+ s.EngineVersion = &v
+ return s
+}
+
// Represents an individual cache node within a cache cluster. Each cache node
// runs its own instance of the cluster's protocol-compliant caching software
// - either Memcached or Redis.
@@ -3980,6 +4184,48 @@ func (s CacheNode) GoString() string {
return s.String()
}
+// SetCacheNodeCreateTime sets the CacheNodeCreateTime field's value.
+func (s *CacheNode) SetCacheNodeCreateTime(v time.Time) *CacheNode {
+ s.CacheNodeCreateTime = &v
+ return s
+}
+
+// SetCacheNodeId sets the CacheNodeId field's value.
+func (s *CacheNode) SetCacheNodeId(v string) *CacheNode {
+ s.CacheNodeId = &v
+ return s
+}
+
+// SetCacheNodeStatus sets the CacheNodeStatus field's value.
+func (s *CacheNode) SetCacheNodeStatus(v string) *CacheNode {
+ s.CacheNodeStatus = &v
+ return s
+}
+
+// SetCustomerAvailabilityZone sets the CustomerAvailabilityZone field's value.
+func (s *CacheNode) SetCustomerAvailabilityZone(v string) *CacheNode {
+ s.CustomerAvailabilityZone = &v
+ return s
+}
+
+// SetEndpoint sets the Endpoint field's value.
+func (s *CacheNode) SetEndpoint(v *Endpoint) *CacheNode {
+ s.Endpoint = v
+ return s
+}
+
+// SetParameterGroupStatus sets the ParameterGroupStatus field's value.
+func (s *CacheNode) SetParameterGroupStatus(v string) *CacheNode {
+ s.ParameterGroupStatus = &v
+ return s
+}
+
+// SetSourceCacheNodeId sets the SourceCacheNodeId field's value.
+func (s *CacheNode) SetSourceCacheNodeId(v string) *CacheNode {
+ s.SourceCacheNodeId = &v
+ return s
+}
+
// A parameter that has a different value for each cache node type it is applied
// to. For example, in a Redis cache cluster, a cache.m1.large cache node type
// would have a larger maxmemory value than a cache.m1.small type.
@@ -4029,6 +4275,60 @@ func (s CacheNodeTypeSpecificParameter) GoString() string {
return s.String()
}
+// SetAllowedValues sets the AllowedValues field's value.
+func (s *CacheNodeTypeSpecificParameter) SetAllowedValues(v string) *CacheNodeTypeSpecificParameter {
+ s.AllowedValues = &v
+ return s
+}
+
+// SetCacheNodeTypeSpecificValues sets the CacheNodeTypeSpecificValues field's value.
+func (s *CacheNodeTypeSpecificParameter) SetCacheNodeTypeSpecificValues(v []*CacheNodeTypeSpecificValue) *CacheNodeTypeSpecificParameter {
+ s.CacheNodeTypeSpecificValues = v
+ return s
+}
+
+// SetChangeType sets the ChangeType field's value.
+func (s *CacheNodeTypeSpecificParameter) SetChangeType(v string) *CacheNodeTypeSpecificParameter {
+ s.ChangeType = &v
+ return s
+}
+
+// SetDataType sets the DataType field's value.
+func (s *CacheNodeTypeSpecificParameter) SetDataType(v string) *CacheNodeTypeSpecificParameter {
+ s.DataType = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *CacheNodeTypeSpecificParameter) SetDescription(v string) *CacheNodeTypeSpecificParameter {
+ s.Description = &v
+ return s
+}
+
+// SetIsModifiable sets the IsModifiable field's value.
+func (s *CacheNodeTypeSpecificParameter) SetIsModifiable(v bool) *CacheNodeTypeSpecificParameter {
+ s.IsModifiable = &v
+ return s
+}
+
+// SetMinimumEngineVersion sets the MinimumEngineVersion field's value.
+func (s *CacheNodeTypeSpecificParameter) SetMinimumEngineVersion(v string) *CacheNodeTypeSpecificParameter {
+ s.MinimumEngineVersion = &v
+ return s
+}
+
+// SetParameterName sets the ParameterName field's value.
+func (s *CacheNodeTypeSpecificParameter) SetParameterName(v string) *CacheNodeTypeSpecificParameter {
+ s.ParameterName = &v
+ return s
+}
+
+// SetSource sets the Source field's value.
+func (s *CacheNodeTypeSpecificParameter) SetSource(v string) *CacheNodeTypeSpecificParameter {
+ s.Source = &v
+ return s
+}
+
// A value that applies only to a certain cache node type.
type CacheNodeTypeSpecificValue struct {
_ struct{} `type:"structure"`
@@ -4050,6 +4350,18 @@ func (s CacheNodeTypeSpecificValue) GoString() string {
return s.String()
}
+// SetCacheNodeType sets the CacheNodeType field's value.
+func (s *CacheNodeTypeSpecificValue) SetCacheNodeType(v string) *CacheNodeTypeSpecificValue {
+ s.CacheNodeType = &v
+ return s
+}
+
+// SetValue sets the Value field's value.
+func (s *CacheNodeTypeSpecificValue) SetValue(v string) *CacheNodeTypeSpecificValue {
+ s.Value = &v
+ return s
+}
+
// Represents the output of a CreateCacheParameterGroup operation.
type CacheParameterGroup struct {
_ struct{} `type:"structure"`
@@ -4077,6 +4389,24 @@ func (s CacheParameterGroup) GoString() string {
return s.String()
}
+// SetCacheParameterGroupFamily sets the CacheParameterGroupFamily field's value.
+func (s *CacheParameterGroup) SetCacheParameterGroupFamily(v string) *CacheParameterGroup {
+ s.CacheParameterGroupFamily = &v
+ return s
+}
+
+// SetCacheParameterGroupName sets the CacheParameterGroupName field's value.
+func (s *CacheParameterGroup) SetCacheParameterGroupName(v string) *CacheParameterGroup {
+ s.CacheParameterGroupName = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *CacheParameterGroup) SetDescription(v string) *CacheParameterGroup {
+ s.Description = &v
+ return s
+}
+
// Represents the output of one of the following operations:
//
// * ModifyCacheParameterGroup
@@ -4099,6 +4429,12 @@ func (s CacheParameterGroupNameMessage) GoString() string {
return s.String()
}
+// SetCacheParameterGroupName sets the CacheParameterGroupName field's value.
+func (s *CacheParameterGroupNameMessage) SetCacheParameterGroupName(v string) *CacheParameterGroupNameMessage {
+ s.CacheParameterGroupName = &v
+ return s
+}
+
// Status of the cache parameter group.
type CacheParameterGroupStatus struct {
_ struct{} `type:"structure"`
@@ -4124,6 +4460,24 @@ func (s CacheParameterGroupStatus) GoString() string {
return s.String()
}
+// SetCacheNodeIdsToReboot sets the CacheNodeIdsToReboot field's value.
+func (s *CacheParameterGroupStatus) SetCacheNodeIdsToReboot(v []*string) *CacheParameterGroupStatus {
+ s.CacheNodeIdsToReboot = v
+ return s
+}
+
+// SetCacheParameterGroupName sets the CacheParameterGroupName field's value.
+func (s *CacheParameterGroupStatus) SetCacheParameterGroupName(v string) *CacheParameterGroupStatus {
+ s.CacheParameterGroupName = &v
+ return s
+}
+
+// SetParameterApplyStatus sets the ParameterApplyStatus field's value.
+func (s *CacheParameterGroupStatus) SetParameterApplyStatus(v string) *CacheParameterGroupStatus {
+ s.ParameterApplyStatus = &v
+ return s
+}
+
// Represents the output of one of the following operations:
//
// * AuthorizeCacheSecurityGroupIngress
@@ -4158,6 +4512,30 @@ func (s CacheSecurityGroup) GoString() string {
return s.String()
}
+// SetCacheSecurityGroupName sets the CacheSecurityGroupName field's value.
+func (s *CacheSecurityGroup) SetCacheSecurityGroupName(v string) *CacheSecurityGroup {
+ s.CacheSecurityGroupName = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *CacheSecurityGroup) SetDescription(v string) *CacheSecurityGroup {
+ s.Description = &v
+ return s
+}
+
+// SetEC2SecurityGroups sets the EC2SecurityGroups field's value.
+func (s *CacheSecurityGroup) SetEC2SecurityGroups(v []*EC2SecurityGroup) *CacheSecurityGroup {
+ s.EC2SecurityGroups = v
+ return s
+}
+
+// SetOwnerId sets the OwnerId field's value.
+func (s *CacheSecurityGroup) SetOwnerId(v string) *CacheSecurityGroup {
+ s.OwnerId = &v
+ return s
+}
+
// Represents a cache cluster's status within a particular cache security group.
type CacheSecurityGroupMembership struct {
_ struct{} `type:"structure"`
@@ -4181,6 +4559,18 @@ func (s CacheSecurityGroupMembership) GoString() string {
return s.String()
}
+// SetCacheSecurityGroupName sets the CacheSecurityGroupName field's value.
+func (s *CacheSecurityGroupMembership) SetCacheSecurityGroupName(v string) *CacheSecurityGroupMembership {
+ s.CacheSecurityGroupName = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *CacheSecurityGroupMembership) SetStatus(v string) *CacheSecurityGroupMembership {
+ s.Status = &v
+ return s
+}
+
// Represents the output of one of the following operations:
//
// * CreateCacheSubnetGroup
@@ -4213,6 +4603,30 @@ func (s CacheSubnetGroup) GoString() string {
return s.String()
}
+// SetCacheSubnetGroupDescription sets the CacheSubnetGroupDescription field's value.
+func (s *CacheSubnetGroup) SetCacheSubnetGroupDescription(v string) *CacheSubnetGroup {
+ s.CacheSubnetGroupDescription = &v
+ return s
+}
+
+// SetCacheSubnetGroupName sets the CacheSubnetGroupName field's value.
+func (s *CacheSubnetGroup) SetCacheSubnetGroupName(v string) *CacheSubnetGroup {
+ s.CacheSubnetGroupName = &v
+ return s
+}
+
+// SetSubnets sets the Subnets field's value.
+func (s *CacheSubnetGroup) SetSubnets(v []*Subnet) *CacheSubnetGroup {
+ s.Subnets = v
+ return s
+}
+
+// SetVpcId sets the VpcId field's value.
+func (s *CacheSubnetGroup) SetVpcId(v string) *CacheSubnetGroup {
+ s.VpcId = &v
+ return s
+}
+
// Represents the input of a CopySnapshotMessage operation.
type CopySnapshotInput struct {
_ struct{} `type:"structure"`
@@ -4268,6 +4682,24 @@ func (s *CopySnapshotInput) Validate() error {
return nil
}
+// SetSourceSnapshotName sets the SourceSnapshotName field's value.
+func (s *CopySnapshotInput) SetSourceSnapshotName(v string) *CopySnapshotInput {
+ s.SourceSnapshotName = &v
+ return s
+}
+
+// SetTargetBucket sets the TargetBucket field's value.
+func (s *CopySnapshotInput) SetTargetBucket(v string) *CopySnapshotInput {
+ s.TargetBucket = &v
+ return s
+}
+
+// SetTargetSnapshotName sets the TargetSnapshotName field's value.
+func (s *CopySnapshotInput) SetTargetSnapshotName(v string) *CopySnapshotInput {
+ s.TargetSnapshotName = &v
+ return s
+}
+
type CopySnapshotOutput struct {
_ struct{} `type:"structure"`
@@ -4286,6 +4718,12 @@ func (s CopySnapshotOutput) GoString() string {
return s.String()
}
+// SetSnapshot sets the Snapshot field's value.
+func (s *CopySnapshotOutput) SetSnapshot(v *Snapshot) *CopySnapshotOutput {
+ s.Snapshot = v
+ return s
+}
+
// Represents the input of a CreateCacheCluster operation.
type CreateCacheClusterInput struct {
_ struct{} `type:"structure"`
@@ -4300,6 +4738,20 @@ type CreateCacheClusterInput struct {
// assumes single-az mode.
AZMode *string `type:"string" enum:"AZMode"`
+ // The password used to access a password protected server.
+ //
+ // Password constraints:
+ //
+ // * Must be only printable ASCII characters.
+ //
+ // * Must be at least 16 characters and no more than 128 characters in length.
+ //
+ // * Cannot contain any of the following characters: '/', '"', or "@".
+ //
+ // For more information, see AUTH password (http://redis.io/commands/AUTH) at
+ // Redis.
+ AuthToken *string `type:"string"`
+
// This parameter is currently disabled.
AutoMinorVersionUpgrade *bool `type:"boolean"`
@@ -4555,6 +5007,144 @@ func (s *CreateCacheClusterInput) Validate() error {
return nil
}
+// SetAZMode sets the AZMode field's value.
+func (s *CreateCacheClusterInput) SetAZMode(v string) *CreateCacheClusterInput {
+ s.AZMode = &v
+ return s
+}
+
+// SetAuthToken sets the AuthToken field's value.
+func (s *CreateCacheClusterInput) SetAuthToken(v string) *CreateCacheClusterInput {
+ s.AuthToken = &v
+ return s
+}
+
+// SetAutoMinorVersionUpgrade sets the AutoMinorVersionUpgrade field's value.
+func (s *CreateCacheClusterInput) SetAutoMinorVersionUpgrade(v bool) *CreateCacheClusterInput {
+ s.AutoMinorVersionUpgrade = &v
+ return s
+}
+
+// SetCacheClusterId sets the CacheClusterId field's value.
+func (s *CreateCacheClusterInput) SetCacheClusterId(v string) *CreateCacheClusterInput {
+ s.CacheClusterId = &v
+ return s
+}
+
+// SetCacheNodeType sets the CacheNodeType field's value.
+func (s *CreateCacheClusterInput) SetCacheNodeType(v string) *CreateCacheClusterInput {
+ s.CacheNodeType = &v
+ return s
+}
+
+// SetCacheParameterGroupName sets the CacheParameterGroupName field's value.
+func (s *CreateCacheClusterInput) SetCacheParameterGroupName(v string) *CreateCacheClusterInput {
+ s.CacheParameterGroupName = &v
+ return s
+}
+
+// SetCacheSecurityGroupNames sets the CacheSecurityGroupNames field's value.
+func (s *CreateCacheClusterInput) SetCacheSecurityGroupNames(v []*string) *CreateCacheClusterInput {
+ s.CacheSecurityGroupNames = v
+ return s
+}
+
+// SetCacheSubnetGroupName sets the CacheSubnetGroupName field's value.
+func (s *CreateCacheClusterInput) SetCacheSubnetGroupName(v string) *CreateCacheClusterInput {
+ s.CacheSubnetGroupName = &v
+ return s
+}
+
+// SetEngine sets the Engine field's value.
+func (s *CreateCacheClusterInput) SetEngine(v string) *CreateCacheClusterInput {
+ s.Engine = &v
+ return s
+}
+
+// SetEngineVersion sets the EngineVersion field's value.
+func (s *CreateCacheClusterInput) SetEngineVersion(v string) *CreateCacheClusterInput {
+ s.EngineVersion = &v
+ return s
+}
+
+// SetNotificationTopicArn sets the NotificationTopicArn field's value.
+func (s *CreateCacheClusterInput) SetNotificationTopicArn(v string) *CreateCacheClusterInput {
+ s.NotificationTopicArn = &v
+ return s
+}
+
+// SetNumCacheNodes sets the NumCacheNodes field's value.
+func (s *CreateCacheClusterInput) SetNumCacheNodes(v int64) *CreateCacheClusterInput {
+ s.NumCacheNodes = &v
+ return s
+}
+
+// SetPort sets the Port field's value.
+func (s *CreateCacheClusterInput) SetPort(v int64) *CreateCacheClusterInput {
+ s.Port = &v
+ return s
+}
+
+// SetPreferredAvailabilityZone sets the PreferredAvailabilityZone field's value.
+func (s *CreateCacheClusterInput) SetPreferredAvailabilityZone(v string) *CreateCacheClusterInput {
+ s.PreferredAvailabilityZone = &v
+ return s
+}
+
+// SetPreferredAvailabilityZones sets the PreferredAvailabilityZones field's value.
+func (s *CreateCacheClusterInput) SetPreferredAvailabilityZones(v []*string) *CreateCacheClusterInput {
+ s.PreferredAvailabilityZones = v
+ return s
+}
+
+// SetPreferredMaintenanceWindow sets the PreferredMaintenanceWindow field's value.
+func (s *CreateCacheClusterInput) SetPreferredMaintenanceWindow(v string) *CreateCacheClusterInput {
+ s.PreferredMaintenanceWindow = &v
+ return s
+}
+
+// SetReplicationGroupId sets the ReplicationGroupId field's value.
+func (s *CreateCacheClusterInput) SetReplicationGroupId(v string) *CreateCacheClusterInput {
+ s.ReplicationGroupId = &v
+ return s
+}
+
+// SetSecurityGroupIds sets the SecurityGroupIds field's value.
+func (s *CreateCacheClusterInput) SetSecurityGroupIds(v []*string) *CreateCacheClusterInput {
+ s.SecurityGroupIds = v
+ return s
+}
+
+// SetSnapshotArns sets the SnapshotArns field's value.
+func (s *CreateCacheClusterInput) SetSnapshotArns(v []*string) *CreateCacheClusterInput {
+ s.SnapshotArns = v
+ return s
+}
+
+// SetSnapshotName sets the SnapshotName field's value.
+func (s *CreateCacheClusterInput) SetSnapshotName(v string) *CreateCacheClusterInput {
+ s.SnapshotName = &v
+ return s
+}
+
+// SetSnapshotRetentionLimit sets the SnapshotRetentionLimit field's value.
+func (s *CreateCacheClusterInput) SetSnapshotRetentionLimit(v int64) *CreateCacheClusterInput {
+ s.SnapshotRetentionLimit = &v
+ return s
+}
+
+// SetSnapshotWindow sets the SnapshotWindow field's value.
+func (s *CreateCacheClusterInput) SetSnapshotWindow(v string) *CreateCacheClusterInput {
+ s.SnapshotWindow = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *CreateCacheClusterInput) SetTags(v []*Tag) *CreateCacheClusterInput {
+ s.Tags = v
+ return s
+}
+
type CreateCacheClusterOutput struct {
_ struct{} `type:"structure"`
@@ -4572,6 +5162,12 @@ func (s CreateCacheClusterOutput) GoString() string {
return s.String()
}
+// SetCacheCluster sets the CacheCluster field's value.
+func (s *CreateCacheClusterOutput) SetCacheCluster(v *CacheCluster) *CreateCacheClusterOutput {
+ s.CacheCluster = v
+ return s
+}
+
// Represents the input of a CreateCacheParameterGroup operation.
type CreateCacheParameterGroupInput struct {
_ struct{} `type:"structure"`
@@ -4624,6 +5220,24 @@ func (s *CreateCacheParameterGroupInput) Validate() error {
return nil
}
+// SetCacheParameterGroupFamily sets the CacheParameterGroupFamily field's value.
+func (s *CreateCacheParameterGroupInput) SetCacheParameterGroupFamily(v string) *CreateCacheParameterGroupInput {
+ s.CacheParameterGroupFamily = &v
+ return s
+}
+
+// SetCacheParameterGroupName sets the CacheParameterGroupName field's value.
+func (s *CreateCacheParameterGroupInput) SetCacheParameterGroupName(v string) *CreateCacheParameterGroupInput {
+ s.CacheParameterGroupName = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *CreateCacheParameterGroupInput) SetDescription(v string) *CreateCacheParameterGroupInput {
+ s.Description = &v
+ return s
+}
+
type CreateCacheParameterGroupOutput struct {
_ struct{} `type:"structure"`
@@ -4641,6 +5255,12 @@ func (s CreateCacheParameterGroupOutput) GoString() string {
return s.String()
}
+// SetCacheParameterGroup sets the CacheParameterGroup field's value.
+func (s *CreateCacheParameterGroupOutput) SetCacheParameterGroup(v *CacheParameterGroup) *CreateCacheParameterGroupOutput {
+ s.CacheParameterGroup = v
+ return s
+}
+
// Represents the input of a CreateCacheSecurityGroup operation.
type CreateCacheSecurityGroupInput struct {
_ struct{} `type:"structure"`
@@ -4688,6 +5308,18 @@ func (s *CreateCacheSecurityGroupInput) Validate() error {
return nil
}
+// SetCacheSecurityGroupName sets the CacheSecurityGroupName field's value.
+func (s *CreateCacheSecurityGroupInput) SetCacheSecurityGroupName(v string) *CreateCacheSecurityGroupInput {
+ s.CacheSecurityGroupName = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *CreateCacheSecurityGroupInput) SetDescription(v string) *CreateCacheSecurityGroupInput {
+ s.Description = &v
+ return s
+}
+
type CreateCacheSecurityGroupOutput struct {
_ struct{} `type:"structure"`
@@ -4711,6 +5343,12 @@ func (s CreateCacheSecurityGroupOutput) GoString() string {
return s.String()
}
+// SetCacheSecurityGroup sets the CacheSecurityGroup field's value.
+func (s *CreateCacheSecurityGroupOutput) SetCacheSecurityGroup(v *CacheSecurityGroup) *CreateCacheSecurityGroupOutput {
+ s.CacheSecurityGroup = v
+ return s
+}
+
// Represents the input of a CreateCacheSubnetGroup operation.
type CreateCacheSubnetGroupInput struct {
_ struct{} `type:"structure"`
@@ -4764,6 +5402,24 @@ func (s *CreateCacheSubnetGroupInput) Validate() error {
return nil
}
+// SetCacheSubnetGroupDescription sets the CacheSubnetGroupDescription field's value.
+func (s *CreateCacheSubnetGroupInput) SetCacheSubnetGroupDescription(v string) *CreateCacheSubnetGroupInput {
+ s.CacheSubnetGroupDescription = &v
+ return s
+}
+
+// SetCacheSubnetGroupName sets the CacheSubnetGroupName field's value.
+func (s *CreateCacheSubnetGroupInput) SetCacheSubnetGroupName(v string) *CreateCacheSubnetGroupInput {
+ s.CacheSubnetGroupName = &v
+ return s
+}
+
+// SetSubnetIds sets the SubnetIds field's value.
+func (s *CreateCacheSubnetGroupInput) SetSubnetIds(v []*string) *CreateCacheSubnetGroupInput {
+ s.SubnetIds = v
+ return s
+}
+
type CreateCacheSubnetGroupOutput struct {
_ struct{} `type:"structure"`
@@ -4785,10 +5441,30 @@ func (s CreateCacheSubnetGroupOutput) GoString() string {
return s.String()
}
+// SetCacheSubnetGroup sets the CacheSubnetGroup field's value.
+func (s *CreateCacheSubnetGroupOutput) SetCacheSubnetGroup(v *CacheSubnetGroup) *CreateCacheSubnetGroupOutput {
+ s.CacheSubnetGroup = v
+ return s
+}
+
// Represents the input of a CreateReplicationGroup operation.
type CreateReplicationGroupInput struct {
_ struct{} `type:"structure"`
+ // The password used to access a password protected server.
+ //
+ // Password constraints:
+ //
+ // * Must be only printable ASCII characters.
+ //
+ // * Must be at least 16 characters and no more than 128 characters in length.
+ //
+ // * Cannot contain any of the following characters: '/', '"', or "@".
+ //
+ // For more information, see AUTH password (http://redis.io/commands/AUTH) at
+ // Redis.
+ AuthToken *string `type:"string"`
+
// This parameter is currently disabled.
AutoMinorVersionUpgrade *bool `type:"boolean"`
@@ -4914,9 +5590,6 @@ type CreateReplicationGroupInput struct {
// If Multi-AZ is enabled, the value of this parameter must be at least 2.
//
// The maximum permitted value for NumCacheClusters is 6 (primary plus 5 replicas).
- // If you need to exceed this limit, fill out the ElastiCache Limit Increase
- // Request form at http://aws.amazon.com/contact-us/elasticache-node-limit-request/
- // (http://aws.amazon.com/contact-us/elasticache-node-limit-request/).
NumCacheClusters *int64 `type:"integer"`
// An optional parameter that specifies the number of node groups (shards) for
@@ -5079,39 +5752,201 @@ func (s *CreateReplicationGroupInput) Validate() error {
return nil
}
-type CreateReplicationGroupOutput struct {
- _ struct{} `type:"structure"`
+// SetAuthToken sets the AuthToken field's value.
+func (s *CreateReplicationGroupInput) SetAuthToken(v string) *CreateReplicationGroupInput {
+ s.AuthToken = &v
+ return s
+}
- // Contains all of the attributes of a specific Redis replication group.
- ReplicationGroup *ReplicationGroup `type:"structure"`
+// SetAutoMinorVersionUpgrade sets the AutoMinorVersionUpgrade field's value.
+func (s *CreateReplicationGroupInput) SetAutoMinorVersionUpgrade(v bool) *CreateReplicationGroupInput {
+ s.AutoMinorVersionUpgrade = &v
+ return s
}
-// String returns the string representation
-func (s CreateReplicationGroupOutput) String() string {
- return awsutil.Prettify(s)
+// SetAutomaticFailoverEnabled sets the AutomaticFailoverEnabled field's value.
+func (s *CreateReplicationGroupInput) SetAutomaticFailoverEnabled(v bool) *CreateReplicationGroupInput {
+ s.AutomaticFailoverEnabled = &v
+ return s
}
-// GoString returns the string representation
-func (s CreateReplicationGroupOutput) GoString() string {
- return s.String()
+// SetCacheNodeType sets the CacheNodeType field's value.
+func (s *CreateReplicationGroupInput) SetCacheNodeType(v string) *CreateReplicationGroupInput {
+ s.CacheNodeType = &v
+ return s
}
-// Represents the input of a CreateSnapshot operation.
-type CreateSnapshotInput struct {
- _ struct{} `type:"structure"`
+// SetCacheParameterGroupName sets the CacheParameterGroupName field's value.
+func (s *CreateReplicationGroupInput) SetCacheParameterGroupName(v string) *CreateReplicationGroupInput {
+ s.CacheParameterGroupName = &v
+ return s
+}
- // The identifier of an existing cache cluster. The snapshot is created from
- // this cache cluster.
- CacheClusterId *string `type:"string"`
+// SetCacheSecurityGroupNames sets the CacheSecurityGroupNames field's value.
+func (s *CreateReplicationGroupInput) SetCacheSecurityGroupNames(v []*string) *CreateReplicationGroupInput {
+ s.CacheSecurityGroupNames = v
+ return s
+}
- // The identifier of an existing replication group. The snapshot is created
- // from this replication group.
- ReplicationGroupId *string `type:"string"`
+// SetCacheSubnetGroupName sets the CacheSubnetGroupName field's value.
+func (s *CreateReplicationGroupInput) SetCacheSubnetGroupName(v string) *CreateReplicationGroupInput {
+ s.CacheSubnetGroupName = &v
+ return s
+}
- // A name for the snapshot being created.
- //
- // SnapshotName is a required field
- SnapshotName *string `type:"string" required:"true"`
+// SetEngine sets the Engine field's value.
+func (s *CreateReplicationGroupInput) SetEngine(v string) *CreateReplicationGroupInput {
+ s.Engine = &v
+ return s
+}
+
+// SetEngineVersion sets the EngineVersion field's value.
+func (s *CreateReplicationGroupInput) SetEngineVersion(v string) *CreateReplicationGroupInput {
+ s.EngineVersion = &v
+ return s
+}
+
+// SetNodeGroupConfiguration sets the NodeGroupConfiguration field's value.
+func (s *CreateReplicationGroupInput) SetNodeGroupConfiguration(v []*NodeGroupConfiguration) *CreateReplicationGroupInput {
+ s.NodeGroupConfiguration = v
+ return s
+}
+
+// SetNotificationTopicArn sets the NotificationTopicArn field's value.
+func (s *CreateReplicationGroupInput) SetNotificationTopicArn(v string) *CreateReplicationGroupInput {
+ s.NotificationTopicArn = &v
+ return s
+}
+
+// SetNumCacheClusters sets the NumCacheClusters field's value.
+func (s *CreateReplicationGroupInput) SetNumCacheClusters(v int64) *CreateReplicationGroupInput {
+ s.NumCacheClusters = &v
+ return s
+}
+
+// SetNumNodeGroups sets the NumNodeGroups field's value.
+func (s *CreateReplicationGroupInput) SetNumNodeGroups(v int64) *CreateReplicationGroupInput {
+ s.NumNodeGroups = &v
+ return s
+}
+
+// SetPort sets the Port field's value.
+func (s *CreateReplicationGroupInput) SetPort(v int64) *CreateReplicationGroupInput {
+ s.Port = &v
+ return s
+}
+
+// SetPreferredCacheClusterAZs sets the PreferredCacheClusterAZs field's value.
+func (s *CreateReplicationGroupInput) SetPreferredCacheClusterAZs(v []*string) *CreateReplicationGroupInput {
+ s.PreferredCacheClusterAZs = v
+ return s
+}
+
+// SetPreferredMaintenanceWindow sets the PreferredMaintenanceWindow field's value.
+func (s *CreateReplicationGroupInput) SetPreferredMaintenanceWindow(v string) *CreateReplicationGroupInput {
+ s.PreferredMaintenanceWindow = &v
+ return s
+}
+
+// SetPrimaryClusterId sets the PrimaryClusterId field's value.
+func (s *CreateReplicationGroupInput) SetPrimaryClusterId(v string) *CreateReplicationGroupInput {
+ s.PrimaryClusterId = &v
+ return s
+}
+
+// SetReplicasPerNodeGroup sets the ReplicasPerNodeGroup field's value.
+func (s *CreateReplicationGroupInput) SetReplicasPerNodeGroup(v int64) *CreateReplicationGroupInput {
+ s.ReplicasPerNodeGroup = &v
+ return s
+}
+
+// SetReplicationGroupDescription sets the ReplicationGroupDescription field's value.
+func (s *CreateReplicationGroupInput) SetReplicationGroupDescription(v string) *CreateReplicationGroupInput {
+ s.ReplicationGroupDescription = &v
+ return s
+}
+
+// SetReplicationGroupId sets the ReplicationGroupId field's value.
+func (s *CreateReplicationGroupInput) SetReplicationGroupId(v string) *CreateReplicationGroupInput {
+ s.ReplicationGroupId = &v
+ return s
+}
+
+// SetSecurityGroupIds sets the SecurityGroupIds field's value.
+func (s *CreateReplicationGroupInput) SetSecurityGroupIds(v []*string) *CreateReplicationGroupInput {
+ s.SecurityGroupIds = v
+ return s
+}
+
+// SetSnapshotArns sets the SnapshotArns field's value.
+func (s *CreateReplicationGroupInput) SetSnapshotArns(v []*string) *CreateReplicationGroupInput {
+ s.SnapshotArns = v
+ return s
+}
+
+// SetSnapshotName sets the SnapshotName field's value.
+func (s *CreateReplicationGroupInput) SetSnapshotName(v string) *CreateReplicationGroupInput {
+ s.SnapshotName = &v
+ return s
+}
+
+// SetSnapshotRetentionLimit sets the SnapshotRetentionLimit field's value.
+func (s *CreateReplicationGroupInput) SetSnapshotRetentionLimit(v int64) *CreateReplicationGroupInput {
+ s.SnapshotRetentionLimit = &v
+ return s
+}
+
+// SetSnapshotWindow sets the SnapshotWindow field's value.
+func (s *CreateReplicationGroupInput) SetSnapshotWindow(v string) *CreateReplicationGroupInput {
+ s.SnapshotWindow = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *CreateReplicationGroupInput) SetTags(v []*Tag) *CreateReplicationGroupInput {
+ s.Tags = v
+ return s
+}
+
+type CreateReplicationGroupOutput struct {
+ _ struct{} `type:"structure"`
+
+ // Contains all of the attributes of a specific Redis replication group.
+ ReplicationGroup *ReplicationGroup `type:"structure"`
+}
+
+// String returns the string representation
+func (s CreateReplicationGroupOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s CreateReplicationGroupOutput) GoString() string {
+ return s.String()
+}
+
+// SetReplicationGroup sets the ReplicationGroup field's value.
+func (s *CreateReplicationGroupOutput) SetReplicationGroup(v *ReplicationGroup) *CreateReplicationGroupOutput {
+ s.ReplicationGroup = v
+ return s
+}
+
+// Represents the input of a CreateSnapshot operation.
+type CreateSnapshotInput struct {
+ _ struct{} `type:"structure"`
+
+ // The identifier of an existing cache cluster. The snapshot is created from
+ // this cache cluster.
+ CacheClusterId *string `type:"string"`
+
+ // The identifier of an existing replication group. The snapshot is created
+ // from this replication group.
+ ReplicationGroupId *string `type:"string"`
+
+ // A name for the snapshot being created.
+ //
+ // SnapshotName is a required field
+ SnapshotName *string `type:"string" required:"true"`
}
// String returns the string representation
@@ -5137,6 +5972,24 @@ func (s *CreateSnapshotInput) Validate() error {
return nil
}
+// SetCacheClusterId sets the CacheClusterId field's value.
+func (s *CreateSnapshotInput) SetCacheClusterId(v string) *CreateSnapshotInput {
+ s.CacheClusterId = &v
+ return s
+}
+
+// SetReplicationGroupId sets the ReplicationGroupId field's value.
+func (s *CreateSnapshotInput) SetReplicationGroupId(v string) *CreateSnapshotInput {
+ s.ReplicationGroupId = &v
+ return s
+}
+
+// SetSnapshotName sets the SnapshotName field's value.
+func (s *CreateSnapshotInput) SetSnapshotName(v string) *CreateSnapshotInput {
+ s.SnapshotName = &v
+ return s
+}
+
type CreateSnapshotOutput struct {
_ struct{} `type:"structure"`
@@ -5155,6 +6008,12 @@ func (s CreateSnapshotOutput) GoString() string {
return s.String()
}
+// SetSnapshot sets the Snapshot field's value.
+func (s *CreateSnapshotOutput) SetSnapshot(v *Snapshot) *CreateSnapshotOutput {
+ s.Snapshot = v
+ return s
+}
+
// Represents the input of a DeleteCacheCluster operation.
type DeleteCacheClusterInput struct {
_ struct{} `type:"structure"`
@@ -5194,6 +6053,18 @@ func (s *DeleteCacheClusterInput) Validate() error {
return nil
}
+// SetCacheClusterId sets the CacheClusterId field's value.
+func (s *DeleteCacheClusterInput) SetCacheClusterId(v string) *DeleteCacheClusterInput {
+ s.CacheClusterId = &v
+ return s
+}
+
+// SetFinalSnapshotIdentifier sets the FinalSnapshotIdentifier field's value.
+func (s *DeleteCacheClusterInput) SetFinalSnapshotIdentifier(v string) *DeleteCacheClusterInput {
+ s.FinalSnapshotIdentifier = &v
+ return s
+}
+
type DeleteCacheClusterOutput struct {
_ struct{} `type:"structure"`
@@ -5211,6 +6082,12 @@ func (s DeleteCacheClusterOutput) GoString() string {
return s.String()
}
+// SetCacheCluster sets the CacheCluster field's value.
+func (s *DeleteCacheClusterOutput) SetCacheCluster(v *CacheCluster) *DeleteCacheClusterOutput {
+ s.CacheCluster = v
+ return s
+}
+
// Represents the input of a DeleteCacheParameterGroup operation.
type DeleteCacheParameterGroupInput struct {
_ struct{} `type:"structure"`
@@ -5247,6 +6124,12 @@ func (s *DeleteCacheParameterGroupInput) Validate() error {
return nil
}
+// SetCacheParameterGroupName sets the CacheParameterGroupName field's value.
+func (s *DeleteCacheParameterGroupInput) SetCacheParameterGroupName(v string) *DeleteCacheParameterGroupInput {
+ s.CacheParameterGroupName = &v
+ return s
+}
+
type DeleteCacheParameterGroupOutput struct {
_ struct{} `type:"structure"`
}
@@ -5296,6 +6179,12 @@ func (s *DeleteCacheSecurityGroupInput) Validate() error {
return nil
}
+// SetCacheSecurityGroupName sets the CacheSecurityGroupName field's value.
+func (s *DeleteCacheSecurityGroupInput) SetCacheSecurityGroupName(v string) *DeleteCacheSecurityGroupInput {
+ s.CacheSecurityGroupName = &v
+ return s
+}
+
type DeleteCacheSecurityGroupOutput struct {
_ struct{} `type:"structure"`
}
@@ -5345,6 +6234,12 @@ func (s *DeleteCacheSubnetGroupInput) Validate() error {
return nil
}
+// SetCacheSubnetGroupName sets the CacheSubnetGroupName field's value.
+func (s *DeleteCacheSubnetGroupInput) SetCacheSubnetGroupName(v string) *DeleteCacheSubnetGroupInput {
+ s.CacheSubnetGroupName = &v
+ return s
+}
+
type DeleteCacheSubnetGroupOutput struct {
_ struct{} `type:"structure"`
}
@@ -5403,6 +6298,24 @@ func (s *DeleteReplicationGroupInput) Validate() error {
return nil
}
+// SetFinalSnapshotIdentifier sets the FinalSnapshotIdentifier field's value.
+func (s *DeleteReplicationGroupInput) SetFinalSnapshotIdentifier(v string) *DeleteReplicationGroupInput {
+ s.FinalSnapshotIdentifier = &v
+ return s
+}
+
+// SetReplicationGroupId sets the ReplicationGroupId field's value.
+func (s *DeleteReplicationGroupInput) SetReplicationGroupId(v string) *DeleteReplicationGroupInput {
+ s.ReplicationGroupId = &v
+ return s
+}
+
+// SetRetainPrimaryCluster sets the RetainPrimaryCluster field's value.
+func (s *DeleteReplicationGroupInput) SetRetainPrimaryCluster(v bool) *DeleteReplicationGroupInput {
+ s.RetainPrimaryCluster = &v
+ return s
+}
+
type DeleteReplicationGroupOutput struct {
_ struct{} `type:"structure"`
@@ -5420,6 +6333,12 @@ func (s DeleteReplicationGroupOutput) GoString() string {
return s.String()
}
+// SetReplicationGroup sets the ReplicationGroup field's value.
+func (s *DeleteReplicationGroupOutput) SetReplicationGroup(v *ReplicationGroup) *DeleteReplicationGroupOutput {
+ s.ReplicationGroup = v
+ return s
+}
+
// Represents the input of a DeleteSnapshot operation.
type DeleteSnapshotInput struct {
_ struct{} `type:"structure"`
@@ -5453,6 +6372,12 @@ func (s *DeleteSnapshotInput) Validate() error {
return nil
}
+// SetSnapshotName sets the SnapshotName field's value.
+func (s *DeleteSnapshotInput) SetSnapshotName(v string) *DeleteSnapshotInput {
+ s.SnapshotName = &v
+ return s
+}
+
type DeleteSnapshotOutput struct {
_ struct{} `type:"structure"`
@@ -5471,6 +6396,12 @@ func (s DeleteSnapshotOutput) GoString() string {
return s.String()
}
+// SetSnapshot sets the Snapshot field's value.
+func (s *DeleteSnapshotOutput) SetSnapshot(v *Snapshot) *DeleteSnapshotOutput {
+ s.Snapshot = v
+ return s
+}
+
// Represents the input of a DescribeCacheClusters operation.
type DescribeCacheClustersInput struct {
_ struct{} `type:"structure"`
@@ -5509,6 +6440,30 @@ func (s DescribeCacheClustersInput) GoString() string {
return s.String()
}
+// SetCacheClusterId sets the CacheClusterId field's value.
+func (s *DescribeCacheClustersInput) SetCacheClusterId(v string) *DescribeCacheClustersInput {
+ s.CacheClusterId = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeCacheClustersInput) SetMarker(v string) *DescribeCacheClustersInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxRecords sets the MaxRecords field's value.
+func (s *DescribeCacheClustersInput) SetMaxRecords(v int64) *DescribeCacheClustersInput {
+ s.MaxRecords = &v
+ return s
+}
+
+// SetShowCacheNodeInfo sets the ShowCacheNodeInfo field's value.
+func (s *DescribeCacheClustersInput) SetShowCacheNodeInfo(v bool) *DescribeCacheClustersInput {
+ s.ShowCacheNodeInfo = &v
+ return s
+}
+
// Represents the output of a DescribeCacheClusters operation.
type DescribeCacheClustersOutput struct {
_ struct{} `type:"structure"`
@@ -5531,6 +6486,18 @@ func (s DescribeCacheClustersOutput) GoString() string {
return s.String()
}
+// SetCacheClusters sets the CacheClusters field's value.
+func (s *DescribeCacheClustersOutput) SetCacheClusters(v []*CacheCluster) *DescribeCacheClustersOutput {
+ s.CacheClusters = v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeCacheClustersOutput) SetMarker(v string) *DescribeCacheClustersOutput {
+ s.Marker = &v
+ return s
+}
+
// Represents the input of a DescribeCacheEngineVersions operation.
type DescribeCacheEngineVersionsInput struct {
_ struct{} `type:"structure"`
@@ -5585,6 +6552,42 @@ func (s DescribeCacheEngineVersionsInput) GoString() string {
return s.String()
}
+// SetCacheParameterGroupFamily sets the CacheParameterGroupFamily field's value.
+func (s *DescribeCacheEngineVersionsInput) SetCacheParameterGroupFamily(v string) *DescribeCacheEngineVersionsInput {
+ s.CacheParameterGroupFamily = &v
+ return s
+}
+
+// SetDefaultOnly sets the DefaultOnly field's value.
+func (s *DescribeCacheEngineVersionsInput) SetDefaultOnly(v bool) *DescribeCacheEngineVersionsInput {
+ s.DefaultOnly = &v
+ return s
+}
+
+// SetEngine sets the Engine field's value.
+func (s *DescribeCacheEngineVersionsInput) SetEngine(v string) *DescribeCacheEngineVersionsInput {
+ s.Engine = &v
+ return s
+}
+
+// SetEngineVersion sets the EngineVersion field's value.
+func (s *DescribeCacheEngineVersionsInput) SetEngineVersion(v string) *DescribeCacheEngineVersionsInput {
+ s.EngineVersion = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeCacheEngineVersionsInput) SetMarker(v string) *DescribeCacheEngineVersionsInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxRecords sets the MaxRecords field's value.
+func (s *DescribeCacheEngineVersionsInput) SetMaxRecords(v int64) *DescribeCacheEngineVersionsInput {
+ s.MaxRecords = &v
+ return s
+}
+
// Represents the output of a DescribeCacheEngineVersions operation.
type DescribeCacheEngineVersionsOutput struct {
_ struct{} `type:"structure"`
@@ -5607,6 +6610,18 @@ func (s DescribeCacheEngineVersionsOutput) GoString() string {
return s.String()
}
+// SetCacheEngineVersions sets the CacheEngineVersions field's value.
+func (s *DescribeCacheEngineVersionsOutput) SetCacheEngineVersions(v []*CacheEngineVersion) *DescribeCacheEngineVersionsOutput {
+ s.CacheEngineVersions = v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeCacheEngineVersionsOutput) SetMarker(v string) *DescribeCacheEngineVersionsOutput {
+ s.Marker = &v
+ return s
+}
+
// Represents the input of a DescribeCacheParameterGroups operation.
type DescribeCacheParameterGroupsInput struct {
_ struct{} `type:"structure"`
@@ -5639,6 +6654,24 @@ func (s DescribeCacheParameterGroupsInput) GoString() string {
return s.String()
}
+// SetCacheParameterGroupName sets the CacheParameterGroupName field's value.
+func (s *DescribeCacheParameterGroupsInput) SetCacheParameterGroupName(v string) *DescribeCacheParameterGroupsInput {
+ s.CacheParameterGroupName = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeCacheParameterGroupsInput) SetMarker(v string) *DescribeCacheParameterGroupsInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxRecords sets the MaxRecords field's value.
+func (s *DescribeCacheParameterGroupsInput) SetMaxRecords(v int64) *DescribeCacheParameterGroupsInput {
+ s.MaxRecords = &v
+ return s
+}
+
// Represents the output of a DescribeCacheParameterGroups operation.
type DescribeCacheParameterGroupsOutput struct {
_ struct{} `type:"structure"`
@@ -5661,6 +6694,18 @@ func (s DescribeCacheParameterGroupsOutput) GoString() string {
return s.String()
}
+// SetCacheParameterGroups sets the CacheParameterGroups field's value.
+func (s *DescribeCacheParameterGroupsOutput) SetCacheParameterGroups(v []*CacheParameterGroup) *DescribeCacheParameterGroupsOutput {
+ s.CacheParameterGroups = v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeCacheParameterGroupsOutput) SetMarker(v string) *DescribeCacheParameterGroupsOutput {
+ s.Marker = &v
+ return s
+}
+
// Represents the input of a DescribeCacheParameters operation.
type DescribeCacheParametersInput struct {
_ struct{} `type:"structure"`
@@ -5713,6 +6758,30 @@ func (s *DescribeCacheParametersInput) Validate() error {
return nil
}
+// SetCacheParameterGroupName sets the CacheParameterGroupName field's value.
+func (s *DescribeCacheParametersInput) SetCacheParameterGroupName(v string) *DescribeCacheParametersInput {
+ s.CacheParameterGroupName = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeCacheParametersInput) SetMarker(v string) *DescribeCacheParametersInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxRecords sets the MaxRecords field's value.
+func (s *DescribeCacheParametersInput) SetMaxRecords(v int64) *DescribeCacheParametersInput {
+ s.MaxRecords = &v
+ return s
+}
+
+// SetSource sets the Source field's value.
+func (s *DescribeCacheParametersInput) SetSource(v string) *DescribeCacheParametersInput {
+ s.Source = &v
+ return s
+}
+
// Represents the output of a DescribeCacheParameters operation.
type DescribeCacheParametersOutput struct {
_ struct{} `type:"structure"`
@@ -5738,6 +6807,24 @@ func (s DescribeCacheParametersOutput) GoString() string {
return s.String()
}
+// SetCacheNodeTypeSpecificParameters sets the CacheNodeTypeSpecificParameters field's value.
+func (s *DescribeCacheParametersOutput) SetCacheNodeTypeSpecificParameters(v []*CacheNodeTypeSpecificParameter) *DescribeCacheParametersOutput {
+ s.CacheNodeTypeSpecificParameters = v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeCacheParametersOutput) SetMarker(v string) *DescribeCacheParametersOutput {
+ s.Marker = &v
+ return s
+}
+
+// SetParameters sets the Parameters field's value.
+func (s *DescribeCacheParametersOutput) SetParameters(v []*Parameter) *DescribeCacheParametersOutput {
+ s.Parameters = v
+ return s
+}
+
// Represents the input of a DescribeCacheSecurityGroups operation.
type DescribeCacheSecurityGroupsInput struct {
_ struct{} `type:"structure"`
@@ -5770,6 +6857,24 @@ func (s DescribeCacheSecurityGroupsInput) GoString() string {
return s.String()
}
+// SetCacheSecurityGroupName sets the CacheSecurityGroupName field's value.
+func (s *DescribeCacheSecurityGroupsInput) SetCacheSecurityGroupName(v string) *DescribeCacheSecurityGroupsInput {
+ s.CacheSecurityGroupName = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeCacheSecurityGroupsInput) SetMarker(v string) *DescribeCacheSecurityGroupsInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxRecords sets the MaxRecords field's value.
+func (s *DescribeCacheSecurityGroupsInput) SetMaxRecords(v int64) *DescribeCacheSecurityGroupsInput {
+ s.MaxRecords = &v
+ return s
+}
+
// Represents the output of a DescribeCacheSecurityGroups operation.
type DescribeCacheSecurityGroupsOutput struct {
_ struct{} `type:"structure"`
@@ -5792,6 +6897,18 @@ func (s DescribeCacheSecurityGroupsOutput) GoString() string {
return s.String()
}
+// SetCacheSecurityGroups sets the CacheSecurityGroups field's value.
+func (s *DescribeCacheSecurityGroupsOutput) SetCacheSecurityGroups(v []*CacheSecurityGroup) *DescribeCacheSecurityGroupsOutput {
+ s.CacheSecurityGroups = v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeCacheSecurityGroupsOutput) SetMarker(v string) *DescribeCacheSecurityGroupsOutput {
+ s.Marker = &v
+ return s
+}
+
// Represents the input of a DescribeCacheSubnetGroups operation.
type DescribeCacheSubnetGroupsInput struct {
_ struct{} `type:"structure"`
@@ -5824,6 +6941,24 @@ func (s DescribeCacheSubnetGroupsInput) GoString() string {
return s.String()
}
+// SetCacheSubnetGroupName sets the CacheSubnetGroupName field's value.
+func (s *DescribeCacheSubnetGroupsInput) SetCacheSubnetGroupName(v string) *DescribeCacheSubnetGroupsInput {
+ s.CacheSubnetGroupName = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeCacheSubnetGroupsInput) SetMarker(v string) *DescribeCacheSubnetGroupsInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxRecords sets the MaxRecords field's value.
+func (s *DescribeCacheSubnetGroupsInput) SetMaxRecords(v int64) *DescribeCacheSubnetGroupsInput {
+ s.MaxRecords = &v
+ return s
+}
+
// Represents the output of a DescribeCacheSubnetGroups operation.
type DescribeCacheSubnetGroupsOutput struct {
_ struct{} `type:"structure"`
@@ -5846,6 +6981,18 @@ func (s DescribeCacheSubnetGroupsOutput) GoString() string {
return s.String()
}
+// SetCacheSubnetGroups sets the CacheSubnetGroups field's value.
+func (s *DescribeCacheSubnetGroupsOutput) SetCacheSubnetGroups(v []*CacheSubnetGroup) *DescribeCacheSubnetGroupsOutput {
+ s.CacheSubnetGroups = v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeCacheSubnetGroupsOutput) SetMarker(v string) *DescribeCacheSubnetGroupsOutput {
+ s.Marker = &v
+ return s
+}
+
// Represents the input of a DescribeEngineDefaultParameters operation.
type DescribeEngineDefaultParametersInput struct {
_ struct{} `type:"structure"`
@@ -5895,6 +7042,24 @@ func (s *DescribeEngineDefaultParametersInput) Validate() error {
return nil
}
+// SetCacheParameterGroupFamily sets the CacheParameterGroupFamily field's value.
+func (s *DescribeEngineDefaultParametersInput) SetCacheParameterGroupFamily(v string) *DescribeEngineDefaultParametersInput {
+ s.CacheParameterGroupFamily = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeEngineDefaultParametersInput) SetMarker(v string) *DescribeEngineDefaultParametersInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxRecords sets the MaxRecords field's value.
+func (s *DescribeEngineDefaultParametersInput) SetMaxRecords(v int64) *DescribeEngineDefaultParametersInput {
+ s.MaxRecords = &v
+ return s
+}
+
type DescribeEngineDefaultParametersOutput struct {
_ struct{} `type:"structure"`
@@ -5912,6 +7077,12 @@ func (s DescribeEngineDefaultParametersOutput) GoString() string {
return s.String()
}
+// SetEngineDefaults sets the EngineDefaults field's value.
+func (s *DescribeEngineDefaultParametersOutput) SetEngineDefaults(v *EngineDefaults) *DescribeEngineDefaultParametersOutput {
+ s.EngineDefaults = v
+ return s
+}
+
// Represents the input of a DescribeEvents operation.
type DescribeEventsInput struct {
_ struct{} `type:"structure"`
@@ -5960,6 +7131,48 @@ func (s DescribeEventsInput) GoString() string {
return s.String()
}
+// SetDuration sets the Duration field's value.
+func (s *DescribeEventsInput) SetDuration(v int64) *DescribeEventsInput {
+ s.Duration = &v
+ return s
+}
+
+// SetEndTime sets the EndTime field's value.
+func (s *DescribeEventsInput) SetEndTime(v time.Time) *DescribeEventsInput {
+ s.EndTime = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeEventsInput) SetMarker(v string) *DescribeEventsInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxRecords sets the MaxRecords field's value.
+func (s *DescribeEventsInput) SetMaxRecords(v int64) *DescribeEventsInput {
+ s.MaxRecords = &v
+ return s
+}
+
+// SetSourceIdentifier sets the SourceIdentifier field's value.
+func (s *DescribeEventsInput) SetSourceIdentifier(v string) *DescribeEventsInput {
+ s.SourceIdentifier = &v
+ return s
+}
+
+// SetSourceType sets the SourceType field's value.
+func (s *DescribeEventsInput) SetSourceType(v string) *DescribeEventsInput {
+ s.SourceType = &v
+ return s
+}
+
+// SetStartTime sets the StartTime field's value.
+func (s *DescribeEventsInput) SetStartTime(v time.Time) *DescribeEventsInput {
+ s.StartTime = &v
+ return s
+}
+
// Represents the output of a DescribeEvents operation.
type DescribeEventsOutput struct {
_ struct{} `type:"structure"`
@@ -5982,6 +7195,18 @@ func (s DescribeEventsOutput) GoString() string {
return s.String()
}
+// SetEvents sets the Events field's value.
+func (s *DescribeEventsOutput) SetEvents(v []*Event) *DescribeEventsOutput {
+ s.Events = v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeEventsOutput) SetMarker(v string) *DescribeEventsOutput {
+ s.Marker = &v
+ return s
+}
+
// Represents the input of a DescribeReplicationGroups operation.
type DescribeReplicationGroupsInput struct {
_ struct{} `type:"structure"`
@@ -6018,6 +7243,24 @@ func (s DescribeReplicationGroupsInput) GoString() string {
return s.String()
}
+// SetMarker sets the Marker field's value.
+func (s *DescribeReplicationGroupsInput) SetMarker(v string) *DescribeReplicationGroupsInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxRecords sets the MaxRecords field's value.
+func (s *DescribeReplicationGroupsInput) SetMaxRecords(v int64) *DescribeReplicationGroupsInput {
+ s.MaxRecords = &v
+ return s
+}
+
+// SetReplicationGroupId sets the ReplicationGroupId field's value.
+func (s *DescribeReplicationGroupsInput) SetReplicationGroupId(v string) *DescribeReplicationGroupsInput {
+ s.ReplicationGroupId = &v
+ return s
+}
+
// Represents the output of a DescribeReplicationGroups operation.
type DescribeReplicationGroupsOutput struct {
_ struct{} `type:"structure"`
@@ -6040,6 +7283,18 @@ func (s DescribeReplicationGroupsOutput) GoString() string {
return s.String()
}
+// SetMarker sets the Marker field's value.
+func (s *DescribeReplicationGroupsOutput) SetMarker(v string) *DescribeReplicationGroupsOutput {
+ s.Marker = &v
+ return s
+}
+
+// SetReplicationGroups sets the ReplicationGroups field's value.
+func (s *DescribeReplicationGroupsOutput) SetReplicationGroups(v []*ReplicationGroup) *DescribeReplicationGroupsOutput {
+ s.ReplicationGroups = v
+ return s
+}
+
// Represents the input of a DescribeReservedCacheNodes operation.
type DescribeReservedCacheNodesInput struct {
_ struct{} `type:"structure"`
@@ -6134,6 +7389,54 @@ func (s DescribeReservedCacheNodesInput) GoString() string {
return s.String()
}
+// SetCacheNodeType sets the CacheNodeType field's value.
+func (s *DescribeReservedCacheNodesInput) SetCacheNodeType(v string) *DescribeReservedCacheNodesInput {
+ s.CacheNodeType = &v
+ return s
+}
+
+// SetDuration sets the Duration field's value.
+func (s *DescribeReservedCacheNodesInput) SetDuration(v string) *DescribeReservedCacheNodesInput {
+ s.Duration = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeReservedCacheNodesInput) SetMarker(v string) *DescribeReservedCacheNodesInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxRecords sets the MaxRecords field's value.
+func (s *DescribeReservedCacheNodesInput) SetMaxRecords(v int64) *DescribeReservedCacheNodesInput {
+ s.MaxRecords = &v
+ return s
+}
+
+// SetOfferingType sets the OfferingType field's value.
+func (s *DescribeReservedCacheNodesInput) SetOfferingType(v string) *DescribeReservedCacheNodesInput {
+ s.OfferingType = &v
+ return s
+}
+
+// SetProductDescription sets the ProductDescription field's value.
+func (s *DescribeReservedCacheNodesInput) SetProductDescription(v string) *DescribeReservedCacheNodesInput {
+ s.ProductDescription = &v
+ return s
+}
+
+// SetReservedCacheNodeId sets the ReservedCacheNodeId field's value.
+func (s *DescribeReservedCacheNodesInput) SetReservedCacheNodeId(v string) *DescribeReservedCacheNodesInput {
+ s.ReservedCacheNodeId = &v
+ return s
+}
+
+// SetReservedCacheNodesOfferingId sets the ReservedCacheNodesOfferingId field's value.
+func (s *DescribeReservedCacheNodesInput) SetReservedCacheNodesOfferingId(v string) *DescribeReservedCacheNodesInput {
+ s.ReservedCacheNodesOfferingId = &v
+ return s
+}
+
// Represents the input of a DescribeReservedCacheNodesOfferings operation.
type DescribeReservedCacheNodesOfferingsInput struct {
_ struct{} `type:"structure"`
@@ -6226,6 +7529,48 @@ func (s DescribeReservedCacheNodesOfferingsInput) GoString() string {
return s.String()
}
+// SetCacheNodeType sets the CacheNodeType field's value.
+func (s *DescribeReservedCacheNodesOfferingsInput) SetCacheNodeType(v string) *DescribeReservedCacheNodesOfferingsInput {
+ s.CacheNodeType = &v
+ return s
+}
+
+// SetDuration sets the Duration field's value.
+func (s *DescribeReservedCacheNodesOfferingsInput) SetDuration(v string) *DescribeReservedCacheNodesOfferingsInput {
+ s.Duration = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeReservedCacheNodesOfferingsInput) SetMarker(v string) *DescribeReservedCacheNodesOfferingsInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxRecords sets the MaxRecords field's value.
+func (s *DescribeReservedCacheNodesOfferingsInput) SetMaxRecords(v int64) *DescribeReservedCacheNodesOfferingsInput {
+ s.MaxRecords = &v
+ return s
+}
+
+// SetOfferingType sets the OfferingType field's value.
+func (s *DescribeReservedCacheNodesOfferingsInput) SetOfferingType(v string) *DescribeReservedCacheNodesOfferingsInput {
+ s.OfferingType = &v
+ return s
+}
+
+// SetProductDescription sets the ProductDescription field's value.
+func (s *DescribeReservedCacheNodesOfferingsInput) SetProductDescription(v string) *DescribeReservedCacheNodesOfferingsInput {
+ s.ProductDescription = &v
+ return s
+}
+
+// SetReservedCacheNodesOfferingId sets the ReservedCacheNodesOfferingId field's value.
+func (s *DescribeReservedCacheNodesOfferingsInput) SetReservedCacheNodesOfferingId(v string) *DescribeReservedCacheNodesOfferingsInput {
+ s.ReservedCacheNodesOfferingId = &v
+ return s
+}
+
// Represents the output of a DescribeReservedCacheNodesOfferings operation.
type DescribeReservedCacheNodesOfferingsOutput struct {
_ struct{} `type:"structure"`
@@ -6248,6 +7593,18 @@ func (s DescribeReservedCacheNodesOfferingsOutput) GoString() string {
return s.String()
}
+// SetMarker sets the Marker field's value.
+func (s *DescribeReservedCacheNodesOfferingsOutput) SetMarker(v string) *DescribeReservedCacheNodesOfferingsOutput {
+ s.Marker = &v
+ return s
+}
+
+// SetReservedCacheNodesOfferings sets the ReservedCacheNodesOfferings field's value.
+func (s *DescribeReservedCacheNodesOfferingsOutput) SetReservedCacheNodesOfferings(v []*ReservedCacheNodesOffering) *DescribeReservedCacheNodesOfferingsOutput {
+ s.ReservedCacheNodesOfferings = v
+ return s
+}
+
// Represents the output of a DescribeReservedCacheNodes operation.
type DescribeReservedCacheNodesOutput struct {
_ struct{} `type:"structure"`
@@ -6270,6 +7627,18 @@ func (s DescribeReservedCacheNodesOutput) GoString() string {
return s.String()
}
+// SetMarker sets the Marker field's value.
+func (s *DescribeReservedCacheNodesOutput) SetMarker(v string) *DescribeReservedCacheNodesOutput {
+ s.Marker = &v
+ return s
+}
+
+// SetReservedCacheNodes sets the ReservedCacheNodes field's value.
+func (s *DescribeReservedCacheNodesOutput) SetReservedCacheNodes(v []*ReservedCacheNode) *DescribeReservedCacheNodesOutput {
+ s.ReservedCacheNodes = v
+ return s
+}
+
// Represents the input of a DescribeSnapshotsMessage operation.
type DescribeSnapshotsInput struct {
_ struct{} `type:"structure"`
@@ -6296,7 +7665,7 @@ type DescribeSnapshotsInput struct {
// only snapshots associated with that specific replication group are described.
ReplicationGroupId *string `type:"string"`
- // A boolean value which if true, the node group (shard) configuration is included
+ // A Boolean value which if true, the node group (shard) configuration is included
// in the snapshot description.
ShowNodeGroupConfig *bool `type:"boolean"`
@@ -6321,11 +7690,53 @@ func (s DescribeSnapshotsInput) GoString() string {
return s.String()
}
-// Represents the output of a DescribeSnapshots operation.
-type DescribeSnapshotsOutput struct {
- _ struct{} `type:"structure"`
+// SetCacheClusterId sets the CacheClusterId field's value.
+func (s *DescribeSnapshotsInput) SetCacheClusterId(v string) *DescribeSnapshotsInput {
+ s.CacheClusterId = &v
+ return s
+}
- // An optional marker returned from a prior request. Use this marker for pagination
+// SetMarker sets the Marker field's value.
+func (s *DescribeSnapshotsInput) SetMarker(v string) *DescribeSnapshotsInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxRecords sets the MaxRecords field's value.
+func (s *DescribeSnapshotsInput) SetMaxRecords(v int64) *DescribeSnapshotsInput {
+ s.MaxRecords = &v
+ return s
+}
+
+// SetReplicationGroupId sets the ReplicationGroupId field's value.
+func (s *DescribeSnapshotsInput) SetReplicationGroupId(v string) *DescribeSnapshotsInput {
+ s.ReplicationGroupId = &v
+ return s
+}
+
+// SetShowNodeGroupConfig sets the ShowNodeGroupConfig field's value.
+func (s *DescribeSnapshotsInput) SetShowNodeGroupConfig(v bool) *DescribeSnapshotsInput {
+ s.ShowNodeGroupConfig = &v
+ return s
+}
+
+// SetSnapshotName sets the SnapshotName field's value.
+func (s *DescribeSnapshotsInput) SetSnapshotName(v string) *DescribeSnapshotsInput {
+ s.SnapshotName = &v
+ return s
+}
+
+// SetSnapshotSource sets the SnapshotSource field's value.
+func (s *DescribeSnapshotsInput) SetSnapshotSource(v string) *DescribeSnapshotsInput {
+ s.SnapshotSource = &v
+ return s
+}
+
+// Represents the output of a DescribeSnapshots operation.
+type DescribeSnapshotsOutput struct {
+ _ struct{} `type:"structure"`
+
+ // An optional marker returned from a prior request. Use this marker for pagination
// of results from this operation. If this parameter is specified, the response
// includes only records beyond the marker, up to the value specified by MaxRecords.
Marker *string `type:"string"`
@@ -6345,6 +7756,18 @@ func (s DescribeSnapshotsOutput) GoString() string {
return s.String()
}
+// SetMarker sets the Marker field's value.
+func (s *DescribeSnapshotsOutput) SetMarker(v string) *DescribeSnapshotsOutput {
+ s.Marker = &v
+ return s
+}
+
+// SetSnapshots sets the Snapshots field's value.
+func (s *DescribeSnapshotsOutput) SetSnapshots(v []*Snapshot) *DescribeSnapshotsOutput {
+ s.Snapshots = v
+ return s
+}
+
// Provides ownership and status information for an Amazon EC2 security group.
type EC2SecurityGroup struct {
_ struct{} `type:"structure"`
@@ -6369,6 +7792,24 @@ func (s EC2SecurityGroup) GoString() string {
return s.String()
}
+// SetEC2SecurityGroupName sets the EC2SecurityGroupName field's value.
+func (s *EC2SecurityGroup) SetEC2SecurityGroupName(v string) *EC2SecurityGroup {
+ s.EC2SecurityGroupName = &v
+ return s
+}
+
+// SetEC2SecurityGroupOwnerId sets the EC2SecurityGroupOwnerId field's value.
+func (s *EC2SecurityGroup) SetEC2SecurityGroupOwnerId(v string) *EC2SecurityGroup {
+ s.EC2SecurityGroupOwnerId = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *EC2SecurityGroup) SetStatus(v string) *EC2SecurityGroup {
+ s.Status = &v
+ return s
+}
+
// Represents the information required for client programs to connect to a cache
// node.
type Endpoint struct {
@@ -6391,6 +7832,18 @@ func (s Endpoint) GoString() string {
return s.String()
}
+// SetAddress sets the Address field's value.
+func (s *Endpoint) SetAddress(v string) *Endpoint {
+ s.Address = &v
+ return s
+}
+
+// SetPort sets the Port field's value.
+func (s *Endpoint) SetPort(v int64) *Endpoint {
+ s.Port = &v
+ return s
+}
+
// Represents the output of a DescribeEngineDefaultParameters operation.
type EngineDefaults struct {
_ struct{} `type:"structure"`
@@ -6422,6 +7875,30 @@ func (s EngineDefaults) GoString() string {
return s.String()
}
+// SetCacheNodeTypeSpecificParameters sets the CacheNodeTypeSpecificParameters field's value.
+func (s *EngineDefaults) SetCacheNodeTypeSpecificParameters(v []*CacheNodeTypeSpecificParameter) *EngineDefaults {
+ s.CacheNodeTypeSpecificParameters = v
+ return s
+}
+
+// SetCacheParameterGroupFamily sets the CacheParameterGroupFamily field's value.
+func (s *EngineDefaults) SetCacheParameterGroupFamily(v string) *EngineDefaults {
+ s.CacheParameterGroupFamily = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *EngineDefaults) SetMarker(v string) *EngineDefaults {
+ s.Marker = &v
+ return s
+}
+
+// SetParameters sets the Parameters field's value.
+func (s *EngineDefaults) SetParameters(v []*Parameter) *EngineDefaults {
+ s.Parameters = v
+ return s
+}
+
// Represents a single occurrence of something interesting within the system.
// Some examples of events are creating a cache cluster, adding or removing
// a cache node, or rebooting a node.
@@ -6454,6 +7931,30 @@ func (s Event) GoString() string {
return s.String()
}
+// SetDate sets the Date field's value.
+func (s *Event) SetDate(v time.Time) *Event {
+ s.Date = &v
+ return s
+}
+
+// SetMessage sets the Message field's value.
+func (s *Event) SetMessage(v string) *Event {
+ s.Message = &v
+ return s
+}
+
+// SetSourceIdentifier sets the SourceIdentifier field's value.
+func (s *Event) SetSourceIdentifier(v string) *Event {
+ s.SourceIdentifier = &v
+ return s
+}
+
+// SetSourceType sets the SourceType field's value.
+func (s *Event) SetSourceType(v string) *Event {
+ s.SourceType = &v
+ return s
+}
+
// The input parameters for the ListAllowedNodeTypeModifications operation.
type ListAllowedNodeTypeModificationsInput struct {
_ struct{} `type:"structure"`
@@ -6485,6 +7986,18 @@ func (s ListAllowedNodeTypeModificationsInput) GoString() string {
return s.String()
}
+// SetCacheClusterId sets the CacheClusterId field's value.
+func (s *ListAllowedNodeTypeModificationsInput) SetCacheClusterId(v string) *ListAllowedNodeTypeModificationsInput {
+ s.CacheClusterId = &v
+ return s
+}
+
+// SetReplicationGroupId sets the ReplicationGroupId field's value.
+func (s *ListAllowedNodeTypeModificationsInput) SetReplicationGroupId(v string) *ListAllowedNodeTypeModificationsInput {
+ s.ReplicationGroupId = &v
+ return s
+}
+
type ListAllowedNodeTypeModificationsOutput struct {
_ struct{} `type:"structure"`
@@ -6501,6 +8014,12 @@ func (s ListAllowedNodeTypeModificationsOutput) GoString() string {
return s.String()
}
+// SetScaleUpModifications sets the ScaleUpModifications field's value.
+func (s *ListAllowedNodeTypeModificationsOutput) SetScaleUpModifications(v []*string) *ListAllowedNodeTypeModificationsOutput {
+ s.ScaleUpModifications = v
+ return s
+}
+
// The input parameters for the ListTagsForResource operation.
type ListTagsForResourceInput struct {
_ struct{} `type:"structure"`
@@ -6539,6 +8058,12 @@ func (s *ListTagsForResourceInput) Validate() error {
return nil
}
+// SetResourceName sets the ResourceName field's value.
+func (s *ListTagsForResourceInput) SetResourceName(v string) *ListTagsForResourceInput {
+ s.ResourceName = &v
+ return s
+}
+
// Represents the input of a ModifyCacheCluster operation.
type ModifyCacheClusterInput struct {
_ struct{} `type:"structure"`
@@ -6805,6 +8330,108 @@ func (s *ModifyCacheClusterInput) Validate() error {
return nil
}
+// SetAZMode sets the AZMode field's value.
+func (s *ModifyCacheClusterInput) SetAZMode(v string) *ModifyCacheClusterInput {
+ s.AZMode = &v
+ return s
+}
+
+// SetApplyImmediately sets the ApplyImmediately field's value.
+func (s *ModifyCacheClusterInput) SetApplyImmediately(v bool) *ModifyCacheClusterInput {
+ s.ApplyImmediately = &v
+ return s
+}
+
+// SetAutoMinorVersionUpgrade sets the AutoMinorVersionUpgrade field's value.
+func (s *ModifyCacheClusterInput) SetAutoMinorVersionUpgrade(v bool) *ModifyCacheClusterInput {
+ s.AutoMinorVersionUpgrade = &v
+ return s
+}
+
+// SetCacheClusterId sets the CacheClusterId field's value.
+func (s *ModifyCacheClusterInput) SetCacheClusterId(v string) *ModifyCacheClusterInput {
+ s.CacheClusterId = &v
+ return s
+}
+
+// SetCacheNodeIdsToRemove sets the CacheNodeIdsToRemove field's value.
+func (s *ModifyCacheClusterInput) SetCacheNodeIdsToRemove(v []*string) *ModifyCacheClusterInput {
+ s.CacheNodeIdsToRemove = v
+ return s
+}
+
+// SetCacheNodeType sets the CacheNodeType field's value.
+func (s *ModifyCacheClusterInput) SetCacheNodeType(v string) *ModifyCacheClusterInput {
+ s.CacheNodeType = &v
+ return s
+}
+
+// SetCacheParameterGroupName sets the CacheParameterGroupName field's value.
+func (s *ModifyCacheClusterInput) SetCacheParameterGroupName(v string) *ModifyCacheClusterInput {
+ s.CacheParameterGroupName = &v
+ return s
+}
+
+// SetCacheSecurityGroupNames sets the CacheSecurityGroupNames field's value.
+func (s *ModifyCacheClusterInput) SetCacheSecurityGroupNames(v []*string) *ModifyCacheClusterInput {
+ s.CacheSecurityGroupNames = v
+ return s
+}
+
+// SetEngineVersion sets the EngineVersion field's value.
+func (s *ModifyCacheClusterInput) SetEngineVersion(v string) *ModifyCacheClusterInput {
+ s.EngineVersion = &v
+ return s
+}
+
+// SetNewAvailabilityZones sets the NewAvailabilityZones field's value.
+func (s *ModifyCacheClusterInput) SetNewAvailabilityZones(v []*string) *ModifyCacheClusterInput {
+ s.NewAvailabilityZones = v
+ return s
+}
+
+// SetNotificationTopicArn sets the NotificationTopicArn field's value.
+func (s *ModifyCacheClusterInput) SetNotificationTopicArn(v string) *ModifyCacheClusterInput {
+ s.NotificationTopicArn = &v
+ return s
+}
+
+// SetNotificationTopicStatus sets the NotificationTopicStatus field's value.
+func (s *ModifyCacheClusterInput) SetNotificationTopicStatus(v string) *ModifyCacheClusterInput {
+ s.NotificationTopicStatus = &v
+ return s
+}
+
+// SetNumCacheNodes sets the NumCacheNodes field's value.
+func (s *ModifyCacheClusterInput) SetNumCacheNodes(v int64) *ModifyCacheClusterInput {
+ s.NumCacheNodes = &v
+ return s
+}
+
+// SetPreferredMaintenanceWindow sets the PreferredMaintenanceWindow field's value.
+func (s *ModifyCacheClusterInput) SetPreferredMaintenanceWindow(v string) *ModifyCacheClusterInput {
+ s.PreferredMaintenanceWindow = &v
+ return s
+}
+
+// SetSecurityGroupIds sets the SecurityGroupIds field's value.
+func (s *ModifyCacheClusterInput) SetSecurityGroupIds(v []*string) *ModifyCacheClusterInput {
+ s.SecurityGroupIds = v
+ return s
+}
+
+// SetSnapshotRetentionLimit sets the SnapshotRetentionLimit field's value.
+func (s *ModifyCacheClusterInput) SetSnapshotRetentionLimit(v int64) *ModifyCacheClusterInput {
+ s.SnapshotRetentionLimit = &v
+ return s
+}
+
+// SetSnapshotWindow sets the SnapshotWindow field's value.
+func (s *ModifyCacheClusterInput) SetSnapshotWindow(v string) *ModifyCacheClusterInput {
+ s.SnapshotWindow = &v
+ return s
+}
+
type ModifyCacheClusterOutput struct {
_ struct{} `type:"structure"`
@@ -6822,6 +8449,12 @@ func (s ModifyCacheClusterOutput) GoString() string {
return s.String()
}
+// SetCacheCluster sets the CacheCluster field's value.
+func (s *ModifyCacheClusterOutput) SetCacheCluster(v *CacheCluster) *ModifyCacheClusterOutput {
+ s.CacheCluster = v
+ return s
+}
+
// Represents the input of a ModifyCacheParameterGroup operation.
type ModifyCacheParameterGroupInput struct {
_ struct{} `type:"structure"`
@@ -6865,6 +8498,18 @@ func (s *ModifyCacheParameterGroupInput) Validate() error {
return nil
}
+// SetCacheParameterGroupName sets the CacheParameterGroupName field's value.
+func (s *ModifyCacheParameterGroupInput) SetCacheParameterGroupName(v string) *ModifyCacheParameterGroupInput {
+ s.CacheParameterGroupName = &v
+ return s
+}
+
+// SetParameterNameValues sets the ParameterNameValues field's value.
+func (s *ModifyCacheParameterGroupInput) SetParameterNameValues(v []*ParameterNameValue) *ModifyCacheParameterGroupInput {
+ s.ParameterNameValues = v
+ return s
+}
+
// Represents the input of a ModifyCacheSubnetGroup operation.
type ModifyCacheSubnetGroupInput struct {
_ struct{} `type:"structure"`
@@ -6909,6 +8554,24 @@ func (s *ModifyCacheSubnetGroupInput) Validate() error {
return nil
}
+// SetCacheSubnetGroupDescription sets the CacheSubnetGroupDescription field's value.
+func (s *ModifyCacheSubnetGroupInput) SetCacheSubnetGroupDescription(v string) *ModifyCacheSubnetGroupInput {
+ s.CacheSubnetGroupDescription = &v
+ return s
+}
+
+// SetCacheSubnetGroupName sets the CacheSubnetGroupName field's value.
+func (s *ModifyCacheSubnetGroupInput) SetCacheSubnetGroupName(v string) *ModifyCacheSubnetGroupInput {
+ s.CacheSubnetGroupName = &v
+ return s
+}
+
+// SetSubnetIds sets the SubnetIds field's value.
+func (s *ModifyCacheSubnetGroupInput) SetSubnetIds(v []*string) *ModifyCacheSubnetGroupInput {
+ s.SubnetIds = v
+ return s
+}
+
type ModifyCacheSubnetGroupOutput struct {
_ struct{} `type:"structure"`
@@ -6930,6 +8593,12 @@ func (s ModifyCacheSubnetGroupOutput) GoString() string {
return s.String()
}
+// SetCacheSubnetGroup sets the CacheSubnetGroup field's value.
+func (s *ModifyCacheSubnetGroupOutput) SetCacheSubnetGroup(v *CacheSubnetGroup) *ModifyCacheSubnetGroupOutput {
+ s.CacheSubnetGroup = v
+ return s
+}
+
// Represents the input of a ModifyReplicationGroups operation.
type ModifyReplicationGroupInput struct {
_ struct{} `type:"structure"`
@@ -7096,6 +8765,108 @@ func (s *ModifyReplicationGroupInput) Validate() error {
return nil
}
+// SetApplyImmediately sets the ApplyImmediately field's value.
+func (s *ModifyReplicationGroupInput) SetApplyImmediately(v bool) *ModifyReplicationGroupInput {
+ s.ApplyImmediately = &v
+ return s
+}
+
+// SetAutoMinorVersionUpgrade sets the AutoMinorVersionUpgrade field's value.
+func (s *ModifyReplicationGroupInput) SetAutoMinorVersionUpgrade(v bool) *ModifyReplicationGroupInput {
+ s.AutoMinorVersionUpgrade = &v
+ return s
+}
+
+// SetAutomaticFailoverEnabled sets the AutomaticFailoverEnabled field's value.
+func (s *ModifyReplicationGroupInput) SetAutomaticFailoverEnabled(v bool) *ModifyReplicationGroupInput {
+ s.AutomaticFailoverEnabled = &v
+ return s
+}
+
+// SetCacheNodeType sets the CacheNodeType field's value.
+func (s *ModifyReplicationGroupInput) SetCacheNodeType(v string) *ModifyReplicationGroupInput {
+ s.CacheNodeType = &v
+ return s
+}
+
+// SetCacheParameterGroupName sets the CacheParameterGroupName field's value.
+func (s *ModifyReplicationGroupInput) SetCacheParameterGroupName(v string) *ModifyReplicationGroupInput {
+ s.CacheParameterGroupName = &v
+ return s
+}
+
+// SetCacheSecurityGroupNames sets the CacheSecurityGroupNames field's value.
+func (s *ModifyReplicationGroupInput) SetCacheSecurityGroupNames(v []*string) *ModifyReplicationGroupInput {
+ s.CacheSecurityGroupNames = v
+ return s
+}
+
+// SetEngineVersion sets the EngineVersion field's value.
+func (s *ModifyReplicationGroupInput) SetEngineVersion(v string) *ModifyReplicationGroupInput {
+ s.EngineVersion = &v
+ return s
+}
+
+// SetNotificationTopicArn sets the NotificationTopicArn field's value.
+func (s *ModifyReplicationGroupInput) SetNotificationTopicArn(v string) *ModifyReplicationGroupInput {
+ s.NotificationTopicArn = &v
+ return s
+}
+
+// SetNotificationTopicStatus sets the NotificationTopicStatus field's value.
+func (s *ModifyReplicationGroupInput) SetNotificationTopicStatus(v string) *ModifyReplicationGroupInput {
+ s.NotificationTopicStatus = &v
+ return s
+}
+
+// SetPreferredMaintenanceWindow sets the PreferredMaintenanceWindow field's value.
+func (s *ModifyReplicationGroupInput) SetPreferredMaintenanceWindow(v string) *ModifyReplicationGroupInput {
+ s.PreferredMaintenanceWindow = &v
+ return s
+}
+
+// SetPrimaryClusterId sets the PrimaryClusterId field's value.
+func (s *ModifyReplicationGroupInput) SetPrimaryClusterId(v string) *ModifyReplicationGroupInput {
+ s.PrimaryClusterId = &v
+ return s
+}
+
+// SetReplicationGroupDescription sets the ReplicationGroupDescription field's value.
+func (s *ModifyReplicationGroupInput) SetReplicationGroupDescription(v string) *ModifyReplicationGroupInput {
+ s.ReplicationGroupDescription = &v
+ return s
+}
+
+// SetReplicationGroupId sets the ReplicationGroupId field's value.
+func (s *ModifyReplicationGroupInput) SetReplicationGroupId(v string) *ModifyReplicationGroupInput {
+ s.ReplicationGroupId = &v
+ return s
+}
+
+// SetSecurityGroupIds sets the SecurityGroupIds field's value.
+func (s *ModifyReplicationGroupInput) SetSecurityGroupIds(v []*string) *ModifyReplicationGroupInput {
+ s.SecurityGroupIds = v
+ return s
+}
+
+// SetSnapshotRetentionLimit sets the SnapshotRetentionLimit field's value.
+func (s *ModifyReplicationGroupInput) SetSnapshotRetentionLimit(v int64) *ModifyReplicationGroupInput {
+ s.SnapshotRetentionLimit = &v
+ return s
+}
+
+// SetSnapshotWindow sets the SnapshotWindow field's value.
+func (s *ModifyReplicationGroupInput) SetSnapshotWindow(v string) *ModifyReplicationGroupInput {
+ s.SnapshotWindow = &v
+ return s
+}
+
+// SetSnapshottingClusterId sets the SnapshottingClusterId field's value.
+func (s *ModifyReplicationGroupInput) SetSnapshottingClusterId(v string) *ModifyReplicationGroupInput {
+ s.SnapshottingClusterId = &v
+ return s
+}
+
type ModifyReplicationGroupOutput struct {
_ struct{} `type:"structure"`
@@ -7113,8 +8884,14 @@ func (s ModifyReplicationGroupOutput) GoString() string {
return s.String()
}
+// SetReplicationGroup sets the ReplicationGroup field's value.
+func (s *ModifyReplicationGroupOutput) SetReplicationGroup(v *ReplicationGroup) *ModifyReplicationGroupOutput {
+ s.ReplicationGroup = v
+ return s
+}
+
// 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
+// the node group is the read/write primary node. All the other nodes are read-only
// Replica nodes.
type NodeGroup struct {
_ struct{} `type:"structure"`
@@ -7149,6 +8926,36 @@ func (s NodeGroup) GoString() string {
return s.String()
}
+// SetNodeGroupId sets the NodeGroupId field's value.
+func (s *NodeGroup) SetNodeGroupId(v string) *NodeGroup {
+ s.NodeGroupId = &v
+ return s
+}
+
+// SetNodeGroupMembers sets the NodeGroupMembers field's value.
+func (s *NodeGroup) SetNodeGroupMembers(v []*NodeGroupMember) *NodeGroup {
+ s.NodeGroupMembers = v
+ return s
+}
+
+// SetPrimaryEndpoint sets the PrimaryEndpoint field's value.
+func (s *NodeGroup) SetPrimaryEndpoint(v *Endpoint) *NodeGroup {
+ s.PrimaryEndpoint = v
+ return s
+}
+
+// SetSlots sets the Slots field's value.
+func (s *NodeGroup) SetSlots(v string) *NodeGroup {
+ s.Slots = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *NodeGroup) SetStatus(v string) *NodeGroup {
+ s.Status = &v
+ return s
+}
+
// node group (shard) configuration options. Each node group (shard) configuration
// has the following: Slots, PrimaryAvailabilityZone, ReplicaAvailabilityZones,
// ReplicaCount.
@@ -7184,6 +8991,30 @@ func (s NodeGroupConfiguration) GoString() string {
return s.String()
}
+// SetPrimaryAvailabilityZone sets the PrimaryAvailabilityZone field's value.
+func (s *NodeGroupConfiguration) SetPrimaryAvailabilityZone(v string) *NodeGroupConfiguration {
+ s.PrimaryAvailabilityZone = &v
+ return s
+}
+
+// SetReplicaAvailabilityZones sets the ReplicaAvailabilityZones field's value.
+func (s *NodeGroupConfiguration) SetReplicaAvailabilityZones(v []*string) *NodeGroupConfiguration {
+ s.ReplicaAvailabilityZones = v
+ return s
+}
+
+// SetReplicaCount sets the ReplicaCount field's value.
+func (s *NodeGroupConfiguration) SetReplicaCount(v int64) *NodeGroupConfiguration {
+ s.ReplicaCount = &v
+ return s
+}
+
+// SetSlots sets the Slots field's value.
+func (s *NodeGroupConfiguration) SetSlots(v string) *NodeGroupConfiguration {
+ s.Slots = &v
+ return s
+}
+
// Represents a single node within a node group (shard).
type NodeGroupMember struct {
_ struct{} `type:"structure"`
@@ -7216,6 +9047,36 @@ func (s NodeGroupMember) GoString() string {
return s.String()
}
+// SetCacheClusterId sets the CacheClusterId field's value.
+func (s *NodeGroupMember) SetCacheClusterId(v string) *NodeGroupMember {
+ s.CacheClusterId = &v
+ return s
+}
+
+// SetCacheNodeId sets the CacheNodeId field's value.
+func (s *NodeGroupMember) SetCacheNodeId(v string) *NodeGroupMember {
+ s.CacheNodeId = &v
+ return s
+}
+
+// SetCurrentRole sets the CurrentRole field's value.
+func (s *NodeGroupMember) SetCurrentRole(v string) *NodeGroupMember {
+ s.CurrentRole = &v
+ return s
+}
+
+// SetPreferredAvailabilityZone sets the PreferredAvailabilityZone field's value.
+func (s *NodeGroupMember) SetPreferredAvailabilityZone(v string) *NodeGroupMember {
+ s.PreferredAvailabilityZone = &v
+ return s
+}
+
+// SetReadEndpoint sets the ReadEndpoint field's value.
+func (s *NodeGroupMember) SetReadEndpoint(v *Endpoint) *NodeGroupMember {
+ s.ReadEndpoint = v
+ return s
+}
+
// Represents an individual cache node in a snapshot of a cache cluster.
type NodeSnapshot struct {
_ struct{} `type:"structure"`
@@ -7253,6 +9114,48 @@ func (s NodeSnapshot) GoString() string {
return s.String()
}
+// SetCacheClusterId sets the CacheClusterId field's value.
+func (s *NodeSnapshot) SetCacheClusterId(v string) *NodeSnapshot {
+ s.CacheClusterId = &v
+ return s
+}
+
+// SetCacheNodeCreateTime sets the CacheNodeCreateTime field's value.
+func (s *NodeSnapshot) SetCacheNodeCreateTime(v time.Time) *NodeSnapshot {
+ s.CacheNodeCreateTime = &v
+ return s
+}
+
+// SetCacheNodeId sets the CacheNodeId field's value.
+func (s *NodeSnapshot) SetCacheNodeId(v string) *NodeSnapshot {
+ s.CacheNodeId = &v
+ return s
+}
+
+// SetCacheSize sets the CacheSize field's value.
+func (s *NodeSnapshot) SetCacheSize(v string) *NodeSnapshot {
+ s.CacheSize = &v
+ return s
+}
+
+// SetNodeGroupConfiguration sets the NodeGroupConfiguration field's value.
+func (s *NodeSnapshot) SetNodeGroupConfiguration(v *NodeGroupConfiguration) *NodeSnapshot {
+ s.NodeGroupConfiguration = v
+ return s
+}
+
+// SetNodeGroupId sets the NodeGroupId field's value.
+func (s *NodeSnapshot) SetNodeGroupId(v string) *NodeSnapshot {
+ s.NodeGroupId = &v
+ return s
+}
+
+// SetSnapshotCreateTime sets the SnapshotCreateTime field's value.
+func (s *NodeSnapshot) SetSnapshotCreateTime(v time.Time) *NodeSnapshot {
+ s.SnapshotCreateTime = &v
+ return s
+}
+
// Describes a notification topic and its status. Notification topics are used
// for publishing ElastiCache events to subscribers using Amazon Simple Notification
// Service (SNS).
@@ -7276,6 +9179,18 @@ func (s NotificationConfiguration) GoString() string {
return s.String()
}
+// SetTopicArn sets the TopicArn field's value.
+func (s *NotificationConfiguration) SetTopicArn(v string) *NotificationConfiguration {
+ s.TopicArn = &v
+ return s
+}
+
+// SetTopicStatus sets the TopicStatus field's value.
+func (s *NotificationConfiguration) SetTopicStatus(v string) *NotificationConfiguration {
+ s.TopicStatus = &v
+ return s
+}
+
// Describes an individual setting that controls some aspect of ElastiCache
// behavior.
type Parameter struct {
@@ -7324,6 +9239,60 @@ func (s Parameter) GoString() string {
return s.String()
}
+// SetAllowedValues sets the AllowedValues field's value.
+func (s *Parameter) SetAllowedValues(v string) *Parameter {
+ s.AllowedValues = &v
+ return s
+}
+
+// SetChangeType sets the ChangeType field's value.
+func (s *Parameter) SetChangeType(v string) *Parameter {
+ s.ChangeType = &v
+ return s
+}
+
+// SetDataType sets the DataType field's value.
+func (s *Parameter) SetDataType(v string) *Parameter {
+ s.DataType = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *Parameter) SetDescription(v string) *Parameter {
+ s.Description = &v
+ return s
+}
+
+// SetIsModifiable sets the IsModifiable field's value.
+func (s *Parameter) SetIsModifiable(v bool) *Parameter {
+ s.IsModifiable = &v
+ return s
+}
+
+// SetMinimumEngineVersion sets the MinimumEngineVersion field's value.
+func (s *Parameter) SetMinimumEngineVersion(v string) *Parameter {
+ s.MinimumEngineVersion = &v
+ return s
+}
+
+// SetParameterName sets the ParameterName field's value.
+func (s *Parameter) SetParameterName(v string) *Parameter {
+ s.ParameterName = &v
+ return s
+}
+
+// SetParameterValue sets the ParameterValue field's value.
+func (s *Parameter) SetParameterValue(v string) *Parameter {
+ s.ParameterValue = &v
+ return s
+}
+
+// SetSource sets the Source field's value.
+func (s *Parameter) SetSource(v string) *Parameter {
+ s.Source = &v
+ return s
+}
+
// Describes a name-value pair that is used to update the value of a parameter.
type ParameterNameValue struct {
_ struct{} `type:"structure"`
@@ -7345,6 +9314,18 @@ func (s ParameterNameValue) GoString() string {
return s.String()
}
+// SetParameterName sets the ParameterName field's value.
+func (s *ParameterNameValue) SetParameterName(v string) *ParameterNameValue {
+ s.ParameterName = &v
+ return s
+}
+
+// SetParameterValue sets the ParameterValue field's value.
+func (s *ParameterNameValue) SetParameterValue(v string) *ParameterNameValue {
+ s.ParameterValue = &v
+ return s
+}
+
// A group of settings that are applied to the cache cluster in the future,
// or that are currently being applied.
type PendingModifiedValues struct {
@@ -7378,6 +9359,30 @@ func (s PendingModifiedValues) GoString() string {
return s.String()
}
+// SetCacheNodeIdsToRemove sets the CacheNodeIdsToRemove field's value.
+func (s *PendingModifiedValues) SetCacheNodeIdsToRemove(v []*string) *PendingModifiedValues {
+ s.CacheNodeIdsToRemove = v
+ return s
+}
+
+// SetCacheNodeType sets the CacheNodeType field's value.
+func (s *PendingModifiedValues) SetCacheNodeType(v string) *PendingModifiedValues {
+ s.CacheNodeType = &v
+ return s
+}
+
+// SetEngineVersion sets the EngineVersion field's value.
+func (s *PendingModifiedValues) SetEngineVersion(v string) *PendingModifiedValues {
+ s.EngineVersion = &v
+ return s
+}
+
+// SetNumCacheNodes sets the NumCacheNodes field's value.
+func (s *PendingModifiedValues) SetNumCacheNodes(v int64) *PendingModifiedValues {
+ s.NumCacheNodes = &v
+ return s
+}
+
// Represents the input of a PurchaseReservedCacheNodesOffering operation.
type PurchaseReservedCacheNodesOfferingInput struct {
_ struct{} `type:"structure"`
@@ -7427,6 +9432,24 @@ func (s *PurchaseReservedCacheNodesOfferingInput) Validate() error {
return nil
}
+// SetCacheNodeCount sets the CacheNodeCount field's value.
+func (s *PurchaseReservedCacheNodesOfferingInput) SetCacheNodeCount(v int64) *PurchaseReservedCacheNodesOfferingInput {
+ s.CacheNodeCount = &v
+ return s
+}
+
+// SetReservedCacheNodeId sets the ReservedCacheNodeId field's value.
+func (s *PurchaseReservedCacheNodesOfferingInput) SetReservedCacheNodeId(v string) *PurchaseReservedCacheNodesOfferingInput {
+ s.ReservedCacheNodeId = &v
+ return s
+}
+
+// SetReservedCacheNodesOfferingId sets the ReservedCacheNodesOfferingId field's value.
+func (s *PurchaseReservedCacheNodesOfferingInput) SetReservedCacheNodesOfferingId(v string) *PurchaseReservedCacheNodesOfferingInput {
+ s.ReservedCacheNodesOfferingId = &v
+ return s
+}
+
type PurchaseReservedCacheNodesOfferingOutput struct {
_ struct{} `type:"structure"`
@@ -7444,6 +9467,12 @@ func (s PurchaseReservedCacheNodesOfferingOutput) GoString() string {
return s.String()
}
+// SetReservedCacheNode sets the ReservedCacheNode field's value.
+func (s *PurchaseReservedCacheNodesOfferingOutput) SetReservedCacheNode(v *ReservedCacheNode) *PurchaseReservedCacheNodesOfferingOutput {
+ s.ReservedCacheNode = v
+ return s
+}
+
// Represents the input of a RebootCacheCluster operation.
type RebootCacheClusterInput struct {
_ struct{} `type:"structure"`
@@ -7487,6 +9516,18 @@ func (s *RebootCacheClusterInput) Validate() error {
return nil
}
+// SetCacheClusterId sets the CacheClusterId field's value.
+func (s *RebootCacheClusterInput) SetCacheClusterId(v string) *RebootCacheClusterInput {
+ s.CacheClusterId = &v
+ return s
+}
+
+// SetCacheNodeIdsToReboot sets the CacheNodeIdsToReboot field's value.
+func (s *RebootCacheClusterInput) SetCacheNodeIdsToReboot(v []*string) *RebootCacheClusterInput {
+ s.CacheNodeIdsToReboot = v
+ return s
+}
+
type RebootCacheClusterOutput struct {
_ struct{} `type:"structure"`
@@ -7504,6 +9545,12 @@ func (s RebootCacheClusterOutput) GoString() string {
return s.String()
}
+// SetCacheCluster sets the CacheCluster field's value.
+func (s *RebootCacheClusterOutput) SetCacheCluster(v *CacheCluster) *RebootCacheClusterOutput {
+ s.CacheCluster = v
+ return s
+}
+
// Contains the specific price and frequency of a recurring charges for a reserved
// cache node, or for a reserved cache node offering.
type RecurringCharge struct {
@@ -7526,6 +9573,18 @@ func (s RecurringCharge) GoString() string {
return s.String()
}
+// SetRecurringChargeAmount sets the RecurringChargeAmount field's value.
+func (s *RecurringCharge) SetRecurringChargeAmount(v float64) *RecurringCharge {
+ s.RecurringChargeAmount = &v
+ return s
+}
+
+// SetRecurringChargeFrequency sets the RecurringChargeFrequency field's value.
+func (s *RecurringCharge) SetRecurringChargeFrequency(v string) *RecurringCharge {
+ s.RecurringChargeFrequency = &v
+ return s
+}
+
// Represents the input of a RemoveTagsFromResource operation.
type RemoveTagsFromResourceInput struct {
_ struct{} `type:"structure"`
@@ -7572,6 +9631,18 @@ func (s *RemoveTagsFromResourceInput) Validate() error {
return nil
}
+// SetResourceName sets the ResourceName field's value.
+func (s *RemoveTagsFromResourceInput) SetResourceName(v string) *RemoveTagsFromResourceInput {
+ s.ResourceName = &v
+ return s
+}
+
+// SetTagKeys sets the TagKeys field's value.
+func (s *RemoveTagsFromResourceInput) SetTagKeys(v []*string) *RemoveTagsFromResourceInput {
+ s.TagKeys = v
+ return s
+}
+
// Contains all of the attributes of a specific Redis replication group.
type ReplicationGroup struct {
_ struct{} `type:"structure"`
@@ -7632,7 +9703,8 @@ type ReplicationGroup struct {
// group.
SnapshottingClusterId *string `type:"string"`
- // The current state of this replication group - creating, available, etc.
+ // The current state of this replication group - creating, available, modifying,
+ // deleting, create-failed, snapshotting.
Status *string `type:"string"`
}
@@ -7646,6 +9718,72 @@ func (s ReplicationGroup) GoString() string {
return s.String()
}
+// SetAutomaticFailover sets the AutomaticFailover field's value.
+func (s *ReplicationGroup) SetAutomaticFailover(v string) *ReplicationGroup {
+ s.AutomaticFailover = &v
+ return s
+}
+
+// SetConfigurationEndpoint sets the ConfigurationEndpoint field's value.
+func (s *ReplicationGroup) SetConfigurationEndpoint(v *Endpoint) *ReplicationGroup {
+ s.ConfigurationEndpoint = v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *ReplicationGroup) SetDescription(v string) *ReplicationGroup {
+ s.Description = &v
+ return s
+}
+
+// SetMemberClusters sets the MemberClusters field's value.
+func (s *ReplicationGroup) SetMemberClusters(v []*string) *ReplicationGroup {
+ s.MemberClusters = v
+ return s
+}
+
+// SetNodeGroups sets the NodeGroups field's value.
+func (s *ReplicationGroup) SetNodeGroups(v []*NodeGroup) *ReplicationGroup {
+ s.NodeGroups = v
+ return s
+}
+
+// SetPendingModifiedValues sets the PendingModifiedValues field's value.
+func (s *ReplicationGroup) SetPendingModifiedValues(v *ReplicationGroupPendingModifiedValues) *ReplicationGroup {
+ s.PendingModifiedValues = v
+ return s
+}
+
+// SetReplicationGroupId sets the ReplicationGroupId field's value.
+func (s *ReplicationGroup) SetReplicationGroupId(v string) *ReplicationGroup {
+ s.ReplicationGroupId = &v
+ return s
+}
+
+// SetSnapshotRetentionLimit sets the SnapshotRetentionLimit field's value.
+func (s *ReplicationGroup) SetSnapshotRetentionLimit(v int64) *ReplicationGroup {
+ s.SnapshotRetentionLimit = &v
+ return s
+}
+
+// SetSnapshotWindow sets the SnapshotWindow field's value.
+func (s *ReplicationGroup) SetSnapshotWindow(v string) *ReplicationGroup {
+ s.SnapshotWindow = &v
+ return s
+}
+
+// SetSnapshottingClusterId sets the SnapshottingClusterId field's value.
+func (s *ReplicationGroup) SetSnapshottingClusterId(v string) *ReplicationGroup {
+ s.SnapshottingClusterId = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *ReplicationGroup) SetStatus(v string) *ReplicationGroup {
+ s.Status = &v
+ return s
+}
+
// The settings to be applied to the Redis replication group, either immediately
// or during the next maintenance window.
type ReplicationGroupPendingModifiedValues struct {
@@ -7677,6 +9815,18 @@ func (s ReplicationGroupPendingModifiedValues) GoString() string {
return s.String()
}
+// SetAutomaticFailoverStatus sets the AutomaticFailoverStatus field's value.
+func (s *ReplicationGroupPendingModifiedValues) SetAutomaticFailoverStatus(v string) *ReplicationGroupPendingModifiedValues {
+ s.AutomaticFailoverStatus = &v
+ return s
+}
+
+// SetPrimaryClusterId sets the PrimaryClusterId field's value.
+func (s *ReplicationGroupPendingModifiedValues) SetPrimaryClusterId(v string) *ReplicationGroupPendingModifiedValues {
+ s.PrimaryClusterId = &v
+ return s
+}
+
// Represents the output of a PurchaseReservedCacheNodesOffering operation.
type ReservedCacheNode struct {
_ struct{} `type:"structure"`
@@ -7765,6 +9915,78 @@ func (s ReservedCacheNode) GoString() string {
return s.String()
}
+// SetCacheNodeCount sets the CacheNodeCount field's value.
+func (s *ReservedCacheNode) SetCacheNodeCount(v int64) *ReservedCacheNode {
+ s.CacheNodeCount = &v
+ return s
+}
+
+// SetCacheNodeType sets the CacheNodeType field's value.
+func (s *ReservedCacheNode) SetCacheNodeType(v string) *ReservedCacheNode {
+ s.CacheNodeType = &v
+ return s
+}
+
+// SetDuration sets the Duration field's value.
+func (s *ReservedCacheNode) SetDuration(v int64) *ReservedCacheNode {
+ s.Duration = &v
+ return s
+}
+
+// SetFixedPrice sets the FixedPrice field's value.
+func (s *ReservedCacheNode) SetFixedPrice(v float64) *ReservedCacheNode {
+ s.FixedPrice = &v
+ return s
+}
+
+// SetOfferingType sets the OfferingType field's value.
+func (s *ReservedCacheNode) SetOfferingType(v string) *ReservedCacheNode {
+ s.OfferingType = &v
+ return s
+}
+
+// SetProductDescription sets the ProductDescription field's value.
+func (s *ReservedCacheNode) SetProductDescription(v string) *ReservedCacheNode {
+ s.ProductDescription = &v
+ return s
+}
+
+// SetRecurringCharges sets the RecurringCharges field's value.
+func (s *ReservedCacheNode) SetRecurringCharges(v []*RecurringCharge) *ReservedCacheNode {
+ s.RecurringCharges = v
+ return s
+}
+
+// SetReservedCacheNodeId sets the ReservedCacheNodeId field's value.
+func (s *ReservedCacheNode) SetReservedCacheNodeId(v string) *ReservedCacheNode {
+ s.ReservedCacheNodeId = &v
+ return s
+}
+
+// SetReservedCacheNodesOfferingId sets the ReservedCacheNodesOfferingId field's value.
+func (s *ReservedCacheNode) SetReservedCacheNodesOfferingId(v string) *ReservedCacheNode {
+ s.ReservedCacheNodesOfferingId = &v
+ return s
+}
+
+// SetStartTime sets the StartTime field's value.
+func (s *ReservedCacheNode) SetStartTime(v time.Time) *ReservedCacheNode {
+ s.StartTime = &v
+ return s
+}
+
+// SetState sets the State field's value.
+func (s *ReservedCacheNode) SetState(v string) *ReservedCacheNode {
+ s.State = &v
+ return s
+}
+
+// SetUsagePrice sets the UsagePrice field's value.
+func (s *ReservedCacheNode) SetUsagePrice(v float64) *ReservedCacheNode {
+ s.UsagePrice = &v
+ return s
+}
+
// Describes all of the attributes of a reserved cache node offering.
type ReservedCacheNodesOffering struct {
_ struct{} `type:"structure"`
@@ -7841,6 +10063,54 @@ func (s ReservedCacheNodesOffering) GoString() string {
return s.String()
}
+// SetCacheNodeType sets the CacheNodeType field's value.
+func (s *ReservedCacheNodesOffering) SetCacheNodeType(v string) *ReservedCacheNodesOffering {
+ s.CacheNodeType = &v
+ return s
+}
+
+// SetDuration sets the Duration field's value.
+func (s *ReservedCacheNodesOffering) SetDuration(v int64) *ReservedCacheNodesOffering {
+ s.Duration = &v
+ return s
+}
+
+// SetFixedPrice sets the FixedPrice field's value.
+func (s *ReservedCacheNodesOffering) SetFixedPrice(v float64) *ReservedCacheNodesOffering {
+ s.FixedPrice = &v
+ return s
+}
+
+// SetOfferingType sets the OfferingType field's value.
+func (s *ReservedCacheNodesOffering) SetOfferingType(v string) *ReservedCacheNodesOffering {
+ s.OfferingType = &v
+ return s
+}
+
+// SetProductDescription sets the ProductDescription field's value.
+func (s *ReservedCacheNodesOffering) SetProductDescription(v string) *ReservedCacheNodesOffering {
+ s.ProductDescription = &v
+ return s
+}
+
+// SetRecurringCharges sets the RecurringCharges field's value.
+func (s *ReservedCacheNodesOffering) SetRecurringCharges(v []*RecurringCharge) *ReservedCacheNodesOffering {
+ s.RecurringCharges = v
+ return s
+}
+
+// SetReservedCacheNodesOfferingId sets the ReservedCacheNodesOfferingId field's value.
+func (s *ReservedCacheNodesOffering) SetReservedCacheNodesOfferingId(v string) *ReservedCacheNodesOffering {
+ s.ReservedCacheNodesOfferingId = &v
+ return s
+}
+
+// SetUsagePrice sets the UsagePrice field's value.
+func (s *ReservedCacheNodesOffering) SetUsagePrice(v float64) *ReservedCacheNodesOffering {
+ s.UsagePrice = &v
+ return s
+}
+
// Represents the input of a ResetCacheParameterGroup operation.
type ResetCacheParameterGroupInput struct {
_ struct{} `type:"structure"`
@@ -7886,6 +10156,24 @@ func (s *ResetCacheParameterGroupInput) Validate() error {
return nil
}
+// SetCacheParameterGroupName sets the CacheParameterGroupName field's value.
+func (s *ResetCacheParameterGroupInput) SetCacheParameterGroupName(v string) *ResetCacheParameterGroupInput {
+ s.CacheParameterGroupName = &v
+ return s
+}
+
+// SetParameterNameValues sets the ParameterNameValues field's value.
+func (s *ResetCacheParameterGroupInput) SetParameterNameValues(v []*ParameterNameValue) *ResetCacheParameterGroupInput {
+ s.ParameterNameValues = v
+ return s
+}
+
+// SetResetAllParameters sets the ResetAllParameters field's value.
+func (s *ResetCacheParameterGroupInput) SetResetAllParameters(v bool) *ResetCacheParameterGroupInput {
+ s.ResetAllParameters = &v
+ return s
+}
+
// Represents the input of a RevokeCacheSecurityGroupIngress operation.
type RevokeCacheSecurityGroupIngressInput struct {
_ struct{} `type:"structure"`
@@ -7937,6 +10225,24 @@ func (s *RevokeCacheSecurityGroupIngressInput) Validate() error {
return nil
}
+// SetCacheSecurityGroupName sets the CacheSecurityGroupName field's value.
+func (s *RevokeCacheSecurityGroupIngressInput) SetCacheSecurityGroupName(v string) *RevokeCacheSecurityGroupIngressInput {
+ s.CacheSecurityGroupName = &v
+ return s
+}
+
+// SetEC2SecurityGroupName sets the EC2SecurityGroupName field's value.
+func (s *RevokeCacheSecurityGroupIngressInput) SetEC2SecurityGroupName(v string) *RevokeCacheSecurityGroupIngressInput {
+ s.EC2SecurityGroupName = &v
+ return s
+}
+
+// SetEC2SecurityGroupOwnerId sets the EC2SecurityGroupOwnerId field's value.
+func (s *RevokeCacheSecurityGroupIngressInput) SetEC2SecurityGroupOwnerId(v string) *RevokeCacheSecurityGroupIngressInput {
+ s.EC2SecurityGroupOwnerId = &v
+ return s
+}
+
type RevokeCacheSecurityGroupIngressOutput struct {
_ struct{} `type:"structure"`
@@ -7960,6 +10266,12 @@ func (s RevokeCacheSecurityGroupIngressOutput) GoString() string {
return s.String()
}
+// SetCacheSecurityGroup sets the CacheSecurityGroup field's value.
+func (s *RevokeCacheSecurityGroupIngressOutput) SetCacheSecurityGroup(v *CacheSecurityGroup) *RevokeCacheSecurityGroupIngressOutput {
+ s.CacheSecurityGroup = v
+ return s
+}
+
// Represents a single cache security group and its status.
type SecurityGroupMembership struct {
_ struct{} `type:"structure"`
@@ -7983,6 +10295,18 @@ func (s SecurityGroupMembership) GoString() string {
return s.String()
}
+// SetSecurityGroupId sets the SecurityGroupId field's value.
+func (s *SecurityGroupMembership) SetSecurityGroupId(v string) *SecurityGroupMembership {
+ s.SecurityGroupId = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *SecurityGroupMembership) SetStatus(v string) *SecurityGroupMembership {
+ s.Status = &v
+ return s
+}
+
// Represents a copy of an entire Redis cache cluster as of the time when the
// snapshot was taken.
type Snapshot struct {
@@ -8159,6 +10483,150 @@ func (s Snapshot) GoString() string {
return s.String()
}
+// SetAutoMinorVersionUpgrade sets the AutoMinorVersionUpgrade field's value.
+func (s *Snapshot) SetAutoMinorVersionUpgrade(v bool) *Snapshot {
+ s.AutoMinorVersionUpgrade = &v
+ return s
+}
+
+// SetAutomaticFailover sets the AutomaticFailover field's value.
+func (s *Snapshot) SetAutomaticFailover(v string) *Snapshot {
+ s.AutomaticFailover = &v
+ return s
+}
+
+// SetCacheClusterCreateTime sets the CacheClusterCreateTime field's value.
+func (s *Snapshot) SetCacheClusterCreateTime(v time.Time) *Snapshot {
+ s.CacheClusterCreateTime = &v
+ return s
+}
+
+// SetCacheClusterId sets the CacheClusterId field's value.
+func (s *Snapshot) SetCacheClusterId(v string) *Snapshot {
+ s.CacheClusterId = &v
+ return s
+}
+
+// SetCacheNodeType sets the CacheNodeType field's value.
+func (s *Snapshot) SetCacheNodeType(v string) *Snapshot {
+ s.CacheNodeType = &v
+ return s
+}
+
+// SetCacheParameterGroupName sets the CacheParameterGroupName field's value.
+func (s *Snapshot) SetCacheParameterGroupName(v string) *Snapshot {
+ s.CacheParameterGroupName = &v
+ return s
+}
+
+// SetCacheSubnetGroupName sets the CacheSubnetGroupName field's value.
+func (s *Snapshot) SetCacheSubnetGroupName(v string) *Snapshot {
+ s.CacheSubnetGroupName = &v
+ return s
+}
+
+// SetEngine sets the Engine field's value.
+func (s *Snapshot) SetEngine(v string) *Snapshot {
+ s.Engine = &v
+ return s
+}
+
+// SetEngineVersion sets the EngineVersion field's value.
+func (s *Snapshot) SetEngineVersion(v string) *Snapshot {
+ s.EngineVersion = &v
+ return s
+}
+
+// SetNodeSnapshots sets the NodeSnapshots field's value.
+func (s *Snapshot) SetNodeSnapshots(v []*NodeSnapshot) *Snapshot {
+ s.NodeSnapshots = v
+ return s
+}
+
+// SetNumCacheNodes sets the NumCacheNodes field's value.
+func (s *Snapshot) SetNumCacheNodes(v int64) *Snapshot {
+ s.NumCacheNodes = &v
+ return s
+}
+
+// SetNumNodeGroups sets the NumNodeGroups field's value.
+func (s *Snapshot) SetNumNodeGroups(v int64) *Snapshot {
+ s.NumNodeGroups = &v
+ return s
+}
+
+// SetPort sets the Port field's value.
+func (s *Snapshot) SetPort(v int64) *Snapshot {
+ s.Port = &v
+ return s
+}
+
+// SetPreferredAvailabilityZone sets the PreferredAvailabilityZone field's value.
+func (s *Snapshot) SetPreferredAvailabilityZone(v string) *Snapshot {
+ s.PreferredAvailabilityZone = &v
+ return s
+}
+
+// SetPreferredMaintenanceWindow sets the PreferredMaintenanceWindow field's value.
+func (s *Snapshot) SetPreferredMaintenanceWindow(v string) *Snapshot {
+ s.PreferredMaintenanceWindow = &v
+ return s
+}
+
+// SetReplicationGroupDescription sets the ReplicationGroupDescription field's value.
+func (s *Snapshot) SetReplicationGroupDescription(v string) *Snapshot {
+ s.ReplicationGroupDescription = &v
+ return s
+}
+
+// SetReplicationGroupId sets the ReplicationGroupId field's value.
+func (s *Snapshot) SetReplicationGroupId(v string) *Snapshot {
+ s.ReplicationGroupId = &v
+ return s
+}
+
+// SetSnapshotName sets the SnapshotName field's value.
+func (s *Snapshot) SetSnapshotName(v string) *Snapshot {
+ s.SnapshotName = &v
+ return s
+}
+
+// SetSnapshotRetentionLimit sets the SnapshotRetentionLimit field's value.
+func (s *Snapshot) SetSnapshotRetentionLimit(v int64) *Snapshot {
+ s.SnapshotRetentionLimit = &v
+ return s
+}
+
+// SetSnapshotSource sets the SnapshotSource field's value.
+func (s *Snapshot) SetSnapshotSource(v string) *Snapshot {
+ s.SnapshotSource = &v
+ return s
+}
+
+// SetSnapshotStatus sets the SnapshotStatus field's value.
+func (s *Snapshot) SetSnapshotStatus(v string) *Snapshot {
+ s.SnapshotStatus = &v
+ return s
+}
+
+// SetSnapshotWindow sets the SnapshotWindow field's value.
+func (s *Snapshot) SetSnapshotWindow(v string) *Snapshot {
+ s.SnapshotWindow = &v
+ return s
+}
+
+// SetTopicArn sets the TopicArn field's value.
+func (s *Snapshot) SetTopicArn(v string) *Snapshot {
+ s.TopicArn = &v
+ return s
+}
+
+// SetVpcId sets the VpcId field's value.
+func (s *Snapshot) SetVpcId(v string) *Snapshot {
+ s.VpcId = &v
+ return s
+}
+
// Represents the subnet associated with a cache cluster. This parameter refers
// to subnets defined in Amazon Virtual Private Cloud (Amazon VPC) and used
// with ElastiCache.
@@ -8182,6 +10650,18 @@ func (s Subnet) GoString() string {
return s.String()
}
+// SetSubnetAvailabilityZone sets the SubnetAvailabilityZone field's value.
+func (s *Subnet) SetSubnetAvailabilityZone(v *AvailabilityZone) *Subnet {
+ s.SubnetAvailabilityZone = v
+ return s
+}
+
+// SetSubnetIdentifier sets the SubnetIdentifier field's value.
+func (s *Subnet) SetSubnetIdentifier(v string) *Subnet {
+ s.SubnetIdentifier = &v
+ return s
+}
+
// 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.
@@ -8205,6 +10685,18 @@ 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
+}
+
// Represents the output from the AddTagsToResource, ListTagsOnResource, and
// RemoveTagsFromResource operations.
type TagListMessage struct {
@@ -8224,6 +10716,12 @@ func (s TagListMessage) GoString() string {
return s.String()
}
+// SetTagList sets the TagList field's value.
+func (s *TagListMessage) SetTagList(v []*Tag) *TagListMessage {
+ s.TagList = v
+ return s
+}
+
const (
// AZModeSingleAz is a AZMode enum value
AZModeSingleAz = "single-az"
diff --git a/vendor/github.com/aws/aws-sdk-go/service/elasticache/examples_test.go b/vendor/github.com/aws/aws-sdk-go/service/elasticache/examples_test.go
index b675dd9..5f337be 100644
--- a/vendor/github.com/aws/aws-sdk-go/service/elasticache/examples_test.go
+++ b/vendor/github.com/aws/aws-sdk-go/service/elasticache/examples_test.go
@@ -113,6 +113,7 @@ func ExampleElastiCache_CreateCacheCluster() {
params := &elasticache.CreateCacheClusterInput{
CacheClusterId: aws.String("String"), // Required
AZMode: aws.String("AZMode"),
+ AuthToken: aws.String("String"),
AutoMinorVersionUpgrade: aws.Bool(true),
CacheNodeType: aws.String("String"),
CacheParameterGroupName: aws.String("String"),
@@ -260,6 +261,7 @@ func ExampleElastiCache_CreateReplicationGroup() {
params := &elasticache.CreateReplicationGroupInput{
ReplicationGroupDescription: aws.String("String"), // Required
ReplicationGroupId: aws.String("String"), // Required
+ AuthToken: aws.String("String"),
AutoMinorVersionUpgrade: aws.Bool(true),
AutomaticFailoverEnabled: aws.Bool(true),
CacheNodeType: aws.String("String"),
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 d06fb22..c7da1bf 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
@@ -2528,6 +2528,18 @@ func (s *AbortEnvironmentUpdateInput) Validate() error {
return nil
}
+// SetEnvironmentId sets the EnvironmentId field's value.
+func (s *AbortEnvironmentUpdateInput) SetEnvironmentId(v string) *AbortEnvironmentUpdateInput {
+ s.EnvironmentId = &v
+ return s
+}
+
+// SetEnvironmentName sets the EnvironmentName field's value.
+func (s *AbortEnvironmentUpdateInput) SetEnvironmentName(v string) *AbortEnvironmentUpdateInput {
+ s.EnvironmentName = &v
+ return s
+}
+
type AbortEnvironmentUpdateOutput struct {
_ struct{} `type:"structure"`
}
@@ -2575,6 +2587,42 @@ func (s ApplicationDescription) GoString() string {
return s.String()
}
+// SetApplicationName sets the ApplicationName field's value.
+func (s *ApplicationDescription) SetApplicationName(v string) *ApplicationDescription {
+ s.ApplicationName = &v
+ return s
+}
+
+// SetConfigurationTemplates sets the ConfigurationTemplates field's value.
+func (s *ApplicationDescription) SetConfigurationTemplates(v []*string) *ApplicationDescription {
+ s.ConfigurationTemplates = v
+ return s
+}
+
+// SetDateCreated sets the DateCreated field's value.
+func (s *ApplicationDescription) SetDateCreated(v time.Time) *ApplicationDescription {
+ s.DateCreated = &v
+ return s
+}
+
+// SetDateUpdated sets the DateUpdated field's value.
+func (s *ApplicationDescription) SetDateUpdated(v time.Time) *ApplicationDescription {
+ s.DateUpdated = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *ApplicationDescription) SetDescription(v string) *ApplicationDescription {
+ s.Description = &v
+ return s
+}
+
+// SetVersions sets the Versions field's value.
+func (s *ApplicationDescription) SetVersions(v []*string) *ApplicationDescription {
+ s.Versions = v
+ return s
+}
+
// Result message containing a single description of an application.
type ApplicationDescriptionMessage struct {
_ struct{} `type:"structure"`
@@ -2593,6 +2641,12 @@ func (s ApplicationDescriptionMessage) GoString() string {
return s.String()
}
+// SetApplication sets the Application field's value.
+func (s *ApplicationDescriptionMessage) SetApplication(v *ApplicationDescription) *ApplicationDescriptionMessage {
+ s.Application = v
+ return s
+}
+
// Represents the application metrics for a specified environment.
type ApplicationMetrics struct {
_ struct{} `type:"structure"`
@@ -2625,6 +2679,30 @@ func (s ApplicationMetrics) GoString() string {
return s.String()
}
+// SetDuration sets the Duration field's value.
+func (s *ApplicationMetrics) SetDuration(v int64) *ApplicationMetrics {
+ s.Duration = &v
+ return s
+}
+
+// SetLatency sets the Latency field's value.
+func (s *ApplicationMetrics) SetLatency(v *Latency) *ApplicationMetrics {
+ s.Latency = v
+ return s
+}
+
+// SetRequestCount sets the RequestCount field's value.
+func (s *ApplicationMetrics) SetRequestCount(v int64) *ApplicationMetrics {
+ s.RequestCount = &v
+ return s
+}
+
+// SetStatusCodes sets the StatusCodes field's value.
+func (s *ApplicationMetrics) SetStatusCodes(v *StatusCodes) *ApplicationMetrics {
+ s.StatusCodes = v
+ return s
+}
+
// Describes the properties of an application version.
type ApplicationVersionDescription struct {
_ struct{} `type:"structure"`
@@ -2663,6 +2741,54 @@ func (s ApplicationVersionDescription) GoString() string {
return s.String()
}
+// SetApplicationName sets the ApplicationName field's value.
+func (s *ApplicationVersionDescription) SetApplicationName(v string) *ApplicationVersionDescription {
+ s.ApplicationName = &v
+ return s
+}
+
+// SetDateCreated sets the DateCreated field's value.
+func (s *ApplicationVersionDescription) SetDateCreated(v time.Time) *ApplicationVersionDescription {
+ s.DateCreated = &v
+ return s
+}
+
+// SetDateUpdated sets the DateUpdated field's value.
+func (s *ApplicationVersionDescription) SetDateUpdated(v time.Time) *ApplicationVersionDescription {
+ s.DateUpdated = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *ApplicationVersionDescription) SetDescription(v string) *ApplicationVersionDescription {
+ s.Description = &v
+ return s
+}
+
+// SetSourceBuildInformation sets the SourceBuildInformation field's value.
+func (s *ApplicationVersionDescription) SetSourceBuildInformation(v *SourceBuildInformation) *ApplicationVersionDescription {
+ s.SourceBuildInformation = v
+ return s
+}
+
+// SetSourceBundle sets the SourceBundle field's value.
+func (s *ApplicationVersionDescription) SetSourceBundle(v *S3Location) *ApplicationVersionDescription {
+ s.SourceBundle = v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *ApplicationVersionDescription) SetStatus(v string) *ApplicationVersionDescription {
+ s.Status = &v
+ return s
+}
+
+// SetVersionLabel sets the VersionLabel field's value.
+func (s *ApplicationVersionDescription) SetVersionLabel(v string) *ApplicationVersionDescription {
+ s.VersionLabel = &v
+ return s
+}
+
// Result message wrapping a single description of an application version.
type ApplicationVersionDescriptionMessage struct {
_ struct{} `type:"structure"`
@@ -2681,6 +2807,12 @@ func (s ApplicationVersionDescriptionMessage) GoString() string {
return s.String()
}
+// SetApplicationVersion sets the ApplicationVersion field's value.
+func (s *ApplicationVersionDescriptionMessage) SetApplicationVersion(v *ApplicationVersionDescription) *ApplicationVersionDescriptionMessage {
+ s.ApplicationVersion = v
+ return s
+}
+
// Request to execute a scheduled managed action immediately.
type ApplyEnvironmentManagedActionInput struct {
_ struct{} `type:"structure"`
@@ -2720,6 +2852,24 @@ func (s *ApplyEnvironmentManagedActionInput) Validate() error {
return nil
}
+// SetActionId sets the ActionId field's value.
+func (s *ApplyEnvironmentManagedActionInput) SetActionId(v string) *ApplyEnvironmentManagedActionInput {
+ s.ActionId = &v
+ return s
+}
+
+// SetEnvironmentId sets the EnvironmentId field's value.
+func (s *ApplyEnvironmentManagedActionInput) SetEnvironmentId(v string) *ApplyEnvironmentManagedActionInput {
+ s.EnvironmentId = &v
+ return s
+}
+
+// SetEnvironmentName sets the EnvironmentName field's value.
+func (s *ApplyEnvironmentManagedActionInput) SetEnvironmentName(v string) *ApplyEnvironmentManagedActionInput {
+ s.EnvironmentName = &v
+ return s
+}
+
// The result message containing information about the managed action.
type ApplyEnvironmentManagedActionOutput struct {
_ struct{} `type:"structure"`
@@ -2747,6 +2897,30 @@ func (s ApplyEnvironmentManagedActionOutput) GoString() string {
return s.String()
}
+// SetActionDescription sets the ActionDescription field's value.
+func (s *ApplyEnvironmentManagedActionOutput) SetActionDescription(v string) *ApplyEnvironmentManagedActionOutput {
+ s.ActionDescription = &v
+ return s
+}
+
+// SetActionId sets the ActionId field's value.
+func (s *ApplyEnvironmentManagedActionOutput) SetActionId(v string) *ApplyEnvironmentManagedActionOutput {
+ s.ActionId = &v
+ return s
+}
+
+// SetActionType sets the ActionType field's value.
+func (s *ApplyEnvironmentManagedActionOutput) SetActionType(v string) *ApplyEnvironmentManagedActionOutput {
+ s.ActionType = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *ApplyEnvironmentManagedActionOutput) SetStatus(v string) *ApplyEnvironmentManagedActionOutput {
+ s.Status = &v
+ return s
+}
+
// Describes an Auto Scaling launch configuration.
type AutoScalingGroup struct {
_ struct{} `type:"structure"`
@@ -2765,6 +2939,12 @@ func (s AutoScalingGroup) GoString() string {
return s.String()
}
+// SetName sets the Name field's value.
+func (s *AutoScalingGroup) SetName(v string) *AutoScalingGroup {
+ s.Name = &v
+ return s
+}
+
// Represents CPU utilization information from the specified instance that belongs
// to the AWS Elastic Beanstalk environment. Use the instanceId property to
// specify the application instance for which you'd like to return data.
@@ -2810,6 +2990,48 @@ func (s CPUUtilization) GoString() string {
return s.String()
}
+// SetIOWait sets the IOWait field's value.
+func (s *CPUUtilization) SetIOWait(v float64) *CPUUtilization {
+ s.IOWait = &v
+ return s
+}
+
+// SetIRQ sets the IRQ field's value.
+func (s *CPUUtilization) SetIRQ(v float64) *CPUUtilization {
+ s.IRQ = &v
+ return s
+}
+
+// SetIdle sets the Idle field's value.
+func (s *CPUUtilization) SetIdle(v float64) *CPUUtilization {
+ s.Idle = &v
+ return s
+}
+
+// SetNice sets the Nice field's value.
+func (s *CPUUtilization) SetNice(v float64) *CPUUtilization {
+ s.Nice = &v
+ return s
+}
+
+// SetSoftIRQ sets the SoftIRQ field's value.
+func (s *CPUUtilization) SetSoftIRQ(v float64) *CPUUtilization {
+ s.SoftIRQ = &v
+ return s
+}
+
+// SetSystem sets the System field's value.
+func (s *CPUUtilization) SetSystem(v float64) *CPUUtilization {
+ s.System = &v
+ return s
+}
+
+// SetUser sets the User field's value.
+func (s *CPUUtilization) SetUser(v float64) *CPUUtilization {
+ s.User = &v
+ return s
+}
+
// Results message indicating whether a CNAME is available.
type CheckDNSAvailabilityInput struct {
_ struct{} `type:"structure"`
@@ -2846,6 +3068,12 @@ func (s *CheckDNSAvailabilityInput) Validate() error {
return nil
}
+// SetCNAMEPrefix sets the CNAMEPrefix field's value.
+func (s *CheckDNSAvailabilityInput) SetCNAMEPrefix(v string) *CheckDNSAvailabilityInput {
+ s.CNAMEPrefix = &v
+ return s
+}
+
// Indicates if the specified CNAME is available.
type CheckDNSAvailabilityOutput struct {
_ struct{} `type:"structure"`
@@ -2872,6 +3100,18 @@ func (s CheckDNSAvailabilityOutput) GoString() string {
return s.String()
}
+// SetAvailable sets the Available field's value.
+func (s *CheckDNSAvailabilityOutput) SetAvailable(v bool) *CheckDNSAvailabilityOutput {
+ s.Available = &v
+ return s
+}
+
+// SetFullyQualifiedCNAME sets the FullyQualifiedCNAME field's value.
+func (s *CheckDNSAvailabilityOutput) SetFullyQualifiedCNAME(v string) *CheckDNSAvailabilityOutput {
+ s.FullyQualifiedCNAME = &v
+ return s
+}
+
// Request to create or update a group of environments.
type ComposeEnvironmentsInput struct {
_ struct{} `type:"structure"`
@@ -2920,6 +3160,24 @@ func (s *ComposeEnvironmentsInput) Validate() error {
return nil
}
+// SetApplicationName sets the ApplicationName field's value.
+func (s *ComposeEnvironmentsInput) SetApplicationName(v string) *ComposeEnvironmentsInput {
+ s.ApplicationName = &v
+ return s
+}
+
+// SetGroupName sets the GroupName field's value.
+func (s *ComposeEnvironmentsInput) SetGroupName(v string) *ComposeEnvironmentsInput {
+ s.GroupName = &v
+ return s
+}
+
+// SetVersionLabels sets the VersionLabels field's value.
+func (s *ComposeEnvironmentsInput) SetVersionLabels(v []*string) *ComposeEnvironmentsInput {
+ s.VersionLabels = v
+ return s
+}
+
// Describes the possible values for a configuration option.
type ConfigurationOptionDescription struct {
_ struct{} `type:"structure"`
@@ -3007,6 +3265,72 @@ func (s ConfigurationOptionDescription) GoString() string {
return s.String()
}
+// SetChangeSeverity sets the ChangeSeverity field's value.
+func (s *ConfigurationOptionDescription) SetChangeSeverity(v string) *ConfigurationOptionDescription {
+ s.ChangeSeverity = &v
+ return s
+}
+
+// SetDefaultValue sets the DefaultValue field's value.
+func (s *ConfigurationOptionDescription) SetDefaultValue(v string) *ConfigurationOptionDescription {
+ s.DefaultValue = &v
+ return s
+}
+
+// SetMaxLength sets the MaxLength field's value.
+func (s *ConfigurationOptionDescription) SetMaxLength(v int64) *ConfigurationOptionDescription {
+ s.MaxLength = &v
+ return s
+}
+
+// SetMaxValue sets the MaxValue field's value.
+func (s *ConfigurationOptionDescription) SetMaxValue(v int64) *ConfigurationOptionDescription {
+ s.MaxValue = &v
+ return s
+}
+
+// SetMinValue sets the MinValue field's value.
+func (s *ConfigurationOptionDescription) SetMinValue(v int64) *ConfigurationOptionDescription {
+ s.MinValue = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *ConfigurationOptionDescription) SetName(v string) *ConfigurationOptionDescription {
+ s.Name = &v
+ return s
+}
+
+// SetNamespace sets the Namespace field's value.
+func (s *ConfigurationOptionDescription) SetNamespace(v string) *ConfigurationOptionDescription {
+ s.Namespace = &v
+ return s
+}
+
+// SetRegex sets the Regex field's value.
+func (s *ConfigurationOptionDescription) SetRegex(v *OptionRestrictionRegex) *ConfigurationOptionDescription {
+ s.Regex = v
+ return s
+}
+
+// SetUserDefined sets the UserDefined field's value.
+func (s *ConfigurationOptionDescription) SetUserDefined(v bool) *ConfigurationOptionDescription {
+ s.UserDefined = &v
+ return s
+}
+
+// SetValueOptions sets the ValueOptions field's value.
+func (s *ConfigurationOptionDescription) SetValueOptions(v []*string) *ConfigurationOptionDescription {
+ s.ValueOptions = v
+ return s
+}
+
+// SetValueType sets the ValueType field's value.
+func (s *ConfigurationOptionDescription) SetValueType(v string) *ConfigurationOptionDescription {
+ s.ValueType = &v
+ return s
+}
+
// A specification identifying an individual configuration option along with
// 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)
@@ -3050,6 +3374,30 @@ func (s *ConfigurationOptionSetting) Validate() error {
return nil
}
+// SetNamespace sets the Namespace field's value.
+func (s *ConfigurationOptionSetting) SetNamespace(v string) *ConfigurationOptionSetting {
+ s.Namespace = &v
+ return s
+}
+
+// SetOptionName sets the OptionName field's value.
+func (s *ConfigurationOptionSetting) SetOptionName(v string) *ConfigurationOptionSetting {
+ s.OptionName = &v
+ return s
+}
+
+// SetResourceName sets the ResourceName field's value.
+func (s *ConfigurationOptionSetting) SetResourceName(v string) *ConfigurationOptionSetting {
+ s.ResourceName = &v
+ return s
+}
+
+// SetValue sets the Value field's value.
+func (s *ConfigurationOptionSetting) SetValue(v string) *ConfigurationOptionSetting {
+ s.Value = &v
+ return s
+}
+
// Describes the settings for a configuration set.
type ConfigurationSettingsDescription struct {
_ struct{} `type:"structure"`
@@ -3105,6 +3453,60 @@ func (s ConfigurationSettingsDescription) GoString() string {
return s.String()
}
+// SetApplicationName sets the ApplicationName field's value.
+func (s *ConfigurationSettingsDescription) SetApplicationName(v string) *ConfigurationSettingsDescription {
+ s.ApplicationName = &v
+ return s
+}
+
+// SetDateCreated sets the DateCreated field's value.
+func (s *ConfigurationSettingsDescription) SetDateCreated(v time.Time) *ConfigurationSettingsDescription {
+ s.DateCreated = &v
+ return s
+}
+
+// SetDateUpdated sets the DateUpdated field's value.
+func (s *ConfigurationSettingsDescription) SetDateUpdated(v time.Time) *ConfigurationSettingsDescription {
+ s.DateUpdated = &v
+ return s
+}
+
+// SetDeploymentStatus sets the DeploymentStatus field's value.
+func (s *ConfigurationSettingsDescription) SetDeploymentStatus(v string) *ConfigurationSettingsDescription {
+ s.DeploymentStatus = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *ConfigurationSettingsDescription) SetDescription(v string) *ConfigurationSettingsDescription {
+ s.Description = &v
+ return s
+}
+
+// SetEnvironmentName sets the EnvironmentName field's value.
+func (s *ConfigurationSettingsDescription) SetEnvironmentName(v string) *ConfigurationSettingsDescription {
+ s.EnvironmentName = &v
+ return s
+}
+
+// SetOptionSettings sets the OptionSettings field's value.
+func (s *ConfigurationSettingsDescription) SetOptionSettings(v []*ConfigurationOptionSetting) *ConfigurationSettingsDescription {
+ s.OptionSettings = v
+ return s
+}
+
+// SetSolutionStackName sets the SolutionStackName field's value.
+func (s *ConfigurationSettingsDescription) SetSolutionStackName(v string) *ConfigurationSettingsDescription {
+ s.SolutionStackName = &v
+ return s
+}
+
+// SetTemplateName sets the TemplateName field's value.
+func (s *ConfigurationSettingsDescription) SetTemplateName(v string) *ConfigurationSettingsDescription {
+ s.TemplateName = &v
+ return s
+}
+
// Request to create an application.
type CreateApplicationInput struct {
_ struct{} `type:"structure"`
@@ -3147,6 +3549,18 @@ func (s *CreateApplicationInput) Validate() error {
return nil
}
+// SetApplicationName sets the ApplicationName field's value.
+func (s *CreateApplicationInput) SetApplicationName(v string) *CreateApplicationInput {
+ s.ApplicationName = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *CreateApplicationInput) SetDescription(v string) *CreateApplicationInput {
+ s.Description = &v
+ return s
+}
+
type CreateApplicationVersionInput struct {
_ struct{} `type:"structure"`
@@ -3240,6 +3654,48 @@ func (s *CreateApplicationVersionInput) Validate() error {
return nil
}
+// SetApplicationName sets the ApplicationName field's value.
+func (s *CreateApplicationVersionInput) SetApplicationName(v string) *CreateApplicationVersionInput {
+ s.ApplicationName = &v
+ return s
+}
+
+// SetAutoCreateApplication sets the AutoCreateApplication field's value.
+func (s *CreateApplicationVersionInput) SetAutoCreateApplication(v bool) *CreateApplicationVersionInput {
+ s.AutoCreateApplication = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *CreateApplicationVersionInput) SetDescription(v string) *CreateApplicationVersionInput {
+ s.Description = &v
+ return s
+}
+
+// SetProcess sets the Process field's value.
+func (s *CreateApplicationVersionInput) SetProcess(v bool) *CreateApplicationVersionInput {
+ s.Process = &v
+ return s
+}
+
+// SetSourceBuildInformation sets the SourceBuildInformation field's value.
+func (s *CreateApplicationVersionInput) SetSourceBuildInformation(v *SourceBuildInformation) *CreateApplicationVersionInput {
+ s.SourceBuildInformation = v
+ return s
+}
+
+// SetSourceBundle sets the SourceBundle field's value.
+func (s *CreateApplicationVersionInput) SetSourceBundle(v *S3Location) *CreateApplicationVersionInput {
+ s.SourceBundle = v
+ return s
+}
+
+// SetVersionLabel sets the VersionLabel field's value.
+func (s *CreateApplicationVersionInput) SetVersionLabel(v string) *CreateApplicationVersionInput {
+ s.VersionLabel = &v
+ return s
+}
+
// Request to create a configuration template.
type CreateConfigurationTemplateInput struct {
_ struct{} `type:"structure"`
@@ -3349,6 +3805,48 @@ func (s *CreateConfigurationTemplateInput) Validate() error {
return nil
}
+// SetApplicationName sets the ApplicationName field's value.
+func (s *CreateConfigurationTemplateInput) SetApplicationName(v string) *CreateConfigurationTemplateInput {
+ s.ApplicationName = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *CreateConfigurationTemplateInput) SetDescription(v string) *CreateConfigurationTemplateInput {
+ s.Description = &v
+ return s
+}
+
+// SetEnvironmentId sets the EnvironmentId field's value.
+func (s *CreateConfigurationTemplateInput) SetEnvironmentId(v string) *CreateConfigurationTemplateInput {
+ s.EnvironmentId = &v
+ return s
+}
+
+// SetOptionSettings sets the OptionSettings field's value.
+func (s *CreateConfigurationTemplateInput) SetOptionSettings(v []*ConfigurationOptionSetting) *CreateConfigurationTemplateInput {
+ s.OptionSettings = v
+ return s
+}
+
+// SetSolutionStackName sets the SolutionStackName field's value.
+func (s *CreateConfigurationTemplateInput) SetSolutionStackName(v string) *CreateConfigurationTemplateInput {
+ s.SolutionStackName = &v
+ return s
+}
+
+// SetSourceConfiguration sets the SourceConfiguration field's value.
+func (s *CreateConfigurationTemplateInput) SetSourceConfiguration(v *SourceConfiguration) *CreateConfigurationTemplateInput {
+ s.SourceConfiguration = v
+ return s
+}
+
+// SetTemplateName sets the TemplateName field's value.
+func (s *CreateConfigurationTemplateInput) SetTemplateName(v string) *CreateConfigurationTemplateInput {
+ s.TemplateName = &v
+ return s
+}
+
type CreateEnvironmentInput struct {
_ struct{} `type:"structure"`
@@ -3503,6 +4001,78 @@ func (s *CreateEnvironmentInput) Validate() error {
return nil
}
+// SetApplicationName sets the ApplicationName field's value.
+func (s *CreateEnvironmentInput) SetApplicationName(v string) *CreateEnvironmentInput {
+ s.ApplicationName = &v
+ return s
+}
+
+// SetCNAMEPrefix sets the CNAMEPrefix field's value.
+func (s *CreateEnvironmentInput) SetCNAMEPrefix(v string) *CreateEnvironmentInput {
+ s.CNAMEPrefix = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *CreateEnvironmentInput) SetDescription(v string) *CreateEnvironmentInput {
+ s.Description = &v
+ return s
+}
+
+// SetEnvironmentName sets the EnvironmentName field's value.
+func (s *CreateEnvironmentInput) SetEnvironmentName(v string) *CreateEnvironmentInput {
+ s.EnvironmentName = &v
+ return s
+}
+
+// SetGroupName sets the GroupName field's value.
+func (s *CreateEnvironmentInput) SetGroupName(v string) *CreateEnvironmentInput {
+ s.GroupName = &v
+ return s
+}
+
+// SetOptionSettings sets the OptionSettings field's value.
+func (s *CreateEnvironmentInput) SetOptionSettings(v []*ConfigurationOptionSetting) *CreateEnvironmentInput {
+ s.OptionSettings = v
+ return s
+}
+
+// SetOptionsToRemove sets the OptionsToRemove field's value.
+func (s *CreateEnvironmentInput) SetOptionsToRemove(v []*OptionSpecification) *CreateEnvironmentInput {
+ s.OptionsToRemove = v
+ return s
+}
+
+// SetSolutionStackName sets the SolutionStackName field's value.
+func (s *CreateEnvironmentInput) SetSolutionStackName(v string) *CreateEnvironmentInput {
+ s.SolutionStackName = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *CreateEnvironmentInput) SetTags(v []*Tag) *CreateEnvironmentInput {
+ s.Tags = v
+ return s
+}
+
+// SetTemplateName sets the TemplateName field's value.
+func (s *CreateEnvironmentInput) SetTemplateName(v string) *CreateEnvironmentInput {
+ s.TemplateName = &v
+ return s
+}
+
+// SetTier sets the Tier field's value.
+func (s *CreateEnvironmentInput) SetTier(v *EnvironmentTier) *CreateEnvironmentInput {
+ s.Tier = v
+ return s
+}
+
+// SetVersionLabel sets the VersionLabel field's value.
+func (s *CreateEnvironmentInput) SetVersionLabel(v string) *CreateEnvironmentInput {
+ s.VersionLabel = &v
+ return s
+}
+
type CreateStorageLocationInput struct {
_ struct{} `type:"structure"`
}
@@ -3535,6 +4105,12 @@ func (s CreateStorageLocationOutput) GoString() string {
return s.String()
}
+// SetS3Bucket sets the S3Bucket field's value.
+func (s *CreateStorageLocationOutput) SetS3Bucket(v string) *CreateStorageLocationOutput {
+ s.S3Bucket = &v
+ return s
+}
+
// Request to delete an application.
type DeleteApplicationInput struct {
_ struct{} `type:"structure"`
@@ -3575,6 +4151,18 @@ func (s *DeleteApplicationInput) Validate() error {
return nil
}
+// SetApplicationName sets the ApplicationName field's value.
+func (s *DeleteApplicationInput) SetApplicationName(v string) *DeleteApplicationInput {
+ s.ApplicationName = &v
+ return s
+}
+
+// SetTerminateEnvByForce sets the TerminateEnvByForce field's value.
+func (s *DeleteApplicationInput) SetTerminateEnvByForce(v bool) *DeleteApplicationInput {
+ s.TerminateEnvByForce = &v
+ return s
+}
+
type DeleteApplicationOutput struct {
_ struct{} `type:"structure"`
}
@@ -3647,6 +4235,24 @@ func (s *DeleteApplicationVersionInput) Validate() error {
return nil
}
+// SetApplicationName sets the ApplicationName field's value.
+func (s *DeleteApplicationVersionInput) SetApplicationName(v string) *DeleteApplicationVersionInput {
+ s.ApplicationName = &v
+ return s
+}
+
+// SetDeleteSourceBundle sets the DeleteSourceBundle field's value.
+func (s *DeleteApplicationVersionInput) SetDeleteSourceBundle(v bool) *DeleteApplicationVersionInput {
+ s.DeleteSourceBundle = &v
+ return s
+}
+
+// SetVersionLabel sets the VersionLabel field's value.
+func (s *DeleteApplicationVersionInput) SetVersionLabel(v string) *DeleteApplicationVersionInput {
+ s.VersionLabel = &v
+ return s
+}
+
type DeleteApplicationVersionOutput struct {
_ struct{} `type:"structure"`
}
@@ -3708,6 +4314,18 @@ func (s *DeleteConfigurationTemplateInput) Validate() error {
return nil
}
+// SetApplicationName sets the ApplicationName field's value.
+func (s *DeleteConfigurationTemplateInput) SetApplicationName(v string) *DeleteConfigurationTemplateInput {
+ s.ApplicationName = &v
+ return s
+}
+
+// SetTemplateName sets the TemplateName field's value.
+func (s *DeleteConfigurationTemplateInput) SetTemplateName(v string) *DeleteConfigurationTemplateInput {
+ s.TemplateName = &v
+ return s
+}
+
type DeleteConfigurationTemplateOutput struct {
_ struct{} `type:"structure"`
}
@@ -3769,6 +4387,18 @@ func (s *DeleteEnvironmentConfigurationInput) Validate() error {
return nil
}
+// SetApplicationName sets the ApplicationName field's value.
+func (s *DeleteEnvironmentConfigurationInput) SetApplicationName(v string) *DeleteEnvironmentConfigurationInput {
+ s.ApplicationName = &v
+ return s
+}
+
+// SetEnvironmentName sets the EnvironmentName field's value.
+func (s *DeleteEnvironmentConfigurationInput) SetEnvironmentName(v string) *DeleteEnvironmentConfigurationInput {
+ s.EnvironmentName = &v
+ return s
+}
+
type DeleteEnvironmentConfigurationOutput struct {
_ struct{} `type:"structure"`
}
@@ -3819,6 +4449,30 @@ func (s Deployment) GoString() string {
return s.String()
}
+// SetDeploymentId sets the DeploymentId field's value.
+func (s *Deployment) SetDeploymentId(v int64) *Deployment {
+ s.DeploymentId = &v
+ return s
+}
+
+// SetDeploymentTime sets the DeploymentTime field's value.
+func (s *Deployment) SetDeploymentTime(v time.Time) *Deployment {
+ s.DeploymentTime = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *Deployment) SetStatus(v string) *Deployment {
+ s.Status = &v
+ return s
+}
+
+// SetVersionLabel sets the VersionLabel field's value.
+func (s *Deployment) SetVersionLabel(v string) *Deployment {
+ s.VersionLabel = &v
+ return s
+}
+
// Result message containing a list of configuration descriptions.
type DescribeApplicationVersionsInput struct {
_ struct{} `type:"structure"`
@@ -3864,6 +4518,30 @@ func (s *DescribeApplicationVersionsInput) Validate() error {
return nil
}
+// SetApplicationName sets the ApplicationName field's value.
+func (s *DescribeApplicationVersionsInput) SetApplicationName(v string) *DescribeApplicationVersionsInput {
+ s.ApplicationName = &v
+ return s
+}
+
+// SetMaxRecords sets the MaxRecords field's value.
+func (s *DescribeApplicationVersionsInput) SetMaxRecords(v int64) *DescribeApplicationVersionsInput {
+ s.MaxRecords = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeApplicationVersionsInput) SetNextToken(v string) *DescribeApplicationVersionsInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetVersionLabels sets the VersionLabels field's value.
+func (s *DescribeApplicationVersionsInput) SetVersionLabels(v []*string) *DescribeApplicationVersionsInput {
+ s.VersionLabels = v
+ return s
+}
+
// Result message wrapping a list of application version descriptions.
type DescribeApplicationVersionsOutput struct {
_ struct{} `type:"structure"`
@@ -3886,6 +4564,18 @@ func (s DescribeApplicationVersionsOutput) GoString() string {
return s.String()
}
+// SetApplicationVersions sets the ApplicationVersions field's value.
+func (s *DescribeApplicationVersionsOutput) SetApplicationVersions(v []*ApplicationVersionDescription) *DescribeApplicationVersionsOutput {
+ s.ApplicationVersions = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeApplicationVersionsOutput) SetNextToken(v string) *DescribeApplicationVersionsOutput {
+ s.NextToken = &v
+ return s
+}
+
// Request to describe one or more applications.
type DescribeApplicationsInput struct {
_ struct{} `type:"structure"`
@@ -3905,6 +4595,12 @@ func (s DescribeApplicationsInput) GoString() string {
return s.String()
}
+// SetApplicationNames sets the ApplicationNames field's value.
+func (s *DescribeApplicationsInput) SetApplicationNames(v []*string) *DescribeApplicationsInput {
+ s.ApplicationNames = v
+ return s
+}
+
// Result message containing a list of application descriptions.
type DescribeApplicationsOutput struct {
_ struct{} `type:"structure"`
@@ -3923,6 +4619,12 @@ func (s DescribeApplicationsOutput) GoString() string {
return s.String()
}
+// SetApplications sets the Applications field's value.
+func (s *DescribeApplicationsOutput) SetApplications(v []*ApplicationDescription) *DescribeApplicationsOutput {
+ s.Applications = v
+ return s
+}
+
// Result message containig a list of application version descriptions.
type DescribeConfigurationOptionsInput struct {
_ struct{} `type:"structure"`
@@ -3985,6 +4687,36 @@ func (s *DescribeConfigurationOptionsInput) Validate() error {
return nil
}
+// SetApplicationName sets the ApplicationName field's value.
+func (s *DescribeConfigurationOptionsInput) SetApplicationName(v string) *DescribeConfigurationOptionsInput {
+ s.ApplicationName = &v
+ return s
+}
+
+// SetEnvironmentName sets the EnvironmentName field's value.
+func (s *DescribeConfigurationOptionsInput) SetEnvironmentName(v string) *DescribeConfigurationOptionsInput {
+ s.EnvironmentName = &v
+ return s
+}
+
+// SetOptions sets the Options field's value.
+func (s *DescribeConfigurationOptionsInput) SetOptions(v []*OptionSpecification) *DescribeConfigurationOptionsInput {
+ s.Options = v
+ return s
+}
+
+// SetSolutionStackName sets the SolutionStackName field's value.
+func (s *DescribeConfigurationOptionsInput) SetSolutionStackName(v string) *DescribeConfigurationOptionsInput {
+ s.SolutionStackName = &v
+ return s
+}
+
+// SetTemplateName sets the TemplateName field's value.
+func (s *DescribeConfigurationOptionsInput) SetTemplateName(v string) *DescribeConfigurationOptionsInput {
+ s.TemplateName = &v
+ return s
+}
+
// Describes the settings for a specified configuration set.
type DescribeConfigurationOptionsOutput struct {
_ struct{} `type:"structure"`
@@ -4006,6 +4738,18 @@ func (s DescribeConfigurationOptionsOutput) GoString() string {
return s.String()
}
+// SetOptions sets the Options field's value.
+func (s *DescribeConfigurationOptionsOutput) SetOptions(v []*ConfigurationOptionDescription) *DescribeConfigurationOptionsOutput {
+ s.Options = v
+ return s
+}
+
+// SetSolutionStackName sets the SolutionStackName field's value.
+func (s *DescribeConfigurationOptionsOutput) SetSolutionStackName(v string) *DescribeConfigurationOptionsOutput {
+ s.SolutionStackName = &v
+ return s
+}
+
// Result message containing all of the configuration settings for a specified
// solution stack or configuration template.
type DescribeConfigurationSettingsInput struct {
@@ -4065,6 +4809,24 @@ func (s *DescribeConfigurationSettingsInput) Validate() error {
return nil
}
+// SetApplicationName sets the ApplicationName field's value.
+func (s *DescribeConfigurationSettingsInput) SetApplicationName(v string) *DescribeConfigurationSettingsInput {
+ s.ApplicationName = &v
+ return s
+}
+
+// SetEnvironmentName sets the EnvironmentName field's value.
+func (s *DescribeConfigurationSettingsInput) SetEnvironmentName(v string) *DescribeConfigurationSettingsInput {
+ s.EnvironmentName = &v
+ return s
+}
+
+// SetTemplateName sets the TemplateName field's value.
+func (s *DescribeConfigurationSettingsInput) SetTemplateName(v string) *DescribeConfigurationSettingsInput {
+ s.TemplateName = &v
+ return s
+}
+
// The results from a request to change the configuration settings of an environment.
type DescribeConfigurationSettingsOutput struct {
_ struct{} `type:"structure"`
@@ -4083,6 +4845,12 @@ func (s DescribeConfigurationSettingsOutput) GoString() string {
return s.String()
}
+// SetConfigurationSettings sets the ConfigurationSettings field's value.
+func (s *DescribeConfigurationSettingsOutput) SetConfigurationSettings(v []*ConfigurationSettingsDescription) *DescribeConfigurationSettingsOutput {
+ s.ConfigurationSettings = v
+ return s
+}
+
// See the example below to learn how to create a request body.
type DescribeEnvironmentHealthInput struct {
_ struct{} `type:"structure"`
@@ -4129,6 +4897,24 @@ func (s *DescribeEnvironmentHealthInput) Validate() error {
return nil
}
+// SetAttributeNames sets the AttributeNames field's value.
+func (s *DescribeEnvironmentHealthInput) SetAttributeNames(v []*string) *DescribeEnvironmentHealthInput {
+ s.AttributeNames = v
+ return s
+}
+
+// SetEnvironmentId sets the EnvironmentId field's value.
+func (s *DescribeEnvironmentHealthInput) SetEnvironmentId(v string) *DescribeEnvironmentHealthInput {
+ s.EnvironmentId = &v
+ return s
+}
+
+// SetEnvironmentName sets the EnvironmentName field's value.
+func (s *DescribeEnvironmentHealthInput) SetEnvironmentName(v string) *DescribeEnvironmentHealthInput {
+ s.EnvironmentName = &v
+ return s
+}
+
// See the example below for a sample response.
type DescribeEnvironmentHealthOutput struct {
_ struct{} `type:"structure"`
@@ -4171,6 +4957,54 @@ func (s DescribeEnvironmentHealthOutput) GoString() string {
return s.String()
}
+// SetApplicationMetrics sets the ApplicationMetrics field's value.
+func (s *DescribeEnvironmentHealthOutput) SetApplicationMetrics(v *ApplicationMetrics) *DescribeEnvironmentHealthOutput {
+ s.ApplicationMetrics = v
+ return s
+}
+
+// SetCauses sets the Causes field's value.
+func (s *DescribeEnvironmentHealthOutput) SetCauses(v []*string) *DescribeEnvironmentHealthOutput {
+ s.Causes = v
+ return s
+}
+
+// SetColor sets the Color field's value.
+func (s *DescribeEnvironmentHealthOutput) SetColor(v string) *DescribeEnvironmentHealthOutput {
+ s.Color = &v
+ return s
+}
+
+// SetEnvironmentName sets the EnvironmentName field's value.
+func (s *DescribeEnvironmentHealthOutput) SetEnvironmentName(v string) *DescribeEnvironmentHealthOutput {
+ s.EnvironmentName = &v
+ return s
+}
+
+// SetHealthStatus sets the HealthStatus field's value.
+func (s *DescribeEnvironmentHealthOutput) SetHealthStatus(v string) *DescribeEnvironmentHealthOutput {
+ s.HealthStatus = &v
+ return s
+}
+
+// SetInstancesHealth sets the InstancesHealth field's value.
+func (s *DescribeEnvironmentHealthOutput) SetInstancesHealth(v *InstanceHealthSummary) *DescribeEnvironmentHealthOutput {
+ s.InstancesHealth = v
+ return s
+}
+
+// SetRefreshedAt sets the RefreshedAt field's value.
+func (s *DescribeEnvironmentHealthOutput) SetRefreshedAt(v time.Time) *DescribeEnvironmentHealthOutput {
+ s.RefreshedAt = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *DescribeEnvironmentHealthOutput) SetStatus(v string) *DescribeEnvironmentHealthOutput {
+ s.Status = &v
+ return s
+}
+
// Request to list completed and failed managed actions.
type DescribeEnvironmentManagedActionHistoryInput struct {
_ struct{} `type:"structure"`
@@ -4211,6 +5045,30 @@ func (s *DescribeEnvironmentManagedActionHistoryInput) Validate() error {
return nil
}
+// SetEnvironmentId sets the EnvironmentId field's value.
+func (s *DescribeEnvironmentManagedActionHistoryInput) SetEnvironmentId(v string) *DescribeEnvironmentManagedActionHistoryInput {
+ s.EnvironmentId = &v
+ return s
+}
+
+// SetEnvironmentName sets the EnvironmentName field's value.
+func (s *DescribeEnvironmentManagedActionHistoryInput) SetEnvironmentName(v string) *DescribeEnvironmentManagedActionHistoryInput {
+ s.EnvironmentName = &v
+ return s
+}
+
+// SetMaxItems sets the MaxItems field's value.
+func (s *DescribeEnvironmentManagedActionHistoryInput) SetMaxItems(v int64) *DescribeEnvironmentManagedActionHistoryInput {
+ s.MaxItems = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeEnvironmentManagedActionHistoryInput) SetNextToken(v string) *DescribeEnvironmentManagedActionHistoryInput {
+ s.NextToken = &v
+ return s
+}
+
// A result message containing a list of completed and failed managed actions.
type DescribeEnvironmentManagedActionHistoryOutput struct {
_ struct{} `type:"structure"`
@@ -4233,6 +5091,18 @@ func (s DescribeEnvironmentManagedActionHistoryOutput) GoString() string {
return s.String()
}
+// SetManagedActionHistoryItems sets the ManagedActionHistoryItems field's value.
+func (s *DescribeEnvironmentManagedActionHistoryOutput) SetManagedActionHistoryItems(v []*ManagedActionHistoryItem) *DescribeEnvironmentManagedActionHistoryOutput {
+ s.ManagedActionHistoryItems = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeEnvironmentManagedActionHistoryOutput) SetNextToken(v string) *DescribeEnvironmentManagedActionHistoryOutput {
+ s.NextToken = &v
+ return s
+}
+
// Request to list an environment's upcoming and in-progress managed actions.
type DescribeEnvironmentManagedActionsInput struct {
_ struct{} `type:"structure"`
@@ -4257,6 +5127,24 @@ func (s DescribeEnvironmentManagedActionsInput) GoString() string {
return s.String()
}
+// SetEnvironmentId sets the EnvironmentId field's value.
+func (s *DescribeEnvironmentManagedActionsInput) SetEnvironmentId(v string) *DescribeEnvironmentManagedActionsInput {
+ s.EnvironmentId = &v
+ return s
+}
+
+// SetEnvironmentName sets the EnvironmentName field's value.
+func (s *DescribeEnvironmentManagedActionsInput) SetEnvironmentName(v string) *DescribeEnvironmentManagedActionsInput {
+ s.EnvironmentName = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *DescribeEnvironmentManagedActionsInput) SetStatus(v string) *DescribeEnvironmentManagedActionsInput {
+ s.Status = &v
+ return s
+}
+
// The result message containing a list of managed actions.
type DescribeEnvironmentManagedActionsOutput struct {
_ struct{} `type:"structure"`
@@ -4275,6 +5163,12 @@ func (s DescribeEnvironmentManagedActionsOutput) GoString() string {
return s.String()
}
+// SetManagedActions sets the ManagedActions field's value.
+func (s *DescribeEnvironmentManagedActionsOutput) SetManagedActions(v []*ManagedAction) *DescribeEnvironmentManagedActionsOutput {
+ s.ManagedActions = v
+ return s
+}
+
// Request to describe the resources in an environment.
type DescribeEnvironmentResourcesInput struct {
_ struct{} `type:"structure"`
@@ -4317,6 +5211,18 @@ func (s *DescribeEnvironmentResourcesInput) Validate() error {
return nil
}
+// SetEnvironmentId sets the EnvironmentId field's value.
+func (s *DescribeEnvironmentResourcesInput) SetEnvironmentId(v string) *DescribeEnvironmentResourcesInput {
+ s.EnvironmentId = &v
+ return s
+}
+
+// SetEnvironmentName sets the EnvironmentName field's value.
+func (s *DescribeEnvironmentResourcesInput) SetEnvironmentName(v string) *DescribeEnvironmentResourcesInput {
+ s.EnvironmentName = &v
+ return s
+}
+
// Result message containing a list of environment resource descriptions.
type DescribeEnvironmentResourcesOutput struct {
_ struct{} `type:"structure"`
@@ -4335,6 +5241,12 @@ func (s DescribeEnvironmentResourcesOutput) GoString() string {
return s.String()
}
+// SetEnvironmentResources sets the EnvironmentResources field's value.
+func (s *DescribeEnvironmentResourcesOutput) SetEnvironmentResources(v *EnvironmentResourceDescription) *DescribeEnvironmentResourcesOutput {
+ s.EnvironmentResources = v
+ return s
+}
+
// Request to describe one or more environments.
type DescribeEnvironmentsInput struct {
_ struct{} `type:"structure"`
@@ -4394,6 +5306,42 @@ func (s *DescribeEnvironmentsInput) Validate() error {
return nil
}
+// SetApplicationName sets the ApplicationName field's value.
+func (s *DescribeEnvironmentsInput) SetApplicationName(v string) *DescribeEnvironmentsInput {
+ s.ApplicationName = &v
+ return s
+}
+
+// SetEnvironmentIds sets the EnvironmentIds field's value.
+func (s *DescribeEnvironmentsInput) SetEnvironmentIds(v []*string) *DescribeEnvironmentsInput {
+ s.EnvironmentIds = v
+ return s
+}
+
+// SetEnvironmentNames sets the EnvironmentNames field's value.
+func (s *DescribeEnvironmentsInput) SetEnvironmentNames(v []*string) *DescribeEnvironmentsInput {
+ s.EnvironmentNames = v
+ return s
+}
+
+// SetIncludeDeleted sets the IncludeDeleted field's value.
+func (s *DescribeEnvironmentsInput) SetIncludeDeleted(v bool) *DescribeEnvironmentsInput {
+ s.IncludeDeleted = &v
+ return s
+}
+
+// SetIncludedDeletedBackTo sets the IncludedDeletedBackTo field's value.
+func (s *DescribeEnvironmentsInput) SetIncludedDeletedBackTo(v time.Time) *DescribeEnvironmentsInput {
+ s.IncludedDeletedBackTo = &v
+ return s
+}
+
+// SetVersionLabel sets the VersionLabel field's value.
+func (s *DescribeEnvironmentsInput) SetVersionLabel(v string) *DescribeEnvironmentsInput {
+ s.VersionLabel = &v
+ return s
+}
+
// Request to retrieve a list of events for an environment.
type DescribeEventsInput struct {
_ struct{} `type:"structure"`
@@ -4477,6 +5425,72 @@ func (s *DescribeEventsInput) Validate() error {
return nil
}
+// SetApplicationName sets the ApplicationName field's value.
+func (s *DescribeEventsInput) SetApplicationName(v string) *DescribeEventsInput {
+ s.ApplicationName = &v
+ return s
+}
+
+// SetEndTime sets the EndTime field's value.
+func (s *DescribeEventsInput) SetEndTime(v time.Time) *DescribeEventsInput {
+ s.EndTime = &v
+ return s
+}
+
+// SetEnvironmentId sets the EnvironmentId field's value.
+func (s *DescribeEventsInput) SetEnvironmentId(v string) *DescribeEventsInput {
+ s.EnvironmentId = &v
+ return s
+}
+
+// SetEnvironmentName sets the EnvironmentName field's value.
+func (s *DescribeEventsInput) SetEnvironmentName(v string) *DescribeEventsInput {
+ s.EnvironmentName = &v
+ return s
+}
+
+// SetMaxRecords sets the MaxRecords field's value.
+func (s *DescribeEventsInput) SetMaxRecords(v int64) *DescribeEventsInput {
+ s.MaxRecords = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeEventsInput) SetNextToken(v string) *DescribeEventsInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetRequestId sets the RequestId field's value.
+func (s *DescribeEventsInput) SetRequestId(v string) *DescribeEventsInput {
+ s.RequestId = &v
+ return s
+}
+
+// SetSeverity sets the Severity field's value.
+func (s *DescribeEventsInput) SetSeverity(v string) *DescribeEventsInput {
+ s.Severity = &v
+ return s
+}
+
+// SetStartTime sets the StartTime field's value.
+func (s *DescribeEventsInput) SetStartTime(v time.Time) *DescribeEventsInput {
+ s.StartTime = &v
+ return s
+}
+
+// SetTemplateName sets the TemplateName field's value.
+func (s *DescribeEventsInput) SetTemplateName(v string) *DescribeEventsInput {
+ s.TemplateName = &v
+ return s
+}
+
+// SetVersionLabel sets the VersionLabel field's value.
+func (s *DescribeEventsInput) SetVersionLabel(v string) *DescribeEventsInput {
+ s.VersionLabel = &v
+ return s
+}
+
// Result message wrapping a list of event descriptions.
type DescribeEventsOutput struct {
_ struct{} `type:"structure"`
@@ -4499,6 +5513,18 @@ func (s DescribeEventsOutput) GoString() string {
return s.String()
}
+// SetEvents sets the Events field's value.
+func (s *DescribeEventsOutput) SetEvents(v []*EventDescription) *DescribeEventsOutput {
+ s.Events = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeEventsOutput) SetNextToken(v string) *DescribeEventsOutput {
+ s.NextToken = &v
+ return s
+}
+
// See the example below to learn how to create a request body.
type DescribeInstancesHealthInput struct {
_ struct{} `type:"structure"`
@@ -4543,6 +5569,30 @@ func (s *DescribeInstancesHealthInput) Validate() error {
return nil
}
+// SetAttributeNames sets the AttributeNames field's value.
+func (s *DescribeInstancesHealthInput) SetAttributeNames(v []*string) *DescribeInstancesHealthInput {
+ s.AttributeNames = v
+ return s
+}
+
+// SetEnvironmentId sets the EnvironmentId field's value.
+func (s *DescribeInstancesHealthInput) SetEnvironmentId(v string) *DescribeInstancesHealthInput {
+ s.EnvironmentId = &v
+ return s
+}
+
+// SetEnvironmentName sets the EnvironmentName field's value.
+func (s *DescribeInstancesHealthInput) SetEnvironmentName(v string) *DescribeInstancesHealthInput {
+ s.EnvironmentName = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeInstancesHealthInput) SetNextToken(v string) *DescribeInstancesHealthInput {
+ s.NextToken = &v
+ return s
+}
+
// See the example below for a sample response.
type DescribeInstancesHealthOutput struct {
_ struct{} `type:"structure"`
@@ -4567,6 +5617,24 @@ func (s DescribeInstancesHealthOutput) GoString() string {
return s.String()
}
+// SetInstanceHealthList sets the InstanceHealthList field's value.
+func (s *DescribeInstancesHealthOutput) SetInstanceHealthList(v []*SingleInstanceHealth) *DescribeInstancesHealthOutput {
+ s.InstanceHealthList = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeInstancesHealthOutput) SetNextToken(v string) *DescribeInstancesHealthOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetRefreshedAt sets the RefreshedAt field's value.
+func (s *DescribeInstancesHealthOutput) SetRefreshedAt(v time.Time) *DescribeInstancesHealthOutput {
+ s.RefreshedAt = &v
+ return s
+}
+
// Describes the properties of an environment.
type EnvironmentDescription struct {
_ struct{} `type:"structure"`
@@ -4670,6 +5738,114 @@ func (s EnvironmentDescription) GoString() string {
return s.String()
}
+// SetAbortableOperationInProgress sets the AbortableOperationInProgress field's value.
+func (s *EnvironmentDescription) SetAbortableOperationInProgress(v bool) *EnvironmentDescription {
+ s.AbortableOperationInProgress = &v
+ return s
+}
+
+// SetApplicationName sets the ApplicationName field's value.
+func (s *EnvironmentDescription) SetApplicationName(v string) *EnvironmentDescription {
+ s.ApplicationName = &v
+ return s
+}
+
+// SetCNAME sets the CNAME field's value.
+func (s *EnvironmentDescription) SetCNAME(v string) *EnvironmentDescription {
+ s.CNAME = &v
+ return s
+}
+
+// SetDateCreated sets the DateCreated field's value.
+func (s *EnvironmentDescription) SetDateCreated(v time.Time) *EnvironmentDescription {
+ s.DateCreated = &v
+ return s
+}
+
+// SetDateUpdated sets the DateUpdated field's value.
+func (s *EnvironmentDescription) SetDateUpdated(v time.Time) *EnvironmentDescription {
+ s.DateUpdated = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *EnvironmentDescription) SetDescription(v string) *EnvironmentDescription {
+ s.Description = &v
+ return s
+}
+
+// SetEndpointURL sets the EndpointURL field's value.
+func (s *EnvironmentDescription) SetEndpointURL(v string) *EnvironmentDescription {
+ s.EndpointURL = &v
+ return s
+}
+
+// SetEnvironmentId sets the EnvironmentId field's value.
+func (s *EnvironmentDescription) SetEnvironmentId(v string) *EnvironmentDescription {
+ s.EnvironmentId = &v
+ return s
+}
+
+// SetEnvironmentLinks sets the EnvironmentLinks field's value.
+func (s *EnvironmentDescription) SetEnvironmentLinks(v []*EnvironmentLink) *EnvironmentDescription {
+ s.EnvironmentLinks = v
+ return s
+}
+
+// SetEnvironmentName sets the EnvironmentName field's value.
+func (s *EnvironmentDescription) SetEnvironmentName(v string) *EnvironmentDescription {
+ s.EnvironmentName = &v
+ return s
+}
+
+// SetHealth sets the Health field's value.
+func (s *EnvironmentDescription) SetHealth(v string) *EnvironmentDescription {
+ s.Health = &v
+ return s
+}
+
+// SetHealthStatus sets the HealthStatus field's value.
+func (s *EnvironmentDescription) SetHealthStatus(v string) *EnvironmentDescription {
+ s.HealthStatus = &v
+ return s
+}
+
+// SetResources sets the Resources field's value.
+func (s *EnvironmentDescription) SetResources(v *EnvironmentResourcesDescription) *EnvironmentDescription {
+ s.Resources = v
+ return s
+}
+
+// SetSolutionStackName sets the SolutionStackName field's value.
+func (s *EnvironmentDescription) SetSolutionStackName(v string) *EnvironmentDescription {
+ s.SolutionStackName = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *EnvironmentDescription) SetStatus(v string) *EnvironmentDescription {
+ s.Status = &v
+ return s
+}
+
+// SetTemplateName sets the TemplateName field's value.
+func (s *EnvironmentDescription) SetTemplateName(v string) *EnvironmentDescription {
+ s.TemplateName = &v
+ return s
+}
+
+// SetTier sets the Tier field's value.
+func (s *EnvironmentDescription) SetTier(v *EnvironmentTier) *EnvironmentDescription {
+ s.Tier = v
+ return s
+}
+
+// SetVersionLabel sets the VersionLabel field's value.
+func (s *EnvironmentDescription) SetVersionLabel(v string) *EnvironmentDescription {
+ s.VersionLabel = &v
+ return s
+}
+
// Result message containing a list of environment descriptions.
type EnvironmentDescriptionsMessage struct {
_ struct{} `type:"structure"`
@@ -4688,6 +5864,12 @@ func (s EnvironmentDescriptionsMessage) GoString() string {
return s.String()
}
+// SetEnvironments sets the Environments field's value.
+func (s *EnvironmentDescriptionsMessage) SetEnvironments(v []*EnvironmentDescription) *EnvironmentDescriptionsMessage {
+ s.Environments = v
+ return s
+}
+
// The information retrieved from the Amazon EC2 instances.
type EnvironmentInfoDescription struct {
_ struct{} `type:"structure"`
@@ -4715,6 +5897,30 @@ func (s EnvironmentInfoDescription) GoString() string {
return s.String()
}
+// SetEc2InstanceId sets the Ec2InstanceId field's value.
+func (s *EnvironmentInfoDescription) SetEc2InstanceId(v string) *EnvironmentInfoDescription {
+ s.Ec2InstanceId = &v
+ return s
+}
+
+// SetInfoType sets the InfoType field's value.
+func (s *EnvironmentInfoDescription) SetInfoType(v string) *EnvironmentInfoDescription {
+ s.InfoType = &v
+ return s
+}
+
+// SetMessage sets the Message field's value.
+func (s *EnvironmentInfoDescription) SetMessage(v string) *EnvironmentInfoDescription {
+ s.Message = &v
+ return s
+}
+
+// SetSampleTimestamp sets the SampleTimestamp field's value.
+func (s *EnvironmentInfoDescription) SetSampleTimestamp(v time.Time) *EnvironmentInfoDescription {
+ s.SampleTimestamp = &v
+ return s
+}
+
// A link to another environment, defined in the environment's manifest. Links
// provide connection information in system properties that can be used to connect
// to another environment in the same group. See Environment Manifest (env.yaml)
@@ -4740,6 +5946,18 @@ func (s EnvironmentLink) GoString() string {
return s.String()
}
+// SetEnvironmentName sets the EnvironmentName field's value.
+func (s *EnvironmentLink) SetEnvironmentName(v string) *EnvironmentLink {
+ s.EnvironmentName = &v
+ return s
+}
+
+// SetLinkName sets the LinkName field's value.
+func (s *EnvironmentLink) SetLinkName(v string) *EnvironmentLink {
+ s.LinkName = &v
+ return s
+}
+
// Describes the AWS resources in use by this environment. This data is live.
type EnvironmentResourceDescription struct {
_ struct{} `type:"structure"`
@@ -4776,6 +5994,48 @@ func (s EnvironmentResourceDescription) GoString() string {
return s.String()
}
+// SetAutoScalingGroups sets the AutoScalingGroups field's value.
+func (s *EnvironmentResourceDescription) SetAutoScalingGroups(v []*AutoScalingGroup) *EnvironmentResourceDescription {
+ s.AutoScalingGroups = v
+ return s
+}
+
+// SetEnvironmentName sets the EnvironmentName field's value.
+func (s *EnvironmentResourceDescription) SetEnvironmentName(v string) *EnvironmentResourceDescription {
+ s.EnvironmentName = &v
+ return s
+}
+
+// SetInstances sets the Instances field's value.
+func (s *EnvironmentResourceDescription) SetInstances(v []*Instance) *EnvironmentResourceDescription {
+ s.Instances = v
+ return s
+}
+
+// SetLaunchConfigurations sets the LaunchConfigurations field's value.
+func (s *EnvironmentResourceDescription) SetLaunchConfigurations(v []*LaunchConfiguration) *EnvironmentResourceDescription {
+ s.LaunchConfigurations = v
+ return s
+}
+
+// SetLoadBalancers sets the LoadBalancers field's value.
+func (s *EnvironmentResourceDescription) SetLoadBalancers(v []*LoadBalancer) *EnvironmentResourceDescription {
+ s.LoadBalancers = v
+ return s
+}
+
+// SetQueues sets the Queues field's value.
+func (s *EnvironmentResourceDescription) SetQueues(v []*Queue) *EnvironmentResourceDescription {
+ s.Queues = v
+ return s
+}
+
+// SetTriggers sets the Triggers field's value.
+func (s *EnvironmentResourceDescription) SetTriggers(v []*Trigger) *EnvironmentResourceDescription {
+ s.Triggers = v
+ return s
+}
+
// Describes the AWS resources in use by this environment. This data is not
// live data.
type EnvironmentResourcesDescription struct {
@@ -4795,6 +6055,12 @@ func (s EnvironmentResourcesDescription) GoString() string {
return s.String()
}
+// SetLoadBalancer sets the LoadBalancer field's value.
+func (s *EnvironmentResourcesDescription) SetLoadBalancer(v *LoadBalancerDescription) *EnvironmentResourcesDescription {
+ s.LoadBalancer = v
+ return s
+}
+
// Describes the properties of an environment tier
type EnvironmentTier struct {
_ struct{} `type:"structure"`
@@ -4819,6 +6085,24 @@ func (s EnvironmentTier) GoString() string {
return s.String()
}
+// SetName sets the Name field's value.
+func (s *EnvironmentTier) SetName(v string) *EnvironmentTier {
+ s.Name = &v
+ return s
+}
+
+// SetType sets the Type field's value.
+func (s *EnvironmentTier) SetType(v string) *EnvironmentTier {
+ s.Type = &v
+ return s
+}
+
+// SetVersion sets the Version field's value.
+func (s *EnvironmentTier) SetVersion(v string) *EnvironmentTier {
+ s.Version = &v
+ return s
+}
+
// Describes an event.
type EventDescription struct {
_ struct{} `type:"structure"`
@@ -4858,6 +6142,54 @@ func (s EventDescription) GoString() string {
return s.String()
}
+// SetApplicationName sets the ApplicationName field's value.
+func (s *EventDescription) SetApplicationName(v string) *EventDescription {
+ s.ApplicationName = &v
+ return s
+}
+
+// SetEnvironmentName sets the EnvironmentName field's value.
+func (s *EventDescription) SetEnvironmentName(v string) *EventDescription {
+ s.EnvironmentName = &v
+ return s
+}
+
+// SetEventDate sets the EventDate field's value.
+func (s *EventDescription) SetEventDate(v time.Time) *EventDescription {
+ s.EventDate = &v
+ return s
+}
+
+// SetMessage sets the Message field's value.
+func (s *EventDescription) SetMessage(v string) *EventDescription {
+ s.Message = &v
+ return s
+}
+
+// SetRequestId sets the RequestId field's value.
+func (s *EventDescription) SetRequestId(v string) *EventDescription {
+ s.RequestId = &v
+ return s
+}
+
+// SetSeverity sets the Severity field's value.
+func (s *EventDescription) SetSeverity(v string) *EventDescription {
+ s.Severity = &v
+ return s
+}
+
+// SetTemplateName sets the TemplateName field's value.
+func (s *EventDescription) SetTemplateName(v string) *EventDescription {
+ s.TemplateName = &v
+ return s
+}
+
+// SetVersionLabel sets the VersionLabel field's value.
+func (s *EventDescription) SetVersionLabel(v string) *EventDescription {
+ s.VersionLabel = &v
+ return s
+}
+
// The description of an Amazon EC2 instance.
type Instance struct {
_ struct{} `type:"structure"`
@@ -4876,6 +6208,12 @@ func (s Instance) GoString() string {
return s.String()
}
+// SetId sets the Id field's value.
+func (s *Instance) SetId(v string) *Instance {
+ s.Id = &v
+ return s
+}
+
// 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).
type InstanceHealthSummary struct {
@@ -4922,6 +6260,54 @@ func (s InstanceHealthSummary) GoString() string {
return s.String()
}
+// SetDegraded sets the Degraded field's value.
+func (s *InstanceHealthSummary) SetDegraded(v int64) *InstanceHealthSummary {
+ s.Degraded = &v
+ return s
+}
+
+// SetInfo sets the Info field's value.
+func (s *InstanceHealthSummary) SetInfo(v int64) *InstanceHealthSummary {
+ s.Info = &v
+ return s
+}
+
+// SetNoData sets the NoData field's value.
+func (s *InstanceHealthSummary) SetNoData(v int64) *InstanceHealthSummary {
+ s.NoData = &v
+ return s
+}
+
+// SetOk sets the Ok field's value.
+func (s *InstanceHealthSummary) SetOk(v int64) *InstanceHealthSummary {
+ s.Ok = &v
+ return s
+}
+
+// SetPending sets the Pending field's value.
+func (s *InstanceHealthSummary) SetPending(v int64) *InstanceHealthSummary {
+ s.Pending = &v
+ return s
+}
+
+// SetSevere sets the Severe field's value.
+func (s *InstanceHealthSummary) SetSevere(v int64) *InstanceHealthSummary {
+ s.Severe = &v
+ return s
+}
+
+// SetUnknown sets the Unknown field's value.
+func (s *InstanceHealthSummary) SetUnknown(v int64) *InstanceHealthSummary {
+ s.Unknown = &v
+ return s
+}
+
+// SetWarning sets the Warning field's value.
+func (s *InstanceHealthSummary) SetWarning(v int64) *InstanceHealthSummary {
+ s.Warning = &v
+ return s
+}
+
// Represents the average latency for the slowest X percent of requests over
// the last 10 seconds.
type Latency struct {
@@ -4970,6 +6356,54 @@ func (s Latency) GoString() string {
return s.String()
}
+// SetP10 sets the P10 field's value.
+func (s *Latency) SetP10(v float64) *Latency {
+ s.P10 = &v
+ return s
+}
+
+// SetP50 sets the P50 field's value.
+func (s *Latency) SetP50(v float64) *Latency {
+ s.P50 = &v
+ return s
+}
+
+// SetP75 sets the P75 field's value.
+func (s *Latency) SetP75(v float64) *Latency {
+ s.P75 = &v
+ return s
+}
+
+// SetP85 sets the P85 field's value.
+func (s *Latency) SetP85(v float64) *Latency {
+ s.P85 = &v
+ return s
+}
+
+// SetP90 sets the P90 field's value.
+func (s *Latency) SetP90(v float64) *Latency {
+ s.P90 = &v
+ return s
+}
+
+// SetP95 sets the P95 field's value.
+func (s *Latency) SetP95(v float64) *Latency {
+ s.P95 = &v
+ return s
+}
+
+// SetP99 sets the P99 field's value.
+func (s *Latency) SetP99(v float64) *Latency {
+ s.P99 = &v
+ return s
+}
+
+// SetP999 sets the P999 field's value.
+func (s *Latency) SetP999(v float64) *Latency {
+ s.P999 = &v
+ return s
+}
+
// Describes an Auto Scaling launch configuration.
type LaunchConfiguration struct {
_ struct{} `type:"structure"`
@@ -4988,6 +6422,12 @@ func (s LaunchConfiguration) GoString() string {
return s.String()
}
+// SetName sets the Name field's value.
+func (s *LaunchConfiguration) SetName(v string) *LaunchConfiguration {
+ s.Name = &v
+ return s
+}
+
type ListAvailableSolutionStacksInput struct {
_ struct{} `type:"structure"`
}
@@ -5023,6 +6463,18 @@ func (s ListAvailableSolutionStacksOutput) GoString() string {
return s.String()
}
+// SetSolutionStackDetails sets the SolutionStackDetails field's value.
+func (s *ListAvailableSolutionStacksOutput) SetSolutionStackDetails(v []*SolutionStackDescription) *ListAvailableSolutionStacksOutput {
+ s.SolutionStackDetails = v
+ return s
+}
+
+// SetSolutionStacks sets the SolutionStacks field's value.
+func (s *ListAvailableSolutionStacksOutput) SetSolutionStacks(v []*string) *ListAvailableSolutionStacksOutput {
+ s.SolutionStacks = v
+ return s
+}
+
// Describes the properties of a Listener for the LoadBalancer.
type Listener struct {
_ struct{} `type:"structure"`
@@ -5044,6 +6496,18 @@ func (s Listener) GoString() string {
return s.String()
}
+// SetPort sets the Port field's value.
+func (s *Listener) SetPort(v int64) *Listener {
+ s.Port = &v
+ return s
+}
+
+// SetProtocol sets the Protocol field's value.
+func (s *Listener) SetProtocol(v string) *Listener {
+ s.Protocol = &v
+ return s
+}
+
// Describes a LoadBalancer.
type LoadBalancer struct {
_ struct{} `type:"structure"`
@@ -5062,6 +6526,12 @@ func (s LoadBalancer) GoString() string {
return s.String()
}
+// SetName sets the Name field's value.
+func (s *LoadBalancer) SetName(v string) *LoadBalancer {
+ s.Name = &v
+ return s
+}
+
// Describes the details of a LoadBalancer.
type LoadBalancerDescription struct {
_ struct{} `type:"structure"`
@@ -5086,6 +6556,24 @@ func (s LoadBalancerDescription) GoString() string {
return s.String()
}
+// SetDomain sets the Domain field's value.
+func (s *LoadBalancerDescription) SetDomain(v string) *LoadBalancerDescription {
+ s.Domain = &v
+ return s
+}
+
+// SetListeners sets the Listeners field's value.
+func (s *LoadBalancerDescription) SetListeners(v []*Listener) *LoadBalancerDescription {
+ s.Listeners = v
+ return s
+}
+
+// SetLoadBalancerName sets the LoadBalancerName field's value.
+func (s *LoadBalancerDescription) SetLoadBalancerName(v string) *LoadBalancerDescription {
+ s.LoadBalancerName = &v
+ return s
+}
+
// The record of an upcoming or in-progress managed action.
type ManagedAction struct {
_ struct{} `type:"structure"`
@@ -5118,6 +6606,36 @@ func (s ManagedAction) GoString() string {
return s.String()
}
+// SetActionDescription sets the ActionDescription field's value.
+func (s *ManagedAction) SetActionDescription(v string) *ManagedAction {
+ s.ActionDescription = &v
+ return s
+}
+
+// SetActionId sets the ActionId field's value.
+func (s *ManagedAction) SetActionId(v string) *ManagedAction {
+ s.ActionId = &v
+ return s
+}
+
+// SetActionType sets the ActionType field's value.
+func (s *ManagedAction) SetActionType(v string) *ManagedAction {
+ s.ActionType = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *ManagedAction) SetStatus(v string) *ManagedAction {
+ s.Status = &v
+ return s
+}
+
+// SetWindowStartTime sets the WindowStartTime field's value.
+func (s *ManagedAction) SetWindowStartTime(v time.Time) *ManagedAction {
+ s.WindowStartTime = &v
+ return s
+}
+
// The record of a completed or failed managed action.
type ManagedActionHistoryItem struct {
_ struct{} `type:"structure"`
@@ -5157,6 +6675,54 @@ func (s ManagedActionHistoryItem) GoString() string {
return s.String()
}
+// SetActionDescription sets the ActionDescription field's value.
+func (s *ManagedActionHistoryItem) SetActionDescription(v string) *ManagedActionHistoryItem {
+ s.ActionDescription = &v
+ return s
+}
+
+// SetActionId sets the ActionId field's value.
+func (s *ManagedActionHistoryItem) SetActionId(v string) *ManagedActionHistoryItem {
+ s.ActionId = &v
+ return s
+}
+
+// SetActionType sets the ActionType field's value.
+func (s *ManagedActionHistoryItem) SetActionType(v string) *ManagedActionHistoryItem {
+ s.ActionType = &v
+ return s
+}
+
+// SetExecutedTime sets the ExecutedTime field's value.
+func (s *ManagedActionHistoryItem) SetExecutedTime(v time.Time) *ManagedActionHistoryItem {
+ s.ExecutedTime = &v
+ return s
+}
+
+// SetFailureDescription sets the FailureDescription field's value.
+func (s *ManagedActionHistoryItem) SetFailureDescription(v string) *ManagedActionHistoryItem {
+ s.FailureDescription = &v
+ return s
+}
+
+// SetFailureType sets the FailureType field's value.
+func (s *ManagedActionHistoryItem) SetFailureType(v string) *ManagedActionHistoryItem {
+ s.FailureType = &v
+ return s
+}
+
+// SetFinishedTime sets the FinishedTime field's value.
+func (s *ManagedActionHistoryItem) SetFinishedTime(v time.Time) *ManagedActionHistoryItem {
+ s.FinishedTime = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *ManagedActionHistoryItem) SetStatus(v string) *ManagedActionHistoryItem {
+ s.Status = &v
+ return s
+}
+
// A regular expression representing a restriction on a string configuration
// option value.
type OptionRestrictionRegex struct {
@@ -5180,6 +6746,18 @@ func (s OptionRestrictionRegex) GoString() string {
return s.String()
}
+// SetLabel sets the Label field's value.
+func (s *OptionRestrictionRegex) SetLabel(v string) *OptionRestrictionRegex {
+ s.Label = &v
+ return s
+}
+
+// SetPattern sets the Pattern field's value.
+func (s *OptionRestrictionRegex) SetPattern(v string) *OptionRestrictionRegex {
+ s.Pattern = &v
+ return s
+}
+
// A specification identifying an individual configuration option.
type OptionSpecification struct {
_ struct{} `type:"structure"`
@@ -5217,6 +6795,24 @@ func (s *OptionSpecification) Validate() error {
return nil
}
+// SetNamespace sets the Namespace field's value.
+func (s *OptionSpecification) SetNamespace(v string) *OptionSpecification {
+ s.Namespace = &v
+ return s
+}
+
+// SetOptionName sets the OptionName field's value.
+func (s *OptionSpecification) SetOptionName(v string) *OptionSpecification {
+ s.OptionName = &v
+ return s
+}
+
+// SetResourceName sets the ResourceName field's value.
+func (s *OptionSpecification) SetResourceName(v string) *OptionSpecification {
+ s.ResourceName = &v
+ return s
+}
+
// Describes a queue.
type Queue struct {
_ struct{} `type:"structure"`
@@ -5238,6 +6834,18 @@ func (s Queue) GoString() string {
return s.String()
}
+// SetName sets the Name field's value.
+func (s *Queue) SetName(v string) *Queue {
+ s.Name = &v
+ return s
+}
+
+// SetURL sets the URL field's value.
+func (s *Queue) SetURL(v string) *Queue {
+ s.URL = &v
+ return s
+}
+
type RebuildEnvironmentInput struct {
_ struct{} `type:"structure"`
@@ -5279,6 +6887,18 @@ func (s *RebuildEnvironmentInput) Validate() error {
return nil
}
+// SetEnvironmentId sets the EnvironmentId field's value.
+func (s *RebuildEnvironmentInput) SetEnvironmentId(v string) *RebuildEnvironmentInput {
+ s.EnvironmentId = &v
+ return s
+}
+
+// SetEnvironmentName sets the EnvironmentName field's value.
+func (s *RebuildEnvironmentInput) SetEnvironmentName(v string) *RebuildEnvironmentInput {
+ s.EnvironmentName = &v
+ return s
+}
+
type RebuildEnvironmentOutput struct {
_ struct{} `type:"structure"`
}
@@ -5350,6 +6970,24 @@ func (s *RequestEnvironmentInfoInput) Validate() error {
return nil
}
+// SetEnvironmentId sets the EnvironmentId field's value.
+func (s *RequestEnvironmentInfoInput) SetEnvironmentId(v string) *RequestEnvironmentInfoInput {
+ s.EnvironmentId = &v
+ return s
+}
+
+// SetEnvironmentName sets the EnvironmentName field's value.
+func (s *RequestEnvironmentInfoInput) SetEnvironmentName(v string) *RequestEnvironmentInfoInput {
+ s.EnvironmentName = &v
+ return s
+}
+
+// SetInfoType sets the InfoType field's value.
+func (s *RequestEnvironmentInfoInput) SetInfoType(v string) *RequestEnvironmentInfoInput {
+ s.InfoType = &v
+ return s
+}
+
type RequestEnvironmentInfoOutput struct {
_ struct{} `type:"structure"`
}
@@ -5405,6 +7043,18 @@ func (s *RestartAppServerInput) Validate() error {
return nil
}
+// SetEnvironmentId sets the EnvironmentId field's value.
+func (s *RestartAppServerInput) SetEnvironmentId(v string) *RestartAppServerInput {
+ s.EnvironmentId = &v
+ return s
+}
+
+// SetEnvironmentName sets the EnvironmentName field's value.
+func (s *RestartAppServerInput) SetEnvironmentName(v string) *RestartAppServerInput {
+ s.EnvironmentName = &v
+ return s
+}
+
type RestartAppServerOutput struct {
_ struct{} `type:"structure"`
}
@@ -5473,6 +7123,24 @@ func (s *RetrieveEnvironmentInfoInput) Validate() error {
return nil
}
+// SetEnvironmentId sets the EnvironmentId field's value.
+func (s *RetrieveEnvironmentInfoInput) SetEnvironmentId(v string) *RetrieveEnvironmentInfoInput {
+ s.EnvironmentId = &v
+ return s
+}
+
+// SetEnvironmentName sets the EnvironmentName field's value.
+func (s *RetrieveEnvironmentInfoInput) SetEnvironmentName(v string) *RetrieveEnvironmentInfoInput {
+ s.EnvironmentName = &v
+ return s
+}
+
+// SetInfoType sets the InfoType field's value.
+func (s *RetrieveEnvironmentInfoInput) SetInfoType(v string) *RetrieveEnvironmentInfoInput {
+ s.InfoType = &v
+ return s
+}
+
// Result message containing a description of the requested environment info.
type RetrieveEnvironmentInfoOutput struct {
_ struct{} `type:"structure"`
@@ -5491,6 +7159,12 @@ func (s RetrieveEnvironmentInfoOutput) GoString() string {
return s.String()
}
+// SetEnvironmentInfo sets the EnvironmentInfo field's value.
+func (s *RetrieveEnvironmentInfoOutput) SetEnvironmentInfo(v []*EnvironmentInfoDescription) *RetrieveEnvironmentInfoOutput {
+ s.EnvironmentInfo = v
+ return s
+}
+
// A specification of a location in Amazon S3.
type S3Location struct {
_ struct{} `type:"structure"`
@@ -5512,6 +7186,18 @@ func (s S3Location) GoString() string {
return s.String()
}
+// SetS3Bucket sets the S3Bucket field's value.
+func (s *S3Location) SetS3Bucket(v string) *S3Location {
+ s.S3Bucket = &v
+ return s
+}
+
+// SetS3Key sets the S3Key field's value.
+func (s *S3Location) SetS3Key(v string) *S3Location {
+ s.S3Key = &v
+ return s
+}
+
// Represents health information from the specified instance that belongs to
// the AWS Elastic Beanstalk environment. Use the InstanceId property to specify
// the application instance for which you'd like to return data.
@@ -5564,6 +7250,66 @@ func (s SingleInstanceHealth) GoString() string {
return s.String()
}
+// SetApplicationMetrics sets the ApplicationMetrics field's value.
+func (s *SingleInstanceHealth) SetApplicationMetrics(v *ApplicationMetrics) *SingleInstanceHealth {
+ s.ApplicationMetrics = v
+ return s
+}
+
+// SetAvailabilityZone sets the AvailabilityZone field's value.
+func (s *SingleInstanceHealth) SetAvailabilityZone(v string) *SingleInstanceHealth {
+ s.AvailabilityZone = &v
+ return s
+}
+
+// SetCauses sets the Causes field's value.
+func (s *SingleInstanceHealth) SetCauses(v []*string) *SingleInstanceHealth {
+ s.Causes = v
+ return s
+}
+
+// SetColor sets the Color field's value.
+func (s *SingleInstanceHealth) SetColor(v string) *SingleInstanceHealth {
+ s.Color = &v
+ return s
+}
+
+// SetDeployment sets the Deployment field's value.
+func (s *SingleInstanceHealth) SetDeployment(v *Deployment) *SingleInstanceHealth {
+ s.Deployment = v
+ return s
+}
+
+// SetHealthStatus sets the HealthStatus field's value.
+func (s *SingleInstanceHealth) SetHealthStatus(v string) *SingleInstanceHealth {
+ s.HealthStatus = &v
+ return s
+}
+
+// SetInstanceId sets the InstanceId field's value.
+func (s *SingleInstanceHealth) SetInstanceId(v string) *SingleInstanceHealth {
+ s.InstanceId = &v
+ return s
+}
+
+// SetInstanceType sets the InstanceType field's value.
+func (s *SingleInstanceHealth) SetInstanceType(v string) *SingleInstanceHealth {
+ s.InstanceType = &v
+ return s
+}
+
+// SetLaunchedAt sets the LaunchedAt field's value.
+func (s *SingleInstanceHealth) SetLaunchedAt(v time.Time) *SingleInstanceHealth {
+ s.LaunchedAt = &v
+ return s
+}
+
+// SetSystem sets the System field's value.
+func (s *SingleInstanceHealth) SetSystem(v *SystemStatus) *SingleInstanceHealth {
+ s.System = v
+ return s
+}
+
// Describes the solution stack.
type SolutionStackDescription struct {
_ struct{} `type:"structure"`
@@ -5585,6 +7331,18 @@ func (s SolutionStackDescription) GoString() string {
return s.String()
}
+// SetPermittedFileTypes sets the PermittedFileTypes field's value.
+func (s *SolutionStackDescription) SetPermittedFileTypes(v []*string) *SolutionStackDescription {
+ s.PermittedFileTypes = v
+ return s
+}
+
+// SetSolutionStackName sets the SolutionStackName field's value.
+func (s *SolutionStackDescription) SetSolutionStackName(v string) *SolutionStackDescription {
+ s.SolutionStackName = &v
+ return s
+}
+
type SourceBuildInformation struct {
_ struct{} `type:"structure"`
@@ -5630,6 +7388,24 @@ func (s *SourceBuildInformation) Validate() error {
return nil
}
+// SetSourceLocation sets the SourceLocation field's value.
+func (s *SourceBuildInformation) SetSourceLocation(v string) *SourceBuildInformation {
+ s.SourceLocation = &v
+ return s
+}
+
+// SetSourceRepository sets the SourceRepository field's value.
+func (s *SourceBuildInformation) SetSourceRepository(v string) *SourceBuildInformation {
+ s.SourceRepository = &v
+ return s
+}
+
+// SetSourceType sets the SourceType field's value.
+func (s *SourceBuildInformation) SetSourceType(v string) *SourceBuildInformation {
+ s.SourceType = &v
+ return s
+}
+
// A specification for an environment configuration
type SourceConfiguration struct {
_ struct{} `type:"structure"`
@@ -5667,6 +7443,18 @@ func (s *SourceConfiguration) Validate() error {
return nil
}
+// SetApplicationName sets the ApplicationName field's value.
+func (s *SourceConfiguration) SetApplicationName(v string) *SourceConfiguration {
+ s.ApplicationName = &v
+ return s
+}
+
+// SetTemplateName sets the TemplateName field's value.
+func (s *SourceConfiguration) SetTemplateName(v string) *SourceConfiguration {
+ s.TemplateName = &v
+ return s
+}
+
// 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).
@@ -5700,6 +7488,30 @@ func (s StatusCodes) GoString() string {
return s.String()
}
+// SetStatus2xx sets the Status2xx field's value.
+func (s *StatusCodes) SetStatus2xx(v int64) *StatusCodes {
+ s.Status2xx = &v
+ return s
+}
+
+// SetStatus3xx sets the Status3xx field's value.
+func (s *StatusCodes) SetStatus3xx(v int64) *StatusCodes {
+ s.Status3xx = &v
+ return s
+}
+
+// SetStatus4xx sets the Status4xx field's value.
+func (s *StatusCodes) SetStatus4xx(v int64) *StatusCodes {
+ s.Status4xx = &v
+ return s
+}
+
+// SetStatus5xx sets the Status5xx field's value.
+func (s *StatusCodes) SetStatus5xx(v int64) *StatusCodes {
+ s.Status5xx = &v
+ return s
+}
+
// Swaps the CNAMEs of two environments.
type SwapEnvironmentCNAMEsInput struct {
_ struct{} `type:"structure"`
@@ -5759,6 +7571,30 @@ func (s *SwapEnvironmentCNAMEsInput) Validate() error {
return nil
}
+// SetDestinationEnvironmentId sets the DestinationEnvironmentId field's value.
+func (s *SwapEnvironmentCNAMEsInput) SetDestinationEnvironmentId(v string) *SwapEnvironmentCNAMEsInput {
+ s.DestinationEnvironmentId = &v
+ return s
+}
+
+// SetDestinationEnvironmentName sets the DestinationEnvironmentName field's value.
+func (s *SwapEnvironmentCNAMEsInput) SetDestinationEnvironmentName(v string) *SwapEnvironmentCNAMEsInput {
+ s.DestinationEnvironmentName = &v
+ return s
+}
+
+// SetSourceEnvironmentId sets the SourceEnvironmentId field's value.
+func (s *SwapEnvironmentCNAMEsInput) SetSourceEnvironmentId(v string) *SwapEnvironmentCNAMEsInput {
+ s.SourceEnvironmentId = &v
+ return s
+}
+
+// SetSourceEnvironmentName sets the SourceEnvironmentName field's value.
+func (s *SwapEnvironmentCNAMEsInput) SetSourceEnvironmentName(v string) *SwapEnvironmentCNAMEsInput {
+ s.SourceEnvironmentName = &v
+ return s
+}
+
type SwapEnvironmentCNAMEsOutput struct {
_ struct{} `type:"structure"`
}
@@ -5798,6 +7634,18 @@ func (s SystemStatus) GoString() string {
return s.String()
}
+// SetCPUUtilization sets the CPUUtilization field's value.
+func (s *SystemStatus) SetCPUUtilization(v *CPUUtilization) *SystemStatus {
+ s.CPUUtilization = v
+ return s
+}
+
+// SetLoadAverage sets the LoadAverage field's value.
+func (s *SystemStatus) SetLoadAverage(v []*float64) *SystemStatus {
+ s.LoadAverage = v
+ return s
+}
+
// Describes a tag applied to a resource in an environment.
type Tag struct {
_ struct{} `type:"structure"`
@@ -5835,6 +7683,18 @@ func (s *Tag) Validate() error {
return nil
}
+// 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
+}
+
// Request to terminate an environment.
type TerminateEnvironmentInput struct {
_ struct{} `type:"structure"`
@@ -5897,6 +7757,30 @@ func (s *TerminateEnvironmentInput) Validate() error {
return nil
}
+// SetEnvironmentId sets the EnvironmentId field's value.
+func (s *TerminateEnvironmentInput) SetEnvironmentId(v string) *TerminateEnvironmentInput {
+ s.EnvironmentId = &v
+ return s
+}
+
+// SetEnvironmentName sets the EnvironmentName field's value.
+func (s *TerminateEnvironmentInput) SetEnvironmentName(v string) *TerminateEnvironmentInput {
+ s.EnvironmentName = &v
+ return s
+}
+
+// SetForceTerminate sets the ForceTerminate field's value.
+func (s *TerminateEnvironmentInput) SetForceTerminate(v bool) *TerminateEnvironmentInput {
+ s.ForceTerminate = &v
+ return s
+}
+
+// SetTerminateResources sets the TerminateResources field's value.
+func (s *TerminateEnvironmentInput) SetTerminateResources(v bool) *TerminateEnvironmentInput {
+ s.TerminateResources = &v
+ return s
+}
+
// Describes a trigger.
type Trigger struct {
_ struct{} `type:"structure"`
@@ -5915,6 +7799,12 @@ func (s Trigger) GoString() string {
return s.String()
}
+// SetName sets the Name field's value.
+func (s *Trigger) SetName(v string) *Trigger {
+ s.Name = &v
+ return s
+}
+
// Request to update an application.
type UpdateApplicationInput struct {
_ struct{} `type:"structure"`
@@ -5957,6 +7847,18 @@ func (s *UpdateApplicationInput) Validate() error {
return nil
}
+// SetApplicationName sets the ApplicationName field's value.
+func (s *UpdateApplicationInput) SetApplicationName(v string) *UpdateApplicationInput {
+ s.ApplicationName = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *UpdateApplicationInput) SetDescription(v string) *UpdateApplicationInput {
+ s.Description = &v
+ return s
+}
+
type UpdateApplicationVersionInput struct {
_ struct{} `type:"structure"`
@@ -6012,6 +7914,24 @@ func (s *UpdateApplicationVersionInput) Validate() error {
return nil
}
+// SetApplicationName sets the ApplicationName field's value.
+func (s *UpdateApplicationVersionInput) SetApplicationName(v string) *UpdateApplicationVersionInput {
+ s.ApplicationName = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *UpdateApplicationVersionInput) SetDescription(v string) *UpdateApplicationVersionInput {
+ s.Description = &v
+ return s
+}
+
+// SetVersionLabel sets the VersionLabel field's value.
+func (s *UpdateApplicationVersionInput) SetVersionLabel(v string) *UpdateApplicationVersionInput {
+ s.VersionLabel = &v
+ return s
+}
+
// The result message containing the options for the specified solution stack.
type UpdateConfigurationTemplateInput struct {
_ struct{} `type:"structure"`
@@ -6098,6 +8018,36 @@ func (s *UpdateConfigurationTemplateInput) Validate() error {
return nil
}
+// SetApplicationName sets the ApplicationName field's value.
+func (s *UpdateConfigurationTemplateInput) SetApplicationName(v string) *UpdateConfigurationTemplateInput {
+ s.ApplicationName = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *UpdateConfigurationTemplateInput) SetDescription(v string) *UpdateConfigurationTemplateInput {
+ s.Description = &v
+ return s
+}
+
+// SetOptionSettings sets the OptionSettings field's value.
+func (s *UpdateConfigurationTemplateInput) SetOptionSettings(v []*ConfigurationOptionSetting) *UpdateConfigurationTemplateInput {
+ s.OptionSettings = v
+ return s
+}
+
+// SetOptionsToRemove sets the OptionsToRemove field's value.
+func (s *UpdateConfigurationTemplateInput) SetOptionsToRemove(v []*OptionSpecification) *UpdateConfigurationTemplateInput {
+ s.OptionsToRemove = v
+ return s
+}
+
+// SetTemplateName sets the TemplateName field's value.
+func (s *UpdateConfigurationTemplateInput) SetTemplateName(v string) *UpdateConfigurationTemplateInput {
+ s.TemplateName = &v
+ return s
+}
+
// Request to update an environment.
type UpdateEnvironmentInput struct {
_ struct{} `type:"structure"`
@@ -6219,6 +8169,72 @@ func (s *UpdateEnvironmentInput) Validate() error {
return nil
}
+// SetApplicationName sets the ApplicationName field's value.
+func (s *UpdateEnvironmentInput) SetApplicationName(v string) *UpdateEnvironmentInput {
+ s.ApplicationName = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *UpdateEnvironmentInput) SetDescription(v string) *UpdateEnvironmentInput {
+ s.Description = &v
+ return s
+}
+
+// SetEnvironmentId sets the EnvironmentId field's value.
+func (s *UpdateEnvironmentInput) SetEnvironmentId(v string) *UpdateEnvironmentInput {
+ s.EnvironmentId = &v
+ return s
+}
+
+// SetEnvironmentName sets the EnvironmentName field's value.
+func (s *UpdateEnvironmentInput) SetEnvironmentName(v string) *UpdateEnvironmentInput {
+ s.EnvironmentName = &v
+ return s
+}
+
+// SetGroupName sets the GroupName field's value.
+func (s *UpdateEnvironmentInput) SetGroupName(v string) *UpdateEnvironmentInput {
+ s.GroupName = &v
+ return s
+}
+
+// SetOptionSettings sets the OptionSettings field's value.
+func (s *UpdateEnvironmentInput) SetOptionSettings(v []*ConfigurationOptionSetting) *UpdateEnvironmentInput {
+ s.OptionSettings = v
+ return s
+}
+
+// SetOptionsToRemove sets the OptionsToRemove field's value.
+func (s *UpdateEnvironmentInput) SetOptionsToRemove(v []*OptionSpecification) *UpdateEnvironmentInput {
+ s.OptionsToRemove = v
+ return s
+}
+
+// SetSolutionStackName sets the SolutionStackName field's value.
+func (s *UpdateEnvironmentInput) SetSolutionStackName(v string) *UpdateEnvironmentInput {
+ s.SolutionStackName = &v
+ return s
+}
+
+// SetTemplateName sets the TemplateName field's value.
+func (s *UpdateEnvironmentInput) SetTemplateName(v string) *UpdateEnvironmentInput {
+ s.TemplateName = &v
+ return s
+}
+
+// SetTier sets the Tier field's value.
+func (s *UpdateEnvironmentInput) SetTier(v *EnvironmentTier) *UpdateEnvironmentInput {
+ s.Tier = v
+ return s
+}
+
+// SetVersionLabel sets the VersionLabel field's value.
+func (s *UpdateEnvironmentInput) SetVersionLabel(v string) *UpdateEnvironmentInput {
+ s.VersionLabel = &v
+ return s
+}
+
// A list of validation messages for a specified configuration template.
type ValidateConfigurationSettingsInput struct {
_ struct{} `type:"structure"`
@@ -6290,6 +8306,30 @@ func (s *ValidateConfigurationSettingsInput) Validate() error {
return nil
}
+// SetApplicationName sets the ApplicationName field's value.
+func (s *ValidateConfigurationSettingsInput) SetApplicationName(v string) *ValidateConfigurationSettingsInput {
+ s.ApplicationName = &v
+ return s
+}
+
+// SetEnvironmentName sets the EnvironmentName field's value.
+func (s *ValidateConfigurationSettingsInput) SetEnvironmentName(v string) *ValidateConfigurationSettingsInput {
+ s.EnvironmentName = &v
+ return s
+}
+
+// SetOptionSettings sets the OptionSettings field's value.
+func (s *ValidateConfigurationSettingsInput) SetOptionSettings(v []*ConfigurationOptionSetting) *ValidateConfigurationSettingsInput {
+ s.OptionSettings = v
+ return s
+}
+
+// SetTemplateName sets the TemplateName field's value.
+func (s *ValidateConfigurationSettingsInput) SetTemplateName(v string) *ValidateConfigurationSettingsInput {
+ s.TemplateName = &v
+ return s
+}
+
// Provides a list of validation messages.
type ValidateConfigurationSettingsOutput struct {
_ struct{} `type:"structure"`
@@ -6308,6 +8348,12 @@ func (s ValidateConfigurationSettingsOutput) GoString() string {
return s.String()
}
+// SetMessages sets the Messages field's value.
+func (s *ValidateConfigurationSettingsOutput) SetMessages(v []*ValidationMessage) *ValidateConfigurationSettingsOutput {
+ s.Messages = v
+ return s
+}
+
// An error or warning for a desired configuration option value.
type ValidationMessage struct {
_ struct{} `type:"structure"`
@@ -6339,6 +8385,30 @@ func (s ValidationMessage) GoString() string {
return s.String()
}
+// SetMessage sets the Message field's value.
+func (s *ValidationMessage) SetMessage(v string) *ValidationMessage {
+ s.Message = &v
+ return s
+}
+
+// SetNamespace sets the Namespace field's value.
+func (s *ValidationMessage) SetNamespace(v string) *ValidationMessage {
+ s.Namespace = &v
+ return s
+}
+
+// SetOptionName sets the OptionName field's value.
+func (s *ValidationMessage) SetOptionName(v string) *ValidationMessage {
+ s.OptionName = &v
+ return s
+}
+
+// SetSeverity sets the Severity field's value.
+func (s *ValidationMessage) SetSeverity(v string) *ValidationMessage {
+ s.Severity = &v
+ return s
+}
+
const (
// ActionHistoryStatusCompleted is a ActionHistoryStatus enum value
ActionHistoryStatusCompleted = "Completed"
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 6374691..651cb08 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
@@ -831,6 +831,18 @@ func (s AccessPoliciesStatus) GoString() string {
return s.String()
}
+// SetOptions sets the Options field's value.
+func (s *AccessPoliciesStatus) SetOptions(v string) *AccessPoliciesStatus {
+ s.Options = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *AccessPoliciesStatus) SetStatus(v *OptionStatus) *AccessPoliciesStatus {
+ s.Status = v
+ return s
+}
+
// Container for the parameters to the AddTags operation. Specify the tags that
// you want to attach to the Elasticsearch domain.
type AddTagsInput struct {
@@ -883,6 +895,18 @@ func (s *AddTagsInput) Validate() error {
return nil
}
+// SetARN sets the ARN field's value.
+func (s *AddTagsInput) SetARN(v string) *AddTagsInput {
+ s.ARN = &v
+ return s
+}
+
+// SetTagList sets the TagList field's value.
+func (s *AddTagsInput) SetTagList(v []*Tag) *AddTagsInput {
+ s.TagList = v
+ return s
+}
+
type AddTagsOutput struct {
_ struct{} `type:"structure"`
}
@@ -933,6 +957,18 @@ func (s AdvancedOptionsStatus) GoString() string {
return s.String()
}
+// SetOptions sets the Options field's value.
+func (s *AdvancedOptionsStatus) SetOptions(v map[string]*string) *AdvancedOptionsStatus {
+ s.Options = v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *AdvancedOptionsStatus) SetStatus(v *OptionStatus) *AdvancedOptionsStatus {
+ s.Status = v
+ return s
+}
+
type CreateElasticsearchDomainInput struct {
_ struct{} `type:"structure"`
@@ -997,6 +1033,48 @@ func (s *CreateElasticsearchDomainInput) Validate() error {
return nil
}
+// SetAccessPolicies sets the AccessPolicies field's value.
+func (s *CreateElasticsearchDomainInput) SetAccessPolicies(v string) *CreateElasticsearchDomainInput {
+ s.AccessPolicies = &v
+ return s
+}
+
+// SetAdvancedOptions sets the AdvancedOptions field's value.
+func (s *CreateElasticsearchDomainInput) SetAdvancedOptions(v map[string]*string) *CreateElasticsearchDomainInput {
+ s.AdvancedOptions = v
+ return s
+}
+
+// SetDomainName sets the DomainName field's value.
+func (s *CreateElasticsearchDomainInput) SetDomainName(v string) *CreateElasticsearchDomainInput {
+ s.DomainName = &v
+ return s
+}
+
+// SetEBSOptions sets the EBSOptions field's value.
+func (s *CreateElasticsearchDomainInput) SetEBSOptions(v *EBSOptions) *CreateElasticsearchDomainInput {
+ s.EBSOptions = v
+ return s
+}
+
+// SetElasticsearchClusterConfig sets the ElasticsearchClusterConfig field's value.
+func (s *CreateElasticsearchDomainInput) SetElasticsearchClusterConfig(v *ElasticsearchClusterConfig) *CreateElasticsearchDomainInput {
+ s.ElasticsearchClusterConfig = v
+ return s
+}
+
+// SetElasticsearchVersion sets the ElasticsearchVersion field's value.
+func (s *CreateElasticsearchDomainInput) SetElasticsearchVersion(v string) *CreateElasticsearchDomainInput {
+ s.ElasticsearchVersion = &v
+ return s
+}
+
+// SetSnapshotOptions sets the SnapshotOptions field's value.
+func (s *CreateElasticsearchDomainInput) SetSnapshotOptions(v *SnapshotOptions) *CreateElasticsearchDomainInput {
+ s.SnapshotOptions = v
+ return s
+}
+
// The result of a CreateElasticsearchDomain operation. Contains the status
// of the newly created Elasticsearch domain.
type CreateElasticsearchDomainOutput struct {
@@ -1016,6 +1094,12 @@ func (s CreateElasticsearchDomainOutput) GoString() string {
return s.String()
}
+// SetDomainStatus sets the DomainStatus field's value.
+func (s *CreateElasticsearchDomainOutput) SetDomainStatus(v *ElasticsearchDomainStatus) *CreateElasticsearchDomainOutput {
+ s.DomainStatus = v
+ return s
+}
+
// Container for the parameters to the DeleteElasticsearchDomain operation.
// Specifies the name of the Elasticsearch domain that you want to delete.
type DeleteElasticsearchDomainInput struct {
@@ -1053,6 +1137,12 @@ func (s *DeleteElasticsearchDomainInput) Validate() error {
return nil
}
+// SetDomainName sets the DomainName field's value.
+func (s *DeleteElasticsearchDomainInput) SetDomainName(v string) *DeleteElasticsearchDomainInput {
+ s.DomainName = &v
+ return s
+}
+
// The result of a DeleteElasticsearchDomain request. Contains the status of
// the pending deletion, or no status if the domain and all of its resources
// have been deleted.
@@ -1073,6 +1163,12 @@ func (s DeleteElasticsearchDomainOutput) GoString() string {
return s.String()
}
+// SetDomainStatus sets the DomainStatus field's value.
+func (s *DeleteElasticsearchDomainOutput) SetDomainStatus(v *ElasticsearchDomainStatus) *DeleteElasticsearchDomainOutput {
+ s.DomainStatus = v
+ return s
+}
+
// Container for the parameters to the DescribeElasticsearchDomainConfig operation.
// Specifies the domain name for which you want configuration information.
type DescribeElasticsearchDomainConfigInput struct {
@@ -1110,6 +1206,12 @@ func (s *DescribeElasticsearchDomainConfigInput) Validate() error {
return nil
}
+// SetDomainName sets the DomainName field's value.
+func (s *DescribeElasticsearchDomainConfigInput) SetDomainName(v string) *DescribeElasticsearchDomainConfigInput {
+ s.DomainName = &v
+ return s
+}
+
// The result of a DescribeElasticsearchDomainConfig request. Contains the configuration
// information of the requested domain.
type DescribeElasticsearchDomainConfigOutput struct {
@@ -1132,6 +1234,12 @@ func (s DescribeElasticsearchDomainConfigOutput) GoString() string {
return s.String()
}
+// SetDomainConfig sets the DomainConfig field's value.
+func (s *DescribeElasticsearchDomainConfigOutput) SetDomainConfig(v *ElasticsearchDomainConfig) *DescribeElasticsearchDomainConfigOutput {
+ s.DomainConfig = v
+ return s
+}
+
// Container for the parameters to the DescribeElasticsearchDomain operation.
type DescribeElasticsearchDomainInput struct {
_ struct{} `type:"structure"`
@@ -1168,6 +1276,12 @@ func (s *DescribeElasticsearchDomainInput) Validate() error {
return nil
}
+// SetDomainName sets the DomainName field's value.
+func (s *DescribeElasticsearchDomainInput) SetDomainName(v string) *DescribeElasticsearchDomainInput {
+ s.DomainName = &v
+ return s
+}
+
// The result of a DescribeElasticsearchDomain request. Contains the status
// of the domain specified in the request.
type DescribeElasticsearchDomainOutput struct {
@@ -1189,6 +1303,12 @@ func (s DescribeElasticsearchDomainOutput) GoString() string {
return s.String()
}
+// SetDomainStatus sets the DomainStatus field's value.
+func (s *DescribeElasticsearchDomainOutput) SetDomainStatus(v *ElasticsearchDomainStatus) *DescribeElasticsearchDomainOutput {
+ s.DomainStatus = v
+ return s
+}
+
// Container for the parameters to the DescribeElasticsearchDomains operation.
// By default, the API returns the status of all Elasticsearch domains.
type DescribeElasticsearchDomainsInput struct {
@@ -1223,6 +1343,12 @@ func (s *DescribeElasticsearchDomainsInput) Validate() error {
return nil
}
+// SetDomainNames sets the DomainNames field's value.
+func (s *DescribeElasticsearchDomainsInput) SetDomainNames(v []*string) *DescribeElasticsearchDomainsInput {
+ s.DomainNames = v
+ return s
+}
+
// The result of a DescribeElasticsearchDomains request. Contains the status
// of the specified domains or all domains owned by the account.
type DescribeElasticsearchDomainsOutput struct {
@@ -1244,6 +1370,12 @@ func (s DescribeElasticsearchDomainsOutput) GoString() string {
return s.String()
}
+// SetDomainStatusList sets the DomainStatusList field's value.
+func (s *DescribeElasticsearchDomainsOutput) SetDomainStatusList(v []*ElasticsearchDomainStatus) *DescribeElasticsearchDomainsOutput {
+ s.DomainStatusList = v
+ return s
+}
+
type DomainInfo struct {
_ struct{} `type:"structure"`
@@ -1261,6 +1393,12 @@ func (s DomainInfo) GoString() string {
return s.String()
}
+// SetDomainName sets the DomainName field's value.
+func (s *DomainInfo) SetDomainName(v string) *DomainInfo {
+ s.DomainName = &v
+ return s
+}
+
// Options to enable, disable, and specify the properties of EBS storage volumes.
// For more information, see Configuring EBS-based Storage (http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-createupdatedomains.html#es-createdomain-configure-ebs).
type EBSOptions struct {
@@ -1289,6 +1427,30 @@ func (s EBSOptions) GoString() string {
return s.String()
}
+// SetEBSEnabled sets the EBSEnabled field's value.
+func (s *EBSOptions) SetEBSEnabled(v bool) *EBSOptions {
+ s.EBSEnabled = &v
+ return s
+}
+
+// SetIops sets the Iops field's value.
+func (s *EBSOptions) SetIops(v int64) *EBSOptions {
+ s.Iops = &v
+ return s
+}
+
+// SetVolumeSize sets the VolumeSize field's value.
+func (s *EBSOptions) SetVolumeSize(v int64) *EBSOptions {
+ s.VolumeSize = &v
+ return s
+}
+
+// SetVolumeType sets the VolumeType field's value.
+func (s *EBSOptions) SetVolumeType(v string) *EBSOptions {
+ s.VolumeType = &v
+ return s
+}
+
// Status of the EBS options for the specified Elasticsearch domain.
type EBSOptionsStatus struct {
_ struct{} `type:"structure"`
@@ -1314,6 +1476,18 @@ func (s EBSOptionsStatus) GoString() string {
return s.String()
}
+// SetOptions sets the Options field's value.
+func (s *EBSOptionsStatus) SetOptions(v *EBSOptions) *EBSOptionsStatus {
+ s.Options = v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *EBSOptionsStatus) SetStatus(v *OptionStatus) *EBSOptionsStatus {
+ s.Status = v
+ return s
+}
+
// Specifies the configuration for the domain cluster, such as the type and
// number of instances.
type ElasticsearchClusterConfig struct {
@@ -1352,6 +1526,42 @@ func (s ElasticsearchClusterConfig) GoString() string {
return s.String()
}
+// SetDedicatedMasterCount sets the DedicatedMasterCount field's value.
+func (s *ElasticsearchClusterConfig) SetDedicatedMasterCount(v int64) *ElasticsearchClusterConfig {
+ s.DedicatedMasterCount = &v
+ return s
+}
+
+// SetDedicatedMasterEnabled sets the DedicatedMasterEnabled field's value.
+func (s *ElasticsearchClusterConfig) SetDedicatedMasterEnabled(v bool) *ElasticsearchClusterConfig {
+ s.DedicatedMasterEnabled = &v
+ return s
+}
+
+// SetDedicatedMasterType sets the DedicatedMasterType field's value.
+func (s *ElasticsearchClusterConfig) SetDedicatedMasterType(v string) *ElasticsearchClusterConfig {
+ s.DedicatedMasterType = &v
+ return s
+}
+
+// SetInstanceCount sets the InstanceCount field's value.
+func (s *ElasticsearchClusterConfig) SetInstanceCount(v int64) *ElasticsearchClusterConfig {
+ s.InstanceCount = &v
+ return s
+}
+
+// SetInstanceType sets the InstanceType field's value.
+func (s *ElasticsearchClusterConfig) SetInstanceType(v string) *ElasticsearchClusterConfig {
+ s.InstanceType = &v
+ return s
+}
+
+// SetZoneAwarenessEnabled sets the ZoneAwarenessEnabled field's value.
+func (s *ElasticsearchClusterConfig) SetZoneAwarenessEnabled(v bool) *ElasticsearchClusterConfig {
+ s.ZoneAwarenessEnabled = &v
+ return s
+}
+
// Specifies the configuration status for the specified Elasticsearch domain.
type ElasticsearchClusterConfigStatus struct {
_ struct{} `type:"structure"`
@@ -1378,6 +1588,18 @@ func (s ElasticsearchClusterConfigStatus) GoString() string {
return s.String()
}
+// SetOptions sets the Options field's value.
+func (s *ElasticsearchClusterConfigStatus) SetOptions(v *ElasticsearchClusterConfig) *ElasticsearchClusterConfigStatus {
+ s.Options = v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *ElasticsearchClusterConfigStatus) SetStatus(v *OptionStatus) *ElasticsearchClusterConfigStatus {
+ s.Status = v
+ return s
+}
+
// The configuration of an Elasticsearch domain.
type ElasticsearchDomainConfig struct {
_ struct{} `type:"structure"`
@@ -1413,6 +1635,42 @@ func (s ElasticsearchDomainConfig) GoString() string {
return s.String()
}
+// SetAccessPolicies sets the AccessPolicies field's value.
+func (s *ElasticsearchDomainConfig) SetAccessPolicies(v *AccessPoliciesStatus) *ElasticsearchDomainConfig {
+ s.AccessPolicies = v
+ return s
+}
+
+// SetAdvancedOptions sets the AdvancedOptions field's value.
+func (s *ElasticsearchDomainConfig) SetAdvancedOptions(v *AdvancedOptionsStatus) *ElasticsearchDomainConfig {
+ s.AdvancedOptions = v
+ return s
+}
+
+// SetEBSOptions sets the EBSOptions field's value.
+func (s *ElasticsearchDomainConfig) SetEBSOptions(v *EBSOptionsStatus) *ElasticsearchDomainConfig {
+ s.EBSOptions = v
+ return s
+}
+
+// SetElasticsearchClusterConfig sets the ElasticsearchClusterConfig field's value.
+func (s *ElasticsearchDomainConfig) SetElasticsearchClusterConfig(v *ElasticsearchClusterConfigStatus) *ElasticsearchDomainConfig {
+ s.ElasticsearchClusterConfig = v
+ return s
+}
+
+// SetElasticsearchVersion sets the ElasticsearchVersion field's value.
+func (s *ElasticsearchDomainConfig) SetElasticsearchVersion(v *ElasticsearchVersionStatus) *ElasticsearchDomainConfig {
+ s.ElasticsearchVersion = v
+ return s
+}
+
+// SetSnapshotOptions sets the SnapshotOptions field's value.
+func (s *ElasticsearchDomainConfig) SetSnapshotOptions(v *SnapshotOptionsStatus) *ElasticsearchDomainConfig {
+ s.SnapshotOptions = v
+ return s
+}
+
// The current status of an Elasticsearch domain.
type ElasticsearchDomainStatus struct {
_ struct{} `type:"structure"`
@@ -1488,6 +1746,84 @@ func (s ElasticsearchDomainStatus) GoString() string {
return s.String()
}
+// SetARN sets the ARN field's value.
+func (s *ElasticsearchDomainStatus) SetARN(v string) *ElasticsearchDomainStatus {
+ s.ARN = &v
+ return s
+}
+
+// SetAccessPolicies sets the AccessPolicies field's value.
+func (s *ElasticsearchDomainStatus) SetAccessPolicies(v string) *ElasticsearchDomainStatus {
+ s.AccessPolicies = &v
+ return s
+}
+
+// SetAdvancedOptions sets the AdvancedOptions field's value.
+func (s *ElasticsearchDomainStatus) SetAdvancedOptions(v map[string]*string) *ElasticsearchDomainStatus {
+ s.AdvancedOptions = v
+ return s
+}
+
+// SetCreated sets the Created field's value.
+func (s *ElasticsearchDomainStatus) SetCreated(v bool) *ElasticsearchDomainStatus {
+ s.Created = &v
+ return s
+}
+
+// SetDeleted sets the Deleted field's value.
+func (s *ElasticsearchDomainStatus) SetDeleted(v bool) *ElasticsearchDomainStatus {
+ s.Deleted = &v
+ return s
+}
+
+// SetDomainId sets the DomainId field's value.
+func (s *ElasticsearchDomainStatus) SetDomainId(v string) *ElasticsearchDomainStatus {
+ s.DomainId = &v
+ return s
+}
+
+// SetDomainName sets the DomainName field's value.
+func (s *ElasticsearchDomainStatus) SetDomainName(v string) *ElasticsearchDomainStatus {
+ s.DomainName = &v
+ return s
+}
+
+// SetEBSOptions sets the EBSOptions field's value.
+func (s *ElasticsearchDomainStatus) SetEBSOptions(v *EBSOptions) *ElasticsearchDomainStatus {
+ s.EBSOptions = v
+ return s
+}
+
+// SetElasticsearchClusterConfig sets the ElasticsearchClusterConfig field's value.
+func (s *ElasticsearchDomainStatus) SetElasticsearchClusterConfig(v *ElasticsearchClusterConfig) *ElasticsearchDomainStatus {
+ s.ElasticsearchClusterConfig = v
+ return s
+}
+
+// SetElasticsearchVersion sets the ElasticsearchVersion field's value.
+func (s *ElasticsearchDomainStatus) SetElasticsearchVersion(v string) *ElasticsearchDomainStatus {
+ s.ElasticsearchVersion = &v
+ return s
+}
+
+// SetEndpoint sets the Endpoint field's value.
+func (s *ElasticsearchDomainStatus) SetEndpoint(v string) *ElasticsearchDomainStatus {
+ s.Endpoint = &v
+ return s
+}
+
+// SetProcessing sets the Processing field's value.
+func (s *ElasticsearchDomainStatus) SetProcessing(v bool) *ElasticsearchDomainStatus {
+ s.Processing = &v
+ return s
+}
+
+// SetSnapshotOptions sets the SnapshotOptions field's value.
+func (s *ElasticsearchDomainStatus) SetSnapshotOptions(v *SnapshotOptions) *ElasticsearchDomainStatus {
+ s.SnapshotOptions = v
+ return s
+}
+
// Status of the Elasticsearch version options for the specified Elasticsearch
// domain.
type ElasticsearchVersionStatus struct {
@@ -1515,6 +1851,18 @@ func (s ElasticsearchVersionStatus) GoString() string {
return s.String()
}
+// SetOptions sets the Options field's value.
+func (s *ElasticsearchVersionStatus) SetOptions(v string) *ElasticsearchVersionStatus {
+ s.Options = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *ElasticsearchVersionStatus) SetStatus(v *OptionStatus) *ElasticsearchVersionStatus {
+ s.Status = v
+ return s
+}
+
type ListDomainNamesInput struct {
_ struct{} `type:"structure"`
}
@@ -1548,6 +1896,12 @@ func (s ListDomainNamesOutput) GoString() string {
return s.String()
}
+// SetDomainNames sets the DomainNames field's value.
+func (s *ListDomainNamesOutput) SetDomainNames(v []*DomainInfo) *ListDomainNamesOutput {
+ s.DomainNames = v
+ return s
+}
+
// Container for the parameters to the ListTags operation. Specify the ARN for
// the Elasticsearch domain to which the tags are attached that you want to
// view are attached.
@@ -1584,6 +1938,12 @@ func (s *ListTagsInput) Validate() error {
return nil
}
+// SetARN sets the ARN field's value.
+func (s *ListTagsInput) SetARN(v string) *ListTagsInput {
+ s.ARN = &v
+ return s
+}
+
// The result of a ListTags operation. Contains tags for all requested Elasticsearch
// domains.
type ListTagsOutput struct {
@@ -1603,6 +1963,12 @@ func (s ListTagsOutput) GoString() string {
return s.String()
}
+// SetTagList sets the TagList field's value.
+func (s *ListTagsOutput) SetTagList(v []*Tag) *ListTagsOutput {
+ s.TagList = v
+ return s
+}
+
// Provides the current status of the entity.
type OptionStatus struct {
_ struct{} `type:"structure"`
@@ -1639,6 +2005,36 @@ func (s OptionStatus) GoString() string {
return s.String()
}
+// SetCreationDate sets the CreationDate field's value.
+func (s *OptionStatus) SetCreationDate(v time.Time) *OptionStatus {
+ s.CreationDate = &v
+ return s
+}
+
+// SetPendingDeletion sets the PendingDeletion field's value.
+func (s *OptionStatus) SetPendingDeletion(v bool) *OptionStatus {
+ s.PendingDeletion = &v
+ return s
+}
+
+// SetState sets the State field's value.
+func (s *OptionStatus) SetState(v string) *OptionStatus {
+ s.State = &v
+ return s
+}
+
+// SetUpdateDate sets the UpdateDate field's value.
+func (s *OptionStatus) SetUpdateDate(v time.Time) *OptionStatus {
+ s.UpdateDate = &v
+ return s
+}
+
+// SetUpdateVersion sets the UpdateVersion field's value.
+func (s *OptionStatus) SetUpdateVersion(v int64) *OptionStatus {
+ s.UpdateVersion = &v
+ return s
+}
+
// Container for the parameters to the RemoveTags operation. Specify the ARN
// for the Elasticsearch domain from which you want to remove the specified
// TagKey.
@@ -1684,6 +2080,18 @@ func (s *RemoveTagsInput) Validate() error {
return nil
}
+// SetARN sets the ARN field's value.
+func (s *RemoveTagsInput) SetARN(v string) *RemoveTagsInput {
+ s.ARN = &v
+ return s
+}
+
+// SetTagKeys sets the TagKeys field's value.
+func (s *RemoveTagsInput) SetTagKeys(v []*string) *RemoveTagsInput {
+ s.TagKeys = v
+ return s
+}
+
type RemoveTagsOutput struct {
_ struct{} `type:"structure"`
}
@@ -1718,6 +2126,12 @@ func (s SnapshotOptions) GoString() string {
return s.String()
}
+// SetAutomatedSnapshotStartHour sets the AutomatedSnapshotStartHour field's value.
+func (s *SnapshotOptions) SetAutomatedSnapshotStartHour(v int64) *SnapshotOptions {
+ s.AutomatedSnapshotStartHour = &v
+ return s
+}
+
// Status of a daily automated snapshot.
type SnapshotOptionsStatus struct {
_ struct{} `type:"structure"`
@@ -1743,6 +2157,18 @@ func (s SnapshotOptionsStatus) GoString() string {
return s.String()
}
+// SetOptions sets the Options field's value.
+func (s *SnapshotOptionsStatus) SetOptions(v *SnapshotOptions) *SnapshotOptionsStatus {
+ s.Options = v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *SnapshotOptionsStatus) SetStatus(v *OptionStatus) *SnapshotOptionsStatus {
+ s.Status = v
+ return s
+}
+
// Specifies a key value pair for a resource tag.
type Tag struct {
_ struct{} `type:"structure"`
@@ -1791,6 +2217,18 @@ func (s *Tag) Validate() error {
return nil
}
+// 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
+}
+
// Container for the parameters to the UpdateElasticsearchDomain operation.
// Specifies the type and number of instances in the domain cluster.
type UpdateElasticsearchDomainConfigInput struct {
@@ -1847,6 +2285,42 @@ func (s *UpdateElasticsearchDomainConfigInput) Validate() error {
return nil
}
+// SetAccessPolicies sets the AccessPolicies field's value.
+func (s *UpdateElasticsearchDomainConfigInput) SetAccessPolicies(v string) *UpdateElasticsearchDomainConfigInput {
+ s.AccessPolicies = &v
+ return s
+}
+
+// SetAdvancedOptions sets the AdvancedOptions field's value.
+func (s *UpdateElasticsearchDomainConfigInput) SetAdvancedOptions(v map[string]*string) *UpdateElasticsearchDomainConfigInput {
+ s.AdvancedOptions = v
+ return s
+}
+
+// SetDomainName sets the DomainName field's value.
+func (s *UpdateElasticsearchDomainConfigInput) SetDomainName(v string) *UpdateElasticsearchDomainConfigInput {
+ s.DomainName = &v
+ return s
+}
+
+// SetEBSOptions sets the EBSOptions field's value.
+func (s *UpdateElasticsearchDomainConfigInput) SetEBSOptions(v *EBSOptions) *UpdateElasticsearchDomainConfigInput {
+ s.EBSOptions = v
+ return s
+}
+
+// SetElasticsearchClusterConfig sets the ElasticsearchClusterConfig field's value.
+func (s *UpdateElasticsearchDomainConfigInput) SetElasticsearchClusterConfig(v *ElasticsearchClusterConfig) *UpdateElasticsearchDomainConfigInput {
+ s.ElasticsearchClusterConfig = v
+ return s
+}
+
+// SetSnapshotOptions sets the SnapshotOptions field's value.
+func (s *UpdateElasticsearchDomainConfigInput) SetSnapshotOptions(v *SnapshotOptions) *UpdateElasticsearchDomainConfigInput {
+ s.SnapshotOptions = v
+ return s
+}
+
// The result of an UpdateElasticsearchDomain request. Contains the status of
// the Elasticsearch domain being updated.
type UpdateElasticsearchDomainConfigOutput struct {
@@ -1868,6 +2342,12 @@ func (s UpdateElasticsearchDomainConfigOutput) GoString() string {
return s.String()
}
+// SetDomainConfig sets the DomainConfig field's value.
+func (s *UpdateElasticsearchDomainConfigOutput) SetDomainConfig(v *ElasticsearchDomainConfig) *UpdateElasticsearchDomainConfigOutput {
+ s.DomainConfig = v
+ return s
+}
+
const (
// ESPartitionInstanceTypeM3MediumElasticsearch is a ESPartitionInstanceType enum value
ESPartitionInstanceTypeM3MediumElasticsearch = "m3.medium.elasticsearch"
diff --git a/vendor/github.com/aws/aws-sdk-go/service/elastictranscoder/api.go b/vendor/github.com/aws/aws-sdk-go/service/elastictranscoder/api.go
index 1013fa6..8f313ab 100644
--- a/vendor/github.com/aws/aws-sdk-go/service/elastictranscoder/api.go
+++ b/vendor/github.com/aws/aws-sdk-go/service/elastictranscoder/api.go
@@ -324,7 +324,9 @@ func (c *ElasticTranscoder) CreatePresetRequest(input *CreatePresetInput) (req *
// strictly compliant with the H.264 standard, Elastic Transcoder creates the
// preset and returns a warning message in the response. This helps you determine
// whether your settings comply with the H.264 standard while giving you greater
-// flexibility with respect to the video that Elastic Transcoder produces.Elastic Transcoder uses the H.264 video-compression format. For more information,
+// flexibility with respect to the video that Elastic Transcoder produces.
+//
+// Elastic Transcoder uses the H.264 video-compression format. For more information,
// see the International Telecommunication Union publication Recommendation
// ITU-T H.264: Advanced video coding for generic audiovisual services.
//
@@ -1229,6 +1231,9 @@ const opTestRole = "TestRole"
// }
//
func (c *ElasticTranscoder) TestRoleRequest(input *TestRoleInput) (req *request.Request, output *TestRoleOutput) {
+ if c.Client.Config.Logger != nil {
+ c.Client.Config.Logger.Log("This operation, TestRole, has been deprecated")
+ }
op := &request.Operation{
Name: opTestRole,
HTTPMethod: "POST",
@@ -1332,11 +1337,12 @@ func (c *ElasticTranscoder) UpdatePipelineRequest(input *UpdatePipelineInput) (r
// UpdatePipeline API operation for Amazon Elastic Transcoder.
//
-// Use the UpdatePipeline operation to update settings for a pipeline. When
-// you change pipeline settings, your changes take effect immediately. Jobs
-// that you have already submitted and that Elastic Transcoder has not started
-// to process are affected in addition to jobs that you submit after you change
-// settings.
+// Use the UpdatePipeline operation to update settings for a pipeline.
+//
+// When you change pipeline settings, your changes take effect immediately.
+// Jobs that you have already submitted and that Elastic Transcoder has not
+// started to process are affected in addition to jobs that you submit after
+// you change 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
@@ -1598,28 +1604,33 @@ type Artwork struct {
// Specify one of the following values to control scaling of the output album
// art:
//
- // Fit: Elastic Transcoder scales the output art so it matches the value that
- // you specified in either MaxWidth or MaxHeight without exceeding the other
- // value.
- // Fill: Elastic Transcoder scales the output art so it matches the value that
- // you specified in either MaxWidth or MaxHeight and matches or exceeds the
- // other value. Elastic Transcoder centers the output art and then crops it
- // in the dimension (if any) that exceeds the maximum value.
- // Stretch: Elastic Transcoder stretches the output art to match the values
- // that you specified for MaxWidth and MaxHeight. If the relative proportions
- // of the input art and the output art are different, the output art will be
- // distorted.
- // Keep: Elastic Transcoder does not scale the output art. If either dimension
- // of the input art exceeds the values that you specified for MaxWidth and MaxHeight,
- // Elastic Transcoder crops the output art.
- // ShrinkToFit: Elastic Transcoder scales the output art down so that its dimensions
- // match the values that you specified for at least one of MaxWidth and MaxHeight
- // without exceeding either value. If you specify this option, Elastic Transcoder
- // does not scale the art up.
- // ShrinkToFill Elastic Transcoder scales the output art down so that its dimensions
- // match the values that you specified for at least one of MaxWidth and MaxHeight
- // without dropping below either value. If you specify this option, Elastic
- // Transcoder does not scale the art up.
+ // * Fit: Elastic Transcoder scales the output art so it matches the value
+ // that you specified in either MaxWidth or MaxHeight without exceeding the
+ // other value.
+ //
+ // * Fill: Elastic Transcoder scales the output art so it matches the value
+ // that you specified in either MaxWidth or MaxHeight and matches or exceeds
+ // the other value. Elastic Transcoder centers the output art and then crops
+ // it in the dimension (if any) that exceeds the maximum value.
+ //
+ // * Stretch: Elastic Transcoder stretches the output art to match the values
+ // that you specified for MaxWidth and MaxHeight. If the relative proportions
+ // of the input art and the output art are different, the output art will
+ // be distorted.
+ //
+ // * Keep: Elastic Transcoder does not scale the output art. If either dimension
+ // of the input art exceeds the values that you specified for MaxWidth and
+ // MaxHeight, Elastic Transcoder crops the output art.
+ //
+ // * ShrinkToFit: Elastic Transcoder scales the output art down so that its
+ // dimensions match the values that you specified for at least one of MaxWidth
+ // and MaxHeight without exceeding either value. If you specify this option,
+ // Elastic Transcoder does not scale the art up.
+ //
+ // * ShrinkToFill Elastic Transcoder scales the output art down so that its
+ // dimensions match the values that you specified for at least one of MaxWidth
+ // and MaxHeight without dropping below either value. If you specify this
+ // option, Elastic Transcoder does not scale the art up.
SizingPolicy *string `type:"string"`
}
@@ -1646,6 +1657,48 @@ func (s *Artwork) Validate() error {
return nil
}
+// SetAlbumArtFormat sets the AlbumArtFormat field's value.
+func (s *Artwork) SetAlbumArtFormat(v string) *Artwork {
+ s.AlbumArtFormat = &v
+ return s
+}
+
+// SetEncryption sets the Encryption field's value.
+func (s *Artwork) SetEncryption(v *Encryption) *Artwork {
+ s.Encryption = v
+ return s
+}
+
+// SetInputKey sets the InputKey field's value.
+func (s *Artwork) SetInputKey(v string) *Artwork {
+ s.InputKey = &v
+ return s
+}
+
+// SetMaxHeight sets the MaxHeight field's value.
+func (s *Artwork) SetMaxHeight(v string) *Artwork {
+ s.MaxHeight = &v
+ return s
+}
+
+// SetMaxWidth sets the MaxWidth field's value.
+func (s *Artwork) SetMaxWidth(v string) *Artwork {
+ s.MaxWidth = &v
+ return s
+}
+
+// SetPaddingPolicy sets the PaddingPolicy field's value.
+func (s *Artwork) SetPaddingPolicy(v string) *Artwork {
+ s.PaddingPolicy = &v
+ return s
+}
+
+// SetSizingPolicy sets the SizingPolicy field's value.
+func (s *Artwork) SetSizingPolicy(v string) *Artwork {
+ s.SizingPolicy = &v
+ return s
+}
+
// Options associated with your audio codec.
type AudioCodecOptions struct {
_ struct{} `type:"structure"`
@@ -1676,14 +1729,18 @@ type AudioCodecOptions struct {
// Specify the AAC profile for the output file. Elastic Transcoder supports
// the following profiles:
//
- // * auto: If you specify auto, Elastic Transcoder will select the profile
- // based on the bit rate selected for the output file.
+ // * auto: If you specify auto, Elastic Transcoder selects the profile based
+ // on the bit rate selected for the output file.
+ //
// * AAC-LC: The most common AAC profile. Use for bit rates larger than 64
// kbps.
+ //
// * HE-AAC: Not supported on some older players and devices. Use for bit
// rates between 40 and 80 kbps.
+ //
// * HE-AACv2: Not supported on some players and devices. Use for bit rates
// less than 48 kbps.
+ //
// All outputs in a Smooth playlist must have the same value for Profile.
//
// If you created any presets before AAC profiles were added, Elastic Transcoder
@@ -1711,6 +1768,30 @@ func (s AudioCodecOptions) GoString() string {
return s.String()
}
+// SetBitDepth sets the BitDepth field's value.
+func (s *AudioCodecOptions) SetBitDepth(v string) *AudioCodecOptions {
+ s.BitDepth = &v
+ return s
+}
+
+// SetBitOrder sets the BitOrder field's value.
+func (s *AudioCodecOptions) SetBitOrder(v string) *AudioCodecOptions {
+ s.BitOrder = &v
+ return s
+}
+
+// SetProfile sets the Profile field's value.
+func (s *AudioCodecOptions) SetProfile(v string) *AudioCodecOptions {
+ s.Profile = &v
+ return s
+}
+
+// SetSigned sets the Signed field's value.
+func (s *AudioCodecOptions) SetSigned(v string) *AudioCodecOptions {
+ s.Signed = &v
+ return s
+}
+
// Parameters required for transcoding audio.
type AudioParameters struct {
_ struct{} `type:"structure"`
@@ -1732,22 +1813,29 @@ type AudioParameters struct {
// follows:
//
// * 0 channels with any input: Audio omitted from the output
+ //
// * 1, 2, or auto channels with no audio input: Audio omitted from the output
//
// * 1 channel with any input with audio: One track with one channel, downmixed
// if necessary
+ //
// * 2 channels with one track with one channel: One track with two identical
// channels
+ //
// * 2 or auto channels with two tracks with one channel each: One track
// with two channels
+ //
// * 2 or auto channels with one track with two channels: One track with
// two channels
+ //
// * 2 channels with one track with multiple channels: One track with two
// channels
+ //
// * auto channels with one track with one channel: One track with one channel
//
// * auto channels with one track with multiple channels: One track with
// multiple channels
+ //
// When you specify OneChannelPerTrack, Elastic Transcoder creates a new track
// for every channel in your output. Your output can have up to eight single-channel
// tracks.
@@ -1756,22 +1844,29 @@ type AudioParameters struct {
// are as follows:
//
// * 0 channels with any input: Audio omitted from the output
+ //
// * 1, 2, or auto channels with no audio input: Audio omitted from the output
//
// * 1 channel with any input with audio: One track with one channel, downmixed
// if necessary
+ //
// * 2 channels with one track with one channel: Two tracks with one identical
// channel each
+ //
// * 2 or auto channels with two tracks with one channel each: Two tracks
// with one channel each
+ //
// * 2 or auto channels with one track with two channels: Two tracks with
// one channel each
+ //
// * 2 channels with one track with multiple channels: Two tracks with one
// channel each
+ //
// * auto channels with one track with one channel: One track with one channel
//
// * auto channels with one track with multiple channels: Up to eight tracks
// with one channel each
+ //
// When you specify OneChannelPerTrackWithMosTo8Tracks, Elastic Transcoder creates
// eight single-channel tracks for your output. All tracks that do not contain
// audio data from an input channel are MOS, or Mit Out Sound, tracks.
@@ -1780,20 +1875,27 @@ type AudioParameters struct {
// value and inputs are as follows:
//
// * 0 channels with any input: Audio omitted from the output
+ //
// * 1, 2, or auto channels with no audio input: Audio omitted from the output
//
// * 1 channel with any input with audio: One track with one channel, downmixed
// if necessary, plus six MOS tracks
+ //
// * 2 channels with one track with one channel: Two tracks with one identical
// channel each, plus six MOS tracks
+ //
// * 2 or auto channels with two tracks with one channel each: Two tracks
// with one channel each, plus six MOS tracks
+ //
// * 2 or auto channels with one track with two channels: Two tracks with
// one channel each, plus six MOS tracks
+ //
// * 2 channels with one track with multiple channels: Two tracks with one
// channel each, plus six MOS tracks
+ //
// * auto channels with one track with one channel: One track with one channel,
// plus seven MOS tracks
+ //
// * auto channels with one track with multiple channels: Up to eight tracks
// with one channel each, plus MOS tracks until there are eight tracks in
// all
@@ -1819,9 +1921,11 @@ type AudioParameters struct {
//
// * auto channel specified, with any input: Pass through up to eight input
// channels.
+ //
// * 0 channels specified, with any input: Audio omitted from the output.
//
// * 1 channel specified, with at least one input channel: Mono sound.
+ //
// * 2 channels specified, with any input: Two identical mono channels or
// stereo. For more information about tracks, see Audio:AudioPackingMode.
//
@@ -1862,6 +1966,42 @@ func (s AudioParameters) GoString() string {
return s.String()
}
+// SetAudioPackingMode sets the AudioPackingMode field's value.
+func (s *AudioParameters) SetAudioPackingMode(v string) *AudioParameters {
+ s.AudioPackingMode = &v
+ return s
+}
+
+// SetBitRate sets the BitRate field's value.
+func (s *AudioParameters) SetBitRate(v string) *AudioParameters {
+ s.BitRate = &v
+ return s
+}
+
+// SetChannels sets the Channels field's value.
+func (s *AudioParameters) SetChannels(v string) *AudioParameters {
+ s.Channels = &v
+ return s
+}
+
+// SetCodec sets the Codec field's value.
+func (s *AudioParameters) SetCodec(v string) *AudioParameters {
+ s.Codec = &v
+ return s
+}
+
+// SetCodecOptions sets the CodecOptions field's value.
+func (s *AudioParameters) SetCodecOptions(v *AudioCodecOptions) *AudioParameters {
+ s.CodecOptions = v
+ return s
+}
+
+// SetSampleRate sets the SampleRate field's value.
+func (s *AudioParameters) SetSampleRate(v string) *AudioParameters {
+ s.SampleRate = &v
+ return s
+}
+
// The CancelJobRequest structure.
type CancelJobInput struct {
_ struct{} `type:"structure"`
@@ -1898,6 +2038,12 @@ func (s *CancelJobInput) Validate() error {
return nil
}
+// SetId sets the Id field's value.
+func (s *CancelJobInput) SetId(v string) *CancelJobInput {
+ s.Id = &v
+ return s
+}
+
// The response body contains a JSON object. If the job is successfully canceled,
// the value of Success is true.
type CancelJobOutput struct {
@@ -1954,9 +2100,11 @@ type CaptionFormat struct {
// The prefix for caption filenames, in the form description-{language}, where:
//
// * description is a description of the video.
+ //
// * {language} is a literal value that Elastic Transcoder replaces with
// the two- or three-letter code for the language of the caption in the output
// file names.
+ //
// If you don't include {language} in the file name pattern, Elastic Transcoder
// automatically appends "{language}" to the value that you specify for the
// description. In addition, Elastic Transcoder automatically appends the count
@@ -1964,7 +2112,7 @@ type CaptionFormat struct {
//
// For example, suppose you're transcoding into srt format. When you enter "Sydney-{language}-sunrise",
// and the language of the captions is English (en), the name of the first caption
- // file will be Sydney-en-sunrise00000.srt.
+ // file is be Sydney-en-sunrise00000.srt.
Pattern *string `type:"string"`
}
@@ -1978,13 +2126,32 @@ func (s CaptionFormat) GoString() string {
return s.String()
}
+// SetEncryption sets the Encryption field's value.
+func (s *CaptionFormat) SetEncryption(v *Encryption) *CaptionFormat {
+ s.Encryption = v
+ return s
+}
+
+// SetFormat sets the Format field's value.
+func (s *CaptionFormat) SetFormat(v string) *CaptionFormat {
+ s.Format = &v
+ return s
+}
+
+// SetPattern sets the Pattern field's value.
+func (s *CaptionFormat) SetPattern(v string) *CaptionFormat {
+ s.Pattern = &v
+ return s
+}
+
// A source file for the input sidecar captions used during the transcoding
// process.
type CaptionSource struct {
_ struct{} `type:"structure"`
- // The encryption settings, if any, that you want Elastic Transcoder to apply
- // to your caption sources.
+ // The encryption settings, if any, that Elastic Transcoder needs to decyrpt
+ // your caption sources, or that you want Elastic Transcoder to apply to your
+ // caption sources.
Encryption *Encryption `type:"structure"`
// The name of the sidecar caption file that you want Elastic Transcoder to
@@ -1996,8 +2163,9 @@ type CaptionSource struct {
// the captions.
Label *string `min:"1" type:"string"`
- // A string that specifies the language of the caption. Specify this as one
- // of:
+ // A string that specifies the language of the caption. If you specified multiple
+ // inputs with captions, the caption language must match in order to be included
+ // in the output. Specify this as one of:
//
// * 2-character ISO 639-1 code
//
@@ -2044,6 +2212,36 @@ func (s *CaptionSource) Validate() error {
return nil
}
+// SetEncryption sets the Encryption field's value.
+func (s *CaptionSource) SetEncryption(v *Encryption) *CaptionSource {
+ s.Encryption = v
+ return s
+}
+
+// SetKey sets the Key field's value.
+func (s *CaptionSource) SetKey(v string) *CaptionSource {
+ s.Key = &v
+ return s
+}
+
+// SetLabel sets the Label field's value.
+func (s *CaptionSource) SetLabel(v string) *CaptionSource {
+ s.Label = &v
+ return s
+}
+
+// SetLanguage sets the Language field's value.
+func (s *CaptionSource) SetLanguage(v string) *CaptionSource {
+ s.Language = &v
+ return s
+}
+
+// SetTimeOffset sets the TimeOffset field's value.
+func (s *CaptionSource) SetTimeOffset(v string) *CaptionSource {
+ s.TimeOffset = &v
+ return s
+}
+
// The captions to be created, if any.
type Captions struct {
_ struct{} `type:"structure"`
@@ -2054,7 +2252,7 @@ type Captions struct {
// Source files for the input sidecar captions used during the transcoding process.
// To omit all sidecar captions, leave CaptionSources blank.
- CaptionSources []*CaptionSource `type:"list"`
+ CaptionSources []*CaptionSource `deprecated:"true" type:"list"`
// A policy that determines how Elastic Transcoder handles the existence of
// multiple captions.
@@ -2075,7 +2273,7 @@ type Captions struct {
// you specify in CaptionSources.
//
// MergePolicy cannot be null.
- MergePolicy *string `type:"string"`
+ MergePolicy *string `deprecated:"true" type:"string"`
}
// String returns the string representation
@@ -2108,10 +2306,28 @@ func (s *Captions) Validate() error {
return nil
}
+// SetCaptionFormats sets the CaptionFormats field's value.
+func (s *Captions) SetCaptionFormats(v []*CaptionFormat) *Captions {
+ s.CaptionFormats = v
+ return s
+}
+
+// SetCaptionSources sets the CaptionSources field's value.
+func (s *Captions) SetCaptionSources(v []*CaptionSource) *Captions {
+ s.CaptionSources = v
+ return s
+}
+
+// SetMergePolicy sets the MergePolicy field's value.
+func (s *Captions) SetMergePolicy(v string) *Captions {
+ s.MergePolicy = &v
+ return s
+}
+
// Settings for one clip in a composition. All jobs in a playlist must have
// the same clip settings.
type Clip struct {
- _ struct{} `type:"structure"`
+ _ struct{} `deprecated:"true" type:"structure"`
// Settings that determine when a clip begins and how long it lasts.
TimeSpan *TimeSpan `type:"structure"`
@@ -2127,17 +2343,27 @@ func (s Clip) GoString() string {
return s.String()
}
+// SetTimeSpan sets the TimeSpan field's value.
+func (s *Clip) SetTimeSpan(v *TimeSpan) *Clip {
+ s.TimeSpan = v
+ return s
+}
+
// The CreateJobRequest structure.
type CreateJobInput struct {
_ struct{} `type:"structure"`
// A section of the request body that provides information about the file that
// is being transcoded.
- //
- // Input is a required field
- Input *JobInput `type:"structure" required:"true"`
+ Input *JobInput `type:"structure"`
+
+ // A section of the request body that provides information about the files that
+ // are being transcoded.
+ Inputs []*JobInput `type:"list"`
- // The CreateJobOutput structure.
+ // A section of the request body that provides information about the transcoded
+ // (target) file. We strongly recommend that you use the Outputs syntax instead
+ // of the Output syntax.
Output *CreateJobOutput `type:"structure"`
// The value, if any, that you want Elastic Transcoder to prepend to the names
@@ -2168,7 +2394,7 @@ type CreateJobInput struct {
// User-defined metadata that you want to associate with an Elastic Transcoder
// job. You specify metadata in key/value pairs, and you can add up to 10 key/value
// pairs per job. Elastic Transcoder does not guarantee that key/value pairs
- // will be returned in the same order in which you specify them.
+ // are returned in the same order in which you specify them.
UserMetadata map[string]*string `type:"map"`
}
@@ -2185,9 +2411,6 @@ func (s CreateJobInput) GoString() 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.Input == nil {
- invalidParams.Add(request.NewErrParamRequired("Input"))
- }
if s.OutputKeyPrefix != nil && len(*s.OutputKeyPrefix) < 1 {
invalidParams.Add(request.NewErrParamMinLen("OutputKeyPrefix", 1))
}
@@ -2199,6 +2422,16 @@ func (s *CreateJobInput) Validate() error {
invalidParams.AddNested("Input", err.(request.ErrInvalidParams))
}
}
+ if s.Inputs != nil {
+ for i, v := range s.Inputs {
+ if v == nil {
+ continue
+ }
+ if err := v.Validate(); err != nil {
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Inputs", i), err.(request.ErrInvalidParams))
+ }
+ }
+ }
if s.Output != nil {
if err := s.Output.Validate(); err != nil {
invalidParams.AddNested("Output", err.(request.ErrInvalidParams))
@@ -2231,6 +2464,54 @@ func (s *CreateJobInput) Validate() error {
return nil
}
+// SetInput sets the Input field's value.
+func (s *CreateJobInput) SetInput(v *JobInput) *CreateJobInput {
+ s.Input = v
+ return s
+}
+
+// SetInputs sets the Inputs field's value.
+func (s *CreateJobInput) SetInputs(v []*JobInput) *CreateJobInput {
+ s.Inputs = v
+ return s
+}
+
+// SetOutput sets the Output field's value.
+func (s *CreateJobInput) SetOutput(v *CreateJobOutput) *CreateJobInput {
+ s.Output = v
+ return s
+}
+
+// SetOutputKeyPrefix sets the OutputKeyPrefix field's value.
+func (s *CreateJobInput) SetOutputKeyPrefix(v string) *CreateJobInput {
+ s.OutputKeyPrefix = &v
+ return s
+}
+
+// SetOutputs sets the Outputs field's value.
+func (s *CreateJobInput) SetOutputs(v []*CreateJobOutput) *CreateJobInput {
+ s.Outputs = v
+ return s
+}
+
+// SetPipelineId sets the PipelineId field's value.
+func (s *CreateJobInput) SetPipelineId(v string) *CreateJobInput {
+ s.PipelineId = &v
+ return s
+}
+
+// SetPlaylists sets the Playlists field's value.
+func (s *CreateJobInput) SetPlaylists(v []*CreateJobPlaylist) *CreateJobInput {
+ s.Playlists = v
+ return s
+}
+
+// SetUserMetadata sets the UserMetadata field's value.
+func (s *CreateJobInput) SetUserMetadata(v map[string]*string) *CreateJobInput {
+ s.UserMetadata = v
+ return s
+}
+
// The CreateJobOutput structure.
type CreateJobOutput struct {
_ struct{} `type:"structure"`
@@ -2290,7 +2571,7 @@ type CreateJobOutput struct {
// of the file. The Composition object contains settings for the clips that
// make up an output file. For the current release, you can only specify settings
// for a single clip per output file. The Composition object cannot be null.
- Composition []*Clip `type:"list"`
+ Composition []*Clip `deprecated:"true" type:"list"`
// You can specify encryption settings for any output files that you want to
// use for a transcoding job. This includes the output file and any watermarks,
@@ -2314,13 +2595,14 @@ type CreateJobOutput struct {
// transcoding contains rotation metadata.
Rotate *string `type:"string"`
- // (Outputs in Fragmented MP4 or MPEG-TS format only.If you specify a preset
- // in PresetId for which the value of Container is fmp4 (Fragmented MP4) or
- // ts (MPEG-TS), SegmentDuration is the target maximum duration of each segment
- // in seconds. For HLSv3 format playlists, each media segment is stored in a
- // separate .ts file. For HLSv4 and Smooth playlists, all media segments for
- // an output are stored in a single file. Each segment is approximately the
- // length of the SegmentDuration, though individual segments might be shorter
+ // (Outputs in Fragmented MP4 or MPEG-TS format only.
+ //
+ // If you specify a preset in PresetId for which the value of Container is fmp4
+ // (Fragmented MP4) or ts (MPEG-TS), SegmentDuration is the target maximum duration
+ // of each segment in seconds. For HLSv3 format playlists, each media segment
+ // is stored in a separate .ts file. For HLSv4 and Smooth playlists, all media
+ // segments for an output are stored in a single file. Each segment is approximately
+ // the length of the SegmentDuration, though individual segments might be shorter
// or longer.
//
// The range of valid values is 1 to 60 seconds. If the duration of the video
@@ -2354,6 +2636,7 @@ type CreateJobOutput struct {
// If you specify a literal value and/or {resolution} but you omit {count},
// Elastic Transcoder returns a validation error and does not create the
// job.
+ //
// * Literal values (Optional): You can specify literal values anywhere in
// the ThumbnailPattern object. For example, you can include them as a file
// name prefix or as a delimiter between {resolution} and {count}.
@@ -2418,6 +2701,72 @@ func (s *CreateJobOutput) Validate() error {
return nil
}
+// SetAlbumArt sets the AlbumArt field's value.
+func (s *CreateJobOutput) SetAlbumArt(v *JobAlbumArt) *CreateJobOutput {
+ s.AlbumArt = v
+ return s
+}
+
+// SetCaptions sets the Captions field's value.
+func (s *CreateJobOutput) SetCaptions(v *Captions) *CreateJobOutput {
+ s.Captions = v
+ return s
+}
+
+// SetComposition sets the Composition field's value.
+func (s *CreateJobOutput) SetComposition(v []*Clip) *CreateJobOutput {
+ s.Composition = v
+ return s
+}
+
+// SetEncryption sets the Encryption field's value.
+func (s *CreateJobOutput) SetEncryption(v *Encryption) *CreateJobOutput {
+ s.Encryption = v
+ return s
+}
+
+// SetKey sets the Key field's value.
+func (s *CreateJobOutput) SetKey(v string) *CreateJobOutput {
+ s.Key = &v
+ return s
+}
+
+// SetPresetId sets the PresetId field's value.
+func (s *CreateJobOutput) SetPresetId(v string) *CreateJobOutput {
+ s.PresetId = &v
+ return s
+}
+
+// SetRotate sets the Rotate field's value.
+func (s *CreateJobOutput) SetRotate(v string) *CreateJobOutput {
+ s.Rotate = &v
+ return s
+}
+
+// SetSegmentDuration sets the SegmentDuration field's value.
+func (s *CreateJobOutput) SetSegmentDuration(v string) *CreateJobOutput {
+ s.SegmentDuration = &v
+ return s
+}
+
+// SetThumbnailEncryption sets the ThumbnailEncryption field's value.
+func (s *CreateJobOutput) SetThumbnailEncryption(v *Encryption) *CreateJobOutput {
+ s.ThumbnailEncryption = v
+ return s
+}
+
+// SetThumbnailPattern sets the ThumbnailPattern field's value.
+func (s *CreateJobOutput) SetThumbnailPattern(v string) *CreateJobOutput {
+ s.ThumbnailPattern = &v
+ return s
+}
+
+// SetWatermarks sets the Watermarks field's value.
+func (s *CreateJobOutput) SetWatermarks(v []*JobWatermark) *CreateJobOutput {
+ s.Watermarks = v
+ return s
+}
+
// Information about the master playlist.
type CreateJobPlaylist struct {
_ struct{} `type:"structure"`
@@ -2436,10 +2785,10 @@ type CreateJobPlaylist struct {
// you create more than one master playlist, the values of all Name objects
// must be unique.
//
- // Note: Elastic Transcoder automatically appends the relevant file extension
- // to the file name (.m3u8 for HLSv3 and HLSv4 playlists, and .ism and .ismc
- // for Smooth playlists). If you include a file extension in Name, the file
- // name will have two extensions.
+ // Elastic Transcoder automatically appends the relevant file extension to the
+ // file name (.m3u8 for HLSv3 and HLSv4 playlists, and .ism and .ismc for Smooth
+ // playlists). If you include a file extension in Name, the file name will have
+ // two extensions.
Name *string `min:"1" type:"string"`
// For each output in this job that you want to include in a master playlist,
@@ -2513,6 +2862,36 @@ func (s *CreateJobPlaylist) Validate() error {
return nil
}
+// SetFormat sets the Format field's value.
+func (s *CreateJobPlaylist) SetFormat(v string) *CreateJobPlaylist {
+ s.Format = &v
+ return s
+}
+
+// SetHlsContentProtection sets the HlsContentProtection field's value.
+func (s *CreateJobPlaylist) SetHlsContentProtection(v *HlsContentProtection) *CreateJobPlaylist {
+ s.HlsContentProtection = v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *CreateJobPlaylist) SetName(v string) *CreateJobPlaylist {
+ s.Name = &v
+ return s
+}
+
+// SetOutputKeys sets the OutputKeys field's value.
+func (s *CreateJobPlaylist) SetOutputKeys(v []*string) *CreateJobPlaylist {
+ s.OutputKeys = v
+ return s
+}
+
+// SetPlayReadyDrm sets the PlayReadyDrm field's value.
+func (s *CreateJobPlaylist) SetPlayReadyDrm(v *PlayReadyDrm) *CreateJobPlaylist {
+ s.PlayReadyDrm = v
+ return s
+}
+
// The CreateJobResponse structure.
type CreateJobResponse struct {
_ struct{} `type:"structure"`
@@ -2532,6 +2911,12 @@ func (s CreateJobResponse) GoString() string {
return s.String()
}
+// SetJob sets the Job field's value.
+func (s *CreateJobResponse) SetJob(v *Job) *CreateJobResponse {
+ s.Job = v
+ return s
+}
+
// The CreatePipelineRequest structure.
type CreatePipelineInput struct {
_ struct{} `type:"structure"`
@@ -2560,22 +2945,28 @@ type CreatePipelineInput struct {
//
// * Bucket: The Amazon S3 bucket in which you want Elastic Transcoder to
// save transcoded files and playlists.
+ //
// * Permissions (Optional): The Permissions object specifies which users
// you want to have access to transcoded files and the type of access you
// want them to have. You can grant permissions to a maximum of 30 users
// and/or predefined Amazon S3 groups.
+ //
// * Grantee Type: Specify the type of value that appears in the Grantee
- // object: Canonical: The value in the Grantee object is either the canonical
- // user ID for an AWS account or an origin access identity for an Amazon
- // CloudFront distribution. For more information about canonical user IDs,
- // see Access Control List (ACL) Overview in the Amazon Simple Storage Service
- // Developer Guide. For more information about using CloudFront origin access
- // identities to require that users use CloudFront URLs instead of Amazon
- // S3 URLs, see Using an Origin Access Identity to Restrict Access to Your
- // Amazon S3 Content. A canonical user ID is not the same as an AWS account
- // number.
+ // object:
+ //
+ // Canonical: The value in the Grantee object is either the canonical user ID
+ // for an AWS account or an origin access identity for an Amazon CloudFront
+ // distribution. For more information about canonical user IDs, see Access
+ // Control List (ACL) Overview in the Amazon Simple Storage Service Developer
+ // Guide. For more information about using CloudFront origin access identities
+ // to require that users use CloudFront URLs instead of Amazon S3 URLs, see
+ // Using an Origin Access Identity to Restrict Access to Your Amazon S3 Content.
+ //
+ // A canonical user ID is not the same as an AWS account number.
+ //
// Email: The value in the Grantee object is the registered email address of
// an AWS account.
+ //
// Group: The value in the Grantee object is one of the following predefined
// Amazon S3 groups: AllUsers, AuthenticatedUsers, or LogDelivery.
//
@@ -2584,15 +2975,21 @@ type CreatePipelineInput struct {
// canonical user ID for an AWS account, an origin access identity for a
// CloudFront distribution, the registered email address of an AWS account,
// or a predefined Amazon S3 group
+ //
// * Access: The permission that you want to give to the AWS user that you
// specified in Grantee. Permissions are granted on the files that Elastic
// Transcoder adds to the bucket, including playlists and video files. Valid
- // values include: READ: The grantee can read the objects and metadata for
- // objects that Elastic Transcoder adds to the Amazon S3 bucket.
+ // values include:
+ //
+ // READ: The grantee can read the objects and metadata for objects that Elastic
+ // Transcoder adds to the Amazon S3 bucket.
+ //
// READ_ACP: The grantee can read the object ACL for objects that Elastic Transcoder
// adds to the Amazon S3 bucket.
+ //
// WRITE_ACP: The grantee can write the ACL for the objects that Elastic Transcoder
// adds to the Amazon S3 bucket.
+ //
// FULL_CONTROL: The grantee has READ, READ_ACP, and WRITE_ACP permissions for
// the objects that Elastic Transcoder adds to the Amazon S3 bucket.
//
@@ -2619,18 +3016,23 @@ type CreatePipelineInput struct {
// notify to report job status.
//
// To receive notifications, you must also subscribe to the new topic in the
- // Amazon SNS console. * Progressing: The topic ARN for the Amazon Simple Notification Service
+ // Amazon SNS console.
+ //
+ // * Progressing: The topic ARN for the Amazon Simple Notification Service
// (Amazon SNS) topic that you want to notify when Elastic Transcoder has
// started to process a job in this pipeline. This is the ARN that Amazon
// SNS returned when you created the topic. For more information, see Create
// a Topic in the Amazon Simple Notification Service Developer Guide.
+ //
// * Completed: The topic ARN for the Amazon SNS topic that you want to notify
// when Elastic Transcoder has finished processing a job in this pipeline.
// This is the ARN that Amazon SNS returned when you created the topic.
+ //
// * Warning: The topic ARN for the Amazon SNS topic that you want to notify
// when Elastic Transcoder encounters a warning condition while processing
// a job in this pipeline. This is the ARN that Amazon SNS returned when
// you created the topic.
+ //
// * Error: The topic ARN for the Amazon SNS topic that you want to notify
// when Elastic Transcoder encounters an error condition while processing
// a job in this pipeline. This is the ARN that Amazon SNS returned when
@@ -2640,17 +3042,23 @@ type CreatePipelineInput struct {
// The Amazon S3 bucket in which you want Elastic Transcoder to save the transcoded
// files. (Use this, or use ContentConfig:Bucket plus ThumbnailConfig:Bucket.)
//
- // Specify this value when all of the following are true: You want to save transcoded
- // files, thumbnails (if any), and playlists (if any) together in one bucket.
+ // Specify this value when all of the following are true:
+ //
+ // * You want to save transcoded files, thumbnails (if any), and playlists
+ // (if any) together in one bucket.
+ //
+ // * You do not want to specify the users or groups who have access to the
+ // transcoded files, thumbnails, and playlists.
+ //
+ // * You do not want to specify the permissions that Elastic Transcoder grants
+ // to the files.
//
- // You do not want to specify the users or groups who have access to the transcoded
- // files, thumbnails, and playlists.
- // You do not want to specify the permissions that Elastic Transcoder grants
- // to the files. When Elastic Transcoder saves files in OutputBucket, it grants
- // full control over the files only to the AWS account that owns the role that
- // is specified by Role.
- // You want to associate the transcoded files and thumbnails with the Amazon
- // S3 Standard storage class.
+ // When Elastic Transcoder saves files in OutputBucket, it grants full control
+ // over the files only to the AWS account that owns the role that is specified
+ // by Role.
+ //
+ // * You want to associate the transcoded files and thumbnails with the Amazon
+ // S3 Standard storage class.
//
// If you want to save transcoded files and playlists in one bucket and thumbnails
// in another bucket, specify which users can access the transcoded files or
@@ -2677,17 +3085,24 @@ type CreatePipelineInput struct {
//
// * Bucket: The Amazon S3 bucket in which you want Elastic Transcoder to
// save thumbnail files.
+ //
// * Permissions (Optional): The Permissions object specifies which users
// and/or predefined Amazon S3 groups you want to have access to thumbnail
// files, and the type of access you want them to have. You can grant permissions
// to a maximum of 30 users and/or predefined Amazon S3 groups.
+ //
// * GranteeType: Specify the type of value that appears in the Grantee object:
- // Canonical: The value in the Grantee object is either the canonical user
- // ID for an AWS account or an origin access identity for an Amazon CloudFront
- // distribution. A canonical user ID is not the same as an AWS account number.
+ //
+ //
+ // Canonical: The value in the Grantee object is either the canonical user ID
+ // for an AWS account or an origin access identity for an Amazon CloudFront
+ // distribution.
+ //
+ // A canonical user ID is not the same as an AWS account number.
//
// Email: The value in the Grantee object is the registered email address of
// an AWS account.
+ //
// Group: The value in the Grantee object is one of the following predefined
// Amazon S3 groups: AllUsers, AuthenticatedUsers, or LogDelivery.
//
@@ -2696,15 +3111,20 @@ type CreatePipelineInput struct {
// ID for an AWS account, an origin access identity for a CloudFront distribution,
// the registered email address of an AWS account, or a predefined Amazon
// S3 group.
+ //
// * Access: The permission that you want to give to the AWS user that you
// specified in Grantee. Permissions are granted on the thumbnail files that
- // Elastic Transcoder adds to the bucket. Valid values include: READ: The
- // grantee can read the thumbnails and metadata for objects that Elastic
+ // Elastic Transcoder adds to the bucket. Valid values include:
+ //
+ // READ: The grantee can read the thumbnails and metadata for objects that Elastic
// Transcoder adds to the Amazon S3 bucket.
+ //
// READ_ACP: The grantee can read the object ACL for thumbnails that Elastic
// Transcoder adds to the Amazon S3 bucket.
+ //
// WRITE_ACP: The grantee can write the ACL for the thumbnails that Elastic
// Transcoder adds to the Amazon S3 bucket.
+ //
// FULL_CONTROL: The grantee has READ, READ_ACP, and WRITE_ACP permissions for
// the thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.
//
@@ -2756,6 +3176,54 @@ func (s *CreatePipelineInput) Validate() error {
return nil
}
+// SetAwsKmsKeyArn sets the AwsKmsKeyArn field's value.
+func (s *CreatePipelineInput) SetAwsKmsKeyArn(v string) *CreatePipelineInput {
+ s.AwsKmsKeyArn = &v
+ return s
+}
+
+// SetContentConfig sets the ContentConfig field's value.
+func (s *CreatePipelineInput) SetContentConfig(v *PipelineOutputConfig) *CreatePipelineInput {
+ s.ContentConfig = v
+ return s
+}
+
+// SetInputBucket sets the InputBucket field's value.
+func (s *CreatePipelineInput) SetInputBucket(v string) *CreatePipelineInput {
+ s.InputBucket = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *CreatePipelineInput) SetName(v string) *CreatePipelineInput {
+ s.Name = &v
+ return s
+}
+
+// SetNotifications sets the Notifications field's value.
+func (s *CreatePipelineInput) SetNotifications(v *Notifications) *CreatePipelineInput {
+ s.Notifications = v
+ return s
+}
+
+// SetOutputBucket sets the OutputBucket field's value.
+func (s *CreatePipelineInput) SetOutputBucket(v string) *CreatePipelineInput {
+ s.OutputBucket = &v
+ return s
+}
+
+// SetRole sets the Role field's value.
+func (s *CreatePipelineInput) SetRole(v string) *CreatePipelineInput {
+ s.Role = &v
+ return s
+}
+
+// SetThumbnailConfig sets the ThumbnailConfig field's value.
+func (s *CreatePipelineInput) SetThumbnailConfig(v *PipelineOutputConfig) *CreatePipelineInput {
+ s.ThumbnailConfig = v
+ return s
+}
+
// When you create a pipeline, Elastic Transcoder returns the values that you
// specified in the request.
type CreatePipelineOutput struct {
@@ -2784,6 +3252,18 @@ func (s CreatePipelineOutput) GoString() string {
return s.String()
}
+// SetPipeline sets the Pipeline field's value.
+func (s *CreatePipelineOutput) SetPipeline(v *Pipeline) *CreatePipelineOutput {
+ s.Pipeline = v
+ return s
+}
+
+// SetWarnings sets the Warnings field's value.
+func (s *CreatePipelineOutput) SetWarnings(v []*Warning) *CreatePipelineOutput {
+ s.Warnings = v
+ return s
+}
+
// The CreatePresetRequest structure.
type CreatePresetInput struct {
_ struct{} `type:"structure"`
@@ -2848,6 +3328,42 @@ func (s *CreatePresetInput) Validate() error {
return nil
}
+// SetAudio sets the Audio field's value.
+func (s *CreatePresetInput) SetAudio(v *AudioParameters) *CreatePresetInput {
+ s.Audio = v
+ return s
+}
+
+// SetContainer sets the Container field's value.
+func (s *CreatePresetInput) SetContainer(v string) *CreatePresetInput {
+ s.Container = &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
+}
+
+// SetThumbnails sets the Thumbnails field's value.
+func (s *CreatePresetInput) SetThumbnails(v *Thumbnails) *CreatePresetInput {
+ s.Thumbnails = v
+ return s
+}
+
+// SetVideo sets the Video field's value.
+func (s *CreatePresetInput) SetVideo(v *VideoParameters) *CreatePresetInput {
+ s.Video = v
+ return s
+}
+
// The CreatePresetResponse structure.
type CreatePresetOutput struct {
_ struct{} `type:"structure"`
@@ -2873,6 +3389,18 @@ 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
+}
+
+// SetWarning sets the Warning field's value.
+func (s *CreatePresetOutput) SetWarning(v string) *CreatePresetOutput {
+ s.Warning = &v
+ return s
+}
+
// The DeletePipelineRequest structure.
type DeletePipelineInput struct {
_ struct{} `type:"structure"`
@@ -2906,6 +3434,12 @@ func (s *DeletePipelineInput) Validate() error {
return nil
}
+// SetId sets the Id field's value.
+func (s *DeletePipelineInput) SetId(v string) *DeletePipelineInput {
+ s.Id = &v
+ return s
+}
+
// The DeletePipelineResponse structure.
type DeletePipelineOutput struct {
_ struct{} `type:"structure"`
@@ -2954,6 +3488,12 @@ func (s *DeletePresetInput) Validate() error {
return nil
}
+// SetId sets the Id field's value.
+func (s *DeletePresetInput) SetId(v string) *DeletePresetInput {
+ s.Id = &v
+ return s
+}
+
// The DeletePresetResponse structure.
type DeletePresetOutput struct {
_ struct{} `type:"structure"`
@@ -3000,9 +3540,39 @@ func (s DetectedProperties) GoString() string {
return s.String()
}
+// SetDurationMillis sets the DurationMillis field's value.
+func (s *DetectedProperties) SetDurationMillis(v int64) *DetectedProperties {
+ s.DurationMillis = &v
+ return s
+}
+
+// SetFileSize sets the FileSize field's value.
+func (s *DetectedProperties) SetFileSize(v int64) *DetectedProperties {
+ s.FileSize = &v
+ return s
+}
+
+// SetFrameRate sets the FrameRate field's value.
+func (s *DetectedProperties) SetFrameRate(v string) *DetectedProperties {
+ s.FrameRate = &v
+ return s
+}
+
+// SetHeight sets the Height field's value.
+func (s *DetectedProperties) SetHeight(v int64) *DetectedProperties {
+ s.Height = &v
+ return s
+}
+
+// SetWidth sets the Width field's value.
+func (s *DetectedProperties) SetWidth(v int64) *DetectedProperties {
+ s.Width = &v
+ return s
+}
+
// The encryption settings, if any, that are used for decrypting your input
// files or encrypting your output files. If your input file is encrypted, you
-// must specify the mode that Elastic Transcoder will use to decrypt your file,
+// must specify the mode that Elastic Transcoder uses to decrypt your file,
// otherwise you must specify the mode you want Elastic Transcoder to use to
// encrypt your output files.
type Encryption struct {
@@ -3051,7 +3621,7 @@ type Encryption struct {
//
// * AES-GCM: AES Galois Counter Mode, a mode of operation that is an authenticated
// encryption format, meaning that a file, key, or initialization vector
- // that has been tampered with will fail the decryption process.
+ // that has been tampered with fails the decryption process.
//
// For all three AES options, you must provide the following settings, which
// must be base64-encoded:
@@ -3079,6 +3649,30 @@ func (s Encryption) GoString() string {
return s.String()
}
+// SetInitializationVector sets the InitializationVector field's value.
+func (s *Encryption) SetInitializationVector(v string) *Encryption {
+ s.InitializationVector = &v
+ return s
+}
+
+// SetKey sets the Key field's value.
+func (s *Encryption) SetKey(v string) *Encryption {
+ s.Key = &v
+ return s
+}
+
+// SetKeyMd5 sets the KeyMd5 field's value.
+func (s *Encryption) SetKeyMd5(v string) *Encryption {
+ s.KeyMd5 = &v
+ return s
+}
+
+// SetMode sets the Mode field's value.
+func (s *Encryption) SetMode(v string) *Encryption {
+ s.Mode = &v
+ return s
+}
+
// The HLS content protection settings, if any, that you want Elastic Transcoder
// to apply to your output files.
type HlsContentProtection struct {
@@ -3125,7 +3719,7 @@ type HlsContentProtection struct {
// The content protection method for your output. The only valid value is: aes-128.
//
- // This value will be written into the method attribute of the EXT-X-KEY metadata
+ // This value is written into the method attribute of the EXT-X-KEY metadata
// tag in the output playlist.
Method *string `type:"string"`
}
@@ -3140,6 +3734,114 @@ func (s HlsContentProtection) GoString() string {
return s.String()
}
+// SetInitializationVector sets the InitializationVector field's value.
+func (s *HlsContentProtection) SetInitializationVector(v string) *HlsContentProtection {
+ s.InitializationVector = &v
+ return s
+}
+
+// SetKey sets the Key field's value.
+func (s *HlsContentProtection) SetKey(v string) *HlsContentProtection {
+ s.Key = &v
+ return s
+}
+
+// SetKeyMd5 sets the KeyMd5 field's value.
+func (s *HlsContentProtection) SetKeyMd5(v string) *HlsContentProtection {
+ s.KeyMd5 = &v
+ return s
+}
+
+// SetKeyStoragePolicy sets the KeyStoragePolicy field's value.
+func (s *HlsContentProtection) SetKeyStoragePolicy(v string) *HlsContentProtection {
+ s.KeyStoragePolicy = &v
+ return s
+}
+
+// SetLicenseAcquisitionUrl sets the LicenseAcquisitionUrl field's value.
+func (s *HlsContentProtection) SetLicenseAcquisitionUrl(v string) *HlsContentProtection {
+ s.LicenseAcquisitionUrl = &v
+ return s
+}
+
+// SetMethod sets the Method field's value.
+func (s *HlsContentProtection) SetMethod(v string) *HlsContentProtection {
+ s.Method = &v
+ return s
+}
+
+// The captions to be created, if any.
+type InputCaptions struct {
+ _ struct{} `type:"structure"`
+
+ // Source files for the input sidecar captions used during the transcoding process.
+ // To omit all sidecar captions, leave CaptionSources blank.
+ CaptionSources []*CaptionSource `type:"list"`
+
+ // A policy that determines how Elastic Transcoder handles the existence of
+ // multiple captions.
+ //
+ // * MergeOverride: Elastic Transcoder transcodes both embedded and sidecar
+ // captions into outputs. If captions for a language are embedded in the
+ // input file and also appear in a sidecar file, Elastic Transcoder uses
+ // the sidecar captions and ignores the embedded captions for that language.
+ //
+ // * MergeRetain: Elastic Transcoder transcodes both embedded and sidecar
+ // captions into outputs. If captions for a language are embedded in the
+ // input file and also appear in a sidecar file, Elastic Transcoder uses
+ // the embedded captions and ignores the sidecar captions for that language.
+ // If CaptionSources is empty, Elastic Transcoder omits all sidecar captions
+ // from the output files.
+ //
+ // * Override: Elastic Transcoder transcodes only the sidecar captions that
+ // you specify in CaptionSources.
+ //
+ // MergePolicy cannot be null.
+ MergePolicy *string `type:"string"`
+}
+
+// String returns the string representation
+func (s InputCaptions) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s InputCaptions) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *InputCaptions) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "InputCaptions"}
+ if s.CaptionSources != nil {
+ for i, v := range s.CaptionSources {
+ if v == nil {
+ continue
+ }
+ if err := v.Validate(); err != nil {
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "CaptionSources", i), err.(request.ErrInvalidParams))
+ }
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetCaptionSources sets the CaptionSources field's value.
+func (s *InputCaptions) SetCaptionSources(v []*CaptionSource) *InputCaptions {
+ s.CaptionSources = v
+ return s
+}
+
+// SetMergePolicy sets the MergePolicy field's value.
+func (s *InputCaptions) SetMergePolicy(v string) *InputCaptions {
+ s.MergePolicy = &v
+ return s
+}
+
// A section of the response body that provides information about the job that
// is created.
type Job struct {
@@ -3156,13 +3858,20 @@ type Job struct {
// the file that is being transcoded.
Input *JobInput `type:"structure"`
+ // Information about the files that you're transcoding. If you specified multiple
+ // files for this job, Elastic Transcoder stitches the files together to make
+ // one output.
+ Inputs []*JobInput `type:"list"`
+
// If you specified one output for a job, information about that output. If
// you specified multiple outputs for a job, the Output object lists information
// about the first output. This duplicates the information that is listed for
// the first output in the Outputs object.
//
- // Outputs recommended instead. A section of the request or response body that
- // provides information about the transcoded (target) file.
+ // Outputs recommended instead.
+ //
+ // A section of the request or response body that provides information about
+ // the transcoded (target) file.
Output *JobOutput `type:"structure"`
// The value, if any, that you want Elastic Transcoder to prepend to the names
@@ -3186,10 +3895,11 @@ type Job struct {
// into which Elastic Transcoder puts the transcoded files.
PipelineId *string `type:"string"`
- // Outputs in Fragmented MP4 or MPEG-TS format only.If you specify a preset
- // in PresetId for which the value of Container is fmp4 (Fragmented MP4) or
- // ts (MPEG-TS), Playlists contains information about the master playlists that
- // you want Elastic Transcoder to create.
+ // Outputs in Fragmented MP4 or MPEG-TS format only.
+ //
+ // If you specify a preset in PresetId for which the value of Container is fmp4
+ // (Fragmented MP4) or ts (MPEG-TS), Playlists contains information about the
+ // master playlists that you want Elastic Transcoder to create.
//
// The maximum number of master playlists in a job is 30.
Playlists []*Playlist `type:"list"`
@@ -3203,7 +3913,7 @@ type Job struct {
// User-defined metadata that you want to associate with an Elastic Transcoder
// job. You specify metadata in key/value pairs, and you can add up to 10 key/value
// pairs per job. Elastic Transcoder does not guarantee that key/value pairs
- // will be returned in the same order in which you specify them.
+ // are returned in the same order in which you specify them.
//
// Metadata keys and values must use characters from the following list:
//
@@ -3227,6 +3937,78 @@ 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
+}
+
+// SetId sets the Id field's value.
+func (s *Job) SetId(v string) *Job {
+ s.Id = &v
+ return s
+}
+
+// SetInput sets the Input field's value.
+func (s *Job) SetInput(v *JobInput) *Job {
+ s.Input = v
+ return s
+}
+
+// SetInputs sets the Inputs field's value.
+func (s *Job) SetInputs(v []*JobInput) *Job {
+ s.Inputs = v
+ return s
+}
+
+// SetOutput sets the Output field's value.
+func (s *Job) SetOutput(v *JobOutput) *Job {
+ s.Output = v
+ return s
+}
+
+// SetOutputKeyPrefix sets the OutputKeyPrefix field's value.
+func (s *Job) SetOutputKeyPrefix(v string) *Job {
+ s.OutputKeyPrefix = &v
+ return s
+}
+
+// SetOutputs sets the Outputs field's value.
+func (s *Job) SetOutputs(v []*JobOutput) *Job {
+ s.Outputs = v
+ return s
+}
+
+// SetPipelineId sets the PipelineId field's value.
+func (s *Job) SetPipelineId(v string) *Job {
+ s.PipelineId = &v
+ return s
+}
+
+// SetPlaylists sets the Playlists field's value.
+func (s *Job) SetPlaylists(v []*Playlist) *Job {
+ s.Playlists = 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
+}
+
// The .jpg or .png file associated with an audio file.
type JobAlbumArt struct {
_ struct{} `type:"structure"`
@@ -3235,17 +4017,19 @@ type JobAlbumArt struct {
// with an audio file, to a maximum of 20. Valid formats are .jpg and .png
Artwork []*Artwork `type:"list"`
- // A policy that determines how Elastic Transcoder will handle the existence
- // of multiple album artwork files.
+ // A policy that determines how Elastic Transcoder handles the existence of
+ // multiple album artwork files.
+ //
+ // * Replace: The specified album art replaces any existing album art.
//
- // Replace: The specified album art will replace any existing album art.
- // Prepend: The specified album art will be placed in front of any existing
- // album art.
- // Append: The specified album art will be placed after any existing album art.
+ // * Prepend: The specified album art is placed in front of any existing
+ // album art.
//
- // Fallback: If the original input file contains artwork, Elastic Transcoder
- // will use that artwork for the output. If the original input does not contain
- // artwork, Elastic Transcoder will use the specified album art file.
+ // * Append: The specified album art is placed after any existing album art.
+ //
+ // * Fallback: If the original input file contains artwork, Elastic Transcoder
+ // uses that artwork for the output. If the original input does not contain
+ // artwork, Elastic Transcoder uses the specified album art file.
MergePolicy *string `type:"string"`
}
@@ -3279,6 +4063,18 @@ func (s *JobAlbumArt) Validate() error {
return nil
}
+// SetArtwork sets the Artwork field's value.
+func (s *JobAlbumArt) SetArtwork(v []*Artwork) *JobAlbumArt {
+ s.Artwork = v
+ return s
+}
+
+// SetMergePolicy sets the MergePolicy field's value.
+func (s *JobAlbumArt) SetMergePolicy(v string) *JobAlbumArt {
+ s.MergePolicy = &v
+ return s
+}
+
// Information about the file that you're transcoding.
type JobInput struct {
_ struct{} `type:"structure"`
@@ -3307,7 +4103,7 @@ type JobInput struct {
// The encryption settings, if any, that are used for decrypting your input
// files. If your input file is encrypted, you must specify the mode that Elastic
- // Transcoder will use to decrypt your file.
+ // Transcoder uses to decrypt your file.
Encryption *Encryption `type:"structure"`
// The frame rate of the input file. If you want Elastic Transcoder to automatically
@@ -3320,6 +4116,50 @@ type JobInput struct {
// detection of the frame rate.
FrameRate *string `type:"string"`
+ // You can configure Elastic Transcoder to transcode captions, or subtitles,
+ // from one format to another. All captions must be in UTF-8. Elastic Transcoder
+ // supports two types of captions:
+ //
+ // * Embedded: Embedded captions are included in the same file as the audio
+ // and video. Elastic Transcoder supports only one embedded caption per language,
+ // to a maximum of 300 embedded captions per file.
+ //
+ // Valid input values include: CEA-608 (EIA-608, first non-empty channel only),
+ // CEA-708 (EIA-708, first non-empty channel only), and mov-text
+ //
+ // Valid outputs include: mov-text
+ //
+ // Elastic Transcoder supports a maximum of one embedded format per output.
+ //
+ // * Sidecar: Sidecar captions are kept in a separate metadata file from
+ // the audio and video data. Sidecar captions require a player that is capable
+ // of understanding the relationship between the video file and the sidecar
+ // file. Elastic Transcoder supports only one sidecar caption per language,
+ // to a maximum of 20 sidecar captions per file.
+ //
+ // Valid input values include: dfxp (first div element only), ebu-tt, scc, smpt,
+ // srt, ttml (first div element only), and webvtt
+ //
+ // Valid outputs include: dfxp (first div element only), scc, srt, and webvtt.
+ //
+ // If you want ttml or smpte-tt compatible captions, specify dfxp as your output
+ // format.
+ //
+ // Elastic Transcoder does not support OCR (Optical Character Recognition),
+ // does not accept pictures as a valid input for captions, and is not available
+ // for audio-only transcoding. Elastic Transcoder does not preserve text formatting
+ // (for example, italics) during the transcoding process.
+ //
+ // To remove captions or leave the captions empty, set Captions to null. To
+ // pass through existing captions unchanged, set the MergePolicy to MergeRetain,
+ // and pass in a null CaptionSources array.
+ //
+ // For more information on embedded files, see the Subtitles Wikipedia page.
+ //
+ // For more information on sidecar files, see the Extensible Metadata Platform
+ // and Sidecar file Wikipedia pages.
+ InputCaptions *InputCaptions `type:"structure"`
+
// Whether the input file is interlaced. If you want Elastic Transcoder to automatically
// detect whether the input file is interlaced, specify auto. If you want to
// specify whether the input file is interlaced, enter one of the following
@@ -3344,6 +4184,9 @@ type JobInput struct {
// This value must be auto, which causes Elastic Transcoder to automatically
// detect the resolution of the input file.
Resolution *string `type:"string"`
+
+ // Settings for clipping an input. Each input can have different clip settings.
+ TimeSpan *TimeSpan `type:"structure"`
}
// String returns the string representation
@@ -3362,6 +4205,11 @@ func (s *JobInput) Validate() error {
if s.Key != nil && len(*s.Key) < 1 {
invalidParams.Add(request.NewErrParamMinLen("Key", 1))
}
+ if s.InputCaptions != nil {
+ if err := s.InputCaptions.Validate(); err != nil {
+ invalidParams.AddNested("InputCaptions", err.(request.ErrInvalidParams))
+ }
+ }
if invalidParams.Len() > 0 {
return invalidParams
@@ -3369,10 +4217,72 @@ func (s *JobInput) Validate() error {
return nil
}
-// Outputs recommended instead.If you specified one output for a job, information
-// about that output. If you specified multiple outputs for a job, the Output
-// object lists information about the first output. This duplicates the information
-// that is listed for the first output in the Outputs object.
+// SetAspectRatio sets the AspectRatio field's value.
+func (s *JobInput) SetAspectRatio(v string) *JobInput {
+ s.AspectRatio = &v
+ return s
+}
+
+// SetContainer sets the Container field's value.
+func (s *JobInput) SetContainer(v string) *JobInput {
+ s.Container = &v
+ return s
+}
+
+// SetDetectedProperties sets the DetectedProperties field's value.
+func (s *JobInput) SetDetectedProperties(v *DetectedProperties) *JobInput {
+ s.DetectedProperties = v
+ return s
+}
+
+// SetEncryption sets the Encryption field's value.
+func (s *JobInput) SetEncryption(v *Encryption) *JobInput {
+ s.Encryption = v
+ return s
+}
+
+// SetFrameRate sets the FrameRate field's value.
+func (s *JobInput) SetFrameRate(v string) *JobInput {
+ s.FrameRate = &v
+ return s
+}
+
+// SetInputCaptions sets the InputCaptions field's value.
+func (s *JobInput) SetInputCaptions(v *InputCaptions) *JobInput {
+ s.InputCaptions = v
+ return s
+}
+
+// SetInterlaced sets the Interlaced field's value.
+func (s *JobInput) SetInterlaced(v string) *JobInput {
+ s.Interlaced = &v
+ return s
+}
+
+// SetKey sets the Key field's value.
+func (s *JobInput) SetKey(v string) *JobInput {
+ s.Key = &v
+ return s
+}
+
+// SetResolution sets the Resolution field's value.
+func (s *JobInput) SetResolution(v string) *JobInput {
+ s.Resolution = &v
+ return s
+}
+
+// SetTimeSpan sets the TimeSpan field's value.
+func (s *JobInput) SetTimeSpan(v *TimeSpan) *JobInput {
+ s.TimeSpan = v
+ return s
+}
+
+// Outputs recommended instead.
+//
+// If you specified one output for a job, information about that output. If
+// you specified multiple outputs for a job, the Output object lists information
+// about the first output. This duplicates the information that is listed for
+// the first output in the Outputs object.
type JobOutput struct {
_ struct{} `type:"structure"`
@@ -3382,7 +4292,7 @@ type JobOutput struct {
// If Elastic Transcoder used a preset with a ColorSpaceConversionMode to transcode
// the output file, the AppliedColorSpaceConversion parameter shows the conversion
// used. If no ColorSpaceConversionMode was defined in the preset, this parameter
- // will not be included in the job response.
+ // is not be included in the job response.
AppliedColorSpaceConversion *string `type:"string"`
// You can configure Elastic Transcoder to transcode captions, or subtitles,
@@ -3434,7 +4344,7 @@ type JobOutput struct {
// of the file. The Composition object contains settings for the clips that
// make up an output file. For the current release, you can only specify settings
// for a single clip per output file. The Composition object cannot be null.
- Composition []*Clip `type:"list"`
+ Composition []*Clip `deprecated:"true" type:"list"`
// Duration of the output file, in seconds.
Duration *int64 `type:"long"`
@@ -3444,8 +4354,8 @@ type JobOutput struct {
// The encryption settings, if any, that you want Elastic Transcoder to apply
// to your output files. If you choose to use encryption, you must specify a
- // mode to use. If you choose not to use encryption, Elastic Transcoder will
- // write an unencrypted file to your Amazon S3 bucket.
+ // mode to use. If you choose not to use encryption, Elastic Transcoder writes
+ // an unencrypted file to your Amazon S3 bucket.
Encryption *Encryption `type:"structure"`
// File size of the output file, in bytes.
@@ -3484,14 +4394,15 @@ type JobOutput struct {
// rotation metadata.
Rotate *string `type:"string"`
- // (Outputs in Fragmented MP4 or MPEG-TS format only.If you specify a preset
- // in PresetId for which the value of Container is fmp4 (Fragmented MP4) or
- // ts (MPEG-TS), SegmentDuration is the target maximum duration of each segment
- // in seconds. For HLSv3 format playlists, each media segment is stored in a
- // separate .ts file. For HLSv4 and Smooth playlists, all media segments for
- // an output are stored in a single file. Each segment is approximately the
- // length of the SegmentDuration, though individual segments might be shorter
- // or longer.
+ // (Outputs in Fragmented MP4 or MPEG-TS format only.
+ //
+ // If you specify a preset in PresetId for which the value of Container is fmp4
+ // (Fragmented MP4) or ts (MPEG-TS), SegmentDuration is the target maximum duration
+ // of each segment in seconds. For HLSv3 format playlists, each media segment
+ // is stored in a separate .ts file. For HLSv4, MPEG-DASH, and Smooth playlists,
+ // all media segments for an output are stored in a single file. Each segment
+ // is approximately the length of the SegmentDuration, though individual segments
+ // might be shorter or longer.
//
// The range of valid values is 1 to 60 seconds. If the duration of the video
// is not evenly divisible by SegmentDuration, the duration of the last segment
@@ -3504,19 +4415,25 @@ type JobOutput struct {
// The status of one output in a job. If you specified only one output for the
// job, Outputs:Status is always the same as Job:Status. If you specified more
- // than one output: Job:Status and Outputs:Status for all of the outputs is
- // Submitted until Elastic Transcoder starts to process the first output.
- // When Elastic Transcoder starts to process the first output, Outputs:Status
- // for that output and Job:Status both change to Progressing. For each output,
- // the value of Outputs:Status remains Submitted until Elastic Transcoder starts
- // to process the output.
- // Job:Status remains Progressing until all of the outputs reach a terminal
- // status, either Complete or Error.
- // When all of the outputs reach a terminal status, Job:Status changes to Complete
- // only if Outputs:Status for all of the outputs is Complete. If Outputs:Status
- // for one or more outputs is Error, the terminal status for Job:Status is also
- // Error.
- // The value of Status is one of the following: Submitted, Progressing, Complete,
+ // than one output:
+ //
+ // * Job:Status and Outputs:Status for all of the outputs is Submitted until
+ // Elastic Transcoder starts to process the first output.
+ //
+ // * When Elastic Transcoder starts to process the first output, Outputs:Status
+ // for that output and Job:Status both change to Progressing. For each output,
+ // the value of Outputs:Status remains Submitted until Elastic Transcoder
+ // starts to process the output.
+ //
+ // * Job:Status remains Progressing until all of the outputs reach a terminal
+ // status, either Complete or Error.
+ //
+ // * When all of the outputs reach a terminal status, Job:Status changes
+ // to Complete only if Outputs:Status for all of the outputs is Complete.
+ // If Outputs:Status for one or more outputs is Error, the terminal status
+ // for Job:Status is also Error.
+ //
+ // The value of Status is one of the following: Submitted, Progressing, Complete,
// Canceled, or Error.
Status *string `type:"string"`
@@ -3545,6 +4462,7 @@ type JobOutput struct {
// If you specify a literal value and/or {resolution} but you omit {count},
// Elastic Transcoder returns a validation error and does not create the
// job.
+ //
// * Literal values (Optional): You can specify literal values anywhere in
// the ThumbnailPattern object. For example, you can include them as a file
// name prefix or as a delimiter between {resolution} and {count}.
@@ -3568,9 +4486,9 @@ type JobOutput struct {
// them in the job output—the first watermark in the list is added to the output
// video first, the second watermark in the list is added next, and so on. As
// a result, if the settings in a preset cause Elastic Transcoder to place all
- // watermarks in the same location, the second watermark that you add will cover
- // the first one, the third one will cover the second, and the fourth one will
- // cover the third.
+ // watermarks in the same location, the second watermark that you add covers
+ // the first one, the third one covers the second, and the fourth one covers
+ // the third.
Watermarks []*JobWatermark `type:"list"`
// Specifies the width of the output file in pixels.
@@ -3587,6 +4505,132 @@ func (s JobOutput) GoString() string {
return s.String()
}
+// SetAlbumArt sets the AlbumArt field's value.
+func (s *JobOutput) SetAlbumArt(v *JobAlbumArt) *JobOutput {
+ s.AlbumArt = v
+ return s
+}
+
+// SetAppliedColorSpaceConversion sets the AppliedColorSpaceConversion field's value.
+func (s *JobOutput) SetAppliedColorSpaceConversion(v string) *JobOutput {
+ s.AppliedColorSpaceConversion = &v
+ return s
+}
+
+// SetCaptions sets the Captions field's value.
+func (s *JobOutput) SetCaptions(v *Captions) *JobOutput {
+ s.Captions = v
+ return s
+}
+
+// SetComposition sets the Composition field's value.
+func (s *JobOutput) SetComposition(v []*Clip) *JobOutput {
+ s.Composition = v
+ return s
+}
+
+// SetDuration sets the Duration field's value.
+func (s *JobOutput) SetDuration(v int64) *JobOutput {
+ s.Duration = &v
+ return s
+}
+
+// SetDurationMillis sets the DurationMillis field's value.
+func (s *JobOutput) SetDurationMillis(v int64) *JobOutput {
+ s.DurationMillis = &v
+ return s
+}
+
+// SetEncryption sets the Encryption field's value.
+func (s *JobOutput) SetEncryption(v *Encryption) *JobOutput {
+ s.Encryption = v
+ return s
+}
+
+// SetFileSize sets the FileSize field's value.
+func (s *JobOutput) SetFileSize(v int64) *JobOutput {
+ s.FileSize = &v
+ return s
+}
+
+// SetFrameRate sets the FrameRate field's value.
+func (s *JobOutput) SetFrameRate(v string) *JobOutput {
+ s.FrameRate = &v
+ return s
+}
+
+// SetHeight sets the Height field's value.
+func (s *JobOutput) SetHeight(v int64) *JobOutput {
+ s.Height = &v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *JobOutput) SetId(v string) *JobOutput {
+ s.Id = &v
+ return s
+}
+
+// SetKey sets the Key field's value.
+func (s *JobOutput) SetKey(v string) *JobOutput {
+ s.Key = &v
+ return s
+}
+
+// SetPresetId sets the PresetId field's value.
+func (s *JobOutput) SetPresetId(v string) *JobOutput {
+ s.PresetId = &v
+ return s
+}
+
+// SetRotate sets the Rotate field's value.
+func (s *JobOutput) SetRotate(v string) *JobOutput {
+ s.Rotate = &v
+ return s
+}
+
+// SetSegmentDuration sets the SegmentDuration field's value.
+func (s *JobOutput) SetSegmentDuration(v string) *JobOutput {
+ s.SegmentDuration = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *JobOutput) SetStatus(v string) *JobOutput {
+ s.Status = &v
+ return s
+}
+
+// SetStatusDetail sets the StatusDetail field's value.
+func (s *JobOutput) SetStatusDetail(v string) *JobOutput {
+ s.StatusDetail = &v
+ return s
+}
+
+// SetThumbnailEncryption sets the ThumbnailEncryption field's value.
+func (s *JobOutput) SetThumbnailEncryption(v *Encryption) *JobOutput {
+ s.ThumbnailEncryption = v
+ return s
+}
+
+// SetThumbnailPattern sets the ThumbnailPattern field's value.
+func (s *JobOutput) SetThumbnailPattern(v string) *JobOutput {
+ s.ThumbnailPattern = &v
+ return s
+}
+
+// SetWatermarks sets the Watermarks field's value.
+func (s *JobOutput) SetWatermarks(v []*JobWatermark) *JobOutput {
+ s.Watermarks = v
+ return s
+}
+
+// SetWidth sets the Width field's value.
+func (s *JobOutput) SetWidth(v int64) *JobOutput {
+ s.Width = &v
+ return s
+}
+
// Watermarks can be in .png or .jpg format. If you want to display a watermark
// that is not rectangular, use the .png format, which supports transparency.
type JobWatermark struct {
@@ -3639,6 +4683,24 @@ func (s *JobWatermark) Validate() error {
return nil
}
+// SetEncryption sets the Encryption field's value.
+func (s *JobWatermark) SetEncryption(v *Encryption) *JobWatermark {
+ s.Encryption = v
+ return s
+}
+
+// SetInputKey sets the InputKey field's value.
+func (s *JobWatermark) SetInputKey(v string) *JobWatermark {
+ s.InputKey = &v
+ return s
+}
+
+// SetPresetWatermarkId sets the PresetWatermarkId field's value.
+func (s *JobWatermark) SetPresetWatermarkId(v string) *JobWatermark {
+ s.PresetWatermarkId = &v
+ return s
+}
+
// The ListJobsByPipelineRequest structure.
type ListJobsByPipelineInput struct {
_ struct{} `type:"structure"`
@@ -3680,6 +4742,24 @@ func (s *ListJobsByPipelineInput) Validate() error {
return nil
}
+// SetAscending sets the Ascending field's value.
+func (s *ListJobsByPipelineInput) SetAscending(v string) *ListJobsByPipelineInput {
+ s.Ascending = &v
+ return s
+}
+
+// SetPageToken sets the PageToken field's value.
+func (s *ListJobsByPipelineInput) SetPageToken(v string) *ListJobsByPipelineInput {
+ s.PageToken = &v
+ return s
+}
+
+// SetPipelineId sets the PipelineId field's value.
+func (s *ListJobsByPipelineInput) SetPipelineId(v string) *ListJobsByPipelineInput {
+ s.PipelineId = &v
+ return s
+}
+
// The ListJobsByPipelineResponse structure.
type ListJobsByPipelineOutput struct {
_ struct{} `type:"structure"`
@@ -3703,6 +4783,18 @@ func (s ListJobsByPipelineOutput) GoString() string {
return s.String()
}
+// SetJobs sets the Jobs field's value.
+func (s *ListJobsByPipelineOutput) SetJobs(v []*Job) *ListJobsByPipelineOutput {
+ s.Jobs = v
+ return s
+}
+
+// SetNextPageToken sets the NextPageToken field's value.
+func (s *ListJobsByPipelineOutput) SetNextPageToken(v string) *ListJobsByPipelineOutput {
+ s.NextPageToken = &v
+ return s
+}
+
// The ListJobsByStatusRequest structure.
type ListJobsByStatusInput struct {
_ struct{} `type:"structure"`
@@ -3746,6 +4838,24 @@ func (s *ListJobsByStatusInput) Validate() error {
return nil
}
+// SetAscending sets the Ascending field's value.
+func (s *ListJobsByStatusInput) SetAscending(v string) *ListJobsByStatusInput {
+ s.Ascending = &v
+ return s
+}
+
+// SetPageToken sets the PageToken field's value.
+func (s *ListJobsByStatusInput) SetPageToken(v string) *ListJobsByStatusInput {
+ s.PageToken = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *ListJobsByStatusInput) SetStatus(v string) *ListJobsByStatusInput {
+ s.Status = &v
+ return s
+}
+
// The ListJobsByStatusResponse structure.
type ListJobsByStatusOutput struct {
_ struct{} `type:"structure"`
@@ -3769,6 +4879,18 @@ func (s ListJobsByStatusOutput) GoString() string {
return s.String()
}
+// SetJobs sets the Jobs field's value.
+func (s *ListJobsByStatusOutput) SetJobs(v []*Job) *ListJobsByStatusOutput {
+ s.Jobs = v
+ return s
+}
+
+// SetNextPageToken sets the NextPageToken field's value.
+func (s *ListJobsByStatusOutput) SetNextPageToken(v string) *ListJobsByStatusOutput {
+ s.NextPageToken = &v
+ return s
+}
+
// The ListPipelineRequest structure.
type ListPipelinesInput struct {
_ struct{} `type:"structure"`
@@ -3793,6 +4915,18 @@ func (s ListPipelinesInput) GoString() string {
return s.String()
}
+// SetAscending sets the Ascending field's value.
+func (s *ListPipelinesInput) SetAscending(v string) *ListPipelinesInput {
+ s.Ascending = &v
+ return s
+}
+
+// SetPageToken sets the PageToken field's value.
+func (s *ListPipelinesInput) SetPageToken(v string) *ListPipelinesInput {
+ s.PageToken = &v
+ return s
+}
+
// A list of the pipelines associated with the current AWS account.
type ListPipelinesOutput struct {
_ struct{} `type:"structure"`
@@ -3816,6 +4950,18 @@ func (s ListPipelinesOutput) GoString() string {
return s.String()
}
+// SetNextPageToken sets the NextPageToken field's value.
+func (s *ListPipelinesOutput) SetNextPageToken(v string) *ListPipelinesOutput {
+ s.NextPageToken = &v
+ return s
+}
+
+// SetPipelines sets the Pipelines field's value.
+func (s *ListPipelinesOutput) SetPipelines(v []*Pipeline) *ListPipelinesOutput {
+ s.Pipelines = v
+ return s
+}
+
// The ListPresetsRequest structure.
type ListPresetsInput struct {
_ struct{} `type:"structure"`
@@ -3840,6 +4986,18 @@ func (s ListPresetsInput) GoString() string {
return s.String()
}
+// SetAscending sets the Ascending field's value.
+func (s *ListPresetsInput) SetAscending(v string) *ListPresetsInput {
+ s.Ascending = &v
+ return s
+}
+
+// SetPageToken sets the PageToken field's value.
+func (s *ListPresetsInput) SetPageToken(v string) *ListPresetsInput {
+ s.PageToken = &v
+ return s
+}
+
// The ListPresetsResponse structure.
type ListPresetsOutput struct {
_ struct{} `type:"structure"`
@@ -3863,6 +5021,18 @@ func (s ListPresetsOutput) GoString() string {
return s.String()
}
+// SetNextPageToken sets the NextPageToken field's value.
+func (s *ListPresetsOutput) SetNextPageToken(v string) *ListPresetsOutput {
+ s.NextPageToken = &v
+ return s
+}
+
+// SetPresets sets the Presets field's value.
+func (s *ListPresetsOutput) SetPresets(v []*Preset) *ListPresetsOutput {
+ s.Presets = v
+ return s
+}
+
// The Amazon Simple Notification Service (Amazon SNS) topic or topics to notify
// in order to report job status.
//
@@ -3898,19 +5068,48 @@ func (s Notifications) GoString() string {
return s.String()
}
+// SetCompleted sets the Completed field's value.
+func (s *Notifications) SetCompleted(v string) *Notifications {
+ s.Completed = &v
+ return s
+}
+
+// SetError sets the Error field's value.
+func (s *Notifications) SetError(v string) *Notifications {
+ s.Error = &v
+ return s
+}
+
+// SetProgressing sets the Progressing field's value.
+func (s *Notifications) SetProgressing(v string) *Notifications {
+ s.Progressing = &v
+ return s
+}
+
+// SetWarning sets the Warning field's value.
+func (s *Notifications) SetWarning(v string) *Notifications {
+ s.Warning = &v
+ return s
+}
+
// The Permission structure.
type Permission struct {
_ struct{} `type:"structure"`
// The permission that you want to give to the AWS user that is listed in Grantee.
- // Valid values include: READ: The grantee can read the thumbnails and metadata
- // for thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.
- // READ_ACP: The grantee can read the object ACL for thumbnails that Elastic
- // Transcoder adds to the Amazon S3 bucket.
- // WRITE_ACP: The grantee can write the ACL for the thumbnails that Elastic
- // Transcoder adds to the Amazon S3 bucket.
- // FULL_CONTROL: The grantee has READ, READ_ACP, and WRITE_ACP permissions for
- // the thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.
+ // Valid values include:
+ //
+ // * READ: The grantee can read the thumbnails and metadata for thumbnails
+ // that Elastic Transcoder adds to the Amazon S3 bucket.
+ //
+ // * READ_ACP: The grantee can read the object ACL for thumbnails that Elastic
+ // Transcoder adds to the Amazon S3 bucket.
+ //
+ // * WRITE_ACP: The grantee can write the ACL for the thumbnails that Elastic
+ // Transcoder adds to the Amazon S3 bucket.
+ //
+ // * FULL_CONTROL: The grantee has READ, READ_ACP, and WRITE_ACP permissions
+ // for the thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.
Access []*string `type:"list"`
// The AWS user or group that you want to have access to transcoded files and
@@ -3920,13 +5119,17 @@ type Permission struct {
// group.
Grantee *string `min:"1" type:"string"`
- // The type of value that appears in the Grantee object: Canonical: Either the
- // canonical user ID for an AWS account or an origin access identity for an
- // Amazon CloudFront distribution. A canonical user ID is not the same as an
- // AWS account number.
- // Email: The registered email address of an AWS account.
- // Group: One of the following predefined Amazon S3 groups: AllUsers, AuthenticatedUsers,
- // or LogDelivery.
+ // The type of value that appears in the Grantee object:
+ //
+ // * Canonical: Either the canonical user ID for an AWS account or an origin
+ // access identity for an Amazon CloudFront distribution.
+ //
+ // A canonical user ID is not the same as an AWS account number.
+ //
+ // * Email: The registered email address of an AWS account.
+ //
+ // * Group: One of the following predefined Amazon S3 groups: AllUsers, AuthenticatedUsers,
+ // or LogDelivery.
GranteeType *string `type:"string"`
}
@@ -3953,6 +5156,24 @@ func (s *Permission) Validate() error {
return nil
}
+// SetAccess sets the Access field's value.
+func (s *Permission) SetAccess(v []*string) *Permission {
+ s.Access = v
+ return s
+}
+
+// SetGrantee sets the Grantee field's value.
+func (s *Permission) SetGrantee(v string) *Permission {
+ s.Grantee = &v
+ return s
+}
+
+// SetGranteeType sets the GranteeType field's value.
+func (s *Permission) SetGranteeType(v string) *Permission {
+ s.GranteeType = &v
+ return s
+}
+
// The pipeline (queue) that is used to manage jobs.
type Pipeline struct {
_ struct{} `type:"structure"`
@@ -3976,26 +5197,36 @@ type Pipeline struct {
//
// * Bucket: The Amazon S3 bucket in which you want Elastic Transcoder to
// save transcoded files and playlists.
+ //
// * Permissions: A list of the users and/or predefined Amazon S3 groups
// you want to have access to transcoded files and playlists, and the type
- // of access that you want them to have. GranteeType: The type of value that
- // appears in the Grantee object: Canonical: Either the canonical user ID
- // for an AWS account or an origin access identity for an Amazon CloudFront
- // distribution.
+ // of access that you want them to have.
+ //
+ // GranteeType: The type of value that appears in the Grantee object:
+ //
+ // Canonical: Either the canonical user ID for an AWS account or an origin access
+ // identity for an Amazon CloudFront distribution.
+ //
// Email: The registered email address of an AWS account.
+ //
// Group: One of the following predefined Amazon S3 groups: AllUsers, AuthenticatedUsers,
// or LogDelivery.
//
// Grantee: The AWS user or group that you want to have access to transcoded
// files and playlists.
+ //
// Access: The permission that you want to give to the AWS user that is listed
- // in Grantee. Valid values include: READ: The grantee can read the objects
- // and metadata for objects that Elastic Transcoder adds to the Amazon S3
- // bucket.
+ // in Grantee. Valid values include:
+ //
+ // READ: The grantee can read the objects and metadata for objects that Elastic
+ // Transcoder adds to the Amazon S3 bucket.
+ //
// READ_ACP: The grantee can read the object ACL for objects that Elastic Transcoder
// adds to the Amazon S3 bucket.
+ //
// WRITE_ACP: The grantee can write the ACL for the objects that Elastic Transcoder
// adds to the Amazon S3 bucket.
+ //
// FULL_CONTROL: The grantee has READ, READ_ACP, and WRITE_ACP permissions for
// the objects that Elastic Transcoder adds to the Amazon S3 bucket.
//
@@ -4023,13 +5254,18 @@ type Pipeline struct {
// notify to report job status.
//
// To receive notifications, you must also subscribe to the new topic in the
- // Amazon SNS console. * Progressing (optional): The Amazon Simple Notification Service (Amazon
+ // Amazon SNS console.
+ //
+ // * Progressing (optional): The Amazon Simple Notification Service (Amazon
// SNS) topic that you want to notify when Elastic Transcoder has started
// to process the job.
+ //
// * Completed (optional): The Amazon SNS topic that you want to notify when
// Elastic Transcoder has finished processing the job.
+ //
// * Warning (optional): The Amazon SNS topic that you want to notify when
// Elastic Transcoder encounters a warning condition.
+ //
// * Error (optional): The Amazon SNS topic that you want to notify when
// Elastic Transcoder encounters an error condition.
Notifications *Notifications `type:"structure"`
@@ -4046,6 +5282,7 @@ type Pipeline struct {
// The current status of the pipeline:
//
// * Active: The pipeline is processing jobs.
+ //
// * Paused: The pipeline is not currently processing jobs.
Status *string `type:"string"`
@@ -4055,26 +5292,38 @@ type Pipeline struct {
//
// * Bucket: The Amazon S3 bucket in which you want Elastic Transcoder to
// save thumbnail files.
+ //
// * Permissions: A list of the users and/or predefined Amazon S3 groups
// you want to have access to thumbnail files, and the type of access that
- // you want them to have. GranteeType: The type of value that appears in
- // the Grantee object: Canonical: Either the canonical user ID for an AWS
- // account or an origin access identity for an Amazon CloudFront distribution.
- // A canonical user ID is not the same as an AWS account number.
+ // you want them to have.
+ //
+ // GranteeType: The type of value that appears in the Grantee object:
+ //
+ // Canonical: Either the canonical user ID for an AWS account or an origin access
+ // identity for an Amazon CloudFront distribution.
+ //
+ // A canonical user ID is not the same as an AWS account number.
+ //
// Email: The registered email address of an AWS account.
+ //
// Group: One of the following predefined Amazon S3 groups: AllUsers, AuthenticatedUsers,
// or LogDelivery.
//
// Grantee: The AWS user or group that you want to have access to thumbnail
// files.
+ //
// Access: The permission that you want to give to the AWS user that is listed
- // in Grantee. Valid values include: READ: The grantee can read the thumbnails
- // and metadata for thumbnails that Elastic Transcoder adds to the Amazon
- // S3 bucket.
+ // in Grantee. Valid values include:
+ //
+ // READ: The grantee can read the thumbnails and metadata for thumbnails that
+ // Elastic Transcoder adds to the Amazon S3 bucket.
+ //
// READ_ACP: The grantee can read the object ACL for thumbnails that Elastic
// Transcoder adds to the Amazon S3 bucket.
+ //
// WRITE_ACP: The grantee can write the ACL for the thumbnails that Elastic
// Transcoder adds to the Amazon S3 bucket.
+ //
// FULL_CONTROL: The grantee has READ, READ_ACP, and WRITE_ACP permissions for
// the thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.
//
@@ -4094,21 +5343,92 @@ func (s Pipeline) GoString() string {
return s.String()
}
+// SetArn sets the Arn field's value.
+func (s *Pipeline) SetArn(v string) *Pipeline {
+ s.Arn = &v
+ return s
+}
+
+// SetAwsKmsKeyArn sets the AwsKmsKeyArn field's value.
+func (s *Pipeline) SetAwsKmsKeyArn(v string) *Pipeline {
+ s.AwsKmsKeyArn = &v
+ return s
+}
+
+// SetContentConfig sets the ContentConfig field's value.
+func (s *Pipeline) SetContentConfig(v *PipelineOutputConfig) *Pipeline {
+ s.ContentConfig = v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *Pipeline) SetId(v string) *Pipeline {
+ s.Id = &v
+ return s
+}
+
+// SetInputBucket sets the InputBucket field's value.
+func (s *Pipeline) SetInputBucket(v string) *Pipeline {
+ s.InputBucket = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *Pipeline) SetName(v string) *Pipeline {
+ s.Name = &v
+ return s
+}
+
+// SetNotifications sets the Notifications field's value.
+func (s *Pipeline) SetNotifications(v *Notifications) *Pipeline {
+ s.Notifications = v
+ return s
+}
+
+// SetOutputBucket sets the OutputBucket field's value.
+func (s *Pipeline) SetOutputBucket(v string) *Pipeline {
+ s.OutputBucket = &v
+ return s
+}
+
+// SetRole sets the Role field's value.
+func (s *Pipeline) SetRole(v string) *Pipeline {
+ s.Role = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *Pipeline) SetStatus(v string) *Pipeline {
+ s.Status = &v
+ return s
+}
+
+// SetThumbnailConfig sets the ThumbnailConfig field's value.
+func (s *Pipeline) SetThumbnailConfig(v *PipelineOutputConfig) *Pipeline {
+ s.ThumbnailConfig = v
+ return s
+}
+
// The PipelineOutputConfig structure.
type PipelineOutputConfig struct {
_ struct{} `type:"structure"`
// The Amazon S3 bucket in which you want Elastic Transcoder to save the transcoded
- // files. Specify this value when all of the following are true: You want to
- // save transcoded files, thumbnails (if any), and playlists (if any) together
- // in one bucket.
- // You do not want to specify the users or groups who have access to the transcoded
- // files, thumbnails, and playlists.
- // You do not want to specify the permissions that Elastic Transcoder grants
- // to the files.
- // You want to associate the transcoded files and thumbnails with the Amazon
- // S3 Standard storage class.
- // If you want to save transcoded files and playlists in one bucket and thumbnails
+ // files. Specify this value when all of the following are true:
+ //
+ // * You want to save transcoded files, thumbnails (if any), and playlists
+ // (if any) together in one bucket.
+ //
+ // * You do not want to specify the users or groups who have access to the
+ // transcoded files, thumbnails, and playlists.
+ //
+ // * You do not want to specify the permissions that Elastic Transcoder grants
+ // to the files.
+ //
+ // * You want to associate the transcoded files and thumbnails with the Amazon
+ // S3 Standard storage class.
+ //
+ // If you want to save transcoded files and playlists in one bucket and thumbnails
// in another bucket, specify which users can access the transcoded files or
// the permissions the users have, or change the Amazon S3 storage class, omit
// OutputBucket and specify values for ContentConfig and ThumbnailConfig instead.
@@ -4165,6 +5485,24 @@ func (s *PipelineOutputConfig) Validate() error {
return nil
}
+// SetBucket sets the Bucket field's value.
+func (s *PipelineOutputConfig) SetBucket(v string) *PipelineOutputConfig {
+ s.Bucket = &v
+ return s
+}
+
+// SetPermissions sets the Permissions field's value.
+func (s *PipelineOutputConfig) SetPermissions(v []*Permission) *PipelineOutputConfig {
+ s.Permissions = v
+ return s
+}
+
+// SetStorageClass sets the StorageClass field's value.
+func (s *PipelineOutputConfig) SetStorageClass(v string) *PipelineOutputConfig {
+ s.StorageClass = &v
+ return s
+}
+
// The PlayReady DRM settings, if any, that you want Elastic Transcoder to apply
// to the output files associated with this playlist.
//
@@ -4197,7 +5535,7 @@ type PlayReadyDrm struct {
// The ID for your DRM key, so that your DRM license provider knows which key
// to provide.
//
- // The key ID must be provided in big endian, and Elastic Transcoder will convert
+ // The key ID must be provided in big endian, and Elastic Transcoder converts
// it to little endian before inserting it into the PlayReady DRM headers. If
// you are unsure whether your license server provides your key ID in big or
// little endian, check with your DRM provider.
@@ -4240,6 +5578,42 @@ func (s *PlayReadyDrm) Validate() error {
return nil
}
+// SetFormat sets the Format field's value.
+func (s *PlayReadyDrm) SetFormat(v string) *PlayReadyDrm {
+ s.Format = &v
+ return s
+}
+
+// SetInitializationVector sets the InitializationVector field's value.
+func (s *PlayReadyDrm) SetInitializationVector(v string) *PlayReadyDrm {
+ s.InitializationVector = &v
+ return s
+}
+
+// SetKey sets the Key field's value.
+func (s *PlayReadyDrm) SetKey(v string) *PlayReadyDrm {
+ s.Key = &v
+ return s
+}
+
+// SetKeyId sets the KeyId field's value.
+func (s *PlayReadyDrm) SetKeyId(v string) *PlayReadyDrm {
+ s.KeyId = &v
+ return s
+}
+
+// SetKeyMd5 sets the KeyMd5 field's value.
+func (s *PlayReadyDrm) SetKeyMd5(v string) *PlayReadyDrm {
+ s.KeyMd5 = &v
+ return s
+}
+
+// SetLicenseAcquisitionUrl sets the LicenseAcquisitionUrl field's value.
+func (s *PlayReadyDrm) SetLicenseAcquisitionUrl(v string) *PlayReadyDrm {
+ s.LicenseAcquisitionUrl = &v
+ return s
+}
+
// Use Only for Fragmented MP4 or MPEG-TS Outputs. If you specify a preset for
// which the value of Container is fmp4 (Fragmented MP4) or ts (MPEG-TS), Playlists
// contains information about the master playlists that you want Elastic Transcoder
@@ -4262,10 +5636,10 @@ type Playlist struct {
// you create more than one master playlist, the values of all Name objects
// must be unique.
//
- // Note: Elastic Transcoder automatically appends the relevant file extension
- // to the file name (.m3u8 for HLSv3 and HLSv4 playlists, and .ism and .ismc
- // for Smooth playlists). If you include a file extension in Name, the file
- // name will have two extensions.
+ // Elastic Transcoder automatically appends the relevant file extension to the
+ // file name (.m3u8 for HLSv3 and HLSv4 playlists, and .ism and .ismc for Smooth
+ // playlists). If you include a file extension in Name, the file name will have
+ // two extensions.
Name *string `min:"1" type:"string"`
// For each output in this job that you want to include in a master playlist,
@@ -4327,6 +5701,48 @@ func (s Playlist) GoString() string {
return s.String()
}
+// SetFormat sets the Format field's value.
+func (s *Playlist) SetFormat(v string) *Playlist {
+ s.Format = &v
+ return s
+}
+
+// SetHlsContentProtection sets the HlsContentProtection field's value.
+func (s *Playlist) SetHlsContentProtection(v *HlsContentProtection) *Playlist {
+ s.HlsContentProtection = v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *Playlist) SetName(v string) *Playlist {
+ s.Name = &v
+ return s
+}
+
+// SetOutputKeys sets the OutputKeys field's value.
+func (s *Playlist) SetOutputKeys(v []*string) *Playlist {
+ s.OutputKeys = v
+ return s
+}
+
+// SetPlayReadyDrm sets the PlayReadyDrm field's value.
+func (s *Playlist) SetPlayReadyDrm(v *PlayReadyDrm) *Playlist {
+ s.PlayReadyDrm = v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *Playlist) SetStatus(v string) *Playlist {
+ s.Status = &v
+ return s
+}
+
+// SetStatusDetail sets the StatusDetail field's value.
+func (s *Playlist) SetStatusDetail(v string) *Playlist {
+ s.StatusDetail = &v
+ return s
+}
+
// Presets are templates that contain most of the settings for transcoding media
// files from one format to another. Elastic Transcoder includes some default
// presets for common formats, for example, several iPod and iPhone versions.
@@ -4380,6 +5796,60 @@ 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
+}
+
+// SetAudio sets the Audio field's value.
+func (s *Preset) SetAudio(v *AudioParameters) *Preset {
+ s.Audio = v
+ return s
+}
+
+// SetContainer sets the Container field's value.
+func (s *Preset) SetContainer(v string) *Preset {
+ s.Container = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *Preset) SetDescription(v string) *Preset {
+ s.Description = &v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *Preset) SetId(v string) *Preset {
+ s.Id = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *Preset) SetName(v string) *Preset {
+ s.Name = &v
+ return s
+}
+
+// SetThumbnails sets the Thumbnails field's value.
+func (s *Preset) SetThumbnails(v *Thumbnails) *Preset {
+ s.Thumbnails = v
+ return s
+}
+
+// SetType sets the Type field's value.
+func (s *Preset) SetType(v string) *Preset {
+ s.Type = &v
+ return s
+}
+
+// SetVideo sets the Video field's value.
+func (s *Preset) SetVideo(v *VideoParameters) *Preset {
+ s.Video = v
+ return s
+}
+
// Settings for the size, location, and opacity of graphics that you want Elastic
// Transcoder to overlay over videos that are transcoded using this preset.
// You can specify settings for up to four watermarks. Watermarks appear in
@@ -4398,18 +5868,25 @@ type PresetWatermark struct {
_ struct{} `type:"structure"`
// The horizontal position of the watermark unless you specify a non-zero value
- // for HorizontalOffset: Left: The left edge of the watermark is aligned with
- // the left border of the video.
- // Right: The right edge of the watermark is aligned with the right border of
- // the video.
- // Center: The watermark is centered between the left and right borders.
+ // for HorizontalOffset:
+ //
+ // * Left: The left edge of the watermark is aligned with the left border
+ // of the video.
+ //
+ // * Right: The right edge of the watermark is aligned with the right border
+ // of the video.
+ //
+ // * Center: The watermark is centered between the left and right borders.
HorizontalAlign *string `type:"string"`
// The amount by which you want the horizontal position of the watermark to
- // be offset from the position specified by HorizontalAlign: number of pixels
- // (px): The minimum value is 0 pixels, and the maximum value is the value of
- // MaxWidth.
- // integer percentage (%): The range of valid values is 0 to 100.
+ // be offset from the position specified by HorizontalAlign:
+ //
+ // * number of pixels (px): The minimum value is 0 pixels, and the maximum
+ // value is the value of MaxWidth.
+ //
+ // * integer percentage (%): The range of valid values is 0 to 100.
+ //
// For example, if you specify Left for HorizontalAlign and 5px for HorizontalOffset,
// the left side of the watermark appears 5 pixels from the left border of the
// output video.
@@ -4425,27 +5902,34 @@ type PresetWatermark struct {
// bars that are added by Elastic Transcoder, if any, in the offset calculation.
HorizontalOffset *string `type:"string"`
- // A unique identifier for the settings for one watermark. The value of Id
+ // A unique identifier for the settings for one watermark. The value of Id can
+ // be up to 40 characters long.
Id *string `min:"1" type:"string"`
- // The maximum height of the watermark in one of the following formats: number
- // of pixels (px): The minimum value is 16 pixels, and the maximum value is
- // the value of MaxHeight.
- // integer percentage (%): The range of valid values is 0 to 100. Use the value
- // of Target to specify whether you want Elastic Transcoder to include the black
- // bars that are added by Elastic Transcoder, if any, in the calculation.
- // If you specify the value in pixels, it must be less than or equal to the
+ // The maximum height of the watermark in one of the following formats:
+ //
+ // * number of pixels (px): The minimum value is 16 pixels, and the maximum
+ // value is the value of MaxHeight.
+ //
+ // * integer percentage (%): The range of valid values is 0 to 100. Use the
+ // value of Target to specify whether you want Elastic Transcoder to include
+ // the black bars that are added by Elastic Transcoder, if any, in the calculation.
+ //
+ // If you specify the value in pixels, it must be less than or equal to the
// value of MaxHeight.
MaxHeight *string `type:"string"`
- // The maximum width of the watermark in one of the following formats: number
- // of pixels (px): The minimum value is 16 pixels, and the maximum value is
- // the value of MaxWidth.
- // integer percentage (%): The range of valid values is 0 to 100. Use the value
- // of Target to specify whether you want Elastic Transcoder to include the black
- // bars that are added by Elastic Transcoder, if any, in the calculation.
- // If you specify the value in pixels, it must be less than or equal to the
- // value of MaxWidth.
+ // The maximum width of the watermark in one of the following formats:
+ //
+ // * number of pixels (px): The minimum value is 16 pixels, and the maximum
+ // value is the value of MaxWidth.
+ //
+ // * integer percentage (%): The range of valid values is 0 to 100. Use the
+ // value of Target to specify whether you want Elastic Transcoder to include
+ // the black bars that are added by Elastic Transcoder, if any, in the calculation.
+ //
+ // If you specify the value in pixels, it must be less than or equal to the
+ // value of MaxWidth.
MaxWidth *string `type:"string"`
// A percentage that indicates how much you want a watermark to obscure the
@@ -4458,48 +5942,62 @@ type PresetWatermark struct {
// a value of 0 for Opacity. The .jpg file format doesn't support transparency.
Opacity *string `type:"string"`
- // A value that controls scaling of the watermark: Fit: Elastic Transcoder scales
- // the watermark so it matches the value that you specified in either MaxWidth
- // or MaxHeight without exceeding the other value.
- // Stretch: Elastic Transcoder stretches the watermark to match the values that
- // you specified for MaxWidth and MaxHeight. If the relative proportions of
- // the watermark and the values of MaxWidth and MaxHeight are different, the
- // watermark will be distorted.
- // ShrinkToFit: Elastic Transcoder scales the watermark down so that its dimensions
- // match the values that you specified for at least one of MaxWidth and MaxHeight
- // without exceeding either value. If you specify this option, Elastic Transcoder
- // does not scale the watermark up.
+ // A value that controls scaling of the watermark:
+ //
+ // * Fit: Elastic Transcoder scales the watermark so it matches the value
+ // that you specified in either MaxWidth or MaxHeight without exceeding the
+ // other value.
+ //
+ // * Stretch: Elastic Transcoder stretches the watermark to match the values
+ // that you specified for MaxWidth and MaxHeight. If the relative proportions
+ // of the watermark and the values of MaxWidth and MaxHeight are different,
+ // the watermark will be distorted.
+ //
+ // * ShrinkToFit: Elastic Transcoder scales the watermark down so that its
+ // dimensions match the values that you specified for at least one of MaxWidth
+ // and MaxHeight without exceeding either value. If you specify this option,
+ // Elastic Transcoder does not scale the watermark up.
SizingPolicy *string `type:"string"`
// A value that determines how Elastic Transcoder interprets values that you
// specified for HorizontalOffset, VerticalOffset, MaxWidth, and MaxHeight:
- // Content: HorizontalOffset and VerticalOffset values are calculated based
- // on the borders of the video excluding black bars added by Elastic Transcoder,
- // if any. In addition, MaxWidth and MaxHeight, if specified as a percentage,
- // are calculated based on the borders of the video excluding black bars added
- // by Elastic Transcoder, if any.
- // Frame: HorizontalOffset and VerticalOffset values are calculated based on
- // the borders of the video including black bars added by Elastic Transcoder,
- // if any.
- // In addition, MaxWidth and MaxHeight, if specified as a percentage, are calculated
- // based on the borders of the video including black bars added by Elastic Transcoder,
- // if any.
+ //
+ // * Content: HorizontalOffset and VerticalOffset values are calculated based
+ // on the borders of the video excluding black bars added by Elastic Transcoder,
+ // if any. In addition, MaxWidth and MaxHeight, if specified as a percentage,
+ // are calculated based on the borders of the video excluding black bars
+ // added by Elastic Transcoder, if any.
+ //
+ // * Frame: HorizontalOffset and VerticalOffset values are calculated based
+ // on the borders of the video including black bars added by Elastic Transcoder,
+ // if any. In addition, MaxWidth and MaxHeight, if specified as a percentage,
+ // are calculated based on the borders of the video including black bars
+ // added by Elastic Transcoder, if any.
Target *string `type:"string"`
// The vertical position of the watermark unless you specify a non-zero value
- // for VerticalOffset: Top: The top edge of the watermark is aligned with the
- // top border of the video.
- // Bottom: The bottom edge of the watermark is aligned with the bottom border
- // of the video.
- // Center: The watermark is centered between the top and bottom borders.
+ // for VerticalOffset:
+ //
+ // * Top: The top edge of the watermark is aligned with the top border of
+ // the video.
+ //
+ // * Bottom: The bottom edge of the watermark is aligned with the bottom
+ // border of the video.
+ //
+ // * Center: The watermark is centered between the top and bottom borders.
VerticalAlign *string `type:"string"`
- // VerticalOffsetThe amount by which you want the vertical position of the watermark to be
- // offset from the position specified by VerticalAlign:number of pixels (px):
- // The minimum value is 0 pixels, and the maximum value is the value of MaxHeight.
+ // VerticalOffset
+ //
+ // The amount by which you want the vertical position of the watermark to be
+ // offset from the position specified by VerticalAlign:
//
- // integer percentage (%): The range of valid values is 0 to 100.
- // For example, if you specify Top for VerticalAlign and 5px for VerticalOffset,
+ // * number of pixels (px): The minimum value is 0 pixels, and the maximum
+ // value is the value of MaxHeight.
+ //
+ // * integer percentage (%): The range of valid values is 0 to 100.
+ //
+ // For example, if you specify Top for VerticalAlign and 5px for VerticalOffset,
// the top of the watermark appears 5 pixels from the top border of the output
// video.
//
@@ -4540,6 +6038,66 @@ func (s *PresetWatermark) Validate() error {
return nil
}
+// SetHorizontalAlign sets the HorizontalAlign field's value.
+func (s *PresetWatermark) SetHorizontalAlign(v string) *PresetWatermark {
+ s.HorizontalAlign = &v
+ return s
+}
+
+// SetHorizontalOffset sets the HorizontalOffset field's value.
+func (s *PresetWatermark) SetHorizontalOffset(v string) *PresetWatermark {
+ s.HorizontalOffset = &v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *PresetWatermark) SetId(v string) *PresetWatermark {
+ s.Id = &v
+ return s
+}
+
+// SetMaxHeight sets the MaxHeight field's value.
+func (s *PresetWatermark) SetMaxHeight(v string) *PresetWatermark {
+ s.MaxHeight = &v
+ return s
+}
+
+// SetMaxWidth sets the MaxWidth field's value.
+func (s *PresetWatermark) SetMaxWidth(v string) *PresetWatermark {
+ s.MaxWidth = &v
+ return s
+}
+
+// SetOpacity sets the Opacity field's value.
+func (s *PresetWatermark) SetOpacity(v string) *PresetWatermark {
+ s.Opacity = &v
+ return s
+}
+
+// SetSizingPolicy sets the SizingPolicy field's value.
+func (s *PresetWatermark) SetSizingPolicy(v string) *PresetWatermark {
+ s.SizingPolicy = &v
+ return s
+}
+
+// SetTarget sets the Target field's value.
+func (s *PresetWatermark) SetTarget(v string) *PresetWatermark {
+ s.Target = &v
+ return s
+}
+
+// SetVerticalAlign sets the VerticalAlign field's value.
+func (s *PresetWatermark) SetVerticalAlign(v string) *PresetWatermark {
+ s.VerticalAlign = &v
+ return s
+}
+
+// SetVerticalOffset sets the VerticalOffset field's value.
+func (s *PresetWatermark) SetVerticalOffset(v string) *PresetWatermark {
+ s.VerticalOffset = &v
+ return s
+}
+
// The ReadJobRequest structure.
type ReadJobInput struct {
_ struct{} `type:"structure"`
@@ -4573,6 +6131,12 @@ func (s *ReadJobInput) Validate() error {
return nil
}
+// SetId sets the Id field's value.
+func (s *ReadJobInput) SetId(v string) *ReadJobInput {
+ s.Id = &v
+ return s
+}
+
// The ReadJobResponse structure.
type ReadJobOutput struct {
_ struct{} `type:"structure"`
@@ -4591,6 +6155,12 @@ func (s ReadJobOutput) GoString() string {
return s.String()
}
+// SetJob sets the Job field's value.
+func (s *ReadJobOutput) SetJob(v *Job) *ReadJobOutput {
+ s.Job = v
+ return s
+}
+
// The ReadPipelineRequest structure.
type ReadPipelineInput struct {
_ struct{} `type:"structure"`
@@ -4624,6 +6194,12 @@ func (s *ReadPipelineInput) Validate() error {
return nil
}
+// SetId sets the Id field's value.
+func (s *ReadPipelineInput) SetId(v string) *ReadPipelineInput {
+ s.Id = &v
+ return s
+}
+
// The ReadPipelineResponse structure.
type ReadPipelineOutput struct {
_ struct{} `type:"structure"`
@@ -4650,6 +6226,18 @@ func (s ReadPipelineOutput) GoString() string {
return s.String()
}
+// SetPipeline sets the Pipeline field's value.
+func (s *ReadPipelineOutput) SetPipeline(v *Pipeline) *ReadPipelineOutput {
+ s.Pipeline = v
+ return s
+}
+
+// SetWarnings sets the Warnings field's value.
+func (s *ReadPipelineOutput) SetWarnings(v []*Warning) *ReadPipelineOutput {
+ s.Warnings = v
+ return s
+}
+
// The ReadPresetRequest structure.
type ReadPresetInput struct {
_ struct{} `type:"structure"`
@@ -4683,6 +6271,12 @@ func (s *ReadPresetInput) Validate() error {
return nil
}
+// SetId sets the Id field's value.
+func (s *ReadPresetInput) SetId(v string) *ReadPresetInput {
+ s.Id = &v
+ return s
+}
+
// The ReadPresetResponse structure.
type ReadPresetOutput struct {
_ struct{} `type:"structure"`
@@ -4701,9 +6295,15 @@ func (s ReadPresetOutput) GoString() string {
return s.String()
}
+// SetPreset sets the Preset field's value.
+func (s *ReadPresetOutput) SetPreset(v *Preset) *ReadPresetOutput {
+ s.Preset = v
+ return s
+}
+
// The TestRoleRequest structure.
type TestRoleInput struct {
- _ struct{} `type:"structure"`
+ _ struct{} `deprecated:"true" type:"structure"`
// The Amazon S3 bucket that contains media files to be transcoded. The action
// attempts to read from this bucket.
@@ -4711,8 +6311,8 @@ type TestRoleInput struct {
// InputBucket is a required field
InputBucket *string `type:"string" required:"true"`
- // The Amazon S3 bucket that Elastic Transcoder will write transcoded media
- // files to. The action attempts to read from this bucket.
+ // The Amazon S3 bucket that Elastic Transcoder writes transcoded media files
+ // to. The action attempts to read from this bucket.
//
// OutputBucket is a required field
OutputBucket *string `type:"string" required:"true"`
@@ -4762,9 +6362,33 @@ func (s *TestRoleInput) Validate() error {
return nil
}
+// SetInputBucket sets the InputBucket field's value.
+func (s *TestRoleInput) SetInputBucket(v string) *TestRoleInput {
+ s.InputBucket = &v
+ return s
+}
+
+// SetOutputBucket sets the OutputBucket field's value.
+func (s *TestRoleInput) SetOutputBucket(v string) *TestRoleInput {
+ s.OutputBucket = &v
+ return s
+}
+
+// SetRole sets the Role field's value.
+func (s *TestRoleInput) SetRole(v string) *TestRoleInput {
+ s.Role = &v
+ return s
+}
+
+// SetTopics sets the Topics field's value.
+func (s *TestRoleInput) SetTopics(v []*string) *TestRoleInput {
+ s.Topics = v
+ return s
+}
+
// The TestRoleResponse structure.
type TestRoleOutput struct {
- _ struct{} `type:"structure"`
+ _ struct{} `deprecated:"true" type:"structure"`
// If the Success element contains false, this value is an array of one or more
// error messages that were generated during the test process.
@@ -4785,6 +6409,18 @@ func (s TestRoleOutput) GoString() string {
return s.String()
}
+// SetMessages sets the Messages field's value.
+func (s *TestRoleOutput) SetMessages(v []*string) *TestRoleOutput {
+ s.Messages = v
+ return s
+}
+
+// SetSuccess sets the Success field's value.
+func (s *TestRoleOutput) SetSuccess(v string) *TestRoleOutput {
+ s.Success = &v
+ return s
+}
+
// Thumbnails for videos.
type Thumbnails struct {
_ struct{} `type:"structure"`
@@ -4840,28 +6476,33 @@ type Thumbnails struct {
// Specify one of the following values to control scaling of thumbnails:
//
- // Fit: Elastic Transcoder scales thumbnails so they match the value that you
- // specified in thumbnail MaxWidth or MaxHeight settings without exceeding the
- // other value.
- // Fill: Elastic Transcoder scales thumbnails so they match the value that you
- // specified in thumbnail MaxWidth or MaxHeight settings and matches or exceeds
- // the other value. Elastic Transcoder centers the image in thumbnails and then
- // crops in the dimension (if any) that exceeds the maximum value.
- // Stretch: Elastic Transcoder stretches thumbnails to match the values that
- // you specified for thumbnail MaxWidth and MaxHeight settings. If the relative
- // proportions of the input video and thumbnails are different, the thumbnails
- // will be distorted.
- // Keep: Elastic Transcoder does not scale thumbnails. If either dimension of
- // the input video exceeds the values that you specified for thumbnail MaxWidth
- // and MaxHeight settings, Elastic Transcoder crops the thumbnails.
- // ShrinkToFit: Elastic Transcoder scales thumbnails down so that their dimensions
- // match the values that you specified for at least one of thumbnail MaxWidth
- // and MaxHeight without exceeding either value. If you specify this option,
- // Elastic Transcoder does not scale thumbnails up.
- // ShrinkToFill: Elastic Transcoder scales thumbnails down so that their dimensions
- // match the values that you specified for at least one of MaxWidth and MaxHeight
- // without dropping below either value. If you specify this option, Elastic
- // Transcoder does not scale thumbnails up.
+ // * Fit: Elastic Transcoder scales thumbnails so they match the value that
+ // you specified in thumbnail MaxWidth or MaxHeight settings without exceeding
+ // the other value.
+ //
+ // * Fill: Elastic Transcoder scales thumbnails so they match the value that
+ // you specified in thumbnail MaxWidth or MaxHeight settings and matches
+ // or exceeds the other value. Elastic Transcoder centers the image in thumbnails
+ // and then crops in the dimension (if any) that exceeds the maximum value.
+ //
+ // * Stretch: Elastic Transcoder stretches thumbnails to match the values
+ // that you specified for thumbnail MaxWidth and MaxHeight settings. If the
+ // relative proportions of the input video and thumbnails are different,
+ // the thumbnails will be distorted.
+ //
+ // * Keep: Elastic Transcoder does not scale thumbnails. If either dimension
+ // of the input video exceeds the values that you specified for thumbnail
+ // MaxWidth and MaxHeight settings, Elastic Transcoder crops the thumbnails.
+ //
+ // * ShrinkToFit: Elastic Transcoder scales thumbnails down so that their
+ // dimensions match the values that you specified for at least one of thumbnail
+ // MaxWidth and MaxHeight without exceeding either value. If you specify
+ // this option, Elastic Transcoder does not scale thumbnails up.
+ //
+ // * ShrinkToFill: Elastic Transcoder scales thumbnails down so that their
+ // dimensions match the values that you specified for at least one of MaxWidth
+ // and MaxHeight without dropping below either value. If you specify this
+ // option, Elastic Transcoder does not scale thumbnails up.
SizingPolicy *string `type:"string"`
}
@@ -4875,6 +6516,54 @@ func (s Thumbnails) GoString() string {
return s.String()
}
+// SetAspectRatio sets the AspectRatio field's value.
+func (s *Thumbnails) SetAspectRatio(v string) *Thumbnails {
+ s.AspectRatio = &v
+ return s
+}
+
+// SetFormat sets the Format field's value.
+func (s *Thumbnails) SetFormat(v string) *Thumbnails {
+ s.Format = &v
+ return s
+}
+
+// SetInterval sets the Interval field's value.
+func (s *Thumbnails) SetInterval(v string) *Thumbnails {
+ s.Interval = &v
+ return s
+}
+
+// SetMaxHeight sets the MaxHeight field's value.
+func (s *Thumbnails) SetMaxHeight(v string) *Thumbnails {
+ s.MaxHeight = &v
+ return s
+}
+
+// SetMaxWidth sets the MaxWidth field's value.
+func (s *Thumbnails) SetMaxWidth(v string) *Thumbnails {
+ s.MaxWidth = &v
+ return s
+}
+
+// SetPaddingPolicy sets the PaddingPolicy field's value.
+func (s *Thumbnails) SetPaddingPolicy(v string) *Thumbnails {
+ s.PaddingPolicy = &v
+ return s
+}
+
+// SetResolution sets the Resolution field's value.
+func (s *Thumbnails) SetResolution(v string) *Thumbnails {
+ s.Resolution = &v
+ return s
+}
+
+// SetSizingPolicy sets the SizingPolicy field's value.
+func (s *Thumbnails) SetSizingPolicy(v string) *Thumbnails {
+ s.SizingPolicy = &v
+ return s
+}
+
// Settings that determine when a clip begins and how long it lasts.
type TimeSpan struct {
_ struct{} `type:"structure"`
@@ -4905,6 +6594,18 @@ func (s TimeSpan) GoString() string {
return s.String()
}
+// SetDuration sets the Duration field's value.
+func (s *TimeSpan) SetDuration(v string) *TimeSpan {
+ s.Duration = &v
+ return s
+}
+
+// SetStartTime sets the StartTime field's value.
+func (s *TimeSpan) SetStartTime(v string) *TimeSpan {
+ s.StartTime = &v
+ return s
+}
+
// Details about the timing of a job.
type Timing struct {
_ struct{} `type:"structure"`
@@ -4929,6 +6630,24 @@ func (s Timing) GoString() string {
return s.String()
}
+// SetFinishTimeMillis sets the FinishTimeMillis field's value.
+func (s *Timing) SetFinishTimeMillis(v int64) *Timing {
+ s.FinishTimeMillis = &v
+ return s
+}
+
+// SetStartTimeMillis sets the StartTimeMillis field's value.
+func (s *Timing) SetStartTimeMillis(v int64) *Timing {
+ s.StartTimeMillis = &v
+ return s
+}
+
+// SetSubmitTimeMillis sets the SubmitTimeMillis field's value.
+func (s *Timing) SetSubmitTimeMillis(v int64) *Timing {
+ s.SubmitTimeMillis = &v
+ return s
+}
+
// The UpdatePipelineRequest structure.
type UpdatePipelineInput struct {
_ struct{} `type:"structure"`
@@ -4957,22 +6676,28 @@ type UpdatePipelineInput struct {
//
// * Bucket: The Amazon S3 bucket in which you want Elastic Transcoder to
// save transcoded files and playlists.
+ //
// * Permissions (Optional): The Permissions object specifies which users
// you want to have access to transcoded files and the type of access you
// want them to have. You can grant permissions to a maximum of 30 users
// and/or predefined Amazon S3 groups.
+ //
// * Grantee Type: Specify the type of value that appears in the Grantee
- // object: Canonical: The value in the Grantee object is either the canonical
- // user ID for an AWS account or an origin access identity for an Amazon
- // CloudFront distribution. For more information about canonical user IDs,
- // see Access Control List (ACL) Overview in the Amazon Simple Storage Service
- // Developer Guide. For more information about using CloudFront origin access
- // identities to require that users use CloudFront URLs instead of Amazon
- // S3 URLs, see Using an Origin Access Identity to Restrict Access to Your
- // Amazon S3 Content. A canonical user ID is not the same as an AWS account
- // number.
+ // object:
+ //
+ // Canonical: The value in the Grantee object is either the canonical user ID
+ // for an AWS account or an origin access identity for an Amazon CloudFront
+ // distribution. For more information about canonical user IDs, see Access
+ // Control List (ACL) Overview in the Amazon Simple Storage Service Developer
+ // Guide. For more information about using CloudFront origin access identities
+ // to require that users use CloudFront URLs instead of Amazon S3 URLs, see
+ // Using an Origin Access Identity to Restrict Access to Your Amazon S3 Content.
+ //
+ // A canonical user ID is not the same as an AWS account number.
+ //
// Email: The value in the Grantee object is the registered email address of
// an AWS account.
+ //
// Group: The value in the Grantee object is one of the following predefined
// Amazon S3 groups: AllUsers, AuthenticatedUsers, or LogDelivery.
//
@@ -4981,15 +6706,21 @@ type UpdatePipelineInput struct {
// canonical user ID for an AWS account, an origin access identity for a
// CloudFront distribution, the registered email address of an AWS account,
// or a predefined Amazon S3 group
+ //
// * Access: The permission that you want to give to the AWS user that you
// specified in Grantee. Permissions are granted on the files that Elastic
// Transcoder adds to the bucket, including playlists and video files. Valid
- // values include: READ: The grantee can read the objects and metadata for
- // objects that Elastic Transcoder adds to the Amazon S3 bucket.
+ // values include:
+ //
+ // READ: The grantee can read the objects and metadata for objects that Elastic
+ // Transcoder adds to the Amazon S3 bucket.
+ //
// READ_ACP: The grantee can read the object ACL for objects that Elastic Transcoder
// adds to the Amazon S3 bucket.
+ //
// WRITE_ACP: The grantee can write the ACL for the objects that Elastic Transcoder
// adds to the Amazon S3 bucket.
+ //
// FULL_CONTROL: The grantee has READ, READ_ACP, and WRITE_ACP permissions for
// the objects that Elastic Transcoder adds to the Amazon S3 bucket.
//
@@ -5013,11 +6744,28 @@ type UpdatePipelineInput struct {
// Constraints: Maximum 40 characters
Name *string `min:"1" type:"string"`
- // The Amazon Simple Notification Service (Amazon SNS) topic or topics to notify
- // in order to report job status.
+ // The topic ARN for the Amazon Simple Notification Service (Amazon SNS) topic
+ // that you want to notify to report job status.
//
// To receive notifications, you must also subscribe to the new topic in the
// Amazon SNS console.
+ //
+ // * Progressing: The topic ARN for the Amazon Simple Notification Service
+ // (Amazon SNS) topic that you want to notify when Elastic Transcoder has
+ // started to process jobs that are added to this pipeline. This is the ARN
+ // that Amazon SNS returned when you created the topic.
+ //
+ // * Completed: The topic ARN for the Amazon SNS topic that you want to notify
+ // when Elastic Transcoder has finished processing a job. This is the ARN
+ // that Amazon SNS returned when you created the topic.
+ //
+ // * Warning: The topic ARN for the Amazon SNS topic that you want to notify
+ // when Elastic Transcoder encounters a warning condition. This is the ARN
+ // that Amazon SNS returned when you created the topic.
+ //
+ // * Error: The topic ARN for the Amazon SNS topic that you want to notify
+ // when Elastic Transcoder encounters an error condition. This is the ARN
+ // that Amazon SNS returned when you created the topic.
Notifications *Notifications `type:"structure"`
// The IAM Amazon Resource Name (ARN) for the role that you want Elastic Transcoder
@@ -5037,17 +6785,23 @@ type UpdatePipelineInput struct {
//
// * Bucket: The Amazon S3 bucket in which you want Elastic Transcoder to
// save thumbnail files.
+ //
// * Permissions (Optional): The Permissions object specifies which users
// and/or predefined Amazon S3 groups you want to have access to thumbnail
// files, and the type of access you want them to have. You can grant permissions
// to a maximum of 30 users and/or predefined Amazon S3 groups.
+ //
// * GranteeType: Specify the type of value that appears in the Grantee object:
- // Canonical: The value in the Grantee object is either the canonical user
- // ID for an AWS account or an origin access identity for an Amazon CloudFront
- // distribution. A canonical user ID is not the same as an AWS account number.
+ //
+ // Canonical: The value in the Grantee object is either the canonical user ID
+ // for an AWS account or an origin access identity for an Amazon CloudFront
+ // distribution.
+ //
+ // A canonical user ID is not the same as an AWS account number.
//
// Email: The value in the Grantee object is the registered email address of
// an AWS account.
+ //
// Group: The value in the Grantee object is one of the following predefined
// Amazon S3 groups: AllUsers, AuthenticatedUsers, or LogDelivery.
//
@@ -5056,15 +6810,20 @@ type UpdatePipelineInput struct {
// ID for an AWS account, an origin access identity for a CloudFront distribution,
// the registered email address of an AWS account, or a predefined Amazon
// S3 group.
+ //
// * Access: The permission that you want to give to the AWS user that you
// specified in Grantee. Permissions are granted on the thumbnail files that
- // Elastic Transcoder adds to the bucket. Valid values include: READ: The
- // grantee can read the thumbnails and metadata for objects that Elastic
+ // Elastic Transcoder adds to the bucket. Valid values include:
+ //
+ // READ: The grantee can read the thumbnails and metadata for objects that Elastic
// Transcoder adds to the Amazon S3 bucket.
+ //
// READ_ACP: The grantee can read the object ACL for thumbnails that Elastic
// Transcoder adds to the Amazon S3 bucket.
+ //
// WRITE_ACP: The grantee can write the ACL for the thumbnails that Elastic
// Transcoder adds to the Amazon S3 bucket.
+ //
// FULL_CONTROL: The grantee has READ, READ_ACP, and WRITE_ACP permissions for
// the thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.
//
@@ -5110,6 +6869,54 @@ func (s *UpdatePipelineInput) Validate() error {
return nil
}
+// SetAwsKmsKeyArn sets the AwsKmsKeyArn field's value.
+func (s *UpdatePipelineInput) SetAwsKmsKeyArn(v string) *UpdatePipelineInput {
+ s.AwsKmsKeyArn = &v
+ return s
+}
+
+// SetContentConfig sets the ContentConfig field's value.
+func (s *UpdatePipelineInput) SetContentConfig(v *PipelineOutputConfig) *UpdatePipelineInput {
+ s.ContentConfig = v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *UpdatePipelineInput) SetId(v string) *UpdatePipelineInput {
+ s.Id = &v
+ return s
+}
+
+// SetInputBucket sets the InputBucket field's value.
+func (s *UpdatePipelineInput) SetInputBucket(v string) *UpdatePipelineInput {
+ s.InputBucket = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *UpdatePipelineInput) SetName(v string) *UpdatePipelineInput {
+ s.Name = &v
+ return s
+}
+
+// SetNotifications sets the Notifications field's value.
+func (s *UpdatePipelineInput) SetNotifications(v *Notifications) *UpdatePipelineInput {
+ s.Notifications = v
+ return s
+}
+
+// SetRole sets the Role field's value.
+func (s *UpdatePipelineInput) SetRole(v string) *UpdatePipelineInput {
+ s.Role = &v
+ return s
+}
+
+// SetThumbnailConfig sets the ThumbnailConfig field's value.
+func (s *UpdatePipelineInput) SetThumbnailConfig(v *PipelineOutputConfig) *UpdatePipelineInput {
+ s.ThumbnailConfig = v
+ return s
+}
+
// The UpdatePipelineNotificationsRequest structure.
type UpdatePipelineNotificationsInput struct {
_ struct{} `type:"structure"`
@@ -5124,16 +6931,21 @@ type UpdatePipelineNotificationsInput struct {
// that you want to notify to report job status.
//
// To receive notifications, you must also subscribe to the new topic in the
- // Amazon SNS console. * Progressing: The topic ARN for the Amazon Simple Notification Service
+ // Amazon SNS console.
+ //
+ // * Progressing: The topic ARN for the Amazon Simple Notification Service
// (Amazon SNS) topic that you want to notify when Elastic Transcoder has
// started to process jobs that are added to this pipeline. This is the ARN
// that Amazon SNS returned when you created the topic.
+ //
// * Completed: The topic ARN for the Amazon SNS topic that you want to notify
// when Elastic Transcoder has finished processing a job. This is the ARN
// that Amazon SNS returned when you created the topic.
+ //
// * Warning: The topic ARN for the Amazon SNS topic that you want to notify
// when Elastic Transcoder encounters a warning condition. This is the ARN
// that Amazon SNS returned when you created the topic.
+ //
// * Error: The topic ARN for the Amazon SNS topic that you want to notify
// when Elastic Transcoder encounters an error condition. This is the ARN
// that Amazon SNS returned when you created the topic.
@@ -5168,11 +6980,24 @@ func (s *UpdatePipelineNotificationsInput) Validate() error {
return nil
}
+// SetId sets the Id field's value.
+func (s *UpdatePipelineNotificationsInput) SetId(v string) *UpdatePipelineNotificationsInput {
+ s.Id = &v
+ return s
+}
+
+// SetNotifications sets the Notifications field's value.
+func (s *UpdatePipelineNotificationsInput) SetNotifications(v *Notifications) *UpdatePipelineNotificationsInput {
+ s.Notifications = v
+ return s
+}
+
// The UpdatePipelineNotificationsResponse structure.
type UpdatePipelineNotificationsOutput struct {
_ struct{} `type:"structure"`
- // A section of the response body that provides information about the pipeline.
+ // A section of the response body that provides information about the pipeline
+ // associated with this notification.
Pipeline *Pipeline `type:"structure"`
}
@@ -5186,12 +7011,18 @@ func (s UpdatePipelineNotificationsOutput) GoString() string {
return s.String()
}
+// SetPipeline sets the Pipeline field's value.
+func (s *UpdatePipelineNotificationsOutput) SetPipeline(v *Pipeline) *UpdatePipelineNotificationsOutput {
+ s.Pipeline = v
+ return s
+}
+
// When you update a pipeline, Elastic Transcoder returns the values that you
// specified in the request.
type UpdatePipelineOutput struct {
_ struct{} `type:"structure"`
- // The pipeline (queue) that is used to manage jobs.
+ // The pipeline updated by this UpdatePipelineResponse call.
Pipeline *Pipeline `type:"structure"`
// Elastic Transcoder returns a warning if the resources used by your pipeline
@@ -5213,6 +7044,18 @@ func (s UpdatePipelineOutput) GoString() string {
return s.String()
}
+// SetPipeline sets the Pipeline field's value.
+func (s *UpdatePipelineOutput) SetPipeline(v *Pipeline) *UpdatePipelineOutput {
+ s.Pipeline = v
+ return s
+}
+
+// SetWarnings sets the Warnings field's value.
+func (s *UpdatePipelineOutput) SetWarnings(v []*Warning) *UpdatePipelineOutput {
+ s.Warnings = v
+ return s
+}
+
// The UpdatePipelineStatusRequest structure.
type UpdatePipelineStatusInput struct {
_ struct{} `type:"structure"`
@@ -5225,6 +7068,7 @@ type UpdatePipelineStatusInput struct {
// The desired status of the pipeline:
//
// * Active: The pipeline is processing jobs.
+ //
// * Paused: The pipeline is not currently processing jobs.
//
// Status is a required field
@@ -5257,6 +7101,18 @@ func (s *UpdatePipelineStatusInput) Validate() error {
return nil
}
+// SetId sets the Id field's value.
+func (s *UpdatePipelineStatusInput) SetId(v string) *UpdatePipelineStatusInput {
+ s.Id = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *UpdatePipelineStatusInput) SetStatus(v string) *UpdatePipelineStatusInput {
+ s.Status = &v
+ return s
+}
+
// When you update status for a pipeline, Elastic Transcoder returns the values
// that you specified in the request.
type UpdatePipelineStatusOutput struct {
@@ -5276,6 +7132,12 @@ func (s UpdatePipelineStatusOutput) GoString() string {
return s.String()
}
+// SetPipeline sets the Pipeline field's value.
+func (s *UpdatePipelineStatusOutput) SetPipeline(v *Pipeline) *UpdatePipelineStatusOutput {
+ s.Pipeline = v
+ return s
+}
+
// The VideoParameters structure.
type VideoParameters struct {
_ struct{} `type:"structure"`
@@ -5309,34 +7171,47 @@ type VideoParameters struct {
// : maximum video bit rate in kilobits/second (high Profile)
//
// * 1 - 64 : 80
+ //
// * 1b - 128 : 160
+ //
// * 1.1 - 192 : 240
+ //
// * 1.2 - 384 : 480
+ //
// * 1.3 - 768 : 960
+ //
// * 2 - 2000 : 2500
+ //
// * 3 - 10000 : 12500
+ //
// * 3.1 - 14000 : 17500
+ //
// * 3.2 - 20000 : 25000
+ //
// * 4 - 20000 : 25000
+ //
// * 4.1 - 50000 : 62500
BitRate *string `type:"string"`
// The video codec for the output file. Valid values include gif, H.264, mpeg2,
- // and vp8. You can only specify vp8 when the container type is webm, gif when
- // the container type is gif, and mpeg2 when the container type is mpg.
+ // vp8, and vp9. You can only specify vp8 and vp9 when the container type is
+ // webm, gif when the container type is gif, and mpeg2 when the container type
+ // is mpg.
Codec *string `type:"string"`
- // Profile (H.264/VP8 Only)
+ // Profile (H.264/VP8/VP9 Only)
//
// The H.264 profile that you want to use for the output file. Elastic Transcoder
// supports the following profiles:
//
// * baseline: The profile most commonly used for videoconferencing and for
// mobile applications.
+ //
// * main: The profile used for standard-definition digital TV broadcasts.
//
// * high: The profile used for high-definition digital TV broadcasts and
// for Blu-ray discs.
+ //
// Level (H.264 Only)
//
// The H.264 level that you want to use for the output file. Elastic Transcoder
@@ -5360,26 +7235,39 @@ type VideoParameters struct {
// block of pixels measuring 16x16.)
//
// * 1 - 396
+ //
// * 1b - 396
+ //
// * 1.1 - 900
+ //
// * 1.2 - 2376
+ //
// * 1.3 - 2376
+ //
// * 2 - 2376
+ //
// * 2.1 - 4752
+ //
// * 2.2 - 8100
+ //
// * 3 - 8100
+ //
// * 3.1 - 18000
+ //
// * 3.2 - 20480
+ //
// * 4 - 32768
+ //
// * 4.1 - 32768
- // MaxBitRate (Optional, H.264/MPEG2/VP8 only)
+ //
+ // MaxBitRate (Optional, H.264/MPEG2/VP8/VP9 only)
//
// The maximum number of bits per second in a video buffer; the size of the
// buffer is specified by BufferSize. Specify a value between 16 and 62,500.
// You can reduce the bandwidth required to stream a video by reducing the maximum
// bit rate, but this also reduces the quality of the video.
//
- // BufferSize (Optional, H.264/MPEG2/VP8 only)
+ // BufferSize (Optional, H.264/MPEG2/VP8/VP9 only)
//
// The maximum number of bits in any x seconds of the output video. This window
// is commonly 10 seconds, the standard segment duration when you're using FMP4
@@ -5426,7 +7314,9 @@ type VideoParameters struct {
// * HD to Standard, 1920x1080 to 720x576 - Elastic Transcoder applies Bt709ToBt601
//
// Elastic Transcoder may change the behavior of the ColorspaceConversionModeAuto
- // mode in the future. All outputs in a playlist must use the same ColorSpaceConversionMode.If you do not specify a ColorSpaceConversionMode, Elastic Transcoder does
+ // mode in the future. All outputs in a playlist must use the same ColorSpaceConversionMode.
+ //
+ // If you do not specify a ColorSpaceConversionMode, Elastic Transcoder does
// not change the color space of a file. If you are unsure what ColorSpaceConversionMode
// was applied to your output file, you can check the AppliedColorSpaceConversion
// parameter included in your job response. If your job does not have an AppliedColorSpaceConversion
@@ -5458,7 +7348,9 @@ type VideoParameters struct {
// * true: Elastic Transcoder uses the value of KeyframesMaxDist for the
// distance between key frames (the number of frames in a group of pictures,
// or GOP).
+ //
// * false: The distance between key frames can vary.
+ //
// FixedGOP must be set to true for fmp4 containers.
FixedGOP *string `type:"string"`
@@ -5478,24 +7370,38 @@ type VideoParameters struct {
//
// * width in pixels and height in pixels represent the Resolution of the
// output video.
+ //
// * maximum recommended decoding speed in Luma samples/second is less than
// or equal to the maximum value listed in the following table, based on
// the value that you specified for Level.
+ //
// The maximum recommended decoding speed in Luma samples/second for each level
// is described in the following list (Level - Decoding speed):
//
// * 1 - 380160
+ //
// * 1b - 380160
+ //
// * 1.1 - 76800
+ //
// * 1.2 - 1536000
+ //
// * 1.3 - 3041280
+ //
// * 2 - 3041280
+ //
// * 2.1 - 5068800
+ //
// * 2.2 - 5184000
+ //
// * 3 - 10368000
+ //
// * 3.1 - 27648000
+ //
// * 3.2 - 55296000
+ //
// * 4 - 62914560
+ //
// * 4.1 - 62914560
FrameRate *string `type:"string"`
@@ -5555,12 +7461,15 @@ type VideoParameters struct {
//
// * auto: Elastic Transcoder attempts to preserve the width and height of
// the input file, subject to the following rules.
+ //
// * width x height: The width and height of the output video in pixels.
//
// Note the following about specifying the width and height:
//
// * The width must be an even integer between 128 and 4096, inclusive.
+ //
// * The height must be an even integer between 96 and 3072, inclusive.
+ //
// * If you specify a resolution that is less than the resolution of the
// input file, Elastic Transcoder rescales the output file to the lower resolution.
//
@@ -5570,45 +7479,63 @@ type VideoParameters struct {
// * We recommend that you specify a resolution for which the product of
// width and height is less than or equal to the applicable value in the
// following list (List - Max width x height value):
- // * 1 - 25344
+ //
+ // 1 - 25344
+ //
// 1b - 25344
+ //
// 1.1 - 101376
+ //
// 1.2 - 101376
+ //
// 1.3 - 101376
+ //
// 2 - 101376
+ //
// 2.1 - 202752
+ //
// 2.2 - 404720
+ //
// 3 - 404720
+ //
// 3.1 - 921600
+ //
// 3.2 - 1310720
+ //
// 4 - 2097152
+ //
// 4.1 - 2097152
Resolution *string `type:"string"`
// Specify one of the following values to control scaling of the output video:
//
- // Fit: Elastic Transcoder scales the output video so it matches the value that
- // you specified in either MaxWidth or MaxHeight without exceeding the other
- // value.
- // Fill: Elastic Transcoder scales the output video so it matches the value
- // that you specified in either MaxWidth or MaxHeight and matches or exceeds
- // the other value. Elastic Transcoder centers the output video and then crops
- // it in the dimension (if any) that exceeds the maximum value.
- // Stretch: Elastic Transcoder stretches the output video to match the values
- // that you specified for MaxWidth and MaxHeight. If the relative proportions
- // of the input video and the output video are different, the output video will
- // be distorted.
- // Keep: Elastic Transcoder does not scale the output video. If either dimension
- // of the input video exceeds the values that you specified for MaxWidth and
- // MaxHeight, Elastic Transcoder crops the output video.
- // ShrinkToFit: Elastic Transcoder scales the output video down so that its
- // dimensions match the values that you specified for at least one of MaxWidth
- // and MaxHeight without exceeding either value. If you specify this option,
- // Elastic Transcoder does not scale the video up.
- // ShrinkToFill: Elastic Transcoder scales the output video down so that its
- // dimensions match the values that you specified for at least one of MaxWidth
- // and MaxHeight without dropping below either value. If you specify this option,
- // Elastic Transcoder does not scale the video up.
+ // * Fit: Elastic Transcoder scales the output video so it matches the value
+ // that you specified in either MaxWidth or MaxHeight without exceeding the
+ // other value.
+ //
+ // * Fill: Elastic Transcoder scales the output video so it matches the value
+ // that you specified in either MaxWidth or MaxHeight and matches or exceeds
+ // the other value. Elastic Transcoder centers the output video and then
+ // crops it in the dimension (if any) that exceeds the maximum value.
+ //
+ // * Stretch: Elastic Transcoder stretches the output video to match the
+ // values that you specified for MaxWidth and MaxHeight. If the relative
+ // proportions of the input video and the output video are different, the
+ // output video will be distorted.
+ //
+ // * Keep: Elastic Transcoder does not scale the output video. If either
+ // dimension of the input video exceeds the values that you specified for
+ // MaxWidth and MaxHeight, Elastic Transcoder crops the output video.
+ //
+ // * ShrinkToFit: Elastic Transcoder scales the output video down so that
+ // its dimensions match the values that you specified for at least one of
+ // MaxWidth and MaxHeight without exceeding either value. If you specify
+ // this option, Elastic Transcoder does not scale the video up.
+ //
+ // * ShrinkToFill: Elastic Transcoder scales the output video down so that
+ // its dimensions match the values that you specified for at least one of
+ // MaxWidth and MaxHeight without dropping below either value. If you specify
+ // this option, Elastic Transcoder does not scale the video up.
SizingPolicy *string `type:"string"`
// Settings for the size, location, and opacity of graphics that you want Elastic
@@ -5658,6 +7585,96 @@ func (s *VideoParameters) Validate() error {
return nil
}
+// SetAspectRatio sets the AspectRatio field's value.
+func (s *VideoParameters) SetAspectRatio(v string) *VideoParameters {
+ s.AspectRatio = &v
+ return s
+}
+
+// SetBitRate sets the BitRate field's value.
+func (s *VideoParameters) SetBitRate(v string) *VideoParameters {
+ s.BitRate = &v
+ return s
+}
+
+// SetCodec sets the Codec field's value.
+func (s *VideoParameters) SetCodec(v string) *VideoParameters {
+ s.Codec = &v
+ return s
+}
+
+// SetCodecOptions sets the CodecOptions field's value.
+func (s *VideoParameters) SetCodecOptions(v map[string]*string) *VideoParameters {
+ s.CodecOptions = v
+ return s
+}
+
+// SetDisplayAspectRatio sets the DisplayAspectRatio field's value.
+func (s *VideoParameters) SetDisplayAspectRatio(v string) *VideoParameters {
+ s.DisplayAspectRatio = &v
+ return s
+}
+
+// SetFixedGOP sets the FixedGOP field's value.
+func (s *VideoParameters) SetFixedGOP(v string) *VideoParameters {
+ s.FixedGOP = &v
+ return s
+}
+
+// SetFrameRate sets the FrameRate field's value.
+func (s *VideoParameters) SetFrameRate(v string) *VideoParameters {
+ s.FrameRate = &v
+ return s
+}
+
+// SetKeyframesMaxDist sets the KeyframesMaxDist field's value.
+func (s *VideoParameters) SetKeyframesMaxDist(v string) *VideoParameters {
+ s.KeyframesMaxDist = &v
+ return s
+}
+
+// SetMaxFrameRate sets the MaxFrameRate field's value.
+func (s *VideoParameters) SetMaxFrameRate(v string) *VideoParameters {
+ s.MaxFrameRate = &v
+ return s
+}
+
+// SetMaxHeight sets the MaxHeight field's value.
+func (s *VideoParameters) SetMaxHeight(v string) *VideoParameters {
+ s.MaxHeight = &v
+ return s
+}
+
+// SetMaxWidth sets the MaxWidth field's value.
+func (s *VideoParameters) SetMaxWidth(v string) *VideoParameters {
+ s.MaxWidth = &v
+ return s
+}
+
+// SetPaddingPolicy sets the PaddingPolicy field's value.
+func (s *VideoParameters) SetPaddingPolicy(v string) *VideoParameters {
+ s.PaddingPolicy = &v
+ return s
+}
+
+// SetResolution sets the Resolution field's value.
+func (s *VideoParameters) SetResolution(v string) *VideoParameters {
+ s.Resolution = &v
+ return s
+}
+
+// SetSizingPolicy sets the SizingPolicy field's value.
+func (s *VideoParameters) SetSizingPolicy(v string) *VideoParameters {
+ s.SizingPolicy = &v
+ return s
+}
+
+// SetWatermarks sets the Watermarks field's value.
+func (s *VideoParameters) SetWatermarks(v []*PresetWatermark) *VideoParameters {
+ s.Watermarks = v
+ return s
+}
+
// Elastic Transcoder returns a warning if the resources used by your pipeline
// are not in the same region as the pipeline.
//
@@ -5673,7 +7690,7 @@ type Warning struct {
// The message explaining what resources are in a different region from the
// pipeline.
//
- // Note: AWS KMS keys must be in the same region as the pipeline.
+ // AWS KMS keys must be in the same region as the pipeline.
Message *string `type:"string"`
}
@@ -5686,3 +7703,15 @@ func (s Warning) String() string {
func (s Warning) GoString() string {
return s.String()
}
+
+// SetCode sets the Code field's value.
+func (s *Warning) SetCode(v string) *Warning {
+ s.Code = &v
+ return s
+}
+
+// SetMessage sets the Message field's value.
+func (s *Warning) SetMessage(v string) *Warning {
+ s.Message = &v
+ return s
+}
diff --git a/vendor/github.com/aws/aws-sdk-go/service/elastictranscoder/examples_test.go b/vendor/github.com/aws/aws-sdk-go/service/elastictranscoder/examples_test.go
index 2b07693..546b02c 100644
--- a/vendor/github.com/aws/aws-sdk-go/service/elastictranscoder/examples_test.go
+++ b/vendor/github.com/aws/aws-sdk-go/service/elastictranscoder/examples_test.go
@@ -50,7 +50,8 @@ func ExampleElasticTranscoder_CreateJob() {
svc := elastictranscoder.New(sess)
params := &elastictranscoder.CreateJobInput{
- Input: &elastictranscoder.JobInput{ // Required
+ PipelineId: aws.String("Id"), // Required
+ Input: &elastictranscoder.JobInput{
AspectRatio: aws.String("AspectRatio"),
Container: aws.String("JobContainer"),
DetectedProperties: &elastictranscoder.DetectedProperties{
@@ -66,12 +67,79 @@ func ExampleElasticTranscoder_CreateJob() {
KeyMd5: aws.String("Base64EncodedString"),
Mode: aws.String("EncryptionMode"),
},
- FrameRate: aws.String("FrameRate"),
+ FrameRate: aws.String("FrameRate"),
+ InputCaptions: &elastictranscoder.InputCaptions{
+ CaptionSources: []*elastictranscoder.CaptionSource{
+ { // Required
+ Encryption: &elastictranscoder.Encryption{
+ InitializationVector: aws.String("ZeroTo255String"),
+ Key: aws.String("Base64EncodedString"),
+ KeyMd5: aws.String("Base64EncodedString"),
+ Mode: aws.String("EncryptionMode"),
+ },
+ Key: aws.String("LongKey"),
+ Label: aws.String("Name"),
+ Language: aws.String("Key"),
+ TimeOffset: aws.String("TimeOffset"),
+ },
+ // More values...
+ },
+ MergePolicy: aws.String("CaptionMergePolicy"),
+ },
Interlaced: aws.String("Interlaced"),
Key: aws.String("LongKey"),
Resolution: aws.String("Resolution"),
+ TimeSpan: &elastictranscoder.TimeSpan{
+ Duration: aws.String("Time"),
+ StartTime: aws.String("Time"),
+ },
+ },
+ Inputs: []*elastictranscoder.JobInput{
+ { // Required
+ AspectRatio: aws.String("AspectRatio"),
+ Container: aws.String("JobContainer"),
+ DetectedProperties: &elastictranscoder.DetectedProperties{
+ DurationMillis: aws.Int64(1),
+ FileSize: aws.Int64(1),
+ FrameRate: aws.String("FloatString"),
+ Height: aws.Int64(1),
+ Width: aws.Int64(1),
+ },
+ Encryption: &elastictranscoder.Encryption{
+ InitializationVector: aws.String("ZeroTo255String"),
+ Key: aws.String("Base64EncodedString"),
+ KeyMd5: aws.String("Base64EncodedString"),
+ Mode: aws.String("EncryptionMode"),
+ },
+ FrameRate: aws.String("FrameRate"),
+ InputCaptions: &elastictranscoder.InputCaptions{
+ CaptionSources: []*elastictranscoder.CaptionSource{
+ { // Required
+ Encryption: &elastictranscoder.Encryption{
+ InitializationVector: aws.String("ZeroTo255String"),
+ Key: aws.String("Base64EncodedString"),
+ KeyMd5: aws.String("Base64EncodedString"),
+ Mode: aws.String("EncryptionMode"),
+ },
+ Key: aws.String("LongKey"),
+ Label: aws.String("Name"),
+ Language: aws.String("Key"),
+ TimeOffset: aws.String("TimeOffset"),
+ },
+ // More values...
+ },
+ MergePolicy: aws.String("CaptionMergePolicy"),
+ },
+ Interlaced: aws.String("Interlaced"),
+ Key: aws.String("LongKey"),
+ Resolution: aws.String("Resolution"),
+ TimeSpan: &elastictranscoder.TimeSpan{
+ Duration: aws.String("Time"),
+ StartTime: aws.String("Time"),
+ },
+ },
+ // More values...
},
- PipelineId: aws.String("Id"), // Required
Output: &elastictranscoder.CreateJobOutput{
AlbumArt: &elastictranscoder.JobAlbumArt{
Artwork: []*elastictranscoder.Artwork{
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 6bab00d..c9d5873 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
@@ -2248,6 +2248,30 @@ func (s *AccessLog) Validate() error {
return nil
}
+// SetEmitInterval sets the EmitInterval field's value.
+func (s *AccessLog) SetEmitInterval(v int64) *AccessLog {
+ s.EmitInterval = &v
+ return s
+}
+
+// SetEnabled sets the Enabled field's value.
+func (s *AccessLog) SetEnabled(v bool) *AccessLog {
+ s.Enabled = &v
+ return s
+}
+
+// SetS3BucketName sets the S3BucketName field's value.
+func (s *AccessLog) SetS3BucketName(v string) *AccessLog {
+ s.S3BucketName = &v
+ return s
+}
+
+// SetS3BucketPrefix sets the S3BucketPrefix field's value.
+func (s *AccessLog) SetS3BucketPrefix(v string) *AccessLog {
+ s.S3BucketPrefix = &v
+ return s
+}
+
// Contains the parameters for AddTags.
type AddTagsInput struct {
_ struct{} `type:"structure"`
@@ -2302,6 +2326,18 @@ func (s *AddTagsInput) Validate() error {
return nil
}
+// SetLoadBalancerNames sets the LoadBalancerNames field's value.
+func (s *AddTagsInput) SetLoadBalancerNames(v []*string) *AddTagsInput {
+ s.LoadBalancerNames = v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *AddTagsInput) SetTags(v []*Tag) *AddTagsInput {
+ s.Tags = v
+ return s
+}
+
// Contains the output of AddTags.
type AddTagsOutput struct {
_ struct{} `type:"structure"`
@@ -2338,6 +2374,18 @@ func (s AdditionalAttribute) GoString() string {
return s.String()
}
+// SetKey sets the Key field's value.
+func (s *AdditionalAttribute) SetKey(v string) *AdditionalAttribute {
+ s.Key = &v
+ return s
+}
+
+// SetValue sets the Value field's value.
+func (s *AdditionalAttribute) SetValue(v string) *AdditionalAttribute {
+ s.Value = &v
+ return s
+}
+
// Information about a policy for application-controlled session stickiness.
type AppCookieStickinessPolicy struct {
_ struct{} `type:"structure"`
@@ -2360,6 +2408,18 @@ func (s AppCookieStickinessPolicy) GoString() string {
return s.String()
}
+// SetCookieName sets the CookieName field's value.
+func (s *AppCookieStickinessPolicy) SetCookieName(v string) *AppCookieStickinessPolicy {
+ s.CookieName = &v
+ return s
+}
+
+// SetPolicyName sets the PolicyName field's value.
+func (s *AppCookieStickinessPolicy) SetPolicyName(v string) *AppCookieStickinessPolicy {
+ s.PolicyName = &v
+ return s
+}
+
// Contains the parameters for ApplySecurityGroupsToLoadBalancer.
type ApplySecurityGroupsToLoadBalancerInput struct {
_ struct{} `type:"structure"`
@@ -2402,6 +2462,18 @@ func (s *ApplySecurityGroupsToLoadBalancerInput) Validate() error {
return nil
}
+// SetLoadBalancerName sets the LoadBalancerName field's value.
+func (s *ApplySecurityGroupsToLoadBalancerInput) SetLoadBalancerName(v string) *ApplySecurityGroupsToLoadBalancerInput {
+ s.LoadBalancerName = &v
+ return s
+}
+
+// SetSecurityGroups sets the SecurityGroups field's value.
+func (s *ApplySecurityGroupsToLoadBalancerInput) SetSecurityGroups(v []*string) *ApplySecurityGroupsToLoadBalancerInput {
+ s.SecurityGroups = v
+ return s
+}
+
// Contains the output of ApplySecurityGroupsToLoadBalancer.
type ApplySecurityGroupsToLoadBalancerOutput struct {
_ struct{} `type:"structure"`
@@ -2420,6 +2492,12 @@ func (s ApplySecurityGroupsToLoadBalancerOutput) GoString() string {
return s.String()
}
+// SetSecurityGroups sets the SecurityGroups field's value.
+func (s *ApplySecurityGroupsToLoadBalancerOutput) SetSecurityGroups(v []*string) *ApplySecurityGroupsToLoadBalancerOutput {
+ s.SecurityGroups = v
+ return s
+}
+
// Contains the parameters for AttachLoaBalancerToSubnets.
type AttachLoadBalancerToSubnetsInput struct {
_ struct{} `type:"structure"`
@@ -2462,6 +2540,18 @@ func (s *AttachLoadBalancerToSubnetsInput) Validate() error {
return nil
}
+// SetLoadBalancerName sets the LoadBalancerName field's value.
+func (s *AttachLoadBalancerToSubnetsInput) SetLoadBalancerName(v string) *AttachLoadBalancerToSubnetsInput {
+ s.LoadBalancerName = &v
+ return s
+}
+
+// SetSubnets sets the Subnets field's value.
+func (s *AttachLoadBalancerToSubnetsInput) SetSubnets(v []*string) *AttachLoadBalancerToSubnetsInput {
+ s.Subnets = v
+ return s
+}
+
// Contains the output of AttachLoadBalancerToSubnets.
type AttachLoadBalancerToSubnetsOutput struct {
_ struct{} `type:"structure"`
@@ -2480,6 +2570,12 @@ func (s AttachLoadBalancerToSubnetsOutput) GoString() string {
return s.String()
}
+// SetSubnets sets the Subnets field's value.
+func (s *AttachLoadBalancerToSubnetsOutput) SetSubnets(v []*string) *AttachLoadBalancerToSubnetsOutput {
+ s.Subnets = v
+ return s
+}
+
// Information about the configuration of an EC2 instance.
type BackendServerDescription struct {
_ struct{} `type:"structure"`
@@ -2501,6 +2597,18 @@ func (s BackendServerDescription) GoString() string {
return s.String()
}
+// SetInstancePort sets the InstancePort field's value.
+func (s *BackendServerDescription) SetInstancePort(v int64) *BackendServerDescription {
+ s.InstancePort = &v
+ return s
+}
+
+// SetPolicyNames sets the PolicyNames field's value.
+func (s *BackendServerDescription) SetPolicyNames(v []*string) *BackendServerDescription {
+ s.PolicyNames = v
+ return s
+}
+
// Contains the parameters for ConfigureHealthCheck.
type ConfigureHealthCheckInput struct {
_ struct{} `type:"structure"`
@@ -2547,6 +2655,18 @@ func (s *ConfigureHealthCheckInput) Validate() error {
return nil
}
+// SetHealthCheck sets the HealthCheck field's value.
+func (s *ConfigureHealthCheckInput) SetHealthCheck(v *HealthCheck) *ConfigureHealthCheckInput {
+ s.HealthCheck = v
+ return s
+}
+
+// SetLoadBalancerName sets the LoadBalancerName field's value.
+func (s *ConfigureHealthCheckInput) SetLoadBalancerName(v string) *ConfigureHealthCheckInput {
+ s.LoadBalancerName = &v
+ return s
+}
+
// Contains the output of ConfigureHealthCheck.
type ConfigureHealthCheckOutput struct {
_ struct{} `type:"structure"`
@@ -2565,6 +2685,12 @@ func (s ConfigureHealthCheckOutput) GoString() string {
return s.String()
}
+// SetHealthCheck sets the HealthCheck field's value.
+func (s *ConfigureHealthCheckOutput) SetHealthCheck(v *HealthCheck) *ConfigureHealthCheckOutput {
+ s.HealthCheck = v
+ return s
+}
+
// Information about the ConnectionDraining attribute.
type ConnectionDraining struct {
_ struct{} `type:"structure"`
@@ -2602,6 +2728,18 @@ func (s *ConnectionDraining) Validate() error {
return nil
}
+// SetEnabled sets the Enabled field's value.
+func (s *ConnectionDraining) SetEnabled(v bool) *ConnectionDraining {
+ s.Enabled = &v
+ return s
+}
+
+// SetTimeout sets the Timeout field's value.
+func (s *ConnectionDraining) SetTimeout(v int64) *ConnectionDraining {
+ s.Timeout = &v
+ return s
+}
+
// Information about the ConnectionSettings attribute.
type ConnectionSettings struct {
_ struct{} `type:"structure"`
@@ -2639,6 +2777,12 @@ func (s *ConnectionSettings) Validate() error {
return nil
}
+// SetIdleTimeout sets the IdleTimeout field's value.
+func (s *ConnectionSettings) SetIdleTimeout(v int64) *ConnectionSettings {
+ s.IdleTimeout = &v
+ return s
+}
+
// Contains the parameters for CreateAppCookieStickinessPolicy.
type CreateAppCookieStickinessPolicyInput struct {
_ struct{} `type:"structure"`
@@ -2690,6 +2834,24 @@ func (s *CreateAppCookieStickinessPolicyInput) Validate() error {
return nil
}
+// SetCookieName sets the CookieName field's value.
+func (s *CreateAppCookieStickinessPolicyInput) SetCookieName(v string) *CreateAppCookieStickinessPolicyInput {
+ s.CookieName = &v
+ return s
+}
+
+// SetLoadBalancerName sets the LoadBalancerName field's value.
+func (s *CreateAppCookieStickinessPolicyInput) SetLoadBalancerName(v string) *CreateAppCookieStickinessPolicyInput {
+ s.LoadBalancerName = &v
+ return s
+}
+
+// SetPolicyName sets the PolicyName field's value.
+func (s *CreateAppCookieStickinessPolicyInput) SetPolicyName(v string) *CreateAppCookieStickinessPolicyInput {
+ s.PolicyName = &v
+ return s
+}
+
// Contains the output for CreateAppCookieStickinessPolicy.
type CreateAppCookieStickinessPolicyOutput struct {
_ struct{} `type:"structure"`
@@ -2754,6 +2916,24 @@ func (s *CreateLBCookieStickinessPolicyInput) Validate() error {
return nil
}
+// SetCookieExpirationPeriod sets the CookieExpirationPeriod field's value.
+func (s *CreateLBCookieStickinessPolicyInput) SetCookieExpirationPeriod(v int64) *CreateLBCookieStickinessPolicyInput {
+ s.CookieExpirationPeriod = &v
+ return s
+}
+
+// SetLoadBalancerName sets the LoadBalancerName field's value.
+func (s *CreateLBCookieStickinessPolicyInput) SetLoadBalancerName(v string) *CreateLBCookieStickinessPolicyInput {
+ s.LoadBalancerName = &v
+ return s
+}
+
+// SetPolicyName sets the PolicyName field's value.
+func (s *CreateLBCookieStickinessPolicyInput) SetPolicyName(v string) *CreateLBCookieStickinessPolicyInput {
+ s.PolicyName = &v
+ return s
+}
+
// Contains the output for CreateLBCookieStickinessPolicy.
type CreateLBCookieStickinessPolicyOutput struct {
_ struct{} `type:"structure"`
@@ -2874,6 +3054,48 @@ func (s *CreateLoadBalancerInput) Validate() error {
return nil
}
+// SetAvailabilityZones sets the AvailabilityZones field's value.
+func (s *CreateLoadBalancerInput) SetAvailabilityZones(v []*string) *CreateLoadBalancerInput {
+ s.AvailabilityZones = v
+ return s
+}
+
+// SetListeners sets the Listeners field's value.
+func (s *CreateLoadBalancerInput) SetListeners(v []*Listener) *CreateLoadBalancerInput {
+ s.Listeners = v
+ return s
+}
+
+// SetLoadBalancerName sets the LoadBalancerName field's value.
+func (s *CreateLoadBalancerInput) SetLoadBalancerName(v string) *CreateLoadBalancerInput {
+ s.LoadBalancerName = &v
+ return s
+}
+
+// SetScheme sets the Scheme field's value.
+func (s *CreateLoadBalancerInput) SetScheme(v string) *CreateLoadBalancerInput {
+ s.Scheme = &v
+ return s
+}
+
+// SetSecurityGroups sets the SecurityGroups field's value.
+func (s *CreateLoadBalancerInput) SetSecurityGroups(v []*string) *CreateLoadBalancerInput {
+ s.SecurityGroups = v
+ return s
+}
+
+// SetSubnets sets the Subnets field's value.
+func (s *CreateLoadBalancerInput) SetSubnets(v []*string) *CreateLoadBalancerInput {
+ s.Subnets = v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *CreateLoadBalancerInput) SetTags(v []*Tag) *CreateLoadBalancerInput {
+ s.Tags = v
+ return s
+}
+
// Contains the parameters for CreateLoadBalancerListeners.
type CreateLoadBalancerListenersInput struct {
_ struct{} `type:"structure"`
@@ -2925,6 +3147,18 @@ func (s *CreateLoadBalancerListenersInput) Validate() error {
return nil
}
+// SetListeners sets the Listeners field's value.
+func (s *CreateLoadBalancerListenersInput) SetListeners(v []*Listener) *CreateLoadBalancerListenersInput {
+ s.Listeners = v
+ return s
+}
+
+// SetLoadBalancerName sets the LoadBalancerName field's value.
+func (s *CreateLoadBalancerListenersInput) SetLoadBalancerName(v string) *CreateLoadBalancerListenersInput {
+ s.LoadBalancerName = &v
+ return s
+}
+
// Contains the parameters for CreateLoadBalancerListener.
type CreateLoadBalancerListenersOutput struct {
_ struct{} `type:"structure"`
@@ -2958,6 +3192,12 @@ func (s CreateLoadBalancerOutput) GoString() string {
return s.String()
}
+// SetDNSName sets the DNSName field's value.
+func (s *CreateLoadBalancerOutput) SetDNSName(v string) *CreateLoadBalancerOutput {
+ s.DNSName = &v
+ return s
+}
+
// Contains the parameters for CreateLoadBalancerPolicy.
type CreateLoadBalancerPolicyInput struct {
_ struct{} `type:"structure"`
@@ -3011,6 +3251,30 @@ func (s *CreateLoadBalancerPolicyInput) Validate() error {
return nil
}
+// SetLoadBalancerName sets the LoadBalancerName field's value.
+func (s *CreateLoadBalancerPolicyInput) SetLoadBalancerName(v string) *CreateLoadBalancerPolicyInput {
+ s.LoadBalancerName = &v
+ return s
+}
+
+// SetPolicyAttributes sets the PolicyAttributes field's value.
+func (s *CreateLoadBalancerPolicyInput) SetPolicyAttributes(v []*PolicyAttribute) *CreateLoadBalancerPolicyInput {
+ s.PolicyAttributes = v
+ return s
+}
+
+// SetPolicyName sets the PolicyName field's value.
+func (s *CreateLoadBalancerPolicyInput) SetPolicyName(v string) *CreateLoadBalancerPolicyInput {
+ s.PolicyName = &v
+ return s
+}
+
+// SetPolicyTypeName sets the PolicyTypeName field's value.
+func (s *CreateLoadBalancerPolicyInput) SetPolicyTypeName(v string) *CreateLoadBalancerPolicyInput {
+ s.PolicyTypeName = &v
+ return s
+}
+
// Contains the output of CreateLoadBalancerPolicy.
type CreateLoadBalancerPolicyOutput struct {
_ struct{} `type:"structure"`
@@ -3059,6 +3323,12 @@ func (s *CrossZoneLoadBalancing) Validate() error {
return nil
}
+// SetEnabled sets the Enabled field's value.
+func (s *CrossZoneLoadBalancing) SetEnabled(v bool) *CrossZoneLoadBalancing {
+ s.Enabled = &v
+ return s
+}
+
// Contains the parameters for DeleteLoadBalancer.
type DeleteLoadBalancerInput struct {
_ struct{} `type:"structure"`
@@ -3092,6 +3362,12 @@ func (s *DeleteLoadBalancerInput) Validate() error {
return nil
}
+// SetLoadBalancerName sets the LoadBalancerName field's value.
+func (s *DeleteLoadBalancerInput) SetLoadBalancerName(v string) *DeleteLoadBalancerInput {
+ s.LoadBalancerName = &v
+ return s
+}
+
// Contains the parameters for DeleteLoadBalancerListeners.
type DeleteLoadBalancerListenersInput struct {
_ struct{} `type:"structure"`
@@ -3133,6 +3409,18 @@ func (s *DeleteLoadBalancerListenersInput) Validate() error {
return nil
}
+// SetLoadBalancerName sets the LoadBalancerName field's value.
+func (s *DeleteLoadBalancerListenersInput) SetLoadBalancerName(v string) *DeleteLoadBalancerListenersInput {
+ s.LoadBalancerName = &v
+ return s
+}
+
+// SetLoadBalancerPorts sets the LoadBalancerPorts field's value.
+func (s *DeleteLoadBalancerListenersInput) SetLoadBalancerPorts(v []*int64) *DeleteLoadBalancerListenersInput {
+ s.LoadBalancerPorts = v
+ return s
+}
+
// Contains the output of DeleteLoadBalancerListeners.
type DeleteLoadBalancerListenersOutput struct {
_ struct{} `type:"structure"`
@@ -3204,6 +3492,18 @@ func (s *DeleteLoadBalancerPolicyInput) Validate() error {
return nil
}
+// SetLoadBalancerName sets the LoadBalancerName field's value.
+func (s *DeleteLoadBalancerPolicyInput) SetLoadBalancerName(v string) *DeleteLoadBalancerPolicyInput {
+ s.LoadBalancerName = &v
+ return s
+}
+
+// SetPolicyName sets the PolicyName field's value.
+func (s *DeleteLoadBalancerPolicyInput) SetPolicyName(v string) *DeleteLoadBalancerPolicyInput {
+ s.PolicyName = &v
+ return s
+}
+
// Contains the output of DeleteLoadBalancerPolicy.
type DeleteLoadBalancerPolicyOutput struct {
_ struct{} `type:"structure"`
@@ -3260,6 +3560,18 @@ func (s *DeregisterInstancesFromLoadBalancerInput) Validate() error {
return nil
}
+// SetInstances sets the Instances field's value.
+func (s *DeregisterInstancesFromLoadBalancerInput) SetInstances(v []*Instance) *DeregisterInstancesFromLoadBalancerInput {
+ s.Instances = v
+ return s
+}
+
+// SetLoadBalancerName sets the LoadBalancerName field's value.
+func (s *DeregisterInstancesFromLoadBalancerInput) SetLoadBalancerName(v string) *DeregisterInstancesFromLoadBalancerInput {
+ s.LoadBalancerName = &v
+ return s
+}
+
// Contains the output of DeregisterInstancesFromLoadBalancer.
type DeregisterInstancesFromLoadBalancerOutput struct {
_ struct{} `type:"structure"`
@@ -3278,6 +3590,12 @@ func (s DeregisterInstancesFromLoadBalancerOutput) GoString() string {
return s.String()
}
+// SetInstances sets the Instances field's value.
+func (s *DeregisterInstancesFromLoadBalancerOutput) SetInstances(v []*Instance) *DeregisterInstancesFromLoadBalancerOutput {
+ s.Instances = v
+ return s
+}
+
// Contains the parameters for DescribeInstanceHealth.
type DescribeInstanceHealthInput struct {
_ struct{} `type:"structure"`
@@ -3314,6 +3632,18 @@ func (s *DescribeInstanceHealthInput) Validate() error {
return nil
}
+// SetInstances sets the Instances field's value.
+func (s *DescribeInstanceHealthInput) SetInstances(v []*Instance) *DescribeInstanceHealthInput {
+ s.Instances = v
+ return s
+}
+
+// SetLoadBalancerName sets the LoadBalancerName field's value.
+func (s *DescribeInstanceHealthInput) SetLoadBalancerName(v string) *DescribeInstanceHealthInput {
+ s.LoadBalancerName = &v
+ return s
+}
+
// Contains the output for DescribeInstanceHealth.
type DescribeInstanceHealthOutput struct {
_ struct{} `type:"structure"`
@@ -3332,6 +3662,12 @@ func (s DescribeInstanceHealthOutput) GoString() string {
return s.String()
}
+// SetInstanceStates sets the InstanceStates field's value.
+func (s *DescribeInstanceHealthOutput) SetInstanceStates(v []*InstanceState) *DescribeInstanceHealthOutput {
+ s.InstanceStates = v
+ return s
+}
+
// Contains the parameters for DescribeLoadBalancerAttributes.
type DescribeLoadBalancerAttributesInput struct {
_ struct{} `type:"structure"`
@@ -3365,6 +3701,12 @@ func (s *DescribeLoadBalancerAttributesInput) Validate() error {
return nil
}
+// SetLoadBalancerName sets the LoadBalancerName field's value.
+func (s *DescribeLoadBalancerAttributesInput) SetLoadBalancerName(v string) *DescribeLoadBalancerAttributesInput {
+ s.LoadBalancerName = &v
+ return s
+}
+
// Contains the output of DescribeLoadBalancerAttributes.
type DescribeLoadBalancerAttributesOutput struct {
_ struct{} `type:"structure"`
@@ -3383,6 +3725,12 @@ func (s DescribeLoadBalancerAttributesOutput) GoString() string {
return s.String()
}
+// SetLoadBalancerAttributes sets the LoadBalancerAttributes field's value.
+func (s *DescribeLoadBalancerAttributesOutput) SetLoadBalancerAttributes(v *LoadBalancerAttributes) *DescribeLoadBalancerAttributesOutput {
+ s.LoadBalancerAttributes = v
+ return s
+}
+
// Contains the parameters for DescribeLoadBalancerPolicies.
type DescribeLoadBalancerPoliciesInput struct {
_ struct{} `type:"structure"`
@@ -3404,6 +3752,18 @@ func (s DescribeLoadBalancerPoliciesInput) GoString() string {
return s.String()
}
+// SetLoadBalancerName sets the LoadBalancerName field's value.
+func (s *DescribeLoadBalancerPoliciesInput) SetLoadBalancerName(v string) *DescribeLoadBalancerPoliciesInput {
+ s.LoadBalancerName = &v
+ return s
+}
+
+// SetPolicyNames sets the PolicyNames field's value.
+func (s *DescribeLoadBalancerPoliciesInput) SetPolicyNames(v []*string) *DescribeLoadBalancerPoliciesInput {
+ s.PolicyNames = v
+ return s
+}
+
// Contains the output of DescribeLoadBalancerPolicies.
type DescribeLoadBalancerPoliciesOutput struct {
_ struct{} `type:"structure"`
@@ -3422,6 +3782,12 @@ func (s DescribeLoadBalancerPoliciesOutput) GoString() string {
return s.String()
}
+// SetPolicyDescriptions sets the PolicyDescriptions field's value.
+func (s *DescribeLoadBalancerPoliciesOutput) SetPolicyDescriptions(v []*PolicyDescription) *DescribeLoadBalancerPoliciesOutput {
+ s.PolicyDescriptions = v
+ return s
+}
+
// Contains the parameters for DescribeLoadBalancerPolicyTypes.
type DescribeLoadBalancerPolicyTypesInput struct {
_ struct{} `type:"structure"`
@@ -3441,6 +3807,12 @@ func (s DescribeLoadBalancerPolicyTypesInput) GoString() string {
return s.String()
}
+// SetPolicyTypeNames sets the PolicyTypeNames field's value.
+func (s *DescribeLoadBalancerPolicyTypesInput) SetPolicyTypeNames(v []*string) *DescribeLoadBalancerPolicyTypesInput {
+ s.PolicyTypeNames = v
+ return s
+}
+
// Contains the output of DescribeLoadBalancerPolicyTypes.
type DescribeLoadBalancerPolicyTypesOutput struct {
_ struct{} `type:"structure"`
@@ -3459,6 +3831,12 @@ func (s DescribeLoadBalancerPolicyTypesOutput) GoString() string {
return s.String()
}
+// SetPolicyTypeDescriptions sets the PolicyTypeDescriptions field's value.
+func (s *DescribeLoadBalancerPolicyTypesOutput) SetPolicyTypeDescriptions(v []*PolicyTypeDescription) *DescribeLoadBalancerPolicyTypesOutput {
+ s.PolicyTypeDescriptions = v
+ return s
+}
+
// Contains the parameters for DescribeLoadBalancers.
type DescribeLoadBalancersInput struct {
_ struct{} `type:"structure"`
@@ -3498,6 +3876,24 @@ func (s *DescribeLoadBalancersInput) Validate() error {
return nil
}
+// SetLoadBalancerNames sets the LoadBalancerNames field's value.
+func (s *DescribeLoadBalancersInput) SetLoadBalancerNames(v []*string) *DescribeLoadBalancersInput {
+ s.LoadBalancerNames = v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeLoadBalancersInput) SetMarker(v string) *DescribeLoadBalancersInput {
+ s.Marker = &v
+ return s
+}
+
+// SetPageSize sets the PageSize field's value.
+func (s *DescribeLoadBalancersInput) SetPageSize(v int64) *DescribeLoadBalancersInput {
+ s.PageSize = &v
+ return s
+}
+
// Contains the parameters for DescribeLoadBalancers.
type DescribeLoadBalancersOutput struct {
_ struct{} `type:"structure"`
@@ -3520,6 +3916,18 @@ func (s DescribeLoadBalancersOutput) GoString() string {
return s.String()
}
+// SetLoadBalancerDescriptions sets the LoadBalancerDescriptions field's value.
+func (s *DescribeLoadBalancersOutput) SetLoadBalancerDescriptions(v []*LoadBalancerDescription) *DescribeLoadBalancersOutput {
+ s.LoadBalancerDescriptions = v
+ return s
+}
+
+// SetNextMarker sets the NextMarker field's value.
+func (s *DescribeLoadBalancersOutput) SetNextMarker(v string) *DescribeLoadBalancersOutput {
+ s.NextMarker = &v
+ return s
+}
+
// Contains the parameters for DescribeTags.
type DescribeTagsInput struct {
_ struct{} `type:"structure"`
@@ -3556,6 +3964,12 @@ func (s *DescribeTagsInput) Validate() error {
return nil
}
+// SetLoadBalancerNames sets the LoadBalancerNames field's value.
+func (s *DescribeTagsInput) SetLoadBalancerNames(v []*string) *DescribeTagsInput {
+ s.LoadBalancerNames = v
+ return s
+}
+
// Contains the output for DescribeTags.
type DescribeTagsOutput struct {
_ struct{} `type:"structure"`
@@ -3574,6 +3988,12 @@ func (s DescribeTagsOutput) GoString() string {
return s.String()
}
+// SetTagDescriptions sets the TagDescriptions field's value.
+func (s *DescribeTagsOutput) SetTagDescriptions(v []*TagDescription) *DescribeTagsOutput {
+ s.TagDescriptions = v
+ return s
+}
+
// Contains the parameters for DetachLoadBalancerFromSubnets.
type DetachLoadBalancerFromSubnetsInput struct {
_ struct{} `type:"structure"`
@@ -3615,6 +4035,18 @@ func (s *DetachLoadBalancerFromSubnetsInput) Validate() error {
return nil
}
+// SetLoadBalancerName sets the LoadBalancerName field's value.
+func (s *DetachLoadBalancerFromSubnetsInput) SetLoadBalancerName(v string) *DetachLoadBalancerFromSubnetsInput {
+ s.LoadBalancerName = &v
+ return s
+}
+
+// SetSubnets sets the Subnets field's value.
+func (s *DetachLoadBalancerFromSubnetsInput) SetSubnets(v []*string) *DetachLoadBalancerFromSubnetsInput {
+ s.Subnets = v
+ return s
+}
+
// Contains the output of DetachLoadBalancerFromSubnets.
type DetachLoadBalancerFromSubnetsOutput struct {
_ struct{} `type:"structure"`
@@ -3633,6 +4065,12 @@ func (s DetachLoadBalancerFromSubnetsOutput) GoString() string {
return s.String()
}
+// SetSubnets sets the Subnets field's value.
+func (s *DetachLoadBalancerFromSubnetsOutput) SetSubnets(v []*string) *DetachLoadBalancerFromSubnetsOutput {
+ s.Subnets = v
+ return s
+}
+
// Contains the parameters for DisableAvailabilityZonesForLoadBalancer.
type DisableAvailabilityZonesForLoadBalancerInput struct {
_ struct{} `type:"structure"`
@@ -3674,6 +4112,18 @@ func (s *DisableAvailabilityZonesForLoadBalancerInput) Validate() error {
return nil
}
+// SetAvailabilityZones sets the AvailabilityZones field's value.
+func (s *DisableAvailabilityZonesForLoadBalancerInput) SetAvailabilityZones(v []*string) *DisableAvailabilityZonesForLoadBalancerInput {
+ s.AvailabilityZones = v
+ return s
+}
+
+// SetLoadBalancerName sets the LoadBalancerName field's value.
+func (s *DisableAvailabilityZonesForLoadBalancerInput) SetLoadBalancerName(v string) *DisableAvailabilityZonesForLoadBalancerInput {
+ s.LoadBalancerName = &v
+ return s
+}
+
// Contains the output for DisableAvailabilityZonesForLoadBalancer.
type DisableAvailabilityZonesForLoadBalancerOutput struct {
_ struct{} `type:"structure"`
@@ -3692,6 +4142,12 @@ func (s DisableAvailabilityZonesForLoadBalancerOutput) GoString() string {
return s.String()
}
+// SetAvailabilityZones sets the AvailabilityZones field's value.
+func (s *DisableAvailabilityZonesForLoadBalancerOutput) SetAvailabilityZones(v []*string) *DisableAvailabilityZonesForLoadBalancerOutput {
+ s.AvailabilityZones = v
+ return s
+}
+
// Contains the parameters for EnableAvailabilityZonesForLoadBalancer.
type EnableAvailabilityZonesForLoadBalancerInput struct {
_ struct{} `type:"structure"`
@@ -3733,6 +4189,18 @@ func (s *EnableAvailabilityZonesForLoadBalancerInput) Validate() error {
return nil
}
+// SetAvailabilityZones sets the AvailabilityZones field's value.
+func (s *EnableAvailabilityZonesForLoadBalancerInput) SetAvailabilityZones(v []*string) *EnableAvailabilityZonesForLoadBalancerInput {
+ s.AvailabilityZones = v
+ return s
+}
+
+// SetLoadBalancerName sets the LoadBalancerName field's value.
+func (s *EnableAvailabilityZonesForLoadBalancerInput) SetLoadBalancerName(v string) *EnableAvailabilityZonesForLoadBalancerInput {
+ s.LoadBalancerName = &v
+ return s
+}
+
// Contains the output of EnableAvailabilityZonesForLoadBalancer.
type EnableAvailabilityZonesForLoadBalancerOutput struct {
_ struct{} `type:"structure"`
@@ -3751,6 +4219,12 @@ func (s EnableAvailabilityZonesForLoadBalancerOutput) GoString() string {
return s.String()
}
+// SetAvailabilityZones sets the AvailabilityZones field's value.
+func (s *EnableAvailabilityZonesForLoadBalancerOutput) SetAvailabilityZones(v []*string) *EnableAvailabilityZonesForLoadBalancerOutput {
+ s.AvailabilityZones = v
+ return s
+}
+
// Information about a health check.
type HealthCheck struct {
_ struct{} `type:"structure"`
@@ -3851,6 +4325,36 @@ func (s *HealthCheck) Validate() error {
return nil
}
+// SetHealthyThreshold sets the HealthyThreshold field's value.
+func (s *HealthCheck) SetHealthyThreshold(v int64) *HealthCheck {
+ s.HealthyThreshold = &v
+ return s
+}
+
+// SetInterval sets the Interval field's value.
+func (s *HealthCheck) SetInterval(v int64) *HealthCheck {
+ s.Interval = &v
+ return s
+}
+
+// SetTarget sets the Target field's value.
+func (s *HealthCheck) SetTarget(v string) *HealthCheck {
+ s.Target = &v
+ return s
+}
+
+// SetTimeout sets the Timeout field's value.
+func (s *HealthCheck) SetTimeout(v int64) *HealthCheck {
+ s.Timeout = &v
+ return s
+}
+
+// SetUnhealthyThreshold sets the UnhealthyThreshold field's value.
+func (s *HealthCheck) SetUnhealthyThreshold(v int64) *HealthCheck {
+ s.UnhealthyThreshold = &v
+ return s
+}
+
// The ID of an EC2 instance.
type Instance struct {
_ struct{} `type:"structure"`
@@ -3869,6 +4373,12 @@ func (s Instance) GoString() string {
return s.String()
}
+// SetInstanceId sets the InstanceId field's value.
+func (s *Instance) SetInstanceId(v string) *Instance {
+ s.InstanceId = &v
+ return s
+}
+
// Information about the state of an EC2 instance.
type InstanceState struct {
_ struct{} `type:"structure"`
@@ -3929,6 +4439,30 @@ func (s InstanceState) GoString() string {
return s.String()
}
+// SetDescription sets the Description field's value.
+func (s *InstanceState) SetDescription(v string) *InstanceState {
+ s.Description = &v
+ return s
+}
+
+// SetInstanceId sets the InstanceId field's value.
+func (s *InstanceState) SetInstanceId(v string) *InstanceState {
+ s.InstanceId = &v
+ return s
+}
+
+// SetReasonCode sets the ReasonCode field's value.
+func (s *InstanceState) SetReasonCode(v string) *InstanceState {
+ s.ReasonCode = &v
+ return s
+}
+
+// SetState sets the State field's value.
+func (s *InstanceState) SetState(v string) *InstanceState {
+ s.State = &v
+ return s
+}
+
// Information about a policy for duration-based session stickiness.
type LBCookieStickinessPolicy struct {
_ struct{} `type:"structure"`
@@ -3953,6 +4487,18 @@ func (s LBCookieStickinessPolicy) GoString() string {
return s.String()
}
+// SetCookieExpirationPeriod sets the CookieExpirationPeriod field's value.
+func (s *LBCookieStickinessPolicy) SetCookieExpirationPeriod(v int64) *LBCookieStickinessPolicy {
+ s.CookieExpirationPeriod = &v
+ return s
+}
+
+// SetPolicyName sets the PolicyName field's value.
+func (s *LBCookieStickinessPolicy) SetPolicyName(v string) *LBCookieStickinessPolicy {
+ s.PolicyName = &v
+ return s
+}
+
// Information about a listener.
//
// For information about the protocols and the ports supported by Elastic Load
@@ -4028,6 +4574,36 @@ func (s *Listener) Validate() error {
return nil
}
+// SetInstancePort sets the InstancePort field's value.
+func (s *Listener) SetInstancePort(v int64) *Listener {
+ s.InstancePort = &v
+ return s
+}
+
+// SetInstanceProtocol sets the InstanceProtocol field's value.
+func (s *Listener) SetInstanceProtocol(v string) *Listener {
+ s.InstanceProtocol = &v
+ return s
+}
+
+// SetLoadBalancerPort sets the LoadBalancerPort field's value.
+func (s *Listener) SetLoadBalancerPort(v int64) *Listener {
+ s.LoadBalancerPort = &v
+ return s
+}
+
+// SetProtocol sets the Protocol field's value.
+func (s *Listener) SetProtocol(v string) *Listener {
+ s.Protocol = &v
+ return s
+}
+
+// SetSSLCertificateId sets the SSLCertificateId field's value.
+func (s *Listener) SetSSLCertificateId(v string) *Listener {
+ s.SSLCertificateId = &v
+ return s
+}
+
// The policies enabled for a listener.
type ListenerDescription struct {
_ struct{} `type:"structure"`
@@ -4053,6 +4629,18 @@ func (s ListenerDescription) GoString() string {
return s.String()
}
+// SetListener sets the Listener field's value.
+func (s *ListenerDescription) SetListener(v *Listener) *ListenerDescription {
+ s.Listener = v
+ return s
+}
+
+// SetPolicyNames sets the PolicyNames field's value.
+func (s *ListenerDescription) SetPolicyNames(v []*string) *ListenerDescription {
+ s.PolicyNames = v
+ return s
+}
+
// The attributes for a load balancer.
type LoadBalancerAttributes struct {
_ struct{} `type:"structure"`
@@ -4131,6 +4719,36 @@ func (s *LoadBalancerAttributes) Validate() error {
return nil
}
+// SetAccessLog sets the AccessLog field's value.
+func (s *LoadBalancerAttributes) SetAccessLog(v *AccessLog) *LoadBalancerAttributes {
+ s.AccessLog = v
+ return s
+}
+
+// SetAdditionalAttributes sets the AdditionalAttributes field's value.
+func (s *LoadBalancerAttributes) SetAdditionalAttributes(v []*AdditionalAttribute) *LoadBalancerAttributes {
+ s.AdditionalAttributes = v
+ return s
+}
+
+// SetConnectionDraining sets the ConnectionDraining field's value.
+func (s *LoadBalancerAttributes) SetConnectionDraining(v *ConnectionDraining) *LoadBalancerAttributes {
+ s.ConnectionDraining = v
+ return s
+}
+
+// SetConnectionSettings sets the ConnectionSettings field's value.
+func (s *LoadBalancerAttributes) SetConnectionSettings(v *ConnectionSettings) *LoadBalancerAttributes {
+ s.ConnectionSettings = v
+ return s
+}
+
+// SetCrossZoneLoadBalancing sets the CrossZoneLoadBalancing field's value.
+func (s *LoadBalancerAttributes) SetCrossZoneLoadBalancing(v *CrossZoneLoadBalancing) *LoadBalancerAttributes {
+ s.CrossZoneLoadBalancing = v
+ return s
+}
+
// Information about a load balancer.
type LoadBalancerDescription struct {
_ struct{} `type:"structure"`
@@ -4207,6 +4825,102 @@ func (s LoadBalancerDescription) GoString() string {
return s.String()
}
+// SetAvailabilityZones sets the AvailabilityZones field's value.
+func (s *LoadBalancerDescription) SetAvailabilityZones(v []*string) *LoadBalancerDescription {
+ s.AvailabilityZones = v
+ return s
+}
+
+// SetBackendServerDescriptions sets the BackendServerDescriptions field's value.
+func (s *LoadBalancerDescription) SetBackendServerDescriptions(v []*BackendServerDescription) *LoadBalancerDescription {
+ s.BackendServerDescriptions = v
+ return s
+}
+
+// SetCanonicalHostedZoneName sets the CanonicalHostedZoneName field's value.
+func (s *LoadBalancerDescription) SetCanonicalHostedZoneName(v string) *LoadBalancerDescription {
+ s.CanonicalHostedZoneName = &v
+ return s
+}
+
+// SetCanonicalHostedZoneNameID sets the CanonicalHostedZoneNameID field's value.
+func (s *LoadBalancerDescription) SetCanonicalHostedZoneNameID(v string) *LoadBalancerDescription {
+ s.CanonicalHostedZoneNameID = &v
+ return s
+}
+
+// SetCreatedTime sets the CreatedTime field's value.
+func (s *LoadBalancerDescription) SetCreatedTime(v time.Time) *LoadBalancerDescription {
+ s.CreatedTime = &v
+ return s
+}
+
+// SetDNSName sets the DNSName field's value.
+func (s *LoadBalancerDescription) SetDNSName(v string) *LoadBalancerDescription {
+ s.DNSName = &v
+ return s
+}
+
+// SetHealthCheck sets the HealthCheck field's value.
+func (s *LoadBalancerDescription) SetHealthCheck(v *HealthCheck) *LoadBalancerDescription {
+ s.HealthCheck = v
+ return s
+}
+
+// SetInstances sets the Instances field's value.
+func (s *LoadBalancerDescription) SetInstances(v []*Instance) *LoadBalancerDescription {
+ s.Instances = v
+ return s
+}
+
+// SetListenerDescriptions sets the ListenerDescriptions field's value.
+func (s *LoadBalancerDescription) SetListenerDescriptions(v []*ListenerDescription) *LoadBalancerDescription {
+ s.ListenerDescriptions = v
+ return s
+}
+
+// SetLoadBalancerName sets the LoadBalancerName field's value.
+func (s *LoadBalancerDescription) SetLoadBalancerName(v string) *LoadBalancerDescription {
+ s.LoadBalancerName = &v
+ return s
+}
+
+// SetPolicies sets the Policies field's value.
+func (s *LoadBalancerDescription) SetPolicies(v *Policies) *LoadBalancerDescription {
+ s.Policies = v
+ return s
+}
+
+// SetScheme sets the Scheme field's value.
+func (s *LoadBalancerDescription) SetScheme(v string) *LoadBalancerDescription {
+ s.Scheme = &v
+ return s
+}
+
+// SetSecurityGroups sets the SecurityGroups field's value.
+func (s *LoadBalancerDescription) SetSecurityGroups(v []*string) *LoadBalancerDescription {
+ s.SecurityGroups = v
+ return s
+}
+
+// SetSourceSecurityGroup sets the SourceSecurityGroup field's value.
+func (s *LoadBalancerDescription) SetSourceSecurityGroup(v *SourceSecurityGroup) *LoadBalancerDescription {
+ s.SourceSecurityGroup = v
+ return s
+}
+
+// SetSubnets sets the Subnets field's value.
+func (s *LoadBalancerDescription) SetSubnets(v []*string) *LoadBalancerDescription {
+ s.Subnets = v
+ return s
+}
+
+// SetVPCId sets the VPCId field's value.
+func (s *LoadBalancerDescription) SetVPCId(v string) *LoadBalancerDescription {
+ s.VPCId = &v
+ return s
+}
+
// Contains the parameters for ModifyLoadBalancerAttributes.
type ModifyLoadBalancerAttributesInput struct {
_ struct{} `type:"structure"`
@@ -4253,6 +4967,18 @@ func (s *ModifyLoadBalancerAttributesInput) Validate() error {
return nil
}
+// SetLoadBalancerAttributes sets the LoadBalancerAttributes field's value.
+func (s *ModifyLoadBalancerAttributesInput) SetLoadBalancerAttributes(v *LoadBalancerAttributes) *ModifyLoadBalancerAttributesInput {
+ s.LoadBalancerAttributes = v
+ return s
+}
+
+// SetLoadBalancerName sets the LoadBalancerName field's value.
+func (s *ModifyLoadBalancerAttributesInput) SetLoadBalancerName(v string) *ModifyLoadBalancerAttributesInput {
+ s.LoadBalancerName = &v
+ return s
+}
+
// Contains the output of ModifyLoadBalancerAttributes.
type ModifyLoadBalancerAttributesOutput struct {
_ struct{} `type:"structure"`
@@ -4274,6 +5000,18 @@ func (s ModifyLoadBalancerAttributesOutput) GoString() string {
return s.String()
}
+// SetLoadBalancerAttributes sets the LoadBalancerAttributes field's value.
+func (s *ModifyLoadBalancerAttributesOutput) SetLoadBalancerAttributes(v *LoadBalancerAttributes) *ModifyLoadBalancerAttributesOutput {
+ s.LoadBalancerAttributes = v
+ return s
+}
+
+// SetLoadBalancerName sets the LoadBalancerName field's value.
+func (s *ModifyLoadBalancerAttributesOutput) SetLoadBalancerName(v string) *ModifyLoadBalancerAttributesOutput {
+ s.LoadBalancerName = &v
+ return s
+}
+
// The policies for a load balancer.
type Policies struct {
_ struct{} `type:"structure"`
@@ -4298,6 +5036,24 @@ func (s Policies) GoString() string {
return s.String()
}
+// SetAppCookieStickinessPolicies sets the AppCookieStickinessPolicies field's value.
+func (s *Policies) SetAppCookieStickinessPolicies(v []*AppCookieStickinessPolicy) *Policies {
+ s.AppCookieStickinessPolicies = v
+ return s
+}
+
+// SetLBCookieStickinessPolicies sets the LBCookieStickinessPolicies field's value.
+func (s *Policies) SetLBCookieStickinessPolicies(v []*LBCookieStickinessPolicy) *Policies {
+ s.LBCookieStickinessPolicies = v
+ return s
+}
+
+// SetOtherPolicies sets the OtherPolicies field's value.
+func (s *Policies) SetOtherPolicies(v []*string) *Policies {
+ s.OtherPolicies = v
+ return s
+}
+
// Information about a policy attribute.
type PolicyAttribute struct {
_ struct{} `type:"structure"`
@@ -4319,6 +5075,18 @@ func (s PolicyAttribute) GoString() string {
return s.String()
}
+// SetAttributeName sets the AttributeName field's value.
+func (s *PolicyAttribute) SetAttributeName(v string) *PolicyAttribute {
+ s.AttributeName = &v
+ return s
+}
+
+// SetAttributeValue sets the AttributeValue field's value.
+func (s *PolicyAttribute) SetAttributeValue(v string) *PolicyAttribute {
+ s.AttributeValue = &v
+ return s
+}
+
// Information about a policy attribute.
type PolicyAttributeDescription struct {
_ struct{} `type:"structure"`
@@ -4340,6 +5108,18 @@ func (s PolicyAttributeDescription) GoString() string {
return s.String()
}
+// SetAttributeName sets the AttributeName field's value.
+func (s *PolicyAttributeDescription) SetAttributeName(v string) *PolicyAttributeDescription {
+ s.AttributeName = &v
+ return s
+}
+
+// SetAttributeValue sets the AttributeValue field's value.
+func (s *PolicyAttributeDescription) SetAttributeValue(v string) *PolicyAttributeDescription {
+ s.AttributeValue = &v
+ return s
+}
+
// Information about a policy attribute type.
type PolicyAttributeTypeDescription struct {
_ struct{} `type:"structure"`
@@ -4380,6 +5160,36 @@ func (s PolicyAttributeTypeDescription) GoString() string {
return s.String()
}
+// SetAttributeName sets the AttributeName field's value.
+func (s *PolicyAttributeTypeDescription) SetAttributeName(v string) *PolicyAttributeTypeDescription {
+ s.AttributeName = &v
+ return s
+}
+
+// SetAttributeType sets the AttributeType field's value.
+func (s *PolicyAttributeTypeDescription) SetAttributeType(v string) *PolicyAttributeTypeDescription {
+ s.AttributeType = &v
+ return s
+}
+
+// SetCardinality sets the Cardinality field's value.
+func (s *PolicyAttributeTypeDescription) SetCardinality(v string) *PolicyAttributeTypeDescription {
+ s.Cardinality = &v
+ return s
+}
+
+// SetDefaultValue sets the DefaultValue field's value.
+func (s *PolicyAttributeTypeDescription) SetDefaultValue(v string) *PolicyAttributeTypeDescription {
+ s.DefaultValue = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *PolicyAttributeTypeDescription) SetDescription(v string) *PolicyAttributeTypeDescription {
+ s.Description = &v
+ return s
+}
+
// Information about a policy.
type PolicyDescription struct {
_ struct{} `type:"structure"`
@@ -4404,6 +5214,24 @@ func (s PolicyDescription) GoString() string {
return s.String()
}
+// SetPolicyAttributeDescriptions sets the PolicyAttributeDescriptions field's value.
+func (s *PolicyDescription) SetPolicyAttributeDescriptions(v []*PolicyAttributeDescription) *PolicyDescription {
+ s.PolicyAttributeDescriptions = v
+ return s
+}
+
+// SetPolicyName sets the PolicyName field's value.
+func (s *PolicyDescription) SetPolicyName(v string) *PolicyDescription {
+ s.PolicyName = &v
+ return s
+}
+
+// SetPolicyTypeName sets the PolicyTypeName field's value.
+func (s *PolicyDescription) SetPolicyTypeName(v string) *PolicyDescription {
+ s.PolicyTypeName = &v
+ return s
+}
+
// Information about a policy type.
type PolicyTypeDescription struct {
_ struct{} `type:"structure"`
@@ -4429,6 +5257,24 @@ func (s PolicyTypeDescription) GoString() string {
return s.String()
}
+// SetDescription sets the Description field's value.
+func (s *PolicyTypeDescription) SetDescription(v string) *PolicyTypeDescription {
+ s.Description = &v
+ return s
+}
+
+// SetPolicyAttributeTypeDescriptions sets the PolicyAttributeTypeDescriptions field's value.
+func (s *PolicyTypeDescription) SetPolicyAttributeTypeDescriptions(v []*PolicyAttributeTypeDescription) *PolicyTypeDescription {
+ s.PolicyAttributeTypeDescriptions = v
+ return s
+}
+
+// SetPolicyTypeName sets the PolicyTypeName field's value.
+func (s *PolicyTypeDescription) SetPolicyTypeName(v string) *PolicyTypeDescription {
+ s.PolicyTypeName = &v
+ return s
+}
+
// Contains the parameters for RegisterInstancesWithLoadBalancer.
type RegisterInstancesWithLoadBalancerInput struct {
_ struct{} `type:"structure"`
@@ -4470,6 +5316,18 @@ func (s *RegisterInstancesWithLoadBalancerInput) Validate() error {
return nil
}
+// SetInstances sets the Instances field's value.
+func (s *RegisterInstancesWithLoadBalancerInput) SetInstances(v []*Instance) *RegisterInstancesWithLoadBalancerInput {
+ s.Instances = v
+ return s
+}
+
+// SetLoadBalancerName sets the LoadBalancerName field's value.
+func (s *RegisterInstancesWithLoadBalancerInput) SetLoadBalancerName(v string) *RegisterInstancesWithLoadBalancerInput {
+ s.LoadBalancerName = &v
+ return s
+}
+
// Contains the output of RegisterInstancesWithLoadBalancer.
type RegisterInstancesWithLoadBalancerOutput struct {
_ struct{} `type:"structure"`
@@ -4488,6 +5346,12 @@ func (s RegisterInstancesWithLoadBalancerOutput) GoString() string {
return s.String()
}
+// SetInstances sets the Instances field's value.
+func (s *RegisterInstancesWithLoadBalancerOutput) SetInstances(v []*Instance) *RegisterInstancesWithLoadBalancerOutput {
+ s.Instances = v
+ return s
+}
+
// Contains the parameters for RemoveTags.
type RemoveTagsInput struct {
_ struct{} `type:"structure"`
@@ -4543,6 +5407,18 @@ func (s *RemoveTagsInput) Validate() error {
return nil
}
+// SetLoadBalancerNames sets the LoadBalancerNames field's value.
+func (s *RemoveTagsInput) SetLoadBalancerNames(v []*string) *RemoveTagsInput {
+ s.LoadBalancerNames = v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *RemoveTagsInput) SetTags(v []*TagKeyOnly) *RemoveTagsInput {
+ s.Tags = v
+ return s
+}
+
// Contains the output of RemoveTags.
type RemoveTagsOutput struct {
_ struct{} `type:"structure"`
@@ -4607,6 +5483,24 @@ func (s *SetLoadBalancerListenerSSLCertificateInput) Validate() error {
return nil
}
+// SetLoadBalancerName sets the LoadBalancerName field's value.
+func (s *SetLoadBalancerListenerSSLCertificateInput) SetLoadBalancerName(v string) *SetLoadBalancerListenerSSLCertificateInput {
+ s.LoadBalancerName = &v
+ return s
+}
+
+// SetLoadBalancerPort sets the LoadBalancerPort field's value.
+func (s *SetLoadBalancerListenerSSLCertificateInput) SetLoadBalancerPort(v int64) *SetLoadBalancerListenerSSLCertificateInput {
+ s.LoadBalancerPort = &v
+ return s
+}
+
+// SetSSLCertificateId sets the SSLCertificateId field's value.
+func (s *SetLoadBalancerListenerSSLCertificateInput) SetSSLCertificateId(v string) *SetLoadBalancerListenerSSLCertificateInput {
+ s.SSLCertificateId = &v
+ return s
+}
+
// Contains the output of SetLoadBalancerListenerSSLCertificate.
type SetLoadBalancerListenerSSLCertificateOutput struct {
_ struct{} `type:"structure"`
@@ -4672,6 +5566,24 @@ func (s *SetLoadBalancerPoliciesForBackendServerInput) Validate() error {
return nil
}
+// SetInstancePort sets the InstancePort field's value.
+func (s *SetLoadBalancerPoliciesForBackendServerInput) SetInstancePort(v int64) *SetLoadBalancerPoliciesForBackendServerInput {
+ s.InstancePort = &v
+ return s
+}
+
+// SetLoadBalancerName sets the LoadBalancerName field's value.
+func (s *SetLoadBalancerPoliciesForBackendServerInput) SetLoadBalancerName(v string) *SetLoadBalancerPoliciesForBackendServerInput {
+ s.LoadBalancerName = &v
+ return s
+}
+
+// SetPolicyNames sets the PolicyNames field's value.
+func (s *SetLoadBalancerPoliciesForBackendServerInput) SetPolicyNames(v []*string) *SetLoadBalancerPoliciesForBackendServerInput {
+ s.PolicyNames = v
+ return s
+}
+
// Contains the output of SetLoadBalancerPoliciesForBackendServer.
type SetLoadBalancerPoliciesForBackendServerOutput struct {
_ struct{} `type:"structure"`
@@ -4738,6 +5650,24 @@ func (s *SetLoadBalancerPoliciesOfListenerInput) Validate() error {
return nil
}
+// SetLoadBalancerName sets the LoadBalancerName field's value.
+func (s *SetLoadBalancerPoliciesOfListenerInput) SetLoadBalancerName(v string) *SetLoadBalancerPoliciesOfListenerInput {
+ s.LoadBalancerName = &v
+ return s
+}
+
+// SetLoadBalancerPort sets the LoadBalancerPort field's value.
+func (s *SetLoadBalancerPoliciesOfListenerInput) SetLoadBalancerPort(v int64) *SetLoadBalancerPoliciesOfListenerInput {
+ s.LoadBalancerPort = &v
+ return s
+}
+
+// SetPolicyNames sets the PolicyNames field's value.
+func (s *SetLoadBalancerPoliciesOfListenerInput) SetPolicyNames(v []*string) *SetLoadBalancerPoliciesOfListenerInput {
+ s.PolicyNames = v
+ return s
+}
+
// Contains the output of SetLoadBalancePoliciesOfListener.
type SetLoadBalancerPoliciesOfListenerOutput struct {
_ struct{} `type:"structure"`
@@ -4774,6 +5704,18 @@ func (s SourceSecurityGroup) GoString() string {
return s.String()
}
+// SetGroupName sets the GroupName field's value.
+func (s *SourceSecurityGroup) SetGroupName(v string) *SourceSecurityGroup {
+ s.GroupName = &v
+ return s
+}
+
+// SetOwnerAlias sets the OwnerAlias field's value.
+func (s *SourceSecurityGroup) SetOwnerAlias(v string) *SourceSecurityGroup {
+ s.OwnerAlias = &v
+ return s
+}
+
// Information about a tag.
type Tag struct {
_ struct{} `type:"structure"`
@@ -4813,6 +5755,18 @@ func (s *Tag) Validate() error {
return nil
}
+// 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
+}
+
// The tags associated with a load balancer.
type TagDescription struct {
_ struct{} `type:"structure"`
@@ -4834,6 +5788,18 @@ func (s TagDescription) GoString() string {
return s.String()
}
+// SetLoadBalancerName sets the LoadBalancerName field's value.
+func (s *TagDescription) SetLoadBalancerName(v string) *TagDescription {
+ s.LoadBalancerName = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *TagDescription) SetTags(v []*Tag) *TagDescription {
+ s.Tags = v
+ return s
+}
+
// The key of a tag.
type TagKeyOnly struct {
_ struct{} `type:"structure"`
@@ -4864,3 +5830,9 @@ func (s *TagKeyOnly) Validate() error {
}
return nil
}
+
+// SetKey sets the Key field's value.
+func (s *TagKeyOnly) SetKey(v string) *TagKeyOnly {
+ s.Key = &v
+ return s
+}
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 478b805..93c12a6 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
@@ -2340,6 +2340,18 @@ func (s *Action) Validate() error {
return nil
}
+// SetTargetGroupArn sets the TargetGroupArn field's value.
+func (s *Action) SetTargetGroupArn(v string) *Action {
+ s.TargetGroupArn = &v
+ return s
+}
+
+// SetType sets the Type field's value.
+func (s *Action) SetType(v string) *Action {
+ s.Type = &v
+ return s
+}
+
// Contains the parameters for AddTags.
type AddTagsInput struct {
_ struct{} `type:"structure"`
@@ -2394,6 +2406,18 @@ func (s *AddTagsInput) Validate() error {
return nil
}
+// SetResourceArns sets the ResourceArns field's value.
+func (s *AddTagsInput) SetResourceArns(v []*string) *AddTagsInput {
+ s.ResourceArns = v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *AddTagsInput) SetTags(v []*Tag) *AddTagsInput {
+ s.Tags = v
+ return s
+}
+
// Contains the output of AddTags.
type AddTagsOutput struct {
_ struct{} `type:"structure"`
@@ -2430,6 +2454,18 @@ func (s AvailabilityZone) GoString() string {
return s.String()
}
+// SetSubnetId sets the SubnetId field's value.
+func (s *AvailabilityZone) SetSubnetId(v string) *AvailabilityZone {
+ s.SubnetId = &v
+ return s
+}
+
+// SetZoneName sets the ZoneName field's value.
+func (s *AvailabilityZone) SetZoneName(v string) *AvailabilityZone {
+ s.ZoneName = &v
+ return s
+}
+
// Information about an SSL server certificate deployed on a load balancer.
type Certificate struct {
_ struct{} `type:"structure"`
@@ -2448,6 +2484,12 @@ 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
+}
+
// Information about a cipher used in a policy.
type Cipher struct {
_ struct{} `type:"structure"`
@@ -2469,6 +2511,18 @@ func (s Cipher) GoString() string {
return s.String()
}
+// SetName sets the Name field's value.
+func (s *Cipher) SetName(v string) *Cipher {
+ s.Name = &v
+ return s
+}
+
+// SetPriority sets the Priority field's value.
+func (s *Cipher) SetPriority(v int64) *Cipher {
+ s.Priority = &v
+ return s
+}
+
// Contains the parameters for CreateListener.
type CreateListenerInput struct {
_ struct{} `type:"structure"`
@@ -2547,6 +2601,42 @@ func (s *CreateListenerInput) Validate() error {
return nil
}
+// SetCertificates sets the Certificates field's value.
+func (s *CreateListenerInput) SetCertificates(v []*Certificate) *CreateListenerInput {
+ s.Certificates = v
+ return s
+}
+
+// SetDefaultActions sets the DefaultActions field's value.
+func (s *CreateListenerInput) SetDefaultActions(v []*Action) *CreateListenerInput {
+ s.DefaultActions = v
+ return s
+}
+
+// SetLoadBalancerArn sets the LoadBalancerArn field's value.
+func (s *CreateListenerInput) SetLoadBalancerArn(v string) *CreateListenerInput {
+ s.LoadBalancerArn = &v
+ return s
+}
+
+// SetPort sets the Port field's value.
+func (s *CreateListenerInput) SetPort(v int64) *CreateListenerInput {
+ s.Port = &v
+ return s
+}
+
+// SetProtocol sets the Protocol field's value.
+func (s *CreateListenerInput) SetProtocol(v string) *CreateListenerInput {
+ s.Protocol = &v
+ return s
+}
+
+// SetSslPolicy sets the SslPolicy field's value.
+func (s *CreateListenerInput) SetSslPolicy(v string) *CreateListenerInput {
+ s.SslPolicy = &v
+ return s
+}
+
// Contains the output of CreateListener.
type CreateListenerOutput struct {
_ struct{} `type:"structure"`
@@ -2565,6 +2655,12 @@ func (s CreateListenerOutput) GoString() string {
return s.String()
}
+// SetListeners sets the Listeners field's value.
+func (s *CreateListenerOutput) SetListeners(v []*Listener) *CreateListenerOutput {
+ s.Listeners = v
+ return s
+}
+
// Contains the parameters for CreateLoadBalancer.
type CreateLoadBalancerInput struct {
_ struct{} `type:"structure"`
@@ -2644,6 +2740,36 @@ func (s *CreateLoadBalancerInput) Validate() error {
return nil
}
+// SetName sets the Name field's value.
+func (s *CreateLoadBalancerInput) SetName(v string) *CreateLoadBalancerInput {
+ s.Name = &v
+ return s
+}
+
+// SetScheme sets the Scheme field's value.
+func (s *CreateLoadBalancerInput) SetScheme(v string) *CreateLoadBalancerInput {
+ s.Scheme = &v
+ return s
+}
+
+// SetSecurityGroups sets the SecurityGroups field's value.
+func (s *CreateLoadBalancerInput) SetSecurityGroups(v []*string) *CreateLoadBalancerInput {
+ s.SecurityGroups = v
+ return s
+}
+
+// SetSubnets sets the Subnets field's value.
+func (s *CreateLoadBalancerInput) SetSubnets(v []*string) *CreateLoadBalancerInput {
+ s.Subnets = v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *CreateLoadBalancerInput) SetTags(v []*Tag) *CreateLoadBalancerInput {
+ s.Tags = v
+ return s
+}
+
// Contains the output of CreateLoadBalancer.
type CreateLoadBalancerOutput struct {
_ struct{} `type:"structure"`
@@ -2662,6 +2788,12 @@ func (s CreateLoadBalancerOutput) GoString() string {
return s.String()
}
+// SetLoadBalancers sets the LoadBalancers field's value.
+func (s *CreateLoadBalancerOutput) SetLoadBalancers(v []*LoadBalancer) *CreateLoadBalancerOutput {
+ s.LoadBalancers = v
+ return s
+}
+
// Contains the parameters for CreateRule.
type CreateRuleInput struct {
_ struct{} `type:"structure"`
@@ -2745,6 +2877,30 @@ func (s *CreateRuleInput) Validate() error {
return nil
}
+// SetActions sets the Actions field's value.
+func (s *CreateRuleInput) SetActions(v []*Action) *CreateRuleInput {
+ s.Actions = v
+ return s
+}
+
+// SetConditions sets the Conditions field's value.
+func (s *CreateRuleInput) SetConditions(v []*RuleCondition) *CreateRuleInput {
+ s.Conditions = v
+ return s
+}
+
+// SetListenerArn sets the ListenerArn field's value.
+func (s *CreateRuleInput) SetListenerArn(v string) *CreateRuleInput {
+ s.ListenerArn = &v
+ return s
+}
+
+// SetPriority sets the Priority field's value.
+func (s *CreateRuleInput) SetPriority(v int64) *CreateRuleInput {
+ s.Priority = &v
+ return s
+}
+
// Contains the output of CreateRule.
type CreateRuleOutput struct {
_ struct{} `type:"structure"`
@@ -2763,6 +2919,12 @@ func (s CreateRuleOutput) GoString() string {
return s.String()
}
+// SetRules sets the Rules field's value.
+func (s *CreateRuleOutput) SetRules(v []*Rule) *CreateRuleOutput {
+ s.Rules = v
+ return s
+}
+
// Contains the parameters for CreateTargetGroup.
type CreateTargetGroupInput struct {
_ struct{} `type:"structure"`
@@ -2877,6 +3039,78 @@ func (s *CreateTargetGroupInput) Validate() error {
return nil
}
+// SetHealthCheckIntervalSeconds sets the HealthCheckIntervalSeconds field's value.
+func (s *CreateTargetGroupInput) SetHealthCheckIntervalSeconds(v int64) *CreateTargetGroupInput {
+ s.HealthCheckIntervalSeconds = &v
+ return s
+}
+
+// SetHealthCheckPath sets the HealthCheckPath field's value.
+func (s *CreateTargetGroupInput) SetHealthCheckPath(v string) *CreateTargetGroupInput {
+ s.HealthCheckPath = &v
+ return s
+}
+
+// SetHealthCheckPort sets the HealthCheckPort field's value.
+func (s *CreateTargetGroupInput) SetHealthCheckPort(v string) *CreateTargetGroupInput {
+ s.HealthCheckPort = &v
+ return s
+}
+
+// SetHealthCheckProtocol sets the HealthCheckProtocol field's value.
+func (s *CreateTargetGroupInput) SetHealthCheckProtocol(v string) *CreateTargetGroupInput {
+ s.HealthCheckProtocol = &v
+ return s
+}
+
+// SetHealthCheckTimeoutSeconds sets the HealthCheckTimeoutSeconds field's value.
+func (s *CreateTargetGroupInput) SetHealthCheckTimeoutSeconds(v int64) *CreateTargetGroupInput {
+ s.HealthCheckTimeoutSeconds = &v
+ return s
+}
+
+// SetHealthyThresholdCount sets the HealthyThresholdCount field's value.
+func (s *CreateTargetGroupInput) SetHealthyThresholdCount(v int64) *CreateTargetGroupInput {
+ s.HealthyThresholdCount = &v
+ return s
+}
+
+// SetMatcher sets the Matcher field's value.
+func (s *CreateTargetGroupInput) SetMatcher(v *Matcher) *CreateTargetGroupInput {
+ s.Matcher = v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *CreateTargetGroupInput) SetName(v string) *CreateTargetGroupInput {
+ s.Name = &v
+ return s
+}
+
+// SetPort sets the Port field's value.
+func (s *CreateTargetGroupInput) SetPort(v int64) *CreateTargetGroupInput {
+ s.Port = &v
+ return s
+}
+
+// SetProtocol sets the Protocol field's value.
+func (s *CreateTargetGroupInput) SetProtocol(v string) *CreateTargetGroupInput {
+ s.Protocol = &v
+ return s
+}
+
+// SetUnhealthyThresholdCount sets the UnhealthyThresholdCount field's value.
+func (s *CreateTargetGroupInput) SetUnhealthyThresholdCount(v int64) *CreateTargetGroupInput {
+ s.UnhealthyThresholdCount = &v
+ return s
+}
+
+// SetVpcId sets the VpcId field's value.
+func (s *CreateTargetGroupInput) SetVpcId(v string) *CreateTargetGroupInput {
+ s.VpcId = &v
+ return s
+}
+
// Contains the output of CreateTargetGroup.
type CreateTargetGroupOutput struct {
_ struct{} `type:"structure"`
@@ -2895,6 +3129,12 @@ func (s CreateTargetGroupOutput) GoString() string {
return s.String()
}
+// SetTargetGroups sets the TargetGroups field's value.
+func (s *CreateTargetGroupOutput) SetTargetGroups(v []*TargetGroup) *CreateTargetGroupOutput {
+ s.TargetGroups = v
+ return s
+}
+
// Contains the parameters for DeleteListener.
type DeleteListenerInput struct {
_ struct{} `type:"structure"`
@@ -2928,6 +3168,12 @@ func (s *DeleteListenerInput) Validate() error {
return nil
}
+// SetListenerArn sets the ListenerArn field's value.
+func (s *DeleteListenerInput) SetListenerArn(v string) *DeleteListenerInput {
+ s.ListenerArn = &v
+ return s
+}
+
// Contains the output of DeleteListener.
type DeleteListenerOutput struct {
_ struct{} `type:"structure"`
@@ -2976,6 +3222,12 @@ func (s *DeleteLoadBalancerInput) Validate() error {
return nil
}
+// SetLoadBalancerArn sets the LoadBalancerArn field's value.
+func (s *DeleteLoadBalancerInput) SetLoadBalancerArn(v string) *DeleteLoadBalancerInput {
+ s.LoadBalancerArn = &v
+ return s
+}
+
// Contains the output of DeleteLoadBalancer.
type DeleteLoadBalancerOutput struct {
_ struct{} `type:"structure"`
@@ -3024,6 +3276,12 @@ func (s *DeleteRuleInput) Validate() error {
return nil
}
+// SetRuleArn sets the RuleArn field's value.
+func (s *DeleteRuleInput) SetRuleArn(v string) *DeleteRuleInput {
+ s.RuleArn = &v
+ return s
+}
+
// Contains the output of DeleteRule.
type DeleteRuleOutput struct {
_ struct{} `type:"structure"`
@@ -3072,6 +3330,12 @@ func (s *DeleteTargetGroupInput) Validate() error {
return nil
}
+// SetTargetGroupArn sets the TargetGroupArn field's value.
+func (s *DeleteTargetGroupInput) SetTargetGroupArn(v string) *DeleteTargetGroupInput {
+ s.TargetGroupArn = &v
+ return s
+}
+
// Contains the output of DeleteTargetGroup.
type DeleteTargetGroupOutput struct {
_ struct{} `type:"structure"`
@@ -3139,6 +3403,18 @@ func (s *DeregisterTargetsInput) Validate() error {
return nil
}
+// SetTargetGroupArn sets the TargetGroupArn field's value.
+func (s *DeregisterTargetsInput) SetTargetGroupArn(v string) *DeregisterTargetsInput {
+ s.TargetGroupArn = &v
+ return s
+}
+
+// SetTargets sets the Targets field's value.
+func (s *DeregisterTargetsInput) SetTargets(v []*TargetDescription) *DeregisterTargetsInput {
+ s.Targets = v
+ return s
+}
+
// Contains the output of DeregisterTargets.
type DeregisterTargetsOutput struct {
_ struct{} `type:"structure"`
@@ -3195,6 +3471,30 @@ func (s *DescribeListenersInput) Validate() error {
return nil
}
+// SetListenerArns sets the ListenerArns field's value.
+func (s *DescribeListenersInput) SetListenerArns(v []*string) *DescribeListenersInput {
+ s.ListenerArns = v
+ return s
+}
+
+// SetLoadBalancerArn sets the LoadBalancerArn field's value.
+func (s *DescribeListenersInput) SetLoadBalancerArn(v string) *DescribeListenersInput {
+ s.LoadBalancerArn = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeListenersInput) SetMarker(v string) *DescribeListenersInput {
+ s.Marker = &v
+ return s
+}
+
+// SetPageSize sets the PageSize field's value.
+func (s *DescribeListenersInput) SetPageSize(v int64) *DescribeListenersInput {
+ s.PageSize = &v
+ return s
+}
+
// Contains the output of DescribeListeners.
type DescribeListenersOutput struct {
_ struct{} `type:"structure"`
@@ -3217,6 +3517,18 @@ func (s DescribeListenersOutput) GoString() string {
return s.String()
}
+// SetListeners sets the Listeners field's value.
+func (s *DescribeListenersOutput) SetListeners(v []*Listener) *DescribeListenersOutput {
+ s.Listeners = v
+ return s
+}
+
+// SetNextMarker sets the NextMarker field's value.
+func (s *DescribeListenersOutput) SetNextMarker(v string) *DescribeListenersOutput {
+ s.NextMarker = &v
+ return s
+}
+
// Contains the parameters for DescribeLoadBalancerAttributes.
type DescribeLoadBalancerAttributesInput struct {
_ struct{} `type:"structure"`
@@ -3250,6 +3562,12 @@ func (s *DescribeLoadBalancerAttributesInput) Validate() error {
return nil
}
+// SetLoadBalancerArn sets the LoadBalancerArn field's value.
+func (s *DescribeLoadBalancerAttributesInput) SetLoadBalancerArn(v string) *DescribeLoadBalancerAttributesInput {
+ s.LoadBalancerArn = &v
+ return s
+}
+
// Contains the output of DescribeLoadBalancerAttributes.
type DescribeLoadBalancerAttributesOutput struct {
_ struct{} `type:"structure"`
@@ -3268,6 +3586,12 @@ func (s DescribeLoadBalancerAttributesOutput) GoString() string {
return s.String()
}
+// SetAttributes sets the Attributes field's value.
+func (s *DescribeLoadBalancerAttributesOutput) SetAttributes(v []*LoadBalancerAttribute) *DescribeLoadBalancerAttributesOutput {
+ s.Attributes = v
+ return s
+}
+
// Contains the parameters for DescribeLoadBalancers.
type DescribeLoadBalancersInput struct {
_ struct{} `type:"structure"`
@@ -3309,6 +3633,30 @@ func (s *DescribeLoadBalancersInput) Validate() error {
return nil
}
+// SetLoadBalancerArns sets the LoadBalancerArns field's value.
+func (s *DescribeLoadBalancersInput) SetLoadBalancerArns(v []*string) *DescribeLoadBalancersInput {
+ s.LoadBalancerArns = v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeLoadBalancersInput) SetMarker(v string) *DescribeLoadBalancersInput {
+ s.Marker = &v
+ return s
+}
+
+// SetNames sets the Names field's value.
+func (s *DescribeLoadBalancersInput) SetNames(v []*string) *DescribeLoadBalancersInput {
+ s.Names = v
+ return s
+}
+
+// SetPageSize sets the PageSize field's value.
+func (s *DescribeLoadBalancersInput) SetPageSize(v int64) *DescribeLoadBalancersInput {
+ s.PageSize = &v
+ return s
+}
+
// Contains the output of DescribeLoadBalancers.
type DescribeLoadBalancersOutput struct {
_ struct{} `type:"structure"`
@@ -3331,6 +3679,18 @@ func (s DescribeLoadBalancersOutput) GoString() string {
return s.String()
}
+// SetLoadBalancers sets the LoadBalancers field's value.
+func (s *DescribeLoadBalancersOutput) SetLoadBalancers(v []*LoadBalancer) *DescribeLoadBalancersOutput {
+ s.LoadBalancers = v
+ return s
+}
+
+// SetNextMarker sets the NextMarker field's value.
+func (s *DescribeLoadBalancersOutput) SetNextMarker(v string) *DescribeLoadBalancersOutput {
+ s.NextMarker = &v
+ return s
+}
+
// Contains the parameters for DescribeRules.
type DescribeRulesInput struct {
_ struct{} `type:"structure"`
@@ -3352,6 +3712,18 @@ func (s DescribeRulesInput) GoString() string {
return s.String()
}
+// SetListenerArn sets the ListenerArn field's value.
+func (s *DescribeRulesInput) SetListenerArn(v string) *DescribeRulesInput {
+ s.ListenerArn = &v
+ return s
+}
+
+// SetRuleArns sets the RuleArns field's value.
+func (s *DescribeRulesInput) SetRuleArns(v []*string) *DescribeRulesInput {
+ s.RuleArns = v
+ return s
+}
+
// Contains the output of DescribeRules.
type DescribeRulesOutput struct {
_ struct{} `type:"structure"`
@@ -3370,6 +3742,12 @@ func (s DescribeRulesOutput) GoString() string {
return s.String()
}
+// SetRules sets the Rules field's value.
+func (s *DescribeRulesOutput) SetRules(v []*Rule) *DescribeRulesOutput {
+ s.Rules = v
+ return s
+}
+
// Contains the parameters for DescribeSSLPolicies.
type DescribeSSLPoliciesInput struct {
_ struct{} `type:"structure"`
@@ -3408,6 +3786,24 @@ func (s *DescribeSSLPoliciesInput) Validate() error {
return nil
}
+// SetMarker sets the Marker field's value.
+func (s *DescribeSSLPoliciesInput) SetMarker(v string) *DescribeSSLPoliciesInput {
+ s.Marker = &v
+ return s
+}
+
+// SetNames sets the Names field's value.
+func (s *DescribeSSLPoliciesInput) SetNames(v []*string) *DescribeSSLPoliciesInput {
+ s.Names = v
+ return s
+}
+
+// SetPageSize sets the PageSize field's value.
+func (s *DescribeSSLPoliciesInput) SetPageSize(v int64) *DescribeSSLPoliciesInput {
+ s.PageSize = &v
+ return s
+}
+
// Contains the output of DescribeSSLPolicies.
type DescribeSSLPoliciesOutput struct {
_ struct{} `type:"structure"`
@@ -3430,6 +3826,18 @@ func (s DescribeSSLPoliciesOutput) GoString() string {
return s.String()
}
+// SetNextMarker sets the NextMarker field's value.
+func (s *DescribeSSLPoliciesOutput) SetNextMarker(v string) *DescribeSSLPoliciesOutput {
+ s.NextMarker = &v
+ return s
+}
+
+// SetSslPolicies sets the SslPolicies field's value.
+func (s *DescribeSSLPoliciesOutput) SetSslPolicies(v []*SslPolicy) *DescribeSSLPoliciesOutput {
+ s.SslPolicies = v
+ return s
+}
+
// Contains the parameters for DescribeTags.
type DescribeTagsInput struct {
_ struct{} `type:"structure"`
@@ -3463,6 +3871,12 @@ func (s *DescribeTagsInput) Validate() error {
return nil
}
+// SetResourceArns sets the ResourceArns field's value.
+func (s *DescribeTagsInput) SetResourceArns(v []*string) *DescribeTagsInput {
+ s.ResourceArns = v
+ return s
+}
+
// Contains the output of DescribeTags.
type DescribeTagsOutput struct {
_ struct{} `type:"structure"`
@@ -3481,6 +3895,12 @@ func (s DescribeTagsOutput) GoString() string {
return s.String()
}
+// SetTagDescriptions sets the TagDescriptions field's value.
+func (s *DescribeTagsOutput) SetTagDescriptions(v []*TagDescription) *DescribeTagsOutput {
+ s.TagDescriptions = v
+ return s
+}
+
// Contains the parameters for DescribeTargetGroupAttributes.
type DescribeTargetGroupAttributesInput struct {
_ struct{} `type:"structure"`
@@ -3514,6 +3934,12 @@ func (s *DescribeTargetGroupAttributesInput) Validate() error {
return nil
}
+// SetTargetGroupArn sets the TargetGroupArn field's value.
+func (s *DescribeTargetGroupAttributesInput) SetTargetGroupArn(v string) *DescribeTargetGroupAttributesInput {
+ s.TargetGroupArn = &v
+ return s
+}
+
// Contains the output of DescribeTargetGroupAttributes.
type DescribeTargetGroupAttributesOutput struct {
_ struct{} `type:"structure"`
@@ -3532,6 +3958,12 @@ func (s DescribeTargetGroupAttributesOutput) GoString() string {
return s.String()
}
+// SetAttributes sets the Attributes field's value.
+func (s *DescribeTargetGroupAttributesOutput) SetAttributes(v []*TargetGroupAttribute) *DescribeTargetGroupAttributesOutput {
+ s.Attributes = v
+ return s
+}
+
// Contains the parameters for DescribeTargetGroups.
type DescribeTargetGroupsInput struct {
_ struct{} `type:"structure"`
@@ -3576,6 +4008,36 @@ func (s *DescribeTargetGroupsInput) Validate() error {
return nil
}
+// SetLoadBalancerArn sets the LoadBalancerArn field's value.
+func (s *DescribeTargetGroupsInput) SetLoadBalancerArn(v string) *DescribeTargetGroupsInput {
+ s.LoadBalancerArn = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeTargetGroupsInput) SetMarker(v string) *DescribeTargetGroupsInput {
+ s.Marker = &v
+ return s
+}
+
+// SetNames sets the Names field's value.
+func (s *DescribeTargetGroupsInput) SetNames(v []*string) *DescribeTargetGroupsInput {
+ s.Names = v
+ return s
+}
+
+// SetPageSize sets the PageSize field's value.
+func (s *DescribeTargetGroupsInput) SetPageSize(v int64) *DescribeTargetGroupsInput {
+ s.PageSize = &v
+ return s
+}
+
+// SetTargetGroupArns sets the TargetGroupArns field's value.
+func (s *DescribeTargetGroupsInput) SetTargetGroupArns(v []*string) *DescribeTargetGroupsInput {
+ s.TargetGroupArns = v
+ return s
+}
+
// Contains the output of DescribeTargetGroups.
type DescribeTargetGroupsOutput struct {
_ struct{} `type:"structure"`
@@ -3598,6 +4060,18 @@ func (s DescribeTargetGroupsOutput) GoString() string {
return s.String()
}
+// SetNextMarker sets the NextMarker field's value.
+func (s *DescribeTargetGroupsOutput) SetNextMarker(v string) *DescribeTargetGroupsOutput {
+ s.NextMarker = &v
+ return s
+}
+
+// SetTargetGroups sets the TargetGroups field's value.
+func (s *DescribeTargetGroupsOutput) SetTargetGroups(v []*TargetGroup) *DescribeTargetGroupsOutput {
+ s.TargetGroups = v
+ return s
+}
+
// Contains the parameters for DescribeTargetHealth.
type DescribeTargetHealthInput struct {
_ struct{} `type:"structure"`
@@ -3644,6 +4118,18 @@ func (s *DescribeTargetHealthInput) Validate() error {
return nil
}
+// SetTargetGroupArn sets the TargetGroupArn field's value.
+func (s *DescribeTargetHealthInput) SetTargetGroupArn(v string) *DescribeTargetHealthInput {
+ s.TargetGroupArn = &v
+ return s
+}
+
+// SetTargets sets the Targets field's value.
+func (s *DescribeTargetHealthInput) SetTargets(v []*TargetDescription) *DescribeTargetHealthInput {
+ s.Targets = v
+ return s
+}
+
// Contains the output of DescribeTargetHealth.
type DescribeTargetHealthOutput struct {
_ struct{} `type:"structure"`
@@ -3662,6 +4148,12 @@ func (s DescribeTargetHealthOutput) GoString() string {
return s.String()
}
+// SetTargetHealthDescriptions sets the TargetHealthDescriptions field's value.
+func (s *DescribeTargetHealthOutput) SetTargetHealthDescriptions(v []*TargetHealthDescription) *DescribeTargetHealthOutput {
+ s.TargetHealthDescriptions = v
+ return s
+}
+
// Information about a listener.
type Listener struct {
_ struct{} `type:"structure"`
@@ -3700,6 +4192,48 @@ func (s Listener) GoString() string {
return s.String()
}
+// SetCertificates sets the Certificates field's value.
+func (s *Listener) SetCertificates(v []*Certificate) *Listener {
+ s.Certificates = v
+ return s
+}
+
+// SetDefaultActions sets the DefaultActions field's value.
+func (s *Listener) SetDefaultActions(v []*Action) *Listener {
+ s.DefaultActions = v
+ return s
+}
+
+// SetListenerArn sets the ListenerArn field's value.
+func (s *Listener) SetListenerArn(v string) *Listener {
+ s.ListenerArn = &v
+ return s
+}
+
+// SetLoadBalancerArn sets the LoadBalancerArn field's value.
+func (s *Listener) SetLoadBalancerArn(v string) *Listener {
+ s.LoadBalancerArn = &v
+ return s
+}
+
+// SetPort sets the Port field's value.
+func (s *Listener) SetPort(v int64) *Listener {
+ s.Port = &v
+ return s
+}
+
+// SetProtocol sets the Protocol field's value.
+func (s *Listener) SetProtocol(v string) *Listener {
+ s.Protocol = &v
+ return s
+}
+
+// SetSslPolicy sets the SslPolicy field's value.
+func (s *Listener) SetSslPolicy(v string) *Listener {
+ s.SslPolicy = &v
+ return s
+}
+
// Information about a load balancer.
type LoadBalancer struct {
_ struct{} `type:"structure"`
@@ -3756,6 +4290,72 @@ func (s LoadBalancer) GoString() string {
return s.String()
}
+// SetAvailabilityZones sets the AvailabilityZones field's value.
+func (s *LoadBalancer) SetAvailabilityZones(v []*AvailabilityZone) *LoadBalancer {
+ s.AvailabilityZones = v
+ return s
+}
+
+// SetCanonicalHostedZoneId sets the CanonicalHostedZoneId field's value.
+func (s *LoadBalancer) SetCanonicalHostedZoneId(v string) *LoadBalancer {
+ s.CanonicalHostedZoneId = &v
+ return s
+}
+
+// SetCreatedTime sets the CreatedTime field's value.
+func (s *LoadBalancer) SetCreatedTime(v time.Time) *LoadBalancer {
+ s.CreatedTime = &v
+ return s
+}
+
+// SetDNSName sets the DNSName field's value.
+func (s *LoadBalancer) SetDNSName(v string) *LoadBalancer {
+ s.DNSName = &v
+ return s
+}
+
+// SetLoadBalancerArn sets the LoadBalancerArn field's value.
+func (s *LoadBalancer) SetLoadBalancerArn(v string) *LoadBalancer {
+ s.LoadBalancerArn = &v
+ return s
+}
+
+// SetLoadBalancerName sets the LoadBalancerName field's value.
+func (s *LoadBalancer) SetLoadBalancerName(v string) *LoadBalancer {
+ s.LoadBalancerName = &v
+ return s
+}
+
+// SetScheme sets the Scheme field's value.
+func (s *LoadBalancer) SetScheme(v string) *LoadBalancer {
+ s.Scheme = &v
+ return s
+}
+
+// SetSecurityGroups sets the SecurityGroups field's value.
+func (s *LoadBalancer) SetSecurityGroups(v []*string) *LoadBalancer {
+ s.SecurityGroups = v
+ return s
+}
+
+// SetState sets the State field's value.
+func (s *LoadBalancer) SetState(v *LoadBalancerState) *LoadBalancer {
+ s.State = v
+ return s
+}
+
+// SetType sets the Type field's value.
+func (s *LoadBalancer) SetType(v string) *LoadBalancer {
+ s.Type = &v
+ return s
+}
+
+// SetVpcId sets the VpcId field's value.
+func (s *LoadBalancer) SetVpcId(v string) *LoadBalancer {
+ s.VpcId = &v
+ return s
+}
+
// Information about a load balancer attribute.
type LoadBalancerAttribute struct {
_ struct{} `type:"structure"`
@@ -3795,6 +4395,18 @@ func (s LoadBalancerAttribute) GoString() string {
return s.String()
}
+// SetKey sets the Key field's value.
+func (s *LoadBalancerAttribute) SetKey(v string) *LoadBalancerAttribute {
+ s.Key = &v
+ return s
+}
+
+// SetValue sets the Value field's value.
+func (s *LoadBalancerAttribute) SetValue(v string) *LoadBalancerAttribute {
+ s.Value = &v
+ return s
+}
+
// Information about the state of the load balancer.
type LoadBalancerState struct {
_ struct{} `type:"structure"`
@@ -3818,6 +4430,18 @@ func (s LoadBalancerState) GoString() string {
return s.String()
}
+// SetCode sets the Code field's value.
+func (s *LoadBalancerState) SetCode(v string) *LoadBalancerState {
+ s.Code = &v
+ return s
+}
+
+// SetReason sets the Reason field's value.
+func (s *LoadBalancerState) SetReason(v string) *LoadBalancerState {
+ s.Reason = &v
+ return s
+}
+
// Information to use when checking for a successful response from a target.
type Matcher struct {
_ struct{} `type:"structure"`
@@ -3852,6 +4476,12 @@ func (s *Matcher) Validate() error {
return nil
}
+// SetHttpCode sets the HttpCode field's value.
+func (s *Matcher) SetHttpCode(v string) *Matcher {
+ s.HttpCode = &v
+ return s
+}
+
// Contains the parameters for ModifyListener.
type ModifyListenerInput struct {
_ struct{} `type:"structure"`
@@ -3913,6 +4543,42 @@ func (s *ModifyListenerInput) Validate() error {
return nil
}
+// SetCertificates sets the Certificates field's value.
+func (s *ModifyListenerInput) SetCertificates(v []*Certificate) *ModifyListenerInput {
+ s.Certificates = v
+ return s
+}
+
+// SetDefaultActions sets the DefaultActions field's value.
+func (s *ModifyListenerInput) SetDefaultActions(v []*Action) *ModifyListenerInput {
+ s.DefaultActions = v
+ return s
+}
+
+// SetListenerArn sets the ListenerArn field's value.
+func (s *ModifyListenerInput) SetListenerArn(v string) *ModifyListenerInput {
+ s.ListenerArn = &v
+ return s
+}
+
+// SetPort sets the Port field's value.
+func (s *ModifyListenerInput) SetPort(v int64) *ModifyListenerInput {
+ s.Port = &v
+ return s
+}
+
+// SetProtocol sets the Protocol field's value.
+func (s *ModifyListenerInput) SetProtocol(v string) *ModifyListenerInput {
+ s.Protocol = &v
+ return s
+}
+
+// SetSslPolicy sets the SslPolicy field's value.
+func (s *ModifyListenerInput) SetSslPolicy(v string) *ModifyListenerInput {
+ s.SslPolicy = &v
+ return s
+}
+
// Contains the output of ModifyListener.
type ModifyListenerOutput struct {
_ struct{} `type:"structure"`
@@ -3931,6 +4597,12 @@ func (s ModifyListenerOutput) GoString() string {
return s.String()
}
+// SetListeners sets the Listeners field's value.
+func (s *ModifyListenerOutput) SetListeners(v []*Listener) *ModifyListenerOutput {
+ s.Listeners = v
+ return s
+}
+
// Contains the parameters for ModifyLoadBalancerAttributes.
type ModifyLoadBalancerAttributesInput struct {
_ struct{} `type:"structure"`
@@ -3972,6 +4644,18 @@ func (s *ModifyLoadBalancerAttributesInput) Validate() error {
return nil
}
+// SetAttributes sets the Attributes field's value.
+func (s *ModifyLoadBalancerAttributesInput) SetAttributes(v []*LoadBalancerAttribute) *ModifyLoadBalancerAttributesInput {
+ s.Attributes = v
+ return s
+}
+
+// SetLoadBalancerArn sets the LoadBalancerArn field's value.
+func (s *ModifyLoadBalancerAttributesInput) SetLoadBalancerArn(v string) *ModifyLoadBalancerAttributesInput {
+ s.LoadBalancerArn = &v
+ return s
+}
+
// Contains the output of ModifyLoadBalancerAttributes.
type ModifyLoadBalancerAttributesOutput struct {
_ struct{} `type:"structure"`
@@ -3990,6 +4674,12 @@ func (s ModifyLoadBalancerAttributesOutput) GoString() string {
return s.String()
}
+// SetAttributes sets the Attributes field's value.
+func (s *ModifyLoadBalancerAttributesOutput) SetAttributes(v []*LoadBalancerAttribute) *ModifyLoadBalancerAttributesOutput {
+ s.Attributes = v
+ return s
+}
+
// Contains the parameters for ModifyRules.
type ModifyRuleInput struct {
_ struct{} `type:"structure"`
@@ -4039,6 +4729,24 @@ func (s *ModifyRuleInput) Validate() error {
return nil
}
+// SetActions sets the Actions field's value.
+func (s *ModifyRuleInput) SetActions(v []*Action) *ModifyRuleInput {
+ s.Actions = v
+ return s
+}
+
+// SetConditions sets the Conditions field's value.
+func (s *ModifyRuleInput) SetConditions(v []*RuleCondition) *ModifyRuleInput {
+ s.Conditions = v
+ return s
+}
+
+// SetRuleArn sets the RuleArn field's value.
+func (s *ModifyRuleInput) SetRuleArn(v string) *ModifyRuleInput {
+ s.RuleArn = &v
+ return s
+}
+
// Contains the output of ModifyRules.
type ModifyRuleOutput struct {
_ struct{} `type:"structure"`
@@ -4057,6 +4765,12 @@ func (s ModifyRuleOutput) GoString() string {
return s.String()
}
+// SetRules sets the Rules field's value.
+func (s *ModifyRuleOutput) SetRules(v []*Rule) *ModifyRuleOutput {
+ s.Rules = v
+ return s
+}
+
// Contains the parameters for ModifyTargetGroupAttributes.
type ModifyTargetGroupAttributesInput struct {
_ struct{} `type:"structure"`
@@ -4098,6 +4812,18 @@ func (s *ModifyTargetGroupAttributesInput) Validate() error {
return nil
}
+// SetAttributes sets the Attributes field's value.
+func (s *ModifyTargetGroupAttributesInput) SetAttributes(v []*TargetGroupAttribute) *ModifyTargetGroupAttributesInput {
+ s.Attributes = v
+ return s
+}
+
+// SetTargetGroupArn sets the TargetGroupArn field's value.
+func (s *ModifyTargetGroupAttributesInput) SetTargetGroupArn(v string) *ModifyTargetGroupAttributesInput {
+ s.TargetGroupArn = &v
+ return s
+}
+
// Contains the output of ModifyTargetGroupAttributes.
type ModifyTargetGroupAttributesOutput struct {
_ struct{} `type:"structure"`
@@ -4116,6 +4842,12 @@ func (s ModifyTargetGroupAttributesOutput) GoString() string {
return s.String()
}
+// SetAttributes sets the Attributes field's value.
+func (s *ModifyTargetGroupAttributesOutput) SetAttributes(v []*TargetGroupAttribute) *ModifyTargetGroupAttributesOutput {
+ s.Attributes = v
+ return s
+}
+
// Contains the parameters for ModifyTargetGroup.
type ModifyTargetGroupInput struct {
_ struct{} `type:"structure"`
@@ -4197,6 +4929,60 @@ func (s *ModifyTargetGroupInput) Validate() error {
return nil
}
+// SetHealthCheckIntervalSeconds sets the HealthCheckIntervalSeconds field's value.
+func (s *ModifyTargetGroupInput) SetHealthCheckIntervalSeconds(v int64) *ModifyTargetGroupInput {
+ s.HealthCheckIntervalSeconds = &v
+ return s
+}
+
+// SetHealthCheckPath sets the HealthCheckPath field's value.
+func (s *ModifyTargetGroupInput) SetHealthCheckPath(v string) *ModifyTargetGroupInput {
+ s.HealthCheckPath = &v
+ return s
+}
+
+// SetHealthCheckPort sets the HealthCheckPort field's value.
+func (s *ModifyTargetGroupInput) SetHealthCheckPort(v string) *ModifyTargetGroupInput {
+ s.HealthCheckPort = &v
+ return s
+}
+
+// SetHealthCheckProtocol sets the HealthCheckProtocol field's value.
+func (s *ModifyTargetGroupInput) SetHealthCheckProtocol(v string) *ModifyTargetGroupInput {
+ s.HealthCheckProtocol = &v
+ return s
+}
+
+// SetHealthCheckTimeoutSeconds sets the HealthCheckTimeoutSeconds field's value.
+func (s *ModifyTargetGroupInput) SetHealthCheckTimeoutSeconds(v int64) *ModifyTargetGroupInput {
+ s.HealthCheckTimeoutSeconds = &v
+ return s
+}
+
+// SetHealthyThresholdCount sets the HealthyThresholdCount field's value.
+func (s *ModifyTargetGroupInput) SetHealthyThresholdCount(v int64) *ModifyTargetGroupInput {
+ s.HealthyThresholdCount = &v
+ return s
+}
+
+// SetMatcher sets the Matcher field's value.
+func (s *ModifyTargetGroupInput) SetMatcher(v *Matcher) *ModifyTargetGroupInput {
+ s.Matcher = v
+ return s
+}
+
+// SetTargetGroupArn sets the TargetGroupArn field's value.
+func (s *ModifyTargetGroupInput) SetTargetGroupArn(v string) *ModifyTargetGroupInput {
+ s.TargetGroupArn = &v
+ return s
+}
+
+// SetUnhealthyThresholdCount sets the UnhealthyThresholdCount field's value.
+func (s *ModifyTargetGroupInput) SetUnhealthyThresholdCount(v int64) *ModifyTargetGroupInput {
+ s.UnhealthyThresholdCount = &v
+ return s
+}
+
// Contains the output of ModifyTargetGroup.
type ModifyTargetGroupOutput struct {
_ struct{} `type:"structure"`
@@ -4215,6 +5001,12 @@ func (s ModifyTargetGroupOutput) GoString() string {
return s.String()
}
+// SetTargetGroups sets the TargetGroups field's value.
+func (s *ModifyTargetGroupOutput) SetTargetGroups(v []*TargetGroup) *ModifyTargetGroupOutput {
+ s.TargetGroups = v
+ return s
+}
+
// Contains the parameters for RegisterTargets.
type RegisterTargetsInput struct {
_ struct{} `type:"structure"`
@@ -4268,6 +5060,18 @@ func (s *RegisterTargetsInput) Validate() error {
return nil
}
+// SetTargetGroupArn sets the TargetGroupArn field's value.
+func (s *RegisterTargetsInput) SetTargetGroupArn(v string) *RegisterTargetsInput {
+ s.TargetGroupArn = &v
+ return s
+}
+
+// SetTargets sets the Targets field's value.
+func (s *RegisterTargetsInput) SetTargets(v []*TargetDescription) *RegisterTargetsInput {
+ s.Targets = v
+ return s
+}
+
// Contains the output of RegisterTargets.
type RegisterTargetsOutput struct {
_ struct{} `type:"structure"`
@@ -4324,6 +5128,18 @@ func (s *RemoveTagsInput) Validate() error {
return nil
}
+// SetResourceArns sets the ResourceArns field's value.
+func (s *RemoveTagsInput) SetResourceArns(v []*string) *RemoveTagsInput {
+ s.ResourceArns = v
+ return s
+}
+
+// SetTagKeys sets the TagKeys field's value.
+func (s *RemoveTagsInput) SetTagKeys(v []*string) *RemoveTagsInput {
+ s.TagKeys = v
+ return s
+}
+
// Contains the output of RemoveTags.
type RemoveTagsOutput struct {
_ struct{} `type:"structure"`
@@ -4369,6 +5185,36 @@ func (s Rule) GoString() string {
return s.String()
}
+// SetActions sets the Actions field's value.
+func (s *Rule) SetActions(v []*Action) *Rule {
+ s.Actions = v
+ return s
+}
+
+// SetConditions sets the Conditions field's value.
+func (s *Rule) SetConditions(v []*RuleCondition) *Rule {
+ s.Conditions = v
+ return s
+}
+
+// SetIsDefault sets the IsDefault field's value.
+func (s *Rule) SetIsDefault(v bool) *Rule {
+ s.IsDefault = &v
+ return s
+}
+
+// SetPriority sets the Priority field's value.
+func (s *Rule) SetPriority(v string) *Rule {
+ s.Priority = &v
+ return s
+}
+
+// SetRuleArn sets the RuleArn field's value.
+func (s *Rule) SetRuleArn(v string) *Rule {
+ s.RuleArn = &v
+ return s
+}
+
// Information about a condition for a rule.
type RuleCondition struct {
_ struct{} `type:"structure"`
@@ -4403,6 +5249,18 @@ func (s RuleCondition) GoString() string {
return s.String()
}
+// SetField sets the Field field's value.
+func (s *RuleCondition) SetField(v string) *RuleCondition {
+ s.Field = &v
+ return s
+}
+
+// SetValues sets the Values field's value.
+func (s *RuleCondition) SetValues(v []*string) *RuleCondition {
+ s.Values = v
+ return s
+}
+
// Information about the priorities for the rules for a listener.
type RulePriorityPair struct {
_ struct{} `type:"structure"`
@@ -4437,6 +5295,18 @@ func (s *RulePriorityPair) Validate() error {
return nil
}
+// SetPriority sets the Priority field's value.
+func (s *RulePriorityPair) SetPriority(v int64) *RulePriorityPair {
+ s.Priority = &v
+ return s
+}
+
+// SetRuleArn sets the RuleArn field's value.
+func (s *RulePriorityPair) SetRuleArn(v string) *RulePriorityPair {
+ s.RuleArn = &v
+ return s
+}
+
// Contains the parameters for SetRulePriorities.
type SetRulePrioritiesInput struct {
_ struct{} `type:"structure"`
@@ -4480,6 +5350,12 @@ func (s *SetRulePrioritiesInput) Validate() error {
return nil
}
+// SetRulePriorities sets the RulePriorities field's value.
+func (s *SetRulePrioritiesInput) SetRulePriorities(v []*RulePriorityPair) *SetRulePrioritiesInput {
+ s.RulePriorities = v
+ return s
+}
+
// Contains the output of SetRulePriorities.
type SetRulePrioritiesOutput struct {
_ struct{} `type:"structure"`
@@ -4498,6 +5374,12 @@ func (s SetRulePrioritiesOutput) GoString() string {
return s.String()
}
+// SetRules sets the Rules field's value.
+func (s *SetRulePrioritiesOutput) SetRules(v []*Rule) *SetRulePrioritiesOutput {
+ s.Rules = v
+ return s
+}
+
// Contains the parameters for SetSecurityGroups.
type SetSecurityGroupsInput struct {
_ struct{} `type:"structure"`
@@ -4539,6 +5421,18 @@ func (s *SetSecurityGroupsInput) Validate() error {
return nil
}
+// SetLoadBalancerArn sets the LoadBalancerArn field's value.
+func (s *SetSecurityGroupsInput) SetLoadBalancerArn(v string) *SetSecurityGroupsInput {
+ s.LoadBalancerArn = &v
+ return s
+}
+
+// SetSecurityGroups sets the SecurityGroups field's value.
+func (s *SetSecurityGroupsInput) SetSecurityGroups(v []*string) *SetSecurityGroupsInput {
+ s.SecurityGroups = v
+ return s
+}
+
// Contains the output of SetSecurityGroups.
type SetSecurityGroupsOutput struct {
_ struct{} `type:"structure"`
@@ -4557,6 +5451,12 @@ func (s SetSecurityGroupsOutput) GoString() string {
return s.String()
}
+// SetSecurityGroupIds sets the SecurityGroupIds field's value.
+func (s *SetSecurityGroupsOutput) SetSecurityGroupIds(v []*string) *SetSecurityGroupsOutput {
+ s.SecurityGroupIds = v
+ return s
+}
+
// Contains the parameters for SetSubnets.
type SetSubnetsInput struct {
_ struct{} `type:"structure"`
@@ -4599,6 +5499,18 @@ func (s *SetSubnetsInput) Validate() error {
return nil
}
+// SetLoadBalancerArn sets the LoadBalancerArn field's value.
+func (s *SetSubnetsInput) SetLoadBalancerArn(v string) *SetSubnetsInput {
+ s.LoadBalancerArn = &v
+ return s
+}
+
+// SetSubnets sets the Subnets field's value.
+func (s *SetSubnetsInput) SetSubnets(v []*string) *SetSubnetsInput {
+ s.Subnets = v
+ return s
+}
+
// Contains the output of SetSubnets.
type SetSubnetsOutput struct {
_ struct{} `type:"structure"`
@@ -4617,6 +5529,12 @@ func (s SetSubnetsOutput) GoString() string {
return s.String()
}
+// SetAvailabilityZones sets the AvailabilityZones field's value.
+func (s *SetSubnetsOutput) SetAvailabilityZones(v []*AvailabilityZone) *SetSubnetsOutput {
+ s.AvailabilityZones = v
+ return s
+}
+
// Information about a policy used for SSL negotiation.
type SslPolicy struct {
_ struct{} `type:"structure"`
@@ -4641,6 +5559,24 @@ func (s SslPolicy) GoString() string {
return s.String()
}
+// SetCiphers sets the Ciphers field's value.
+func (s *SslPolicy) SetCiphers(v []*Cipher) *SslPolicy {
+ s.Ciphers = v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *SslPolicy) SetName(v string) *SslPolicy {
+ s.Name = &v
+ return s
+}
+
+// SetSslProtocols sets the SslProtocols field's value.
+func (s *SslPolicy) SetSslProtocols(v []*string) *SslPolicy {
+ s.SslProtocols = v
+ return s
+}
+
// Information about a tag.
type Tag struct {
_ struct{} `type:"structure"`
@@ -4680,6 +5616,18 @@ func (s *Tag) Validate() error {
return nil
}
+// 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
+}
+
// The tags associated with a resource.
type TagDescription struct {
_ struct{} `type:"structure"`
@@ -4701,6 +5649,18 @@ func (s TagDescription) GoString() string {
return s.String()
}
+// SetResourceArn sets the ResourceArn field's value.
+func (s *TagDescription) SetResourceArn(v string) *TagDescription {
+ s.ResourceArn = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *TagDescription) SetTags(v []*Tag) *TagDescription {
+ s.Tags = v
+ return s
+}
+
// Information about a target.
type TargetDescription struct {
_ struct{} `type:"structure"`
@@ -4740,6 +5700,18 @@ func (s *TargetDescription) Validate() error {
return nil
}
+// SetId sets the Id field's value.
+func (s *TargetDescription) SetId(v string) *TargetDescription {
+ s.Id = &v
+ return s
+}
+
+// SetPort sets the Port field's value.
+func (s *TargetDescription) SetPort(v int64) *TargetDescription {
+ s.Port = &v
+ return s
+}
+
// Information about a target group.
type TargetGroup struct {
_ struct{} `type:"structure"`
@@ -4802,6 +5774,90 @@ func (s TargetGroup) GoString() string {
return s.String()
}
+// SetHealthCheckIntervalSeconds sets the HealthCheckIntervalSeconds field's value.
+func (s *TargetGroup) SetHealthCheckIntervalSeconds(v int64) *TargetGroup {
+ s.HealthCheckIntervalSeconds = &v
+ return s
+}
+
+// SetHealthCheckPath sets the HealthCheckPath field's value.
+func (s *TargetGroup) SetHealthCheckPath(v string) *TargetGroup {
+ s.HealthCheckPath = &v
+ return s
+}
+
+// SetHealthCheckPort sets the HealthCheckPort field's value.
+func (s *TargetGroup) SetHealthCheckPort(v string) *TargetGroup {
+ s.HealthCheckPort = &v
+ return s
+}
+
+// SetHealthCheckProtocol sets the HealthCheckProtocol field's value.
+func (s *TargetGroup) SetHealthCheckProtocol(v string) *TargetGroup {
+ s.HealthCheckProtocol = &v
+ return s
+}
+
+// SetHealthCheckTimeoutSeconds sets the HealthCheckTimeoutSeconds field's value.
+func (s *TargetGroup) SetHealthCheckTimeoutSeconds(v int64) *TargetGroup {
+ s.HealthCheckTimeoutSeconds = &v
+ return s
+}
+
+// SetHealthyThresholdCount sets the HealthyThresholdCount field's value.
+func (s *TargetGroup) SetHealthyThresholdCount(v int64) *TargetGroup {
+ s.HealthyThresholdCount = &v
+ return s
+}
+
+// SetLoadBalancerArns sets the LoadBalancerArns field's value.
+func (s *TargetGroup) SetLoadBalancerArns(v []*string) *TargetGroup {
+ s.LoadBalancerArns = v
+ return s
+}
+
+// SetMatcher sets the Matcher field's value.
+func (s *TargetGroup) SetMatcher(v *Matcher) *TargetGroup {
+ s.Matcher = v
+ return s
+}
+
+// SetPort sets the Port field's value.
+func (s *TargetGroup) SetPort(v int64) *TargetGroup {
+ s.Port = &v
+ return s
+}
+
+// SetProtocol sets the Protocol field's value.
+func (s *TargetGroup) SetProtocol(v string) *TargetGroup {
+ s.Protocol = &v
+ return s
+}
+
+// SetTargetGroupArn sets the TargetGroupArn field's value.
+func (s *TargetGroup) SetTargetGroupArn(v string) *TargetGroup {
+ s.TargetGroupArn = &v
+ return s
+}
+
+// SetTargetGroupName sets the TargetGroupName field's value.
+func (s *TargetGroup) SetTargetGroupName(v string) *TargetGroup {
+ s.TargetGroupName = &v
+ return s
+}
+
+// SetUnhealthyThresholdCount sets the UnhealthyThresholdCount field's value.
+func (s *TargetGroup) SetUnhealthyThresholdCount(v int64) *TargetGroup {
+ s.UnhealthyThresholdCount = &v
+ return s
+}
+
+// SetVpcId sets the VpcId field's value.
+func (s *TargetGroup) SetVpcId(v string) *TargetGroup {
+ s.VpcId = &v
+ return s
+}
+
// Information about a target group attribute.
type TargetGroupAttribute struct {
_ struct{} `type:"structure"`
@@ -4840,6 +5896,18 @@ func (s TargetGroupAttribute) GoString() string {
return s.String()
}
+// SetKey sets the Key field's value.
+func (s *TargetGroupAttribute) SetKey(v string) *TargetGroupAttribute {
+ s.Key = &v
+ return s
+}
+
+// SetValue sets the Value field's value.
+func (s *TargetGroupAttribute) SetValue(v string) *TargetGroupAttribute {
+ s.Value = &v
+ return s
+}
+
// Information about the current health of a target.
type TargetHealth struct {
_ struct{} `type:"structure"`
@@ -4905,6 +5973,24 @@ func (s TargetHealth) GoString() string {
return s.String()
}
+// SetDescription sets the Description field's value.
+func (s *TargetHealth) SetDescription(v string) *TargetHealth {
+ s.Description = &v
+ return s
+}
+
+// SetReason sets the Reason field's value.
+func (s *TargetHealth) SetReason(v string) *TargetHealth {
+ s.Reason = &v
+ return s
+}
+
+// SetState sets the State field's value.
+func (s *TargetHealth) SetState(v string) *TargetHealth {
+ s.State = &v
+ return s
+}
+
// Information about the health of a target.
type TargetHealthDescription struct {
_ struct{} `type:"structure"`
@@ -4929,6 +6015,24 @@ func (s TargetHealthDescription) GoString() string {
return s.String()
}
+// SetHealthCheckPort sets the HealthCheckPort field's value.
+func (s *TargetHealthDescription) SetHealthCheckPort(v string) *TargetHealthDescription {
+ s.HealthCheckPort = &v
+ return s
+}
+
+// SetTarget sets the Target field's value.
+func (s *TargetHealthDescription) SetTarget(v *TargetDescription) *TargetHealthDescription {
+ s.Target = v
+ return s
+}
+
+// SetTargetHealth sets the TargetHealth field's value.
+func (s *TargetHealthDescription) SetTargetHealth(v *TargetHealth) *TargetHealthDescription {
+ s.TargetHealth = v
+ return s
+}
+
const (
// ActionTypeEnumForward is a ActionTypeEnum enum value
ActionTypeEnumForward = "forward"
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 1b4a9d1..9c39d8c 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
@@ -58,7 +58,7 @@ func (c *EMR) AddInstanceGroupsRequest(input *AddInstanceGroupsInput) (req *requ
// AddInstanceGroups API operation for Amazon Elastic MapReduce.
//
-// AddInstanceGroups adds an instance group to a running cluster.
+// Adds one or more instance groups to a running cluster.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
@@ -131,8 +131,8 @@ func (c *EMR) AddJobFlowStepsRequest(input *AddJobFlowStepsInput) (req *request.
// 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, go to Add More than 256 Steps to a Job Flow (http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/AddMoreThan256Steps.html)
-// in the Amazon Elastic MapReduce Developer's Guide.
+// on how to do this, see Add More than 256 Steps to a Job Flow (http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/AddMoreThan256Steps.html)
+// in the Amazon EMR Developer's Guide.
//
// A step specifies the location of a JAR file stored either on the master node
// of the job flow or in Amazon S3. Each step is performed by the main function
@@ -140,10 +140,9 @@ func (c *EMR) AddJobFlowStepsRequest(input *AddJobFlowStepsInput) (req *request.
// in the manifest of the JAR or by using the MainFunction parameter of the
// step.
//
-// Elastic MapReduce executes each step in the order listed. For a step to be
-// considered complete, the main function must exit with a zero exit code and
-// all Hadoop jobs started while the step was running must have completed and
-// run successfully.
+// Amazon EMR executes each step in the order listed. For a step to be considered
+// complete, the main function must exit with a zero exit code and all Hadoop
+// jobs started while the step was running must have completed and run successfully.
//
// You can only add steps to a job flow that is in one of the following states:
// STARTING, BOOTSTRAPPING, RUNNING, or WAITING.
@@ -236,6 +235,78 @@ func (c *EMR) AddTags(input *AddTagsInput) (*AddTagsOutput, error) {
return out, err
}
+const opCancelSteps = "CancelSteps"
+
+// CancelStepsRequest generates a "aws/request.Request" representing the
+// client's request for the CancelSteps operation. The "output" return
+// value can be used to capture response data after the request's "Send" method
+// is called.
+//
+// See CancelSteps for usage and error information.
+//
+// Creating a request object using this method should be used when you want to inject
+// custom logic into the request's lifecycle using a custom handler, or if you want to
+// access properties on the request object before or after sending the request. If
+// you just want the service response, call the CancelSteps method directly
+// instead.
+//
+// Note: You must call the "Send" method on the returned request object in order
+// to execute the request.
+//
+// // Example sending a request using the CancelStepsRequest method.
+// req, resp := client.CancelStepsRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+func (c *EMR) CancelStepsRequest(input *CancelStepsInput) (req *request.Request, output *CancelStepsOutput) {
+ op := &request.Operation{
+ Name: opCancelSteps,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &CancelStepsInput{}
+ }
+
+ req = c.newRequest(op, input, output)
+ output = &CancelStepsOutput{}
+ req.Data = output
+ return
+}
+
+// CancelSteps API operation for Amazon Elastic MapReduce.
+//
+// Cancels a pending step or steps in a running cluster. Available only in Amazon
+// EMR versions 4.8.0 and later, excluding version 5.0.0. A maximum of 256 steps
+// are allowed in each CancelSteps request. CancelSteps is idempotent but asynchronous;
+// it does not guarantee a step will be canceled, even if the request is successfully
+// submitted. You can only cancel steps that are in a PENDING 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 Amazon Elastic MapReduce's
+// API operation CancelSteps for usage and error information.
+//
+// Returned Error Codes:
+// * InternalServerError
+// Indicates that an error occurred while processing the request and that the
+// request was not completed.
+//
+// * InvalidRequestException
+// This exception occurs when there is something wrong with user input.
+//
+func (c *EMR) CancelSteps(input *CancelStepsInput) (*CancelStepsOutput, error) {
+ req, out := c.CancelStepsRequest(input)
+ err := req.Send()
+ return out, err
+}
+
const opCreateSecurityConfiguration = "CreateSecurityConfiguration"
// CreateSecurityConfigurationRequest generates a "aws/request.Request" representing the
@@ -281,9 +352,8 @@ func (c *EMR) CreateSecurityConfigurationRequest(input *CreateSecurityConfigurat
// CreateSecurityConfiguration API operation for Amazon Elastic MapReduce.
//
-// Creates a security configuration using EMR Security Configurations, which
-// are stored in the service. Security Configurations enable you to more easily
-// create a configuration, reuse it, and apply it whenever a cluster is created.
+// Creates a security configuration, which is stored in the service and can
+// be specified when a cluster 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
@@ -507,7 +577,7 @@ func (c *EMR) DescribeJobFlowsRequest(input *DescribeJobFlowsInput) (req *reques
// * Job flows created within the last two months that are in one of the
// following states: RUNNING, WAITING, SHUTTING_DOWN, STARTING
//
-// Amazon Elastic MapReduce can return a maximum of 512 job flow descriptions.
+// Amazon EMR can return a maximum of 512 job flow descriptions.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
@@ -1183,7 +1253,8 @@ func (c *EMR) ListStepsRequest(input *ListStepsInput) (req *request.Request, out
// ListSteps API operation for Amazon Elastic MapReduce.
//
-// Provides a list of steps for the cluster.
+// Provides a list of steps for the cluster in reverse order unless you specify
+// stepIds with 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
@@ -1300,6 +1371,128 @@ func (c *EMR) ModifyInstanceGroups(input *ModifyInstanceGroupsInput) (*ModifyIns
return out, err
}
+const opPutAutoScalingPolicy = "PutAutoScalingPolicy"
+
+// PutAutoScalingPolicyRequest generates a "aws/request.Request" representing the
+// client's request for the PutAutoScalingPolicy operation. The "output" return
+// value can be used to capture response data after the request's "Send" method
+// is called.
+//
+// See PutAutoScalingPolicy for usage and error information.
+//
+// Creating a request object using this method should be used when you want to inject
+// custom logic into the request's lifecycle using a custom handler, or if you want to
+// access properties on the request object before or after sending the request. If
+// you just want the service response, call the PutAutoScalingPolicy method directly
+// instead.
+//
+// Note: You must call the "Send" method on the returned request object in order
+// to execute the request.
+//
+// // Example sending a request using the PutAutoScalingPolicyRequest method.
+// req, resp := client.PutAutoScalingPolicyRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+func (c *EMR) PutAutoScalingPolicyRequest(input *PutAutoScalingPolicyInput) (req *request.Request, output *PutAutoScalingPolicyOutput) {
+ op := &request.Operation{
+ Name: opPutAutoScalingPolicy,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &PutAutoScalingPolicyInput{}
+ }
+
+ req = c.newRequest(op, input, output)
+ output = &PutAutoScalingPolicyOutput{}
+ req.Data = output
+ return
+}
+
+// PutAutoScalingPolicy API operation for Amazon Elastic MapReduce.
+//
+// Creates or updates an automatic scaling policy for a core instance group
+// or task instance group 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.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type 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 MapReduce's
+// API operation PutAutoScalingPolicy for usage and error information.
+func (c *EMR) PutAutoScalingPolicy(input *PutAutoScalingPolicyInput) (*PutAutoScalingPolicyOutput, error) {
+ req, out := c.PutAutoScalingPolicyRequest(input)
+ err := req.Send()
+ return out, err
+}
+
+const opRemoveAutoScalingPolicy = "RemoveAutoScalingPolicy"
+
+// RemoveAutoScalingPolicyRequest generates a "aws/request.Request" representing the
+// client's request for the RemoveAutoScalingPolicy operation. The "output" return
+// value can be used to capture response data after the request's "Send" method
+// is called.
+//
+// See RemoveAutoScalingPolicy for usage and error information.
+//
+// Creating a request object using this method should be used when you want to inject
+// custom logic into the request's lifecycle using a custom handler, or if you want to
+// access properties on the request object before or after sending the request. If
+// you just want the service response, call the RemoveAutoScalingPolicy method directly
+// instead.
+//
+// Note: You must call the "Send" method on the returned request object in order
+// to execute the request.
+//
+// // Example sending a request using the RemoveAutoScalingPolicyRequest method.
+// req, resp := client.RemoveAutoScalingPolicyRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+func (c *EMR) RemoveAutoScalingPolicyRequest(input *RemoveAutoScalingPolicyInput) (req *request.Request, output *RemoveAutoScalingPolicyOutput) {
+ op := &request.Operation{
+ Name: opRemoveAutoScalingPolicy,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &RemoveAutoScalingPolicyInput{}
+ }
+
+ req = c.newRequest(op, input, output)
+ output = &RemoveAutoScalingPolicyOutput{}
+ req.Data = output
+ return
+}
+
+// RemoveAutoScalingPolicy API operation for Amazon Elastic MapReduce.
+//
+// Removes an automatic scaling policy from a specified instance group within
+// an EMR cluster.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type 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 MapReduce's
+// API operation RemoveAutoScalingPolicy for usage and error information.
+func (c *EMR) RemoveAutoScalingPolicy(input *RemoveAutoScalingPolicyInput) (*RemoveAutoScalingPolicyOutput, error) {
+ req, out := c.RemoveAutoScalingPolicyRequest(input)
+ err := req.Send()
+ return out, err
+}
+
const opRemoveTags = "RemoveTags"
// RemoveTagsRequest generates a "aws/request.Request" representing the
@@ -1418,11 +1611,11 @@ func (c *EMR) RunJobFlowRequest(input *RunJobFlowInput) (req *request.Request, o
// RunJobFlow API operation for Amazon Elastic MapReduce.
//
// RunJobFlow creates and starts running a new job flow. The job flow will run
-// the steps specified. Once the job flow completes, the cluster is stopped
+// the steps specified. After the job flow completes, the cluster is stopped
// and the HDFS partition is lost. To prevent loss of data, configure the last
// step of the job flow to store results in Amazon S3. If the JobFlowInstancesConfigKeepJobFlowAliveWhenNoSteps
// parameter is set to TRUE, the job flow will transition to the WAITING state
-// rather than shutting down once the steps have completed.
+// rather than shutting down after the steps have completed.
//
// For additional protection, you can set the JobFlowInstancesConfigTerminationProtected
// parameter to TRUE to lock the job flow and prevent it from being terminated
@@ -1435,8 +1628,8 @@ 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, go to Add More than 256 Steps to a Job Flow (http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/AddMoreThan256Steps.html)
-// in the Amazon Elastic MapReduce Developer's Guide.
+// on how to do this, see Add More than 256 Steps to a Job Flow (http://docs.aws.amazon.com/ElasticMapReduce/latest/Management/Guide/AddMoreThan256Steps.html)
+// in the Amazon EMR Management Guide.
//
// For long running job flows, we recommend that you periodically store your
// results.
@@ -1506,12 +1699,12 @@ func (c *EMR) SetTerminationProtectionRequest(input *SetTerminationProtectionInp
// SetTerminationProtection API operation for Amazon Elastic MapReduce.
//
-// SetTerminationProtection locks a job flow so the Amazon EC2 instances in
-// the cluster cannot be terminated by user intervention, an API call, or in
-// the event of a job-flow error. The cluster still terminates upon successful
-// completion of the job flow. Calling SetTerminationProtection on a job flow
-// is analogous to calling the Amazon EC2 DisableAPITermination API on all of
-// the EC2 instances in a cluster.
+// SetTerminationProtection locks a job flow so the EC2 instances in the cluster
+// cannot be terminated by user intervention, an API call, or in the event of
+// a job-flow error. The cluster still terminates upon successful completion
+// of the job flow. Calling SetTerminationProtection on a job flow is analogous
+// to calling the Amazon EC2 DisableAPITermination API on all of the EC2 instances
+// in a cluster.
//
// SetTerminationProtection is used to prevent accidental termination of a job
// flow and to ensure that in the event of an error, the instances will persist
@@ -1521,8 +1714,8 @@ func (c *EMR) SetTerminationProtectionRequest(input *SetTerminationProtectionInp
// to true, you must first unlock the job flow by a subsequent call to SetTerminationProtection
// in which you set the value to false.
//
-// For more information, go to Protecting a Job Flow from Termination (http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/UsingEMR_TerminationProtection.html)
-// in the Amazon Elastic MapReduce Developer's Guide.
+// For more information, seeProtecting a Job Flow from Termination (http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/UsingEMR_TerminationProtection.html)
+// in the Amazon EMR 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
@@ -1668,7 +1861,7 @@ func (c *EMR) TerminateJobFlowsRequest(input *TerminateJobFlowsInput) (req *requ
//
// The maximum number of JobFlows allowed is 10. The call to TerminateJobFlows
// is asynchronous. Depending on the configuration of the job flow, it may take
-// up to 5-20 minutes for the job flow to completely terminate and release allocated
+// up to 1-5 minutes for the job flow to completely terminate and release allocated
// resources, such as Amazon EC2 instances.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
@@ -1693,7 +1886,7 @@ func (c *EMR) TerminateJobFlows(input *TerminateJobFlowsInput) (*TerminateJobFlo
type AddInstanceGroupsInput struct {
_ struct{} `type:"structure"`
- // Instance Groups to add.
+ // Instance groups to add.
//
// InstanceGroups is a required field
InstanceGroups []*InstanceGroupConfig `type:"list" required:"true"`
@@ -1740,6 +1933,18 @@ func (s *AddInstanceGroupsInput) Validate() error {
return nil
}
+// SetInstanceGroups sets the InstanceGroups field's value.
+func (s *AddInstanceGroupsInput) SetInstanceGroups(v []*InstanceGroupConfig) *AddInstanceGroupsInput {
+ s.InstanceGroups = v
+ return s
+}
+
+// SetJobFlowId sets the JobFlowId field's value.
+func (s *AddInstanceGroupsInput) SetJobFlowId(v string) *AddInstanceGroupsInput {
+ s.JobFlowId = &v
+ return s
+}
+
// Output from an AddInstanceGroups call.
type AddInstanceGroupsOutput struct {
_ struct{} `type:"structure"`
@@ -1761,6 +1966,18 @@ func (s AddInstanceGroupsOutput) GoString() string {
return s.String()
}
+// SetInstanceGroupIds sets the InstanceGroupIds field's value.
+func (s *AddInstanceGroupsOutput) SetInstanceGroupIds(v []*string) *AddInstanceGroupsOutput {
+ s.InstanceGroupIds = v
+ return s
+}
+
+// SetJobFlowId sets the JobFlowId field's value.
+func (s *AddInstanceGroupsOutput) SetJobFlowId(v string) *AddInstanceGroupsOutput {
+ s.JobFlowId = &v
+ return s
+}
+
// The input argument to the AddJobFlowSteps operation.
type AddJobFlowStepsInput struct {
_ struct{} `type:"structure"`
@@ -1813,6 +2030,18 @@ func (s *AddJobFlowStepsInput) Validate() error {
return nil
}
+// SetJobFlowId sets the JobFlowId field's value.
+func (s *AddJobFlowStepsInput) SetJobFlowId(v string) *AddJobFlowStepsInput {
+ s.JobFlowId = &v
+ return s
+}
+
+// SetSteps sets the Steps field's value.
+func (s *AddJobFlowStepsInput) SetSteps(v []*StepConfig) *AddJobFlowStepsInput {
+ s.Steps = v
+ return s
+}
+
// The output for the AddJobFlowSteps operation.
type AddJobFlowStepsOutput struct {
_ struct{} `type:"structure"`
@@ -1831,6 +2060,12 @@ func (s AddJobFlowStepsOutput) GoString() string {
return s.String()
}
+// SetStepIds sets the StepIds field's value.
+func (s *AddJobFlowStepsOutput) SetStepIds(v []*string) *AddJobFlowStepsOutput {
+ s.StepIds = v
+ return s
+}
+
// This input identifies a cluster and a list of tags to attach.
type AddTagsInput struct {
_ struct{} `type:"structure"`
@@ -1841,7 +2076,7 @@ type AddTagsInput struct {
// ResourceId is a required field
ResourceId *string `type:"string" required:"true"`
- // A list of tags to associate with a cluster and propagate to Amazon EC2 instances.
+ // A list of tags to associate with a cluster and propagate to EC2 instances.
// Tags are user-defined key/value pairs that consist of a required key string
// with a maximum of 128 characters, and an optional value string with a maximum
// of 256 characters.
@@ -1876,6 +2111,18 @@ func (s *AddTagsInput) Validate() error {
return nil
}
+// SetResourceId sets the ResourceId field's value.
+func (s *AddTagsInput) SetResourceId(v string) *AddTagsInput {
+ s.ResourceId = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *AddTagsInput) SetTags(v []*Tag) *AddTagsInput {
+ s.Tags = v
+ return s
+}
+
// This output indicates the result of adding tags to a resource.
type AddTagsOutput struct {
_ struct{} `type:"structure"`
@@ -1936,38 +2183,82 @@ func (s Application) GoString() string {
return s.String()
}
-type BootstrapActionConfig struct {
+// SetAdditionalInfo sets the AdditionalInfo field's value.
+func (s *Application) SetAdditionalInfo(v map[string]*string) *Application {
+ s.AdditionalInfo = v
+ return s
+}
+
+// SetArgs sets the Args field's value.
+func (s *Application) SetArgs(v []*string) *Application {
+ s.Args = v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *Application) SetName(v string) *Application {
+ s.Name = &v
+ return s
+}
+
+// SetVersion sets the Version field's value.
+func (s *Application) SetVersion(v string) *Application {
+ s.Version = &v
+ return s
+}
+
+// An automatic scaling policy for a core instance group or task instance group
+// 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.
+type AutoScalingPolicy struct {
_ struct{} `type:"structure"`
- // Name is a required field
- Name *string `type:"string" required:"true"`
+ // The upper and lower EC2 instance limits for an automatic scaling policy.
+ // Automatic scaling activity will not cause an instance group to grow above
+ // or below these limits.
+ //
+ // Constraints is a required field
+ Constraints *ScalingConstraints `type:"structure" required:"true"`
- // ScriptBootstrapAction is a required field
- ScriptBootstrapAction *ScriptBootstrapActionConfig `type:"structure" required:"true"`
+ // The scale-in and scale-out rules that comprise the automatic scaling policy.
+ //
+ // Rules is a required field
+ Rules []*ScalingRule `type:"list" required:"true"`
}
// String returns the string representation
-func (s BootstrapActionConfig) String() string {
+func (s AutoScalingPolicy) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
-func (s BootstrapActionConfig) GoString() string {
+func (s AutoScalingPolicy) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *BootstrapActionConfig) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "BootstrapActionConfig"}
- if s.Name == nil {
- invalidParams.Add(request.NewErrParamRequired("Name"))
+func (s *AutoScalingPolicy) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "AutoScalingPolicy"}
+ if s.Constraints == nil {
+ invalidParams.Add(request.NewErrParamRequired("Constraints"))
}
- if s.ScriptBootstrapAction == nil {
- invalidParams.Add(request.NewErrParamRequired("ScriptBootstrapAction"))
+ if s.Rules == nil {
+ invalidParams.Add(request.NewErrParamRequired("Rules"))
}
- if s.ScriptBootstrapAction != nil {
- if err := s.ScriptBootstrapAction.Validate(); err != nil {
- invalidParams.AddNested("ScriptBootstrapAction", err.(request.ErrInvalidParams))
+ if s.Constraints != nil {
+ if err := s.Constraints.Validate(); err != nil {
+ invalidParams.AddNested("Constraints", err.(request.ErrInvalidParams))
+ }
+ }
+ if s.Rules != nil {
+ for i, v := range s.Rules {
+ if v == nil {
+ continue
+ }
+ if err := v.Validate(); err != nil {
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Rules", i), err.(request.ErrInvalidParams))
+ }
}
}
@@ -1977,75 +2268,520 @@ func (s *BootstrapActionConfig) Validate() error {
return nil
}
-// Reports the configuration of a bootstrap action in a job flow.
-type BootstrapActionDetail struct {
+// SetConstraints sets the Constraints field's value.
+func (s *AutoScalingPolicy) SetConstraints(v *ScalingConstraints) *AutoScalingPolicy {
+ s.Constraints = v
+ return s
+}
+
+// SetRules sets the Rules field's value.
+func (s *AutoScalingPolicy) SetRules(v []*ScalingRule) *AutoScalingPolicy {
+ s.Rules = v
+ return s
+}
+
+// An automatic scaling policy for a core instance group or task instance group
+// 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.
+type AutoScalingPolicyDescription struct {
_ struct{} `type:"structure"`
- // A description of the bootstrap action.
- BootstrapActionConfig *BootstrapActionConfig `type:"structure"`
+ // The upper and lower EC2 instance limits for an automatic scaling policy.
+ // Automatic scaling activity will not cause an instance group to grow above
+ // or below these limits.
+ Constraints *ScalingConstraints `type:"structure"`
+
+ // The scale-in and scale-out rules that comprise the automatic scaling policy.
+ Rules []*ScalingRule `type:"list"`
+
+ // The status of an automatic scaling policy.
+ Status *AutoScalingPolicyStatus `type:"structure"`
}
// String returns the string representation
-func (s BootstrapActionDetail) String() string {
+func (s AutoScalingPolicyDescription) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
-func (s BootstrapActionDetail) GoString() string {
+func (s AutoScalingPolicyDescription) GoString() string {
return s.String()
}
-// The detailed description of the cluster.
-type Cluster struct {
- _ struct{} `type:"structure"`
+// SetConstraints sets the Constraints field's value.
+func (s *AutoScalingPolicyDescription) SetConstraints(v *ScalingConstraints) *AutoScalingPolicyDescription {
+ s.Constraints = v
+ return s
+}
- // The applications installed on this cluster.
- Applications []*Application `type:"list"`
+// SetRules sets the Rules field's value.
+func (s *AutoScalingPolicyDescription) SetRules(v []*ScalingRule) *AutoScalingPolicyDescription {
+ s.Rules = v
+ return s
+}
- // Specifies whether the cluster should terminate after completing all steps.
- AutoTerminate *bool `type:"boolean"`
+// SetStatus sets the Status field's value.
+func (s *AutoScalingPolicyDescription) SetStatus(v *AutoScalingPolicyStatus) *AutoScalingPolicyDescription {
+ s.Status = v
+ return s
+}
- // Amazon EMR releases 4.x or later.
- //
- // The list of Configurations supplied to the EMR cluster.
- Configurations []*Configuration `type:"list"`
+// The reason for an AutoScalingPolicyStatus change.
+type AutoScalingPolicyStateChangeReason struct {
+ _ struct{} `type:"structure"`
- // Provides information about the EC2 instances in a cluster grouped by category.
- // For example, key name, subnet ID, IAM instance profile, and so on.
- Ec2InstanceAttributes *Ec2InstanceAttributes `type:"structure"`
+ // The code indicating the reason for the change in status.USER_REQUEST indicates
+ // that the scaling policy status was changed by a user. PROVISION_FAILURE indicates
+ // that the status change was because the policy failed to provision. CLEANUP_FAILURE
+ // indicates something unclean happened.-->
+ Code *string `type:"string" enum:"AutoScalingPolicyStateChangeReasonCode"`
- // The unique identifier for the cluster.
- Id *string `type:"string"`
+ // A friendly, more verbose message that accompanies an automatic scaling policy
+ // state change.
+ Message *string `type:"string"`
+}
- // The path to the Amazon S3 location where logs for this cluster are stored.
- LogUri *string `type:"string"`
+// String returns the string representation
+func (s AutoScalingPolicyStateChangeReason) String() string {
+ return awsutil.Prettify(s)
+}
- // The public DNS name of the master EC2 instance.
- MasterPublicDnsName *string `type:"string"`
+// GoString returns the string representation
+func (s AutoScalingPolicyStateChangeReason) GoString() string {
+ return s.String()
+}
- // The name of the cluster.
- Name *string `type:"string"`
+// SetCode sets the Code field's value.
+func (s *AutoScalingPolicyStateChangeReason) SetCode(v string) *AutoScalingPolicyStateChangeReason {
+ s.Code = &v
+ return s
+}
- // An approximation of the cost of the job flow, represented in m1.small/hours.
- // This value is incremented one time for every hour an m1.small instance runs.
- // Larger instances are weighted more, so an EC2 instance that is roughly four
- // times more expensive would result in the normalized instance hours being
- // incremented by four. This result is only an approximation and does not reflect
- // the actual billing rate.
- NormalizedInstanceHours *int64 `type:"integer"`
+// SetMessage sets the Message field's value.
+func (s *AutoScalingPolicyStateChangeReason) SetMessage(v string) *AutoScalingPolicyStateChangeReason {
+ s.Message = &v
+ return s
+}
- // The release label for the Amazon EMR release. For Amazon EMR 3.x and 2.x
- // AMIs, use amiVersion instead instead of ReleaseLabel.
- ReleaseLabel *string `type:"string"`
+// The status of an automatic scaling policy.
+type AutoScalingPolicyStatus struct {
+ _ struct{} `type:"structure"`
- // The AMI version requested for this cluster.
- RequestedAmiVersion *string `type:"string"`
+ State *string `type:"string" enum:"AutoScalingPolicyState"`
- // The AMI version running on this cluster.
- RunningAmiVersion *string `type:"string"`
+ // The reason for a change in status.
+ StateChangeReason *AutoScalingPolicyStateChangeReason `type:"structure"`
+}
- // The name of the security configuration applied to the cluster.
- SecurityConfiguration *string `type:"string"`
+// String returns the string representation
+func (s AutoScalingPolicyStatus) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s AutoScalingPolicyStatus) GoString() string {
+ return s.String()
+}
+
+// SetState sets the State field's value.
+func (s *AutoScalingPolicyStatus) SetState(v string) *AutoScalingPolicyStatus {
+ s.State = &v
+ return s
+}
+
+// SetStateChangeReason sets the StateChangeReason field's value.
+func (s *AutoScalingPolicyStatus) SetStateChangeReason(v *AutoScalingPolicyStateChangeReason) *AutoScalingPolicyStatus {
+ s.StateChangeReason = v
+ return s
+}
+
+// Configuration of a bootstrap action.
+type BootstrapActionConfig struct {
+ _ struct{} `type:"structure"`
+
+ // The name of the bootstrap action.
+ //
+ // Name is a required field
+ Name *string `type:"string" required:"true"`
+
+ // The script run by the bootstrap action.
+ //
+ // ScriptBootstrapAction is a required field
+ ScriptBootstrapAction *ScriptBootstrapActionConfig `type:"structure" required:"true"`
+}
+
+// String returns the string representation
+func (s BootstrapActionConfig) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s BootstrapActionConfig) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *BootstrapActionConfig) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "BootstrapActionConfig"}
+ if s.Name == nil {
+ invalidParams.Add(request.NewErrParamRequired("Name"))
+ }
+ if s.ScriptBootstrapAction == nil {
+ invalidParams.Add(request.NewErrParamRequired("ScriptBootstrapAction"))
+ }
+ if s.ScriptBootstrapAction != nil {
+ if err := s.ScriptBootstrapAction.Validate(); err != nil {
+ invalidParams.AddNested("ScriptBootstrapAction", err.(request.ErrInvalidParams))
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetName sets the Name field's value.
+func (s *BootstrapActionConfig) SetName(v string) *BootstrapActionConfig {
+ s.Name = &v
+ return s
+}
+
+// SetScriptBootstrapAction sets the ScriptBootstrapAction field's value.
+func (s *BootstrapActionConfig) SetScriptBootstrapAction(v *ScriptBootstrapActionConfig) *BootstrapActionConfig {
+ s.ScriptBootstrapAction = v
+ return s
+}
+
+// Reports the configuration of a bootstrap action in a job flow.
+type BootstrapActionDetail struct {
+ _ struct{} `type:"structure"`
+
+ // A description of the bootstrap action.
+ BootstrapActionConfig *BootstrapActionConfig `type:"structure"`
+}
+
+// String returns the string representation
+func (s BootstrapActionDetail) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s BootstrapActionDetail) GoString() string {
+ return s.String()
+}
+
+// SetBootstrapActionConfig sets the BootstrapActionConfig field's value.
+func (s *BootstrapActionDetail) SetBootstrapActionConfig(v *BootstrapActionConfig) *BootstrapActionDetail {
+ s.BootstrapActionConfig = v
+ return s
+}
+
+type CancelStepsInfo struct {
+ _ struct{} `type:"structure"`
+
+ Reason *string `type:"string"`
+
+ Status *string `type:"string" enum:"CancelStepsRequestStatus"`
+
+ StepId *string `type:"string"`
+}
+
+// String returns the string representation
+func (s CancelStepsInfo) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s CancelStepsInfo) GoString() string {
+ return s.String()
+}
+
+// SetReason sets the Reason field's value.
+func (s *CancelStepsInfo) SetReason(v string) *CancelStepsInfo {
+ s.Reason = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *CancelStepsInfo) SetStatus(v string) *CancelStepsInfo {
+ s.Status = &v
+ return s
+}
+
+// SetStepId sets the StepId field's value.
+func (s *CancelStepsInfo) SetStepId(v string) *CancelStepsInfo {
+ s.StepId = &v
+ return s
+}
+
+// The input argument to the CancelSteps operation.
+type CancelStepsInput struct {
+ _ struct{} `type:"structure"`
+
+ // The ClusterID for which specified steps will be canceled. Use RunJobFlow
+ // and ListClusters to get ClusterIDs.
+ ClusterId *string `type:"string"`
+
+ // The list of StepIDs to cancel. Use ListSteps to get steps and their states
+ // for the specified cluster.
+ StepIds []*string `type:"list"`
+}
+
+// String returns the string representation
+func (s CancelStepsInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s CancelStepsInput) GoString() string {
+ return s.String()
+}
+
+// SetClusterId sets the ClusterId field's value.
+func (s *CancelStepsInput) SetClusterId(v string) *CancelStepsInput {
+ s.ClusterId = &v
+ return s
+}
+
+// SetStepIds sets the StepIds field's value.
+func (s *CancelStepsInput) SetStepIds(v []*string) *CancelStepsInput {
+ s.StepIds = v
+ return s
+}
+
+// The output for the CancelSteps operation.
+type CancelStepsOutput struct {
+ _ struct{} `type:"structure"`
+
+ // A list of CancelStepsInfo, which shows the status of specified cancel requests
+ // for each StepID specified.
+ CancelStepsInfoList []*CancelStepsInfo `type:"list"`
+}
+
+// String returns the string representation
+func (s CancelStepsOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s CancelStepsOutput) GoString() string {
+ return s.String()
+}
+
+// SetCancelStepsInfoList sets the CancelStepsInfoList field's value.
+func (s *CancelStepsOutput) SetCancelStepsInfoList(v []*CancelStepsInfo) *CancelStepsOutput {
+ s.CancelStepsInfoList = v
+ return s
+}
+
+// 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.
+type CloudWatchAlarmDefinition struct {
+ _ struct{} `type:"structure"`
+
+ // Determines how the metric specified by MetricName is compared to the value
+ // specified by Threshold.
+ //
+ // ComparisonOperator is a required field
+ ComparisonOperator *string `type:"string" required:"true" enum:"ComparisonOperator"`
+
+ // A CloudWatch metric dimension.
+ Dimensions []*MetricDimension `type:"list"`
+
+ // The number of periods, expressed in seconds using Period, during which the
+ // alarm condition must exist before the alarm triggers automatic scaling activity.
+ // The default value is 1.
+ EvaluationPeriods *int64 `type:"integer"`
+
+ // The name of the CloudWatch metric that is watched to determine an alarm condition.
+ //
+ // MetricName is a required field
+ MetricName *string `type:"string" required:"true"`
+
+ // The namespace for the CloudWatch metric. The default is AWS/ElasticMapReduce.
+ Namespace *string `type:"string"`
+
+ // The period, in seconds, over which the statistic is applied. EMR CloudWatch
+ // metrics are emitted every five minutes (300 seconds), so if an EMR CloudWatch
+ // metric is specified, specify 300.
+ //
+ // Period is a required field
+ Period *int64 `type:"integer" required:"true"`
+
+ // The statistic to apply to the metric associated with the alarm. The default
+ // is AVERAGE.
+ Statistic *string `type:"string" enum:"Statistic"`
+
+ // The value against which the specified statistic is compared.
+ //
+ // Threshold is a required field
+ Threshold *float64 `type:"double" required:"true"`
+
+ // The unit of measure associated with the CloudWatch metric being watched.
+ // The value specified for Unit must correspond to the units specified in the
+ // CloudWatch metric.
+ Unit *string `type:"string" enum:"Unit"`
+}
+
+// String returns the string representation
+func (s CloudWatchAlarmDefinition) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s CloudWatchAlarmDefinition) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *CloudWatchAlarmDefinition) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "CloudWatchAlarmDefinition"}
+ if s.ComparisonOperator == nil {
+ invalidParams.Add(request.NewErrParamRequired("ComparisonOperator"))
+ }
+ if s.MetricName == nil {
+ invalidParams.Add(request.NewErrParamRequired("MetricName"))
+ }
+ if s.Period == nil {
+ invalidParams.Add(request.NewErrParamRequired("Period"))
+ }
+ if s.Threshold == nil {
+ invalidParams.Add(request.NewErrParamRequired("Threshold"))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetComparisonOperator sets the ComparisonOperator field's value.
+func (s *CloudWatchAlarmDefinition) SetComparisonOperator(v string) *CloudWatchAlarmDefinition {
+ s.ComparisonOperator = &v
+ return s
+}
+
+// SetDimensions sets the Dimensions field's value.
+func (s *CloudWatchAlarmDefinition) SetDimensions(v []*MetricDimension) *CloudWatchAlarmDefinition {
+ s.Dimensions = v
+ return s
+}
+
+// SetEvaluationPeriods sets the EvaluationPeriods field's value.
+func (s *CloudWatchAlarmDefinition) SetEvaluationPeriods(v int64) *CloudWatchAlarmDefinition {
+ s.EvaluationPeriods = &v
+ return s
+}
+
+// SetMetricName sets the MetricName field's value.
+func (s *CloudWatchAlarmDefinition) SetMetricName(v string) *CloudWatchAlarmDefinition {
+ s.MetricName = &v
+ return s
+}
+
+// SetNamespace sets the Namespace field's value.
+func (s *CloudWatchAlarmDefinition) SetNamespace(v string) *CloudWatchAlarmDefinition {
+ s.Namespace = &v
+ return s
+}
+
+// SetPeriod sets the Period field's value.
+func (s *CloudWatchAlarmDefinition) SetPeriod(v int64) *CloudWatchAlarmDefinition {
+ s.Period = &v
+ return s
+}
+
+// SetStatistic sets the Statistic field's value.
+func (s *CloudWatchAlarmDefinition) SetStatistic(v string) *CloudWatchAlarmDefinition {
+ s.Statistic = &v
+ return s
+}
+
+// SetThreshold sets the Threshold field's value.
+func (s *CloudWatchAlarmDefinition) SetThreshold(v float64) *CloudWatchAlarmDefinition {
+ s.Threshold = &v
+ return s
+}
+
+// SetUnit sets the Unit field's value.
+func (s *CloudWatchAlarmDefinition) SetUnit(v string) *CloudWatchAlarmDefinition {
+ s.Unit = &v
+ return s
+}
+
+// The detailed description of the cluster.
+type Cluster struct {
+ _ struct{} `type:"structure"`
+
+ // The applications installed on this cluster.
+ Applications []*Application `type:"list"`
+
+ // An IAM role for automatic scaling policies. The default role is EMR_AutoScaling_DefaultRole.
+ // The IAM role provides permissions that the automatic scaling feature requires
+ // to launch and terminate EC2 instances in an instance group.
+ AutoScalingRole *string `type:"string"`
+
+ // Specifies whether the cluster should terminate after completing all steps.
+ AutoTerminate *bool `type:"boolean"`
+
+ // Amazon EMR releases 4.x or later.
+ //
+ // The list of Configurations supplied to the EMR cluster.
+ Configurations []*Configuration `type:"list"`
+
+ // Provides information about the EC2 instances in a cluster grouped by category.
+ // For example, key name, subnet ID, IAM instance profile, and so on.
+ Ec2InstanceAttributes *Ec2InstanceAttributes `type:"structure"`
+
+ // The unique identifier for the cluster.
+ Id *string `type:"string"`
+
+ // 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.
+ MasterPublicDnsName *string `type:"string"`
+
+ // The name of the cluster.
+ Name *string `type:"string"`
+
+ // An approximation of the cost of the job flow, represented in m1.small/hours.
+ // This value is incremented one time for every hour an m1.small instance runs.
+ // Larger instances are weighted more, so an EC2 instance that is roughly four
+ // times more expensive would result in the normalized instance hours being
+ // incremented by four. This result is only an approximation and does not reflect
+ // the actual billing rate.
+ NormalizedInstanceHours *int64 `type:"integer"`
+
+ // The release label for the Amazon EMR release. For Amazon EMR 3.x and 2.x
+ // AMIs, use amiVersion instead instead of ReleaseLabel.
+ ReleaseLabel *string `type:"string"`
+
+ // The AMI version requested for this cluster.
+ RequestedAmiVersion *string `type:"string"`
+
+ // The AMI version running on this cluster.
+ RunningAmiVersion *string `type:"string"`
+
+ // The way that individual Amazon EC2 instances terminate when an automatic
+ // scale-in activity occurs or an instance group is resized. TERMINATE_AT_INSTANCE_HOUR
+ // indicates that Amazon EMR terminates nodes at the instance-hour boundary,
+ // regardless of when the request to terminate the instance was submitted. This
+ // option is only available with Amazon EMR 5.1.0 and later and is the default
+ // for clusters created using that version. TERMINATE_AT_TASK_COMPLETION indicates
+ // that Amazon EMR blacklists and drains tasks from nodes before terminating
+ // the Amazon EC2 instances, regardless of the instance-hour boundary. With
+ // either behavior, Amazon EMR removes the least active nodes first and blocks
+ // instance termination if it could lead to HDFS corruption. TERMINATE_AT_TASK_COMPLETION
+ // is available only in Amazon EMR version 4.1.0 and later, and is the default
+ // for versions of Amazon EMR earlier than 5.1.0.
+ ScaleDownBehavior *string `type:"string" enum:"ScaleDownBehavior"`
+
+ // The name of the security configuration applied to the cluster.
+ SecurityConfiguration *string `type:"string"`
// The IAM role that will be assumed by the Amazon EMR service to access AWS
// resources on your behalf.
@@ -2081,6 +2817,126 @@ func (s Cluster) GoString() string {
return s.String()
}
+// SetApplications sets the Applications field's value.
+func (s *Cluster) SetApplications(v []*Application) *Cluster {
+ s.Applications = v
+ return s
+}
+
+// SetAutoScalingRole sets the AutoScalingRole field's value.
+func (s *Cluster) SetAutoScalingRole(v string) *Cluster {
+ s.AutoScalingRole = &v
+ return s
+}
+
+// SetAutoTerminate sets the AutoTerminate field's value.
+func (s *Cluster) SetAutoTerminate(v bool) *Cluster {
+ s.AutoTerminate = &v
+ return s
+}
+
+// SetConfigurations sets the Configurations field's value.
+func (s *Cluster) SetConfigurations(v []*Configuration) *Cluster {
+ s.Configurations = v
+ return s
+}
+
+// SetEc2InstanceAttributes sets the Ec2InstanceAttributes field's value.
+func (s *Cluster) SetEc2InstanceAttributes(v *Ec2InstanceAttributes) *Cluster {
+ s.Ec2InstanceAttributes = v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *Cluster) SetId(v string) *Cluster {
+ s.Id = &v
+ return s
+}
+
+// SetLogUri sets the LogUri field's value.
+func (s *Cluster) SetLogUri(v string) *Cluster {
+ s.LogUri = &v
+ return s
+}
+
+// SetMasterPublicDnsName sets the MasterPublicDnsName field's value.
+func (s *Cluster) SetMasterPublicDnsName(v string) *Cluster {
+ s.MasterPublicDnsName = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *Cluster) SetName(v string) *Cluster {
+ s.Name = &v
+ return s
+}
+
+// SetNormalizedInstanceHours sets the NormalizedInstanceHours field's value.
+func (s *Cluster) SetNormalizedInstanceHours(v int64) *Cluster {
+ s.NormalizedInstanceHours = &v
+ return s
+}
+
+// SetReleaseLabel sets the ReleaseLabel field's value.
+func (s *Cluster) SetReleaseLabel(v string) *Cluster {
+ s.ReleaseLabel = &v
+ return s
+}
+
+// SetRequestedAmiVersion sets the RequestedAmiVersion field's value.
+func (s *Cluster) SetRequestedAmiVersion(v string) *Cluster {
+ s.RequestedAmiVersion = &v
+ return s
+}
+
+// SetRunningAmiVersion sets the RunningAmiVersion field's value.
+func (s *Cluster) SetRunningAmiVersion(v string) *Cluster {
+ s.RunningAmiVersion = &v
+ return s
+}
+
+// SetScaleDownBehavior sets the ScaleDownBehavior field's value.
+func (s *Cluster) SetScaleDownBehavior(v string) *Cluster {
+ s.ScaleDownBehavior = &v
+ return s
+}
+
+// SetSecurityConfiguration sets the SecurityConfiguration field's value.
+func (s *Cluster) SetSecurityConfiguration(v string) *Cluster {
+ s.SecurityConfiguration = &v
+ return s
+}
+
+// SetServiceRole sets the ServiceRole field's value.
+func (s *Cluster) SetServiceRole(v string) *Cluster {
+ s.ServiceRole = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *Cluster) SetStatus(v *ClusterStatus) *Cluster {
+ s.Status = v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *Cluster) SetTags(v []*Tag) *Cluster {
+ s.Tags = v
+ return s
+}
+
+// SetTerminationProtected sets the TerminationProtected field's value.
+func (s *Cluster) SetTerminationProtected(v bool) *Cluster {
+ s.TerminationProtected = &v
+ return s
+}
+
+// SetVisibleToAllUsers sets the VisibleToAllUsers field's value.
+func (s *Cluster) SetVisibleToAllUsers(v bool) *Cluster {
+ s.VisibleToAllUsers = &v
+ return s
+}
+
// The reason that the cluster changed to its current state.
type ClusterStateChangeReason struct {
_ struct{} `type:"structure"`
@@ -2102,6 +2958,18 @@ func (s ClusterStateChangeReason) GoString() string {
return s.String()
}
+// SetCode sets the Code field's value.
+func (s *ClusterStateChangeReason) SetCode(v string) *ClusterStateChangeReason {
+ s.Code = &v
+ return s
+}
+
+// SetMessage sets the Message field's value.
+func (s *ClusterStateChangeReason) SetMessage(v string) *ClusterStateChangeReason {
+ s.Message = &v
+ return s
+}
+
// The detailed status of the cluster.
type ClusterStatus struct {
_ struct{} `type:"structure"`
@@ -2127,6 +2995,24 @@ func (s ClusterStatus) GoString() string {
return s.String()
}
+// SetState sets the State field's value.
+func (s *ClusterStatus) SetState(v string) *ClusterStatus {
+ s.State = &v
+ return s
+}
+
+// SetStateChangeReason sets the StateChangeReason field's value.
+func (s *ClusterStatus) SetStateChangeReason(v *ClusterStateChangeReason) *ClusterStatus {
+ s.StateChangeReason = v
+ return s
+}
+
+// SetTimeline sets the Timeline field's value.
+func (s *ClusterStatus) SetTimeline(v *ClusterTimeline) *ClusterStatus {
+ s.Timeline = v
+ return s
+}
+
// The summary description of the cluster.
type ClusterSummary struct {
_ struct{} `type:"structure"`
@@ -2159,6 +3045,30 @@ func (s ClusterSummary) GoString() string {
return s.String()
}
+// SetId sets the Id field's value.
+func (s *ClusterSummary) SetId(v string) *ClusterSummary {
+ s.Id = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *ClusterSummary) SetName(v string) *ClusterSummary {
+ s.Name = &v
+ return s
+}
+
+// SetNormalizedInstanceHours sets the NormalizedInstanceHours field's value.
+func (s *ClusterSummary) SetNormalizedInstanceHours(v int64) *ClusterSummary {
+ s.NormalizedInstanceHours = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *ClusterSummary) SetStatus(v *ClusterStatus) *ClusterSummary {
+ s.Status = v
+ return s
+}
+
// Represents the timeline of the cluster's lifecycle.
type ClusterTimeline struct {
_ struct{} `type:"structure"`
@@ -2183,6 +3093,24 @@ func (s ClusterTimeline) GoString() string {
return s.String()
}
+// SetCreationDateTime sets the CreationDateTime field's value.
+func (s *ClusterTimeline) SetCreationDateTime(v time.Time) *ClusterTimeline {
+ s.CreationDateTime = &v
+ return s
+}
+
+// SetEndDateTime sets the EndDateTime field's value.
+func (s *ClusterTimeline) SetEndDateTime(v time.Time) *ClusterTimeline {
+ s.EndDateTime = &v
+ return s
+}
+
+// SetReadyDateTime sets the ReadyDateTime field's value.
+func (s *ClusterTimeline) SetReadyDateTime(v time.Time) *ClusterTimeline {
+ s.ReadyDateTime = &v
+ return s
+}
+
// An entity describing an executable that runs on a cluster.
type Command struct {
_ struct{} `type:"structure"`
@@ -2207,6 +3135,24 @@ func (s Command) GoString() string {
return s.String()
}
+// SetArgs sets the Args field's value.
+func (s *Command) SetArgs(v []*string) *Command {
+ s.Args = v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *Command) SetName(v string) *Command {
+ s.Name = &v
+ return s
+}
+
+// SetScriptPath sets the ScriptPath field's value.
+func (s *Command) SetScriptPath(v string) *Command {
+ s.ScriptPath = &v
+ return s
+}
+
// Amazon EMR releases 4.x or later.
//
// Specifies a hardware and software configuration of the EMR cluster. This
@@ -2238,6 +3184,24 @@ func (s Configuration) GoString() string {
return s.String()
}
+// SetClassification sets the Classification field's value.
+func (s *Configuration) SetClassification(v string) *Configuration {
+ s.Classification = &v
+ return s
+}
+
+// SetConfigurations sets the Configurations field's value.
+func (s *Configuration) SetConfigurations(v []*Configuration) *Configuration {
+ s.Configurations = v
+ return s
+}
+
+// SetProperties sets the Properties field's value.
+func (s *Configuration) SetProperties(v map[string]*string) *Configuration {
+ s.Properties = v
+ return s
+}
+
type CreateSecurityConfigurationInput struct {
_ struct{} `type:"structure"`
@@ -2278,6 +3242,18 @@ func (s *CreateSecurityConfigurationInput) Validate() error {
return nil
}
+// SetName sets the Name field's value.
+func (s *CreateSecurityConfigurationInput) SetName(v string) *CreateSecurityConfigurationInput {
+ s.Name = &v
+ return s
+}
+
+// SetSecurityConfiguration sets the SecurityConfiguration field's value.
+func (s *CreateSecurityConfigurationInput) SetSecurityConfiguration(v string) *CreateSecurityConfigurationInput {
+ s.SecurityConfiguration = &v
+ return s
+}
+
type CreateSecurityConfigurationOutput struct {
_ struct{} `type:"structure"`
@@ -2302,6 +3278,18 @@ func (s CreateSecurityConfigurationOutput) GoString() string {
return s.String()
}
+// SetCreationDateTime sets the CreationDateTime field's value.
+func (s *CreateSecurityConfigurationOutput) SetCreationDateTime(v time.Time) *CreateSecurityConfigurationOutput {
+ s.CreationDateTime = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *CreateSecurityConfigurationOutput) SetName(v string) *CreateSecurityConfigurationOutput {
+ s.Name = &v
+ return s
+}
+
type DeleteSecurityConfigurationInput struct {
_ struct{} `type:"structure"`
@@ -2334,6 +3322,12 @@ func (s *DeleteSecurityConfigurationInput) Validate() error {
return nil
}
+// SetName sets the Name field's value.
+func (s *DeleteSecurityConfigurationInput) SetName(v string) *DeleteSecurityConfigurationInput {
+ s.Name = &v
+ return s
+}
+
type DeleteSecurityConfigurationOutput struct {
_ struct{} `type:"structure"`
}
@@ -2381,6 +3375,12 @@ func (s *DescribeClusterInput) Validate() error {
return nil
}
+// SetClusterId sets the ClusterId field's value.
+func (s *DescribeClusterInput) SetClusterId(v string) *DescribeClusterInput {
+ s.ClusterId = &v
+ return s
+}
+
// This output contains the description of the cluster.
type DescribeClusterOutput struct {
_ struct{} `type:"structure"`
@@ -2399,6 +3399,12 @@ func (s DescribeClusterOutput) GoString() string {
return s.String()
}
+// SetCluster sets the Cluster field's value.
+func (s *DescribeClusterOutput) SetCluster(v *Cluster) *DescribeClusterOutput {
+ s.Cluster = v
+ return s
+}
+
// The input for the DescribeJobFlows operation.
type DescribeJobFlowsInput struct {
_ struct{} `type:"structure"`
@@ -2426,6 +3432,30 @@ func (s DescribeJobFlowsInput) GoString() string {
return s.String()
}
+// SetCreatedAfter sets the CreatedAfter field's value.
+func (s *DescribeJobFlowsInput) SetCreatedAfter(v time.Time) *DescribeJobFlowsInput {
+ s.CreatedAfter = &v
+ return s
+}
+
+// SetCreatedBefore sets the CreatedBefore field's value.
+func (s *DescribeJobFlowsInput) SetCreatedBefore(v time.Time) *DescribeJobFlowsInput {
+ s.CreatedBefore = &v
+ return s
+}
+
+// SetJobFlowIds sets the JobFlowIds field's value.
+func (s *DescribeJobFlowsInput) SetJobFlowIds(v []*string) *DescribeJobFlowsInput {
+ s.JobFlowIds = v
+ return s
+}
+
+// SetJobFlowStates sets the JobFlowStates field's value.
+func (s *DescribeJobFlowsInput) SetJobFlowStates(v []*string) *DescribeJobFlowsInput {
+ s.JobFlowStates = v
+ return s
+}
+
// The output for the DescribeJobFlows operation.
type DescribeJobFlowsOutput struct {
_ struct{} `type:"structure"`
@@ -2444,6 +3474,12 @@ func (s DescribeJobFlowsOutput) GoString() string {
return s.String()
}
+// SetJobFlows sets the JobFlows field's value.
+func (s *DescribeJobFlowsOutput) SetJobFlows(v []*JobFlowDetail) *DescribeJobFlowsOutput {
+ s.JobFlows = v
+ return s
+}
+
type DescribeSecurityConfigurationInput struct {
_ struct{} `type:"structure"`
@@ -2476,6 +3512,12 @@ func (s *DescribeSecurityConfigurationInput) Validate() error {
return nil
}
+// SetName sets the Name field's value.
+func (s *DescribeSecurityConfigurationInput) SetName(v string) *DescribeSecurityConfigurationInput {
+ s.Name = &v
+ return s
+}
+
type DescribeSecurityConfigurationOutput struct {
_ struct{} `type:"structure"`
@@ -2499,6 +3541,24 @@ func (s DescribeSecurityConfigurationOutput) GoString() string {
return s.String()
}
+// SetCreationDateTime sets the CreationDateTime field's value.
+func (s *DescribeSecurityConfigurationOutput) SetCreationDateTime(v time.Time) *DescribeSecurityConfigurationOutput {
+ s.CreationDateTime = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *DescribeSecurityConfigurationOutput) SetName(v string) *DescribeSecurityConfigurationOutput {
+ s.Name = &v
+ return s
+}
+
+// SetSecurityConfiguration sets the SecurityConfiguration field's value.
+func (s *DescribeSecurityConfigurationOutput) SetSecurityConfiguration(v string) *DescribeSecurityConfigurationOutput {
+ s.SecurityConfiguration = &v
+ return s
+}
+
// This input determines which step to describe.
type DescribeStepInput struct {
_ struct{} `type:"structure"`
@@ -2540,6 +3600,18 @@ func (s *DescribeStepInput) Validate() error {
return nil
}
+// SetClusterId sets the ClusterId field's value.
+func (s *DescribeStepInput) SetClusterId(v string) *DescribeStepInput {
+ s.ClusterId = &v
+ return s
+}
+
+// SetStepId sets the StepId field's value.
+func (s *DescribeStepInput) SetStepId(v string) *DescribeStepInput {
+ s.StepId = &v
+ return s
+}
+
// This output contains the description of the cluster step.
type DescribeStepOutput struct {
_ struct{} `type:"structure"`
@@ -2558,6 +3630,12 @@ func (s DescribeStepOutput) GoString() string {
return s.String()
}
+// SetStep sets the Step field's value.
+func (s *DescribeStepOutput) SetStep(v *Step) *DescribeStepOutput {
+ s.Step = v
+ return s
+}
+
// Configuration of requested EBS block device associated with the instance
// group.
type EbsBlockDevice struct {
@@ -2566,8 +3644,8 @@ type EbsBlockDevice struct {
// The device name that is exposed to the instance, such as /dev/sdh.
Device *string `type:"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.
+ // 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.
VolumeSpecification *VolumeSpecification `type:"structure"`
}
@@ -2581,18 +3659,30 @@ func (s EbsBlockDevice) GoString() string {
return s.String()
}
+// SetDevice sets the Device field's value.
+func (s *EbsBlockDevice) SetDevice(v string) *EbsBlockDevice {
+ s.Device = &v
+ return s
+}
+
+// SetVolumeSpecification sets the VolumeSpecification field's value.
+func (s *EbsBlockDevice) SetVolumeSpecification(v *VolumeSpecification) *EbsBlockDevice {
+ s.VolumeSpecification = v
+ return s
+}
+
// Configuration of requested EBS block device associated with the instance
// group with count of volumes that will be associated to every instance.
type EbsBlockDeviceConfig struct {
_ struct{} `type:"structure"`
- // 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.
+ // 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.
//
// VolumeSpecification is a required field
VolumeSpecification *VolumeSpecification `type:"structure" required:"true"`
- // Number of EBS volumes with specific volume configuration, that will be associated
+ // Number of EBS volumes with a specific volume configuration that will be associated
// with every instance in the instance group
VolumesPerInstance *int64 `type:"integer"`
}
@@ -2625,11 +3715,26 @@ func (s *EbsBlockDeviceConfig) Validate() error {
return nil
}
+// SetVolumeSpecification sets the VolumeSpecification field's value.
+func (s *EbsBlockDeviceConfig) SetVolumeSpecification(v *VolumeSpecification) *EbsBlockDeviceConfig {
+ s.VolumeSpecification = v
+ return s
+}
+
+// SetVolumesPerInstance sets the VolumesPerInstance field's value.
+func (s *EbsBlockDeviceConfig) SetVolumesPerInstance(v int64) *EbsBlockDeviceConfig {
+ s.VolumesPerInstance = &v
+ return s
+}
+
+// The Amazon EBS configuration of a cluster instance.
type EbsConfiguration struct {
_ struct{} `type:"structure"`
+ // An array of Amazon EBS volume specifications attached to a cluster instance.
EbsBlockDeviceConfigs []*EbsBlockDeviceConfig `type:"list"`
+ // Indicates whether an Amazon EBS volume is EBS-optimized.
EbsOptimized *bool `type:"boolean"`
}
@@ -2663,6 +3768,18 @@ func (s *EbsConfiguration) Validate() error {
return nil
}
+// SetEbsBlockDeviceConfigs sets the EbsBlockDeviceConfigs field's value.
+func (s *EbsConfiguration) SetEbsBlockDeviceConfigs(v []*EbsBlockDeviceConfig) *EbsConfiguration {
+ s.EbsBlockDeviceConfigs = v
+ return s
+}
+
+// SetEbsOptimized sets the EbsOptimized field's value.
+func (s *EbsConfiguration) SetEbsOptimized(v bool) *EbsConfiguration {
+ s.EbsOptimized = &v
+ return s
+}
+
// EBS block device that's attached to an EC2 instance.
type EbsVolume struct {
_ struct{} `type:"structure"`
@@ -2684,6 +3801,18 @@ func (s EbsVolume) GoString() string {
return s.String()
}
+// SetDevice sets the Device field's value.
+func (s *EbsVolume) SetDevice(v string) *EbsVolume {
+ s.Device = &v
+ return s
+}
+
+// SetVolumeId sets the VolumeId field's value.
+func (s *EbsVolume) SetVolumeId(v string) *EbsVolume {
+ s.VolumeId = &v
+ return s
+}
+
// Provides information about the EC2 instances in a cluster grouped by category.
// For example, key name, subnet ID, IAM instance profile, and so on.
type Ec2InstanceAttributes struct {
@@ -2737,6 +3866,60 @@ func (s Ec2InstanceAttributes) GoString() string {
return s.String()
}
+// SetAdditionalMasterSecurityGroups sets the AdditionalMasterSecurityGroups field's value.
+func (s *Ec2InstanceAttributes) SetAdditionalMasterSecurityGroups(v []*string) *Ec2InstanceAttributes {
+ s.AdditionalMasterSecurityGroups = v
+ return s
+}
+
+// SetAdditionalSlaveSecurityGroups sets the AdditionalSlaveSecurityGroups field's value.
+func (s *Ec2InstanceAttributes) SetAdditionalSlaveSecurityGroups(v []*string) *Ec2InstanceAttributes {
+ s.AdditionalSlaveSecurityGroups = v
+ return s
+}
+
+// SetEc2AvailabilityZone sets the Ec2AvailabilityZone field's value.
+func (s *Ec2InstanceAttributes) SetEc2AvailabilityZone(v string) *Ec2InstanceAttributes {
+ s.Ec2AvailabilityZone = &v
+ return s
+}
+
+// SetEc2KeyName sets the Ec2KeyName field's value.
+func (s *Ec2InstanceAttributes) SetEc2KeyName(v string) *Ec2InstanceAttributes {
+ s.Ec2KeyName = &v
+ return s
+}
+
+// SetEc2SubnetId sets the Ec2SubnetId field's value.
+func (s *Ec2InstanceAttributes) SetEc2SubnetId(v string) *Ec2InstanceAttributes {
+ s.Ec2SubnetId = &v
+ return s
+}
+
+// SetEmrManagedMasterSecurityGroup sets the EmrManagedMasterSecurityGroup field's value.
+func (s *Ec2InstanceAttributes) SetEmrManagedMasterSecurityGroup(v string) *Ec2InstanceAttributes {
+ s.EmrManagedMasterSecurityGroup = &v
+ return s
+}
+
+// SetEmrManagedSlaveSecurityGroup sets the EmrManagedSlaveSecurityGroup field's value.
+func (s *Ec2InstanceAttributes) SetEmrManagedSlaveSecurityGroup(v string) *Ec2InstanceAttributes {
+ s.EmrManagedSlaveSecurityGroup = &v
+ return s
+}
+
+// SetIamInstanceProfile sets the IamInstanceProfile field's value.
+func (s *Ec2InstanceAttributes) SetIamInstanceProfile(v string) *Ec2InstanceAttributes {
+ s.IamInstanceProfile = &v
+ return s
+}
+
+// SetServiceAccessSecurityGroup sets the ServiceAccessSecurityGroup field's value.
+func (s *Ec2InstanceAttributes) SetServiceAccessSecurityGroup(v string) *Ec2InstanceAttributes {
+ s.ServiceAccessSecurityGroup = &v
+ return s
+}
+
// The details of the step failure. The service attempts to detect the root
// cause for many common failures.
type FailureDetails struct {
@@ -2767,6 +3950,24 @@ func (s FailureDetails) GoString() string {
return s.String()
}
+// SetLogFile sets the LogFile field's value.
+func (s *FailureDetails) SetLogFile(v string) *FailureDetails {
+ s.LogFile = &v
+ return s
+}
+
+// SetMessage sets the Message field's value.
+func (s *FailureDetails) SetMessage(v string) *FailureDetails {
+ s.Message = &v
+ return s
+}
+
+// SetReason sets the Reason field's value.
+func (s *FailureDetails) SetReason(v string) *FailureDetails {
+ s.Reason = &v
+ return s
+}
+
// 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.
@@ -2814,6 +4015,30 @@ func (s *HadoopJarStepConfig) Validate() error {
return nil
}
+// SetArgs sets the Args field's value.
+func (s *HadoopJarStepConfig) SetArgs(v []*string) *HadoopJarStepConfig {
+ s.Args = v
+ return s
+}
+
+// SetJar sets the Jar field's value.
+func (s *HadoopJarStepConfig) SetJar(v string) *HadoopJarStepConfig {
+ s.Jar = &v
+ return s
+}
+
+// SetMainClass sets the MainClass field's value.
+func (s *HadoopJarStepConfig) SetMainClass(v string) *HadoopJarStepConfig {
+ s.MainClass = &v
+ return s
+}
+
+// SetProperties sets the Properties field's value.
+func (s *HadoopJarStepConfig) SetProperties(v []*KeyValue) *HadoopJarStepConfig {
+ s.Properties = v
+ return s
+}
+
// 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.
@@ -2846,6 +4071,30 @@ func (s HadoopStepConfig) GoString() string {
return s.String()
}
+// SetArgs sets the Args field's value.
+func (s *HadoopStepConfig) SetArgs(v []*string) *HadoopStepConfig {
+ s.Args = v
+ return s
+}
+
+// SetJar sets the Jar field's value.
+func (s *HadoopStepConfig) SetJar(v string) *HadoopStepConfig {
+ s.Jar = &v
+ return s
+}
+
+// SetMainClass sets the MainClass field's value.
+func (s *HadoopStepConfig) SetMainClass(v string) *HadoopStepConfig {
+ s.MainClass = &v
+ return s
+}
+
+// SetProperties sets the Properties field's value.
+func (s *HadoopStepConfig) SetProperties(v map[string]*string) *HadoopStepConfig {
+ s.Properties = v
+ return s
+}
+
// Represents an EC2 instance provisioned as part of cluster.
type Instance struct {
_ struct{} `type:"structure"`
@@ -2871,21 +4120,75 @@ type Instance struct {
// The public DNS name of the instance.
PublicDnsName *string `type:"string"`
- // The public IP address of the instance.
- PublicIpAddress *string `type:"string"`
+ // The public IP address of the instance.
+ PublicIpAddress *string `type:"string"`
+
+ // The current status of the instance.
+ Status *InstanceStatus `type:"structure"`
+}
+
+// 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()
+}
+
+// SetEbsVolumes sets the EbsVolumes field's value.
+func (s *Instance) SetEbsVolumes(v []*EbsVolume) *Instance {
+ s.EbsVolumes = v
+ return s
+}
+
+// SetEc2InstanceId sets the Ec2InstanceId field's value.
+func (s *Instance) SetEc2InstanceId(v string) *Instance {
+ s.Ec2InstanceId = &v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *Instance) SetId(v string) *Instance {
+ s.Id = &v
+ return s
+}
+
+// SetInstanceGroupId sets the InstanceGroupId field's value.
+func (s *Instance) SetInstanceGroupId(v string) *Instance {
+ s.InstanceGroupId = &v
+ return s
+}
+
+// SetPrivateDnsName sets the PrivateDnsName field's value.
+func (s *Instance) SetPrivateDnsName(v string) *Instance {
+ s.PrivateDnsName = &v
+ return s
+}
+
+// SetPrivateIpAddress sets the PrivateIpAddress field's value.
+func (s *Instance) SetPrivateIpAddress(v string) *Instance {
+ s.PrivateIpAddress = &v
+ return s
+}
- // The current status of the instance.
- Status *InstanceStatus `type:"structure"`
+// SetPublicDnsName sets the PublicDnsName field's value.
+func (s *Instance) SetPublicDnsName(v string) *Instance {
+ s.PublicDnsName = &v
+ return s
}
-// String returns the string representation
-func (s Instance) 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 Instance) GoString() string {
- return s.String()
+// SetStatus sets the Status field's value.
+func (s *Instance) SetStatus(v *InstanceStatus) *Instance {
+ s.Status = v
+ return s
}
// This entity represents an instance group, which is a group of instances that
@@ -2893,6 +4196,12 @@ func (s Instance) GoString() string {
type InstanceGroup struct {
_ struct{} `type:"structure"`
+ // An automatic scaling policy for a core instance group or task instance group
+ // 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.
+ AutoScalingPolicy *AutoScalingPolicyDescription `type:"structure"`
+
// The bid price for each EC2 instance in the instance group when launching
// nodes as Spot Instances, expressed in USD.
BidPrice *string `type:"string"`
@@ -2951,12 +4260,102 @@ func (s InstanceGroup) GoString() string {
return s.String()
}
+// SetAutoScalingPolicy sets the AutoScalingPolicy field's value.
+func (s *InstanceGroup) SetAutoScalingPolicy(v *AutoScalingPolicyDescription) *InstanceGroup {
+ s.AutoScalingPolicy = v
+ return s
+}
+
+// SetBidPrice sets the BidPrice field's value.
+func (s *InstanceGroup) SetBidPrice(v string) *InstanceGroup {
+ s.BidPrice = &v
+ return s
+}
+
+// SetConfigurations sets the Configurations field's value.
+func (s *InstanceGroup) SetConfigurations(v []*Configuration) *InstanceGroup {
+ s.Configurations = v
+ return s
+}
+
+// SetEbsBlockDevices sets the EbsBlockDevices field's value.
+func (s *InstanceGroup) SetEbsBlockDevices(v []*EbsBlockDevice) *InstanceGroup {
+ s.EbsBlockDevices = v
+ return s
+}
+
+// SetEbsOptimized sets the EbsOptimized field's value.
+func (s *InstanceGroup) SetEbsOptimized(v bool) *InstanceGroup {
+ s.EbsOptimized = &v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *InstanceGroup) SetId(v string) *InstanceGroup {
+ s.Id = &v
+ return s
+}
+
+// SetInstanceGroupType sets the InstanceGroupType field's value.
+func (s *InstanceGroup) SetInstanceGroupType(v string) *InstanceGroup {
+ s.InstanceGroupType = &v
+ return s
+}
+
+// SetInstanceType sets the InstanceType field's value.
+func (s *InstanceGroup) SetInstanceType(v string) *InstanceGroup {
+ s.InstanceType = &v
+ return s
+}
+
+// SetMarket sets the Market field's value.
+func (s *InstanceGroup) SetMarket(v string) *InstanceGroup {
+ s.Market = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *InstanceGroup) SetName(v string) *InstanceGroup {
+ s.Name = &v
+ return s
+}
+
+// SetRequestedInstanceCount sets the RequestedInstanceCount field's value.
+func (s *InstanceGroup) SetRequestedInstanceCount(v int64) *InstanceGroup {
+ s.RequestedInstanceCount = &v
+ return s
+}
+
+// SetRunningInstanceCount sets the RunningInstanceCount field's value.
+func (s *InstanceGroup) SetRunningInstanceCount(v int64) *InstanceGroup {
+ s.RunningInstanceCount = &v
+ return s
+}
+
+// SetShrinkPolicy sets the ShrinkPolicy field's value.
+func (s *InstanceGroup) SetShrinkPolicy(v *ShrinkPolicy) *InstanceGroup {
+ s.ShrinkPolicy = v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *InstanceGroup) SetStatus(v *InstanceGroupStatus) *InstanceGroup {
+ s.Status = v
+ return s
+}
+
// Configuration defining a new instance group.
type InstanceGroupConfig struct {
_ struct{} `type:"structure"`
- // Bid price for each Amazon EC2 instance in the instance group when launching
- // nodes as Spot Instances, expressed in USD.
+ // An automatic scaling policy for a core instance group or task instance group
+ // 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.
+ AutoScalingPolicy *AutoScalingPolicy `type:"structure"`
+
+ // Bid price for each EC2 instance in the instance group when launching nodes
+ // as Spot Instances, expressed in USD.
BidPrice *string `type:"string"`
// Amazon EMR releases 4.x or later.
@@ -2966,8 +4365,8 @@ type InstanceGroupConfig struct {
// and task).
Configurations []*Configuration `type:"list"`
- // EBS configurations that will be attached to each Amazon EC2 instance in the
- // instance group.
+ // EBS configurations that will be attached to each EC2 instance in the instance
+ // group.
EbsConfiguration *EbsConfiguration `type:"structure"`
// Target number of instances for the instance group.
@@ -2980,12 +4379,12 @@ type InstanceGroupConfig struct {
// InstanceRole is a required field
InstanceRole *string `type:"string" required:"true" enum:"InstanceRoleType"`
- // The Amazon EC2 instance type for all instances in the instance group.
+ // The EC2 instance type for all instances in the instance group.
//
// InstanceType is a required field
InstanceType *string `min:"1" type:"string" required:"true"`
- // Market type of the Amazon EC2 instances used to create a cluster node.
+ // Market type of the EC2 instances used to create a cluster node.
Market *string `type:"string" enum:"MarketType"`
// Friendly name given to the instance group.
@@ -3017,6 +4416,11 @@ func (s *InstanceGroupConfig) Validate() error {
if s.InstanceType != nil && len(*s.InstanceType) < 1 {
invalidParams.Add(request.NewErrParamMinLen("InstanceType", 1))
}
+ if s.AutoScalingPolicy != nil {
+ if err := s.AutoScalingPolicy.Validate(); err != nil {
+ invalidParams.AddNested("AutoScalingPolicy", err.(request.ErrInvalidParams))
+ }
+ }
if s.EbsConfiguration != nil {
if err := s.EbsConfiguration.Validate(); err != nil {
invalidParams.AddNested("EbsConfiguration", err.(request.ErrInvalidParams))
@@ -3029,6 +4433,60 @@ func (s *InstanceGroupConfig) Validate() error {
return nil
}
+// SetAutoScalingPolicy sets the AutoScalingPolicy field's value.
+func (s *InstanceGroupConfig) SetAutoScalingPolicy(v *AutoScalingPolicy) *InstanceGroupConfig {
+ s.AutoScalingPolicy = v
+ return s
+}
+
+// SetBidPrice sets the BidPrice field's value.
+func (s *InstanceGroupConfig) SetBidPrice(v string) *InstanceGroupConfig {
+ s.BidPrice = &v
+ return s
+}
+
+// SetConfigurations sets the Configurations field's value.
+func (s *InstanceGroupConfig) SetConfigurations(v []*Configuration) *InstanceGroupConfig {
+ s.Configurations = v
+ return s
+}
+
+// SetEbsConfiguration sets the EbsConfiguration field's value.
+func (s *InstanceGroupConfig) SetEbsConfiguration(v *EbsConfiguration) *InstanceGroupConfig {
+ s.EbsConfiguration = v
+ return s
+}
+
+// SetInstanceCount sets the InstanceCount field's value.
+func (s *InstanceGroupConfig) SetInstanceCount(v int64) *InstanceGroupConfig {
+ s.InstanceCount = &v
+ return s
+}
+
+// SetInstanceRole sets the InstanceRole field's value.
+func (s *InstanceGroupConfig) SetInstanceRole(v string) *InstanceGroupConfig {
+ s.InstanceRole = &v
+ return s
+}
+
+// SetInstanceType sets the InstanceType field's value.
+func (s *InstanceGroupConfig) SetInstanceType(v string) *InstanceGroupConfig {
+ s.InstanceType = &v
+ return s
+}
+
+// SetMarket sets the Market field's value.
+func (s *InstanceGroupConfig) SetMarket(v string) *InstanceGroupConfig {
+ s.Market = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *InstanceGroupConfig) SetName(v string) *InstanceGroupConfig {
+ s.Name = &v
+ return s
+}
+
// Detailed information about an instance group.
type InstanceGroupDetail struct {
_ struct{} `type:"structure"`
@@ -3063,7 +4521,7 @@ type InstanceGroupDetail struct {
// InstanceRunningCount is a required field
InstanceRunningCount *int64 `type:"integer" required:"true"`
- // Amazon EC2 Instance type.
+ // EC2 instance type.
//
// InstanceType is a required field
InstanceType *string `min:"1" type:"string" required:"true"`
@@ -3071,7 +4529,7 @@ type InstanceGroupDetail struct {
// Details regarding the state of the instance group.
LastStateChangeReason *string `type:"string"`
- // Market type of the Amazon EC2 instances used to create a cluster node.
+ // Market type of the EC2 instances used to create a cluster node.
//
// Market is a required field
Market *string `type:"string" required:"true" enum:"MarketType"`
@@ -3102,12 +4560,96 @@ func (s InstanceGroupDetail) GoString() string {
return s.String()
}
+// SetBidPrice sets the BidPrice field's value.
+func (s *InstanceGroupDetail) SetBidPrice(v string) *InstanceGroupDetail {
+ s.BidPrice = &v
+ return s
+}
+
+// SetCreationDateTime sets the CreationDateTime field's value.
+func (s *InstanceGroupDetail) SetCreationDateTime(v time.Time) *InstanceGroupDetail {
+ s.CreationDateTime = &v
+ return s
+}
+
+// SetEndDateTime sets the EndDateTime field's value.
+func (s *InstanceGroupDetail) SetEndDateTime(v time.Time) *InstanceGroupDetail {
+ s.EndDateTime = &v
+ return s
+}
+
+// SetInstanceGroupId sets the InstanceGroupId field's value.
+func (s *InstanceGroupDetail) SetInstanceGroupId(v string) *InstanceGroupDetail {
+ s.InstanceGroupId = &v
+ return s
+}
+
+// SetInstanceRequestCount sets the InstanceRequestCount field's value.
+func (s *InstanceGroupDetail) SetInstanceRequestCount(v int64) *InstanceGroupDetail {
+ s.InstanceRequestCount = &v
+ return s
+}
+
+// SetInstanceRole sets the InstanceRole field's value.
+func (s *InstanceGroupDetail) SetInstanceRole(v string) *InstanceGroupDetail {
+ s.InstanceRole = &v
+ return s
+}
+
+// SetInstanceRunningCount sets the InstanceRunningCount field's value.
+func (s *InstanceGroupDetail) SetInstanceRunningCount(v int64) *InstanceGroupDetail {
+ s.InstanceRunningCount = &v
+ return s
+}
+
+// SetInstanceType sets the InstanceType field's value.
+func (s *InstanceGroupDetail) SetInstanceType(v string) *InstanceGroupDetail {
+ s.InstanceType = &v
+ return s
+}
+
+// SetLastStateChangeReason sets the LastStateChangeReason field's value.
+func (s *InstanceGroupDetail) SetLastStateChangeReason(v string) *InstanceGroupDetail {
+ s.LastStateChangeReason = &v
+ return s
+}
+
+// SetMarket sets the Market field's value.
+func (s *InstanceGroupDetail) SetMarket(v string) *InstanceGroupDetail {
+ s.Market = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *InstanceGroupDetail) SetName(v string) *InstanceGroupDetail {
+ s.Name = &v
+ return s
+}
+
+// SetReadyDateTime sets the ReadyDateTime field's value.
+func (s *InstanceGroupDetail) SetReadyDateTime(v time.Time) *InstanceGroupDetail {
+ s.ReadyDateTime = &v
+ return s
+}
+
+// SetStartDateTime sets the StartDateTime field's value.
+func (s *InstanceGroupDetail) SetStartDateTime(v time.Time) *InstanceGroupDetail {
+ s.StartDateTime = &v
+ return s
+}
+
+// SetState sets the State field's value.
+func (s *InstanceGroupDetail) SetState(v string) *InstanceGroupDetail {
+ s.State = &v
+ return s
+}
+
// Modify an instance group size.
type InstanceGroupModifyConfig struct {
_ struct{} `type:"structure"`
- // The EC2 InstanceIds to terminate. Once you terminate the instances, the instance
- // group will not return to its original requested size.
+ // The EC2 InstanceIds to terminate. After you terminate the instances, the
+ // instance group will not return to its original requested size.
EC2InstanceIdsToTerminate []*string `type:"list"`
// Target size for the instance group.
@@ -3145,6 +4687,30 @@ func (s *InstanceGroupModifyConfig) Validate() error {
return nil
}
+// SetEC2InstanceIdsToTerminate sets the EC2InstanceIdsToTerminate field's value.
+func (s *InstanceGroupModifyConfig) SetEC2InstanceIdsToTerminate(v []*string) *InstanceGroupModifyConfig {
+ s.EC2InstanceIdsToTerminate = v
+ return s
+}
+
+// SetInstanceCount sets the InstanceCount field's value.
+func (s *InstanceGroupModifyConfig) SetInstanceCount(v int64) *InstanceGroupModifyConfig {
+ s.InstanceCount = &v
+ return s
+}
+
+// SetInstanceGroupId sets the InstanceGroupId field's value.
+func (s *InstanceGroupModifyConfig) SetInstanceGroupId(v string) *InstanceGroupModifyConfig {
+ s.InstanceGroupId = &v
+ return s
+}
+
+// SetShrinkPolicy sets the ShrinkPolicy field's value.
+func (s *InstanceGroupModifyConfig) SetShrinkPolicy(v *ShrinkPolicy) *InstanceGroupModifyConfig {
+ s.ShrinkPolicy = v
+ return s
+}
+
// The status change reason details for the instance group.
type InstanceGroupStateChangeReason struct {
_ struct{} `type:"structure"`
@@ -3166,6 +4732,18 @@ func (s InstanceGroupStateChangeReason) GoString() string {
return s.String()
}
+// SetCode sets the Code field's value.
+func (s *InstanceGroupStateChangeReason) SetCode(v string) *InstanceGroupStateChangeReason {
+ s.Code = &v
+ return s
+}
+
+// SetMessage sets the Message field's value.
+func (s *InstanceGroupStateChangeReason) SetMessage(v string) *InstanceGroupStateChangeReason {
+ s.Message = &v
+ return s
+}
+
// The details of the instance group status.
type InstanceGroupStatus struct {
_ struct{} `type:"structure"`
@@ -3190,6 +4768,24 @@ func (s InstanceGroupStatus) GoString() string {
return s.String()
}
+// SetState sets the State field's value.
+func (s *InstanceGroupStatus) SetState(v string) *InstanceGroupStatus {
+ s.State = &v
+ return s
+}
+
+// SetStateChangeReason sets the StateChangeReason field's value.
+func (s *InstanceGroupStatus) SetStateChangeReason(v *InstanceGroupStateChangeReason) *InstanceGroupStatus {
+ s.StateChangeReason = v
+ return s
+}
+
+// SetTimeline sets the Timeline field's value.
+func (s *InstanceGroupStatus) SetTimeline(v *InstanceGroupTimeline) *InstanceGroupStatus {
+ s.Timeline = v
+ return s
+}
+
// The timeline of the instance group lifecycle.
type InstanceGroupTimeline struct {
_ struct{} `type:"structure"`
@@ -3214,6 +4810,24 @@ func (s InstanceGroupTimeline) GoString() string {
return s.String()
}
+// SetCreationDateTime sets the CreationDateTime field's value.
+func (s *InstanceGroupTimeline) SetCreationDateTime(v time.Time) *InstanceGroupTimeline {
+ s.CreationDateTime = &v
+ return s
+}
+
+// SetEndDateTime sets the EndDateTime field's value.
+func (s *InstanceGroupTimeline) SetEndDateTime(v time.Time) *InstanceGroupTimeline {
+ s.EndDateTime = &v
+ return s
+}
+
+// SetReadyDateTime sets the ReadyDateTime field's value.
+func (s *InstanceGroupTimeline) SetReadyDateTime(v time.Time) *InstanceGroupTimeline {
+ s.ReadyDateTime = &v
+ return s
+}
+
// Custom policy for requesting termination protection or termination of specific
// instances when shrinking an instance group.
type InstanceResizePolicy struct {
@@ -3240,6 +4854,24 @@ func (s InstanceResizePolicy) GoString() string {
return s.String()
}
+// SetInstanceTerminationTimeout sets the InstanceTerminationTimeout field's value.
+func (s *InstanceResizePolicy) SetInstanceTerminationTimeout(v int64) *InstanceResizePolicy {
+ s.InstanceTerminationTimeout = &v
+ return s
+}
+
+// SetInstancesToProtect sets the InstancesToProtect field's value.
+func (s *InstanceResizePolicy) SetInstancesToProtect(v []*string) *InstanceResizePolicy {
+ s.InstancesToProtect = v
+ return s
+}
+
+// SetInstancesToTerminate sets the InstancesToTerminate field's value.
+func (s *InstanceResizePolicy) SetInstancesToTerminate(v []*string) *InstanceResizePolicy {
+ s.InstancesToTerminate = v
+ return s
+}
+
// The details of the status change reason for the instance.
type InstanceStateChangeReason struct {
_ struct{} `type:"structure"`
@@ -3261,6 +4893,18 @@ func (s InstanceStateChangeReason) GoString() string {
return s.String()
}
+// SetCode sets the Code field's value.
+func (s *InstanceStateChangeReason) SetCode(v string) *InstanceStateChangeReason {
+ s.Code = &v
+ return s
+}
+
+// SetMessage sets the Message field's value.
+func (s *InstanceStateChangeReason) SetMessage(v string) *InstanceStateChangeReason {
+ s.Message = &v
+ return s
+}
+
// The instance status details.
type InstanceStatus struct {
_ struct{} `type:"structure"`
@@ -3285,6 +4929,24 @@ func (s InstanceStatus) GoString() string {
return s.String()
}
+// SetState sets the State field's value.
+func (s *InstanceStatus) SetState(v string) *InstanceStatus {
+ s.State = &v
+ return s
+}
+
+// SetStateChangeReason sets the StateChangeReason field's value.
+func (s *InstanceStatus) SetStateChangeReason(v *InstanceStateChangeReason) *InstanceStatus {
+ s.StateChangeReason = v
+ return s
+}
+
+// SetTimeline sets the Timeline field's value.
+func (s *InstanceStatus) SetTimeline(v *InstanceTimeline) *InstanceStatus {
+ s.Timeline = v
+ return s
+}
+
// The timeline of the instance lifecycle.
type InstanceTimeline struct {
_ struct{} `type:"structure"`
@@ -3309,16 +4971,40 @@ func (s InstanceTimeline) GoString() string {
return s.String()
}
+// SetCreationDateTime sets the CreationDateTime field's value.
+func (s *InstanceTimeline) SetCreationDateTime(v time.Time) *InstanceTimeline {
+ s.CreationDateTime = &v
+ return s
+}
+
+// SetEndDateTime sets the EndDateTime field's value.
+func (s *InstanceTimeline) SetEndDateTime(v time.Time) *InstanceTimeline {
+ s.EndDateTime = &v
+ return s
+}
+
+// SetReadyDateTime sets the ReadyDateTime field's value.
+func (s *InstanceTimeline) SetReadyDateTime(v time.Time) *InstanceTimeline {
+ s.ReadyDateTime = &v
+ return s
+}
+
// A description of a job flow.
type JobFlowDetail struct {
_ struct{} `type:"structure"`
// The version of the AMI used to initialize Amazon EC2 instances in the job
- // flow. For a list of AMI versions currently supported by Amazon ElasticMapReduce,
- // go to AMI Versions Supported in Elastic MapReduce (http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/EnvironmentConfig_AMIVersion.html#ami-versions-supported)
- // in the Amazon Elastic MapReduce Developer Guide.
+ // flow. For a list of AMI versions currently supported by Amazon EMR, see AMI
+ // Versions Supported in EMR (http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/EnvironmentConfig_AMIVersion.html#ami-versions-supported)
+ // in the Amazon EMR Developer Guide.
AmiVersion *string `type:"string"`
+ // An IAM role for automatic scaling policies. The default role is EMR_AutoScaling_DefaultRole.
+ // The IAM role provides a way for the automatic scaling feature to get the
+ // required permissions it needs to launch and terminate EC2 instances in an
+ // instance group.
+ AutoScalingRole *string `type:"string"`
+
// A list of the bootstrap actions run by the job flow.
BootstrapActions []*BootstrapActionDetail `type:"list"`
@@ -3349,6 +5035,20 @@ type JobFlowDetail struct {
// Name is a required field
Name *string `type:"string" required:"true"`
+ // The way that individual Amazon EC2 instances terminate when an automatic
+ // scale-in activity occurs or an instance group is resized. TERMINATE_AT_INSTANCE_HOUR
+ // indicates that Amazon EMR terminates nodes at the instance-hour boundary,
+ // regardless of when the request to terminate the instance was submitted. This
+ // option is only available with Amazon EMR 5.1.0 and later and is the default
+ // for clusters created using that version. TERMINATE_AT_TASK_COMPLETION indicates
+ // that Amazon EMR blacklists and drains tasks from nodes before terminating
+ // the Amazon EC2 instances, regardless of the instance-hour boundary. With
+ // either behavior, Amazon EMR removes the least active nodes first and blocks
+ // instance termination if it could lead to HDFS corruption. TERMINATE_AT_TASK_COMPLETION
+ // available only in Amazon EMR version 4.1.0 and later, and is the default
+ // for versions of Amazon EMR earlier than 5.1.0.
+ ScaleDownBehavior *string `type:"string" enum:"ScaleDownBehavior"`
+
// The IAM role that will be assumed by the Amazon EMR service to access AWS
// resources on your behalf.
ServiceRole *string `type:"string"`
@@ -3380,6 +5080,90 @@ func (s JobFlowDetail) GoString() string {
return s.String()
}
+// SetAmiVersion sets the AmiVersion field's value.
+func (s *JobFlowDetail) SetAmiVersion(v string) *JobFlowDetail {
+ s.AmiVersion = &v
+ return s
+}
+
+// SetAutoScalingRole sets the AutoScalingRole field's value.
+func (s *JobFlowDetail) SetAutoScalingRole(v string) *JobFlowDetail {
+ s.AutoScalingRole = &v
+ return s
+}
+
+// SetBootstrapActions sets the BootstrapActions field's value.
+func (s *JobFlowDetail) SetBootstrapActions(v []*BootstrapActionDetail) *JobFlowDetail {
+ s.BootstrapActions = v
+ return s
+}
+
+// SetExecutionStatusDetail sets the ExecutionStatusDetail field's value.
+func (s *JobFlowDetail) SetExecutionStatusDetail(v *JobFlowExecutionStatusDetail) *JobFlowDetail {
+ s.ExecutionStatusDetail = v
+ return s
+}
+
+// SetInstances sets the Instances field's value.
+func (s *JobFlowDetail) SetInstances(v *JobFlowInstancesDetail) *JobFlowDetail {
+ s.Instances = v
+ return s
+}
+
+// SetJobFlowId sets the JobFlowId field's value.
+func (s *JobFlowDetail) SetJobFlowId(v string) *JobFlowDetail {
+ s.JobFlowId = &v
+ return s
+}
+
+// SetJobFlowRole sets the JobFlowRole field's value.
+func (s *JobFlowDetail) SetJobFlowRole(v string) *JobFlowDetail {
+ s.JobFlowRole = &v
+ return s
+}
+
+// SetLogUri sets the LogUri field's value.
+func (s *JobFlowDetail) SetLogUri(v string) *JobFlowDetail {
+ s.LogUri = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *JobFlowDetail) SetName(v string) *JobFlowDetail {
+ s.Name = &v
+ return s
+}
+
+// SetScaleDownBehavior sets the ScaleDownBehavior field's value.
+func (s *JobFlowDetail) SetScaleDownBehavior(v string) *JobFlowDetail {
+ s.ScaleDownBehavior = &v
+ return s
+}
+
+// SetServiceRole sets the ServiceRole field's value.
+func (s *JobFlowDetail) SetServiceRole(v string) *JobFlowDetail {
+ s.ServiceRole = &v
+ return s
+}
+
+// SetSteps sets the Steps field's value.
+func (s *JobFlowDetail) SetSteps(v []*StepDetail) *JobFlowDetail {
+ s.Steps = v
+ return s
+}
+
+// SetSupportedProducts sets the SupportedProducts field's value.
+func (s *JobFlowDetail) SetSupportedProducts(v []*string) *JobFlowDetail {
+ s.SupportedProducts = v
+ return s
+}
+
+// SetVisibleToAllUsers sets the VisibleToAllUsers field's value.
+func (s *JobFlowDetail) SetVisibleToAllUsers(v bool) *JobFlowDetail {
+ s.VisibleToAllUsers = &v
+ return s
+}
+
// Describes the status of the job flow.
type JobFlowExecutionStatusDetail struct {
_ struct{} `type:"structure"`
@@ -3418,6 +5202,42 @@ func (s JobFlowExecutionStatusDetail) GoString() string {
return s.String()
}
+// SetCreationDateTime sets the CreationDateTime field's value.
+func (s *JobFlowExecutionStatusDetail) SetCreationDateTime(v time.Time) *JobFlowExecutionStatusDetail {
+ s.CreationDateTime = &v
+ return s
+}
+
+// SetEndDateTime sets the EndDateTime field's value.
+func (s *JobFlowExecutionStatusDetail) SetEndDateTime(v time.Time) *JobFlowExecutionStatusDetail {
+ s.EndDateTime = &v
+ return s
+}
+
+// SetLastStateChangeReason sets the LastStateChangeReason field's value.
+func (s *JobFlowExecutionStatusDetail) SetLastStateChangeReason(v string) *JobFlowExecutionStatusDetail {
+ s.LastStateChangeReason = &v
+ return s
+}
+
+// SetReadyDateTime sets the ReadyDateTime field's value.
+func (s *JobFlowExecutionStatusDetail) SetReadyDateTime(v time.Time) *JobFlowExecutionStatusDetail {
+ s.ReadyDateTime = &v
+ return s
+}
+
+// SetStartDateTime sets the StartDateTime field's value.
+func (s *JobFlowExecutionStatusDetail) SetStartDateTime(v time.Time) *JobFlowExecutionStatusDetail {
+ s.StartDateTime = &v
+ return s
+}
+
+// SetState sets the State field's value.
+func (s *JobFlowExecutionStatusDetail) SetState(v string) *JobFlowExecutionStatusDetail {
+ s.State = &v
+ return s
+}
+
// A description of the Amazon EC2 instance running the job flow. A valid JobFlowInstancesConfig
// must contain at least InstanceGroups, which is the recommended configuration.
// However, a valid alternative is to have MasterInstanceType, SlaveInstanceType,
@@ -3431,8 +5251,8 @@ type JobFlowInstancesConfig struct {
// A list of additional Amazon EC2 security group IDs for the slave nodes.
AdditionalSlaveSecurityGroups []*string `type:"list"`
- // The name of the Amazon EC2 key pair that can be used to ssh to the master
- // node as the user called "hadoop."
+ // The name of the EC2 key pair that can be used to ssh to the master node as
+ // the user called "hadoop."
Ec2KeyName *string `type:"string"`
// To launch the job flow in Amazon Virtual Private Cloud (Amazon VPC), set
@@ -3458,7 +5278,7 @@ type JobFlowInstancesConfig struct {
// of Hadoop for that AMI version is used.
HadoopVersion *string `type:"string"`
- // The number of Amazon EC2 instances used to execute the job flow.
+ // The number of EC2 instances used to execute the job flow.
InstanceCount *int64 `type:"integer"`
// Configuration for the job flow's instance groups.
@@ -3528,6 +5348,96 @@ func (s *JobFlowInstancesConfig) Validate() error {
return nil
}
+// SetAdditionalMasterSecurityGroups sets the AdditionalMasterSecurityGroups field's value.
+func (s *JobFlowInstancesConfig) SetAdditionalMasterSecurityGroups(v []*string) *JobFlowInstancesConfig {
+ s.AdditionalMasterSecurityGroups = v
+ return s
+}
+
+// SetAdditionalSlaveSecurityGroups sets the AdditionalSlaveSecurityGroups field's value.
+func (s *JobFlowInstancesConfig) SetAdditionalSlaveSecurityGroups(v []*string) *JobFlowInstancesConfig {
+ s.AdditionalSlaveSecurityGroups = v
+ return s
+}
+
+// SetEc2KeyName sets the Ec2KeyName field's value.
+func (s *JobFlowInstancesConfig) SetEc2KeyName(v string) *JobFlowInstancesConfig {
+ s.Ec2KeyName = &v
+ return s
+}
+
+// SetEc2SubnetId sets the Ec2SubnetId field's value.
+func (s *JobFlowInstancesConfig) SetEc2SubnetId(v string) *JobFlowInstancesConfig {
+ s.Ec2SubnetId = &v
+ return s
+}
+
+// SetEmrManagedMasterSecurityGroup sets the EmrManagedMasterSecurityGroup field's value.
+func (s *JobFlowInstancesConfig) SetEmrManagedMasterSecurityGroup(v string) *JobFlowInstancesConfig {
+ s.EmrManagedMasterSecurityGroup = &v
+ return s
+}
+
+// SetEmrManagedSlaveSecurityGroup sets the EmrManagedSlaveSecurityGroup field's value.
+func (s *JobFlowInstancesConfig) SetEmrManagedSlaveSecurityGroup(v string) *JobFlowInstancesConfig {
+ s.EmrManagedSlaveSecurityGroup = &v
+ return s
+}
+
+// SetHadoopVersion sets the HadoopVersion field's value.
+func (s *JobFlowInstancesConfig) SetHadoopVersion(v string) *JobFlowInstancesConfig {
+ s.HadoopVersion = &v
+ return s
+}
+
+// SetInstanceCount sets the InstanceCount field's value.
+func (s *JobFlowInstancesConfig) SetInstanceCount(v int64) *JobFlowInstancesConfig {
+ s.InstanceCount = &v
+ return s
+}
+
+// SetInstanceGroups sets the InstanceGroups field's value.
+func (s *JobFlowInstancesConfig) SetInstanceGroups(v []*InstanceGroupConfig) *JobFlowInstancesConfig {
+ s.InstanceGroups = v
+ return s
+}
+
+// SetKeepJobFlowAliveWhenNoSteps sets the KeepJobFlowAliveWhenNoSteps field's value.
+func (s *JobFlowInstancesConfig) SetKeepJobFlowAliveWhenNoSteps(v bool) *JobFlowInstancesConfig {
+ s.KeepJobFlowAliveWhenNoSteps = &v
+ return s
+}
+
+// SetMasterInstanceType sets the MasterInstanceType field's value.
+func (s *JobFlowInstancesConfig) SetMasterInstanceType(v string) *JobFlowInstancesConfig {
+ s.MasterInstanceType = &v
+ return s
+}
+
+// SetPlacement sets the Placement field's value.
+func (s *JobFlowInstancesConfig) SetPlacement(v *PlacementType) *JobFlowInstancesConfig {
+ s.Placement = v
+ return s
+}
+
+// SetServiceAccessSecurityGroup sets the ServiceAccessSecurityGroup field's value.
+func (s *JobFlowInstancesConfig) SetServiceAccessSecurityGroup(v string) *JobFlowInstancesConfig {
+ s.ServiceAccessSecurityGroup = &v
+ return s
+}
+
+// SetSlaveInstanceType sets the SlaveInstanceType field's value.
+func (s *JobFlowInstancesConfig) SetSlaveInstanceType(v string) *JobFlowInstancesConfig {
+ s.SlaveInstanceType = &v
+ return s
+}
+
+// SetTerminationProtected sets the TerminationProtected field's value.
+func (s *JobFlowInstancesConfig) SetTerminationProtected(v bool) *JobFlowInstancesConfig {
+ s.TerminationProtected = &v
+ return s
+}
+
// Specify the type of Amazon EC2 instances to run the job flow on.
type JobFlowInstancesDetail struct {
_ struct{} `type:"structure"`
@@ -3567,36 +5477,114 @@ type JobFlowInstancesDetail struct {
// The DNS name of the master node.
MasterPublicDnsName *string `type:"string"`
- // An approximation of the cost of the job flow, represented in m1.small/hours.
- // This value is incremented once for every hour an m1.small runs. Larger instances
- // are weighted more, so an Amazon EC2 instance that is roughly four times more
- // expensive would result in the normalized instance hours being incremented
- // by four. This result is only an approximation and does not reflect the actual
- // billing rate.
- NormalizedInstanceHours *int64 `type:"integer"`
+ // An approximation of the cost of the job flow, represented in m1.small/hours.
+ // This value is incremented one time for every hour that an m1.small runs.
+ // Larger instances are weighted more, so an Amazon EC2 instance that is roughly
+ // four times more expensive would result in the normalized instance hours being
+ // incremented by four. This result is only an approximation and does not reflect
+ // the actual billing rate.
+ NormalizedInstanceHours *int64 `type:"integer"`
+
+ // The Amazon EC2 Availability Zone for the job flow.
+ Placement *PlacementType `type:"structure"`
+
+ // The Amazon EC2 slave node instance type.
+ //
+ // SlaveInstanceType is a required field
+ SlaveInstanceType *string `min:"1" type:"string" required:"true"`
+
+ // Specifies whether the Amazon EC2 instances in the cluster are protected from
+ // termination by API calls, user intervention, or in the event of a job flow
+ // error.
+ TerminationProtected *bool `type:"boolean"`
+}
+
+// String returns the string representation
+func (s JobFlowInstancesDetail) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s JobFlowInstancesDetail) GoString() string {
+ return s.String()
+}
+
+// SetEc2KeyName sets the Ec2KeyName field's value.
+func (s *JobFlowInstancesDetail) SetEc2KeyName(v string) *JobFlowInstancesDetail {
+ s.Ec2KeyName = &v
+ return s
+}
+
+// SetEc2SubnetId sets the Ec2SubnetId field's value.
+func (s *JobFlowInstancesDetail) SetEc2SubnetId(v string) *JobFlowInstancesDetail {
+ s.Ec2SubnetId = &v
+ return s
+}
+
+// SetHadoopVersion sets the HadoopVersion field's value.
+func (s *JobFlowInstancesDetail) SetHadoopVersion(v string) *JobFlowInstancesDetail {
+ s.HadoopVersion = &v
+ return s
+}
+
+// SetInstanceCount sets the InstanceCount field's value.
+func (s *JobFlowInstancesDetail) SetInstanceCount(v int64) *JobFlowInstancesDetail {
+ s.InstanceCount = &v
+ return s
+}
+
+// SetInstanceGroups sets the InstanceGroups field's value.
+func (s *JobFlowInstancesDetail) SetInstanceGroups(v []*InstanceGroupDetail) *JobFlowInstancesDetail {
+ s.InstanceGroups = v
+ return s
+}
+
+// SetKeepJobFlowAliveWhenNoSteps sets the KeepJobFlowAliveWhenNoSteps field's value.
+func (s *JobFlowInstancesDetail) SetKeepJobFlowAliveWhenNoSteps(v bool) *JobFlowInstancesDetail {
+ s.KeepJobFlowAliveWhenNoSteps = &v
+ return s
+}
+
+// SetMasterInstanceId sets the MasterInstanceId field's value.
+func (s *JobFlowInstancesDetail) SetMasterInstanceId(v string) *JobFlowInstancesDetail {
+ s.MasterInstanceId = &v
+ return s
+}
+
+// SetMasterInstanceType sets the MasterInstanceType field's value.
+func (s *JobFlowInstancesDetail) SetMasterInstanceType(v string) *JobFlowInstancesDetail {
+ s.MasterInstanceType = &v
+ return s
+}
- // The Amazon EC2 Availability Zone for the job flow.
- Placement *PlacementType `type:"structure"`
+// SetMasterPublicDnsName sets the MasterPublicDnsName field's value.
+func (s *JobFlowInstancesDetail) SetMasterPublicDnsName(v string) *JobFlowInstancesDetail {
+ s.MasterPublicDnsName = &v
+ return s
+}
- // The Amazon EC2 slave node instance type.
- //
- // SlaveInstanceType is a required field
- SlaveInstanceType *string `min:"1" type:"string" required:"true"`
+// SetNormalizedInstanceHours sets the NormalizedInstanceHours field's value.
+func (s *JobFlowInstancesDetail) SetNormalizedInstanceHours(v int64) *JobFlowInstancesDetail {
+ s.NormalizedInstanceHours = &v
+ return s
+}
- // Specifies whether the Amazon EC2 instances in the cluster are protected from
- // termination by API calls, user intervention, or in the event of a job flow
- // error.
- TerminationProtected *bool `type:"boolean"`
+// SetPlacement sets the Placement field's value.
+func (s *JobFlowInstancesDetail) SetPlacement(v *PlacementType) *JobFlowInstancesDetail {
+ s.Placement = v
+ return s
}
-// String returns the string representation
-func (s JobFlowInstancesDetail) String() string {
- return awsutil.Prettify(s)
+// SetSlaveInstanceType sets the SlaveInstanceType field's value.
+func (s *JobFlowInstancesDetail) SetSlaveInstanceType(v string) *JobFlowInstancesDetail {
+ s.SlaveInstanceType = &v
+ return s
}
-// GoString returns the string representation
-func (s JobFlowInstancesDetail) GoString() string {
- return s.String()
+// SetTerminationProtected sets the TerminationProtected field's value.
+func (s *JobFlowInstancesDetail) SetTerminationProtected(v bool) *JobFlowInstancesDetail {
+ s.TerminationProtected = &v
+ return s
}
// A key value pair.
@@ -3620,11 +5608,23 @@ func (s KeyValue) GoString() string {
return s.String()
}
+// SetKey sets the Key field's value.
+func (s *KeyValue) SetKey(v string) *KeyValue {
+ s.Key = &v
+ return s
+}
+
+// SetValue sets the Value field's value.
+func (s *KeyValue) SetValue(v string) *KeyValue {
+ s.Value = &v
+ return s
+}
+
// This input determines which bootstrap actions to retrieve.
type ListBootstrapActionsInput struct {
_ struct{} `type:"structure"`
- // The cluster identifier for the bootstrap actions to list .
+ // The cluster identifier for the bootstrap actions to list.
//
// ClusterId is a required field
ClusterId *string `type:"string" required:"true"`
@@ -3656,11 +5656,23 @@ func (s *ListBootstrapActionsInput) Validate() error {
return nil
}
-// This output contains the boostrap actions detail .
+// SetClusterId sets the ClusterId field's value.
+func (s *ListBootstrapActionsInput) SetClusterId(v string) *ListBootstrapActionsInput {
+ s.ClusterId = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *ListBootstrapActionsInput) SetMarker(v string) *ListBootstrapActionsInput {
+ s.Marker = &v
+ return s
+}
+
+// This output contains the bootstrap actions detail.
type ListBootstrapActionsOutput struct {
_ struct{} `type:"structure"`
- // The bootstrap actions associated with the cluster .
+ // The bootstrap actions associated with the cluster.
BootstrapActions []*Command `type:"list"`
// The pagination token that indicates the next set of results to retrieve.
@@ -3677,6 +5689,18 @@ func (s ListBootstrapActionsOutput) GoString() string {
return s.String()
}
+// SetBootstrapActions sets the BootstrapActions field's value.
+func (s *ListBootstrapActionsOutput) SetBootstrapActions(v []*Command) *ListBootstrapActionsOutput {
+ s.BootstrapActions = v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *ListBootstrapActionsOutput) SetMarker(v string) *ListBootstrapActionsOutput {
+ s.Marker = &v
+ return s
+}
+
// This input determines how the ListClusters action filters the list of clusters
// that it returns.
type ListClustersInput struct {
@@ -3685,10 +5709,10 @@ type ListClustersInput struct {
// The cluster state filters to apply when listing clusters.
ClusterStates []*string `type:"list"`
- // The creation date and time beginning value filter for listing clusters .
+ // The creation date and time beginning value filter for listing clusters.
CreatedAfter *time.Time `type:"timestamp" timestampFormat:"unix"`
- // The creation date and time end value filter for listing clusters .
+ // The creation date and time end value filter for listing clusters.
CreatedBefore *time.Time `type:"timestamp" timestampFormat:"unix"`
// The pagination token that indicates the next set of results to retrieve.
@@ -3705,6 +5729,30 @@ func (s ListClustersInput) GoString() string {
return s.String()
}
+// SetClusterStates sets the ClusterStates field's value.
+func (s *ListClustersInput) SetClusterStates(v []*string) *ListClustersInput {
+ s.ClusterStates = v
+ return s
+}
+
+// SetCreatedAfter sets the CreatedAfter field's value.
+func (s *ListClustersInput) SetCreatedAfter(v time.Time) *ListClustersInput {
+ s.CreatedAfter = &v
+ return s
+}
+
+// SetCreatedBefore sets the CreatedBefore field's value.
+func (s *ListClustersInput) SetCreatedBefore(v time.Time) *ListClustersInput {
+ s.CreatedBefore = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *ListClustersInput) SetMarker(v string) *ListClustersInput {
+ s.Marker = &v
+ return s
+}
+
// This contains a ClusterSummaryList with the cluster details; for example,
// the cluster IDs, names, and status.
type ListClustersOutput struct {
@@ -3727,6 +5775,18 @@ func (s ListClustersOutput) GoString() string {
return s.String()
}
+// SetClusters sets the Clusters field's value.
+func (s *ListClustersOutput) SetClusters(v []*ClusterSummary) *ListClustersOutput {
+ s.Clusters = v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *ListClustersOutput) SetMarker(v string) *ListClustersOutput {
+ s.Marker = &v
+ return s
+}
+
// This input determines which instance groups to retrieve.
type ListInstanceGroupsInput struct {
_ struct{} `type:"structure"`
@@ -3763,6 +5823,18 @@ func (s *ListInstanceGroupsInput) Validate() error {
return nil
}
+// SetClusterId sets the ClusterId field's value.
+func (s *ListInstanceGroupsInput) SetClusterId(v string) *ListInstanceGroupsInput {
+ s.ClusterId = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *ListInstanceGroupsInput) SetMarker(v string) *ListInstanceGroupsInput {
+ s.Marker = &v
+ return s
+}
+
// This input determines which instance groups to retrieve.
type ListInstanceGroupsOutput struct {
_ struct{} `type:"structure"`
@@ -3784,6 +5856,18 @@ func (s ListInstanceGroupsOutput) GoString() string {
return s.String()
}
+// SetInstanceGroups sets the InstanceGroups field's value.
+func (s *ListInstanceGroupsOutput) SetInstanceGroups(v []*InstanceGroup) *ListInstanceGroupsOutput {
+ s.InstanceGroups = v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *ListInstanceGroupsOutput) SetMarker(v string) *ListInstanceGroupsOutput {
+ s.Marker = &v
+ return s
+}
+
// This input determines which instances to list.
type ListInstancesInput struct {
_ struct{} `type:"structure"`
@@ -3830,6 +5914,36 @@ func (s *ListInstancesInput) Validate() error {
return nil
}
+// SetClusterId sets the ClusterId field's value.
+func (s *ListInstancesInput) SetClusterId(v string) *ListInstancesInput {
+ s.ClusterId = &v
+ return s
+}
+
+// SetInstanceGroupId sets the InstanceGroupId field's value.
+func (s *ListInstancesInput) SetInstanceGroupId(v string) *ListInstancesInput {
+ s.InstanceGroupId = &v
+ return s
+}
+
+// SetInstanceGroupTypes sets the InstanceGroupTypes field's value.
+func (s *ListInstancesInput) SetInstanceGroupTypes(v []*string) *ListInstancesInput {
+ s.InstanceGroupTypes = v
+ return s
+}
+
+// SetInstanceStates sets the InstanceStates field's value.
+func (s *ListInstancesInput) SetInstanceStates(v []*string) *ListInstancesInput {
+ s.InstanceStates = v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *ListInstancesInput) SetMarker(v string) *ListInstancesInput {
+ s.Marker = &v
+ return s
+}
+
// This output contains the list of instances.
type ListInstancesOutput struct {
_ struct{} `type:"structure"`
@@ -3851,6 +5965,18 @@ func (s ListInstancesOutput) GoString() string {
return s.String()
}
+// SetInstances sets the Instances field's value.
+func (s *ListInstancesOutput) SetInstances(v []*Instance) *ListInstancesOutput {
+ s.Instances = v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *ListInstancesOutput) SetMarker(v string) *ListInstancesOutput {
+ s.Marker = &v
+ return s
+}
+
type ListSecurityConfigurationsInput struct {
_ struct{} `type:"structure"`
@@ -3868,6 +5994,12 @@ func (s ListSecurityConfigurationsInput) GoString() string {
return s.String()
}
+// SetMarker sets the Marker field's value.
+func (s *ListSecurityConfigurationsInput) SetMarker(v string) *ListSecurityConfigurationsInput {
+ s.Marker = &v
+ return s
+}
+
type ListSecurityConfigurationsOutput struct {
_ struct{} `type:"structure"`
@@ -3890,6 +6022,18 @@ func (s ListSecurityConfigurationsOutput) GoString() string {
return s.String()
}
+// SetMarker sets the Marker field's value.
+func (s *ListSecurityConfigurationsOutput) SetMarker(v string) *ListSecurityConfigurationsOutput {
+ s.Marker = &v
+ return s
+}
+
+// SetSecurityConfigurations sets the SecurityConfigurations field's value.
+func (s *ListSecurityConfigurationsOutput) SetSecurityConfigurations(v []*SecurityConfigurationSummary) *ListSecurityConfigurationsOutput {
+ s.SecurityConfigurations = v
+ return s
+}
+
// This input determines which steps to list.
type ListStepsInput struct {
_ struct{} `type:"structure"`
@@ -3932,6 +6076,30 @@ func (s *ListStepsInput) Validate() error {
return nil
}
+// SetClusterId sets the ClusterId field's value.
+func (s *ListStepsInput) SetClusterId(v string) *ListStepsInput {
+ s.ClusterId = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *ListStepsInput) SetMarker(v string) *ListStepsInput {
+ s.Marker = &v
+ return s
+}
+
+// SetStepIds sets the StepIds field's value.
+func (s *ListStepsInput) SetStepIds(v []*string) *ListStepsInput {
+ s.StepIds = v
+ return s
+}
+
+// SetStepStates sets the StepStates field's value.
+func (s *ListStepsInput) SetStepStates(v []*string) *ListStepsInput {
+ s.StepStates = v
+ return s
+}
+
// This output contains the list of steps returned in reverse order. This means
// that the last step is the first element in the list.
type ListStepsOutput struct {
@@ -3950,40 +6118,314 @@ func (s ListStepsOutput) String() string {
}
// GoString returns the string representation
-func (s ListStepsOutput) GoString() string {
+func (s ListStepsOutput) GoString() string {
+ return s.String()
+}
+
+// SetMarker sets the Marker field's value.
+func (s *ListStepsOutput) SetMarker(v string) *ListStepsOutput {
+ s.Marker = &v
+ return s
+}
+
+// SetSteps sets the Steps field's value.
+func (s *ListStepsOutput) SetSteps(v []*StepSummary) *ListStepsOutput {
+ s.Steps = v
+ return s
+}
+
+// A CloudWatch dimension, which is specified using a Key (known as a Name in
+// CloudWatch), Value pair. By default, Amazon EMR uses one dimension whose
+// Key is JobFlowID and Value is a variable representing the cluster ID, which
+// is ${emr:cluster_id}. This enables the rule to bootstrap when the cluster
+// ID becomes available, and also enables a single automatic scaling policy
+// to be reused for multiple clusters and instance groups.
+type MetricDimension struct {
+ _ struct{} `type:"structure"`
+
+ // The dimension name.
+ Key *string `type:"string"`
+
+ // The dimension value.
+ Value *string `type:"string"`
+}
+
+// String returns the string representation
+func (s MetricDimension) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s MetricDimension) GoString() string {
+ return s.String()
+}
+
+// SetKey sets the Key field's value.
+func (s *MetricDimension) SetKey(v string) *MetricDimension {
+ s.Key = &v
+ return s
+}
+
+// SetValue sets the Value field's value.
+func (s *MetricDimension) SetValue(v string) *MetricDimension {
+ s.Value = &v
+ return s
+}
+
+// Change the size of some instance groups.
+type ModifyInstanceGroupsInput struct {
+ _ struct{} `type:"structure"`
+
+ // The ID of the cluster to which the instance group belongs.
+ ClusterId *string `type:"string"`
+
+ // Instance groups to change.
+ InstanceGroups []*InstanceGroupModifyConfig `type:"list"`
+}
+
+// String returns the string representation
+func (s ModifyInstanceGroupsInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s ModifyInstanceGroupsInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *ModifyInstanceGroupsInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ModifyInstanceGroupsInput"}
+ if s.InstanceGroups != nil {
+ for i, v := range s.InstanceGroups {
+ if v == nil {
+ continue
+ }
+ if err := v.Validate(); err != nil {
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "InstanceGroups", i), err.(request.ErrInvalidParams))
+ }
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetClusterId sets the ClusterId field's value.
+func (s *ModifyInstanceGroupsInput) SetClusterId(v string) *ModifyInstanceGroupsInput {
+ s.ClusterId = &v
+ return s
+}
+
+// SetInstanceGroups sets the InstanceGroups field's value.
+func (s *ModifyInstanceGroupsInput) SetInstanceGroups(v []*InstanceGroupModifyConfig) *ModifyInstanceGroupsInput {
+ s.InstanceGroups = v
+ return s
+}
+
+type ModifyInstanceGroupsOutput struct {
+ _ struct{} `type:"structure"`
+}
+
+// String returns the string representation
+func (s ModifyInstanceGroupsOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s ModifyInstanceGroupsOutput) GoString() string {
+ return s.String()
+}
+
+// The Amazon EC2 location for the job flow.
+type PlacementType struct {
+ _ struct{} `type:"structure"`
+
+ // The Amazon EC2 Availability Zone for the job flow.
+ //
+ // AvailabilityZone is a required field
+ AvailabilityZone *string `type:"string" required:"true"`
+}
+
+// String returns the string representation
+func (s PlacementType) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s PlacementType) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *PlacementType) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "PlacementType"}
+ if s.AvailabilityZone == nil {
+ invalidParams.Add(request.NewErrParamRequired("AvailabilityZone"))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetAvailabilityZone sets the AvailabilityZone field's value.
+func (s *PlacementType) SetAvailabilityZone(v string) *PlacementType {
+ s.AvailabilityZone = &v
+ return s
+}
+
+type PutAutoScalingPolicyInput struct {
+ _ struct{} `type:"structure"`
+
+ // Specifies the definition of the automatic scaling policy.
+ //
+ // AutoScalingPolicy is a required field
+ AutoScalingPolicy *AutoScalingPolicy `type:"structure" required:"true"`
+
+ // Specifies the ID of a cluster. The instance group to which the automatic
+ // scaling policy is applied is within this cluster.
+ //
+ // ClusterId is a required field
+ ClusterId *string `type:"string" required:"true"`
+
+ // Specifies the ID of the instance group to which the automatic scaling policy
+ // is applied.
+ //
+ // InstanceGroupId is a required field
+ InstanceGroupId *string `type:"string" required:"true"`
+}
+
+// String returns the string representation
+func (s PutAutoScalingPolicyInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s PutAutoScalingPolicyInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *PutAutoScalingPolicyInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "PutAutoScalingPolicyInput"}
+ if s.AutoScalingPolicy == nil {
+ invalidParams.Add(request.NewErrParamRequired("AutoScalingPolicy"))
+ }
+ if s.ClusterId == nil {
+ invalidParams.Add(request.NewErrParamRequired("ClusterId"))
+ }
+ if s.InstanceGroupId == nil {
+ invalidParams.Add(request.NewErrParamRequired("InstanceGroupId"))
+ }
+ if s.AutoScalingPolicy != nil {
+ if err := s.AutoScalingPolicy.Validate(); err != nil {
+ invalidParams.AddNested("AutoScalingPolicy", err.(request.ErrInvalidParams))
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetAutoScalingPolicy sets the AutoScalingPolicy field's value.
+func (s *PutAutoScalingPolicyInput) SetAutoScalingPolicy(v *AutoScalingPolicy) *PutAutoScalingPolicyInput {
+ s.AutoScalingPolicy = v
+ return s
+}
+
+// SetClusterId sets the ClusterId field's value.
+func (s *PutAutoScalingPolicyInput) SetClusterId(v string) *PutAutoScalingPolicyInput {
+ s.ClusterId = &v
+ return s
+}
+
+// SetInstanceGroupId sets the InstanceGroupId field's value.
+func (s *PutAutoScalingPolicyInput) SetInstanceGroupId(v string) *PutAutoScalingPolicyInput {
+ s.InstanceGroupId = &v
+ return s
+}
+
+type PutAutoScalingPolicyOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The automatic scaling policy definition.
+ AutoScalingPolicy *AutoScalingPolicyDescription `type:"structure"`
+
+ // Specifies the ID of a cluster. The instance group to which the automatic
+ // scaling policy is applied is within this cluster.
+ ClusterId *string `type:"string"`
+
+ // Specifies the ID of the instance group to which the scaling policy is applied.
+ InstanceGroupId *string `type:"string"`
+}
+
+// String returns the string representation
+func (s PutAutoScalingPolicyOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s PutAutoScalingPolicyOutput) GoString() string {
return s.String()
}
-// Change the size of some instance groups.
-type ModifyInstanceGroupsInput struct {
+// SetAutoScalingPolicy sets the AutoScalingPolicy field's value.
+func (s *PutAutoScalingPolicyOutput) SetAutoScalingPolicy(v *AutoScalingPolicyDescription) *PutAutoScalingPolicyOutput {
+ s.AutoScalingPolicy = v
+ return s
+}
+
+// SetClusterId sets the ClusterId field's value.
+func (s *PutAutoScalingPolicyOutput) SetClusterId(v string) *PutAutoScalingPolicyOutput {
+ s.ClusterId = &v
+ return s
+}
+
+// SetInstanceGroupId sets the InstanceGroupId field's value.
+func (s *PutAutoScalingPolicyOutput) SetInstanceGroupId(v string) *PutAutoScalingPolicyOutput {
+ s.InstanceGroupId = &v
+ return s
+}
+
+type RemoveAutoScalingPolicyInput struct {
_ struct{} `type:"structure"`
- // Instance groups to change.
- InstanceGroups []*InstanceGroupModifyConfig `type:"list"`
+ // Specifies the ID of a cluster. The instance group to which the automatic
+ // scaling policy is applied is within this cluster.
+ //
+ // ClusterId is a required field
+ ClusterId *string `type:"string" required:"true"`
+
+ // Specifies the ID of the instance group to which the scaling policy is applied.
+ //
+ // InstanceGroupId is a required field
+ InstanceGroupId *string `type:"string" required:"true"`
}
// String returns the string representation
-func (s ModifyInstanceGroupsInput) String() string {
+func (s RemoveAutoScalingPolicyInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
-func (s ModifyInstanceGroupsInput) GoString() string {
+func (s RemoveAutoScalingPolicyInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *ModifyInstanceGroupsInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "ModifyInstanceGroupsInput"}
- if s.InstanceGroups != nil {
- for i, v := range s.InstanceGroups {
- if v == nil {
- continue
- }
- if err := v.Validate(); err != nil {
- invalidParams.AddNested(fmt.Sprintf("%s[%v]", "InstanceGroups", i), err.(request.ErrInvalidParams))
- }
- }
+func (s *RemoveAutoScalingPolicyInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "RemoveAutoScalingPolicyInput"}
+ if s.ClusterId == nil {
+ invalidParams.Add(request.NewErrParamRequired("ClusterId"))
+ }
+ if s.InstanceGroupId == nil {
+ invalidParams.Add(request.NewErrParamRequired("InstanceGroupId"))
}
if invalidParams.Len() > 0 {
@@ -3992,53 +6434,32 @@ func (s *ModifyInstanceGroupsInput) Validate() error {
return nil
}
-type ModifyInstanceGroupsOutput struct {
- _ struct{} `type:"structure"`
-}
-
-// String returns the string representation
-func (s ModifyInstanceGroupsOutput) String() string {
- return awsutil.Prettify(s)
+// SetClusterId sets the ClusterId field's value.
+func (s *RemoveAutoScalingPolicyInput) SetClusterId(v string) *RemoveAutoScalingPolicyInput {
+ s.ClusterId = &v
+ return s
}
-// GoString returns the string representation
-func (s ModifyInstanceGroupsOutput) GoString() string {
- return s.String()
+// SetInstanceGroupId sets the InstanceGroupId field's value.
+func (s *RemoveAutoScalingPolicyInput) SetInstanceGroupId(v string) *RemoveAutoScalingPolicyInput {
+ s.InstanceGroupId = &v
+ return s
}
-// The Amazon EC2 location for the job flow.
-type PlacementType struct {
+type RemoveAutoScalingPolicyOutput struct {
_ struct{} `type:"structure"`
-
- // The Amazon EC2 Availability Zone for the job flow.
- //
- // AvailabilityZone is a required field
- AvailabilityZone *string `type:"string" required:"true"`
}
// String returns the string representation
-func (s PlacementType) String() string {
+func (s RemoveAutoScalingPolicyOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
-func (s PlacementType) GoString() string {
+func (s RemoveAutoScalingPolicyOutput) GoString() string {
return s.String()
}
-// Validate inspects the fields of the type to determine if they are valid.
-func (s *PlacementType) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "PlacementType"}
- if s.AvailabilityZone == nil {
- invalidParams.Add(request.NewErrParamRequired("AvailabilityZone"))
- }
-
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
-}
-
// This input identifies a cluster and a list of tags to remove.
type RemoveTagsInput struct {
_ struct{} `type:"structure"`
@@ -4081,6 +6502,18 @@ func (s *RemoveTagsInput) Validate() error {
return nil
}
+// SetResourceId sets the ResourceId field's value.
+func (s *RemoveTagsInput) SetResourceId(v string) *RemoveTagsInput {
+ s.ResourceId = &v
+ return s
+}
+
+// SetTagKeys sets the TagKeys field's value.
+func (s *RemoveTagsInput) SetTagKeys(v []*string) *RemoveTagsInput {
+ s.TagKeys = v
+ return s
+}
+
// This output indicates the result of removing tags from a resource.
type RemoveTagsOutput struct {
_ struct{} `type:"structure"`
@@ -4116,8 +6549,14 @@ type RunJobFlowInput struct {
// parameter to modify the version of Hadoop from the defaults shown above.
//
// For details about the AMI versions currently supported by Amazon Elastic
- // MapReduce, go to AMI Versions Supported in Elastic MapReduce (http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/EnvironmentConfig_AMIVersion.html#ami-versions-supported)
- // in the Amazon Elastic MapReduce Developer's Guide.
+ // MapReduce, see AMI Versions Supported in Elastic MapReduce (http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/EnvironmentConfig_AMIVersion.html#ami-versions-supported)
+ // in the Amazon Elastic MapReduce Developer Guide.
+ //
+ // Previously, the EMR AMI version API parameter options allowed you to use
+ // latest for the latest AMI version rather than specify a numerical value.
+ // Some regions no longer support this deprecated option as they only have a
+ // newer release label version of EMR, which requires you to specify an EMR
+ // release label release (EMR 4.x or later).
AmiVersion *string `type:"string"`
// Amazon EMR releases 4.x or later.
@@ -4126,6 +6565,11 @@ type RunJobFlowInput struct {
// "Mahout", "Pig", and "Spark." They are case insensitive.
Applications []*Application `type:"list"`
+ // An IAM role for automatic scaling policies. The default role is EMR_AutoScaling_DefaultRole.
+ // The IAM role provides permissions that the automatic scaling feature requires
+ // to launch and terminate EC2 instances in an instance group.
+ AutoScalingRole *string `type:"string"`
+
// A list of bootstrap actions that will be run before Hadoop is started on
// the cluster nodes.
BootstrapActions []*BootstrapActionConfig `type:"list"`
@@ -4190,6 +6634,20 @@ type RunJobFlowInput struct {
// AMIs, use amiVersion instead instead of ReleaseLabel.
ReleaseLabel *string `type:"string"`
+ // Specifies the way that individual Amazon EC2 instances terminate when an
+ // automatic scale-in activity occurs or an instance group is resized. TERMINATE_AT_INSTANCE_HOUR
+ // indicates that Amazon EMR terminates nodes at the instance-hour boundary,
+ // regardless of when the request to terminate the instance was submitted. This
+ // option is only available with Amazon EMR 5.1.0 and later and is the default
+ // for clusters created using that version. TERMINATE_AT_TASK_COMPLETION indicates
+ // that Amazon EMR blacklists and drains tasks from nodes before terminating
+ // the Amazon EC2 instances, regardless of the instance-hour boundary. With
+ // either behavior, Amazon EMR removes the least active nodes first and blocks
+ // instance termination if it could lead to HDFS corruption. TERMINATE_AT_TASK_COMPLETION
+ // available only in Amazon EMR version 4.1.0 and later, and is the default
+ // for versions of Amazon EMR earlier than 5.1.0.
+ ScaleDownBehavior *string `type:"string" enum:"ScaleDownBehavior"`
+
// The name of a security configuration to apply to the cluster.
SecurityConfiguration *string `type:"string"`
@@ -4204,7 +6662,7 @@ type RunJobFlowInput struct {
// use Applications.
//
// A list of strings that indicates third-party software to use with the job
- // flow. For more information, go to Use Third Party Applications with Amazon
+ // flow. For more information, see Use Third Party Applications with Amazon
// EMR (http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/emr-supported-products.html).
// Currently supported values are:
//
@@ -4216,56 +6674,376 @@ type RunJobFlowInput struct {
// A list of tags to associate with a cluster and propagate to Amazon EC2 instances.
Tags []*Tag `type:"list"`
- // Whether the job flow is visible to all IAM users of the AWS account associated
- // with the job flow. If this value is set to true, all IAM users of that AWS
- // account can view and (if they have the proper policy permissions set) manage
- // the job flow. If it is set to false, only the IAM user that created the job
- // flow can view and manage it.
- VisibleToAllUsers *bool `type:"boolean"`
+ // Whether the job flow is visible to all IAM users of the AWS account associated
+ // with the job flow. If this value is set to true, all IAM users of that AWS
+ // account can view and (if they have the proper policy permissions set) manage
+ // the job flow. If it is set to false, only the IAM user that created the job
+ // flow can view and manage it.
+ VisibleToAllUsers *bool `type:"boolean"`
+}
+
+// String returns the string representation
+func (s RunJobFlowInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s RunJobFlowInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *RunJobFlowInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "RunJobFlowInput"}
+ if s.Instances == nil {
+ invalidParams.Add(request.NewErrParamRequired("Instances"))
+ }
+ if s.Name == nil {
+ invalidParams.Add(request.NewErrParamRequired("Name"))
+ }
+ if s.BootstrapActions != nil {
+ for i, v := range s.BootstrapActions {
+ if v == nil {
+ continue
+ }
+ if err := v.Validate(); err != nil {
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "BootstrapActions", i), err.(request.ErrInvalidParams))
+ }
+ }
+ }
+ if s.Instances != nil {
+ if err := s.Instances.Validate(); err != nil {
+ invalidParams.AddNested("Instances", err.(request.ErrInvalidParams))
+ }
+ }
+ if s.Steps != nil {
+ for i, v := range s.Steps {
+ if v == nil {
+ continue
+ }
+ if err := v.Validate(); err != nil {
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Steps", i), err.(request.ErrInvalidParams))
+ }
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetAdditionalInfo sets the AdditionalInfo field's value.
+func (s *RunJobFlowInput) SetAdditionalInfo(v string) *RunJobFlowInput {
+ s.AdditionalInfo = &v
+ return s
+}
+
+// SetAmiVersion sets the AmiVersion field's value.
+func (s *RunJobFlowInput) SetAmiVersion(v string) *RunJobFlowInput {
+ s.AmiVersion = &v
+ return s
+}
+
+// SetApplications sets the Applications field's value.
+func (s *RunJobFlowInput) SetApplications(v []*Application) *RunJobFlowInput {
+ s.Applications = v
+ return s
+}
+
+// SetAutoScalingRole sets the AutoScalingRole field's value.
+func (s *RunJobFlowInput) SetAutoScalingRole(v string) *RunJobFlowInput {
+ s.AutoScalingRole = &v
+ return s
+}
+
+// SetBootstrapActions sets the BootstrapActions field's value.
+func (s *RunJobFlowInput) SetBootstrapActions(v []*BootstrapActionConfig) *RunJobFlowInput {
+ s.BootstrapActions = v
+ return s
+}
+
+// SetConfigurations sets the Configurations field's value.
+func (s *RunJobFlowInput) SetConfigurations(v []*Configuration) *RunJobFlowInput {
+ s.Configurations = v
+ return s
+}
+
+// SetInstances sets the Instances field's value.
+func (s *RunJobFlowInput) SetInstances(v *JobFlowInstancesConfig) *RunJobFlowInput {
+ s.Instances = v
+ return s
+}
+
+// SetJobFlowRole sets the JobFlowRole field's value.
+func (s *RunJobFlowInput) SetJobFlowRole(v string) *RunJobFlowInput {
+ s.JobFlowRole = &v
+ return s
+}
+
+// SetLogUri sets the LogUri field's value.
+func (s *RunJobFlowInput) SetLogUri(v string) *RunJobFlowInput {
+ s.LogUri = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *RunJobFlowInput) SetName(v string) *RunJobFlowInput {
+ s.Name = &v
+ return s
+}
+
+// SetNewSupportedProducts sets the NewSupportedProducts field's value.
+func (s *RunJobFlowInput) SetNewSupportedProducts(v []*SupportedProductConfig) *RunJobFlowInput {
+ s.NewSupportedProducts = v
+ return s
+}
+
+// SetReleaseLabel sets the ReleaseLabel field's value.
+func (s *RunJobFlowInput) SetReleaseLabel(v string) *RunJobFlowInput {
+ s.ReleaseLabel = &v
+ return s
+}
+
+// SetScaleDownBehavior sets the ScaleDownBehavior field's value.
+func (s *RunJobFlowInput) SetScaleDownBehavior(v string) *RunJobFlowInput {
+ s.ScaleDownBehavior = &v
+ return s
+}
+
+// SetSecurityConfiguration sets the SecurityConfiguration field's value.
+func (s *RunJobFlowInput) SetSecurityConfiguration(v string) *RunJobFlowInput {
+ s.SecurityConfiguration = &v
+ return s
+}
+
+// SetServiceRole sets the ServiceRole field's value.
+func (s *RunJobFlowInput) SetServiceRole(v string) *RunJobFlowInput {
+ s.ServiceRole = &v
+ return s
+}
+
+// SetSteps sets the Steps field's value.
+func (s *RunJobFlowInput) SetSteps(v []*StepConfig) *RunJobFlowInput {
+ s.Steps = v
+ return s
+}
+
+// SetSupportedProducts sets the SupportedProducts field's value.
+func (s *RunJobFlowInput) SetSupportedProducts(v []*string) *RunJobFlowInput {
+ s.SupportedProducts = v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *RunJobFlowInput) SetTags(v []*Tag) *RunJobFlowInput {
+ s.Tags = v
+ return s
+}
+
+// SetVisibleToAllUsers sets the VisibleToAllUsers field's value.
+func (s *RunJobFlowInput) SetVisibleToAllUsers(v bool) *RunJobFlowInput {
+ s.VisibleToAllUsers = &v
+ return s
+}
+
+// The result of the RunJobFlow operation.
+type RunJobFlowOutput struct {
+ _ struct{} `type:"structure"`
+
+ // An unique identifier for the job flow.
+ JobFlowId *string `type:"string"`
+}
+
+// String returns the string representation
+func (s RunJobFlowOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s RunJobFlowOutput) GoString() string {
+ return s.String()
+}
+
+// SetJobFlowId sets the JobFlowId field's value.
+func (s *RunJobFlowOutput) SetJobFlowId(v string) *RunJobFlowOutput {
+ s.JobFlowId = &v
+ return s
+}
+
+// The type of adjustment the automatic scaling activity makes when triggered,
+// and the periodicity of the adjustment.
+type ScalingAction struct {
+ _ struct{} `type:"structure"`
+
+ // Not available for instance groups. Instance groups use the market type specified
+ // for the group.
+ Market *string `type:"string" enum:"MarketType"`
+
+ // The type of adjustment the automatic scaling activity makes when triggered,
+ // and the periodicity of the adjustment.
+ //
+ // SimpleScalingPolicyConfiguration is a required field
+ SimpleScalingPolicyConfiguration *SimpleScalingPolicyConfiguration `type:"structure" required:"true"`
+}
+
+// String returns the string representation
+func (s ScalingAction) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s ScalingAction) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *ScalingAction) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ScalingAction"}
+ if s.SimpleScalingPolicyConfiguration == nil {
+ invalidParams.Add(request.NewErrParamRequired("SimpleScalingPolicyConfiguration"))
+ }
+ if s.SimpleScalingPolicyConfiguration != nil {
+ if err := s.SimpleScalingPolicyConfiguration.Validate(); err != nil {
+ invalidParams.AddNested("SimpleScalingPolicyConfiguration", err.(request.ErrInvalidParams))
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetMarket sets the Market field's value.
+func (s *ScalingAction) SetMarket(v string) *ScalingAction {
+ s.Market = &v
+ return s
+}
+
+// SetSimpleScalingPolicyConfiguration sets the SimpleScalingPolicyConfiguration field's value.
+func (s *ScalingAction) SetSimpleScalingPolicyConfiguration(v *SimpleScalingPolicyConfiguration) *ScalingAction {
+ s.SimpleScalingPolicyConfiguration = v
+ return s
+}
+
+// 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.
+type ScalingConstraints struct {
+ _ struct{} `type:"structure"`
+
+ // The upper boundary of EC2 instances in an instance group beyond which scaling
+ // activities are not allowed to grow. Scale-out activities will not add instances
+ // beyond this boundary.
+ //
+ // MaxCapacity is a required field
+ MaxCapacity *int64 `type:"integer" required:"true"`
+
+ // The lower boundary of EC2 instances in an instance group below which scaling
+ // activities are not allowed to shrink. Scale-in activities will not terminate
+ // instances below this boundary.
+ //
+ // MinCapacity is a required field
+ MinCapacity *int64 `type:"integer" required:"true"`
+}
+
+// String returns the string representation
+func (s ScalingConstraints) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s ScalingConstraints) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *ScalingConstraints) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ScalingConstraints"}
+ if s.MaxCapacity == nil {
+ invalidParams.Add(request.NewErrParamRequired("MaxCapacity"))
+ }
+ if s.MinCapacity == nil {
+ invalidParams.Add(request.NewErrParamRequired("MinCapacity"))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetMaxCapacity sets the MaxCapacity field's value.
+func (s *ScalingConstraints) SetMaxCapacity(v int64) *ScalingConstraints {
+ s.MaxCapacity = &v
+ return s
+}
+
+// SetMinCapacity sets the MinCapacity field's value.
+func (s *ScalingConstraints) SetMinCapacity(v int64) *ScalingConstraints {
+ s.MinCapacity = &v
+ return s
+}
+
+// A scale-in or scale-out rule that defines scaling activity, including the
+// 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.
+type ScalingRule struct {
+ _ struct{} `type:"structure"`
+
+ // The conditions that trigger an automatic scaling activity.
+ //
+ // Action is a required field
+ Action *ScalingAction `type:"structure" required:"true"`
+
+ // A friendly, more verbose description of the automatic scaling rule.
+ Description *string `type:"string"`
+
+ // The name used to identify an automatic scaling rule. Rule names must be unique
+ // within a scaling policy.
+ //
+ // Name is a required field
+ Name *string `type:"string" required:"true"`
+
+ // The CloudWatch alarm definition that determines when automatic scaling activity
+ // is triggered.
+ //
+ // Trigger is a required field
+ Trigger *ScalingTrigger `type:"structure" required:"true"`
}
// String returns the string representation
-func (s RunJobFlowInput) String() string {
+func (s ScalingRule) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
-func (s RunJobFlowInput) GoString() string {
+func (s ScalingRule) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *RunJobFlowInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "RunJobFlowInput"}
- if s.Instances == nil {
- invalidParams.Add(request.NewErrParamRequired("Instances"))
+func (s *ScalingRule) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ScalingRule"}
+ if s.Action == nil {
+ invalidParams.Add(request.NewErrParamRequired("Action"))
}
if s.Name == nil {
invalidParams.Add(request.NewErrParamRequired("Name"))
}
- if s.BootstrapActions != nil {
- for i, v := range s.BootstrapActions {
- if v == nil {
- continue
- }
- if err := v.Validate(); err != nil {
- invalidParams.AddNested(fmt.Sprintf("%s[%v]", "BootstrapActions", i), err.(request.ErrInvalidParams))
- }
- }
+ if s.Trigger == nil {
+ invalidParams.Add(request.NewErrParamRequired("Trigger"))
}
- if s.Instances != nil {
- if err := s.Instances.Validate(); err != nil {
- invalidParams.AddNested("Instances", err.(request.ErrInvalidParams))
+ if s.Action != nil {
+ if err := s.Action.Validate(); err != nil {
+ invalidParams.AddNested("Action", err.(request.ErrInvalidParams))
}
}
- if s.Steps != nil {
- for i, v := range s.Steps {
- if v == nil {
- continue
- }
- if err := v.Validate(); err != nil {
- invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Steps", i), err.(request.ErrInvalidParams))
- }
+ if s.Trigger != nil {
+ if err := s.Trigger.Validate(); err != nil {
+ invalidParams.AddNested("Trigger", err.(request.ErrInvalidParams))
}
}
@@ -4275,29 +7053,85 @@ func (s *RunJobFlowInput) Validate() error {
return nil
}
-// The result of the RunJobFlow operation.
-type RunJobFlowOutput struct {
+// SetAction sets the Action field's value.
+func (s *ScalingRule) SetAction(v *ScalingAction) *ScalingRule {
+ s.Action = v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *ScalingRule) SetDescription(v string) *ScalingRule {
+ s.Description = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *ScalingRule) SetName(v string) *ScalingRule {
+ s.Name = &v
+ return s
+}
+
+// SetTrigger sets the Trigger field's value.
+func (s *ScalingRule) SetTrigger(v *ScalingTrigger) *ScalingRule {
+ s.Trigger = v
+ return s
+}
+
+// The conditions that trigger an automatic scaling activity.
+type ScalingTrigger struct {
_ struct{} `type:"structure"`
- // An unique identifier for the job flow.
- JobFlowId *string `type:"string"`
+ // The definition of a CloudWatch metric alarm. When the defined alarm conditions
+ // are met along with other trigger parameters, scaling activity begins.
+ //
+ // CloudWatchAlarmDefinition is a required field
+ CloudWatchAlarmDefinition *CloudWatchAlarmDefinition `type:"structure" required:"true"`
}
// String returns the string representation
-func (s RunJobFlowOutput) String() string {
+func (s ScalingTrigger) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
-func (s RunJobFlowOutput) GoString() string {
+func (s ScalingTrigger) GoString() string {
return s.String()
}
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *ScalingTrigger) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ScalingTrigger"}
+ if s.CloudWatchAlarmDefinition == nil {
+ invalidParams.Add(request.NewErrParamRequired("CloudWatchAlarmDefinition"))
+ }
+ if s.CloudWatchAlarmDefinition != nil {
+ if err := s.CloudWatchAlarmDefinition.Validate(); err != nil {
+ invalidParams.AddNested("CloudWatchAlarmDefinition", err.(request.ErrInvalidParams))
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetCloudWatchAlarmDefinition sets the CloudWatchAlarmDefinition field's value.
+func (s *ScalingTrigger) SetCloudWatchAlarmDefinition(v *CloudWatchAlarmDefinition) *ScalingTrigger {
+ s.CloudWatchAlarmDefinition = v
+ return s
+}
+
+// Configuration of the script to run during a bootstrap action.
type ScriptBootstrapActionConfig struct {
_ struct{} `type:"structure"`
+ // A list of command line arguments to pass to the bootstrap action script.
Args []*string `type:"list"`
+ // Location of the script to run during a bootstrap action. Can be either a
+ // location in Amazon S3 or on a local file system.
+ //
// Path is a required field
Path *string `type:"string" required:"true"`
}
@@ -4325,6 +7159,18 @@ func (s *ScriptBootstrapActionConfig) Validate() error {
return nil
}
+// SetArgs sets the Args field's value.
+func (s *ScriptBootstrapActionConfig) SetArgs(v []*string) *ScriptBootstrapActionConfig {
+ s.Args = v
+ return s
+}
+
+// SetPath sets the Path field's value.
+func (s *ScriptBootstrapActionConfig) SetPath(v string) *ScriptBootstrapActionConfig {
+ s.Path = &v
+ return s
+}
+
// The creation date and time, and name, of a security configuration.
type SecurityConfigurationSummary struct {
_ struct{} `type:"structure"`
@@ -4346,6 +7192,18 @@ func (s SecurityConfigurationSummary) GoString() string {
return s.String()
}
+// SetCreationDateTime sets the CreationDateTime field's value.
+func (s *SecurityConfigurationSummary) SetCreationDateTime(v time.Time) *SecurityConfigurationSummary {
+ s.CreationDateTime = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *SecurityConfigurationSummary) SetName(v string) *SecurityConfigurationSummary {
+ s.Name = &v
+ return s
+}
+
// The input argument to the TerminationProtection operation.
type SetTerminationProtectionInput struct {
_ struct{} `type:"structure"`
@@ -4391,6 +7249,18 @@ func (s *SetTerminationProtectionInput) Validate() error {
return nil
}
+// SetJobFlowIds sets the JobFlowIds field's value.
+func (s *SetTerminationProtectionInput) SetJobFlowIds(v []*string) *SetTerminationProtectionInput {
+ s.JobFlowIds = v
+ return s
+}
+
+// SetTerminationProtected sets the TerminationProtected field's value.
+func (s *SetTerminationProtectionInput) SetTerminationProtected(v bool) *SetTerminationProtectionInput {
+ s.TerminationProtected = &v
+ return s
+}
+
type SetTerminationProtectionOutput struct {
_ struct{} `type:"structure"`
}
@@ -4450,6 +7320,18 @@ func (s *SetVisibleToAllUsersInput) Validate() error {
return nil
}
+// SetJobFlowIds sets the JobFlowIds field's value.
+func (s *SetVisibleToAllUsersInput) SetJobFlowIds(v []*string) *SetVisibleToAllUsersInput {
+ s.JobFlowIds = v
+ return s
+}
+
+// SetVisibleToAllUsers sets the VisibleToAllUsers field's value.
+func (s *SetVisibleToAllUsersInput) SetVisibleToAllUsers(v bool) *SetVisibleToAllUsersInput {
+ s.VisibleToAllUsers = &v
+ return s
+}
+
type SetVisibleToAllUsersOutput struct {
_ struct{} `type:"structure"`
}
@@ -4488,6 +7370,95 @@ func (s ShrinkPolicy) GoString() string {
return s.String()
}
+// SetDecommissionTimeout sets the DecommissionTimeout field's value.
+func (s *ShrinkPolicy) SetDecommissionTimeout(v int64) *ShrinkPolicy {
+ s.DecommissionTimeout = &v
+ return s
+}
+
+// SetInstanceResizePolicy sets the InstanceResizePolicy field's value.
+func (s *ShrinkPolicy) SetInstanceResizePolicy(v *InstanceResizePolicy) *ShrinkPolicy {
+ s.InstanceResizePolicy = v
+ return s
+}
+
+// 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.
+type SimpleScalingPolicyConfiguration struct {
+ _ struct{} `type:"structure"`
+
+ // The way in which EC2 instances are added (if ScalingAdjustment is a positive
+ // number) or terminated (if ScalingAdjustment is a negative number) each time
+ // the scaling activity is triggered. CHANGE_IN_CAPACITY is the default. CHANGE_IN_CAPACITY
+ // 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
+ // 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.
+ AdjustmentType *string `type:"string" enum:"AdjustmentType"`
+
+ // The amount of time, in seconds, after a scaling activity completes before
+ // any further trigger-related scaling activities can start. The default value
+ // is 0.
+ CoolDown *int64 `type:"integer"`
+
+ // The amount by which to scale in or scale out, based on the specified AdjustmentType.
+ // 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
+ // capacity.
+ //
+ // ScalingAdjustment is a required field
+ ScalingAdjustment *int64 `type:"integer" required:"true"`
+}
+
+// String returns the string representation
+func (s SimpleScalingPolicyConfiguration) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s SimpleScalingPolicyConfiguration) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *SimpleScalingPolicyConfiguration) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "SimpleScalingPolicyConfiguration"}
+ if s.ScalingAdjustment == nil {
+ invalidParams.Add(request.NewErrParamRequired("ScalingAdjustment"))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetAdjustmentType sets the AdjustmentType field's value.
+func (s *SimpleScalingPolicyConfiguration) SetAdjustmentType(v string) *SimpleScalingPolicyConfiguration {
+ s.AdjustmentType = &v
+ return s
+}
+
+// SetCoolDown sets the CoolDown field's value.
+func (s *SimpleScalingPolicyConfiguration) SetCoolDown(v int64) *SimpleScalingPolicyConfiguration {
+ s.CoolDown = &v
+ return s
+}
+
+// SetScalingAdjustment sets the ScalingAdjustment field's value.
+func (s *SimpleScalingPolicyConfiguration) SetScalingAdjustment(v int64) *SimpleScalingPolicyConfiguration {
+ s.ScalingAdjustment = &v
+ return s
+}
+
// This represents a step in a cluster.
type Step struct {
_ struct{} `type:"structure"`
@@ -4519,6 +7490,36 @@ func (s Step) GoString() string {
return s.String()
}
+// SetActionOnFailure sets the ActionOnFailure field's value.
+func (s *Step) SetActionOnFailure(v string) *Step {
+ s.ActionOnFailure = &v
+ return s
+}
+
+// SetConfig sets the Config field's value.
+func (s *Step) SetConfig(v *HadoopStepConfig) *Step {
+ s.Config = v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *Step) SetId(v string) *Step {
+ s.Id = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *Step) SetName(v string) *Step {
+ s.Name = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *Step) SetStatus(v *StepStatus) *Step {
+ s.Status = v
+ return s
+}
+
// Specification of a job flow step.
type StepConfig struct {
_ struct{} `type:"structure"`
@@ -4568,6 +7569,24 @@ func (s *StepConfig) Validate() error {
return nil
}
+// SetActionOnFailure sets the ActionOnFailure field's value.
+func (s *StepConfig) SetActionOnFailure(v string) *StepConfig {
+ s.ActionOnFailure = &v
+ return s
+}
+
+// SetHadoopJarStep sets the HadoopJarStep field's value.
+func (s *StepConfig) SetHadoopJarStep(v *HadoopJarStepConfig) *StepConfig {
+ s.HadoopJarStep = v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *StepConfig) SetName(v string) *StepConfig {
+ s.Name = &v
+ return s
+}
+
// Combines the execution state and configuration of a step.
type StepDetail struct {
_ struct{} `type:"structure"`
@@ -4593,6 +7612,18 @@ func (s StepDetail) GoString() string {
return s.String()
}
+// SetExecutionStatusDetail sets the ExecutionStatusDetail field's value.
+func (s *StepDetail) SetExecutionStatusDetail(v *StepExecutionStatusDetail) *StepDetail {
+ s.ExecutionStatusDetail = v
+ return s
+}
+
+// SetStepConfig sets the StepConfig field's value.
+func (s *StepDetail) SetStepConfig(v *StepConfig) *StepDetail {
+ s.StepConfig = v
+ return s
+}
+
// The execution state of a step.
type StepExecutionStatusDetail struct {
_ struct{} `type:"structure"`
@@ -4627,6 +7658,36 @@ func (s StepExecutionStatusDetail) GoString() string {
return s.String()
}
+// SetCreationDateTime sets the CreationDateTime field's value.
+func (s *StepExecutionStatusDetail) SetCreationDateTime(v time.Time) *StepExecutionStatusDetail {
+ s.CreationDateTime = &v
+ return s
+}
+
+// SetEndDateTime sets the EndDateTime field's value.
+func (s *StepExecutionStatusDetail) SetEndDateTime(v time.Time) *StepExecutionStatusDetail {
+ s.EndDateTime = &v
+ return s
+}
+
+// SetLastStateChangeReason sets the LastStateChangeReason field's value.
+func (s *StepExecutionStatusDetail) SetLastStateChangeReason(v string) *StepExecutionStatusDetail {
+ s.LastStateChangeReason = &v
+ return s
+}
+
+// SetStartDateTime sets the StartDateTime field's value.
+func (s *StepExecutionStatusDetail) SetStartDateTime(v time.Time) *StepExecutionStatusDetail {
+ s.StartDateTime = &v
+ return s
+}
+
+// SetState sets the State field's value.
+func (s *StepExecutionStatusDetail) SetState(v string) *StepExecutionStatusDetail {
+ s.State = &v
+ return s
+}
+
// The details of the step state change reason.
type StepStateChangeReason struct {
_ struct{} `type:"structure"`
@@ -4649,6 +7710,18 @@ func (s StepStateChangeReason) GoString() string {
return s.String()
}
+// SetCode sets the Code field's value.
+func (s *StepStateChangeReason) SetCode(v string) *StepStateChangeReason {
+ s.Code = &v
+ return s
+}
+
+// SetMessage sets the Message field's value.
+func (s *StepStateChangeReason) SetMessage(v string) *StepStateChangeReason {
+ s.Message = &v
+ return s
+}
+
// The execution status details of the cluster step.
type StepStatus struct {
_ struct{} `type:"structure"`
@@ -4677,6 +7750,30 @@ func (s StepStatus) GoString() string {
return s.String()
}
+// SetFailureDetails sets the FailureDetails field's value.
+func (s *StepStatus) SetFailureDetails(v *FailureDetails) *StepStatus {
+ s.FailureDetails = v
+ return s
+}
+
+// SetState sets the State field's value.
+func (s *StepStatus) SetState(v string) *StepStatus {
+ s.State = &v
+ return s
+}
+
+// SetStateChangeReason sets the StateChangeReason field's value.
+func (s *StepStatus) SetStateChangeReason(v *StepStateChangeReason) *StepStatus {
+ s.StateChangeReason = v
+ return s
+}
+
+// SetTimeline sets the Timeline field's value.
+func (s *StepStatus) SetTimeline(v *StepTimeline) *StepStatus {
+ s.Timeline = v
+ return s
+}
+
// The summary of the cluster step.
type StepSummary struct {
_ struct{} `type:"structure"`
@@ -4708,6 +7805,36 @@ func (s StepSummary) GoString() string {
return s.String()
}
+// SetActionOnFailure sets the ActionOnFailure field's value.
+func (s *StepSummary) SetActionOnFailure(v string) *StepSummary {
+ s.ActionOnFailure = &v
+ return s
+}
+
+// SetConfig sets the Config field's value.
+func (s *StepSummary) SetConfig(v *HadoopStepConfig) *StepSummary {
+ s.Config = v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *StepSummary) SetId(v string) *StepSummary {
+ s.Id = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *StepSummary) SetName(v string) *StepSummary {
+ s.Name = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *StepSummary) SetStatus(v *StepStatus) *StepSummary {
+ s.Status = v
+ return s
+}
+
// The timeline of the cluster step lifecycle.
type StepTimeline struct {
_ struct{} `type:"structure"`
@@ -4732,6 +7859,24 @@ func (s StepTimeline) GoString() string {
return s.String()
}
+// SetCreationDateTime sets the CreationDateTime field's value.
+func (s *StepTimeline) SetCreationDateTime(v time.Time) *StepTimeline {
+ s.CreationDateTime = &v
+ return s
+}
+
+// SetEndDateTime sets the EndDateTime field's value.
+func (s *StepTimeline) SetEndDateTime(v time.Time) *StepTimeline {
+ s.EndDateTime = &v
+ return s
+}
+
+// SetStartDateTime sets the StartDateTime field's value.
+func (s *StepTimeline) SetStartDateTime(v time.Time) *StepTimeline {
+ s.StartDateTime = &v
+ return s
+}
+
// 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.
@@ -4755,9 +7900,21 @@ func (s SupportedProductConfig) GoString() string {
return s.String()
}
+// SetArgs sets the Args field's value.
+func (s *SupportedProductConfig) SetArgs(v []*string) *SupportedProductConfig {
+ s.Args = v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *SupportedProductConfig) SetName(v string) *SupportedProductConfig {
+ s.Name = &v
+ return s
+}
+
// 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 clu\ sters to track your Amazon EMR resource
+// 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).
type Tag struct {
@@ -4782,6 +7939,18 @@ 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
+}
+
// Input to the TerminateJobFlows operation.
type TerminateJobFlowsInput struct {
_ struct{} `type:"structure"`
@@ -4815,6 +7984,12 @@ func (s *TerminateJobFlowsInput) Validate() error {
return nil
}
+// SetJobFlowIds sets the JobFlowIds field's value.
+func (s *TerminateJobFlowsInput) SetJobFlowIds(v []*string) *TerminateJobFlowsInput {
+ s.JobFlowIds = v
+ return s
+}
+
type TerminateJobFlowsOutput struct {
_ struct{} `type:"structure"`
}
@@ -4829,8 +8004,8 @@ func (s TerminateJobFlowsOutput) GoString() string {
return s.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.
+// 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.
type VolumeSpecification struct {
_ struct{} `type:"structure"`
@@ -4875,6 +8050,24 @@ func (s *VolumeSpecification) Validate() error {
return nil
}
+// SetIops sets the Iops field's value.
+func (s *VolumeSpecification) SetIops(v int64) *VolumeSpecification {
+ s.Iops = &v
+ return s
+}
+
+// SetSizeInGB sets the SizeInGB field's value.
+func (s *VolumeSpecification) SetSizeInGB(v int64) *VolumeSpecification {
+ s.SizeInGB = &v
+ return s
+}
+
+// SetVolumeType sets the VolumeType field's value.
+func (s *VolumeSpecification) SetVolumeType(v string) *VolumeSpecification {
+ s.VolumeType = &v
+ return s
+}
+
const (
// ActionOnFailureTerminateJobFlow is a ActionOnFailure enum value
ActionOnFailureTerminateJobFlow = "TERMINATE_JOB_FLOW"
@@ -4889,6 +8082,56 @@ const (
ActionOnFailureContinue = "CONTINUE"
)
+const (
+ // AdjustmentTypeChangeInCapacity is a AdjustmentType enum value
+ AdjustmentTypeChangeInCapacity = "CHANGE_IN_CAPACITY"
+
+ // AdjustmentTypePercentChangeInCapacity is a AdjustmentType enum value
+ AdjustmentTypePercentChangeInCapacity = "PERCENT_CHANGE_IN_CAPACITY"
+
+ // AdjustmentTypeExactCapacity is a AdjustmentType enum value
+ AdjustmentTypeExactCapacity = "EXACT_CAPACITY"
+)
+
+const (
+ // AutoScalingPolicyStatePending is a AutoScalingPolicyState enum value
+ AutoScalingPolicyStatePending = "PENDING"
+
+ // AutoScalingPolicyStateAttaching is a AutoScalingPolicyState enum value
+ AutoScalingPolicyStateAttaching = "ATTACHING"
+
+ // AutoScalingPolicyStateAttached is a AutoScalingPolicyState enum value
+ AutoScalingPolicyStateAttached = "ATTACHED"
+
+ // AutoScalingPolicyStateDetaching is a AutoScalingPolicyState enum value
+ AutoScalingPolicyStateDetaching = "DETACHING"
+
+ // AutoScalingPolicyStateDetached is a AutoScalingPolicyState enum value
+ AutoScalingPolicyStateDetached = "DETACHED"
+
+ // AutoScalingPolicyStateFailed is a AutoScalingPolicyState enum value
+ AutoScalingPolicyStateFailed = "FAILED"
+)
+
+const (
+ // AutoScalingPolicyStateChangeReasonCodeUserRequest is a AutoScalingPolicyStateChangeReasonCode enum value
+ AutoScalingPolicyStateChangeReasonCodeUserRequest = "USER_REQUEST"
+
+ // AutoScalingPolicyStateChangeReasonCodeProvisionFailure is a AutoScalingPolicyStateChangeReasonCode enum value
+ AutoScalingPolicyStateChangeReasonCodeProvisionFailure = "PROVISION_FAILURE"
+
+ // AutoScalingPolicyStateChangeReasonCodeCleanupFailure is a AutoScalingPolicyStateChangeReasonCode enum value
+ AutoScalingPolicyStateChangeReasonCodeCleanupFailure = "CLEANUP_FAILURE"
+)
+
+const (
+ // CancelStepsRequestStatusSubmitted is a CancelStepsRequestStatus enum value
+ CancelStepsRequestStatusSubmitted = "SUBMITTED"
+
+ // CancelStepsRequestStatusFailed is a CancelStepsRequestStatus enum value
+ CancelStepsRequestStatusFailed = "FAILED"
+)
+
const (
// ClusterStateStarting is a ClusterState enum value
ClusterStateStarting = "STARTING"
@@ -4935,6 +8178,20 @@ const (
ClusterStateChangeReasonCodeAllStepsCompleted = "ALL_STEPS_COMPLETED"
)
+const (
+ // ComparisonOperatorGreaterThanOrEqual is a ComparisonOperator enum value
+ ComparisonOperatorGreaterThanOrEqual = "GREATER_THAN_OR_EQUAL"
+
+ // ComparisonOperatorGreaterThan is a ComparisonOperator enum value
+ ComparisonOperatorGreaterThan = "GREATER_THAN"
+
+ // ComparisonOperatorLessThan is a ComparisonOperator enum value
+ ComparisonOperatorLessThan = "LESS_THAN"
+
+ // ComparisonOperatorLessThanOrEqual is a ComparisonOperator enum value
+ ComparisonOperatorLessThanOrEqual = "LESS_THAN_OR_EQUAL"
+)
+
const (
// InstanceGroupStateProvisioning is a InstanceGroupState enum value
InstanceGroupStateProvisioning = "PROVISIONING"
@@ -5072,6 +8329,31 @@ const (
MarketTypeSpot = "SPOT"
)
+const (
+ // ScaleDownBehaviorTerminateAtInstanceHour is a ScaleDownBehavior enum value
+ ScaleDownBehaviorTerminateAtInstanceHour = "TERMINATE_AT_INSTANCE_HOUR"
+
+ // ScaleDownBehaviorTerminateAtTaskCompletion is a ScaleDownBehavior enum value
+ ScaleDownBehaviorTerminateAtTaskCompletion = "TERMINATE_AT_TASK_COMPLETION"
+)
+
+const (
+ // StatisticSampleCount is a Statistic enum value
+ StatisticSampleCount = "SAMPLE_COUNT"
+
+ // StatisticAverage is a Statistic enum value
+ StatisticAverage = "AVERAGE"
+
+ // StatisticSum is a Statistic enum value
+ StatisticSum = "SUM"
+
+ // StatisticMinimum is a Statistic enum value
+ StatisticMinimum = "MINIMUM"
+
+ // StatisticMaximum is a Statistic enum value
+ StatisticMaximum = "MAXIMUM"
+)
+
const (
// StepExecutionStatePending is a StepExecutionState enum value
StepExecutionStatePending = "PENDING"
@@ -5099,6 +8381,9 @@ const (
// StepStatePending is a StepState enum value
StepStatePending = "PENDING"
+ // StepStateCancelPending is a StepState enum value
+ StepStateCancelPending = "CANCEL_PENDING"
+
// StepStateRunning is a StepState enum value
StepStateRunning = "RUNNING"
@@ -5119,3 +8404,86 @@ const (
// StepStateChangeReasonCodeNone is a StepStateChangeReasonCode enum value
StepStateChangeReasonCodeNone = "NONE"
)
+
+const (
+ // UnitNone is a Unit enum value
+ UnitNone = "NONE"
+
+ // UnitSeconds is a Unit enum value
+ UnitSeconds = "SECONDS"
+
+ // UnitMicroSeconds is a Unit enum value
+ UnitMicroSeconds = "MICRO_SECONDS"
+
+ // UnitMilliSeconds is a Unit enum value
+ UnitMilliSeconds = "MILLI_SECONDS"
+
+ // UnitBytes is a Unit enum value
+ UnitBytes = "BYTES"
+
+ // UnitKiloBytes is a Unit enum value
+ UnitKiloBytes = "KILO_BYTES"
+
+ // UnitMegaBytes is a Unit enum value
+ UnitMegaBytes = "MEGA_BYTES"
+
+ // UnitGigaBytes is a Unit enum value
+ UnitGigaBytes = "GIGA_BYTES"
+
+ // UnitTeraBytes is a Unit enum value
+ UnitTeraBytes = "TERA_BYTES"
+
+ // UnitBits is a Unit enum value
+ UnitBits = "BITS"
+
+ // UnitKiloBits is a Unit enum value
+ UnitKiloBits = "KILO_BITS"
+
+ // UnitMegaBits is a Unit enum value
+ UnitMegaBits = "MEGA_BITS"
+
+ // UnitGigaBits is a Unit enum value
+ UnitGigaBits = "GIGA_BITS"
+
+ // UnitTeraBits is a Unit enum value
+ UnitTeraBits = "TERA_BITS"
+
+ // UnitPercent is a Unit enum value
+ UnitPercent = "PERCENT"
+
+ // UnitCount is a Unit enum value
+ UnitCount = "COUNT"
+
+ // UnitBytesPerSecond is a Unit enum value
+ UnitBytesPerSecond = "BYTES_PER_SECOND"
+
+ // UnitKiloBytesPerSecond is a Unit enum value
+ UnitKiloBytesPerSecond = "KILO_BYTES_PER_SECOND"
+
+ // UnitMegaBytesPerSecond is a Unit enum value
+ UnitMegaBytesPerSecond = "MEGA_BYTES_PER_SECOND"
+
+ // UnitGigaBytesPerSecond is a Unit enum value
+ UnitGigaBytesPerSecond = "GIGA_BYTES_PER_SECOND"
+
+ // UnitTeraBytesPerSecond is a Unit enum value
+ UnitTeraBytesPerSecond = "TERA_BYTES_PER_SECOND"
+
+ // UnitBitsPerSecond is a Unit enum value
+ UnitBitsPerSecond = "BITS_PER_SECOND"
+
+ // UnitKiloBitsPerSecond is a Unit enum value
+ UnitKiloBitsPerSecond = "KILO_BITS_PER_SECOND"
+
+ // UnitMegaBitsPerSecond is a Unit enum value
+ UnitMegaBitsPerSecond = "MEGA_BITS_PER_SECOND"
+
+ // UnitGigaBitsPerSecond is a Unit enum value
+ UnitGigaBitsPerSecond = "GIGA_BITS_PER_SECOND"
+
+ // UnitTeraBitsPerSecond is a Unit enum value
+ UnitTeraBitsPerSecond = "TERA_BITS_PER_SECOND"
+
+ // UnitCountPerSecond is a Unit enum value
+ UnitCountPerSecond = "COUNT_PER_SECOND"
+)
diff --git a/vendor/github.com/aws/aws-sdk-go/service/emr/emriface/interface.go b/vendor/github.com/aws/aws-sdk-go/service/emr/emriface/interface.go
index 504108c..2053a38 100644
--- a/vendor/github.com/aws/aws-sdk-go/service/emr/emriface/interface.go
+++ b/vendor/github.com/aws/aws-sdk-go/service/emr/emriface/interface.go
@@ -71,6 +71,10 @@ type EMRAPI interface {
AddTags(*emr.AddTagsInput) (*emr.AddTagsOutput, error)
+ CancelStepsRequest(*emr.CancelStepsInput) (*request.Request, *emr.CancelStepsOutput)
+
+ CancelSteps(*emr.CancelStepsInput) (*emr.CancelStepsOutput, error)
+
CreateSecurityConfigurationRequest(*emr.CreateSecurityConfigurationInput) (*request.Request, *emr.CreateSecurityConfigurationOutput)
CreateSecurityConfiguration(*emr.CreateSecurityConfigurationInput) (*emr.CreateSecurityConfigurationOutput, error)
@@ -133,6 +137,14 @@ type EMRAPI interface {
ModifyInstanceGroups(*emr.ModifyInstanceGroupsInput) (*emr.ModifyInstanceGroupsOutput, error)
+ PutAutoScalingPolicyRequest(*emr.PutAutoScalingPolicyInput) (*request.Request, *emr.PutAutoScalingPolicyOutput)
+
+ PutAutoScalingPolicy(*emr.PutAutoScalingPolicyInput) (*emr.PutAutoScalingPolicyOutput, error)
+
+ RemoveAutoScalingPolicyRequest(*emr.RemoveAutoScalingPolicyInput) (*request.Request, *emr.RemoveAutoScalingPolicyOutput)
+
+ RemoveAutoScalingPolicy(*emr.RemoveAutoScalingPolicyInput) (*emr.RemoveAutoScalingPolicyOutput, error)
+
RemoveTagsRequest(*emr.RemoveTagsInput) (*request.Request, *emr.RemoveTagsOutput)
RemoveTags(*emr.RemoveTagsInput) (*emr.RemoveTagsOutput, error)
diff --git a/vendor/github.com/aws/aws-sdk-go/service/emr/examples_test.go b/vendor/github.com/aws/aws-sdk-go/service/emr/examples_test.go
index 1fb9b24..282a2a3 100644
--- a/vendor/github.com/aws/aws-sdk-go/service/emr/examples_test.go
+++ b/vendor/github.com/aws/aws-sdk-go/service/emr/examples_test.go
@@ -30,7 +30,47 @@ func ExampleEMR_AddInstanceGroups() {
InstanceCount: aws.Int64(1), // Required
InstanceRole: aws.String("InstanceRoleType"), // Required
InstanceType: aws.String("InstanceType"), // Required
- BidPrice: aws.String("XmlStringMaxLen256"),
+ AutoScalingPolicy: &emr.AutoScalingPolicy{
+ Constraints: &emr.ScalingConstraints{ // Required
+ MaxCapacity: aws.Int64(1), // Required
+ MinCapacity: aws.Int64(1), // Required
+ },
+ Rules: []*emr.ScalingRule{ // Required
+ { // Required
+ Action: &emr.ScalingAction{ // Required
+ SimpleScalingPolicyConfiguration: &emr.SimpleScalingPolicyConfiguration{ // Required
+ ScalingAdjustment: aws.Int64(1), // Required
+ AdjustmentType: aws.String("AdjustmentType"),
+ CoolDown: aws.Int64(1),
+ },
+ Market: aws.String("MarketType"),
+ },
+ Name: aws.String("String"), // Required
+ Trigger: &emr.ScalingTrigger{ // Required
+ CloudWatchAlarmDefinition: &emr.CloudWatchAlarmDefinition{ // Required
+ ComparisonOperator: aws.String("ComparisonOperator"), // Required
+ MetricName: aws.String("String"), // Required
+ Period: aws.Int64(1), // Required
+ Threshold: aws.Float64(1.0), // Required
+ Dimensions: []*emr.MetricDimension{
+ { // Required
+ Key: aws.String("String"),
+ Value: aws.String("String"),
+ },
+ // More values...
+ },
+ EvaluationPeriods: aws.Int64(1),
+ Namespace: aws.String("String"),
+ Statistic: aws.String("Statistic"),
+ Unit: aws.String("Unit"),
+ },
+ },
+ Description: aws.String("String"),
+ },
+ // More values...
+ },
+ },
+ BidPrice: aws.String("XmlStringMaxLen256"),
Configurations: []*emr.Configuration{
{ // Required
Classification: aws.String("String"),
@@ -157,6 +197,35 @@ func ExampleEMR_AddTags() {
fmt.Println(resp)
}
+func ExampleEMR_CancelSteps() {
+ sess, err := session.NewSession()
+ if err != nil {
+ fmt.Println("failed to create session,", err)
+ return
+ }
+
+ svc := emr.New(sess)
+
+ params := &emr.CancelStepsInput{
+ ClusterId: aws.String("XmlStringMaxLen256"),
+ StepIds: []*string{
+ aws.String("XmlStringMaxLen256"), // Required
+ // More values...
+ },
+ }
+ resp, err := svc.CancelSteps(params)
+
+ if err != nil {
+ // Print the error, cast err to awserr.Error to get the Code and
+ // Message from an error.
+ fmt.Println(err.Error())
+ return
+ }
+
+ // Pretty-print the response data.
+ fmt.Println(resp)
+}
+
func ExampleEMR_CreateSecurityConfiguration() {
sess, err := session.NewSession()
if err != nil {
@@ -505,6 +574,7 @@ func ExampleEMR_ModifyInstanceGroups() {
svc := emr.New(sess)
params := &emr.ModifyInstanceGroupsInput{
+ ClusterId: aws.String("ClusterId"),
InstanceGroups: []*emr.InstanceGroupModifyConfig{
{ // Required
InstanceGroupId: aws.String("XmlStringMaxLen256"), // Required
@@ -544,6 +614,98 @@ func ExampleEMR_ModifyInstanceGroups() {
fmt.Println(resp)
}
+func ExampleEMR_PutAutoScalingPolicy() {
+ sess, err := session.NewSession()
+ if err != nil {
+ fmt.Println("failed to create session,", err)
+ return
+ }
+
+ svc := emr.New(sess)
+
+ params := &emr.PutAutoScalingPolicyInput{
+ AutoScalingPolicy: &emr.AutoScalingPolicy{ // Required
+ Constraints: &emr.ScalingConstraints{ // Required
+ MaxCapacity: aws.Int64(1), // Required
+ MinCapacity: aws.Int64(1), // Required
+ },
+ Rules: []*emr.ScalingRule{ // Required
+ { // Required
+ Action: &emr.ScalingAction{ // Required
+ SimpleScalingPolicyConfiguration: &emr.SimpleScalingPolicyConfiguration{ // Required
+ ScalingAdjustment: aws.Int64(1), // Required
+ AdjustmentType: aws.String("AdjustmentType"),
+ CoolDown: aws.Int64(1),
+ },
+ Market: aws.String("MarketType"),
+ },
+ Name: aws.String("String"), // Required
+ Trigger: &emr.ScalingTrigger{ // Required
+ CloudWatchAlarmDefinition: &emr.CloudWatchAlarmDefinition{ // Required
+ ComparisonOperator: aws.String("ComparisonOperator"), // Required
+ MetricName: aws.String("String"), // Required
+ Period: aws.Int64(1), // Required
+ Threshold: aws.Float64(1.0), // Required
+ Dimensions: []*emr.MetricDimension{
+ { // Required
+ Key: aws.String("String"),
+ Value: aws.String("String"),
+ },
+ // More values...
+ },
+ EvaluationPeriods: aws.Int64(1),
+ Namespace: aws.String("String"),
+ Statistic: aws.String("Statistic"),
+ Unit: aws.String("Unit"),
+ },
+ },
+ Description: aws.String("String"),
+ },
+ // More values...
+ },
+ },
+ ClusterId: aws.String("ClusterId"), // Required
+ InstanceGroupId: aws.String("InstanceGroupId"), // Required
+ }
+ resp, err := svc.PutAutoScalingPolicy(params)
+
+ if err != nil {
+ // Print the error, cast err to awserr.Error to get the Code and
+ // Message from an error.
+ fmt.Println(err.Error())
+ return
+ }
+
+ // Pretty-print the response data.
+ fmt.Println(resp)
+}
+
+func ExampleEMR_RemoveAutoScalingPolicy() {
+ sess, err := session.NewSession()
+ if err != nil {
+ fmt.Println("failed to create session,", err)
+ return
+ }
+
+ svc := emr.New(sess)
+
+ params := &emr.RemoveAutoScalingPolicyInput{
+ ClusterId: aws.String("ClusterId"), // Required
+ InstanceGroupId: aws.String("InstanceGroupId"), // Required
+ }
+ resp, err := svc.RemoveAutoScalingPolicy(params)
+
+ if err != nil {
+ // Print the error, cast err to awserr.Error to get the Code and
+ // Message from an error.
+ fmt.Println(err.Error())
+ return
+ }
+
+ // Pretty-print the response data.
+ fmt.Println(resp)
+}
+
func ExampleEMR_RemoveTags() {
sess, err := session.NewSession()
if err != nil {
@@ -603,7 +765,47 @@ func ExampleEMR_RunJobFlow() {
InstanceCount: aws.Int64(1), // Required
InstanceRole: aws.String("InstanceRoleType"), // Required
InstanceType: aws.String("InstanceType"), // Required
- BidPrice: aws.String("XmlStringMaxLen256"),
+ AutoScalingPolicy: &emr.AutoScalingPolicy{
+ Constraints: &emr.ScalingConstraints{ // Required
+ MaxCapacity: aws.Int64(1), // Required
+ MinCapacity: aws.Int64(1), // Required
+ },
+ Rules: []*emr.ScalingRule{ // Required
+ { // Required
+ Action: &emr.ScalingAction{ // Required
+ SimpleScalingPolicyConfiguration: &emr.SimpleScalingPolicyConfiguration{ // Required
+ ScalingAdjustment: aws.Int64(1), // Required
+ AdjustmentType: aws.String("AdjustmentType"),
+ CoolDown: aws.Int64(1),
+ },
+ Market: aws.String("MarketType"),
+ },
+ Name: aws.String("String"), // Required
+ Trigger: &emr.ScalingTrigger{ // Required
+ CloudWatchAlarmDefinition: &emr.CloudWatchAlarmDefinition{ // Required
+ ComparisonOperator: aws.String("ComparisonOperator"), // Required
+ MetricName: aws.String("String"), // Required
+ Period: aws.Int64(1), // Required
+ Threshold: aws.Float64(1.0), // Required
+ Dimensions: []*emr.MetricDimension{
+ { // Required
+ Key: aws.String("String"),
+ Value: aws.String("String"),
+ },
+ // More values...
+ },
+ EvaluationPeriods: aws.Int64(1),
+ Namespace: aws.String("String"),
+ Statistic: aws.String("Statistic"),
+ Unit: aws.String("Unit"),
+ },
+ },
+ Description: aws.String("String"),
+ },
+ // More values...
+ },
+ },
+ BidPrice: aws.String("XmlStringMaxLen256"),
Configurations: []*emr.Configuration{
{ // Required
Classification: aws.String("String"),
@@ -663,6 +865,7 @@ func ExampleEMR_RunJobFlow() {
},
// More values...
},
+ AutoScalingRole: aws.String("XmlString"),
BootstrapActions: []*emr.BootstrapActionConfig{
{ // Required
Name: aws.String("XmlStringMaxLen256"), // Required
@@ -702,6 +905,7 @@ func ExampleEMR_RunJobFlow() {
// More values...
},
ReleaseLabel: aws.String("XmlStringMaxLen256"),
+ ScaleDownBehavior: aws.String("ScaleDownBehavior"),
SecurityConfiguration: aws.String("XmlString"),
ServiceRole: aws.String("XmlString"),
Steps: []*emr.StepConfig{
diff --git a/vendor/github.com/aws/aws-sdk-go/service/emr/service.go b/vendor/github.com/aws/aws-sdk-go/service/emr/service.go
index 755e169..793d77d 100644
--- a/vendor/github.com/aws/aws-sdk-go/service/emr/service.go
+++ b/vendor/github.com/aws/aws-sdk-go/service/emr/service.go
@@ -11,11 +11,10 @@ import (
"github.com/aws/aws-sdk-go/private/protocol/jsonrpc"
)
-// Amazon Elastic MapReduce (Amazon EMR) is a web service that makes it easy
-// to process large amounts of data efficiently. Amazon EMR uses Hadoop processing
-// combined with several AWS products to do tasks such as web indexing, data
-// mining, log file analysis, machine learning, scientific simulation, and data
-// warehousing.
+// Amazon EMR is a web service that makes it easy to process large amounts of
+// data efficiently. Amazon EMR uses Hadoop processing combined with several
+// AWS products to do tasks such as web indexing, data mining, log file analysis,
+// machine learning, scientific simulation, and data warehousing.
//The service client's operations are safe to be used concurrently.
// It is not safe to mutate any of the client's properties though.
type EMR struct {
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 83b7a02..dcfc2ba 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
@@ -725,6 +725,18 @@ func (s *BufferingHints) Validate() error {
return nil
}
+// SetIntervalInSeconds sets the IntervalInSeconds field's value.
+func (s *BufferingHints) SetIntervalInSeconds(v int64) *BufferingHints {
+ s.IntervalInSeconds = &v
+ return s
+}
+
+// SetSizeInMBs sets the SizeInMBs field's value.
+func (s *BufferingHints) SetSizeInMBs(v int64) *BufferingHints {
+ s.SizeInMBs = &v
+ return s
+}
+
// Describes CloudWatch logging options for your delivery stream.
type CloudWatchLoggingOptions struct {
_ struct{} `type:"structure"`
@@ -751,6 +763,24 @@ func (s CloudWatchLoggingOptions) GoString() string {
return s.String()
}
+// SetEnabled sets the Enabled field's value.
+func (s *CloudWatchLoggingOptions) SetEnabled(v bool) *CloudWatchLoggingOptions {
+ s.Enabled = &v
+ return s
+}
+
+// SetLogGroupName sets the LogGroupName field's value.
+func (s *CloudWatchLoggingOptions) SetLogGroupName(v string) *CloudWatchLoggingOptions {
+ s.LogGroupName = &v
+ return s
+}
+
+// SetLogStreamName sets the LogStreamName field's value.
+func (s *CloudWatchLoggingOptions) SetLogStreamName(v string) *CloudWatchLoggingOptions {
+ s.LogStreamName = &v
+ return s
+}
+
// Describes a COPY command for Amazon Redshift.
type CopyCommand struct {
_ struct{} `type:"structure"`
@@ -812,6 +842,24 @@ func (s *CopyCommand) Validate() error {
return nil
}
+// SetCopyOptions sets the CopyOptions field's value.
+func (s *CopyCommand) SetCopyOptions(v string) *CopyCommand {
+ s.CopyOptions = &v
+ return s
+}
+
+// SetDataTableColumns sets the DataTableColumns field's value.
+func (s *CopyCommand) SetDataTableColumns(v string) *CopyCommand {
+ s.DataTableColumns = &v
+ return s
+}
+
+// SetDataTableName sets the DataTableName field's value.
+func (s *CopyCommand) SetDataTableName(v string) *CopyCommand {
+ s.DataTableName = &v
+ return s
+}
+
// Contains the parameters for CreateDeliveryStream.
type CreateDeliveryStreamInput struct {
_ struct{} `type:"structure"`
@@ -877,6 +925,30 @@ func (s *CreateDeliveryStreamInput) Validate() error {
return nil
}
+// SetDeliveryStreamName sets the DeliveryStreamName field's value.
+func (s *CreateDeliveryStreamInput) SetDeliveryStreamName(v string) *CreateDeliveryStreamInput {
+ s.DeliveryStreamName = &v
+ return s
+}
+
+// SetElasticsearchDestinationConfiguration sets the ElasticsearchDestinationConfiguration field's value.
+func (s *CreateDeliveryStreamInput) SetElasticsearchDestinationConfiguration(v *ElasticsearchDestinationConfiguration) *CreateDeliveryStreamInput {
+ s.ElasticsearchDestinationConfiguration = v
+ return s
+}
+
+// SetRedshiftDestinationConfiguration sets the RedshiftDestinationConfiguration field's value.
+func (s *CreateDeliveryStreamInput) SetRedshiftDestinationConfiguration(v *RedshiftDestinationConfiguration) *CreateDeliveryStreamInput {
+ s.RedshiftDestinationConfiguration = v
+ return s
+}
+
+// SetS3DestinationConfiguration sets the S3DestinationConfiguration field's value.
+func (s *CreateDeliveryStreamInput) SetS3DestinationConfiguration(v *S3DestinationConfiguration) *CreateDeliveryStreamInput {
+ s.S3DestinationConfiguration = v
+ return s
+}
+
// Contains the output of CreateDeliveryStream.
type CreateDeliveryStreamOutput struct {
_ struct{} `type:"structure"`
@@ -895,6 +967,12 @@ func (s CreateDeliveryStreamOutput) GoString() string {
return s.String()
}
+// SetDeliveryStreamARN sets the DeliveryStreamARN field's value.
+func (s *CreateDeliveryStreamOutput) SetDeliveryStreamARN(v string) *CreateDeliveryStreamOutput {
+ s.DeliveryStreamARN = &v
+ return s
+}
+
// Contains the parameters for DeleteDeliveryStream.
type DeleteDeliveryStreamInput struct {
_ struct{} `type:"structure"`
@@ -931,6 +1009,12 @@ func (s *DeleteDeliveryStreamInput) Validate() error {
return nil
}
+// SetDeliveryStreamName sets the DeliveryStreamName field's value.
+func (s *DeleteDeliveryStreamInput) SetDeliveryStreamName(v string) *DeleteDeliveryStreamInput {
+ s.DeliveryStreamName = &v
+ return s
+}
+
// Contains the output of DeleteDeliveryStream.
type DeleteDeliveryStreamOutput struct {
_ struct{} `type:"structure"`
@@ -1001,6 +1085,54 @@ func (s DeliveryStreamDescription) GoString() string {
return s.String()
}
+// SetCreateTimestamp sets the CreateTimestamp field's value.
+func (s *DeliveryStreamDescription) SetCreateTimestamp(v time.Time) *DeliveryStreamDescription {
+ s.CreateTimestamp = &v
+ return s
+}
+
+// SetDeliveryStreamARN sets the DeliveryStreamARN field's value.
+func (s *DeliveryStreamDescription) SetDeliveryStreamARN(v string) *DeliveryStreamDescription {
+ s.DeliveryStreamARN = &v
+ return s
+}
+
+// SetDeliveryStreamName sets the DeliveryStreamName field's value.
+func (s *DeliveryStreamDescription) SetDeliveryStreamName(v string) *DeliveryStreamDescription {
+ s.DeliveryStreamName = &v
+ return s
+}
+
+// SetDeliveryStreamStatus sets the DeliveryStreamStatus field's value.
+func (s *DeliveryStreamDescription) SetDeliveryStreamStatus(v string) *DeliveryStreamDescription {
+ s.DeliveryStreamStatus = &v
+ return s
+}
+
+// SetDestinations sets the Destinations field's value.
+func (s *DeliveryStreamDescription) SetDestinations(v []*DestinationDescription) *DeliveryStreamDescription {
+ s.Destinations = v
+ return s
+}
+
+// SetHasMoreDestinations sets the HasMoreDestinations field's value.
+func (s *DeliveryStreamDescription) SetHasMoreDestinations(v bool) *DeliveryStreamDescription {
+ s.HasMoreDestinations = &v
+ return s
+}
+
+// SetLastUpdateTimestamp sets the LastUpdateTimestamp field's value.
+func (s *DeliveryStreamDescription) SetLastUpdateTimestamp(v time.Time) *DeliveryStreamDescription {
+ s.LastUpdateTimestamp = &v
+ return s
+}
+
+// SetVersionId sets the VersionId field's value.
+func (s *DeliveryStreamDescription) SetVersionId(v string) *DeliveryStreamDescription {
+ s.VersionId = &v
+ return s
+}
+
// Contains the parameters for DescribeDeliveryStream.
type DescribeDeliveryStreamInput struct {
_ struct{} `type:"structure"`
@@ -1051,6 +1183,24 @@ func (s *DescribeDeliveryStreamInput) Validate() error {
return nil
}
+// SetDeliveryStreamName sets the DeliveryStreamName field's value.
+func (s *DescribeDeliveryStreamInput) SetDeliveryStreamName(v string) *DescribeDeliveryStreamInput {
+ s.DeliveryStreamName = &v
+ return s
+}
+
+// SetExclusiveStartDestinationId sets the ExclusiveStartDestinationId field's value.
+func (s *DescribeDeliveryStreamInput) SetExclusiveStartDestinationId(v string) *DescribeDeliveryStreamInput {
+ s.ExclusiveStartDestinationId = &v
+ return s
+}
+
+// SetLimit sets the Limit field's value.
+func (s *DescribeDeliveryStreamInput) SetLimit(v int64) *DescribeDeliveryStreamInput {
+ s.Limit = &v
+ return s
+}
+
// Contains the output of DescribeDeliveryStream.
type DescribeDeliveryStreamOutput struct {
_ struct{} `type:"structure"`
@@ -1071,6 +1221,12 @@ func (s DescribeDeliveryStreamOutput) GoString() string {
return s.String()
}
+// SetDeliveryStreamDescription sets the DeliveryStreamDescription field's value.
+func (s *DescribeDeliveryStreamOutput) SetDeliveryStreamDescription(v *DeliveryStreamDescription) *DescribeDeliveryStreamOutput {
+ s.DeliveryStreamDescription = v
+ return s
+}
+
// Describes the destination for a delivery stream.
type DestinationDescription struct {
_ struct{} `type:"structure"`
@@ -1100,6 +1256,30 @@ func (s DestinationDescription) GoString() string {
return s.String()
}
+// SetDestinationId sets the DestinationId field's value.
+func (s *DestinationDescription) SetDestinationId(v string) *DestinationDescription {
+ s.DestinationId = &v
+ return s
+}
+
+// SetElasticsearchDestinationDescription sets the ElasticsearchDestinationDescription field's value.
+func (s *DestinationDescription) SetElasticsearchDestinationDescription(v *ElasticsearchDestinationDescription) *DestinationDescription {
+ s.ElasticsearchDestinationDescription = v
+ return s
+}
+
+// SetRedshiftDestinationDescription sets the RedshiftDestinationDescription field's value.
+func (s *DestinationDescription) SetRedshiftDestinationDescription(v *RedshiftDestinationDescription) *DestinationDescription {
+ s.RedshiftDestinationDescription = v
+ return s
+}
+
+// SetS3DestinationDescription sets the S3DestinationDescription field's value.
+func (s *DestinationDescription) SetS3DestinationDescription(v *S3DestinationDescription) *DestinationDescription {
+ s.S3DestinationDescription = v
+ return s
+}
+
// Describes the buffering to perform before delivering data to the Amazon ES
// destination.
type ElasticsearchBufferingHints struct {
@@ -1144,6 +1324,18 @@ func (s *ElasticsearchBufferingHints) Validate() error {
return nil
}
+// SetIntervalInSeconds sets the IntervalInSeconds field's value.
+func (s *ElasticsearchBufferingHints) SetIntervalInSeconds(v int64) *ElasticsearchBufferingHints {
+ s.IntervalInSeconds = &v
+ return s
+}
+
+// SetSizeInMBs sets the SizeInMBs field's value.
+func (s *ElasticsearchBufferingHints) SetSizeInMBs(v int64) *ElasticsearchBufferingHints {
+ s.SizeInMBs = &v
+ return s
+}
+
// Describes the configuration of a destination in Amazon ES.
type ElasticsearchDestinationConfiguration struct {
_ struct{} `type:"structure"`
@@ -1262,6 +1454,66 @@ func (s *ElasticsearchDestinationConfiguration) Validate() error {
return nil
}
+// SetBufferingHints sets the BufferingHints field's value.
+func (s *ElasticsearchDestinationConfiguration) SetBufferingHints(v *ElasticsearchBufferingHints) *ElasticsearchDestinationConfiguration {
+ s.BufferingHints = v
+ return s
+}
+
+// SetCloudWatchLoggingOptions sets the CloudWatchLoggingOptions field's value.
+func (s *ElasticsearchDestinationConfiguration) SetCloudWatchLoggingOptions(v *CloudWatchLoggingOptions) *ElasticsearchDestinationConfiguration {
+ s.CloudWatchLoggingOptions = v
+ return s
+}
+
+// SetDomainARN sets the DomainARN field's value.
+func (s *ElasticsearchDestinationConfiguration) SetDomainARN(v string) *ElasticsearchDestinationConfiguration {
+ s.DomainARN = &v
+ return s
+}
+
+// SetIndexName sets the IndexName field's value.
+func (s *ElasticsearchDestinationConfiguration) SetIndexName(v string) *ElasticsearchDestinationConfiguration {
+ s.IndexName = &v
+ return s
+}
+
+// SetIndexRotationPeriod sets the IndexRotationPeriod field's value.
+func (s *ElasticsearchDestinationConfiguration) SetIndexRotationPeriod(v string) *ElasticsearchDestinationConfiguration {
+ s.IndexRotationPeriod = &v
+ return s
+}
+
+// SetRetryOptions sets the RetryOptions field's value.
+func (s *ElasticsearchDestinationConfiguration) SetRetryOptions(v *ElasticsearchRetryOptions) *ElasticsearchDestinationConfiguration {
+ s.RetryOptions = v
+ return s
+}
+
+// SetRoleARN sets the RoleARN field's value.
+func (s *ElasticsearchDestinationConfiguration) SetRoleARN(v string) *ElasticsearchDestinationConfiguration {
+ s.RoleARN = &v
+ return s
+}
+
+// SetS3BackupMode sets the S3BackupMode field's value.
+func (s *ElasticsearchDestinationConfiguration) SetS3BackupMode(v string) *ElasticsearchDestinationConfiguration {
+ s.S3BackupMode = &v
+ return s
+}
+
+// SetS3Configuration sets the S3Configuration field's value.
+func (s *ElasticsearchDestinationConfiguration) SetS3Configuration(v *S3DestinationConfiguration) *ElasticsearchDestinationConfiguration {
+ s.S3Configuration = v
+ return s
+}
+
+// SetTypeName sets the TypeName field's value.
+func (s *ElasticsearchDestinationConfiguration) SetTypeName(v string) *ElasticsearchDestinationConfiguration {
+ s.TypeName = &v
+ return s
+}
+
// The destination description in Amazon ES.
type ElasticsearchDestinationDescription struct {
_ struct{} `type:"structure"`
@@ -1307,6 +1559,66 @@ func (s ElasticsearchDestinationDescription) GoString() string {
return s.String()
}
+// SetBufferingHints sets the BufferingHints field's value.
+func (s *ElasticsearchDestinationDescription) SetBufferingHints(v *ElasticsearchBufferingHints) *ElasticsearchDestinationDescription {
+ s.BufferingHints = v
+ return s
+}
+
+// SetCloudWatchLoggingOptions sets the CloudWatchLoggingOptions field's value.
+func (s *ElasticsearchDestinationDescription) SetCloudWatchLoggingOptions(v *CloudWatchLoggingOptions) *ElasticsearchDestinationDescription {
+ s.CloudWatchLoggingOptions = v
+ return s
+}
+
+// SetDomainARN sets the DomainARN field's value.
+func (s *ElasticsearchDestinationDescription) SetDomainARN(v string) *ElasticsearchDestinationDescription {
+ s.DomainARN = &v
+ return s
+}
+
+// SetIndexName sets the IndexName field's value.
+func (s *ElasticsearchDestinationDescription) SetIndexName(v string) *ElasticsearchDestinationDescription {
+ s.IndexName = &v
+ return s
+}
+
+// SetIndexRotationPeriod sets the IndexRotationPeriod field's value.
+func (s *ElasticsearchDestinationDescription) SetIndexRotationPeriod(v string) *ElasticsearchDestinationDescription {
+ s.IndexRotationPeriod = &v
+ return s
+}
+
+// SetRetryOptions sets the RetryOptions field's value.
+func (s *ElasticsearchDestinationDescription) SetRetryOptions(v *ElasticsearchRetryOptions) *ElasticsearchDestinationDescription {
+ s.RetryOptions = v
+ return s
+}
+
+// SetRoleARN sets the RoleARN field's value.
+func (s *ElasticsearchDestinationDescription) SetRoleARN(v string) *ElasticsearchDestinationDescription {
+ s.RoleARN = &v
+ return s
+}
+
+// SetS3BackupMode sets the S3BackupMode field's value.
+func (s *ElasticsearchDestinationDescription) SetS3BackupMode(v string) *ElasticsearchDestinationDescription {
+ s.S3BackupMode = &v
+ return s
+}
+
+// SetS3DestinationDescription sets the S3DestinationDescription field's value.
+func (s *ElasticsearchDestinationDescription) SetS3DestinationDescription(v *S3DestinationDescription) *ElasticsearchDestinationDescription {
+ s.S3DestinationDescription = v
+ return s
+}
+
+// SetTypeName sets the TypeName field's value.
+func (s *ElasticsearchDestinationDescription) SetTypeName(v string) *ElasticsearchDestinationDescription {
+ s.TypeName = &v
+ return s
+}
+
// Describes an update for a destination in Amazon ES.
type ElasticsearchDestinationUpdate struct {
_ struct{} `type:"structure"`
@@ -1390,6 +1702,60 @@ func (s *ElasticsearchDestinationUpdate) Validate() error {
return nil
}
+// SetBufferingHints sets the BufferingHints field's value.
+func (s *ElasticsearchDestinationUpdate) SetBufferingHints(v *ElasticsearchBufferingHints) *ElasticsearchDestinationUpdate {
+ s.BufferingHints = v
+ return s
+}
+
+// SetCloudWatchLoggingOptions sets the CloudWatchLoggingOptions field's value.
+func (s *ElasticsearchDestinationUpdate) SetCloudWatchLoggingOptions(v *CloudWatchLoggingOptions) *ElasticsearchDestinationUpdate {
+ s.CloudWatchLoggingOptions = v
+ return s
+}
+
+// SetDomainARN sets the DomainARN field's value.
+func (s *ElasticsearchDestinationUpdate) SetDomainARN(v string) *ElasticsearchDestinationUpdate {
+ s.DomainARN = &v
+ return s
+}
+
+// SetIndexName sets the IndexName field's value.
+func (s *ElasticsearchDestinationUpdate) SetIndexName(v string) *ElasticsearchDestinationUpdate {
+ s.IndexName = &v
+ return s
+}
+
+// SetIndexRotationPeriod sets the IndexRotationPeriod field's value.
+func (s *ElasticsearchDestinationUpdate) SetIndexRotationPeriod(v string) *ElasticsearchDestinationUpdate {
+ s.IndexRotationPeriod = &v
+ return s
+}
+
+// SetRetryOptions sets the RetryOptions field's value.
+func (s *ElasticsearchDestinationUpdate) SetRetryOptions(v *ElasticsearchRetryOptions) *ElasticsearchDestinationUpdate {
+ s.RetryOptions = v
+ return s
+}
+
+// SetRoleARN sets the RoleARN field's value.
+func (s *ElasticsearchDestinationUpdate) SetRoleARN(v string) *ElasticsearchDestinationUpdate {
+ s.RoleARN = &v
+ return s
+}
+
+// SetS3Update sets the S3Update field's value.
+func (s *ElasticsearchDestinationUpdate) SetS3Update(v *S3DestinationUpdate) *ElasticsearchDestinationUpdate {
+ s.S3Update = v
+ return s
+}
+
+// SetTypeName sets the TypeName field's value.
+func (s *ElasticsearchDestinationUpdate) SetTypeName(v string) *ElasticsearchDestinationUpdate {
+ s.TypeName = &v
+ return s
+}
+
// Configures retry behavior in the event that Firehose is unable to deliver
// documents to Amazon ES.
type ElasticsearchRetryOptions struct {
@@ -1413,6 +1779,12 @@ func (s ElasticsearchRetryOptions) GoString() string {
return s.String()
}
+// SetDurationInSeconds sets the DurationInSeconds field's value.
+func (s *ElasticsearchRetryOptions) SetDurationInSeconds(v int64) *ElasticsearchRetryOptions {
+ s.DurationInSeconds = &v
+ return s
+}
+
// Describes the encryption for a destination in Amazon S3.
type EncryptionConfiguration struct {
_ struct{} `type:"structure"`
@@ -1450,6 +1822,18 @@ func (s *EncryptionConfiguration) Validate() error {
return nil
}
+// SetKMSEncryptionConfig sets the KMSEncryptionConfig field's value.
+func (s *EncryptionConfiguration) SetKMSEncryptionConfig(v *KMSEncryptionConfig) *EncryptionConfiguration {
+ s.KMSEncryptionConfig = v
+ return s
+}
+
+// SetNoEncryptionConfig sets the NoEncryptionConfig field's value.
+func (s *EncryptionConfiguration) SetNoEncryptionConfig(v string) *EncryptionConfiguration {
+ s.NoEncryptionConfig = &v
+ return s
+}
+
// Describes an encryption key for a destination in Amazon S3.
type KMSEncryptionConfig struct {
_ struct{} `type:"structure"`
@@ -1487,6 +1871,12 @@ func (s *KMSEncryptionConfig) Validate() error {
return nil
}
+// SetAWSKMSKeyARN sets the AWSKMSKeyARN field's value.
+func (s *KMSEncryptionConfig) SetAWSKMSKeyARN(v string) *KMSEncryptionConfig {
+ s.AWSKMSKeyARN = &v
+ return s
+}
+
// Contains the parameters for ListDeliveryStreams.
type ListDeliveryStreamsInput struct {
_ struct{} `type:"structure"`
@@ -1524,6 +1914,18 @@ func (s *ListDeliveryStreamsInput) Validate() error {
return nil
}
+// SetExclusiveStartDeliveryStreamName sets the ExclusiveStartDeliveryStreamName field's value.
+func (s *ListDeliveryStreamsInput) SetExclusiveStartDeliveryStreamName(v string) *ListDeliveryStreamsInput {
+ s.ExclusiveStartDeliveryStreamName = &v
+ return s
+}
+
+// SetLimit sets the Limit field's value.
+func (s *ListDeliveryStreamsInput) SetLimit(v int64) *ListDeliveryStreamsInput {
+ s.Limit = &v
+ return s
+}
+
// Contains the output of ListDeliveryStreams.
type ListDeliveryStreamsOutput struct {
_ struct{} `type:"structure"`
@@ -1549,6 +1951,18 @@ func (s ListDeliveryStreamsOutput) GoString() string {
return s.String()
}
+// SetDeliveryStreamNames sets the DeliveryStreamNames field's value.
+func (s *ListDeliveryStreamsOutput) SetDeliveryStreamNames(v []*string) *ListDeliveryStreamsOutput {
+ s.DeliveryStreamNames = v
+ return s
+}
+
+// SetHasMoreDeliveryStreams sets the HasMoreDeliveryStreams field's value.
+func (s *ListDeliveryStreamsOutput) SetHasMoreDeliveryStreams(v bool) *ListDeliveryStreamsOutput {
+ s.HasMoreDeliveryStreams = &v
+ return s
+}
+
// Contains the parameters for PutRecordBatch.
type PutRecordBatchInput struct {
_ struct{} `type:"structure"`
@@ -1606,6 +2020,18 @@ func (s *PutRecordBatchInput) Validate() error {
return nil
}
+// SetDeliveryStreamName sets the DeliveryStreamName field's value.
+func (s *PutRecordBatchInput) SetDeliveryStreamName(v string) *PutRecordBatchInput {
+ s.DeliveryStreamName = &v
+ return s
+}
+
+// SetRecords sets the Records field's value.
+func (s *PutRecordBatchInput) SetRecords(v []*Record) *PutRecordBatchInput {
+ s.Records = v
+ return s
+}
+
// Contains the output of PutRecordBatch.
type PutRecordBatchOutput struct {
_ struct{} `type:"structure"`
@@ -1632,6 +2058,18 @@ func (s PutRecordBatchOutput) GoString() string {
return s.String()
}
+// SetFailedPutCount sets the FailedPutCount field's value.
+func (s *PutRecordBatchOutput) SetFailedPutCount(v int64) *PutRecordBatchOutput {
+ s.FailedPutCount = &v
+ return s
+}
+
+// SetRequestResponses sets the RequestResponses field's value.
+func (s *PutRecordBatchOutput) SetRequestResponses(v []*PutRecordBatchResponseEntry) *PutRecordBatchOutput {
+ s.RequestResponses = v
+ return s
+}
+
// Contains the result for an individual record from a PutRecordBatch request.
// 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
@@ -1659,6 +2097,24 @@ func (s PutRecordBatchResponseEntry) GoString() string {
return s.String()
}
+// SetErrorCode sets the ErrorCode field's value.
+func (s *PutRecordBatchResponseEntry) SetErrorCode(v string) *PutRecordBatchResponseEntry {
+ s.ErrorCode = &v
+ return s
+}
+
+// SetErrorMessage sets the ErrorMessage field's value.
+func (s *PutRecordBatchResponseEntry) SetErrorMessage(v string) *PutRecordBatchResponseEntry {
+ s.ErrorMessage = &v
+ return s
+}
+
+// SetRecordId sets the RecordId field's value.
+func (s *PutRecordBatchResponseEntry) SetRecordId(v string) *PutRecordBatchResponseEntry {
+ s.RecordId = &v
+ return s
+}
+
// Contains the parameters for PutRecord.
type PutRecordInput struct {
_ struct{} `type:"structure"`
@@ -1708,6 +2164,18 @@ func (s *PutRecordInput) Validate() error {
return nil
}
+// SetDeliveryStreamName sets the DeliveryStreamName field's value.
+func (s *PutRecordInput) SetDeliveryStreamName(v string) *PutRecordInput {
+ s.DeliveryStreamName = &v
+ return s
+}
+
+// SetRecord sets the Record field's value.
+func (s *PutRecordInput) SetRecord(v *Record) *PutRecordInput {
+ s.Record = v
+ return s
+}
+
// Contains the output of PutRecord.
type PutRecordOutput struct {
_ struct{} `type:"structure"`
@@ -1728,6 +2196,12 @@ func (s PutRecordOutput) GoString() string {
return s.String()
}
+// SetRecordId sets the RecordId field's value.
+func (s *PutRecordOutput) SetRecordId(v string) *PutRecordOutput {
+ s.RecordId = &v
+ return s
+}
+
// The unit of data in a delivery stream.
type Record struct {
_ struct{} `type:"structure"`
@@ -1764,6 +2238,12 @@ func (s *Record) Validate() error {
return nil
}
+// SetData sets the Data field's value.
+func (s *Record) SetData(v []byte) *Record {
+ s.Data = v
+ return s
+}
+
// Describes the configuration of a destination in Amazon Redshift.
type RedshiftDestinationConfiguration struct {
_ struct{} `type:"structure"`
@@ -1871,6 +2351,54 @@ func (s *RedshiftDestinationConfiguration) Validate() error {
return nil
}
+// SetCloudWatchLoggingOptions sets the CloudWatchLoggingOptions field's value.
+func (s *RedshiftDestinationConfiguration) SetCloudWatchLoggingOptions(v *CloudWatchLoggingOptions) *RedshiftDestinationConfiguration {
+ s.CloudWatchLoggingOptions = v
+ return s
+}
+
+// SetClusterJDBCURL sets the ClusterJDBCURL field's value.
+func (s *RedshiftDestinationConfiguration) SetClusterJDBCURL(v string) *RedshiftDestinationConfiguration {
+ s.ClusterJDBCURL = &v
+ return s
+}
+
+// SetCopyCommand sets the CopyCommand field's value.
+func (s *RedshiftDestinationConfiguration) SetCopyCommand(v *CopyCommand) *RedshiftDestinationConfiguration {
+ s.CopyCommand = v
+ return s
+}
+
+// SetPassword sets the Password field's value.
+func (s *RedshiftDestinationConfiguration) SetPassword(v string) *RedshiftDestinationConfiguration {
+ s.Password = &v
+ return s
+}
+
+// SetRetryOptions sets the RetryOptions field's value.
+func (s *RedshiftDestinationConfiguration) SetRetryOptions(v *RedshiftRetryOptions) *RedshiftDestinationConfiguration {
+ s.RetryOptions = v
+ return s
+}
+
+// SetRoleARN sets the RoleARN field's value.
+func (s *RedshiftDestinationConfiguration) SetRoleARN(v string) *RedshiftDestinationConfiguration {
+ s.RoleARN = &v
+ return s
+}
+
+// SetS3Configuration sets the S3Configuration field's value.
+func (s *RedshiftDestinationConfiguration) SetS3Configuration(v *S3DestinationConfiguration) *RedshiftDestinationConfiguration {
+ s.S3Configuration = v
+ return s
+}
+
+// SetUsername sets the Username field's value.
+func (s *RedshiftDestinationConfiguration) SetUsername(v string) *RedshiftDestinationConfiguration {
+ s.Username = &v
+ return s
+}
+
// Describes a destination in Amazon Redshift.
type RedshiftDestinationDescription struct {
_ struct{} `type:"structure"`
@@ -1918,6 +2446,48 @@ func (s RedshiftDestinationDescription) GoString() string {
return s.String()
}
+// SetCloudWatchLoggingOptions sets the CloudWatchLoggingOptions field's value.
+func (s *RedshiftDestinationDescription) SetCloudWatchLoggingOptions(v *CloudWatchLoggingOptions) *RedshiftDestinationDescription {
+ s.CloudWatchLoggingOptions = v
+ return s
+}
+
+// SetClusterJDBCURL sets the ClusterJDBCURL field's value.
+func (s *RedshiftDestinationDescription) SetClusterJDBCURL(v string) *RedshiftDestinationDescription {
+ s.ClusterJDBCURL = &v
+ return s
+}
+
+// SetCopyCommand sets the CopyCommand field's value.
+func (s *RedshiftDestinationDescription) SetCopyCommand(v *CopyCommand) *RedshiftDestinationDescription {
+ s.CopyCommand = v
+ return s
+}
+
+// SetRetryOptions sets the RetryOptions field's value.
+func (s *RedshiftDestinationDescription) SetRetryOptions(v *RedshiftRetryOptions) *RedshiftDestinationDescription {
+ s.RetryOptions = v
+ return s
+}
+
+// SetRoleARN sets the RoleARN field's value.
+func (s *RedshiftDestinationDescription) SetRoleARN(v string) *RedshiftDestinationDescription {
+ s.RoleARN = &v
+ return s
+}
+
+// SetS3DestinationDescription sets the S3DestinationDescription field's value.
+func (s *RedshiftDestinationDescription) SetS3DestinationDescription(v *S3DestinationDescription) *RedshiftDestinationDescription {
+ s.S3DestinationDescription = v
+ return s
+}
+
+// SetUsername sets the Username field's value.
+func (s *RedshiftDestinationDescription) SetUsername(v string) *RedshiftDestinationDescription {
+ s.Username = &v
+ return s
+}
+
// Describes an update for a destination in Amazon Redshift.
type RedshiftDestinationUpdate struct {
_ struct{} `type:"structure"`
@@ -1994,6 +2564,54 @@ func (s *RedshiftDestinationUpdate) Validate() error {
return nil
}
+// SetCloudWatchLoggingOptions sets the CloudWatchLoggingOptions field's value.
+func (s *RedshiftDestinationUpdate) SetCloudWatchLoggingOptions(v *CloudWatchLoggingOptions) *RedshiftDestinationUpdate {
+ s.CloudWatchLoggingOptions = v
+ return s
+}
+
+// SetClusterJDBCURL sets the ClusterJDBCURL field's value.
+func (s *RedshiftDestinationUpdate) SetClusterJDBCURL(v string) *RedshiftDestinationUpdate {
+ s.ClusterJDBCURL = &v
+ return s
+}
+
+// SetCopyCommand sets the CopyCommand field's value.
+func (s *RedshiftDestinationUpdate) SetCopyCommand(v *CopyCommand) *RedshiftDestinationUpdate {
+ s.CopyCommand = v
+ return s
+}
+
+// SetPassword sets the Password field's value.
+func (s *RedshiftDestinationUpdate) SetPassword(v string) *RedshiftDestinationUpdate {
+ s.Password = &v
+ return s
+}
+
+// SetRetryOptions sets the RetryOptions field's value.
+func (s *RedshiftDestinationUpdate) SetRetryOptions(v *RedshiftRetryOptions) *RedshiftDestinationUpdate {
+ s.RetryOptions = v
+ return s
+}
+
+// SetRoleARN sets the RoleARN field's value.
+func (s *RedshiftDestinationUpdate) SetRoleARN(v string) *RedshiftDestinationUpdate {
+ s.RoleARN = &v
+ return s
+}
+
+// SetS3Update sets the S3Update field's value.
+func (s *RedshiftDestinationUpdate) SetS3Update(v *S3DestinationUpdate) *RedshiftDestinationUpdate {
+ s.S3Update = v
+ return s
+}
+
+// SetUsername sets the Username field's value.
+func (s *RedshiftDestinationUpdate) SetUsername(v string) *RedshiftDestinationUpdate {
+ s.Username = &v
+ return s
+}
+
// Configures retry behavior in the event that Firehose is unable to deliver
// documents to Amazon Redshift.
type RedshiftRetryOptions struct {
@@ -2017,6 +2635,12 @@ func (s RedshiftRetryOptions) GoString() string {
return s.String()
}
+// SetDurationInSeconds sets the DurationInSeconds field's value.
+func (s *RedshiftRetryOptions) SetDurationInSeconds(v int64) *RedshiftRetryOptions {
+ s.DurationInSeconds = &v
+ return s
+}
+
// Describes the configuration of a destination in Amazon S3.
type S3DestinationConfiguration struct {
_ struct{} `type:"structure"`
@@ -2100,6 +2724,48 @@ func (s *S3DestinationConfiguration) Validate() error {
return nil
}
+// SetBucketARN sets the BucketARN field's value.
+func (s *S3DestinationConfiguration) SetBucketARN(v string) *S3DestinationConfiguration {
+ s.BucketARN = &v
+ return s
+}
+
+// SetBufferingHints sets the BufferingHints field's value.
+func (s *S3DestinationConfiguration) SetBufferingHints(v *BufferingHints) *S3DestinationConfiguration {
+ s.BufferingHints = v
+ return s
+}
+
+// SetCloudWatchLoggingOptions sets the CloudWatchLoggingOptions field's value.
+func (s *S3DestinationConfiguration) SetCloudWatchLoggingOptions(v *CloudWatchLoggingOptions) *S3DestinationConfiguration {
+ s.CloudWatchLoggingOptions = v
+ return s
+}
+
+// SetCompressionFormat sets the CompressionFormat field's value.
+func (s *S3DestinationConfiguration) SetCompressionFormat(v string) *S3DestinationConfiguration {
+ s.CompressionFormat = &v
+ return s
+}
+
+// SetEncryptionConfiguration sets the EncryptionConfiguration field's value.
+func (s *S3DestinationConfiguration) SetEncryptionConfiguration(v *EncryptionConfiguration) *S3DestinationConfiguration {
+ s.EncryptionConfiguration = v
+ return s
+}
+
+// SetPrefix sets the Prefix field's value.
+func (s *S3DestinationConfiguration) SetPrefix(v string) *S3DestinationConfiguration {
+ s.Prefix = &v
+ return s
+}
+
+// SetRoleARN sets the RoleARN field's value.
+func (s *S3DestinationConfiguration) SetRoleARN(v string) *S3DestinationConfiguration {
+ s.RoleARN = &v
+ return s
+}
+
// Describes a destination in Amazon S3.
type S3DestinationDescription struct {
_ struct{} `type:"structure"`
@@ -2153,6 +2819,48 @@ func (s S3DestinationDescription) GoString() string {
return s.String()
}
+// SetBucketARN sets the BucketARN field's value.
+func (s *S3DestinationDescription) SetBucketARN(v string) *S3DestinationDescription {
+ s.BucketARN = &v
+ return s
+}
+
+// SetBufferingHints sets the BufferingHints field's value.
+func (s *S3DestinationDescription) SetBufferingHints(v *BufferingHints) *S3DestinationDescription {
+ s.BufferingHints = v
+ return s
+}
+
+// SetCloudWatchLoggingOptions sets the CloudWatchLoggingOptions field's value.
+func (s *S3DestinationDescription) SetCloudWatchLoggingOptions(v *CloudWatchLoggingOptions) *S3DestinationDescription {
+ s.CloudWatchLoggingOptions = v
+ return s
+}
+
+// SetCompressionFormat sets the CompressionFormat field's value.
+func (s *S3DestinationDescription) SetCompressionFormat(v string) *S3DestinationDescription {
+ s.CompressionFormat = &v
+ return s
+}
+
+// SetEncryptionConfiguration sets the EncryptionConfiguration field's value.
+func (s *S3DestinationDescription) SetEncryptionConfiguration(v *EncryptionConfiguration) *S3DestinationDescription {
+ s.EncryptionConfiguration = v
+ return s
+}
+
+// SetPrefix sets the Prefix field's value.
+func (s *S3DestinationDescription) SetPrefix(v string) *S3DestinationDescription {
+ s.Prefix = &v
+ return s
+}
+
+// SetRoleARN sets the RoleARN field's value.
+func (s *S3DestinationDescription) SetRoleARN(v string) *S3DestinationDescription {
+ s.RoleARN = &v
+ return s
+}
+
// Describes an update for a destination in Amazon S3.
type S3DestinationUpdate struct {
_ struct{} `type:"structure"`
@@ -2226,6 +2934,48 @@ func (s *S3DestinationUpdate) Validate() error {
return nil
}
+// SetBucketARN sets the BucketARN field's value.
+func (s *S3DestinationUpdate) SetBucketARN(v string) *S3DestinationUpdate {
+ s.BucketARN = &v
+ return s
+}
+
+// SetBufferingHints sets the BufferingHints field's value.
+func (s *S3DestinationUpdate) SetBufferingHints(v *BufferingHints) *S3DestinationUpdate {
+ s.BufferingHints = v
+ return s
+}
+
+// SetCloudWatchLoggingOptions sets the CloudWatchLoggingOptions field's value.
+func (s *S3DestinationUpdate) SetCloudWatchLoggingOptions(v *CloudWatchLoggingOptions) *S3DestinationUpdate {
+ s.CloudWatchLoggingOptions = v
+ return s
+}
+
+// SetCompressionFormat sets the CompressionFormat field's value.
+func (s *S3DestinationUpdate) SetCompressionFormat(v string) *S3DestinationUpdate {
+ s.CompressionFormat = &v
+ return s
+}
+
+// SetEncryptionConfiguration sets the EncryptionConfiguration field's value.
+func (s *S3DestinationUpdate) SetEncryptionConfiguration(v *EncryptionConfiguration) *S3DestinationUpdate {
+ s.EncryptionConfiguration = v
+ return s
+}
+
+// SetPrefix sets the Prefix field's value.
+func (s *S3DestinationUpdate) SetPrefix(v string) *S3DestinationUpdate {
+ s.Prefix = &v
+ return s
+}
+
+// SetRoleARN sets the RoleARN field's value.
+func (s *S3DestinationUpdate) SetRoleARN(v string) *S3DestinationUpdate {
+ s.RoleARN = &v
+ return s
+}
+
// Contains the parameters for UpdateDestination.
type UpdateDestinationInput struct {
_ struct{} `type:"structure"`
@@ -2313,6 +3063,42 @@ func (s *UpdateDestinationInput) Validate() error {
return nil
}
+// SetCurrentDeliveryStreamVersionId sets the CurrentDeliveryStreamVersionId field's value.
+func (s *UpdateDestinationInput) SetCurrentDeliveryStreamVersionId(v string) *UpdateDestinationInput {
+ s.CurrentDeliveryStreamVersionId = &v
+ return s
+}
+
+// SetDeliveryStreamName sets the DeliveryStreamName field's value.
+func (s *UpdateDestinationInput) SetDeliveryStreamName(v string) *UpdateDestinationInput {
+ s.DeliveryStreamName = &v
+ return s
+}
+
+// SetDestinationId sets the DestinationId field's value.
+func (s *UpdateDestinationInput) SetDestinationId(v string) *UpdateDestinationInput {
+ s.DestinationId = &v
+ return s
+}
+
+// SetElasticsearchDestinationUpdate sets the ElasticsearchDestinationUpdate field's value.
+func (s *UpdateDestinationInput) SetElasticsearchDestinationUpdate(v *ElasticsearchDestinationUpdate) *UpdateDestinationInput {
+ s.ElasticsearchDestinationUpdate = v
+ return s
+}
+
+// SetRedshiftDestinationUpdate sets the RedshiftDestinationUpdate field's value.
+func (s *UpdateDestinationInput) SetRedshiftDestinationUpdate(v *RedshiftDestinationUpdate) *UpdateDestinationInput {
+ s.RedshiftDestinationUpdate = v
+ return s
+}
+
+// SetS3DestinationUpdate sets the S3DestinationUpdate field's value.
+func (s *UpdateDestinationInput) SetS3DestinationUpdate(v *S3DestinationUpdate) *UpdateDestinationInput {
+ s.S3DestinationUpdate = v
+ return s
+}
+
// Contains the output of UpdateDestination.
type UpdateDestinationOutput struct {
_ struct{} `type:"structure"`
diff --git a/vendor/github.com/aws/aws-sdk-go/service/gamelift/api.go b/vendor/github.com/aws/aws-sdk-go/service/gamelift/api.go
index dd9635e..f6a1c97 100644
--- a/vendor/github.com/aws/aws-sdk-go/service/gamelift/api.go
+++ b/vendor/github.com/aws/aws-sdk-go/service/gamelift/api.go
@@ -382,19 +382,22 @@ func (c *GameLift) CreateGameSessionRequest(input *CreateGameSessionInput) (req
// CreateGameSession API operation for Amazon GameLift.
//
// Creates a multiplayer game session for players. This action creates a game
-// session record and assigns the new session to an instance in the specified
-// fleet, which initializes a new server process to host the game session. A
-// fleet must be in an ACTIVE status before a game session can be created in
-// it.
-//
-// To create a game session, specify either a fleet ID or an alias ID and indicate
-// the maximum number of players the game session allows. You can also provide
-// a name and a set of properties for your game (optional). If successful, a
-// GameSession object is returned containing session properties, including an
-// IP address. By default, newly created game sessions are set to accept adding
-// any new players to the game session. Use UpdateGameSession to change the
+// session record and assigns an available server process in the specified fleet
+// to host the game session. A fleet must be in an ACTIVE status before a game
+// session can be created in it.
+//
+// To create a game session, specify either fleet ID or alias ID, and indicate
+// a maximum number of players to allow in the game session. You can also provide
+// a name and game-specific properties for this game session. If successful,
+// a GameSession object is returned containing session properties, including
+// an IP address. By default, newly created game sessions allow new players
+// to join. Use UpdateGameSession to change the game sessions player session
// creation policy.
//
+// When creating a game session on a fleet with a resource limit creation policy,
+// the request should include a creator ID. If none is provided, GameLift does
+// not evaluate the fleet's resource limit creation 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.
@@ -1883,12 +1886,14 @@ func (c *GameLift) DescribeInstancesRequest(input *DescribeInstancesInput) (req
// DescribeInstances API operation for Amazon GameLift.
//
-// Retrieves information about instances in a fleet.
+// Retrieves information about a fleet's instances, including instance IDs.
+// Use this action to get details on all instances in the fleet or get details
+// on one specific instance.
//
-// To get information on a specific instance, specify both a fleet ID and instance
-// ID. To get information for all instances in a fleet, specify a fleet ID only.
-// Use the pagination parameters to retrieve results as a set of sequential
-// pages. If successful, an Instance object is returned for each result.
+// To get a specific instance, specify fleet ID and instance ID. To get all
+// instances in a fleet, specify a fleet ID only. Use the pagination parameters
+// to retrieve results as a set of sequential pages. If successful, an Instance
+// object is returned for each result.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
@@ -2252,6 +2257,98 @@ func (c *GameLift) GetGameSessionLogUrl(input *GetGameSessionLogUrlInput) (*GetG
return out, err
}
+const opGetInstanceAccess = "GetInstanceAccess"
+
+// GetInstanceAccessRequest generates a "aws/request.Request" representing the
+// client's request for the GetInstanceAccess operation. The "output" return
+// value can be used to capture response data after the request's "Send" method
+// is called.
+//
+// See GetInstanceAccess for usage and error information.
+//
+// Creating a request object using this method should be used when you want to inject
+// custom logic into the request's lifecycle using a custom handler, or if you want to
+// access properties on the request object before or after sending the request. If
+// you just want the service response, call the GetInstanceAccess method directly
+// instead.
+//
+// Note: You must call the "Send" method on the returned request object in order
+// to execute the request.
+//
+// // Example sending a request using the GetInstanceAccessRequest method.
+// req, resp := client.GetInstanceAccessRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+func (c *GameLift) GetInstanceAccessRequest(input *GetInstanceAccessInput) (req *request.Request, output *GetInstanceAccessOutput) {
+ op := &request.Operation{
+ Name: opGetInstanceAccess,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &GetInstanceAccessInput{}
+ }
+
+ req = c.newRequest(op, input, output)
+ output = &GetInstanceAccessOutput{}
+ req.Data = output
+ return
+}
+
+// GetInstanceAccess API operation for Amazon GameLift.
+//
+// Requests remote access to a fleet instance. Remote access is useful for debugging,
+// gathering benchmarking data, or watching activity in real time.
+//
+// Access requires credentials that match the operating system of the instance.
+// For a Windows instance, GameLift returns a username and password as strings
+// for use with a Windows Remote Desktop client. For a Linux instance, GameLift
+// returns a username and RSA private key, also as strings, for use with an
+// SSH client. The private key must be saved in the proper format to a .pem
+// file before using. If you're making this request using the AWS CLI, saving
+// the secret can be handled as part of the GetInstanceAccess request (see the
+// example later in this topic). For more information on remote access, see
+// Remotely Accessing an Instance (http://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-remote-access.html).
+//
+// To request access to a specific instance, specify the IDs of the instance
+// and the fleet it belongs to. If successful, an InstanceAccess object is returned
+// containing the instance's IP address and a set of 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 GameLift's
+// API operation GetInstanceAccess for usage and error information.
+//
+// Returned Error Codes:
+// * UnauthorizedException
+// The client failed authentication. Clients should not retry such requests.
+//
+// * InvalidRequestException
+// One or more parameter values in the request are invalid. Correct the invalid
+// parameter values before retrying.
+//
+// * NotFoundException
+// A service resource associated with the request could not be found. Clients
+// should not retry such requests.
+//
+// * InternalServiceException
+// The service encountered an unrecoverable internal failure while processing
+// the request. Clients can retry such requests immediately or after a waiting
+// period.
+//
+func (c *GameLift) GetInstanceAccess(input *GetInstanceAccessInput) (*GetInstanceAccessOutput, error) {
+ req, out := c.GetInstanceAccessRequest(input)
+ err := req.Send()
+ return out, err
+}
+
const opListAliases = "ListAliases"
// ListAliasesRequest generates a "aws/request.Request" representing the
@@ -2635,7 +2732,7 @@ func (c *GameLift) RequestUploadCredentialsRequest(input *RequestUploadCredentia
// location for a specific build. Valid credentials are required to upload your
// game build files to Amazon S3.
//
-// Call this action only if you need credentials for a build created with CreateBuild.
+// Call this action only if you need credentials for a build created withCreateBuild.
// This is a rare situation; in most cases, builds are created using the CLI
// command upload-build, which creates a build record and also uploads build
// files.
@@ -3538,14 +3635,14 @@ type Alias struct {
AliasId *string `type:"string"`
// Time stamp indicating when this data object was created. Format is a number
- // expressed in Unix time as milliseconds (ex: "1469498468.057".
+ // expressed in Unix time as milliseconds (ex: "1469498468.057").
CreationTime *time.Time `type:"timestamp" timestampFormat:"unix"`
// Human-readable description of an alias.
Description *string `type:"string"`
// Time stamp indicating when this data object was last modified. Format is
- // a number expressed in Unix time as milliseconds (ex: "1469498468.057".
+ // a number expressed in Unix time as milliseconds (ex: "1469498468.057").
LastUpdatedTime *time.Time `type:"timestamp" timestampFormat:"unix"`
// Descriptive label associated with an alias. Alias names do not need to be
@@ -3566,6 +3663,42 @@ func (s Alias) GoString() string {
return s.String()
}
+// SetAliasId sets the AliasId field's value.
+func (s *Alias) SetAliasId(v string) *Alias {
+ s.AliasId = &v
+ return s
+}
+
+// SetCreationTime sets the CreationTime field's value.
+func (s *Alias) SetCreationTime(v time.Time) *Alias {
+ s.CreationTime = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *Alias) SetDescription(v string) *Alias {
+ s.Description = &v
+ return s
+}
+
+// SetLastUpdatedTime sets the LastUpdatedTime field's value.
+func (s *Alias) SetLastUpdatedTime(v time.Time) *Alias {
+ s.LastUpdatedTime = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *Alias) SetName(v string) *Alias {
+ s.Name = &v
+ return s
+}
+
+// SetRoutingStrategy sets the RoutingStrategy field's value.
+func (s *Alias) SetRoutingStrategy(v *RoutingStrategy) *Alias {
+ s.RoutingStrategy = v
+ return s
+}
+
// AWS access credentials required to upload game build files to Amazon GameLift.
// These credentials are generated with CreateBuild, and are valid for a limited
// time. If they expire before you upload your game build, get a new set by
@@ -3593,6 +3726,24 @@ func (s AwsCredentials) GoString() string {
return s.String()
}
+// SetAccessKeyId sets the AccessKeyId field's value.
+func (s *AwsCredentials) SetAccessKeyId(v string) *AwsCredentials {
+ s.AccessKeyId = &v
+ return s
+}
+
+// SetSecretAccessKey sets the SecretAccessKey field's value.
+func (s *AwsCredentials) SetSecretAccessKey(v string) *AwsCredentials {
+ s.SecretAccessKey = &v
+ return s
+}
+
+// SetSessionToken sets the SessionToken field's value.
+func (s *AwsCredentials) SetSessionToken(v string) *AwsCredentials {
+ s.SessionToken = &v
+ return s
+}
+
// Properties describing a game build.
type Build struct {
_ struct{} `type:"structure"`
@@ -3601,7 +3752,7 @@ type Build struct {
BuildId *string `type:"string"`
// Time stamp indicating when this data object was created. Format is a number
- // expressed in Unix time as milliseconds (ex: "1469498468.057".
+ // expressed in Unix time as milliseconds (ex: "1469498468.057").
CreationTime *time.Time `type:"timestamp" timestampFormat:"unix"`
// Descriptive label associated with a build. Build names do not need to be
@@ -3646,6 +3797,48 @@ func (s Build) GoString() string {
return s.String()
}
+// SetBuildId sets the BuildId field's value.
+func (s *Build) SetBuildId(v string) *Build {
+ s.BuildId = &v
+ return s
+}
+
+// SetCreationTime sets the CreationTime field's value.
+func (s *Build) SetCreationTime(v time.Time) *Build {
+ s.CreationTime = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *Build) SetName(v string) *Build {
+ s.Name = &v
+ return s
+}
+
+// SetOperatingSystem sets the OperatingSystem field's value.
+func (s *Build) SetOperatingSystem(v string) *Build {
+ s.OperatingSystem = &v
+ return s
+}
+
+// SetSizeOnDisk sets the SizeOnDisk field's value.
+func (s *Build) SetSizeOnDisk(v int64) *Build {
+ s.SizeOnDisk = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *Build) SetStatus(v string) *Build {
+ s.Status = &v
+ return s
+}
+
+// SetVersion sets the Version field's value.
+func (s *Build) SetVersion(v string) *Build {
+ s.Version = &v
+ return s
+}
+
// Represents the input for a request action.
type CreateAliasInput struct {
_ struct{} `type:"structure"`
@@ -3697,6 +3890,24 @@ func (s *CreateAliasInput) Validate() error {
return nil
}
+// SetDescription sets the Description field's value.
+func (s *CreateAliasInput) SetDescription(v string) *CreateAliasInput {
+ s.Description = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *CreateAliasInput) SetName(v string) *CreateAliasInput {
+ s.Name = &v
+ return s
+}
+
+// SetRoutingStrategy sets the RoutingStrategy field's value.
+func (s *CreateAliasInput) SetRoutingStrategy(v *RoutingStrategy) *CreateAliasInput {
+ s.RoutingStrategy = v
+ return s
+}
+
// Represents the returned data in response to a request action.
type CreateAliasOutput struct {
_ struct{} `type:"structure"`
@@ -3715,12 +3926,18 @@ func (s CreateAliasOutput) GoString() string {
return s.String()
}
+// SetAlias sets the Alias field's value.
+func (s *CreateAliasOutput) SetAlias(v *Alias) *CreateAliasOutput {
+ s.Alias = v
+ return s
+}
+
// Represents the input for a request action.
type CreateBuildInput struct {
_ struct{} `type:"structure"`
// Descriptive label associated with a build. Build names do not need to be
- // unique. A build name can be changed later using UpdateBuild.
+ // unique. A build name can be changed later usingUpdateBuild.
Name *string `min:"1" type:"string"`
// Operating system that the game server binaries are built to run on. This
@@ -3734,7 +3951,7 @@ type CreateBuildInput struct {
StorageLocation *S3Location `type:"structure"`
// Version associated with this build. Version strings do not need to be unique
- // to a build. A build version can be changed later using UpdateBuild.
+ // to a build. A build version can be changed later usingUpdateBuild.
Version *string `min:"1" type:"string"`
}
@@ -3769,6 +3986,30 @@ func (s *CreateBuildInput) Validate() error {
return nil
}
+// SetName sets the Name field's value.
+func (s *CreateBuildInput) SetName(v string) *CreateBuildInput {
+ s.Name = &v
+ return s
+}
+
+// SetOperatingSystem sets the OperatingSystem field's value.
+func (s *CreateBuildInput) SetOperatingSystem(v string) *CreateBuildInput {
+ s.OperatingSystem = &v
+ return s
+}
+
+// SetStorageLocation sets the StorageLocation field's value.
+func (s *CreateBuildInput) SetStorageLocation(v *S3Location) *CreateBuildInput {
+ s.StorageLocation = v
+ return s
+}
+
+// SetVersion sets the Version field's value.
+func (s *CreateBuildInput) SetVersion(v string) *CreateBuildInput {
+ s.Version = &v
+ return s
+}
+
// Represents the returned data in response to a request action.
type CreateBuildOutput struct {
_ struct{} `type:"structure"`
@@ -3781,7 +4022,7 @@ type CreateBuildOutput struct {
// AWS credentials required when uploading a game build to the storage location.
// These credentials have a limited lifespan and are valid only for the build
- // they were issued for. If you need to get fresh credentials, call RequestUploadCredentials.
+ // they were issued for. If you need to get fresh credentials, callRequestUploadCredentials.
UploadCredentials *AwsCredentials `type:"structure"`
}
@@ -3795,6 +4036,24 @@ func (s CreateBuildOutput) GoString() string {
return s.String()
}
+// SetBuild sets the Build field's value.
+func (s *CreateBuildOutput) SetBuild(v *Build) *CreateBuildOutput {
+ s.Build = v
+ return s
+}
+
+// SetStorageLocation sets the StorageLocation field's value.
+func (s *CreateBuildOutput) SetStorageLocation(v *S3Location) *CreateBuildOutput {
+ s.StorageLocation = v
+ return s
+}
+
+// SetUploadCredentials sets the UploadCredentials field's value.
+func (s *CreateBuildOutput) SetUploadCredentials(v *AwsCredentials) *CreateBuildOutput {
+ s.UploadCredentials = v
+ return s
+}
+
// Represents the input for a request action.
type CreateFleetInput struct {
_ struct{} `type:"structure"`
@@ -3830,8 +4089,8 @@ type CreateFleetInput struct {
// in addition to game session logs; see more on game session logs in the Amazon
// GameLift Developer Guide (http://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-sdk-server-api.html#gamelift-sdk-server-api-server-code).
// If no default log path for a fleet is specified, GameLift will automatically
- // upload logs stored on each instance at C:\game\logs. Use the GameLift console
- // to access stored logs.
+ // upload logs stored on each instance at C:\game\logs (for Windows) or /local/game/logs
+ // (for Linux). Use the GameLift console to access stored logs.
LogPaths []*string `type:"list"`
// Descriptive label associated with a fleet. Fleet names do not need to be
@@ -3939,6 +4198,72 @@ func (s *CreateFleetInput) Validate() error {
return nil
}
+// SetBuildId sets the BuildId field's value.
+func (s *CreateFleetInput) SetBuildId(v string) *CreateFleetInput {
+ s.BuildId = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *CreateFleetInput) SetDescription(v string) *CreateFleetInput {
+ s.Description = &v
+ return s
+}
+
+// SetEC2InboundPermissions sets the EC2InboundPermissions field's value.
+func (s *CreateFleetInput) SetEC2InboundPermissions(v []*IpPermission) *CreateFleetInput {
+ s.EC2InboundPermissions = v
+ return s
+}
+
+// SetEC2InstanceType sets the EC2InstanceType field's value.
+func (s *CreateFleetInput) SetEC2InstanceType(v string) *CreateFleetInput {
+ s.EC2InstanceType = &v
+ return s
+}
+
+// SetLogPaths sets the LogPaths field's value.
+func (s *CreateFleetInput) SetLogPaths(v []*string) *CreateFleetInput {
+ s.LogPaths = v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *CreateFleetInput) SetName(v string) *CreateFleetInput {
+ s.Name = &v
+ return s
+}
+
+// SetNewGameSessionProtectionPolicy sets the NewGameSessionProtectionPolicy field's value.
+func (s *CreateFleetInput) SetNewGameSessionProtectionPolicy(v string) *CreateFleetInput {
+ s.NewGameSessionProtectionPolicy = &v
+ return s
+}
+
+// SetResourceCreationLimitPolicy sets the ResourceCreationLimitPolicy field's value.
+func (s *CreateFleetInput) SetResourceCreationLimitPolicy(v *ResourceCreationLimitPolicy) *CreateFleetInput {
+ s.ResourceCreationLimitPolicy = v
+ return s
+}
+
+// SetRuntimeConfiguration sets the RuntimeConfiguration field's value.
+func (s *CreateFleetInput) SetRuntimeConfiguration(v *RuntimeConfiguration) *CreateFleetInput {
+ s.RuntimeConfiguration = v
+ return s
+}
+
+// SetServerLaunchParameters sets the ServerLaunchParameters field's value.
+func (s *CreateFleetInput) SetServerLaunchParameters(v string) *CreateFleetInput {
+ s.ServerLaunchParameters = &v
+ return s
+}
+
+// SetServerLaunchPath sets the ServerLaunchPath field's value.
+func (s *CreateFleetInput) SetServerLaunchPath(v string) *CreateFleetInput {
+ s.ServerLaunchPath = &v
+ return s
+}
+
// Represents the returned data in response to a request action.
type CreateFleetOutput struct {
_ struct{} `type:"structure"`
@@ -3957,6 +4282,12 @@ func (s CreateFleetOutput) GoString() string {
return s.String()
}
+// SetFleetAttributes sets the FleetAttributes field's value.
+func (s *CreateFleetOutput) SetFleetAttributes(v *FleetAttributes) *CreateFleetOutput {
+ s.FleetAttributes = v
+ return s
+}
+
// Represents the input for a request action.
type CreateGameSessionInput struct {
_ struct{} `type:"structure"`
@@ -3983,7 +4314,7 @@ type CreateGameSessionInput struct {
// ID in the following format: "arn:aws:gamelift:::gamesession/fleet-/". For example, this full game session ID: "arn:aws:gamelift:us-west-2::gamesession/fleet-2ec2aae5-c2c7-43ca-b19d-8249fe5fddf2/my-game-session"
// includes the custom ID string "my-game-session". If this parameter is not
- // set, GameLift creates a game session ID in the same format with an auto-generated
+ // set, GameLift creates a game session ID in the same format with an autogenerated
// ID string.
GameSessionId *string `min:"1" type:"string"`
@@ -4040,6 +4371,48 @@ func (s *CreateGameSessionInput) Validate() error {
return nil
}
+// SetAliasId sets the AliasId field's value.
+func (s *CreateGameSessionInput) SetAliasId(v string) *CreateGameSessionInput {
+ s.AliasId = &v
+ return s
+}
+
+// SetCreatorId sets the CreatorId field's value.
+func (s *CreateGameSessionInput) SetCreatorId(v string) *CreateGameSessionInput {
+ s.CreatorId = &v
+ return s
+}
+
+// SetFleetId sets the FleetId field's value.
+func (s *CreateGameSessionInput) SetFleetId(v string) *CreateGameSessionInput {
+ s.FleetId = &v
+ return s
+}
+
+// SetGameProperties sets the GameProperties field's value.
+func (s *CreateGameSessionInput) SetGameProperties(v []*GameProperty) *CreateGameSessionInput {
+ s.GameProperties = v
+ return s
+}
+
+// SetGameSessionId sets the GameSessionId field's value.
+func (s *CreateGameSessionInput) SetGameSessionId(v string) *CreateGameSessionInput {
+ s.GameSessionId = &v
+ return s
+}
+
+// SetMaximumPlayerSessionCount sets the MaximumPlayerSessionCount field's value.
+func (s *CreateGameSessionInput) SetMaximumPlayerSessionCount(v int64) *CreateGameSessionInput {
+ s.MaximumPlayerSessionCount = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *CreateGameSessionInput) SetName(v string) *CreateGameSessionInput {
+ s.Name = &v
+ return s
+}
+
// Represents the returned data in response to a request action.
type CreateGameSessionOutput struct {
_ struct{} `type:"structure"`
@@ -4058,6 +4431,12 @@ func (s CreateGameSessionOutput) GoString() string {
return s.String()
}
+// SetGameSession sets the GameSession field's value.
+func (s *CreateGameSessionOutput) SetGameSession(v *GameSession) *CreateGameSessionOutput {
+ s.GameSession = v
+ return s
+}
+
// Represents the input for a request action.
type CreatePlayerSessionInput struct {
_ struct{} `type:"structure"`
@@ -4065,7 +4444,7 @@ type CreatePlayerSessionInput struct {
// Unique identifier for the game session to add a player to. Game session ID
// format is as follows: "arn:aws:gamelift:::gamesession/fleet-/". The value of is either a custom ID string (if
- // one was specified when the game session was created) an auto-generated string.
+ // one was specified when the game session was created) an autogenerated string.
//
// GameSessionId is a required field
GameSessionId *string `min:"1" type:"string" required:"true"`
@@ -4108,6 +4487,18 @@ func (s *CreatePlayerSessionInput) Validate() error {
return nil
}
+// SetGameSessionId sets the GameSessionId field's value.
+func (s *CreatePlayerSessionInput) SetGameSessionId(v string) *CreatePlayerSessionInput {
+ s.GameSessionId = &v
+ return s
+}
+
+// SetPlayerId sets the PlayerId field's value.
+func (s *CreatePlayerSessionInput) SetPlayerId(v string) *CreatePlayerSessionInput {
+ s.PlayerId = &v
+ return s
+}
+
// Represents the returned data in response to a request action.
type CreatePlayerSessionOutput struct {
_ struct{} `type:"structure"`
@@ -4126,6 +4517,12 @@ func (s CreatePlayerSessionOutput) GoString() string {
return s.String()
}
+// SetPlayerSession sets the PlayerSession field's value.
+func (s *CreatePlayerSessionOutput) SetPlayerSession(v *PlayerSession) *CreatePlayerSessionOutput {
+ s.PlayerSession = v
+ return s
+}
+
// Represents the input for a request action.
type CreatePlayerSessionsInput struct {
_ struct{} `type:"structure"`
@@ -4133,7 +4530,7 @@ type CreatePlayerSessionsInput struct {
// Unique identifier for the game session to add players to. Game session ID
// format is as follows: "arn:aws:gamelift:::gamesession/fleet-/". The value of is either a custom ID string (if
- // one was specified when the game session was created) an auto-generated string.
+ // one was specified when the game session was created) an autogenerated string.
//
// GameSessionId is a required field
GameSessionId *string `min:"1" type:"string" required:"true"`
@@ -4176,6 +4573,18 @@ func (s *CreatePlayerSessionsInput) Validate() error {
return nil
}
+// SetGameSessionId sets the GameSessionId field's value.
+func (s *CreatePlayerSessionsInput) SetGameSessionId(v string) *CreatePlayerSessionsInput {
+ s.GameSessionId = &v
+ return s
+}
+
+// SetPlayerIds sets the PlayerIds field's value.
+func (s *CreatePlayerSessionsInput) SetPlayerIds(v []*string) *CreatePlayerSessionsInput {
+ s.PlayerIds = v
+ return s
+}
+
// Represents the returned data in response to a request action.
type CreatePlayerSessionsOutput struct {
_ struct{} `type:"structure"`
@@ -4194,6 +4603,12 @@ func (s CreatePlayerSessionsOutput) GoString() string {
return s.String()
}
+// SetPlayerSessions sets the PlayerSessions field's value.
+func (s *CreatePlayerSessionsOutput) SetPlayerSessions(v []*PlayerSession) *CreatePlayerSessionsOutput {
+ s.PlayerSessions = v
+ return s
+}
+
// Represents the input for a request action.
type DeleteAliasInput struct {
_ struct{} `type:"structure"`
@@ -4227,6 +4642,12 @@ func (s *DeleteAliasInput) Validate() error {
return nil
}
+// SetAliasId sets the AliasId field's value.
+func (s *DeleteAliasInput) SetAliasId(v string) *DeleteAliasInput {
+ s.AliasId = &v
+ return s
+}
+
type DeleteAliasOutput struct {
_ struct{} `type:"structure"`
}
@@ -4274,6 +4695,12 @@ func (s *DeleteBuildInput) Validate() error {
return nil
}
+// SetBuildId sets the BuildId field's value.
+func (s *DeleteBuildInput) SetBuildId(v string) *DeleteBuildInput {
+ s.BuildId = &v
+ return s
+}
+
type DeleteBuildOutput struct {
_ struct{} `type:"structure"`
}
@@ -4321,6 +4748,12 @@ func (s *DeleteFleetInput) Validate() error {
return nil
}
+// SetFleetId sets the FleetId field's value.
+func (s *DeleteFleetInput) SetFleetId(v string) *DeleteFleetInput {
+ s.FleetId = &v
+ return s
+}
+
type DeleteFleetOutput struct {
_ struct{} `type:"structure"`
}
@@ -4380,6 +4813,18 @@ func (s *DeleteScalingPolicyInput) Validate() error {
return nil
}
+// SetFleetId sets the FleetId field's value.
+func (s *DeleteScalingPolicyInput) SetFleetId(v string) *DeleteScalingPolicyInput {
+ s.FleetId = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *DeleteScalingPolicyInput) SetName(v string) *DeleteScalingPolicyInput {
+ s.Name = &v
+ return s
+}
+
type DeleteScalingPolicyOutput struct {
_ struct{} `type:"structure"`
}
@@ -4427,6 +4872,12 @@ func (s *DescribeAliasInput) Validate() error {
return nil
}
+// SetAliasId sets the AliasId field's value.
+func (s *DescribeAliasInput) SetAliasId(v string) *DescribeAliasInput {
+ s.AliasId = &v
+ return s
+}
+
// Represents the returned data in response to a request action.
type DescribeAliasOutput struct {
_ struct{} `type:"structure"`
@@ -4445,6 +4896,12 @@ func (s DescribeAliasOutput) GoString() string {
return s.String()
}
+// SetAlias sets the Alias field's value.
+func (s *DescribeAliasOutput) SetAlias(v *Alias) *DescribeAliasOutput {
+ s.Alias = v
+ return s
+}
+
// Represents the input for a request action.
type DescribeBuildInput struct {
_ struct{} `type:"structure"`
@@ -4478,6 +4935,12 @@ func (s *DescribeBuildInput) Validate() error {
return nil
}
+// SetBuildId sets the BuildId field's value.
+func (s *DescribeBuildInput) SetBuildId(v string) *DescribeBuildInput {
+ s.BuildId = &v
+ return s
+}
+
// Represents the returned data in response to a request action.
type DescribeBuildOutput struct {
_ struct{} `type:"structure"`
@@ -4496,6 +4959,12 @@ func (s DescribeBuildOutput) GoString() string {
return s.String()
}
+// SetBuild sets the Build field's value.
+func (s *DescribeBuildOutput) SetBuild(v *Build) *DescribeBuildOutput {
+ s.Build = v
+ return s
+}
+
// Represents the input for a request action.
type DescribeEC2InstanceLimitsInput struct {
_ struct{} `type:"structure"`
@@ -4519,6 +4988,12 @@ func (s DescribeEC2InstanceLimitsInput) GoString() string {
return s.String()
}
+// SetEC2InstanceType sets the EC2InstanceType field's value.
+func (s *DescribeEC2InstanceLimitsInput) SetEC2InstanceType(v string) *DescribeEC2InstanceLimitsInput {
+ s.EC2InstanceType = &v
+ return s
+}
+
// Represents the returned data in response to a request action.
type DescribeEC2InstanceLimitsOutput struct {
_ struct{} `type:"structure"`
@@ -4538,6 +5013,12 @@ func (s DescribeEC2InstanceLimitsOutput) GoString() string {
return s.String()
}
+// SetEC2InstanceLimits sets the EC2InstanceLimits field's value.
+func (s *DescribeEC2InstanceLimitsOutput) SetEC2InstanceLimits(v []*EC2InstanceLimit) *DescribeEC2InstanceLimitsOutput {
+ s.EC2InstanceLimits = v
+ return s
+}
+
// Represents the input for a request action.
type DescribeFleetAttributesInput struct {
_ struct{} `type:"structure"`
@@ -4587,6 +5068,24 @@ func (s *DescribeFleetAttributesInput) Validate() error {
return nil
}
+// SetFleetIds sets the FleetIds field's value.
+func (s *DescribeFleetAttributesInput) SetFleetIds(v []*string) *DescribeFleetAttributesInput {
+ s.FleetIds = v
+ return s
+}
+
+// SetLimit sets the Limit field's value.
+func (s *DescribeFleetAttributesInput) SetLimit(v int64) *DescribeFleetAttributesInput {
+ s.Limit = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeFleetAttributesInput) SetNextToken(v string) *DescribeFleetAttributesInput {
+ s.NextToken = &v
+ return s
+}
+
// Represents the returned data in response to a request action.
type DescribeFleetAttributesOutput struct {
_ struct{} `type:"structure"`
@@ -4610,6 +5109,18 @@ func (s DescribeFleetAttributesOutput) GoString() string {
return s.String()
}
+// SetFleetAttributes sets the FleetAttributes field's value.
+func (s *DescribeFleetAttributesOutput) SetFleetAttributes(v []*FleetAttributes) *DescribeFleetAttributesOutput {
+ s.FleetAttributes = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeFleetAttributesOutput) SetNextToken(v string) *DescribeFleetAttributesOutput {
+ s.NextToken = &v
+ return s
+}
+
// Represents the input for a request action.
type DescribeFleetCapacityInput struct {
_ struct{} `type:"structure"`
@@ -4660,6 +5171,24 @@ func (s *DescribeFleetCapacityInput) Validate() error {
return nil
}
+// SetFleetIds sets the FleetIds field's value.
+func (s *DescribeFleetCapacityInput) SetFleetIds(v []*string) *DescribeFleetCapacityInput {
+ s.FleetIds = v
+ return s
+}
+
+// SetLimit sets the Limit field's value.
+func (s *DescribeFleetCapacityInput) SetLimit(v int64) *DescribeFleetCapacityInput {
+ s.Limit = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeFleetCapacityInput) SetNextToken(v string) *DescribeFleetCapacityInput {
+ s.NextToken = &v
+ return s
+}
+
// Represents the returned data in response to a request action.
type DescribeFleetCapacityOutput struct {
_ struct{} `type:"structure"`
@@ -4684,13 +5213,25 @@ func (s DescribeFleetCapacityOutput) GoString() string {
return s.String()
}
+// SetFleetCapacity sets the FleetCapacity field's value.
+func (s *DescribeFleetCapacityOutput) SetFleetCapacity(v []*FleetCapacity) *DescribeFleetCapacityOutput {
+ s.FleetCapacity = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeFleetCapacityOutput) SetNextToken(v string) *DescribeFleetCapacityOutput {
+ s.NextToken = &v
+ return s
+}
+
// Represents the input for a request action.
type DescribeFleetEventsInput struct {
_ struct{} `type:"structure"`
// Most recent date to retrieve event logs for. If no end time is specified,
// this call returns entries from the specified start time up to the present.
- // Format is a number expressed in Unix time as milliseconds (ex: "1469498468.057".
+ // Format is a number expressed in Unix time as milliseconds (ex: "1469498468.057").
EndTime *time.Time `type:"timestamp" timestampFormat:"unix"`
// Unique identifier for the fleet to get event logs for.
@@ -4710,7 +5251,7 @@ type DescribeFleetEventsInput struct {
// Earliest date to retrieve event logs for. If no start time is specified,
// this call returns entries starting from when the fleet was created to the
// specified end time. Format is a number expressed in Unix time as milliseconds
- // (ex: "1469498468.057".
+ // (ex: "1469498468.057").
StartTime *time.Time `type:"timestamp" timestampFormat:"unix"`
}
@@ -4743,6 +5284,36 @@ func (s *DescribeFleetEventsInput) Validate() error {
return nil
}
+// SetEndTime sets the EndTime field's value.
+func (s *DescribeFleetEventsInput) SetEndTime(v time.Time) *DescribeFleetEventsInput {
+ s.EndTime = &v
+ return s
+}
+
+// SetFleetId sets the FleetId field's value.
+func (s *DescribeFleetEventsInput) SetFleetId(v string) *DescribeFleetEventsInput {
+ s.FleetId = &v
+ return s
+}
+
+// SetLimit sets the Limit field's value.
+func (s *DescribeFleetEventsInput) SetLimit(v int64) *DescribeFleetEventsInput {
+ s.Limit = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeFleetEventsInput) SetNextToken(v string) *DescribeFleetEventsInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetStartTime sets the StartTime field's value.
+func (s *DescribeFleetEventsInput) SetStartTime(v time.Time) *DescribeFleetEventsInput {
+ s.StartTime = &v
+ return s
+}
+
// Represents the returned data in response to a request action.
type DescribeFleetEventsOutput struct {
_ struct{} `type:"structure"`
@@ -4765,6 +5336,18 @@ func (s DescribeFleetEventsOutput) GoString() string {
return s.String()
}
+// SetEvents sets the Events field's value.
+func (s *DescribeFleetEventsOutput) SetEvents(v []*Event) *DescribeFleetEventsOutput {
+ s.Events = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeFleetEventsOutput) SetNextToken(v string) *DescribeFleetEventsOutput {
+ s.NextToken = &v
+ return s
+}
+
// Represents the input for a request action.
type DescribeFleetPortSettingsInput struct {
_ struct{} `type:"structure"`
@@ -4798,6 +5381,12 @@ func (s *DescribeFleetPortSettingsInput) Validate() error {
return nil
}
+// SetFleetId sets the FleetId field's value.
+func (s *DescribeFleetPortSettingsInput) SetFleetId(v string) *DescribeFleetPortSettingsInput {
+ s.FleetId = &v
+ return s
+}
+
// Represents the returned data in response to a request action.
type DescribeFleetPortSettingsOutput struct {
_ struct{} `type:"structure"`
@@ -4816,6 +5405,12 @@ func (s DescribeFleetPortSettingsOutput) GoString() string {
return s.String()
}
+// SetInboundPermissions sets the InboundPermissions field's value.
+func (s *DescribeFleetPortSettingsOutput) SetInboundPermissions(v []*IpPermission) *DescribeFleetPortSettingsOutput {
+ s.InboundPermissions = v
+ return s
+}
+
// Represents the input for a request action.
type DescribeFleetUtilizationInput struct {
_ struct{} `type:"structure"`
@@ -4865,6 +5460,24 @@ func (s *DescribeFleetUtilizationInput) Validate() error {
return nil
}
+// SetFleetIds sets the FleetIds field's value.
+func (s *DescribeFleetUtilizationInput) SetFleetIds(v []*string) *DescribeFleetUtilizationInput {
+ s.FleetIds = v
+ return s
+}
+
+// SetLimit sets the Limit field's value.
+func (s *DescribeFleetUtilizationInput) SetLimit(v int64) *DescribeFleetUtilizationInput {
+ s.Limit = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeFleetUtilizationInput) SetNextToken(v string) *DescribeFleetUtilizationInput {
+ s.NextToken = &v
+ return s
+}
+
// Represents the returned data in response to a request action.
type DescribeFleetUtilizationOutput struct {
_ struct{} `type:"structure"`
@@ -4888,6 +5501,18 @@ func (s DescribeFleetUtilizationOutput) GoString() string {
return s.String()
}
+// SetFleetUtilization sets the FleetUtilization field's value.
+func (s *DescribeFleetUtilizationOutput) SetFleetUtilization(v []*FleetUtilization) *DescribeFleetUtilizationOutput {
+ s.FleetUtilization = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeFleetUtilizationOutput) SetNextToken(v string) *DescribeFleetUtilizationOutput {
+ s.NextToken = &v
+ return s
+}
+
// Represents the input for a request action.
type DescribeGameSessionDetailsInput struct {
_ struct{} `type:"structure"`
@@ -4903,7 +5528,7 @@ type DescribeGameSessionDetailsInput struct {
// Unique identifier for the game session to retrieve information on. Game session
// ID format is as follows: "arn:aws:gamelift:::gamesession/fleet-/". The value of is either a custom ID string (if
- // one was specified when the game session was created) an auto-generated string.
+ // one was specified when the game session was created) an autogenerated string.
GameSessionId *string `min:"1" type:"string"`
// Maximum number of results to return. Use this parameter with NextToken to
@@ -4953,6 +5578,42 @@ func (s *DescribeGameSessionDetailsInput) Validate() error {
return nil
}
+// SetAliasId sets the AliasId field's value.
+func (s *DescribeGameSessionDetailsInput) SetAliasId(v string) *DescribeGameSessionDetailsInput {
+ s.AliasId = &v
+ return s
+}
+
+// SetFleetId sets the FleetId field's value.
+func (s *DescribeGameSessionDetailsInput) SetFleetId(v string) *DescribeGameSessionDetailsInput {
+ s.FleetId = &v
+ return s
+}
+
+// SetGameSessionId sets the GameSessionId field's value.
+func (s *DescribeGameSessionDetailsInput) SetGameSessionId(v string) *DescribeGameSessionDetailsInput {
+ s.GameSessionId = &v
+ return s
+}
+
+// SetLimit sets the Limit field's value.
+func (s *DescribeGameSessionDetailsInput) SetLimit(v int64) *DescribeGameSessionDetailsInput {
+ s.Limit = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeGameSessionDetailsInput) SetNextToken(v string) *DescribeGameSessionDetailsInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetStatusFilter sets the StatusFilter field's value.
+func (s *DescribeGameSessionDetailsInput) SetStatusFilter(v string) *DescribeGameSessionDetailsInput {
+ s.StatusFilter = &v
+ return s
+}
+
// Represents the returned data in response to a request action.
type DescribeGameSessionDetailsOutput struct {
_ struct{} `type:"structure"`
@@ -4976,7 +5637,19 @@ func (s DescribeGameSessionDetailsOutput) GoString() string {
return s.String()
}
-// Represents the input for a request action.
+// SetGameSessionDetails sets the GameSessionDetails field's value.
+func (s *DescribeGameSessionDetailsOutput) SetGameSessionDetails(v []*GameSessionDetail) *DescribeGameSessionDetailsOutput {
+ s.GameSessionDetails = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeGameSessionDetailsOutput) SetNextToken(v string) *DescribeGameSessionDetailsOutput {
+ s.NextToken = &v
+ return s
+}
+
+// Represents the input for a request action.
type DescribeGameSessionsInput struct {
_ struct{} `type:"structure"`
@@ -4991,7 +5664,7 @@ type DescribeGameSessionsInput struct {
// Unique identifier for the game session to retrieve information on. Game session
// ID format is as follows: "arn:aws:gamelift:::gamesession/fleet-/". The value of is either a custom ID string (if
- // one was specified when the game session was created) an auto-generated string.
+ // one was specified when the game session was created) an autogenerated string.
GameSessionId *string `min:"1" type:"string"`
// Maximum number of results to return. Use this parameter with NextToken to
@@ -5041,6 +5714,42 @@ func (s *DescribeGameSessionsInput) Validate() error {
return nil
}
+// SetAliasId sets the AliasId field's value.
+func (s *DescribeGameSessionsInput) SetAliasId(v string) *DescribeGameSessionsInput {
+ s.AliasId = &v
+ return s
+}
+
+// SetFleetId sets the FleetId field's value.
+func (s *DescribeGameSessionsInput) SetFleetId(v string) *DescribeGameSessionsInput {
+ s.FleetId = &v
+ return s
+}
+
+// SetGameSessionId sets the GameSessionId field's value.
+func (s *DescribeGameSessionsInput) SetGameSessionId(v string) *DescribeGameSessionsInput {
+ s.GameSessionId = &v
+ return s
+}
+
+// SetLimit sets the Limit field's value.
+func (s *DescribeGameSessionsInput) SetLimit(v int64) *DescribeGameSessionsInput {
+ s.Limit = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeGameSessionsInput) SetNextToken(v string) *DescribeGameSessionsInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetStatusFilter sets the StatusFilter field's value.
+func (s *DescribeGameSessionsInput) SetStatusFilter(v string) *DescribeGameSessionsInput {
+ s.StatusFilter = &v
+ return s
+}
+
// Represents the returned data in response to a request action.
type DescribeGameSessionsOutput struct {
_ struct{} `type:"structure"`
@@ -5064,6 +5773,18 @@ func (s DescribeGameSessionsOutput) GoString() string {
return s.String()
}
+// SetGameSessions sets the GameSessions field's value.
+func (s *DescribeGameSessionsOutput) SetGameSessions(v []*GameSession) *DescribeGameSessionsOutput {
+ s.GameSessions = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeGameSessionsOutput) SetNextToken(v string) *DescribeGameSessionsOutput {
+ s.NextToken = &v
+ return s
+}
+
// Represents the input for a request action.
type DescribeInstancesInput struct {
_ struct{} `type:"structure"`
@@ -5117,6 +5838,30 @@ func (s *DescribeInstancesInput) Validate() error {
return nil
}
+// SetFleetId sets the FleetId field's value.
+func (s *DescribeInstancesInput) SetFleetId(v string) *DescribeInstancesInput {
+ s.FleetId = &v
+ return s
+}
+
+// SetInstanceId sets the InstanceId field's value.
+func (s *DescribeInstancesInput) SetInstanceId(v string) *DescribeInstancesInput {
+ s.InstanceId = &v
+ return s
+}
+
+// SetLimit sets the Limit field's value.
+func (s *DescribeInstancesInput) SetLimit(v int64) *DescribeInstancesInput {
+ s.Limit = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeInstancesInput) SetNextToken(v string) *DescribeInstancesInput {
+ s.NextToken = &v
+ return s
+}
+
// Represents the returned data in response to a request action.
type DescribeInstancesOutput struct {
_ struct{} `type:"structure"`
@@ -5139,14 +5884,26 @@ func (s DescribeInstancesOutput) GoString() string {
return s.String()
}
+// SetInstances sets the Instances field's value.
+func (s *DescribeInstancesOutput) SetInstances(v []*Instance) *DescribeInstancesOutput {
+ s.Instances = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeInstancesOutput) SetNextToken(v string) *DescribeInstancesOutput {
+ s.NextToken = &v
+ return s
+}
+
// Represents the input for a request action.
type DescribePlayerSessionsInput struct {
_ struct{} `type:"structure"`
- // Unique identifier for the game session to get player sessions for.Game session
+ // Unique identifier for the game session to get player sessions for. Game session
// ID format is as follows: "arn:aws:gamelift:::gamesession/fleet-/". The value of is either a custom ID string (if
- // one was specified when the game session was created) an auto-generated string.
+ // one was specified when the game session was created) an autogenerated string.
GameSessionId *string `min:"1" type:"string"`
// Maximum number of results to return. Use this parameter with NextToken to
@@ -5218,6 +5975,42 @@ func (s *DescribePlayerSessionsInput) Validate() error {
return nil
}
+// SetGameSessionId sets the GameSessionId field's value.
+func (s *DescribePlayerSessionsInput) SetGameSessionId(v string) *DescribePlayerSessionsInput {
+ s.GameSessionId = &v
+ return s
+}
+
+// SetLimit sets the Limit field's value.
+func (s *DescribePlayerSessionsInput) SetLimit(v int64) *DescribePlayerSessionsInput {
+ s.Limit = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribePlayerSessionsInput) SetNextToken(v string) *DescribePlayerSessionsInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetPlayerId sets the PlayerId field's value.
+func (s *DescribePlayerSessionsInput) SetPlayerId(v string) *DescribePlayerSessionsInput {
+ s.PlayerId = &v
+ return s
+}
+
+// SetPlayerSessionId sets the PlayerSessionId field's value.
+func (s *DescribePlayerSessionsInput) SetPlayerSessionId(v string) *DescribePlayerSessionsInput {
+ s.PlayerSessionId = &v
+ return s
+}
+
+// SetPlayerSessionStatusFilter sets the PlayerSessionStatusFilter field's value.
+func (s *DescribePlayerSessionsInput) SetPlayerSessionStatusFilter(v string) *DescribePlayerSessionsInput {
+ s.PlayerSessionStatusFilter = &v
+ return s
+}
+
// Represents the returned data in response to a request action.
type DescribePlayerSessionsOutput struct {
_ struct{} `type:"structure"`
@@ -5241,6 +6034,18 @@ func (s DescribePlayerSessionsOutput) GoString() string {
return s.String()
}
+// SetNextToken sets the NextToken field's value.
+func (s *DescribePlayerSessionsOutput) SetNextToken(v string) *DescribePlayerSessionsOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetPlayerSessions sets the PlayerSessions field's value.
+func (s *DescribePlayerSessionsOutput) SetPlayerSessions(v []*PlayerSession) *DescribePlayerSessionsOutput {
+ s.PlayerSessions = v
+ return s
+}
+
// Represents the input for a request action.
type DescribeRuntimeConfigurationInput struct {
_ struct{} `type:"structure"`
@@ -5274,6 +6079,12 @@ func (s *DescribeRuntimeConfigurationInput) Validate() error {
return nil
}
+// SetFleetId sets the FleetId field's value.
+func (s *DescribeRuntimeConfigurationInput) SetFleetId(v string) *DescribeRuntimeConfigurationInput {
+ s.FleetId = &v
+ return s
+}
+
// Represents the returned data in response to a request action.
type DescribeRuntimeConfigurationOutput struct {
_ struct{} `type:"structure"`
@@ -5293,6 +6104,12 @@ func (s DescribeRuntimeConfigurationOutput) GoString() string {
return s.String()
}
+// SetRuntimeConfiguration sets the RuntimeConfiguration field's value.
+func (s *DescribeRuntimeConfigurationOutput) SetRuntimeConfiguration(v *RuntimeConfiguration) *DescribeRuntimeConfigurationOutput {
+ s.RuntimeConfiguration = v
+ return s
+}
+
// Represents the input for a request action.
type DescribeScalingPoliciesInput struct {
_ struct{} `type:"structure"`
@@ -5361,6 +6178,30 @@ func (s *DescribeScalingPoliciesInput) Validate() error {
return nil
}
+// SetFleetId sets the FleetId field's value.
+func (s *DescribeScalingPoliciesInput) SetFleetId(v string) *DescribeScalingPoliciesInput {
+ s.FleetId = &v
+ return s
+}
+
+// SetLimit sets the Limit field's value.
+func (s *DescribeScalingPoliciesInput) SetLimit(v int64) *DescribeScalingPoliciesInput {
+ s.Limit = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeScalingPoliciesInput) SetNextToken(v string) *DescribeScalingPoliciesInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetStatusFilter sets the StatusFilter field's value.
+func (s *DescribeScalingPoliciesInput) SetStatusFilter(v string) *DescribeScalingPoliciesInput {
+ s.StatusFilter = &v
+ return s
+}
+
// Represents the returned data in response to a request action.
type DescribeScalingPoliciesOutput struct {
_ struct{} `type:"structure"`
@@ -5383,6 +6224,18 @@ func (s DescribeScalingPoliciesOutput) GoString() string {
return s.String()
}
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeScalingPoliciesOutput) SetNextToken(v string) *DescribeScalingPoliciesOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetScalingPolicies sets the ScalingPolicies field's value.
+func (s *DescribeScalingPoliciesOutput) SetScalingPolicies(v []*ScalingPolicy) *DescribeScalingPoliciesOutput {
+ s.ScalingPolicies = v
+ return s
+}
+
// Current status of fleet capacity. The number of active instances should match
// or be in the process of matching the number of desired instances. Pending
// and terminating counts are non-zero only if fleet capacity is adjusting to
@@ -5425,6 +6278,48 @@ func (s EC2InstanceCounts) GoString() string {
return s.String()
}
+// SetACTIVE sets the ACTIVE field's value.
+func (s *EC2InstanceCounts) SetACTIVE(v int64) *EC2InstanceCounts {
+ s.ACTIVE = &v
+ return s
+}
+
+// SetDESIRED sets the DESIRED field's value.
+func (s *EC2InstanceCounts) SetDESIRED(v int64) *EC2InstanceCounts {
+ s.DESIRED = &v
+ return s
+}
+
+// SetIDLE sets the IDLE field's value.
+func (s *EC2InstanceCounts) SetIDLE(v int64) *EC2InstanceCounts {
+ s.IDLE = &v
+ return s
+}
+
+// SetMAXIMUM sets the MAXIMUM field's value.
+func (s *EC2InstanceCounts) SetMAXIMUM(v int64) *EC2InstanceCounts {
+ s.MAXIMUM = &v
+ return s
+}
+
+// SetMINIMUM sets the MINIMUM field's value.
+func (s *EC2InstanceCounts) SetMINIMUM(v int64) *EC2InstanceCounts {
+ s.MINIMUM = &v
+ return s
+}
+
+// SetPENDING sets the PENDING field's value.
+func (s *EC2InstanceCounts) SetPENDING(v int64) *EC2InstanceCounts {
+ s.PENDING = &v
+ return s
+}
+
+// SetTERMINATING sets the TERMINATING field's value.
+func (s *EC2InstanceCounts) SetTERMINATING(v int64) *EC2InstanceCounts {
+ s.TERMINATING = &v
+ return s
+}
+
// Maximum number of instances allowed based on the Amazon Elastic Compute Cloud
// (Amazon EC2) instance type. Instance limits can be retrieved by calling DescribeEC2InstanceLimits.
type EC2InstanceLimit struct {
@@ -5455,8 +6350,27 @@ func (s EC2InstanceLimit) GoString() string {
return s.String()
}
-// Log entry describing an event involving an Amazon GameLift resource (such
-// as a fleet).
+// SetCurrentInstances sets the CurrentInstances field's value.
+func (s *EC2InstanceLimit) SetCurrentInstances(v int64) *EC2InstanceLimit {
+ s.CurrentInstances = &v
+ return s
+}
+
+// SetEC2InstanceType sets the EC2InstanceType field's value.
+func (s *EC2InstanceLimit) SetEC2InstanceType(v string) *EC2InstanceLimit {
+ s.EC2InstanceType = &v
+ return s
+}
+
+// SetInstanceLimit sets the InstanceLimit field's value.
+func (s *EC2InstanceLimit) SetInstanceLimit(v int64) *EC2InstanceLimit {
+ s.InstanceLimit = &v
+ return s
+}
+
+// Log entry describing an event involving Amazon GameLift resources (such as
+// a fleet). In addition to tracking activity, event codes and messages can
+// provide additional information for troubleshooting and debugging problems.
type Event struct {
_ struct{} `type:"structure"`
@@ -5467,7 +6381,7 @@ type Event struct {
EventId *string `min:"1" type:"string"`
// Time stamp indicating when this event occurred. Format is a number expressed
- // in Unix time as milliseconds (ex: "1469498468.057".
+ // in Unix time as milliseconds (ex: "1469498468.057").
EventTime *time.Time `type:"timestamp" timestampFormat:"unix"`
// Additional information related to the event.
@@ -5487,6 +6401,36 @@ func (s Event) GoString() string {
return s.String()
}
+// SetEventCode sets the EventCode field's value.
+func (s *Event) SetEventCode(v string) *Event {
+ s.EventCode = &v
+ return s
+}
+
+// SetEventId sets the EventId field's value.
+func (s *Event) SetEventId(v string) *Event {
+ s.EventId = &v
+ return s
+}
+
+// SetEventTime sets the EventTime field's value.
+func (s *Event) SetEventTime(v time.Time) *Event {
+ s.EventTime = &v
+ return s
+}
+
+// SetMessage sets the Message field's value.
+func (s *Event) SetMessage(v string) *Event {
+ s.Message = &v
+ return s
+}
+
+// SetResourceId sets the ResourceId field's value.
+func (s *Event) SetResourceId(v string) *Event {
+ s.ResourceId = &v
+ return s
+}
+
// General properties describing a fleet.
type FleetAttributes struct {
_ struct{} `type:"structure"`
@@ -5495,7 +6439,7 @@ type FleetAttributes struct {
BuildId *string `type:"string"`
// Time stamp indicating when this data object was created. Format is a number
- // expressed in Unix time as milliseconds (ex: "1469498468.057".
+ // expressed in Unix time as milliseconds (ex: "1469498468.057").
CreationTime *time.Time `type:"timestamp" timestampFormat:"unix"`
// Human-readable description of the fleet.
@@ -5509,8 +6453,9 @@ type FleetAttributes struct {
// in addition to game session logs; see more on game session logs in the Amazon
// GameLift Developer Guide (http://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-sdk-server-api.html#gamelift-sdk-server-api-server-code).
// If no default log path for a fleet is specified, GameLift will automatically
- // upload logs stored on each instance at C:\game\logs. Use the GameLift console
- // to access stored logs.
+ // upload logs that are stored on each instance at C:\game\logs (for Windows)
+ // or /local/game/logs (for Linux). Use the GameLift console to access stored
+ // logs.
LogPaths []*string `type:"list"`
// Descriptive label associated with a fleet. Fleet names do not need to be
@@ -5568,7 +6513,7 @@ type FleetAttributes struct {
Status *string `type:"string" enum:"FleetStatus"`
// Time stamp indicating when this data object was terminated. Format is a number
- // expressed in Unix time as milliseconds (ex: "1469498468.057".
+ // expressed in Unix time as milliseconds (ex: "1469498468.057").
TerminationTime *time.Time `type:"timestamp" timestampFormat:"unix"`
}
@@ -5582,6 +6527,84 @@ func (s FleetAttributes) GoString() string {
return s.String()
}
+// SetBuildId sets the BuildId field's value.
+func (s *FleetAttributes) SetBuildId(v string) *FleetAttributes {
+ s.BuildId = &v
+ return s
+}
+
+// SetCreationTime sets the CreationTime field's value.
+func (s *FleetAttributes) SetCreationTime(v time.Time) *FleetAttributes {
+ s.CreationTime = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *FleetAttributes) SetDescription(v string) *FleetAttributes {
+ s.Description = &v
+ return s
+}
+
+// SetFleetId sets the FleetId field's value.
+func (s *FleetAttributes) SetFleetId(v string) *FleetAttributes {
+ s.FleetId = &v
+ return s
+}
+
+// SetLogPaths sets the LogPaths field's value.
+func (s *FleetAttributes) SetLogPaths(v []*string) *FleetAttributes {
+ s.LogPaths = v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *FleetAttributes) SetName(v string) *FleetAttributes {
+ s.Name = &v
+ return s
+}
+
+// SetNewGameSessionProtectionPolicy sets the NewGameSessionProtectionPolicy field's value.
+func (s *FleetAttributes) SetNewGameSessionProtectionPolicy(v string) *FleetAttributes {
+ s.NewGameSessionProtectionPolicy = &v
+ return s
+}
+
+// SetOperatingSystem sets the OperatingSystem field's value.
+func (s *FleetAttributes) SetOperatingSystem(v string) *FleetAttributes {
+ s.OperatingSystem = &v
+ return s
+}
+
+// SetResourceCreationLimitPolicy sets the ResourceCreationLimitPolicy field's value.
+func (s *FleetAttributes) SetResourceCreationLimitPolicy(v *ResourceCreationLimitPolicy) *FleetAttributes {
+ s.ResourceCreationLimitPolicy = v
+ return s
+}
+
+// SetServerLaunchParameters sets the ServerLaunchParameters field's value.
+func (s *FleetAttributes) SetServerLaunchParameters(v string) *FleetAttributes {
+ s.ServerLaunchParameters = &v
+ return s
+}
+
+// SetServerLaunchPath sets the ServerLaunchPath field's value.
+func (s *FleetAttributes) SetServerLaunchPath(v string) *FleetAttributes {
+ s.ServerLaunchPath = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *FleetAttributes) SetStatus(v string) *FleetAttributes {
+ s.Status = &v
+ return s
+}
+
+// SetTerminationTime sets the TerminationTime field's value.
+func (s *FleetAttributes) SetTerminationTime(v time.Time) *FleetAttributes {
+ s.TerminationTime = &v
+ return s
+}
+
// Information about the fleet's capacity. Fleet capacity is measured in EC2
// instances. By default, new fleets have a capacity of one instance, but can
// be updated as needed. The maximum number of instances for a fleet is determined
@@ -5613,6 +6636,24 @@ func (s FleetCapacity) GoString() string {
return s.String()
}
+// SetFleetId sets the FleetId field's value.
+func (s *FleetCapacity) SetFleetId(v string) *FleetCapacity {
+ s.FleetId = &v
+ return s
+}
+
+// SetInstanceCounts sets the InstanceCounts field's value.
+func (s *FleetCapacity) SetInstanceCounts(v *EC2InstanceCounts) *FleetCapacity {
+ s.InstanceCounts = v
+ return s
+}
+
+// SetInstanceType sets the InstanceType field's value.
+func (s *FleetCapacity) SetInstanceType(v string) *FleetCapacity {
+ s.InstanceType = &v
+ return s
+}
+
// Current status of fleet utilization, including the number of game and player
// sessions being hosted.
type FleetUtilization struct {
@@ -5648,6 +6689,36 @@ func (s FleetUtilization) GoString() string {
return s.String()
}
+// SetActiveGameSessionCount sets the ActiveGameSessionCount field's value.
+func (s *FleetUtilization) SetActiveGameSessionCount(v int64) *FleetUtilization {
+ s.ActiveGameSessionCount = &v
+ return s
+}
+
+// SetActiveServerProcessCount sets the ActiveServerProcessCount field's value.
+func (s *FleetUtilization) SetActiveServerProcessCount(v int64) *FleetUtilization {
+ s.ActiveServerProcessCount = &v
+ return s
+}
+
+// SetCurrentPlayerSessionCount sets the CurrentPlayerSessionCount field's value.
+func (s *FleetUtilization) SetCurrentPlayerSessionCount(v int64) *FleetUtilization {
+ s.CurrentPlayerSessionCount = &v
+ return s
+}
+
+// SetFleetId sets the FleetId field's value.
+func (s *FleetUtilization) SetFleetId(v string) *FleetUtilization {
+ s.FleetId = &v
+ return s
+}
+
+// SetMaximumPlayerSessionCount sets the MaximumPlayerSessionCount field's value.
+func (s *FleetUtilization) SetMaximumPlayerSessionCount(v int64) *FleetUtilization {
+ s.MaximumPlayerSessionCount = &v
+ return s
+}
+
// Set of key-value pairs containing information a server process requires to
// set up a game session. This object allows you to pass in any set of data
// needed for your game. For more information, see the Amazon GameLift Developer
@@ -5692,17 +6763,29 @@ func (s *GameProperty) Validate() error {
return nil
}
+// SetKey sets the Key field's value.
+func (s *GameProperty) SetKey(v string) *GameProperty {
+ s.Key = &v
+ return s
+}
+
+// SetValue sets the Value field's value.
+func (s *GameProperty) SetValue(v string) *GameProperty {
+ s.Value = &v
+ return s
+}
+
// Properties describing a game session.
type GameSession struct {
_ struct{} `type:"structure"`
// Time stamp indicating when this data object was created. Format is a number
- // expressed in Unix time as milliseconds (ex: "1469498468.057".
+ // expressed in Unix time as milliseconds (ex: "1469498468.057").
CreationTime *time.Time `type:"timestamp" timestampFormat:"unix"`
// Player ID of the person or entity that created the game session. This ID
// is used to enforce a resource protection policy (if one exists) that limits
- // the number of concurrent active game sessions one player can have.
+ // the number of concurrent active game sessions for a single player.
CreatorId *string `min:"1" type:"string"`
// Number of players currently in the game session.
@@ -5717,7 +6800,7 @@ type GameSession struct {
// Unique identifier for a game session. Game session ID format is as follows:
// "arn:aws:gamelift:::gamesession/fleet-/". The
// value of is either a custom ID string (if one was specified when
- // the game session was created) an auto-generated string.
+ // the game session was created) an autogenerated string.
GameSessionId *string `min:"1" type:"string"`
// IP address of the game session. To connect to a GameLift server process,
@@ -5743,7 +6826,7 @@ type GameSession struct {
Status *string `type:"string" enum:"GameSessionStatus"`
// Time stamp indicating when this data object was terminated. Format is a number
- // expressed in Unix time as milliseconds (ex: "1469498468.057".
+ // expressed in Unix time as milliseconds (ex: "1469498468.057").
TerminationTime *time.Time `type:"timestamp" timestampFormat:"unix"`
}
@@ -5757,6 +6840,84 @@ func (s GameSession) GoString() string {
return s.String()
}
+// SetCreationTime sets the CreationTime field's value.
+func (s *GameSession) SetCreationTime(v time.Time) *GameSession {
+ s.CreationTime = &v
+ return s
+}
+
+// SetCreatorId sets the CreatorId field's value.
+func (s *GameSession) SetCreatorId(v string) *GameSession {
+ s.CreatorId = &v
+ return s
+}
+
+// SetCurrentPlayerSessionCount sets the CurrentPlayerSessionCount field's value.
+func (s *GameSession) SetCurrentPlayerSessionCount(v int64) *GameSession {
+ s.CurrentPlayerSessionCount = &v
+ return s
+}
+
+// SetFleetId sets the FleetId field's value.
+func (s *GameSession) SetFleetId(v string) *GameSession {
+ s.FleetId = &v
+ return s
+}
+
+// SetGameProperties sets the GameProperties field's value.
+func (s *GameSession) SetGameProperties(v []*GameProperty) *GameSession {
+ s.GameProperties = v
+ return s
+}
+
+// SetGameSessionId sets the GameSessionId field's value.
+func (s *GameSession) SetGameSessionId(v string) *GameSession {
+ s.GameSessionId = &v
+ return s
+}
+
+// SetIpAddress sets the IpAddress field's value.
+func (s *GameSession) SetIpAddress(v string) *GameSession {
+ s.IpAddress = &v
+ return s
+}
+
+// SetMaximumPlayerSessionCount sets the MaximumPlayerSessionCount field's value.
+func (s *GameSession) SetMaximumPlayerSessionCount(v int64) *GameSession {
+ s.MaximumPlayerSessionCount = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *GameSession) SetName(v string) *GameSession {
+ s.Name = &v
+ return s
+}
+
+// SetPlayerSessionCreationPolicy sets the PlayerSessionCreationPolicy field's value.
+func (s *GameSession) SetPlayerSessionCreationPolicy(v string) *GameSession {
+ s.PlayerSessionCreationPolicy = &v
+ return s
+}
+
+// SetPort sets the Port field's value.
+func (s *GameSession) SetPort(v int64) *GameSession {
+ s.Port = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *GameSession) SetStatus(v string) *GameSession {
+ s.Status = &v
+ return s
+}
+
+// SetTerminationTime sets the TerminationTime field's value.
+func (s *GameSession) SetTerminationTime(v time.Time) *GameSession {
+ s.TerminationTime = &v
+ return s
+}
+
// A game session's properties and the protection policy currently in force.
type GameSessionDetail struct {
_ struct{} `type:"structure"`
@@ -5784,6 +6945,18 @@ func (s GameSessionDetail) GoString() string {
return s.String()
}
+// SetGameSession sets the GameSession field's value.
+func (s *GameSessionDetail) SetGameSession(v *GameSession) *GameSessionDetail {
+ s.GameSession = v
+ return s
+}
+
+// SetProtectionPolicy sets the ProtectionPolicy field's value.
+func (s *GameSessionDetail) SetProtectionPolicy(v string) *GameSessionDetail {
+ s.ProtectionPolicy = &v
+ return s
+}
+
// Represents the input for a request action.
type GetGameSessionLogUrlInput struct {
_ struct{} `type:"structure"`
@@ -5791,7 +6964,7 @@ type GetGameSessionLogUrlInput struct {
// Unique identifier for the game session to get logs for. Game session ID format
// is as follows: "arn:aws:gamelift:::gamesession/fleet-/". The value of is either a custom ID string (if one was
- // specified when the game session was created) an auto-generated string.
+ // specified when the game session was created) an autogenerated string.
//
// GameSessionId is a required field
GameSessionId *string `min:"1" type:"string" required:"true"`
@@ -5823,6 +6996,12 @@ func (s *GetGameSessionLogUrlInput) Validate() error {
return nil
}
+// SetGameSessionId sets the GameSessionId field's value.
+func (s *GetGameSessionLogUrlInput) SetGameSessionId(v string) *GetGameSessionLogUrlInput {
+ s.GameSessionId = &v
+ return s
+}
+
// Represents the returned data in response to a request action.
type GetGameSessionLogUrlOutput struct {
_ struct{} `type:"structure"`
@@ -5841,8 +7020,94 @@ func (s GetGameSessionLogUrlOutput) GoString() string {
return s.String()
}
-// Properties describing an instance of a virtual computing resource that is
-// hosting game servers. Fleets contain zero or more instances.
+// SetPreSignedUrl sets the PreSignedUrl field's value.
+func (s *GetGameSessionLogUrlOutput) SetPreSignedUrl(v string) *GetGameSessionLogUrlOutput {
+ s.PreSignedUrl = &v
+ return s
+}
+
+type GetInstanceAccessInput struct {
+ _ struct{} `type:"structure"`
+
+ // Unique identifier for a fleet. Specify the fleet that contain the instance
+ // you want access to. The fleet can be in any of the following statuses: ACTIVATING,
+ // ACTIVE, or ERROR. Fleets with an ERROR status can be accessed for a few hours
+ // before being deleted.
+ //
+ // FleetId is a required field
+ FleetId *string `type:"string" required:"true"`
+
+ // Unique identifier for an instance. Specify the instance you want to get access
+ // to. You can access an instance in any status.
+ //
+ // InstanceId is a required field
+ InstanceId *string `type:"string" required:"true"`
+}
+
+// String returns the string representation
+func (s GetInstanceAccessInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s GetInstanceAccessInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *GetInstanceAccessInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "GetInstanceAccessInput"}
+ if s.FleetId == nil {
+ invalidParams.Add(request.NewErrParamRequired("FleetId"))
+ }
+ if s.InstanceId == nil {
+ invalidParams.Add(request.NewErrParamRequired("InstanceId"))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetFleetId sets the FleetId field's value.
+func (s *GetInstanceAccessInput) SetFleetId(v string) *GetInstanceAccessInput {
+ s.FleetId = &v
+ return s
+}
+
+// SetInstanceId sets the InstanceId field's value.
+func (s *GetInstanceAccessInput) SetInstanceId(v string) *GetInstanceAccessInput {
+ s.InstanceId = &v
+ return s
+}
+
+type GetInstanceAccessOutput struct {
+ _ struct{} `type:"structure"`
+
+ // Object containing connection information for a fleet instance, including
+ // IP address and access credentials.
+ InstanceAccess *InstanceAccess `type:"structure"`
+}
+
+// String returns the string representation
+func (s GetInstanceAccessOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s GetInstanceAccessOutput) GoString() string {
+ return s.String()
+}
+
+// SetInstanceAccess sets the InstanceAccess field's value.
+func (s *GetInstanceAccessOutput) SetInstanceAccess(v *InstanceAccess) *GetInstanceAccessOutput {
+ s.InstanceAccess = v
+ return s
+}
+
+// Properties that describe an instance of a virtual computing resource that
+// hosts one or more game servers. A fleet contains zero or more instances.
type Instance struct {
_ struct{} `type:"structure"`
@@ -5859,7 +7124,7 @@ type Instance struct {
// IP address assigned to the instance.
IpAddress *string `type:"string"`
- // Operating system being used on this instance.
+ // Operating system that is running on this instance.
OperatingSystem *string `type:"string" enum:"OperatingSystem"`
// Current status of the instance. Possible statuses include the following:
@@ -5891,6 +7156,145 @@ func (s Instance) GoString() string {
return s.String()
}
+// SetCreationTime sets the CreationTime field's value.
+func (s *Instance) SetCreationTime(v time.Time) *Instance {
+ s.CreationTime = &v
+ return s
+}
+
+// SetFleetId sets the FleetId field's value.
+func (s *Instance) SetFleetId(v string) *Instance {
+ s.FleetId = &v
+ return s
+}
+
+// SetInstanceId sets the InstanceId field's value.
+func (s *Instance) SetInstanceId(v string) *Instance {
+ s.InstanceId = &v
+ return s
+}
+
+// SetIpAddress sets the IpAddress field's value.
+func (s *Instance) SetIpAddress(v string) *Instance {
+ s.IpAddress = &v
+ return s
+}
+
+// SetOperatingSystem sets the OperatingSystem field's value.
+func (s *Instance) SetOperatingSystem(v string) *Instance {
+ s.OperatingSystem = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *Instance) SetStatus(v string) *Instance {
+ s.Status = &v
+ return s
+}
+
+// SetType sets the Type field's value.
+func (s *Instance) SetType(v string) *Instance {
+ s.Type = &v
+ return s
+}
+
+// Information required to remotely connect to a fleet instance. Access is requested
+// by calling GetInstanceAccess.
+type InstanceAccess struct {
+ _ struct{} `type:"structure"`
+
+ // Credentials required to access the instance.
+ Credentials *InstanceCredentials `type:"structure"`
+
+ // Unique identifier for the fleet containing the instance being accessed.
+ FleetId *string `type:"string"`
+
+ // Unique identifier for the instance being accessed.
+ InstanceId *string `type:"string"`
+
+ // IP address assigned to the instance.
+ IpAddress *string `type:"string"`
+
+ // Operating system that is running on the instance.
+ OperatingSystem *string `type:"string" enum:"OperatingSystem"`
+}
+
+// String returns the string representation
+func (s InstanceAccess) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s InstanceAccess) GoString() string {
+ return s.String()
+}
+
+// SetCredentials sets the Credentials field's value.
+func (s *InstanceAccess) SetCredentials(v *InstanceCredentials) *InstanceAccess {
+ s.Credentials = v
+ return s
+}
+
+// SetFleetId sets the FleetId field's value.
+func (s *InstanceAccess) SetFleetId(v string) *InstanceAccess {
+ s.FleetId = &v
+ return s
+}
+
+// SetInstanceId sets the InstanceId field's value.
+func (s *InstanceAccess) SetInstanceId(v string) *InstanceAccess {
+ s.InstanceId = &v
+ return s
+}
+
+// SetIpAddress sets the IpAddress field's value.
+func (s *InstanceAccess) SetIpAddress(v string) *InstanceAccess {
+ s.IpAddress = &v
+ return s
+}
+
+// SetOperatingSystem sets the OperatingSystem field's value.
+func (s *InstanceAccess) SetOperatingSystem(v string) *InstanceAccess {
+ s.OperatingSystem = &v
+ return s
+}
+
+// Set of credentials required to remotely access a fleet instance. Access credentials
+// are requested by calling GetInstanceAccess and returned in an InstanceAccess
+// object.
+type InstanceCredentials struct {
+ _ struct{} `type:"structure"`
+
+ // Secret string. For Windows instances, the secret is a password. For Linux
+ // instances, it is a private key.
+ Secret *string `min:"1" type:"string"`
+
+ // User login string.
+ UserName *string `min:"1" type:"string"`
+}
+
+// String returns the string representation
+func (s InstanceCredentials) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s InstanceCredentials) GoString() string {
+ return s.String()
+}
+
+// SetSecret sets the Secret field's value.
+func (s *InstanceCredentials) SetSecret(v string) *InstanceCredentials {
+ s.Secret = &v
+ return s
+}
+
+// SetUserName sets the UserName field's value.
+func (s *InstanceCredentials) SetUserName(v string) *InstanceCredentials {
+ s.UserName = &v
+ return s
+}
+
// A range of IP addresses and port settings that allow inbound traffic to connect
// to server processes on GameLift. Each game session hosted on a fleet is assigned
// a unique combination of IP address and port number, which must fall into
@@ -5961,6 +7365,30 @@ func (s *IpPermission) Validate() error {
return nil
}
+// SetFromPort sets the FromPort field's value.
+func (s *IpPermission) SetFromPort(v int64) *IpPermission {
+ s.FromPort = &v
+ return s
+}
+
+// SetIpRange sets the IpRange field's value.
+func (s *IpPermission) SetIpRange(v string) *IpPermission {
+ s.IpRange = &v
+ return s
+}
+
+// SetProtocol sets the Protocol field's value.
+func (s *IpPermission) SetProtocol(v string) *IpPermission {
+ s.Protocol = &v
+ return s
+}
+
+// SetToPort sets the ToPort field's value.
+func (s *IpPermission) SetToPort(v int64) *IpPermission {
+ s.ToPort = &v
+ return s
+}
+
// Represents the input for a request action.
type ListAliasesInput struct {
_ struct{} `type:"structure"`
@@ -6022,6 +7450,30 @@ func (s *ListAliasesInput) Validate() error {
return nil
}
+// SetLimit sets the Limit field's value.
+func (s *ListAliasesInput) SetLimit(v int64) *ListAliasesInput {
+ s.Limit = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *ListAliasesInput) SetName(v string) *ListAliasesInput {
+ s.Name = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListAliasesInput) SetNextToken(v string) *ListAliasesInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetRoutingStrategyType sets the RoutingStrategyType field's value.
+func (s *ListAliasesInput) SetRoutingStrategyType(v string) *ListAliasesInput {
+ s.RoutingStrategyType = &v
+ return s
+}
+
// Represents the returned data in response to a request action.
type ListAliasesOutput struct {
_ struct{} `type:"structure"`
@@ -6044,6 +7496,18 @@ func (s ListAliasesOutput) GoString() string {
return s.String()
}
+// SetAliases sets the Aliases field's value.
+func (s *ListAliasesOutput) SetAliases(v []*Alias) *ListAliasesOutput {
+ s.Aliases = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListAliasesOutput) SetNextToken(v string) *ListAliasesOutput {
+ s.NextToken = &v
+ return s
+}
+
// Represents the input for a request action.
type ListBuildsInput struct {
_ struct{} `type:"structure"`
@@ -6100,6 +7564,24 @@ func (s *ListBuildsInput) Validate() error {
return nil
}
+// SetLimit sets the Limit field's value.
+func (s *ListBuildsInput) SetLimit(v int64) *ListBuildsInput {
+ s.Limit = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListBuildsInput) SetNextToken(v string) *ListBuildsInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *ListBuildsInput) SetStatus(v string) *ListBuildsInput {
+ s.Status = &v
+ return s
+}
+
// Represents the returned data in response to a request action.
type ListBuildsOutput struct {
_ struct{} `type:"structure"`
@@ -6122,6 +7604,18 @@ func (s ListBuildsOutput) GoString() string {
return s.String()
}
+// SetBuilds sets the Builds field's value.
+func (s *ListBuildsOutput) SetBuilds(v []*Build) *ListBuildsOutput {
+ s.Builds = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListBuildsOutput) SetNextToken(v string) *ListBuildsOutput {
+ s.NextToken = &v
+ return s
+}
+
// Represents the input for a request action.
type ListFleetsInput struct {
_ struct{} `type:"structure"`
@@ -6167,6 +7661,24 @@ func (s *ListFleetsInput) Validate() error {
return nil
}
+// SetBuildId sets the BuildId field's value.
+func (s *ListFleetsInput) SetBuildId(v string) *ListFleetsInput {
+ s.BuildId = &v
+ return s
+}
+
+// SetLimit sets the Limit field's value.
+func (s *ListFleetsInput) SetLimit(v int64) *ListFleetsInput {
+ s.Limit = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListFleetsInput) SetNextToken(v string) *ListFleetsInput {
+ s.NextToken = &v
+ return s
+}
+
// Represents the returned data in response to a request action.
type ListFleetsOutput struct {
_ struct{} `type:"structure"`
@@ -6191,12 +7703,24 @@ func (s ListFleetsOutput) GoString() string {
return s.String()
}
+// SetFleetIds sets the FleetIds field's value.
+func (s *ListFleetsOutput) SetFleetIds(v []*string) *ListFleetsOutput {
+ s.FleetIds = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListFleetsOutput) SetNextToken(v string) *ListFleetsOutput {
+ s.NextToken = &v
+ return s
+}
+
// Properties describing a player session.
type PlayerSession struct {
_ struct{} `type:"structure"`
// Time stamp indicating when this data object was created. Format is a number
- // expressed in Unix time as milliseconds (ex: "1469498468.057".
+ // expressed in Unix time as milliseconds (ex: "1469498468.057").
CreationTime *time.Time `type:"timestamp" timestampFormat:"unix"`
// Unique identifier for a fleet.
@@ -6236,7 +7760,7 @@ type PlayerSession struct {
Status *string `type:"string" enum:"PlayerSessionStatus"`
// Time stamp indicating when this data object was terminated. Format is a number
- // expressed in Unix time as milliseconds (ex: "1469498468.057".
+ // expressed in Unix time as milliseconds (ex: "1469498468.057").
TerminationTime *time.Time `type:"timestamp" timestampFormat:"unix"`
}
@@ -6250,6 +7774,60 @@ func (s PlayerSession) GoString() string {
return s.String()
}
+// SetCreationTime sets the CreationTime field's value.
+func (s *PlayerSession) SetCreationTime(v time.Time) *PlayerSession {
+ s.CreationTime = &v
+ return s
+}
+
+// SetFleetId sets the FleetId field's value.
+func (s *PlayerSession) SetFleetId(v string) *PlayerSession {
+ s.FleetId = &v
+ return s
+}
+
+// SetGameSessionId sets the GameSessionId field's value.
+func (s *PlayerSession) SetGameSessionId(v string) *PlayerSession {
+ s.GameSessionId = &v
+ return s
+}
+
+// SetIpAddress sets the IpAddress field's value.
+func (s *PlayerSession) SetIpAddress(v string) *PlayerSession {
+ s.IpAddress = &v
+ return s
+}
+
+// SetPlayerId sets the PlayerId field's value.
+func (s *PlayerSession) SetPlayerId(v string) *PlayerSession {
+ s.PlayerId = &v
+ return s
+}
+
+// SetPlayerSessionId sets the PlayerSessionId field's value.
+func (s *PlayerSession) SetPlayerSessionId(v string) *PlayerSession {
+ s.PlayerSessionId = &v
+ return s
+}
+
+// SetPort sets the Port field's value.
+func (s *PlayerSession) SetPort(v int64) *PlayerSession {
+ s.Port = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *PlayerSession) SetStatus(v string) *PlayerSession {
+ s.Status = &v
+ return s
+}
+
+// SetTerminationTime sets the TerminationTime field's value.
+func (s *PlayerSession) SetTerminationTime(v time.Time) *PlayerSession {
+ s.TerminationTime = &v
+ return s
+}
+
// Represents the input for a request action.
type PutScalingPolicyInput struct {
_ struct{} `type:"structure"`
@@ -6378,6 +7956,54 @@ func (s *PutScalingPolicyInput) Validate() error {
return nil
}
+// SetComparisonOperator sets the ComparisonOperator field's value.
+func (s *PutScalingPolicyInput) SetComparisonOperator(v string) *PutScalingPolicyInput {
+ s.ComparisonOperator = &v
+ return s
+}
+
+// SetEvaluationPeriods sets the EvaluationPeriods field's value.
+func (s *PutScalingPolicyInput) SetEvaluationPeriods(v int64) *PutScalingPolicyInput {
+ s.EvaluationPeriods = &v
+ return s
+}
+
+// SetFleetId sets the FleetId field's value.
+func (s *PutScalingPolicyInput) SetFleetId(v string) *PutScalingPolicyInput {
+ s.FleetId = &v
+ return s
+}
+
+// SetMetricName sets the MetricName field's value.
+func (s *PutScalingPolicyInput) SetMetricName(v string) *PutScalingPolicyInput {
+ s.MetricName = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *PutScalingPolicyInput) SetName(v string) *PutScalingPolicyInput {
+ s.Name = &v
+ return s
+}
+
+// SetScalingAdjustment sets the ScalingAdjustment field's value.
+func (s *PutScalingPolicyInput) SetScalingAdjustment(v int64) *PutScalingPolicyInput {
+ s.ScalingAdjustment = &v
+ return s
+}
+
+// SetScalingAdjustmentType sets the ScalingAdjustmentType field's value.
+func (s *PutScalingPolicyInput) SetScalingAdjustmentType(v string) *PutScalingPolicyInput {
+ s.ScalingAdjustmentType = &v
+ return s
+}
+
+// SetThreshold sets the Threshold field's value.
+func (s *PutScalingPolicyInput) SetThreshold(v float64) *PutScalingPolicyInput {
+ s.Threshold = &v
+ return s
+}
+
// Represents the returned data in response to a request action.
type PutScalingPolicyOutput struct {
_ struct{} `type:"structure"`
@@ -6397,6 +8023,12 @@ func (s PutScalingPolicyOutput) GoString() string {
return s.String()
}
+// SetName sets the Name field's value.
+func (s *PutScalingPolicyOutput) SetName(v string) *PutScalingPolicyOutput {
+ s.Name = &v
+ return s
+}
+
// Represents the input for a request action.
type RequestUploadCredentialsInput struct {
_ struct{} `type:"structure"`
@@ -6430,6 +8062,12 @@ func (s *RequestUploadCredentialsInput) Validate() error {
return nil
}
+// SetBuildId sets the BuildId field's value.
+func (s *RequestUploadCredentialsInput) SetBuildId(v string) *RequestUploadCredentialsInput {
+ s.BuildId = &v
+ return s
+}
+
// Represents the returned data in response to a request action.
type RequestUploadCredentialsOutput struct {
_ struct{} `type:"structure"`
@@ -6453,6 +8091,18 @@ func (s RequestUploadCredentialsOutput) GoString() string {
return s.String()
}
+// SetStorageLocation sets the StorageLocation field's value.
+func (s *RequestUploadCredentialsOutput) SetStorageLocation(v *S3Location) *RequestUploadCredentialsOutput {
+ s.StorageLocation = v
+ return s
+}
+
+// SetUploadCredentials sets the UploadCredentials field's value.
+func (s *RequestUploadCredentialsOutput) SetUploadCredentials(v *AwsCredentials) *RequestUploadCredentialsOutput {
+ s.UploadCredentials = v
+ return s
+}
+
// Represents the input for a request action.
type ResolveAliasInput struct {
_ struct{} `type:"structure"`
@@ -6486,6 +8136,12 @@ func (s *ResolveAliasInput) Validate() error {
return nil
}
+// SetAliasId sets the AliasId field's value.
+func (s *ResolveAliasInput) SetAliasId(v string) *ResolveAliasInput {
+ s.AliasId = &v
+ return s
+}
+
// Represents the returned data in response to a request action.
type ResolveAliasOutput struct {
_ struct{} `type:"structure"`
@@ -6504,6 +8160,12 @@ func (s ResolveAliasOutput) GoString() string {
return s.String()
}
+// SetFleetId sets the FleetId field's value.
+func (s *ResolveAliasOutput) SetFleetId(v string) *ResolveAliasOutput {
+ s.FleetId = &v
+ return s
+}
+
// Policy that limits the number of game sessions a player can create on the
// same fleet. This optional policy gives game owners control over how players
// can consume available game server resources. A resource creation policy makes
@@ -6518,11 +8180,11 @@ func (s ResolveAliasOutput) GoString() string {
type ResourceCreationLimitPolicy struct {
_ struct{} `type:"structure"`
- // Maximum number of game sessions an individual can create during the policy
- // period.
+ // Maximum number of game sessions that an individual can create during the
+ // policy period.
NewGameSessionsPerCreator *int64 `type:"integer"`
- // Time span used to evaluate the resource creation limit policy.
+ // Time span used in evaluating the resource creation limit policy.
PolicyPeriodInMinutes *int64 `type:"integer"`
}
@@ -6536,6 +8198,18 @@ func (s ResourceCreationLimitPolicy) GoString() string {
return s.String()
}
+// SetNewGameSessionsPerCreator sets the NewGameSessionsPerCreator field's value.
+func (s *ResourceCreationLimitPolicy) SetNewGameSessionsPerCreator(v int64) *ResourceCreationLimitPolicy {
+ s.NewGameSessionsPerCreator = &v
+ return s
+}
+
+// SetPolicyPeriodInMinutes sets the PolicyPeriodInMinutes field's value.
+func (s *ResourceCreationLimitPolicy) SetPolicyPeriodInMinutes(v int64) *ResourceCreationLimitPolicy {
+ s.PolicyPeriodInMinutes = &v
+ return s
+}
+
// Routing configuration for a fleet alias.
type RoutingStrategy struct {
_ struct{} `type:"structure"`
@@ -6569,6 +8243,24 @@ func (s RoutingStrategy) GoString() string {
return s.String()
}
+// SetFleetId sets the FleetId field's value.
+func (s *RoutingStrategy) SetFleetId(v string) *RoutingStrategy {
+ s.FleetId = &v
+ return s
+}
+
+// SetMessage sets the Message field's value.
+func (s *RoutingStrategy) SetMessage(v string) *RoutingStrategy {
+ s.Message = &v
+ return s
+}
+
+// SetType sets the Type field's value.
+func (s *RoutingStrategy) SetType(v string) *RoutingStrategy {
+ s.Type = &v
+ return s
+}
+
// Collection of server process configurations that describe what processes
// should be run on each instance in a fleet. An instance can launch and maintain
// multiple server processes based on the runtime configuration; it regularly
@@ -6628,6 +8320,12 @@ func (s *RuntimeConfiguration) Validate() error {
return nil
}
+// SetServerProcesses sets the ServerProcesses field's value.
+func (s *RuntimeConfiguration) SetServerProcesses(v []*ServerProcess) *RuntimeConfiguration {
+ s.ServerProcesses = v
+ return s
+}
+
// Location in Amazon Simple Storage Service (Amazon S3) where a build's files
// are stored. This location is assigned in response to a CreateBuild call,
// and is always in the same region as the service used to create the build.
@@ -6675,6 +8373,24 @@ func (s *S3Location) Validate() error {
return nil
}
+// SetBucket sets the Bucket field's value.
+func (s *S3Location) SetBucket(v string) *S3Location {
+ s.Bucket = &v
+ return s
+}
+
+// SetKey sets the Key field's value.
+func (s *S3Location) SetKey(v string) *S3Location {
+ s.Key = &v
+ return s
+}
+
+// SetRoleArn sets the RoleArn field's value.
+func (s *S3Location) SetRoleArn(v string) *S3Location {
+ s.RoleArn = &v
+ return s
+}
+
// Rule that controls how a fleet is scaled. Scaling policies are uniquely identified
// by the combination of name and fleet ID.
type ScalingPolicy struct {
@@ -6766,6 +8482,60 @@ func (s ScalingPolicy) GoString() string {
return s.String()
}
+// SetComparisonOperator sets the ComparisonOperator field's value.
+func (s *ScalingPolicy) SetComparisonOperator(v string) *ScalingPolicy {
+ s.ComparisonOperator = &v
+ return s
+}
+
+// SetEvaluationPeriods sets the EvaluationPeriods field's value.
+func (s *ScalingPolicy) SetEvaluationPeriods(v int64) *ScalingPolicy {
+ s.EvaluationPeriods = &v
+ return s
+}
+
+// SetFleetId sets the FleetId field's value.
+func (s *ScalingPolicy) SetFleetId(v string) *ScalingPolicy {
+ s.FleetId = &v
+ return s
+}
+
+// SetMetricName sets the MetricName field's value.
+func (s *ScalingPolicy) SetMetricName(v string) *ScalingPolicy {
+ s.MetricName = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *ScalingPolicy) SetName(v string) *ScalingPolicy {
+ s.Name = &v
+ return s
+}
+
+// SetScalingAdjustment sets the ScalingAdjustment field's value.
+func (s *ScalingPolicy) SetScalingAdjustment(v int64) *ScalingPolicy {
+ s.ScalingAdjustment = &v
+ return s
+}
+
+// SetScalingAdjustmentType sets the ScalingAdjustmentType field's value.
+func (s *ScalingPolicy) SetScalingAdjustmentType(v string) *ScalingPolicy {
+ s.ScalingAdjustmentType = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *ScalingPolicy) SetStatus(v string) *ScalingPolicy {
+ s.Status = &v
+ return s
+}
+
+// SetThreshold sets the Threshold field's value.
+func (s *ScalingPolicy) SetThreshold(v float64) *ScalingPolicy {
+ s.Threshold = &v
+ return s
+}
+
// Represents the input for a request action.
type SearchGameSessionsInput struct {
_ struct{} `type:"structure"`
@@ -6877,6 +8647,42 @@ func (s *SearchGameSessionsInput) Validate() error {
return nil
}
+// SetAliasId sets the AliasId field's value.
+func (s *SearchGameSessionsInput) SetAliasId(v string) *SearchGameSessionsInput {
+ s.AliasId = &v
+ return s
+}
+
+// SetFilterExpression sets the FilterExpression field's value.
+func (s *SearchGameSessionsInput) SetFilterExpression(v string) *SearchGameSessionsInput {
+ s.FilterExpression = &v
+ return s
+}
+
+// SetFleetId sets the FleetId field's value.
+func (s *SearchGameSessionsInput) SetFleetId(v string) *SearchGameSessionsInput {
+ s.FleetId = &v
+ return s
+}
+
+// SetLimit sets the Limit field's value.
+func (s *SearchGameSessionsInput) SetLimit(v int64) *SearchGameSessionsInput {
+ s.Limit = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *SearchGameSessionsInput) SetNextToken(v string) *SearchGameSessionsInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetSortExpression sets the SortExpression field's value.
+func (s *SearchGameSessionsInput) SetSortExpression(v string) *SearchGameSessionsInput {
+ s.SortExpression = &v
+ return s
+}
+
// Represents the returned data in response to a request action.
type SearchGameSessionsOutput struct {
_ struct{} `type:"structure"`
@@ -6900,6 +8706,18 @@ func (s SearchGameSessionsOutput) GoString() string {
return s.String()
}
+// SetGameSessions sets the GameSessions field's value.
+func (s *SearchGameSessionsOutput) SetGameSessions(v []*GameSession) *SearchGameSessionsOutput {
+ s.GameSessions = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *SearchGameSessionsOutput) SetNextToken(v string) *SearchGameSessionsOutput {
+ s.NextToken = &v
+ return s
+}
+
// A set of instructions for launching server processes on each instance in
// a fleet. Each instruction set identifies the location of the server executable,
// optional launch parameters, and the number of server processes with this
@@ -6914,9 +8732,12 @@ type ServerProcess struct {
// ConcurrentExecutions is a required field
ConcurrentExecutions *int64 `min:"1" type:"integer" required:"true"`
- // Location in the game build of the server executable. All game builds are
- // installed on instances at the root C:\game\..., so an executable file located
- // at MyGame\latest\server.exe has a launch path of "C:\game\MyGame\latest\server.exe".
+ // Location of the server executable in a game build. All game builds are installed
+ // on instances at the root : for Windows instances C:\game, and for Linux instances
+ // /local/game. A Windows game build with an executable file located at MyGame\latest\server.exe
+ // must have a launch path of "C:\game\MyGame\latest\server.exe". A Linux game
+ // build with an executable file located at MyGame/latest/server.exe must have
+ // a launch path of "/local/game/MyGame/latest/server.exe".
//
// LaunchPath is a required field
LaunchPath *string `min:"1" type:"string" required:"true"`
@@ -6960,6 +8781,24 @@ func (s *ServerProcess) Validate() error {
return nil
}
+// SetConcurrentExecutions sets the ConcurrentExecutions field's value.
+func (s *ServerProcess) SetConcurrentExecutions(v int64) *ServerProcess {
+ s.ConcurrentExecutions = &v
+ return s
+}
+
+// SetLaunchPath sets the LaunchPath field's value.
+func (s *ServerProcess) SetLaunchPath(v string) *ServerProcess {
+ s.LaunchPath = &v
+ return s
+}
+
+// SetParameters sets the Parameters field's value.
+func (s *ServerProcess) SetParameters(v string) *ServerProcess {
+ s.Parameters = &v
+ return s
+}
+
// Represents the input for a request action.
type UpdateAliasInput struct {
_ struct{} `type:"structure"`
@@ -7009,6 +8848,30 @@ func (s *UpdateAliasInput) Validate() error {
return nil
}
+// SetAliasId sets the AliasId field's value.
+func (s *UpdateAliasInput) SetAliasId(v string) *UpdateAliasInput {
+ s.AliasId = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *UpdateAliasInput) SetDescription(v string) *UpdateAliasInput {
+ s.Description = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *UpdateAliasInput) SetName(v string) *UpdateAliasInput {
+ s.Name = &v
+ return s
+}
+
+// SetRoutingStrategy sets the RoutingStrategy field's value.
+func (s *UpdateAliasInput) SetRoutingStrategy(v *RoutingStrategy) *UpdateAliasInput {
+ s.RoutingStrategy = v
+ return s
+}
+
// Represents the returned data in response to a request action.
type UpdateAliasOutput struct {
_ struct{} `type:"structure"`
@@ -7027,6 +8890,12 @@ func (s UpdateAliasOutput) GoString() string {
return s.String()
}
+// SetAlias sets the Alias field's value.
+func (s *UpdateAliasOutput) SetAlias(v *Alias) *UpdateAliasOutput {
+ s.Alias = v
+ return s
+}
+
// Represents the input for a request action.
type UpdateBuildInput struct {
_ struct{} `type:"structure"`
@@ -7074,6 +8943,24 @@ func (s *UpdateBuildInput) Validate() error {
return nil
}
+// SetBuildId sets the BuildId field's value.
+func (s *UpdateBuildInput) SetBuildId(v string) *UpdateBuildInput {
+ s.BuildId = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *UpdateBuildInput) SetName(v string) *UpdateBuildInput {
+ s.Name = &v
+ return s
+}
+
+// SetVersion sets the Version field's value.
+func (s *UpdateBuildInput) SetVersion(v string) *UpdateBuildInput {
+ s.Version = &v
+ return s
+}
+
// Represents the returned data in response to a request action.
type UpdateBuildOutput struct {
_ struct{} `type:"structure"`
@@ -7092,6 +8979,12 @@ func (s UpdateBuildOutput) GoString() string {
return s.String()
}
+// SetBuild sets the Build field's value.
+func (s *UpdateBuildOutput) SetBuild(v *Build) *UpdateBuildOutput {
+ s.Build = v
+ return s
+}
+
// Represents the input for a request action.
type UpdateFleetAttributesInput struct {
_ struct{} `type:"structure"`
@@ -7153,6 +9046,36 @@ func (s *UpdateFleetAttributesInput) Validate() error {
return nil
}
+// SetDescription sets the Description field's value.
+func (s *UpdateFleetAttributesInput) SetDescription(v string) *UpdateFleetAttributesInput {
+ s.Description = &v
+ return s
+}
+
+// SetFleetId sets the FleetId field's value.
+func (s *UpdateFleetAttributesInput) SetFleetId(v string) *UpdateFleetAttributesInput {
+ s.FleetId = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *UpdateFleetAttributesInput) SetName(v string) *UpdateFleetAttributesInput {
+ s.Name = &v
+ return s
+}
+
+// SetNewGameSessionProtectionPolicy sets the NewGameSessionProtectionPolicy field's value.
+func (s *UpdateFleetAttributesInput) SetNewGameSessionProtectionPolicy(v string) *UpdateFleetAttributesInput {
+ s.NewGameSessionProtectionPolicy = &v
+ return s
+}
+
+// SetResourceCreationLimitPolicy sets the ResourceCreationLimitPolicy field's value.
+func (s *UpdateFleetAttributesInput) SetResourceCreationLimitPolicy(v *ResourceCreationLimitPolicy) *UpdateFleetAttributesInput {
+ s.ResourceCreationLimitPolicy = v
+ return s
+}
+
// Represents the returned data in response to a request action.
type UpdateFleetAttributesOutput struct {
_ struct{} `type:"structure"`
@@ -7171,6 +9094,12 @@ func (s UpdateFleetAttributesOutput) GoString() string {
return s.String()
}
+// SetFleetId sets the FleetId field's value.
+func (s *UpdateFleetAttributesOutput) SetFleetId(v string) *UpdateFleetAttributesOutput {
+ s.FleetId = &v
+ return s
+}
+
// Represents the input for a request action.
type UpdateFleetCapacityInput struct {
_ struct{} `type:"structure"`
@@ -7215,6 +9144,30 @@ func (s *UpdateFleetCapacityInput) Validate() error {
return nil
}
+// SetDesiredInstances sets the DesiredInstances field's value.
+func (s *UpdateFleetCapacityInput) SetDesiredInstances(v int64) *UpdateFleetCapacityInput {
+ s.DesiredInstances = &v
+ return s
+}
+
+// SetFleetId sets the FleetId field's value.
+func (s *UpdateFleetCapacityInput) SetFleetId(v string) *UpdateFleetCapacityInput {
+ s.FleetId = &v
+ return s
+}
+
+// SetMaxSize sets the MaxSize field's value.
+func (s *UpdateFleetCapacityInput) SetMaxSize(v int64) *UpdateFleetCapacityInput {
+ s.MaxSize = &v
+ return s
+}
+
+// SetMinSize sets the MinSize field's value.
+func (s *UpdateFleetCapacityInput) SetMinSize(v int64) *UpdateFleetCapacityInput {
+ s.MinSize = &v
+ return s
+}
+
// Represents the returned data in response to a request action.
type UpdateFleetCapacityOutput struct {
_ struct{} `type:"structure"`
@@ -7233,6 +9186,12 @@ func (s UpdateFleetCapacityOutput) GoString() string {
return s.String()
}
+// SetFleetId sets the FleetId field's value.
+func (s *UpdateFleetCapacityOutput) SetFleetId(v string) *UpdateFleetCapacityOutput {
+ s.FleetId = &v
+ return s
+}
+
// Represents the input for a request action.
type UpdateFleetPortSettingsInput struct {
_ struct{} `type:"structure"`
@@ -7292,6 +9251,24 @@ func (s *UpdateFleetPortSettingsInput) Validate() error {
return nil
}
+// SetFleetId sets the FleetId field's value.
+func (s *UpdateFleetPortSettingsInput) SetFleetId(v string) *UpdateFleetPortSettingsInput {
+ s.FleetId = &v
+ return s
+}
+
+// SetInboundPermissionAuthorizations sets the InboundPermissionAuthorizations field's value.
+func (s *UpdateFleetPortSettingsInput) SetInboundPermissionAuthorizations(v []*IpPermission) *UpdateFleetPortSettingsInput {
+ s.InboundPermissionAuthorizations = v
+ return s
+}
+
+// SetInboundPermissionRevocations sets the InboundPermissionRevocations field's value.
+func (s *UpdateFleetPortSettingsInput) SetInboundPermissionRevocations(v []*IpPermission) *UpdateFleetPortSettingsInput {
+ s.InboundPermissionRevocations = v
+ return s
+}
+
// Represents the returned data in response to a request action.
type UpdateFleetPortSettingsOutput struct {
_ struct{} `type:"structure"`
@@ -7310,6 +9287,12 @@ func (s UpdateFleetPortSettingsOutput) GoString() string {
return s.String()
}
+// SetFleetId sets the FleetId field's value.
+func (s *UpdateFleetPortSettingsOutput) SetFleetId(v string) *UpdateFleetPortSettingsOutput {
+ s.FleetId = &v
+ return s
+}
+
// Represents the input for a request action.
type UpdateGameSessionInput struct {
_ struct{} `type:"structure"`
@@ -7317,7 +9300,7 @@ type UpdateGameSessionInput struct {
// Unique identifier for the game session to update. Game session ID format
// is as follows: "arn:aws:gamelift:::gamesession/fleet-/". The value of is either a custom ID string (if one was
- // specified when the game session was created) an auto-generated string.
+ // specified when the game session was created) an autogenerated string.
//
// GameSessionId is a required field
GameSessionId *string `min:"1" type:"string" required:"true"`
@@ -7372,6 +9355,36 @@ func (s *UpdateGameSessionInput) Validate() error {
return nil
}
+// SetGameSessionId sets the GameSessionId field's value.
+func (s *UpdateGameSessionInput) SetGameSessionId(v string) *UpdateGameSessionInput {
+ s.GameSessionId = &v
+ return s
+}
+
+// SetMaximumPlayerSessionCount sets the MaximumPlayerSessionCount field's value.
+func (s *UpdateGameSessionInput) SetMaximumPlayerSessionCount(v int64) *UpdateGameSessionInput {
+ s.MaximumPlayerSessionCount = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *UpdateGameSessionInput) SetName(v string) *UpdateGameSessionInput {
+ s.Name = &v
+ return s
+}
+
+// SetPlayerSessionCreationPolicy sets the PlayerSessionCreationPolicy field's value.
+func (s *UpdateGameSessionInput) SetPlayerSessionCreationPolicy(v string) *UpdateGameSessionInput {
+ s.PlayerSessionCreationPolicy = &v
+ return s
+}
+
+// SetProtectionPolicy sets the ProtectionPolicy field's value.
+func (s *UpdateGameSessionInput) SetProtectionPolicy(v string) *UpdateGameSessionInput {
+ s.ProtectionPolicy = &v
+ return s
+}
+
// Represents the returned data in response to a request action.
type UpdateGameSessionOutput struct {
_ struct{} `type:"structure"`
@@ -7390,6 +9403,12 @@ func (s UpdateGameSessionOutput) GoString() string {
return s.String()
}
+// SetGameSession sets the GameSession field's value.
+func (s *UpdateGameSessionOutput) SetGameSession(v *GameSession) *UpdateGameSessionOutput {
+ s.GameSession = v
+ return s
+}
+
// Represents the input for a request action.
type UpdateRuntimeConfigurationInput struct {
_ struct{} `type:"structure"`
@@ -7441,6 +9460,18 @@ func (s *UpdateRuntimeConfigurationInput) Validate() error {
return nil
}
+// SetFleetId sets the FleetId field's value.
+func (s *UpdateRuntimeConfigurationInput) SetFleetId(v string) *UpdateRuntimeConfigurationInput {
+ s.FleetId = &v
+ return s
+}
+
+// SetRuntimeConfiguration sets the RuntimeConfiguration field's value.
+func (s *UpdateRuntimeConfigurationInput) SetRuntimeConfiguration(v *RuntimeConfiguration) *UpdateRuntimeConfigurationInput {
+ s.RuntimeConfiguration = v
+ return s
+}
+
// Represents the returned data in response to a request action.
type UpdateRuntimeConfigurationOutput struct {
_ struct{} `type:"structure"`
@@ -7460,6 +9491,12 @@ func (s UpdateRuntimeConfigurationOutput) GoString() string {
return s.String()
}
+// SetRuntimeConfiguration sets the RuntimeConfiguration field's value.
+func (s *UpdateRuntimeConfigurationOutput) SetRuntimeConfiguration(v *RuntimeConfiguration) *UpdateRuntimeConfigurationOutput {
+ s.RuntimeConfiguration = v
+ return s
+}
+
const (
// BuildStatusInitialized is a BuildStatus enum value
BuildStatusInitialized = "INITIALIZED"
@@ -7625,6 +9662,27 @@ const (
// EventCodeFleetNewGameSessionProtectionPolicyUpdated is a EventCode enum value
EventCodeFleetNewGameSessionProtectionPolicyUpdated = "FLEET_NEW_GAME_SESSION_PROTECTION_POLICY_UPDATED"
+
+ // EventCodeServerProcessInvalidPath is a EventCode enum value
+ EventCodeServerProcessInvalidPath = "SERVER_PROCESS_INVALID_PATH"
+
+ // EventCodeServerProcessSdkInitializationTimeout is a EventCode enum value
+ EventCodeServerProcessSdkInitializationTimeout = "SERVER_PROCESS_SDK_INITIALIZATION_TIMEOUT"
+
+ // EventCodeServerProcessProcessReadyTimeout is a EventCode enum value
+ EventCodeServerProcessProcessReadyTimeout = "SERVER_PROCESS_PROCESS_READY_TIMEOUT"
+
+ // EventCodeServerProcessCrashed is a EventCode enum value
+ EventCodeServerProcessCrashed = "SERVER_PROCESS_CRASHED"
+
+ // EventCodeServerProcessTerminatedUnhealthy is a EventCode enum value
+ EventCodeServerProcessTerminatedUnhealthy = "SERVER_PROCESS_TERMINATED_UNHEALTHY"
+
+ // EventCodeServerProcessForceTerminated is a EventCode enum value
+ EventCodeServerProcessForceTerminated = "SERVER_PROCESS_FORCE_TERMINATED"
+
+ // EventCodeServerProcessProcessExitTimeout is a EventCode enum value
+ EventCodeServerProcessProcessExitTimeout = "SERVER_PROCESS_PROCESS_EXIT_TIMEOUT"
)
const (
diff --git a/vendor/github.com/aws/aws-sdk-go/service/gamelift/examples_test.go b/vendor/github.com/aws/aws-sdk-go/service/gamelift/examples_test.go
index 927b871..8f341da 100644
--- a/vendor/github.com/aws/aws-sdk-go/service/gamelift/examples_test.go
+++ b/vendor/github.com/aws/aws-sdk-go/service/gamelift/examples_test.go
@@ -744,6 +744,32 @@ func ExampleGameLift_GetGameSessionLogUrl() {
fmt.Println(resp)
}
+func ExampleGameLift_GetInstanceAccess() {
+ sess, err := session.NewSession()
+ if err != nil {
+ fmt.Println("failed to create session,", err)
+ return
+ }
+
+ svc := gamelift.New(sess)
+
+ params := &gamelift.GetInstanceAccessInput{
+ FleetId: aws.String("FleetId"), // Required
+ InstanceId: aws.String("InstanceId"), // Required
+ }
+ resp, err := svc.GetInstanceAccess(params)
+
+ if err != nil {
+ // Print the error, cast err to awserr.Error to get the Code and
+ // Message from an error.
+ fmt.Println(err.Error())
+ return
+ }
+
+ // Pretty-print the response data.
+ fmt.Println(resp)
+}
+
func ExampleGameLift_ListAliases() {
sess, err := session.NewSession()
if err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go/service/gamelift/gameliftiface/interface.go b/vendor/github.com/aws/aws-sdk-go/service/gamelift/gameliftiface/interface.go
index 3bf6d22..781e30a 100644
--- a/vendor/github.com/aws/aws-sdk-go/service/gamelift/gameliftiface/interface.go
+++ b/vendor/github.com/aws/aws-sdk-go/service/gamelift/gameliftiface/interface.go
@@ -159,6 +159,10 @@ type GameLiftAPI interface {
GetGameSessionLogUrl(*gamelift.GetGameSessionLogUrlInput) (*gamelift.GetGameSessionLogUrlOutput, error)
+ GetInstanceAccessRequest(*gamelift.GetInstanceAccessInput) (*request.Request, *gamelift.GetInstanceAccessOutput)
+
+ GetInstanceAccess(*gamelift.GetInstanceAccessInput) (*gamelift.GetInstanceAccessOutput, error)
+
ListAliasesRequest(*gamelift.ListAliasesInput) (*request.Request, *gamelift.ListAliasesOutput)
ListAliases(*gamelift.ListAliasesInput) (*gamelift.ListAliasesOutput, error)
diff --git a/vendor/github.com/aws/aws-sdk-go/service/gamelift/service.go b/vendor/github.com/aws/aws-sdk-go/service/gamelift/service.go
index 08d7cae..612940b 100644
--- a/vendor/github.com/aws/aws-sdk-go/service/gamelift/service.go
+++ b/vendor/github.com/aws/aws-sdk-go/service/gamelift/service.go
@@ -123,6 +123,12 @@ import (
//
// DeleteFleet
//
+// * Manage your instances:
+//
+// DescribeInstances
+//
+// GetInstanceAccess
+//
// * Manage fleet aliases:
//
// ListAliases
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 8ce63a1..378c625 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
@@ -3242,6 +3242,24 @@ func (s *AbortMultipartUploadInput) Validate() error {
return nil
}
+// SetAccountId sets the AccountId field's value.
+func (s *AbortMultipartUploadInput) SetAccountId(v string) *AbortMultipartUploadInput {
+ s.AccountId = &v
+ return s
+}
+
+// SetUploadId sets the UploadId field's value.
+func (s *AbortMultipartUploadInput) SetUploadId(v string) *AbortMultipartUploadInput {
+ s.UploadId = &v
+ return s
+}
+
+// SetVaultName sets the VaultName field's value.
+func (s *AbortMultipartUploadInput) SetVaultName(v string) *AbortMultipartUploadInput {
+ s.VaultName = &v
+ return s
+}
+
type AbortMultipartUploadOutput struct {
_ struct{} `type:"structure"`
}
@@ -3302,6 +3320,18 @@ func (s *AbortVaultLockInput) Validate() error {
return nil
}
+// SetAccountId sets the AccountId field's value.
+func (s *AbortVaultLockInput) SetAccountId(v string) *AbortVaultLockInput {
+ s.AccountId = &v
+ return s
+}
+
+// SetVaultName sets the VaultName field's value.
+func (s *AbortVaultLockInput) SetVaultName(v string) *AbortVaultLockInput {
+ s.VaultName = &v
+ return s
+}
+
type AbortVaultLockOutput struct {
_ struct{} `type:"structure"`
}
@@ -3365,6 +3395,24 @@ func (s *AddTagsToVaultInput) Validate() error {
return nil
}
+// SetAccountId sets the AccountId field's value.
+func (s *AddTagsToVaultInput) SetAccountId(v string) *AddTagsToVaultInput {
+ s.AccountId = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *AddTagsToVaultInput) SetTags(v map[string]*string) *AddTagsToVaultInput {
+ s.Tags = v
+ return s
+}
+
+// SetVaultName sets the VaultName field's value.
+func (s *AddTagsToVaultInput) SetVaultName(v string) *AddTagsToVaultInput {
+ s.VaultName = &v
+ return s
+}
+
type AddTagsToVaultOutput struct {
_ struct{} `type:"structure"`
}
@@ -3407,6 +3455,24 @@ func (s ArchiveCreationOutput) GoString() string {
return s.String()
}
+// SetArchiveId sets the ArchiveId field's value.
+func (s *ArchiveCreationOutput) SetArchiveId(v string) *ArchiveCreationOutput {
+ s.ArchiveId = &v
+ return s
+}
+
+// SetChecksum sets the Checksum field's value.
+func (s *ArchiveCreationOutput) SetChecksum(v string) *ArchiveCreationOutput {
+ s.Checksum = &v
+ return s
+}
+
+// SetLocation sets the Location field's value.
+func (s *ArchiveCreationOutput) SetLocation(v string) *ArchiveCreationOutput {
+ s.Location = &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
@@ -3474,6 +3540,36 @@ func (s *CompleteMultipartUploadInput) Validate() error {
return nil
}
+// SetAccountId sets the AccountId field's value.
+func (s *CompleteMultipartUploadInput) SetAccountId(v string) *CompleteMultipartUploadInput {
+ s.AccountId = &v
+ return s
+}
+
+// SetArchiveSize sets the ArchiveSize field's value.
+func (s *CompleteMultipartUploadInput) SetArchiveSize(v string) *CompleteMultipartUploadInput {
+ s.ArchiveSize = &v
+ return s
+}
+
+// SetChecksum sets the Checksum field's value.
+func (s *CompleteMultipartUploadInput) SetChecksum(v string) *CompleteMultipartUploadInput {
+ s.Checksum = &v
+ return s
+}
+
+// SetUploadId sets the UploadId field's value.
+func (s *CompleteMultipartUploadInput) SetUploadId(v string) *CompleteMultipartUploadInput {
+ s.UploadId = &v
+ return s
+}
+
+// SetVaultName sets the VaultName field's value.
+func (s *CompleteMultipartUploadInput) SetVaultName(v string) *CompleteMultipartUploadInput {
+ s.VaultName = &v
+ return s
+}
+
// The input values for CompleteVaultLock.
type CompleteVaultLockInput struct {
_ struct{} `type:"structure"`
@@ -3528,6 +3624,24 @@ func (s *CompleteVaultLockInput) Validate() error {
return nil
}
+// SetAccountId sets the AccountId field's value.
+func (s *CompleteVaultLockInput) SetAccountId(v string) *CompleteVaultLockInput {
+ s.AccountId = &v
+ return s
+}
+
+// SetLockId sets the LockId field's value.
+func (s *CompleteVaultLockInput) SetLockId(v string) *CompleteVaultLockInput {
+ s.LockId = &v
+ return s
+}
+
+// SetVaultName sets the VaultName field's value.
+func (s *CompleteVaultLockInput) SetVaultName(v string) *CompleteVaultLockInput {
+ s.VaultName = &v
+ return s
+}
+
type CompleteVaultLockOutput struct {
_ struct{} `type:"structure"`
}
@@ -3588,6 +3702,18 @@ func (s *CreateVaultInput) Validate() error {
return nil
}
+// SetAccountId sets the AccountId field's value.
+func (s *CreateVaultInput) SetAccountId(v string) *CreateVaultInput {
+ s.AccountId = &v
+ return s
+}
+
+// SetVaultName sets the VaultName field's value.
+func (s *CreateVaultInput) SetVaultName(v string) *CreateVaultInput {
+ s.VaultName = &v
+ return s
+}
+
// Contains the Amazon Glacier response to your request.
type CreateVaultOutput struct {
_ struct{} `type:"structure"`
@@ -3606,6 +3732,12 @@ func (s CreateVaultOutput) GoString() string {
return s.String()
}
+// SetLocation sets the Location field's value.
+func (s *CreateVaultOutput) SetLocation(v string) *CreateVaultOutput {
+ s.Location = &v
+ return s
+}
+
// Data retrieval policy.
type DataRetrievalPolicy struct {
_ struct{} `type:"structure"`
@@ -3625,6 +3757,12 @@ func (s DataRetrievalPolicy) GoString() string {
return s.String()
}
+// SetRules sets the Rules field's value.
+func (s *DataRetrievalPolicy) SetRules(v []*DataRetrievalRule) *DataRetrievalPolicy {
+ s.Rules = v
+ return s
+}
+
// Data retrieval policy rule.
type DataRetrievalRule struct {
_ struct{} `type:"structure"`
@@ -3652,6 +3790,18 @@ func (s DataRetrievalRule) GoString() string {
return s.String()
}
+// SetBytesPerHour sets the BytesPerHour field's value.
+func (s *DataRetrievalRule) SetBytesPerHour(v int64) *DataRetrievalRule {
+ s.BytesPerHour = &v
+ return s
+}
+
+// SetStrategy sets the Strategy field's value.
+func (s *DataRetrievalRule) SetStrategy(v string) *DataRetrievalRule {
+ s.Strategy = &v
+ return s
+}
+
// Provides options for deleting an archive from an Amazon Glacier vault.
type DeleteArchiveInput struct {
_ struct{} `type:"structure"`
@@ -3705,6 +3855,24 @@ func (s *DeleteArchiveInput) Validate() error {
return nil
}
+// SetAccountId sets the AccountId field's value.
+func (s *DeleteArchiveInput) SetAccountId(v string) *DeleteArchiveInput {
+ s.AccountId = &v
+ return s
+}
+
+// SetArchiveId sets the ArchiveId field's value.
+func (s *DeleteArchiveInput) SetArchiveId(v string) *DeleteArchiveInput {
+ s.ArchiveId = &v
+ return s
+}
+
+// SetVaultName sets the VaultName field's value.
+func (s *DeleteArchiveInput) SetVaultName(v string) *DeleteArchiveInput {
+ s.VaultName = &v
+ return s
+}
+
type DeleteArchiveOutput struct {
_ struct{} `type:"structure"`
}
@@ -3764,6 +3932,18 @@ func (s *DeleteVaultAccessPolicyInput) Validate() error {
return nil
}
+// SetAccountId sets the AccountId field's value.
+func (s *DeleteVaultAccessPolicyInput) SetAccountId(v string) *DeleteVaultAccessPolicyInput {
+ s.AccountId = &v
+ return s
+}
+
+// SetVaultName sets the VaultName field's value.
+func (s *DeleteVaultAccessPolicyInput) SetVaultName(v string) *DeleteVaultAccessPolicyInput {
+ s.VaultName = &v
+ return s
+}
+
type DeleteVaultAccessPolicyOutput struct {
_ struct{} `type:"structure"`
}
@@ -3823,6 +4003,18 @@ func (s *DeleteVaultInput) Validate() error {
return nil
}
+// SetAccountId sets the AccountId field's value.
+func (s *DeleteVaultInput) SetAccountId(v string) *DeleteVaultInput {
+ s.AccountId = &v
+ return s
+}
+
+// SetVaultName sets the VaultName field's value.
+func (s *DeleteVaultInput) SetVaultName(v string) *DeleteVaultInput {
+ s.VaultName = &v
+ return s
+}
+
// Provides options for deleting a vault notification configuration from an
// Amazon Glacier vault.
type DeleteVaultNotificationsInput struct {
@@ -3869,6 +4061,18 @@ func (s *DeleteVaultNotificationsInput) Validate() error {
return nil
}
+// SetAccountId sets the AccountId field's value.
+func (s *DeleteVaultNotificationsInput) SetAccountId(v string) *DeleteVaultNotificationsInput {
+ s.AccountId = &v
+ return s
+}
+
+// SetVaultName sets the VaultName field's value.
+func (s *DeleteVaultNotificationsInput) SetVaultName(v string) *DeleteVaultNotificationsInput {
+ s.VaultName = &v
+ return s
+}
+
type DeleteVaultNotificationsOutput struct {
_ struct{} `type:"structure"`
}
@@ -3950,6 +4154,24 @@ func (s *DescribeJobInput) Validate() error {
return nil
}
+// SetAccountId sets the AccountId field's value.
+func (s *DescribeJobInput) SetAccountId(v string) *DescribeJobInput {
+ s.AccountId = &v
+ return s
+}
+
+// SetJobId sets the JobId field's value.
+func (s *DescribeJobInput) SetJobId(v string) *DescribeJobInput {
+ s.JobId = &v
+ return s
+}
+
+// SetVaultName sets the VaultName field's value.
+func (s *DescribeJobInput) SetVaultName(v string) *DescribeJobInput {
+ s.VaultName = &v
+ return s
+}
+
// Provides options for retrieving metadata for a specific vault in Amazon Glacier.
type DescribeVaultInput struct {
_ struct{} `type:"structure"`
@@ -3995,6 +4217,18 @@ func (s *DescribeVaultInput) Validate() error {
return nil
}
+// SetAccountId sets the AccountId field's value.
+func (s *DescribeVaultInput) SetAccountId(v string) *DescribeVaultInput {
+ s.AccountId = &v
+ return s
+}
+
+// SetVaultName sets the VaultName field's value.
+func (s *DescribeVaultInput) SetVaultName(v string) *DescribeVaultInput {
+ s.VaultName = &v
+ return s
+}
+
// Contains the Amazon Glacier response to your request.
type DescribeVaultOutput struct {
_ struct{} `type:"structure"`
@@ -4034,6 +4268,42 @@ func (s DescribeVaultOutput) GoString() string {
return s.String()
}
+// SetCreationDate sets the CreationDate field's value.
+func (s *DescribeVaultOutput) SetCreationDate(v string) *DescribeVaultOutput {
+ s.CreationDate = &v
+ return s
+}
+
+// SetLastInventoryDate sets the LastInventoryDate field's value.
+func (s *DescribeVaultOutput) SetLastInventoryDate(v string) *DescribeVaultOutput {
+ s.LastInventoryDate = &v
+ return s
+}
+
+// SetNumberOfArchives sets the NumberOfArchives field's value.
+func (s *DescribeVaultOutput) SetNumberOfArchives(v int64) *DescribeVaultOutput {
+ s.NumberOfArchives = &v
+ return s
+}
+
+// SetSizeInBytes sets the SizeInBytes field's value.
+func (s *DescribeVaultOutput) SetSizeInBytes(v int64) *DescribeVaultOutput {
+ s.SizeInBytes = &v
+ return s
+}
+
+// SetVaultARN sets the VaultARN field's value.
+func (s *DescribeVaultOutput) SetVaultARN(v string) *DescribeVaultOutput {
+ s.VaultARN = &v
+ return s
+}
+
+// SetVaultName sets the VaultName field's value.
+func (s *DescribeVaultOutput) SetVaultName(v string) *DescribeVaultOutput {
+ s.VaultName = &v
+ return s
+}
+
// Input for GetDataRetrievalPolicy.
type GetDataRetrievalPolicyInput struct {
_ struct{} `type:"structure"`
@@ -4072,6 +4342,12 @@ func (s *GetDataRetrievalPolicyInput) Validate() error {
return nil
}
+// SetAccountId sets the AccountId field's value.
+func (s *GetDataRetrievalPolicyInput) SetAccountId(v string) *GetDataRetrievalPolicyInput {
+ s.AccountId = &v
+ return s
+}
+
// Contains the Amazon Glacier response to the GetDataRetrievalPolicy request.
type GetDataRetrievalPolicyOutput struct {
_ struct{} `type:"structure"`
@@ -4090,6 +4366,12 @@ func (s GetDataRetrievalPolicyOutput) GoString() string {
return s.String()
}
+// SetPolicy sets the Policy field's value.
+func (s *GetDataRetrievalPolicyOutput) SetPolicy(v *DataRetrievalPolicy) *GetDataRetrievalPolicyOutput {
+ s.Policy = v
+ return s
+}
+
// Provides options for downloading output of an Amazon Glacier job.
type GetJobOutputInput struct {
_ struct{} `type:"structure"`
@@ -4148,6 +4430,30 @@ func (s *GetJobOutputInput) Validate() error {
return nil
}
+// SetAccountId sets the AccountId field's value.
+func (s *GetJobOutputInput) SetAccountId(v string) *GetJobOutputInput {
+ s.AccountId = &v
+ return s
+}
+
+// SetJobId sets the JobId field's value.
+func (s *GetJobOutputInput) SetJobId(v string) *GetJobOutputInput {
+ s.JobId = &v
+ return s
+}
+
+// SetRange sets the Range field's value.
+func (s *GetJobOutputInput) SetRange(v string) *GetJobOutputInput {
+ s.Range = &v
+ return s
+}
+
+// SetVaultName sets the VaultName field's value.
+func (s *GetJobOutputInput) SetVaultName(v string) *GetJobOutputInput {
+ s.VaultName = &v
+ return s
+}
+
// Contains the Amazon Glacier response to your request.
type GetJobOutputOutput struct {
_ struct{} `type:"structure" payload:"Body"`
@@ -4203,6 +4509,48 @@ func (s GetJobOutputOutput) GoString() string {
return s.String()
}
+// SetAcceptRanges sets the AcceptRanges field's value.
+func (s *GetJobOutputOutput) SetAcceptRanges(v string) *GetJobOutputOutput {
+ s.AcceptRanges = &v
+ return s
+}
+
+// SetArchiveDescription sets the ArchiveDescription field's value.
+func (s *GetJobOutputOutput) SetArchiveDescription(v string) *GetJobOutputOutput {
+ s.ArchiveDescription = &v
+ return s
+}
+
+// SetBody sets the Body field's value.
+func (s *GetJobOutputOutput) SetBody(v io.ReadCloser) *GetJobOutputOutput {
+ s.Body = v
+ return s
+}
+
+// SetChecksum sets the Checksum field's value.
+func (s *GetJobOutputOutput) SetChecksum(v string) *GetJobOutputOutput {
+ s.Checksum = &v
+ return s
+}
+
+// SetContentRange sets the ContentRange field's value.
+func (s *GetJobOutputOutput) SetContentRange(v string) *GetJobOutputOutput {
+ s.ContentRange = &v
+ return s
+}
+
+// SetContentType sets the ContentType field's value.
+func (s *GetJobOutputOutput) SetContentType(v string) *GetJobOutputOutput {
+ s.ContentType = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *GetJobOutputOutput) SetStatus(v int64) *GetJobOutputOutput {
+ s.Status = &v
+ return s
+}
+
// Input for GetVaultAccessPolicy.
type GetVaultAccessPolicyInput struct {
_ struct{} `type:"structure"`
@@ -4248,6 +4596,18 @@ func (s *GetVaultAccessPolicyInput) Validate() error {
return nil
}
+// SetAccountId sets the AccountId field's value.
+func (s *GetVaultAccessPolicyInput) SetAccountId(v string) *GetVaultAccessPolicyInput {
+ s.AccountId = &v
+ return s
+}
+
+// SetVaultName sets the VaultName field's value.
+func (s *GetVaultAccessPolicyInput) SetVaultName(v string) *GetVaultAccessPolicyInput {
+ s.VaultName = &v
+ return s
+}
+
// Output for GetVaultAccessPolicy.
type GetVaultAccessPolicyOutput struct {
_ struct{} `type:"structure" payload:"Policy"`
@@ -4266,6 +4626,12 @@ func (s GetVaultAccessPolicyOutput) GoString() string {
return s.String()
}
+// SetPolicy sets the Policy field's value.
+func (s *GetVaultAccessPolicyOutput) SetPolicy(v *VaultAccessPolicy) *GetVaultAccessPolicyOutput {
+ s.Policy = v
+ return s
+}
+
// The input values for GetVaultLock.
type GetVaultLockInput struct {
_ struct{} `type:"structure"`
@@ -4311,6 +4677,18 @@ func (s *GetVaultLockInput) Validate() error {
return nil
}
+// SetAccountId sets the AccountId field's value.
+func (s *GetVaultLockInput) SetAccountId(v string) *GetVaultLockInput {
+ s.AccountId = &v
+ return s
+}
+
+// SetVaultName sets the VaultName field's value.
+func (s *GetVaultLockInput) SetVaultName(v string) *GetVaultLockInput {
+ s.VaultName = &v
+ return s
+}
+
// Contains the Amazon Glacier response to your request.
type GetVaultLockOutput struct {
_ struct{} `type:"structure"`
@@ -4340,6 +4718,30 @@ func (s GetVaultLockOutput) GoString() string {
return s.String()
}
+// SetCreationDate sets the CreationDate field's value.
+func (s *GetVaultLockOutput) SetCreationDate(v string) *GetVaultLockOutput {
+ s.CreationDate = &v
+ return s
+}
+
+// SetExpirationDate sets the ExpirationDate field's value.
+func (s *GetVaultLockOutput) SetExpirationDate(v string) *GetVaultLockOutput {
+ s.ExpirationDate = &v
+ return s
+}
+
+// SetPolicy sets the Policy field's value.
+func (s *GetVaultLockOutput) SetPolicy(v string) *GetVaultLockOutput {
+ s.Policy = &v
+ return s
+}
+
+// SetState sets the State field's value.
+func (s *GetVaultLockOutput) SetState(v string) *GetVaultLockOutput {
+ s.State = &v
+ return s
+}
+
// Provides options for retrieving the notification configuration set on an
// Amazon Glacier vault.
type GetVaultNotificationsInput struct {
@@ -4386,6 +4788,18 @@ func (s *GetVaultNotificationsInput) Validate() error {
return nil
}
+// SetAccountId sets the AccountId field's value.
+func (s *GetVaultNotificationsInput) SetAccountId(v string) *GetVaultNotificationsInput {
+ s.AccountId = &v
+ return s
+}
+
+// SetVaultName sets the VaultName field's value.
+func (s *GetVaultNotificationsInput) SetVaultName(v string) *GetVaultNotificationsInput {
+ s.VaultName = &v
+ return s
+}
+
// Contains the Amazon Glacier response to your request.
type GetVaultNotificationsOutput struct {
_ struct{} `type:"structure" payload:"VaultNotificationConfig"`
@@ -4404,6 +4818,12 @@ func (s GetVaultNotificationsOutput) GoString() string {
return s.String()
}
+// SetVaultNotificationConfig sets the VaultNotificationConfig field's value.
+func (s *GetVaultNotificationsOutput) SetVaultNotificationConfig(v *VaultNotificationConfig) *GetVaultNotificationsOutput {
+ s.VaultNotificationConfig = v
+ return s
+}
+
// Provides options for initiating an Amazon Glacier job.
type InitiateJobInput struct {
_ struct{} `type:"structure" payload:"JobParameters"`
@@ -4452,6 +4872,24 @@ func (s *InitiateJobInput) Validate() error {
return nil
}
+// SetAccountId sets the AccountId field's value.
+func (s *InitiateJobInput) SetAccountId(v string) *InitiateJobInput {
+ s.AccountId = &v
+ return s
+}
+
+// SetJobParameters sets the JobParameters field's value.
+func (s *InitiateJobInput) SetJobParameters(v *JobParameters) *InitiateJobInput {
+ s.JobParameters = v
+ return s
+}
+
+// SetVaultName sets the VaultName field's value.
+func (s *InitiateJobInput) SetVaultName(v string) *InitiateJobInput {
+ s.VaultName = &v
+ return s
+}
+
// Contains the Amazon Glacier response to your request.
type InitiateJobOutput struct {
_ struct{} `type:"structure"`
@@ -4473,6 +4911,18 @@ func (s InitiateJobOutput) GoString() string {
return s.String()
}
+// SetJobId sets the JobId field's value.
+func (s *InitiateJobOutput) SetJobId(v string) *InitiateJobOutput {
+ s.JobId = &v
+ return s
+}
+
+// SetLocation sets the Location field's value.
+func (s *InitiateJobOutput) SetLocation(v string) *InitiateJobOutput {
+ s.Location = &v
+ return s
+}
+
// Provides options for initiating a multipart upload to an Amazon Glacier vault.
type InitiateMultipartUploadInput struct {
_ struct{} `type:"structure"`
@@ -4530,6 +4980,30 @@ func (s *InitiateMultipartUploadInput) Validate() error {
return nil
}
+// SetAccountId sets the AccountId field's value.
+func (s *InitiateMultipartUploadInput) SetAccountId(v string) *InitiateMultipartUploadInput {
+ s.AccountId = &v
+ return s
+}
+
+// SetArchiveDescription sets the ArchiveDescription field's value.
+func (s *InitiateMultipartUploadInput) SetArchiveDescription(v string) *InitiateMultipartUploadInput {
+ s.ArchiveDescription = &v
+ return s
+}
+
+// SetPartSize sets the PartSize field's value.
+func (s *InitiateMultipartUploadInput) SetPartSize(v string) *InitiateMultipartUploadInput {
+ s.PartSize = &v
+ return s
+}
+
+// SetVaultName sets the VaultName field's value.
+func (s *InitiateMultipartUploadInput) SetVaultName(v string) *InitiateMultipartUploadInput {
+ s.VaultName = &v
+ return s
+}
+
// The Amazon Glacier response to your request.
type InitiateMultipartUploadOutput struct {
_ struct{} `type:"structure"`
@@ -4552,6 +5026,18 @@ func (s InitiateMultipartUploadOutput) GoString() string {
return s.String()
}
+// SetLocation sets the Location field's value.
+func (s *InitiateMultipartUploadOutput) SetLocation(v string) *InitiateMultipartUploadOutput {
+ s.Location = &v
+ return s
+}
+
+// SetUploadId sets the UploadId field's value.
+func (s *InitiateMultipartUploadOutput) SetUploadId(v string) *InitiateMultipartUploadOutput {
+ s.UploadId = &v
+ return s
+}
+
// The input values for InitiateVaultLock.
type InitiateVaultLockInput struct {
_ struct{} `type:"structure" payload:"Policy"`
@@ -4601,6 +5087,24 @@ func (s *InitiateVaultLockInput) Validate() error {
return nil
}
+// SetAccountId sets the AccountId field's value.
+func (s *InitiateVaultLockInput) SetAccountId(v string) *InitiateVaultLockInput {
+ s.AccountId = &v
+ return s
+}
+
+// SetPolicy sets the Policy field's value.
+func (s *InitiateVaultLockInput) SetPolicy(v *VaultLockPolicy) *InitiateVaultLockInput {
+ s.Policy = v
+ return s
+}
+
+// SetVaultName sets the VaultName field's value.
+func (s *InitiateVaultLockInput) SetVaultName(v string) *InitiateVaultLockInput {
+ s.VaultName = &v
+ return s
+}
+
// Contains the Amazon Glacier response to your request.
type InitiateVaultLockOutput struct {
_ struct{} `type:"structure"`
@@ -4619,6 +5123,12 @@ func (s InitiateVaultLockOutput) GoString() string {
return s.String()
}
+// SetLockId sets the LockId field's value.
+func (s *InitiateVaultLockOutput) SetLockId(v string) *InitiateVaultLockOutput {
+ s.LockId = &v
+ return s
+}
+
// Describes the options for a range inventory retrieval job.
type InventoryRetrievalJobDescription struct {
_ struct{} `type:"structure"`
@@ -4661,6 +5171,36 @@ func (s InventoryRetrievalJobDescription) GoString() string {
return s.String()
}
+// SetEndDate sets the EndDate field's value.
+func (s *InventoryRetrievalJobDescription) SetEndDate(v string) *InventoryRetrievalJobDescription {
+ s.EndDate = &v
+ return s
+}
+
+// SetFormat sets the Format field's value.
+func (s *InventoryRetrievalJobDescription) SetFormat(v string) *InventoryRetrievalJobDescription {
+ s.Format = &v
+ return s
+}
+
+// SetLimit sets the Limit field's value.
+func (s *InventoryRetrievalJobDescription) SetLimit(v string) *InventoryRetrievalJobDescription {
+ s.Limit = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *InventoryRetrievalJobDescription) SetMarker(v string) *InventoryRetrievalJobDescription {
+ s.Marker = &v
+ return s
+}
+
+// SetStartDate sets the StartDate field's value.
+func (s *InventoryRetrievalJobDescription) SetStartDate(v string) *InventoryRetrievalJobDescription {
+ s.StartDate = &v
+ return s
+}
+
// Provides options for specifying a range inventory retrieval job.
type InventoryRetrievalJobInput struct {
_ struct{} `type:"structure"`
@@ -4696,6 +5236,30 @@ func (s InventoryRetrievalJobInput) GoString() string {
return s.String()
}
+// SetEndDate sets the EndDate field's value.
+func (s *InventoryRetrievalJobInput) SetEndDate(v string) *InventoryRetrievalJobInput {
+ s.EndDate = &v
+ return s
+}
+
+// SetLimit sets the Limit field's value.
+func (s *InventoryRetrievalJobInput) SetLimit(v string) *InventoryRetrievalJobInput {
+ s.Limit = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *InventoryRetrievalJobInput) SetMarker(v string) *InventoryRetrievalJobInput {
+ s.Marker = &v
+ return s
+}
+
+// SetStartDate sets the StartDate field's value.
+func (s *InventoryRetrievalJobInput) SetStartDate(v string) *InventoryRetrievalJobInput {
+ s.StartDate = &v
+ return s
+}
+
// Describes an Amazon Glacier job.
type JobDescription struct {
_ struct{} `type:"structure"`
@@ -4789,6 +5353,108 @@ func (s JobDescription) GoString() string {
return s.String()
}
+// SetAction sets the Action field's value.
+func (s *JobDescription) SetAction(v string) *JobDescription {
+ s.Action = &v
+ return s
+}
+
+// SetArchiveId sets the ArchiveId field's value.
+func (s *JobDescription) SetArchiveId(v string) *JobDescription {
+ s.ArchiveId = &v
+ return s
+}
+
+// SetArchiveSHA256TreeHash sets the ArchiveSHA256TreeHash field's value.
+func (s *JobDescription) SetArchiveSHA256TreeHash(v string) *JobDescription {
+ s.ArchiveSHA256TreeHash = &v
+ return s
+}
+
+// SetArchiveSizeInBytes sets the ArchiveSizeInBytes field's value.
+func (s *JobDescription) SetArchiveSizeInBytes(v int64) *JobDescription {
+ s.ArchiveSizeInBytes = &v
+ return s
+}
+
+// SetCompleted sets the Completed field's value.
+func (s *JobDescription) SetCompleted(v bool) *JobDescription {
+ s.Completed = &v
+ return s
+}
+
+// SetCompletionDate sets the CompletionDate field's value.
+func (s *JobDescription) SetCompletionDate(v string) *JobDescription {
+ s.CompletionDate = &v
+ return s
+}
+
+// SetCreationDate sets the CreationDate field's value.
+func (s *JobDescription) SetCreationDate(v string) *JobDescription {
+ s.CreationDate = &v
+ return s
+}
+
+// SetInventoryRetrievalParameters sets the InventoryRetrievalParameters field's value.
+func (s *JobDescription) SetInventoryRetrievalParameters(v *InventoryRetrievalJobDescription) *JobDescription {
+ s.InventoryRetrievalParameters = v
+ return s
+}
+
+// SetInventorySizeInBytes sets the InventorySizeInBytes field's value.
+func (s *JobDescription) SetInventorySizeInBytes(v int64) *JobDescription {
+ s.InventorySizeInBytes = &v
+ return s
+}
+
+// SetJobDescription sets the JobDescription field's value.
+func (s *JobDescription) SetJobDescription(v string) *JobDescription {
+ s.JobDescription = &v
+ return s
+}
+
+// SetJobId sets the JobId field's value.
+func (s *JobDescription) SetJobId(v string) *JobDescription {
+ s.JobId = &v
+ return s
+}
+
+// SetRetrievalByteRange sets the RetrievalByteRange field's value.
+func (s *JobDescription) SetRetrievalByteRange(v string) *JobDescription {
+ s.RetrievalByteRange = &v
+ return s
+}
+
+// SetSHA256TreeHash sets the SHA256TreeHash field's value.
+func (s *JobDescription) SetSHA256TreeHash(v string) *JobDescription {
+ s.SHA256TreeHash = &v
+ return s
+}
+
+// SetSNSTopic sets the SNSTopic field's value.
+func (s *JobDescription) SetSNSTopic(v string) *JobDescription {
+ s.SNSTopic = &v
+ return s
+}
+
+// SetStatusCode sets the StatusCode field's value.
+func (s *JobDescription) SetStatusCode(v string) *JobDescription {
+ s.StatusCode = &v
+ return s
+}
+
+// SetStatusMessage sets the StatusMessage field's value.
+func (s *JobDescription) SetStatusMessage(v string) *JobDescription {
+ s.StatusMessage = &v
+ return s
+}
+
+// SetVaultARN sets the VaultARN field's value.
+func (s *JobDescription) SetVaultARN(v string) *JobDescription {
+ s.VaultARN = &v
+ return s
+}
+
// Provides options for defining a job.
type JobParameters struct {
_ struct{} `type:"structure"`
@@ -4844,6 +5510,48 @@ func (s JobParameters) GoString() string {
return s.String()
}
+// SetArchiveId sets the ArchiveId field's value.
+func (s *JobParameters) SetArchiveId(v string) *JobParameters {
+ s.ArchiveId = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *JobParameters) SetDescription(v string) *JobParameters {
+ s.Description = &v
+ return s
+}
+
+// SetFormat sets the Format field's value.
+func (s *JobParameters) SetFormat(v string) *JobParameters {
+ s.Format = &v
+ return s
+}
+
+// SetInventoryRetrievalParameters sets the InventoryRetrievalParameters field's value.
+func (s *JobParameters) SetInventoryRetrievalParameters(v *InventoryRetrievalJobInput) *JobParameters {
+ s.InventoryRetrievalParameters = v
+ return s
+}
+
+// SetRetrievalByteRange sets the RetrievalByteRange field's value.
+func (s *JobParameters) SetRetrievalByteRange(v string) *JobParameters {
+ s.RetrievalByteRange = &v
+ return s
+}
+
+// SetSNSTopic sets the SNSTopic field's value.
+func (s *JobParameters) SetSNSTopic(v string) *JobParameters {
+ s.SNSTopic = &v
+ return s
+}
+
+// SetType sets the Type field's value.
+func (s *JobParameters) SetType(v string) *JobParameters {
+ s.Type = &v
+ return s
+}
+
// Provides options for retrieving a job list for an Amazon Glacier vault.
type ListJobsInput struct {
_ struct{} `type:"structure"`
@@ -4906,6 +5614,42 @@ func (s *ListJobsInput) Validate() error {
return nil
}
+// SetAccountId sets the AccountId field's value.
+func (s *ListJobsInput) SetAccountId(v string) *ListJobsInput {
+ s.AccountId = &v
+ return s
+}
+
+// SetCompleted sets the Completed field's value.
+func (s *ListJobsInput) SetCompleted(v string) *ListJobsInput {
+ s.Completed = &v
+ return s
+}
+
+// SetLimit sets the Limit field's value.
+func (s *ListJobsInput) SetLimit(v string) *ListJobsInput {
+ s.Limit = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *ListJobsInput) SetMarker(v string) *ListJobsInput {
+ s.Marker = &v
+ return s
+}
+
+// SetStatuscode sets the Statuscode field's value.
+func (s *ListJobsInput) SetStatuscode(v string) *ListJobsInput {
+ s.Statuscode = &v
+ return s
+}
+
+// SetVaultName sets the VaultName field's value.
+func (s *ListJobsInput) SetVaultName(v string) *ListJobsInput {
+ s.VaultName = &v
+ return s
+}
+
// Contains the Amazon Glacier response to your request.
type ListJobsOutput struct {
_ struct{} `type:"structure"`
@@ -4929,6 +5673,18 @@ func (s ListJobsOutput) GoString() string {
return s.String()
}
+// SetJobList sets the JobList field's value.
+func (s *ListJobsOutput) SetJobList(v []*JobDescription) *ListJobsOutput {
+ s.JobList = v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *ListJobsOutput) SetMarker(v string) *ListJobsOutput {
+ s.Marker = &v
+ return s
+}
+
// Provides options for retrieving list of in-progress multipart uploads for
// an Amazon Glacier vault.
type ListMultipartUploadsInput struct {
@@ -4986,6 +5742,30 @@ func (s *ListMultipartUploadsInput) Validate() error {
return nil
}
+// SetAccountId sets the AccountId field's value.
+func (s *ListMultipartUploadsInput) SetAccountId(v string) *ListMultipartUploadsInput {
+ s.AccountId = &v
+ return s
+}
+
+// SetLimit sets the Limit field's value.
+func (s *ListMultipartUploadsInput) SetLimit(v string) *ListMultipartUploadsInput {
+ s.Limit = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *ListMultipartUploadsInput) SetMarker(v string) *ListMultipartUploadsInput {
+ s.Marker = &v
+ return s
+}
+
+// SetVaultName sets the VaultName field's value.
+func (s *ListMultipartUploadsInput) SetVaultName(v string) *ListMultipartUploadsInput {
+ s.VaultName = &v
+ return s
+}
+
// Contains the Amazon Glacier response to your request.
type ListMultipartUploadsOutput struct {
_ struct{} `type:"structure"`
@@ -5009,6 +5789,18 @@ func (s ListMultipartUploadsOutput) GoString() string {
return s.String()
}
+// SetMarker sets the Marker field's value.
+func (s *ListMultipartUploadsOutput) SetMarker(v string) *ListMultipartUploadsOutput {
+ s.Marker = &v
+ return s
+}
+
+// SetUploadsList sets the UploadsList field's value.
+func (s *ListMultipartUploadsOutput) SetUploadsList(v []*UploadListElement) *ListMultipartUploadsOutput {
+ s.UploadsList = v
+ return s
+}
+
// Provides options for retrieving a list of parts of an archive that have been
// uploaded in a specific multipart upload.
type ListPartsInput struct {
@@ -5074,6 +5866,36 @@ func (s *ListPartsInput) Validate() error {
return nil
}
+// SetAccountId sets the AccountId field's value.
+func (s *ListPartsInput) SetAccountId(v string) *ListPartsInput {
+ s.AccountId = &v
+ return s
+}
+
+// SetLimit sets the Limit field's value.
+func (s *ListPartsInput) SetLimit(v string) *ListPartsInput {
+ s.Limit = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *ListPartsInput) SetMarker(v string) *ListPartsInput {
+ s.Marker = &v
+ return s
+}
+
+// SetUploadId sets the UploadId field's value.
+func (s *ListPartsInput) SetUploadId(v string) *ListPartsInput {
+ s.UploadId = &v
+ return s
+}
+
+// SetVaultName sets the VaultName field's value.
+func (s *ListPartsInput) SetVaultName(v string) *ListPartsInput {
+ s.VaultName = &v
+ return s
+}
+
// Contains the Amazon Glacier response to your request.
type ListPartsOutput struct {
_ struct{} `type:"structure"`
@@ -5114,6 +5936,48 @@ func (s ListPartsOutput) GoString() string {
return s.String()
}
+// SetArchiveDescription sets the ArchiveDescription field's value.
+func (s *ListPartsOutput) SetArchiveDescription(v string) *ListPartsOutput {
+ s.ArchiveDescription = &v
+ return s
+}
+
+// SetCreationDate sets the CreationDate field's value.
+func (s *ListPartsOutput) SetCreationDate(v string) *ListPartsOutput {
+ s.CreationDate = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *ListPartsOutput) SetMarker(v string) *ListPartsOutput {
+ s.Marker = &v
+ return s
+}
+
+// SetMultipartUploadId sets the MultipartUploadId field's value.
+func (s *ListPartsOutput) SetMultipartUploadId(v string) *ListPartsOutput {
+ s.MultipartUploadId = &v
+ return s
+}
+
+// SetPartSizeInBytes sets the PartSizeInBytes field's value.
+func (s *ListPartsOutput) SetPartSizeInBytes(v int64) *ListPartsOutput {
+ s.PartSizeInBytes = &v
+ return s
+}
+
+// SetParts sets the Parts field's value.
+func (s *ListPartsOutput) SetParts(v []*PartListElement) *ListPartsOutput {
+ s.Parts = v
+ return s
+}
+
+// SetVaultARN sets the VaultARN field's value.
+func (s *ListPartsOutput) SetVaultARN(v string) *ListPartsOutput {
+ s.VaultARN = &v
+ return s
+}
+
// The input value for ListTagsForVaultInput.
type ListTagsForVaultInput struct {
_ struct{} `type:"structure"`
@@ -5159,6 +6023,18 @@ func (s *ListTagsForVaultInput) Validate() error {
return nil
}
+// SetAccountId sets the AccountId field's value.
+func (s *ListTagsForVaultInput) SetAccountId(v string) *ListTagsForVaultInput {
+ s.AccountId = &v
+ return s
+}
+
+// SetVaultName sets the VaultName field's value.
+func (s *ListTagsForVaultInput) SetVaultName(v string) *ListTagsForVaultInput {
+ s.VaultName = &v
+ return s
+}
+
// Contains the Amazon Glacier response to your request.
type ListTagsForVaultOutput struct {
_ struct{} `type:"structure"`
@@ -5177,6 +6053,12 @@ func (s ListTagsForVaultOutput) GoString() string {
return s.String()
}
+// SetTags sets the Tags field's value.
+func (s *ListTagsForVaultOutput) SetTags(v map[string]*string) *ListTagsForVaultOutput {
+ s.Tags = v
+ return s
+}
+
// Provides options to retrieve the vault list owned by the calling user's account.
// The list provides metadata information for each vault.
type ListVaultsInput struct {
@@ -5224,6 +6106,24 @@ func (s *ListVaultsInput) Validate() error {
return nil
}
+// SetAccountId sets the AccountId field's value.
+func (s *ListVaultsInput) SetAccountId(v string) *ListVaultsInput {
+ s.AccountId = &v
+ return s
+}
+
+// SetLimit sets the Limit field's value.
+func (s *ListVaultsInput) SetLimit(v string) *ListVaultsInput {
+ s.Limit = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *ListVaultsInput) SetMarker(v string) *ListVaultsInput {
+ s.Marker = &v
+ return s
+}
+
// Contains the Amazon Glacier response to your request.
type ListVaultsOutput struct {
_ struct{} `type:"structure"`
@@ -5246,6 +6146,18 @@ func (s ListVaultsOutput) GoString() string {
return s.String()
}
+// SetMarker sets the Marker field's value.
+func (s *ListVaultsOutput) SetMarker(v string) *ListVaultsOutput {
+ s.Marker = &v
+ return s
+}
+
+// SetVaultList sets the VaultList field's value.
+func (s *ListVaultsOutput) SetVaultList(v []*DescribeVaultOutput) *ListVaultsOutput {
+ s.VaultList = v
+ return s
+}
+
// A list of the part sizes of the multipart upload.
type PartListElement struct {
_ struct{} `type:"structure"`
@@ -5268,6 +6180,18 @@ func (s PartListElement) GoString() string {
return s.String()
}
+// SetRangeInBytes sets the RangeInBytes field's value.
+func (s *PartListElement) SetRangeInBytes(v string) *PartListElement {
+ s.RangeInBytes = &v
+ return s
+}
+
+// SetSHA256TreeHash sets the SHA256TreeHash field's value.
+func (s *PartListElement) SetSHA256TreeHash(v string) *PartListElement {
+ s.SHA256TreeHash = &v
+ return s
+}
+
// The input value for RemoveTagsFromVaultInput.
type RemoveTagsFromVaultInput struct {
_ struct{} `type:"structure"`
@@ -5316,6 +6240,24 @@ func (s *RemoveTagsFromVaultInput) Validate() error {
return nil
}
+// SetAccountId sets the AccountId field's value.
+func (s *RemoveTagsFromVaultInput) SetAccountId(v string) *RemoveTagsFromVaultInput {
+ s.AccountId = &v
+ return s
+}
+
+// SetTagKeys sets the TagKeys field's value.
+func (s *RemoveTagsFromVaultInput) SetTagKeys(v []*string) *RemoveTagsFromVaultInput {
+ s.TagKeys = v
+ return s
+}
+
+// SetVaultName sets the VaultName field's value.
+func (s *RemoveTagsFromVaultInput) SetVaultName(v string) *RemoveTagsFromVaultInput {
+ s.VaultName = &v
+ return s
+}
+
type RemoveTagsFromVaultOutput struct {
_ struct{} `type:"structure"`
}
@@ -5371,6 +6313,18 @@ func (s *SetDataRetrievalPolicyInput) Validate() error {
return nil
}
+// SetAccountId sets the AccountId field's value.
+func (s *SetDataRetrievalPolicyInput) SetAccountId(v string) *SetDataRetrievalPolicyInput {
+ s.AccountId = &v
+ return s
+}
+
+// SetPolicy sets the Policy field's value.
+func (s *SetDataRetrievalPolicyInput) SetPolicy(v *DataRetrievalPolicy) *SetDataRetrievalPolicyInput {
+ s.Policy = v
+ return s
+}
+
type SetDataRetrievalPolicyOutput struct {
_ struct{} `type:"structure"`
}
@@ -5433,6 +6387,24 @@ func (s *SetVaultAccessPolicyInput) Validate() error {
return nil
}
+// SetAccountId sets the AccountId field's value.
+func (s *SetVaultAccessPolicyInput) SetAccountId(v string) *SetVaultAccessPolicyInput {
+ s.AccountId = &v
+ return s
+}
+
+// SetPolicy sets the Policy field's value.
+func (s *SetVaultAccessPolicyInput) SetPolicy(v *VaultAccessPolicy) *SetVaultAccessPolicyInput {
+ s.Policy = v
+ return s
+}
+
+// SetVaultName sets the VaultName field's value.
+func (s *SetVaultAccessPolicyInput) SetVaultName(v string) *SetVaultAccessPolicyInput {
+ s.VaultName = &v
+ return s
+}
+
type SetVaultAccessPolicyOutput struct {
_ struct{} `type:"structure"`
}
@@ -5496,6 +6468,24 @@ func (s *SetVaultNotificationsInput) Validate() error {
return nil
}
+// SetAccountId sets the AccountId field's value.
+func (s *SetVaultNotificationsInput) SetAccountId(v string) *SetVaultNotificationsInput {
+ s.AccountId = &v
+ return s
+}
+
+// SetVaultName sets the VaultName field's value.
+func (s *SetVaultNotificationsInput) SetVaultName(v string) *SetVaultNotificationsInput {
+ s.VaultName = &v
+ return s
+}
+
+// SetVaultNotificationConfig sets the VaultNotificationConfig field's value.
+func (s *SetVaultNotificationsInput) SetVaultNotificationConfig(v *VaultNotificationConfig) *SetVaultNotificationsInput {
+ s.VaultNotificationConfig = v
+ return s
+}
+
type SetVaultNotificationsOutput struct {
_ struct{} `type:"structure"`
}
@@ -5564,6 +6554,36 @@ func (s *UploadArchiveInput) Validate() error {
return nil
}
+// SetAccountId sets the AccountId field's value.
+func (s *UploadArchiveInput) SetAccountId(v string) *UploadArchiveInput {
+ s.AccountId = &v
+ return s
+}
+
+// SetArchiveDescription sets the ArchiveDescription field's value.
+func (s *UploadArchiveInput) SetArchiveDescription(v string) *UploadArchiveInput {
+ s.ArchiveDescription = &v
+ return s
+}
+
+// SetBody sets the Body field's value.
+func (s *UploadArchiveInput) SetBody(v io.ReadSeeker) *UploadArchiveInput {
+ s.Body = v
+ return s
+}
+
+// SetChecksum sets the Checksum field's value.
+func (s *UploadArchiveInput) SetChecksum(v string) *UploadArchiveInput {
+ s.Checksum = &v
+ return s
+}
+
+// SetVaultName sets the VaultName field's value.
+func (s *UploadArchiveInput) SetVaultName(v string) *UploadArchiveInput {
+ s.VaultName = &v
+ return s
+}
+
// A list of in-progress multipart uploads for a vault.
type UploadListElement struct {
_ struct{} `type:"structure"`
@@ -5597,6 +6617,36 @@ func (s UploadListElement) GoString() string {
return s.String()
}
+// SetArchiveDescription sets the ArchiveDescription field's value.
+func (s *UploadListElement) SetArchiveDescription(v string) *UploadListElement {
+ s.ArchiveDescription = &v
+ return s
+}
+
+// SetCreationDate sets the CreationDate field's value.
+func (s *UploadListElement) SetCreationDate(v string) *UploadListElement {
+ s.CreationDate = &v
+ return s
+}
+
+// SetMultipartUploadId sets the MultipartUploadId field's value.
+func (s *UploadListElement) SetMultipartUploadId(v string) *UploadListElement {
+ s.MultipartUploadId = &v
+ return s
+}
+
+// SetPartSizeInBytes sets the PartSizeInBytes field's value.
+func (s *UploadListElement) SetPartSizeInBytes(v int64) *UploadListElement {
+ s.PartSizeInBytes = &v
+ return s
+}
+
+// SetVaultARN sets the VaultARN field's value.
+func (s *UploadListElement) SetVaultARN(v string) *UploadListElement {
+ s.VaultARN = &v
+ return s
+}
+
// Provides options to upload a part of an archive in a multipart upload operation.
type UploadMultipartPartInput struct {
_ struct{} `type:"structure" payload:"Body"`
@@ -5662,6 +6712,42 @@ func (s *UploadMultipartPartInput) Validate() error {
return nil
}
+// SetAccountId sets the AccountId field's value.
+func (s *UploadMultipartPartInput) SetAccountId(v string) *UploadMultipartPartInput {
+ s.AccountId = &v
+ return s
+}
+
+// SetBody sets the Body field's value.
+func (s *UploadMultipartPartInput) SetBody(v io.ReadSeeker) *UploadMultipartPartInput {
+ s.Body = v
+ return s
+}
+
+// SetChecksum sets the Checksum field's value.
+func (s *UploadMultipartPartInput) SetChecksum(v string) *UploadMultipartPartInput {
+ s.Checksum = &v
+ return s
+}
+
+// SetRange sets the Range field's value.
+func (s *UploadMultipartPartInput) SetRange(v string) *UploadMultipartPartInput {
+ s.Range = &v
+ return s
+}
+
+// SetUploadId sets the UploadId field's value.
+func (s *UploadMultipartPartInput) SetUploadId(v string) *UploadMultipartPartInput {
+ s.UploadId = &v
+ return s
+}
+
+// SetVaultName sets the VaultName field's value.
+func (s *UploadMultipartPartInput) SetVaultName(v string) *UploadMultipartPartInput {
+ s.VaultName = &v
+ return s
+}
+
// Contains the Amazon Glacier response to your request.
type UploadMultipartPartOutput struct {
_ struct{} `type:"structure"`
@@ -5680,6 +6766,12 @@ func (s UploadMultipartPartOutput) GoString() string {
return s.String()
}
+// SetChecksum sets the Checksum field's value.
+func (s *UploadMultipartPartOutput) SetChecksum(v string) *UploadMultipartPartOutput {
+ s.Checksum = &v
+ return s
+}
+
// Contains the vault access policy.
type VaultAccessPolicy struct {
_ struct{} `type:"structure"`
@@ -5698,6 +6790,12 @@ func (s VaultAccessPolicy) GoString() string {
return s.String()
}
+// SetPolicy sets the Policy field's value.
+func (s *VaultAccessPolicy) SetPolicy(v string) *VaultAccessPolicy {
+ s.Policy = &v
+ return s
+}
+
// Contains the vault lock policy.
type VaultLockPolicy struct {
_ struct{} `type:"structure"`
@@ -5716,6 +6814,12 @@ func (s VaultLockPolicy) GoString() string {
return s.String()
}
+// SetPolicy sets the Policy field's value.
+func (s *VaultLockPolicy) SetPolicy(v string) *VaultLockPolicy {
+ s.Policy = &v
+ return s
+}
+
// Represents a vault's notification configuration.
type VaultNotificationConfig struct {
_ struct{} `type:"structure"`
@@ -5739,6 +6843,18 @@ func (s VaultNotificationConfig) GoString() string {
return s.String()
}
+// SetEvents sets the Events field's value.
+func (s *VaultNotificationConfig) SetEvents(v []*string) *VaultNotificationConfig {
+ s.Events = v
+ return s
+}
+
+// SetSNSTopic sets the SNSTopic field's value.
+func (s *VaultNotificationConfig) SetSNSTopic(v string) *VaultNotificationConfig {
+ s.SNSTopic = &v
+ return s
+}
+
const (
// ActionCodeArchiveRetrieval is a ActionCode enum value
ActionCodeArchiveRetrieval = "ArchiveRetrieval"
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 29f7187..13b5ba5 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
@@ -10120,6 +10120,36 @@ func (s AccessKey) GoString() string {
return s.String()
}
+// SetAccessKeyId sets the AccessKeyId field's value.
+func (s *AccessKey) SetAccessKeyId(v string) *AccessKey {
+ s.AccessKeyId = &v
+ return s
+}
+
+// SetCreateDate sets the CreateDate field's value.
+func (s *AccessKey) SetCreateDate(v time.Time) *AccessKey {
+ s.CreateDate = &v
+ return s
+}
+
+// SetSecretAccessKey sets the SecretAccessKey field's value.
+func (s *AccessKey) SetSecretAccessKey(v string) *AccessKey {
+ s.SecretAccessKey = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *AccessKey) SetStatus(v string) *AccessKey {
+ s.Status = &v
+ return s
+}
+
+// SetUserName sets the UserName field's value.
+func (s *AccessKey) SetUserName(v string) *AccessKey {
+ s.UserName = &v
+ return s
+}
+
// Contains information about the last time an AWS access key was used.
//
// This data type is used as a response element in the GetAccessKeyLastUsed
@@ -10180,6 +10210,24 @@ func (s AccessKeyLastUsed) GoString() string {
return s.String()
}
+// SetLastUsedDate sets the LastUsedDate field's value.
+func (s *AccessKeyLastUsed) SetLastUsedDate(v time.Time) *AccessKeyLastUsed {
+ s.LastUsedDate = &v
+ return s
+}
+
+// SetRegion sets the Region field's value.
+func (s *AccessKeyLastUsed) SetRegion(v string) *AccessKeyLastUsed {
+ s.Region = &v
+ return s
+}
+
+// SetServiceName sets the ServiceName field's value.
+func (s *AccessKeyLastUsed) SetServiceName(v string) *AccessKeyLastUsed {
+ s.ServiceName = &v
+ return s
+}
+
// Contains information about an AWS access key, without its secret key.
//
// This data type is used as a response element in the ListAccessKeys action.
@@ -10210,6 +10258,30 @@ func (s AccessKeyMetadata) GoString() string {
return s.String()
}
+// SetAccessKeyId sets the AccessKeyId field's value.
+func (s *AccessKeyMetadata) SetAccessKeyId(v string) *AccessKeyMetadata {
+ s.AccessKeyId = &v
+ return s
+}
+
+// SetCreateDate sets the CreateDate field's value.
+func (s *AccessKeyMetadata) SetCreateDate(v time.Time) *AccessKeyMetadata {
+ s.CreateDate = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *AccessKeyMetadata) SetStatus(v string) *AccessKeyMetadata {
+ s.Status = &v
+ return s
+}
+
+// SetUserName sets the UserName field's value.
+func (s *AccessKeyMetadata) SetUserName(v string) *AccessKeyMetadata {
+ s.UserName = &v
+ return s
+}
+
type AddClientIDToOpenIDConnectProviderInput struct {
_ struct{} `type:"structure"`
@@ -10259,6 +10331,18 @@ func (s *AddClientIDToOpenIDConnectProviderInput) Validate() error {
return nil
}
+// SetClientID sets the ClientID field's value.
+func (s *AddClientIDToOpenIDConnectProviderInput) SetClientID(v string) *AddClientIDToOpenIDConnectProviderInput {
+ s.ClientID = &v
+ return s
+}
+
+// SetOpenIDConnectProviderArn sets the OpenIDConnectProviderArn field's value.
+func (s *AddClientIDToOpenIDConnectProviderInput) SetOpenIDConnectProviderArn(v string) *AddClientIDToOpenIDConnectProviderInput {
+ s.OpenIDConnectProviderArn = &v
+ return s
+}
+
type AddClientIDToOpenIDConnectProviderOutput struct {
_ struct{} `type:"structure"`
}
@@ -10327,6 +10411,18 @@ func (s *AddRoleToInstanceProfileInput) Validate() error {
return nil
}
+// SetInstanceProfileName sets the InstanceProfileName field's value.
+func (s *AddRoleToInstanceProfileInput) SetInstanceProfileName(v string) *AddRoleToInstanceProfileInput {
+ s.InstanceProfileName = &v
+ return s
+}
+
+// SetRoleName sets the RoleName field's value.
+func (s *AddRoleToInstanceProfileInput) SetRoleName(v string) *AddRoleToInstanceProfileInput {
+ s.RoleName = &v
+ return s
+}
+
type AddRoleToInstanceProfileOutput struct {
_ struct{} `type:"structure"`
}
@@ -10395,6 +10491,18 @@ func (s *AddUserToGroupInput) Validate() error {
return nil
}
+// SetGroupName sets the GroupName field's value.
+func (s *AddUserToGroupInput) SetGroupName(v string) *AddUserToGroupInput {
+ s.GroupName = &v
+ return s
+}
+
+// SetUserName sets the UserName field's value.
+func (s *AddUserToGroupInput) SetUserName(v string) *AddUserToGroupInput {
+ s.UserName = &v
+ return s
+}
+
type AddUserToGroupOutput struct {
_ struct{} `type:"structure"`
}
@@ -10463,6 +10571,18 @@ func (s *AttachGroupPolicyInput) Validate() error {
return nil
}
+// SetGroupName sets the GroupName field's value.
+func (s *AttachGroupPolicyInput) SetGroupName(v string) *AttachGroupPolicyInput {
+ s.GroupName = &v
+ return s
+}
+
+// SetPolicyArn sets the PolicyArn field's value.
+func (s *AttachGroupPolicyInput) SetPolicyArn(v string) *AttachGroupPolicyInput {
+ s.PolicyArn = &v
+ return s
+}
+
type AttachGroupPolicyOutput struct {
_ struct{} `type:"structure"`
}
@@ -10531,6 +10651,18 @@ func (s *AttachRolePolicyInput) Validate() error {
return nil
}
+// SetPolicyArn sets the PolicyArn field's value.
+func (s *AttachRolePolicyInput) SetPolicyArn(v string) *AttachRolePolicyInput {
+ s.PolicyArn = &v
+ return s
+}
+
+// SetRoleName sets the RoleName field's value.
+func (s *AttachRolePolicyInput) SetRoleName(v string) *AttachRolePolicyInput {
+ s.RoleName = &v
+ return s
+}
+
type AttachRolePolicyOutput struct {
_ struct{} `type:"structure"`
}
@@ -10599,6 +10731,18 @@ func (s *AttachUserPolicyInput) Validate() error {
return nil
}
+// SetPolicyArn sets the PolicyArn field's value.
+func (s *AttachUserPolicyInput) SetPolicyArn(v string) *AttachUserPolicyInput {
+ s.PolicyArn = &v
+ return s
+}
+
+// SetUserName sets the UserName field's value.
+func (s *AttachUserPolicyInput) SetUserName(v string) *AttachUserPolicyInput {
+ s.UserName = &v
+ return s
+}
+
type AttachUserPolicyOutput struct {
_ struct{} `type:"structure"`
}
@@ -10647,6 +10791,18 @@ func (s AttachedPolicy) GoString() string {
return s.String()
}
+// SetPolicyArn sets the PolicyArn field's value.
+func (s *AttachedPolicy) SetPolicyArn(v string) *AttachedPolicy {
+ s.PolicyArn = &v
+ return s
+}
+
+// SetPolicyName sets the PolicyName field's value.
+func (s *AttachedPolicy) SetPolicyName(v string) *AttachedPolicy {
+ s.PolicyName = &v
+ return s
+}
+
type ChangePasswordInput struct {
_ struct{} `type:"structure"`
@@ -10703,6 +10859,18 @@ func (s *ChangePasswordInput) Validate() error {
return nil
}
+// SetNewPassword sets the NewPassword field's value.
+func (s *ChangePasswordInput) SetNewPassword(v string) *ChangePasswordInput {
+ s.NewPassword = &v
+ return s
+}
+
+// SetOldPassword sets the OldPassword field's value.
+func (s *ChangePasswordInput) SetOldPassword(v string) *ChangePasswordInput {
+ s.OldPassword = &v
+ return s
+}
+
type ChangePasswordOutput struct {
_ struct{} `type:"structure"`
}
@@ -10764,6 +10932,24 @@ func (s *ContextEntry) Validate() error {
return nil
}
+// SetContextKeyName sets the ContextKeyName field's value.
+func (s *ContextEntry) SetContextKeyName(v string) *ContextEntry {
+ s.ContextKeyName = &v
+ return s
+}
+
+// SetContextKeyType sets the ContextKeyType field's value.
+func (s *ContextEntry) SetContextKeyType(v string) *ContextEntry {
+ s.ContextKeyType = &v
+ return s
+}
+
+// SetContextKeyValues sets the ContextKeyValues field's value.
+func (s *ContextEntry) SetContextKeyValues(v []*string) *ContextEntry {
+ s.ContextKeyValues = v
+ return s
+}
+
type CreateAccessKeyInput struct {
_ struct{} `type:"structure"`
@@ -10798,6 +10984,12 @@ func (s *CreateAccessKeyInput) Validate() error {
return nil
}
+// SetUserName sets the UserName field's value.
+func (s *CreateAccessKeyInput) SetUserName(v string) *CreateAccessKeyInput {
+ s.UserName = &v
+ return s
+}
+
// Contains the response to a successful CreateAccessKey request.
type CreateAccessKeyOutput struct {
_ struct{} `type:"structure"`
@@ -10818,6 +11010,12 @@ func (s CreateAccessKeyOutput) GoString() string {
return s.String()
}
+// SetAccessKey sets the AccessKey field's value.
+func (s *CreateAccessKeyOutput) SetAccessKey(v *AccessKey) *CreateAccessKeyOutput {
+ s.AccessKey = v
+ return s
+}
+
type CreateAccountAliasInput struct {
_ struct{} `type:"structure"`
@@ -10858,6 +11056,12 @@ func (s *CreateAccountAliasInput) Validate() error {
return nil
}
+// SetAccountAlias sets the AccountAlias field's value.
+func (s *CreateAccountAliasInput) SetAccountAlias(v string) *CreateAccountAliasInput {
+ s.AccountAlias = &v
+ return s
+}
+
type CreateAccountAliasOutput struct {
_ struct{} `type:"structure"`
}
@@ -10930,6 +11134,18 @@ func (s *CreateGroupInput) Validate() error {
return nil
}
+// SetGroupName sets the GroupName field's value.
+func (s *CreateGroupInput) SetGroupName(v string) *CreateGroupInput {
+ s.GroupName = &v
+ return s
+}
+
+// SetPath sets the Path field's value.
+func (s *CreateGroupInput) SetPath(v string) *CreateGroupInput {
+ s.Path = &v
+ return s
+}
+
// Contains the response to a successful CreateGroup request.
type CreateGroupOutput struct {
_ struct{} `type:"structure"`
@@ -10950,6 +11166,12 @@ func (s CreateGroupOutput) GoString() string {
return s.String()
}
+// SetGroup sets the Group field's value.
+func (s *CreateGroupOutput) SetGroup(v *Group) *CreateGroupOutput {
+ s.Group = v
+ return s
+}
+
type CreateInstanceProfileInput struct {
_ struct{} `type:"structure"`
@@ -11006,6 +11228,18 @@ func (s *CreateInstanceProfileInput) Validate() error {
return nil
}
+// SetInstanceProfileName sets the InstanceProfileName field's value.
+func (s *CreateInstanceProfileInput) SetInstanceProfileName(v string) *CreateInstanceProfileInput {
+ s.InstanceProfileName = &v
+ return s
+}
+
+// SetPath sets the Path field's value.
+func (s *CreateInstanceProfileInput) SetPath(v string) *CreateInstanceProfileInput {
+ s.Path = &v
+ return s
+}
+
// Contains the response to a successful CreateInstanceProfile request.
type CreateInstanceProfileOutput struct {
_ struct{} `type:"structure"`
@@ -11026,6 +11260,12 @@ func (s CreateInstanceProfileOutput) GoString() string {
return s.String()
}
+// SetInstanceProfile sets the InstanceProfile field's value.
+func (s *CreateInstanceProfileOutput) SetInstanceProfile(v *InstanceProfile) *CreateInstanceProfileOutput {
+ s.InstanceProfile = v
+ return s
+}
+
type CreateLoginProfileInput struct {
_ struct{} `type:"structure"`
@@ -11089,6 +11329,24 @@ func (s *CreateLoginProfileInput) Validate() error {
return nil
}
+// SetPassword sets the Password field's value.
+func (s *CreateLoginProfileInput) SetPassword(v string) *CreateLoginProfileInput {
+ s.Password = &v
+ return s
+}
+
+// SetPasswordResetRequired sets the PasswordResetRequired field's value.
+func (s *CreateLoginProfileInput) SetPasswordResetRequired(v bool) *CreateLoginProfileInput {
+ s.PasswordResetRequired = &v
+ return s
+}
+
+// SetUserName sets the UserName field's value.
+func (s *CreateLoginProfileInput) SetUserName(v string) *CreateLoginProfileInput {
+ s.UserName = &v
+ return s
+}
+
// Contains the response to a successful CreateLoginProfile request.
type CreateLoginProfileOutput struct {
_ struct{} `type:"structure"`
@@ -11109,6 +11367,12 @@ func (s CreateLoginProfileOutput) GoString() string {
return s.String()
}
+// SetLoginProfile sets the LoginProfile field's value.
+func (s *CreateLoginProfileOutput) SetLoginProfile(v *LoginProfile) *CreateLoginProfileOutput {
+ s.LoginProfile = v
+ return s
+}
+
type CreateOpenIDConnectProviderInput struct {
_ struct{} `type:"structure"`
@@ -11191,6 +11455,24 @@ func (s *CreateOpenIDConnectProviderInput) Validate() error {
return nil
}
+// SetClientIDList sets the ClientIDList field's value.
+func (s *CreateOpenIDConnectProviderInput) SetClientIDList(v []*string) *CreateOpenIDConnectProviderInput {
+ s.ClientIDList = v
+ return s
+}
+
+// SetThumbprintList sets the ThumbprintList field's value.
+func (s *CreateOpenIDConnectProviderInput) SetThumbprintList(v []*string) *CreateOpenIDConnectProviderInput {
+ s.ThumbprintList = v
+ return s
+}
+
+// SetUrl sets the Url field's value.
+func (s *CreateOpenIDConnectProviderInput) SetUrl(v string) *CreateOpenIDConnectProviderInput {
+ s.Url = &v
+ return s
+}
+
// Contains the response to a successful CreateOpenIDConnectProvider request.
type CreateOpenIDConnectProviderOutput struct {
_ struct{} `type:"structure"`
@@ -11210,6 +11492,12 @@ func (s CreateOpenIDConnectProviderOutput) GoString() string {
return s.String()
}
+// SetOpenIDConnectProviderArn sets the OpenIDConnectProviderArn field's value.
+func (s *CreateOpenIDConnectProviderOutput) SetOpenIDConnectProviderArn(v string) *CreateOpenIDConnectProviderOutput {
+ s.OpenIDConnectProviderArn = &v
+ return s
+}
+
type CreatePolicyInput struct {
_ struct{} `type:"structure"`
@@ -11291,6 +11579,30 @@ func (s *CreatePolicyInput) Validate() error {
return nil
}
+// SetDescription sets the Description field's value.
+func (s *CreatePolicyInput) SetDescription(v string) *CreatePolicyInput {
+ s.Description = &v
+ return s
+}
+
+// SetPath sets the Path field's value.
+func (s *CreatePolicyInput) SetPath(v string) *CreatePolicyInput {
+ s.Path = &v
+ return s
+}
+
+// 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
+}
+
// Contains the response to a successful CreatePolicy request.
type CreatePolicyOutput struct {
_ struct{} `type:"structure"`
@@ -11309,6 +11621,12 @@ func (s CreatePolicyOutput) GoString() string {
return s.String()
}
+// SetPolicy sets the Policy field's value.
+func (s *CreatePolicyOutput) SetPolicy(v *Policy) *CreatePolicyOutput {
+ s.Policy = v
+ return s
+}
+
type CreatePolicyVersionInput struct {
_ struct{} `type:"structure"`
@@ -11378,6 +11696,24 @@ func (s *CreatePolicyVersionInput) Validate() error {
return nil
}
+// SetPolicyArn sets the PolicyArn field's value.
+func (s *CreatePolicyVersionInput) SetPolicyArn(v string) *CreatePolicyVersionInput {
+ s.PolicyArn = &v
+ return s
+}
+
+// SetPolicyDocument sets the PolicyDocument field's value.
+func (s *CreatePolicyVersionInput) SetPolicyDocument(v string) *CreatePolicyVersionInput {
+ s.PolicyDocument = &v
+ return s
+}
+
+// SetSetAsDefault sets the SetAsDefault field's value.
+func (s *CreatePolicyVersionInput) SetSetAsDefault(v bool) *CreatePolicyVersionInput {
+ s.SetAsDefault = &v
+ return s
+}
+
// Contains the response to a successful CreatePolicyVersion request.
type CreatePolicyVersionOutput struct {
_ struct{} `type:"structure"`
@@ -11396,6 +11732,12 @@ func (s CreatePolicyVersionOutput) GoString() string {
return s.String()
}
+// SetPolicyVersion sets the PolicyVersion field's value.
+func (s *CreatePolicyVersionOutput) SetPolicyVersion(v *PolicyVersion) *CreatePolicyVersionOutput {
+ s.PolicyVersion = v
+ return s
+}
+
type CreateRoleInput struct {
_ struct{} `type:"structure"`
@@ -11472,6 +11814,24 @@ func (s *CreateRoleInput) Validate() error {
return nil
}
+// SetAssumeRolePolicyDocument sets the AssumeRolePolicyDocument field's value.
+func (s *CreateRoleInput) SetAssumeRolePolicyDocument(v string) *CreateRoleInput {
+ s.AssumeRolePolicyDocument = &v
+ return s
+}
+
+// SetPath sets the Path field's value.
+func (s *CreateRoleInput) SetPath(v string) *CreateRoleInput {
+ s.Path = &v
+ return s
+}
+
+// SetRoleName sets the RoleName field's value.
+func (s *CreateRoleInput) SetRoleName(v string) *CreateRoleInput {
+ s.RoleName = &v
+ return s
+}
+
// Contains the response to a successful CreateRole request.
type CreateRoleOutput struct {
_ struct{} `type:"structure"`
@@ -11492,6 +11852,12 @@ func (s CreateRoleOutput) GoString() string {
return s.String()
}
+// SetRole sets the Role field's value.
+func (s *CreateRoleOutput) SetRole(v *Role) *CreateRoleOutput {
+ s.Role = v
+ return s
+}
+
type CreateSAMLProviderInput struct {
_ struct{} `type:"structure"`
@@ -11549,6 +11915,18 @@ func (s *CreateSAMLProviderInput) Validate() error {
return nil
}
+// SetName sets the Name field's value.
+func (s *CreateSAMLProviderInput) SetName(v string) *CreateSAMLProviderInput {
+ s.Name = &v
+ return s
+}
+
+// SetSAMLMetadataDocument sets the SAMLMetadataDocument field's value.
+func (s *CreateSAMLProviderInput) SetSAMLMetadataDocument(v string) *CreateSAMLProviderInput {
+ s.SAMLMetadataDocument = &v
+ return s
+}
+
// Contains the response to a successful CreateSAMLProvider request.
type CreateSAMLProviderOutput struct {
_ struct{} `type:"structure"`
@@ -11567,6 +11945,12 @@ func (s CreateSAMLProviderOutput) GoString() string {
return s.String()
}
+// SetSAMLProviderArn sets the SAMLProviderArn field's value.
+func (s *CreateSAMLProviderOutput) SetSAMLProviderArn(v string) *CreateSAMLProviderOutput {
+ s.SAMLProviderArn = &v
+ return s
+}
+
type CreateUserInput struct {
_ struct{} `type:"structure"`
@@ -11625,6 +12009,18 @@ func (s *CreateUserInput) Validate() error {
return nil
}
+// SetPath sets the Path field's value.
+func (s *CreateUserInput) SetPath(v string) *CreateUserInput {
+ s.Path = &v
+ return s
+}
+
+// SetUserName sets the UserName field's value.
+func (s *CreateUserInput) SetUserName(v string) *CreateUserInput {
+ s.UserName = &v
+ return s
+}
+
// Contains the response to a successful CreateUser request.
type CreateUserOutput struct {
_ struct{} `type:"structure"`
@@ -11643,6 +12039,12 @@ func (s CreateUserOutput) GoString() string {
return s.String()
}
+// SetUser sets the User field's value.
+func (s *CreateUserOutput) SetUser(v *User) *CreateUserOutput {
+ s.User = v
+ return s
+}
+
type CreateVirtualMFADeviceInput struct {
_ struct{} `type:"structure"`
@@ -11700,6 +12102,18 @@ func (s *CreateVirtualMFADeviceInput) Validate() error {
return nil
}
+// SetPath sets the Path field's value.
+func (s *CreateVirtualMFADeviceInput) SetPath(v string) *CreateVirtualMFADeviceInput {
+ s.Path = &v
+ return s
+}
+
+// SetVirtualMFADeviceName sets the VirtualMFADeviceName field's value.
+func (s *CreateVirtualMFADeviceInput) SetVirtualMFADeviceName(v string) *CreateVirtualMFADeviceInput {
+ s.VirtualMFADeviceName = &v
+ return s
+}
+
// Contains the response to a successful CreateVirtualMFADevice request.
type CreateVirtualMFADeviceOutput struct {
_ struct{} `type:"structure"`
@@ -11720,6 +12134,12 @@ func (s CreateVirtualMFADeviceOutput) GoString() string {
return s.String()
}
+// SetVirtualMFADevice sets the VirtualMFADevice field's value.
+func (s *CreateVirtualMFADeviceOutput) SetVirtualMFADevice(v *VirtualMFADevice) *CreateVirtualMFADeviceOutput {
+ s.VirtualMFADevice = v
+ return s
+}
+
type DeactivateMFADeviceInput struct {
_ struct{} `type:"structure"`
@@ -11775,6 +12195,18 @@ func (s *DeactivateMFADeviceInput) Validate() error {
return nil
}
+// SetSerialNumber sets the SerialNumber field's value.
+func (s *DeactivateMFADeviceInput) SetSerialNumber(v string) *DeactivateMFADeviceInput {
+ s.SerialNumber = &v
+ return s
+}
+
+// SetUserName sets the UserName field's value.
+func (s *DeactivateMFADeviceInput) SetUserName(v string) *DeactivateMFADeviceInput {
+ s.UserName = &v
+ return s
+}
+
type DeactivateMFADeviceOutput struct {
_ struct{} `type:"structure"`
}
@@ -11839,6 +12271,18 @@ func (s *DeleteAccessKeyInput) Validate() error {
return nil
}
+// SetAccessKeyId sets the AccessKeyId field's value.
+func (s *DeleteAccessKeyInput) SetAccessKeyId(v string) *DeleteAccessKeyInput {
+ s.AccessKeyId = &v
+ return s
+}
+
+// SetUserName sets the UserName field's value.
+func (s *DeleteAccessKeyInput) SetUserName(v string) *DeleteAccessKeyInput {
+ s.UserName = &v
+ return s
+}
+
type DeleteAccessKeyOutput struct {
_ struct{} `type:"structure"`
}
@@ -11893,6 +12337,12 @@ func (s *DeleteAccountAliasInput) Validate() error {
return nil
}
+// SetAccountAlias sets the AccountAlias field's value.
+func (s *DeleteAccountAliasInput) SetAccountAlias(v string) *DeleteAccountAliasInput {
+ s.AccountAlias = &v
+ return s
+}
+
type DeleteAccountAliasOutput struct {
_ struct{} `type:"structure"`
}
@@ -11974,6 +12424,12 @@ 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
+}
+
type DeleteGroupOutput struct {
_ struct{} `type:"structure"`
}
@@ -12043,6 +12499,18 @@ func (s *DeleteGroupPolicyInput) Validate() error {
return nil
}
+// SetGroupName sets the GroupName field's value.
+func (s *DeleteGroupPolicyInput) SetGroupName(v string) *DeleteGroupPolicyInput {
+ s.GroupName = &v
+ return s
+}
+
+// SetPolicyName sets the PolicyName field's value.
+func (s *DeleteGroupPolicyInput) SetPolicyName(v string) *DeleteGroupPolicyInput {
+ s.PolicyName = &v
+ return s
+}
+
type DeleteGroupPolicyOutput struct {
_ struct{} `type:"structure"`
}
@@ -12096,6 +12564,12 @@ func (s *DeleteInstanceProfileInput) Validate() error {
return nil
}
+// SetInstanceProfileName sets the InstanceProfileName field's value.
+func (s *DeleteInstanceProfileInput) SetInstanceProfileName(v string) *DeleteInstanceProfileInput {
+ s.InstanceProfileName = &v
+ return s
+}
+
type DeleteInstanceProfileOutput struct {
_ struct{} `type:"structure"`
}
@@ -12149,6 +12623,12 @@ func (s *DeleteLoginProfileInput) Validate() error {
return nil
}
+// SetUserName sets the UserName field's value.
+func (s *DeleteLoginProfileInput) SetUserName(v string) *DeleteLoginProfileInput {
+ s.UserName = &v
+ return s
+}
+
type DeleteLoginProfileOutput struct {
_ struct{} `type:"structure"`
}
@@ -12200,6 +12680,12 @@ func (s *DeleteOpenIDConnectProviderInput) Validate() error {
return nil
}
+// SetOpenIDConnectProviderArn sets the OpenIDConnectProviderArn field's value.
+func (s *DeleteOpenIDConnectProviderInput) SetOpenIDConnectProviderArn(v string) *DeleteOpenIDConnectProviderInput {
+ s.OpenIDConnectProviderArn = &v
+ return s
+}
+
type DeleteOpenIDConnectProviderOutput struct {
_ struct{} `type:"structure"`
}
@@ -12253,6 +12739,12 @@ func (s *DeletePolicyInput) Validate() error {
return nil
}
+// SetPolicyArn sets the PolicyArn field's value.
+func (s *DeletePolicyInput) SetPolicyArn(v string) *DeletePolicyInput {
+ s.PolicyArn = &v
+ return s
+}
+
type DeletePolicyOutput struct {
_ struct{} `type:"structure"`
}
@@ -12324,6 +12816,18 @@ func (s *DeletePolicyVersionInput) Validate() error {
return nil
}
+// SetPolicyArn sets the PolicyArn field's value.
+func (s *DeletePolicyVersionInput) SetPolicyArn(v string) *DeletePolicyVersionInput {
+ s.PolicyArn = &v
+ return s
+}
+
+// SetVersionId sets the VersionId field's value.
+func (s *DeletePolicyVersionInput) SetVersionId(v string) *DeletePolicyVersionInput {
+ s.VersionId = &v
+ return s
+}
+
type DeletePolicyVersionOutput struct {
_ struct{} `type:"structure"`
}
@@ -12377,6 +12881,12 @@ func (s *DeleteRoleInput) Validate() error {
return nil
}
+// SetRoleName sets the RoleName field's value.
+func (s *DeleteRoleInput) SetRoleName(v string) *DeleteRoleInput {
+ s.RoleName = &v
+ return s
+}
+
type DeleteRoleOutput struct {
_ struct{} `type:"structure"`
}
@@ -12446,6 +12956,18 @@ func (s *DeleteRolePolicyInput) Validate() error {
return nil
}
+// SetPolicyName sets the PolicyName field's value.
+func (s *DeleteRolePolicyInput) SetPolicyName(v string) *DeleteRolePolicyInput {
+ s.PolicyName = &v
+ return s
+}
+
+// SetRoleName sets the RoleName field's value.
+func (s *DeleteRolePolicyInput) SetRoleName(v string) *DeleteRolePolicyInput {
+ s.RoleName = &v
+ return s
+}
+
type DeleteRolePolicyOutput struct {
_ struct{} `type:"structure"`
}
@@ -12495,6 +13017,12 @@ func (s *DeleteSAMLProviderInput) Validate() error {
return nil
}
+// SetSAMLProviderArn sets the SAMLProviderArn field's value.
+func (s *DeleteSAMLProviderInput) SetSAMLProviderArn(v string) *DeleteSAMLProviderInput {
+ s.SAMLProviderArn = &v
+ return s
+}
+
type DeleteSAMLProviderOutput struct {
_ struct{} `type:"structure"`
}
@@ -12563,6 +13091,18 @@ func (s *DeleteSSHPublicKeyInput) Validate() error {
return nil
}
+// SetSSHPublicKeyId sets the SSHPublicKeyId field's value.
+func (s *DeleteSSHPublicKeyInput) SetSSHPublicKeyId(v string) *DeleteSSHPublicKeyInput {
+ s.SSHPublicKeyId = &v
+ return s
+}
+
+// SetUserName sets the UserName field's value.
+func (s *DeleteSSHPublicKeyInput) SetUserName(v string) *DeleteSSHPublicKeyInput {
+ s.UserName = &v
+ return s
+}
+
type DeleteSSHPublicKeyOutput struct {
_ struct{} `type:"structure"`
}
@@ -12616,6 +13156,12 @@ func (s *DeleteServerCertificateInput) Validate() error {
return nil
}
+// SetServerCertificateName sets the ServerCertificateName field's value.
+func (s *DeleteServerCertificateInput) SetServerCertificateName(v string) *DeleteServerCertificateInput {
+ s.ServerCertificateName = &v
+ return s
+}
+
type DeleteServerCertificateOutput struct {
_ struct{} `type:"structure"`
}
@@ -12679,6 +13225,18 @@ func (s *DeleteSigningCertificateInput) Validate() error {
return nil
}
+// SetCertificateId sets the CertificateId field's value.
+func (s *DeleteSigningCertificateInput) SetCertificateId(v string) *DeleteSigningCertificateInput {
+ s.CertificateId = &v
+ return s
+}
+
+// SetUserName sets the UserName field's value.
+func (s *DeleteSigningCertificateInput) SetUserName(v string) *DeleteSigningCertificateInput {
+ s.UserName = &v
+ return s
+}
+
type DeleteSigningCertificateOutput struct {
_ struct{} `type:"structure"`
}
@@ -12732,6 +13290,12 @@ func (s *DeleteUserInput) Validate() error {
return nil
}
+// SetUserName sets the UserName field's value.
+func (s *DeleteUserInput) SetUserName(v string) *DeleteUserInput {
+ s.UserName = &v
+ return s
+}
+
type DeleteUserOutput struct {
_ struct{} `type:"structure"`
}
@@ -12801,6 +13365,18 @@ func (s *DeleteUserPolicyInput) Validate() error {
return nil
}
+// SetPolicyName sets the PolicyName field's value.
+func (s *DeleteUserPolicyInput) SetPolicyName(v string) *DeleteUserPolicyInput {
+ s.PolicyName = &v
+ return s
+}
+
+// SetUserName sets the UserName field's value.
+func (s *DeleteUserPolicyInput) SetUserName(v string) *DeleteUserPolicyInput {
+ s.UserName = &v
+ return s
+}
+
type DeleteUserPolicyOutput struct {
_ struct{} `type:"structure"`
}
@@ -12855,6 +13431,12 @@ func (s *DeleteVirtualMFADeviceInput) Validate() error {
return nil
}
+// SetSerialNumber sets the SerialNumber field's value.
+func (s *DeleteVirtualMFADeviceInput) SetSerialNumber(v string) *DeleteVirtualMFADeviceInput {
+ s.SerialNumber = &v
+ return s
+}
+
type DeleteVirtualMFADeviceOutput struct {
_ struct{} `type:"structure"`
}
@@ -12923,6 +13505,18 @@ func (s *DetachGroupPolicyInput) Validate() error {
return nil
}
+// SetGroupName sets the GroupName field's value.
+func (s *DetachGroupPolicyInput) SetGroupName(v string) *DetachGroupPolicyInput {
+ s.GroupName = &v
+ return s
+}
+
+// SetPolicyArn sets the PolicyArn field's value.
+func (s *DetachGroupPolicyInput) SetPolicyArn(v string) *DetachGroupPolicyInput {
+ s.PolicyArn = &v
+ return s
+}
+
type DetachGroupPolicyOutput struct {
_ struct{} `type:"structure"`
}
@@ -12991,6 +13585,18 @@ func (s *DetachRolePolicyInput) Validate() error {
return nil
}
+// SetPolicyArn sets the PolicyArn field's value.
+func (s *DetachRolePolicyInput) SetPolicyArn(v string) *DetachRolePolicyInput {
+ s.PolicyArn = &v
+ return s
+}
+
+// SetRoleName sets the RoleName field's value.
+func (s *DetachRolePolicyInput) SetRoleName(v string) *DetachRolePolicyInput {
+ s.RoleName = &v
+ return s
+}
+
type DetachRolePolicyOutput struct {
_ struct{} `type:"structure"`
}
@@ -13059,6 +13665,18 @@ func (s *DetachUserPolicyInput) Validate() error {
return nil
}
+// SetPolicyArn sets the PolicyArn field's value.
+func (s *DetachUserPolicyInput) SetPolicyArn(v string) *DetachUserPolicyInput {
+ s.PolicyArn = &v
+ return s
+}
+
+// SetUserName sets the UserName field's value.
+func (s *DetachUserPolicyInput) SetUserName(v string) *DetachUserPolicyInput {
+ s.UserName = &v
+ return s
+}
+
type DetachUserPolicyOutput struct {
_ struct{} `type:"structure"`
}
@@ -13154,6 +13772,30 @@ func (s *EnableMFADeviceInput) Validate() error {
return nil
}
+// SetAuthenticationCode1 sets the AuthenticationCode1 field's value.
+func (s *EnableMFADeviceInput) SetAuthenticationCode1(v string) *EnableMFADeviceInput {
+ s.AuthenticationCode1 = &v
+ return s
+}
+
+// SetAuthenticationCode2 sets the AuthenticationCode2 field's value.
+func (s *EnableMFADeviceInput) SetAuthenticationCode2(v string) *EnableMFADeviceInput {
+ s.AuthenticationCode2 = &v
+ return s
+}
+
+// SetSerialNumber sets the SerialNumber field's value.
+func (s *EnableMFADeviceInput) SetSerialNumber(v string) *EnableMFADeviceInput {
+ s.SerialNumber = &v
+ return s
+}
+
+// SetUserName sets the UserName field's value.
+func (s *EnableMFADeviceInput) SetUserName(v string) *EnableMFADeviceInput {
+ s.UserName = &v
+ return s
+}
+
type EnableMFADeviceOutput struct {
_ struct{} `type:"structure"`
}
@@ -13227,6 +13869,48 @@ func (s EvaluationResult) GoString() string {
return s.String()
}
+// SetEvalActionName sets the EvalActionName field's value.
+func (s *EvaluationResult) SetEvalActionName(v string) *EvaluationResult {
+ s.EvalActionName = &v
+ return s
+}
+
+// SetEvalDecision sets the EvalDecision field's value.
+func (s *EvaluationResult) SetEvalDecision(v string) *EvaluationResult {
+ s.EvalDecision = &v
+ return s
+}
+
+// SetEvalDecisionDetails sets the EvalDecisionDetails field's value.
+func (s *EvaluationResult) SetEvalDecisionDetails(v map[string]*string) *EvaluationResult {
+ s.EvalDecisionDetails = v
+ return s
+}
+
+// SetEvalResourceName sets the EvalResourceName field's value.
+func (s *EvaluationResult) SetEvalResourceName(v string) *EvaluationResult {
+ s.EvalResourceName = &v
+ return s
+}
+
+// SetMatchedStatements sets the MatchedStatements field's value.
+func (s *EvaluationResult) SetMatchedStatements(v []*Statement) *EvaluationResult {
+ s.MatchedStatements = v
+ return s
+}
+
+// SetMissingContextValues sets the MissingContextValues field's value.
+func (s *EvaluationResult) SetMissingContextValues(v []*string) *EvaluationResult {
+ s.MissingContextValues = v
+ return s
+}
+
+// SetResourceSpecificResults sets the ResourceSpecificResults field's value.
+func (s *EvaluationResult) SetResourceSpecificResults(v []*ResourceSpecificResult) *EvaluationResult {
+ s.ResourceSpecificResults = v
+ return s
+}
+
type GenerateCredentialReportInput struct {
_ struct{} `type:"structure"`
}
@@ -13262,6 +13946,18 @@ func (s GenerateCredentialReportOutput) GoString() string {
return s.String()
}
+// SetDescription sets the Description field's value.
+func (s *GenerateCredentialReportOutput) SetDescription(v string) *GenerateCredentialReportOutput {
+ s.Description = &v
+ return s
+}
+
+// SetState sets the State field's value.
+func (s *GenerateCredentialReportOutput) SetState(v string) *GenerateCredentialReportOutput {
+ s.State = &v
+ return s
+}
+
type GetAccessKeyLastUsedInput struct {
_ struct{} `type:"structure"`
@@ -13301,6 +13997,12 @@ func (s *GetAccessKeyLastUsedInput) Validate() error {
return nil
}
+// SetAccessKeyId sets the AccessKeyId field's value.
+func (s *GetAccessKeyLastUsedInput) SetAccessKeyId(v string) *GetAccessKeyLastUsedInput {
+ s.AccessKeyId = &v
+ return s
+}
+
// Contains the response to a successful GetAccessKeyLastUsed request. It is
// also returned as a member of the AccessKeyMetaData structure returned by
// the ListAccessKeys action.
@@ -13324,6 +14026,18 @@ func (s GetAccessKeyLastUsedOutput) GoString() string {
return s.String()
}
+// SetAccessKeyLastUsed sets the AccessKeyLastUsed field's value.
+func (s *GetAccessKeyLastUsedOutput) SetAccessKeyLastUsed(v *AccessKeyLastUsed) *GetAccessKeyLastUsedOutput {
+ s.AccessKeyLastUsed = v
+ return s
+}
+
+// SetUserName sets the UserName field's value.
+func (s *GetAccessKeyLastUsedOutput) SetUserName(v string) *GetAccessKeyLastUsedOutput {
+ s.UserName = &v
+ return s
+}
+
type GetAccountAuthorizationDetailsInput struct {
_ struct{} `type:"structure"`
@@ -13380,6 +14094,24 @@ func (s *GetAccountAuthorizationDetailsInput) Validate() error {
return nil
}
+// SetFilter sets the Filter field's value.
+func (s *GetAccountAuthorizationDetailsInput) SetFilter(v []*string) *GetAccountAuthorizationDetailsInput {
+ s.Filter = v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *GetAccountAuthorizationDetailsInput) SetMarker(v string) *GetAccountAuthorizationDetailsInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxItems sets the MaxItems field's value.
+func (s *GetAccountAuthorizationDetailsInput) SetMaxItems(v int64) *GetAccountAuthorizationDetailsInput {
+ s.MaxItems = &v
+ return s
+}
+
// Contains the response to a successful GetAccountAuthorizationDetails request.
type GetAccountAuthorizationDetailsOutput struct {
_ struct{} `type:"structure"`
@@ -13419,6 +14151,42 @@ func (s GetAccountAuthorizationDetailsOutput) GoString() string {
return s.String()
}
+// SetGroupDetailList sets the GroupDetailList field's value.
+func (s *GetAccountAuthorizationDetailsOutput) SetGroupDetailList(v []*GroupDetail) *GetAccountAuthorizationDetailsOutput {
+ s.GroupDetailList = v
+ return s
+}
+
+// SetIsTruncated sets the IsTruncated field's value.
+func (s *GetAccountAuthorizationDetailsOutput) SetIsTruncated(v bool) *GetAccountAuthorizationDetailsOutput {
+ s.IsTruncated = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *GetAccountAuthorizationDetailsOutput) SetMarker(v string) *GetAccountAuthorizationDetailsOutput {
+ s.Marker = &v
+ return s
+}
+
+// SetPolicies sets the Policies field's value.
+func (s *GetAccountAuthorizationDetailsOutput) SetPolicies(v []*ManagedPolicyDetail) *GetAccountAuthorizationDetailsOutput {
+ s.Policies = v
+ return s
+}
+
+// SetRoleDetailList sets the RoleDetailList field's value.
+func (s *GetAccountAuthorizationDetailsOutput) SetRoleDetailList(v []*RoleDetail) *GetAccountAuthorizationDetailsOutput {
+ s.RoleDetailList = v
+ return s
+}
+
+// SetUserDetailList sets the UserDetailList field's value.
+func (s *GetAccountAuthorizationDetailsOutput) SetUserDetailList(v []*UserDetail) *GetAccountAuthorizationDetailsOutput {
+ s.UserDetailList = v
+ return s
+}
+
type GetAccountPasswordPolicyInput struct {
_ struct{} `type:"structure"`
}
@@ -13456,6 +14224,12 @@ func (s GetAccountPasswordPolicyOutput) GoString() string {
return s.String()
}
+// SetPasswordPolicy sets the PasswordPolicy field's value.
+func (s *GetAccountPasswordPolicyOutput) SetPasswordPolicy(v *PasswordPolicy) *GetAccountPasswordPolicyOutput {
+ s.PasswordPolicy = v
+ return s
+}
+
type GetAccountSummaryInput struct {
_ struct{} `type:"structure"`
}
@@ -13489,6 +14263,12 @@ func (s GetAccountSummaryOutput) GoString() string {
return s.String()
}
+// SetSummaryMap sets the SummaryMap field's value.
+func (s *GetAccountSummaryOutput) SetSummaryMap(v map[string]*int64) *GetAccountSummaryOutput {
+ s.SummaryMap = v
+ return s
+}
+
type GetContextKeysForCustomPolicyInput struct {
_ struct{} `type:"structure"`
@@ -13529,6 +14309,12 @@ func (s *GetContextKeysForCustomPolicyInput) Validate() error {
return nil
}
+// SetPolicyInputList sets the PolicyInputList field's value.
+func (s *GetContextKeysForCustomPolicyInput) SetPolicyInputList(v []*string) *GetContextKeysForCustomPolicyInput {
+ s.PolicyInputList = v
+ return s
+}
+
// Contains the response to a successful GetContextKeysForPrincipalPolicy or
// GetContextKeysForCustomPolicy request.
type GetContextKeysForPolicyResponse struct {
@@ -13548,6 +14334,12 @@ func (s GetContextKeysForPolicyResponse) GoString() string {
return s.String()
}
+// SetContextKeyNames sets the ContextKeyNames field's value.
+func (s *GetContextKeysForPolicyResponse) SetContextKeyNames(v []*string) *GetContextKeysForPolicyResponse {
+ s.ContextKeyNames = v
+ return s
+}
+
type GetContextKeysForPrincipalPolicyInput struct {
_ struct{} `type:"structure"`
@@ -13603,6 +14395,18 @@ func (s *GetContextKeysForPrincipalPolicyInput) Validate() error {
return nil
}
+// SetPolicyInputList sets the PolicyInputList field's value.
+func (s *GetContextKeysForPrincipalPolicyInput) SetPolicyInputList(v []*string) *GetContextKeysForPrincipalPolicyInput {
+ s.PolicyInputList = v
+ return s
+}
+
+// SetPolicySourceArn sets the PolicySourceArn field's value.
+func (s *GetContextKeysForPrincipalPolicyInput) SetPolicySourceArn(v string) *GetContextKeysForPrincipalPolicyInput {
+ s.PolicySourceArn = &v
+ return s
+}
+
type GetCredentialReportInput struct {
_ struct{} `type:"structure"`
}
@@ -13644,6 +14448,24 @@ func (s GetCredentialReportOutput) GoString() string {
return s.String()
}
+// SetContent sets the Content field's value.
+func (s *GetCredentialReportOutput) SetContent(v []byte) *GetCredentialReportOutput {
+ s.Content = v
+ return s
+}
+
+// SetGeneratedTime sets the GeneratedTime field's value.
+func (s *GetCredentialReportOutput) SetGeneratedTime(v time.Time) *GetCredentialReportOutput {
+ s.GeneratedTime = &v
+ return s
+}
+
+// SetReportFormat sets the ReportFormat field's value.
+func (s *GetCredentialReportOutput) SetReportFormat(v string) *GetCredentialReportOutput {
+ s.ReportFormat = &v
+ return s
+}
+
type GetGroupInput struct {
_ struct{} `type:"structure"`
@@ -13706,6 +14528,24 @@ func (s *GetGroupInput) Validate() error {
return nil
}
+// SetGroupName sets the GroupName field's value.
+func (s *GetGroupInput) SetGroupName(v string) *GetGroupInput {
+ s.GroupName = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *GetGroupInput) SetMarker(v string) *GetGroupInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxItems sets the MaxItems field's value.
+func (s *GetGroupInput) SetMaxItems(v int64) *GetGroupInput {
+ s.MaxItems = &v
+ return s
+}
+
// Contains the response to a successful GetGroup request.
type GetGroupOutput struct {
_ struct{} `type:"structure"`
@@ -13743,6 +14583,30 @@ func (s GetGroupOutput) GoString() string {
return s.String()
}
+// SetGroup sets the Group field's value.
+func (s *GetGroupOutput) SetGroup(v *Group) *GetGroupOutput {
+ s.Group = v
+ return s
+}
+
+// SetIsTruncated sets the IsTruncated field's value.
+func (s *GetGroupOutput) SetIsTruncated(v bool) *GetGroupOutput {
+ s.IsTruncated = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *GetGroupOutput) SetMarker(v string) *GetGroupOutput {
+ s.Marker = &v
+ return s
+}
+
+// SetUsers sets the Users field's value.
+func (s *GetGroupOutput) SetUsers(v []*User) *GetGroupOutput {
+ s.Users = v
+ return s
+}
+
type GetGroupPolicyInput struct {
_ struct{} `type:"structure"`
@@ -13797,6 +14661,18 @@ func (s *GetGroupPolicyInput) Validate() error {
return nil
}
+// SetGroupName sets the GroupName field's value.
+func (s *GetGroupPolicyInput) SetGroupName(v string) *GetGroupPolicyInput {
+ s.GroupName = &v
+ return s
+}
+
+// SetPolicyName sets the PolicyName field's value.
+func (s *GetGroupPolicyInput) SetPolicyName(v string) *GetGroupPolicyInput {
+ s.PolicyName = &v
+ return s
+}
+
// Contains the response to a successful GetGroupPolicy request.
type GetGroupPolicyOutput struct {
_ struct{} `type:"structure"`
@@ -13827,6 +14703,24 @@ func (s GetGroupPolicyOutput) GoString() string {
return s.String()
}
+// SetGroupName sets the GroupName field's value.
+func (s *GetGroupPolicyOutput) SetGroupName(v string) *GetGroupPolicyOutput {
+ s.GroupName = &v
+ return s
+}
+
+// SetPolicyDocument sets the PolicyDocument field's value.
+func (s *GetGroupPolicyOutput) SetPolicyDocument(v string) *GetGroupPolicyOutput {
+ s.PolicyDocument = &v
+ return s
+}
+
+// SetPolicyName sets the PolicyName field's value.
+func (s *GetGroupPolicyOutput) SetPolicyName(v string) *GetGroupPolicyOutput {
+ s.PolicyName = &v
+ return s
+}
+
type GetInstanceProfileInput struct {
_ struct{} `type:"structure"`
@@ -13866,6 +14760,12 @@ func (s *GetInstanceProfileInput) Validate() error {
return nil
}
+// SetInstanceProfileName sets the InstanceProfileName field's value.
+func (s *GetInstanceProfileInput) SetInstanceProfileName(v string) *GetInstanceProfileInput {
+ s.InstanceProfileName = &v
+ return s
+}
+
// Contains the response to a successful GetInstanceProfile request.
type GetInstanceProfileOutput struct {
_ struct{} `type:"structure"`
@@ -13886,6 +14786,12 @@ func (s GetInstanceProfileOutput) GoString() string {
return s.String()
}
+// SetInstanceProfile sets the InstanceProfile field's value.
+func (s *GetInstanceProfileOutput) SetInstanceProfile(v *InstanceProfile) *GetInstanceProfileOutput {
+ s.InstanceProfile = v
+ return s
+}
+
type GetLoginProfileInput struct {
_ struct{} `type:"structure"`
@@ -13925,6 +14831,12 @@ func (s *GetLoginProfileInput) Validate() error {
return nil
}
+// SetUserName sets the UserName field's value.
+func (s *GetLoginProfileInput) SetUserName(v string) *GetLoginProfileInput {
+ s.UserName = &v
+ return s
+}
+
// Contains the response to a successful GetLoginProfile request.
type GetLoginProfileOutput struct {
_ struct{} `type:"structure"`
@@ -13945,6 +14857,12 @@ func (s GetLoginProfileOutput) GoString() string {
return s.String()
}
+// SetLoginProfile sets the LoginProfile field's value.
+func (s *GetLoginProfileOutput) SetLoginProfile(v *LoginProfile) *GetLoginProfileOutput {
+ s.LoginProfile = v
+ return s
+}
+
type GetOpenIDConnectProviderInput struct {
_ struct{} `type:"structure"`
@@ -13986,6 +14904,12 @@ func (s *GetOpenIDConnectProviderInput) Validate() error {
return nil
}
+// SetOpenIDConnectProviderArn sets the OpenIDConnectProviderArn field's value.
+func (s *GetOpenIDConnectProviderInput) SetOpenIDConnectProviderArn(v string) *GetOpenIDConnectProviderInput {
+ s.OpenIDConnectProviderArn = &v
+ return s
+}
+
// Contains the response to a successful GetOpenIDConnectProvider request.
type GetOpenIDConnectProviderOutput struct {
_ struct{} `type:"structure"`
@@ -14017,6 +14941,30 @@ func (s GetOpenIDConnectProviderOutput) GoString() string {
return s.String()
}
+// SetClientIDList sets the ClientIDList field's value.
+func (s *GetOpenIDConnectProviderOutput) SetClientIDList(v []*string) *GetOpenIDConnectProviderOutput {
+ s.ClientIDList = v
+ return s
+}
+
+// SetCreateDate sets the CreateDate field's value.
+func (s *GetOpenIDConnectProviderOutput) SetCreateDate(v time.Time) *GetOpenIDConnectProviderOutput {
+ s.CreateDate = &v
+ return s
+}
+
+// SetThumbprintList sets the ThumbprintList field's value.
+func (s *GetOpenIDConnectProviderOutput) SetThumbprintList(v []*string) *GetOpenIDConnectProviderOutput {
+ s.ThumbprintList = v
+ return s
+}
+
+// SetUrl sets the Url field's value.
+func (s *GetOpenIDConnectProviderOutput) SetUrl(v string) *GetOpenIDConnectProviderOutput {
+ s.Url = &v
+ return s
+}
+
type GetPolicyInput struct {
_ struct{} `type:"structure"`
@@ -14057,6 +15005,12 @@ func (s *GetPolicyInput) Validate() error {
return nil
}
+// SetPolicyArn sets the PolicyArn field's value.
+func (s *GetPolicyInput) SetPolicyArn(v string) *GetPolicyInput {
+ s.PolicyArn = &v
+ return s
+}
+
// Contains the response to a successful GetPolicy request.
type GetPolicyOutput struct {
_ struct{} `type:"structure"`
@@ -14075,6 +15029,12 @@ func (s GetPolicyOutput) GoString() string {
return s.String()
}
+// SetPolicy sets the Policy field's value.
+func (s *GetPolicyOutput) SetPolicy(v *Policy) *GetPolicyOutput {
+ s.Policy = v
+ return s
+}
+
type GetPolicyVersionInput struct {
_ struct{} `type:"structure"`
@@ -14128,6 +15088,18 @@ func (s *GetPolicyVersionInput) Validate() error {
return nil
}
+// SetPolicyArn sets the PolicyArn field's value.
+func (s *GetPolicyVersionInput) SetPolicyArn(v string) *GetPolicyVersionInput {
+ s.PolicyArn = &v
+ return s
+}
+
+// SetVersionId sets the VersionId field's value.
+func (s *GetPolicyVersionInput) SetVersionId(v string) *GetPolicyVersionInput {
+ s.VersionId = &v
+ return s
+}
+
// Contains the response to a successful GetPolicyVersion request.
type GetPolicyVersionOutput struct {
_ struct{} `type:"structure"`
@@ -14146,6 +15118,12 @@ func (s GetPolicyVersionOutput) GoString() string {
return s.String()
}
+// SetPolicyVersion sets the PolicyVersion field's value.
+func (s *GetPolicyVersionOutput) SetPolicyVersion(v *PolicyVersion) *GetPolicyVersionOutput {
+ s.PolicyVersion = v
+ return s
+}
+
type GetRoleInput struct {
_ struct{} `type:"structure"`
@@ -14185,6 +15163,12 @@ func (s *GetRoleInput) Validate() error {
return nil
}
+// SetRoleName sets the RoleName field's value.
+func (s *GetRoleInput) SetRoleName(v string) *GetRoleInput {
+ s.RoleName = &v
+ return s
+}
+
// Contains the response to a successful GetRole request.
type GetRoleOutput struct {
_ struct{} `type:"structure"`
@@ -14205,6 +15189,12 @@ func (s GetRoleOutput) GoString() string {
return s.String()
}
+// SetRole sets the Role field's value.
+func (s *GetRoleOutput) SetRole(v *Role) *GetRoleOutput {
+ s.Role = v
+ return s
+}
+
type GetRolePolicyInput struct {
_ struct{} `type:"structure"`
@@ -14259,6 +15249,18 @@ func (s *GetRolePolicyInput) Validate() error {
return nil
}
+// SetPolicyName sets the PolicyName field's value.
+func (s *GetRolePolicyInput) SetPolicyName(v string) *GetRolePolicyInput {
+ s.PolicyName = &v
+ return s
+}
+
+// SetRoleName sets the RoleName field's value.
+func (s *GetRolePolicyInput) SetRoleName(v string) *GetRolePolicyInput {
+ s.RoleName = &v
+ return s
+}
+
// Contains the response to a successful GetRolePolicy request.
type GetRolePolicyOutput struct {
_ struct{} `type:"structure"`
@@ -14289,6 +15291,24 @@ func (s GetRolePolicyOutput) GoString() string {
return s.String()
}
+// SetPolicyDocument sets the PolicyDocument field's value.
+func (s *GetRolePolicyOutput) SetPolicyDocument(v string) *GetRolePolicyOutput {
+ s.PolicyDocument = &v
+ return s
+}
+
+// SetPolicyName sets the PolicyName field's value.
+func (s *GetRolePolicyOutput) SetPolicyName(v string) *GetRolePolicyOutput {
+ s.PolicyName = &v
+ return s
+}
+
+// SetRoleName sets the RoleName field's value.
+func (s *GetRolePolicyOutput) SetRoleName(v string) *GetRolePolicyOutput {
+ s.RoleName = &v
+ return s
+}
+
type GetSAMLProviderInput struct {
_ struct{} `type:"structure"`
@@ -14329,6 +15349,12 @@ func (s *GetSAMLProviderInput) Validate() error {
return nil
}
+// SetSAMLProviderArn sets the SAMLProviderArn field's value.
+func (s *GetSAMLProviderInput) SetSAMLProviderArn(v string) *GetSAMLProviderInput {
+ s.SAMLProviderArn = &v
+ return s
+}
+
// Contains the response to a successful GetSAMLProvider request.
type GetSAMLProviderOutput struct {
_ struct{} `type:"structure"`
@@ -14353,6 +15379,24 @@ func (s GetSAMLProviderOutput) GoString() string {
return s.String()
}
+// SetCreateDate sets the CreateDate field's value.
+func (s *GetSAMLProviderOutput) SetCreateDate(v time.Time) *GetSAMLProviderOutput {
+ s.CreateDate = &v
+ return s
+}
+
+// SetSAMLMetadataDocument sets the SAMLMetadataDocument field's value.
+func (s *GetSAMLProviderOutput) SetSAMLMetadataDocument(v string) *GetSAMLProviderOutput {
+ s.SAMLMetadataDocument = &v
+ return s
+}
+
+// SetValidUntil sets the ValidUntil field's value.
+func (s *GetSAMLProviderOutput) SetValidUntil(v time.Time) *GetSAMLProviderOutput {
+ s.ValidUntil = &v
+ return s
+}
+
type GetSSHPublicKeyInput struct {
_ struct{} `type:"structure"`
@@ -14417,6 +15461,24 @@ func (s *GetSSHPublicKeyInput) Validate() error {
return nil
}
+// SetEncoding sets the Encoding field's value.
+func (s *GetSSHPublicKeyInput) SetEncoding(v string) *GetSSHPublicKeyInput {
+ s.Encoding = &v
+ return s
+}
+
+// SetSSHPublicKeyId sets the SSHPublicKeyId field's value.
+func (s *GetSSHPublicKeyInput) SetSSHPublicKeyId(v string) *GetSSHPublicKeyInput {
+ s.SSHPublicKeyId = &v
+ return s
+}
+
+// SetUserName sets the UserName field's value.
+func (s *GetSSHPublicKeyInput) SetUserName(v string) *GetSSHPublicKeyInput {
+ s.UserName = &v
+ return s
+}
+
// Contains the response to a successful GetSSHPublicKey request.
type GetSSHPublicKeyOutput struct {
_ struct{} `type:"structure"`
@@ -14435,6 +15497,12 @@ func (s GetSSHPublicKeyOutput) GoString() string {
return s.String()
}
+// SetSSHPublicKey sets the SSHPublicKey field's value.
+func (s *GetSSHPublicKeyOutput) SetSSHPublicKey(v *SSHPublicKey) *GetSSHPublicKeyOutput {
+ s.SSHPublicKey = v
+ return s
+}
+
type GetServerCertificateInput struct {
_ struct{} `type:"structure"`
@@ -14474,6 +15542,12 @@ func (s *GetServerCertificateInput) Validate() error {
return nil
}
+// SetServerCertificateName sets the ServerCertificateName field's value.
+func (s *GetServerCertificateInput) SetServerCertificateName(v string) *GetServerCertificateInput {
+ s.ServerCertificateName = &v
+ return s
+}
+
// Contains the response to a successful GetServerCertificate request.
type GetServerCertificateOutput struct {
_ struct{} `type:"structure"`
@@ -14494,6 +15568,12 @@ func (s GetServerCertificateOutput) GoString() string {
return s.String()
}
+// SetServerCertificate sets the ServerCertificate field's value.
+func (s *GetServerCertificateOutput) SetServerCertificate(v *ServerCertificate) *GetServerCertificateOutput {
+ s.ServerCertificate = v
+ return s
+}
+
type GetUserInput struct {
_ struct{} `type:"structure"`
@@ -14530,6 +15610,12 @@ func (s *GetUserInput) Validate() error {
return nil
}
+// SetUserName sets the UserName field's value.
+func (s *GetUserInput) SetUserName(v string) *GetUserInput {
+ s.UserName = &v
+ return s
+}
+
// Contains the response to a successful GetUser request.
type GetUserOutput struct {
_ struct{} `type:"structure"`
@@ -14550,6 +15636,12 @@ func (s GetUserOutput) GoString() string {
return s.String()
}
+// SetUser sets the User field's value.
+func (s *GetUserOutput) SetUser(v *User) *GetUserOutput {
+ s.User = v
+ return s
+}
+
type GetUserPolicyInput struct {
_ struct{} `type:"structure"`
@@ -14604,6 +15696,18 @@ func (s *GetUserPolicyInput) Validate() error {
return nil
}
+// SetPolicyName sets the PolicyName field's value.
+func (s *GetUserPolicyInput) SetPolicyName(v string) *GetUserPolicyInput {
+ s.PolicyName = &v
+ return s
+}
+
+// SetUserName sets the UserName field's value.
+func (s *GetUserPolicyInput) SetUserName(v string) *GetUserPolicyInput {
+ s.UserName = &v
+ return s
+}
+
// Contains the response to a successful GetUserPolicy request.
type GetUserPolicyOutput struct {
_ struct{} `type:"structure"`
@@ -14634,6 +15738,24 @@ func (s GetUserPolicyOutput) GoString() string {
return s.String()
}
+// SetPolicyDocument sets the PolicyDocument field's value.
+func (s *GetUserPolicyOutput) SetPolicyDocument(v string) *GetUserPolicyOutput {
+ s.PolicyDocument = &v
+ return s
+}
+
+// SetPolicyName sets the PolicyName field's value.
+func (s *GetUserPolicyOutput) SetPolicyName(v string) *GetUserPolicyOutput {
+ s.PolicyName = &v
+ return s
+}
+
+// SetUserName sets the UserName field's value.
+func (s *GetUserPolicyOutput) SetUserName(v string) *GetUserPolicyOutput {
+ s.UserName = &v
+ return s
+}
+
// Contains information about an IAM group entity.
//
// This data type is used as a response element in the following actions:
@@ -14689,6 +15811,36 @@ func (s Group) GoString() string {
return s.String()
}
+// SetArn sets the Arn field's value.
+func (s *Group) SetArn(v string) *Group {
+ s.Arn = &v
+ return s
+}
+
+// SetCreateDate sets the CreateDate field's value.
+func (s *Group) SetCreateDate(v time.Time) *Group {
+ s.CreateDate = &v
+ return s
+}
+
+// SetGroupId sets the GroupId field's value.
+func (s *Group) SetGroupId(v string) *Group {
+ s.GroupId = &v
+ return s
+}
+
+// SetGroupName sets the GroupName field's value.
+func (s *Group) SetGroupName(v string) *Group {
+ s.GroupName = &v
+ return s
+}
+
+// SetPath sets the Path field's value.
+func (s *Group) SetPath(v string) *Group {
+ s.Path = &v
+ return s
+}
+
// Contains information about an IAM group, including all of the group's policies.
//
// This data type is used as a response element in the GetAccountAuthorizationDetails
@@ -14737,6 +15889,48 @@ func (s GroupDetail) GoString() string {
return s.String()
}
+// SetArn sets the Arn field's value.
+func (s *GroupDetail) SetArn(v string) *GroupDetail {
+ s.Arn = &v
+ return s
+}
+
+// SetAttachedManagedPolicies sets the AttachedManagedPolicies field's value.
+func (s *GroupDetail) SetAttachedManagedPolicies(v []*AttachedPolicy) *GroupDetail {
+ s.AttachedManagedPolicies = v
+ return s
+}
+
+// SetCreateDate sets the CreateDate field's value.
+func (s *GroupDetail) SetCreateDate(v time.Time) *GroupDetail {
+ s.CreateDate = &v
+ return s
+}
+
+// SetGroupId sets the GroupId field's value.
+func (s *GroupDetail) SetGroupId(v string) *GroupDetail {
+ s.GroupId = &v
+ return s
+}
+
+// SetGroupName sets the GroupName field's value.
+func (s *GroupDetail) SetGroupName(v string) *GroupDetail {
+ s.GroupName = &v
+ return s
+}
+
+// SetGroupPolicyList sets the GroupPolicyList field's value.
+func (s *GroupDetail) SetGroupPolicyList(v []*PolicyDetail) *GroupDetail {
+ s.GroupPolicyList = v
+ return s
+}
+
+// SetPath sets the Path field's value.
+func (s *GroupDetail) SetPath(v string) *GroupDetail {
+ s.Path = &v
+ return s
+}
+
// Contains information about an instance profile.
//
// This data type is used as a response element in the following actions:
@@ -14799,6 +15993,42 @@ func (s InstanceProfile) GoString() string {
return s.String()
}
+// SetArn sets the Arn field's value.
+func (s *InstanceProfile) SetArn(v string) *InstanceProfile {
+ s.Arn = &v
+ return s
+}
+
+// SetCreateDate sets the CreateDate field's value.
+func (s *InstanceProfile) SetCreateDate(v time.Time) *InstanceProfile {
+ s.CreateDate = &v
+ return s
+}
+
+// SetInstanceProfileId sets the InstanceProfileId field's value.
+func (s *InstanceProfile) SetInstanceProfileId(v string) *InstanceProfile {
+ s.InstanceProfileId = &v
+ return s
+}
+
+// SetInstanceProfileName sets the InstanceProfileName field's value.
+func (s *InstanceProfile) SetInstanceProfileName(v string) *InstanceProfile {
+ s.InstanceProfileName = &v
+ return s
+}
+
+// SetPath sets the Path field's value.
+func (s *InstanceProfile) SetPath(v string) *InstanceProfile {
+ s.Path = &v
+ return s
+}
+
+// SetRoles sets the Roles field's value.
+func (s *InstanceProfile) SetRoles(v []*Role) *InstanceProfile {
+ s.Roles = v
+ return s
+}
+
type ListAccessKeysInput struct {
_ struct{} `type:"structure"`
@@ -14856,6 +16086,24 @@ func (s *ListAccessKeysInput) Validate() error {
return nil
}
+// SetMarker sets the Marker field's value.
+func (s *ListAccessKeysInput) SetMarker(v string) *ListAccessKeysInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxItems sets the MaxItems field's value.
+func (s *ListAccessKeysInput) SetMaxItems(v int64) *ListAccessKeysInput {
+ s.MaxItems = &v
+ return s
+}
+
+// SetUserName sets the UserName field's value.
+func (s *ListAccessKeysInput) SetUserName(v string) *ListAccessKeysInput {
+ s.UserName = &v
+ return s
+}
+
// Contains the response to a successful ListAccessKeys request.
type ListAccessKeysOutput struct {
_ struct{} `type:"structure"`
@@ -14888,6 +16136,24 @@ func (s ListAccessKeysOutput) GoString() string {
return s.String()
}
+// SetAccessKeyMetadata sets the AccessKeyMetadata field's value.
+func (s *ListAccessKeysOutput) SetAccessKeyMetadata(v []*AccessKeyMetadata) *ListAccessKeysOutput {
+ s.AccessKeyMetadata = v
+ return s
+}
+
+// SetIsTruncated sets the IsTruncated field's value.
+func (s *ListAccessKeysOutput) SetIsTruncated(v bool) *ListAccessKeysOutput {
+ s.IsTruncated = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *ListAccessKeysOutput) SetMarker(v string) *ListAccessKeysOutput {
+ s.Marker = &v
+ return s
+}
+
type ListAccountAliasesInput struct {
_ struct{} `type:"structure"`
@@ -14935,6 +16201,18 @@ func (s *ListAccountAliasesInput) Validate() error {
return nil
}
+// SetMarker sets the Marker field's value.
+func (s *ListAccountAliasesInput) SetMarker(v string) *ListAccountAliasesInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxItems sets the MaxItems field's value.
+func (s *ListAccountAliasesInput) SetMaxItems(v int64) *ListAccountAliasesInput {
+ s.MaxItems = &v
+ return s
+}
+
// Contains the response to a successful ListAccountAliases request.
type ListAccountAliasesOutput struct {
_ struct{} `type:"structure"`
@@ -14968,6 +16246,24 @@ func (s ListAccountAliasesOutput) GoString() string {
return s.String()
}
+// SetAccountAliases sets the AccountAliases field's value.
+func (s *ListAccountAliasesOutput) SetAccountAliases(v []*string) *ListAccountAliasesOutput {
+ s.AccountAliases = v
+ return s
+}
+
+// SetIsTruncated sets the IsTruncated field's value.
+func (s *ListAccountAliasesOutput) SetIsTruncated(v bool) *ListAccountAliasesOutput {
+ s.IsTruncated = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *ListAccountAliasesOutput) SetMarker(v string) *ListAccountAliasesOutput {
+ s.Marker = &v
+ return s
+}
+
type ListAttachedGroupPoliciesInput struct {
_ struct{} `type:"structure"`
@@ -15041,6 +16337,30 @@ func (s *ListAttachedGroupPoliciesInput) Validate() error {
return nil
}
+// SetGroupName sets the GroupName field's value.
+func (s *ListAttachedGroupPoliciesInput) SetGroupName(v string) *ListAttachedGroupPoliciesInput {
+ s.GroupName = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *ListAttachedGroupPoliciesInput) SetMarker(v string) *ListAttachedGroupPoliciesInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxItems sets the MaxItems field's value.
+func (s *ListAttachedGroupPoliciesInput) SetMaxItems(v int64) *ListAttachedGroupPoliciesInput {
+ s.MaxItems = &v
+ return s
+}
+
+// SetPathPrefix sets the PathPrefix field's value.
+func (s *ListAttachedGroupPoliciesInput) SetPathPrefix(v string) *ListAttachedGroupPoliciesInput {
+ s.PathPrefix = &v
+ return s
+}
+
// Contains the response to a successful ListAttachedGroupPolicies request.
type ListAttachedGroupPoliciesOutput struct {
_ struct{} `type:"structure"`
@@ -15071,6 +16391,24 @@ func (s ListAttachedGroupPoliciesOutput) GoString() string {
return s.String()
}
+// SetAttachedPolicies sets the AttachedPolicies field's value.
+func (s *ListAttachedGroupPoliciesOutput) SetAttachedPolicies(v []*AttachedPolicy) *ListAttachedGroupPoliciesOutput {
+ s.AttachedPolicies = v
+ return s
+}
+
+// SetIsTruncated sets the IsTruncated field's value.
+func (s *ListAttachedGroupPoliciesOutput) SetIsTruncated(v bool) *ListAttachedGroupPoliciesOutput {
+ s.IsTruncated = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *ListAttachedGroupPoliciesOutput) SetMarker(v string) *ListAttachedGroupPoliciesOutput {
+ s.Marker = &v
+ return s
+}
+
type ListAttachedRolePoliciesInput struct {
_ struct{} `type:"structure"`
@@ -15143,6 +16481,30 @@ func (s *ListAttachedRolePoliciesInput) Validate() error {
return nil
}
+// SetMarker sets the Marker field's value.
+func (s *ListAttachedRolePoliciesInput) SetMarker(v string) *ListAttachedRolePoliciesInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxItems sets the MaxItems field's value.
+func (s *ListAttachedRolePoliciesInput) SetMaxItems(v int64) *ListAttachedRolePoliciesInput {
+ s.MaxItems = &v
+ return s
+}
+
+// SetPathPrefix sets the PathPrefix field's value.
+func (s *ListAttachedRolePoliciesInput) SetPathPrefix(v string) *ListAttachedRolePoliciesInput {
+ s.PathPrefix = &v
+ return s
+}
+
+// SetRoleName sets the RoleName field's value.
+func (s *ListAttachedRolePoliciesInput) SetRoleName(v string) *ListAttachedRolePoliciesInput {
+ s.RoleName = &v
+ return s
+}
+
// Contains the response to a successful ListAttachedRolePolicies request.
type ListAttachedRolePoliciesOutput struct {
_ struct{} `type:"structure"`
@@ -15173,6 +16535,24 @@ func (s ListAttachedRolePoliciesOutput) GoString() string {
return s.String()
}
+// SetAttachedPolicies sets the AttachedPolicies field's value.
+func (s *ListAttachedRolePoliciesOutput) SetAttachedPolicies(v []*AttachedPolicy) *ListAttachedRolePoliciesOutput {
+ s.AttachedPolicies = v
+ return s
+}
+
+// SetIsTruncated sets the IsTruncated field's value.
+func (s *ListAttachedRolePoliciesOutput) SetIsTruncated(v bool) *ListAttachedRolePoliciesOutput {
+ s.IsTruncated = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *ListAttachedRolePoliciesOutput) SetMarker(v string) *ListAttachedRolePoliciesOutput {
+ s.Marker = &v
+ return s
+}
+
type ListAttachedUserPoliciesInput struct {
_ struct{} `type:"structure"`
@@ -15245,6 +16625,30 @@ func (s *ListAttachedUserPoliciesInput) Validate() error {
return nil
}
+// SetMarker sets the Marker field's value.
+func (s *ListAttachedUserPoliciesInput) SetMarker(v string) *ListAttachedUserPoliciesInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxItems sets the MaxItems field's value.
+func (s *ListAttachedUserPoliciesInput) SetMaxItems(v int64) *ListAttachedUserPoliciesInput {
+ s.MaxItems = &v
+ return s
+}
+
+// SetPathPrefix sets the PathPrefix field's value.
+func (s *ListAttachedUserPoliciesInput) SetPathPrefix(v string) *ListAttachedUserPoliciesInput {
+ s.PathPrefix = &v
+ return s
+}
+
+// SetUserName sets the UserName field's value.
+func (s *ListAttachedUserPoliciesInput) SetUserName(v string) *ListAttachedUserPoliciesInput {
+ s.UserName = &v
+ return s
+}
+
// Contains the response to a successful ListAttachedUserPolicies request.
type ListAttachedUserPoliciesOutput struct {
_ struct{} `type:"structure"`
@@ -15275,6 +16679,24 @@ func (s ListAttachedUserPoliciesOutput) GoString() string {
return s.String()
}
+// SetAttachedPolicies sets the AttachedPolicies field's value.
+func (s *ListAttachedUserPoliciesOutput) SetAttachedPolicies(v []*AttachedPolicy) *ListAttachedUserPoliciesOutput {
+ s.AttachedPolicies = v
+ return s
+}
+
+// SetIsTruncated sets the IsTruncated field's value.
+func (s *ListAttachedUserPoliciesOutput) SetIsTruncated(v bool) *ListAttachedUserPoliciesOutput {
+ s.IsTruncated = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *ListAttachedUserPoliciesOutput) SetMarker(v string) *ListAttachedUserPoliciesOutput {
+ s.Marker = &v
+ return s
+}
+
type ListEntitiesForPolicyInput struct {
_ struct{} `type:"structure"`
@@ -15358,6 +16780,36 @@ func (s *ListEntitiesForPolicyInput) Validate() error {
return nil
}
+// SetEntityFilter sets the EntityFilter field's value.
+func (s *ListEntitiesForPolicyInput) SetEntityFilter(v string) *ListEntitiesForPolicyInput {
+ s.EntityFilter = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *ListEntitiesForPolicyInput) SetMarker(v string) *ListEntitiesForPolicyInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxItems sets the MaxItems field's value.
+func (s *ListEntitiesForPolicyInput) SetMaxItems(v int64) *ListEntitiesForPolicyInput {
+ s.MaxItems = &v
+ return s
+}
+
+// SetPathPrefix sets the PathPrefix field's value.
+func (s *ListEntitiesForPolicyInput) SetPathPrefix(v string) *ListEntitiesForPolicyInput {
+ s.PathPrefix = &v
+ return s
+}
+
+// SetPolicyArn sets the PolicyArn field's value.
+func (s *ListEntitiesForPolicyInput) SetPolicyArn(v string) *ListEntitiesForPolicyInput {
+ s.PolicyArn = &v
+ return s
+}
+
// Contains the response to a successful ListEntitiesForPolicy request.
type ListEntitiesForPolicyOutput struct {
_ struct{} `type:"structure"`
@@ -15394,6 +16846,36 @@ func (s ListEntitiesForPolicyOutput) GoString() string {
return s.String()
}
+// SetIsTruncated sets the IsTruncated field's value.
+func (s *ListEntitiesForPolicyOutput) SetIsTruncated(v bool) *ListEntitiesForPolicyOutput {
+ s.IsTruncated = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *ListEntitiesForPolicyOutput) SetMarker(v string) *ListEntitiesForPolicyOutput {
+ s.Marker = &v
+ return s
+}
+
+// SetPolicyGroups sets the PolicyGroups field's value.
+func (s *ListEntitiesForPolicyOutput) SetPolicyGroups(v []*PolicyGroup) *ListEntitiesForPolicyOutput {
+ s.PolicyGroups = v
+ return s
+}
+
+// SetPolicyRoles sets the PolicyRoles field's value.
+func (s *ListEntitiesForPolicyOutput) SetPolicyRoles(v []*PolicyRole) *ListEntitiesForPolicyOutput {
+ s.PolicyRoles = v
+ return s
+}
+
+// SetPolicyUsers sets the PolicyUsers field's value.
+func (s *ListEntitiesForPolicyOutput) SetPolicyUsers(v []*PolicyUser) *ListEntitiesForPolicyOutput {
+ s.PolicyUsers = v
+ return s
+}
+
type ListGroupPoliciesInput struct {
_ struct{} `type:"structure"`
@@ -15456,6 +16938,24 @@ func (s *ListGroupPoliciesInput) Validate() error {
return nil
}
+// SetGroupName sets the GroupName field's value.
+func (s *ListGroupPoliciesInput) SetGroupName(v string) *ListGroupPoliciesInput {
+ s.GroupName = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *ListGroupPoliciesInput) SetMarker(v string) *ListGroupPoliciesInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxItems sets the MaxItems field's value.
+func (s *ListGroupPoliciesInput) SetMaxItems(v int64) *ListGroupPoliciesInput {
+ s.MaxItems = &v
+ return s
+}
+
// Contains the response to a successful ListGroupPolicies request.
type ListGroupPoliciesOutput struct {
_ struct{} `type:"structure"`
@@ -15488,6 +16988,24 @@ func (s ListGroupPoliciesOutput) GoString() string {
return s.String()
}
+// SetIsTruncated sets the IsTruncated field's value.
+func (s *ListGroupPoliciesOutput) SetIsTruncated(v bool) *ListGroupPoliciesOutput {
+ s.IsTruncated = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *ListGroupPoliciesOutput) SetMarker(v string) *ListGroupPoliciesOutput {
+ s.Marker = &v
+ return s
+}
+
+// SetPolicyNames sets the PolicyNames field's value.
+func (s *ListGroupPoliciesOutput) SetPolicyNames(v []*string) *ListGroupPoliciesOutput {
+ s.PolicyNames = v
+ return s
+}
+
type ListGroupsForUserInput struct {
_ struct{} `type:"structure"`
@@ -15550,6 +17068,24 @@ func (s *ListGroupsForUserInput) Validate() error {
return nil
}
+// SetMarker sets the Marker field's value.
+func (s *ListGroupsForUserInput) SetMarker(v string) *ListGroupsForUserInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxItems sets the MaxItems field's value.
+func (s *ListGroupsForUserInput) SetMaxItems(v int64) *ListGroupsForUserInput {
+ s.MaxItems = &v
+ return s
+}
+
+// SetUserName sets the UserName field's value.
+func (s *ListGroupsForUserInput) SetUserName(v string) *ListGroupsForUserInput {
+ s.UserName = &v
+ return s
+}
+
// Contains the response to a successful ListGroupsForUser request.
type ListGroupsForUserOutput struct {
_ struct{} `type:"structure"`
@@ -15582,6 +17118,24 @@ func (s ListGroupsForUserOutput) GoString() string {
return s.String()
}
+// SetGroups sets the Groups field's value.
+func (s *ListGroupsForUserOutput) SetGroups(v []*Group) *ListGroupsForUserOutput {
+ s.Groups = v
+ return s
+}
+
+// SetIsTruncated sets the IsTruncated field's value.
+func (s *ListGroupsForUserOutput) SetIsTruncated(v bool) *ListGroupsForUserOutput {
+ s.IsTruncated = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *ListGroupsForUserOutput) SetMarker(v string) *ListGroupsForUserOutput {
+ s.Marker = &v
+ return s
+}
+
type ListGroupsInput struct {
_ struct{} `type:"structure"`
@@ -15644,6 +17198,24 @@ func (s *ListGroupsInput) Validate() error {
return nil
}
+// SetMarker sets the Marker field's value.
+func (s *ListGroupsInput) SetMarker(v string) *ListGroupsInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxItems sets the MaxItems field's value.
+func (s *ListGroupsInput) SetMaxItems(v int64) *ListGroupsInput {
+ s.MaxItems = &v
+ return s
+}
+
+// SetPathPrefix sets the PathPrefix field's value.
+func (s *ListGroupsInput) SetPathPrefix(v string) *ListGroupsInput {
+ s.PathPrefix = &v
+ return s
+}
+
// Contains the response to a successful ListGroups request.
type ListGroupsOutput struct {
_ struct{} `type:"structure"`
@@ -15676,6 +17248,24 @@ func (s ListGroupsOutput) GoString() string {
return s.String()
}
+// SetGroups sets the Groups field's value.
+func (s *ListGroupsOutput) SetGroups(v []*Group) *ListGroupsOutput {
+ s.Groups = v
+ return s
+}
+
+// SetIsTruncated sets the IsTruncated field's value.
+func (s *ListGroupsOutput) SetIsTruncated(v bool) *ListGroupsOutput {
+ s.IsTruncated = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *ListGroupsOutput) SetMarker(v string) *ListGroupsOutput {
+ s.Marker = &v
+ return s
+}
+
type ListInstanceProfilesForRoleInput struct {
_ struct{} `type:"structure"`
@@ -15738,6 +17328,24 @@ func (s *ListInstanceProfilesForRoleInput) Validate() error {
return nil
}
+// SetMarker sets the Marker field's value.
+func (s *ListInstanceProfilesForRoleInput) SetMarker(v string) *ListInstanceProfilesForRoleInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxItems sets the MaxItems field's value.
+func (s *ListInstanceProfilesForRoleInput) SetMaxItems(v int64) *ListInstanceProfilesForRoleInput {
+ s.MaxItems = &v
+ return s
+}
+
+// SetRoleName sets the RoleName field's value.
+func (s *ListInstanceProfilesForRoleInput) SetRoleName(v string) *ListInstanceProfilesForRoleInput {
+ s.RoleName = &v
+ return s
+}
+
// Contains the response to a successful ListInstanceProfilesForRole request.
type ListInstanceProfilesForRoleOutput struct {
_ struct{} `type:"structure"`
@@ -15770,6 +17378,24 @@ func (s ListInstanceProfilesForRoleOutput) GoString() string {
return s.String()
}
+// SetInstanceProfiles sets the InstanceProfiles field's value.
+func (s *ListInstanceProfilesForRoleOutput) SetInstanceProfiles(v []*InstanceProfile) *ListInstanceProfilesForRoleOutput {
+ s.InstanceProfiles = v
+ return s
+}
+
+// SetIsTruncated sets the IsTruncated field's value.
+func (s *ListInstanceProfilesForRoleOutput) SetIsTruncated(v bool) *ListInstanceProfilesForRoleOutput {
+ s.IsTruncated = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *ListInstanceProfilesForRoleOutput) SetMarker(v string) *ListInstanceProfilesForRoleOutput {
+ s.Marker = &v
+ return s
+}
+
type ListInstanceProfilesInput struct {
_ struct{} `type:"structure"`
@@ -15832,6 +17458,24 @@ func (s *ListInstanceProfilesInput) Validate() error {
return nil
}
+// SetMarker sets the Marker field's value.
+func (s *ListInstanceProfilesInput) SetMarker(v string) *ListInstanceProfilesInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxItems sets the MaxItems field's value.
+func (s *ListInstanceProfilesInput) SetMaxItems(v int64) *ListInstanceProfilesInput {
+ s.MaxItems = &v
+ return s
+}
+
+// SetPathPrefix sets the PathPrefix field's value.
+func (s *ListInstanceProfilesInput) SetPathPrefix(v string) *ListInstanceProfilesInput {
+ s.PathPrefix = &v
+ return s
+}
+
// Contains the response to a successful ListInstanceProfiles request.
type ListInstanceProfilesOutput struct {
_ struct{} `type:"structure"`
@@ -15864,6 +17508,24 @@ func (s ListInstanceProfilesOutput) GoString() string {
return s.String()
}
+// SetInstanceProfiles sets the InstanceProfiles field's value.
+func (s *ListInstanceProfilesOutput) SetInstanceProfiles(v []*InstanceProfile) *ListInstanceProfilesOutput {
+ s.InstanceProfiles = v
+ return s
+}
+
+// SetIsTruncated sets the IsTruncated field's value.
+func (s *ListInstanceProfilesOutput) SetIsTruncated(v bool) *ListInstanceProfilesOutput {
+ s.IsTruncated = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *ListInstanceProfilesOutput) SetMarker(v string) *ListInstanceProfilesOutput {
+ s.Marker = &v
+ return s
+}
+
type ListMFADevicesInput struct {
_ struct{} `type:"structure"`
@@ -15921,6 +17583,24 @@ func (s *ListMFADevicesInput) Validate() error {
return nil
}
+// SetMarker sets the Marker field's value.
+func (s *ListMFADevicesInput) SetMarker(v string) *ListMFADevicesInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxItems sets the MaxItems field's value.
+func (s *ListMFADevicesInput) SetMaxItems(v int64) *ListMFADevicesInput {
+ s.MaxItems = &v
+ return s
+}
+
+// SetUserName sets the UserName field's value.
+func (s *ListMFADevicesInput) SetUserName(v string) *ListMFADevicesInput {
+ s.UserName = &v
+ return s
+}
+
// Contains the response to a successful ListMFADevices request.
type ListMFADevicesOutput struct {
_ struct{} `type:"structure"`
@@ -15953,6 +17633,24 @@ func (s ListMFADevicesOutput) GoString() string {
return s.String()
}
+// SetIsTruncated sets the IsTruncated field's value.
+func (s *ListMFADevicesOutput) SetIsTruncated(v bool) *ListMFADevicesOutput {
+ s.IsTruncated = &v
+ return s
+}
+
+// SetMFADevices sets the MFADevices field's value.
+func (s *ListMFADevicesOutput) SetMFADevices(v []*MFADevice) *ListMFADevicesOutput {
+ s.MFADevices = v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *ListMFADevicesOutput) SetMarker(v string) *ListMFADevicesOutput {
+ s.Marker = &v
+ return s
+}
+
type ListOpenIDConnectProvidersInput struct {
_ struct{} `type:"structure"`
}
@@ -15985,6 +17683,12 @@ func (s ListOpenIDConnectProvidersOutput) GoString() string {
return s.String()
}
+// SetOpenIDConnectProviderList sets the OpenIDConnectProviderList field's value.
+func (s *ListOpenIDConnectProvidersOutput) SetOpenIDConnectProviderList(v []*OpenIDConnectProviderListEntry) *ListOpenIDConnectProvidersOutput {
+ s.OpenIDConnectProviderList = v
+ return s
+}
+
type ListPoliciesInput struct {
_ struct{} `type:"structure"`
@@ -16057,6 +17761,36 @@ func (s *ListPoliciesInput) Validate() error {
return nil
}
+// SetMarker sets the Marker field's value.
+func (s *ListPoliciesInput) SetMarker(v string) *ListPoliciesInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxItems sets the MaxItems field's value.
+func (s *ListPoliciesInput) SetMaxItems(v int64) *ListPoliciesInput {
+ s.MaxItems = &v
+ return s
+}
+
+// SetOnlyAttached sets the OnlyAttached field's value.
+func (s *ListPoliciesInput) SetOnlyAttached(v bool) *ListPoliciesInput {
+ s.OnlyAttached = &v
+ return s
+}
+
+// SetPathPrefix sets the PathPrefix field's value.
+func (s *ListPoliciesInput) SetPathPrefix(v string) *ListPoliciesInput {
+ s.PathPrefix = &v
+ return s
+}
+
+// SetScope sets the Scope field's value.
+func (s *ListPoliciesInput) SetScope(v string) *ListPoliciesInput {
+ s.Scope = &v
+ return s
+}
+
// Contains the response to a successful ListPolicies request.
type ListPoliciesOutput struct {
_ struct{} `type:"structure"`
@@ -16087,6 +17821,24 @@ func (s ListPoliciesOutput) GoString() string {
return s.String()
}
+// SetIsTruncated sets the IsTruncated field's value.
+func (s *ListPoliciesOutput) SetIsTruncated(v bool) *ListPoliciesOutput {
+ s.IsTruncated = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *ListPoliciesOutput) SetMarker(v string) *ListPoliciesOutput {
+ s.Marker = &v
+ return s
+}
+
+// SetPolicies sets the Policies field's value.
+func (s *ListPoliciesOutput) SetPolicies(v []*Policy) *ListPoliciesOutput {
+ s.Policies = v
+ return s
+}
+
type ListPolicyVersionsInput struct {
_ struct{} `type:"structure"`
@@ -16149,6 +17901,24 @@ func (s *ListPolicyVersionsInput) Validate() error {
return nil
}
+// SetMarker sets the Marker field's value.
+func (s *ListPolicyVersionsInput) SetMarker(v string) *ListPolicyVersionsInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxItems sets the MaxItems field's value.
+func (s *ListPolicyVersionsInput) SetMaxItems(v int64) *ListPolicyVersionsInput {
+ s.MaxItems = &v
+ return s
+}
+
+// SetPolicyArn sets the PolicyArn field's value.
+func (s *ListPolicyVersionsInput) SetPolicyArn(v string) *ListPolicyVersionsInput {
+ s.PolicyArn = &v
+ return s
+}
+
// Contains the response to a successful ListPolicyVersions request.
type ListPolicyVersionsOutput struct {
_ struct{} `type:"structure"`
@@ -16183,6 +17953,24 @@ func (s ListPolicyVersionsOutput) GoString() string {
return s.String()
}
+// SetIsTruncated sets the IsTruncated field's value.
+func (s *ListPolicyVersionsOutput) SetIsTruncated(v bool) *ListPolicyVersionsOutput {
+ s.IsTruncated = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *ListPolicyVersionsOutput) SetMarker(v string) *ListPolicyVersionsOutput {
+ s.Marker = &v
+ return s
+}
+
+// SetVersions sets the Versions field's value.
+func (s *ListPolicyVersionsOutput) SetVersions(v []*PolicyVersion) *ListPolicyVersionsOutput {
+ s.Versions = v
+ return s
+}
+
type ListRolePoliciesInput struct {
_ struct{} `type:"structure"`
@@ -16245,6 +18033,24 @@ func (s *ListRolePoliciesInput) Validate() error {
return nil
}
+// SetMarker sets the Marker field's value.
+func (s *ListRolePoliciesInput) SetMarker(v string) *ListRolePoliciesInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxItems sets the MaxItems field's value.
+func (s *ListRolePoliciesInput) SetMaxItems(v int64) *ListRolePoliciesInput {
+ s.MaxItems = &v
+ return s
+}
+
+// SetRoleName sets the RoleName field's value.
+func (s *ListRolePoliciesInput) SetRoleName(v string) *ListRolePoliciesInput {
+ s.RoleName = &v
+ return s
+}
+
// Contains the response to a successful ListRolePolicies request.
type ListRolePoliciesOutput struct {
_ struct{} `type:"structure"`
@@ -16277,6 +18083,24 @@ func (s ListRolePoliciesOutput) GoString() string {
return s.String()
}
+// SetIsTruncated sets the IsTruncated field's value.
+func (s *ListRolePoliciesOutput) SetIsTruncated(v bool) *ListRolePoliciesOutput {
+ s.IsTruncated = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *ListRolePoliciesOutput) SetMarker(v string) *ListRolePoliciesOutput {
+ s.Marker = &v
+ return s
+}
+
+// SetPolicyNames sets the PolicyNames field's value.
+func (s *ListRolePoliciesOutput) SetPolicyNames(v []*string) *ListRolePoliciesOutput {
+ s.PolicyNames = v
+ return s
+}
+
type ListRolesInput struct {
_ struct{} `type:"structure"`
@@ -16339,6 +18163,24 @@ func (s *ListRolesInput) Validate() error {
return nil
}
+// SetMarker sets the Marker field's value.
+func (s *ListRolesInput) SetMarker(v string) *ListRolesInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxItems sets the MaxItems field's value.
+func (s *ListRolesInput) SetMaxItems(v int64) *ListRolesInput {
+ s.MaxItems = &v
+ return s
+}
+
+// SetPathPrefix sets the PathPrefix field's value.
+func (s *ListRolesInput) SetPathPrefix(v string) *ListRolesInput {
+ s.PathPrefix = &v
+ return s
+}
+
// Contains the response to a successful ListRoles request.
type ListRolesOutput struct {
_ struct{} `type:"structure"`
@@ -16371,6 +18213,24 @@ func (s ListRolesOutput) GoString() string {
return s.String()
}
+// SetIsTruncated sets the IsTruncated field's value.
+func (s *ListRolesOutput) SetIsTruncated(v bool) *ListRolesOutput {
+ s.IsTruncated = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *ListRolesOutput) SetMarker(v string) *ListRolesOutput {
+ s.Marker = &v
+ return s
+}
+
+// SetRoles sets the Roles field's value.
+func (s *ListRolesOutput) SetRoles(v []*Role) *ListRolesOutput {
+ s.Roles = v
+ return s
+}
+
type ListSAMLProvidersInput struct {
_ struct{} `type:"structure"`
}
@@ -16403,6 +18263,12 @@ func (s ListSAMLProvidersOutput) GoString() string {
return s.String()
}
+// SetSAMLProviderList sets the SAMLProviderList field's value.
+func (s *ListSAMLProvidersOutput) SetSAMLProviderList(v []*SAMLProviderListEntry) *ListSAMLProvidersOutput {
+ s.SAMLProviderList = v
+ return s
+}
+
type ListSSHPublicKeysInput struct {
_ struct{} `type:"structure"`
@@ -16462,6 +18328,24 @@ func (s *ListSSHPublicKeysInput) Validate() error {
return nil
}
+// SetMarker sets the Marker field's value.
+func (s *ListSSHPublicKeysInput) SetMarker(v string) *ListSSHPublicKeysInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxItems sets the MaxItems field's value.
+func (s *ListSSHPublicKeysInput) SetMaxItems(v int64) *ListSSHPublicKeysInput {
+ s.MaxItems = &v
+ return s
+}
+
+// SetUserName sets the UserName field's value.
+func (s *ListSSHPublicKeysInput) SetUserName(v string) *ListSSHPublicKeysInput {
+ s.UserName = &v
+ return s
+}
+
// Contains the response to a successful ListSSHPublicKeys request.
type ListSSHPublicKeysOutput struct {
_ struct{} `type:"structure"`
@@ -16492,6 +18376,24 @@ func (s ListSSHPublicKeysOutput) GoString() string {
return s.String()
}
+// SetIsTruncated sets the IsTruncated field's value.
+func (s *ListSSHPublicKeysOutput) SetIsTruncated(v bool) *ListSSHPublicKeysOutput {
+ s.IsTruncated = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *ListSSHPublicKeysOutput) SetMarker(v string) *ListSSHPublicKeysOutput {
+ s.Marker = &v
+ return s
+}
+
+// SetSSHPublicKeys sets the SSHPublicKeys field's value.
+func (s *ListSSHPublicKeysOutput) SetSSHPublicKeys(v []*SSHPublicKeyMetadata) *ListSSHPublicKeysOutput {
+ s.SSHPublicKeys = v
+ return s
+}
+
type ListServerCertificatesInput struct {
_ struct{} `type:"structure"`
@@ -16554,6 +18456,24 @@ func (s *ListServerCertificatesInput) Validate() error {
return nil
}
+// SetMarker sets the Marker field's value.
+func (s *ListServerCertificatesInput) SetMarker(v string) *ListServerCertificatesInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxItems sets the MaxItems field's value.
+func (s *ListServerCertificatesInput) SetMaxItems(v int64) *ListServerCertificatesInput {
+ s.MaxItems = &v
+ return s
+}
+
+// SetPathPrefix sets the PathPrefix field's value.
+func (s *ListServerCertificatesInput) SetPathPrefix(v string) *ListServerCertificatesInput {
+ s.PathPrefix = &v
+ return s
+}
+
// Contains the response to a successful ListServerCertificates request.
type ListServerCertificatesOutput struct {
_ struct{} `type:"structure"`
@@ -16586,6 +18506,24 @@ func (s ListServerCertificatesOutput) GoString() string {
return s.String()
}
+// SetIsTruncated sets the IsTruncated field's value.
+func (s *ListServerCertificatesOutput) SetIsTruncated(v bool) *ListServerCertificatesOutput {
+ s.IsTruncated = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *ListServerCertificatesOutput) SetMarker(v string) *ListServerCertificatesOutput {
+ s.Marker = &v
+ return s
+}
+
+// SetServerCertificateMetadataList sets the ServerCertificateMetadataList field's value.
+func (s *ListServerCertificatesOutput) SetServerCertificateMetadataList(v []*ServerCertificateMetadata) *ListServerCertificatesOutput {
+ s.ServerCertificateMetadataList = v
+ return s
+}
+
type ListSigningCertificatesInput struct {
_ struct{} `type:"structure"`
@@ -16643,6 +18581,24 @@ func (s *ListSigningCertificatesInput) Validate() error {
return nil
}
+// SetMarker sets the Marker field's value.
+func (s *ListSigningCertificatesInput) SetMarker(v string) *ListSigningCertificatesInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxItems sets the MaxItems field's value.
+func (s *ListSigningCertificatesInput) SetMaxItems(v int64) *ListSigningCertificatesInput {
+ s.MaxItems = &v
+ return s
+}
+
+// SetUserName sets the UserName field's value.
+func (s *ListSigningCertificatesInput) SetUserName(v string) *ListSigningCertificatesInput {
+ s.UserName = &v
+ return s
+}
+
// Contains the response to a successful ListSigningCertificates request.
type ListSigningCertificatesOutput struct {
_ struct{} `type:"structure"`
@@ -16675,6 +18631,24 @@ func (s ListSigningCertificatesOutput) GoString() string {
return s.String()
}
+// SetCertificates sets the Certificates field's value.
+func (s *ListSigningCertificatesOutput) SetCertificates(v []*SigningCertificate) *ListSigningCertificatesOutput {
+ s.Certificates = v
+ return s
+}
+
+// SetIsTruncated sets the IsTruncated field's value.
+func (s *ListSigningCertificatesOutput) SetIsTruncated(v bool) *ListSigningCertificatesOutput {
+ s.IsTruncated = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *ListSigningCertificatesOutput) SetMarker(v string) *ListSigningCertificatesOutput {
+ s.Marker = &v
+ return s
+}
+
type ListUserPoliciesInput struct {
_ struct{} `type:"structure"`
@@ -16737,6 +18711,24 @@ func (s *ListUserPoliciesInput) Validate() error {
return nil
}
+// SetMarker sets the Marker field's value.
+func (s *ListUserPoliciesInput) SetMarker(v string) *ListUserPoliciesInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxItems sets the MaxItems field's value.
+func (s *ListUserPoliciesInput) SetMaxItems(v int64) *ListUserPoliciesInput {
+ s.MaxItems = &v
+ return s
+}
+
+// SetUserName sets the UserName field's value.
+func (s *ListUserPoliciesInput) SetUserName(v string) *ListUserPoliciesInput {
+ s.UserName = &v
+ return s
+}
+
// Contains the response to a successful ListUserPolicies request.
type ListUserPoliciesOutput struct {
_ struct{} `type:"structure"`
@@ -16769,6 +18761,24 @@ func (s ListUserPoliciesOutput) GoString() string {
return s.String()
}
+// SetIsTruncated sets the IsTruncated field's value.
+func (s *ListUserPoliciesOutput) SetIsTruncated(v bool) *ListUserPoliciesOutput {
+ s.IsTruncated = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *ListUserPoliciesOutput) SetMarker(v string) *ListUserPoliciesOutput {
+ s.Marker = &v
+ return s
+}
+
+// SetPolicyNames sets the PolicyNames field's value.
+func (s *ListUserPoliciesOutput) SetPolicyNames(v []*string) *ListUserPoliciesOutput {
+ s.PolicyNames = v
+ return s
+}
+
type ListUsersInput struct {
_ struct{} `type:"structure"`
@@ -16831,6 +18841,24 @@ func (s *ListUsersInput) Validate() error {
return nil
}
+// SetMarker sets the Marker field's value.
+func (s *ListUsersInput) SetMarker(v string) *ListUsersInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxItems sets the MaxItems field's value.
+func (s *ListUsersInput) SetMaxItems(v int64) *ListUsersInput {
+ s.MaxItems = &v
+ return s
+}
+
+// SetPathPrefix sets the PathPrefix field's value.
+func (s *ListUsersInput) SetPathPrefix(v string) *ListUsersInput {
+ s.PathPrefix = &v
+ return s
+}
+
// Contains the response to a successful ListUsers request.
type ListUsersOutput struct {
_ struct{} `type:"structure"`
@@ -16863,6 +18891,24 @@ func (s ListUsersOutput) GoString() string {
return s.String()
}
+// SetIsTruncated sets the IsTruncated field's value.
+func (s *ListUsersOutput) SetIsTruncated(v bool) *ListUsersOutput {
+ s.IsTruncated = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *ListUsersOutput) SetMarker(v string) *ListUsersOutput {
+ s.Marker = &v
+ return s
+}
+
+// SetUsers sets the Users field's value.
+func (s *ListUsersOutput) SetUsers(v []*User) *ListUsersOutput {
+ s.Users = v
+ return s
+}
+
type ListVirtualMFADevicesInput struct {
_ struct{} `type:"structure"`
@@ -16915,6 +18961,24 @@ func (s *ListVirtualMFADevicesInput) Validate() error {
return nil
}
+// SetAssignmentStatus sets the AssignmentStatus field's value.
+func (s *ListVirtualMFADevicesInput) SetAssignmentStatus(v string) *ListVirtualMFADevicesInput {
+ s.AssignmentStatus = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *ListVirtualMFADevicesInput) SetMarker(v string) *ListVirtualMFADevicesInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxItems sets the MaxItems field's value.
+func (s *ListVirtualMFADevicesInput) SetMaxItems(v int64) *ListVirtualMFADevicesInput {
+ s.MaxItems = &v
+ return s
+}
+
// Contains the response to a successful ListVirtualMFADevices request.
type ListVirtualMFADevicesOutput struct {
_ struct{} `type:"structure"`
@@ -16948,6 +19012,24 @@ func (s ListVirtualMFADevicesOutput) GoString() string {
return s.String()
}
+// SetIsTruncated sets the IsTruncated field's value.
+func (s *ListVirtualMFADevicesOutput) SetIsTruncated(v bool) *ListVirtualMFADevicesOutput {
+ s.IsTruncated = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *ListVirtualMFADevicesOutput) SetMarker(v string) *ListVirtualMFADevicesOutput {
+ s.Marker = &v
+ return s
+}
+
+// SetVirtualMFADevices sets the VirtualMFADevices field's value.
+func (s *ListVirtualMFADevicesOutput) SetVirtualMFADevices(v []*VirtualMFADevice) *ListVirtualMFADevicesOutput {
+ s.VirtualMFADevices = v
+ return s
+}
+
// Contains the user name and password create date for a user.
//
// This data type is used as a response element in the CreateLoginProfile and
@@ -16980,6 +19062,24 @@ func (s LoginProfile) GoString() string {
return s.String()
}
+// SetCreateDate sets the CreateDate field's value.
+func (s *LoginProfile) SetCreateDate(v time.Time) *LoginProfile {
+ s.CreateDate = &v
+ return s
+}
+
+// SetPasswordResetRequired sets the PasswordResetRequired field's value.
+func (s *LoginProfile) SetPasswordResetRequired(v bool) *LoginProfile {
+ s.PasswordResetRequired = &v
+ return s
+}
+
+// SetUserName sets the UserName field's value.
+func (s *LoginProfile) SetUserName(v string) *LoginProfile {
+ s.UserName = &v
+ return s
+}
+
// Contains information about an MFA device.
//
// This data type is used as a response element in the ListMFADevices action.
@@ -17013,6 +19113,24 @@ func (s MFADevice) GoString() string {
return s.String()
}
+// SetEnableDate sets the EnableDate field's value.
+func (s *MFADevice) SetEnableDate(v time.Time) *MFADevice {
+ s.EnableDate = &v
+ return s
+}
+
+// SetSerialNumber sets the SerialNumber field's value.
+func (s *MFADevice) SetSerialNumber(v string) *MFADevice {
+ s.SerialNumber = &v
+ return s
+}
+
+// SetUserName sets the UserName field's value.
+func (s *MFADevice) SetUserName(v string) *MFADevice {
+ s.UserName = &v
+ return s
+}
+
// Contains information about a managed policy, including the policy's ARN,
// versions, and the number of principal entities (users, groups, and roles)
// that the policy is attached to.
@@ -17093,6 +19211,72 @@ func (s ManagedPolicyDetail) GoString() string {
return s.String()
}
+// SetArn sets the Arn field's value.
+func (s *ManagedPolicyDetail) SetArn(v string) *ManagedPolicyDetail {
+ s.Arn = &v
+ return s
+}
+
+// SetAttachmentCount sets the AttachmentCount field's value.
+func (s *ManagedPolicyDetail) SetAttachmentCount(v int64) *ManagedPolicyDetail {
+ s.AttachmentCount = &v
+ return s
+}
+
+// SetCreateDate sets the CreateDate field's value.
+func (s *ManagedPolicyDetail) SetCreateDate(v time.Time) *ManagedPolicyDetail {
+ s.CreateDate = &v
+ return s
+}
+
+// SetDefaultVersionId sets the DefaultVersionId field's value.
+func (s *ManagedPolicyDetail) SetDefaultVersionId(v string) *ManagedPolicyDetail {
+ s.DefaultVersionId = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *ManagedPolicyDetail) SetDescription(v string) *ManagedPolicyDetail {
+ s.Description = &v
+ return s
+}
+
+// SetIsAttachable sets the IsAttachable field's value.
+func (s *ManagedPolicyDetail) SetIsAttachable(v bool) *ManagedPolicyDetail {
+ s.IsAttachable = &v
+ return s
+}
+
+// SetPath sets the Path field's value.
+func (s *ManagedPolicyDetail) SetPath(v string) *ManagedPolicyDetail {
+ s.Path = &v
+ return s
+}
+
+// SetPolicyId sets the PolicyId field's value.
+func (s *ManagedPolicyDetail) SetPolicyId(v string) *ManagedPolicyDetail {
+ s.PolicyId = &v
+ return s
+}
+
+// SetPolicyName sets the PolicyName field's value.
+func (s *ManagedPolicyDetail) SetPolicyName(v string) *ManagedPolicyDetail {
+ s.PolicyName = &v
+ return s
+}
+
+// SetPolicyVersionList sets the PolicyVersionList field's value.
+func (s *ManagedPolicyDetail) SetPolicyVersionList(v []*PolicyVersion) *ManagedPolicyDetail {
+ s.PolicyVersionList = v
+ return s
+}
+
+// SetUpdateDate sets the UpdateDate field's value.
+func (s *ManagedPolicyDetail) SetUpdateDate(v time.Time) *ManagedPolicyDetail {
+ s.UpdateDate = &v
+ return s
+}
+
// Contains the Amazon Resource Name (ARN) for an IAM OpenID Connect provider.
type OpenIDConnectProviderListEntry struct {
_ struct{} `type:"structure"`
@@ -17115,6 +19299,12 @@ func (s OpenIDConnectProviderListEntry) GoString() string {
return s.String()
}
+// SetArn sets the Arn field's value.
+func (s *OpenIDConnectProviderListEntry) SetArn(v string) *OpenIDConnectProviderListEntry {
+ s.Arn = &v
+ return s
+}
+
// Contains information about the account password policy.
//
// This data type is used as a response element in the GetAccountPasswordPolicy
@@ -17167,6 +19357,66 @@ func (s PasswordPolicy) GoString() string {
return s.String()
}
+// SetAllowUsersToChangePassword sets the AllowUsersToChangePassword field's value.
+func (s *PasswordPolicy) SetAllowUsersToChangePassword(v bool) *PasswordPolicy {
+ s.AllowUsersToChangePassword = &v
+ return s
+}
+
+// SetExpirePasswords sets the ExpirePasswords field's value.
+func (s *PasswordPolicy) SetExpirePasswords(v bool) *PasswordPolicy {
+ s.ExpirePasswords = &v
+ return s
+}
+
+// SetHardExpiry sets the HardExpiry field's value.
+func (s *PasswordPolicy) SetHardExpiry(v bool) *PasswordPolicy {
+ s.HardExpiry = &v
+ return s
+}
+
+// SetMaxPasswordAge sets the MaxPasswordAge field's value.
+func (s *PasswordPolicy) SetMaxPasswordAge(v int64) *PasswordPolicy {
+ s.MaxPasswordAge = &v
+ return s
+}
+
+// SetMinimumPasswordLength sets the MinimumPasswordLength field's value.
+func (s *PasswordPolicy) SetMinimumPasswordLength(v int64) *PasswordPolicy {
+ s.MinimumPasswordLength = &v
+ return s
+}
+
+// SetPasswordReusePrevention sets the PasswordReusePrevention field's value.
+func (s *PasswordPolicy) SetPasswordReusePrevention(v int64) *PasswordPolicy {
+ s.PasswordReusePrevention = &v
+ return s
+}
+
+// SetRequireLowercaseCharacters sets the RequireLowercaseCharacters field's value.
+func (s *PasswordPolicy) SetRequireLowercaseCharacters(v bool) *PasswordPolicy {
+ s.RequireLowercaseCharacters = &v
+ return s
+}
+
+// SetRequireNumbers sets the RequireNumbers field's value.
+func (s *PasswordPolicy) SetRequireNumbers(v bool) *PasswordPolicy {
+ s.RequireNumbers = &v
+ return s
+}
+
+// SetRequireSymbols sets the RequireSymbols field's value.
+func (s *PasswordPolicy) SetRequireSymbols(v bool) *PasswordPolicy {
+ s.RequireSymbols = &v
+ return s
+}
+
+// SetRequireUppercaseCharacters sets the RequireUppercaseCharacters field's value.
+func (s *PasswordPolicy) SetRequireUppercaseCharacters(v bool) *PasswordPolicy {
+ s.RequireUppercaseCharacters = &v
+ return s
+}
+
// Contains information about a managed policy.
//
// This data type is used as a response element in the CreatePolicy, GetPolicy,
@@ -17240,6 +19490,66 @@ func (s Policy) GoString() string {
return s.String()
}
+// SetArn sets the Arn field's value.
+func (s *Policy) SetArn(v string) *Policy {
+ s.Arn = &v
+ return s
+}
+
+// SetAttachmentCount sets the AttachmentCount field's value.
+func (s *Policy) SetAttachmentCount(v int64) *Policy {
+ s.AttachmentCount = &v
+ return s
+}
+
+// SetCreateDate sets the CreateDate field's value.
+func (s *Policy) SetCreateDate(v time.Time) *Policy {
+ s.CreateDate = &v
+ return s
+}
+
+// SetDefaultVersionId sets the DefaultVersionId field's value.
+func (s *Policy) SetDefaultVersionId(v string) *Policy {
+ s.DefaultVersionId = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *Policy) SetDescription(v string) *Policy {
+ s.Description = &v
+ return s
+}
+
+// SetIsAttachable sets the IsAttachable field's value.
+func (s *Policy) SetIsAttachable(v bool) *Policy {
+ s.IsAttachable = &v
+ return s
+}
+
+// SetPath sets the Path field's value.
+func (s *Policy) SetPath(v string) *Policy {
+ s.Path = &v
+ return s
+}
+
+// SetPolicyId sets the PolicyId field's value.
+func (s *Policy) SetPolicyId(v string) *Policy {
+ s.PolicyId = &v
+ return s
+}
+
+// SetPolicyName sets the PolicyName field's value.
+func (s *Policy) SetPolicyName(v string) *Policy {
+ s.PolicyName = &v
+ return s
+}
+
+// SetUpdateDate sets the UpdateDate field's value.
+func (s *Policy) SetUpdateDate(v time.Time) *Policy {
+ s.UpdateDate = &v
+ return s
+}
+
// Contains information about an IAM policy, including the policy document.
//
// This data type is used as a response element in the GetAccountAuthorizationDetails
@@ -17264,6 +19574,18 @@ func (s PolicyDetail) GoString() string {
return s.String()
}
+// SetPolicyDocument sets the PolicyDocument field's value.
+func (s *PolicyDetail) SetPolicyDocument(v string) *PolicyDetail {
+ s.PolicyDocument = &v
+ return s
+}
+
+// SetPolicyName sets the PolicyName field's value.
+func (s *PolicyDetail) SetPolicyName(v string) *PolicyDetail {
+ s.PolicyName = &v
+ return s
+}
+
// Contains information about a group that a managed policy is attached to.
//
// This data type is used as a response element in the ListEntitiesForPolicy
@@ -17294,6 +19616,18 @@ func (s PolicyGroup) GoString() string {
return s.String()
}
+// SetGroupId sets the GroupId field's value.
+func (s *PolicyGroup) SetGroupId(v string) *PolicyGroup {
+ s.GroupId = &v
+ return s
+}
+
+// SetGroupName sets the GroupName field's value.
+func (s *PolicyGroup) SetGroupName(v string) *PolicyGroup {
+ s.GroupName = &v
+ return s
+}
+
// Contains information about a role that a managed policy is attached to.
//
// This data type is used as a response element in the ListEntitiesForPolicy
@@ -17324,6 +19658,18 @@ func (s PolicyRole) GoString() string {
return s.String()
}
+// SetRoleId sets the RoleId field's value.
+func (s *PolicyRole) SetRoleId(v string) *PolicyRole {
+ s.RoleId = &v
+ return s
+}
+
+// SetRoleName sets the RoleName field's value.
+func (s *PolicyRole) SetRoleName(v string) *PolicyRole {
+ s.RoleName = &v
+ return s
+}
+
// Contains information about a user that a managed policy is attached to.
//
// This data type is used as a response element in the ListEntitiesForPolicy
@@ -17354,6 +19700,18 @@ func (s PolicyUser) GoString() string {
return s.String()
}
+// SetUserId sets the UserId field's value.
+func (s *PolicyUser) SetUserId(v string) *PolicyUser {
+ s.UserId = &v
+ return s
+}
+
+// SetUserName sets the UserName field's value.
+func (s *PolicyUser) SetUserName(v string) *PolicyUser {
+ s.UserName = &v
+ return s
+}
+
// Contains information about a version of a managed policy.
//
// This data type is used as a response element in the CreatePolicyVersion,
@@ -17397,6 +19755,30 @@ 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
+}
+
+// SetDocument sets the Document field's value.
+func (s *PolicyVersion) SetDocument(v string) *PolicyVersion {
+ s.Document = &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
+}
+
// Contains the row and column of a location of a Statement element in a policy
// document.
//
@@ -17421,6 +19803,18 @@ func (s Position) GoString() string {
return s.String()
}
+// SetColumn sets the Column field's value.
+func (s *Position) SetColumn(v int64) *Position {
+ s.Column = &v
+ return s
+}
+
+// SetLine sets the Line field's value.
+func (s *Position) SetLine(v int64) *Position {
+ s.Line = &v
+ return s
+}
+
type PutGroupPolicyInput struct {
_ struct{} `type:"structure"`
@@ -17492,6 +19886,24 @@ func (s *PutGroupPolicyInput) Validate() error {
return nil
}
+// SetGroupName sets the GroupName field's value.
+func (s *PutGroupPolicyInput) SetGroupName(v string) *PutGroupPolicyInput {
+ s.GroupName = &v
+ return s
+}
+
+// SetPolicyDocument sets the PolicyDocument field's value.
+func (s *PutGroupPolicyInput) SetPolicyDocument(v string) *PutGroupPolicyInput {
+ s.PolicyDocument = &v
+ return s
+}
+
+// SetPolicyName sets the PolicyName field's value.
+func (s *PutGroupPolicyInput) SetPolicyName(v string) *PutGroupPolicyInput {
+ s.PolicyName = &v
+ return s
+}
+
type PutGroupPolicyOutput struct {
_ struct{} `type:"structure"`
}
@@ -17577,6 +19989,24 @@ func (s *PutRolePolicyInput) Validate() error {
return nil
}
+// SetPolicyDocument sets the PolicyDocument field's value.
+func (s *PutRolePolicyInput) SetPolicyDocument(v string) *PutRolePolicyInput {
+ s.PolicyDocument = &v
+ return s
+}
+
+// SetPolicyName sets the PolicyName field's value.
+func (s *PutRolePolicyInput) SetPolicyName(v string) *PutRolePolicyInput {
+ s.PolicyName = &v
+ return s
+}
+
+// SetRoleName sets the RoleName field's value.
+func (s *PutRolePolicyInput) SetRoleName(v string) *PutRolePolicyInput {
+ s.RoleName = &v
+ return s
+}
+
type PutRolePolicyOutput struct {
_ struct{} `type:"structure"`
}
@@ -17662,6 +20092,24 @@ func (s *PutUserPolicyInput) Validate() error {
return nil
}
+// SetPolicyDocument sets the PolicyDocument field's value.
+func (s *PutUserPolicyInput) SetPolicyDocument(v string) *PutUserPolicyInput {
+ s.PolicyDocument = &v
+ return s
+}
+
+// SetPolicyName sets the PolicyName field's value.
+func (s *PutUserPolicyInput) SetPolicyName(v string) *PutUserPolicyInput {
+ s.PolicyName = &v
+ return s
+}
+
+// SetUserName sets the UserName field's value.
+func (s *PutUserPolicyInput) SetUserName(v string) *PutUserPolicyInput {
+ s.UserName = &v
+ return s
+}
+
type PutUserPolicyOutput struct {
_ struct{} `type:"structure"`
}
@@ -17729,6 +20177,18 @@ func (s *RemoveClientIDFromOpenIDConnectProviderInput) Validate() error {
return nil
}
+// SetClientID sets the ClientID field's value.
+func (s *RemoveClientIDFromOpenIDConnectProviderInput) SetClientID(v string) *RemoveClientIDFromOpenIDConnectProviderInput {
+ s.ClientID = &v
+ return s
+}
+
+// SetOpenIDConnectProviderArn sets the OpenIDConnectProviderArn field's value.
+func (s *RemoveClientIDFromOpenIDConnectProviderInput) SetOpenIDConnectProviderArn(v string) *RemoveClientIDFromOpenIDConnectProviderInput {
+ s.OpenIDConnectProviderArn = &v
+ return s
+}
+
type RemoveClientIDFromOpenIDConnectProviderOutput struct {
_ struct{} `type:"structure"`
}
@@ -17797,6 +20257,18 @@ func (s *RemoveRoleFromInstanceProfileInput) Validate() error {
return nil
}
+// SetInstanceProfileName sets the InstanceProfileName field's value.
+func (s *RemoveRoleFromInstanceProfileInput) SetInstanceProfileName(v string) *RemoveRoleFromInstanceProfileInput {
+ s.InstanceProfileName = &v
+ return s
+}
+
+// SetRoleName sets the RoleName field's value.
+func (s *RemoveRoleFromInstanceProfileInput) SetRoleName(v string) *RemoveRoleFromInstanceProfileInput {
+ s.RoleName = &v
+ return s
+}
+
type RemoveRoleFromInstanceProfileOutput struct {
_ struct{} `type:"structure"`
}
@@ -17865,6 +20337,18 @@ func (s *RemoveUserFromGroupInput) Validate() error {
return nil
}
+// SetGroupName sets the GroupName field's value.
+func (s *RemoveUserFromGroupInput) SetGroupName(v string) *RemoveUserFromGroupInput {
+ s.GroupName = &v
+ return s
+}
+
+// SetUserName sets the UserName field's value.
+func (s *RemoveUserFromGroupInput) SetUserName(v string) *RemoveUserFromGroupInput {
+ s.UserName = &v
+ return s
+}
+
type RemoveUserFromGroupOutput struct {
_ struct{} `type:"structure"`
}
@@ -17932,6 +20416,36 @@ func (s ResourceSpecificResult) GoString() string {
return s.String()
}
+// SetEvalDecisionDetails sets the EvalDecisionDetails field's value.
+func (s *ResourceSpecificResult) SetEvalDecisionDetails(v map[string]*string) *ResourceSpecificResult {
+ s.EvalDecisionDetails = v
+ return s
+}
+
+// SetEvalResourceDecision sets the EvalResourceDecision field's value.
+func (s *ResourceSpecificResult) SetEvalResourceDecision(v string) *ResourceSpecificResult {
+ s.EvalResourceDecision = &v
+ return s
+}
+
+// SetEvalResourceName sets the EvalResourceName field's value.
+func (s *ResourceSpecificResult) SetEvalResourceName(v string) *ResourceSpecificResult {
+ s.EvalResourceName = &v
+ return s
+}
+
+// SetMatchedStatements sets the MatchedStatements field's value.
+func (s *ResourceSpecificResult) SetMatchedStatements(v []*Statement) *ResourceSpecificResult {
+ s.MatchedStatements = v
+ return s
+}
+
+// SetMissingContextValues sets the MissingContextValues field's value.
+func (s *ResourceSpecificResult) SetMissingContextValues(v []*string) *ResourceSpecificResult {
+ s.MissingContextValues = v
+ return s
+}
+
type ResyncMFADeviceInput struct {
_ struct{} `type:"structure"`
@@ -18012,6 +20526,30 @@ func (s *ResyncMFADeviceInput) Validate() error {
return nil
}
+// SetAuthenticationCode1 sets the AuthenticationCode1 field's value.
+func (s *ResyncMFADeviceInput) SetAuthenticationCode1(v string) *ResyncMFADeviceInput {
+ s.AuthenticationCode1 = &v
+ return s
+}
+
+// SetAuthenticationCode2 sets the AuthenticationCode2 field's value.
+func (s *ResyncMFADeviceInput) SetAuthenticationCode2(v string) *ResyncMFADeviceInput {
+ s.AuthenticationCode2 = &v
+ return s
+}
+
+// SetSerialNumber sets the SerialNumber field's value.
+func (s *ResyncMFADeviceInput) SetSerialNumber(v string) *ResyncMFADeviceInput {
+ s.SerialNumber = &v
+ return s
+}
+
+// SetUserName sets the UserName field's value.
+func (s *ResyncMFADeviceInput) SetUserName(v string) *ResyncMFADeviceInput {
+ s.UserName = &v
+ return s
+}
+
type ResyncMFADeviceOutput struct {
_ struct{} `type:"structure"`
}
@@ -18084,6 +20622,42 @@ func (s Role) GoString() string {
return s.String()
}
+// SetArn sets the Arn field's value.
+func (s *Role) SetArn(v string) *Role {
+ s.Arn = &v
+ return s
+}
+
+// SetAssumeRolePolicyDocument sets the AssumeRolePolicyDocument field's value.
+func (s *Role) SetAssumeRolePolicyDocument(v string) *Role {
+ s.AssumeRolePolicyDocument = &v
+ return s
+}
+
+// SetCreateDate sets the CreateDate field's value.
+func (s *Role) SetCreateDate(v time.Time) *Role {
+ s.CreateDate = &v
+ return s
+}
+
+// SetPath sets the Path field's value.
+func (s *Role) SetPath(v string) *Role {
+ s.Path = &v
+ return s
+}
+
+// SetRoleId sets the RoleId field's value.
+func (s *Role) SetRoleId(v string) *Role {
+ s.RoleId = &v
+ return s
+}
+
+// SetRoleName sets the RoleName field's value.
+func (s *Role) SetRoleName(v string) *Role {
+ s.RoleName = &v
+ return s
+}
+
// Contains information about an IAM role, including all of the role's policies.
//
// This data type is used as a response element in the GetAccountAuthorizationDetails
@@ -18130,14 +20704,68 @@ type RoleDetail struct {
RolePolicyList []*PolicyDetail `type:"list"`
}
-// String returns the string representation
-func (s RoleDetail) String() string {
- return awsutil.Prettify(s)
+// String returns the string representation
+func (s RoleDetail) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s RoleDetail) GoString() string {
+ return s.String()
+}
+
+// SetArn sets the Arn field's value.
+func (s *RoleDetail) SetArn(v string) *RoleDetail {
+ s.Arn = &v
+ return s
+}
+
+// SetAssumeRolePolicyDocument sets the AssumeRolePolicyDocument field's value.
+func (s *RoleDetail) SetAssumeRolePolicyDocument(v string) *RoleDetail {
+ s.AssumeRolePolicyDocument = &v
+ return s
+}
+
+// SetAttachedManagedPolicies sets the AttachedManagedPolicies field's value.
+func (s *RoleDetail) SetAttachedManagedPolicies(v []*AttachedPolicy) *RoleDetail {
+ s.AttachedManagedPolicies = v
+ return s
+}
+
+// SetCreateDate sets the CreateDate field's value.
+func (s *RoleDetail) SetCreateDate(v time.Time) *RoleDetail {
+ s.CreateDate = &v
+ return s
+}
+
+// SetInstanceProfileList sets the InstanceProfileList field's value.
+func (s *RoleDetail) SetInstanceProfileList(v []*InstanceProfile) *RoleDetail {
+ s.InstanceProfileList = v
+ return s
+}
+
+// SetPath sets the Path field's value.
+func (s *RoleDetail) SetPath(v string) *RoleDetail {
+ s.Path = &v
+ return s
+}
+
+// SetRoleId sets the RoleId field's value.
+func (s *RoleDetail) SetRoleId(v string) *RoleDetail {
+ s.RoleId = &v
+ return s
+}
+
+// SetRoleName sets the RoleName field's value.
+func (s *RoleDetail) SetRoleName(v string) *RoleDetail {
+ s.RoleName = &v
+ return s
}
-// GoString returns the string representation
-func (s RoleDetail) GoString() string {
- return s.String()
+// SetRolePolicyList sets the RolePolicyList field's value.
+func (s *RoleDetail) SetRolePolicyList(v []*PolicyDetail) *RoleDetail {
+ s.RolePolicyList = v
+ return s
}
// Contains the list of SAML providers for this account.
@@ -18164,6 +20792,24 @@ func (s SAMLProviderListEntry) GoString() string {
return s.String()
}
+// SetArn sets the Arn field's value.
+func (s *SAMLProviderListEntry) SetArn(v string) *SAMLProviderListEntry {
+ s.Arn = &v
+ return s
+}
+
+// SetCreateDate sets the CreateDate field's value.
+func (s *SAMLProviderListEntry) SetCreateDate(v time.Time) *SAMLProviderListEntry {
+ s.CreateDate = &v
+ return s
+}
+
+// SetValidUntil sets the ValidUntil field's value.
+func (s *SAMLProviderListEntry) SetValidUntil(v time.Time) *SAMLProviderListEntry {
+ s.ValidUntil = &v
+ return s
+}
+
// Contains information about an SSH public key.
//
// This data type is used as a response element in the GetSSHPublicKey and UploadSSHPublicKey
@@ -18212,6 +20858,42 @@ func (s SSHPublicKey) GoString() string {
return s.String()
}
+// SetFingerprint sets the Fingerprint field's value.
+func (s *SSHPublicKey) SetFingerprint(v string) *SSHPublicKey {
+ s.Fingerprint = &v
+ return s
+}
+
+// SetSSHPublicKeyBody sets the SSHPublicKeyBody field's value.
+func (s *SSHPublicKey) SetSSHPublicKeyBody(v string) *SSHPublicKey {
+ s.SSHPublicKeyBody = &v
+ return s
+}
+
+// SetSSHPublicKeyId sets the SSHPublicKeyId field's value.
+func (s *SSHPublicKey) SetSSHPublicKeyId(v string) *SSHPublicKey {
+ s.SSHPublicKeyId = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *SSHPublicKey) SetStatus(v string) *SSHPublicKey {
+ s.Status = &v
+ return s
+}
+
+// SetUploadDate sets the UploadDate field's value.
+func (s *SSHPublicKey) SetUploadDate(v time.Time) *SSHPublicKey {
+ s.UploadDate = &v
+ return s
+}
+
+// SetUserName sets the UserName field's value.
+func (s *SSHPublicKey) SetUserName(v string) *SSHPublicKey {
+ s.UserName = &v
+ return s
+}
+
// 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.
@@ -18251,6 +20933,30 @@ func (s SSHPublicKeyMetadata) GoString() string {
return s.String()
}
+// SetSSHPublicKeyId sets the SSHPublicKeyId field's value.
+func (s *SSHPublicKeyMetadata) SetSSHPublicKeyId(v string) *SSHPublicKeyMetadata {
+ s.SSHPublicKeyId = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *SSHPublicKeyMetadata) SetStatus(v string) *SSHPublicKeyMetadata {
+ s.Status = &v
+ return s
+}
+
+// SetUploadDate sets the UploadDate field's value.
+func (s *SSHPublicKeyMetadata) SetUploadDate(v time.Time) *SSHPublicKeyMetadata {
+ s.UploadDate = &v
+ return s
+}
+
+// SetUserName sets the UserName field's value.
+func (s *SSHPublicKeyMetadata) SetUserName(v string) *SSHPublicKeyMetadata {
+ s.UserName = &v
+ return s
+}
+
// Contains information about a server certificate.
//
// This data type is used as a response element in the GetServerCertificate
@@ -18283,6 +20989,24 @@ func (s ServerCertificate) GoString() string {
return s.String()
}
+// SetCertificateBody sets the CertificateBody field's value.
+func (s *ServerCertificate) SetCertificateBody(v string) *ServerCertificate {
+ s.CertificateBody = &v
+ return s
+}
+
+// SetCertificateChain sets the CertificateChain field's value.
+func (s *ServerCertificate) SetCertificateChain(v string) *ServerCertificate {
+ s.CertificateChain = &v
+ return s
+}
+
+// SetServerCertificateMetadata sets the ServerCertificateMetadata field's value.
+func (s *ServerCertificate) SetServerCertificateMetadata(v *ServerCertificateMetadata) *ServerCertificate {
+ s.ServerCertificateMetadata = v
+ return s
+}
+
// Contains information about a server certificate without its certificate body,
// certificate chain, and private key.
//
@@ -18335,6 +21059,42 @@ func (s ServerCertificateMetadata) GoString() string {
return s.String()
}
+// SetArn sets the Arn field's value.
+func (s *ServerCertificateMetadata) SetArn(v string) *ServerCertificateMetadata {
+ s.Arn = &v
+ return s
+}
+
+// SetExpiration sets the Expiration field's value.
+func (s *ServerCertificateMetadata) SetExpiration(v time.Time) *ServerCertificateMetadata {
+ s.Expiration = &v
+ return s
+}
+
+// SetPath sets the Path field's value.
+func (s *ServerCertificateMetadata) SetPath(v string) *ServerCertificateMetadata {
+ s.Path = &v
+ return s
+}
+
+// SetServerCertificateId sets the ServerCertificateId field's value.
+func (s *ServerCertificateMetadata) SetServerCertificateId(v string) *ServerCertificateMetadata {
+ s.ServerCertificateId = &v
+ return s
+}
+
+// SetServerCertificateName sets the ServerCertificateName field's value.
+func (s *ServerCertificateMetadata) SetServerCertificateName(v string) *ServerCertificateMetadata {
+ s.ServerCertificateName = &v
+ return s
+}
+
+// SetUploadDate sets the UploadDate field's value.
+func (s *ServerCertificateMetadata) SetUploadDate(v time.Time) *ServerCertificateMetadata {
+ s.UploadDate = &v
+ return s
+}
+
type SetDefaultPolicyVersionInput struct {
_ struct{} `type:"structure"`
@@ -18387,6 +21147,18 @@ func (s *SetDefaultPolicyVersionInput) Validate() error {
return nil
}
+// SetPolicyArn sets the PolicyArn field's value.
+func (s *SetDefaultPolicyVersionInput) SetPolicyArn(v string) *SetDefaultPolicyVersionInput {
+ s.PolicyArn = &v
+ return s
+}
+
+// SetVersionId sets the VersionId field's value.
+func (s *SetDefaultPolicyVersionInput) SetVersionId(v string) *SetDefaultPolicyVersionInput {
+ s.VersionId = &v
+ return s
+}
+
type SetDefaultPolicyVersionOutput struct {
_ struct{} `type:"structure"`
}
@@ -18443,6 +21215,36 @@ func (s SigningCertificate) GoString() string {
return s.String()
}
+// SetCertificateBody sets the CertificateBody field's value.
+func (s *SigningCertificate) SetCertificateBody(v string) *SigningCertificate {
+ s.CertificateBody = &v
+ return s
+}
+
+// SetCertificateId sets the CertificateId field's value.
+func (s *SigningCertificate) SetCertificateId(v string) *SigningCertificate {
+ s.CertificateId = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *SigningCertificate) SetStatus(v string) *SigningCertificate {
+ s.Status = &v
+ return s
+}
+
+// SetUploadDate sets the UploadDate field's value.
+func (s *SigningCertificate) SetUploadDate(v time.Time) *SigningCertificate {
+ s.UploadDate = &v
+ return s
+}
+
+// SetUserName sets the UserName field's value.
+func (s *SigningCertificate) SetUserName(v string) *SigningCertificate {
+ s.UserName = &v
+ return s
+}
+
type SimulateCustomPolicyInput struct {
_ struct{} `type:"structure"`
@@ -18637,6 +21439,66 @@ func (s *SimulateCustomPolicyInput) Validate() error {
return nil
}
+// SetActionNames sets the ActionNames field's value.
+func (s *SimulateCustomPolicyInput) SetActionNames(v []*string) *SimulateCustomPolicyInput {
+ s.ActionNames = v
+ return s
+}
+
+// SetCallerArn sets the CallerArn field's value.
+func (s *SimulateCustomPolicyInput) SetCallerArn(v string) *SimulateCustomPolicyInput {
+ s.CallerArn = &v
+ return s
+}
+
+// SetContextEntries sets the ContextEntries field's value.
+func (s *SimulateCustomPolicyInput) SetContextEntries(v []*ContextEntry) *SimulateCustomPolicyInput {
+ s.ContextEntries = v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *SimulateCustomPolicyInput) SetMarker(v string) *SimulateCustomPolicyInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxItems sets the MaxItems field's value.
+func (s *SimulateCustomPolicyInput) SetMaxItems(v int64) *SimulateCustomPolicyInput {
+ s.MaxItems = &v
+ return s
+}
+
+// SetPolicyInputList sets the PolicyInputList field's value.
+func (s *SimulateCustomPolicyInput) SetPolicyInputList(v []*string) *SimulateCustomPolicyInput {
+ s.PolicyInputList = v
+ return s
+}
+
+// SetResourceArns sets the ResourceArns field's value.
+func (s *SimulateCustomPolicyInput) SetResourceArns(v []*string) *SimulateCustomPolicyInput {
+ s.ResourceArns = v
+ return s
+}
+
+// SetResourceHandlingOption sets the ResourceHandlingOption field's value.
+func (s *SimulateCustomPolicyInput) SetResourceHandlingOption(v string) *SimulateCustomPolicyInput {
+ s.ResourceHandlingOption = &v
+ return s
+}
+
+// SetResourceOwner sets the ResourceOwner field's value.
+func (s *SimulateCustomPolicyInput) SetResourceOwner(v string) *SimulateCustomPolicyInput {
+ s.ResourceOwner = &v
+ return s
+}
+
+// SetResourcePolicy sets the ResourcePolicy field's value.
+func (s *SimulateCustomPolicyInput) SetResourcePolicy(v string) *SimulateCustomPolicyInput {
+ s.ResourcePolicy = &v
+ return s
+}
+
// Contains the response to a successful SimulatePrincipalPolicy or SimulateCustomPolicy
// request.
type SimulatePolicyResponse struct {
@@ -18668,6 +21530,24 @@ func (s SimulatePolicyResponse) GoString() string {
return s.String()
}
+// SetEvaluationResults sets the EvaluationResults field's value.
+func (s *SimulatePolicyResponse) SetEvaluationResults(v []*EvaluationResult) *SimulatePolicyResponse {
+ s.EvaluationResults = v
+ return s
+}
+
+// SetIsTruncated sets the IsTruncated field's value.
+func (s *SimulatePolicyResponse) SetIsTruncated(v bool) *SimulatePolicyResponse {
+ s.IsTruncated = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *SimulatePolicyResponse) SetMarker(v string) *SimulatePolicyResponse {
+ s.Marker = &v
+ return s
+}
+
type SimulatePrincipalPolicyInput struct {
_ struct{} `type:"structure"`
@@ -18879,6 +21759,72 @@ func (s *SimulatePrincipalPolicyInput) Validate() error {
return nil
}
+// SetActionNames sets the ActionNames field's value.
+func (s *SimulatePrincipalPolicyInput) SetActionNames(v []*string) *SimulatePrincipalPolicyInput {
+ s.ActionNames = v
+ return s
+}
+
+// SetCallerArn sets the CallerArn field's value.
+func (s *SimulatePrincipalPolicyInput) SetCallerArn(v string) *SimulatePrincipalPolicyInput {
+ s.CallerArn = &v
+ return s
+}
+
+// SetContextEntries sets the ContextEntries field's value.
+func (s *SimulatePrincipalPolicyInput) SetContextEntries(v []*ContextEntry) *SimulatePrincipalPolicyInput {
+ s.ContextEntries = v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *SimulatePrincipalPolicyInput) SetMarker(v string) *SimulatePrincipalPolicyInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxItems sets the MaxItems field's value.
+func (s *SimulatePrincipalPolicyInput) SetMaxItems(v int64) *SimulatePrincipalPolicyInput {
+ s.MaxItems = &v
+ return s
+}
+
+// SetPolicyInputList sets the PolicyInputList field's value.
+func (s *SimulatePrincipalPolicyInput) SetPolicyInputList(v []*string) *SimulatePrincipalPolicyInput {
+ s.PolicyInputList = v
+ return s
+}
+
+// SetPolicySourceArn sets the PolicySourceArn field's value.
+func (s *SimulatePrincipalPolicyInput) SetPolicySourceArn(v string) *SimulatePrincipalPolicyInput {
+ s.PolicySourceArn = &v
+ return s
+}
+
+// SetResourceArns sets the ResourceArns field's value.
+func (s *SimulatePrincipalPolicyInput) SetResourceArns(v []*string) *SimulatePrincipalPolicyInput {
+ s.ResourceArns = v
+ return s
+}
+
+// SetResourceHandlingOption sets the ResourceHandlingOption field's value.
+func (s *SimulatePrincipalPolicyInput) SetResourceHandlingOption(v string) *SimulatePrincipalPolicyInput {
+ s.ResourceHandlingOption = &v
+ return s
+}
+
+// SetResourceOwner sets the ResourceOwner field's value.
+func (s *SimulatePrincipalPolicyInput) SetResourceOwner(v string) *SimulatePrincipalPolicyInput {
+ s.ResourceOwner = &v
+ return s
+}
+
+// SetResourcePolicy sets the ResourcePolicy field's value.
+func (s *SimulatePrincipalPolicyInput) SetResourcePolicy(v string) *SimulatePrincipalPolicyInput {
+ s.ResourcePolicy = &v
+ return s
+}
+
// Contains a reference to a Statement element in a policy document that determines
// the result of the simulation.
//
@@ -18910,6 +21856,30 @@ func (s Statement) GoString() string {
return s.String()
}
+// SetEndPosition sets the EndPosition field's value.
+func (s *Statement) SetEndPosition(v *Position) *Statement {
+ s.EndPosition = v
+ return s
+}
+
+// SetSourcePolicyId sets the SourcePolicyId field's value.
+func (s *Statement) SetSourcePolicyId(v string) *Statement {
+ s.SourcePolicyId = &v
+ return s
+}
+
+// SetSourcePolicyType sets the SourcePolicyType field's value.
+func (s *Statement) SetSourcePolicyType(v string) *Statement {
+ s.SourcePolicyType = &v
+ return s
+}
+
+// SetStartPosition sets the StartPosition field's value.
+func (s *Statement) SetStartPosition(v *Position) *Statement {
+ s.StartPosition = v
+ return s
+}
+
type UpdateAccessKeyInput struct {
_ struct{} `type:"structure"`
@@ -18969,6 +21939,24 @@ func (s *UpdateAccessKeyInput) Validate() error {
return nil
}
+// SetAccessKeyId sets the AccessKeyId field's value.
+func (s *UpdateAccessKeyInput) SetAccessKeyId(v string) *UpdateAccessKeyInput {
+ s.AccessKeyId = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *UpdateAccessKeyInput) SetStatus(v string) *UpdateAccessKeyInput {
+ s.Status = &v
+ return s
+}
+
+// SetUserName sets the UserName field's value.
+func (s *UpdateAccessKeyInput) SetUserName(v string) *UpdateAccessKeyInput {
+ s.UserName = &v
+ return s
+}
+
type UpdateAccessKeyOutput struct {
_ struct{} `type:"structure"`
}
@@ -19073,6 +22061,60 @@ func (s *UpdateAccountPasswordPolicyInput) Validate() error {
return nil
}
+// SetAllowUsersToChangePassword sets the AllowUsersToChangePassword field's value.
+func (s *UpdateAccountPasswordPolicyInput) SetAllowUsersToChangePassword(v bool) *UpdateAccountPasswordPolicyInput {
+ s.AllowUsersToChangePassword = &v
+ return s
+}
+
+// SetHardExpiry sets the HardExpiry field's value.
+func (s *UpdateAccountPasswordPolicyInput) SetHardExpiry(v bool) *UpdateAccountPasswordPolicyInput {
+ s.HardExpiry = &v
+ return s
+}
+
+// SetMaxPasswordAge sets the MaxPasswordAge field's value.
+func (s *UpdateAccountPasswordPolicyInput) SetMaxPasswordAge(v int64) *UpdateAccountPasswordPolicyInput {
+ s.MaxPasswordAge = &v
+ return s
+}
+
+// SetMinimumPasswordLength sets the MinimumPasswordLength field's value.
+func (s *UpdateAccountPasswordPolicyInput) SetMinimumPasswordLength(v int64) *UpdateAccountPasswordPolicyInput {
+ s.MinimumPasswordLength = &v
+ return s
+}
+
+// SetPasswordReusePrevention sets the PasswordReusePrevention field's value.
+func (s *UpdateAccountPasswordPolicyInput) SetPasswordReusePrevention(v int64) *UpdateAccountPasswordPolicyInput {
+ s.PasswordReusePrevention = &v
+ return s
+}
+
+// SetRequireLowercaseCharacters sets the RequireLowercaseCharacters field's value.
+func (s *UpdateAccountPasswordPolicyInput) SetRequireLowercaseCharacters(v bool) *UpdateAccountPasswordPolicyInput {
+ s.RequireLowercaseCharacters = &v
+ return s
+}
+
+// SetRequireNumbers sets the RequireNumbers field's value.
+func (s *UpdateAccountPasswordPolicyInput) SetRequireNumbers(v bool) *UpdateAccountPasswordPolicyInput {
+ s.RequireNumbers = &v
+ return s
+}
+
+// SetRequireSymbols sets the RequireSymbols field's value.
+func (s *UpdateAccountPasswordPolicyInput) SetRequireSymbols(v bool) *UpdateAccountPasswordPolicyInput {
+ s.RequireSymbols = &v
+ return s
+}
+
+// SetRequireUppercaseCharacters sets the RequireUppercaseCharacters field's value.
+func (s *UpdateAccountPasswordPolicyInput) SetRequireUppercaseCharacters(v bool) *UpdateAccountPasswordPolicyInput {
+ s.RequireUppercaseCharacters = &v
+ return s
+}
+
type UpdateAccountPasswordPolicyOutput struct {
_ struct{} `type:"structure"`
}
@@ -19143,6 +22185,18 @@ func (s *UpdateAssumeRolePolicyInput) Validate() error {
return nil
}
+// SetPolicyDocument sets the PolicyDocument field's value.
+func (s *UpdateAssumeRolePolicyInput) SetPolicyDocument(v string) *UpdateAssumeRolePolicyInput {
+ s.PolicyDocument = &v
+ return s
+}
+
+// SetRoleName sets the RoleName field's value.
+func (s *UpdateAssumeRolePolicyInput) SetRoleName(v string) *UpdateAssumeRolePolicyInput {
+ s.RoleName = &v
+ return s
+}
+
type UpdateAssumeRolePolicyOutput struct {
_ struct{} `type:"structure"`
}
@@ -19219,6 +22273,24 @@ func (s *UpdateGroupInput) Validate() error {
return nil
}
+// SetGroupName sets the GroupName field's value.
+func (s *UpdateGroupInput) SetGroupName(v string) *UpdateGroupInput {
+ s.GroupName = &v
+ return s
+}
+
+// SetNewGroupName sets the NewGroupName field's value.
+func (s *UpdateGroupInput) SetNewGroupName(v string) *UpdateGroupInput {
+ s.NewGroupName = &v
+ return s
+}
+
+// SetNewPath sets the NewPath field's value.
+func (s *UpdateGroupInput) SetNewPath(v string) *UpdateGroupInput {
+ s.NewPath = &v
+ return s
+}
+
type UpdateGroupOutput struct {
_ struct{} `type:"structure"`
}
@@ -19290,6 +22362,24 @@ func (s *UpdateLoginProfileInput) Validate() error {
return nil
}
+// SetPassword sets the Password field's value.
+func (s *UpdateLoginProfileInput) SetPassword(v string) *UpdateLoginProfileInput {
+ s.Password = &v
+ return s
+}
+
+// SetPasswordResetRequired sets the PasswordResetRequired field's value.
+func (s *UpdateLoginProfileInput) SetPasswordResetRequired(v bool) *UpdateLoginProfileInput {
+ s.PasswordResetRequired = &v
+ return s
+}
+
+// SetUserName sets the UserName field's value.
+func (s *UpdateLoginProfileInput) SetUserName(v string) *UpdateLoginProfileInput {
+ s.UserName = &v
+ return s
+}
+
type UpdateLoginProfileOutput struct {
_ struct{} `type:"structure"`
}
@@ -19354,6 +22444,18 @@ func (s *UpdateOpenIDConnectProviderThumbprintInput) Validate() error {
return nil
}
+// SetOpenIDConnectProviderArn sets the OpenIDConnectProviderArn field's value.
+func (s *UpdateOpenIDConnectProviderThumbprintInput) SetOpenIDConnectProviderArn(v string) *UpdateOpenIDConnectProviderThumbprintInput {
+ s.OpenIDConnectProviderArn = &v
+ return s
+}
+
+// SetThumbprintList sets the ThumbprintList field's value.
+func (s *UpdateOpenIDConnectProviderThumbprintInput) SetThumbprintList(v []*string) *UpdateOpenIDConnectProviderThumbprintInput {
+ s.ThumbprintList = v
+ return s
+}
+
type UpdateOpenIDConnectProviderThumbprintOutput struct {
_ struct{} `type:"structure"`
}
@@ -19422,6 +22524,18 @@ func (s *UpdateSAMLProviderInput) Validate() error {
return nil
}
+// SetSAMLMetadataDocument sets the SAMLMetadataDocument field's value.
+func (s *UpdateSAMLProviderInput) SetSAMLMetadataDocument(v string) *UpdateSAMLProviderInput {
+ s.SAMLMetadataDocument = &v
+ return s
+}
+
+// SetSAMLProviderArn sets the SAMLProviderArn field's value.
+func (s *UpdateSAMLProviderInput) SetSAMLProviderArn(v string) *UpdateSAMLProviderInput {
+ s.SAMLProviderArn = &v
+ return s
+}
+
// Contains the response to a successful UpdateSAMLProvider request.
type UpdateSAMLProviderOutput struct {
_ struct{} `type:"structure"`
@@ -19440,6 +22554,12 @@ func (s UpdateSAMLProviderOutput) GoString() string {
return s.String()
}
+// SetSAMLProviderArn sets the SAMLProviderArn field's value.
+func (s *UpdateSAMLProviderOutput) SetSAMLProviderArn(v string) *UpdateSAMLProviderOutput {
+ s.SAMLProviderArn = &v
+ return s
+}
+
type UpdateSSHPublicKeyInput struct {
_ struct{} `type:"structure"`
@@ -19504,6 +22624,24 @@ func (s *UpdateSSHPublicKeyInput) Validate() error {
return nil
}
+// SetSSHPublicKeyId sets the SSHPublicKeyId field's value.
+func (s *UpdateSSHPublicKeyInput) SetSSHPublicKeyId(v string) *UpdateSSHPublicKeyInput {
+ s.SSHPublicKeyId = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *UpdateSSHPublicKeyInput) SetStatus(v string) *UpdateSSHPublicKeyInput {
+ s.Status = &v
+ return s
+}
+
+// SetUserName sets the UserName field's value.
+func (s *UpdateSSHPublicKeyInput) SetUserName(v string) *UpdateSSHPublicKeyInput {
+ s.UserName = &v
+ return s
+}
+
type UpdateSSHPublicKeyOutput struct {
_ struct{} `type:"structure"`
}
@@ -19582,6 +22720,24 @@ func (s *UpdateServerCertificateInput) Validate() error {
return nil
}
+// SetNewPath sets the NewPath field's value.
+func (s *UpdateServerCertificateInput) SetNewPath(v string) *UpdateServerCertificateInput {
+ s.NewPath = &v
+ return s
+}
+
+// SetNewServerCertificateName sets the NewServerCertificateName field's value.
+func (s *UpdateServerCertificateInput) SetNewServerCertificateName(v string) *UpdateServerCertificateInput {
+ s.NewServerCertificateName = &v
+ return s
+}
+
+// SetServerCertificateName sets the ServerCertificateName field's value.
+func (s *UpdateServerCertificateInput) SetServerCertificateName(v string) *UpdateServerCertificateInput {
+ s.ServerCertificateName = &v
+ return s
+}
+
type UpdateServerCertificateOutput struct {
_ struct{} `type:"structure"`
}
@@ -19655,6 +22811,24 @@ func (s *UpdateSigningCertificateInput) Validate() error {
return nil
}
+// SetCertificateId sets the CertificateId field's value.
+func (s *UpdateSigningCertificateInput) SetCertificateId(v string) *UpdateSigningCertificateInput {
+ s.CertificateId = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *UpdateSigningCertificateInput) SetStatus(v string) *UpdateSigningCertificateInput {
+ s.Status = &v
+ return s
+}
+
+// SetUserName sets the UserName field's value.
+func (s *UpdateSigningCertificateInput) SetUserName(v string) *UpdateSigningCertificateInput {
+ s.UserName = &v
+ return s
+}
+
type UpdateSigningCertificateOutput struct {
_ struct{} `type:"structure"`
}
@@ -19733,6 +22907,24 @@ func (s *UpdateUserInput) Validate() error {
return nil
}
+// SetNewPath sets the NewPath field's value.
+func (s *UpdateUserInput) SetNewPath(v string) *UpdateUserInput {
+ s.NewPath = &v
+ return s
+}
+
+// SetNewUserName sets the NewUserName field's value.
+func (s *UpdateUserInput) SetNewUserName(v string) *UpdateUserInput {
+ s.NewUserName = &v
+ return s
+}
+
+// SetUserName sets the UserName field's value.
+func (s *UpdateUserInput) SetUserName(v string) *UpdateUserInput {
+ s.UserName = &v
+ return s
+}
+
type UpdateUserOutput struct {
_ struct{} `type:"structure"`
}
@@ -19804,6 +22996,18 @@ func (s *UploadSSHPublicKeyInput) Validate() error {
return nil
}
+// SetSSHPublicKeyBody sets the SSHPublicKeyBody field's value.
+func (s *UploadSSHPublicKeyInput) SetSSHPublicKeyBody(v string) *UploadSSHPublicKeyInput {
+ s.SSHPublicKeyBody = &v
+ return s
+}
+
+// SetUserName sets the UserName field's value.
+func (s *UploadSSHPublicKeyInput) SetUserName(v string) *UploadSSHPublicKeyInput {
+ s.UserName = &v
+ return s
+}
+
// Contains the response to a successful UploadSSHPublicKey request.
type UploadSSHPublicKeyOutput struct {
_ struct{} `type:"structure"`
@@ -19822,6 +23026,12 @@ func (s UploadSSHPublicKeyOutput) GoString() string {
return s.String()
}
+// SetSSHPublicKey sets the SSHPublicKey field's value.
+func (s *UploadSSHPublicKeyOutput) SetSSHPublicKey(v *SSHPublicKey) *UploadSSHPublicKeyOutput {
+ s.SSHPublicKey = v
+ return s
+}
+
type UploadServerCertificateInput struct {
_ struct{} `type:"structure"`
@@ -19929,6 +23139,36 @@ func (s *UploadServerCertificateInput) Validate() error {
return nil
}
+// SetCertificateBody sets the CertificateBody field's value.
+func (s *UploadServerCertificateInput) SetCertificateBody(v string) *UploadServerCertificateInput {
+ s.CertificateBody = &v
+ return s
+}
+
+// SetCertificateChain sets the CertificateChain field's value.
+func (s *UploadServerCertificateInput) SetCertificateChain(v string) *UploadServerCertificateInput {
+ s.CertificateChain = &v
+ return s
+}
+
+// SetPath sets the Path field's value.
+func (s *UploadServerCertificateInput) SetPath(v string) *UploadServerCertificateInput {
+ s.Path = &v
+ return s
+}
+
+// SetPrivateKey sets the PrivateKey field's value.
+func (s *UploadServerCertificateInput) SetPrivateKey(v string) *UploadServerCertificateInput {
+ s.PrivateKey = &v
+ return s
+}
+
+// SetServerCertificateName sets the ServerCertificateName field's value.
+func (s *UploadServerCertificateInput) SetServerCertificateName(v string) *UploadServerCertificateInput {
+ s.ServerCertificateName = &v
+ return s
+}
+
// Contains the response to a successful UploadServerCertificate request.
type UploadServerCertificateOutput struct {
_ struct{} `type:"structure"`
@@ -19948,6 +23188,12 @@ func (s UploadServerCertificateOutput) GoString() string {
return s.String()
}
+// SetServerCertificateMetadata sets the ServerCertificateMetadata field's value.
+func (s *UploadServerCertificateOutput) SetServerCertificateMetadata(v *ServerCertificateMetadata) *UploadServerCertificateOutput {
+ s.ServerCertificateMetadata = v
+ return s
+}
+
type UploadSigningCertificateInput struct {
_ struct{} `type:"structure"`
@@ -19999,6 +23245,18 @@ func (s *UploadSigningCertificateInput) Validate() error {
return nil
}
+// SetCertificateBody sets the CertificateBody field's value.
+func (s *UploadSigningCertificateInput) SetCertificateBody(v string) *UploadSigningCertificateInput {
+ s.CertificateBody = &v
+ return s
+}
+
+// SetUserName sets the UserName field's value.
+func (s *UploadSigningCertificateInput) SetUserName(v string) *UploadSigningCertificateInput {
+ s.UserName = &v
+ return s
+}
+
// Contains the response to a successful UploadSigningCertificate request.
type UploadSigningCertificateOutput struct {
_ struct{} `type:"structure"`
@@ -20019,6 +23277,12 @@ func (s UploadSigningCertificateOutput) GoString() string {
return s.String()
}
+// SetCertificate sets the Certificate field's value.
+func (s *UploadSigningCertificateOutput) SetCertificate(v *SigningCertificate) *UploadSigningCertificateOutput {
+ s.Certificate = v
+ return s
+}
+
// Contains information about an IAM user entity.
//
// This data type is used as a response element in the following actions:
@@ -20092,6 +23356,42 @@ func (s User) GoString() string {
return s.String()
}
+// SetArn sets the Arn field's value.
+func (s *User) SetArn(v string) *User {
+ s.Arn = &v
+ return s
+}
+
+// SetCreateDate sets the CreateDate field's value.
+func (s *User) SetCreateDate(v time.Time) *User {
+ s.CreateDate = &v
+ return s
+}
+
+// SetPasswordLastUsed sets the PasswordLastUsed field's value.
+func (s *User) SetPasswordLastUsed(v time.Time) *User {
+ s.PasswordLastUsed = &v
+ return s
+}
+
+// SetPath sets the Path field's value.
+func (s *User) SetPath(v string) *User {
+ s.Path = &v
+ return s
+}
+
+// SetUserId sets the UserId field's value.
+func (s *User) SetUserId(v string) *User {
+ s.UserId = &v
+ return s
+}
+
+// SetUserName sets the UserName field's value.
+func (s *User) SetUserName(v string) *User {
+ s.UserName = &v
+ return s
+}
+
// Contains information about an IAM user, including all the user's policies
// and all the IAM groups the user is in.
//
@@ -20144,6 +23444,54 @@ func (s UserDetail) GoString() string {
return s.String()
}
+// SetArn sets the Arn field's value.
+func (s *UserDetail) SetArn(v string) *UserDetail {
+ s.Arn = &v
+ return s
+}
+
+// SetAttachedManagedPolicies sets the AttachedManagedPolicies field's value.
+func (s *UserDetail) SetAttachedManagedPolicies(v []*AttachedPolicy) *UserDetail {
+ s.AttachedManagedPolicies = v
+ return s
+}
+
+// SetCreateDate sets the CreateDate field's value.
+func (s *UserDetail) SetCreateDate(v time.Time) *UserDetail {
+ s.CreateDate = &v
+ return s
+}
+
+// SetGroupList sets the GroupList field's value.
+func (s *UserDetail) SetGroupList(v []*string) *UserDetail {
+ s.GroupList = v
+ return s
+}
+
+// SetPath sets the Path field's value.
+func (s *UserDetail) SetPath(v string) *UserDetail {
+ s.Path = &v
+ return s
+}
+
+// SetUserId sets the UserId field's value.
+func (s *UserDetail) SetUserId(v string) *UserDetail {
+ s.UserId = &v
+ return s
+}
+
+// SetUserName sets the UserName field's value.
+func (s *UserDetail) SetUserName(v string) *UserDetail {
+ s.UserName = &v
+ return s
+}
+
+// SetUserPolicyList sets the UserPolicyList field's value.
+func (s *UserDetail) SetUserPolicyList(v []*PolicyDetail) *UserDetail {
+ s.UserPolicyList = v
+ return s
+}
+
// Contains information about a virtual MFA device.
type VirtualMFADevice struct {
_ struct{} `type:"structure"`
@@ -20192,6 +23540,36 @@ func (s VirtualMFADevice) GoString() string {
return s.String()
}
+// SetBase32StringSeed sets the Base32StringSeed field's value.
+func (s *VirtualMFADevice) SetBase32StringSeed(v []byte) *VirtualMFADevice {
+ s.Base32StringSeed = v
+ return s
+}
+
+// SetEnableDate sets the EnableDate field's value.
+func (s *VirtualMFADevice) SetEnableDate(v time.Time) *VirtualMFADevice {
+ s.EnableDate = &v
+ return s
+}
+
+// SetQRCodePNG sets the QRCodePNG field's value.
+func (s *VirtualMFADevice) SetQRCodePNG(v []byte) *VirtualMFADevice {
+ s.QRCodePNG = v
+ return s
+}
+
+// SetSerialNumber sets the SerialNumber field's value.
+func (s *VirtualMFADevice) SetSerialNumber(v string) *VirtualMFADevice {
+ s.SerialNumber = &v
+ return s
+}
+
+// SetUser sets the User field's value.
+func (s *VirtualMFADevice) SetUser(v *User) *VirtualMFADevice {
+ s.User = v
+ return s
+}
+
const (
// ContextKeyTypeEnumString is a ContextKeyTypeEnum enum value
ContextKeyTypeEnumString = "string"
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 7700a39..9b13391 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
@@ -2498,6 +2498,18 @@ func (s *AddAttributesToFindingsInput) Validate() error {
return nil
}
+// SetAttributes sets the Attributes field's value.
+func (s *AddAttributesToFindingsInput) SetAttributes(v []*Attribute) *AddAttributesToFindingsInput {
+ s.Attributes = v
+ return s
+}
+
+// SetFindingArns sets the FindingArns field's value.
+func (s *AddAttributesToFindingsInput) SetFindingArns(v []*string) *AddAttributesToFindingsInput {
+ s.FindingArns = v
+ return s
+}
+
type AddAttributesToFindingsOutput struct {
_ struct{} `type:"structure"`
@@ -2518,6 +2530,12 @@ func (s AddAttributesToFindingsOutput) GoString() string {
return s.String()
}
+// SetFailedItems sets the FailedItems field's value.
+func (s *AddAttributesToFindingsOutput) SetFailedItems(v map[string]*FailedItemDetails) *AddAttributesToFindingsOutput {
+ s.FailedItems = v
+ return s
+}
+
// 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.
@@ -2546,6 +2564,18 @@ func (s AgentAlreadyRunningAssessment) GoString() string {
return s.String()
}
+// SetAgentId sets the AgentId field's value.
+func (s *AgentAlreadyRunningAssessment) SetAgentId(v string) *AgentAlreadyRunningAssessment {
+ s.AgentId = &v
+ return s
+}
+
+// SetAssessmentRunArn sets the AssessmentRunArn field's value.
+func (s *AgentAlreadyRunningAssessment) SetAssessmentRunArn(v string) *AgentAlreadyRunningAssessment {
+ s.AssessmentRunArn = &v
+ return s
+}
+
// Contains information about an Amazon Inspector agent. This data type is used
// as a request parameter in the ListAssessmentRunAgents action.
type AgentFilter struct {
@@ -2589,6 +2619,18 @@ func (s *AgentFilter) Validate() error {
return nil
}
+// SetAgentHealthCodes sets the AgentHealthCodes field's value.
+func (s *AgentFilter) SetAgentHealthCodes(v []*string) *AgentFilter {
+ s.AgentHealthCodes = v
+ return s
+}
+
+// SetAgentHealths sets the AgentHealths field's value.
+func (s *AgentFilter) SetAgentHealths(v []*string) *AgentFilter {
+ s.AgentHealths = v
+ return s
+}
+
// Used as a response element in the PreviewAgents action.
type AgentPreview struct {
_ struct{} `type:"structure"`
@@ -2612,6 +2654,18 @@ func (s AgentPreview) GoString() string {
return s.String()
}
+// SetAgentId sets the AgentId field's value.
+func (s *AgentPreview) SetAgentId(v string) *AgentPreview {
+ s.AgentId = &v
+ return s
+}
+
+// SetAutoScalingGroup sets the AutoScalingGroup field's value.
+func (s *AgentPreview) SetAutoScalingGroup(v string) *AgentPreview {
+ s.AutoScalingGroup = &v
+ return s
+}
+
// A snapshot of an Amazon Inspector assessment run that contains the findings
// of the assessment run .
//
@@ -2700,6 +2754,90 @@ func (s AssessmentRun) GoString() string {
return s.String()
}
+// SetArn sets the Arn field's value.
+func (s *AssessmentRun) SetArn(v string) *AssessmentRun {
+ s.Arn = &v
+ return s
+}
+
+// SetAssessmentTemplateArn sets the AssessmentTemplateArn field's value.
+func (s *AssessmentRun) SetAssessmentTemplateArn(v string) *AssessmentRun {
+ s.AssessmentTemplateArn = &v
+ return s
+}
+
+// SetCompletedAt sets the CompletedAt field's value.
+func (s *AssessmentRun) SetCompletedAt(v time.Time) *AssessmentRun {
+ s.CompletedAt = &v
+ return s
+}
+
+// SetCreatedAt sets the CreatedAt field's value.
+func (s *AssessmentRun) SetCreatedAt(v time.Time) *AssessmentRun {
+ s.CreatedAt = &v
+ return s
+}
+
+// SetDataCollected sets the DataCollected field's value.
+func (s *AssessmentRun) SetDataCollected(v bool) *AssessmentRun {
+ s.DataCollected = &v
+ return s
+}
+
+// SetDurationInSeconds sets the DurationInSeconds field's value.
+func (s *AssessmentRun) SetDurationInSeconds(v int64) *AssessmentRun {
+ s.DurationInSeconds = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *AssessmentRun) SetName(v string) *AssessmentRun {
+ s.Name = &v
+ return s
+}
+
+// SetNotifications sets the Notifications field's value.
+func (s *AssessmentRun) SetNotifications(v []*AssessmentRunNotification) *AssessmentRun {
+ s.Notifications = v
+ return s
+}
+
+// SetRulesPackageArns sets the RulesPackageArns field's value.
+func (s *AssessmentRun) SetRulesPackageArns(v []*string) *AssessmentRun {
+ s.RulesPackageArns = v
+ return s
+}
+
+// SetStartedAt sets the StartedAt field's value.
+func (s *AssessmentRun) SetStartedAt(v time.Time) *AssessmentRun {
+ s.StartedAt = &v
+ return s
+}
+
+// SetState sets the State field's value.
+func (s *AssessmentRun) SetState(v string) *AssessmentRun {
+ s.State = &v
+ return s
+}
+
+// SetStateChangedAt sets the StateChangedAt field's value.
+func (s *AssessmentRun) SetStateChangedAt(v time.Time) *AssessmentRun {
+ s.StateChangedAt = &v
+ return s
+}
+
+// SetStateChanges sets the StateChanges field's value.
+func (s *AssessmentRun) SetStateChanges(v []*AssessmentRunStateChange) *AssessmentRun {
+ s.StateChanges = v
+ return s
+}
+
+// SetUserAttributesForFindings sets the UserAttributesForFindings field's value.
+func (s *AssessmentRun) SetUserAttributesForFindings(v []*Attribute) *AssessmentRun {
+ s.UserAttributesForFindings = v
+ return s
+}
+
// Contains information about an Amazon Inspector agent. This data type is used
// as a response element in the ListAssessmentRunAgents action.
type AssessmentRunAgent struct {
@@ -2748,6 +2886,48 @@ func (s AssessmentRunAgent) GoString() string {
return s.String()
}
+// SetAgentHealth sets the AgentHealth field's value.
+func (s *AssessmentRunAgent) SetAgentHealth(v string) *AssessmentRunAgent {
+ s.AgentHealth = &v
+ return s
+}
+
+// SetAgentHealthCode sets the AgentHealthCode field's value.
+func (s *AssessmentRunAgent) SetAgentHealthCode(v string) *AssessmentRunAgent {
+ s.AgentHealthCode = &v
+ return s
+}
+
+// SetAgentHealthDetails sets the AgentHealthDetails field's value.
+func (s *AssessmentRunAgent) SetAgentHealthDetails(v string) *AssessmentRunAgent {
+ s.AgentHealthDetails = &v
+ return s
+}
+
+// SetAgentId sets the AgentId field's value.
+func (s *AssessmentRunAgent) SetAgentId(v string) *AssessmentRunAgent {
+ s.AgentId = &v
+ return s
+}
+
+// SetAssessmentRunArn sets the AssessmentRunArn field's value.
+func (s *AssessmentRunAgent) SetAssessmentRunArn(v string) *AssessmentRunAgent {
+ s.AssessmentRunArn = &v
+ return s
+}
+
+// SetAutoScalingGroup sets the AutoScalingGroup field's value.
+func (s *AssessmentRunAgent) SetAutoScalingGroup(v string) *AssessmentRunAgent {
+ s.AutoScalingGroup = &v
+ return s
+}
+
+// SetTelemetryMetadata sets the TelemetryMetadata field's value.
+func (s *AssessmentRunAgent) SetTelemetryMetadata(v []*TelemetryMetadata) *AssessmentRunAgent {
+ s.TelemetryMetadata = v
+ return s
+}
+
// Used as the request parameter in the ListAssessmentRuns action.
type AssessmentRunFilter struct {
_ struct{} `type:"structure"`
@@ -2818,6 +2998,48 @@ func (s *AssessmentRunFilter) Validate() error {
return nil
}
+// SetCompletionTimeRange sets the CompletionTimeRange field's value.
+func (s *AssessmentRunFilter) SetCompletionTimeRange(v *TimestampRange) *AssessmentRunFilter {
+ s.CompletionTimeRange = v
+ return s
+}
+
+// SetDurationRange sets the DurationRange field's value.
+func (s *AssessmentRunFilter) SetDurationRange(v *DurationRange) *AssessmentRunFilter {
+ s.DurationRange = v
+ return s
+}
+
+// SetNamePattern sets the NamePattern field's value.
+func (s *AssessmentRunFilter) SetNamePattern(v string) *AssessmentRunFilter {
+ s.NamePattern = &v
+ return s
+}
+
+// SetRulesPackageArns sets the RulesPackageArns field's value.
+func (s *AssessmentRunFilter) SetRulesPackageArns(v []*string) *AssessmentRunFilter {
+ s.RulesPackageArns = v
+ return s
+}
+
+// SetStartTimeRange sets the StartTimeRange field's value.
+func (s *AssessmentRunFilter) SetStartTimeRange(v *TimestampRange) *AssessmentRunFilter {
+ s.StartTimeRange = v
+ return s
+}
+
+// SetStateChangeTimeRange sets the StateChangeTimeRange field's value.
+func (s *AssessmentRunFilter) SetStateChangeTimeRange(v *TimestampRange) *AssessmentRunFilter {
+ s.StateChangeTimeRange = v
+ return s
+}
+
+// SetStates sets the States field's value.
+func (s *AssessmentRunFilter) SetStates(v []*string) *AssessmentRunFilter {
+ s.States = v
+ return s
+}
+
// Used as one of the elements of the AssessmentRun data type.
type AssessmentRunNotification struct {
_ struct{} `type:"structure"`
@@ -2856,6 +3078,42 @@ func (s AssessmentRunNotification) GoString() string {
return s.String()
}
+// SetDate sets the Date field's value.
+func (s *AssessmentRunNotification) SetDate(v time.Time) *AssessmentRunNotification {
+ s.Date = &v
+ return s
+}
+
+// SetError sets the Error field's value.
+func (s *AssessmentRunNotification) SetError(v bool) *AssessmentRunNotification {
+ s.Error = &v
+ return s
+}
+
+// SetEvent sets the Event field's value.
+func (s *AssessmentRunNotification) SetEvent(v string) *AssessmentRunNotification {
+ s.Event = &v
+ return s
+}
+
+// SetMessage sets the Message field's value.
+func (s *AssessmentRunNotification) SetMessage(v string) *AssessmentRunNotification {
+ s.Message = &v
+ return s
+}
+
+// SetSnsPublishStatusCode sets the SnsPublishStatusCode field's value.
+func (s *AssessmentRunNotification) SetSnsPublishStatusCode(v string) *AssessmentRunNotification {
+ s.SnsPublishStatusCode = &v
+ return s
+}
+
+// SetSnsTopicArn sets the SnsTopicArn field's value.
+func (s *AssessmentRunNotification) SetSnsTopicArn(v string) *AssessmentRunNotification {
+ s.SnsTopicArn = &v
+ return s
+}
+
// Used as one of the elements of the AssessmentRun data type.
type AssessmentRunStateChange struct {
_ struct{} `type:"structure"`
@@ -2881,6 +3139,18 @@ func (s AssessmentRunStateChange) GoString() string {
return s.String()
}
+// SetState sets the State field's value.
+func (s *AssessmentRunStateChange) SetState(v string) *AssessmentRunStateChange {
+ s.State = &v
+ return s
+}
+
+// SetStateChangedAt sets the StateChangedAt field's value.
+func (s *AssessmentRunStateChange) SetStateChangedAt(v time.Time) *AssessmentRunStateChange {
+ s.StateChangedAt = &v
+ return s
+}
+
// Contains information about an Amazon Inspector application. This data type
// is used as the response element in the DescribeAssessmentTargets action.
type AssessmentTarget struct {
@@ -2923,6 +3193,36 @@ func (s AssessmentTarget) GoString() string {
return s.String()
}
+// SetArn sets the Arn field's value.
+func (s *AssessmentTarget) SetArn(v string) *AssessmentTarget {
+ s.Arn = &v
+ return s
+}
+
+// SetCreatedAt sets the CreatedAt field's value.
+func (s *AssessmentTarget) SetCreatedAt(v time.Time) *AssessmentTarget {
+ s.CreatedAt = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *AssessmentTarget) SetName(v string) *AssessmentTarget {
+ s.Name = &v
+ return s
+}
+
+// SetResourceGroupArn sets the ResourceGroupArn field's value.
+func (s *AssessmentTarget) SetResourceGroupArn(v string) *AssessmentTarget {
+ s.ResourceGroupArn = &v
+ return s
+}
+
+// SetUpdatedAt sets the UpdatedAt field's value.
+func (s *AssessmentTarget) SetUpdatedAt(v time.Time) *AssessmentTarget {
+ s.UpdatedAt = &v
+ return s
+}
+
// Used as the request parameter in the ListAssessmentTargets action.
type AssessmentTargetFilter struct {
_ struct{} `type:"structure"`
@@ -2956,6 +3256,12 @@ func (s *AssessmentTargetFilter) Validate() error {
return nil
}
+// SetAssessmentTargetNamePattern sets the AssessmentTargetNamePattern field's value.
+func (s *AssessmentTargetFilter) SetAssessmentTargetNamePattern(v string) *AssessmentTargetFilter {
+ s.AssessmentTargetNamePattern = &v
+ return s
+}
+
// Contains information about an Amazon Inspector assessment template. This
// data type is used as the response element in the DescribeAssessmentTemplates
// action.
@@ -3011,6 +3317,48 @@ func (s AssessmentTemplate) GoString() string {
return s.String()
}
+// SetArn sets the Arn field's value.
+func (s *AssessmentTemplate) SetArn(v string) *AssessmentTemplate {
+ s.Arn = &v
+ return s
+}
+
+// SetAssessmentTargetArn sets the AssessmentTargetArn field's value.
+func (s *AssessmentTemplate) SetAssessmentTargetArn(v string) *AssessmentTemplate {
+ s.AssessmentTargetArn = &v
+ return s
+}
+
+// SetCreatedAt sets the CreatedAt field's value.
+func (s *AssessmentTemplate) SetCreatedAt(v time.Time) *AssessmentTemplate {
+ s.CreatedAt = &v
+ return s
+}
+
+// SetDurationInSeconds sets the DurationInSeconds field's value.
+func (s *AssessmentTemplate) SetDurationInSeconds(v int64) *AssessmentTemplate {
+ s.DurationInSeconds = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *AssessmentTemplate) SetName(v string) *AssessmentTemplate {
+ s.Name = &v
+ return s
+}
+
+// SetRulesPackageArns sets the RulesPackageArns field's value.
+func (s *AssessmentTemplate) SetRulesPackageArns(v []*string) *AssessmentTemplate {
+ s.RulesPackageArns = v
+ return s
+}
+
+// SetUserAttributesForFindings sets the UserAttributesForFindings field's value.
+func (s *AssessmentTemplate) SetUserAttributesForFindings(v []*Attribute) *AssessmentTemplate {
+ s.UserAttributesForFindings = v
+ return s
+}
+
// Used as the request parameter in the ListAssessmentTemplates action.
type AssessmentTemplateFilter struct {
_ struct{} `type:"structure"`
@@ -3059,6 +3407,24 @@ func (s *AssessmentTemplateFilter) Validate() error {
return nil
}
+// SetDurationRange sets the DurationRange field's value.
+func (s *AssessmentTemplateFilter) SetDurationRange(v *DurationRange) *AssessmentTemplateFilter {
+ s.DurationRange = v
+ return s
+}
+
+// SetNamePattern sets the NamePattern field's value.
+func (s *AssessmentTemplateFilter) SetNamePattern(v string) *AssessmentTemplateFilter {
+ s.NamePattern = &v
+ return s
+}
+
+// SetRulesPackageArns sets the RulesPackageArns field's value.
+func (s *AssessmentTemplateFilter) SetRulesPackageArns(v []*string) *AssessmentTemplateFilter {
+ s.RulesPackageArns = v
+ return s
+}
+
// A collection of attributes of the host from which the finding is generated.
type AssetAttributes struct {
_ struct{} `type:"structure"`
@@ -3096,6 +3462,42 @@ func (s AssetAttributes) GoString() string {
return s.String()
}
+// SetAgentId sets the AgentId field's value.
+func (s *AssetAttributes) SetAgentId(v string) *AssetAttributes {
+ s.AgentId = &v
+ return s
+}
+
+// SetAmiId sets the AmiId field's value.
+func (s *AssetAttributes) SetAmiId(v string) *AssetAttributes {
+ s.AmiId = &v
+ return s
+}
+
+// SetAutoScalingGroup sets the AutoScalingGroup field's value.
+func (s *AssetAttributes) SetAutoScalingGroup(v string) *AssetAttributes {
+ s.AutoScalingGroup = &v
+ return s
+}
+
+// SetHostname sets the Hostname field's value.
+func (s *AssetAttributes) SetHostname(v string) *AssetAttributes {
+ s.Hostname = &v
+ return s
+}
+
+// SetIpv4Addresses sets the Ipv4Addresses field's value.
+func (s *AssetAttributes) SetIpv4Addresses(v []*string) *AssetAttributes {
+ s.Ipv4Addresses = v
+ return s
+}
+
+// SetSchemaVersion sets the SchemaVersion field's value.
+func (s *AssetAttributes) SetSchemaVersion(v int64) *AssetAttributes {
+ s.SchemaVersion = &v
+ return s
+}
+
// This data type is used as a request parameter in the AddAttributesToFindings
// and CreateAssessmentTemplate actions.
type Attribute struct {
@@ -3139,6 +3541,18 @@ func (s *Attribute) Validate() error {
return nil
}
+// SetKey sets the Key field's value.
+func (s *Attribute) SetKey(v string) *Attribute {
+ s.Key = &v
+ return s
+}
+
+// SetValue sets the Value field's value.
+func (s *Attribute) SetValue(v string) *Attribute {
+ s.Value = &v
+ return s
+}
+
type CreateAssessmentTargetInput struct {
_ struct{} `type:"structure"`
@@ -3187,6 +3601,18 @@ func (s *CreateAssessmentTargetInput) Validate() error {
return nil
}
+// SetAssessmentTargetName sets the AssessmentTargetName field's value.
+func (s *CreateAssessmentTargetInput) SetAssessmentTargetName(v string) *CreateAssessmentTargetInput {
+ s.AssessmentTargetName = &v
+ return s
+}
+
+// SetResourceGroupArn sets the ResourceGroupArn field's value.
+func (s *CreateAssessmentTargetInput) SetResourceGroupArn(v string) *CreateAssessmentTargetInput {
+ s.ResourceGroupArn = &v
+ return s
+}
+
type CreateAssessmentTargetOutput struct {
_ struct{} `type:"structure"`
@@ -3206,6 +3632,12 @@ func (s CreateAssessmentTargetOutput) GoString() string {
return s.String()
}
+// SetAssessmentTargetArn sets the AssessmentTargetArn field's value.
+func (s *CreateAssessmentTargetOutput) SetAssessmentTargetArn(v string) *CreateAssessmentTargetOutput {
+ s.AssessmentTargetArn = &v
+ return s
+}
+
type CreateAssessmentTemplateInput struct {
_ struct{} `type:"structure"`
@@ -3291,6 +3723,36 @@ func (s *CreateAssessmentTemplateInput) Validate() error {
return nil
}
+// SetAssessmentTargetArn sets the AssessmentTargetArn field's value.
+func (s *CreateAssessmentTemplateInput) SetAssessmentTargetArn(v string) *CreateAssessmentTemplateInput {
+ s.AssessmentTargetArn = &v
+ return s
+}
+
+// SetAssessmentTemplateName sets the AssessmentTemplateName field's value.
+func (s *CreateAssessmentTemplateInput) SetAssessmentTemplateName(v string) *CreateAssessmentTemplateInput {
+ s.AssessmentTemplateName = &v
+ return s
+}
+
+// SetDurationInSeconds sets the DurationInSeconds field's value.
+func (s *CreateAssessmentTemplateInput) SetDurationInSeconds(v int64) *CreateAssessmentTemplateInput {
+ s.DurationInSeconds = &v
+ return s
+}
+
+// SetRulesPackageArns sets the RulesPackageArns field's value.
+func (s *CreateAssessmentTemplateInput) SetRulesPackageArns(v []*string) *CreateAssessmentTemplateInput {
+ s.RulesPackageArns = v
+ return s
+}
+
+// SetUserAttributesForFindings sets the UserAttributesForFindings field's value.
+func (s *CreateAssessmentTemplateInput) SetUserAttributesForFindings(v []*Attribute) *CreateAssessmentTemplateInput {
+ s.UserAttributesForFindings = v
+ return s
+}
+
type CreateAssessmentTemplateOutput struct {
_ struct{} `type:"structure"`
@@ -3310,6 +3772,12 @@ func (s CreateAssessmentTemplateOutput) GoString() string {
return s.String()
}
+// SetAssessmentTemplateArn sets the AssessmentTemplateArn field's value.
+func (s *CreateAssessmentTemplateOutput) SetAssessmentTemplateArn(v string) *CreateAssessmentTemplateOutput {
+ s.AssessmentTemplateArn = &v
+ return s
+}
+
type CreateResourceGroupInput struct {
_ struct{} `type:"structure"`
@@ -3357,6 +3825,12 @@ func (s *CreateResourceGroupInput) Validate() error {
return nil
}
+// SetResourceGroupTags sets the ResourceGroupTags field's value.
+func (s *CreateResourceGroupInput) SetResourceGroupTags(v []*ResourceGroupTag) *CreateResourceGroupInput {
+ s.ResourceGroupTags = v
+ return s
+}
+
type CreateResourceGroupOutput struct {
_ struct{} `type:"structure"`
@@ -3376,6 +3850,12 @@ func (s CreateResourceGroupOutput) GoString() string {
return s.String()
}
+// SetResourceGroupArn sets the ResourceGroupArn field's value.
+func (s *CreateResourceGroupOutput) SetResourceGroupArn(v string) *CreateResourceGroupOutput {
+ s.ResourceGroupArn = &v
+ return s
+}
+
type DeleteAssessmentRunInput struct {
_ struct{} `type:"structure"`
@@ -3411,6 +3891,12 @@ func (s *DeleteAssessmentRunInput) Validate() error {
return nil
}
+// SetAssessmentRunArn sets the AssessmentRunArn field's value.
+func (s *DeleteAssessmentRunInput) SetAssessmentRunArn(v string) *DeleteAssessmentRunInput {
+ s.AssessmentRunArn = &v
+ return s
+}
+
type DeleteAssessmentRunOutput struct {
_ struct{} `type:"structure"`
}
@@ -3460,6 +3946,12 @@ func (s *DeleteAssessmentTargetInput) Validate() error {
return nil
}
+// SetAssessmentTargetArn sets the AssessmentTargetArn field's value.
+func (s *DeleteAssessmentTargetInput) SetAssessmentTargetArn(v string) *DeleteAssessmentTargetInput {
+ s.AssessmentTargetArn = &v
+ return s
+}
+
type DeleteAssessmentTargetOutput struct {
_ struct{} `type:"structure"`
}
@@ -3509,6 +4001,12 @@ func (s *DeleteAssessmentTemplateInput) Validate() error {
return nil
}
+// SetAssessmentTemplateArn sets the AssessmentTemplateArn field's value.
+func (s *DeleteAssessmentTemplateInput) SetAssessmentTemplateArn(v string) *DeleteAssessmentTemplateInput {
+ s.AssessmentTemplateArn = &v
+ return s
+}
+
type DeleteAssessmentTemplateOutput struct {
_ struct{} `type:"structure"`
}
@@ -3558,6 +4056,12 @@ func (s *DescribeAssessmentRunsInput) Validate() error {
return nil
}
+// SetAssessmentRunArns sets the AssessmentRunArns field's value.
+func (s *DescribeAssessmentRunsInput) SetAssessmentRunArns(v []*string) *DescribeAssessmentRunsInput {
+ s.AssessmentRunArns = v
+ return s
+}
+
type DescribeAssessmentRunsOutput struct {
_ struct{} `type:"structure"`
@@ -3583,6 +4087,18 @@ func (s DescribeAssessmentRunsOutput) GoString() string {
return s.String()
}
+// SetAssessmentRuns sets the AssessmentRuns field's value.
+func (s *DescribeAssessmentRunsOutput) SetAssessmentRuns(v []*AssessmentRun) *DescribeAssessmentRunsOutput {
+ s.AssessmentRuns = v
+ return s
+}
+
+// SetFailedItems sets the FailedItems field's value.
+func (s *DescribeAssessmentRunsOutput) SetFailedItems(v map[string]*FailedItemDetails) *DescribeAssessmentRunsOutput {
+ s.FailedItems = v
+ return s
+}
+
type DescribeAssessmentTargetsInput struct {
_ struct{} `type:"structure"`
@@ -3618,6 +4134,12 @@ func (s *DescribeAssessmentTargetsInput) Validate() error {
return nil
}
+// SetAssessmentTargetArns sets the AssessmentTargetArns field's value.
+func (s *DescribeAssessmentTargetsInput) SetAssessmentTargetArns(v []*string) *DescribeAssessmentTargetsInput {
+ s.AssessmentTargetArns = v
+ return s
+}
+
type DescribeAssessmentTargetsOutput struct {
_ struct{} `type:"structure"`
@@ -3643,6 +4165,18 @@ func (s DescribeAssessmentTargetsOutput) GoString() string {
return s.String()
}
+// SetAssessmentTargets sets the AssessmentTargets field's value.
+func (s *DescribeAssessmentTargetsOutput) SetAssessmentTargets(v []*AssessmentTarget) *DescribeAssessmentTargetsOutput {
+ s.AssessmentTargets = v
+ return s
+}
+
+// SetFailedItems sets the FailedItems field's value.
+func (s *DescribeAssessmentTargetsOutput) SetFailedItems(v map[string]*FailedItemDetails) *DescribeAssessmentTargetsOutput {
+ s.FailedItems = v
+ return s
+}
+
type DescribeAssessmentTemplatesInput struct {
_ struct{} `type:"structure"`
@@ -3678,6 +4212,12 @@ func (s *DescribeAssessmentTemplatesInput) Validate() error {
return nil
}
+// SetAssessmentTemplateArns sets the AssessmentTemplateArns field's value.
+func (s *DescribeAssessmentTemplatesInput) SetAssessmentTemplateArns(v []*string) *DescribeAssessmentTemplatesInput {
+ s.AssessmentTemplateArns = v
+ return s
+}
+
type DescribeAssessmentTemplatesOutput struct {
_ struct{} `type:"structure"`
@@ -3703,6 +4243,18 @@ func (s DescribeAssessmentTemplatesOutput) GoString() string {
return s.String()
}
+// SetAssessmentTemplates sets the AssessmentTemplates field's value.
+func (s *DescribeAssessmentTemplatesOutput) SetAssessmentTemplates(v []*AssessmentTemplate) *DescribeAssessmentTemplatesOutput {
+ s.AssessmentTemplates = v
+ return s
+}
+
+// SetFailedItems sets the FailedItems field's value.
+func (s *DescribeAssessmentTemplatesOutput) SetFailedItems(v map[string]*FailedItemDetails) *DescribeAssessmentTemplatesOutput {
+ s.FailedItems = v
+ return s
+}
+
type DescribeCrossAccountAccessRoleInput struct {
_ struct{} `type:"structure"`
}
@@ -3748,6 +4300,24 @@ func (s DescribeCrossAccountAccessRoleOutput) GoString() string {
return s.String()
}
+// SetRegisteredAt sets the RegisteredAt field's value.
+func (s *DescribeCrossAccountAccessRoleOutput) SetRegisteredAt(v time.Time) *DescribeCrossAccountAccessRoleOutput {
+ s.RegisteredAt = &v
+ return s
+}
+
+// SetRoleArn sets the RoleArn field's value.
+func (s *DescribeCrossAccountAccessRoleOutput) SetRoleArn(v string) *DescribeCrossAccountAccessRoleOutput {
+ s.RoleArn = &v
+ return s
+}
+
+// SetValid sets the Valid field's value.
+func (s *DescribeCrossAccountAccessRoleOutput) SetValid(v bool) *DescribeCrossAccountAccessRoleOutput {
+ s.Valid = &v
+ return s
+}
+
type DescribeFindingsInput struct {
_ struct{} `type:"structure"`
@@ -3787,6 +4357,18 @@ func (s *DescribeFindingsInput) Validate() error {
return nil
}
+// SetFindingArns sets the FindingArns field's value.
+func (s *DescribeFindingsInput) SetFindingArns(v []*string) *DescribeFindingsInput {
+ s.FindingArns = v
+ return s
+}
+
+// SetLocale sets the Locale field's value.
+func (s *DescribeFindingsInput) SetLocale(v string) *DescribeFindingsInput {
+ s.Locale = &v
+ return s
+}
+
type DescribeFindingsOutput struct {
_ struct{} `type:"structure"`
@@ -3812,6 +4394,18 @@ func (s DescribeFindingsOutput) GoString() string {
return s.String()
}
+// SetFailedItems sets the FailedItems field's value.
+func (s *DescribeFindingsOutput) SetFailedItems(v map[string]*FailedItemDetails) *DescribeFindingsOutput {
+ s.FailedItems = v
+ return s
+}
+
+// SetFindings sets the Findings field's value.
+func (s *DescribeFindingsOutput) SetFindings(v []*Finding) *DescribeFindingsOutput {
+ s.Findings = v
+ return s
+}
+
type DescribeResourceGroupsInput struct {
_ struct{} `type:"structure"`
@@ -3847,6 +4441,12 @@ func (s *DescribeResourceGroupsInput) Validate() error {
return nil
}
+// SetResourceGroupArns sets the ResourceGroupArns field's value.
+func (s *DescribeResourceGroupsInput) SetResourceGroupArns(v []*string) *DescribeResourceGroupsInput {
+ s.ResourceGroupArns = v
+ return s
+}
+
type DescribeResourceGroupsOutput struct {
_ struct{} `type:"structure"`
@@ -3872,6 +4472,18 @@ func (s DescribeResourceGroupsOutput) GoString() string {
return s.String()
}
+// SetFailedItems sets the FailedItems field's value.
+func (s *DescribeResourceGroupsOutput) SetFailedItems(v map[string]*FailedItemDetails) *DescribeResourceGroupsOutput {
+ s.FailedItems = v
+ return s
+}
+
+// SetResourceGroups sets the ResourceGroups field's value.
+func (s *DescribeResourceGroupsOutput) SetResourceGroups(v []*ResourceGroup) *DescribeResourceGroupsOutput {
+ s.ResourceGroups = v
+ return s
+}
+
type DescribeRulesPackagesInput struct {
_ struct{} `type:"structure"`
@@ -3910,6 +4522,18 @@ func (s *DescribeRulesPackagesInput) Validate() error {
return nil
}
+// SetLocale sets the Locale field's value.
+func (s *DescribeRulesPackagesInput) SetLocale(v string) *DescribeRulesPackagesInput {
+ s.Locale = &v
+ return s
+}
+
+// SetRulesPackageArns sets the RulesPackageArns field's value.
+func (s *DescribeRulesPackagesInput) SetRulesPackageArns(v []*string) *DescribeRulesPackagesInput {
+ s.RulesPackageArns = v
+ return s
+}
+
type DescribeRulesPackagesOutput struct {
_ struct{} `type:"structure"`
@@ -3935,6 +4559,18 @@ func (s DescribeRulesPackagesOutput) GoString() string {
return s.String()
}
+// SetFailedItems sets the FailedItems field's value.
+func (s *DescribeRulesPackagesOutput) SetFailedItems(v map[string]*FailedItemDetails) *DescribeRulesPackagesOutput {
+ s.FailedItems = v
+ return s
+}
+
+// SetRulesPackages sets the RulesPackages field's value.
+func (s *DescribeRulesPackagesOutput) SetRulesPackages(v []*RulesPackage) *DescribeRulesPackagesOutput {
+ s.RulesPackages = v
+ return s
+}
+
// This data type is used in the AssessmentTemplateFilter data type.
type DurationRange struct {
_ struct{} `type:"structure"`
@@ -3973,6 +4609,18 @@ func (s *DurationRange) Validate() error {
return nil
}
+// SetMaxSeconds sets the MaxSeconds field's value.
+func (s *DurationRange) SetMaxSeconds(v int64) *DurationRange {
+ s.MaxSeconds = &v
+ return s
+}
+
+// SetMinSeconds sets the MinSeconds field's value.
+func (s *DurationRange) SetMinSeconds(v int64) *DurationRange {
+ s.MinSeconds = &v
+ return s
+}
+
// This data type is used in the Subscription data type.
type EventSubscription struct {
_ struct{} `type:"structure"`
@@ -3999,6 +4647,18 @@ func (s EventSubscription) GoString() string {
return s.String()
}
+// SetEvent sets the Event field's value.
+func (s *EventSubscription) SetEvent(v string) *EventSubscription {
+ s.Event = &v
+ return s
+}
+
+// SetSubscribedAt sets the SubscribedAt field's value.
+func (s *EventSubscription) SetSubscribedAt(v time.Time) *EventSubscription {
+ s.SubscribedAt = &v
+ return s
+}
+
// Includes details about the failed items.
type FailedItemDetails struct {
_ struct{} `type:"structure"`
@@ -4025,6 +4685,18 @@ func (s FailedItemDetails) GoString() string {
return s.String()
}
+// SetFailureCode sets the FailureCode field's value.
+func (s *FailedItemDetails) SetFailureCode(v string) *FailedItemDetails {
+ s.FailureCode = &v
+ return s
+}
+
+// SetRetryable sets the Retryable field's value.
+func (s *FailedItemDetails) SetRetryable(v bool) *FailedItemDetails {
+ s.Retryable = &v
+ return s
+}
+
// Contains information about an Amazon Inspector finding. This data type is
// used as the response element in the DescribeFindings action.
type Finding struct {
@@ -4105,6 +4777,114 @@ func (s Finding) GoString() string {
return s.String()
}
+// SetArn sets the Arn field's value.
+func (s *Finding) SetArn(v string) *Finding {
+ s.Arn = &v
+ return s
+}
+
+// SetAssetAttributes sets the AssetAttributes field's value.
+func (s *Finding) SetAssetAttributes(v *AssetAttributes) *Finding {
+ s.AssetAttributes = v
+ return s
+}
+
+// SetAssetType sets the AssetType field's value.
+func (s *Finding) SetAssetType(v string) *Finding {
+ s.AssetType = &v
+ return s
+}
+
+// SetAttributes sets the Attributes field's value.
+func (s *Finding) SetAttributes(v []*Attribute) *Finding {
+ s.Attributes = v
+ return s
+}
+
+// SetConfidence sets the Confidence field's value.
+func (s *Finding) SetConfidence(v int64) *Finding {
+ s.Confidence = &v
+ return s
+}
+
+// SetCreatedAt sets the CreatedAt field's value.
+func (s *Finding) SetCreatedAt(v time.Time) *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
+}
+
+// SetIndicatorOfCompromise sets the IndicatorOfCompromise field's value.
+func (s *Finding) SetIndicatorOfCompromise(v bool) *Finding {
+ s.IndicatorOfCompromise = &v
+ return s
+}
+
+// SetNumericSeverity sets the NumericSeverity field's value.
+func (s *Finding) SetNumericSeverity(v float64) *Finding {
+ s.NumericSeverity = &v
+ return s
+}
+
+// SetRecommendation sets the Recommendation field's value.
+func (s *Finding) SetRecommendation(v string) *Finding {
+ s.Recommendation = &v
+ return s
+}
+
+// SetSchemaVersion sets the SchemaVersion field's value.
+func (s *Finding) SetSchemaVersion(v int64) *Finding {
+ s.SchemaVersion = &v
+ return s
+}
+
+// SetService sets the Service field's value.
+func (s *Finding) SetService(v string) *Finding {
+ s.Service = &v
+ return s
+}
+
+// SetServiceAttributes sets the ServiceAttributes field's value.
+func (s *Finding) SetServiceAttributes(v *ServiceAttributes) *Finding {
+ s.ServiceAttributes = v
+ return s
+}
+
+// SetSeverity sets the Severity field's value.
+func (s *Finding) SetSeverity(v string) *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
+}
+
+// SetUpdatedAt sets the UpdatedAt field's value.
+func (s *Finding) SetUpdatedAt(v time.Time) *Finding {
+ s.UpdatedAt = &v
+ return s
+}
+
+// SetUserAttributes sets the UserAttributes field's value.
+func (s *Finding) SetUserAttributes(v []*Attribute) *Finding {
+ s.UserAttributes = v
+ return s
+}
+
// This data type is used as a request parameter in the ListFindings action.
type FindingFilter struct {
_ struct{} `type:"structure"`
@@ -4188,6 +4968,54 @@ func (s *FindingFilter) Validate() error {
return nil
}
+// SetAgentIds sets the AgentIds field's value.
+func (s *FindingFilter) SetAgentIds(v []*string) *FindingFilter {
+ s.AgentIds = v
+ return s
+}
+
+// SetAttributes sets the Attributes field's value.
+func (s *FindingFilter) SetAttributes(v []*Attribute) *FindingFilter {
+ s.Attributes = v
+ return s
+}
+
+// SetAutoScalingGroups sets the AutoScalingGroups field's value.
+func (s *FindingFilter) SetAutoScalingGroups(v []*string) *FindingFilter {
+ s.AutoScalingGroups = v
+ return s
+}
+
+// SetCreationTimeRange sets the CreationTimeRange field's value.
+func (s *FindingFilter) SetCreationTimeRange(v *TimestampRange) *FindingFilter {
+ s.CreationTimeRange = v
+ return s
+}
+
+// SetRuleNames sets the RuleNames field's value.
+func (s *FindingFilter) SetRuleNames(v []*string) *FindingFilter {
+ s.RuleNames = v
+ return s
+}
+
+// SetRulesPackageArns sets the RulesPackageArns field's value.
+func (s *FindingFilter) SetRulesPackageArns(v []*string) *FindingFilter {
+ s.RulesPackageArns = v
+ return s
+}
+
+// SetSeverities sets the Severities field's value.
+func (s *FindingFilter) SetSeverities(v []*string) *FindingFilter {
+ s.Severities = v
+ return s
+}
+
+// SetUserAttributes sets the UserAttributes field's value.
+func (s *FindingFilter) SetUserAttributes(v []*Attribute) *FindingFilter {
+ s.UserAttributes = v
+ return s
+}
+
type GetTelemetryMetadataInput struct {
_ struct{} `type:"structure"`
@@ -4224,6 +5052,12 @@ func (s *GetTelemetryMetadataInput) Validate() error {
return nil
}
+// SetAssessmentRunArn sets the AssessmentRunArn field's value.
+func (s *GetTelemetryMetadataInput) SetAssessmentRunArn(v string) *GetTelemetryMetadataInput {
+ s.AssessmentRunArn = &v
+ return s
+}
+
type GetTelemetryMetadataOutput struct {
_ struct{} `type:"structure"`
@@ -4243,6 +5077,12 @@ func (s GetTelemetryMetadataOutput) GoString() string {
return s.String()
}
+// SetTelemetryMetadata sets the TelemetryMetadata field's value.
+func (s *GetTelemetryMetadataOutput) SetTelemetryMetadata(v []*TelemetryMetadata) *GetTelemetryMetadataOutput {
+ s.TelemetryMetadata = v
+ return s
+}
+
type ListAssessmentRunAgentsInput struct {
_ struct{} `type:"structure"`
@@ -4304,6 +5144,30 @@ func (s *ListAssessmentRunAgentsInput) Validate() error {
return nil
}
+// SetAssessmentRunArn sets the AssessmentRunArn field's value.
+func (s *ListAssessmentRunAgentsInput) SetAssessmentRunArn(v string) *ListAssessmentRunAgentsInput {
+ s.AssessmentRunArn = &v
+ return s
+}
+
+// SetFilter sets the Filter field's value.
+func (s *ListAssessmentRunAgentsInput) SetFilter(v *AgentFilter) *ListAssessmentRunAgentsInput {
+ s.Filter = v
+ return s
+}
+
+// SetMaxResults sets the MaxResults field's value.
+func (s *ListAssessmentRunAgentsInput) SetMaxResults(v int64) *ListAssessmentRunAgentsInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListAssessmentRunAgentsInput) SetNextToken(v string) *ListAssessmentRunAgentsInput {
+ s.NextToken = &v
+ return s
+}
+
type ListAssessmentRunAgentsOutput struct {
_ struct{} `type:"structure"`
@@ -4329,6 +5193,18 @@ func (s ListAssessmentRunAgentsOutput) GoString() string {
return s.String()
}
+// SetAssessmentRunAgents sets the AssessmentRunAgents field's value.
+func (s *ListAssessmentRunAgentsOutput) SetAssessmentRunAgents(v []*AssessmentRunAgent) *ListAssessmentRunAgentsOutput {
+ s.AssessmentRunAgents = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListAssessmentRunAgentsOutput) SetNextToken(v string) *ListAssessmentRunAgentsOutput {
+ s.NextToken = &v
+ return s
+}
+
type ListAssessmentRunsInput struct {
_ struct{} `type:"structure"`
@@ -4383,6 +5259,30 @@ func (s *ListAssessmentRunsInput) Validate() error {
return nil
}
+// SetAssessmentTemplateArns sets the AssessmentTemplateArns field's value.
+func (s *ListAssessmentRunsInput) SetAssessmentTemplateArns(v []*string) *ListAssessmentRunsInput {
+ s.AssessmentTemplateArns = v
+ return s
+}
+
+// SetFilter sets the Filter field's value.
+func (s *ListAssessmentRunsInput) SetFilter(v *AssessmentRunFilter) *ListAssessmentRunsInput {
+ s.Filter = v
+ return s
+}
+
+// SetMaxResults sets the MaxResults field's value.
+func (s *ListAssessmentRunsInput) SetMaxResults(v int64) *ListAssessmentRunsInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListAssessmentRunsInput) SetNextToken(v string) *ListAssessmentRunsInput {
+ s.NextToken = &v
+ return s
+}
+
type ListAssessmentRunsOutput struct {
_ struct{} `type:"structure"`
@@ -4409,6 +5309,18 @@ func (s ListAssessmentRunsOutput) GoString() string {
return s.String()
}
+// SetAssessmentRunArns sets the AssessmentRunArns field's value.
+func (s *ListAssessmentRunsOutput) SetAssessmentRunArns(v []*string) *ListAssessmentRunsOutput {
+ s.AssessmentRunArns = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListAssessmentRunsOutput) SetNextToken(v string) *ListAssessmentRunsOutput {
+ s.NextToken = &v
+ return s
+}
+
type ListAssessmentTargetsInput struct {
_ struct{} `type:"structure"`
@@ -4459,6 +5371,24 @@ func (s *ListAssessmentTargetsInput) Validate() error {
return nil
}
+// SetFilter sets the Filter field's value.
+func (s *ListAssessmentTargetsInput) SetFilter(v *AssessmentTargetFilter) *ListAssessmentTargetsInput {
+ s.Filter = v
+ return s
+}
+
+// SetMaxResults sets the MaxResults field's value.
+func (s *ListAssessmentTargetsInput) SetMaxResults(v int64) *ListAssessmentTargetsInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListAssessmentTargetsInput) SetNextToken(v string) *ListAssessmentTargetsInput {
+ s.NextToken = &v
+ return s
+}
+
type ListAssessmentTargetsOutput struct {
_ struct{} `type:"structure"`
@@ -4485,6 +5415,18 @@ func (s ListAssessmentTargetsOutput) GoString() string {
return s.String()
}
+// SetAssessmentTargetArns sets the AssessmentTargetArns field's value.
+func (s *ListAssessmentTargetsOutput) SetAssessmentTargetArns(v []*string) *ListAssessmentTargetsOutput {
+ s.AssessmentTargetArns = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListAssessmentTargetsOutput) SetNextToken(v string) *ListAssessmentTargetsOutput {
+ s.NextToken = &v
+ return s
+}
+
type ListAssessmentTemplatesInput struct {
_ struct{} `type:"structure"`
@@ -4539,6 +5481,30 @@ func (s *ListAssessmentTemplatesInput) Validate() error {
return nil
}
+// SetAssessmentTargetArns sets the AssessmentTargetArns field's value.
+func (s *ListAssessmentTemplatesInput) SetAssessmentTargetArns(v []*string) *ListAssessmentTemplatesInput {
+ s.AssessmentTargetArns = v
+ return s
+}
+
+// SetFilter sets the Filter field's value.
+func (s *ListAssessmentTemplatesInput) SetFilter(v *AssessmentTemplateFilter) *ListAssessmentTemplatesInput {
+ s.Filter = v
+ return s
+}
+
+// SetMaxResults sets the MaxResults field's value.
+func (s *ListAssessmentTemplatesInput) SetMaxResults(v int64) *ListAssessmentTemplatesInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListAssessmentTemplatesInput) SetNextToken(v string) *ListAssessmentTemplatesInput {
+ s.NextToken = &v
+ return s
+}
+
type ListAssessmentTemplatesOutput struct {
_ struct{} `type:"structure"`
@@ -4564,6 +5530,18 @@ func (s ListAssessmentTemplatesOutput) GoString() string {
return s.String()
}
+// SetAssessmentTemplateArns sets the AssessmentTemplateArns field's value.
+func (s *ListAssessmentTemplatesOutput) SetAssessmentTemplateArns(v []*string) *ListAssessmentTemplatesOutput {
+ s.AssessmentTemplateArns = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListAssessmentTemplatesOutput) SetNextToken(v string) *ListAssessmentTemplatesOutput {
+ s.NextToken = &v
+ return s
+}
+
type ListEventSubscriptionsInput struct {
_ struct{} `type:"structure"`
@@ -4608,6 +5586,24 @@ func (s *ListEventSubscriptionsInput) Validate() error {
return nil
}
+// SetMaxResults sets the MaxResults field's value.
+func (s *ListEventSubscriptionsInput) SetMaxResults(v int64) *ListEventSubscriptionsInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListEventSubscriptionsInput) SetNextToken(v string) *ListEventSubscriptionsInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetResourceArn sets the ResourceArn field's value.
+func (s *ListEventSubscriptionsInput) SetResourceArn(v string) *ListEventSubscriptionsInput {
+ s.ResourceArn = &v
+ return s
+}
+
type ListEventSubscriptionsOutput struct {
_ struct{} `type:"structure"`
@@ -4633,6 +5629,18 @@ func (s ListEventSubscriptionsOutput) GoString() string {
return s.String()
}
+// SetNextToken sets the NextToken field's value.
+func (s *ListEventSubscriptionsOutput) SetNextToken(v string) *ListEventSubscriptionsOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetSubscriptions sets the Subscriptions field's value.
+func (s *ListEventSubscriptionsOutput) SetSubscriptions(v []*Subscription) *ListEventSubscriptionsOutput {
+ s.Subscriptions = v
+ return s
+}
+
type ListFindingsInput struct {
_ struct{} `type:"structure"`
@@ -4687,6 +5695,30 @@ func (s *ListFindingsInput) Validate() error {
return nil
}
+// SetAssessmentRunArns sets the AssessmentRunArns field's value.
+func (s *ListFindingsInput) SetAssessmentRunArns(v []*string) *ListFindingsInput {
+ s.AssessmentRunArns = v
+ return s
+}
+
+// SetFilter sets the Filter field's value.
+func (s *ListFindingsInput) SetFilter(v *FindingFilter) *ListFindingsInput {
+ s.Filter = 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
+}
+
type ListFindingsOutput struct {
_ struct{} `type:"structure"`
@@ -4712,6 +5744,18 @@ func (s ListFindingsOutput) GoString() string {
return s.String()
}
+// SetFindingArns sets the FindingArns field's value.
+func (s *ListFindingsOutput) SetFindingArns(v []*string) *ListFindingsOutput {
+ s.FindingArns = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListFindingsOutput) SetNextToken(v string) *ListFindingsOutput {
+ s.NextToken = &v
+ return s
+}
+
type ListRulesPackagesInput struct {
_ struct{} `type:"structure"`
@@ -4749,6 +5793,18 @@ func (s *ListRulesPackagesInput) Validate() error {
return nil
}
+// SetMaxResults sets the MaxResults field's value.
+func (s *ListRulesPackagesInput) SetMaxResults(v int64) *ListRulesPackagesInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListRulesPackagesInput) SetNextToken(v string) *ListRulesPackagesInput {
+ s.NextToken = &v
+ return s
+}
+
type ListRulesPackagesOutput struct {
_ struct{} `type:"structure"`
@@ -4774,6 +5830,18 @@ func (s ListRulesPackagesOutput) GoString() string {
return s.String()
}
+// SetNextToken sets the NextToken field's value.
+func (s *ListRulesPackagesOutput) SetNextToken(v string) *ListRulesPackagesOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetRulesPackageArns sets the RulesPackageArns field's value.
+func (s *ListRulesPackagesOutput) SetRulesPackageArns(v []*string) *ListRulesPackagesOutput {
+ s.RulesPackageArns = v
+ return s
+}
+
type ListTagsForResourceInput struct {
_ struct{} `type:"structure"`
@@ -4809,6 +5877,12 @@ func (s *ListTagsForResourceInput) Validate() error {
return nil
}
+// SetResourceArn sets the ResourceArn field's value.
+func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput {
+ s.ResourceArn = &v
+ return s
+}
+
type ListTagsForResourceOutput struct {
_ struct{} `type:"structure"`
@@ -4828,6 +5902,12 @@ func (s ListTagsForResourceOutput) GoString() string {
return s.String()
}
+// SetTags sets the Tags field's value.
+func (s *ListTagsForResourceOutput) SetTags(v []*Tag) *ListTagsForResourceOutput {
+ s.Tags = v
+ return s
+}
+
type PreviewAgentsInput struct {
_ struct{} `type:"structure"`
@@ -4876,6 +5956,24 @@ func (s *PreviewAgentsInput) Validate() error {
return nil
}
+// SetMaxResults sets the MaxResults field's value.
+func (s *PreviewAgentsInput) SetMaxResults(v int64) *PreviewAgentsInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *PreviewAgentsInput) SetNextToken(v string) *PreviewAgentsInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetPreviewAgentsArn sets the PreviewAgentsArn field's value.
+func (s *PreviewAgentsInput) SetPreviewAgentsArn(v string) *PreviewAgentsInput {
+ s.PreviewAgentsArn = &v
+ return s
+}
+
type PreviewAgentsOutput struct {
_ struct{} `type:"structure"`
@@ -4901,6 +5999,18 @@ func (s PreviewAgentsOutput) GoString() string {
return s.String()
}
+// SetAgentPreviews sets the AgentPreviews field's value.
+func (s *PreviewAgentsOutput) SetAgentPreviews(v []*AgentPreview) *PreviewAgentsOutput {
+ s.AgentPreviews = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *PreviewAgentsOutput) SetNextToken(v string) *PreviewAgentsOutput {
+ s.NextToken = &v
+ return s
+}
+
type RegisterCrossAccountAccessRoleInput struct {
_ struct{} `type:"structure"`
@@ -4937,6 +6047,12 @@ func (s *RegisterCrossAccountAccessRoleInput) Validate() error {
return nil
}
+// SetRoleArn sets the RoleArn field's value.
+func (s *RegisterCrossAccountAccessRoleInput) SetRoleArn(v string) *RegisterCrossAccountAccessRoleInput {
+ s.RoleArn = &v
+ return s
+}
+
type RegisterCrossAccountAccessRoleOutput struct {
_ struct{} `type:"structure"`
}
@@ -4994,6 +6110,18 @@ func (s *RemoveAttributesFromFindingsInput) Validate() error {
return nil
}
+// SetAttributeKeys sets the AttributeKeys field's value.
+func (s *RemoveAttributesFromFindingsInput) SetAttributeKeys(v []*string) *RemoveAttributesFromFindingsInput {
+ s.AttributeKeys = v
+ return s
+}
+
+// SetFindingArns sets the FindingArns field's value.
+func (s *RemoveAttributesFromFindingsInput) SetFindingArns(v []*string) *RemoveAttributesFromFindingsInput {
+ s.FindingArns = v
+ return s
+}
+
type RemoveAttributesFromFindingsOutput struct {
_ struct{} `type:"structure"`
@@ -5014,6 +6142,12 @@ func (s RemoveAttributesFromFindingsOutput) GoString() string {
return s.String()
}
+// SetFailedItems sets the FailedItems field's value.
+func (s *RemoveAttributesFromFindingsOutput) SetFailedItems(v map[string]*FailedItemDetails) *RemoveAttributesFromFindingsOutput {
+ s.FailedItems = v
+ return s
+}
+
// Contains information about a resource group. The resource group defines a
// 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
@@ -5048,6 +6182,24 @@ func (s ResourceGroup) GoString() string {
return s.String()
}
+// SetArn sets the Arn field's value.
+func (s *ResourceGroup) SetArn(v string) *ResourceGroup {
+ s.Arn = &v
+ return s
+}
+
+// SetCreatedAt sets the CreatedAt field's value.
+func (s *ResourceGroup) SetCreatedAt(v time.Time) *ResourceGroup {
+ s.CreatedAt = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *ResourceGroup) SetTags(v []*ResourceGroupTag) *ResourceGroup {
+ s.Tags = v
+ return s
+}
+
// This data type is used as one of the elements of the ResourceGroup data type.
type ResourceGroupTag struct {
_ struct{} `type:"structure"`
@@ -5090,6 +6242,18 @@ func (s *ResourceGroupTag) Validate() error {
return nil
}
+// SetKey sets the Key field's value.
+func (s *ResourceGroupTag) SetKey(v string) *ResourceGroupTag {
+ s.Key = &v
+ return s
+}
+
+// SetValue sets the Value field's value.
+func (s *ResourceGroupTag) SetValue(v string) *ResourceGroupTag {
+ s.Value = &v
+ return s
+}
+
// Contains information about an Amazon Inspector rules package. This data type
// is used as the response element in the DescribeRulesPackages action.
type RulesPackage struct {
@@ -5129,6 +6293,36 @@ func (s RulesPackage) GoString() string {
return s.String()
}
+// SetArn sets the Arn field's value.
+func (s *RulesPackage) SetArn(v string) *RulesPackage {
+ s.Arn = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *RulesPackage) SetDescription(v string) *RulesPackage {
+ s.Description = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *RulesPackage) SetName(v string) *RulesPackage {
+ s.Name = &v
+ return s
+}
+
+// SetProvider sets the Provider field's value.
+func (s *RulesPackage) SetProvider(v string) *RulesPackage {
+ s.Provider = &v
+ return s
+}
+
+// SetVersion sets the Version field's value.
+func (s *RulesPackage) SetVersion(v string) *RulesPackage {
+ s.Version = &v
+ return s
+}
+
// This data type is used in the Finding data type.
type ServiceAttributes struct {
_ struct{} `type:"structure"`
@@ -5155,6 +6349,24 @@ func (s ServiceAttributes) GoString() string {
return s.String()
}
+// SetAssessmentRunArn sets the AssessmentRunArn field's value.
+func (s *ServiceAttributes) SetAssessmentRunArn(v string) *ServiceAttributes {
+ s.AssessmentRunArn = &v
+ return s
+}
+
+// SetRulesPackageArn sets the RulesPackageArn field's value.
+func (s *ServiceAttributes) SetRulesPackageArn(v string) *ServiceAttributes {
+ s.RulesPackageArn = &v
+ return s
+}
+
+// SetSchemaVersion sets the SchemaVersion field's value.
+func (s *ServiceAttributes) SetSchemaVersion(v int64) *ServiceAttributes {
+ s.SchemaVersion = &v
+ return s
+}
+
type SetTagsForResourceInput struct {
_ struct{} `type:"structure"`
@@ -5204,6 +6416,18 @@ func (s *SetTagsForResourceInput) Validate() error {
return nil
}
+// SetResourceArn sets the ResourceArn field's value.
+func (s *SetTagsForResourceInput) SetResourceArn(v string) *SetTagsForResourceInput {
+ s.ResourceArn = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *SetTagsForResourceInput) SetTags(v []*Tag) *SetTagsForResourceInput {
+ s.Tags = v
+ return s
+}
+
type SetTagsForResourceOutput struct {
_ struct{} `type:"structure"`
}
@@ -5262,6 +6486,18 @@ func (s *StartAssessmentRunInput) Validate() error {
return nil
}
+// SetAssessmentRunName sets the AssessmentRunName field's value.
+func (s *StartAssessmentRunInput) SetAssessmentRunName(v string) *StartAssessmentRunInput {
+ s.AssessmentRunName = &v
+ return s
+}
+
+// SetAssessmentTemplateArn sets the AssessmentTemplateArn field's value.
+func (s *StartAssessmentRunInput) SetAssessmentTemplateArn(v string) *StartAssessmentRunInput {
+ s.AssessmentTemplateArn = &v
+ return s
+}
+
type StartAssessmentRunOutput struct {
_ struct{} `type:"structure"`
@@ -5281,6 +6517,12 @@ func (s StartAssessmentRunOutput) GoString() string {
return s.String()
}
+// SetAssessmentRunArn sets the AssessmentRunArn field's value.
+func (s *StartAssessmentRunOutput) SetAssessmentRunArn(v string) *StartAssessmentRunOutput {
+ s.AssessmentRunArn = &v
+ return s
+}
+
type StopAssessmentRunInput struct {
_ struct{} `type:"structure"`
@@ -5316,6 +6558,12 @@ func (s *StopAssessmentRunInput) Validate() error {
return nil
}
+// SetAssessmentRunArn sets the AssessmentRunArn field's value.
+func (s *StopAssessmentRunInput) SetAssessmentRunArn(v string) *StopAssessmentRunInput {
+ s.AssessmentRunArn = &v
+ return s
+}
+
type StopAssessmentRunOutput struct {
_ struct{} `type:"structure"`
}
@@ -5385,6 +6633,24 @@ func (s *SubscribeToEventInput) Validate() error {
return nil
}
+// SetEvent sets the Event field's value.
+func (s *SubscribeToEventInput) SetEvent(v string) *SubscribeToEventInput {
+ s.Event = &v
+ return s
+}
+
+// SetResourceArn sets the ResourceArn field's value.
+func (s *SubscribeToEventInput) SetResourceArn(v string) *SubscribeToEventInput {
+ s.ResourceArn = &v
+ return s
+}
+
+// SetTopicArn sets the TopicArn field's value.
+func (s *SubscribeToEventInput) SetTopicArn(v string) *SubscribeToEventInput {
+ s.TopicArn = &v
+ return s
+}
+
type SubscribeToEventOutput struct {
_ struct{} `type:"structure"`
}
@@ -5432,6 +6698,24 @@ func (s Subscription) GoString() string {
return s.String()
}
+// SetEventSubscriptions sets the EventSubscriptions field's value.
+func (s *Subscription) SetEventSubscriptions(v []*EventSubscription) *Subscription {
+ s.EventSubscriptions = v
+ return s
+}
+
+// SetResourceArn sets the ResourceArn field's value.
+func (s *Subscription) SetResourceArn(v string) *Subscription {
+ s.ResourceArn = &v
+ return s
+}
+
+// SetTopicArn sets the TopicArn field's value.
+func (s *Subscription) SetTopicArn(v string) *Subscription {
+ s.TopicArn = &v
+ return s
+}
+
// 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.
@@ -5476,6 +6760,18 @@ func (s *Tag) Validate() error {
return nil
}
+// 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
+}
+
// 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.
@@ -5506,6 +6802,24 @@ func (s TelemetryMetadata) GoString() string {
return s.String()
}
+// SetCount sets the Count field's value.
+func (s *TelemetryMetadata) SetCount(v int64) *TelemetryMetadata {
+ s.Count = &v
+ return s
+}
+
+// SetDataSize sets the DataSize field's value.
+func (s *TelemetryMetadata) SetDataSize(v int64) *TelemetryMetadata {
+ s.DataSize = &v
+ return s
+}
+
+// SetMessageType sets the MessageType field's value.
+func (s *TelemetryMetadata) SetMessageType(v string) *TelemetryMetadata {
+ s.MessageType = &v
+ return s
+}
+
// This data type is used in the AssessmentRunFilter data type.
type TimestampRange struct {
_ struct{} `type:"structure"`
@@ -5527,6 +6841,18 @@ func (s TimestampRange) GoString() string {
return s.String()
}
+// SetBeginDate sets the BeginDate field's value.
+func (s *TimestampRange) SetBeginDate(v time.Time) *TimestampRange {
+ s.BeginDate = &v
+ return s
+}
+
+// SetEndDate sets the EndDate field's value.
+func (s *TimestampRange) SetEndDate(v time.Time) *TimestampRange {
+ s.EndDate = &v
+ return s
+}
+
type UnsubscribeFromEventInput struct {
_ struct{} `type:"structure"`
@@ -5582,6 +6908,24 @@ func (s *UnsubscribeFromEventInput) Validate() error {
return nil
}
+// SetEvent sets the Event field's value.
+func (s *UnsubscribeFromEventInput) SetEvent(v string) *UnsubscribeFromEventInput {
+ s.Event = &v
+ return s
+}
+
+// SetResourceArn sets the ResourceArn field's value.
+func (s *UnsubscribeFromEventInput) SetResourceArn(v string) *UnsubscribeFromEventInput {
+ s.ResourceArn = &v
+ return s
+}
+
+// SetTopicArn sets the TopicArn field's value.
+func (s *UnsubscribeFromEventInput) SetTopicArn(v string) *UnsubscribeFromEventInput {
+ s.TopicArn = &v
+ return s
+}
+
type UnsubscribeFromEventOutput struct {
_ struct{} `type:"structure"`
}
@@ -5654,6 +6998,24 @@ func (s *UpdateAssessmentTargetInput) Validate() error {
return nil
}
+// SetAssessmentTargetArn sets the AssessmentTargetArn field's value.
+func (s *UpdateAssessmentTargetInput) SetAssessmentTargetArn(v string) *UpdateAssessmentTargetInput {
+ s.AssessmentTargetArn = &v
+ return s
+}
+
+// SetAssessmentTargetName sets the AssessmentTargetName field's value.
+func (s *UpdateAssessmentTargetInput) SetAssessmentTargetName(v string) *UpdateAssessmentTargetInput {
+ s.AssessmentTargetName = &v
+ return s
+}
+
+// SetResourceGroupArn sets the ResourceGroupArn field's value.
+func (s *UpdateAssessmentTargetInput) SetResourceGroupArn(v string) *UpdateAssessmentTargetInput {
+ s.ResourceGroupArn = &v
+ return s
+}
+
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 d62ed1b..4ae4cf3 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
@@ -4710,6 +4710,18 @@ func (s *AcceptCertificateTransferInput) Validate() error {
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"`
}
@@ -4847,6 +4859,78 @@ func (s *Action) Validate() error {
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
+}
+
+// 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
+}
+
// The input for the AttachPrincipalPolicy operation.
type AttachPrincipalPolicyInput struct {
_ struct{} `type:"structure"`
@@ -4892,6 +4976,18 @@ func (s *AttachPrincipalPolicyInput) Validate() error {
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"`
}
@@ -4950,6 +5046,18 @@ func (s *AttachThingPrincipalInput) Validate() error {
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"`
@@ -4994,6 +5102,18 @@ 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 CA certificate.
type CACertificate struct {
_ struct{} `type:"structure"`
@@ -5023,6 +5143,30 @@ 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"`
@@ -5060,6 +5204,48 @@ 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"`
@@ -5096,6 +5282,12 @@ func (s *CancelCertificateTransferInput) Validate() error {
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"`
}
@@ -5139,6 +5331,30 @@ 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"`
@@ -5184,6 +5400,66 @@ 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
+}
+
// Describes an action that updates a CloudWatch alarm.
type CloudwatchAlarmAction struct {
_ struct{} `type:"structure"`
@@ -5241,6 +5517,30 @@ func (s *CloudwatchAlarmAction) Validate() error {
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"`
@@ -5310,6 +5610,42 @@ 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
+ 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
+}
+
// The input for the CreateCertificateFromCsr operation.
type CreateCertificateFromCsrInput struct {
_ struct{} `type:"structure"`
@@ -5349,6 +5685,18 @@ 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
+ return s
+}
+
// The output from the CreateCertificateFromCsr operation.
type CreateCertificateFromCsrOutput struct {
_ struct{} `type:"structure"`
@@ -5375,6 +5723,24 @@ 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
+}
+
// The input for the CreateKeysAndCertificate operation.
type CreateKeysAndCertificateInput struct {
_ struct{} `type:"structure"`
@@ -5393,6 +5759,12 @@ 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"`
@@ -5421,6 +5793,30 @@ 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"`
@@ -5466,6 +5862,18 @@ func (s *CreatePolicyInput) Validate() error {
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"`
@@ -5493,6 +5901,30 @@ 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"`
@@ -5543,6 +5975,24 @@ func (s *CreatePolicyVersionInput) Validate() error {
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"`
@@ -5570,6 +6020,30 @@ 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
+}
+
// The input for the CreateThing operation.
type CreateThingInput struct {
_ struct{} `type:"structure"`
@@ -5618,6 +6092,24 @@ func (s *CreateThingInput) Validate() error {
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"`
@@ -5639,6 +6131,18 @@ 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
+}
+
+// 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"`
@@ -5680,6 +6184,18 @@ func (s *CreateThingTypeInput) Validate() error {
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"`
@@ -5701,6 +6217,18 @@ 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
+}
+
+// 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"`
@@ -5750,6 +6278,18 @@ func (s *CreateTopicRuleInput) Validate() error {
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"`
}
@@ -5800,6 +6340,12 @@ func (s *DeleteCACertificateInput) Validate() error {
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"`
@@ -5851,6 +6397,12 @@ func (s *DeleteCertificateInput) Validate() error {
return nil
}
+// SetCertificateId sets the CertificateId field's value.
+func (s *DeleteCertificateInput) SetCertificateId(v string) *DeleteCertificateInput {
+ s.CertificateId = &v
+ return s
+}
+
type DeleteCertificateOutput struct {
_ struct{} `type:"structure"`
}
@@ -5901,6 +6453,12 @@ func (s *DeletePolicyInput) Validate() error {
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"`
}
@@ -5959,6 +6517,18 @@ func (s *DeletePolicyVersionInput) Validate() error {
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"`
}
@@ -6044,6 +6614,18 @@ func (s *DeleteThingInput) Validate() error {
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"`
@@ -6095,6 +6677,12 @@ func (s *DeleteThingTypeInput) Validate() error {
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"`
@@ -6146,6 +6734,12 @@ func (s *DeleteTopicRuleInput) Validate() error {
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"`
}
@@ -6200,6 +6794,18 @@ 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
+ return s
+}
+
// The output for the DeprecateThingType operation.
type DeprecateThingTypeOutput struct {
_ struct{} `type:"structure"`
@@ -6251,6 +6857,12 @@ func (s *DescribeCACertificateInput) Validate() error {
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"`
@@ -6269,6 +6881,12 @@ 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
+}
+
// The input for the DescribeCertificate operation.
type DescribeCertificateInput struct {
_ struct{} `type:"structure"`
@@ -6305,6 +6923,12 @@ func (s *DescribeCertificateInput) Validate() error {
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"`
@@ -6323,6 +6947,12 @@ 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
+}
+
// The input for the DescribeEndpoint operation.
type DescribeEndpointInput struct {
_ struct{} `type:"structure"`
@@ -6356,6 +6986,12 @@ 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
+}
+
// The input for the DescribeThing operation.
type DescribeThingInput struct {
_ struct{} `type:"structure"`
@@ -6392,6 +7028,12 @@ func (s *DescribeThingInput) Validate() error {
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"`
@@ -6426,6 +7068,36 @@ 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
+}
+
+// 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
+}
+
// The input for the DescribeThingType operation.
type DescribeThingTypeInput struct {
_ struct{} `type:"structure"`
@@ -6462,6 +7134,12 @@ func (s *DescribeThingTypeInput) Validate() error {
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"`
@@ -6489,6 +7167,24 @@ func (s DescribeThingTypeOutput) 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
+ return s
+}
+
+// SetThingTypeProperties sets the ThingTypeProperties field's value.
+func (s *DescribeThingTypeOutput) SetThingTypeProperties(v *ThingTypeProperties) *DescribeThingTypeOutput {
+ s.ThingTypeProperties = v
+ return s
+}
+
// The input for the DetachPrincipalPolicy operation.
type DetachPrincipalPolicyInput struct {
_ struct{} `type:"structure"`
@@ -6536,6 +7232,18 @@ func (s *DetachPrincipalPolicyInput) Validate() error {
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"`
}
@@ -6596,6 +7304,18 @@ func (s *DetachThingPrincipalInput) Validate() error {
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"`
@@ -6647,6 +7367,12 @@ func (s *DisableTopicRuleInput) Validate() error {
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"`
}
@@ -6754,20 +7480,80 @@ func (s *DynamoDBAction) Validate() error {
return nil
}
-// 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"`
+// SetHashKeyField sets the HashKeyField field's value.
+func (s *DynamoDBAction) SetHashKeyField(v string) *DynamoDBAction {
+ s.HashKeyField = &v
+ return s
+}
- // 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
+// 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"`
@@ -6800,6 +7586,18 @@ func (s *DynamoDBv2Action) Validate() error {
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
+}
+
// Describes an action that writes data to an Amazon Elasticsearch Service domain.
type ElasticsearchAction struct {
_ struct{} `type:"structure"`
@@ -6865,6 +7663,36 @@ func (s *ElasticsearchAction) Validate() error {
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"`
@@ -6901,6 +7729,12 @@ func (s *EnableTopicRuleInput) Validate() error {
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"`
}
@@ -6961,6 +7795,24 @@ func (s *FirehoseAction) Validate() error {
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
+}
+
// The input for the GetLoggingOptions operation.
type GetLoggingOptionsInput struct {
_ struct{} `type:"structure"`
@@ -6997,6 +7849,18 @@ 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"`
@@ -7033,6 +7897,12 @@ func (s *GetPolicyInput) Validate() error {
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"`
@@ -7060,6 +7930,30 @@ 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"`
@@ -7104,6 +7998,18 @@ func (s *GetPolicyVersionInput) Validate() error {
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"`
@@ -7134,6 +8040,36 @@ 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"`
@@ -7167,6 +8103,12 @@ 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"`
@@ -7203,6 +8145,12 @@ func (s *GetTopicRuleInput) Validate() error {
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"`
@@ -7224,6 +8172,18 @@ func (s GetTopicRuleOutput) GoString() string {
return s.String()
}
+// SetRule sets the Rule field's value.
+func (s *GetTopicRuleOutput) SetRule(v *TopicRule) *GetTopicRuleOutput {
+ s.Rule = v
+ return s
+}
+
+// SetRuleArn sets the RuleArn field's value.
+func (s *GetTopicRuleOutput) SetRuleArn(v string) *GetTopicRuleOutput {
+ s.RuleArn = &v
+ return s
+}
+
// Describes a key pair.
type KeyPair struct {
_ struct{} `type:"structure"`
@@ -7245,6 +8205,18 @@ func (s KeyPair) GoString() string {
return s.String()
}
+// SetPrivateKey sets the PrivateKey field's value.
+func (s *KeyPair) SetPrivateKey(v string) *KeyPair {
+ s.PrivateKey = &v
+ return s
+}
+
+// SetPublicKey sets the PublicKey field's value.
+func (s *KeyPair) SetPublicKey(v string) *KeyPair {
+ s.PublicKey = &v
+ return s
+}
+
// Describes an action to write data to an Amazon Kinesis stream.
type KinesisAction struct {
_ struct{} `type:"structure"`
@@ -7289,6 +8261,24 @@ func (s *KinesisAction) Validate() error {
return nil
}
+// SetPartitionKey sets the PartitionKey field's value.
+func (s *KinesisAction) SetPartitionKey(v string) *KinesisAction {
+ s.PartitionKey = &v
+ return s
+}
+
+// SetRoleArn sets the RoleArn field's value.
+func (s *KinesisAction) SetRoleArn(v string) *KinesisAction {
+ 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 {
_ struct{} `type:"structure"`
@@ -7322,6 +8312,12 @@ func (s *LambdaAction) Validate() error {
return nil
}
+// SetFunctionArn sets the FunctionArn field's value.
+func (s *LambdaAction) SetFunctionArn(v string) *LambdaAction {
+ s.FunctionArn = &v
+ return s
+}
+
// Input for the ListCACertificates operation.
type ListCACertificatesInput struct {
_ struct{} `type:"structure"`
@@ -7359,6 +8355,24 @@ func (s *ListCACertificatesInput) Validate() error {
return nil
}
+// SetAscendingOrder sets the AscendingOrder field's value.
+func (s *ListCACertificatesInput) SetAscendingOrder(v bool) *ListCACertificatesInput {
+ s.AscendingOrder = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *ListCACertificatesInput) SetMarker(v string) *ListCACertificatesInput {
+ s.Marker = &v
+ return s
+}
+
+// SetPageSize sets the PageSize field's value.
+func (s *ListCACertificatesInput) SetPageSize(v int64) *ListCACertificatesInput {
+ s.PageSize = &v
+ return s
+}
+
// The output from the ListCACertificates operation.
type ListCACertificatesOutput struct {
_ struct{} `type:"structure"`
@@ -7380,6 +8394,18 @@ func (s ListCACertificatesOutput) GoString() string {
return s.String()
}
+// SetCertificates sets the Certificates field's value.
+func (s *ListCACertificatesOutput) SetCertificates(v []*CACertificate) *ListCACertificatesOutput {
+ s.Certificates = v
+ return s
+}
+
+// SetNextMarker sets the NextMarker field's value.
+func (s *ListCACertificatesOutput) SetNextMarker(v string) *ListCACertificatesOutput {
+ s.NextMarker = &v
+ return s
+}
+
// The input to the ListCertificatesByCA operation.
type ListCertificatesByCAInput struct {
_ struct{} `type:"structure"`
@@ -7430,6 +8456,30 @@ func (s *ListCertificatesByCAInput) Validate() error {
return nil
}
+// SetAscendingOrder sets the AscendingOrder field's value.
+func (s *ListCertificatesByCAInput) SetAscendingOrder(v bool) *ListCertificatesByCAInput {
+ s.AscendingOrder = &v
+ return s
+}
+
+// SetCaCertificateId sets the CaCertificateId field's value.
+func (s *ListCertificatesByCAInput) SetCaCertificateId(v string) *ListCertificatesByCAInput {
+ s.CaCertificateId = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *ListCertificatesByCAInput) SetMarker(v string) *ListCertificatesByCAInput {
+ s.Marker = &v
+ return s
+}
+
+// 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"`
@@ -7452,6 +8502,18 @@ func (s ListCertificatesByCAOutput) GoString() string {
return s.String()
}
+// SetCertificates sets the Certificates field's value.
+func (s *ListCertificatesByCAOutput) SetCertificates(v []*Certificate) *ListCertificatesByCAOutput {
+ s.Certificates = v
+ return s
+}
+
+// SetNextMarker sets the NextMarker field's value.
+func (s *ListCertificatesByCAOutput) SetNextMarker(v string) *ListCertificatesByCAOutput {
+ s.NextMarker = &v
+ return s
+}
+
// The input for the ListCertificates operation.
type ListCertificatesInput struct {
_ struct{} `type:"structure"`
@@ -7490,6 +8552,24 @@ 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
+ return s
+}
+
+// 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"`
@@ -7512,6 +8592,18 @@ func (s ListCertificatesOutput) GoString() string {
return s.String()
}
+// SetCertificates sets the Certificates field's value.
+func (s *ListCertificatesOutput) SetCertificates(v []*Certificate) *ListCertificatesOutput {
+ s.Certificates = v
+ return s
+}
+
+// SetNextMarker sets the NextMarker field's value.
+func (s *ListCertificatesOutput) SetNextMarker(v string) *ListCertificatesOutput {
+ s.NextMarker = &v
+ return s
+}
+
// The input to the ListOutgoingCertificates operation.
type ListOutgoingCertificatesInput struct {
_ struct{} `type:"structure"`
@@ -7550,6 +8642,24 @@ 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
+ return s
+}
+
+// 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"`
@@ -7571,6 +8681,18 @@ func (s ListOutgoingCertificatesOutput) GoString() string {
return s.String()
}
+// 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"`
@@ -7609,6 +8731,24 @@ func (s *ListPoliciesInput) Validate() error {
return nil
}
+// SetAscendingOrder sets the AscendingOrder field's value.
+func (s *ListPoliciesInput) SetAscendingOrder(v bool) *ListPoliciesInput {
+ s.AscendingOrder = &v
+ return s
+}
+
+// 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"`
@@ -7631,6 +8771,18 @@ 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"`
@@ -7680,6 +8832,30 @@ func (s *ListPolicyPrincipalsInput) Validate() error {
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
+}
+
+// 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"`
@@ -7702,6 +8878,18 @@ func (s ListPolicyPrincipalsOutput) 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 {
_ struct{} `type:"structure"`
@@ -7738,6 +8926,12 @@ func (s *ListPolicyVersionsInput) Validate() error {
return nil
}
+// SetPolicyName sets the PolicyName field's value.
+func (s *ListPolicyVersionsInput) SetPolicyName(v string) *ListPolicyVersionsInput {
+ s.PolicyName = &v
+ return s
+}
+
// The output from the ListPolicyVersions operation.
type ListPolicyVersionsOutput struct {
_ struct{} `type:"structure"`
@@ -7756,6 +8950,12 @@ func (s ListPolicyVersionsOutput) GoString() string {
return s.String()
}
+// 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"`
@@ -7802,6 +9002,30 @@ func (s *ListPrincipalPoliciesInput) Validate() error {
return nil
}
+// SetAscendingOrder sets the AscendingOrder field's value.
+func (s *ListPrincipalPoliciesInput) SetAscendingOrder(v bool) *ListPrincipalPoliciesInput {
+ s.AscendingOrder = &v
+ return s
+}
+
+// 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"`
@@ -7824,6 +9048,18 @@ func (s ListPrincipalPoliciesOutput) GoString() string {
return s.String()
}
+// SetNextMarker sets the NextMarker field's value.
+func (s *ListPrincipalPoliciesOutput) SetNextMarker(v string) *ListPrincipalPoliciesOutput {
+ s.NextMarker = &v
+ return s
+}
+
+// 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"`
@@ -7867,6 +9103,24 @@ func (s *ListPrincipalThingsInput) Validate() error {
return nil
}
+// SetMaxResults sets the MaxResults field's value.
+func (s *ListPrincipalThingsInput) SetMaxResults(v int64) *ListPrincipalThingsInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListPrincipalThingsInput) SetNextToken(v string) *ListPrincipalThingsInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetPrincipal sets the Principal field's value.
+func (s *ListPrincipalThingsInput) SetPrincipal(v string) *ListPrincipalThingsInput {
+ s.Principal = &v
+ return s
+}
+
// The output from the ListPrincipalThings operation.
type ListPrincipalThingsOutput struct {
_ struct{} `type:"structure"`
@@ -7889,6 +9143,18 @@ func (s ListPrincipalThingsOutput) GoString() string {
return s.String()
}
+// SetNextToken sets the NextToken field's value.
+func (s *ListPrincipalThingsOutput) SetNextToken(v string) *ListPrincipalThingsOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetThings sets the Things field's value.
+func (s *ListPrincipalThingsOutput) SetThings(v []*string) *ListPrincipalThingsOutput {
+ s.Things = v
+ return s
+}
+
// The input for the ListThingPrincipal operation.
type ListThingPrincipalsInput struct {
_ struct{} `type:"structure"`
@@ -7925,6 +9191,12 @@ func (s *ListThingPrincipalsInput) Validate() error {
return nil
}
+// SetThingName sets the ThingName field's value.
+func (s *ListThingPrincipalsInput) SetThingName(v string) *ListThingPrincipalsInput {
+ s.ThingName = &v
+ return s
+}
+
// The output from the ListThingPrincipals operation.
type ListThingPrincipalsOutput struct {
_ struct{} `type:"structure"`
@@ -7943,6 +9215,12 @@ func (s ListThingPrincipalsOutput) GoString() string {
return s.String()
}
+// SetPrincipals sets the Principals field's value.
+func (s *ListThingPrincipalsOutput) SetPrincipals(v []*string) *ListThingPrincipalsOutput {
+ s.Principals = v
+ return s
+}
+
// The input for the ListThingTypes operation.
type ListThingTypesInput struct {
_ struct{} `type:"structure"`
@@ -7984,6 +9262,24 @@ 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
+ return s
+}
+
+// SetThingTypeName sets the ThingTypeName field's value.
+func (s *ListThingTypesInput) SetThingTypeName(v string) *ListThingTypesInput {
+ s.ThingTypeName = &v
+ return s
+}
+
// The output for the ListThingTypes operation.
type ListThingTypesOutput struct {
_ struct{} `type:"structure"`
@@ -8006,6 +9302,18 @@ 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
+}
+
+// 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"`
@@ -8053,6 +9361,36 @@ 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
+ return s
+}
+
// The output from the ListThings operation.
type ListThingsOutput struct {
_ struct{} `type:"structure"`
@@ -8075,6 +9413,18 @@ func (s ListThingsOutput) 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 {
_ struct{} `type:"structure"`
@@ -8115,6 +9465,30 @@ func (s *ListTopicRulesInput) Validate() error {
return nil
}
+// SetMaxResults sets the MaxResults field's value.
+func (s *ListTopicRulesInput) SetMaxResults(v int64) *ListTopicRulesInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListTopicRulesInput) SetNextToken(v string) *ListTopicRulesInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetRuleDisabled sets the RuleDisabled field's value.
+func (s *ListTopicRulesInput) SetRuleDisabled(v bool) *ListTopicRulesInput {
+ s.RuleDisabled = &v
+ return s
+}
+
+// SetTopic sets the Topic field's value.
+func (s *ListTopicRulesInput) SetTopic(v string) *ListTopicRulesInput {
+ s.Topic = &v
+ return s
+}
+
// The output from the ListTopicRules operation.
type ListTopicRulesOutput struct {
_ struct{} `type:"structure"`
@@ -8136,6 +9510,18 @@ func (s ListTopicRulesOutput) GoString() string {
return s.String()
}
+// SetNextToken sets the NextToken field's value.
+func (s *ListTopicRulesOutput) SetNextToken(v string) *ListTopicRulesOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetRules sets the Rules field's value.
+func (s *ListTopicRulesOutput) SetRules(v []*TopicRuleListItem) *ListTopicRulesOutput {
+ s.Rules = v
+ return s
+}
+
// Describes the logging options payload.
type LoggingOptionsPayload struct {
_ struct{} `type:"structure"`
@@ -8172,6 +9558,18 @@ func (s *LoggingOptionsPayload) Validate() error {
return nil
}
+// SetLogLevel sets the LogLevel field's value.
+func (s *LoggingOptionsPayload) SetLogLevel(v string) *LoggingOptionsPayload {
+ s.LogLevel = &v
+ return s
+}
+
+// SetRoleArn sets the RoleArn field's value.
+func (s *LoggingOptionsPayload) SetRoleArn(v string) *LoggingOptionsPayload {
+ s.RoleArn = &v
+ return s
+}
+
// A certificate that has been transfered but not yet accepted.
type OutgoingCertificate struct {
_ struct{} `type:"structure"`
@@ -8205,6 +9603,42 @@ func (s OutgoingCertificate) 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
+}
+
+// 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"`
@@ -8226,6 +9660,18 @@ func (s Policy) GoString() string {
return s.String()
}
+// SetPolicyArn sets the PolicyArn field's value.
+func (s *Policy) SetPolicyArn(v string) *Policy {
+ s.PolicyArn = &v
+ return s
+}
+
+// SetPolicyName sets the PolicyName field's value.
+func (s *Policy) SetPolicyName(v string) *Policy {
+ s.PolicyName = &v
+ return s
+}
+
// Describes a policy version.
type PolicyVersion struct {
_ struct{} `type:"structure"`
@@ -8250,6 +9696,24 @@ 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
+}
+
// The input for the DynamoActionVS action that specifies the DynamoDB table
// to which the message data will be written.
type PutItemInput struct {
@@ -8284,6 +9748,12 @@ func (s *PutItemInput) Validate() error {
return nil
}
+// SetTableName sets the TableName field's value.
+func (s *PutItemInput) SetTableName(v string) *PutItemInput {
+ s.TableName = &v
+ return s
+}
+
// The input to the RegisterCACertificate operation.
type RegisterCACertificateInput struct {
_ struct{} `type:"structure"`
@@ -8337,6 +9807,30 @@ func (s *RegisterCACertificateInput) Validate() error {
return nil
}
+// SetAllowAutoRegistration sets the AllowAutoRegistration field's value.
+func (s *RegisterCACertificateInput) SetAllowAutoRegistration(v bool) *RegisterCACertificateInput {
+ s.AllowAutoRegistration = &v
+ return s
+}
+
+// SetCaCertificate sets the CaCertificate field's value.
+func (s *RegisterCACertificateInput) SetCaCertificate(v string) *RegisterCACertificateInput {
+ s.CaCertificate = &v
+ return s
+}
+
+// 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"`
@@ -8358,6 +9852,18 @@ func (s RegisterCACertificateOutput) 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
+ return s
+}
+
// The input to the RegisterCertificate operation.
type RegisterCertificateInput struct {
_ struct{} `type:"structure"`
@@ -8405,6 +9911,30 @@ 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
+ return s
+}
+
+// SetSetAsActive sets the SetAsActive field's value.
+func (s *RegisterCertificateInput) SetSetAsActive(v bool) *RegisterCertificateInput {
+ s.SetAsActive = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *RegisterCertificateInput) SetStatus(v string) *RegisterCertificateInput {
+ s.Status = &v
+ return s
+}
+
// The output from the RegisterCertificate operation.
type RegisterCertificateOutput struct {
_ struct{} `type:"structure"`
@@ -8426,6 +9956,18 @@ func (s RegisterCertificateOutput) GoString() string {
return s.String()
}
+// SetCertificateArn sets the CertificateArn field's value.
+func (s *RegisterCertificateOutput) SetCertificateArn(v string) *RegisterCertificateOutput {
+ s.CertificateArn = &v
+ return s
+}
+
+// SetCertificateId sets the CertificateId field's value.
+func (s *RegisterCertificateOutput) SetCertificateId(v string) *RegisterCertificateOutput {
+ s.CertificateId = &v
+ return s
+}
+
// The input for the RejectCertificateTransfer operation.
type RejectCertificateTransferInput struct {
_ struct{} `type:"structure"`
@@ -8465,6 +10007,18 @@ func (s *RejectCertificateTransferInput) Validate() error {
return nil
}
+// SetCertificateId sets the CertificateId field's value.
+func (s *RejectCertificateTransferInput) SetCertificateId(v string) *RejectCertificateTransferInput {
+ s.CertificateId = &v
+ return s
+}
+
+// SetRejectReason sets the RejectReason field's value.
+func (s *RejectCertificateTransferInput) SetRejectReason(v string) *RejectCertificateTransferInput {
+ s.RejectReason = &v
+ return s
+}
+
type RejectCertificateTransferOutput struct {
_ struct{} `type:"structure"`
}
@@ -8528,6 +10082,18 @@ func (s *ReplaceTopicRuleInput) Validate() error {
return nil
}
+// SetRuleName sets the RuleName field's value.
+func (s *ReplaceTopicRuleInput) SetRuleName(v string) *ReplaceTopicRuleInput {
+ s.RuleName = &v
+ return s
+}
+
+// SetTopicRulePayload sets the TopicRulePayload field's value.
+func (s *ReplaceTopicRuleInput) SetTopicRulePayload(v *TopicRulePayload) *ReplaceTopicRuleInput {
+ s.TopicRulePayload = v
+ return s
+}
+
type ReplaceTopicRuleOutput struct {
_ struct{} `type:"structure"`
}
@@ -8583,6 +10149,18 @@ func (s *RepublishAction) Validate() error {
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
+ return s
+}
+
// Describes an action to write data to an Amazon S3 bucket.
type S3Action struct {
_ struct{} `type:"structure"`
@@ -8636,6 +10214,30 @@ func (s *S3Action) Validate() error {
return nil
}
+// SetBucketName sets the BucketName field's value.
+func (s *S3Action) SetBucketName(v string) *S3Action {
+ s.BucketName = &v
+ return s
+}
+
+// SetCannedAcl sets the CannedAcl field's value.
+func (s *S3Action) SetCannedAcl(v string) *S3Action {
+ s.CannedAcl = &v
+ return s
+}
+
+// SetKey sets the Key field's value.
+func (s *S3Action) SetKey(v string) *S3Action {
+ s.Key = &v
+ return s
+}
+
+// SetRoleArn sets the RoleArn field's value.
+func (s *S3Action) SetRoleArn(v string) *S3Action {
+ s.RoleArn = &v
+ return s
+}
+
// The input for the SetDefaultPolicyVersion operation.
type SetDefaultPolicyVersionInput struct {
_ struct{} `type:"structure"`
@@ -8680,6 +10282,18 @@ func (s *SetDefaultPolicyVersionInput) Validate() error {
return nil
}
+// SetPolicyName sets the PolicyName field's value.
+func (s *SetDefaultPolicyVersionInput) SetPolicyName(v string) *SetDefaultPolicyVersionInput {
+ s.PolicyName = &v
+ return s
+}
+
+// SetPolicyVersionId sets the PolicyVersionId field's value.
+func (s *SetDefaultPolicyVersionInput) SetPolicyVersionId(v string) *SetDefaultPolicyVersionInput {
+ s.PolicyVersionId = &v
+ return s
+}
+
type SetDefaultPolicyVersionOutput struct {
_ struct{} `type:"structure"`
}
@@ -8732,6 +10346,12 @@ func (s *SetLoggingOptionsInput) Validate() error {
return nil
}
+// SetLoggingOptionsPayload sets the LoggingOptionsPayload field's value.
+func (s *SetLoggingOptionsInput) SetLoggingOptionsPayload(v *LoggingOptionsPayload) *SetLoggingOptionsInput {
+ s.LoggingOptionsPayload = v
+ return s
+}
+
type SetLoggingOptionsOutput struct {
_ struct{} `type:"structure"`
}
@@ -8794,6 +10414,24 @@ func (s *SnsAction) Validate() error {
return nil
}
+// 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 *SnsAction) SetRoleArn(v string) *SnsAction {
+ s.RoleArn = &v
+ return s
+}
+
+// SetTargetArn sets the TargetArn field's value.
+func (s *SnsAction) SetTargetArn(v string) *SnsAction {
+ s.TargetArn = &v
+ return s
+}
+
// Describes an action to publish data to an Amazon SQS queue.
type SqsAction struct {
_ struct{} `type:"structure"`
@@ -8838,6 +10476,24 @@ func (s *SqsAction) Validate() error {
return nil
}
+// SetQueueUrl sets the QueueUrl field's value.
+func (s *SqsAction) SetQueueUrl(v string) *SqsAction {
+ s.QueueUrl = &v
+ return s
+}
+
+// SetRoleArn sets the RoleArn field's value.
+func (s *SqsAction) SetRoleArn(v string) *SqsAction {
+ s.RoleArn = &v
+ return s
+}
+
+// SetUseBase64 sets the UseBase64 field's value.
+func (s *SqsAction) SetUseBase64(v bool) *SqsAction {
+ s.UseBase64 = &v
+ return s
+}
+
// The properties of the thing, including thing name, thing type name, and a
// list of thing attributes.
type ThingAttribute struct {
@@ -8866,6 +10522,30 @@ func (s ThingAttribute) 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
+}
+
+// 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 definition of the thing type, including thing type name and description.
type ThingTypeDefinition struct {
_ struct{} `type:"structure"`
@@ -8892,6 +10572,24 @@ func (s ThingTypeDefinition) GoString() string {
return s.String()
}
+// SetThingTypeMetadata sets the ThingTypeMetadata field's value.
+func (s *ThingTypeDefinition) SetThingTypeMetadata(v *ThingTypeMetadata) *ThingTypeDefinition {
+ s.ThingTypeMetadata = v
+ return s
+}
+
+// SetThingTypeName sets the ThingTypeName field's value.
+func (s *ThingTypeDefinition) SetThingTypeName(v string) *ThingTypeDefinition {
+ s.ThingTypeName = &v
+ return s
+}
+
+// SetThingTypeProperties sets the ThingTypeProperties field's value.
+func (s *ThingTypeDefinition) SetThingTypeProperties(v *ThingTypeProperties) *ThingTypeDefinition {
+ s.ThingTypeProperties = 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 time was deprecated.
@@ -8919,6 +10617,24 @@ func (s ThingTypeMetadata) GoString() string {
return s.String()
}
+// SetCreationDate sets the CreationDate field's value.
+func (s *ThingTypeMetadata) SetCreationDate(v time.Time) *ThingTypeMetadata {
+ s.CreationDate = &v
+ return s
+}
+
+// SetDeprecated sets the Deprecated field's value.
+func (s *ThingTypeMetadata) SetDeprecated(v bool) *ThingTypeMetadata {
+ s.Deprecated = &v
+ return s
+}
+
+// SetDeprecationDate sets the DeprecationDate field's value.
+func (s *ThingTypeMetadata) SetDeprecationDate(v time.Time) *ThingTypeMetadata {
+ s.DeprecationDate = &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 {
@@ -8941,6 +10657,18 @@ 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
+ return s
+}
+
+// SetThingTypeDescription sets the ThingTypeDescription field's value.
+func (s *ThingTypeProperties) SetThingTypeDescription(v string) *ThingTypeProperties {
+ s.ThingTypeDescription = &v
+ return s
+}
+
// Describes a rule.
type TopicRule struct {
_ struct{} `type:"structure"`
@@ -8978,6 +10706,48 @@ func (s TopicRule) GoString() string {
return s.String()
}
+// SetActions sets the Actions field's value.
+func (s *TopicRule) SetActions(v []*Action) *TopicRule {
+ s.Actions = v
+ return s
+}
+
+// SetAwsIotSqlVersion sets the AwsIotSqlVersion field's value.
+func (s *TopicRule) SetAwsIotSqlVersion(v string) *TopicRule {
+ s.AwsIotSqlVersion = &v
+ return s
+}
+
+// SetCreatedAt sets the CreatedAt field's value.
+func (s *TopicRule) SetCreatedAt(v time.Time) *TopicRule {
+ s.CreatedAt = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *TopicRule) SetDescription(v string) *TopicRule {
+ s.Description = &v
+ return s
+}
+
+// SetRuleDisabled sets the RuleDisabled field's value.
+func (s *TopicRule) SetRuleDisabled(v bool) *TopicRule {
+ s.RuleDisabled = &v
+ return s
+}
+
+// SetRuleName sets the RuleName field's value.
+func (s *TopicRule) SetRuleName(v string) *TopicRule {
+ s.RuleName = &v
+ return s
+}
+
+// SetSql sets the Sql field's value.
+func (s *TopicRule) SetSql(v string) *TopicRule {
+ s.Sql = &v
+ return s
+}
+
// Describes a rule.
type TopicRuleListItem struct {
_ struct{} `type:"structure"`
@@ -9008,6 +10778,36 @@ func (s TopicRuleListItem) 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
+ return s
+}
+
+// SetTopicPattern sets the TopicPattern field's value.
+func (s *TopicRuleListItem) SetTopicPattern(v string) *TopicRuleListItem {
+ s.TopicPattern = &v
+ return s
+}
+
// Describes a rule.
type TopicRulePayload struct {
_ struct{} `type:"structure"`
@@ -9070,6 +10870,36 @@ func (s *TopicRulePayload) Validate() error {
return nil
}
+// SetActions sets the Actions field's value.
+func (s *TopicRulePayload) SetActions(v []*Action) *TopicRulePayload {
+ s.Actions = v
+ return s
+}
+
+// SetAwsIotSqlVersion sets the AwsIotSqlVersion field's value.
+func (s *TopicRulePayload) SetAwsIotSqlVersion(v string) *TopicRulePayload {
+ s.AwsIotSqlVersion = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *TopicRulePayload) SetDescription(v string) *TopicRulePayload {
+ s.Description = &v
+ return s
+}
+
+// SetRuleDisabled sets the RuleDisabled field's value.
+func (s *TopicRulePayload) SetRuleDisabled(v bool) *TopicRulePayload {
+ s.RuleDisabled = &v
+ return s
+}
+
+// SetSql sets the Sql field's value.
+func (s *TopicRulePayload) SetSql(v string) *TopicRulePayload {
+ s.Sql = &v
+ return s
+}
+
// The input for the TransferCertificate operation.
type TransferCertificateInput struct {
_ struct{} `type:"structure"`
@@ -9117,6 +10947,24 @@ func (s *TransferCertificateInput) Validate() error {
return nil
}
+// SetCertificateId sets the CertificateId field's value.
+func (s *TransferCertificateInput) SetCertificateId(v string) *TransferCertificateInput {
+ s.CertificateId = &v
+ return s
+}
+
+// SetTargetAwsAccount sets the TargetAwsAccount field's value.
+func (s *TransferCertificateInput) SetTargetAwsAccount(v string) *TransferCertificateInput {
+ s.TargetAwsAccount = &v
+ return s
+}
+
+// SetTransferMessage sets the TransferMessage field's value.
+func (s *TransferCertificateInput) SetTransferMessage(v string) *TransferCertificateInput {
+ s.TransferMessage = &v
+ return s
+}
+
// The output from the TransferCertificate operation.
type TransferCertificateOutput struct {
_ struct{} `type:"structure"`
@@ -9135,6 +10983,12 @@ func (s TransferCertificateOutput) GoString() string {
return s.String()
}
+// SetTransferredCertificateArn sets the TransferredCertificateArn field's value.
+func (s *TransferCertificateOutput) SetTransferredCertificateArn(v string) *TransferCertificateOutput {
+ s.TransferredCertificateArn = &v
+ return s
+}
+
// Data used to transfer a certificate to an AWS account.
type TransferData struct {
_ struct{} `type:"structure"`
@@ -9165,6 +11019,36 @@ func (s TransferData) GoString() string {
return s.String()
}
+// SetAcceptDate sets the AcceptDate field's value.
+func (s *TransferData) SetAcceptDate(v time.Time) *TransferData {
+ s.AcceptDate = &v
+ return s
+}
+
+// SetRejectDate sets the RejectDate field's value.
+func (s *TransferData) SetRejectDate(v time.Time) *TransferData {
+ s.RejectDate = &v
+ return s
+}
+
+// SetRejectReason sets the RejectReason field's value.
+func (s *TransferData) SetRejectReason(v string) *TransferData {
+ s.RejectReason = &v
+ return s
+}
+
+// SetTransferDate sets the TransferDate field's value.
+func (s *TransferData) SetTransferDate(v time.Time) *TransferData {
+ s.TransferDate = &v
+ return s
+}
+
+// SetTransferMessage sets the TransferMessage field's value.
+func (s *TransferData) SetTransferMessage(v string) *TransferData {
+ s.TransferMessage = &v
+ return s
+}
+
// The input to the UpdateCACertificate operation.
type UpdateCACertificateInput struct {
_ struct{} `type:"structure"`
@@ -9211,6 +11095,24 @@ func (s *UpdateCACertificateInput) Validate() error {
return nil
}
+// SetCertificateId sets the CertificateId field's value.
+func (s *UpdateCACertificateInput) SetCertificateId(v string) *UpdateCACertificateInput {
+ s.CertificateId = &v
+ return s
+}
+
+// SetNewAutoRegistrationStatus sets the NewAutoRegistrationStatus field's value.
+func (s *UpdateCACertificateInput) SetNewAutoRegistrationStatus(v string) *UpdateCACertificateInput {
+ s.NewAutoRegistrationStatus = &v
+ return s
+}
+
+// SetNewStatus sets the NewStatus field's value.
+func (s *UpdateCACertificateInput) SetNewStatus(v string) *UpdateCACertificateInput {
+ s.NewStatus = &v
+ return s
+}
+
type UpdateCACertificateOutput struct {
_ struct{} `type:"structure"`
}
@@ -9276,6 +11178,18 @@ func (s *UpdateCertificateInput) Validate() error {
return nil
}
+// 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"`
}
@@ -9348,6 +11262,36 @@ func (s *UpdateThingInput) Validate() error {
return nil
}
+// SetAttributePayload sets the AttributePayload field's value.
+func (s *UpdateThingInput) SetAttributePayload(v *AttributePayload) *UpdateThingInput {
+ s.AttributePayload = v
+ return s
+}
+
+// SetExpectedVersion sets the ExpectedVersion field's value.
+func (s *UpdateThingInput) SetExpectedVersion(v int64) *UpdateThingInput {
+ s.ExpectedVersion = &v
+ return s
+}
+
+// SetRemoveThingType sets the RemoveThingType field's value.
+func (s *UpdateThingInput) SetRemoveThingType(v bool) *UpdateThingInput {
+ s.RemoveThingType = &v
+ return s
+}
+
+// SetThingName sets the ThingName field's value.
+func (s *UpdateThingInput) SetThingName(v string) *UpdateThingInput {
+ s.ThingName = &v
+ return s
+}
+
+// SetThingTypeName sets the ThingTypeName field's value.
+func (s *UpdateThingInput) SetThingTypeName(v string) *UpdateThingInput {
+ s.ThingTypeName = &v
+ return s
+}
+
// The output from the UpdateThing operation.
type UpdateThingOutput struct {
_ struct{} `type:"structure"`
diff --git a/vendor/github.com/aws/aws-sdk-go/service/iotdataplane/api.go b/vendor/github.com/aws/aws-sdk-go/service/iotdataplane/api.go
index ac38fd3..033c913 100644
--- a/vendor/github.com/aws/aws-sdk-go/service/iotdataplane/api.go
+++ b/vendor/github.com/aws/aws-sdk-go/service/iotdataplane/api.go
@@ -391,6 +391,12 @@ func (s *DeleteThingShadowInput) Validate() error {
return nil
}
+// SetThingName sets the ThingName field's value.
+func (s *DeleteThingShadowInput) SetThingName(v string) *DeleteThingShadowInput {
+ s.ThingName = &v
+ return s
+}
+
// The output from the DeleteThingShadow operation.
type DeleteThingShadowOutput struct {
_ struct{} `type:"structure" payload:"Payload"`
@@ -411,6 +417,12 @@ func (s DeleteThingShadowOutput) GoString() string {
return s.String()
}
+// SetPayload sets the Payload field's value.
+func (s *DeleteThingShadowOutput) SetPayload(v []byte) *DeleteThingShadowOutput {
+ s.Payload = v
+ return s
+}
+
// The input for the GetThingShadow operation.
type GetThingShadowInput struct {
_ struct{} `type:"structure"`
@@ -447,6 +459,12 @@ func (s *GetThingShadowInput) Validate() error {
return nil
}
+// SetThingName sets the ThingName field's value.
+func (s *GetThingShadowInput) SetThingName(v string) *GetThingShadowInput {
+ s.ThingName = &v
+ return s
+}
+
// The output from the GetThingShadow operation.
type GetThingShadowOutput struct {
_ struct{} `type:"structure" payload:"Payload"`
@@ -465,6 +483,12 @@ func (s GetThingShadowOutput) GoString() string {
return s.String()
}
+// SetPayload sets the Payload field's value.
+func (s *GetThingShadowOutput) SetPayload(v []byte) *GetThingShadowOutput {
+ s.Payload = v
+ return s
+}
+
// The input for the Publish operation.
type PublishInput struct {
_ struct{} `type:"structure" payload:"Payload"`
@@ -504,6 +528,24 @@ func (s *PublishInput) Validate() error {
return nil
}
+// SetPayload sets the Payload field's value.
+func (s *PublishInput) SetPayload(v []byte) *PublishInput {
+ s.Payload = v
+ return s
+}
+
+// SetQos sets the Qos field's value.
+func (s *PublishInput) SetQos(v int64) *PublishInput {
+ s.Qos = &v
+ return s
+}
+
+// SetTopic sets the Topic field's value.
+func (s *PublishInput) SetTopic(v string) *PublishInput {
+ s.Topic = &v
+ return s
+}
+
type PublishOutput struct {
_ struct{} `type:"structure"`
}
@@ -562,6 +604,18 @@ func (s *UpdateThingShadowInput) Validate() error {
return nil
}
+// SetPayload sets the Payload field's value.
+func (s *UpdateThingShadowInput) SetPayload(v []byte) *UpdateThingShadowInput {
+ s.Payload = v
+ return s
+}
+
+// SetThingName sets the ThingName field's value.
+func (s *UpdateThingShadowInput) SetThingName(v string) *UpdateThingShadowInput {
+ s.ThingName = &v
+ return s
+}
+
// The output from the UpdateThingShadow operation.
type UpdateThingShadowOutput struct {
_ struct{} `type:"structure" payload:"Payload"`
@@ -579,3 +633,9 @@ func (s UpdateThingShadowOutput) String() string {
func (s UpdateThingShadowOutput) GoString() string {
return s.String()
}
+
+// SetPayload sets the Payload field's value.
+func (s *UpdateThingShadowOutput) SetPayload(v []byte) *UpdateThingShadowOutput {
+ s.Payload = v
+ return s
+}
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 6b4ad41..328bb1a 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
@@ -76,8 +76,7 @@ func (c *Kinesis) AddTagsToStreamRequest(input *AddTagsToStreamInput) (req *requ
// Returned Error Codes:
// * ResourceNotFoundException
// The requested resource could not be found. The stream might not be specified
-// correctly, or it might not be in the ACTIVE state if the operation requires
-// it.
+// correctly.
//
// * ResourceInUseException
// The resource is not available for this operation. For successful operation,
@@ -173,6 +172,7 @@ func (c *Kinesis) CreateStreamRequest(input *CreateStreamInput) (req *request.Re
// * Have more than five streams in the CREATING state at any point in time.
//
// * 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).
@@ -277,12 +277,7 @@ func (c *Kinesis) DecreaseStreamRetentionPeriodRequest(input *DecreaseStreamRete
//
// * ResourceNotFoundException
// The requested resource could not be found. The stream might not be specified
-// correctly, or it might not be in the ACTIVE state if the operation requires
-// it.
-//
-// * LimitExceededException
-// The requested resource exceeds the maximum number allowed, or the number
-// of concurrent stream requests exceeds the maximum number allowed (5).
+// correctly.
//
// * InvalidArgumentException
// A specified parameter exceeds its restrictions, is not supported, or can't
@@ -372,8 +367,7 @@ func (c *Kinesis) DeleteStreamRequest(input *DeleteStreamInput) (req *request.Re
// Returned Error Codes:
// * ResourceNotFoundException
// The requested resource could not be found. The stream might not be specified
-// correctly, or it might not be in the ACTIVE state if the operation requires
-// it.
+// correctly.
//
// * LimitExceededException
// The requested resource exceeds the maximum number allowed, or the number
@@ -385,6 +379,76 @@ func (c *Kinesis) DeleteStream(input *DeleteStreamInput) (*DeleteStreamOutput, e
return out, err
}
+const opDescribeLimits = "DescribeLimits"
+
+// DescribeLimitsRequest generates a "aws/request.Request" representing the
+// client's request for the DescribeLimits operation. The "output" return
+// value can be used to capture response data after the request's "Send" method
+// is called.
+//
+// See DescribeLimits for usage and error information.
+//
+// Creating a request object using this method should be used when you want to inject
+// custom logic into the request's lifecycle using a custom handler, or if you want to
+// access properties on the request object before or after sending the request. If
+// you just want the service response, call the DescribeLimits method directly
+// instead.
+//
+// Note: You must call the "Send" method on the returned request object in order
+// to execute the request.
+//
+// // 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)
+// }
+//
+func (c *Kinesis) DescribeLimitsRequest(input *DescribeLimitsInput) (req *request.Request, output *DescribeLimitsOutput) {
+ op := &request.Operation{
+ Name: opDescribeLimits,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &DescribeLimitsInput{}
+ }
+
+ req = c.newRequest(op, input, output)
+ output = &DescribeLimitsOutput{}
+ req.Data = output
+ return
+}
+
+// DescribeLimits API operation for Amazon Kinesis.
+//
+// Describes the shard limits and usage for the account.
+//
+// If you update your account limits, the old limits might be returned for a
+// few minutes.
+//
+// This operation has a limit of 1 transaction 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
+// the error.
+//
+// See the AWS API reference guide for Amazon Kinesis's
+// API operation DescribeLimits for usage and error information.
+//
+// Returned Error Codes:
+// * LimitExceededException
+// The requested resource exceeds the maximum number allowed, or the number
+// of concurrent stream requests exceeds the maximum number allowed (5).
+//
+func (c *Kinesis) DescribeLimits(input *DescribeLimitsInput) (*DescribeLimitsOutput, error) {
+ req, out := c.DescribeLimitsRequest(input)
+ err := req.Send()
+ return out, err
+}
+
const opDescribeStream = "DescribeStream"
// DescribeStreamRequest generates a "aws/request.Request" representing the
@@ -438,30 +502,23 @@ func (c *Kinesis) DescribeStreamRequest(input *DescribeStreamInput) (req *reques
//
// Describes the specified Amazon Kinesis stream.
//
-// The information about the stream includes its current status, its Amazon
-// Resource Name (ARN), and an array of shard objects. For each shard object,
-// there is information about the hash key and sequence number ranges that the
-// shard spans, and the IDs of any earlier shards that played in a role in creating
-// the shard. A sequence number is the identifier associated with every record
-// ingested in the stream. The sequence number is assigned when a record is
-// put into the stream.
-//
-// You can limit the number of returned shards using the Limit parameter. The
-// number of shards in a stream may be too large to return from a single call
-// to DescribeStream. You can detect this by using the HasMoreShards flag in
-// the returned output. HasMoreShards is set to true when there is more data
-// available.
+// The information returned includes the stream name, Amazon Resource Name (ARN),
+// creation time, enhanced metric configuration, and shard map. The shard map
+// is an array of shard objects. For each shard object, there is the hash key
+// and sequence number ranges that the shard spans, and the IDs of any earlier
+// shards that played in a role in creating the shard. Every record ingested
+// in the stream is identified by a sequence number, which is assigned when
+// the record is put into the stream.
//
-// DescribeStream is a paginated operation. If there are more shards available,
-// you can request them using the shard ID of the last shard returned. Specify
-// this ID in the ExclusiveStartShardId parameter in a subsequent request to
-// DescribeStream.
+// You can limit the number of shards returned by each call. For more information,
+// see Retrieving Shards from a Stream (http://docs.aws.amazon.com/kinesis/latest/dev/kinesis-using-sdk-java-retrieve-shards.html)
+// in the Amazon Kinesis Streams Developer Guide.
//
-// There are no guarantees about the chronological order shards returned in
-// DescribeStream results. If you want to process shards in chronological order,
-// use ParentShardId to track lineage to the oldest shard.
+// There are no guarantees about the chronological order shards returned. To
+// process shards in chronological order, use the ID of the parent shard to
+// track the lineage to the oldest shard.
//
-// DescribeStream has a limit of 10 transactions per second per account.
+// This operation has a limit of 10 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
@@ -473,8 +530,7 @@ func (c *Kinesis) DescribeStreamRequest(input *DescribeStreamInput) (req *reques
// Returned Error Codes:
// * ResourceNotFoundException
// The requested resource could not be found. The stream might not be specified
-// correctly, or it might not be in the ACTIVE state if the operation requires
-// it.
+// correctly.
//
// * LimitExceededException
// The requested resource exceeds the maximum number allowed, or the number
@@ -580,8 +636,7 @@ func (c *Kinesis) DisableEnhancedMonitoringRequest(input *DisableEnhancedMonitor
//
// * ResourceNotFoundException
// The requested resource could not be found. The stream might not be specified
-// correctly, or it might not be in the ACTIVE state if the operation requires
-// it.
+// correctly.
//
func (c *Kinesis) DisableEnhancedMonitoring(input *DisableEnhancedMonitoringInput) (*EnhancedMonitoringOutput, error) {
req, out := c.DisableEnhancedMonitoringRequest(input)
@@ -658,8 +713,7 @@ func (c *Kinesis) EnableEnhancedMonitoringRequest(input *EnableEnhancedMonitorin
//
// * ResourceNotFoundException
// The requested resource could not be found. The stream might not be specified
-// correctly, or it might not be in the ACTIVE state if the operation requires
-// it.
+// correctly.
//
func (c *Kinesis) EnableEnhancedMonitoring(input *EnableEnhancedMonitoringInput) (*EnhancedMonitoringOutput, error) {
req, out := c.EnableEnhancedMonitoringRequest(input)
@@ -776,8 +830,7 @@ func (c *Kinesis) GetRecordsRequest(input *GetRecordsInput) (req *request.Reques
// Returned Error Codes:
// * ResourceNotFoundException
// The requested resource could not be found. The stream might not be specified
-// correctly, or it might not be in the ACTIVE state if the operation requires
-// it.
+// correctly.
//
// * InvalidArgumentException
// A specified parameter exceeds its restrictions, is not supported, or can't
@@ -894,8 +947,7 @@ func (c *Kinesis) GetShardIteratorRequest(input *GetShardIteratorInput) (req *re
// Returned Error Codes:
// * ResourceNotFoundException
// The requested resource could not be found. The stream might not be specified
-// correctly, or it might not be in the ACTIVE state if the operation requires
-// it.
+// correctly.
//
// * InvalidArgumentException
// A specified parameter exceeds its restrictions, is not supported, or can't
@@ -988,12 +1040,7 @@ func (c *Kinesis) IncreaseStreamRetentionPeriodRequest(input *IncreaseStreamRete
//
// * ResourceNotFoundException
// The requested resource could not be found. The stream might not be specified
-// correctly, or it might not be in the ACTIVE state if the operation requires
-// it.
-//
-// * LimitExceededException
-// The requested resource exceeds the maximum number allowed, or the number
-// of concurrent stream requests exceeds the maximum number allowed (5).
+// correctly.
//
// * InvalidArgumentException
// A specified parameter exceeds its restrictions, is not supported, or can't
@@ -1173,8 +1220,7 @@ func (c *Kinesis) ListTagsForStreamRequest(input *ListTagsForStreamInput) (req *
// Returned Error Codes:
// * ResourceNotFoundException
// The requested resource could not be found. The stream might not be specified
-// correctly, or it might not be in the ACTIVE state if the operation requires
-// it.
+// correctly.
//
// * InvalidArgumentException
// A specified parameter exceeds its restrictions, is not supported, or can't
@@ -1284,8 +1330,7 @@ func (c *Kinesis) MergeShardsRequest(input *MergeShardsInput) (req *request.Requ
// Returned Error Codes:
// * ResourceNotFoundException
// The requested resource could not be found. The stream might not be specified
-// correctly, or it might not be in the ACTIVE state if the operation requires
-// it.
+// correctly.
//
// * ResourceInUseException
// The resource is not available for this operation. For successful operation,
@@ -1399,8 +1444,7 @@ func (c *Kinesis) PutRecordRequest(input *PutRecordInput) (req *request.Request,
// Returned Error Codes:
// * ResourceNotFoundException
// The requested resource could not be found. The stream might not be specified
-// correctly, or it might not be in the ACTIVE state if the operation requires
-// it.
+// correctly.
//
// * InvalidArgumentException
// A specified parameter exceeds its restrictions, is not supported, or can't
@@ -1536,8 +1580,7 @@ func (c *Kinesis) PutRecordsRequest(input *PutRecordsInput) (req *request.Reques
// Returned Error Codes:
// * ResourceNotFoundException
// The requested resource could not be found. The stream might not be specified
-// correctly, or it might not be in the ACTIVE state if the operation requires
-// it.
+// correctly.
//
// * InvalidArgumentException
// A specified parameter exceeds its restrictions, is not supported, or can't
@@ -1619,8 +1662,7 @@ func (c *Kinesis) RemoveTagsFromStreamRequest(input *RemoveTagsFromStreamInput)
// Returned Error Codes:
// * ResourceNotFoundException
// The requested resource could not be found. The stream might not be specified
-// correctly, or it might not be in the ACTIVE state if the operation requires
-// it.
+// correctly.
//
// * ResourceInUseException
// The resource is not available for this operation. For successful operation,
@@ -1743,8 +1785,7 @@ func (c *Kinesis) SplitShardRequest(input *SplitShardInput) (req *request.Reques
// Returned Error Codes:
// * ResourceNotFoundException
// The requested resource could not be found. The stream might not be specified
-// correctly, or it might not be in the ACTIVE state if the operation requires
-// it.
+// correctly.
//
// * ResourceInUseException
// The resource is not available for this operation. For successful operation,
@@ -1764,6 +1805,104 @@ func (c *Kinesis) SplitShard(input *SplitShardInput) (*SplitShardOutput, error)
return out, err
}
+const opUpdateShardCount = "UpdateShardCount"
+
+// UpdateShardCountRequest generates a "aws/request.Request" representing the
+// client's request for the UpdateShardCount operation. The "output" return
+// value can be used to capture response data after the request's "Send" method
+// is called.
+//
+// See UpdateShardCount for usage and error information.
+//
+// Creating a request object using this method should be used when you want to inject
+// custom logic into the request's lifecycle using a custom handler, or if you want to
+// access properties on the request object before or after sending the request. If
+// you just want the service response, call the UpdateShardCount method directly
+// instead.
+//
+// Note: You must call the "Send" method on the returned request object in order
+// to execute the request.
+//
+// // Example sending a request using the UpdateShardCountRequest method.
+// req, resp := client.UpdateShardCountRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+func (c *Kinesis) UpdateShardCountRequest(input *UpdateShardCountInput) (req *request.Request, output *UpdateShardCountOutput) {
+ op := &request.Operation{
+ Name: opUpdateShardCount,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &UpdateShardCountInput{}
+ }
+
+ req = c.newRequest(op, input, output)
+ output = &UpdateShardCountOutput{}
+ req.Data = output
+ return
+}
+
+// UpdateShardCount API operation for Amazon Kinesis.
+//
+// Updates the shard count of the specified stream to the specified number of
+// 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
+// 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 and merges and
+// 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 a rate limit of twice per rolling 24 hour period. You
+// cannot scale above double your current shard count, scale below half your
+// current shard count, or exceed 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).
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type 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 UpdateShardCount for usage and error information.
+//
+// Returned Error Codes:
+// * InvalidArgumentException
+// A specified parameter exceeds its restrictions, is not supported, or can't
+// be used. For more information, see the returned message.
+//
+// * LimitExceededException
+// The requested resource exceeds the maximum number allowed, or the number
+// of concurrent stream requests exceeds the maximum number allowed (5).
+//
+// * ResourceInUseException
+// The resource is not available for this operation. For successful operation,
+// the resource needs to be in the ACTIVE state.
+//
+// * ResourceNotFoundException
+// The requested resource could not be found. The stream might not be specified
+// correctly.
+//
+func (c *Kinesis) UpdateShardCount(input *UpdateShardCountInput) (*UpdateShardCountOutput, error) {
+ req, out := c.UpdateShardCountRequest(input)
+ err := req.Send()
+ return out, err
+}
+
// Represents the input for AddTagsToStream.
type AddTagsToStreamInput struct {
_ struct{} `type:"structure"`
@@ -1811,6 +1950,18 @@ func (s *AddTagsToStreamInput) Validate() error {
return nil
}
+// SetStreamName sets the StreamName field's value.
+func (s *AddTagsToStreamInput) SetStreamName(v string) *AddTagsToStreamInput {
+ s.StreamName = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *AddTagsToStreamInput) SetTags(v map[string]*string) *AddTagsToStreamInput {
+ s.Tags = v
+ return s
+}
+
type AddTagsToStreamOutput struct {
_ struct{} `type:"structure"`
}
@@ -1880,6 +2031,18 @@ func (s *CreateStreamInput) Validate() error {
return nil
}
+// SetShardCount sets the ShardCount field's value.
+func (s *CreateStreamInput) SetShardCount(v int64) *CreateStreamInput {
+ s.ShardCount = &v
+ return s
+}
+
+// SetStreamName sets the StreamName field's value.
+func (s *CreateStreamInput) SetStreamName(v string) *CreateStreamInput {
+ s.StreamName = &v
+ return s
+}
+
type CreateStreamOutput struct {
_ struct{} `type:"structure"`
}
@@ -1902,7 +2065,7 @@ type DecreaseStreamRetentionPeriodInput struct {
// retention period.
//
// RetentionPeriodHours is a required field
- RetentionPeriodHours *int64 `min:"24" type:"integer" required:"true"`
+ RetentionPeriodHours *int64 `min:"1" type:"integer" required:"true"`
// The name of the stream to modify.
//
@@ -1926,8 +2089,8 @@ func (s *DecreaseStreamRetentionPeriodInput) Validate() error {
if s.RetentionPeriodHours == nil {
invalidParams.Add(request.NewErrParamRequired("RetentionPeriodHours"))
}
- if s.RetentionPeriodHours != nil && *s.RetentionPeriodHours < 24 {
- invalidParams.Add(request.NewErrParamMinValue("RetentionPeriodHours", 24))
+ if s.RetentionPeriodHours != nil && *s.RetentionPeriodHours < 1 {
+ invalidParams.Add(request.NewErrParamMinValue("RetentionPeriodHours", 1))
}
if s.StreamName == nil {
invalidParams.Add(request.NewErrParamRequired("StreamName"))
@@ -1942,6 +2105,18 @@ func (s *DecreaseStreamRetentionPeriodInput) Validate() error {
return nil
}
+// SetRetentionPeriodHours sets the RetentionPeriodHours field's value.
+func (s *DecreaseStreamRetentionPeriodInput) SetRetentionPeriodHours(v int64) *DecreaseStreamRetentionPeriodInput {
+ s.RetentionPeriodHours = &v
+ return s
+}
+
+// SetStreamName sets the StreamName field's value.
+func (s *DecreaseStreamRetentionPeriodInput) SetStreamName(v string) *DecreaseStreamRetentionPeriodInput {
+ s.StreamName = &v
+ return s
+}
+
type DecreaseStreamRetentionPeriodOutput struct {
_ struct{} `type:"structure"`
}
@@ -1992,6 +2167,12 @@ func (s *DeleteStreamInput) Validate() error {
return nil
}
+// SetStreamName sets the StreamName field's value.
+func (s *DeleteStreamInput) SetStreamName(v string) *DeleteStreamInput {
+ s.StreamName = &v
+ return s
+}
+
type DeleteStreamOutput struct {
_ struct{} `type:"structure"`
}
@@ -2006,6 +2187,56 @@ func (s DeleteStreamOutput) GoString() string {
return s.String()
}
+type DescribeLimitsInput struct {
+ _ struct{} `type:"structure"`
+}
+
+// String returns the string representation
+func (s DescribeLimitsInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s DescribeLimitsInput) GoString() string {
+ return s.String()
+}
+
+type DescribeLimitsOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The number of open shards.
+ //
+ // OpenShardCount is a required field
+ OpenShardCount *int64 `type:"integer" required:"true"`
+
+ // The maximum number of shards.
+ //
+ // ShardLimit is a required field
+ ShardLimit *int64 `type:"integer" required:"true"`
+}
+
+// String returns the string representation
+func (s DescribeLimitsOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s DescribeLimitsOutput) GoString() string {
+ return s.String()
+}
+
+// SetOpenShardCount sets the OpenShardCount field's value.
+func (s *DescribeLimitsOutput) SetOpenShardCount(v int64) *DescribeLimitsOutput {
+ s.OpenShardCount = &v
+ return s
+}
+
+// SetShardLimit sets the ShardLimit field's value.
+func (s *DescribeLimitsOutput) SetShardLimit(v int64) *DescribeLimitsOutput {
+ s.ShardLimit = &v
+ return s
+}
+
// Represents the input for DescribeStream.
type DescribeStreamInput struct {
_ struct{} `type:"structure"`
@@ -2013,7 +2244,8 @@ type DescribeStreamInput struct {
// The shard ID of the shard to start with.
ExclusiveStartShardId *string `min:"1" type:"string"`
- // The maximum number of shards to return.
+ // The maximum number of shards to return in a single call. The default value
+ // is 100. If you specify a value greater than 100, at most 100 shards are returned.
Limit *int64 `min:"1" type:"integer"`
// The name of the stream to describe.
@@ -2054,12 +2286,30 @@ func (s *DescribeStreamInput) Validate() error {
return nil
}
+// SetExclusiveStartShardId sets the ExclusiveStartShardId field's value.
+func (s *DescribeStreamInput) SetExclusiveStartShardId(v string) *DescribeStreamInput {
+ s.ExclusiveStartShardId = &v
+ return s
+}
+
+// SetLimit sets the Limit field's value.
+func (s *DescribeStreamInput) SetLimit(v int64) *DescribeStreamInput {
+ s.Limit = &v
+ return s
+}
+
+// SetStreamName sets the StreamName field's value.
+func (s *DescribeStreamInput) SetStreamName(v string) *DescribeStreamInput {
+ s.StreamName = &v
+ return s
+}
+
// Represents the output for DescribeStream.
type DescribeStreamOutput struct {
_ struct{} `type:"structure"`
// The current status of the stream, the stream ARN, an array of shard objects
- // that comprise the stream, and states whether there are more shards available.
+ // that comprise the stream, and whether there are more shards available.
//
// StreamDescription is a required field
StreamDescription *StreamDescription `type:"structure" required:"true"`
@@ -2075,6 +2325,12 @@ func (s DescribeStreamOutput) GoString() string {
return s.String()
}
+// SetStreamDescription sets the StreamDescription field's value.
+func (s *DescribeStreamOutput) SetStreamDescription(v *StreamDescription) *DescribeStreamOutput {
+ s.StreamDescription = v
+ return s
+}
+
// Represents the input for DisableEnhancedMonitoring.
type DisableEnhancedMonitoringInput struct {
_ struct{} `type:"structure"`
@@ -2085,13 +2341,21 @@ type DisableEnhancedMonitoringInput struct {
// every metric.
//
// * IncomingBytes
+ //
// * IncomingRecords
+ //
// * OutgoingBytes
+ //
// * OutgoingRecords
+ //
// * WriteProvisionedThroughputExceeded
+ //
// * ReadProvisionedThroughputExceeded
+ //
// * IteratorAgeMilliseconds
+ //
// * ALL
+ //
// For more information, see Monitoring the Amazon Kinesis Streams Service with
// Amazon CloudWatch (http://docs.aws.amazon.com/kinesis/latest/dev/monitoring-with-cloudwatch.html)
// in the Amazon Kinesis Streams Developer Guide.
@@ -2137,6 +2401,18 @@ func (s *DisableEnhancedMonitoringInput) Validate() error {
return nil
}
+// SetShardLevelMetrics sets the ShardLevelMetrics field's value.
+func (s *DisableEnhancedMonitoringInput) SetShardLevelMetrics(v []*string) *DisableEnhancedMonitoringInput {
+ s.ShardLevelMetrics = v
+ return s
+}
+
+// SetStreamName sets the StreamName field's value.
+func (s *DisableEnhancedMonitoringInput) SetStreamName(v string) *DisableEnhancedMonitoringInput {
+ s.StreamName = &v
+ return s
+}
+
// Represents the input for EnableEnhancedMonitoring.
type EnableEnhancedMonitoringInput struct {
_ struct{} `type:"structure"`
@@ -2147,13 +2423,21 @@ type EnableEnhancedMonitoringInput struct {
// every metric.
//
// * IncomingBytes
+ //
// * IncomingRecords
+ //
// * OutgoingBytes
+ //
// * OutgoingRecords
+ //
// * WriteProvisionedThroughputExceeded
+ //
// * ReadProvisionedThroughputExceeded
+ //
// * IteratorAgeMilliseconds
+ //
// * ALL
+ //
// For more information, see Monitoring the Amazon Kinesis Streams Service with
// Amazon CloudWatch (http://docs.aws.amazon.com/kinesis/latest/dev/monitoring-with-cloudwatch.html)
// in the Amazon Kinesis Streams Developer Guide.
@@ -2199,6 +2483,18 @@ func (s *EnableEnhancedMonitoringInput) Validate() error {
return nil
}
+// SetShardLevelMetrics sets the ShardLevelMetrics field's value.
+func (s *EnableEnhancedMonitoringInput) SetShardLevelMetrics(v []*string) *EnableEnhancedMonitoringInput {
+ s.ShardLevelMetrics = v
+ return s
+}
+
+// SetStreamName sets the StreamName field's value.
+func (s *EnableEnhancedMonitoringInput) SetStreamName(v string) *EnableEnhancedMonitoringInput {
+ s.StreamName = &v
+ return s
+}
+
// Represents enhanced metrics types.
type EnhancedMetrics struct {
_ struct{} `type:"structure"`
@@ -2209,13 +2505,21 @@ type EnhancedMetrics struct {
// every metric.
//
// * IncomingBytes
+ //
// * IncomingRecords
+ //
// * OutgoingBytes
+ //
// * OutgoingRecords
+ //
// * WriteProvisionedThroughputExceeded
+ //
// * ReadProvisionedThroughputExceeded
+ //
// * IteratorAgeMilliseconds
+ //
// * ALL
+ //
// For more information, see Monitoring the Amazon Kinesis Streams Service with
// Amazon CloudWatch (http://docs.aws.amazon.com/kinesis/latest/dev/monitoring-with-cloudwatch.html)
// in the Amazon Kinesis Streams Developer Guide.
@@ -2232,6 +2536,12 @@ func (s EnhancedMetrics) GoString() string {
return s.String()
}
+// SetShardLevelMetrics sets the ShardLevelMetrics field's value.
+func (s *EnhancedMetrics) SetShardLevelMetrics(v []*string) *EnhancedMetrics {
+ s.ShardLevelMetrics = v
+ return s
+}
+
// Represents the output for EnableEnhancedMonitoring and DisableEnhancedMonitoring.
type EnhancedMonitoringOutput struct {
_ struct{} `type:"structure"`
@@ -2258,6 +2568,24 @@ func (s EnhancedMonitoringOutput) GoString() string {
return s.String()
}
+// SetCurrentShardLevelMetrics sets the CurrentShardLevelMetrics field's value.
+func (s *EnhancedMonitoringOutput) SetCurrentShardLevelMetrics(v []*string) *EnhancedMonitoringOutput {
+ s.CurrentShardLevelMetrics = v
+ return s
+}
+
+// SetDesiredShardLevelMetrics sets the DesiredShardLevelMetrics field's value.
+func (s *EnhancedMonitoringOutput) SetDesiredShardLevelMetrics(v []*string) *EnhancedMonitoringOutput {
+ s.DesiredShardLevelMetrics = v
+ return s
+}
+
+// SetStreamName sets the StreamName field's value.
+func (s *EnhancedMonitoringOutput) SetStreamName(v string) *EnhancedMonitoringOutput {
+ s.StreamName = &v
+ return s
+}
+
// Represents the input for GetRecords.
type GetRecordsInput struct {
_ struct{} `type:"structure"`
@@ -2303,6 +2631,18 @@ func (s *GetRecordsInput) Validate() error {
return nil
}
+// SetLimit sets the Limit field's value.
+func (s *GetRecordsInput) SetLimit(v int64) *GetRecordsInput {
+ s.Limit = &v
+ return s
+}
+
+// SetShardIterator sets the ShardIterator field's value.
+func (s *GetRecordsInput) SetShardIterator(v string) *GetRecordsInput {
+ s.ShardIterator = &v
+ return s
+}
+
// Represents the output for GetRecords.
type GetRecordsOutput struct {
_ struct{} `type:"structure"`
@@ -2334,6 +2674,24 @@ func (s GetRecordsOutput) GoString() string {
return s.String()
}
+// SetMillisBehindLatest sets the MillisBehindLatest field's value.
+func (s *GetRecordsOutput) SetMillisBehindLatest(v int64) *GetRecordsOutput {
+ s.MillisBehindLatest = &v
+ return s
+}
+
+// SetNextShardIterator sets the NextShardIterator field's value.
+func (s *GetRecordsOutput) SetNextShardIterator(v string) *GetRecordsOutput {
+ s.NextShardIterator = &v
+ return s
+}
+
+// SetRecords sets the Records field's value.
+func (s *GetRecordsOutput) SetRecords(v []*Record) *GetRecordsOutput {
+ s.Records = v
+ return s
+}
+
// Represents the input for GetShardIterator.
type GetShardIteratorInput struct {
_ struct{} `type:"structure"`
@@ -2350,13 +2708,16 @@ type GetShardIteratorInput struct {
//
// * AT_SEQUENCE_NUMBER - Start reading from the position denoted by a specific
// sequence number, provided in the value StartingSequenceNumber.
+ //
// * AFTER_SEQUENCE_NUMBER - Start reading right after the position denoted
// 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.
+ //
// * TRIM_HORIZON - Start reading at the last untrimmed record in the shard
// in the system, which is the oldest data record in the shard.
+ //
// * LATEST - Start reading just after the most recent record in the shard,
// so that you always read the most recent data in the shard.
//
@@ -2417,6 +2778,36 @@ func (s *GetShardIteratorInput) Validate() error {
return nil
}
+// SetShardId sets the ShardId field's value.
+func (s *GetShardIteratorInput) SetShardId(v string) *GetShardIteratorInput {
+ s.ShardId = &v
+ return s
+}
+
+// SetShardIteratorType sets the ShardIteratorType field's value.
+func (s *GetShardIteratorInput) SetShardIteratorType(v string) *GetShardIteratorInput {
+ s.ShardIteratorType = &v
+ return s
+}
+
+// SetStartingSequenceNumber sets the StartingSequenceNumber field's value.
+func (s *GetShardIteratorInput) SetStartingSequenceNumber(v string) *GetShardIteratorInput {
+ s.StartingSequenceNumber = &v
+ return s
+}
+
+// SetStreamName sets the StreamName field's value.
+func (s *GetShardIteratorInput) SetStreamName(v string) *GetShardIteratorInput {
+ s.StreamName = &v
+ return s
+}
+
+// SetTimestamp sets the Timestamp field's value.
+func (s *GetShardIteratorInput) SetTimestamp(v time.Time) *GetShardIteratorInput {
+ s.Timestamp = &v
+ return s
+}
+
// Represents the output for GetShardIterator.
type GetShardIteratorOutput struct {
_ struct{} `type:"structure"`
@@ -2437,6 +2828,12 @@ func (s GetShardIteratorOutput) GoString() string {
return s.String()
}
+// SetShardIterator sets the ShardIterator field's value.
+func (s *GetShardIteratorOutput) SetShardIterator(v string) *GetShardIteratorOutput {
+ s.ShardIterator = &v
+ return s
+}
+
// The range of possible hash key values for the shard, which is a set of ordered
// contiguous positive integers.
type HashKeyRange struct {
@@ -2463,6 +2860,18 @@ func (s HashKeyRange) GoString() string {
return s.String()
}
+// SetEndingHashKey sets the EndingHashKey field's value.
+func (s *HashKeyRange) SetEndingHashKey(v string) *HashKeyRange {
+ s.EndingHashKey = &v
+ return s
+}
+
+// SetStartingHashKey sets the StartingHashKey field's value.
+func (s *HashKeyRange) SetStartingHashKey(v string) *HashKeyRange {
+ s.StartingHashKey = &v
+ return s
+}
+
// Represents the input for IncreaseStreamRetentionPeriod.
type IncreaseStreamRetentionPeriodInput struct {
_ struct{} `type:"structure"`
@@ -2471,7 +2880,7 @@ type IncreaseStreamRetentionPeriodInput struct {
// retention period.
//
// RetentionPeriodHours is a required field
- RetentionPeriodHours *int64 `min:"24" type:"integer" required:"true"`
+ RetentionPeriodHours *int64 `min:"1" type:"integer" required:"true"`
// The name of the stream to modify.
//
@@ -2495,8 +2904,8 @@ func (s *IncreaseStreamRetentionPeriodInput) Validate() error {
if s.RetentionPeriodHours == nil {
invalidParams.Add(request.NewErrParamRequired("RetentionPeriodHours"))
}
- if s.RetentionPeriodHours != nil && *s.RetentionPeriodHours < 24 {
- invalidParams.Add(request.NewErrParamMinValue("RetentionPeriodHours", 24))
+ if s.RetentionPeriodHours != nil && *s.RetentionPeriodHours < 1 {
+ invalidParams.Add(request.NewErrParamMinValue("RetentionPeriodHours", 1))
}
if s.StreamName == nil {
invalidParams.Add(request.NewErrParamRequired("StreamName"))
@@ -2511,6 +2920,18 @@ func (s *IncreaseStreamRetentionPeriodInput) Validate() error {
return nil
}
+// SetRetentionPeriodHours sets the RetentionPeriodHours field's value.
+func (s *IncreaseStreamRetentionPeriodInput) SetRetentionPeriodHours(v int64) *IncreaseStreamRetentionPeriodInput {
+ s.RetentionPeriodHours = &v
+ return s
+}
+
+// SetStreamName sets the StreamName field's value.
+func (s *IncreaseStreamRetentionPeriodInput) SetStreamName(v string) *IncreaseStreamRetentionPeriodInput {
+ s.StreamName = &v
+ return s
+}
+
type IncreaseStreamRetentionPeriodOutput struct {
_ struct{} `type:"structure"`
}
@@ -2562,6 +2983,18 @@ func (s *ListStreamsInput) Validate() error {
return nil
}
+// SetExclusiveStartStreamName sets the ExclusiveStartStreamName field's value.
+func (s *ListStreamsInput) SetExclusiveStartStreamName(v string) *ListStreamsInput {
+ s.ExclusiveStartStreamName = &v
+ return s
+}
+
+// SetLimit sets the Limit field's value.
+func (s *ListStreamsInput) SetLimit(v int64) *ListStreamsInput {
+ s.Limit = &v
+ return s
+}
+
// Represents the output for ListStreams.
type ListStreamsOutput struct {
_ struct{} `type:"structure"`
@@ -2588,6 +3021,18 @@ func (s ListStreamsOutput) GoString() string {
return s.String()
}
+// SetHasMoreStreams sets the HasMoreStreams field's value.
+func (s *ListStreamsOutput) SetHasMoreStreams(v bool) *ListStreamsOutput {
+ s.HasMoreStreams = &v
+ return s
+}
+
+// SetStreamNames sets the StreamNames field's value.
+func (s *ListStreamsOutput) SetStreamNames(v []*string) *ListStreamsOutput {
+ s.StreamNames = v
+ return s
+}
+
// Represents the input for ListTagsForStream.
type ListTagsForStreamInput struct {
_ struct{} `type:"structure"`
@@ -2639,6 +3084,24 @@ func (s *ListTagsForStreamInput) Validate() error {
return nil
}
+// SetExclusiveStartTagKey sets the ExclusiveStartTagKey field's value.
+func (s *ListTagsForStreamInput) SetExclusiveStartTagKey(v string) *ListTagsForStreamInput {
+ s.ExclusiveStartTagKey = &v
+ return s
+}
+
+// SetLimit sets the Limit field's value.
+func (s *ListTagsForStreamInput) SetLimit(v int64) *ListTagsForStreamInput {
+ s.Limit = &v
+ return s
+}
+
+// SetStreamName sets the StreamName field's value.
+func (s *ListTagsForStreamInput) SetStreamName(v string) *ListTagsForStreamInput {
+ s.StreamName = &v
+ return s
+}
+
// Represents the output for ListTagsForStream.
type ListTagsForStreamOutput struct {
_ struct{} `type:"structure"`
@@ -2666,6 +3129,18 @@ func (s ListTagsForStreamOutput) GoString() string {
return s.String()
}
+// SetHasMoreTags sets the HasMoreTags field's value.
+func (s *ListTagsForStreamOutput) SetHasMoreTags(v bool) *ListTagsForStreamOutput {
+ s.HasMoreTags = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *ListTagsForStreamOutput) SetTags(v []*Tag) *ListTagsForStreamOutput {
+ s.Tags = v
+ return s
+}
+
// Represents the input for MergeShards.
type MergeShardsInput struct {
_ struct{} `type:"structure"`
@@ -2724,6 +3199,24 @@ func (s *MergeShardsInput) Validate() error {
return nil
}
+// SetAdjacentShardToMerge sets the AdjacentShardToMerge field's value.
+func (s *MergeShardsInput) SetAdjacentShardToMerge(v string) *MergeShardsInput {
+ s.AdjacentShardToMerge = &v
+ return s
+}
+
+// SetShardToMerge sets the ShardToMerge field's value.
+func (s *MergeShardsInput) SetShardToMerge(v string) *MergeShardsInput {
+ s.ShardToMerge = &v
+ return s
+}
+
+// SetStreamName sets the StreamName field's value.
+func (s *MergeShardsInput) SetStreamName(v string) *MergeShardsInput {
+ s.StreamName = &v
+ return s
+}
+
type MergeShardsOutput struct {
_ struct{} `type:"structure"`
}
@@ -2816,6 +3309,36 @@ func (s *PutRecordInput) Validate() error {
return nil
}
+// SetData sets the Data field's value.
+func (s *PutRecordInput) SetData(v []byte) *PutRecordInput {
+ s.Data = v
+ return s
+}
+
+// SetExplicitHashKey sets the ExplicitHashKey field's value.
+func (s *PutRecordInput) SetExplicitHashKey(v string) *PutRecordInput {
+ s.ExplicitHashKey = &v
+ return s
+}
+
+// SetPartitionKey sets the PartitionKey field's value.
+func (s *PutRecordInput) SetPartitionKey(v string) *PutRecordInput {
+ s.PartitionKey = &v
+ return s
+}
+
+// SetSequenceNumberForOrdering sets the SequenceNumberForOrdering field's value.
+func (s *PutRecordInput) SetSequenceNumberForOrdering(v string) *PutRecordInput {
+ s.SequenceNumberForOrdering = &v
+ return s
+}
+
+// SetStreamName sets the StreamName field's value.
+func (s *PutRecordInput) SetStreamName(v string) *PutRecordInput {
+ s.StreamName = &v
+ return s
+}
+
// Represents the output for PutRecord.
type PutRecordOutput struct {
_ struct{} `type:"structure"`
@@ -2844,6 +3367,18 @@ func (s PutRecordOutput) GoString() string {
return s.String()
}
+// SetSequenceNumber sets the SequenceNumber field's value.
+func (s *PutRecordOutput) SetSequenceNumber(v string) *PutRecordOutput {
+ s.SequenceNumber = &v
+ return s
+}
+
+// SetShardId sets the ShardId field's value.
+func (s *PutRecordOutput) SetShardId(v string) *PutRecordOutput {
+ s.ShardId = &v
+ return s
+}
+
// A PutRecords request.
type PutRecordsInput struct {
_ struct{} `type:"structure"`
@@ -2901,6 +3436,18 @@ func (s *PutRecordsInput) Validate() error {
return nil
}
+// SetRecords sets the Records field's value.
+func (s *PutRecordsInput) SetRecords(v []*PutRecordsRequestEntry) *PutRecordsInput {
+ s.Records = v
+ return s
+}
+
+// SetStreamName sets the StreamName field's value.
+func (s *PutRecordsInput) SetStreamName(v string) *PutRecordsInput {
+ s.StreamName = &v
+ return s
+}
+
// PutRecords results.
type PutRecordsOutput struct {
_ struct{} `type:"structure"`
@@ -2928,6 +3475,18 @@ func (s PutRecordsOutput) GoString() string {
return s.String()
}
+// SetFailedRecordCount sets the FailedRecordCount field's value.
+func (s *PutRecordsOutput) SetFailedRecordCount(v int64) *PutRecordsOutput {
+ s.FailedRecordCount = &v
+ return s
+}
+
+// SetRecords sets the Records field's value.
+func (s *PutRecordsOutput) SetRecords(v []*PutRecordsResultEntry) *PutRecordsOutput {
+ s.Records = v
+ return s
+}
+
// Represents the output for PutRecords.
type PutRecordsRequestEntry struct {
_ struct{} `type:"structure"`
@@ -2988,6 +3547,24 @@ func (s *PutRecordsRequestEntry) Validate() error {
return nil
}
+// SetData sets the Data field's value.
+func (s *PutRecordsRequestEntry) SetData(v []byte) *PutRecordsRequestEntry {
+ s.Data = v
+ return s
+}
+
+// SetExplicitHashKey sets the ExplicitHashKey field's value.
+func (s *PutRecordsRequestEntry) SetExplicitHashKey(v string) *PutRecordsRequestEntry {
+ s.ExplicitHashKey = &v
+ return s
+}
+
+// SetPartitionKey sets the PartitionKey field's value.
+func (s *PutRecordsRequestEntry) SetPartitionKey(v string) *PutRecordsRequestEntry {
+ s.PartitionKey = &v
+ return s
+}
+
// Represents the result of an individual record from a PutRecords request.
// 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
@@ -3022,6 +3599,30 @@ func (s PutRecordsResultEntry) GoString() string {
return s.String()
}
+// SetErrorCode sets the ErrorCode field's value.
+func (s *PutRecordsResultEntry) SetErrorCode(v string) *PutRecordsResultEntry {
+ s.ErrorCode = &v
+ return s
+}
+
+// SetErrorMessage sets the ErrorMessage field's value.
+func (s *PutRecordsResultEntry) SetErrorMessage(v string) *PutRecordsResultEntry {
+ s.ErrorMessage = &v
+ return s
+}
+
+// SetSequenceNumber sets the SequenceNumber field's value.
+func (s *PutRecordsResultEntry) SetSequenceNumber(v string) *PutRecordsResultEntry {
+ s.SequenceNumber = &v
+ return s
+}
+
+// SetShardId sets the ShardId field's value.
+func (s *PutRecordsResultEntry) SetShardId(v string) *PutRecordsResultEntry {
+ s.ShardId = &v
+ 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.
type Record struct {
@@ -3062,6 +3663,30 @@ func (s Record) GoString() string {
return s.String()
}
+// SetApproximateArrivalTimestamp sets the ApproximateArrivalTimestamp field's value.
+func (s *Record) SetApproximateArrivalTimestamp(v time.Time) *Record {
+ s.ApproximateArrivalTimestamp = &v
+ return s
+}
+
+// SetData sets the Data field's value.
+func (s *Record) SetData(v []byte) *Record {
+ s.Data = v
+ return s
+}
+
+// SetPartitionKey sets the PartitionKey field's value.
+func (s *Record) SetPartitionKey(v string) *Record {
+ s.PartitionKey = &v
+ return s
+}
+
+// SetSequenceNumber sets the SequenceNumber field's value.
+func (s *Record) SetSequenceNumber(v string) *Record {
+ s.SequenceNumber = &v
+ return s
+}
+
// Represents the input for RemoveTagsFromStream.
type RemoveTagsFromStreamInput struct {
_ struct{} `type:"structure"`
@@ -3109,6 +3734,18 @@ func (s *RemoveTagsFromStreamInput) Validate() error {
return nil
}
+// SetStreamName sets the StreamName field's value.
+func (s *RemoveTagsFromStreamInput) SetStreamName(v string) *RemoveTagsFromStreamInput {
+ s.StreamName = &v
+ return s
+}
+
+// SetTagKeys sets the TagKeys field's value.
+func (s *RemoveTagsFromStreamInput) SetTagKeys(v []*string) *RemoveTagsFromStreamInput {
+ s.TagKeys = v
+ return s
+}
+
type RemoveTagsFromStreamOutput struct {
_ struct{} `type:"structure"`
}
@@ -3147,6 +3784,18 @@ func (s SequenceNumberRange) GoString() string {
return s.String()
}
+// SetEndingSequenceNumber sets the EndingSequenceNumber field's value.
+func (s *SequenceNumberRange) SetEndingSequenceNumber(v string) *SequenceNumberRange {
+ s.EndingSequenceNumber = &v
+ return s
+}
+
+// SetStartingSequenceNumber sets the StartingSequenceNumber field's value.
+func (s *SequenceNumberRange) SetStartingSequenceNumber(v string) *SequenceNumberRange {
+ s.StartingSequenceNumber = &v
+ return s
+}
+
// A uniquely identified group of data records in an Amazon Kinesis stream.
type Shard struct {
_ struct{} `type:"structure"`
@@ -3184,6 +3833,36 @@ func (s Shard) GoString() string {
return s.String()
}
+// SetAdjacentParentShardId sets the AdjacentParentShardId field's value.
+func (s *Shard) SetAdjacentParentShardId(v string) *Shard {
+ s.AdjacentParentShardId = &v
+ return s
+}
+
+// SetHashKeyRange sets the HashKeyRange field's value.
+func (s *Shard) SetHashKeyRange(v *HashKeyRange) *Shard {
+ s.HashKeyRange = v
+ return s
+}
+
+// SetParentShardId sets the ParentShardId field's value.
+func (s *Shard) SetParentShardId(v string) *Shard {
+ s.ParentShardId = &v
+ return s
+}
+
+// SetSequenceNumberRange sets the SequenceNumberRange field's value.
+func (s *Shard) SetSequenceNumberRange(v *SequenceNumberRange) *Shard {
+ s.SequenceNumberRange = v
+ return s
+}
+
+// SetShardId sets the ShardId field's value.
+func (s *Shard) SetShardId(v string) *Shard {
+ s.ShardId = &v
+ return s
+}
+
// Represents the input for SplitShard.
type SplitShardInput struct {
_ struct{} `type:"structure"`
@@ -3245,6 +3924,24 @@ func (s *SplitShardInput) Validate() error {
return nil
}
+// SetNewStartingHashKey sets the NewStartingHashKey field's value.
+func (s *SplitShardInput) SetNewStartingHashKey(v string) *SplitShardInput {
+ s.NewStartingHashKey = &v
+ return s
+}
+
+// SetShardToSplit sets the ShardToSplit field's value.
+func (s *SplitShardInput) SetShardToSplit(v string) *SplitShardInput {
+ s.ShardToSplit = &v
+ return s
+}
+
+// SetStreamName sets the StreamName field's value.
+func (s *SplitShardInput) SetStreamName(v string) *SplitShardInput {
+ s.StreamName = &v
+ return s
+}
+
type SplitShardOutput struct {
_ struct{} `type:"structure"`
}
@@ -3276,7 +3973,7 @@ type StreamDescription struct {
// The current retention period, in hours.
//
// RetentionPeriodHours is a required field
- RetentionPeriodHours *int64 `min:"24" type:"integer" required:"true"`
+ RetentionPeriodHours *int64 `min:"1" type:"integer" required:"true"`
// The shards that comprise the stream.
//
@@ -3288,6 +3985,11 @@ type StreamDescription struct {
// 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
@@ -3298,11 +4000,14 @@ type StreamDescription struct {
//
// * CREATING - The stream is being created. Amazon Kinesis 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.
+ //
// * 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.
@@ -3321,6 +4026,54 @@ func (s StreamDescription) GoString() string {
return s.String()
}
+// SetEnhancedMonitoring sets the EnhancedMonitoring field's value.
+func (s *StreamDescription) SetEnhancedMonitoring(v []*EnhancedMetrics) *StreamDescription {
+ s.EnhancedMonitoring = v
+ return s
+}
+
+// SetHasMoreShards sets the HasMoreShards field's value.
+func (s *StreamDescription) SetHasMoreShards(v bool) *StreamDescription {
+ s.HasMoreShards = &v
+ return s
+}
+
+// SetRetentionPeriodHours sets the RetentionPeriodHours field's value.
+func (s *StreamDescription) SetRetentionPeriodHours(v int64) *StreamDescription {
+ s.RetentionPeriodHours = &v
+ return s
+}
+
+// SetShards sets the Shards field's value.
+func (s *StreamDescription) SetShards(v []*Shard) *StreamDescription {
+ s.Shards = v
+ return s
+}
+
+// SetStreamARN sets the StreamARN field's value.
+func (s *StreamDescription) SetStreamARN(v string) *StreamDescription {
+ s.StreamARN = &v
+ return s
+}
+
+// SetStreamCreationTimestamp sets the StreamCreationTimestamp field's value.
+func (s *StreamDescription) SetStreamCreationTimestamp(v time.Time) *StreamDescription {
+ s.StreamCreationTimestamp = &v
+ return s
+}
+
+// SetStreamName sets the StreamName field's value.
+func (s *StreamDescription) SetStreamName(v string) *StreamDescription {
+ s.StreamName = &v
+ return s
+}
+
+// SetStreamStatus sets the StreamStatus field's value.
+func (s *StreamDescription) SetStreamStatus(v string) *StreamDescription {
+ s.StreamStatus = &v
+ return s
+}
+
// Metadata assigned to the stream, consisting of a key-value pair.
type Tag struct {
_ struct{} `type:"structure"`
@@ -3347,6 +4100,131 @@ 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
+}
+
+type UpdateShardCountInput struct {
+ _ struct{} `type:"structure"`
+
+ // The scaling type. Uniform scaling creates shards of equal size.
+ //
+ // ScalingType is a required field
+ ScalingType *string `type:"string" required:"true" enum:"ScalingType"`
+
+ // The name of the stream.
+ //
+ // StreamName is a required field
+ StreamName *string `min:"1" type:"string" required:"true"`
+
+ // The new number of shards.
+ //
+ // TargetShardCount is a required field
+ TargetShardCount *int64 `min:"1" type:"integer" required:"true"`
+}
+
+// String returns the string representation
+func (s UpdateShardCountInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s UpdateShardCountInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *UpdateShardCountInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "UpdateShardCountInput"}
+ if s.ScalingType == nil {
+ invalidParams.Add(request.NewErrParamRequired("ScalingType"))
+ }
+ if s.StreamName == nil {
+ invalidParams.Add(request.NewErrParamRequired("StreamName"))
+ }
+ if s.StreamName != nil && len(*s.StreamName) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("StreamName", 1))
+ }
+ if s.TargetShardCount == nil {
+ invalidParams.Add(request.NewErrParamRequired("TargetShardCount"))
+ }
+ if s.TargetShardCount != nil && *s.TargetShardCount < 1 {
+ invalidParams.Add(request.NewErrParamMinValue("TargetShardCount", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetScalingType sets the ScalingType field's value.
+func (s *UpdateShardCountInput) SetScalingType(v string) *UpdateShardCountInput {
+ s.ScalingType = &v
+ return s
+}
+
+// SetStreamName sets the StreamName field's value.
+func (s *UpdateShardCountInput) SetStreamName(v string) *UpdateShardCountInput {
+ s.StreamName = &v
+ return s
+}
+
+// SetTargetShardCount sets the TargetShardCount field's value.
+func (s *UpdateShardCountInput) SetTargetShardCount(v int64) *UpdateShardCountInput {
+ s.TargetShardCount = &v
+ return s
+}
+
+type UpdateShardCountOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The current number of shards.
+ CurrentShardCount *int64 `min:"1" type:"integer"`
+
+ // The name of the stream.
+ StreamName *string `min:"1" type:"string"`
+
+ // The updated number of shards.
+ TargetShardCount *int64 `min:"1" type:"integer"`
+}
+
+// String returns the string representation
+func (s UpdateShardCountOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s UpdateShardCountOutput) GoString() string {
+ return s.String()
+}
+
+// SetCurrentShardCount sets the CurrentShardCount field's value.
+func (s *UpdateShardCountOutput) SetCurrentShardCount(v int64) *UpdateShardCountOutput {
+ s.CurrentShardCount = &v
+ return s
+}
+
+// SetStreamName sets the StreamName field's value.
+func (s *UpdateShardCountOutput) SetStreamName(v string) *UpdateShardCountOutput {
+ s.StreamName = &v
+ return s
+}
+
+// SetTargetShardCount sets the TargetShardCount field's value.
+func (s *UpdateShardCountOutput) SetTargetShardCount(v int64) *UpdateShardCountOutput {
+ s.TargetShardCount = &v
+ return s
+}
+
const (
// MetricsNameIncomingBytes is a MetricsName enum value
MetricsNameIncomingBytes = "IncomingBytes"
@@ -3373,6 +4251,11 @@ const (
MetricsNameAll = "ALL"
)
+const (
+ // ScalingTypeUniformScaling is a ScalingType enum value
+ ScalingTypeUniformScaling = "UNIFORM_SCALING"
+)
+
const (
// ShardIteratorTypeAtSequenceNumber is a ShardIteratorType enum value
ShardIteratorTypeAtSequenceNumber = "AT_SEQUENCE_NUMBER"
diff --git a/vendor/github.com/aws/aws-sdk-go/service/kinesis/examples_test.go b/vendor/github.com/aws/aws-sdk-go/service/kinesis/examples_test.go
index 5092392..5a4eeec 100644
--- a/vendor/github.com/aws/aws-sdk-go/service/kinesis/examples_test.go
+++ b/vendor/github.com/aws/aws-sdk-go/service/kinesis/examples_test.go
@@ -121,6 +121,29 @@ func ExampleKinesis_DeleteStream() {
fmt.Println(resp)
}
+func ExampleKinesis_DescribeLimits() {
+ sess, err := session.NewSession()
+ if err != nil {
+ fmt.Println("failed to create session,", err)
+ return
+ }
+
+ svc := kinesis.New(sess)
+
+ var params *kinesis.DescribeLimitsInput
+ resp, err := svc.DescribeLimits(params)
+
+ if err != nil {
+ // Print the error, cast err to awserr.Error to get the Code and
+ // Message from an error.
+ fmt.Println(err.Error())
+ return
+ }
+
+ // Pretty-print the response data.
+ fmt.Println(resp)
+}
+
func ExampleKinesis_DescribeStream() {
sess, err := session.NewSession()
if err != nil {
@@ -484,3 +507,30 @@ func ExampleKinesis_SplitShard() {
// Pretty-print the response data.
fmt.Println(resp)
}
+
+func ExampleKinesis_UpdateShardCount() {
+ sess, err := session.NewSession()
+ if err != nil {
+ fmt.Println("failed to create session,", err)
+ return
+ }
+
+ svc := kinesis.New(sess)
+
+ params := &kinesis.UpdateShardCountInput{
+ ScalingType: aws.String("ScalingType"), // Required
+ StreamName: aws.String("StreamName"), // Required
+ TargetShardCount: aws.Int64(1), // Required
+ }
+ resp, err := svc.UpdateShardCount(params)
+
+ if err != nil {
+ // Print the error, cast err to awserr.Error to get the Code and
+ // Message from an error.
+ fmt.Println(err.Error())
+ return
+ }
+
+ // Pretty-print the response data.
+ fmt.Println(resp)
+}
diff --git a/vendor/github.com/aws/aws-sdk-go/service/kinesis/kinesisiface/interface.go b/vendor/github.com/aws/aws-sdk-go/service/kinesis/kinesisiface/interface.go
index 1c6e2b7..524d237 100644
--- a/vendor/github.com/aws/aws-sdk-go/service/kinesis/kinesisiface/interface.go
+++ b/vendor/github.com/aws/aws-sdk-go/service/kinesis/kinesisiface/interface.go
@@ -75,6 +75,10 @@ type KinesisAPI interface {
DeleteStream(*kinesis.DeleteStreamInput) (*kinesis.DeleteStreamOutput, error)
+ DescribeLimitsRequest(*kinesis.DescribeLimitsInput) (*request.Request, *kinesis.DescribeLimitsOutput)
+
+ DescribeLimits(*kinesis.DescribeLimitsInput) (*kinesis.DescribeLimitsOutput, error)
+
DescribeStreamRequest(*kinesis.DescribeStreamInput) (*request.Request, *kinesis.DescribeStreamOutput)
DescribeStream(*kinesis.DescribeStreamInput) (*kinesis.DescribeStreamOutput, error)
@@ -131,6 +135,10 @@ type KinesisAPI interface {
SplitShard(*kinesis.SplitShardInput) (*kinesis.SplitShardOutput, error)
+ UpdateShardCountRequest(*kinesis.UpdateShardCountInput) (*request.Request, *kinesis.UpdateShardCountOutput)
+
+ UpdateShardCount(*kinesis.UpdateShardCountInput) (*kinesis.UpdateShardCountOutput, error)
+
WaitUntilStreamExists(*kinesis.DescribeStreamInput) error
}
diff --git a/vendor/github.com/aws/aws-sdk-go/service/kinesisanalytics/api.go b/vendor/github.com/aws/aws-sdk-go/service/kinesisanalytics/api.go
index 4303831..27ff81d 100644
--- a/vendor/github.com/aws/aws-sdk-go/service/kinesisanalytics/api.go
+++ b/vendor/github.com/aws/aws-sdk-go/service/kinesisanalytics/api.go
@@ -1156,6 +1156,24 @@ func (s *AddApplicationInputInput) Validate() error {
return nil
}
+// SetApplicationName sets the ApplicationName field's value.
+func (s *AddApplicationInputInput) SetApplicationName(v string) *AddApplicationInputInput {
+ s.ApplicationName = &v
+ return s
+}
+
+// SetCurrentApplicationVersionId sets the CurrentApplicationVersionId field's value.
+func (s *AddApplicationInputInput) SetCurrentApplicationVersionId(v int64) *AddApplicationInputInput {
+ s.CurrentApplicationVersionId = &v
+ return s
+}
+
+// SetInput sets the Input field's value.
+func (s *AddApplicationInputInput) SetInput(v *Input) *AddApplicationInputInput {
+ s.Input = v
+ return s
+}
+
type AddApplicationInputOutput struct {
_ struct{} `type:"structure"`
}
@@ -1235,6 +1253,24 @@ func (s *AddApplicationOutputInput) Validate() error {
return nil
}
+// SetApplicationName sets the ApplicationName field's value.
+func (s *AddApplicationOutputInput) SetApplicationName(v string) *AddApplicationOutputInput {
+ s.ApplicationName = &v
+ return s
+}
+
+// SetCurrentApplicationVersionId sets the CurrentApplicationVersionId field's value.
+func (s *AddApplicationOutputInput) SetCurrentApplicationVersionId(v int64) *AddApplicationOutputInput {
+ s.CurrentApplicationVersionId = &v
+ return s
+}
+
+// SetOutput sets the Output field's value.
+func (s *AddApplicationOutputInput) SetOutput(v *Output) *AddApplicationOutputInput {
+ s.Output = v
+ return s
+}
+
type AddApplicationOutputOutput struct {
_ struct{} `type:"structure"`
}
@@ -1316,6 +1352,24 @@ func (s *AddApplicationReferenceDataSourceInput) Validate() error {
return nil
}
+// SetApplicationName sets the ApplicationName field's value.
+func (s *AddApplicationReferenceDataSourceInput) SetApplicationName(v string) *AddApplicationReferenceDataSourceInput {
+ s.ApplicationName = &v
+ return s
+}
+
+// SetCurrentApplicationVersionId sets the CurrentApplicationVersionId field's value.
+func (s *AddApplicationReferenceDataSourceInput) SetCurrentApplicationVersionId(v int64) *AddApplicationReferenceDataSourceInput {
+ s.CurrentApplicationVersionId = &v
+ return s
+}
+
+// SetReferenceDataSource sets the ReferenceDataSource field's value.
+func (s *AddApplicationReferenceDataSourceInput) SetReferenceDataSource(v *ReferenceDataSource) *AddApplicationReferenceDataSourceInput {
+ s.ReferenceDataSource = v
+ return s
+}
+
type AddApplicationReferenceDataSourceOutput struct {
_ struct{} `type:"structure"`
}
@@ -1391,6 +1445,72 @@ func (s ApplicationDetail) GoString() string {
return s.String()
}
+// SetApplicationARN sets the ApplicationARN field's value.
+func (s *ApplicationDetail) SetApplicationARN(v string) *ApplicationDetail {
+ s.ApplicationARN = &v
+ return s
+}
+
+// SetApplicationCode sets the ApplicationCode field's value.
+func (s *ApplicationDetail) SetApplicationCode(v string) *ApplicationDetail {
+ s.ApplicationCode = &v
+ return s
+}
+
+// SetApplicationDescription sets the ApplicationDescription field's value.
+func (s *ApplicationDetail) SetApplicationDescription(v string) *ApplicationDetail {
+ s.ApplicationDescription = &v
+ return s
+}
+
+// SetApplicationName sets the ApplicationName field's value.
+func (s *ApplicationDetail) SetApplicationName(v string) *ApplicationDetail {
+ s.ApplicationName = &v
+ return s
+}
+
+// SetApplicationStatus sets the ApplicationStatus field's value.
+func (s *ApplicationDetail) SetApplicationStatus(v string) *ApplicationDetail {
+ s.ApplicationStatus = &v
+ return s
+}
+
+// SetApplicationVersionId sets the ApplicationVersionId field's value.
+func (s *ApplicationDetail) SetApplicationVersionId(v int64) *ApplicationDetail {
+ s.ApplicationVersionId = &v
+ return s
+}
+
+// SetCreateTimestamp sets the CreateTimestamp field's value.
+func (s *ApplicationDetail) SetCreateTimestamp(v time.Time) *ApplicationDetail {
+ s.CreateTimestamp = &v
+ return s
+}
+
+// SetInputDescriptions sets the InputDescriptions field's value.
+func (s *ApplicationDetail) SetInputDescriptions(v []*InputDescription) *ApplicationDetail {
+ s.InputDescriptions = v
+ return s
+}
+
+// SetLastUpdateTimestamp sets the LastUpdateTimestamp field's value.
+func (s *ApplicationDetail) SetLastUpdateTimestamp(v time.Time) *ApplicationDetail {
+ s.LastUpdateTimestamp = &v
+ return s
+}
+
+// SetOutputDescriptions sets the OutputDescriptions field's value.
+func (s *ApplicationDetail) SetOutputDescriptions(v []*OutputDescription) *ApplicationDetail {
+ s.OutputDescriptions = v
+ return s
+}
+
+// SetReferenceDataSourceDescriptions sets the ReferenceDataSourceDescriptions field's value.
+func (s *ApplicationDetail) SetReferenceDataSourceDescriptions(v []*ReferenceDataSourceDescription) *ApplicationDetail {
+ s.ReferenceDataSourceDescriptions = v
+ return s
+}
+
// Provides application summary information, including the application Amazon
// Resource Name (ARN), name, and status.
type ApplicationSummary struct {
@@ -1422,6 +1542,24 @@ func (s ApplicationSummary) GoString() string {
return s.String()
}
+// SetApplicationARN sets the ApplicationARN field's value.
+func (s *ApplicationSummary) SetApplicationARN(v string) *ApplicationSummary {
+ s.ApplicationARN = &v
+ return s
+}
+
+// SetApplicationName sets the ApplicationName field's value.
+func (s *ApplicationSummary) SetApplicationName(v string) *ApplicationSummary {
+ s.ApplicationName = &v
+ return s
+}
+
+// SetApplicationStatus sets the ApplicationStatus field's value.
+func (s *ApplicationSummary) SetApplicationStatus(v string) *ApplicationSummary {
+ s.ApplicationStatus = &v
+ return s
+}
+
// Describes updates to apply to an existing Kinesis Analytics application.
type ApplicationUpdate struct {
_ struct{} `type:"structure"`
@@ -1489,6 +1627,30 @@ func (s *ApplicationUpdate) Validate() error {
return nil
}
+// SetApplicationCodeUpdate sets the ApplicationCodeUpdate field's value.
+func (s *ApplicationUpdate) SetApplicationCodeUpdate(v string) *ApplicationUpdate {
+ s.ApplicationCodeUpdate = &v
+ return s
+}
+
+// SetInputUpdates sets the InputUpdates field's value.
+func (s *ApplicationUpdate) SetInputUpdates(v []*InputUpdate) *ApplicationUpdate {
+ s.InputUpdates = v
+ return s
+}
+
+// SetOutputUpdates sets the OutputUpdates field's value.
+func (s *ApplicationUpdate) SetOutputUpdates(v []*OutputUpdate) *ApplicationUpdate {
+ s.OutputUpdates = v
+ return s
+}
+
+// SetReferenceDataSourceUpdates sets the ReferenceDataSourceUpdates field's value.
+func (s *ApplicationUpdate) SetReferenceDataSourceUpdates(v []*ReferenceDataSourceUpdate) *ApplicationUpdate {
+ s.ReferenceDataSourceUpdates = v
+ return s
+}
+
// Provides additional mapping information when the record format uses delimiters,
// such as CSV. For example, the following sample records use CSV format, where
// the records use the '\n' as the row delimiter and a comma (",") as the column
@@ -1538,6 +1700,18 @@ func (s *CSVMappingParameters) Validate() error {
return nil
}
+// SetRecordColumnDelimiter sets the RecordColumnDelimiter field's value.
+func (s *CSVMappingParameters) SetRecordColumnDelimiter(v string) *CSVMappingParameters {
+ s.RecordColumnDelimiter = &v
+ return s
+}
+
+// SetRecordRowDelimiter sets the RecordRowDelimiter field's value.
+func (s *CSVMappingParameters) SetRecordRowDelimiter(v string) *CSVMappingParameters {
+ s.RecordRowDelimiter = &v
+ return s
+}
+
// TBD
type CreateApplicationInput struct {
_ struct{} `type:"structure"`
@@ -1646,6 +1820,36 @@ func (s *CreateApplicationInput) Validate() error {
return nil
}
+// SetApplicationCode sets the ApplicationCode field's value.
+func (s *CreateApplicationInput) SetApplicationCode(v string) *CreateApplicationInput {
+ s.ApplicationCode = &v
+ return s
+}
+
+// SetApplicationDescription sets the ApplicationDescription field's value.
+func (s *CreateApplicationInput) SetApplicationDescription(v string) *CreateApplicationInput {
+ s.ApplicationDescription = &v
+ return s
+}
+
+// SetApplicationName sets the ApplicationName field's value.
+func (s *CreateApplicationInput) SetApplicationName(v string) *CreateApplicationInput {
+ s.ApplicationName = &v
+ return s
+}
+
+// SetInputs sets the Inputs field's value.
+func (s *CreateApplicationInput) SetInputs(v []*Input) *CreateApplicationInput {
+ s.Inputs = v
+ return s
+}
+
+// SetOutputs sets the Outputs field's value.
+func (s *CreateApplicationInput) SetOutputs(v []*Output) *CreateApplicationInput {
+ s.Outputs = v
+ return s
+}
+
// TBD
type CreateApplicationOutput struct {
_ struct{} `type:"structure"`
@@ -1668,6 +1872,12 @@ func (s CreateApplicationOutput) GoString() string {
return s.String()
}
+// SetApplicationSummary sets the ApplicationSummary field's value.
+func (s *CreateApplicationOutput) SetApplicationSummary(v *ApplicationSummary) *CreateApplicationOutput {
+ s.ApplicationSummary = v
+ return s
+}
+
type DeleteApplicationInput struct {
_ struct{} `type:"structure"`
@@ -1711,6 +1921,18 @@ func (s *DeleteApplicationInput) Validate() error {
return nil
}
+// SetApplicationName sets the ApplicationName field's value.
+func (s *DeleteApplicationInput) SetApplicationName(v string) *DeleteApplicationInput {
+ s.ApplicationName = &v
+ return s
+}
+
+// SetCreateTimestamp sets the CreateTimestamp field's value.
+func (s *DeleteApplicationInput) SetCreateTimestamp(v time.Time) *DeleteApplicationInput {
+ s.CreateTimestamp = &v
+ return s
+}
+
type DeleteApplicationOutput struct {
_ struct{} `type:"structure"`
}
@@ -1789,6 +2011,24 @@ func (s *DeleteApplicationOutputInput) Validate() error {
return nil
}
+// SetApplicationName sets the ApplicationName field's value.
+func (s *DeleteApplicationOutputInput) SetApplicationName(v string) *DeleteApplicationOutputInput {
+ s.ApplicationName = &v
+ return s
+}
+
+// SetCurrentApplicationVersionId sets the CurrentApplicationVersionId field's value.
+func (s *DeleteApplicationOutputInput) SetCurrentApplicationVersionId(v int64) *DeleteApplicationOutputInput {
+ s.CurrentApplicationVersionId = &v
+ return s
+}
+
+// SetOutputId sets the OutputId field's value.
+func (s *DeleteApplicationOutputInput) SetOutputId(v string) *DeleteApplicationOutputInput {
+ s.OutputId = &v
+ return s
+}
+
type DeleteApplicationOutputOutput struct {
_ struct{} `type:"structure"`
}
@@ -1865,6 +2105,24 @@ func (s *DeleteApplicationReferenceDataSourceInput) Validate() error {
return nil
}
+// SetApplicationName sets the ApplicationName field's value.
+func (s *DeleteApplicationReferenceDataSourceInput) SetApplicationName(v string) *DeleteApplicationReferenceDataSourceInput {
+ s.ApplicationName = &v
+ return s
+}
+
+// SetCurrentApplicationVersionId sets the CurrentApplicationVersionId field's value.
+func (s *DeleteApplicationReferenceDataSourceInput) SetCurrentApplicationVersionId(v int64) *DeleteApplicationReferenceDataSourceInput {
+ s.CurrentApplicationVersionId = &v
+ return s
+}
+
+// SetReferenceId sets the ReferenceId field's value.
+func (s *DeleteApplicationReferenceDataSourceInput) SetReferenceId(v string) *DeleteApplicationReferenceDataSourceInput {
+ s.ReferenceId = &v
+ return s
+}
+
type DeleteApplicationReferenceDataSourceOutput struct {
_ struct{} `type:"structure"`
}
@@ -1914,6 +2172,12 @@ func (s *DescribeApplicationInput) Validate() error {
return nil
}
+// SetApplicationName sets the ApplicationName field's value.
+func (s *DescribeApplicationInput) SetApplicationName(v string) *DescribeApplicationInput {
+ s.ApplicationName = &v
+ return s
+}
+
type DescribeApplicationOutput struct {
_ struct{} `type:"structure"`
@@ -1935,6 +2199,12 @@ func (s DescribeApplicationOutput) GoString() string {
return s.String()
}
+// SetApplicationDetail sets the ApplicationDetail field's value.
+func (s *DescribeApplicationOutput) SetApplicationDetail(v *ApplicationDetail) *DescribeApplicationOutput {
+ s.ApplicationDetail = v
+ return s
+}
+
// Describes the data format when records are written to the destination. For
// more information, see Configuring Application Output (http://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-output.html).
type DestinationSchema struct {
@@ -1954,6 +2224,12 @@ func (s DestinationSchema) GoString() string {
return s.String()
}
+// SetRecordFormatType sets the RecordFormatType field's value.
+func (s *DestinationSchema) SetRecordFormatType(v string) *DestinationSchema {
+ s.RecordFormatType = &v
+ return s
+}
+
type DiscoverInputSchemaInput struct {
_ struct{} `type:"structure"`
@@ -2010,6 +2286,24 @@ func (s *DiscoverInputSchemaInput) Validate() error {
return nil
}
+// SetInputStartingPositionConfiguration sets the InputStartingPositionConfiguration field's value.
+func (s *DiscoverInputSchemaInput) SetInputStartingPositionConfiguration(v *InputStartingPositionConfiguration) *DiscoverInputSchemaInput {
+ s.InputStartingPositionConfiguration = v
+ return s
+}
+
+// SetResourceARN sets the ResourceARN field's value.
+func (s *DiscoverInputSchemaInput) SetResourceARN(v string) *DiscoverInputSchemaInput {
+ s.ResourceARN = &v
+ return s
+}
+
+// SetRoleARN sets the RoleARN field's value.
+func (s *DiscoverInputSchemaInput) SetRoleARN(v string) *DiscoverInputSchemaInput {
+ s.RoleARN = &v
+ return s
+}
+
type DiscoverInputSchemaOutput struct {
_ struct{} `type:"structure"`
@@ -2036,6 +2330,24 @@ func (s DiscoverInputSchemaOutput) GoString() string {
return s.String()
}
+// SetInputSchema sets the InputSchema field's value.
+func (s *DiscoverInputSchemaOutput) SetInputSchema(v *SourceSchema) *DiscoverInputSchemaOutput {
+ s.InputSchema = v
+ return s
+}
+
+// SetParsedInputRecords sets the ParsedInputRecords field's value.
+func (s *DiscoverInputSchemaOutput) SetParsedInputRecords(v [][]*string) *DiscoverInputSchemaOutput {
+ s.ParsedInputRecords = v
+ return s
+}
+
+// SetRawInputRecords sets the RawInputRecords field's value.
+func (s *DiscoverInputSchemaOutput) SetRawInputRecords(v []*string) *DiscoverInputSchemaOutput {
+ s.RawInputRecords = v
+ return s
+}
+
// When you configure the application input, you specify the streaming source,
// the in-application stream name that is created, and the mapping between the
// two. For more information, see Configuring Application Input (http://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-input.html).
@@ -2127,6 +2439,36 @@ func (s *Input) Validate() error {
return nil
}
+// SetInputParallelism sets the InputParallelism field's value.
+func (s *Input) SetInputParallelism(v *InputParallelism) *Input {
+ s.InputParallelism = v
+ return s
+}
+
+// SetInputSchema sets the InputSchema field's value.
+func (s *Input) SetInputSchema(v *SourceSchema) *Input {
+ s.InputSchema = v
+ return s
+}
+
+// SetKinesisFirehoseInput sets the KinesisFirehoseInput field's value.
+func (s *Input) SetKinesisFirehoseInput(v *KinesisFirehoseInput) *Input {
+ s.KinesisFirehoseInput = v
+ return s
+}
+
+// SetKinesisStreamsInput sets the KinesisStreamsInput field's value.
+func (s *Input) SetKinesisStreamsInput(v *KinesisStreamsInput) *Input {
+ s.KinesisStreamsInput = v
+ return s
+}
+
+// SetNamePrefix sets the NamePrefix field's value.
+func (s *Input) SetNamePrefix(v string) *Input {
+ s.NamePrefix = &v
+ return s
+}
+
// When you start your application, you provide this configuration, which identifies
// the input source and the point in the input source at which you want the
// application to start processing records.
@@ -2174,6 +2516,18 @@ func (s *InputConfiguration) Validate() error {
return nil
}
+// SetId sets the Id field's value.
+func (s *InputConfiguration) SetId(v string) *InputConfiguration {
+ s.Id = &v
+ return s
+}
+
+// SetInputStartingPositionConfiguration sets the InputStartingPositionConfiguration field's value.
+func (s *InputConfiguration) SetInputStartingPositionConfiguration(v *InputStartingPositionConfiguration) *InputConfiguration {
+ s.InputStartingPositionConfiguration = v
+ return s
+}
+
// Describes the application input configuration. For more information, see
// Configuring Application Input (http://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-input.html).
type InputDescription struct {
@@ -2222,6 +2576,54 @@ func (s InputDescription) GoString() string {
return s.String()
}
+// SetInAppStreamNames sets the InAppStreamNames field's value.
+func (s *InputDescription) SetInAppStreamNames(v []*string) *InputDescription {
+ s.InAppStreamNames = v
+ return s
+}
+
+// SetInputId sets the InputId field's value.
+func (s *InputDescription) SetInputId(v string) *InputDescription {
+ s.InputId = &v
+ return s
+}
+
+// SetInputParallelism sets the InputParallelism field's value.
+func (s *InputDescription) SetInputParallelism(v *InputParallelism) *InputDescription {
+ s.InputParallelism = v
+ return s
+}
+
+// SetInputSchema sets the InputSchema field's value.
+func (s *InputDescription) SetInputSchema(v *SourceSchema) *InputDescription {
+ s.InputSchema = v
+ return s
+}
+
+// SetInputStartingPositionConfiguration sets the InputStartingPositionConfiguration field's value.
+func (s *InputDescription) SetInputStartingPositionConfiguration(v *InputStartingPositionConfiguration) *InputDescription {
+ s.InputStartingPositionConfiguration = v
+ return s
+}
+
+// SetKinesisFirehoseInputDescription sets the KinesisFirehoseInputDescription field's value.
+func (s *InputDescription) SetKinesisFirehoseInputDescription(v *KinesisFirehoseInputDescription) *InputDescription {
+ s.KinesisFirehoseInputDescription = v
+ return s
+}
+
+// SetKinesisStreamsInputDescription sets the KinesisStreamsInputDescription field's value.
+func (s *InputDescription) SetKinesisStreamsInputDescription(v *KinesisStreamsInputDescription) *InputDescription {
+ s.KinesisStreamsInputDescription = v
+ return s
+}
+
+// SetNamePrefix sets the NamePrefix field's value.
+func (s *InputDescription) SetNamePrefix(v string) *InputDescription {
+ s.NamePrefix = &v
+ return s
+}
+
// Describes the number of in-application streams to create for a given streaming
// source. For information about parallellism, see Configuring Application Input
// (http://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-input.html).
@@ -2256,6 +2658,12 @@ func (s *InputParallelism) Validate() error {
return nil
}
+// SetCount sets the Count field's value.
+func (s *InputParallelism) SetCount(v int64) *InputParallelism {
+ s.Count = &v
+ return s
+}
+
// Provides updates to the parallelism count.
type InputParallelismUpdate struct {
_ struct{} `type:"structure"`
@@ -2287,6 +2695,12 @@ func (s *InputParallelismUpdate) Validate() error {
return nil
}
+// SetCountUpdate sets the CountUpdate field's value.
+func (s *InputParallelismUpdate) SetCountUpdate(v int64) *InputParallelismUpdate {
+ s.CountUpdate = &v
+ return s
+}
+
// Describes updates for the application's input schema.
type InputSchemaUpdate struct {
_ struct{} `type:"structure"`
@@ -2342,6 +2756,24 @@ func (s *InputSchemaUpdate) Validate() error {
return nil
}
+// SetRecordColumnUpdates sets the RecordColumnUpdates field's value.
+func (s *InputSchemaUpdate) SetRecordColumnUpdates(v []*RecordColumn) *InputSchemaUpdate {
+ s.RecordColumnUpdates = v
+ return s
+}
+
+// SetRecordEncodingUpdate sets the RecordEncodingUpdate field's value.
+func (s *InputSchemaUpdate) SetRecordEncodingUpdate(v string) *InputSchemaUpdate {
+ s.RecordEncodingUpdate = &v
+ return s
+}
+
+// SetRecordFormatUpdate sets the RecordFormatUpdate field's value.
+func (s *InputSchemaUpdate) SetRecordFormatUpdate(v *RecordFormat) *InputSchemaUpdate {
+ s.RecordFormatUpdate = v
+ return s
+}
+
// Describes the point at which the application reads from the streaming source.
type InputStartingPositionConfiguration struct {
_ struct{} `type:"structure"`
@@ -2369,6 +2801,12 @@ func (s InputStartingPositionConfiguration) GoString() string {
return s.String()
}
+// SetInputStartingPosition sets the InputStartingPosition field's value.
+func (s *InputStartingPositionConfiguration) SetInputStartingPosition(v string) *InputStartingPositionConfiguration {
+ s.InputStartingPosition = &v
+ return s
+}
+
// Describes updates to a specific input configuration (identified by the InputId
// of an application).
type InputUpdate struct {
@@ -2451,6 +2889,42 @@ func (s *InputUpdate) Validate() error {
return nil
}
+// SetInputId sets the InputId field's value.
+func (s *InputUpdate) SetInputId(v string) *InputUpdate {
+ s.InputId = &v
+ return s
+}
+
+// SetInputParallelismUpdate sets the InputParallelismUpdate field's value.
+func (s *InputUpdate) SetInputParallelismUpdate(v *InputParallelismUpdate) *InputUpdate {
+ s.InputParallelismUpdate = v
+ return s
+}
+
+// SetInputSchemaUpdate sets the InputSchemaUpdate field's value.
+func (s *InputUpdate) SetInputSchemaUpdate(v *InputSchemaUpdate) *InputUpdate {
+ s.InputSchemaUpdate = v
+ return s
+}
+
+// SetKinesisFirehoseInputUpdate sets the KinesisFirehoseInputUpdate field's value.
+func (s *InputUpdate) SetKinesisFirehoseInputUpdate(v *KinesisFirehoseInputUpdate) *InputUpdate {
+ s.KinesisFirehoseInputUpdate = v
+ return s
+}
+
+// SetKinesisStreamsInputUpdate sets the KinesisStreamsInputUpdate field's value.
+func (s *InputUpdate) SetKinesisStreamsInputUpdate(v *KinesisStreamsInputUpdate) *InputUpdate {
+ s.KinesisStreamsInputUpdate = v
+ return s
+}
+
+// SetNamePrefixUpdate sets the NamePrefixUpdate field's value.
+func (s *InputUpdate) SetNamePrefixUpdate(v string) *InputUpdate {
+ s.NamePrefixUpdate = &v
+ return s
+}
+
// Provides additional mapping information when JSON is the record format on
// the streaming source.
type JSONMappingParameters struct {
@@ -2490,6 +2964,12 @@ func (s *JSONMappingParameters) Validate() error {
return nil
}
+// SetRecordRowPath sets the RecordRowPath field's value.
+func (s *JSONMappingParameters) SetRecordRowPath(v string) *JSONMappingParameters {
+ s.RecordRowPath = &v
+ return s
+}
+
// Identifies an Amazon Kinesis Firehose delivery stream as the streaming source.
// You provide the Firehose delivery stream's Amazon Resource Name (ARN) and
// an IAM role ARN that enables Amazon Kinesis Analytics to access the stream
@@ -2542,6 +3022,18 @@ func (s *KinesisFirehoseInput) Validate() error {
return nil
}
+// SetResourceARN sets the ResourceARN field's value.
+func (s *KinesisFirehoseInput) SetResourceARN(v string) *KinesisFirehoseInput {
+ s.ResourceARN = &v
+ return s
+}
+
+// SetRoleARN sets the RoleARN field's value.
+func (s *KinesisFirehoseInput) SetRoleARN(v string) *KinesisFirehoseInput {
+ s.RoleARN = &v
+ return s
+}
+
// Describes the Amazon Kinesis Firehose delivery stream that is configured
// as the streaming source in the application input configuration.
type KinesisFirehoseInputDescription struct {
@@ -2564,6 +3056,18 @@ func (s KinesisFirehoseInputDescription) GoString() string {
return s.String()
}
+// SetResourceARN sets the ResourceARN field's value.
+func (s *KinesisFirehoseInputDescription) SetResourceARN(v string) *KinesisFirehoseInputDescription {
+ s.ResourceARN = &v
+ return s
+}
+
+// SetRoleARN sets the RoleARN field's value.
+func (s *KinesisFirehoseInputDescription) SetRoleARN(v string) *KinesisFirehoseInputDescription {
+ s.RoleARN = &v
+ return s
+}
+
// When updating application input configuration, provides information about
// an Amazon Kinesis Firehose delivery stream as the streaming source.
type KinesisFirehoseInputUpdate struct {
@@ -2604,6 +3108,18 @@ func (s *KinesisFirehoseInputUpdate) Validate() error {
return nil
}
+// SetResourceARNUpdate sets the ResourceARNUpdate field's value.
+func (s *KinesisFirehoseInputUpdate) SetResourceARNUpdate(v string) *KinesisFirehoseInputUpdate {
+ s.ResourceARNUpdate = &v
+ return s
+}
+
+// SetRoleARNUpdate sets the RoleARNUpdate field's value.
+func (s *KinesisFirehoseInputUpdate) SetRoleARNUpdate(v string) *KinesisFirehoseInputUpdate {
+ s.RoleARNUpdate = &v
+ return s
+}
+
// When configuring application output, identifies an Amazon Kinesis Firehose
// delivery stream as the destination. You provide the stream Amazon Resource
// Name (ARN) and an IAM role that enables Amazon Kinesis Analytics to write
@@ -2656,6 +3172,18 @@ func (s *KinesisFirehoseOutput) Validate() error {
return nil
}
+// SetResourceARN sets the ResourceARN field's value.
+func (s *KinesisFirehoseOutput) SetResourceARN(v string) *KinesisFirehoseOutput {
+ s.ResourceARN = &v
+ return s
+}
+
+// SetRoleARN sets the RoleARN field's value.
+func (s *KinesisFirehoseOutput) SetRoleARN(v string) *KinesisFirehoseOutput {
+ s.RoleARN = &v
+ return s
+}
+
// For an application output, describes the Amazon Kinesis Firehose delivery
// stream configured as its destination.
type KinesisFirehoseOutputDescription struct {
@@ -2679,6 +3207,18 @@ func (s KinesisFirehoseOutputDescription) GoString() string {
return s.String()
}
+// SetResourceARN sets the ResourceARN field's value.
+func (s *KinesisFirehoseOutputDescription) SetResourceARN(v string) *KinesisFirehoseOutputDescription {
+ s.ResourceARN = &v
+ return s
+}
+
+// SetRoleARN sets the RoleARN field's value.
+func (s *KinesisFirehoseOutputDescription) SetRoleARN(v string) *KinesisFirehoseOutputDescription {
+ s.RoleARN = &v
+ return s
+}
+
// When updating an output configuration using the UpdateApplication operation,
// provides information about an Amazon Kinesis Firehose delivery stream configured
// as the destination.
@@ -2720,6 +3260,18 @@ func (s *KinesisFirehoseOutputUpdate) Validate() error {
return nil
}
+// SetResourceARNUpdate sets the ResourceARNUpdate field's value.
+func (s *KinesisFirehoseOutputUpdate) SetResourceARNUpdate(v string) *KinesisFirehoseOutputUpdate {
+ s.ResourceARNUpdate = &v
+ return s
+}
+
+// SetRoleARNUpdate sets the RoleARNUpdate field's value.
+func (s *KinesisFirehoseOutputUpdate) SetRoleARNUpdate(v string) *KinesisFirehoseOutputUpdate {
+ s.RoleARNUpdate = &v
+ return s
+}
+
// Identifies an Amazon Kinesis stream as the streaming source. You provide
// the stream's ARN and an IAM role ARN that enables Amazon Kinesis Analytics
// to access the stream on your behalf.
@@ -2771,6 +3323,18 @@ func (s *KinesisStreamsInput) Validate() error {
return nil
}
+// SetResourceARN sets the ResourceARN field's value.
+func (s *KinesisStreamsInput) SetResourceARN(v string) *KinesisStreamsInput {
+ s.ResourceARN = &v
+ return s
+}
+
+// SetRoleARN sets the RoleARN field's value.
+func (s *KinesisStreamsInput) SetRoleARN(v string) *KinesisStreamsInput {
+ s.RoleARN = &v
+ return s
+}
+
// Describes the Amazon Kinesis stream that is configured as the streaming source
// in the application input configuration.
type KinesisStreamsInputDescription struct {
@@ -2794,6 +3358,18 @@ func (s KinesisStreamsInputDescription) GoString() string {
return s.String()
}
+// SetResourceARN sets the ResourceARN field's value.
+func (s *KinesisStreamsInputDescription) SetResourceARN(v string) *KinesisStreamsInputDescription {
+ s.ResourceARN = &v
+ return s
+}
+
+// SetRoleARN sets the RoleARN field's value.
+func (s *KinesisStreamsInputDescription) SetRoleARN(v string) *KinesisStreamsInputDescription {
+ s.RoleARN = &v
+ return s
+}
+
// When updating application input configuration, provides information about
// an Amazon Kinesis stream as the streaming source.
type KinesisStreamsInputUpdate struct {
@@ -2834,6 +3410,18 @@ func (s *KinesisStreamsInputUpdate) Validate() error {
return nil
}
+// SetResourceARNUpdate sets the ResourceARNUpdate field's value.
+func (s *KinesisStreamsInputUpdate) SetResourceARNUpdate(v string) *KinesisStreamsInputUpdate {
+ s.ResourceARNUpdate = &v
+ return s
+}
+
+// SetRoleARNUpdate sets the RoleARNUpdate field's value.
+func (s *KinesisStreamsInputUpdate) SetRoleARNUpdate(v string) *KinesisStreamsInputUpdate {
+ s.RoleARNUpdate = &v
+ return s
+}
+
// When configuring application output, identifies a Amazon Kinesis stream as
// the destination. You provide the stream Amazon Resource Name (ARN) and also
// an IAM role ARN that Amazon Kinesis Analytics can use to write to the stream
@@ -2886,6 +3474,18 @@ func (s *KinesisStreamsOutput) Validate() error {
return nil
}
+// SetResourceARN sets the ResourceARN field's value.
+func (s *KinesisStreamsOutput) SetResourceARN(v string) *KinesisStreamsOutput {
+ s.ResourceARN = &v
+ return s
+}
+
+// SetRoleARN sets the RoleARN field's value.
+func (s *KinesisStreamsOutput) SetRoleARN(v string) *KinesisStreamsOutput {
+ s.RoleARN = &v
+ return s
+}
+
// For an application output, describes the Amazon Kinesis stream configured
// as its destination.
type KinesisStreamsOutputDescription struct {
@@ -2909,6 +3509,18 @@ func (s KinesisStreamsOutputDescription) GoString() string {
return s.String()
}
+// SetResourceARN sets the ResourceARN field's value.
+func (s *KinesisStreamsOutputDescription) SetResourceARN(v string) *KinesisStreamsOutputDescription {
+ s.ResourceARN = &v
+ return s
+}
+
+// SetRoleARN sets the RoleARN field's value.
+func (s *KinesisStreamsOutputDescription) SetRoleARN(v string) *KinesisStreamsOutputDescription {
+ s.RoleARN = &v
+ return s
+}
+
// When updating an output configuration using the UpdateApplication operation,
// provides information about an Amazon Kinesis stream configured as the destination.
type KinesisStreamsOutputUpdate struct {
@@ -2950,6 +3562,18 @@ func (s *KinesisStreamsOutputUpdate) Validate() error {
return nil
}
+// SetResourceARNUpdate sets the ResourceARNUpdate field's value.
+func (s *KinesisStreamsOutputUpdate) SetResourceARNUpdate(v string) *KinesisStreamsOutputUpdate {
+ s.ResourceARNUpdate = &v
+ return s
+}
+
+// SetRoleARNUpdate sets the RoleARNUpdate field's value.
+func (s *KinesisStreamsOutputUpdate) SetRoleARNUpdate(v string) *KinesisStreamsOutputUpdate {
+ s.RoleARNUpdate = &v
+ return s
+}
+
type ListApplicationsInput struct {
_ struct{} `type:"structure"`
@@ -2989,6 +3613,18 @@ func (s *ListApplicationsInput) Validate() error {
return nil
}
+// SetExclusiveStartApplicationName sets the ExclusiveStartApplicationName field's value.
+func (s *ListApplicationsInput) SetExclusiveStartApplicationName(v string) *ListApplicationsInput {
+ s.ExclusiveStartApplicationName = &v
+ return s
+}
+
+// SetLimit sets the Limit field's value.
+func (s *ListApplicationsInput) SetLimit(v int64) *ListApplicationsInput {
+ s.Limit = &v
+ return s
+}
+
type ListApplicationsOutput struct {
_ struct{} `type:"structure"`
@@ -3013,6 +3649,18 @@ func (s ListApplicationsOutput) GoString() string {
return s.String()
}
+// SetApplicationSummaries sets the ApplicationSummaries field's value.
+func (s *ListApplicationsOutput) SetApplicationSummaries(v []*ApplicationSummary) *ListApplicationsOutput {
+ s.ApplicationSummaries = v
+ return s
+}
+
+// SetHasMoreApplications sets the HasMoreApplications field's value.
+func (s *ListApplicationsOutput) SetHasMoreApplications(v bool) *ListApplicationsOutput {
+ s.HasMoreApplications = &v
+ return s
+}
+
// When configuring application input at the time of creating or updating an
// application, provides additional mapping information specific to the record
// format (such as JSON, CSV, or record fields delimited by some delimiter)
@@ -3059,6 +3707,18 @@ func (s *MappingParameters) Validate() error {
return nil
}
+// SetCSVMappingParameters sets the CSVMappingParameters field's value.
+func (s *MappingParameters) SetCSVMappingParameters(v *CSVMappingParameters) *MappingParameters {
+ s.CSVMappingParameters = v
+ return s
+}
+
+// SetJSONMappingParameters sets the JSONMappingParameters field's value.
+func (s *MappingParameters) SetJSONMappingParameters(v *JSONMappingParameters) *MappingParameters {
+ s.JSONMappingParameters = v
+ return s
+}
+
// Describes application output configuration in which you identify an in-application
// stream and a destination where you want the in-application stream data to
// be written. The destination can be an Amazon Kinesis stream or an Amazon
@@ -3123,6 +3783,30 @@ func (s *Output) Validate() error {
return nil
}
+// SetDestinationSchema sets the DestinationSchema field's value.
+func (s *Output) SetDestinationSchema(v *DestinationSchema) *Output {
+ s.DestinationSchema = v
+ return s
+}
+
+// SetKinesisFirehoseOutput sets the KinesisFirehoseOutput field's value.
+func (s *Output) SetKinesisFirehoseOutput(v *KinesisFirehoseOutput) *Output {
+ s.KinesisFirehoseOutput = v
+ return s
+}
+
+// SetKinesisStreamsOutput sets the KinesisStreamsOutput field's value.
+func (s *Output) SetKinesisStreamsOutput(v *KinesisStreamsOutput) *Output {
+ s.KinesisStreamsOutput = v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *Output) SetName(v string) *Output {
+ s.Name = &v
+ return s
+}
+
// Describes the application output configuration, which includes the in-application
// stream name and the destination where the stream data is written. The destination
// can be an Amazon Kinesis stream or an Amazon Kinesis Firehose delivery stream.
@@ -3157,6 +3841,36 @@ func (s OutputDescription) GoString() string {
return s.String()
}
+// SetDestinationSchema sets the DestinationSchema field's value.
+func (s *OutputDescription) SetDestinationSchema(v *DestinationSchema) *OutputDescription {
+ s.DestinationSchema = v
+ return s
+}
+
+// SetKinesisFirehoseOutputDescription sets the KinesisFirehoseOutputDescription field's value.
+func (s *OutputDescription) SetKinesisFirehoseOutputDescription(v *KinesisFirehoseOutputDescription) *OutputDescription {
+ s.KinesisFirehoseOutputDescription = v
+ return s
+}
+
+// SetKinesisStreamsOutputDescription sets the KinesisStreamsOutputDescription field's value.
+func (s *OutputDescription) SetKinesisStreamsOutputDescription(v *KinesisStreamsOutputDescription) *OutputDescription {
+ s.KinesisStreamsOutputDescription = v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *OutputDescription) SetName(v string) *OutputDescription {
+ s.Name = &v
+ return s
+}
+
+// SetOutputId sets the OutputId field's value.
+func (s *OutputDescription) SetOutputId(v string) *OutputDescription {
+ s.OutputId = &v
+ return s
+}
+
// Describes updates to the output configuration identified by the OutputId.
type OutputUpdate struct {
_ struct{} `type:"structure"`
@@ -3221,6 +3935,36 @@ func (s *OutputUpdate) Validate() error {
return nil
}
+// SetDestinationSchemaUpdate sets the DestinationSchemaUpdate field's value.
+func (s *OutputUpdate) SetDestinationSchemaUpdate(v *DestinationSchema) *OutputUpdate {
+ s.DestinationSchemaUpdate = v
+ return s
+}
+
+// SetKinesisFirehoseOutputUpdate sets the KinesisFirehoseOutputUpdate field's value.
+func (s *OutputUpdate) SetKinesisFirehoseOutputUpdate(v *KinesisFirehoseOutputUpdate) *OutputUpdate {
+ s.KinesisFirehoseOutputUpdate = v
+ return s
+}
+
+// SetKinesisStreamsOutputUpdate sets the KinesisStreamsOutputUpdate field's value.
+func (s *OutputUpdate) SetKinesisStreamsOutputUpdate(v *KinesisStreamsOutputUpdate) *OutputUpdate {
+ s.KinesisStreamsOutputUpdate = v
+ return s
+}
+
+// SetNameUpdate sets the NameUpdate field's value.
+func (s *OutputUpdate) SetNameUpdate(v string) *OutputUpdate {
+ s.NameUpdate = &v
+ return s
+}
+
+// SetOutputId sets the OutputId field's value.
+func (s *OutputUpdate) SetOutputId(v string) *OutputUpdate {
+ s.OutputId = &v
+ return s
+}
+
// Describes the mapping of each data element in the streaming source to the
// corresponding column in the in-application stream.
//
@@ -3270,6 +4014,24 @@ func (s *RecordColumn) Validate() error {
return nil
}
+// SetMapping sets the Mapping field's value.
+func (s *RecordColumn) SetMapping(v string) *RecordColumn {
+ s.Mapping = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *RecordColumn) SetName(v string) *RecordColumn {
+ s.Name = &v
+ return s
+}
+
+// SetSqlType sets the SqlType field's value.
+func (s *RecordColumn) SetSqlType(v string) *RecordColumn {
+ s.SqlType = &v
+ return s
+}
+
// Describes the record format and relevant mapping information that should
// be applied to schematize the records on the stream.
type RecordFormat struct {
@@ -3315,6 +4077,18 @@ func (s *RecordFormat) Validate() error {
return nil
}
+// SetMappingParameters sets the MappingParameters field's value.
+func (s *RecordFormat) SetMappingParameters(v *MappingParameters) *RecordFormat {
+ s.MappingParameters = v
+ return s
+}
+
+// SetRecordFormatType sets the RecordFormatType field's value.
+func (s *RecordFormat) SetRecordFormatType(v string) *RecordFormat {
+ s.RecordFormatType = &v
+ return s
+}
+
// Describes the reference data source by providing the source information (S3
// bucket name and object key name), the resulting in-application table name
// that is created, and the necessary schema to map the data elements in the
@@ -3382,6 +4156,24 @@ func (s *ReferenceDataSource) Validate() error {
return nil
}
+// SetReferenceSchema sets the ReferenceSchema field's value.
+func (s *ReferenceDataSource) SetReferenceSchema(v *SourceSchema) *ReferenceDataSource {
+ s.ReferenceSchema = v
+ return s
+}
+
+// SetS3ReferenceDataSource sets the S3ReferenceDataSource field's value.
+func (s *ReferenceDataSource) SetS3ReferenceDataSource(v *S3ReferenceDataSource) *ReferenceDataSource {
+ s.S3ReferenceDataSource = v
+ return s
+}
+
+// SetTableName sets the TableName field's value.
+func (s *ReferenceDataSource) SetTableName(v string) *ReferenceDataSource {
+ s.TableName = &v
+ return s
+}
+
// Describes the reference data source configured for an application.
type ReferenceDataSourceDescription struct {
_ struct{} `type:"structure"`
@@ -3422,6 +4214,30 @@ func (s ReferenceDataSourceDescription) GoString() string {
return s.String()
}
+// SetReferenceId sets the ReferenceId field's value.
+func (s *ReferenceDataSourceDescription) SetReferenceId(v string) *ReferenceDataSourceDescription {
+ s.ReferenceId = &v
+ return s
+}
+
+// SetReferenceSchema sets the ReferenceSchema field's value.
+func (s *ReferenceDataSourceDescription) SetReferenceSchema(v *SourceSchema) *ReferenceDataSourceDescription {
+ s.ReferenceSchema = v
+ return s
+}
+
+// SetS3ReferenceDataSourceDescription sets the S3ReferenceDataSourceDescription field's value.
+func (s *ReferenceDataSourceDescription) SetS3ReferenceDataSourceDescription(v *S3ReferenceDataSourceDescription) *ReferenceDataSourceDescription {
+ s.S3ReferenceDataSourceDescription = v
+ return s
+}
+
+// SetTableName sets the TableName field's value.
+func (s *ReferenceDataSourceDescription) SetTableName(v string) *ReferenceDataSourceDescription {
+ s.TableName = &v
+ return s
+}
+
// When you update a reference data source configuration for an application,
// this object provides all the updated values (such as the source bucket name
// and object key name), the in-application table name that is created, and
@@ -3488,6 +4304,30 @@ func (s *ReferenceDataSourceUpdate) Validate() error {
return nil
}
+// SetReferenceId sets the ReferenceId field's value.
+func (s *ReferenceDataSourceUpdate) SetReferenceId(v string) *ReferenceDataSourceUpdate {
+ s.ReferenceId = &v
+ return s
+}
+
+// SetReferenceSchemaUpdate sets the ReferenceSchemaUpdate field's value.
+func (s *ReferenceDataSourceUpdate) SetReferenceSchemaUpdate(v *SourceSchema) *ReferenceDataSourceUpdate {
+ s.ReferenceSchemaUpdate = v
+ return s
+}
+
+// SetS3ReferenceDataSourceUpdate sets the S3ReferenceDataSourceUpdate field's value.
+func (s *ReferenceDataSourceUpdate) SetS3ReferenceDataSourceUpdate(v *S3ReferenceDataSourceUpdate) *ReferenceDataSourceUpdate {
+ s.S3ReferenceDataSourceUpdate = v
+ return s
+}
+
+// SetTableNameUpdate sets the TableNameUpdate field's value.
+func (s *ReferenceDataSourceUpdate) SetTableNameUpdate(v string) *ReferenceDataSourceUpdate {
+ s.TableNameUpdate = &v
+ return s
+}
+
// Identifies the S3 bucket and object that contains the reference data. Also
// identifies the IAM role Amazon Kinesis Analytics can assume to read this
// object on your behalf.
@@ -3552,6 +4392,24 @@ func (s *S3ReferenceDataSource) Validate() error {
return nil
}
+// SetBucketARN sets the BucketARN field's value.
+func (s *S3ReferenceDataSource) SetBucketARN(v string) *S3ReferenceDataSource {
+ s.BucketARN = &v
+ return s
+}
+
+// SetFileKey sets the FileKey field's value.
+func (s *S3ReferenceDataSource) SetFileKey(v string) *S3ReferenceDataSource {
+ s.FileKey = &v
+ return s
+}
+
+// SetReferenceRoleARN sets the ReferenceRoleARN field's value.
+func (s *S3ReferenceDataSource) SetReferenceRoleARN(v string) *S3ReferenceDataSource {
+ s.ReferenceRoleARN = &v
+ return s
+}
+
// Provides the bucket name and object key name that stores the reference data.
type S3ReferenceDataSourceDescription struct {
_ struct{} `type:"structure"`
@@ -3584,6 +4442,24 @@ func (s S3ReferenceDataSourceDescription) GoString() string {
return s.String()
}
+// SetBucketARN sets the BucketARN field's value.
+func (s *S3ReferenceDataSourceDescription) SetBucketARN(v string) *S3ReferenceDataSourceDescription {
+ s.BucketARN = &v
+ return s
+}
+
+// SetFileKey sets the FileKey field's value.
+func (s *S3ReferenceDataSourceDescription) SetFileKey(v string) *S3ReferenceDataSourceDescription {
+ s.FileKey = &v
+ return s
+}
+
+// SetReferenceRoleARN sets the ReferenceRoleARN field's value.
+func (s *S3ReferenceDataSourceDescription) SetReferenceRoleARN(v string) *S3ReferenceDataSourceDescription {
+ s.ReferenceRoleARN = &v
+ return s
+}
+
// Describes the S3 bucket name, object key name, and IAM role that Amazon Kinesis
// Analytics can assume to read the Amazon S3 object on your behalf and populate
// the in-application reference table.
@@ -3627,6 +4503,24 @@ func (s *S3ReferenceDataSourceUpdate) Validate() error {
return nil
}
+// SetBucketARNUpdate sets the BucketARNUpdate field's value.
+func (s *S3ReferenceDataSourceUpdate) SetBucketARNUpdate(v string) *S3ReferenceDataSourceUpdate {
+ s.BucketARNUpdate = &v
+ return s
+}
+
+// SetFileKeyUpdate sets the FileKeyUpdate field's value.
+func (s *S3ReferenceDataSourceUpdate) SetFileKeyUpdate(v string) *S3ReferenceDataSourceUpdate {
+ s.FileKeyUpdate = &v
+ return s
+}
+
+// SetReferenceRoleARNUpdate sets the ReferenceRoleARNUpdate field's value.
+func (s *S3ReferenceDataSourceUpdate) SetReferenceRoleARNUpdate(v string) *S3ReferenceDataSourceUpdate {
+ s.ReferenceRoleARNUpdate = &v
+ return s
+}
+
// Describes the format of the data in the streaming source, and how each data
// element maps to corresponding columns created in the in-application stream.
type SourceSchema struct {
@@ -3691,6 +4585,24 @@ func (s *SourceSchema) Validate() error {
return nil
}
+// SetRecordColumns sets the RecordColumns field's value.
+func (s *SourceSchema) SetRecordColumns(v []*RecordColumn) *SourceSchema {
+ s.RecordColumns = v
+ return s
+}
+
+// SetRecordEncoding sets the RecordEncoding field's value.
+func (s *SourceSchema) SetRecordEncoding(v string) *SourceSchema {
+ s.RecordEncoding = &v
+ return s
+}
+
+// SetRecordFormat sets the RecordFormat field's value.
+func (s *SourceSchema) SetRecordFormat(v *RecordFormat) *SourceSchema {
+ s.RecordFormat = v
+ return s
+}
+
type StartApplicationInput struct {
_ struct{} `type:"structure"`
@@ -3747,6 +4659,18 @@ func (s *StartApplicationInput) Validate() error {
return nil
}
+// SetApplicationName sets the ApplicationName field's value.
+func (s *StartApplicationInput) SetApplicationName(v string) *StartApplicationInput {
+ s.ApplicationName = &v
+ return s
+}
+
+// SetInputConfigurations sets the InputConfigurations field's value.
+func (s *StartApplicationInput) SetInputConfigurations(v []*InputConfiguration) *StartApplicationInput {
+ s.InputConfigurations = v
+ return s
+}
+
type StartApplicationOutput struct {
_ struct{} `type:"structure"`
}
@@ -3796,6 +4720,12 @@ func (s *StopApplicationInput) Validate() error {
return nil
}
+// SetApplicationName sets the ApplicationName field's value.
+func (s *StopApplicationInput) SetApplicationName(v string) *StopApplicationInput {
+ s.ApplicationName = &v
+ return s
+}
+
type StopApplicationOutput struct {
_ struct{} `type:"structure"`
}
@@ -3870,6 +4800,24 @@ func (s *UpdateApplicationInput) Validate() error {
return nil
}
+// SetApplicationName sets the ApplicationName field's value.
+func (s *UpdateApplicationInput) SetApplicationName(v string) *UpdateApplicationInput {
+ s.ApplicationName = &v
+ return s
+}
+
+// SetApplicationUpdate sets the ApplicationUpdate field's value.
+func (s *UpdateApplicationInput) SetApplicationUpdate(v *ApplicationUpdate) *UpdateApplicationInput {
+ s.ApplicationUpdate = v
+ return s
+}
+
+// SetCurrentApplicationVersionId sets the CurrentApplicationVersionId field's value.
+func (s *UpdateApplicationInput) SetCurrentApplicationVersionId(v int64) *UpdateApplicationInput {
+ s.CurrentApplicationVersionId = &v
+ return s
+}
+
type UpdateApplicationOutput struct {
_ struct{} `type:"structure"`
}
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 96f40b8..c640604 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
@@ -3201,6 +3201,24 @@ func (s AliasListEntry) GoString() string {
return s.String()
}
+// SetAliasArn sets the AliasArn field's value.
+func (s *AliasListEntry) SetAliasArn(v string) *AliasListEntry {
+ s.AliasArn = &v
+ return s
+}
+
+// SetAliasName sets the AliasName field's value.
+func (s *AliasListEntry) SetAliasName(v string) *AliasListEntry {
+ s.AliasName = &v
+ return s
+}
+
+// SetTargetKeyId sets the TargetKeyId field's value.
+func (s *AliasListEntry) SetTargetKeyId(v string) *AliasListEntry {
+ s.TargetKeyId = &v
+ return s
+}
+
type CancelKeyDeletionInput struct {
_ struct{} `type:"structure"`
@@ -3247,6 +3265,12 @@ func (s *CancelKeyDeletionInput) Validate() error {
return nil
}
+// SetKeyId sets the KeyId field's value.
+func (s *CancelKeyDeletionInput) SetKeyId(v string) *CancelKeyDeletionInput {
+ s.KeyId = &v
+ return s
+}
+
type CancelKeyDeletionOutput struct {
_ struct{} `type:"structure"`
@@ -3264,6 +3288,12 @@ func (s CancelKeyDeletionOutput) GoString() string {
return s.String()
}
+// SetKeyId sets the KeyId field's value.
+func (s *CancelKeyDeletionOutput) SetKeyId(v string) *CancelKeyDeletionOutput {
+ s.KeyId = &v
+ return s
+}
+
type CreateAliasInput struct {
_ struct{} `type:"structure"`
@@ -3318,6 +3348,18 @@ func (s *CreateAliasInput) Validate() error {
return nil
}
+// SetAliasName sets the AliasName field's value.
+func (s *CreateAliasInput) SetAliasName(v string) *CreateAliasInput {
+ s.AliasName = &v
+ return s
+}
+
+// SetTargetKeyId sets the TargetKeyId field's value.
+func (s *CreateAliasInput) SetTargetKeyId(v string) *CreateAliasInput {
+ s.TargetKeyId = &v
+ return s
+}
+
type CreateAliasOutput struct {
_ struct{} `type:"structure"`
}
@@ -3461,6 +3503,48 @@ func (s *CreateGrantInput) Validate() error {
return nil
}
+// SetConstraints sets the Constraints field's value.
+func (s *CreateGrantInput) SetConstraints(v *GrantConstraints) *CreateGrantInput {
+ s.Constraints = v
+ return s
+}
+
+// SetGrantTokens sets the GrantTokens field's value.
+func (s *CreateGrantInput) SetGrantTokens(v []*string) *CreateGrantInput {
+ s.GrantTokens = v
+ return s
+}
+
+// SetGranteePrincipal sets the GranteePrincipal field's value.
+func (s *CreateGrantInput) SetGranteePrincipal(v string) *CreateGrantInput {
+ s.GranteePrincipal = &v
+ return s
+}
+
+// SetKeyId sets the KeyId field's value.
+func (s *CreateGrantInput) SetKeyId(v string) *CreateGrantInput {
+ s.KeyId = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *CreateGrantInput) SetName(v string) *CreateGrantInput {
+ s.Name = &v
+ return s
+}
+
+// SetOperations sets the Operations field's value.
+func (s *CreateGrantInput) SetOperations(v []*string) *CreateGrantInput {
+ s.Operations = v
+ return s
+}
+
+// SetRetiringPrincipal sets the RetiringPrincipal field's value.
+func (s *CreateGrantInput) SetRetiringPrincipal(v string) *CreateGrantInput {
+ s.RetiringPrincipal = &v
+ return s
+}
+
type CreateGrantOutput struct {
_ struct{} `type:"structure"`
@@ -3486,6 +3570,18 @@ func (s CreateGrantOutput) GoString() string {
return s.String()
}
+// SetGrantId sets the GrantId field's value.
+func (s *CreateGrantOutput) SetGrantId(v string) *CreateGrantOutput {
+ s.GrantId = &v
+ return s
+}
+
+// SetGrantToken sets the GrantToken field's value.
+func (s *CreateGrantOutput) SetGrantToken(v string) *CreateGrantOutput {
+ s.GrantToken = &v
+ return s
+}
+
type CreateKeyInput struct {
_ struct{} `type:"structure"`
@@ -3577,6 +3673,36 @@ func (s *CreateKeyInput) Validate() error {
return nil
}
+// SetBypassPolicyLockoutSafetyCheck sets the BypassPolicyLockoutSafetyCheck field's value.
+func (s *CreateKeyInput) SetBypassPolicyLockoutSafetyCheck(v bool) *CreateKeyInput {
+ s.BypassPolicyLockoutSafetyCheck = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *CreateKeyInput) SetDescription(v string) *CreateKeyInput {
+ s.Description = &v
+ return s
+}
+
+// SetKeyUsage sets the KeyUsage field's value.
+func (s *CreateKeyInput) SetKeyUsage(v string) *CreateKeyInput {
+ s.KeyUsage = &v
+ return s
+}
+
+// SetOrigin sets the Origin field's value.
+func (s *CreateKeyInput) SetOrigin(v string) *CreateKeyInput {
+ s.Origin = &v
+ return s
+}
+
+// SetPolicy sets the Policy field's value.
+func (s *CreateKeyInput) SetPolicy(v string) *CreateKeyInput {
+ s.Policy = &v
+ return s
+}
+
type CreateKeyOutput struct {
_ struct{} `type:"structure"`
@@ -3594,6 +3720,12 @@ func (s CreateKeyOutput) GoString() string {
return s.String()
}
+// SetKeyMetadata sets the KeyMetadata field's value.
+func (s *CreateKeyOutput) SetKeyMetadata(v *KeyMetadata) *CreateKeyOutput {
+ s.KeyMetadata = v
+ return s
+}
+
type DecryptInput struct {
_ struct{} `type:"structure"`
@@ -3642,6 +3774,24 @@ func (s *DecryptInput) Validate() error {
return nil
}
+// SetCiphertextBlob sets the CiphertextBlob field's value.
+func (s *DecryptInput) SetCiphertextBlob(v []byte) *DecryptInput {
+ s.CiphertextBlob = v
+ return s
+}
+
+// SetEncryptionContext sets the EncryptionContext field's value.
+func (s *DecryptInput) SetEncryptionContext(v map[string]*string) *DecryptInput {
+ s.EncryptionContext = v
+ return s
+}
+
+// SetGrantTokens sets the GrantTokens field's value.
+func (s *DecryptInput) SetGrantTokens(v []*string) *DecryptInput {
+ s.GrantTokens = v
+ return s
+}
+
type DecryptOutput struct {
_ struct{} `type:"structure"`
@@ -3666,6 +3816,18 @@ func (s DecryptOutput) GoString() string {
return s.String()
}
+// SetKeyId sets the KeyId field's value.
+func (s *DecryptOutput) SetKeyId(v string) *DecryptOutput {
+ s.KeyId = &v
+ return s
+}
+
+// SetPlaintext sets the Plaintext field's value.
+func (s *DecryptOutput) SetPlaintext(v []byte) *DecryptOutput {
+ s.Plaintext = v
+ return s
+}
+
type DeleteAliasInput struct {
_ struct{} `type:"structure"`
@@ -3702,6 +3864,12 @@ func (s *DeleteAliasInput) Validate() error {
return nil
}
+// SetAliasName sets the AliasName field's value.
+func (s *DeleteAliasInput) SetAliasName(v string) *DeleteAliasInput {
+ s.AliasName = &v
+ return s
+}
+
type DeleteAliasOutput struct {
_ struct{} `type:"structure"`
}
@@ -3759,6 +3927,12 @@ func (s *DeleteImportedKeyMaterialInput) Validate() error {
return nil
}
+// SetKeyId sets the KeyId field's value.
+func (s *DeleteImportedKeyMaterialInput) SetKeyId(v string) *DeleteImportedKeyMaterialInput {
+ s.KeyId = &v
+ return s
+}
+
type DeleteImportedKeyMaterialOutput struct {
_ struct{} `type:"structure"`
}
@@ -3824,6 +3998,18 @@ func (s *DescribeKeyInput) Validate() error {
return nil
}
+// SetGrantTokens sets the GrantTokens field's value.
+func (s *DescribeKeyInput) SetGrantTokens(v []*string) *DescribeKeyInput {
+ s.GrantTokens = v
+ return s
+}
+
+// SetKeyId sets the KeyId field's value.
+func (s *DescribeKeyInput) SetKeyId(v string) *DescribeKeyInput {
+ s.KeyId = &v
+ return s
+}
+
type DescribeKeyOutput struct {
_ struct{} `type:"structure"`
@@ -3841,6 +4027,12 @@ func (s DescribeKeyOutput) GoString() string {
return s.String()
}
+// SetKeyMetadata sets the KeyMetadata field's value.
+func (s *DescribeKeyOutput) SetKeyMetadata(v *KeyMetadata) *DescribeKeyOutput {
+ s.KeyMetadata = v
+ return s
+}
+
type DisableKeyInput struct {
_ struct{} `type:"structure"`
@@ -3882,6 +4074,12 @@ func (s *DisableKeyInput) Validate() error {
return nil
}
+// SetKeyId sets the KeyId field's value.
+func (s *DisableKeyInput) SetKeyId(v string) *DisableKeyInput {
+ s.KeyId = &v
+ return s
+}
+
type DisableKeyOutput struct {
_ struct{} `type:"structure"`
}
@@ -3936,6 +4134,12 @@ func (s *DisableKeyRotationInput) Validate() error {
return nil
}
+// SetKeyId sets the KeyId field's value.
+func (s *DisableKeyRotationInput) SetKeyId(v string) *DisableKeyRotationInput {
+ s.KeyId = &v
+ return s
+}
+
type DisableKeyRotationOutput struct {
_ struct{} `type:"structure"`
}
@@ -3990,6 +4194,12 @@ func (s *EnableKeyInput) Validate() error {
return nil
}
+// SetKeyId sets the KeyId field's value.
+func (s *EnableKeyInput) SetKeyId(v string) *EnableKeyInput {
+ s.KeyId = &v
+ return s
+}
+
type EnableKeyOutput struct {
_ struct{} `type:"structure"`
}
@@ -4044,6 +4254,12 @@ func (s *EnableKeyRotationInput) Validate() error {
return nil
}
+// SetKeyId sets the KeyId field's value.
+func (s *EnableKeyRotationInput) SetKeyId(v string) *EnableKeyRotationInput {
+ s.KeyId = &v
+ return s
+}
+
type EnableKeyRotationOutput struct {
_ struct{} `type:"structure"`
}
@@ -4128,6 +4344,30 @@ func (s *EncryptInput) Validate() error {
return nil
}
+// SetEncryptionContext sets the EncryptionContext field's value.
+func (s *EncryptInput) SetEncryptionContext(v map[string]*string) *EncryptInput {
+ s.EncryptionContext = v
+ return s
+}
+
+// SetGrantTokens sets the GrantTokens field's value.
+func (s *EncryptInput) SetGrantTokens(v []*string) *EncryptInput {
+ s.GrantTokens = v
+ return s
+}
+
+// SetKeyId sets the KeyId field's value.
+func (s *EncryptInput) SetKeyId(v string) *EncryptInput {
+ s.KeyId = &v
+ return s
+}
+
+// SetPlaintext sets the Plaintext field's value.
+func (s *EncryptInput) SetPlaintext(v []byte) *EncryptInput {
+ s.Plaintext = v
+ return s
+}
+
type EncryptOutput struct {
_ struct{} `type:"structure"`
@@ -4151,6 +4391,18 @@ func (s EncryptOutput) GoString() string {
return s.String()
}
+// SetCiphertextBlob sets the CiphertextBlob field's value.
+func (s *EncryptOutput) SetCiphertextBlob(v []byte) *EncryptOutput {
+ s.CiphertextBlob = v
+ return s
+}
+
+// SetKeyId sets the KeyId field's value.
+func (s *EncryptOutput) SetKeyId(v string) *EncryptOutput {
+ s.KeyId = &v
+ return s
+}
+
type GenerateDataKeyInput struct {
_ struct{} `type:"structure"`
@@ -4224,6 +4476,36 @@ func (s *GenerateDataKeyInput) Validate() error {
return nil
}
+// SetEncryptionContext sets the EncryptionContext field's value.
+func (s *GenerateDataKeyInput) SetEncryptionContext(v map[string]*string) *GenerateDataKeyInput {
+ s.EncryptionContext = v
+ return s
+}
+
+// SetGrantTokens sets the GrantTokens field's value.
+func (s *GenerateDataKeyInput) SetGrantTokens(v []*string) *GenerateDataKeyInput {
+ s.GrantTokens = v
+ return s
+}
+
+// SetKeyId sets the KeyId field's value.
+func (s *GenerateDataKeyInput) SetKeyId(v string) *GenerateDataKeyInput {
+ s.KeyId = &v
+ return s
+}
+
+// SetKeySpec sets the KeySpec field's value.
+func (s *GenerateDataKeyInput) SetKeySpec(v string) *GenerateDataKeyInput {
+ s.KeySpec = &v
+ return s
+}
+
+// SetNumberOfBytes sets the NumberOfBytes field's value.
+func (s *GenerateDataKeyInput) SetNumberOfBytes(v int64) *GenerateDataKeyInput {
+ s.NumberOfBytes = &v
+ return s
+}
+
type GenerateDataKeyOutput struct {
_ struct{} `type:"structure"`
@@ -4253,6 +4535,24 @@ func (s GenerateDataKeyOutput) GoString() string {
return s.String()
}
+// SetCiphertextBlob sets the CiphertextBlob field's value.
+func (s *GenerateDataKeyOutput) SetCiphertextBlob(v []byte) *GenerateDataKeyOutput {
+ s.CiphertextBlob = v
+ return s
+}
+
+// SetKeyId sets the KeyId field's value.
+func (s *GenerateDataKeyOutput) SetKeyId(v string) *GenerateDataKeyOutput {
+ s.KeyId = &v
+ return s
+}
+
+// SetPlaintext sets the Plaintext field's value.
+func (s *GenerateDataKeyOutput) SetPlaintext(v []byte) *GenerateDataKeyOutput {
+ s.Plaintext = v
+ return s
+}
+
type GenerateDataKeyWithoutPlaintextInput struct {
_ struct{} `type:"structure"`
@@ -4326,6 +4626,36 @@ func (s *GenerateDataKeyWithoutPlaintextInput) Validate() error {
return nil
}
+// SetEncryptionContext sets the EncryptionContext field's value.
+func (s *GenerateDataKeyWithoutPlaintextInput) SetEncryptionContext(v map[string]*string) *GenerateDataKeyWithoutPlaintextInput {
+ s.EncryptionContext = v
+ return s
+}
+
+// SetGrantTokens sets the GrantTokens field's value.
+func (s *GenerateDataKeyWithoutPlaintextInput) SetGrantTokens(v []*string) *GenerateDataKeyWithoutPlaintextInput {
+ s.GrantTokens = v
+ return s
+}
+
+// SetKeyId sets the KeyId field's value.
+func (s *GenerateDataKeyWithoutPlaintextInput) SetKeyId(v string) *GenerateDataKeyWithoutPlaintextInput {
+ s.KeyId = &v
+ return s
+}
+
+// SetKeySpec sets the KeySpec field's value.
+func (s *GenerateDataKeyWithoutPlaintextInput) SetKeySpec(v string) *GenerateDataKeyWithoutPlaintextInput {
+ s.KeySpec = &v
+ return s
+}
+
+// SetNumberOfBytes sets the NumberOfBytes field's value.
+func (s *GenerateDataKeyWithoutPlaintextInput) SetNumberOfBytes(v int64) *GenerateDataKeyWithoutPlaintextInput {
+ s.NumberOfBytes = &v
+ return s
+}
+
type GenerateDataKeyWithoutPlaintextOutput struct {
_ struct{} `type:"structure"`
@@ -4349,6 +4679,18 @@ func (s GenerateDataKeyWithoutPlaintextOutput) GoString() string {
return s.String()
}
+// SetCiphertextBlob sets the CiphertextBlob field's value.
+func (s *GenerateDataKeyWithoutPlaintextOutput) SetCiphertextBlob(v []byte) *GenerateDataKeyWithoutPlaintextOutput {
+ s.CiphertextBlob = v
+ return s
+}
+
+// SetKeyId sets the KeyId field's value.
+func (s *GenerateDataKeyWithoutPlaintextOutput) SetKeyId(v string) *GenerateDataKeyWithoutPlaintextOutput {
+ s.KeyId = &v
+ return s
+}
+
type GenerateRandomInput struct {
_ struct{} `type:"structure"`
@@ -4379,6 +4721,12 @@ func (s *GenerateRandomInput) Validate() error {
return nil
}
+// SetNumberOfBytes sets the NumberOfBytes field's value.
+func (s *GenerateRandomInput) SetNumberOfBytes(v int64) *GenerateRandomInput {
+ s.NumberOfBytes = &v
+ return s
+}
+
type GenerateRandomOutput struct {
_ struct{} `type:"structure"`
@@ -4398,6 +4746,12 @@ func (s GenerateRandomOutput) GoString() string {
return s.String()
}
+// SetPlaintext sets the Plaintext field's value.
+func (s *GenerateRandomOutput) SetPlaintext(v []byte) *GenerateRandomOutput {
+ s.Plaintext = v
+ return s
+}
+
type GetKeyPolicyInput struct {
_ struct{} `type:"structure"`
@@ -4450,6 +4804,18 @@ func (s *GetKeyPolicyInput) Validate() error {
return nil
}
+// SetKeyId sets the KeyId field's value.
+func (s *GetKeyPolicyInput) SetKeyId(v string) *GetKeyPolicyInput {
+ s.KeyId = &v
+ return s
+}
+
+// SetPolicyName sets the PolicyName field's value.
+func (s *GetKeyPolicyInput) SetPolicyName(v string) *GetKeyPolicyInput {
+ s.PolicyName = &v
+ return s
+}
+
type GetKeyPolicyOutput struct {
_ struct{} `type:"structure"`
@@ -4467,6 +4833,12 @@ func (s GetKeyPolicyOutput) GoString() string {
return s.String()
}
+// SetPolicy sets the Policy field's value.
+func (s *GetKeyPolicyOutput) SetPolicy(v string) *GetKeyPolicyOutput {
+ s.Policy = &v
+ return s
+}
+
type GetKeyRotationStatusInput struct {
_ struct{} `type:"structure"`
@@ -4507,6 +4879,12 @@ func (s *GetKeyRotationStatusInput) Validate() error {
return nil
}
+// SetKeyId sets the KeyId field's value.
+func (s *GetKeyRotationStatusInput) SetKeyId(v string) *GetKeyRotationStatusInput {
+ s.KeyId = &v
+ return s
+}
+
type GetKeyRotationStatusOutput struct {
_ struct{} `type:"structure"`
@@ -4524,6 +4902,12 @@ func (s GetKeyRotationStatusOutput) GoString() string {
return s.String()
}
+// SetKeyRotationEnabled sets the KeyRotationEnabled field's value.
+func (s *GetKeyRotationStatusOutput) SetKeyRotationEnabled(v bool) *GetKeyRotationStatusOutput {
+ s.KeyRotationEnabled = &v
+ return s
+}
+
type GetParametersForImportInput struct {
_ struct{} `type:"structure"`
@@ -4587,6 +4971,24 @@ func (s *GetParametersForImportInput) Validate() error {
return nil
}
+// SetKeyId sets the KeyId field's value.
+func (s *GetParametersForImportInput) SetKeyId(v string) *GetParametersForImportInput {
+ s.KeyId = &v
+ return s
+}
+
+// SetWrappingAlgorithm sets the WrappingAlgorithm field's value.
+func (s *GetParametersForImportInput) SetWrappingAlgorithm(v string) *GetParametersForImportInput {
+ s.WrappingAlgorithm = &v
+ return s
+}
+
+// SetWrappingKeySpec sets the WrappingKeySpec field's value.
+func (s *GetParametersForImportInput) SetWrappingKeySpec(v string) *GetParametersForImportInput {
+ s.WrappingKeySpec = &v
+ return s
+}
+
type GetParametersForImportOutput struct {
_ struct{} `type:"structure"`
@@ -4621,6 +5023,30 @@ func (s GetParametersForImportOutput) GoString() string {
return s.String()
}
+// SetImportToken sets the ImportToken field's value.
+func (s *GetParametersForImportOutput) SetImportToken(v []byte) *GetParametersForImportOutput {
+ s.ImportToken = v
+ return s
+}
+
+// SetKeyId sets the KeyId field's value.
+func (s *GetParametersForImportOutput) SetKeyId(v string) *GetParametersForImportOutput {
+ s.KeyId = &v
+ return s
+}
+
+// SetParametersValidTo sets the ParametersValidTo field's value.
+func (s *GetParametersForImportOutput) SetParametersValidTo(v time.Time) *GetParametersForImportOutput {
+ s.ParametersValidTo = &v
+ return s
+}
+
+// SetPublicKey sets the PublicKey field's value.
+func (s *GetParametersForImportOutput) SetPublicKey(v []byte) *GetParametersForImportOutput {
+ s.PublicKey = v
+ return s
+}
+
// A structure for specifying the conditions under which the operations permitted
// by the grant are allowed.
//
@@ -4656,6 +5082,18 @@ func (s GrantConstraints) GoString() string {
return s.String()
}
+// SetEncryptionContextEquals sets the EncryptionContextEquals field's value.
+func (s *GrantConstraints) SetEncryptionContextEquals(v map[string]*string) *GrantConstraints {
+ s.EncryptionContextEquals = v
+ return s
+}
+
+// SetEncryptionContextSubset sets the EncryptionContextSubset field's value.
+func (s *GrantConstraints) SetEncryptionContextSubset(v map[string]*string) *GrantConstraints {
+ s.EncryptionContextSubset = v
+ return s
+}
+
// Contains information about an entry in a list of grants.
type GrantListEntry struct {
_ struct{} `type:"structure"`
@@ -4700,6 +5138,60 @@ func (s GrantListEntry) GoString() string {
return s.String()
}
+// SetConstraints sets the Constraints field's value.
+func (s *GrantListEntry) SetConstraints(v *GrantConstraints) *GrantListEntry {
+ s.Constraints = v
+ return s
+}
+
+// SetCreationDate sets the CreationDate field's value.
+func (s *GrantListEntry) SetCreationDate(v time.Time) *GrantListEntry {
+ s.CreationDate = &v
+ return s
+}
+
+// SetGrantId sets the GrantId field's value.
+func (s *GrantListEntry) SetGrantId(v string) *GrantListEntry {
+ s.GrantId = &v
+ return s
+}
+
+// SetGranteePrincipal sets the GranteePrincipal field's value.
+func (s *GrantListEntry) SetGranteePrincipal(v string) *GrantListEntry {
+ s.GranteePrincipal = &v
+ return s
+}
+
+// SetIssuingAccount sets the IssuingAccount field's value.
+func (s *GrantListEntry) SetIssuingAccount(v string) *GrantListEntry {
+ s.IssuingAccount = &v
+ return s
+}
+
+// SetKeyId sets the KeyId field's value.
+func (s *GrantListEntry) SetKeyId(v string) *GrantListEntry {
+ s.KeyId = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *GrantListEntry) SetName(v string) *GrantListEntry {
+ s.Name = &v
+ return s
+}
+
+// SetOperations sets the Operations field's value.
+func (s *GrantListEntry) SetOperations(v []*string) *GrantListEntry {
+ s.Operations = v
+ return s
+}
+
+// SetRetiringPrincipal sets the RetiringPrincipal field's value.
+func (s *GrantListEntry) SetRetiringPrincipal(v string) *GrantListEntry {
+ s.RetiringPrincipal = &v
+ return s
+}
+
type ImportKeyMaterialInput struct {
_ struct{} `type:"structure"`
@@ -4784,6 +5276,36 @@ func (s *ImportKeyMaterialInput) Validate() error {
return nil
}
+// SetEncryptedKeyMaterial sets the EncryptedKeyMaterial field's value.
+func (s *ImportKeyMaterialInput) SetEncryptedKeyMaterial(v []byte) *ImportKeyMaterialInput {
+ s.EncryptedKeyMaterial = v
+ return s
+}
+
+// SetExpirationModel sets the ExpirationModel field's value.
+func (s *ImportKeyMaterialInput) SetExpirationModel(v string) *ImportKeyMaterialInput {
+ s.ExpirationModel = &v
+ return s
+}
+
+// SetImportToken sets the ImportToken field's value.
+func (s *ImportKeyMaterialInput) SetImportToken(v []byte) *ImportKeyMaterialInput {
+ s.ImportToken = v
+ return s
+}
+
+// SetKeyId sets the KeyId field's value.
+func (s *ImportKeyMaterialInput) SetKeyId(v string) *ImportKeyMaterialInput {
+ s.KeyId = &v
+ return s
+}
+
+// SetValidTo sets the ValidTo field's value.
+func (s *ImportKeyMaterialInput) SetValidTo(v time.Time) *ImportKeyMaterialInput {
+ s.ValidTo = &v
+ return s
+}
+
type ImportKeyMaterialOutput struct {
_ struct{} `type:"structure"`
}
@@ -4819,6 +5341,18 @@ func (s KeyListEntry) GoString() string {
return s.String()
}
+// SetKeyArn sets the KeyArn field's value.
+func (s *KeyListEntry) SetKeyArn(v string) *KeyListEntry {
+ s.KeyArn = &v
+ return s
+}
+
+// SetKeyId sets the KeyId field's value.
+func (s *KeyListEntry) SetKeyId(v string) *KeyListEntry {
+ s.KeyId = &v
+ return s
+}
+
// Contains metadata about a customer master key (CMK).
//
// This data type is used as a response element for the CreateKey and DescribeKey
@@ -4892,6 +5426,78 @@ func (s KeyMetadata) GoString() string {
return s.String()
}
+// SetAWSAccountId sets the AWSAccountId field's value.
+func (s *KeyMetadata) SetAWSAccountId(v string) *KeyMetadata {
+ s.AWSAccountId = &v
+ return s
+}
+
+// SetArn sets the Arn field's value.
+func (s *KeyMetadata) SetArn(v string) *KeyMetadata {
+ s.Arn = &v
+ return s
+}
+
+// SetCreationDate sets the CreationDate field's value.
+func (s *KeyMetadata) SetCreationDate(v time.Time) *KeyMetadata {
+ s.CreationDate = &v
+ return s
+}
+
+// SetDeletionDate sets the DeletionDate field's value.
+func (s *KeyMetadata) SetDeletionDate(v time.Time) *KeyMetadata {
+ s.DeletionDate = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *KeyMetadata) SetDescription(v string) *KeyMetadata {
+ s.Description = &v
+ return s
+}
+
+// SetEnabled sets the Enabled field's value.
+func (s *KeyMetadata) SetEnabled(v bool) *KeyMetadata {
+ s.Enabled = &v
+ return s
+}
+
+// SetExpirationModel sets the ExpirationModel field's value.
+func (s *KeyMetadata) SetExpirationModel(v string) *KeyMetadata {
+ s.ExpirationModel = &v
+ return s
+}
+
+// SetKeyId sets the KeyId field's value.
+func (s *KeyMetadata) SetKeyId(v string) *KeyMetadata {
+ s.KeyId = &v
+ return s
+}
+
+// SetKeyState sets the KeyState field's value.
+func (s *KeyMetadata) SetKeyState(v string) *KeyMetadata {
+ s.KeyState = &v
+ return s
+}
+
+// SetKeyUsage sets the KeyUsage field's value.
+func (s *KeyMetadata) SetKeyUsage(v string) *KeyMetadata {
+ s.KeyUsage = &v
+ return s
+}
+
+// SetOrigin sets the Origin field's value.
+func (s *KeyMetadata) SetOrigin(v string) *KeyMetadata {
+ s.Origin = &v
+ return s
+}
+
+// SetValidTo sets the ValidTo field's value.
+func (s *KeyMetadata) SetValidTo(v time.Time) *KeyMetadata {
+ s.ValidTo = &v
+ return s
+}
+
type ListAliasesInput struct {
_ struct{} `type:"structure"`
@@ -4935,6 +5541,18 @@ func (s *ListAliasesInput) Validate() error {
return nil
}
+// SetLimit sets the Limit field's value.
+func (s *ListAliasesInput) SetLimit(v int64) *ListAliasesInput {
+ s.Limit = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *ListAliasesInput) SetMarker(v string) *ListAliasesInput {
+ s.Marker = &v
+ return s
+}
+
type ListAliasesOutput struct {
_ struct{} `type:"structure"`
@@ -4961,6 +5579,24 @@ func (s ListAliasesOutput) GoString() string {
return s.String()
}
+// SetAliases sets the Aliases field's value.
+func (s *ListAliasesOutput) SetAliases(v []*AliasListEntry) *ListAliasesOutput {
+ s.Aliases = v
+ return s
+}
+
+// SetNextMarker sets the NextMarker field's value.
+func (s *ListAliasesOutput) SetNextMarker(v string) *ListAliasesOutput {
+ s.NextMarker = &v
+ return s
+}
+
+// SetTruncated sets the Truncated field's value.
+func (s *ListAliasesOutput) SetTruncated(v bool) *ListAliasesOutput {
+ s.Truncated = &v
+ return s
+}
+
type ListGrantsInput struct {
_ struct{} `type:"structure"`
@@ -5020,6 +5656,24 @@ func (s *ListGrantsInput) Validate() error {
return nil
}
+// SetKeyId sets the KeyId field's value.
+func (s *ListGrantsInput) SetKeyId(v string) *ListGrantsInput {
+ s.KeyId = &v
+ return s
+}
+
+// SetLimit sets the Limit field's value.
+func (s *ListGrantsInput) SetLimit(v int64) *ListGrantsInput {
+ s.Limit = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *ListGrantsInput) SetMarker(v string) *ListGrantsInput {
+ s.Marker = &v
+ return s
+}
+
type ListGrantsResponse struct {
_ struct{} `type:"structure"`
@@ -5046,6 +5700,24 @@ func (s ListGrantsResponse) GoString() string {
return s.String()
}
+// SetGrants sets the Grants field's value.
+func (s *ListGrantsResponse) SetGrants(v []*GrantListEntry) *ListGrantsResponse {
+ s.Grants = v
+ return s
+}
+
+// SetNextMarker sets the NextMarker field's value.
+func (s *ListGrantsResponse) SetNextMarker(v string) *ListGrantsResponse {
+ s.NextMarker = &v
+ return s
+}
+
+// SetTruncated sets the Truncated field's value.
+func (s *ListGrantsResponse) SetTruncated(v bool) *ListGrantsResponse {
+ s.Truncated = &v
+ return s
+}
+
type ListKeyPoliciesInput struct {
_ struct{} `type:"structure"`
@@ -5112,6 +5784,24 @@ func (s *ListKeyPoliciesInput) Validate() error {
return nil
}
+// SetKeyId sets the KeyId field's value.
+func (s *ListKeyPoliciesInput) SetKeyId(v string) *ListKeyPoliciesInput {
+ s.KeyId = &v
+ return s
+}
+
+// SetLimit sets the Limit field's value.
+func (s *ListKeyPoliciesInput) SetLimit(v int64) *ListKeyPoliciesInput {
+ s.Limit = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *ListKeyPoliciesInput) SetMarker(v string) *ListKeyPoliciesInput {
+ s.Marker = &v
+ return s
+}
+
type ListKeyPoliciesOutput struct {
_ struct{} `type:"structure"`
@@ -5139,6 +5829,24 @@ func (s ListKeyPoliciesOutput) GoString() string {
return s.String()
}
+// SetNextMarker sets the NextMarker field's value.
+func (s *ListKeyPoliciesOutput) SetNextMarker(v string) *ListKeyPoliciesOutput {
+ s.NextMarker = &v
+ return s
+}
+
+// SetPolicyNames sets the PolicyNames field's value.
+func (s *ListKeyPoliciesOutput) SetPolicyNames(v []*string) *ListKeyPoliciesOutput {
+ s.PolicyNames = v
+ return s
+}
+
+// SetTruncated sets the Truncated field's value.
+func (s *ListKeyPoliciesOutput) SetTruncated(v bool) *ListKeyPoliciesOutput {
+ s.Truncated = &v
+ return s
+}
+
type ListKeysInput struct {
_ struct{} `type:"structure"`
@@ -5182,6 +5890,18 @@ func (s *ListKeysInput) Validate() error {
return nil
}
+// SetLimit sets the Limit field's value.
+func (s *ListKeysInput) SetLimit(v int64) *ListKeysInput {
+ s.Limit = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *ListKeysInput) SetMarker(v string) *ListKeysInput {
+ s.Marker = &v
+ return s
+}
+
type ListKeysOutput struct {
_ struct{} `type:"structure"`
@@ -5208,6 +5928,24 @@ func (s ListKeysOutput) GoString() string {
return s.String()
}
+// SetKeys sets the Keys field's value.
+func (s *ListKeysOutput) SetKeys(v []*KeyListEntry) *ListKeysOutput {
+ s.Keys = v
+ return s
+}
+
+// SetNextMarker sets the NextMarker field's value.
+func (s *ListKeysOutput) SetNextMarker(v string) *ListKeysOutput {
+ s.NextMarker = &v
+ return s
+}
+
+// SetTruncated sets the Truncated field's value.
+func (s *ListKeysOutput) SetTruncated(v bool) *ListKeysOutput {
+ s.Truncated = &v
+ return s
+}
+
type ListRetirableGrantsInput struct {
_ struct{} `type:"structure"`
@@ -5269,6 +6007,24 @@ func (s *ListRetirableGrantsInput) Validate() error {
return nil
}
+// SetLimit sets the Limit field's value.
+func (s *ListRetirableGrantsInput) SetLimit(v int64) *ListRetirableGrantsInput {
+ s.Limit = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *ListRetirableGrantsInput) SetMarker(v string) *ListRetirableGrantsInput {
+ s.Marker = &v
+ return s
+}
+
+// SetRetiringPrincipal sets the RetiringPrincipal field's value.
+func (s *ListRetirableGrantsInput) SetRetiringPrincipal(v string) *ListRetirableGrantsInput {
+ s.RetiringPrincipal = &v
+ return s
+}
+
type PutKeyPolicyInput struct {
_ struct{} `type:"structure"`
@@ -5367,6 +6123,30 @@ func (s *PutKeyPolicyInput) Validate() error {
return nil
}
+// SetBypassPolicyLockoutSafetyCheck sets the BypassPolicyLockoutSafetyCheck field's value.
+func (s *PutKeyPolicyInput) SetBypassPolicyLockoutSafetyCheck(v bool) *PutKeyPolicyInput {
+ s.BypassPolicyLockoutSafetyCheck = &v
+ return s
+}
+
+// SetKeyId sets the KeyId field's value.
+func (s *PutKeyPolicyInput) SetKeyId(v string) *PutKeyPolicyInput {
+ s.KeyId = &v
+ return s
+}
+
+// SetPolicy sets the Policy field's value.
+func (s *PutKeyPolicyInput) SetPolicy(v string) *PutKeyPolicyInput {
+ s.Policy = &v
+ return s
+}
+
+// SetPolicyName sets the PolicyName field's value.
+func (s *PutKeyPolicyInput) SetPolicyName(v string) *PutKeyPolicyInput {
+ s.PolicyName = &v
+ return s
+}
+
type PutKeyPolicyOutput struct {
_ struct{} `type:"structure"`
}
@@ -5452,6 +6232,36 @@ func (s *ReEncryptInput) Validate() error {
return nil
}
+// SetCiphertextBlob sets the CiphertextBlob field's value.
+func (s *ReEncryptInput) SetCiphertextBlob(v []byte) *ReEncryptInput {
+ s.CiphertextBlob = v
+ return s
+}
+
+// SetDestinationEncryptionContext sets the DestinationEncryptionContext field's value.
+func (s *ReEncryptInput) SetDestinationEncryptionContext(v map[string]*string) *ReEncryptInput {
+ s.DestinationEncryptionContext = v
+ return s
+}
+
+// SetDestinationKeyId sets the DestinationKeyId field's value.
+func (s *ReEncryptInput) SetDestinationKeyId(v string) *ReEncryptInput {
+ s.DestinationKeyId = &v
+ return s
+}
+
+// SetGrantTokens sets the GrantTokens field's value.
+func (s *ReEncryptInput) SetGrantTokens(v []*string) *ReEncryptInput {
+ s.GrantTokens = v
+ return s
+}
+
+// SetSourceEncryptionContext sets the SourceEncryptionContext field's value.
+func (s *ReEncryptInput) SetSourceEncryptionContext(v map[string]*string) *ReEncryptInput {
+ s.SourceEncryptionContext = v
+ return s
+}
+
type ReEncryptOutput struct {
_ struct{} `type:"structure"`
@@ -5478,6 +6288,24 @@ func (s ReEncryptOutput) GoString() string {
return s.String()
}
+// SetCiphertextBlob sets the CiphertextBlob field's value.
+func (s *ReEncryptOutput) SetCiphertextBlob(v []byte) *ReEncryptOutput {
+ s.CiphertextBlob = v
+ return s
+}
+
+// SetKeyId sets the KeyId field's value.
+func (s *ReEncryptOutput) SetKeyId(v string) *ReEncryptOutput {
+ s.KeyId = &v
+ return s
+}
+
+// SetSourceKeyId sets the SourceKeyId field's value.
+func (s *ReEncryptOutput) SetSourceKeyId(v string) *ReEncryptOutput {
+ s.SourceKeyId = &v
+ return s
+}
+
type RetireGrantInput struct {
_ struct{} `type:"structure"`
@@ -5529,6 +6357,24 @@ func (s *RetireGrantInput) Validate() error {
return nil
}
+// SetGrantId sets the GrantId field's value.
+func (s *RetireGrantInput) SetGrantId(v string) *RetireGrantInput {
+ s.GrantId = &v
+ return s
+}
+
+// SetGrantToken sets the GrantToken field's value.
+func (s *RetireGrantInput) SetGrantToken(v string) *RetireGrantInput {
+ s.GrantToken = &v
+ return s
+}
+
+// SetKeyId sets the KeyId field's value.
+func (s *RetireGrantInput) SetKeyId(v string) *RetireGrantInput {
+ s.KeyId = &v
+ return s
+}
+
type RetireGrantOutput struct {
_ struct{} `type:"structure"`
}
@@ -5595,6 +6441,18 @@ func (s *RevokeGrantInput) Validate() error {
return nil
}
+// SetGrantId sets the GrantId field's value.
+func (s *RevokeGrantInput) SetGrantId(v string) *RevokeGrantInput {
+ s.GrantId = &v
+ return s
+}
+
+// SetKeyId sets the KeyId field's value.
+func (s *RevokeGrantInput) SetKeyId(v string) *RevokeGrantInput {
+ s.KeyId = &v
+ return s
+}
+
type RevokeGrantOutput struct {
_ struct{} `type:"structure"`
}
@@ -5664,6 +6522,18 @@ func (s *ScheduleKeyDeletionInput) Validate() error {
return nil
}
+// SetKeyId sets the KeyId field's value.
+func (s *ScheduleKeyDeletionInput) SetKeyId(v string) *ScheduleKeyDeletionInput {
+ s.KeyId = &v
+ return s
+}
+
+// SetPendingWindowInDays sets the PendingWindowInDays field's value.
+func (s *ScheduleKeyDeletionInput) SetPendingWindowInDays(v int64) *ScheduleKeyDeletionInput {
+ s.PendingWindowInDays = &v
+ return s
+}
+
type ScheduleKeyDeletionOutput struct {
_ struct{} `type:"structure"`
@@ -5685,6 +6555,18 @@ func (s ScheduleKeyDeletionOutput) GoString() string {
return s.String()
}
+// SetDeletionDate sets the DeletionDate field's value.
+func (s *ScheduleKeyDeletionOutput) SetDeletionDate(v time.Time) *ScheduleKeyDeletionOutput {
+ s.DeletionDate = &v
+ return s
+}
+
+// SetKeyId sets the KeyId field's value.
+func (s *ScheduleKeyDeletionOutput) SetKeyId(v string) *ScheduleKeyDeletionOutput {
+ s.KeyId = &v
+ return s
+}
+
type UpdateAliasInput struct {
_ struct{} `type:"structure"`
@@ -5742,6 +6624,18 @@ func (s *UpdateAliasInput) Validate() error {
return nil
}
+// SetAliasName sets the AliasName field's value.
+func (s *UpdateAliasInput) SetAliasName(v string) *UpdateAliasInput {
+ s.AliasName = &v
+ return s
+}
+
+// SetTargetKeyId sets the TargetKeyId field's value.
+func (s *UpdateAliasInput) SetTargetKeyId(v string) *UpdateAliasInput {
+ s.TargetKeyId = &v
+ return s
+}
+
type UpdateAliasOutput struct {
_ struct{} `type:"structure"`
}
@@ -5804,6 +6698,18 @@ func (s *UpdateKeyDescriptionInput) Validate() error {
return nil
}
+// SetDescription sets the Description field's value.
+func (s *UpdateKeyDescriptionInput) SetDescription(v string) *UpdateKeyDescriptionInput {
+ s.Description = &v
+ return s
+}
+
+// SetKeyId sets the KeyId field's value.
+func (s *UpdateKeyDescriptionInput) SetKeyId(v string) *UpdateKeyDescriptionInput {
+ s.KeyId = &v
+ return s
+}
+
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 b0503d8..176c363 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
@@ -1101,7 +1101,8 @@ func (c *Lambda) InvokeRequest(input *InvokeInput) (req *request.Request, output
// Invoke API operation for AWS Lambda.
//
-// Invokes a specific Lambda function.
+// Invokes a specific Lambda function. For an example, see Create the Lambda
+// Function and Test It Manually (http://docs.aws.amazon.com/lambda/latest/dg/with-dynamodb-create-function.html#with-dbb-invoke-manually).
//
// If you are using the versioning feature, you can invoke the specific function
// version by providing function version or alias name that is pointing to the
@@ -1176,6 +1177,23 @@ func (c *Lambda) InvokeRequest(input *InvokeInput) (req *request.Request, output
// * InvalidZipFileException
// AWS Lambda could not unzip the function zip file.
//
+// * KMSDisabledException
+// Lambda was unable to decrypt the environment variables because the KMS key
+// used is disabled. Please check the Lambda function's KMS key settings.
+//
+// * KMSInvalidStateException
+// Lambda was unable to decrypt the environment variables because the KMS key
+// used is in an invalid state for Decrypt. Please check the function's KMS
+// key settings.
+//
+// * KMSAccessDeniedException
+// Lambda was unable to decrypt the environment variables becauses KMS access
+// was denied. Please check the Lambda function's KMS permissions.
+//
+// * KMSNotFoundException
+// Lambda was unable to decrypt the environment variables because the KMS key
+// was not found. Please check the function's KMS key settings.
+//
func (c *Lambda) Invoke(input *InvokeInput) (*InvokeOutput, error) {
req, out := c.InvokeRequest(input)
err := req.Send()
@@ -2222,13 +2240,14 @@ type AddPermissionInput struct {
// arn:aws:lambda:aws-region:acct-id:function:function-name
Qualifier *string `location:"querystring" locationName:"Qualifier" min:"1" type:"string"`
- // This parameter is used for S3 and SES only. The AWS account ID (without a
- // hyphen) of the source owner. For example, if the SourceArn identifies a bucket,
- // then this is the bucket owner's account ID. You can use this additional condition
- // to ensure the bucket you specify is owned by a specific account (it is possible
- // the bucket owner deleted the bucket and some other AWS account created the
- // bucket). You can also use this condition to specify all sources (that is,
- // you don't specify the SourceArn) owned by a specific account.
+ // This parameter is used for S3, SES, CloudWatch Logs and CloudWatch Rules
+ // only. The AWS account ID (without a hyphen) of the source owner. For example,
+ // if the SourceArn identifies a bucket, then this is the bucket owner's account
+ // ID. You can use this additional condition to ensure the bucket you specify
+ // is owned by a specific account (it is possible the bucket owner deleted the
+ // bucket and some other AWS account created the bucket). You can also use this
+ // condition to specify all sources (that is, you don't specify the SourceArn)
+ // owned by a specific account.
SourceAccount *string `type:"string"`
// This is optional; however, when granting Amazon S3 permission to invoke your
@@ -2288,6 +2307,54 @@ func (s *AddPermissionInput) Validate() error {
return nil
}
+// SetAction sets the Action field's value.
+func (s *AddPermissionInput) SetAction(v string) *AddPermissionInput {
+ s.Action = &v
+ return s
+}
+
+// SetEventSourceToken sets the EventSourceToken field's value.
+func (s *AddPermissionInput) SetEventSourceToken(v string) *AddPermissionInput {
+ s.EventSourceToken = &v
+ return s
+}
+
+// SetFunctionName sets the FunctionName field's value.
+func (s *AddPermissionInput) SetFunctionName(v string) *AddPermissionInput {
+ s.FunctionName = &v
+ return s
+}
+
+// SetPrincipal sets the Principal field's value.
+func (s *AddPermissionInput) SetPrincipal(v string) *AddPermissionInput {
+ s.Principal = &v
+ return s
+}
+
+// SetQualifier sets the Qualifier field's value.
+func (s *AddPermissionInput) SetQualifier(v string) *AddPermissionInput {
+ s.Qualifier = &v
+ return s
+}
+
+// SetSourceAccount sets the SourceAccount field's value.
+func (s *AddPermissionInput) SetSourceAccount(v string) *AddPermissionInput {
+ s.SourceAccount = &v
+ return s
+}
+
+// SetSourceArn sets the SourceArn field's value.
+func (s *AddPermissionInput) SetSourceArn(v string) *AddPermissionInput {
+ s.SourceArn = &v
+ return s
+}
+
+// SetStatementId sets the StatementId field's value.
+func (s *AddPermissionInput) SetStatementId(v string) *AddPermissionInput {
+ s.StatementId = &v
+ return s
+}
+
type AddPermissionOutput struct {
_ struct{} `type:"structure"`
@@ -2307,6 +2374,12 @@ func (s AddPermissionOutput) GoString() string {
return s.String()
}
+// SetStatement sets the Statement field's value.
+func (s *AddPermissionOutput) SetStatement(v string) *AddPermissionOutput {
+ s.Statement = &v
+ return s
+}
+
// Provides configuration information about a Lambda function version alias.
type AliasConfiguration struct {
_ struct{} `type:"structure"`
@@ -2336,6 +2409,30 @@ func (s AliasConfiguration) GoString() string {
return s.String()
}
+// SetAliasArn sets the AliasArn field's value.
+func (s *AliasConfiguration) SetAliasArn(v string) *AliasConfiguration {
+ s.AliasArn = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *AliasConfiguration) SetDescription(v string) *AliasConfiguration {
+ s.Description = &v
+ return s
+}
+
+// SetFunctionVersion sets the FunctionVersion field's value.
+func (s *AliasConfiguration) SetFunctionVersion(v string) *AliasConfiguration {
+ s.FunctionVersion = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *AliasConfiguration) SetName(v string) *AliasConfiguration {
+ s.Name = &v
+ return s
+}
+
type CreateAliasInput struct {
_ struct{} `type:"structure"`
@@ -2396,6 +2493,30 @@ func (s *CreateAliasInput) Validate() error {
return nil
}
+// SetDescription sets the Description field's value.
+func (s *CreateAliasInput) SetDescription(v string) *CreateAliasInput {
+ s.Description = &v
+ return s
+}
+
+// SetFunctionName sets the FunctionName field's value.
+func (s *CreateAliasInput) SetFunctionName(v string) *CreateAliasInput {
+ s.FunctionName = &v
+ return s
+}
+
+// SetFunctionVersion sets the FunctionVersion field's value.
+func (s *CreateAliasInput) SetFunctionVersion(v string) *CreateAliasInput {
+ s.FunctionVersion = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *CreateAliasInput) SetName(v string) *CreateAliasInput {
+ s.Name = &v
+ return s
+}
+
type CreateEventSourceMappingInput struct {
_ struct{} `type:"structure"`
@@ -2479,6 +2600,36 @@ func (s *CreateEventSourceMappingInput) Validate() error {
return nil
}
+// SetBatchSize sets the BatchSize field's value.
+func (s *CreateEventSourceMappingInput) SetBatchSize(v int64) *CreateEventSourceMappingInput {
+ s.BatchSize = &v
+ return s
+}
+
+// SetEnabled sets the Enabled field's value.
+func (s *CreateEventSourceMappingInput) SetEnabled(v bool) *CreateEventSourceMappingInput {
+ s.Enabled = &v
+ return s
+}
+
+// SetEventSourceArn sets the EventSourceArn field's value.
+func (s *CreateEventSourceMappingInput) SetEventSourceArn(v string) *CreateEventSourceMappingInput {
+ s.EventSourceArn = &v
+ return s
+}
+
+// SetFunctionName sets the FunctionName field's value.
+func (s *CreateEventSourceMappingInput) SetFunctionName(v string) *CreateEventSourceMappingInput {
+ s.FunctionName = &v
+ return s
+}
+
+// SetStartingPosition sets the StartingPosition field's value.
+func (s *CreateEventSourceMappingInput) SetStartingPosition(v string) *CreateEventSourceMappingInput {
+ s.StartingPosition = &v
+ return s
+}
+
type CreateFunctionInput struct {
_ struct{} `type:"structure"`
@@ -2491,6 +2642,9 @@ type CreateFunctionInput struct {
// Assign a meaningful description as you see fit.
Description *string `type:"string"`
+ // The parent object that contains your environment's configuration settings.
+ Environment *Environment `type:"structure"`
+
// The name you want to assign to the function you are uploading. The function
// names appear in the console and are returned in the ListFunctions API. Function
// names are used to specify functions to other AWS Lambda APIs, such as Invoke.
@@ -2506,6 +2660,11 @@ type CreateFunctionInput struct {
// Handler is a required field
Handler *string `type:"string" required:"true"`
+ // The Amazon Resource Name (ARN) of the KMS key used to encrypt your function's
+ // environment variables. If not provided, AWS Lambda will use a default service
+ // key.
+ KMSKeyArn *string `type:"string"`
+
// The amount of memory, in MB, your Lambda function is given. Lambda uses this
// memory size to infer the amount of CPU and memory allocated to your function.
// Your function use-case determines your CPU and memory requirements. For example,
@@ -2594,6 +2753,78 @@ func (s *CreateFunctionInput) Validate() error {
return nil
}
+// SetCode sets the Code field's value.
+func (s *CreateFunctionInput) SetCode(v *FunctionCode) *CreateFunctionInput {
+ s.Code = v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *CreateFunctionInput) SetDescription(v string) *CreateFunctionInput {
+ s.Description = &v
+ return s
+}
+
+// SetEnvironment sets the Environment field's value.
+func (s *CreateFunctionInput) SetEnvironment(v *Environment) *CreateFunctionInput {
+ s.Environment = v
+ return s
+}
+
+// SetFunctionName sets the FunctionName field's value.
+func (s *CreateFunctionInput) SetFunctionName(v string) *CreateFunctionInput {
+ s.FunctionName = &v
+ return s
+}
+
+// SetHandler sets the Handler field's value.
+func (s *CreateFunctionInput) SetHandler(v string) *CreateFunctionInput {
+ s.Handler = &v
+ return s
+}
+
+// SetKMSKeyArn sets the KMSKeyArn field's value.
+func (s *CreateFunctionInput) SetKMSKeyArn(v string) *CreateFunctionInput {
+ s.KMSKeyArn = &v
+ return s
+}
+
+// SetMemorySize sets the MemorySize field's value.
+func (s *CreateFunctionInput) SetMemorySize(v int64) *CreateFunctionInput {
+ s.MemorySize = &v
+ return s
+}
+
+// SetPublish sets the Publish field's value.
+func (s *CreateFunctionInput) SetPublish(v bool) *CreateFunctionInput {
+ s.Publish = &v
+ return s
+}
+
+// SetRole sets the Role field's value.
+func (s *CreateFunctionInput) SetRole(v string) *CreateFunctionInput {
+ s.Role = &v
+ return s
+}
+
+// SetRuntime sets the Runtime field's value.
+func (s *CreateFunctionInput) SetRuntime(v string) *CreateFunctionInput {
+ s.Runtime = &v
+ return s
+}
+
+// SetTimeout sets the Timeout field's value.
+func (s *CreateFunctionInput) SetTimeout(v int64) *CreateFunctionInput {
+ s.Timeout = &v
+ return s
+}
+
+// SetVpcConfig sets the VpcConfig field's value.
+func (s *CreateFunctionInput) SetVpcConfig(v *VpcConfig) *CreateFunctionInput {
+ s.VpcConfig = v
+ return s
+}
+
type DeleteAliasInput struct {
_ struct{} `type:"structure"`
@@ -2641,6 +2872,18 @@ func (s *DeleteAliasInput) Validate() error {
return nil
}
+// SetFunctionName sets the FunctionName field's value.
+func (s *DeleteAliasInput) SetFunctionName(v string) *DeleteAliasInput {
+ s.FunctionName = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *DeleteAliasInput) SetName(v string) *DeleteAliasInput {
+ s.Name = &v
+ return s
+}
+
type DeleteAliasOutput struct {
_ struct{} `type:"structure"`
}
@@ -2687,6 +2930,12 @@ func (s *DeleteEventSourceMappingInput) Validate() error {
return nil
}
+// SetUUID sets the UUID field's value.
+func (s *DeleteEventSourceMappingInput) SetUUID(v string) *DeleteEventSourceMappingInput {
+ s.UUID = &v
+ return s
+}
+
type DeleteFunctionInput struct {
_ struct{} `type:"structure"`
@@ -2749,6 +2998,18 @@ func (s *DeleteFunctionInput) Validate() error {
return nil
}
+// SetFunctionName sets the FunctionName field's value.
+func (s *DeleteFunctionInput) SetFunctionName(v string) *DeleteFunctionInput {
+ s.FunctionName = &v
+ return s
+}
+
+// SetQualifier sets the Qualifier field's value.
+func (s *DeleteFunctionInput) SetQualifier(v string) *DeleteFunctionInput {
+ s.Qualifier = &v
+ return s
+}
+
type DeleteFunctionOutput struct {
_ struct{} `type:"structure"`
}
@@ -2763,6 +3024,101 @@ func (s DeleteFunctionOutput) GoString() string {
return s.String()
}
+// The parent object that contains your environment's configuration settings.
+type Environment struct {
+ _ struct{} `type:"structure"`
+
+ // The key-value pairs that represent your environment's configuration settings.
+ // The value you specify cannot contain a ",".
+ Variables map[string]*string `type:"map"`
+}
+
+// String returns the string representation
+func (s Environment) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s Environment) GoString() string {
+ return s.String()
+}
+
+// SetVariables sets the Variables field's value.
+func (s *Environment) SetVariables(v map[string]*string) *Environment {
+ s.Variables = v
+ return s
+}
+
+// The parent object that contains error information associated with your configuration
+// settings.
+type EnvironmentError struct {
+ _ struct{} `type:"structure"`
+
+ // The error code returned by the environment error object.
+ ErrorCode *string `type:"string"`
+
+ // The message returned by the environment error object.
+ Message *string `type:"string"`
+}
+
+// String returns the string representation
+func (s EnvironmentError) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s EnvironmentError) GoString() string {
+ return s.String()
+}
+
+// SetErrorCode sets the ErrorCode field's value.
+func (s *EnvironmentError) SetErrorCode(v string) *EnvironmentError {
+ s.ErrorCode = &v
+ return s
+}
+
+// SetMessage sets the Message field's value.
+func (s *EnvironmentError) SetMessage(v string) *EnvironmentError {
+ s.Message = &v
+ return s
+}
+
+// The parent object returned that contains your environment's configuration
+// settings or any error information associated with your configuration settings.
+type EnvironmentResponse struct {
+ _ struct{} `type:"structure"`
+
+ // The parent object that contains error information associated with your configuration
+ // settings.
+ Error *EnvironmentError `type:"structure"`
+
+ // The key-value pairs returned that represent your environment's configuration
+ // settings or error information.
+ Variables map[string]*string `type:"map"`
+}
+
+// String returns the string representation
+func (s EnvironmentResponse) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s EnvironmentResponse) GoString() string {
+ return s.String()
+}
+
+// SetError sets the Error field's value.
+func (s *EnvironmentResponse) SetError(v *EnvironmentError) *EnvironmentResponse {
+ s.Error = v
+ return s
+}
+
+// SetVariables sets the Variables field's value.
+func (s *EnvironmentResponse) SetVariables(v map[string]*string) *EnvironmentResponse {
+ s.Variables = v
+ return s
+}
+
// Describes mapping between an Amazon Kinesis stream and a Lambda function.
type EventSourceMappingConfiguration struct {
_ struct{} `type:"structure"`
@@ -2807,6 +3163,54 @@ func (s EventSourceMappingConfiguration) GoString() string {
return s.String()
}
+// SetBatchSize sets the BatchSize field's value.
+func (s *EventSourceMappingConfiguration) SetBatchSize(v int64) *EventSourceMappingConfiguration {
+ s.BatchSize = &v
+ return s
+}
+
+// SetEventSourceArn sets the EventSourceArn field's value.
+func (s *EventSourceMappingConfiguration) SetEventSourceArn(v string) *EventSourceMappingConfiguration {
+ s.EventSourceArn = &v
+ return s
+}
+
+// SetFunctionArn sets the FunctionArn field's value.
+func (s *EventSourceMappingConfiguration) SetFunctionArn(v string) *EventSourceMappingConfiguration {
+ s.FunctionArn = &v
+ return s
+}
+
+// SetLastModified sets the LastModified field's value.
+func (s *EventSourceMappingConfiguration) SetLastModified(v time.Time) *EventSourceMappingConfiguration {
+ s.LastModified = &v
+ return s
+}
+
+// SetLastProcessingResult sets the LastProcessingResult field's value.
+func (s *EventSourceMappingConfiguration) SetLastProcessingResult(v string) *EventSourceMappingConfiguration {
+ s.LastProcessingResult = &v
+ return s
+}
+
+// SetState sets the State field's value.
+func (s *EventSourceMappingConfiguration) SetState(v string) *EventSourceMappingConfiguration {
+ s.State = &v
+ return s
+}
+
+// SetStateTransitionReason sets the StateTransitionReason field's value.
+func (s *EventSourceMappingConfiguration) SetStateTransitionReason(v string) *EventSourceMappingConfiguration {
+ s.StateTransitionReason = &v
+ return s
+}
+
+// SetUUID sets the UUID field's value.
+func (s *EventSourceMappingConfiguration) SetUUID(v string) *EventSourceMappingConfiguration {
+ s.UUID = &v
+ return s
+}
+
// The code for the Lambda function.
type FunctionCode struct {
_ struct{} `type:"structure"`
@@ -2862,6 +3266,30 @@ func (s *FunctionCode) Validate() error {
return nil
}
+// SetS3Bucket sets the S3Bucket field's value.
+func (s *FunctionCode) SetS3Bucket(v string) *FunctionCode {
+ s.S3Bucket = &v
+ return s
+}
+
+// SetS3Key sets the S3Key field's value.
+func (s *FunctionCode) SetS3Key(v string) *FunctionCode {
+ s.S3Key = &v
+ return s
+}
+
+// SetS3ObjectVersion sets the S3ObjectVersion field's value.
+func (s *FunctionCode) SetS3ObjectVersion(v string) *FunctionCode {
+ s.S3ObjectVersion = &v
+ return s
+}
+
+// SetZipFile sets the ZipFile field's value.
+func (s *FunctionCode) SetZipFile(v []byte) *FunctionCode {
+ s.ZipFile = v
+ return s
+}
+
// The object for the Lambda function location.
type FunctionCodeLocation struct {
_ struct{} `type:"structure"`
@@ -2884,6 +3312,18 @@ func (s FunctionCodeLocation) GoString() string {
return s.String()
}
+// SetLocation sets the Location field's value.
+func (s *FunctionCodeLocation) SetLocation(v string) *FunctionCodeLocation {
+ s.Location = &v
+ return s
+}
+
+// SetRepositoryType sets the RepositoryType field's value.
+func (s *FunctionCodeLocation) SetRepositoryType(v string) *FunctionCodeLocation {
+ s.RepositoryType = &v
+ return s
+}
+
// A complex type that describes function metadata.
type FunctionConfiguration struct {
_ struct{} `type:"structure"`
@@ -2897,6 +3337,9 @@ type FunctionConfiguration struct {
// The user-provided description.
Description *string `type:"string"`
+ // The parent object that contains your environment's configuration settings.
+ Environment *EnvironmentResponse `type:"structure"`
+
// The Amazon Resource Name (ARN) assigned to the function.
FunctionArn *string `type:"string"`
@@ -2906,6 +3349,11 @@ type FunctionConfiguration struct {
// The function Lambda calls to begin executing your function.
Handler *string `type:"string"`
+ // The Amazon Resource Name (ARN) of the KMS key used to encrypt your function's
+ // environment variables. If empty, it means you are using the AWS Lambda default
+ // service key.
+ KMSKeyArn *string `type:"string"`
+
// The time stamp of the last time you updated the function.
LastModified *string `type:"string"`
@@ -2945,6 +3393,96 @@ func (s FunctionConfiguration) GoString() string {
return s.String()
}
+// SetCodeSha256 sets the CodeSha256 field's value.
+func (s *FunctionConfiguration) SetCodeSha256(v string) *FunctionConfiguration {
+ s.CodeSha256 = &v
+ return s
+}
+
+// SetCodeSize sets the CodeSize field's value.
+func (s *FunctionConfiguration) SetCodeSize(v int64) *FunctionConfiguration {
+ s.CodeSize = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *FunctionConfiguration) SetDescription(v string) *FunctionConfiguration {
+ s.Description = &v
+ return s
+}
+
+// SetEnvironment sets the Environment field's value.
+func (s *FunctionConfiguration) SetEnvironment(v *EnvironmentResponse) *FunctionConfiguration {
+ s.Environment = v
+ return s
+}
+
+// SetFunctionArn sets the FunctionArn field's value.
+func (s *FunctionConfiguration) SetFunctionArn(v string) *FunctionConfiguration {
+ s.FunctionArn = &v
+ return s
+}
+
+// SetFunctionName sets the FunctionName field's value.
+func (s *FunctionConfiguration) SetFunctionName(v string) *FunctionConfiguration {
+ s.FunctionName = &v
+ return s
+}
+
+// SetHandler sets the Handler field's value.
+func (s *FunctionConfiguration) SetHandler(v string) *FunctionConfiguration {
+ s.Handler = &v
+ return s
+}
+
+// SetKMSKeyArn sets the KMSKeyArn field's value.
+func (s *FunctionConfiguration) SetKMSKeyArn(v string) *FunctionConfiguration {
+ s.KMSKeyArn = &v
+ return s
+}
+
+// SetLastModified sets the LastModified field's value.
+func (s *FunctionConfiguration) SetLastModified(v string) *FunctionConfiguration {
+ s.LastModified = &v
+ return s
+}
+
+// SetMemorySize sets the MemorySize field's value.
+func (s *FunctionConfiguration) SetMemorySize(v int64) *FunctionConfiguration {
+ s.MemorySize = &v
+ return s
+}
+
+// SetRole sets the Role field's value.
+func (s *FunctionConfiguration) SetRole(v string) *FunctionConfiguration {
+ s.Role = &v
+ return s
+}
+
+// SetRuntime sets the Runtime field's value.
+func (s *FunctionConfiguration) SetRuntime(v string) *FunctionConfiguration {
+ s.Runtime = &v
+ return s
+}
+
+// SetTimeout sets the Timeout field's value.
+func (s *FunctionConfiguration) SetTimeout(v int64) *FunctionConfiguration {
+ s.Timeout = &v
+ return s
+}
+
+// SetVersion sets the Version field's value.
+func (s *FunctionConfiguration) SetVersion(v string) *FunctionConfiguration {
+ s.Version = &v
+ return s
+}
+
+// SetVpcConfig sets the VpcConfig field's value.
+func (s *FunctionConfiguration) SetVpcConfig(v *VpcConfigResponse) *FunctionConfiguration {
+ s.VpcConfig = v
+ return s
+}
+
type GetAliasInput struct {
_ struct{} `type:"structure"`
@@ -2993,6 +3531,18 @@ func (s *GetAliasInput) Validate() error {
return nil
}
+// SetFunctionName sets the FunctionName field's value.
+func (s *GetAliasInput) SetFunctionName(v string) *GetAliasInput {
+ s.FunctionName = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *GetAliasInput) SetName(v string) *GetAliasInput {
+ s.Name = &v
+ return s
+}
+
type GetEventSourceMappingInput struct {
_ struct{} `type:"structure"`
@@ -3025,6 +3575,12 @@ func (s *GetEventSourceMappingInput) Validate() error {
return nil
}
+// SetUUID sets the UUID field's value.
+func (s *GetEventSourceMappingInput) SetUUID(v string) *GetEventSourceMappingInput {
+ s.UUID = &v
+ return s
+}
+
type GetFunctionConfigurationInput struct {
_ struct{} `type:"structure"`
@@ -3080,6 +3636,18 @@ func (s *GetFunctionConfigurationInput) Validate() error {
return nil
}
+// SetFunctionName sets the FunctionName field's value.
+func (s *GetFunctionConfigurationInput) SetFunctionName(v string) *GetFunctionConfigurationInput {
+ s.FunctionName = &v
+ return s
+}
+
+// SetQualifier sets the Qualifier field's value.
+func (s *GetFunctionConfigurationInput) SetQualifier(v string) *GetFunctionConfigurationInput {
+ s.Qualifier = &v
+ return s
+}
+
type GetFunctionInput struct {
_ struct{} `type:"structure"`
@@ -3133,7 +3701,19 @@ func (s *GetFunctionInput) Validate() error {
return nil
}
-// This response contains the object for the Lambda function location (see .
+// SetFunctionName sets the FunctionName field's value.
+func (s *GetFunctionInput) SetFunctionName(v string) *GetFunctionInput {
+ s.FunctionName = &v
+ return s
+}
+
+// SetQualifier sets the Qualifier field's value.
+func (s *GetFunctionInput) SetQualifier(v string) *GetFunctionInput {
+ s.Qualifier = &v
+ return s
+}
+
+// This response contains the object for the Lambda function location (see FunctionCodeLocation.
type GetFunctionOutput struct {
_ struct{} `type:"structure"`
@@ -3154,6 +3734,18 @@ func (s GetFunctionOutput) GoString() string {
return s.String()
}
+// SetCode sets the Code field's value.
+func (s *GetFunctionOutput) SetCode(v *FunctionCodeLocation) *GetFunctionOutput {
+ s.Code = v
+ return s
+}
+
+// SetConfiguration sets the Configuration field's value.
+func (s *GetFunctionOutput) SetConfiguration(v *FunctionConfiguration) *GetFunctionOutput {
+ s.Configuration = v
+ return s
+}
+
type GetPolicyInput struct {
_ struct{} `type:"structure"`
@@ -3207,6 +3799,18 @@ func (s *GetPolicyInput) Validate() error {
return nil
}
+// SetFunctionName sets the FunctionName field's value.
+func (s *GetPolicyInput) SetFunctionName(v string) *GetPolicyInput {
+ s.FunctionName = &v
+ return s
+}
+
+// SetQualifier sets the Qualifier field's value.
+func (s *GetPolicyInput) SetQualifier(v string) *GetPolicyInput {
+ s.Qualifier = &v
+ return s
+}
+
type GetPolicyOutput struct {
_ struct{} `type:"structure"`
@@ -3226,6 +3830,12 @@ func (s GetPolicyOutput) GoString() string {
return s.String()
}
+// SetPolicy sets the Policy field's value.
+func (s *GetPolicyOutput) SetPolicy(v string) *GetPolicyOutput {
+ s.Policy = &v
+ return s
+}
+
type InvokeAsyncInput struct {
_ struct{} `deprecated:"true" type:"structure" payload:"InvokeArgs"`
@@ -3269,6 +3879,18 @@ func (s *InvokeAsyncInput) Validate() error {
return nil
}
+// SetFunctionName sets the FunctionName field's value.
+func (s *InvokeAsyncInput) SetFunctionName(v string) *InvokeAsyncInput {
+ s.FunctionName = &v
+ return s
+}
+
+// SetInvokeArgs sets the InvokeArgs field's value.
+func (s *InvokeAsyncInput) SetInvokeArgs(v io.ReadSeeker) *InvokeAsyncInput {
+ s.InvokeArgs = v
+ return s
+}
+
// Upon success, it returns empty response. Otherwise, throws an exception.
type InvokeAsyncOutput struct {
_ struct{} `deprecated:"true" type:"structure"`
@@ -3287,6 +3909,12 @@ func (s InvokeAsyncOutput) GoString() string {
return s.String()
}
+// SetStatus sets the Status field's value.
+func (s *InvokeAsyncOutput) SetStatus(v int64) *InvokeAsyncOutput {
+ s.Status = &v
+ return s
+}
+
type InvokeInput struct {
_ struct{} `type:"structure" payload:"Payload"`
@@ -3368,6 +3996,42 @@ func (s *InvokeInput) Validate() error {
return nil
}
+// SetClientContext sets the ClientContext field's value.
+func (s *InvokeInput) SetClientContext(v string) *InvokeInput {
+ s.ClientContext = &v
+ return s
+}
+
+// SetFunctionName sets the FunctionName field's value.
+func (s *InvokeInput) SetFunctionName(v string) *InvokeInput {
+ s.FunctionName = &v
+ return s
+}
+
+// SetInvocationType sets the InvocationType field's value.
+func (s *InvokeInput) SetInvocationType(v string) *InvokeInput {
+ s.InvocationType = &v
+ return s
+}
+
+// SetLogType sets the LogType field's value.
+func (s *InvokeInput) SetLogType(v string) *InvokeInput {
+ s.LogType = &v
+ return s
+}
+
+// SetPayload sets the Payload field's value.
+func (s *InvokeInput) SetPayload(v []byte) *InvokeInput {
+ s.Payload = v
+ return s
+}
+
+// SetQualifier sets the Qualifier field's value.
+func (s *InvokeInput) SetQualifier(v string) *InvokeInput {
+ s.Qualifier = &v
+ return s
+}
+
// Upon success, returns an empty response. Otherwise, throws an exception.
type InvokeOutput struct {
_ struct{} `type:"structure" payload:"Payload"`
@@ -3386,7 +4050,7 @@ type InvokeOutput struct {
LogResult *string `location:"header" locationName:"X-Amz-Log-Result" type:"string"`
// It is the JSON representation of the object returned by the Lambda function.
- // In This is present only if the invocation type is RequestResponse.
+ // This is present only if the invocation type is RequestResponse.
//
// In the event of a function error this field contains a message describing
// the error. For the Handled errors the Lambda function will report this message.
@@ -3410,6 +4074,30 @@ func (s InvokeOutput) GoString() string {
return s.String()
}
+// SetFunctionError sets the FunctionError field's value.
+func (s *InvokeOutput) SetFunctionError(v string) *InvokeOutput {
+ s.FunctionError = &v
+ return s
+}
+
+// SetLogResult sets the LogResult field's value.
+func (s *InvokeOutput) SetLogResult(v string) *InvokeOutput {
+ s.LogResult = &v
+ return s
+}
+
+// SetPayload sets the Payload field's value.
+func (s *InvokeOutput) SetPayload(v []byte) *InvokeOutput {
+ s.Payload = v
+ return s
+}
+
+// SetStatusCode sets the StatusCode field's value.
+func (s *InvokeOutput) SetStatusCode(v int64) *InvokeOutput {
+ s.StatusCode = &v
+ return s
+}
+
type ListAliasesInput struct {
_ struct{} `type:"structure"`
@@ -3464,6 +4152,30 @@ func (s *ListAliasesInput) Validate() error {
return nil
}
+// SetFunctionName sets the FunctionName field's value.
+func (s *ListAliasesInput) SetFunctionName(v string) *ListAliasesInput {
+ s.FunctionName = &v
+ return s
+}
+
+// SetFunctionVersion sets the FunctionVersion field's value.
+func (s *ListAliasesInput) SetFunctionVersion(v string) *ListAliasesInput {
+ s.FunctionVersion = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *ListAliasesInput) SetMarker(v string) *ListAliasesInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxItems sets the MaxItems field's value.
+func (s *ListAliasesInput) SetMaxItems(v int64) *ListAliasesInput {
+ s.MaxItems = &v
+ return s
+}
+
type ListAliasesOutput struct {
_ struct{} `type:"structure"`
@@ -3484,6 +4196,18 @@ func (s ListAliasesOutput) GoString() string {
return s.String()
}
+// SetAliases sets the Aliases field's value.
+func (s *ListAliasesOutput) SetAliases(v []*AliasConfiguration) *ListAliasesOutput {
+ s.Aliases = v
+ return s
+}
+
+// SetNextMarker sets the NextMarker field's value.
+func (s *ListAliasesOutput) SetNextMarker(v string) *ListAliasesOutput {
+ s.NextMarker = &v
+ return s
+}
+
type ListEventSourceMappingsInput struct {
_ struct{} `type:"structure"`
@@ -3539,7 +4263,31 @@ func (s *ListEventSourceMappingsInput) Validate() error {
return nil
}
-// Contains a list of event sources (see )
+// SetEventSourceArn sets the EventSourceArn field's value.
+func (s *ListEventSourceMappingsInput) SetEventSourceArn(v string) *ListEventSourceMappingsInput {
+ s.EventSourceArn = &v
+ return s
+}
+
+// SetFunctionName sets the FunctionName field's value.
+func (s *ListEventSourceMappingsInput) SetFunctionName(v string) *ListEventSourceMappingsInput {
+ s.FunctionName = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *ListEventSourceMappingsInput) SetMarker(v string) *ListEventSourceMappingsInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxItems sets the MaxItems field's value.
+func (s *ListEventSourceMappingsInput) SetMaxItems(v int64) *ListEventSourceMappingsInput {
+ s.MaxItems = &v
+ return s
+}
+
+// Contains a list of event sources (see EventSourceMappingConfiguration)
type ListEventSourceMappingsOutput struct {
_ struct{} `type:"structure"`
@@ -3560,6 +4308,18 @@ func (s ListEventSourceMappingsOutput) GoString() string {
return s.String()
}
+// SetEventSourceMappings sets the EventSourceMappings field's value.
+func (s *ListEventSourceMappingsOutput) SetEventSourceMappings(v []*EventSourceMappingConfiguration) *ListEventSourceMappingsOutput {
+ s.EventSourceMappings = v
+ return s
+}
+
+// SetNextMarker sets the NextMarker field's value.
+func (s *ListEventSourceMappingsOutput) SetNextMarker(v string) *ListEventSourceMappingsOutput {
+ s.NextMarker = &v
+ return s
+}
+
type ListFunctionsInput struct {
_ struct{} `type:"structure"`
@@ -3595,6 +4355,18 @@ func (s *ListFunctionsInput) Validate() error {
return nil
}
+// SetMarker sets the Marker field's value.
+func (s *ListFunctionsInput) SetMarker(v string) *ListFunctionsInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxItems sets the MaxItems field's value.
+func (s *ListFunctionsInput) SetMaxItems(v int64) *ListFunctionsInput {
+ s.MaxItems = &v
+ return s
+}
+
// Contains a list of AWS Lambda function configurations (see FunctionConfiguration.
type ListFunctionsOutput struct {
_ struct{} `type:"structure"`
@@ -3616,6 +4388,18 @@ func (s ListFunctionsOutput) GoString() string {
return s.String()
}
+// SetFunctions sets the Functions field's value.
+func (s *ListFunctionsOutput) SetFunctions(v []*FunctionConfiguration) *ListFunctionsOutput {
+ s.Functions = v
+ return s
+}
+
+// SetNextMarker sets the NextMarker field's value.
+func (s *ListFunctionsOutput) SetNextMarker(v string) *ListFunctionsOutput {
+ s.NextMarker = &v
+ return s
+}
+
type ListVersionsByFunctionInput struct {
_ struct{} `type:"structure"`
@@ -3667,6 +4451,24 @@ func (s *ListVersionsByFunctionInput) Validate() error {
return nil
}
+// SetFunctionName sets the FunctionName field's value.
+func (s *ListVersionsByFunctionInput) SetFunctionName(v string) *ListVersionsByFunctionInput {
+ s.FunctionName = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *ListVersionsByFunctionInput) SetMarker(v string) *ListVersionsByFunctionInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxItems sets the MaxItems field's value.
+func (s *ListVersionsByFunctionInput) SetMaxItems(v int64) *ListVersionsByFunctionInput {
+ s.MaxItems = &v
+ return s
+}
+
type ListVersionsByFunctionOutput struct {
_ struct{} `type:"structure"`
@@ -3687,6 +4489,18 @@ func (s ListVersionsByFunctionOutput) GoString() string {
return s.String()
}
+// SetNextMarker sets the NextMarker field's value.
+func (s *ListVersionsByFunctionOutput) SetNextMarker(v string) *ListVersionsByFunctionOutput {
+ s.NextMarker = &v
+ return s
+}
+
+// SetVersions sets the Versions field's value.
+func (s *ListVersionsByFunctionOutput) SetVersions(v []*FunctionConfiguration) *ListVersionsByFunctionOutput {
+ s.Versions = v
+ return s
+}
+
type PublishVersionInput struct {
_ struct{} `type:"structure"`
@@ -3737,6 +4551,24 @@ func (s *PublishVersionInput) Validate() error {
return nil
}
+// SetCodeSha256 sets the CodeSha256 field's value.
+func (s *PublishVersionInput) SetCodeSha256(v string) *PublishVersionInput {
+ s.CodeSha256 = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *PublishVersionInput) SetDescription(v string) *PublishVersionInput {
+ s.Description = &v
+ return s
+}
+
+// SetFunctionName sets the FunctionName field's value.
+func (s *PublishVersionInput) SetFunctionName(v string) *PublishVersionInput {
+ s.FunctionName = &v
+ return s
+}
+
type RemovePermissionInput struct {
_ struct{} `type:"structure"`
@@ -3798,6 +4630,24 @@ func (s *RemovePermissionInput) Validate() error {
return nil
}
+// SetFunctionName sets the FunctionName field's value.
+func (s *RemovePermissionInput) SetFunctionName(v string) *RemovePermissionInput {
+ s.FunctionName = &v
+ return s
+}
+
+// SetQualifier sets the Qualifier field's value.
+func (s *RemovePermissionInput) SetQualifier(v string) *RemovePermissionInput {
+ s.Qualifier = &v
+ return s
+}
+
+// SetStatementId sets the StatementId field's value.
+func (s *RemovePermissionInput) SetStatementId(v string) *RemovePermissionInput {
+ s.StatementId = &v
+ return s
+}
+
type RemovePermissionOutput struct {
_ struct{} `type:"structure"`
}
@@ -3868,6 +4718,30 @@ func (s *UpdateAliasInput) Validate() error {
return nil
}
+// SetDescription sets the Description field's value.
+func (s *UpdateAliasInput) SetDescription(v string) *UpdateAliasInput {
+ s.Description = &v
+ return s
+}
+
+// SetFunctionName sets the FunctionName field's value.
+func (s *UpdateAliasInput) SetFunctionName(v string) *UpdateAliasInput {
+ s.FunctionName = &v
+ return s
+}
+
+// SetFunctionVersion sets the FunctionVersion field's value.
+func (s *UpdateAliasInput) SetFunctionVersion(v string) *UpdateAliasInput {
+ s.FunctionVersion = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *UpdateAliasInput) SetName(v string) *UpdateAliasInput {
+ s.Name = &v
+ return s
+}
+
type UpdateEventSourceMappingInput struct {
_ struct{} `type:"structure"`
@@ -3929,6 +4803,30 @@ func (s *UpdateEventSourceMappingInput) Validate() error {
return nil
}
+// SetBatchSize sets the BatchSize field's value.
+func (s *UpdateEventSourceMappingInput) SetBatchSize(v int64) *UpdateEventSourceMappingInput {
+ s.BatchSize = &v
+ return s
+}
+
+// SetEnabled sets the Enabled field's value.
+func (s *UpdateEventSourceMappingInput) SetEnabled(v bool) *UpdateEventSourceMappingInput {
+ s.Enabled = &v
+ return s
+}
+
+// SetFunctionName sets the FunctionName field's value.
+func (s *UpdateEventSourceMappingInput) SetFunctionName(v string) *UpdateEventSourceMappingInput {
+ s.FunctionName = &v
+ return s
+}
+
+// SetUUID sets the UUID field's value.
+func (s *UpdateEventSourceMappingInput) SetUUID(v string) *UpdateEventSourceMappingInput {
+ s.UUID = &v
+ return s
+}
+
type UpdateFunctionCodeInput struct {
_ struct{} `type:"structure"`
@@ -4004,6 +4902,42 @@ func (s *UpdateFunctionCodeInput) Validate() error {
return nil
}
+// SetFunctionName sets the FunctionName field's value.
+func (s *UpdateFunctionCodeInput) SetFunctionName(v string) *UpdateFunctionCodeInput {
+ s.FunctionName = &v
+ return s
+}
+
+// SetPublish sets the Publish field's value.
+func (s *UpdateFunctionCodeInput) SetPublish(v bool) *UpdateFunctionCodeInput {
+ s.Publish = &v
+ return s
+}
+
+// SetS3Bucket sets the S3Bucket field's value.
+func (s *UpdateFunctionCodeInput) SetS3Bucket(v string) *UpdateFunctionCodeInput {
+ s.S3Bucket = &v
+ return s
+}
+
+// SetS3Key sets the S3Key field's value.
+func (s *UpdateFunctionCodeInput) SetS3Key(v string) *UpdateFunctionCodeInput {
+ s.S3Key = &v
+ return s
+}
+
+// SetS3ObjectVersion sets the S3ObjectVersion field's value.
+func (s *UpdateFunctionCodeInput) SetS3ObjectVersion(v string) *UpdateFunctionCodeInput {
+ s.S3ObjectVersion = &v
+ return s
+}
+
+// SetZipFile sets the ZipFile field's value.
+func (s *UpdateFunctionCodeInput) SetZipFile(v []byte) *UpdateFunctionCodeInput {
+ s.ZipFile = v
+ return s
+}
+
type UpdateFunctionConfigurationInput struct {
_ struct{} `type:"structure"`
@@ -4011,6 +4945,9 @@ type UpdateFunctionConfigurationInput struct {
// Assign a meaningful description as you see fit.
Description *string `type:"string"`
+ // The parent object that contains your environment's configuration settings.
+ Environment *Environment `type:"structure"`
+
// The name of the Lambda function.
//
// You can specify a function name (for example, Thumbnail) or you can specify
@@ -4026,6 +4963,11 @@ type UpdateFunctionConfigurationInput struct {
// it is the module-name.export value in your function.
Handler *string `type:"string"`
+ // The Amazon Resource Name (ARN) of the KMS key used to encrypt your function's
+ // environment variables. If you elect to use the AWS Lambda default service
+ // key, pass in an empty string ("") for this parameter.
+ KMSKeyArn *string `type:"string"`
+
// The amount of memory, in MB, your Lambda function is given. AWS Lambda uses
// this memory size to infer the amount of CPU allocated to your function. Your
// function use-case determines your CPU and memory requirements. For example,
@@ -4088,6 +5030,66 @@ func (s *UpdateFunctionConfigurationInput) Validate() error {
return nil
}
+// SetDescription sets the Description field's value.
+func (s *UpdateFunctionConfigurationInput) SetDescription(v string) *UpdateFunctionConfigurationInput {
+ s.Description = &v
+ return s
+}
+
+// SetEnvironment sets the Environment field's value.
+func (s *UpdateFunctionConfigurationInput) SetEnvironment(v *Environment) *UpdateFunctionConfigurationInput {
+ s.Environment = v
+ return s
+}
+
+// SetFunctionName sets the FunctionName field's value.
+func (s *UpdateFunctionConfigurationInput) SetFunctionName(v string) *UpdateFunctionConfigurationInput {
+ s.FunctionName = &v
+ return s
+}
+
+// SetHandler sets the Handler field's value.
+func (s *UpdateFunctionConfigurationInput) SetHandler(v string) *UpdateFunctionConfigurationInput {
+ s.Handler = &v
+ return s
+}
+
+// SetKMSKeyArn sets the KMSKeyArn field's value.
+func (s *UpdateFunctionConfigurationInput) SetKMSKeyArn(v string) *UpdateFunctionConfigurationInput {
+ s.KMSKeyArn = &v
+ return s
+}
+
+// SetMemorySize sets the MemorySize field's value.
+func (s *UpdateFunctionConfigurationInput) SetMemorySize(v int64) *UpdateFunctionConfigurationInput {
+ s.MemorySize = &v
+ return s
+}
+
+// SetRole sets the Role field's value.
+func (s *UpdateFunctionConfigurationInput) SetRole(v string) *UpdateFunctionConfigurationInput {
+ s.Role = &v
+ return s
+}
+
+// SetRuntime sets the Runtime field's value.
+func (s *UpdateFunctionConfigurationInput) SetRuntime(v string) *UpdateFunctionConfigurationInput {
+ s.Runtime = &v
+ return s
+}
+
+// SetTimeout sets the Timeout field's value.
+func (s *UpdateFunctionConfigurationInput) SetTimeout(v int64) *UpdateFunctionConfigurationInput {
+ s.Timeout = &v
+ return s
+}
+
+// SetVpcConfig sets the VpcConfig field's value.
+func (s *UpdateFunctionConfigurationInput) SetVpcConfig(v *VpcConfig) *UpdateFunctionConfigurationInput {
+ s.VpcConfig = v
+ return s
+}
+
// If your Lambda function accesses resources in a VPC, you provide this parameter
// 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
@@ -4112,6 +5114,18 @@ func (s VpcConfig) GoString() string {
return s.String()
}
+// SetSecurityGroupIds sets the SecurityGroupIds field's value.
+func (s *VpcConfig) SetSecurityGroupIds(v []*string) *VpcConfig {
+ s.SecurityGroupIds = v
+ return s
+}
+
+// SetSubnetIds sets the SubnetIds field's value.
+func (s *VpcConfig) SetSubnetIds(v []*string) *VpcConfig {
+ s.SubnetIds = v
+ return s
+}
+
// VPC configuration associated with your Lambda function.
type VpcConfigResponse struct {
_ struct{} `type:"structure"`
@@ -4136,6 +5150,24 @@ func (s VpcConfigResponse) GoString() string {
return s.String()
}
+// SetSecurityGroupIds sets the SecurityGroupIds field's value.
+func (s *VpcConfigResponse) SetSecurityGroupIds(v []*string) *VpcConfigResponse {
+ s.SecurityGroupIds = v
+ return s
+}
+
+// SetSubnetIds sets the SubnetIds field's value.
+func (s *VpcConfigResponse) SetSubnetIds(v []*string) *VpcConfigResponse {
+ s.SubnetIds = v
+ return s
+}
+
+// SetVpcId sets the VpcId field's value.
+func (s *VpcConfigResponse) SetVpcId(v string) *VpcConfigResponse {
+ s.VpcId = &v
+ return s
+}
+
const (
// EventSourcePositionTrimHorizon is a EventSourcePosition enum value
EventSourcePositionTrimHorizon = "TRIM_HORIZON"
diff --git a/vendor/github.com/aws/aws-sdk-go/service/lambda/examples_test.go b/vendor/github.com/aws/aws-sdk-go/service/lambda/examples_test.go
index a4af108..f249b74 100644
--- a/vendor/github.com/aws/aws-sdk-go/service/lambda/examples_test.go
+++ b/vendor/github.com/aws/aws-sdk-go/service/lambda/examples_test.go
@@ -125,9 +125,16 @@ func ExampleLambda_CreateFunction() {
Role: aws.String("RoleArn"), // Required
Runtime: aws.String("Runtime"), // Required
Description: aws.String("Description"),
- MemorySize: aws.Int64(1),
- Publish: aws.Bool(true),
- Timeout: aws.Int64(1),
+ Environment: &lambda.Environment{
+ Variables: map[string]*string{
+ "Key": aws.String("EnvironmentVariableValue"), // Required
+ // More values...
+ },
+ },
+ KMSKeyArn: aws.String("KMSKeyArn"),
+ MemorySize: aws.Int64(1),
+ Publish: aws.Bool(true),
+ Timeout: aws.Int64(1),
VpcConfig: &lambda.VpcConfig{
SecurityGroupIds: []*string{
aws.String("SecurityGroupId"), // Required
@@ -675,11 +682,18 @@ func ExampleLambda_UpdateFunctionConfiguration() {
params := &lambda.UpdateFunctionConfigurationInput{
FunctionName: aws.String("FunctionName"), // Required
Description: aws.String("Description"),
- Handler: aws.String("Handler"),
- MemorySize: aws.Int64(1),
- Role: aws.String("RoleArn"),
- Runtime: aws.String("Runtime"),
- Timeout: aws.Int64(1),
+ Environment: &lambda.Environment{
+ Variables: map[string]*string{
+ "Key": aws.String("EnvironmentVariableValue"), // Required
+ // More values...
+ },
+ },
+ Handler: aws.String("Handler"),
+ KMSKeyArn: aws.String("KMSKeyArn"),
+ MemorySize: aws.Int64(1),
+ Role: aws.String("RoleArn"),
+ Runtime: aws.String("Runtime"),
+ Timeout: aws.Int64(1),
VpcConfig: &lambda.VpcConfig{
SecurityGroupIds: []*string{
aws.String("SecurityGroupId"), // Required
diff --git a/vendor/github.com/aws/aws-sdk-go/service/machinelearning/api.go b/vendor/github.com/aws/aws-sdk-go/service/machinelearning/api.go
index 1ce886d..68dd8b2 100644
--- a/vendor/github.com/aws/aws-sdk-go/service/machinelearning/api.go
+++ b/vendor/github.com/aws/aws-sdk-go/service/machinelearning/api.go
@@ -2371,6 +2371,24 @@ func (s *AddTagsInput) Validate() error {
return nil
}
+// SetResourceId sets the ResourceId field's value.
+func (s *AddTagsInput) SetResourceId(v string) *AddTagsInput {
+ s.ResourceId = &v
+ return s
+}
+
+// SetResourceType sets the ResourceType field's value.
+func (s *AddTagsInput) SetResourceType(v string) *AddTagsInput {
+ s.ResourceType = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *AddTagsInput) SetTags(v []*Tag) *AddTagsInput {
+ s.Tags = v
+ return s
+}
+
// Amazon ML returns the following elements.
type AddTagsOutput struct {
_ struct{} `type:"structure"`
@@ -2392,6 +2410,18 @@ func (s AddTagsOutput) GoString() string {
return s.String()
}
+// SetResourceId sets the ResourceId field's value.
+func (s *AddTagsOutput) SetResourceId(v string) *AddTagsOutput {
+ s.ResourceId = &v
+ return s
+}
+
+// SetResourceType sets the ResourceType field's value.
+func (s *AddTagsOutput) SetResourceType(v string) *AddTagsOutput {
+ s.ResourceType = &v
+ return s
+}
+
// Represents the output of a GetBatchPrediction operation.
//
// The content consists of the detailed metadata, the status, and the data file
@@ -2477,6 +2507,102 @@ func (s BatchPrediction) GoString() string {
return s.String()
}
+// SetBatchPredictionDataSourceId sets the BatchPredictionDataSourceId field's value.
+func (s *BatchPrediction) SetBatchPredictionDataSourceId(v string) *BatchPrediction {
+ s.BatchPredictionDataSourceId = &v
+ return s
+}
+
+// SetBatchPredictionId sets the BatchPredictionId field's value.
+func (s *BatchPrediction) SetBatchPredictionId(v string) *BatchPrediction {
+ s.BatchPredictionId = &v
+ return s
+}
+
+// SetComputeTime sets the ComputeTime field's value.
+func (s *BatchPrediction) SetComputeTime(v int64) *BatchPrediction {
+ s.ComputeTime = &v
+ return s
+}
+
+// SetCreatedAt sets the CreatedAt field's value.
+func (s *BatchPrediction) SetCreatedAt(v time.Time) *BatchPrediction {
+ s.CreatedAt = &v
+ return s
+}
+
+// SetCreatedByIamUser sets the CreatedByIamUser field's value.
+func (s *BatchPrediction) SetCreatedByIamUser(v string) *BatchPrediction {
+ s.CreatedByIamUser = &v
+ return s
+}
+
+// SetFinishedAt sets the FinishedAt field's value.
+func (s *BatchPrediction) SetFinishedAt(v time.Time) *BatchPrediction {
+ s.FinishedAt = &v
+ return s
+}
+
+// SetInputDataLocationS3 sets the InputDataLocationS3 field's value.
+func (s *BatchPrediction) SetInputDataLocationS3(v string) *BatchPrediction {
+ s.InputDataLocationS3 = &v
+ return s
+}
+
+// SetInvalidRecordCount sets the InvalidRecordCount field's value.
+func (s *BatchPrediction) SetInvalidRecordCount(v int64) *BatchPrediction {
+ s.InvalidRecordCount = &v
+ return s
+}
+
+// SetLastUpdatedAt sets the LastUpdatedAt field's value.
+func (s *BatchPrediction) SetLastUpdatedAt(v time.Time) *BatchPrediction {
+ s.LastUpdatedAt = &v
+ return s
+}
+
+// SetMLModelId sets the MLModelId field's value.
+func (s *BatchPrediction) SetMLModelId(v string) *BatchPrediction {
+ s.MLModelId = &v
+ return s
+}
+
+// SetMessage sets the Message field's value.
+func (s *BatchPrediction) SetMessage(v string) *BatchPrediction {
+ s.Message = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *BatchPrediction) SetName(v string) *BatchPrediction {
+ s.Name = &v
+ return s
+}
+
+// SetOutputUri sets the OutputUri field's value.
+func (s *BatchPrediction) SetOutputUri(v string) *BatchPrediction {
+ s.OutputUri = &v
+ return s
+}
+
+// SetStartedAt sets the StartedAt field's value.
+func (s *BatchPrediction) SetStartedAt(v time.Time) *BatchPrediction {
+ s.StartedAt = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *BatchPrediction) SetStatus(v string) *BatchPrediction {
+ s.Status = &v
+ return s
+}
+
+// SetTotalRecordCount sets the TotalRecordCount field's value.
+func (s *BatchPrediction) SetTotalRecordCount(v int64) *BatchPrediction {
+ s.TotalRecordCount = &v
+ return s
+}
+
type CreateBatchPredictionInput struct {
_ struct{} `type:"structure"`
@@ -2552,6 +2678,36 @@ func (s *CreateBatchPredictionInput) Validate() error {
return nil
}
+// SetBatchPredictionDataSourceId sets the BatchPredictionDataSourceId field's value.
+func (s *CreateBatchPredictionInput) SetBatchPredictionDataSourceId(v string) *CreateBatchPredictionInput {
+ s.BatchPredictionDataSourceId = &v
+ return s
+}
+
+// SetBatchPredictionId sets the BatchPredictionId field's value.
+func (s *CreateBatchPredictionInput) SetBatchPredictionId(v string) *CreateBatchPredictionInput {
+ s.BatchPredictionId = &v
+ return s
+}
+
+// SetBatchPredictionName sets the BatchPredictionName field's value.
+func (s *CreateBatchPredictionInput) SetBatchPredictionName(v string) *CreateBatchPredictionInput {
+ s.BatchPredictionName = &v
+ return s
+}
+
+// SetMLModelId sets the MLModelId field's value.
+func (s *CreateBatchPredictionInput) SetMLModelId(v string) *CreateBatchPredictionInput {
+ s.MLModelId = &v
+ return s
+}
+
+// SetOutputUri sets the OutputUri field's value.
+func (s *CreateBatchPredictionInput) SetOutputUri(v string) *CreateBatchPredictionInput {
+ s.OutputUri = &v
+ return s
+}
+
// Represents the output of a CreateBatchPrediction operation, and is an acknowledgement
// that Amazon ML received the request.
//
@@ -2576,6 +2732,12 @@ func (s CreateBatchPredictionOutput) GoString() string {
return s.String()
}
+// SetBatchPredictionId sets the BatchPredictionId field's value.
+func (s *CreateBatchPredictionOutput) SetBatchPredictionId(v string) *CreateBatchPredictionOutput {
+ s.BatchPredictionId = &v
+ return s
+}
+
type CreateDataSourceFromRDSInput struct {
_ struct{} `type:"structure"`
@@ -2647,6 +2809,36 @@ func (s *CreateDataSourceFromRDSInput) Validate() error {
return nil
}
+// SetComputeStatistics sets the ComputeStatistics field's value.
+func (s *CreateDataSourceFromRDSInput) SetComputeStatistics(v bool) *CreateDataSourceFromRDSInput {
+ s.ComputeStatistics = &v
+ return s
+}
+
+// SetDataSourceId sets the DataSourceId field's value.
+func (s *CreateDataSourceFromRDSInput) SetDataSourceId(v string) *CreateDataSourceFromRDSInput {
+ s.DataSourceId = &v
+ return s
+}
+
+// SetDataSourceName sets the DataSourceName field's value.
+func (s *CreateDataSourceFromRDSInput) SetDataSourceName(v string) *CreateDataSourceFromRDSInput {
+ s.DataSourceName = &v
+ return s
+}
+
+// SetRDSData sets the RDSData field's value.
+func (s *CreateDataSourceFromRDSInput) SetRDSData(v *RDSDataSpec) *CreateDataSourceFromRDSInput {
+ s.RDSData = v
+ return s
+}
+
+// SetRoleARN sets the RoleARN field's value.
+func (s *CreateDataSourceFromRDSInput) SetRoleARN(v string) *CreateDataSourceFromRDSInput {
+ s.RoleARN = &v
+ return s
+}
+
// Represents the output of a CreateDataSourceFromRDS operation, and is an acknowledgement
// that Amazon ML received the request.
//
@@ -2674,6 +2866,12 @@ func (s CreateDataSourceFromRDSOutput) GoString() string {
return s.String()
}
+// SetDataSourceId sets the DataSourceId field's value.
+func (s *CreateDataSourceFromRDSOutput) SetDataSourceId(v string) *CreateDataSourceFromRDSOutput {
+ s.DataSourceId = &v
+ return s
+}
+
type CreateDataSourceFromRedshiftInput struct {
_ struct{} `type:"structure"`
@@ -2773,6 +2971,36 @@ func (s *CreateDataSourceFromRedshiftInput) Validate() error {
return nil
}
+// SetComputeStatistics sets the ComputeStatistics field's value.
+func (s *CreateDataSourceFromRedshiftInput) SetComputeStatistics(v bool) *CreateDataSourceFromRedshiftInput {
+ s.ComputeStatistics = &v
+ return s
+}
+
+// SetDataSourceId sets the DataSourceId field's value.
+func (s *CreateDataSourceFromRedshiftInput) SetDataSourceId(v string) *CreateDataSourceFromRedshiftInput {
+ s.DataSourceId = &v
+ return s
+}
+
+// SetDataSourceName sets the DataSourceName field's value.
+func (s *CreateDataSourceFromRedshiftInput) SetDataSourceName(v string) *CreateDataSourceFromRedshiftInput {
+ s.DataSourceName = &v
+ return s
+}
+
+// SetDataSpec sets the DataSpec field's value.
+func (s *CreateDataSourceFromRedshiftInput) SetDataSpec(v *RedshiftDataSpec) *CreateDataSourceFromRedshiftInput {
+ s.DataSpec = v
+ return s
+}
+
+// SetRoleARN sets the RoleARN field's value.
+func (s *CreateDataSourceFromRedshiftInput) SetRoleARN(v string) *CreateDataSourceFromRedshiftInput {
+ s.RoleARN = &v
+ return s
+}
+
// Represents the output of a CreateDataSourceFromRedshift operation, and is
// an acknowledgement that Amazon ML received the request.
//
@@ -2797,6 +3025,12 @@ func (s CreateDataSourceFromRedshiftOutput) GoString() string {
return s.String()
}
+// SetDataSourceId sets the DataSourceId field's value.
+func (s *CreateDataSourceFromRedshiftOutput) SetDataSourceId(v string) *CreateDataSourceFromRedshiftOutput {
+ s.DataSourceId = &v
+ return s
+}
+
type CreateDataSourceFromS3Input struct {
_ struct{} `type:"structure"`
@@ -2866,6 +3100,30 @@ func (s *CreateDataSourceFromS3Input) Validate() error {
return nil
}
+// SetComputeStatistics sets the ComputeStatistics field's value.
+func (s *CreateDataSourceFromS3Input) SetComputeStatistics(v bool) *CreateDataSourceFromS3Input {
+ s.ComputeStatistics = &v
+ return s
+}
+
+// SetDataSourceId sets the DataSourceId field's value.
+func (s *CreateDataSourceFromS3Input) SetDataSourceId(v string) *CreateDataSourceFromS3Input {
+ s.DataSourceId = &v
+ return s
+}
+
+// SetDataSourceName sets the DataSourceName field's value.
+func (s *CreateDataSourceFromS3Input) SetDataSourceName(v string) *CreateDataSourceFromS3Input {
+ s.DataSourceName = &v
+ return s
+}
+
+// SetDataSpec sets the DataSpec field's value.
+func (s *CreateDataSourceFromS3Input) SetDataSpec(v *S3DataSpec) *CreateDataSourceFromS3Input {
+ s.DataSpec = v
+ return s
+}
+
// Represents the output of a CreateDataSourceFromS3 operation, and is an acknowledgement
// that Amazon ML received the request.
//
@@ -2889,6 +3147,12 @@ func (s CreateDataSourceFromS3Output) GoString() string {
return s.String()
}
+// SetDataSourceId sets the DataSourceId field's value.
+func (s *CreateDataSourceFromS3Output) SetDataSourceId(v string) *CreateDataSourceFromS3Output {
+ s.DataSourceId = &v
+ return s
+}
+
type CreateEvaluationInput struct {
_ struct{} `type:"structure"`
@@ -2953,6 +3217,30 @@ func (s *CreateEvaluationInput) Validate() error {
return nil
}
+// SetEvaluationDataSourceId sets the EvaluationDataSourceId field's value.
+func (s *CreateEvaluationInput) SetEvaluationDataSourceId(v string) *CreateEvaluationInput {
+ s.EvaluationDataSourceId = &v
+ return s
+}
+
+// SetEvaluationId sets the EvaluationId field's value.
+func (s *CreateEvaluationInput) SetEvaluationId(v string) *CreateEvaluationInput {
+ s.EvaluationId = &v
+ return s
+}
+
+// SetEvaluationName sets the EvaluationName field's value.
+func (s *CreateEvaluationInput) SetEvaluationName(v string) *CreateEvaluationInput {
+ s.EvaluationName = &v
+ return s
+}
+
+// SetMLModelId sets the MLModelId field's value.
+func (s *CreateEvaluationInput) SetMLModelId(v string) *CreateEvaluationInput {
+ s.MLModelId = &v
+ return s
+}
+
// Represents the output of a CreateEvaluation operation, and is an acknowledgement
// that Amazon ML received the request.
//
@@ -2976,6 +3264,12 @@ func (s CreateEvaluationOutput) GoString() string {
return s.String()
}
+// SetEvaluationId sets the EvaluationId field's value.
+func (s *CreateEvaluationOutput) SetEvaluationId(v string) *CreateEvaluationOutput {
+ s.EvaluationId = &v
+ return s
+}
+
type CreateMLModelInput struct {
_ struct{} `type:"structure"`
@@ -3091,6 +3385,48 @@ func (s *CreateMLModelInput) Validate() error {
return nil
}
+// SetMLModelId sets the MLModelId field's value.
+func (s *CreateMLModelInput) SetMLModelId(v string) *CreateMLModelInput {
+ s.MLModelId = &v
+ return s
+}
+
+// SetMLModelName sets the MLModelName field's value.
+func (s *CreateMLModelInput) SetMLModelName(v string) *CreateMLModelInput {
+ s.MLModelName = &v
+ return s
+}
+
+// SetMLModelType sets the MLModelType field's value.
+func (s *CreateMLModelInput) SetMLModelType(v string) *CreateMLModelInput {
+ s.MLModelType = &v
+ return s
+}
+
+// SetParameters sets the Parameters field's value.
+func (s *CreateMLModelInput) SetParameters(v map[string]*string) *CreateMLModelInput {
+ s.Parameters = v
+ return s
+}
+
+// SetRecipe sets the Recipe field's value.
+func (s *CreateMLModelInput) SetRecipe(v string) *CreateMLModelInput {
+ s.Recipe = &v
+ return s
+}
+
+// SetRecipeUri sets the RecipeUri field's value.
+func (s *CreateMLModelInput) SetRecipeUri(v string) *CreateMLModelInput {
+ s.RecipeUri = &v
+ return s
+}
+
+// SetTrainingDataSourceId sets the TrainingDataSourceId field's value.
+func (s *CreateMLModelInput) SetTrainingDataSourceId(v string) *CreateMLModelInput {
+ s.TrainingDataSourceId = &v
+ return s
+}
+
// Represents the output of a CreateMLModel operation, and is an acknowledgement
// that Amazon ML received the request.
//
@@ -3114,6 +3450,12 @@ func (s CreateMLModelOutput) GoString() string {
return s.String()
}
+// SetMLModelId sets the MLModelId field's value.
+func (s *CreateMLModelOutput) SetMLModelId(v string) *CreateMLModelOutput {
+ s.MLModelId = &v
+ return s
+}
+
type CreateRealtimeEndpointInput struct {
_ struct{} `type:"structure"`
@@ -3149,6 +3491,12 @@ func (s *CreateRealtimeEndpointInput) Validate() error {
return nil
}
+// SetMLModelId sets the MLModelId field's value.
+func (s *CreateRealtimeEndpointInput) SetMLModelId(v string) *CreateRealtimeEndpointInput {
+ s.MLModelId = &v
+ return s
+}
+
// Represents the output of an CreateRealtimeEndpoint operation.
//
// The result contains the MLModelId and the endpoint information for the MLModel.
@@ -3176,6 +3524,18 @@ func (s CreateRealtimeEndpointOutput) GoString() string {
return s.String()
}
+// SetMLModelId sets the MLModelId field's value.
+func (s *CreateRealtimeEndpointOutput) SetMLModelId(v string) *CreateRealtimeEndpointOutput {
+ s.MLModelId = &v
+ return s
+}
+
+// SetRealtimeEndpointInfo sets the RealtimeEndpointInfo field's value.
+func (s *CreateRealtimeEndpointOutput) SetRealtimeEndpointInfo(v *RealtimeEndpointInfo) *CreateRealtimeEndpointOutput {
+ s.RealtimeEndpointInfo = v
+ return s
+}
+
// Represents the output of the GetDataSource operation.
//
// The content consists of the detailed metadata and data file information and
@@ -3266,6 +3626,114 @@ func (s DataSource) GoString() string {
return s.String()
}
+// SetComputeStatistics sets the ComputeStatistics field's value.
+func (s *DataSource) SetComputeStatistics(v bool) *DataSource {
+ s.ComputeStatistics = &v
+ return s
+}
+
+// SetComputeTime sets the ComputeTime field's value.
+func (s *DataSource) SetComputeTime(v int64) *DataSource {
+ s.ComputeTime = &v
+ return s
+}
+
+// SetCreatedAt sets the CreatedAt field's value.
+func (s *DataSource) SetCreatedAt(v time.Time) *DataSource {
+ s.CreatedAt = &v
+ return s
+}
+
+// SetCreatedByIamUser sets the CreatedByIamUser field's value.
+func (s *DataSource) SetCreatedByIamUser(v string) *DataSource {
+ s.CreatedByIamUser = &v
+ return s
+}
+
+// SetDataLocationS3 sets the DataLocationS3 field's value.
+func (s *DataSource) SetDataLocationS3(v string) *DataSource {
+ s.DataLocationS3 = &v
+ return s
+}
+
+// SetDataRearrangement sets the DataRearrangement field's value.
+func (s *DataSource) SetDataRearrangement(v string) *DataSource {
+ s.DataRearrangement = &v
+ return s
+}
+
+// SetDataSizeInBytes sets the DataSizeInBytes field's value.
+func (s *DataSource) SetDataSizeInBytes(v int64) *DataSource {
+ s.DataSizeInBytes = &v
+ return s
+}
+
+// SetDataSourceId sets the DataSourceId field's value.
+func (s *DataSource) SetDataSourceId(v string) *DataSource {
+ s.DataSourceId = &v
+ return s
+}
+
+// SetFinishedAt sets the FinishedAt field's value.
+func (s *DataSource) SetFinishedAt(v time.Time) *DataSource {
+ s.FinishedAt = &v
+ return s
+}
+
+// SetLastUpdatedAt sets the LastUpdatedAt field's value.
+func (s *DataSource) SetLastUpdatedAt(v time.Time) *DataSource {
+ s.LastUpdatedAt = &v
+ return s
+}
+
+// SetMessage sets the Message field's value.
+func (s *DataSource) SetMessage(v string) *DataSource {
+ s.Message = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *DataSource) SetName(v string) *DataSource {
+ s.Name = &v
+ return s
+}
+
+// SetNumberOfFiles sets the NumberOfFiles field's value.
+func (s *DataSource) SetNumberOfFiles(v int64) *DataSource {
+ s.NumberOfFiles = &v
+ return s
+}
+
+// SetRDSMetadata sets the RDSMetadata field's value.
+func (s *DataSource) SetRDSMetadata(v *RDSMetadata) *DataSource {
+ s.RDSMetadata = v
+ return s
+}
+
+// SetRedshiftMetadata sets the RedshiftMetadata field's value.
+func (s *DataSource) SetRedshiftMetadata(v *RedshiftMetadata) *DataSource {
+ s.RedshiftMetadata = v
+ return s
+}
+
+// SetRoleARN sets the RoleARN field's value.
+func (s *DataSource) SetRoleARN(v string) *DataSource {
+ s.RoleARN = &v
+ return s
+}
+
+// SetStartedAt sets the StartedAt field's value.
+func (s *DataSource) SetStartedAt(v time.Time) *DataSource {
+ s.StartedAt = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *DataSource) SetStatus(v string) *DataSource {
+ s.Status = &v
+ return s
+}
+
type DeleteBatchPredictionInput struct {
_ struct{} `type:"structure"`
@@ -3301,6 +3769,12 @@ func (s *DeleteBatchPredictionInput) Validate() error {
return nil
}
+// SetBatchPredictionId sets the BatchPredictionId field's value.
+func (s *DeleteBatchPredictionInput) SetBatchPredictionId(v string) *DeleteBatchPredictionInput {
+ s.BatchPredictionId = &v
+ return s
+}
+
// Represents the output of a DeleteBatchPrediction operation.
//
// You can use the GetBatchPrediction operation and check the value of the Status
@@ -3323,6 +3797,12 @@ func (s DeleteBatchPredictionOutput) GoString() string {
return s.String()
}
+// SetBatchPredictionId sets the BatchPredictionId field's value.
+func (s *DeleteBatchPredictionOutput) SetBatchPredictionId(v string) *DeleteBatchPredictionOutput {
+ s.BatchPredictionId = &v
+ return s
+}
+
type DeleteDataSourceInput struct {
_ struct{} `type:"structure"`
@@ -3358,6 +3838,12 @@ func (s *DeleteDataSourceInput) Validate() error {
return nil
}
+// SetDataSourceId sets the DataSourceId field's value.
+func (s *DeleteDataSourceInput) SetDataSourceId(v string) *DeleteDataSourceInput {
+ s.DataSourceId = &v
+ return s
+}
+
// Represents the output of a DeleteDataSource operation.
type DeleteDataSourceOutput struct {
_ struct{} `type:"structure"`
@@ -3377,6 +3863,12 @@ func (s DeleteDataSourceOutput) GoString() string {
return s.String()
}
+// SetDataSourceId sets the DataSourceId field's value.
+func (s *DeleteDataSourceOutput) SetDataSourceId(v string) *DeleteDataSourceOutput {
+ s.DataSourceId = &v
+ return s
+}
+
type DeleteEvaluationInput struct {
_ struct{} `type:"structure"`
@@ -3412,6 +3904,12 @@ func (s *DeleteEvaluationInput) Validate() error {
return nil
}
+// SetEvaluationId sets the EvaluationId field's value.
+func (s *DeleteEvaluationInput) SetEvaluationId(v string) *DeleteEvaluationInput {
+ s.EvaluationId = &v
+ return s
+}
+
// Represents the output of a DeleteEvaluation operation. The output indicates
// that Amazon Machine Learning (Amazon ML) received the request.
//
@@ -3435,6 +3933,12 @@ func (s DeleteEvaluationOutput) GoString() string {
return s.String()
}
+// SetEvaluationId sets the EvaluationId field's value.
+func (s *DeleteEvaluationOutput) SetEvaluationId(v string) *DeleteEvaluationOutput {
+ s.EvaluationId = &v
+ return s
+}
+
type DeleteMLModelInput struct {
_ struct{} `type:"structure"`
@@ -3470,6 +3974,12 @@ func (s *DeleteMLModelInput) Validate() error {
return nil
}
+// SetMLModelId sets the MLModelId field's value.
+func (s *DeleteMLModelInput) SetMLModelId(v string) *DeleteMLModelInput {
+ s.MLModelId = &v
+ return s
+}
+
// Represents the output of a DeleteMLModel operation.
//
// You can use the GetMLModel operation and check the value of the Status parameter
@@ -3492,6 +4002,12 @@ func (s DeleteMLModelOutput) GoString() string {
return s.String()
}
+// SetMLModelId sets the MLModelId field's value.
+func (s *DeleteMLModelOutput) SetMLModelId(v string) *DeleteMLModelOutput {
+ s.MLModelId = &v
+ return s
+}
+
type DeleteRealtimeEndpointInput struct {
_ struct{} `type:"structure"`
@@ -3527,6 +4043,12 @@ func (s *DeleteRealtimeEndpointInput) Validate() error {
return nil
}
+// SetMLModelId sets the MLModelId field's value.
+func (s *DeleteRealtimeEndpointInput) SetMLModelId(v string) *DeleteRealtimeEndpointInput {
+ s.MLModelId = &v
+ return s
+}
+
// Represents the output of an DeleteRealtimeEndpoint operation.
//
// The result contains the MLModelId and the endpoint information for the MLModel.
@@ -3551,6 +4073,18 @@ func (s DeleteRealtimeEndpointOutput) GoString() string {
return s.String()
}
+// SetMLModelId sets the MLModelId field's value.
+func (s *DeleteRealtimeEndpointOutput) SetMLModelId(v string) *DeleteRealtimeEndpointOutput {
+ s.MLModelId = &v
+ return s
+}
+
+// SetRealtimeEndpointInfo sets the RealtimeEndpointInfo field's value.
+func (s *DeleteRealtimeEndpointOutput) SetRealtimeEndpointInfo(v *RealtimeEndpointInfo) *DeleteRealtimeEndpointOutput {
+ s.RealtimeEndpointInfo = v
+ return s
+}
+
type DeleteTagsInput struct {
_ struct{} `type:"structure"`
@@ -3602,6 +4136,24 @@ func (s *DeleteTagsInput) Validate() error {
return nil
}
+// SetResourceId sets the ResourceId field's value.
+func (s *DeleteTagsInput) SetResourceId(v string) *DeleteTagsInput {
+ s.ResourceId = &v
+ return s
+}
+
+// SetResourceType sets the ResourceType field's value.
+func (s *DeleteTagsInput) SetResourceType(v string) *DeleteTagsInput {
+ s.ResourceType = &v
+ return s
+}
+
+// SetTagKeys sets the TagKeys field's value.
+func (s *DeleteTagsInput) SetTagKeys(v []*string) *DeleteTagsInput {
+ s.TagKeys = v
+ return s
+}
+
// Amazon ML returns the following elements.
type DeleteTagsOutput struct {
_ struct{} `type:"structure"`
@@ -3623,6 +4175,18 @@ func (s DeleteTagsOutput) GoString() string {
return s.String()
}
+// SetResourceId sets the ResourceId field's value.
+func (s *DeleteTagsOutput) SetResourceId(v string) *DeleteTagsOutput {
+ s.ResourceId = &v
+ return s
+}
+
+// SetResourceType sets the ResourceType field's value.
+func (s *DeleteTagsOutput) SetResourceType(v string) *DeleteTagsOutput {
+ s.ResourceType = &v
+ return s
+}
+
type DescribeBatchPredictionsInput struct {
_ struct{} `type:"structure"`
@@ -3722,6 +4286,72 @@ func (s *DescribeBatchPredictionsInput) Validate() error {
return nil
}
+// SetEQ sets the EQ field's value.
+func (s *DescribeBatchPredictionsInput) SetEQ(v string) *DescribeBatchPredictionsInput {
+ s.EQ = &v
+ return s
+}
+
+// SetFilterVariable sets the FilterVariable field's value.
+func (s *DescribeBatchPredictionsInput) SetFilterVariable(v string) *DescribeBatchPredictionsInput {
+ s.FilterVariable = &v
+ return s
+}
+
+// SetGE sets the GE field's value.
+func (s *DescribeBatchPredictionsInput) SetGE(v string) *DescribeBatchPredictionsInput {
+ s.GE = &v
+ return s
+}
+
+// SetGT sets the GT field's value.
+func (s *DescribeBatchPredictionsInput) SetGT(v string) *DescribeBatchPredictionsInput {
+ s.GT = &v
+ return s
+}
+
+// SetLE sets the LE field's value.
+func (s *DescribeBatchPredictionsInput) SetLE(v string) *DescribeBatchPredictionsInput {
+ s.LE = &v
+ return s
+}
+
+// SetLT sets the LT field's value.
+func (s *DescribeBatchPredictionsInput) SetLT(v string) *DescribeBatchPredictionsInput {
+ s.LT = &v
+ return s
+}
+
+// SetLimit sets the Limit field's value.
+func (s *DescribeBatchPredictionsInput) SetLimit(v int64) *DescribeBatchPredictionsInput {
+ s.Limit = &v
+ return s
+}
+
+// SetNE sets the NE field's value.
+func (s *DescribeBatchPredictionsInput) SetNE(v string) *DescribeBatchPredictionsInput {
+ s.NE = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeBatchPredictionsInput) SetNextToken(v string) *DescribeBatchPredictionsInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetPrefix sets the Prefix field's value.
+func (s *DescribeBatchPredictionsInput) SetPrefix(v string) *DescribeBatchPredictionsInput {
+ s.Prefix = &v
+ return s
+}
+
+// SetSortOrder sets the SortOrder field's value.
+func (s *DescribeBatchPredictionsInput) SetSortOrder(v string) *DescribeBatchPredictionsInput {
+ s.SortOrder = &v
+ return s
+}
+
// Represents the output of a DescribeBatchPredictions operation. The content
// is essentially a list of BatchPredictions.
type DescribeBatchPredictionsOutput struct {
@@ -3745,6 +4375,18 @@ func (s DescribeBatchPredictionsOutput) GoString() string {
return s.String()
}
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeBatchPredictionsOutput) SetNextToken(v string) *DescribeBatchPredictionsOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetResults sets the Results field's value.
+func (s *DescribeBatchPredictionsOutput) SetResults(v []*BatchPrediction) *DescribeBatchPredictionsOutput {
+ s.Results = v
+ return s
+}
+
type DescribeDataSourcesInput struct {
_ struct{} `type:"structure"`
@@ -3835,6 +4477,72 @@ func (s *DescribeDataSourcesInput) Validate() error {
return nil
}
+// SetEQ sets the EQ field's value.
+func (s *DescribeDataSourcesInput) SetEQ(v string) *DescribeDataSourcesInput {
+ s.EQ = &v
+ return s
+}
+
+// SetFilterVariable sets the FilterVariable field's value.
+func (s *DescribeDataSourcesInput) SetFilterVariable(v string) *DescribeDataSourcesInput {
+ s.FilterVariable = &v
+ return s
+}
+
+// SetGE sets the GE field's value.
+func (s *DescribeDataSourcesInput) SetGE(v string) *DescribeDataSourcesInput {
+ s.GE = &v
+ return s
+}
+
+// SetGT sets the GT field's value.
+func (s *DescribeDataSourcesInput) SetGT(v string) *DescribeDataSourcesInput {
+ s.GT = &v
+ return s
+}
+
+// SetLE sets the LE field's value.
+func (s *DescribeDataSourcesInput) SetLE(v string) *DescribeDataSourcesInput {
+ s.LE = &v
+ return s
+}
+
+// SetLT sets the LT field's value.
+func (s *DescribeDataSourcesInput) SetLT(v string) *DescribeDataSourcesInput {
+ s.LT = &v
+ return s
+}
+
+// SetLimit sets the Limit field's value.
+func (s *DescribeDataSourcesInput) SetLimit(v int64) *DescribeDataSourcesInput {
+ s.Limit = &v
+ return s
+}
+
+// SetNE sets the NE field's value.
+func (s *DescribeDataSourcesInput) SetNE(v string) *DescribeDataSourcesInput {
+ s.NE = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeDataSourcesInput) SetNextToken(v string) *DescribeDataSourcesInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetPrefix sets the Prefix field's value.
+func (s *DescribeDataSourcesInput) SetPrefix(v string) *DescribeDataSourcesInput {
+ s.Prefix = &v
+ return s
+}
+
+// SetSortOrder sets the SortOrder field's value.
+func (s *DescribeDataSourcesInput) SetSortOrder(v string) *DescribeDataSourcesInput {
+ s.SortOrder = &v
+ return s
+}
+
// Represents the query results from a DescribeDataSources operation. The content
// is essentially a list of DataSource.
type DescribeDataSourcesOutput struct {
@@ -3858,6 +4566,18 @@ func (s DescribeDataSourcesOutput) GoString() string {
return s.String()
}
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeDataSourcesOutput) SetNextToken(v string) *DescribeDataSourcesOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetResults sets the Results field's value.
+func (s *DescribeDataSourcesOutput) SetResults(v []*DataSource) *DescribeDataSourcesOutput {
+ s.Results = v
+ return s
+}
+
type DescribeEvaluationsInput struct {
_ struct{} `type:"structure"`
@@ -3953,6 +4673,72 @@ func (s *DescribeEvaluationsInput) Validate() error {
return nil
}
+// SetEQ sets the EQ field's value.
+func (s *DescribeEvaluationsInput) SetEQ(v string) *DescribeEvaluationsInput {
+ s.EQ = &v
+ return s
+}
+
+// SetFilterVariable sets the FilterVariable field's value.
+func (s *DescribeEvaluationsInput) SetFilterVariable(v string) *DescribeEvaluationsInput {
+ s.FilterVariable = &v
+ return s
+}
+
+// SetGE sets the GE field's value.
+func (s *DescribeEvaluationsInput) SetGE(v string) *DescribeEvaluationsInput {
+ s.GE = &v
+ return s
+}
+
+// SetGT sets the GT field's value.
+func (s *DescribeEvaluationsInput) SetGT(v string) *DescribeEvaluationsInput {
+ s.GT = &v
+ return s
+}
+
+// SetLE sets the LE field's value.
+func (s *DescribeEvaluationsInput) SetLE(v string) *DescribeEvaluationsInput {
+ s.LE = &v
+ return s
+}
+
+// SetLT sets the LT field's value.
+func (s *DescribeEvaluationsInput) SetLT(v string) *DescribeEvaluationsInput {
+ s.LT = &v
+ return s
+}
+
+// SetLimit sets the Limit field's value.
+func (s *DescribeEvaluationsInput) SetLimit(v int64) *DescribeEvaluationsInput {
+ s.Limit = &v
+ return s
+}
+
+// SetNE sets the NE field's value.
+func (s *DescribeEvaluationsInput) SetNE(v string) *DescribeEvaluationsInput {
+ s.NE = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeEvaluationsInput) SetNextToken(v string) *DescribeEvaluationsInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetPrefix sets the Prefix field's value.
+func (s *DescribeEvaluationsInput) SetPrefix(v string) *DescribeEvaluationsInput {
+ s.Prefix = &v
+ return s
+}
+
+// SetSortOrder sets the SortOrder field's value.
+func (s *DescribeEvaluationsInput) SetSortOrder(v string) *DescribeEvaluationsInput {
+ s.SortOrder = &v
+ return s
+}
+
// Represents the query results from a DescribeEvaluations operation. The content
// is essentially a list of Evaluation.
type DescribeEvaluationsOutput struct {
@@ -3976,6 +4762,18 @@ func (s DescribeEvaluationsOutput) GoString() string {
return s.String()
}
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeEvaluationsOutput) SetNextToken(v string) *DescribeEvaluationsOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetResults sets the Results field's value.
+func (s *DescribeEvaluationsOutput) SetResults(v []*Evaluation) *DescribeEvaluationsOutput {
+ s.Results = v
+ return s
+}
+
type DescribeMLModelsInput struct {
_ struct{} `type:"structure"`
@@ -4075,6 +4873,72 @@ func (s *DescribeMLModelsInput) Validate() error {
return nil
}
+// SetEQ sets the EQ field's value.
+func (s *DescribeMLModelsInput) SetEQ(v string) *DescribeMLModelsInput {
+ s.EQ = &v
+ return s
+}
+
+// SetFilterVariable sets the FilterVariable field's value.
+func (s *DescribeMLModelsInput) SetFilterVariable(v string) *DescribeMLModelsInput {
+ s.FilterVariable = &v
+ return s
+}
+
+// SetGE sets the GE field's value.
+func (s *DescribeMLModelsInput) SetGE(v string) *DescribeMLModelsInput {
+ s.GE = &v
+ return s
+}
+
+// SetGT sets the GT field's value.
+func (s *DescribeMLModelsInput) SetGT(v string) *DescribeMLModelsInput {
+ s.GT = &v
+ return s
+}
+
+// SetLE sets the LE field's value.
+func (s *DescribeMLModelsInput) SetLE(v string) *DescribeMLModelsInput {
+ s.LE = &v
+ return s
+}
+
+// SetLT sets the LT field's value.
+func (s *DescribeMLModelsInput) SetLT(v string) *DescribeMLModelsInput {
+ s.LT = &v
+ return s
+}
+
+// SetLimit sets the Limit field's value.
+func (s *DescribeMLModelsInput) SetLimit(v int64) *DescribeMLModelsInput {
+ s.Limit = &v
+ return s
+}
+
+// SetNE sets the NE field's value.
+func (s *DescribeMLModelsInput) SetNE(v string) *DescribeMLModelsInput {
+ s.NE = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeMLModelsInput) SetNextToken(v string) *DescribeMLModelsInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetPrefix sets the Prefix field's value.
+func (s *DescribeMLModelsInput) SetPrefix(v string) *DescribeMLModelsInput {
+ s.Prefix = &v
+ return s
+}
+
+// SetSortOrder sets the SortOrder field's value.
+func (s *DescribeMLModelsInput) SetSortOrder(v string) *DescribeMLModelsInput {
+ s.SortOrder = &v
+ return s
+}
+
// Represents the output of a DescribeMLModels operation. The content is essentially
// a list of MLModel.
type DescribeMLModelsOutput struct {
@@ -4098,6 +4962,18 @@ func (s DescribeMLModelsOutput) GoString() string {
return s.String()
}
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeMLModelsOutput) SetNextToken(v string) *DescribeMLModelsOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetResults sets the Results field's value.
+func (s *DescribeMLModelsOutput) SetResults(v []*MLModel) *DescribeMLModelsOutput {
+ s.Results = v
+ return s
+}
+
type DescribeTagsInput struct {
_ struct{} `type:"structure"`
@@ -4141,6 +5017,18 @@ func (s *DescribeTagsInput) Validate() error {
return nil
}
+// SetResourceId sets the ResourceId field's value.
+func (s *DescribeTagsInput) SetResourceId(v string) *DescribeTagsInput {
+ s.ResourceId = &v
+ return s
+}
+
+// SetResourceType sets the ResourceType field's value.
+func (s *DescribeTagsInput) SetResourceType(v string) *DescribeTagsInput {
+ s.ResourceType = &v
+ return s
+}
+
// Amazon ML returns the following elements.
type DescribeTagsOutput struct {
_ struct{} `type:"structure"`
@@ -4165,6 +5053,24 @@ func (s DescribeTagsOutput) GoString() string {
return s.String()
}
+// SetResourceId sets the ResourceId field's value.
+func (s *DescribeTagsOutput) SetResourceId(v string) *DescribeTagsOutput {
+ s.ResourceId = &v
+ return s
+}
+
+// SetResourceType sets the ResourceType field's value.
+func (s *DescribeTagsOutput) SetResourceType(v string) *DescribeTagsOutput {
+ s.ResourceType = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *DescribeTagsOutput) SetTags(v []*Tag) *DescribeTagsOutput {
+ s.Tags = v
+ return s
+}
+
// Represents the output of GetEvaluation operation.
//
// The content consists of the detailed metadata and data file information and
@@ -4254,6 +5160,90 @@ func (s Evaluation) GoString() string {
return s.String()
}
+// SetComputeTime sets the ComputeTime field's value.
+func (s *Evaluation) SetComputeTime(v int64) *Evaluation {
+ s.ComputeTime = &v
+ return s
+}
+
+// SetCreatedAt sets the CreatedAt field's value.
+func (s *Evaluation) SetCreatedAt(v time.Time) *Evaluation {
+ s.CreatedAt = &v
+ return s
+}
+
+// SetCreatedByIamUser sets the CreatedByIamUser field's value.
+func (s *Evaluation) SetCreatedByIamUser(v string) *Evaluation {
+ s.CreatedByIamUser = &v
+ return s
+}
+
+// SetEvaluationDataSourceId sets the EvaluationDataSourceId field's value.
+func (s *Evaluation) SetEvaluationDataSourceId(v string) *Evaluation {
+ s.EvaluationDataSourceId = &v
+ return s
+}
+
+// SetEvaluationId sets the EvaluationId field's value.
+func (s *Evaluation) SetEvaluationId(v string) *Evaluation {
+ s.EvaluationId = &v
+ return s
+}
+
+// SetFinishedAt sets the FinishedAt field's value.
+func (s *Evaluation) SetFinishedAt(v time.Time) *Evaluation {
+ s.FinishedAt = &v
+ return s
+}
+
+// SetInputDataLocationS3 sets the InputDataLocationS3 field's value.
+func (s *Evaluation) SetInputDataLocationS3(v string) *Evaluation {
+ s.InputDataLocationS3 = &v
+ return s
+}
+
+// SetLastUpdatedAt sets the LastUpdatedAt field's value.
+func (s *Evaluation) SetLastUpdatedAt(v time.Time) *Evaluation {
+ s.LastUpdatedAt = &v
+ return s
+}
+
+// SetMLModelId sets the MLModelId field's value.
+func (s *Evaluation) SetMLModelId(v string) *Evaluation {
+ s.MLModelId = &v
+ return s
+}
+
+// SetMessage sets the Message field's value.
+func (s *Evaluation) SetMessage(v string) *Evaluation {
+ s.Message = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *Evaluation) SetName(v string) *Evaluation {
+ s.Name = &v
+ return s
+}
+
+// SetPerformanceMetrics sets the PerformanceMetrics field's value.
+func (s *Evaluation) SetPerformanceMetrics(v *PerformanceMetrics) *Evaluation {
+ s.PerformanceMetrics = v
+ return s
+}
+
+// SetStartedAt sets the StartedAt field's value.
+func (s *Evaluation) SetStartedAt(v time.Time) *Evaluation {
+ s.StartedAt = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *Evaluation) SetStatus(v string) *Evaluation {
+ s.Status = &v
+ return s
+}
+
type GetBatchPredictionInput struct {
_ struct{} `type:"structure"`
@@ -4289,6 +5279,12 @@ func (s *GetBatchPredictionInput) Validate() error {
return nil
}
+// SetBatchPredictionId sets the BatchPredictionId field's value.
+func (s *GetBatchPredictionInput) SetBatchPredictionId(v string) *GetBatchPredictionInput {
+ s.BatchPredictionId = &v
+ return s
+}
+
// Represents the output of a GetBatchPrediction operation and describes a BatchPrediction.
type GetBatchPredictionOutput struct {
_ struct{} `type:"structure"`
@@ -4381,6 +5377,108 @@ func (s GetBatchPredictionOutput) GoString() string {
return s.String()
}
+// SetBatchPredictionDataSourceId sets the BatchPredictionDataSourceId field's value.
+func (s *GetBatchPredictionOutput) SetBatchPredictionDataSourceId(v string) *GetBatchPredictionOutput {
+ s.BatchPredictionDataSourceId = &v
+ return s
+}
+
+// SetBatchPredictionId sets the BatchPredictionId field's value.
+func (s *GetBatchPredictionOutput) SetBatchPredictionId(v string) *GetBatchPredictionOutput {
+ s.BatchPredictionId = &v
+ return s
+}
+
+// SetComputeTime sets the ComputeTime field's value.
+func (s *GetBatchPredictionOutput) SetComputeTime(v int64) *GetBatchPredictionOutput {
+ s.ComputeTime = &v
+ return s
+}
+
+// SetCreatedAt sets the CreatedAt field's value.
+func (s *GetBatchPredictionOutput) SetCreatedAt(v time.Time) *GetBatchPredictionOutput {
+ s.CreatedAt = &v
+ return s
+}
+
+// SetCreatedByIamUser sets the CreatedByIamUser field's value.
+func (s *GetBatchPredictionOutput) SetCreatedByIamUser(v string) *GetBatchPredictionOutput {
+ s.CreatedByIamUser = &v
+ return s
+}
+
+// SetFinishedAt sets the FinishedAt field's value.
+func (s *GetBatchPredictionOutput) SetFinishedAt(v time.Time) *GetBatchPredictionOutput {
+ s.FinishedAt = &v
+ return s
+}
+
+// SetInputDataLocationS3 sets the InputDataLocationS3 field's value.
+func (s *GetBatchPredictionOutput) SetInputDataLocationS3(v string) *GetBatchPredictionOutput {
+ s.InputDataLocationS3 = &v
+ return s
+}
+
+// SetInvalidRecordCount sets the InvalidRecordCount field's value.
+func (s *GetBatchPredictionOutput) SetInvalidRecordCount(v int64) *GetBatchPredictionOutput {
+ s.InvalidRecordCount = &v
+ return s
+}
+
+// SetLastUpdatedAt sets the LastUpdatedAt field's value.
+func (s *GetBatchPredictionOutput) SetLastUpdatedAt(v time.Time) *GetBatchPredictionOutput {
+ s.LastUpdatedAt = &v
+ return s
+}
+
+// SetLogUri sets the LogUri field's value.
+func (s *GetBatchPredictionOutput) SetLogUri(v string) *GetBatchPredictionOutput {
+ s.LogUri = &v
+ return s
+}
+
+// SetMLModelId sets the MLModelId field's value.
+func (s *GetBatchPredictionOutput) SetMLModelId(v string) *GetBatchPredictionOutput {
+ s.MLModelId = &v
+ return s
+}
+
+// SetMessage sets the Message field's value.
+func (s *GetBatchPredictionOutput) SetMessage(v string) *GetBatchPredictionOutput {
+ s.Message = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *GetBatchPredictionOutput) SetName(v string) *GetBatchPredictionOutput {
+ s.Name = &v
+ return s
+}
+
+// SetOutputUri sets the OutputUri field's value.
+func (s *GetBatchPredictionOutput) SetOutputUri(v string) *GetBatchPredictionOutput {
+ s.OutputUri = &v
+ return s
+}
+
+// SetStartedAt sets the StartedAt field's value.
+func (s *GetBatchPredictionOutput) SetStartedAt(v time.Time) *GetBatchPredictionOutput {
+ s.StartedAt = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *GetBatchPredictionOutput) SetStatus(v string) *GetBatchPredictionOutput {
+ s.Status = &v
+ return s
+}
+
+// SetTotalRecordCount sets the TotalRecordCount field's value.
+func (s *GetBatchPredictionOutput) SetTotalRecordCount(v int64) *GetBatchPredictionOutput {
+ s.TotalRecordCount = &v
+ return s
+}
+
type GetDataSourceInput struct {
_ struct{} `type:"structure"`
@@ -4423,6 +5521,18 @@ func (s *GetDataSourceInput) Validate() error {
return nil
}
+// SetDataSourceId sets the DataSourceId field's value.
+func (s *GetDataSourceInput) SetDataSourceId(v string) *GetDataSourceInput {
+ s.DataSourceId = &v
+ return s
+}
+
+// SetVerbose sets the Verbose field's value.
+func (s *GetDataSourceInput) SetVerbose(v bool) *GetDataSourceInput {
+ s.Verbose = &v
+ return s
+}
+
// Represents the output of a GetDataSource operation and describes a DataSource.
type GetDataSourceOutput struct {
_ struct{} `type:"structure"`
@@ -4514,14 +5624,134 @@ type GetDataSourceOutput struct {
Status *string `type:"string" enum:"EntityStatus"`
}
-// String returns the string representation
-func (s GetDataSourceOutput) String() string {
- return awsutil.Prettify(s)
+// 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()
+}
+
+// SetComputeStatistics sets the ComputeStatistics field's value.
+func (s *GetDataSourceOutput) SetComputeStatistics(v bool) *GetDataSourceOutput {
+ s.ComputeStatistics = &v
+ return s
+}
+
+// SetComputeTime sets the ComputeTime field's value.
+func (s *GetDataSourceOutput) SetComputeTime(v int64) *GetDataSourceOutput {
+ s.ComputeTime = &v
+ return s
+}
+
+// SetCreatedAt sets the CreatedAt field's value.
+func (s *GetDataSourceOutput) SetCreatedAt(v time.Time) *GetDataSourceOutput {
+ s.CreatedAt = &v
+ return s
+}
+
+// SetCreatedByIamUser sets the CreatedByIamUser field's value.
+func (s *GetDataSourceOutput) SetCreatedByIamUser(v string) *GetDataSourceOutput {
+ s.CreatedByIamUser = &v
+ return s
+}
+
+// SetDataLocationS3 sets the DataLocationS3 field's value.
+func (s *GetDataSourceOutput) SetDataLocationS3(v string) *GetDataSourceOutput {
+ s.DataLocationS3 = &v
+ return s
+}
+
+// SetDataRearrangement sets the DataRearrangement field's value.
+func (s *GetDataSourceOutput) SetDataRearrangement(v string) *GetDataSourceOutput {
+ s.DataRearrangement = &v
+ return s
+}
+
+// SetDataSizeInBytes sets the DataSizeInBytes field's value.
+func (s *GetDataSourceOutput) SetDataSizeInBytes(v int64) *GetDataSourceOutput {
+ s.DataSizeInBytes = &v
+ return s
+}
+
+// SetDataSourceId sets the DataSourceId field's value.
+func (s *GetDataSourceOutput) SetDataSourceId(v string) *GetDataSourceOutput {
+ s.DataSourceId = &v
+ return s
+}
+
+// SetDataSourceSchema sets the DataSourceSchema field's value.
+func (s *GetDataSourceOutput) SetDataSourceSchema(v string) *GetDataSourceOutput {
+ s.DataSourceSchema = &v
+ return s
+}
+
+// SetFinishedAt sets the FinishedAt field's value.
+func (s *GetDataSourceOutput) SetFinishedAt(v time.Time) *GetDataSourceOutput {
+ s.FinishedAt = &v
+ return s
+}
+
+// SetLastUpdatedAt sets the LastUpdatedAt field's value.
+func (s *GetDataSourceOutput) SetLastUpdatedAt(v time.Time) *GetDataSourceOutput {
+ s.LastUpdatedAt = &v
+ return s
+}
+
+// SetLogUri sets the LogUri field's value.
+func (s *GetDataSourceOutput) SetLogUri(v string) *GetDataSourceOutput {
+ s.LogUri = &v
+ return s
+}
+
+// SetMessage sets the Message field's value.
+func (s *GetDataSourceOutput) SetMessage(v string) *GetDataSourceOutput {
+ s.Message = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *GetDataSourceOutput) SetName(v string) *GetDataSourceOutput {
+ s.Name = &v
+ return s
+}
+
+// SetNumberOfFiles sets the NumberOfFiles field's value.
+func (s *GetDataSourceOutput) SetNumberOfFiles(v int64) *GetDataSourceOutput {
+ s.NumberOfFiles = &v
+ return s
+}
+
+// SetRDSMetadata sets the RDSMetadata field's value.
+func (s *GetDataSourceOutput) SetRDSMetadata(v *RDSMetadata) *GetDataSourceOutput {
+ s.RDSMetadata = v
+ return s
+}
+
+// SetRedshiftMetadata sets the RedshiftMetadata field's value.
+func (s *GetDataSourceOutput) SetRedshiftMetadata(v *RedshiftMetadata) *GetDataSourceOutput {
+ s.RedshiftMetadata = v
+ return s
+}
+
+// SetRoleARN sets the RoleARN field's value.
+func (s *GetDataSourceOutput) SetRoleARN(v string) *GetDataSourceOutput {
+ s.RoleARN = &v
+ return s
+}
+
+// SetStartedAt sets the StartedAt field's value.
+func (s *GetDataSourceOutput) SetStartedAt(v time.Time) *GetDataSourceOutput {
+ s.StartedAt = &v
+ return s
}
-// GoString returns the string representation
-func (s GetDataSourceOutput) GoString() string {
- return s.String()
+// SetStatus sets the Status field's value.
+func (s *GetDataSourceOutput) SetStatus(v string) *GetDataSourceOutput {
+ s.Status = &v
+ return s
}
type GetEvaluationInput struct {
@@ -4560,6 +5790,12 @@ func (s *GetEvaluationInput) Validate() error {
return nil
}
+// SetEvaluationId sets the EvaluationId field's value.
+func (s *GetEvaluationInput) SetEvaluationId(v string) *GetEvaluationInput {
+ s.EvaluationId = &v
+ return s
+}
+
// Represents the output of a GetEvaluation operation and describes an Evaluation.
type GetEvaluationOutput struct {
_ struct{} `type:"structure"`
@@ -4654,6 +5890,96 @@ func (s GetEvaluationOutput) GoString() string {
return s.String()
}
+// SetComputeTime sets the ComputeTime field's value.
+func (s *GetEvaluationOutput) SetComputeTime(v int64) *GetEvaluationOutput {
+ s.ComputeTime = &v
+ return s
+}
+
+// SetCreatedAt sets the CreatedAt field's value.
+func (s *GetEvaluationOutput) SetCreatedAt(v time.Time) *GetEvaluationOutput {
+ s.CreatedAt = &v
+ return s
+}
+
+// SetCreatedByIamUser sets the CreatedByIamUser field's value.
+func (s *GetEvaluationOutput) SetCreatedByIamUser(v string) *GetEvaluationOutput {
+ s.CreatedByIamUser = &v
+ return s
+}
+
+// SetEvaluationDataSourceId sets the EvaluationDataSourceId field's value.
+func (s *GetEvaluationOutput) SetEvaluationDataSourceId(v string) *GetEvaluationOutput {
+ s.EvaluationDataSourceId = &v
+ return s
+}
+
+// SetEvaluationId sets the EvaluationId field's value.
+func (s *GetEvaluationOutput) SetEvaluationId(v string) *GetEvaluationOutput {
+ s.EvaluationId = &v
+ return s
+}
+
+// SetFinishedAt sets the FinishedAt field's value.
+func (s *GetEvaluationOutput) SetFinishedAt(v time.Time) *GetEvaluationOutput {
+ s.FinishedAt = &v
+ return s
+}
+
+// SetInputDataLocationS3 sets the InputDataLocationS3 field's value.
+func (s *GetEvaluationOutput) SetInputDataLocationS3(v string) *GetEvaluationOutput {
+ s.InputDataLocationS3 = &v
+ return s
+}
+
+// SetLastUpdatedAt sets the LastUpdatedAt field's value.
+func (s *GetEvaluationOutput) SetLastUpdatedAt(v time.Time) *GetEvaluationOutput {
+ s.LastUpdatedAt = &v
+ return s
+}
+
+// SetLogUri sets the LogUri field's value.
+func (s *GetEvaluationOutput) SetLogUri(v string) *GetEvaluationOutput {
+ s.LogUri = &v
+ return s
+}
+
+// SetMLModelId sets the MLModelId field's value.
+func (s *GetEvaluationOutput) SetMLModelId(v string) *GetEvaluationOutput {
+ s.MLModelId = &v
+ return s
+}
+
+// SetMessage sets the Message field's value.
+func (s *GetEvaluationOutput) SetMessage(v string) *GetEvaluationOutput {
+ s.Message = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *GetEvaluationOutput) SetName(v string) *GetEvaluationOutput {
+ s.Name = &v
+ return s
+}
+
+// SetPerformanceMetrics sets the PerformanceMetrics field's value.
+func (s *GetEvaluationOutput) SetPerformanceMetrics(v *PerformanceMetrics) *GetEvaluationOutput {
+ s.PerformanceMetrics = v
+ return s
+}
+
+// SetStartedAt sets the StartedAt field's value.
+func (s *GetEvaluationOutput) SetStartedAt(v time.Time) *GetEvaluationOutput {
+ s.StartedAt = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *GetEvaluationOutput) SetStatus(v string) *GetEvaluationOutput {
+ s.Status = &v
+ return s
+}
+
type GetMLModelInput struct {
_ struct{} `type:"structure"`
@@ -4696,6 +6022,18 @@ func (s *GetMLModelInput) Validate() error {
return nil
}
+// SetMLModelId sets the MLModelId field's value.
+func (s *GetMLModelInput) SetMLModelId(v string) *GetMLModelInput {
+ s.MLModelId = &v
+ return s
+}
+
+// SetVerbose sets the Verbose field's value.
+func (s *GetMLModelInput) SetVerbose(v bool) *GetMLModelInput {
+ s.Verbose = &v
+ return s
+}
+
// Represents the output of a GetMLModel operation, and provides detailed information
// about a MLModel.
type GetMLModelOutput struct {
@@ -4849,6 +6187,132 @@ func (s GetMLModelOutput) GoString() string {
return s.String()
}
+// SetComputeTime sets the ComputeTime field's value.
+func (s *GetMLModelOutput) SetComputeTime(v int64) *GetMLModelOutput {
+ s.ComputeTime = &v
+ return s
+}
+
+// SetCreatedAt sets the CreatedAt field's value.
+func (s *GetMLModelOutput) SetCreatedAt(v time.Time) *GetMLModelOutput {
+ s.CreatedAt = &v
+ return s
+}
+
+// SetCreatedByIamUser sets the CreatedByIamUser field's value.
+func (s *GetMLModelOutput) SetCreatedByIamUser(v string) *GetMLModelOutput {
+ s.CreatedByIamUser = &v
+ return s
+}
+
+// SetEndpointInfo sets the EndpointInfo field's value.
+func (s *GetMLModelOutput) SetEndpointInfo(v *RealtimeEndpointInfo) *GetMLModelOutput {
+ s.EndpointInfo = v
+ return s
+}
+
+// SetFinishedAt sets the FinishedAt field's value.
+func (s *GetMLModelOutput) SetFinishedAt(v time.Time) *GetMLModelOutput {
+ s.FinishedAt = &v
+ return s
+}
+
+// SetInputDataLocationS3 sets the InputDataLocationS3 field's value.
+func (s *GetMLModelOutput) SetInputDataLocationS3(v string) *GetMLModelOutput {
+ s.InputDataLocationS3 = &v
+ return s
+}
+
+// SetLastUpdatedAt sets the LastUpdatedAt field's value.
+func (s *GetMLModelOutput) SetLastUpdatedAt(v time.Time) *GetMLModelOutput {
+ s.LastUpdatedAt = &v
+ return s
+}
+
+// SetLogUri sets the LogUri field's value.
+func (s *GetMLModelOutput) SetLogUri(v string) *GetMLModelOutput {
+ s.LogUri = &v
+ return s
+}
+
+// SetMLModelId sets the MLModelId field's value.
+func (s *GetMLModelOutput) SetMLModelId(v string) *GetMLModelOutput {
+ s.MLModelId = &v
+ return s
+}
+
+// SetMLModelType sets the MLModelType field's value.
+func (s *GetMLModelOutput) SetMLModelType(v string) *GetMLModelOutput {
+ s.MLModelType = &v
+ return s
+}
+
+// SetMessage sets the Message field's value.
+func (s *GetMLModelOutput) SetMessage(v string) *GetMLModelOutput {
+ s.Message = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *GetMLModelOutput) SetName(v string) *GetMLModelOutput {
+ s.Name = &v
+ return s
+}
+
+// SetRecipe sets the Recipe field's value.
+func (s *GetMLModelOutput) SetRecipe(v string) *GetMLModelOutput {
+ s.Recipe = &v
+ return s
+}
+
+// SetSchema sets the Schema field's value.
+func (s *GetMLModelOutput) SetSchema(v string) *GetMLModelOutput {
+ s.Schema = &v
+ return s
+}
+
+// SetScoreThreshold sets the ScoreThreshold field's value.
+func (s *GetMLModelOutput) SetScoreThreshold(v float64) *GetMLModelOutput {
+ s.ScoreThreshold = &v
+ return s
+}
+
+// SetScoreThresholdLastUpdatedAt sets the ScoreThresholdLastUpdatedAt field's value.
+func (s *GetMLModelOutput) SetScoreThresholdLastUpdatedAt(v time.Time) *GetMLModelOutput {
+ s.ScoreThresholdLastUpdatedAt = &v
+ return s
+}
+
+// SetSizeInBytes sets the SizeInBytes field's value.
+func (s *GetMLModelOutput) SetSizeInBytes(v int64) *GetMLModelOutput {
+ s.SizeInBytes = &v
+ return s
+}
+
+// SetStartedAt sets the StartedAt field's value.
+func (s *GetMLModelOutput) SetStartedAt(v time.Time) *GetMLModelOutput {
+ s.StartedAt = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *GetMLModelOutput) SetStatus(v string) *GetMLModelOutput {
+ s.Status = &v
+ return s
+}
+
+// SetTrainingDataSourceId sets the TrainingDataSourceId field's value.
+func (s *GetMLModelOutput) SetTrainingDataSourceId(v string) *GetMLModelOutput {
+ s.TrainingDataSourceId = &v
+ return s
+}
+
+// SetTrainingParameters sets the TrainingParameters field's value.
+func (s *GetMLModelOutput) SetTrainingParameters(v map[string]*string) *GetMLModelOutput {
+ s.TrainingParameters = v
+ return s
+}
+
// Represents the output of a GetMLModel operation.
//
// The content consists of the detailed metadata and the current status of the
@@ -4984,6 +6448,120 @@ func (s MLModel) GoString() string {
return s.String()
}
+// SetAlgorithm sets the Algorithm field's value.
+func (s *MLModel) SetAlgorithm(v string) *MLModel {
+ s.Algorithm = &v
+ return s
+}
+
+// SetComputeTime sets the ComputeTime field's value.
+func (s *MLModel) SetComputeTime(v int64) *MLModel {
+ s.ComputeTime = &v
+ return s
+}
+
+// SetCreatedAt sets the CreatedAt field's value.
+func (s *MLModel) SetCreatedAt(v time.Time) *MLModel {
+ s.CreatedAt = &v
+ return s
+}
+
+// SetCreatedByIamUser sets the CreatedByIamUser field's value.
+func (s *MLModel) SetCreatedByIamUser(v string) *MLModel {
+ s.CreatedByIamUser = &v
+ return s
+}
+
+// SetEndpointInfo sets the EndpointInfo field's value.
+func (s *MLModel) SetEndpointInfo(v *RealtimeEndpointInfo) *MLModel {
+ s.EndpointInfo = v
+ return s
+}
+
+// SetFinishedAt sets the FinishedAt field's value.
+func (s *MLModel) SetFinishedAt(v time.Time) *MLModel {
+ s.FinishedAt = &v
+ return s
+}
+
+// SetInputDataLocationS3 sets the InputDataLocationS3 field's value.
+func (s *MLModel) SetInputDataLocationS3(v string) *MLModel {
+ s.InputDataLocationS3 = &v
+ return s
+}
+
+// SetLastUpdatedAt sets the LastUpdatedAt field's value.
+func (s *MLModel) SetLastUpdatedAt(v time.Time) *MLModel {
+ s.LastUpdatedAt = &v
+ return s
+}
+
+// SetMLModelId sets the MLModelId field's value.
+func (s *MLModel) SetMLModelId(v string) *MLModel {
+ s.MLModelId = &v
+ return s
+}
+
+// SetMLModelType sets the MLModelType field's value.
+func (s *MLModel) SetMLModelType(v string) *MLModel {
+ s.MLModelType = &v
+ return s
+}
+
+// SetMessage sets the Message field's value.
+func (s *MLModel) SetMessage(v string) *MLModel {
+ s.Message = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *MLModel) SetName(v string) *MLModel {
+ s.Name = &v
+ return s
+}
+
+// SetScoreThreshold sets the ScoreThreshold field's value.
+func (s *MLModel) SetScoreThreshold(v float64) *MLModel {
+ s.ScoreThreshold = &v
+ return s
+}
+
+// SetScoreThresholdLastUpdatedAt sets the ScoreThresholdLastUpdatedAt field's value.
+func (s *MLModel) SetScoreThresholdLastUpdatedAt(v time.Time) *MLModel {
+ s.ScoreThresholdLastUpdatedAt = &v
+ return s
+}
+
+// SetSizeInBytes sets the SizeInBytes field's value.
+func (s *MLModel) SetSizeInBytes(v int64) *MLModel {
+ s.SizeInBytes = &v
+ return s
+}
+
+// SetStartedAt sets the StartedAt field's value.
+func (s *MLModel) SetStartedAt(v time.Time) *MLModel {
+ s.StartedAt = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *MLModel) SetStatus(v string) *MLModel {
+ s.Status = &v
+ return s
+}
+
+// SetTrainingDataSourceId sets the TrainingDataSourceId field's value.
+func (s *MLModel) SetTrainingDataSourceId(v string) *MLModel {
+ s.TrainingDataSourceId = &v
+ return s
+}
+
+// SetTrainingParameters sets the TrainingParameters field's value.
+func (s *MLModel) SetTrainingParameters(v map[string]*string) *MLModel {
+ s.TrainingParameters = v
+ return s
+}
+
// Measurements of how well the MLModel performed on known observations. One
// of the following metrics is returned, based on the type of the MLModel:
//
@@ -5015,6 +6593,12 @@ func (s PerformanceMetrics) GoString() string {
return s.String()
}
+// SetProperties sets the Properties field's value.
+func (s *PerformanceMetrics) SetProperties(v map[string]*string) *PerformanceMetrics {
+ s.Properties = v
+ return s
+}
+
type PredictInput struct {
_ struct{} `type:"structure"`
@@ -5064,6 +6648,24 @@ func (s *PredictInput) Validate() error {
return nil
}
+// SetMLModelId sets the MLModelId field's value.
+func (s *PredictInput) SetMLModelId(v string) *PredictInput {
+ s.MLModelId = &v
+ return s
+}
+
+// SetPredictEndpoint sets the PredictEndpoint field's value.
+func (s *PredictInput) SetPredictEndpoint(v string) *PredictInput {
+ s.PredictEndpoint = &v
+ return s
+}
+
+// SetRecord sets the Record field's value.
+func (s *PredictInput) SetRecord(v map[string]*string) *PredictInput {
+ s.Record = v
+ return s
+}
+
type PredictOutput struct {
_ struct{} `type:"structure"`
@@ -5092,6 +6694,12 @@ func (s PredictOutput) GoString() string {
return s.String()
}
+// SetPrediction sets the Prediction field's value.
+func (s *PredictOutput) SetPrediction(v *Prediction) *PredictOutput {
+ s.Prediction = v
+ return s
+}
+
// The output from a Predict operation:
//
// * Details - Contains the following attributes: DetailsAttributes.PREDICTIVE_MODEL_TYPE
@@ -5130,6 +6738,30 @@ func (s Prediction) GoString() string {
return s.String()
}
+// SetDetails sets the Details field's value.
+func (s *Prediction) SetDetails(v map[string]*string) *Prediction {
+ s.Details = v
+ return s
+}
+
+// SetPredictedLabel sets the PredictedLabel field's value.
+func (s *Prediction) SetPredictedLabel(v string) *Prediction {
+ s.PredictedLabel = &v
+ return s
+}
+
+// SetPredictedScores sets the PredictedScores field's value.
+func (s *Prediction) SetPredictedScores(v map[string]*float64) *Prediction {
+ s.PredictedScores = v
+ return s
+}
+
+// SetPredictedValue sets the PredictedValue field's value.
+func (s *Prediction) SetPredictedValue(v float64) *Prediction {
+ s.PredictedValue = &v
+ return s
+}
+
// The data specification of an Amazon Relational Database Service (Amazon RDS)
// DataSource.
type RDSDataSpec struct {
@@ -5373,6 +7005,72 @@ func (s *RDSDataSpec) Validate() error {
return nil
}
+// SetDataRearrangement sets the DataRearrangement field's value.
+func (s *RDSDataSpec) SetDataRearrangement(v string) *RDSDataSpec {
+ s.DataRearrangement = &v
+ return s
+}
+
+// SetDataSchema sets the DataSchema field's value.
+func (s *RDSDataSpec) SetDataSchema(v string) *RDSDataSpec {
+ s.DataSchema = &v
+ return s
+}
+
+// SetDataSchemaUri sets the DataSchemaUri field's value.
+func (s *RDSDataSpec) SetDataSchemaUri(v string) *RDSDataSpec {
+ s.DataSchemaUri = &v
+ return s
+}
+
+// SetDatabaseCredentials sets the DatabaseCredentials field's value.
+func (s *RDSDataSpec) SetDatabaseCredentials(v *RDSDatabaseCredentials) *RDSDataSpec {
+ s.DatabaseCredentials = v
+ return s
+}
+
+// SetDatabaseInformation sets the DatabaseInformation field's value.
+func (s *RDSDataSpec) SetDatabaseInformation(v *RDSDatabase) *RDSDataSpec {
+ s.DatabaseInformation = v
+ return s
+}
+
+// SetResourceRole sets the ResourceRole field's value.
+func (s *RDSDataSpec) SetResourceRole(v string) *RDSDataSpec {
+ s.ResourceRole = &v
+ return s
+}
+
+// SetS3StagingLocation sets the S3StagingLocation field's value.
+func (s *RDSDataSpec) SetS3StagingLocation(v string) *RDSDataSpec {
+ s.S3StagingLocation = &v
+ return s
+}
+
+// SetSecurityGroupIds sets the SecurityGroupIds field's value.
+func (s *RDSDataSpec) SetSecurityGroupIds(v []*string) *RDSDataSpec {
+ s.SecurityGroupIds = v
+ return s
+}
+
+// SetSelectSqlQuery sets the SelectSqlQuery field's value.
+func (s *RDSDataSpec) SetSelectSqlQuery(v string) *RDSDataSpec {
+ s.SelectSqlQuery = &v
+ return s
+}
+
+// SetServiceRole sets the ServiceRole field's value.
+func (s *RDSDataSpec) SetServiceRole(v string) *RDSDataSpec {
+ s.ServiceRole = &v
+ return s
+}
+
+// SetSubnetId sets the SubnetId field's value.
+func (s *RDSDataSpec) SetSubnetId(v string) *RDSDataSpec {
+ s.SubnetId = &v
+ return s
+}
+
// The database details of an Amazon RDS database.
type RDSDatabase struct {
_ struct{} `type:"structure"`
@@ -5420,6 +7118,18 @@ func (s *RDSDatabase) Validate() error {
return nil
}
+// SetDatabaseName sets the DatabaseName field's value.
+func (s *RDSDatabase) SetDatabaseName(v string) *RDSDatabase {
+ s.DatabaseName = &v
+ return s
+}
+
+// SetInstanceIdentifier sets the InstanceIdentifier field's value.
+func (s *RDSDatabase) SetInstanceIdentifier(v string) *RDSDatabase {
+ s.InstanceIdentifier = &v
+ return s
+}
+
// The database credentials to connect to a database on an RDS DB instance.
type RDSDatabaseCredentials struct {
_ struct{} `type:"structure"`
@@ -5471,6 +7181,18 @@ func (s *RDSDatabaseCredentials) Validate() error {
return nil
}
+// SetPassword sets the Password field's value.
+func (s *RDSDatabaseCredentials) SetPassword(v string) *RDSDatabaseCredentials {
+ s.Password = &v
+ return s
+}
+
+// SetUsername sets the Username field's value.
+func (s *RDSDatabaseCredentials) SetUsername(v string) *RDSDatabaseCredentials {
+ s.Username = &v
+ return s
+}
+
// The datasource details that are specific to Amazon RDS.
type RDSMetadata struct {
_ struct{} `type:"structure"`
@@ -5515,6 +7237,42 @@ func (s RDSMetadata) GoString() string {
return s.String()
}
+// SetDataPipelineId sets the DataPipelineId field's value.
+func (s *RDSMetadata) SetDataPipelineId(v string) *RDSMetadata {
+ s.DataPipelineId = &v
+ return s
+}
+
+// SetDatabase sets the Database field's value.
+func (s *RDSMetadata) SetDatabase(v *RDSDatabase) *RDSMetadata {
+ s.Database = v
+ return s
+}
+
+// SetDatabaseUserName sets the DatabaseUserName field's value.
+func (s *RDSMetadata) SetDatabaseUserName(v string) *RDSMetadata {
+ s.DatabaseUserName = &v
+ return s
+}
+
+// SetResourceRole sets the ResourceRole field's value.
+func (s *RDSMetadata) SetResourceRole(v string) *RDSMetadata {
+ s.ResourceRole = &v
+ return s
+}
+
+// SetSelectSqlQuery sets the SelectSqlQuery field's value.
+func (s *RDSMetadata) SetSelectSqlQuery(v string) *RDSMetadata {
+ s.SelectSqlQuery = &v
+ return s
+}
+
+// SetServiceRole sets the ServiceRole field's value.
+func (s *RDSMetadata) SetServiceRole(v string) *RDSMetadata {
+ s.ServiceRole = &v
+ return s
+}
+
// Describes the real-time endpoint information for an MLModel.
type RealtimeEndpointInfo struct {
_ struct{} `type:"structure"`
@@ -5553,6 +7311,30 @@ func (s RealtimeEndpointInfo) GoString() string {
return s.String()
}
+// SetCreatedAt sets the CreatedAt field's value.
+func (s *RealtimeEndpointInfo) SetCreatedAt(v time.Time) *RealtimeEndpointInfo {
+ s.CreatedAt = &v
+ return s
+}
+
+// SetEndpointStatus sets the EndpointStatus field's value.
+func (s *RealtimeEndpointInfo) SetEndpointStatus(v string) *RealtimeEndpointInfo {
+ s.EndpointStatus = &v
+ return s
+}
+
+// SetEndpointUrl sets the EndpointUrl field's value.
+func (s *RealtimeEndpointInfo) SetEndpointUrl(v string) *RealtimeEndpointInfo {
+ s.EndpointUrl = &v
+ return s
+}
+
+// SetPeakRequestsPerSecond sets the PeakRequestsPerSecond field's value.
+func (s *RealtimeEndpointInfo) SetPeakRequestsPerSecond(v int64) *RealtimeEndpointInfo {
+ s.PeakRequestsPerSecond = &v
+ return s
+}
+
// Describes the data specification of an Amazon Redshift DataSource.
type RedshiftDataSpec struct {
_ struct{} `type:"structure"`
@@ -5744,6 +7526,48 @@ func (s *RedshiftDataSpec) Validate() error {
return nil
}
+// SetDataRearrangement sets the DataRearrangement field's value.
+func (s *RedshiftDataSpec) SetDataRearrangement(v string) *RedshiftDataSpec {
+ s.DataRearrangement = &v
+ return s
+}
+
+// SetDataSchema sets the DataSchema field's value.
+func (s *RedshiftDataSpec) SetDataSchema(v string) *RedshiftDataSpec {
+ s.DataSchema = &v
+ return s
+}
+
+// SetDataSchemaUri sets the DataSchemaUri field's value.
+func (s *RedshiftDataSpec) SetDataSchemaUri(v string) *RedshiftDataSpec {
+ s.DataSchemaUri = &v
+ return s
+}
+
+// SetDatabaseCredentials sets the DatabaseCredentials field's value.
+func (s *RedshiftDataSpec) SetDatabaseCredentials(v *RedshiftDatabaseCredentials) *RedshiftDataSpec {
+ s.DatabaseCredentials = v
+ return s
+}
+
+// SetDatabaseInformation sets the DatabaseInformation field's value.
+func (s *RedshiftDataSpec) SetDatabaseInformation(v *RedshiftDatabase) *RedshiftDataSpec {
+ s.DatabaseInformation = v
+ return s
+}
+
+// SetS3StagingLocation sets the S3StagingLocation field's value.
+func (s *RedshiftDataSpec) SetS3StagingLocation(v string) *RedshiftDataSpec {
+ s.S3StagingLocation = &v
+ return s
+}
+
+// SetSelectSqlQuery sets the SelectSqlQuery field's value.
+func (s *RedshiftDataSpec) SetSelectSqlQuery(v string) *RedshiftDataSpec {
+ s.SelectSqlQuery = &v
+ return s
+}
+
// Describes the database details required to connect to an Amazon Redshift
// database.
type RedshiftDatabase struct {
@@ -5792,6 +7616,18 @@ func (s *RedshiftDatabase) Validate() error {
return nil
}
+// SetClusterIdentifier sets the ClusterIdentifier field's value.
+func (s *RedshiftDatabase) SetClusterIdentifier(v string) *RedshiftDatabase {
+ s.ClusterIdentifier = &v
+ return s
+}
+
+// SetDatabaseName sets the DatabaseName field's value.
+func (s *RedshiftDatabase) SetDatabaseName(v string) *RedshiftDatabase {
+ s.DatabaseName = &v
+ return s
+}
+
// Describes the database credentials for connecting to a database on an Amazon
// Redshift cluster.
type RedshiftDatabaseCredentials struct {
@@ -5846,6 +7682,18 @@ func (s *RedshiftDatabaseCredentials) Validate() error {
return nil
}
+// SetPassword sets the Password field's value.
+func (s *RedshiftDatabaseCredentials) SetPassword(v string) *RedshiftDatabaseCredentials {
+ s.Password = &v
+ return s
+}
+
+// SetUsername sets the Username field's value.
+func (s *RedshiftDatabaseCredentials) SetUsername(v string) *RedshiftDatabaseCredentials {
+ s.Username = &v
+ return s
+}
+
// Describes the DataSource details specific to Amazon Redshift.
type RedshiftMetadata struct {
_ struct{} `type:"structure"`
@@ -5875,6 +7723,24 @@ func (s RedshiftMetadata) GoString() string {
return s.String()
}
+// SetDatabaseUserName sets the DatabaseUserName field's value.
+func (s *RedshiftMetadata) SetDatabaseUserName(v string) *RedshiftMetadata {
+ s.DatabaseUserName = &v
+ return s
+}
+
+// SetRedshiftDatabase sets the RedshiftDatabase field's value.
+func (s *RedshiftMetadata) SetRedshiftDatabase(v *RedshiftDatabase) *RedshiftMetadata {
+ s.RedshiftDatabase = v
+ return s
+}
+
+// SetSelectSqlQuery sets the SelectSqlQuery field's value.
+func (s *RedshiftMetadata) SetSelectSqlQuery(v string) *RedshiftMetadata {
+ s.SelectSqlQuery = &v
+ return s
+}
+
// Describes the data specification of a DataSource.
type S3DataSpec struct {
_ struct{} `type:"structure"`
@@ -6029,6 +7895,30 @@ func (s *S3DataSpec) Validate() error {
return nil
}
+// SetDataLocationS3 sets the DataLocationS3 field's value.
+func (s *S3DataSpec) SetDataLocationS3(v string) *S3DataSpec {
+ s.DataLocationS3 = &v
+ return s
+}
+
+// SetDataRearrangement sets the DataRearrangement field's value.
+func (s *S3DataSpec) SetDataRearrangement(v string) *S3DataSpec {
+ s.DataRearrangement = &v
+ return s
+}
+
+// SetDataSchema sets the DataSchema field's value.
+func (s *S3DataSpec) SetDataSchema(v string) *S3DataSpec {
+ s.DataSchema = &v
+ return s
+}
+
+// SetDataSchemaLocationS3 sets the DataSchemaLocationS3 field's value.
+func (s *S3DataSpec) SetDataSchemaLocationS3(v string) *S3DataSpec {
+ s.DataSchemaLocationS3 = &v
+ return s
+}
+
// A custom key-value pair associated with an ML object, such as an ML model.
type Tag struct {
_ struct{} `type:"structure"`
@@ -6065,6 +7955,18 @@ func (s *Tag) Validate() error {
return nil
}
+// 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
+}
+
type UpdateBatchPredictionInput struct {
_ struct{} `type:"structure"`
@@ -6108,6 +8010,18 @@ func (s *UpdateBatchPredictionInput) Validate() error {
return nil
}
+// SetBatchPredictionId sets the BatchPredictionId field's value.
+func (s *UpdateBatchPredictionInput) SetBatchPredictionId(v string) *UpdateBatchPredictionInput {
+ s.BatchPredictionId = &v
+ return s
+}
+
+// SetBatchPredictionName sets the BatchPredictionName field's value.
+func (s *UpdateBatchPredictionInput) SetBatchPredictionName(v string) *UpdateBatchPredictionInput {
+ s.BatchPredictionName = &v
+ return s
+}
+
// Represents the output of an UpdateBatchPrediction operation.
//
// You can see the updated content by using the GetBatchPrediction operation.
@@ -6129,6 +8043,12 @@ func (s UpdateBatchPredictionOutput) GoString() string {
return s.String()
}
+// SetBatchPredictionId sets the BatchPredictionId field's value.
+func (s *UpdateBatchPredictionOutput) SetBatchPredictionId(v string) *UpdateBatchPredictionOutput {
+ s.BatchPredictionId = &v
+ return s
+}
+
type UpdateDataSourceInput struct {
_ struct{} `type:"structure"`
@@ -6173,6 +8093,18 @@ func (s *UpdateDataSourceInput) Validate() error {
return nil
}
+// SetDataSourceId sets the DataSourceId field's value.
+func (s *UpdateDataSourceInput) SetDataSourceId(v string) *UpdateDataSourceInput {
+ s.DataSourceId = &v
+ return s
+}
+
+// SetDataSourceName sets the DataSourceName field's value.
+func (s *UpdateDataSourceInput) SetDataSourceName(v string) *UpdateDataSourceInput {
+ s.DataSourceName = &v
+ return s
+}
+
// Represents the output of an UpdateDataSource operation.
//
// You can see the updated content by using the GetBatchPrediction operation.
@@ -6194,6 +8126,12 @@ func (s UpdateDataSourceOutput) GoString() string {
return s.String()
}
+// SetDataSourceId sets the DataSourceId field's value.
+func (s *UpdateDataSourceOutput) SetDataSourceId(v string) *UpdateDataSourceOutput {
+ s.DataSourceId = &v
+ return s
+}
+
type UpdateEvaluationInput struct {
_ struct{} `type:"structure"`
@@ -6238,6 +8176,18 @@ func (s *UpdateEvaluationInput) Validate() error {
return nil
}
+// SetEvaluationId sets the EvaluationId field's value.
+func (s *UpdateEvaluationInput) SetEvaluationId(v string) *UpdateEvaluationInput {
+ s.EvaluationId = &v
+ return s
+}
+
+// SetEvaluationName sets the EvaluationName field's value.
+func (s *UpdateEvaluationInput) SetEvaluationName(v string) *UpdateEvaluationInput {
+ s.EvaluationName = &v
+ return s
+}
+
// Represents the output of an UpdateEvaluation operation.
//
// You can see the updated content by using the GetEvaluation operation.
@@ -6259,6 +8209,12 @@ func (s UpdateEvaluationOutput) GoString() string {
return s.String()
}
+// SetEvaluationId sets the EvaluationId field's value.
+func (s *UpdateEvaluationOutput) SetEvaluationId(v string) *UpdateEvaluationOutput {
+ s.EvaluationId = &v
+ return s
+}
+
type UpdateMLModelInput struct {
_ struct{} `type:"structure"`
@@ -6305,6 +8261,24 @@ func (s *UpdateMLModelInput) Validate() error {
return nil
}
+// SetMLModelId sets the MLModelId field's value.
+func (s *UpdateMLModelInput) SetMLModelId(v string) *UpdateMLModelInput {
+ s.MLModelId = &v
+ return s
+}
+
+// SetMLModelName sets the MLModelName field's value.
+func (s *UpdateMLModelInput) SetMLModelName(v string) *UpdateMLModelInput {
+ s.MLModelName = &v
+ return s
+}
+
+// SetScoreThreshold sets the ScoreThreshold field's value.
+func (s *UpdateMLModelInput) SetScoreThreshold(v float64) *UpdateMLModelInput {
+ s.ScoreThreshold = &v
+ return s
+}
+
// Represents the output of an UpdateMLModel operation.
//
// You can see the updated content by using the GetMLModel operation.
@@ -6326,6 +8300,12 @@ func (s UpdateMLModelOutput) GoString() string {
return s.String()
}
+// SetMLModelId sets the MLModelId field's value.
+func (s *UpdateMLModelOutput) SetMLModelId(v string) *UpdateMLModelOutput {
+ s.MLModelId = &v
+ return s
+}
+
// The function used to train an MLModel. Training choices supported by Amazon
// ML include the following:
//
diff --git a/vendor/github.com/aws/aws-sdk-go/service/marketplacecommerceanalytics/api.go b/vendor/github.com/aws/aws-sdk-go/service/marketplacecommerceanalytics/api.go
index f72eef6..15a3f1f 100644
--- a/vendor/github.com/aws/aws-sdk-go/service/marketplacecommerceanalytics/api.go
+++ b/vendor/github.com/aws/aws-sdk-go/service/marketplacecommerceanalytics/api.go
@@ -296,6 +296,48 @@ func (s *GenerateDataSetInput) Validate() error {
return nil
}
+// SetCustomerDefinedValues sets the CustomerDefinedValues field's value.
+func (s *GenerateDataSetInput) SetCustomerDefinedValues(v map[string]*string) *GenerateDataSetInput {
+ s.CustomerDefinedValues = v
+ return s
+}
+
+// SetDataSetPublicationDate sets the DataSetPublicationDate field's value.
+func (s *GenerateDataSetInput) SetDataSetPublicationDate(v time.Time) *GenerateDataSetInput {
+ s.DataSetPublicationDate = &v
+ return s
+}
+
+// SetDataSetType sets the DataSetType field's value.
+func (s *GenerateDataSetInput) SetDataSetType(v string) *GenerateDataSetInput {
+ s.DataSetType = &v
+ return s
+}
+
+// SetDestinationS3BucketName sets the DestinationS3BucketName field's value.
+func (s *GenerateDataSetInput) SetDestinationS3BucketName(v string) *GenerateDataSetInput {
+ s.DestinationS3BucketName = &v
+ return s
+}
+
+// SetDestinationS3Prefix sets the DestinationS3Prefix field's value.
+func (s *GenerateDataSetInput) SetDestinationS3Prefix(v string) *GenerateDataSetInput {
+ s.DestinationS3Prefix = &v
+ return s
+}
+
+// SetRoleNameArn sets the RoleNameArn field's value.
+func (s *GenerateDataSetInput) SetRoleNameArn(v string) *GenerateDataSetInput {
+ s.RoleNameArn = &v
+ return s
+}
+
+// SetSnsTopicArn sets the SnsTopicArn field's value.
+func (s *GenerateDataSetInput) SetSnsTopicArn(v string) *GenerateDataSetInput {
+ s.SnsTopicArn = &v
+ return s
+}
+
// Container for the result of the GenerateDataSet operation.
type GenerateDataSetOutput struct {
_ struct{} `type:"structure"`
@@ -316,6 +358,12 @@ func (s GenerateDataSetOutput) GoString() string {
return s.String()
}
+// SetDataSetRequestId sets the DataSetRequestId field's value.
+func (s *GenerateDataSetOutput) SetDataSetRequestId(v string) *GenerateDataSetOutput {
+ s.DataSetRequestId = &v
+ return s
+}
+
// Container for the parameters to the StartSupportDataExport operation.
type StartSupportDataExportInput struct {
_ struct{} `type:"structure"`
@@ -423,6 +471,48 @@ func (s *StartSupportDataExportInput) Validate() error {
return nil
}
+// SetCustomerDefinedValues sets the CustomerDefinedValues field's value.
+func (s *StartSupportDataExportInput) SetCustomerDefinedValues(v map[string]*string) *StartSupportDataExportInput {
+ s.CustomerDefinedValues = v
+ return s
+}
+
+// SetDataSetType sets the DataSetType field's value.
+func (s *StartSupportDataExportInput) SetDataSetType(v string) *StartSupportDataExportInput {
+ s.DataSetType = &v
+ return s
+}
+
+// SetDestinationS3BucketName sets the DestinationS3BucketName field's value.
+func (s *StartSupportDataExportInput) SetDestinationS3BucketName(v string) *StartSupportDataExportInput {
+ s.DestinationS3BucketName = &v
+ return s
+}
+
+// SetDestinationS3Prefix sets the DestinationS3Prefix field's value.
+func (s *StartSupportDataExportInput) SetDestinationS3Prefix(v string) *StartSupportDataExportInput {
+ s.DestinationS3Prefix = &v
+ return s
+}
+
+// SetFromDate sets the FromDate field's value.
+func (s *StartSupportDataExportInput) SetFromDate(v time.Time) *StartSupportDataExportInput {
+ s.FromDate = &v
+ return s
+}
+
+// SetRoleNameArn sets the RoleNameArn field's value.
+func (s *StartSupportDataExportInput) SetRoleNameArn(v string) *StartSupportDataExportInput {
+ s.RoleNameArn = &v
+ return s
+}
+
+// SetSnsTopicArn sets the SnsTopicArn field's value.
+func (s *StartSupportDataExportInput) SetSnsTopicArn(v string) *StartSupportDataExportInput {
+ s.SnsTopicArn = &v
+ return s
+}
+
// Container for the result of the StartSupportDataExport operation.
type StartSupportDataExportOutput struct {
_ struct{} `type:"structure"`
@@ -443,6 +533,12 @@ func (s StartSupportDataExportOutput) GoString() string {
return s.String()
}
+// SetDataSetRequestId sets the DataSetRequestId field's value.
+func (s *StartSupportDataExportOutput) SetDataSetRequestId(v string) *StartSupportDataExportOutput {
+ s.DataSetRequestId = &v
+ return s
+}
+
const (
// DataSetTypeCustomerSubscriberHourlyMonthlySubscriptions is a DataSetType enum value
DataSetTypeCustomerSubscriberHourlyMonthlySubscriptions = "customer_subscriber_hourly_monthly_subscriptions"
diff --git a/vendor/github.com/aws/aws-sdk-go/service/marketplacemetering/api.go b/vendor/github.com/aws/aws-sdk-go/service/marketplacemetering/api.go
index 9eef1b1..be0d137 100644
--- a/vendor/github.com/aws/aws-sdk-go/service/marketplacemetering/api.go
+++ b/vendor/github.com/aws/aws-sdk-go/service/marketplacemetering/api.go
@@ -4,12 +4,104 @@
package marketplacemetering
import (
+ "fmt"
"time"
"github.com/aws/aws-sdk-go/aws/awsutil"
"github.com/aws/aws-sdk-go/aws/request"
)
+const opBatchMeterUsage = "BatchMeterUsage"
+
+// BatchMeterUsageRequest generates a "aws/request.Request" representing the
+// client's request for the BatchMeterUsage operation. The "output" return
+// value can be used to capture response data after the request's "Send" method
+// is called.
+//
+// See BatchMeterUsage for usage and error information.
+//
+// Creating a request object using this method should be used when you want to inject
+// custom logic into the request's lifecycle using a custom handler, or if you want to
+// access properties on the request object before or after sending the request. If
+// you just want the service response, call the BatchMeterUsage method directly
+// instead.
+//
+// Note: You must call the "Send" method on the returned request object in order
+// to execute the request.
+//
+// // Example sending a request using the BatchMeterUsageRequest method.
+// req, resp := client.BatchMeterUsageRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+func (c *MarketplaceMetering) BatchMeterUsageRequest(input *BatchMeterUsageInput) (req *request.Request, output *BatchMeterUsageOutput) {
+ op := &request.Operation{
+ Name: opBatchMeterUsage,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &BatchMeterUsageInput{}
+ }
+
+ req = c.newRequest(op, input, output)
+ output = &BatchMeterUsageOutput{}
+ req.Data = output
+ return
+}
+
+// BatchMeterUsage API operation for AWSMarketplace Metering.
+//
+// BatchMeterUsage is called from a SaaS application listed on the AWS Marketplace
+// to post metering records for a set of customers.
+//
+// For identical requests, the API is idempotent; requests can be retried with
+// the same records or a subset of the input records.
+//
+// Every request to BatchMeterUsage is for one product. If you need to meter
+// usage for multiple products, you must make multiple calls to BatchMeterUsage.
+//
+// BatchMeterUsage can process up to 25 UsageRecords 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 AWSMarketplace Metering's
+// API operation BatchMeterUsage for usage and error information.
+//
+// Returned Error Codes:
+// * InternalServiceErrorException
+// An internal error has occurred. Retry your request. If the problem persists,
+// post a message with details on the AWS forums.
+//
+// * InvalidProductCodeException
+// The product code passed does not match the product code used for publishing
+// the product.
+//
+// * InvalidUsageDimensionException
+// The usage dimension does not match one of the UsageDimensions associated
+// with products.
+//
+// * InvalidCustomerIdentifierException
+// You have metered usage for a CustomerIdentifier that does not exist.
+//
+// * TimestampOutOfBoundsException
+// The timestamp value passed in the meterUsage() is out of allowed range.
+//
+// * ThrottlingException
+// The calls to the MeterUsage API are throttled.
+//
+func (c *MarketplaceMetering) BatchMeterUsage(input *BatchMeterUsageInput) (*BatchMeterUsageOutput, error) {
+ req, out := c.BatchMeterUsageRequest(input)
+ err := req.Send()
+ return out, err
+}
+
const opMeterUsage = "MeterUsage"
// MeterUsageRequest generates a "aws/request.Request" representing the
@@ -58,6 +150,9 @@ func (c *MarketplaceMetering) MeterUsageRequest(input *MeterUsageInput) (req *re
// API to emit metering records. For identical requests, the API is idempotent.
// It simply returns the metering record ID.
//
+// MeterUsage is authenticated on the buyer's AWS account, generally when running
+// from an EC2 instance on the AWS Marketplace.
+//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
@@ -99,6 +194,194 @@ func (c *MarketplaceMetering) MeterUsage(input *MeterUsageInput) (*MeterUsageOut
return out, err
}
+const opResolveCustomer = "ResolveCustomer"
+
+// ResolveCustomerRequest generates a "aws/request.Request" representing the
+// client's request for the ResolveCustomer operation. The "output" return
+// value can be used to capture response data after the request's "Send" method
+// is called.
+//
+// See ResolveCustomer for usage and error information.
+//
+// Creating a request object using this method should be used when you want to inject
+// custom logic into the request's lifecycle using a custom handler, or if you want to
+// access properties on the request object before or after sending the request. If
+// you just want the service response, call the ResolveCustomer method directly
+// instead.
+//
+// Note: You must call the "Send" method on the returned request object in order
+// to execute the request.
+//
+// // Example sending a request using the ResolveCustomerRequest method.
+// req, resp := client.ResolveCustomerRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+func (c *MarketplaceMetering) ResolveCustomerRequest(input *ResolveCustomerInput) (req *request.Request, output *ResolveCustomerOutput) {
+ op := &request.Operation{
+ Name: opResolveCustomer,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &ResolveCustomerInput{}
+ }
+
+ req = c.newRequest(op, input, output)
+ output = &ResolveCustomerOutput{}
+ req.Data = output
+ return
+}
+
+// ResolveCustomer API operation for AWSMarketplace Metering.
+//
+// ResolveCustomer is called by a SaaS application during the registration process.
+// When a buyer visits your website during the registration process, the buyer
+// submits a registration token through their browser. The registration token
+// is resolved through this API to obtain a CustomerIdentifier and product 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 AWSMarketplace Metering's
+// API operation ResolveCustomer for usage and error information.
+//
+// Returned Error Codes:
+// * InvalidTokenException
+
+//
+// * ExpiredTokenException
+// The submitted registration token has expired. This can happen if the buyer's
+// browser takes too long to redirect to your page, the buyer has resubmitted
+// the registration token, or your application has held on to the registration
+// token for too long. Your SaaS registration website should redeem this token
+// as soon as it is submitted by the buyer's browser.
+//
+// * ThrottlingException
+// The calls to the MeterUsage API are throttled.
+//
+// * InternalServiceErrorException
+// An internal error has occurred. Retry your request. If the problem persists,
+// post a message with details on the AWS forums.
+//
+func (c *MarketplaceMetering) ResolveCustomer(input *ResolveCustomerInput) (*ResolveCustomerOutput, error) {
+ req, out := c.ResolveCustomerRequest(input)
+ err := req.Send()
+ return out, err
+}
+
+// A BatchMeterUsageRequest contains UsageRecords, which indicate quantities
+// of usage within your application.
+type BatchMeterUsageInput struct {
+ _ struct{} `type:"structure"`
+
+ // Product code is used to uniquely identify a product in AWS Marketplace. The
+ // product code should be the same as the one used during the publishing of
+ // a new product.
+ //
+ // ProductCode is a required field
+ ProductCode *string `min:"1" type:"string" required:"true"`
+
+ // The set of UsageRecords to submit. BatchMeterUsage accepts up to 25 UsageRecords
+ // at a time.
+ //
+ // UsageRecords is a required field
+ UsageRecords []*UsageRecord `type:"list" required:"true"`
+}
+
+// String returns the string representation
+func (s BatchMeterUsageInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s BatchMeterUsageInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *BatchMeterUsageInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "BatchMeterUsageInput"}
+ if s.ProductCode == nil {
+ invalidParams.Add(request.NewErrParamRequired("ProductCode"))
+ }
+ if s.ProductCode != nil && len(*s.ProductCode) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ProductCode", 1))
+ }
+ if s.UsageRecords == nil {
+ invalidParams.Add(request.NewErrParamRequired("UsageRecords"))
+ }
+ if s.UsageRecords != nil {
+ for i, v := range s.UsageRecords {
+ if v == nil {
+ continue
+ }
+ if err := v.Validate(); err != nil {
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "UsageRecords", i), err.(request.ErrInvalidParams))
+ }
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetProductCode sets the ProductCode field's value.
+func (s *BatchMeterUsageInput) SetProductCode(v string) *BatchMeterUsageInput {
+ s.ProductCode = &v
+ return s
+}
+
+// SetUsageRecords sets the UsageRecords field's value.
+func (s *BatchMeterUsageInput) SetUsageRecords(v []*UsageRecord) *BatchMeterUsageInput {
+ s.UsageRecords = v
+ return s
+}
+
+// Contains the UsageRecords processed by BatchMeterUsage and any records that
+// have failed due to transient error.
+type BatchMeterUsageOutput struct {
+ _ struct{} `type:"structure"`
+
+ // Contains all UsageRecords processed by BatchMeterUsage. These records were
+ // either honored by AWS Marketplace Metering Service or were invalid.
+ Results []*UsageRecordResult `type:"list"`
+
+ // Contains all UsageRecords that were not processed by BatchMeterUsage. This
+ // is a list of UsageRecords. You can retry the failed request by making another
+ // BatchMeterUsage call with this list as input in the BatchMeterUsageRequest.
+ UnprocessedRecords []*UsageRecord `type:"list"`
+}
+
+// String returns the string representation
+func (s BatchMeterUsageOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s BatchMeterUsageOutput) GoString() string {
+ return s.String()
+}
+
+// SetResults sets the Results field's value.
+func (s *BatchMeterUsageOutput) SetResults(v []*UsageRecordResult) *BatchMeterUsageOutput {
+ s.Results = v
+ return s
+}
+
+// SetUnprocessedRecords sets the UnprocessedRecords field's value.
+func (s *BatchMeterUsageOutput) SetUnprocessedRecords(v []*UsageRecord) *BatchMeterUsageOutput {
+ s.UnprocessedRecords = v
+ return s
+}
+
type MeterUsageInput struct {
_ struct{} `type:"structure"`
@@ -122,8 +405,8 @@ type MeterUsageInput struct {
// Timestamp is a required field
Timestamp *time.Time `type:"timestamp" timestampFormat:"unix" required:"true"`
- // It will be one of the 'fcp dimension name' provided during the publishing
- // of the product.
+ // It will be one of the fcp dimension name provided during the publishing of
+ // the product.
//
// UsageDimension is a required field
UsageDimension *string `min:"1" type:"string" required:"true"`
@@ -175,6 +458,36 @@ func (s *MeterUsageInput) Validate() error {
return nil
}
+// SetDryRun sets the DryRun field's value.
+func (s *MeterUsageInput) SetDryRun(v bool) *MeterUsageInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetProductCode sets the ProductCode field's value.
+func (s *MeterUsageInput) SetProductCode(v string) *MeterUsageInput {
+ s.ProductCode = &v
+ return s
+}
+
+// SetTimestamp sets the Timestamp field's value.
+func (s *MeterUsageInput) SetTimestamp(v time.Time) *MeterUsageInput {
+ s.Timestamp = &v
+ return s
+}
+
+// SetUsageDimension sets the UsageDimension field's value.
+func (s *MeterUsageInput) SetUsageDimension(v string) *MeterUsageInput {
+ s.UsageDimension = &v
+ return s
+}
+
+// SetUsageQuantity sets the UsageQuantity field's value.
+func (s *MeterUsageInput) SetUsageQuantity(v int64) *MeterUsageInput {
+ s.UsageQuantity = &v
+ return s
+}
+
type MeterUsageOutput struct {
_ struct{} `type:"structure"`
@@ -190,3 +503,251 @@ func (s MeterUsageOutput) String() string {
func (s MeterUsageOutput) GoString() string {
return s.String()
}
+
+// SetMeteringRecordId sets the MeteringRecordId field's value.
+func (s *MeterUsageOutput) SetMeteringRecordId(v string) *MeterUsageOutput {
+ s.MeteringRecordId = &v
+ return s
+}
+
+// Contains input to the ResolveCustomer operation.
+type ResolveCustomerInput struct {
+ _ struct{} `type:"structure"`
+
+ // When a buyer visits your website during the registration process, the buyer
+ // submits a registration token through the browser. The registration token
+ // is resolved to obtain a CustomerIdentifier and product code.
+ //
+ // RegistrationToken is a required field
+ RegistrationToken *string `type:"string" required:"true"`
+}
+
+// String returns the string representation
+func (s ResolveCustomerInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s ResolveCustomerInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *ResolveCustomerInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ResolveCustomerInput"}
+ if s.RegistrationToken == nil {
+ invalidParams.Add(request.NewErrParamRequired("RegistrationToken"))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetRegistrationToken sets the RegistrationToken field's value.
+func (s *ResolveCustomerInput) SetRegistrationToken(v string) *ResolveCustomerInput {
+ s.RegistrationToken = &v
+ return s
+}
+
+// The result of the ResolveCustomer operation. Contains the CustomerIdentifier
+// and product code.
+type ResolveCustomerOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The CustomerIdentifier is used to identify an individual customer in your
+ // application. Calls to BatchMeterUsage require CustomerIdentifiers for each
+ // UsageRecord.
+ CustomerIdentifier *string `min:"1" type:"string"`
+
+ // The product code is returned to confirm that the buyer is registering for
+ // your product. Subsequent BatchMeterUsage calls should be made using this
+ // product code.
+ ProductCode *string `min:"1" type:"string"`
+}
+
+// String returns the string representation
+func (s ResolveCustomerOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s ResolveCustomerOutput) GoString() string {
+ return s.String()
+}
+
+// SetCustomerIdentifier sets the CustomerIdentifier field's value.
+func (s *ResolveCustomerOutput) SetCustomerIdentifier(v string) *ResolveCustomerOutput {
+ s.CustomerIdentifier = &v
+ return s
+}
+
+// SetProductCode sets the ProductCode field's value.
+func (s *ResolveCustomerOutput) SetProductCode(v string) *ResolveCustomerOutput {
+ s.ProductCode = &v
+ return s
+}
+
+// A UsageRecord indicates a quantity of usage for a given product, customer,
+// dimension and time.
+//
+// Multiple requests with the same UsageRecords as input will be deduplicated
+// to prevent double charges.
+type UsageRecord struct {
+ _ struct{} `type:"structure"`
+
+ // The CustomerIdentifier is obtained through the ResolveCustomer operation
+ // and represents an individual buyer in your application.
+ //
+ // CustomerIdentifier is a required field
+ CustomerIdentifier *string `min:"1" type:"string" required:"true"`
+
+ // During the process of registering a product on AWS Marketplace, up to eight
+ // dimensions are specified. These represent different units of value in your
+ // application.
+ //
+ // Dimension is a required field
+ Dimension *string `min:"1" type:"string" required:"true"`
+
+ // The quantity of usage consumed by the customer for the given dimension and
+ // time.
+ //
+ // Quantity is a required field
+ Quantity *int64 `type:"integer" required:"true"`
+
+ // Timestamp of the hour, recorded in UTC. The seconds and milliseconds portions
+ // of the timestamp will be ignored.
+ //
+ // Your application can meter usage for up to one hour in the past.
+ //
+ // Timestamp is a required field
+ Timestamp *time.Time `type:"timestamp" timestampFormat:"unix" required:"true"`
+}
+
+// String returns the string representation
+func (s UsageRecord) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s UsageRecord) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *UsageRecord) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "UsageRecord"}
+ if s.CustomerIdentifier == nil {
+ invalidParams.Add(request.NewErrParamRequired("CustomerIdentifier"))
+ }
+ if s.CustomerIdentifier != nil && len(*s.CustomerIdentifier) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("CustomerIdentifier", 1))
+ }
+ if s.Dimension == nil {
+ invalidParams.Add(request.NewErrParamRequired("Dimension"))
+ }
+ if s.Dimension != nil && len(*s.Dimension) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Dimension", 1))
+ }
+ if s.Quantity == nil {
+ invalidParams.Add(request.NewErrParamRequired("Quantity"))
+ }
+ if s.Timestamp == nil {
+ invalidParams.Add(request.NewErrParamRequired("Timestamp"))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetCustomerIdentifier sets the CustomerIdentifier field's value.
+func (s *UsageRecord) SetCustomerIdentifier(v string) *UsageRecord {
+ s.CustomerIdentifier = &v
+ return s
+}
+
+// SetDimension sets the Dimension field's value.
+func (s *UsageRecord) SetDimension(v string) *UsageRecord {
+ s.Dimension = &v
+ return s
+}
+
+// SetQuantity sets the Quantity field's value.
+func (s *UsageRecord) SetQuantity(v int64) *UsageRecord {
+ s.Quantity = &v
+ return s
+}
+
+// SetTimestamp sets the Timestamp field's value.
+func (s *UsageRecord) SetTimestamp(v time.Time) *UsageRecord {
+ s.Timestamp = &v
+ return s
+}
+
+// A UsageRecordResult indicates the status of a given UsageRecord processed
+// by BatchMeterUsage.
+type UsageRecordResult struct {
+ _ struct{} `type:"structure"`
+
+ // The MeteringRecordId is a unique identifier for this metering event.
+ MeteringRecordId *string `type:"string"`
+
+ // The UsageRecordResult Status indicates the status of an individual UsageRecord
+ // processed by BatchMeterUsage.
+ //
+ // * Success- The UsageRecord was accepted and honored by BatchMeterUsage.
+ //
+ // * CustomerNotSubscribed- The CustomerIdentifier specified is not subscribed
+ // to your product. The UsageRecord was not honored. Future UsageRecords
+ // for this customer will fail until the customer subscribes to your product.
+ //
+ // * DuplicateRecord- Indicates that the UsageRecord was invalid and not
+ // honored. A previously metered UsageRecord had the same customer, dimension,
+ // and time, but a different quantity.
+ Status *string `type:"string" enum:"UsageRecordResultStatus"`
+
+ // The UsageRecord that was part of the BatchMeterUsage request.
+ UsageRecord *UsageRecord `type:"structure"`
+}
+
+// String returns the string representation
+func (s UsageRecordResult) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s UsageRecordResult) GoString() string {
+ return s.String()
+}
+
+// SetMeteringRecordId sets the MeteringRecordId field's value.
+func (s *UsageRecordResult) SetMeteringRecordId(v string) *UsageRecordResult {
+ s.MeteringRecordId = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *UsageRecordResult) SetStatus(v string) *UsageRecordResult {
+ s.Status = &v
+ return s
+}
+
+// SetUsageRecord sets the UsageRecord field's value.
+func (s *UsageRecordResult) SetUsageRecord(v *UsageRecord) *UsageRecordResult {
+ s.UsageRecord = v
+ return s
+}
+
+const (
+ // UsageRecordResultStatusSuccess is a UsageRecordResultStatus enum value
+ UsageRecordResultStatusSuccess = "Success"
+
+ // UsageRecordResultStatusCustomerNotSubscribed is a UsageRecordResultStatus enum value
+ UsageRecordResultStatusCustomerNotSubscribed = "CustomerNotSubscribed"
+
+ // UsageRecordResultStatusDuplicateRecord is a UsageRecordResultStatus enum value
+ UsageRecordResultStatusDuplicateRecord = "DuplicateRecord"
+)
diff --git a/vendor/github.com/aws/aws-sdk-go/service/marketplacemetering/examples_test.go b/vendor/github.com/aws/aws-sdk-go/service/marketplacemetering/examples_test.go
index ec4f513..9ab174c 100644
--- a/vendor/github.com/aws/aws-sdk-go/service/marketplacemetering/examples_test.go
+++ b/vendor/github.com/aws/aws-sdk-go/service/marketplacemetering/examples_test.go
@@ -15,6 +15,40 @@ import (
var _ time.Duration
var _ bytes.Buffer
+func ExampleMarketplaceMetering_BatchMeterUsage() {
+ sess, err := session.NewSession()
+ if err != nil {
+ fmt.Println("failed to create session,", err)
+ return
+ }
+
+ svc := marketplacemetering.New(sess)
+
+ params := &marketplacemetering.BatchMeterUsageInput{
+ ProductCode: aws.String("ProductCode"), // Required
+ UsageRecords: []*marketplacemetering.UsageRecord{ // Required
+ { // Required
+ CustomerIdentifier: aws.String("CustomerIdentifier"), // Required
+ Dimension: aws.String("UsageDimension"), // Required
+ Quantity: aws.Int64(1), // Required
+ Timestamp: aws.Time(time.Now()), // Required
+ },
+ // More values...
+ },
+ }
+ resp, err := svc.BatchMeterUsage(params)
+
+ if err != nil {
+ // Print the error, cast err to awserr.Error to get the Code and
+ // Message from an error.
+ fmt.Println(err.Error())
+ return
+ }
+
+ // Pretty-print the response data.
+ fmt.Println(resp)
+}
+
func ExampleMarketplaceMetering_MeterUsage() {
sess, err := session.NewSession()
if err != nil {
@@ -43,3 +77,28 @@ func ExampleMarketplaceMetering_MeterUsage() {
// Pretty-print the response data.
fmt.Println(resp)
}
+
+func ExampleMarketplaceMetering_ResolveCustomer() {
+ sess, err := session.NewSession()
+ if err != nil {
+ fmt.Println("failed to create session,", err)
+ return
+ }
+
+ svc := marketplacemetering.New(sess)
+
+ params := &marketplacemetering.ResolveCustomerInput{
+ RegistrationToken: aws.String("NonEmptyString"), // Required
+ }
+ resp, err := svc.ResolveCustomer(params)
+
+ if err != nil {
+ // Print the error, cast err to awserr.Error to get the Code and
+ // Message from an error.
+ fmt.Println(err.Error())
+ return
+ }
+
+ // Pretty-print the response data.
+ fmt.Println(resp)
+}
diff --git a/vendor/github.com/aws/aws-sdk-go/service/marketplacemetering/marketplacemeteringiface/interface.go b/vendor/github.com/aws/aws-sdk-go/service/marketplacemetering/marketplacemeteringiface/interface.go
index a21d7f3..aa2c7db 100644
--- a/vendor/github.com/aws/aws-sdk-go/service/marketplacemetering/marketplacemeteringiface/interface.go
+++ b/vendor/github.com/aws/aws-sdk-go/service/marketplacemetering/marketplacemeteringiface/interface.go
@@ -25,7 +25,7 @@ import (
// // myFunc uses an SDK service client to make a request to
// // AWSMarketplace Metering.
// func myFunc(svc marketplacemeteringiface.MarketplaceMeteringAPI) bool {
-// // Make svc.MeterUsage request
+// // Make svc.BatchMeterUsage request
// }
//
// func main() {
@@ -41,7 +41,7 @@ import (
// type mockMarketplaceMeteringClient struct {
// marketplacemeteringiface.MarketplaceMeteringAPI
// }
-// func (m *mockMarketplaceMeteringClient) MeterUsage(input *marketplacemetering.MeterUsageInput) (*marketplacemetering.MeterUsageOutput, error) {
+// func (m *mockMarketplaceMeteringClient) BatchMeterUsage(input *marketplacemetering.BatchMeterUsageInput) (*marketplacemetering.BatchMeterUsageOutput, error) {
// // mock response/functionality
// }
//
@@ -59,9 +59,17 @@ import (
// and waiters. Its suggested to use the pattern above for testing, or using
// tooling to generate mocks to satisfy the interfaces.
type MarketplaceMeteringAPI interface {
+ BatchMeterUsageRequest(*marketplacemetering.BatchMeterUsageInput) (*request.Request, *marketplacemetering.BatchMeterUsageOutput)
+
+ BatchMeterUsage(*marketplacemetering.BatchMeterUsageInput) (*marketplacemetering.BatchMeterUsageOutput, error)
+
MeterUsageRequest(*marketplacemetering.MeterUsageInput) (*request.Request, *marketplacemetering.MeterUsageOutput)
MeterUsage(*marketplacemetering.MeterUsageInput) (*marketplacemetering.MeterUsageOutput, error)
+
+ ResolveCustomerRequest(*marketplacemetering.ResolveCustomerInput) (*request.Request, *marketplacemetering.ResolveCustomerOutput)
+
+ ResolveCustomer(*marketplacemetering.ResolveCustomerInput) (*marketplacemetering.ResolveCustomerOutput, error)
}
var _ MarketplaceMeteringAPI = (*marketplacemetering.MarketplaceMetering)(nil)
diff --git a/vendor/github.com/aws/aws-sdk-go/service/marketplacemetering/service.go b/vendor/github.com/aws/aws-sdk-go/service/marketplacemetering/service.go
index 8e57887..bf3b629 100644
--- a/vendor/github.com/aws/aws-sdk-go/service/marketplacemetering/service.go
+++ b/vendor/github.com/aws/aws-sdk-go/service/marketplacemetering/service.go
@@ -19,7 +19,19 @@ import (
//
// Submitting Metering Records
//
-// * MeterUsage- Submits the metering record for a Marketplace product.
+// * MeterUsage- Submits the metering record for a Marketplace product. MeterUsage
+// is called from an EC2 instance.
+//
+// * BatchMeterUsage- Submits the metering record for a set of customers.
+// BatchMeterUsage is called from a software-as-a-service (SaaS) application.
+//
+// Accepting New Customers
+//
+// * ResolveCustomer- Called by a SaaS application during the registration
+// process. When a buyer visits your website during the registration process,
+// the buyer submits a Registration Token through the browser. The Registration
+// Token is resolved through this API to obtain a CustomerIdentifier and
+// Product Code.
//The service client's operations are safe to be used concurrently.
// It is not safe to mutate any of the client's properties though.
type MarketplaceMetering struct {
diff --git a/vendor/github.com/aws/aws-sdk-go/service/mobileanalytics/api.go b/vendor/github.com/aws/aws-sdk-go/service/mobileanalytics/api.go
index 1d4418c..3d37c58 100644
--- a/vendor/github.com/aws/aws-sdk-go/service/mobileanalytics/api.go
+++ b/vendor/github.com/aws/aws-sdk-go/service/mobileanalytics/api.go
@@ -152,6 +152,42 @@ func (s *Event) Validate() error {
return nil
}
+// SetAttributes sets the Attributes field's value.
+func (s *Event) SetAttributes(v map[string]*string) *Event {
+ s.Attributes = v
+ return s
+}
+
+// SetEventType sets the EventType field's value.
+func (s *Event) SetEventType(v string) *Event {
+ s.EventType = &v
+ return s
+}
+
+// SetMetrics sets the Metrics field's value.
+func (s *Event) SetMetrics(v map[string]*float64) *Event {
+ s.Metrics = v
+ return s
+}
+
+// SetSession sets the Session field's value.
+func (s *Event) SetSession(v *Session) *Event {
+ s.Session = v
+ return s
+}
+
+// SetTimestamp sets the Timestamp field's value.
+func (s *Event) SetTimestamp(v string) *Event {
+ s.Timestamp = &v
+ return s
+}
+
+// SetVersion sets the Version field's value.
+func (s *Event) SetVersion(v string) *Event {
+ s.Version = &v
+ return s
+}
+
// A container for the data needed for a PutEvent operation
type PutEventsInput struct {
_ struct{} `type:"structure"`
@@ -207,6 +243,24 @@ func (s *PutEventsInput) Validate() error {
return nil
}
+// SetClientContext sets the ClientContext field's value.
+func (s *PutEventsInput) SetClientContext(v string) *PutEventsInput {
+ s.ClientContext = &v
+ return s
+}
+
+// SetClientContextEncoding sets the ClientContextEncoding field's value.
+func (s *PutEventsInput) SetClientContextEncoding(v string) *PutEventsInput {
+ s.ClientContextEncoding = &v
+ return s
+}
+
+// SetEvents sets the Events field's value.
+func (s *PutEventsInput) SetEvents(v []*Event) *PutEventsInput {
+ s.Events = v
+ return s
+}
+
type PutEventsOutput struct {
_ struct{} `type:"structure"`
}
@@ -262,3 +316,27 @@ func (s *Session) Validate() error {
}
return nil
}
+
+// SetDuration sets the Duration field's value.
+func (s *Session) SetDuration(v int64) *Session {
+ s.Duration = &v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *Session) SetId(v string) *Session {
+ s.Id = &v
+ return s
+}
+
+// SetStartTimestamp sets the StartTimestamp field's value.
+func (s *Session) SetStartTimestamp(v string) *Session {
+ s.StartTimestamp = &v
+ return s
+}
+
+// SetStopTimestamp sets the StopTimestamp field's value.
+func (s *Session) SetStopTimestamp(v string) *Session {
+ s.StopTimestamp = &v
+ return s
+}
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 3ffa27b..d78b27a 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
@@ -5251,6 +5251,18 @@ func (s AgentVersion) GoString() string {
return s.String()
}
+// SetConfigurationManager sets the ConfigurationManager field's value.
+func (s *AgentVersion) SetConfigurationManager(v *StackConfigurationManager) *AgentVersion {
+ s.ConfigurationManager = v
+ return s
+}
+
+// SetVersion sets the Version field's value.
+func (s *AgentVersion) SetVersion(v string) *AgentVersion {
+ s.Version = &v
+ return s
+}
+
// A description of the app.
type App struct {
_ struct{} `type:"structure"`
@@ -5319,6 +5331,90 @@ func (s App) GoString() string {
return s.String()
}
+// SetAppId sets the AppId field's value.
+func (s *App) SetAppId(v string) *App {
+ s.AppId = &v
+ return s
+}
+
+// SetAppSource sets the AppSource field's value.
+func (s *App) SetAppSource(v *Source) *App {
+ s.AppSource = v
+ return s
+}
+
+// SetAttributes sets the Attributes field's value.
+func (s *App) SetAttributes(v map[string]*string) *App {
+ s.Attributes = v
+ return s
+}
+
+// SetCreatedAt sets the CreatedAt field's value.
+func (s *App) SetCreatedAt(v string) *App {
+ s.CreatedAt = &v
+ return s
+}
+
+// SetDataSources sets the DataSources field's value.
+func (s *App) SetDataSources(v []*DataSource) *App {
+ s.DataSources = v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *App) SetDescription(v string) *App {
+ s.Description = &v
+ return s
+}
+
+// SetDomains sets the Domains field's value.
+func (s *App) SetDomains(v []*string) *App {
+ s.Domains = v
+ return s
+}
+
+// SetEnableSsl sets the EnableSsl field's value.
+func (s *App) SetEnableSsl(v bool) *App {
+ s.EnableSsl = &v
+ return s
+}
+
+// SetEnvironment sets the Environment field's value.
+func (s *App) SetEnvironment(v []*EnvironmentVariable) *App {
+ s.Environment = v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *App) SetName(v string) *App {
+ s.Name = &v
+ return s
+}
+
+// SetShortname sets the Shortname field's value.
+func (s *App) SetShortname(v string) *App {
+ s.Shortname = &v
+ return s
+}
+
+// SetSslConfiguration sets the SslConfiguration field's value.
+func (s *App) SetSslConfiguration(v *SslConfiguration) *App {
+ s.SslConfiguration = v
+ return s
+}
+
+// SetStackId sets the StackId field's value.
+func (s *App) SetStackId(v string) *App {
+ s.StackId = &v
+ return s
+}
+
+// SetType sets the Type field's value.
+func (s *App) SetType(v string) *App {
+ s.Type = &v
+ return s
+}
+
type AssignInstanceInput struct {
_ struct{} `type:"structure"`
@@ -5360,6 +5456,18 @@ func (s *AssignInstanceInput) Validate() error {
return nil
}
+// SetInstanceId sets the InstanceId field's value.
+func (s *AssignInstanceInput) SetInstanceId(v string) *AssignInstanceInput {
+ s.InstanceId = &v
+ return s
+}
+
+// SetLayerIds sets the LayerIds field's value.
+func (s *AssignInstanceInput) SetLayerIds(v []*string) *AssignInstanceInput {
+ s.LayerIds = v
+ return s
+}
+
type AssignInstanceOutput struct {
_ struct{} `type:"structure"`
}
@@ -5409,6 +5517,18 @@ func (s *AssignVolumeInput) Validate() error {
return nil
}
+// SetInstanceId sets the InstanceId field's value.
+func (s *AssignVolumeInput) SetInstanceId(v string) *AssignVolumeInput {
+ s.InstanceId = &v
+ return s
+}
+
+// SetVolumeId sets the VolumeId field's value.
+func (s *AssignVolumeInput) SetVolumeId(v string) *AssignVolumeInput {
+ s.VolumeId = &v
+ return s
+}
+
type AssignVolumeOutput struct {
_ struct{} `type:"structure"`
}
@@ -5458,6 +5578,18 @@ func (s *AssociateElasticIpInput) Validate() error {
return nil
}
+// SetElasticIp sets the ElasticIp field's value.
+func (s *AssociateElasticIpInput) SetElasticIp(v string) *AssociateElasticIpInput {
+ s.ElasticIp = &v
+ return s
+}
+
+// SetInstanceId sets the InstanceId field's value.
+func (s *AssociateElasticIpInput) SetInstanceId(v string) *AssociateElasticIpInput {
+ s.InstanceId = &v
+ return s
+}
+
type AssociateElasticIpOutput struct {
_ struct{} `type:"structure"`
}
@@ -5513,6 +5645,18 @@ func (s *AttachElasticLoadBalancerInput) Validate() error {
return nil
}
+// SetElasticLoadBalancerName sets the ElasticLoadBalancerName field's value.
+func (s *AttachElasticLoadBalancerInput) SetElasticLoadBalancerName(v string) *AttachElasticLoadBalancerInput {
+ s.ElasticLoadBalancerName = &v
+ return s
+}
+
+// SetLayerId sets the LayerId field's value.
+func (s *AttachElasticLoadBalancerInput) SetLayerId(v string) *AttachElasticLoadBalancerInput {
+ s.LayerId = &v
+ return s
+}
+
type AttachElasticLoadBalancerOutput struct {
_ struct{} `type:"structure"`
}
@@ -5598,6 +5742,48 @@ func (s *AutoScalingThresholds) Validate() error {
return nil
}
+// SetAlarms sets the Alarms field's value.
+func (s *AutoScalingThresholds) SetAlarms(v []*string) *AutoScalingThresholds {
+ s.Alarms = v
+ return s
+}
+
+// SetCpuThreshold sets the CpuThreshold field's value.
+func (s *AutoScalingThresholds) SetCpuThreshold(v float64) *AutoScalingThresholds {
+ s.CpuThreshold = &v
+ return s
+}
+
+// SetIgnoreMetricsTime sets the IgnoreMetricsTime field's value.
+func (s *AutoScalingThresholds) SetIgnoreMetricsTime(v int64) *AutoScalingThresholds {
+ s.IgnoreMetricsTime = &v
+ return s
+}
+
+// SetInstanceCount sets the InstanceCount field's value.
+func (s *AutoScalingThresholds) SetInstanceCount(v int64) *AutoScalingThresholds {
+ s.InstanceCount = &v
+ return s
+}
+
+// SetLoadThreshold sets the LoadThreshold field's value.
+func (s *AutoScalingThresholds) SetLoadThreshold(v float64) *AutoScalingThresholds {
+ s.LoadThreshold = &v
+ return s
+}
+
+// SetMemoryThreshold sets the MemoryThreshold field's value.
+func (s *AutoScalingThresholds) SetMemoryThreshold(v float64) *AutoScalingThresholds {
+ s.MemoryThreshold = &v
+ return s
+}
+
+// SetThresholdsWaitTime sets the ThresholdsWaitTime field's value.
+func (s *AutoScalingThresholds) SetThresholdsWaitTime(v int64) *AutoScalingThresholds {
+ s.ThresholdsWaitTime = &v
+ return s
+}
+
// 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.
@@ -5630,6 +5816,30 @@ func (s BlockDeviceMapping) GoString() string {
return s.String()
}
+// SetDeviceName sets the DeviceName field's value.
+func (s *BlockDeviceMapping) SetDeviceName(v string) *BlockDeviceMapping {
+ s.DeviceName = &v
+ return s
+}
+
+// SetEbs sets the Ebs field's value.
+func (s *BlockDeviceMapping) SetEbs(v *EbsBlockDevice) *BlockDeviceMapping {
+ s.Ebs = v
+ return s
+}
+
+// SetNoDevice sets the NoDevice field's value.
+func (s *BlockDeviceMapping) SetNoDevice(v string) *BlockDeviceMapping {
+ s.NoDevice = &v
+ return s
+}
+
+// SetVirtualName sets the VirtualName field's value.
+func (s *BlockDeviceMapping) SetVirtualName(v string) *BlockDeviceMapping {
+ s.VirtualName = &v
+ return s
+}
+
// Describes the Chef configuration.
type ChefConfiguration struct {
_ struct{} `type:"structure"`
@@ -5651,6 +5861,18 @@ func (s ChefConfiguration) GoString() string {
return s.String()
}
+// SetBerkshelfVersion sets the BerkshelfVersion field's value.
+func (s *ChefConfiguration) SetBerkshelfVersion(v string) *ChefConfiguration {
+ s.BerkshelfVersion = &v
+ return s
+}
+
+// SetManageBerkshelf sets the ManageBerkshelf field's value.
+func (s *ChefConfiguration) SetManageBerkshelf(v bool) *ChefConfiguration {
+ s.ManageBerkshelf = &v
+ return s
+}
+
type CloneStackInput struct {
_ struct{} `type:"structure"`
@@ -5906,6 +6128,138 @@ func (s *CloneStackInput) Validate() error {
return nil
}
+// SetAgentVersion sets the AgentVersion field's value.
+func (s *CloneStackInput) SetAgentVersion(v string) *CloneStackInput {
+ s.AgentVersion = &v
+ return s
+}
+
+// SetAttributes sets the Attributes field's value.
+func (s *CloneStackInput) SetAttributes(v map[string]*string) *CloneStackInput {
+ s.Attributes = v
+ return s
+}
+
+// SetChefConfiguration sets the ChefConfiguration field's value.
+func (s *CloneStackInput) SetChefConfiguration(v *ChefConfiguration) *CloneStackInput {
+ s.ChefConfiguration = v
+ return s
+}
+
+// SetCloneAppIds sets the CloneAppIds field's value.
+func (s *CloneStackInput) SetCloneAppIds(v []*string) *CloneStackInput {
+ s.CloneAppIds = v
+ return s
+}
+
+// SetClonePermissions sets the ClonePermissions field's value.
+func (s *CloneStackInput) SetClonePermissions(v bool) *CloneStackInput {
+ s.ClonePermissions = &v
+ return s
+}
+
+// SetConfigurationManager sets the ConfigurationManager field's value.
+func (s *CloneStackInput) SetConfigurationManager(v *StackConfigurationManager) *CloneStackInput {
+ s.ConfigurationManager = v
+ return s
+}
+
+// SetCustomCookbooksSource sets the CustomCookbooksSource field's value.
+func (s *CloneStackInput) SetCustomCookbooksSource(v *Source) *CloneStackInput {
+ s.CustomCookbooksSource = v
+ return s
+}
+
+// SetCustomJson sets the CustomJson field's value.
+func (s *CloneStackInput) SetCustomJson(v string) *CloneStackInput {
+ s.CustomJson = &v
+ return s
+}
+
+// SetDefaultAvailabilityZone sets the DefaultAvailabilityZone field's value.
+func (s *CloneStackInput) SetDefaultAvailabilityZone(v string) *CloneStackInput {
+ s.DefaultAvailabilityZone = &v
+ return s
+}
+
+// SetDefaultInstanceProfileArn sets the DefaultInstanceProfileArn field's value.
+func (s *CloneStackInput) SetDefaultInstanceProfileArn(v string) *CloneStackInput {
+ s.DefaultInstanceProfileArn = &v
+ return s
+}
+
+// SetDefaultOs sets the DefaultOs field's value.
+func (s *CloneStackInput) SetDefaultOs(v string) *CloneStackInput {
+ s.DefaultOs = &v
+ return s
+}
+
+// SetDefaultRootDeviceType sets the DefaultRootDeviceType field's value.
+func (s *CloneStackInput) SetDefaultRootDeviceType(v string) *CloneStackInput {
+ s.DefaultRootDeviceType = &v
+ return s
+}
+
+// SetDefaultSshKeyName sets the DefaultSshKeyName field's value.
+func (s *CloneStackInput) SetDefaultSshKeyName(v string) *CloneStackInput {
+ s.DefaultSshKeyName = &v
+ return s
+}
+
+// SetDefaultSubnetId sets the DefaultSubnetId field's value.
+func (s *CloneStackInput) SetDefaultSubnetId(v string) *CloneStackInput {
+ s.DefaultSubnetId = &v
+ return s
+}
+
+// SetHostnameTheme sets the HostnameTheme field's value.
+func (s *CloneStackInput) SetHostnameTheme(v string) *CloneStackInput {
+ s.HostnameTheme = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *CloneStackInput) SetName(v string) *CloneStackInput {
+ s.Name = &v
+ return s
+}
+
+// SetRegion sets the Region field's value.
+func (s *CloneStackInput) SetRegion(v string) *CloneStackInput {
+ s.Region = &v
+ return s
+}
+
+// SetServiceRoleArn sets the ServiceRoleArn field's value.
+func (s *CloneStackInput) SetServiceRoleArn(v string) *CloneStackInput {
+ s.ServiceRoleArn = &v
+ return s
+}
+
+// SetSourceStackId sets the SourceStackId field's value.
+func (s *CloneStackInput) SetSourceStackId(v string) *CloneStackInput {
+ s.SourceStackId = &v
+ return s
+}
+
+// SetUseCustomCookbooks sets the UseCustomCookbooks field's value.
+func (s *CloneStackInput) SetUseCustomCookbooks(v bool) *CloneStackInput {
+ s.UseCustomCookbooks = &v
+ return s
+}
+
+// SetUseOpsworksSecurityGroups sets the UseOpsworksSecurityGroups field's value.
+func (s *CloneStackInput) SetUseOpsworksSecurityGroups(v bool) *CloneStackInput {
+ s.UseOpsworksSecurityGroups = &v
+ return s
+}
+
+// SetVpcId sets the VpcId field's value.
+func (s *CloneStackInput) SetVpcId(v string) *CloneStackInput {
+ s.VpcId = &v
+ return s
+}
+
// Contains the response to a CloneStack request.
type CloneStackOutput struct {
_ struct{} `type:"structure"`
@@ -5924,6 +6278,12 @@ func (s CloneStackOutput) GoString() string {
return s.String()
}
+// SetStackId sets the StackId field's value.
+func (s *CloneStackOutput) SetStackId(v string) *CloneStackOutput {
+ s.StackId = &v
+ return s
+}
+
// Describes a command.
type Command struct {
_ struct{} `type:"structure"`
@@ -5997,6 +6357,66 @@ func (s Command) GoString() string {
return s.String()
}
+// SetAcknowledgedAt sets the AcknowledgedAt field's value.
+func (s *Command) SetAcknowledgedAt(v string) *Command {
+ s.AcknowledgedAt = &v
+ return s
+}
+
+// SetCommandId sets the CommandId field's value.
+func (s *Command) SetCommandId(v string) *Command {
+ s.CommandId = &v
+ return s
+}
+
+// SetCompletedAt sets the CompletedAt field's value.
+func (s *Command) SetCompletedAt(v string) *Command {
+ s.CompletedAt = &v
+ return s
+}
+
+// SetCreatedAt sets the CreatedAt field's value.
+func (s *Command) SetCreatedAt(v string) *Command {
+ s.CreatedAt = &v
+ return s
+}
+
+// SetDeploymentId sets the DeploymentId field's value.
+func (s *Command) SetDeploymentId(v string) *Command {
+ s.DeploymentId = &v
+ return s
+}
+
+// SetExitCode sets the ExitCode field's value.
+func (s *Command) SetExitCode(v int64) *Command {
+ s.ExitCode = &v
+ return s
+}
+
+// SetInstanceId sets the InstanceId field's value.
+func (s *Command) SetInstanceId(v string) *Command {
+ s.InstanceId = &v
+ return s
+}
+
+// SetLogUrl sets the LogUrl field's value.
+func (s *Command) SetLogUrl(v string) *Command {
+ s.LogUrl = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *Command) SetStatus(v string) *Command {
+ s.Status = &v
+ return s
+}
+
+// SetType sets the Type field's value.
+func (s *Command) SetType(v string) *Command {
+ s.Type = &v
+ return s
+}
+
type CreateAppInput struct {
_ struct{} `type:"structure"`
@@ -6105,6 +6525,78 @@ func (s *CreateAppInput) Validate() error {
return nil
}
+// SetAppSource sets the AppSource field's value.
+func (s *CreateAppInput) SetAppSource(v *Source) *CreateAppInput {
+ s.AppSource = v
+ return s
+}
+
+// SetAttributes sets the Attributes field's value.
+func (s *CreateAppInput) SetAttributes(v map[string]*string) *CreateAppInput {
+ s.Attributes = v
+ return s
+}
+
+// SetDataSources sets the DataSources field's value.
+func (s *CreateAppInput) SetDataSources(v []*DataSource) *CreateAppInput {
+ s.DataSources = v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *CreateAppInput) SetDescription(v string) *CreateAppInput {
+ s.Description = &v
+ return s
+}
+
+// SetDomains sets the Domains field's value.
+func (s *CreateAppInput) SetDomains(v []*string) *CreateAppInput {
+ s.Domains = v
+ return s
+}
+
+// SetEnableSsl sets the EnableSsl field's value.
+func (s *CreateAppInput) SetEnableSsl(v bool) *CreateAppInput {
+ s.EnableSsl = &v
+ return s
+}
+
+// SetEnvironment sets the Environment field's value.
+func (s *CreateAppInput) SetEnvironment(v []*EnvironmentVariable) *CreateAppInput {
+ s.Environment = v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *CreateAppInput) SetName(v string) *CreateAppInput {
+ s.Name = &v
+ return s
+}
+
+// SetShortname sets the Shortname field's value.
+func (s *CreateAppInput) SetShortname(v string) *CreateAppInput {
+ s.Shortname = &v
+ return s
+}
+
+// SetSslConfiguration sets the SslConfiguration field's value.
+func (s *CreateAppInput) SetSslConfiguration(v *SslConfiguration) *CreateAppInput {
+ s.SslConfiguration = v
+ return s
+}
+
+// SetStackId sets the StackId field's value.
+func (s *CreateAppInput) SetStackId(v string) *CreateAppInput {
+ s.StackId = &v
+ return s
+}
+
+// SetType sets the Type field's value.
+func (s *CreateAppInput) SetType(v string) *CreateAppInput {
+ s.Type = &v
+ return s
+}
+
// Contains the response to a CreateApp request.
type CreateAppOutput struct {
_ struct{} `type:"structure"`
@@ -6123,6 +6615,12 @@ func (s CreateAppOutput) GoString() string {
return s.String()
}
+// SetAppId sets the AppId field's value.
+func (s *CreateAppOutput) SetAppId(v string) *CreateAppOutput {
+ s.AppId = &v
+ return s
+}
+
type CreateDeploymentInput struct {
_ struct{} `type:"structure"`
@@ -6192,6 +6690,48 @@ func (s *CreateDeploymentInput) Validate() error {
return nil
}
+// SetAppId sets the AppId field's value.
+func (s *CreateDeploymentInput) SetAppId(v string) *CreateDeploymentInput {
+ s.AppId = &v
+ return s
+}
+
+// SetCommand sets the Command field's value.
+func (s *CreateDeploymentInput) SetCommand(v *DeploymentCommand) *CreateDeploymentInput {
+ s.Command = v
+ return s
+}
+
+// SetComment sets the Comment field's value.
+func (s *CreateDeploymentInput) SetComment(v string) *CreateDeploymentInput {
+ s.Comment = &v
+ return s
+}
+
+// SetCustomJson sets the CustomJson field's value.
+func (s *CreateDeploymentInput) SetCustomJson(v string) *CreateDeploymentInput {
+ s.CustomJson = &v
+ return s
+}
+
+// SetInstanceIds sets the InstanceIds field's value.
+func (s *CreateDeploymentInput) SetInstanceIds(v []*string) *CreateDeploymentInput {
+ s.InstanceIds = v
+ return s
+}
+
+// SetLayerIds sets the LayerIds field's value.
+func (s *CreateDeploymentInput) SetLayerIds(v []*string) *CreateDeploymentInput {
+ s.LayerIds = v
+ return s
+}
+
+// SetStackId sets the StackId field's value.
+func (s *CreateDeploymentInput) SetStackId(v string) *CreateDeploymentInput {
+ s.StackId = &v
+ return s
+}
+
// Contains the response to a CreateDeployment request.
type CreateDeploymentOutput struct {
_ struct{} `type:"structure"`
@@ -6211,6 +6751,12 @@ func (s CreateDeploymentOutput) GoString() string {
return s.String()
}
+// SetDeploymentId sets the DeploymentId field's value.
+func (s *CreateDeploymentOutput) SetDeploymentId(v string) *CreateDeploymentOutput {
+ s.DeploymentId = &v
+ return s
+}
+
type CreateInstanceInput struct {
_ struct{} `type:"structure"`
@@ -6378,6 +6924,114 @@ func (s *CreateInstanceInput) Validate() error {
return nil
}
+// SetAgentVersion sets the AgentVersion field's value.
+func (s *CreateInstanceInput) SetAgentVersion(v string) *CreateInstanceInput {
+ s.AgentVersion = &v
+ return s
+}
+
+// SetAmiId sets the AmiId field's value.
+func (s *CreateInstanceInput) SetAmiId(v string) *CreateInstanceInput {
+ s.AmiId = &v
+ return s
+}
+
+// SetArchitecture sets the Architecture field's value.
+func (s *CreateInstanceInput) SetArchitecture(v string) *CreateInstanceInput {
+ s.Architecture = &v
+ return s
+}
+
+// SetAutoScalingType sets the AutoScalingType field's value.
+func (s *CreateInstanceInput) SetAutoScalingType(v string) *CreateInstanceInput {
+ s.AutoScalingType = &v
+ return s
+}
+
+// SetAvailabilityZone sets the AvailabilityZone field's value.
+func (s *CreateInstanceInput) SetAvailabilityZone(v string) *CreateInstanceInput {
+ s.AvailabilityZone = &v
+ return s
+}
+
+// SetBlockDeviceMappings sets the BlockDeviceMappings field's value.
+func (s *CreateInstanceInput) SetBlockDeviceMappings(v []*BlockDeviceMapping) *CreateInstanceInput {
+ s.BlockDeviceMappings = v
+ return s
+}
+
+// SetEbsOptimized sets the EbsOptimized field's value.
+func (s *CreateInstanceInput) SetEbsOptimized(v bool) *CreateInstanceInput {
+ s.EbsOptimized = &v
+ return s
+}
+
+// SetHostname sets the Hostname field's value.
+func (s *CreateInstanceInput) SetHostname(v string) *CreateInstanceInput {
+ s.Hostname = &v
+ return s
+}
+
+// SetInstallUpdatesOnBoot sets the InstallUpdatesOnBoot field's value.
+func (s *CreateInstanceInput) SetInstallUpdatesOnBoot(v bool) *CreateInstanceInput {
+ s.InstallUpdatesOnBoot = &v
+ return s
+}
+
+// SetInstanceType sets the InstanceType field's value.
+func (s *CreateInstanceInput) SetInstanceType(v string) *CreateInstanceInput {
+ s.InstanceType = &v
+ return s
+}
+
+// SetLayerIds sets the LayerIds field's value.
+func (s *CreateInstanceInput) SetLayerIds(v []*string) *CreateInstanceInput {
+ s.LayerIds = v
+ return s
+}
+
+// SetOs sets the Os field's value.
+func (s *CreateInstanceInput) SetOs(v string) *CreateInstanceInput {
+ s.Os = &v
+ return s
+}
+
+// SetRootDeviceType sets the RootDeviceType field's value.
+func (s *CreateInstanceInput) SetRootDeviceType(v string) *CreateInstanceInput {
+ s.RootDeviceType = &v
+ return s
+}
+
+// SetSshKeyName sets the SshKeyName field's value.
+func (s *CreateInstanceInput) SetSshKeyName(v string) *CreateInstanceInput {
+ s.SshKeyName = &v
+ return s
+}
+
+// SetStackId sets the StackId field's value.
+func (s *CreateInstanceInput) SetStackId(v string) *CreateInstanceInput {
+ s.StackId = &v
+ return s
+}
+
+// SetSubnetId sets the SubnetId field's value.
+func (s *CreateInstanceInput) SetSubnetId(v string) *CreateInstanceInput {
+ s.SubnetId = &v
+ return s
+}
+
+// SetTenancy sets the Tenancy field's value.
+func (s *CreateInstanceInput) SetTenancy(v string) *CreateInstanceInput {
+ s.Tenancy = &v
+ return s
+}
+
+// SetVirtualizationType sets the VirtualizationType field's value.
+func (s *CreateInstanceInput) SetVirtualizationType(v string) *CreateInstanceInput {
+ s.VirtualizationType = &v
+ return s
+}
+
// Contains the response to a CreateInstance request.
type CreateInstanceOutput struct {
_ struct{} `type:"structure"`
@@ -6396,6 +7050,12 @@ func (s CreateInstanceOutput) GoString() string {
return s.String()
}
+// SetInstanceId sets the InstanceId field's value.
+func (s *CreateInstanceOutput) SetInstanceId(v string) *CreateInstanceOutput {
+ s.InstanceId = &v
+ return s
+}
+
type CreateLayerInput struct {
_ struct{} `type:"structure"`
@@ -6529,6 +7189,108 @@ func (s *CreateLayerInput) Validate() error {
return nil
}
+// SetAttributes sets the Attributes field's value.
+func (s *CreateLayerInput) SetAttributes(v map[string]*string) *CreateLayerInput {
+ s.Attributes = v
+ return s
+}
+
+// SetAutoAssignElasticIps sets the AutoAssignElasticIps field's value.
+func (s *CreateLayerInput) SetAutoAssignElasticIps(v bool) *CreateLayerInput {
+ s.AutoAssignElasticIps = &v
+ return s
+}
+
+// SetAutoAssignPublicIps sets the AutoAssignPublicIps field's value.
+func (s *CreateLayerInput) SetAutoAssignPublicIps(v bool) *CreateLayerInput {
+ s.AutoAssignPublicIps = &v
+ return s
+}
+
+// SetCustomInstanceProfileArn sets the CustomInstanceProfileArn field's value.
+func (s *CreateLayerInput) SetCustomInstanceProfileArn(v string) *CreateLayerInput {
+ s.CustomInstanceProfileArn = &v
+ return s
+}
+
+// SetCustomJson sets the CustomJson field's value.
+func (s *CreateLayerInput) SetCustomJson(v string) *CreateLayerInput {
+ s.CustomJson = &v
+ return s
+}
+
+// SetCustomRecipes sets the CustomRecipes field's value.
+func (s *CreateLayerInput) SetCustomRecipes(v *Recipes) *CreateLayerInput {
+ s.CustomRecipes = v
+ return s
+}
+
+// SetCustomSecurityGroupIds sets the CustomSecurityGroupIds field's value.
+func (s *CreateLayerInput) SetCustomSecurityGroupIds(v []*string) *CreateLayerInput {
+ s.CustomSecurityGroupIds = v
+ return s
+}
+
+// SetEnableAutoHealing sets the EnableAutoHealing field's value.
+func (s *CreateLayerInput) SetEnableAutoHealing(v bool) *CreateLayerInput {
+ s.EnableAutoHealing = &v
+ return s
+}
+
+// SetInstallUpdatesOnBoot sets the InstallUpdatesOnBoot field's value.
+func (s *CreateLayerInput) SetInstallUpdatesOnBoot(v bool) *CreateLayerInput {
+ s.InstallUpdatesOnBoot = &v
+ return s
+}
+
+// SetLifecycleEventConfiguration sets the LifecycleEventConfiguration field's value.
+func (s *CreateLayerInput) SetLifecycleEventConfiguration(v *LifecycleEventConfiguration) *CreateLayerInput {
+ s.LifecycleEventConfiguration = v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *CreateLayerInput) SetName(v string) *CreateLayerInput {
+ s.Name = &v
+ return s
+}
+
+// SetPackages sets the Packages field's value.
+func (s *CreateLayerInput) SetPackages(v []*string) *CreateLayerInput {
+ s.Packages = v
+ return s
+}
+
+// SetShortname sets the Shortname field's value.
+func (s *CreateLayerInput) SetShortname(v string) *CreateLayerInput {
+ s.Shortname = &v
+ return s
+}
+
+// SetStackId sets the StackId field's value.
+func (s *CreateLayerInput) SetStackId(v string) *CreateLayerInput {
+ s.StackId = &v
+ return s
+}
+
+// SetType sets the Type field's value.
+func (s *CreateLayerInput) SetType(v string) *CreateLayerInput {
+ s.Type = &v
+ return s
+}
+
+// SetUseEbsOptimizedInstances sets the UseEbsOptimizedInstances field's value.
+func (s *CreateLayerInput) SetUseEbsOptimizedInstances(v bool) *CreateLayerInput {
+ s.UseEbsOptimizedInstances = &v
+ return s
+}
+
+// SetVolumeConfigurations sets the VolumeConfigurations field's value.
+func (s *CreateLayerInput) SetVolumeConfigurations(v []*VolumeConfiguration) *CreateLayerInput {
+ s.VolumeConfigurations = v
+ return s
+}
+
// Contains the response to a CreateLayer request.
type CreateLayerOutput struct {
_ struct{} `type:"structure"`
@@ -6547,6 +7309,12 @@ func (s CreateLayerOutput) GoString() string {
return s.String()
}
+// SetLayerId sets the LayerId field's value.
+func (s *CreateLayerOutput) SetLayerId(v string) *CreateLayerOutput {
+ s.LayerId = &v
+ return s
+}
+
type CreateStackInput struct {
_ struct{} `type:"structure"`
@@ -6797,6 +7565,120 @@ func (s *CreateStackInput) Validate() error {
return nil
}
+// SetAgentVersion sets the AgentVersion field's value.
+func (s *CreateStackInput) SetAgentVersion(v string) *CreateStackInput {
+ s.AgentVersion = &v
+ return s
+}
+
+// SetAttributes sets the Attributes field's value.
+func (s *CreateStackInput) SetAttributes(v map[string]*string) *CreateStackInput {
+ s.Attributes = v
+ return s
+}
+
+// SetChefConfiguration sets the ChefConfiguration field's value.
+func (s *CreateStackInput) SetChefConfiguration(v *ChefConfiguration) *CreateStackInput {
+ s.ChefConfiguration = v
+ return s
+}
+
+// SetConfigurationManager sets the ConfigurationManager field's value.
+func (s *CreateStackInput) SetConfigurationManager(v *StackConfigurationManager) *CreateStackInput {
+ s.ConfigurationManager = v
+ return s
+}
+
+// SetCustomCookbooksSource sets the CustomCookbooksSource field's value.
+func (s *CreateStackInput) SetCustomCookbooksSource(v *Source) *CreateStackInput {
+ s.CustomCookbooksSource = v
+ return s
+}
+
+// SetCustomJson sets the CustomJson field's value.
+func (s *CreateStackInput) SetCustomJson(v string) *CreateStackInput {
+ s.CustomJson = &v
+ return s
+}
+
+// SetDefaultAvailabilityZone sets the DefaultAvailabilityZone field's value.
+func (s *CreateStackInput) SetDefaultAvailabilityZone(v string) *CreateStackInput {
+ s.DefaultAvailabilityZone = &v
+ return s
+}
+
+// SetDefaultInstanceProfileArn sets the DefaultInstanceProfileArn field's value.
+func (s *CreateStackInput) SetDefaultInstanceProfileArn(v string) *CreateStackInput {
+ s.DefaultInstanceProfileArn = &v
+ return s
+}
+
+// SetDefaultOs sets the DefaultOs field's value.
+func (s *CreateStackInput) SetDefaultOs(v string) *CreateStackInput {
+ s.DefaultOs = &v
+ return s
+}
+
+// SetDefaultRootDeviceType sets the DefaultRootDeviceType field's value.
+func (s *CreateStackInput) SetDefaultRootDeviceType(v string) *CreateStackInput {
+ s.DefaultRootDeviceType = &v
+ return s
+}
+
+// SetDefaultSshKeyName sets the DefaultSshKeyName field's value.
+func (s *CreateStackInput) SetDefaultSshKeyName(v string) *CreateStackInput {
+ s.DefaultSshKeyName = &v
+ return s
+}
+
+// SetDefaultSubnetId sets the DefaultSubnetId field's value.
+func (s *CreateStackInput) SetDefaultSubnetId(v string) *CreateStackInput {
+ s.DefaultSubnetId = &v
+ return s
+}
+
+// SetHostnameTheme sets the HostnameTheme field's value.
+func (s *CreateStackInput) SetHostnameTheme(v string) *CreateStackInput {
+ s.HostnameTheme = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *CreateStackInput) SetName(v string) *CreateStackInput {
+ s.Name = &v
+ return s
+}
+
+// SetRegion sets the Region field's value.
+func (s *CreateStackInput) SetRegion(v string) *CreateStackInput {
+ s.Region = &v
+ return s
+}
+
+// SetServiceRoleArn sets the ServiceRoleArn field's value.
+func (s *CreateStackInput) SetServiceRoleArn(v string) *CreateStackInput {
+ s.ServiceRoleArn = &v
+ return s
+}
+
+// SetUseCustomCookbooks sets the UseCustomCookbooks field's value.
+func (s *CreateStackInput) SetUseCustomCookbooks(v bool) *CreateStackInput {
+ s.UseCustomCookbooks = &v
+ return s
+}
+
+// SetUseOpsworksSecurityGroups sets the UseOpsworksSecurityGroups field's value.
+func (s *CreateStackInput) SetUseOpsworksSecurityGroups(v bool) *CreateStackInput {
+ s.UseOpsworksSecurityGroups = &v
+ return s
+}
+
+// SetVpcId sets the VpcId field's value.
+func (s *CreateStackInput) SetVpcId(v string) *CreateStackInput {
+ s.VpcId = &v
+ return s
+}
+
// Contains the response to a CreateStack request.
type CreateStackOutput struct {
_ struct{} `type:"structure"`
@@ -6816,6 +7698,12 @@ func (s CreateStackOutput) GoString() string {
return s.String()
}
+// SetStackId sets the StackId field's value.
+func (s *CreateStackOutput) SetStackId(v string) *CreateStackOutput {
+ s.StackId = &v
+ return s
+}
+
type CreateUserProfileInput struct {
_ struct{} `type:"structure"`
@@ -6862,6 +7750,30 @@ func (s *CreateUserProfileInput) Validate() error {
return nil
}
+// SetAllowSelfManagement sets the AllowSelfManagement field's value.
+func (s *CreateUserProfileInput) SetAllowSelfManagement(v bool) *CreateUserProfileInput {
+ s.AllowSelfManagement = &v
+ return s
+}
+
+// SetIamUserArn sets the IamUserArn field's value.
+func (s *CreateUserProfileInput) SetIamUserArn(v string) *CreateUserProfileInput {
+ s.IamUserArn = &v
+ return s
+}
+
+// SetSshPublicKey sets the SshPublicKey field's value.
+func (s *CreateUserProfileInput) SetSshPublicKey(v string) *CreateUserProfileInput {
+ s.SshPublicKey = &v
+ return s
+}
+
+// SetSshUsername sets the SshUsername field's value.
+func (s *CreateUserProfileInput) SetSshUsername(v string) *CreateUserProfileInput {
+ s.SshUsername = &v
+ return s
+}
+
// Contains the response to a CreateUserProfile request.
type CreateUserProfileOutput struct {
_ struct{} `type:"structure"`
@@ -6880,6 +7792,12 @@ func (s CreateUserProfileOutput) GoString() string {
return s.String()
}
+// SetIamUserArn sets the IamUserArn field's value.
+func (s *CreateUserProfileOutput) SetIamUserArn(v string) *CreateUserProfileOutput {
+ s.IamUserArn = &v
+ return s
+}
+
// Describes an app's data source.
type DataSource struct {
_ struct{} `type:"structure"`
@@ -6905,6 +7823,24 @@ func (s DataSource) GoString() string {
return s.String()
}
+// SetArn sets the Arn field's value.
+func (s *DataSource) SetArn(v string) *DataSource {
+ s.Arn = &v
+ return s
+}
+
+// SetDatabaseName sets the DatabaseName field's value.
+func (s *DataSource) SetDatabaseName(v string) *DataSource {
+ s.DatabaseName = &v
+ return s
+}
+
+// SetType sets the Type field's value.
+func (s *DataSource) SetType(v string) *DataSource {
+ s.Type = &v
+ return s
+}
+
type DeleteAppInput struct {
_ struct{} `type:"structure"`
@@ -6937,6 +7873,12 @@ func (s *DeleteAppInput) Validate() error {
return nil
}
+// SetAppId sets the AppId field's value.
+func (s *DeleteAppInput) SetAppId(v string) *DeleteAppInput {
+ s.AppId = &v
+ return s
+}
+
type DeleteAppOutput struct {
_ struct{} `type:"structure"`
}
@@ -6989,6 +7931,24 @@ func (s *DeleteInstanceInput) Validate() error {
return nil
}
+// SetDeleteElasticIp sets the DeleteElasticIp field's value.
+func (s *DeleteInstanceInput) SetDeleteElasticIp(v bool) *DeleteInstanceInput {
+ s.DeleteElasticIp = &v
+ return s
+}
+
+// SetDeleteVolumes sets the DeleteVolumes field's value.
+func (s *DeleteInstanceInput) SetDeleteVolumes(v bool) *DeleteInstanceInput {
+ s.DeleteVolumes = &v
+ return s
+}
+
+// SetInstanceId sets the InstanceId field's value.
+func (s *DeleteInstanceInput) SetInstanceId(v string) *DeleteInstanceInput {
+ s.InstanceId = &v
+ return s
+}
+
type DeleteInstanceOutput struct {
_ struct{} `type:"structure"`
}
@@ -7035,6 +7995,12 @@ func (s *DeleteLayerInput) Validate() error {
return nil
}
+// SetLayerId sets the LayerId field's value.
+func (s *DeleteLayerInput) SetLayerId(v string) *DeleteLayerInput {
+ s.LayerId = &v
+ return s
+}
+
type DeleteLayerOutput struct {
_ struct{} `type:"structure"`
}
@@ -7081,6 +8047,12 @@ func (s *DeleteStackInput) Validate() error {
return nil
}
+// SetStackId sets the StackId field's value.
+func (s *DeleteStackInput) SetStackId(v string) *DeleteStackInput {
+ s.StackId = &v
+ return s
+}
+
type DeleteStackOutput struct {
_ struct{} `type:"structure"`
}
@@ -7127,6 +8099,12 @@ func (s *DeleteUserProfileInput) Validate() error {
return nil
}
+// SetIamUserArn sets the IamUserArn field's value.
+func (s *DeleteUserProfileInput) SetIamUserArn(v string) *DeleteUserProfileInput {
+ s.IamUserArn = &v
+ return s
+}
+
type DeleteUserProfileOutput struct {
_ struct{} `type:"structure"`
}
@@ -7205,6 +8183,78 @@ func (s Deployment) GoString() string {
return s.String()
}
+// SetAppId sets the AppId field's value.
+func (s *Deployment) SetAppId(v string) *Deployment {
+ s.AppId = &v
+ return s
+}
+
+// SetCommand sets the Command field's value.
+func (s *Deployment) SetCommand(v *DeploymentCommand) *Deployment {
+ s.Command = v
+ return s
+}
+
+// SetComment sets the Comment field's value.
+func (s *Deployment) SetComment(v string) *Deployment {
+ s.Comment = &v
+ return s
+}
+
+// SetCompletedAt sets the CompletedAt field's value.
+func (s *Deployment) SetCompletedAt(v string) *Deployment {
+ s.CompletedAt = &v
+ return s
+}
+
+// SetCreatedAt sets the CreatedAt field's value.
+func (s *Deployment) SetCreatedAt(v string) *Deployment {
+ s.CreatedAt = &v
+ return s
+}
+
+// SetCustomJson sets the CustomJson field's value.
+func (s *Deployment) SetCustomJson(v string) *Deployment {
+ s.CustomJson = &v
+ return s
+}
+
+// SetDeploymentId sets the DeploymentId field's value.
+func (s *Deployment) SetDeploymentId(v string) *Deployment {
+ s.DeploymentId = &v
+ return s
+}
+
+// SetDuration sets the Duration field's value.
+func (s *Deployment) SetDuration(v int64) *Deployment {
+ s.Duration = &v
+ return s
+}
+
+// SetIamUserArn sets the IamUserArn field's value.
+func (s *Deployment) SetIamUserArn(v string) *Deployment {
+ s.IamUserArn = &v
+ return s
+}
+
+// SetInstanceIds sets the InstanceIds field's value.
+func (s *Deployment) SetInstanceIds(v []*string) *Deployment {
+ s.InstanceIds = v
+ return s
+}
+
+// SetStackId sets the StackId field's value.
+func (s *Deployment) SetStackId(v string) *Deployment {
+ s.StackId = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *Deployment) SetStatus(v string) *Deployment {
+ s.Status = &v
+ return s
+}
+
// Used to specify a stack or deployment command.
type DeploymentCommand struct {
_ struct{} `type:"structure"`
@@ -7295,6 +8345,18 @@ func (s *DeploymentCommand) Validate() error {
return nil
}
+// SetArgs sets the Args field's value.
+func (s *DeploymentCommand) SetArgs(v map[string][]*string) *DeploymentCommand {
+ s.Args = v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *DeploymentCommand) SetName(v string) *DeploymentCommand {
+ s.Name = &v
+ return s
+}
+
type DeregisterEcsClusterInput struct {
_ struct{} `type:"structure"`
@@ -7327,6 +8389,12 @@ func (s *DeregisterEcsClusterInput) Validate() error {
return nil
}
+// SetEcsClusterArn sets the EcsClusterArn field's value.
+func (s *DeregisterEcsClusterInput) SetEcsClusterArn(v string) *DeregisterEcsClusterInput {
+ s.EcsClusterArn = &v
+ return s
+}
+
type DeregisterEcsClusterOutput struct {
_ struct{} `type:"structure"`
}
@@ -7373,6 +8441,12 @@ func (s *DeregisterElasticIpInput) Validate() error {
return nil
}
+// SetElasticIp sets the ElasticIp field's value.
+func (s *DeregisterElasticIpInput) SetElasticIp(v string) *DeregisterElasticIpInput {
+ s.ElasticIp = &v
+ return s
+}
+
type DeregisterElasticIpOutput struct {
_ struct{} `type:"structure"`
}
@@ -7419,6 +8493,12 @@ func (s *DeregisterInstanceInput) Validate() error {
return nil
}
+// SetInstanceId sets the InstanceId field's value.
+func (s *DeregisterInstanceInput) SetInstanceId(v string) *DeregisterInstanceInput {
+ s.InstanceId = &v
+ return s
+}
+
type DeregisterInstanceOutput struct {
_ struct{} `type:"structure"`
}
@@ -7465,6 +8545,12 @@ func (s *DeregisterRdsDbInstanceInput) Validate() error {
return nil
}
+// SetRdsDbInstanceArn sets the RdsDbInstanceArn field's value.
+func (s *DeregisterRdsDbInstanceInput) SetRdsDbInstanceArn(v string) *DeregisterRdsDbInstanceInput {
+ s.RdsDbInstanceArn = &v
+ return s
+}
+
type DeregisterRdsDbInstanceOutput struct {
_ struct{} `type:"structure"`
}
@@ -7513,6 +8599,12 @@ func (s *DeregisterVolumeInput) Validate() error {
return nil
}
+// SetVolumeId sets the VolumeId field's value.
+func (s *DeregisterVolumeInput) SetVolumeId(v string) *DeregisterVolumeInput {
+ s.VolumeId = &v
+ return s
+}
+
type DeregisterVolumeOutput struct {
_ struct{} `type:"structure"`
}
@@ -7547,6 +8639,18 @@ func (s DescribeAgentVersionsInput) GoString() string {
return s.String()
}
+// SetConfigurationManager sets the ConfigurationManager field's value.
+func (s *DescribeAgentVersionsInput) SetConfigurationManager(v *StackConfigurationManager) *DescribeAgentVersionsInput {
+ s.ConfigurationManager = v
+ return s
+}
+
+// SetStackId sets the StackId field's value.
+func (s *DescribeAgentVersionsInput) SetStackId(v string) *DescribeAgentVersionsInput {
+ s.StackId = &v
+ return s
+}
+
// Contains the response to a DescribeAgentVersions request.
type DescribeAgentVersionsOutput struct {
_ struct{} `type:"structure"`
@@ -7567,6 +8671,12 @@ func (s DescribeAgentVersionsOutput) GoString() string {
return s.String()
}
+// SetAgentVersions sets the AgentVersions field's value.
+func (s *DescribeAgentVersionsOutput) SetAgentVersions(v []*AgentVersion) *DescribeAgentVersionsOutput {
+ s.AgentVersions = v
+ return s
+}
+
type DescribeAppsInput struct {
_ struct{} `type:"structure"`
@@ -7590,6 +8700,18 @@ func (s DescribeAppsInput) GoString() string {
return s.String()
}
+// SetAppIds sets the AppIds field's value.
+func (s *DescribeAppsInput) SetAppIds(v []*string) *DescribeAppsInput {
+ s.AppIds = v
+ return s
+}
+
+// SetStackId sets the StackId field's value.
+func (s *DescribeAppsInput) SetStackId(v string) *DescribeAppsInput {
+ s.StackId = &v
+ return s
+}
+
// Contains the response to a DescribeApps request.
type DescribeAppsOutput struct {
_ struct{} `type:"structure"`
@@ -7608,6 +8730,12 @@ func (s DescribeAppsOutput) GoString() string {
return s.String()
}
+// SetApps sets the Apps field's value.
+func (s *DescribeAppsOutput) SetApps(v []*App) *DescribeAppsOutput {
+ s.Apps = v
+ return s
+}
+
type DescribeCommandsInput struct {
_ struct{} `type:"structure"`
@@ -7635,6 +8763,24 @@ func (s DescribeCommandsInput) GoString() string {
return s.String()
}
+// SetCommandIds sets the CommandIds field's value.
+func (s *DescribeCommandsInput) SetCommandIds(v []*string) *DescribeCommandsInput {
+ s.CommandIds = v
+ return s
+}
+
+// SetDeploymentId sets the DeploymentId field's value.
+func (s *DescribeCommandsInput) SetDeploymentId(v string) *DescribeCommandsInput {
+ s.DeploymentId = &v
+ return s
+}
+
+// SetInstanceId sets the InstanceId field's value.
+func (s *DescribeCommandsInput) SetInstanceId(v string) *DescribeCommandsInput {
+ s.InstanceId = &v
+ return s
+}
+
// Contains the response to a DescribeCommands request.
type DescribeCommandsOutput struct {
_ struct{} `type:"structure"`
@@ -7653,6 +8799,12 @@ func (s DescribeCommandsOutput) GoString() string {
return s.String()
}
+// SetCommands sets the Commands field's value.
+func (s *DescribeCommandsOutput) SetCommands(v []*Command) *DescribeCommandsOutput {
+ s.Commands = v
+ return s
+}
+
type DescribeDeploymentsInput struct {
_ struct{} `type:"structure"`
@@ -7680,6 +8832,24 @@ func (s DescribeDeploymentsInput) GoString() string {
return s.String()
}
+// SetAppId sets the AppId field's value.
+func (s *DescribeDeploymentsInput) SetAppId(v string) *DescribeDeploymentsInput {
+ s.AppId = &v
+ return s
+}
+
+// SetDeploymentIds sets the DeploymentIds field's value.
+func (s *DescribeDeploymentsInput) SetDeploymentIds(v []*string) *DescribeDeploymentsInput {
+ s.DeploymentIds = v
+ return s
+}
+
+// SetStackId sets the StackId field's value.
+func (s *DescribeDeploymentsInput) SetStackId(v string) *DescribeDeploymentsInput {
+ s.StackId = &v
+ return s
+}
+
// Contains the response to a DescribeDeployments request.
type DescribeDeploymentsOutput struct {
_ struct{} `type:"structure"`
@@ -7698,6 +8868,12 @@ func (s DescribeDeploymentsOutput) GoString() string {
return s.String()
}
+// SetDeployments sets the Deployments field's value.
+func (s *DescribeDeploymentsOutput) SetDeployments(v []*Deployment) *DescribeDeploymentsOutput {
+ s.Deployments = v
+ return s
+}
+
type DescribeEcsClustersInput struct {
_ struct{} `type:"structure"`
@@ -7733,6 +8909,30 @@ func (s DescribeEcsClustersInput) GoString() string {
return s.String()
}
+// SetEcsClusterArns sets the EcsClusterArns field's value.
+func (s *DescribeEcsClustersInput) SetEcsClusterArns(v []*string) *DescribeEcsClustersInput {
+ s.EcsClusterArns = v
+ return s
+}
+
+// SetMaxResults sets the MaxResults field's value.
+func (s *DescribeEcsClustersInput) SetMaxResults(v int64) *DescribeEcsClustersInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeEcsClustersInput) SetNextToken(v string) *DescribeEcsClustersInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetStackId sets the StackId field's value.
+func (s *DescribeEcsClustersInput) SetStackId(v string) *DescribeEcsClustersInput {
+ s.StackId = &v
+ return s
+}
+
// Contains the response to a DescribeEcsClusters request.
type DescribeEcsClustersOutput struct {
_ struct{} `type:"structure"`
@@ -7757,6 +8957,18 @@ func (s DescribeEcsClustersOutput) GoString() string {
return s.String()
}
+// SetEcsClusters sets the EcsClusters field's value.
+func (s *DescribeEcsClustersOutput) SetEcsClusters(v []*EcsCluster) *DescribeEcsClustersOutput {
+ s.EcsClusters = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeEcsClustersOutput) SetNextToken(v string) *DescribeEcsClustersOutput {
+ s.NextToken = &v
+ return s
+}
+
type DescribeElasticIpsInput struct {
_ struct{} `type:"structure"`
@@ -7784,6 +8996,24 @@ func (s DescribeElasticIpsInput) GoString() string {
return s.String()
}
+// SetInstanceId sets the InstanceId field's value.
+func (s *DescribeElasticIpsInput) SetInstanceId(v string) *DescribeElasticIpsInput {
+ s.InstanceId = &v
+ return s
+}
+
+// SetIps sets the Ips field's value.
+func (s *DescribeElasticIpsInput) SetIps(v []*string) *DescribeElasticIpsInput {
+ s.Ips = v
+ return s
+}
+
+// SetStackId sets the StackId field's value.
+func (s *DescribeElasticIpsInput) SetStackId(v string) *DescribeElasticIpsInput {
+ s.StackId = &v
+ return s
+}
+
// Contains the response to a DescribeElasticIps request.
type DescribeElasticIpsOutput struct {
_ struct{} `type:"structure"`
@@ -7802,6 +9032,12 @@ func (s DescribeElasticIpsOutput) GoString() string {
return s.String()
}
+// SetElasticIps sets the ElasticIps field's value.
+func (s *DescribeElasticIpsOutput) SetElasticIps(v []*ElasticIp) *DescribeElasticIpsOutput {
+ s.ElasticIps = v
+ return s
+}
+
type DescribeElasticLoadBalancersInput struct {
_ struct{} `type:"structure"`
@@ -7823,6 +9059,18 @@ func (s DescribeElasticLoadBalancersInput) GoString() string {
return s.String()
}
+// SetLayerIds sets the LayerIds field's value.
+func (s *DescribeElasticLoadBalancersInput) SetLayerIds(v []*string) *DescribeElasticLoadBalancersInput {
+ s.LayerIds = v
+ return s
+}
+
+// SetStackId sets the StackId field's value.
+func (s *DescribeElasticLoadBalancersInput) SetStackId(v string) *DescribeElasticLoadBalancersInput {
+ s.StackId = &v
+ return s
+}
+
// Contains the response to a DescribeElasticLoadBalancers request.
type DescribeElasticLoadBalancersOutput struct {
_ struct{} `type:"structure"`
@@ -7842,6 +9090,12 @@ func (s DescribeElasticLoadBalancersOutput) GoString() string {
return s.String()
}
+// SetElasticLoadBalancers sets the ElasticLoadBalancers field's value.
+func (s *DescribeElasticLoadBalancersOutput) SetElasticLoadBalancers(v []*ElasticLoadBalancer) *DescribeElasticLoadBalancersOutput {
+ s.ElasticLoadBalancers = v
+ return s
+}
+
type DescribeInstancesInput struct {
_ struct{} `type:"structure"`
@@ -7869,6 +9123,24 @@ func (s DescribeInstancesInput) GoString() string {
return s.String()
}
+// SetInstanceIds sets the InstanceIds field's value.
+func (s *DescribeInstancesInput) SetInstanceIds(v []*string) *DescribeInstancesInput {
+ s.InstanceIds = v
+ return s
+}
+
+// SetLayerId sets the LayerId field's value.
+func (s *DescribeInstancesInput) SetLayerId(v string) *DescribeInstancesInput {
+ s.LayerId = &v
+ return s
+}
+
+// SetStackId sets the StackId field's value.
+func (s *DescribeInstancesInput) SetStackId(v string) *DescribeInstancesInput {
+ s.StackId = &v
+ return s
+}
+
// Contains the response to a DescribeInstances request.
type DescribeInstancesOutput struct {
_ struct{} `type:"structure"`
@@ -7887,6 +9159,12 @@ func (s DescribeInstancesOutput) GoString() string {
return s.String()
}
+// SetInstances sets the Instances field's value.
+func (s *DescribeInstancesOutput) SetInstances(v []*Instance) *DescribeInstancesOutput {
+ s.Instances = v
+ return s
+}
+
type DescribeLayersInput struct {
_ struct{} `type:"structure"`
@@ -7909,6 +9187,18 @@ func (s DescribeLayersInput) GoString() string {
return s.String()
}
+// SetLayerIds sets the LayerIds field's value.
+func (s *DescribeLayersInput) SetLayerIds(v []*string) *DescribeLayersInput {
+ s.LayerIds = v
+ return s
+}
+
+// SetStackId sets the StackId field's value.
+func (s *DescribeLayersInput) SetStackId(v string) *DescribeLayersInput {
+ s.StackId = &v
+ return s
+}
+
// Contains the response to a DescribeLayers request.
type DescribeLayersOutput struct {
_ struct{} `type:"structure"`
@@ -7927,6 +9217,12 @@ func (s DescribeLayersOutput) GoString() string {
return s.String()
}
+// SetLayers sets the Layers field's value.
+func (s *DescribeLayersOutput) SetLayers(v []*Layer) *DescribeLayersOutput {
+ s.Layers = v
+ return s
+}
+
type DescribeLoadBasedAutoScalingInput struct {
_ struct{} `type:"structure"`
@@ -7959,6 +9255,12 @@ func (s *DescribeLoadBasedAutoScalingInput) Validate() error {
return nil
}
+// SetLayerIds sets the LayerIds field's value.
+func (s *DescribeLoadBasedAutoScalingInput) SetLayerIds(v []*string) *DescribeLoadBasedAutoScalingInput {
+ s.LayerIds = v
+ return s
+}
+
// Contains the response to a DescribeLoadBasedAutoScaling request.
type DescribeLoadBasedAutoScalingOutput struct {
_ struct{} `type:"structure"`
@@ -7978,6 +9280,12 @@ func (s DescribeLoadBasedAutoScalingOutput) GoString() string {
return s.String()
}
+// SetLoadBasedAutoScalingConfigurations sets the LoadBasedAutoScalingConfigurations field's value.
+func (s *DescribeLoadBasedAutoScalingOutput) SetLoadBasedAutoScalingConfigurations(v []*LoadBasedAutoScalingConfiguration) *DescribeLoadBasedAutoScalingOutput {
+ s.LoadBasedAutoScalingConfigurations = v
+ return s
+}
+
type DescribeMyUserProfileInput struct {
_ struct{} `type:"structure"`
}
@@ -8010,6 +9318,12 @@ func (s DescribeMyUserProfileOutput) GoString() string {
return s.String()
}
+// SetUserProfile sets the UserProfile field's value.
+func (s *DescribeMyUserProfileOutput) SetUserProfile(v *SelfUserProfile) *DescribeMyUserProfileOutput {
+ s.UserProfile = v
+ return s
+}
+
type DescribePermissionsInput struct {
_ struct{} `type:"structure"`
@@ -8031,6 +9345,18 @@ func (s DescribePermissionsInput) GoString() string {
return s.String()
}
+// SetIamUserArn sets the IamUserArn field's value.
+func (s *DescribePermissionsInput) SetIamUserArn(v string) *DescribePermissionsInput {
+ s.IamUserArn = &v
+ return s
+}
+
+// SetStackId sets the StackId field's value.
+func (s *DescribePermissionsInput) SetStackId(v string) *DescribePermissionsInput {
+ s.StackId = &v
+ return s
+}
+
// Contains the response to a DescribePermissions request.
type DescribePermissionsOutput struct {
_ struct{} `type:"structure"`
@@ -8059,6 +9385,12 @@ func (s DescribePermissionsOutput) GoString() string {
return s.String()
}
+// SetPermissions sets the Permissions field's value.
+func (s *DescribePermissionsOutput) SetPermissions(v []*Permission) *DescribePermissionsOutput {
+ s.Permissions = v
+ return s
+}
+
type DescribeRaidArraysInput struct {
_ struct{} `type:"structure"`
@@ -8085,6 +9417,24 @@ func (s DescribeRaidArraysInput) GoString() string {
return s.String()
}
+// SetInstanceId sets the InstanceId field's value.
+func (s *DescribeRaidArraysInput) SetInstanceId(v string) *DescribeRaidArraysInput {
+ s.InstanceId = &v
+ return s
+}
+
+// SetRaidArrayIds sets the RaidArrayIds field's value.
+func (s *DescribeRaidArraysInput) SetRaidArrayIds(v []*string) *DescribeRaidArraysInput {
+ s.RaidArrayIds = v
+ return s
+}
+
+// SetStackId sets the StackId field's value.
+func (s *DescribeRaidArraysInput) SetStackId(v string) *DescribeRaidArraysInput {
+ s.StackId = &v
+ return s
+}
+
// Contains the response to a DescribeRaidArrays request.
type DescribeRaidArraysOutput struct {
_ struct{} `type:"structure"`
@@ -8103,6 +9453,12 @@ func (s DescribeRaidArraysOutput) GoString() string {
return s.String()
}
+// SetRaidArrays sets the RaidArrays field's value.
+func (s *DescribeRaidArraysOutput) SetRaidArrays(v []*RaidArray) *DescribeRaidArraysOutput {
+ s.RaidArrays = v
+ return s
+}
+
type DescribeRdsDbInstancesInput struct {
_ struct{} `type:"structure"`
@@ -8139,6 +9495,18 @@ func (s *DescribeRdsDbInstancesInput) Validate() error {
return nil
}
+// SetRdsDbInstanceArns sets the RdsDbInstanceArns field's value.
+func (s *DescribeRdsDbInstancesInput) SetRdsDbInstanceArns(v []*string) *DescribeRdsDbInstancesInput {
+ s.RdsDbInstanceArns = v
+ return s
+}
+
+// SetStackId sets the StackId field's value.
+func (s *DescribeRdsDbInstancesInput) SetStackId(v string) *DescribeRdsDbInstancesInput {
+ s.StackId = &v
+ return s
+}
+
// Contains the response to a DescribeRdsDbInstances request.
type DescribeRdsDbInstancesOutput struct {
_ struct{} `type:"structure"`
@@ -8157,6 +9525,12 @@ func (s DescribeRdsDbInstancesOutput) GoString() string {
return s.String()
}
+// SetRdsDbInstances sets the RdsDbInstances field's value.
+func (s *DescribeRdsDbInstancesOutput) SetRdsDbInstances(v []*RdsDbInstance) *DescribeRdsDbInstancesOutput {
+ s.RdsDbInstances = v
+ return s
+}
+
type DescribeServiceErrorsInput struct {
_ struct{} `type:"structure"`
@@ -8184,6 +9558,24 @@ func (s DescribeServiceErrorsInput) GoString() string {
return s.String()
}
+// SetInstanceId sets the InstanceId field's value.
+func (s *DescribeServiceErrorsInput) SetInstanceId(v string) *DescribeServiceErrorsInput {
+ s.InstanceId = &v
+ return s
+}
+
+// SetServiceErrorIds sets the ServiceErrorIds field's value.
+func (s *DescribeServiceErrorsInput) SetServiceErrorIds(v []*string) *DescribeServiceErrorsInput {
+ s.ServiceErrorIds = v
+ return s
+}
+
+// SetStackId sets the StackId field's value.
+func (s *DescribeServiceErrorsInput) SetStackId(v string) *DescribeServiceErrorsInput {
+ s.StackId = &v
+ return s
+}
+
// Contains the response to a DescribeServiceErrors request.
type DescribeServiceErrorsOutput struct {
_ struct{} `type:"structure"`
@@ -8202,6 +9594,12 @@ func (s DescribeServiceErrorsOutput) GoString() string {
return s.String()
}
+// SetServiceErrors sets the ServiceErrors field's value.
+func (s *DescribeServiceErrorsOutput) SetServiceErrors(v []*ServiceError) *DescribeServiceErrorsOutput {
+ s.ServiceErrors = v
+ return s
+}
+
type DescribeStackProvisioningParametersInput struct {
_ struct{} `type:"structure"`
@@ -8234,6 +9632,12 @@ func (s *DescribeStackProvisioningParametersInput) Validate() error {
return nil
}
+// SetStackId sets the StackId field's value.
+func (s *DescribeStackProvisioningParametersInput) SetStackId(v string) *DescribeStackProvisioningParametersInput {
+ s.StackId = &v
+ return s
+}
+
// Contains the response to a DescribeStackProvisioningParameters request.
type DescribeStackProvisioningParametersOutput struct {
_ struct{} `type:"structure"`
@@ -8255,6 +9659,18 @@ func (s DescribeStackProvisioningParametersOutput) GoString() string {
return s.String()
}
+// SetAgentInstallerUrl sets the AgentInstallerUrl field's value.
+func (s *DescribeStackProvisioningParametersOutput) SetAgentInstallerUrl(v string) *DescribeStackProvisioningParametersOutput {
+ s.AgentInstallerUrl = &v
+ return s
+}
+
+// SetParameters sets the Parameters field's value.
+func (s *DescribeStackProvisioningParametersOutput) SetParameters(v map[string]*string) *DescribeStackProvisioningParametersOutput {
+ s.Parameters = v
+ return s
+}
+
type DescribeStackSummaryInput struct {
_ struct{} `type:"structure"`
@@ -8287,6 +9703,12 @@ func (s *DescribeStackSummaryInput) Validate() error {
return nil
}
+// SetStackId sets the StackId field's value.
+func (s *DescribeStackSummaryInput) SetStackId(v string) *DescribeStackSummaryInput {
+ s.StackId = &v
+ return s
+}
+
// Contains the response to a DescribeStackSummary request.
type DescribeStackSummaryOutput struct {
_ struct{} `type:"structure"`
@@ -8305,6 +9727,12 @@ func (s DescribeStackSummaryOutput) GoString() string {
return s.String()
}
+// SetStackSummary sets the StackSummary field's value.
+func (s *DescribeStackSummaryOutput) SetStackSummary(v *StackSummary) *DescribeStackSummaryOutput {
+ s.StackSummary = v
+ return s
+}
+
type DescribeStacksInput struct {
_ struct{} `type:"structure"`
@@ -8323,6 +9751,12 @@ func (s DescribeStacksInput) GoString() string {
return s.String()
}
+// SetStackIds sets the StackIds field's value.
+func (s *DescribeStacksInput) SetStackIds(v []*string) *DescribeStacksInput {
+ s.StackIds = v
+ return s
+}
+
// Contains the response to a DescribeStacks request.
type DescribeStacksOutput struct {
_ struct{} `type:"structure"`
@@ -8341,6 +9775,12 @@ func (s DescribeStacksOutput) GoString() string {
return s.String()
}
+// SetStacks sets the Stacks field's value.
+func (s *DescribeStacksOutput) SetStacks(v []*Stack) *DescribeStacksOutput {
+ s.Stacks = v
+ return s
+}
+
type DescribeTimeBasedAutoScalingInput struct {
_ struct{} `type:"structure"`
@@ -8373,6 +9813,12 @@ func (s *DescribeTimeBasedAutoScalingInput) Validate() error {
return nil
}
+// SetInstanceIds sets the InstanceIds field's value.
+func (s *DescribeTimeBasedAutoScalingInput) SetInstanceIds(v []*string) *DescribeTimeBasedAutoScalingInput {
+ s.InstanceIds = v
+ return s
+}
+
// Contains the response to a DescribeTimeBasedAutoScaling request.
type DescribeTimeBasedAutoScalingOutput struct {
_ struct{} `type:"structure"`
@@ -8392,6 +9838,12 @@ func (s DescribeTimeBasedAutoScalingOutput) GoString() string {
return s.String()
}
+// SetTimeBasedAutoScalingConfigurations sets the TimeBasedAutoScalingConfigurations field's value.
+func (s *DescribeTimeBasedAutoScalingOutput) SetTimeBasedAutoScalingConfigurations(v []*TimeBasedAutoScalingConfiguration) *DescribeTimeBasedAutoScalingOutput {
+ s.TimeBasedAutoScalingConfigurations = v
+ return s
+}
+
type DescribeUserProfilesInput struct {
_ struct{} `type:"structure"`
@@ -8409,6 +9861,12 @@ func (s DescribeUserProfilesInput) GoString() string {
return s.String()
}
+// SetIamUserArns sets the IamUserArns field's value.
+func (s *DescribeUserProfilesInput) SetIamUserArns(v []*string) *DescribeUserProfilesInput {
+ s.IamUserArns = v
+ return s
+}
+
// Contains the response to a DescribeUserProfiles request.
type DescribeUserProfilesOutput struct {
_ struct{} `type:"structure"`
@@ -8427,6 +9885,12 @@ func (s DescribeUserProfilesOutput) GoString() string {
return s.String()
}
+// SetUserProfiles sets the UserProfiles field's value.
+func (s *DescribeUserProfilesOutput) SetUserProfiles(v []*UserProfile) *DescribeUserProfilesOutput {
+ s.UserProfiles = v
+ return s
+}
+
type DescribeVolumesInput struct {
_ struct{} `type:"structure"`
@@ -8457,6 +9921,30 @@ func (s DescribeVolumesInput) GoString() string {
return s.String()
}
+// SetInstanceId sets the InstanceId field's value.
+func (s *DescribeVolumesInput) SetInstanceId(v string) *DescribeVolumesInput {
+ s.InstanceId = &v
+ return s
+}
+
+// SetRaidArrayId sets the RaidArrayId field's value.
+func (s *DescribeVolumesInput) SetRaidArrayId(v string) *DescribeVolumesInput {
+ s.RaidArrayId = &v
+ return s
+}
+
+// SetStackId sets the StackId field's value.
+func (s *DescribeVolumesInput) SetStackId(v string) *DescribeVolumesInput {
+ s.StackId = &v
+ return s
+}
+
+// SetVolumeIds sets the VolumeIds field's value.
+func (s *DescribeVolumesInput) SetVolumeIds(v []*string) *DescribeVolumesInput {
+ s.VolumeIds = v
+ return s
+}
+
// Contains the response to a DescribeVolumes request.
type DescribeVolumesOutput struct {
_ struct{} `type:"structure"`
@@ -8475,6 +9963,12 @@ func (s DescribeVolumesOutput) GoString() string {
return s.String()
}
+// SetVolumes sets the Volumes field's value.
+func (s *DescribeVolumesOutput) SetVolumes(v []*Volume) *DescribeVolumesOutput {
+ s.Volumes = v
+ return s
+}
+
type DetachElasticLoadBalancerInput struct {
_ struct{} `type:"structure"`
@@ -8516,6 +10010,18 @@ func (s *DetachElasticLoadBalancerInput) Validate() error {
return nil
}
+// SetElasticLoadBalancerName sets the ElasticLoadBalancerName field's value.
+func (s *DetachElasticLoadBalancerInput) SetElasticLoadBalancerName(v string) *DetachElasticLoadBalancerInput {
+ s.ElasticLoadBalancerName = &v
+ return s
+}
+
+// SetLayerId sets the LayerId field's value.
+func (s *DetachElasticLoadBalancerInput) SetLayerId(v string) *DetachElasticLoadBalancerInput {
+ s.LayerId = &v
+ return s
+}
+
type DetachElasticLoadBalancerOutput struct {
_ struct{} `type:"structure"`
}
@@ -8562,6 +10068,12 @@ func (s *DisassociateElasticIpInput) Validate() error {
return nil
}
+// SetElasticIp sets the ElasticIp field's value.
+func (s *DisassociateElasticIpInput) SetElasticIp(v string) *DisassociateElasticIpInput {
+ s.ElasticIp = &v
+ return s
+}
+
type DisassociateElasticIpOutput struct {
_ struct{} `type:"structure"`
}
@@ -8610,14 +10122,44 @@ func (s EbsBlockDevice) GoString() string {
return s.String()
}
-// Describes a registered Amazon ECS cluster.
-type EcsCluster struct {
- _ struct{} `type:"structure"`
+// SetDeleteOnTermination sets the DeleteOnTermination field's value.
+func (s *EbsBlockDevice) SetDeleteOnTermination(v bool) *EbsBlockDevice {
+ s.DeleteOnTermination = &v
+ return s
+}
- // The cluster's ARN.
- EcsClusterArn *string `type:"string"`
+// SetIops sets the Iops field's value.
+func (s *EbsBlockDevice) SetIops(v int64) *EbsBlockDevice {
+ s.Iops = &v
+ return s
+}
- // The cluster name.
+// SetSnapshotId sets the SnapshotId field's value.
+func (s *EbsBlockDevice) SetSnapshotId(v string) *EbsBlockDevice {
+ s.SnapshotId = &v
+ return s
+}
+
+// SetVolumeSize sets the VolumeSize field's value.
+func (s *EbsBlockDevice) SetVolumeSize(v int64) *EbsBlockDevice {
+ s.VolumeSize = &v
+ return s
+}
+
+// SetVolumeType sets the VolumeType field's value.
+func (s *EbsBlockDevice) SetVolumeType(v string) *EbsBlockDevice {
+ s.VolumeType = &v
+ return s
+}
+
+// Describes a registered Amazon ECS cluster.
+type EcsCluster struct {
+ _ struct{} `type:"structure"`
+
+ // The cluster's ARN.
+ EcsClusterArn *string `type:"string"`
+
+ // The cluster name.
EcsClusterName *string `type:"string"`
// The time and date that the cluster was registered with the stack.
@@ -8637,6 +10179,30 @@ func (s EcsCluster) GoString() string {
return s.String()
}
+// SetEcsClusterArn sets the EcsClusterArn field's value.
+func (s *EcsCluster) SetEcsClusterArn(v string) *EcsCluster {
+ s.EcsClusterArn = &v
+ return s
+}
+
+// SetEcsClusterName sets the EcsClusterName field's value.
+func (s *EcsCluster) SetEcsClusterName(v string) *EcsCluster {
+ s.EcsClusterName = &v
+ return s
+}
+
+// SetRegisteredAt sets the RegisteredAt field's value.
+func (s *EcsCluster) SetRegisteredAt(v string) *EcsCluster {
+ s.RegisteredAt = &v
+ return s
+}
+
+// SetStackId sets the StackId field's value.
+func (s *EcsCluster) SetStackId(v string) *EcsCluster {
+ s.StackId = &v
+ return s
+}
+
// Describes an Elastic IP address.
type ElasticIp struct {
_ struct{} `type:"structure"`
@@ -8667,6 +10233,36 @@ func (s ElasticIp) GoString() string {
return s.String()
}
+// SetDomain sets the Domain field's value.
+func (s *ElasticIp) SetDomain(v string) *ElasticIp {
+ s.Domain = &v
+ return s
+}
+
+// SetInstanceId sets the InstanceId field's value.
+func (s *ElasticIp) SetInstanceId(v string) *ElasticIp {
+ s.InstanceId = &v
+ return s
+}
+
+// SetIp sets the Ip field's value.
+func (s *ElasticIp) SetIp(v string) *ElasticIp {
+ s.Ip = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *ElasticIp) SetName(v string) *ElasticIp {
+ s.Name = &v
+ return s
+}
+
+// SetRegion sets the Region field's value.
+func (s *ElasticIp) SetRegion(v string) *ElasticIp {
+ s.Region = &v
+ return s
+}
+
// Describes an Elastic Load Balancing instance.
type ElasticLoadBalancer struct {
_ struct{} `type:"structure"`
@@ -8710,6 +10306,60 @@ func (s ElasticLoadBalancer) GoString() string {
return s.String()
}
+// SetAvailabilityZones sets the AvailabilityZones field's value.
+func (s *ElasticLoadBalancer) SetAvailabilityZones(v []*string) *ElasticLoadBalancer {
+ s.AvailabilityZones = v
+ return s
+}
+
+// SetDnsName sets the DnsName field's value.
+func (s *ElasticLoadBalancer) SetDnsName(v string) *ElasticLoadBalancer {
+ s.DnsName = &v
+ return s
+}
+
+// SetEc2InstanceIds sets the Ec2InstanceIds field's value.
+func (s *ElasticLoadBalancer) SetEc2InstanceIds(v []*string) *ElasticLoadBalancer {
+ s.Ec2InstanceIds = v
+ return s
+}
+
+// SetElasticLoadBalancerName sets the ElasticLoadBalancerName field's value.
+func (s *ElasticLoadBalancer) SetElasticLoadBalancerName(v string) *ElasticLoadBalancer {
+ s.ElasticLoadBalancerName = &v
+ return s
+}
+
+// SetLayerId sets the LayerId field's value.
+func (s *ElasticLoadBalancer) SetLayerId(v string) *ElasticLoadBalancer {
+ s.LayerId = &v
+ return s
+}
+
+// SetRegion sets the Region field's value.
+func (s *ElasticLoadBalancer) SetRegion(v string) *ElasticLoadBalancer {
+ s.Region = &v
+ return s
+}
+
+// SetStackId sets the StackId field's value.
+func (s *ElasticLoadBalancer) SetStackId(v string) *ElasticLoadBalancer {
+ s.StackId = &v
+ return s
+}
+
+// SetSubnetIds sets the SubnetIds field's value.
+func (s *ElasticLoadBalancer) SetSubnetIds(v []*string) *ElasticLoadBalancer {
+ s.SubnetIds = v
+ return s
+}
+
+// SetVpcId sets the VpcId field's value.
+func (s *ElasticLoadBalancer) SetVpcId(v string) *ElasticLoadBalancer {
+ s.VpcId = &v
+ return s
+}
+
// Represents an app's environment variable.
type EnvironmentVariable struct {
_ struct{} `type:"structure"`
@@ -8762,6 +10412,24 @@ func (s *EnvironmentVariable) Validate() error {
return nil
}
+// SetKey sets the Key field's value.
+func (s *EnvironmentVariable) SetKey(v string) *EnvironmentVariable {
+ s.Key = &v
+ return s
+}
+
+// SetSecure sets the Secure field's value.
+func (s *EnvironmentVariable) SetSecure(v bool) *EnvironmentVariable {
+ s.Secure = &v
+ return s
+}
+
+// SetValue sets the Value field's value.
+func (s *EnvironmentVariable) SetValue(v string) *EnvironmentVariable {
+ s.Value = &v
+ return s
+}
+
type GetHostnameSuggestionInput struct {
_ struct{} `type:"structure"`
@@ -8794,6 +10462,12 @@ func (s *GetHostnameSuggestionInput) Validate() error {
return nil
}
+// SetLayerId sets the LayerId field's value.
+func (s *GetHostnameSuggestionInput) SetLayerId(v string) *GetHostnameSuggestionInput {
+ s.LayerId = &v
+ return s
+}
+
// Contains the response to a GetHostnameSuggestion request.
type GetHostnameSuggestionOutput struct {
_ struct{} `type:"structure"`
@@ -8815,6 +10489,18 @@ func (s GetHostnameSuggestionOutput) GoString() string {
return s.String()
}
+// SetHostname sets the Hostname field's value.
+func (s *GetHostnameSuggestionOutput) SetHostname(v string) *GetHostnameSuggestionOutput {
+ s.Hostname = &v
+ return s
+}
+
+// SetLayerId sets the LayerId field's value.
+func (s *GetHostnameSuggestionOutput) SetLayerId(v string) *GetHostnameSuggestionOutput {
+ s.LayerId = &v
+ return s
+}
+
type GrantAccessInput struct {
_ struct{} `type:"structure"`
@@ -8856,6 +10542,18 @@ func (s *GrantAccessInput) Validate() error {
return nil
}
+// SetInstanceId sets the InstanceId field's value.
+func (s *GrantAccessInput) SetInstanceId(v string) *GrantAccessInput {
+ s.InstanceId = &v
+ return s
+}
+
+// SetValidForInMinutes sets the ValidForInMinutes field's value.
+func (s *GrantAccessInput) SetValidForInMinutes(v int64) *GrantAccessInput {
+ s.ValidForInMinutes = &v
+ return s
+}
+
// Contains the response to a GrantAccess request.
type GrantAccessOutput struct {
_ struct{} `type:"structure"`
@@ -8875,6 +10573,12 @@ func (s GrantAccessOutput) GoString() string {
return s.String()
}
+// SetTemporaryCredential sets the TemporaryCredential field's value.
+func (s *GrantAccessOutput) SetTemporaryCredential(v *TemporaryCredential) *GrantAccessOutput {
+ s.TemporaryCredential = v
+ return s
+}
+
// Describes an instance.
type Instance struct {
_ struct{} `type:"structure"`
@@ -9053,6 +10757,246 @@ func (s Instance) GoString() string {
return s.String()
}
+// SetAgentVersion sets the AgentVersion field's value.
+func (s *Instance) SetAgentVersion(v string) *Instance {
+ s.AgentVersion = &v
+ return s
+}
+
+// SetAmiId sets the AmiId field's value.
+func (s *Instance) SetAmiId(v string) *Instance {
+ s.AmiId = &v
+ return s
+}
+
+// SetArchitecture sets the Architecture field's value.
+func (s *Instance) SetArchitecture(v string) *Instance {
+ s.Architecture = &v
+ return s
+}
+
+// SetAutoScalingType sets the AutoScalingType field's value.
+func (s *Instance) SetAutoScalingType(v string) *Instance {
+ s.AutoScalingType = &v
+ return s
+}
+
+// SetAvailabilityZone sets the AvailabilityZone field's value.
+func (s *Instance) SetAvailabilityZone(v string) *Instance {
+ s.AvailabilityZone = &v
+ return s
+}
+
+// SetBlockDeviceMappings sets the BlockDeviceMappings field's value.
+func (s *Instance) SetBlockDeviceMappings(v []*BlockDeviceMapping) *Instance {
+ s.BlockDeviceMappings = v
+ return s
+}
+
+// SetCreatedAt sets the CreatedAt field's value.
+func (s *Instance) SetCreatedAt(v string) *Instance {
+ s.CreatedAt = &v
+ return s
+}
+
+// SetEbsOptimized sets the EbsOptimized field's value.
+func (s *Instance) SetEbsOptimized(v bool) *Instance {
+ s.EbsOptimized = &v
+ return s
+}
+
+// SetEc2InstanceId sets the Ec2InstanceId field's value.
+func (s *Instance) SetEc2InstanceId(v string) *Instance {
+ s.Ec2InstanceId = &v
+ return s
+}
+
+// SetEcsClusterArn sets the EcsClusterArn field's value.
+func (s *Instance) SetEcsClusterArn(v string) *Instance {
+ s.EcsClusterArn = &v
+ return s
+}
+
+// SetEcsContainerInstanceArn sets the EcsContainerInstanceArn field's value.
+func (s *Instance) SetEcsContainerInstanceArn(v string) *Instance {
+ s.EcsContainerInstanceArn = &v
+ return s
+}
+
+// SetElasticIp sets the ElasticIp field's value.
+func (s *Instance) SetElasticIp(v string) *Instance {
+ s.ElasticIp = &v
+ return s
+}
+
+// SetHostname sets the Hostname field's value.
+func (s *Instance) SetHostname(v string) *Instance {
+ s.Hostname = &v
+ return s
+}
+
+// SetInfrastructureClass sets the InfrastructureClass field's value.
+func (s *Instance) SetInfrastructureClass(v string) *Instance {
+ s.InfrastructureClass = &v
+ return s
+}
+
+// SetInstallUpdatesOnBoot sets the InstallUpdatesOnBoot field's value.
+func (s *Instance) SetInstallUpdatesOnBoot(v bool) *Instance {
+ s.InstallUpdatesOnBoot = &v
+ return s
+}
+
+// SetInstanceId sets the InstanceId field's value.
+func (s *Instance) SetInstanceId(v string) *Instance {
+ s.InstanceId = &v
+ return s
+}
+
+// SetInstanceProfileArn sets the InstanceProfileArn field's value.
+func (s *Instance) SetInstanceProfileArn(v string) *Instance {
+ s.InstanceProfileArn = &v
+ return s
+}
+
+// SetInstanceType sets the InstanceType field's value.
+func (s *Instance) SetInstanceType(v string) *Instance {
+ s.InstanceType = &v
+ return s
+}
+
+// SetLastServiceErrorId sets the LastServiceErrorId field's value.
+func (s *Instance) SetLastServiceErrorId(v string) *Instance {
+ s.LastServiceErrorId = &v
+ return s
+}
+
+// SetLayerIds sets the LayerIds field's value.
+func (s *Instance) SetLayerIds(v []*string) *Instance {
+ s.LayerIds = v
+ return s
+}
+
+// SetOs sets the Os field's value.
+func (s *Instance) SetOs(v string) *Instance {
+ s.Os = &v
+ return s
+}
+
+// SetPlatform sets the Platform field's value.
+func (s *Instance) SetPlatform(v string) *Instance {
+ s.Platform = &v
+ return s
+}
+
+// SetPrivateDns sets the PrivateDns field's value.
+func (s *Instance) SetPrivateDns(v string) *Instance {
+ s.PrivateDns = &v
+ return s
+}
+
+// SetPrivateIp sets the PrivateIp field's value.
+func (s *Instance) SetPrivateIp(v string) *Instance {
+ s.PrivateIp = &v
+ return s
+}
+
+// SetPublicDns sets the PublicDns field's value.
+func (s *Instance) SetPublicDns(v string) *Instance {
+ s.PublicDns = &v
+ return s
+}
+
+// SetPublicIp sets the PublicIp field's value.
+func (s *Instance) SetPublicIp(v string) *Instance {
+ s.PublicIp = &v
+ return s
+}
+
+// SetRegisteredBy sets the RegisteredBy field's value.
+func (s *Instance) SetRegisteredBy(v string) *Instance {
+ s.RegisteredBy = &v
+ return s
+}
+
+// SetReportedAgentVersion sets the ReportedAgentVersion field's value.
+func (s *Instance) SetReportedAgentVersion(v string) *Instance {
+ s.ReportedAgentVersion = &v
+ return s
+}
+
+// SetReportedOs sets the ReportedOs field's value.
+func (s *Instance) SetReportedOs(v *ReportedOs) *Instance {
+ s.ReportedOs = v
+ return s
+}
+
+// SetRootDeviceType sets the RootDeviceType field's value.
+func (s *Instance) SetRootDeviceType(v string) *Instance {
+ s.RootDeviceType = &v
+ return s
+}
+
+// SetRootDeviceVolumeId sets the RootDeviceVolumeId field's value.
+func (s *Instance) SetRootDeviceVolumeId(v string) *Instance {
+ s.RootDeviceVolumeId = &v
+ return s
+}
+
+// SetSecurityGroupIds sets the SecurityGroupIds field's value.
+func (s *Instance) SetSecurityGroupIds(v []*string) *Instance {
+ s.SecurityGroupIds = v
+ return s
+}
+
+// SetSshHostDsaKeyFingerprint sets the SshHostDsaKeyFingerprint field's value.
+func (s *Instance) SetSshHostDsaKeyFingerprint(v string) *Instance {
+ s.SshHostDsaKeyFingerprint = &v
+ return s
+}
+
+// SetSshHostRsaKeyFingerprint sets the SshHostRsaKeyFingerprint field's value.
+func (s *Instance) SetSshHostRsaKeyFingerprint(v string) *Instance {
+ s.SshHostRsaKeyFingerprint = &v
+ return s
+}
+
+// SetSshKeyName sets the SshKeyName field's value.
+func (s *Instance) SetSshKeyName(v string) *Instance {
+ s.SshKeyName = &v
+ return s
+}
+
+// SetStackId sets the StackId field's value.
+func (s *Instance) SetStackId(v string) *Instance {
+ s.StackId = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *Instance) SetStatus(v string) *Instance {
+ s.Status = &v
+ return s
+}
+
+// SetSubnetId sets the SubnetId field's value.
+func (s *Instance) SetSubnetId(v string) *Instance {
+ s.SubnetId = &v
+ return s
+}
+
+// SetTenancy sets the Tenancy field's value.
+func (s *Instance) SetTenancy(v string) *Instance {
+ s.Tenancy = &v
+ return s
+}
+
+// SetVirtualizationType sets the VirtualizationType field's value.
+func (s *Instance) SetVirtualizationType(v string) *Instance {
+ s.VirtualizationType = &v
+ return s
+}
+
// 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).
type InstanceIdentity struct {
@@ -9075,6 +11019,18 @@ func (s InstanceIdentity) GoString() string {
return s.String()
}
+// SetDocument sets the Document field's value.
+func (s *InstanceIdentity) SetDocument(v string) *InstanceIdentity {
+ s.Document = &v
+ return s
+}
+
+// SetSignature sets the Signature field's value.
+func (s *InstanceIdentity) SetSignature(v string) *InstanceIdentity {
+ s.Signature = &v
+ return s
+}
+
// Describes how many instances a stack has for each status.
type InstancesCount struct {
_ struct{} `type:"structure"`
@@ -9147,6 +11103,120 @@ func (s InstancesCount) GoString() string {
return s.String()
}
+// SetAssigning sets the Assigning field's value.
+func (s *InstancesCount) SetAssigning(v int64) *InstancesCount {
+ s.Assigning = &v
+ return s
+}
+
+// SetBooting sets the Booting field's value.
+func (s *InstancesCount) SetBooting(v int64) *InstancesCount {
+ s.Booting = &v
+ return s
+}
+
+// SetConnectionLost sets the ConnectionLost field's value.
+func (s *InstancesCount) SetConnectionLost(v int64) *InstancesCount {
+ s.ConnectionLost = &v
+ return s
+}
+
+// SetDeregistering sets the Deregistering field's value.
+func (s *InstancesCount) SetDeregistering(v int64) *InstancesCount {
+ s.Deregistering = &v
+ return s
+}
+
+// SetOnline sets the Online field's value.
+func (s *InstancesCount) SetOnline(v int64) *InstancesCount {
+ s.Online = &v
+ return s
+}
+
+// SetPending sets the Pending field's value.
+func (s *InstancesCount) SetPending(v int64) *InstancesCount {
+ s.Pending = &v
+ return s
+}
+
+// SetRebooting sets the Rebooting field's value.
+func (s *InstancesCount) SetRebooting(v int64) *InstancesCount {
+ s.Rebooting = &v
+ return s
+}
+
+// SetRegistered sets the Registered field's value.
+func (s *InstancesCount) SetRegistered(v int64) *InstancesCount {
+ s.Registered = &v
+ return s
+}
+
+// SetRegistering sets the Registering field's value.
+func (s *InstancesCount) SetRegistering(v int64) *InstancesCount {
+ s.Registering = &v
+ return s
+}
+
+// SetRequested sets the Requested field's value.
+func (s *InstancesCount) SetRequested(v int64) *InstancesCount {
+ s.Requested = &v
+ return s
+}
+
+// SetRunningSetup sets the RunningSetup field's value.
+func (s *InstancesCount) SetRunningSetup(v int64) *InstancesCount {
+ s.RunningSetup = &v
+ return s
+}
+
+// SetSetupFailed sets the SetupFailed field's value.
+func (s *InstancesCount) SetSetupFailed(v int64) *InstancesCount {
+ s.SetupFailed = &v
+ return s
+}
+
+// SetShuttingDown sets the ShuttingDown field's value.
+func (s *InstancesCount) SetShuttingDown(v int64) *InstancesCount {
+ s.ShuttingDown = &v
+ return s
+}
+
+// SetStartFailed sets the StartFailed field's value.
+func (s *InstancesCount) SetStartFailed(v int64) *InstancesCount {
+ s.StartFailed = &v
+ return s
+}
+
+// SetStopped sets the Stopped field's value.
+func (s *InstancesCount) SetStopped(v int64) *InstancesCount {
+ s.Stopped = &v
+ return s
+}
+
+// SetStopping sets the Stopping field's value.
+func (s *InstancesCount) SetStopping(v int64) *InstancesCount {
+ s.Stopping = &v
+ return s
+}
+
+// SetTerminated sets the Terminated field's value.
+func (s *InstancesCount) SetTerminated(v int64) *InstancesCount {
+ s.Terminated = &v
+ return s
+}
+
+// SetTerminating sets the Terminating field's value.
+func (s *InstancesCount) SetTerminating(v int64) *InstancesCount {
+ s.Terminating = &v
+ return s
+}
+
+// SetUnassigning sets the Unassigning field's value.
+func (s *InstancesCount) SetUnassigning(v int64) *InstancesCount {
+ s.Unassigning = &v
+ return s
+}
+
// Describes a layer.
type Layer struct {
_ struct{} `type:"structure"`
@@ -9253,6 +11323,132 @@ func (s Layer) GoString() string {
return s.String()
}
+// SetAttributes sets the Attributes field's value.
+func (s *Layer) SetAttributes(v map[string]*string) *Layer {
+ s.Attributes = v
+ return s
+}
+
+// SetAutoAssignElasticIps sets the AutoAssignElasticIps field's value.
+func (s *Layer) SetAutoAssignElasticIps(v bool) *Layer {
+ s.AutoAssignElasticIps = &v
+ return s
+}
+
+// SetAutoAssignPublicIps sets the AutoAssignPublicIps field's value.
+func (s *Layer) SetAutoAssignPublicIps(v bool) *Layer {
+ s.AutoAssignPublicIps = &v
+ return s
+}
+
+// SetCreatedAt sets the CreatedAt field's value.
+func (s *Layer) SetCreatedAt(v string) *Layer {
+ s.CreatedAt = &v
+ return s
+}
+
+// SetCustomInstanceProfileArn sets the CustomInstanceProfileArn field's value.
+func (s *Layer) SetCustomInstanceProfileArn(v string) *Layer {
+ s.CustomInstanceProfileArn = &v
+ return s
+}
+
+// SetCustomJson sets the CustomJson field's value.
+func (s *Layer) SetCustomJson(v string) *Layer {
+ s.CustomJson = &v
+ return s
+}
+
+// SetCustomRecipes sets the CustomRecipes field's value.
+func (s *Layer) SetCustomRecipes(v *Recipes) *Layer {
+ s.CustomRecipes = v
+ return s
+}
+
+// SetCustomSecurityGroupIds sets the CustomSecurityGroupIds field's value.
+func (s *Layer) SetCustomSecurityGroupIds(v []*string) *Layer {
+ s.CustomSecurityGroupIds = v
+ return s
+}
+
+// SetDefaultRecipes sets the DefaultRecipes field's value.
+func (s *Layer) SetDefaultRecipes(v *Recipes) *Layer {
+ s.DefaultRecipes = v
+ return s
+}
+
+// SetDefaultSecurityGroupNames sets the DefaultSecurityGroupNames field's value.
+func (s *Layer) SetDefaultSecurityGroupNames(v []*string) *Layer {
+ s.DefaultSecurityGroupNames = v
+ return s
+}
+
+// SetEnableAutoHealing sets the EnableAutoHealing field's value.
+func (s *Layer) SetEnableAutoHealing(v bool) *Layer {
+ s.EnableAutoHealing = &v
+ return s
+}
+
+// SetInstallUpdatesOnBoot sets the InstallUpdatesOnBoot field's value.
+func (s *Layer) SetInstallUpdatesOnBoot(v bool) *Layer {
+ s.InstallUpdatesOnBoot = &v
+ return s
+}
+
+// SetLayerId sets the LayerId field's value.
+func (s *Layer) SetLayerId(v string) *Layer {
+ s.LayerId = &v
+ return s
+}
+
+// SetLifecycleEventConfiguration sets the LifecycleEventConfiguration field's value.
+func (s *Layer) SetLifecycleEventConfiguration(v *LifecycleEventConfiguration) *Layer {
+ s.LifecycleEventConfiguration = v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *Layer) SetName(v string) *Layer {
+ s.Name = &v
+ return s
+}
+
+// SetPackages sets the Packages field's value.
+func (s *Layer) SetPackages(v []*string) *Layer {
+ s.Packages = v
+ return s
+}
+
+// SetShortname sets the Shortname field's value.
+func (s *Layer) SetShortname(v string) *Layer {
+ s.Shortname = &v
+ return s
+}
+
+// SetStackId sets the StackId field's value.
+func (s *Layer) SetStackId(v string) *Layer {
+ s.StackId = &v
+ return s
+}
+
+// SetType sets the Type field's value.
+func (s *Layer) SetType(v string) *Layer {
+ s.Type = &v
+ return s
+}
+
+// SetUseEbsOptimizedInstances sets the UseEbsOptimizedInstances field's value.
+func (s *Layer) SetUseEbsOptimizedInstances(v bool) *Layer {
+ s.UseEbsOptimizedInstances = &v
+ return s
+}
+
+// SetVolumeConfigurations sets the VolumeConfigurations field's value.
+func (s *Layer) SetVolumeConfigurations(v []*VolumeConfiguration) *Layer {
+ s.VolumeConfigurations = v
+ return s
+}
+
// Specifies the lifecycle event configuration
type LifecycleEventConfiguration struct {
_ struct{} `type:"structure"`
@@ -9271,6 +11467,12 @@ func (s LifecycleEventConfiguration) GoString() string {
return s.String()
}
+// SetShutdown sets the Shutdown field's value.
+func (s *LifecycleEventConfiguration) SetShutdown(v *ShutdownEventConfiguration) *LifecycleEventConfiguration {
+ s.Shutdown = v
+ return s
+}
+
// Describes a layer's load-based auto scaling configuration.
type LoadBasedAutoScalingConfiguration struct {
_ struct{} `type:"structure"`
@@ -9300,6 +11502,30 @@ func (s LoadBasedAutoScalingConfiguration) GoString() string {
return s.String()
}
+// SetDownScaling sets the DownScaling field's value.
+func (s *LoadBasedAutoScalingConfiguration) SetDownScaling(v *AutoScalingThresholds) *LoadBasedAutoScalingConfiguration {
+ s.DownScaling = v
+ return s
+}
+
+// SetEnable sets the Enable field's value.
+func (s *LoadBasedAutoScalingConfiguration) SetEnable(v bool) *LoadBasedAutoScalingConfiguration {
+ s.Enable = &v
+ return s
+}
+
+// SetLayerId sets the LayerId field's value.
+func (s *LoadBasedAutoScalingConfiguration) SetLayerId(v string) *LoadBasedAutoScalingConfiguration {
+ s.LayerId = &v
+ return s
+}
+
+// SetUpScaling sets the UpScaling field's value.
+func (s *LoadBasedAutoScalingConfiguration) SetUpScaling(v *AutoScalingThresholds) *LoadBasedAutoScalingConfiguration {
+ s.UpScaling = v
+ return s
+}
+
// Describes stack or user permissions.
type Permission struct {
_ struct{} `type:"structure"`
@@ -9344,6 +11570,36 @@ func (s Permission) GoString() string {
return s.String()
}
+// SetAllowSsh sets the AllowSsh field's value.
+func (s *Permission) SetAllowSsh(v bool) *Permission {
+ s.AllowSsh = &v
+ return s
+}
+
+// SetAllowSudo sets the AllowSudo field's value.
+func (s *Permission) SetAllowSudo(v bool) *Permission {
+ s.AllowSudo = &v
+ return s
+}
+
+// SetIamUserArn sets the IamUserArn field's value.
+func (s *Permission) SetIamUserArn(v string) *Permission {
+ s.IamUserArn = &v
+ return s
+}
+
+// SetLevel sets the Level field's value.
+func (s *Permission) SetLevel(v string) *Permission {
+ s.Level = &v
+ return s
+}
+
+// SetStackId sets the StackId field's value.
+func (s *Permission) SetStackId(v string) *Permission {
+ s.StackId = &v
+ return s
+}
+
// Describes an instance's RAID array.
type RaidArray struct {
_ struct{} `type:"structure"`
@@ -9399,6 +11655,84 @@ func (s RaidArray) GoString() string {
return s.String()
}
+// SetAvailabilityZone sets the AvailabilityZone field's value.
+func (s *RaidArray) SetAvailabilityZone(v string) *RaidArray {
+ s.AvailabilityZone = &v
+ return s
+}
+
+// SetCreatedAt sets the CreatedAt field's value.
+func (s *RaidArray) SetCreatedAt(v string) *RaidArray {
+ s.CreatedAt = &v
+ return s
+}
+
+// SetDevice sets the Device field's value.
+func (s *RaidArray) SetDevice(v string) *RaidArray {
+ s.Device = &v
+ return s
+}
+
+// SetInstanceId sets the InstanceId field's value.
+func (s *RaidArray) SetInstanceId(v string) *RaidArray {
+ s.InstanceId = &v
+ return s
+}
+
+// SetIops sets the Iops field's value.
+func (s *RaidArray) SetIops(v int64) *RaidArray {
+ s.Iops = &v
+ return s
+}
+
+// SetMountPoint sets the MountPoint field's value.
+func (s *RaidArray) SetMountPoint(v string) *RaidArray {
+ s.MountPoint = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *RaidArray) SetName(v string) *RaidArray {
+ s.Name = &v
+ return s
+}
+
+// SetNumberOfDisks sets the NumberOfDisks field's value.
+func (s *RaidArray) SetNumberOfDisks(v int64) *RaidArray {
+ s.NumberOfDisks = &v
+ return s
+}
+
+// SetRaidArrayId sets the RaidArrayId field's value.
+func (s *RaidArray) SetRaidArrayId(v string) *RaidArray {
+ s.RaidArrayId = &v
+ return s
+}
+
+// SetRaidLevel sets the RaidLevel field's value.
+func (s *RaidArray) SetRaidLevel(v int64) *RaidArray {
+ s.RaidLevel = &v
+ return s
+}
+
+// SetSize sets the Size field's value.
+func (s *RaidArray) SetSize(v int64) *RaidArray {
+ s.Size = &v
+ return s
+}
+
+// SetStackId sets the StackId field's value.
+func (s *RaidArray) SetStackId(v string) *RaidArray {
+ s.StackId = &v
+ return s
+}
+
+// SetVolumeType sets the VolumeType field's value.
+func (s *RaidArray) SetVolumeType(v string) *RaidArray {
+ s.VolumeType = &v
+ return s
+}
+
// Describes an Amazon RDS instance.
type RdsDbInstance struct {
_ struct{} `type:"structure"`
@@ -9443,6 +11777,60 @@ func (s RdsDbInstance) GoString() string {
return s.String()
}
+// SetAddress sets the Address field's value.
+func (s *RdsDbInstance) SetAddress(v string) *RdsDbInstance {
+ s.Address = &v
+ return s
+}
+
+// SetDbInstanceIdentifier sets the DbInstanceIdentifier field's value.
+func (s *RdsDbInstance) SetDbInstanceIdentifier(v string) *RdsDbInstance {
+ s.DbInstanceIdentifier = &v
+ return s
+}
+
+// SetDbPassword sets the DbPassword field's value.
+func (s *RdsDbInstance) SetDbPassword(v string) *RdsDbInstance {
+ s.DbPassword = &v
+ return s
+}
+
+// SetDbUser sets the DbUser field's value.
+func (s *RdsDbInstance) SetDbUser(v string) *RdsDbInstance {
+ s.DbUser = &v
+ return s
+}
+
+// SetEngine sets the Engine field's value.
+func (s *RdsDbInstance) SetEngine(v string) *RdsDbInstance {
+ s.Engine = &v
+ return s
+}
+
+// SetMissingOnRds sets the MissingOnRds field's value.
+func (s *RdsDbInstance) SetMissingOnRds(v bool) *RdsDbInstance {
+ s.MissingOnRds = &v
+ return s
+}
+
+// SetRdsDbInstanceArn sets the RdsDbInstanceArn field's value.
+func (s *RdsDbInstance) SetRdsDbInstanceArn(v string) *RdsDbInstance {
+ s.RdsDbInstanceArn = &v
+ return s
+}
+
+// SetRegion sets the Region field's value.
+func (s *RdsDbInstance) SetRegion(v string) *RdsDbInstance {
+ s.Region = &v
+ return s
+}
+
+// SetStackId sets the StackId field's value.
+func (s *RdsDbInstance) SetStackId(v string) *RdsDbInstance {
+ s.StackId = &v
+ return s
+}
+
type RebootInstanceInput struct {
_ struct{} `type:"structure"`
@@ -9475,6 +11863,12 @@ func (s *RebootInstanceInput) Validate() error {
return nil
}
+// SetInstanceId sets the InstanceId field's value.
+func (s *RebootInstanceInput) SetInstanceId(v string) *RebootInstanceInput {
+ s.InstanceId = &v
+ return s
+}
+
type RebootInstanceOutput struct {
_ struct{} `type:"structure"`
}
@@ -9529,6 +11923,36 @@ func (s Recipes) GoString() string {
return s.String()
}
+// SetConfigure sets the Configure field's value.
+func (s *Recipes) SetConfigure(v []*string) *Recipes {
+ s.Configure = v
+ return s
+}
+
+// SetDeploy sets the Deploy field's value.
+func (s *Recipes) SetDeploy(v []*string) *Recipes {
+ s.Deploy = v
+ return s
+}
+
+// SetSetup sets the Setup field's value.
+func (s *Recipes) SetSetup(v []*string) *Recipes {
+ s.Setup = v
+ return s
+}
+
+// SetShutdown sets the Shutdown field's value.
+func (s *Recipes) SetShutdown(v []*string) *Recipes {
+ s.Shutdown = v
+ return s
+}
+
+// SetUndeploy sets the Undeploy field's value.
+func (s *Recipes) SetUndeploy(v []*string) *Recipes {
+ s.Undeploy = v
+ return s
+}
+
type RegisterEcsClusterInput struct {
_ struct{} `type:"structure"`
@@ -9569,6 +11993,18 @@ func (s *RegisterEcsClusterInput) Validate() error {
return nil
}
+// SetEcsClusterArn sets the EcsClusterArn field's value.
+func (s *RegisterEcsClusterInput) SetEcsClusterArn(v string) *RegisterEcsClusterInput {
+ s.EcsClusterArn = &v
+ return s
+}
+
+// SetStackId sets the StackId field's value.
+func (s *RegisterEcsClusterInput) SetStackId(v string) *RegisterEcsClusterInput {
+ s.StackId = &v
+ return s
+}
+
// Contains the response to a RegisterEcsCluster request.
type RegisterEcsClusterOutput struct {
_ struct{} `type:"structure"`
@@ -9587,6 +12023,12 @@ func (s RegisterEcsClusterOutput) GoString() string {
return s.String()
}
+// SetEcsClusterArn sets the EcsClusterArn field's value.
+func (s *RegisterEcsClusterOutput) SetEcsClusterArn(v string) *RegisterEcsClusterOutput {
+ s.EcsClusterArn = &v
+ return s
+}
+
type RegisterElasticIpInput struct {
_ struct{} `type:"structure"`
@@ -9627,6 +12069,18 @@ func (s *RegisterElasticIpInput) Validate() error {
return nil
}
+// SetElasticIp sets the ElasticIp field's value.
+func (s *RegisterElasticIpInput) SetElasticIp(v string) *RegisterElasticIpInput {
+ s.ElasticIp = &v
+ return s
+}
+
+// SetStackId sets the StackId field's value.
+func (s *RegisterElasticIpInput) SetStackId(v string) *RegisterElasticIpInput {
+ s.StackId = &v
+ return s
+}
+
// Contains the response to a RegisterElasticIp request.
type RegisterElasticIpOutput struct {
_ struct{} `type:"structure"`
@@ -9645,6 +12099,12 @@ func (s RegisterElasticIpOutput) GoString() string {
return s.String()
}
+// SetElasticIp sets the ElasticIp field's value.
+func (s *RegisterElasticIpOutput) SetElasticIp(v string) *RegisterElasticIpOutput {
+ s.ElasticIp = &v
+ return s
+}
+
type RegisterInstanceInput struct {
_ struct{} `type:"structure"`
@@ -9696,6 +12156,48 @@ func (s *RegisterInstanceInput) Validate() error {
return nil
}
+// SetHostname sets the Hostname field's value.
+func (s *RegisterInstanceInput) SetHostname(v string) *RegisterInstanceInput {
+ s.Hostname = &v
+ return s
+}
+
+// SetInstanceIdentity sets the InstanceIdentity field's value.
+func (s *RegisterInstanceInput) SetInstanceIdentity(v *InstanceIdentity) *RegisterInstanceInput {
+ s.InstanceIdentity = v
+ return s
+}
+
+// SetPrivateIp sets the PrivateIp field's value.
+func (s *RegisterInstanceInput) SetPrivateIp(v string) *RegisterInstanceInput {
+ s.PrivateIp = &v
+ return s
+}
+
+// SetPublicIp sets the PublicIp field's value.
+func (s *RegisterInstanceInput) SetPublicIp(v string) *RegisterInstanceInput {
+ s.PublicIp = &v
+ return s
+}
+
+// SetRsaPublicKey sets the RsaPublicKey field's value.
+func (s *RegisterInstanceInput) SetRsaPublicKey(v string) *RegisterInstanceInput {
+ s.RsaPublicKey = &v
+ return s
+}
+
+// SetRsaPublicKeyFingerprint sets the RsaPublicKeyFingerprint field's value.
+func (s *RegisterInstanceInput) SetRsaPublicKeyFingerprint(v string) *RegisterInstanceInput {
+ s.RsaPublicKeyFingerprint = &v
+ return s
+}
+
+// SetStackId sets the StackId field's value.
+func (s *RegisterInstanceInput) SetStackId(v string) *RegisterInstanceInput {
+ s.StackId = &v
+ return s
+}
+
// Contains the response to a RegisterInstanceResult request.
type RegisterInstanceOutput struct {
_ struct{} `type:"structure"`
@@ -9714,6 +12216,12 @@ func (s RegisterInstanceOutput) GoString() string {
return s.String()
}
+// SetInstanceId sets the InstanceId field's value.
+func (s *RegisterInstanceOutput) SetInstanceId(v string) *RegisterInstanceOutput {
+ s.InstanceId = &v
+ return s
+}
+
type RegisterRdsDbInstanceInput struct {
_ struct{} `type:"structure"`
@@ -9770,6 +12278,30 @@ func (s *RegisterRdsDbInstanceInput) Validate() error {
return nil
}
+// SetDbPassword sets the DbPassword field's value.
+func (s *RegisterRdsDbInstanceInput) SetDbPassword(v string) *RegisterRdsDbInstanceInput {
+ s.DbPassword = &v
+ return s
+}
+
+// SetDbUser sets the DbUser field's value.
+func (s *RegisterRdsDbInstanceInput) SetDbUser(v string) *RegisterRdsDbInstanceInput {
+ s.DbUser = &v
+ return s
+}
+
+// SetRdsDbInstanceArn sets the RdsDbInstanceArn field's value.
+func (s *RegisterRdsDbInstanceInput) SetRdsDbInstanceArn(v string) *RegisterRdsDbInstanceInput {
+ s.RdsDbInstanceArn = &v
+ return s
+}
+
+// SetStackId sets the StackId field's value.
+func (s *RegisterRdsDbInstanceInput) SetStackId(v string) *RegisterRdsDbInstanceInput {
+ s.StackId = &v
+ return s
+}
+
type RegisterRdsDbInstanceOutput struct {
_ struct{} `type:"structure"`
}
@@ -9819,6 +12351,18 @@ func (s *RegisterVolumeInput) Validate() error {
return nil
}
+// SetEc2VolumeId sets the Ec2VolumeId field's value.
+func (s *RegisterVolumeInput) SetEc2VolumeId(v string) *RegisterVolumeInput {
+ s.Ec2VolumeId = &v
+ return s
+}
+
+// SetStackId sets the StackId field's value.
+func (s *RegisterVolumeInput) SetStackId(v string) *RegisterVolumeInput {
+ s.StackId = &v
+ return s
+}
+
// Contains the response to a RegisterVolume request.
type RegisterVolumeOutput struct {
_ struct{} `type:"structure"`
@@ -9837,6 +12381,12 @@ func (s RegisterVolumeOutput) GoString() string {
return s.String()
}
+// SetVolumeId sets the VolumeId field's value.
+func (s *RegisterVolumeOutput) SetVolumeId(v string) *RegisterVolumeOutput {
+ s.VolumeId = &v
+ return s
+}
+
// A registered instance's reported operating system.
type ReportedOs struct {
_ struct{} `type:"structure"`
@@ -9861,6 +12411,24 @@ func (s ReportedOs) GoString() string {
return s.String()
}
+// SetFamily sets the Family field's value.
+func (s *ReportedOs) SetFamily(v string) *ReportedOs {
+ s.Family = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *ReportedOs) SetName(v string) *ReportedOs {
+ s.Name = &v
+ return s
+}
+
+// SetVersion sets the Version field's value.
+func (s *ReportedOs) SetVersion(v string) *ReportedOs {
+ s.Version = &v
+ return s
+}
+
// Describes a user's SSH information.
type SelfUserProfile struct {
_ struct{} `type:"structure"`
@@ -9888,6 +12456,30 @@ func (s SelfUserProfile) GoString() string {
return s.String()
}
+// SetIamUserArn sets the IamUserArn field's value.
+func (s *SelfUserProfile) SetIamUserArn(v string) *SelfUserProfile {
+ s.IamUserArn = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *SelfUserProfile) SetName(v string) *SelfUserProfile {
+ s.Name = &v
+ return s
+}
+
+// SetSshPublicKey sets the SshPublicKey field's value.
+func (s *SelfUserProfile) SetSshPublicKey(v string) *SelfUserProfile {
+ s.SshPublicKey = &v
+ return s
+}
+
+// SetSshUsername sets the SshUsername field's value.
+func (s *SelfUserProfile) SetSshUsername(v string) *SelfUserProfile {
+ s.SshUsername = &v
+ return s
+}
+
// Describes an AWS OpsWorks service error.
type ServiceError struct {
_ struct{} `type:"structure"`
@@ -9921,6 +12513,42 @@ func (s ServiceError) GoString() string {
return s.String()
}
+// SetCreatedAt sets the CreatedAt field's value.
+func (s *ServiceError) SetCreatedAt(v string) *ServiceError {
+ s.CreatedAt = &v
+ return s
+}
+
+// SetInstanceId sets the InstanceId field's value.
+func (s *ServiceError) SetInstanceId(v string) *ServiceError {
+ s.InstanceId = &v
+ return s
+}
+
+// SetMessage sets the Message field's value.
+func (s *ServiceError) SetMessage(v string) *ServiceError {
+ s.Message = &v
+ return s
+}
+
+// SetServiceErrorId sets the ServiceErrorId field's value.
+func (s *ServiceError) SetServiceErrorId(v string) *ServiceError {
+ s.ServiceErrorId = &v
+ return s
+}
+
+// SetStackId sets the StackId field's value.
+func (s *ServiceError) SetStackId(v string) *ServiceError {
+ s.StackId = &v
+ return s
+}
+
+// SetType sets the Type field's value.
+func (s *ServiceError) SetType(v string) *ServiceError {
+ s.Type = &v
+ return s
+}
+
type SetLoadBasedAutoScalingInput struct {
_ struct{} `type:"structure"`
@@ -9976,6 +12604,30 @@ func (s *SetLoadBasedAutoScalingInput) Validate() error {
return nil
}
+// SetDownScaling sets the DownScaling field's value.
+func (s *SetLoadBasedAutoScalingInput) SetDownScaling(v *AutoScalingThresholds) *SetLoadBasedAutoScalingInput {
+ s.DownScaling = v
+ return s
+}
+
+// SetEnable sets the Enable field's value.
+func (s *SetLoadBasedAutoScalingInput) SetEnable(v bool) *SetLoadBasedAutoScalingInput {
+ s.Enable = &v
+ return s
+}
+
+// SetLayerId sets the LayerId field's value.
+func (s *SetLoadBasedAutoScalingInput) SetLayerId(v string) *SetLoadBasedAutoScalingInput {
+ s.LayerId = &v
+ return s
+}
+
+// SetUpScaling sets the UpScaling field's value.
+func (s *SetLoadBasedAutoScalingInput) SetUpScaling(v *AutoScalingThresholds) *SetLoadBasedAutoScalingInput {
+ s.UpScaling = v
+ return s
+}
+
type SetLoadBasedAutoScalingOutput struct {
_ struct{} `type:"structure"`
}
@@ -10053,6 +12705,36 @@ func (s *SetPermissionInput) Validate() error {
return nil
}
+// SetAllowSsh sets the AllowSsh field's value.
+func (s *SetPermissionInput) SetAllowSsh(v bool) *SetPermissionInput {
+ s.AllowSsh = &v
+ return s
+}
+
+// SetAllowSudo sets the AllowSudo field's value.
+func (s *SetPermissionInput) SetAllowSudo(v bool) *SetPermissionInput {
+ s.AllowSudo = &v
+ return s
+}
+
+// SetIamUserArn sets the IamUserArn field's value.
+func (s *SetPermissionInput) SetIamUserArn(v string) *SetPermissionInput {
+ s.IamUserArn = &v
+ return s
+}
+
+// SetLevel sets the Level field's value.
+func (s *SetPermissionInput) SetLevel(v string) *SetPermissionInput {
+ s.Level = &v
+ return s
+}
+
+// SetStackId sets the StackId field's value.
+func (s *SetPermissionInput) SetStackId(v string) *SetPermissionInput {
+ s.StackId = &v
+ return s
+}
+
type SetPermissionOutput struct {
_ struct{} `type:"structure"`
}
@@ -10102,6 +12784,18 @@ func (s *SetTimeBasedAutoScalingInput) Validate() error {
return nil
}
+// SetAutoScalingSchedule sets the AutoScalingSchedule field's value.
+func (s *SetTimeBasedAutoScalingInput) SetAutoScalingSchedule(v *WeeklyAutoScalingSchedule) *SetTimeBasedAutoScalingInput {
+ s.AutoScalingSchedule = v
+ return s
+}
+
+// SetInstanceId sets the InstanceId field's value.
+func (s *SetTimeBasedAutoScalingInput) SetInstanceId(v string) *SetTimeBasedAutoScalingInput {
+ s.InstanceId = &v
+ return s
+}
+
type SetTimeBasedAutoScalingOutput struct {
_ struct{} `type:"structure"`
}
@@ -10139,6 +12833,18 @@ func (s ShutdownEventConfiguration) GoString() string {
return s.String()
}
+// SetDelayUntilElbConnectionsDrained sets the DelayUntilElbConnectionsDrained field's value.
+func (s *ShutdownEventConfiguration) SetDelayUntilElbConnectionsDrained(v bool) *ShutdownEventConfiguration {
+ s.DelayUntilElbConnectionsDrained = &v
+ return s
+}
+
+// SetExecutionTimeout sets the ExecutionTimeout field's value.
+func (s *ShutdownEventConfiguration) SetExecutionTimeout(v int64) *ShutdownEventConfiguration {
+ s.ExecutionTimeout = &v
+ return s
+}
+
// 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).
@@ -10197,6 +12903,42 @@ func (s Source) GoString() string {
return s.String()
}
+// SetPassword sets the Password field's value.
+func (s *Source) SetPassword(v string) *Source {
+ s.Password = &v
+ return s
+}
+
+// SetRevision sets the Revision field's value.
+func (s *Source) SetRevision(v string) *Source {
+ s.Revision = &v
+ return s
+}
+
+// SetSshKey sets the SshKey field's value.
+func (s *Source) SetSshKey(v string) *Source {
+ s.SshKey = &v
+ return s
+}
+
+// SetType sets the Type field's value.
+func (s *Source) SetType(v string) *Source {
+ s.Type = &v
+ return s
+}
+
+// SetUrl sets the Url field's value.
+func (s *Source) SetUrl(v string) *Source {
+ s.Url = &v
+ return s
+}
+
+// SetUsername sets the Username field's value.
+func (s *Source) SetUsername(v string) *Source {
+ s.Username = &v
+ return s
+}
+
// Describes an app's SSL configuration.
type SslConfiguration struct {
_ struct{} `type:"structure"`
@@ -10242,6 +12984,24 @@ func (s *SslConfiguration) Validate() error {
return nil
}
+// SetCertificate sets the Certificate field's value.
+func (s *SslConfiguration) SetCertificate(v string) *SslConfiguration {
+ s.Certificate = &v
+ return s
+}
+
+// SetChain sets the Chain field's value.
+func (s *SslConfiguration) SetChain(v string) *SslConfiguration {
+ s.Chain = &v
+ return s
+}
+
+// SetPrivateKey sets the PrivateKey field's value.
+func (s *SslConfiguration) SetPrivateKey(v string) *SslConfiguration {
+ s.PrivateKey = &v
+ return s
+}
+
// Describes a stack.
type Stack struct {
_ struct{} `type:"structure"`
@@ -10325,22 +13085,154 @@ type Stack struct {
// Whether the stack uses custom cookbooks.
UseCustomCookbooks *bool `type:"boolean"`
- // Whether the stack automatically associates the AWS OpsWorks built-in security
- // groups with the stack's layers.
- UseOpsworksSecurityGroups *bool `type:"boolean"`
+ // Whether the stack automatically associates the AWS OpsWorks built-in security
+ // groups with the stack's layers.
+ UseOpsworksSecurityGroups *bool `type:"boolean"`
+
+ // The VPC ID; applicable only if the stack is running in a VPC.
+ VpcId *string `type:"string"`
+}
+
+// String returns the string representation
+func (s Stack) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s Stack) GoString() string {
+ return s.String()
+}
+
+// SetAgentVersion sets the AgentVersion field's value.
+func (s *Stack) SetAgentVersion(v string) *Stack {
+ s.AgentVersion = &v
+ return s
+}
+
+// SetArn sets the Arn field's value.
+func (s *Stack) SetArn(v string) *Stack {
+ s.Arn = &v
+ return s
+}
+
+// SetAttributes sets the Attributes field's value.
+func (s *Stack) SetAttributes(v map[string]*string) *Stack {
+ s.Attributes = v
+ return s
+}
+
+// SetChefConfiguration sets the ChefConfiguration field's value.
+func (s *Stack) SetChefConfiguration(v *ChefConfiguration) *Stack {
+ s.ChefConfiguration = v
+ return s
+}
+
+// SetConfigurationManager sets the ConfigurationManager field's value.
+func (s *Stack) SetConfigurationManager(v *StackConfigurationManager) *Stack {
+ s.ConfigurationManager = v
+ return s
+}
+
+// SetCreatedAt sets the CreatedAt field's value.
+func (s *Stack) SetCreatedAt(v string) *Stack {
+ s.CreatedAt = &v
+ return s
+}
+
+// SetCustomCookbooksSource sets the CustomCookbooksSource field's value.
+func (s *Stack) SetCustomCookbooksSource(v *Source) *Stack {
+ s.CustomCookbooksSource = v
+ return s
+}
+
+// SetCustomJson sets the CustomJson field's value.
+func (s *Stack) SetCustomJson(v string) *Stack {
+ s.CustomJson = &v
+ return s
+}
+
+// SetDefaultAvailabilityZone sets the DefaultAvailabilityZone field's value.
+func (s *Stack) SetDefaultAvailabilityZone(v string) *Stack {
+ s.DefaultAvailabilityZone = &v
+ return s
+}
+
+// SetDefaultInstanceProfileArn sets the DefaultInstanceProfileArn field's value.
+func (s *Stack) SetDefaultInstanceProfileArn(v string) *Stack {
+ s.DefaultInstanceProfileArn = &v
+ return s
+}
+
+// SetDefaultOs sets the DefaultOs field's value.
+func (s *Stack) SetDefaultOs(v string) *Stack {
+ s.DefaultOs = &v
+ return s
+}
+
+// SetDefaultRootDeviceType sets the DefaultRootDeviceType field's value.
+func (s *Stack) SetDefaultRootDeviceType(v string) *Stack {
+ s.DefaultRootDeviceType = &v
+ return s
+}
+
+// SetDefaultSshKeyName sets the DefaultSshKeyName field's value.
+func (s *Stack) SetDefaultSshKeyName(v string) *Stack {
+ s.DefaultSshKeyName = &v
+ return s
+}
+
+// SetDefaultSubnetId sets the DefaultSubnetId field's value.
+func (s *Stack) SetDefaultSubnetId(v string) *Stack {
+ s.DefaultSubnetId = &v
+ return s
+}
+
+// SetHostnameTheme sets the HostnameTheme field's value.
+func (s *Stack) SetHostnameTheme(v string) *Stack {
+ s.HostnameTheme = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *Stack) SetName(v string) *Stack {
+ s.Name = &v
+ return s
+}
+
+// SetRegion sets the Region field's value.
+func (s *Stack) SetRegion(v string) *Stack {
+ s.Region = &v
+ return s
+}
+
+// SetServiceRoleArn sets the ServiceRoleArn field's value.
+func (s *Stack) SetServiceRoleArn(v string) *Stack {
+ s.ServiceRoleArn = &v
+ return s
+}
- // The VPC ID; applicable only if the stack is running in a VPC.
- VpcId *string `type:"string"`
+// SetStackId sets the StackId field's value.
+func (s *Stack) SetStackId(v string) *Stack {
+ s.StackId = &v
+ return s
}
-// String returns the string representation
-func (s Stack) String() string {
- return awsutil.Prettify(s)
+// SetUseCustomCookbooks sets the UseCustomCookbooks field's value.
+func (s *Stack) SetUseCustomCookbooks(v bool) *Stack {
+ s.UseCustomCookbooks = &v
+ return s
}
-// GoString returns the string representation
-func (s Stack) GoString() string {
- return s.String()
+// SetUseOpsworksSecurityGroups sets the UseOpsworksSecurityGroups field's value.
+func (s *Stack) SetUseOpsworksSecurityGroups(v bool) *Stack {
+ s.UseOpsworksSecurityGroups = &v
+ return s
+}
+
+// SetVpcId sets the VpcId field's value.
+func (s *Stack) SetVpcId(v string) *Stack {
+ s.VpcId = &v
+ return s
}
// Describes the configuration manager.
@@ -10366,6 +13258,18 @@ func (s StackConfigurationManager) GoString() string {
return s.String()
}
+// SetName sets the Name field's value.
+func (s *StackConfigurationManager) SetName(v string) *StackConfigurationManager {
+ s.Name = &v
+ return s
+}
+
+// SetVersion sets the Version field's value.
+func (s *StackConfigurationManager) SetVersion(v string) *StackConfigurationManager {
+ s.Version = &v
+ return s
+}
+
// Summarizes the number of layers, instances, and apps in a stack.
type StackSummary struct {
_ struct{} `type:"structure"`
@@ -10399,6 +13303,42 @@ func (s StackSummary) GoString() string {
return s.String()
}
+// SetAppsCount sets the AppsCount field's value.
+func (s *StackSummary) SetAppsCount(v int64) *StackSummary {
+ s.AppsCount = &v
+ return s
+}
+
+// SetArn sets the Arn field's value.
+func (s *StackSummary) SetArn(v string) *StackSummary {
+ s.Arn = &v
+ return s
+}
+
+// SetInstancesCount sets the InstancesCount field's value.
+func (s *StackSummary) SetInstancesCount(v *InstancesCount) *StackSummary {
+ s.InstancesCount = v
+ return s
+}
+
+// SetLayersCount sets the LayersCount field's value.
+func (s *StackSummary) SetLayersCount(v int64) *StackSummary {
+ s.LayersCount = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *StackSummary) SetName(v string) *StackSummary {
+ s.Name = &v
+ return s
+}
+
+// SetStackId sets the StackId field's value.
+func (s *StackSummary) SetStackId(v string) *StackSummary {
+ s.StackId = &v
+ return s
+}
+
type StartInstanceInput struct {
_ struct{} `type:"structure"`
@@ -10431,6 +13371,12 @@ func (s *StartInstanceInput) Validate() error {
return nil
}
+// SetInstanceId sets the InstanceId field's value.
+func (s *StartInstanceInput) SetInstanceId(v string) *StartInstanceInput {
+ s.InstanceId = &v
+ return s
+}
+
type StartInstanceOutput struct {
_ struct{} `type:"structure"`
}
@@ -10477,6 +13423,12 @@ func (s *StartStackInput) Validate() error {
return nil
}
+// SetStackId sets the StackId field's value.
+func (s *StartStackInput) SetStackId(v string) *StartStackInput {
+ s.StackId = &v
+ return s
+}
+
type StartStackOutput struct {
_ struct{} `type:"structure"`
}
@@ -10523,6 +13475,12 @@ func (s *StopInstanceInput) Validate() error {
return nil
}
+// SetInstanceId sets the InstanceId field's value.
+func (s *StopInstanceInput) SetInstanceId(v string) *StopInstanceInput {
+ s.InstanceId = &v
+ return s
+}
+
type StopInstanceOutput struct {
_ struct{} `type:"structure"`
}
@@ -10569,6 +13527,12 @@ func (s *StopStackInput) Validate() error {
return nil
}
+// SetStackId sets the StackId field's value.
+func (s *StopStackInput) SetStackId(v string) *StopStackInput {
+ s.StackId = &v
+ return s
+}
+
type StopStackOutput struct {
_ struct{} `type:"structure"`
}
@@ -10614,6 +13578,30 @@ func (s TemporaryCredential) GoString() string {
return s.String()
}
+// SetInstanceId sets the InstanceId field's value.
+func (s *TemporaryCredential) SetInstanceId(v string) *TemporaryCredential {
+ s.InstanceId = &v
+ return s
+}
+
+// SetPassword sets the Password field's value.
+func (s *TemporaryCredential) SetPassword(v string) *TemporaryCredential {
+ s.Password = &v
+ return s
+}
+
+// SetUsername sets the Username field's value.
+func (s *TemporaryCredential) SetUsername(v string) *TemporaryCredential {
+ s.Username = &v
+ return s
+}
+
+// SetValidForInMinutes sets the ValidForInMinutes field's value.
+func (s *TemporaryCredential) SetValidForInMinutes(v int64) *TemporaryCredential {
+ s.ValidForInMinutes = &v
+ return s
+}
+
// Describes an instance's time-based auto scaling configuration.
type TimeBasedAutoScalingConfiguration struct {
_ struct{} `type:"structure"`
@@ -10635,6 +13623,18 @@ func (s TimeBasedAutoScalingConfiguration) GoString() string {
return s.String()
}
+// SetAutoScalingSchedule sets the AutoScalingSchedule field's value.
+func (s *TimeBasedAutoScalingConfiguration) SetAutoScalingSchedule(v *WeeklyAutoScalingSchedule) *TimeBasedAutoScalingConfiguration {
+ s.AutoScalingSchedule = v
+ return s
+}
+
+// SetInstanceId sets the InstanceId field's value.
+func (s *TimeBasedAutoScalingConfiguration) SetInstanceId(v string) *TimeBasedAutoScalingConfiguration {
+ s.InstanceId = &v
+ return s
+}
+
type UnassignInstanceInput struct {
_ struct{} `type:"structure"`
@@ -10667,6 +13667,12 @@ func (s *UnassignInstanceInput) Validate() error {
return nil
}
+// SetInstanceId sets the InstanceId field's value.
+func (s *UnassignInstanceInput) SetInstanceId(v string) *UnassignInstanceInput {
+ s.InstanceId = &v
+ return s
+}
+
type UnassignInstanceOutput struct {
_ struct{} `type:"structure"`
}
@@ -10713,6 +13719,12 @@ func (s *UnassignVolumeInput) Validate() error {
return nil
}
+// SetVolumeId sets the VolumeId field's value.
+func (s *UnassignVolumeInput) SetVolumeId(v string) *UnassignVolumeInput {
+ s.VolumeId = &v
+ return s
+}
+
type UnassignVolumeOutput struct {
_ struct{} `type:"structure"`
}
@@ -10818,6 +13830,72 @@ func (s *UpdateAppInput) Validate() error {
return nil
}
+// SetAppId sets the AppId field's value.
+func (s *UpdateAppInput) SetAppId(v string) *UpdateAppInput {
+ s.AppId = &v
+ return s
+}
+
+// SetAppSource sets the AppSource field's value.
+func (s *UpdateAppInput) SetAppSource(v *Source) *UpdateAppInput {
+ s.AppSource = v
+ return s
+}
+
+// SetAttributes sets the Attributes field's value.
+func (s *UpdateAppInput) SetAttributes(v map[string]*string) *UpdateAppInput {
+ s.Attributes = v
+ return s
+}
+
+// SetDataSources sets the DataSources field's value.
+func (s *UpdateAppInput) SetDataSources(v []*DataSource) *UpdateAppInput {
+ s.DataSources = v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *UpdateAppInput) SetDescription(v string) *UpdateAppInput {
+ s.Description = &v
+ return s
+}
+
+// SetDomains sets the Domains field's value.
+func (s *UpdateAppInput) SetDomains(v []*string) *UpdateAppInput {
+ s.Domains = v
+ return s
+}
+
+// SetEnableSsl sets the EnableSsl field's value.
+func (s *UpdateAppInput) SetEnableSsl(v bool) *UpdateAppInput {
+ s.EnableSsl = &v
+ return s
+}
+
+// SetEnvironment sets the Environment field's value.
+func (s *UpdateAppInput) SetEnvironment(v []*EnvironmentVariable) *UpdateAppInput {
+ s.Environment = v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *UpdateAppInput) SetName(v string) *UpdateAppInput {
+ s.Name = &v
+ return s
+}
+
+// SetSslConfiguration sets the SslConfiguration field's value.
+func (s *UpdateAppInput) SetSslConfiguration(v *SslConfiguration) *UpdateAppInput {
+ s.SslConfiguration = v
+ return s
+}
+
+// SetType sets the Type field's value.
+func (s *UpdateAppInput) SetType(v string) *UpdateAppInput {
+ s.Type = &v
+ return s
+}
+
type UpdateAppOutput struct {
_ struct{} `type:"structure"`
}
@@ -10867,6 +13945,18 @@ func (s *UpdateElasticIpInput) Validate() error {
return nil
}
+// SetElasticIp sets the ElasticIp field's value.
+func (s *UpdateElasticIpInput) SetElasticIp(v string) *UpdateElasticIpInput {
+ s.ElasticIp = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *UpdateElasticIpInput) SetName(v string) *UpdateElasticIpInput {
+ s.Name = &v
+ return s
+}
+
type UpdateElasticIpOutput struct {
_ struct{} `type:"structure"`
}
@@ -11004,6 +14094,78 @@ func (s *UpdateInstanceInput) Validate() error {
return nil
}
+// SetAgentVersion sets the AgentVersion field's value.
+func (s *UpdateInstanceInput) SetAgentVersion(v string) *UpdateInstanceInput {
+ s.AgentVersion = &v
+ return s
+}
+
+// SetAmiId sets the AmiId field's value.
+func (s *UpdateInstanceInput) SetAmiId(v string) *UpdateInstanceInput {
+ s.AmiId = &v
+ return s
+}
+
+// SetArchitecture sets the Architecture field's value.
+func (s *UpdateInstanceInput) SetArchitecture(v string) *UpdateInstanceInput {
+ s.Architecture = &v
+ return s
+}
+
+// SetAutoScalingType sets the AutoScalingType field's value.
+func (s *UpdateInstanceInput) SetAutoScalingType(v string) *UpdateInstanceInput {
+ s.AutoScalingType = &v
+ return s
+}
+
+// SetEbsOptimized sets the EbsOptimized field's value.
+func (s *UpdateInstanceInput) SetEbsOptimized(v bool) *UpdateInstanceInput {
+ s.EbsOptimized = &v
+ return s
+}
+
+// SetHostname sets the Hostname field's value.
+func (s *UpdateInstanceInput) SetHostname(v string) *UpdateInstanceInput {
+ s.Hostname = &v
+ return s
+}
+
+// SetInstallUpdatesOnBoot sets the InstallUpdatesOnBoot field's value.
+func (s *UpdateInstanceInput) SetInstallUpdatesOnBoot(v bool) *UpdateInstanceInput {
+ s.InstallUpdatesOnBoot = &v
+ return s
+}
+
+// SetInstanceId sets the InstanceId field's value.
+func (s *UpdateInstanceInput) SetInstanceId(v string) *UpdateInstanceInput {
+ s.InstanceId = &v
+ return s
+}
+
+// SetInstanceType sets the InstanceType field's value.
+func (s *UpdateInstanceInput) SetInstanceType(v string) *UpdateInstanceInput {
+ s.InstanceType = &v
+ return s
+}
+
+// SetLayerIds sets the LayerIds field's value.
+func (s *UpdateInstanceInput) SetLayerIds(v []*string) *UpdateInstanceInput {
+ s.LayerIds = v
+ return s
+}
+
+// SetOs sets the Os field's value.
+func (s *UpdateInstanceInput) SetOs(v string) *UpdateInstanceInput {
+ s.Os = &v
+ return s
+}
+
+// SetSshKeyName sets the SshKeyName field's value.
+func (s *UpdateInstanceInput) SetSshKeyName(v string) *UpdateInstanceInput {
+ s.SshKeyName = &v
+ return s
+}
+
type UpdateInstanceOutput struct {
_ struct{} `type:"structure"`
}
@@ -11124,6 +14286,102 @@ func (s *UpdateLayerInput) Validate() error {
return nil
}
+// SetAttributes sets the Attributes field's value.
+func (s *UpdateLayerInput) SetAttributes(v map[string]*string) *UpdateLayerInput {
+ s.Attributes = v
+ return s
+}
+
+// SetAutoAssignElasticIps sets the AutoAssignElasticIps field's value.
+func (s *UpdateLayerInput) SetAutoAssignElasticIps(v bool) *UpdateLayerInput {
+ s.AutoAssignElasticIps = &v
+ return s
+}
+
+// SetAutoAssignPublicIps sets the AutoAssignPublicIps field's value.
+func (s *UpdateLayerInput) SetAutoAssignPublicIps(v bool) *UpdateLayerInput {
+ s.AutoAssignPublicIps = &v
+ return s
+}
+
+// SetCustomInstanceProfileArn sets the CustomInstanceProfileArn field's value.
+func (s *UpdateLayerInput) SetCustomInstanceProfileArn(v string) *UpdateLayerInput {
+ s.CustomInstanceProfileArn = &v
+ return s
+}
+
+// SetCustomJson sets the CustomJson field's value.
+func (s *UpdateLayerInput) SetCustomJson(v string) *UpdateLayerInput {
+ s.CustomJson = &v
+ return s
+}
+
+// SetCustomRecipes sets the CustomRecipes field's value.
+func (s *UpdateLayerInput) SetCustomRecipes(v *Recipes) *UpdateLayerInput {
+ s.CustomRecipes = v
+ return s
+}
+
+// SetCustomSecurityGroupIds sets the CustomSecurityGroupIds field's value.
+func (s *UpdateLayerInput) SetCustomSecurityGroupIds(v []*string) *UpdateLayerInput {
+ s.CustomSecurityGroupIds = v
+ return s
+}
+
+// SetEnableAutoHealing sets the EnableAutoHealing field's value.
+func (s *UpdateLayerInput) SetEnableAutoHealing(v bool) *UpdateLayerInput {
+ s.EnableAutoHealing = &v
+ return s
+}
+
+// SetInstallUpdatesOnBoot sets the InstallUpdatesOnBoot field's value.
+func (s *UpdateLayerInput) SetInstallUpdatesOnBoot(v bool) *UpdateLayerInput {
+ s.InstallUpdatesOnBoot = &v
+ return s
+}
+
+// SetLayerId sets the LayerId field's value.
+func (s *UpdateLayerInput) SetLayerId(v string) *UpdateLayerInput {
+ s.LayerId = &v
+ return s
+}
+
+// SetLifecycleEventConfiguration sets the LifecycleEventConfiguration field's value.
+func (s *UpdateLayerInput) SetLifecycleEventConfiguration(v *LifecycleEventConfiguration) *UpdateLayerInput {
+ s.LifecycleEventConfiguration = v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *UpdateLayerInput) SetName(v string) *UpdateLayerInput {
+ s.Name = &v
+ return s
+}
+
+// SetPackages sets the Packages field's value.
+func (s *UpdateLayerInput) SetPackages(v []*string) *UpdateLayerInput {
+ s.Packages = v
+ return s
+}
+
+// SetShortname sets the Shortname field's value.
+func (s *UpdateLayerInput) SetShortname(v string) *UpdateLayerInput {
+ s.Shortname = &v
+ return s
+}
+
+// SetUseEbsOptimizedInstances sets the UseEbsOptimizedInstances field's value.
+func (s *UpdateLayerInput) SetUseEbsOptimizedInstances(v bool) *UpdateLayerInput {
+ s.UseEbsOptimizedInstances = &v
+ return s
+}
+
+// SetVolumeConfigurations sets the VolumeConfigurations field's value.
+func (s *UpdateLayerInput) SetVolumeConfigurations(v []*VolumeConfiguration) *UpdateLayerInput {
+ s.VolumeConfigurations = v
+ return s
+}
+
type UpdateLayerOutput struct {
_ struct{} `type:"structure"`
}
@@ -11155,6 +14413,12 @@ func (s UpdateMyUserProfileInput) GoString() string {
return s.String()
}
+// SetSshPublicKey sets the SshPublicKey field's value.
+func (s *UpdateMyUserProfileInput) SetSshPublicKey(v string) *UpdateMyUserProfileInput {
+ s.SshPublicKey = &v
+ return s
+}
+
type UpdateMyUserProfileOutput struct {
_ struct{} `type:"structure"`
}
@@ -11207,6 +14471,24 @@ func (s *UpdateRdsDbInstanceInput) Validate() error {
return nil
}
+// SetDbPassword sets the DbPassword field's value.
+func (s *UpdateRdsDbInstanceInput) SetDbPassword(v string) *UpdateRdsDbInstanceInput {
+ s.DbPassword = &v
+ return s
+}
+
+// SetDbUser sets the DbUser field's value.
+func (s *UpdateRdsDbInstanceInput) SetDbUser(v string) *UpdateRdsDbInstanceInput {
+ s.DbUser = &v
+ return s
+}
+
+// SetRdsDbInstanceArn sets the RdsDbInstanceArn field's value.
+func (s *UpdateRdsDbInstanceInput) SetRdsDbInstanceArn(v string) *UpdateRdsDbInstanceInput {
+ s.RdsDbInstanceArn = &v
+ return s
+}
+
type UpdateRdsDbInstanceOutput struct {
_ struct{} `type:"structure"`
}
@@ -11421,6 +14703,114 @@ func (s *UpdateStackInput) Validate() error {
return nil
}
+// SetAgentVersion sets the AgentVersion field's value.
+func (s *UpdateStackInput) SetAgentVersion(v string) *UpdateStackInput {
+ s.AgentVersion = &v
+ return s
+}
+
+// SetAttributes sets the Attributes field's value.
+func (s *UpdateStackInput) SetAttributes(v map[string]*string) *UpdateStackInput {
+ s.Attributes = v
+ return s
+}
+
+// SetChefConfiguration sets the ChefConfiguration field's value.
+func (s *UpdateStackInput) SetChefConfiguration(v *ChefConfiguration) *UpdateStackInput {
+ s.ChefConfiguration = v
+ return s
+}
+
+// SetConfigurationManager sets the ConfigurationManager field's value.
+func (s *UpdateStackInput) SetConfigurationManager(v *StackConfigurationManager) *UpdateStackInput {
+ s.ConfigurationManager = v
+ return s
+}
+
+// SetCustomCookbooksSource sets the CustomCookbooksSource field's value.
+func (s *UpdateStackInput) SetCustomCookbooksSource(v *Source) *UpdateStackInput {
+ s.CustomCookbooksSource = v
+ return s
+}
+
+// SetCustomJson sets the CustomJson field's value.
+func (s *UpdateStackInput) SetCustomJson(v string) *UpdateStackInput {
+ s.CustomJson = &v
+ return s
+}
+
+// SetDefaultAvailabilityZone sets the DefaultAvailabilityZone field's value.
+func (s *UpdateStackInput) SetDefaultAvailabilityZone(v string) *UpdateStackInput {
+ s.DefaultAvailabilityZone = &v
+ return s
+}
+
+// SetDefaultInstanceProfileArn sets the DefaultInstanceProfileArn field's value.
+func (s *UpdateStackInput) SetDefaultInstanceProfileArn(v string) *UpdateStackInput {
+ s.DefaultInstanceProfileArn = &v
+ return s
+}
+
+// SetDefaultOs sets the DefaultOs field's value.
+func (s *UpdateStackInput) SetDefaultOs(v string) *UpdateStackInput {
+ s.DefaultOs = &v
+ return s
+}
+
+// SetDefaultRootDeviceType sets the DefaultRootDeviceType field's value.
+func (s *UpdateStackInput) SetDefaultRootDeviceType(v string) *UpdateStackInput {
+ s.DefaultRootDeviceType = &v
+ return s
+}
+
+// SetDefaultSshKeyName sets the DefaultSshKeyName field's value.
+func (s *UpdateStackInput) SetDefaultSshKeyName(v string) *UpdateStackInput {
+ s.DefaultSshKeyName = &v
+ return s
+}
+
+// SetDefaultSubnetId sets the DefaultSubnetId field's value.
+func (s *UpdateStackInput) SetDefaultSubnetId(v string) *UpdateStackInput {
+ s.DefaultSubnetId = &v
+ return s
+}
+
+// SetHostnameTheme sets the HostnameTheme field's value.
+func (s *UpdateStackInput) SetHostnameTheme(v string) *UpdateStackInput {
+ s.HostnameTheme = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *UpdateStackInput) SetName(v string) *UpdateStackInput {
+ s.Name = &v
+ return s
+}
+
+// SetServiceRoleArn sets the ServiceRoleArn field's value.
+func (s *UpdateStackInput) SetServiceRoleArn(v string) *UpdateStackInput {
+ s.ServiceRoleArn = &v
+ return s
+}
+
+// SetStackId sets the StackId field's value.
+func (s *UpdateStackInput) SetStackId(v string) *UpdateStackInput {
+ s.StackId = &v
+ return s
+}
+
+// SetUseCustomCookbooks sets the UseCustomCookbooks field's value.
+func (s *UpdateStackInput) SetUseCustomCookbooks(v bool) *UpdateStackInput {
+ s.UseCustomCookbooks = &v
+ return s
+}
+
+// SetUseOpsworksSecurityGroups sets the UseOpsworksSecurityGroups field's value.
+func (s *UpdateStackInput) SetUseOpsworksSecurityGroups(v bool) *UpdateStackInput {
+ s.UseOpsworksSecurityGroups = &v
+ return s
+}
+
type UpdateStackOutput struct {
_ struct{} `type:"structure"`
}
@@ -11481,6 +14871,30 @@ func (s *UpdateUserProfileInput) Validate() error {
return nil
}
+// SetAllowSelfManagement sets the AllowSelfManagement field's value.
+func (s *UpdateUserProfileInput) SetAllowSelfManagement(v bool) *UpdateUserProfileInput {
+ s.AllowSelfManagement = &v
+ return s
+}
+
+// SetIamUserArn sets the IamUserArn field's value.
+func (s *UpdateUserProfileInput) SetIamUserArn(v string) *UpdateUserProfileInput {
+ s.IamUserArn = &v
+ return s
+}
+
+// SetSshPublicKey sets the SshPublicKey field's value.
+func (s *UpdateUserProfileInput) SetSshPublicKey(v string) *UpdateUserProfileInput {
+ s.SshPublicKey = &v
+ return s
+}
+
+// SetSshUsername sets the SshUsername field's value.
+func (s *UpdateUserProfileInput) SetSshUsername(v string) *UpdateUserProfileInput {
+ s.SshUsername = &v
+ return s
+}
+
type UpdateUserProfileOutput struct {
_ struct{} `type:"structure"`
}
@@ -11533,6 +14947,24 @@ func (s *UpdateVolumeInput) Validate() error {
return nil
}
+// SetMountPoint sets the MountPoint field's value.
+func (s *UpdateVolumeInput) SetMountPoint(v string) *UpdateVolumeInput {
+ s.MountPoint = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *UpdateVolumeInput) SetName(v string) *UpdateVolumeInput {
+ s.Name = &v
+ return s
+}
+
+// SetVolumeId sets the VolumeId field's value.
+func (s *UpdateVolumeInput) SetVolumeId(v string) *UpdateVolumeInput {
+ s.VolumeId = &v
+ return s
+}
+
type UpdateVolumeOutput struct {
_ struct{} `type:"structure"`
}
@@ -11578,6 +15010,36 @@ func (s UserProfile) GoString() string {
return s.String()
}
+// SetAllowSelfManagement sets the AllowSelfManagement field's value.
+func (s *UserProfile) SetAllowSelfManagement(v bool) *UserProfile {
+ s.AllowSelfManagement = &v
+ return s
+}
+
+// SetIamUserArn sets the IamUserArn field's value.
+func (s *UserProfile) SetIamUserArn(v string) *UserProfile {
+ s.IamUserArn = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *UserProfile) SetName(v string) *UserProfile {
+ s.Name = &v
+ return s
+}
+
+// SetSshPublicKey sets the SshPublicKey field's value.
+func (s *UserProfile) SetSshPublicKey(v string) *UserProfile {
+ s.SshPublicKey = &v
+ return s
+}
+
+// SetSshUsername sets the SshUsername field's value.
+func (s *UserProfile) SetSshUsername(v string) *UserProfile {
+ s.SshUsername = &v
+ return s
+}
+
// Describes an instance's Amazon EBS volume.
type Volume struct {
_ struct{} `type:"structure"`
@@ -11634,6 +15096,84 @@ func (s Volume) GoString() string {
return s.String()
}
+// SetAvailabilityZone sets the AvailabilityZone field's value.
+func (s *Volume) SetAvailabilityZone(v string) *Volume {
+ s.AvailabilityZone = &v
+ return s
+}
+
+// SetDevice sets the Device field's value.
+func (s *Volume) SetDevice(v string) *Volume {
+ s.Device = &v
+ return s
+}
+
+// SetEc2VolumeId sets the Ec2VolumeId field's value.
+func (s *Volume) SetEc2VolumeId(v string) *Volume {
+ s.Ec2VolumeId = &v
+ return s
+}
+
+// SetInstanceId sets the InstanceId field's value.
+func (s *Volume) SetInstanceId(v string) *Volume {
+ s.InstanceId = &v
+ return s
+}
+
+// SetIops sets the Iops field's value.
+func (s *Volume) SetIops(v int64) *Volume {
+ s.Iops = &v
+ return s
+}
+
+// SetMountPoint sets the MountPoint field's value.
+func (s *Volume) SetMountPoint(v string) *Volume {
+ s.MountPoint = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *Volume) SetName(v string) *Volume {
+ s.Name = &v
+ return s
+}
+
+// SetRaidArrayId sets the RaidArrayId field's value.
+func (s *Volume) SetRaidArrayId(v string) *Volume {
+ s.RaidArrayId = &v
+ return s
+}
+
+// SetRegion sets the Region field's value.
+func (s *Volume) SetRegion(v string) *Volume {
+ s.Region = &v
+ return s
+}
+
+// SetSize sets the Size field's value.
+func (s *Volume) SetSize(v int64) *Volume {
+ s.Size = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *Volume) SetStatus(v string) *Volume {
+ s.Status = &v
+ return s
+}
+
+// SetVolumeId sets the VolumeId field's value.
+func (s *Volume) SetVolumeId(v string) *Volume {
+ s.VolumeId = &v
+ return s
+}
+
+// SetVolumeType sets the VolumeType field's value.
+func (s *Volume) SetVolumeType(v string) *Volume {
+ s.VolumeType = &v
+ return s
+}
+
// Describes an Amazon EBS volume configuration.
type VolumeConfiguration struct {
_ struct{} `type:"structure"`
@@ -11698,6 +15238,42 @@ func (s *VolumeConfiguration) Validate() error {
return nil
}
+// SetIops sets the Iops field's value.
+func (s *VolumeConfiguration) SetIops(v int64) *VolumeConfiguration {
+ s.Iops = &v
+ return s
+}
+
+// SetMountPoint sets the MountPoint field's value.
+func (s *VolumeConfiguration) SetMountPoint(v string) *VolumeConfiguration {
+ s.MountPoint = &v
+ return s
+}
+
+// SetNumberOfDisks sets the NumberOfDisks field's value.
+func (s *VolumeConfiguration) SetNumberOfDisks(v int64) *VolumeConfiguration {
+ s.NumberOfDisks = &v
+ return s
+}
+
+// SetRaidLevel sets the RaidLevel field's value.
+func (s *VolumeConfiguration) SetRaidLevel(v int64) *VolumeConfiguration {
+ s.RaidLevel = &v
+ return s
+}
+
+// SetSize sets the Size field's value.
+func (s *VolumeConfiguration) SetSize(v int64) *VolumeConfiguration {
+ s.Size = &v
+ return s
+}
+
+// SetVolumeType sets the VolumeType field's value.
+func (s *VolumeConfiguration) SetVolumeType(v string) *VolumeConfiguration {
+ s.VolumeType = &v
+ return s
+}
+
// Describes a time-based instance's auto scaling schedule. The schedule consists
// of a set of key-value pairs.
//
@@ -11751,6 +15327,48 @@ func (s WeeklyAutoScalingSchedule) GoString() string {
return s.String()
}
+// SetFriday sets the Friday field's value.
+func (s *WeeklyAutoScalingSchedule) SetFriday(v map[string]*string) *WeeklyAutoScalingSchedule {
+ s.Friday = v
+ return s
+}
+
+// SetMonday sets the Monday field's value.
+func (s *WeeklyAutoScalingSchedule) SetMonday(v map[string]*string) *WeeklyAutoScalingSchedule {
+ s.Monday = v
+ return s
+}
+
+// SetSaturday sets the Saturday field's value.
+func (s *WeeklyAutoScalingSchedule) SetSaturday(v map[string]*string) *WeeklyAutoScalingSchedule {
+ s.Saturday = v
+ return s
+}
+
+// SetSunday sets the Sunday field's value.
+func (s *WeeklyAutoScalingSchedule) SetSunday(v map[string]*string) *WeeklyAutoScalingSchedule {
+ s.Sunday = v
+ return s
+}
+
+// SetThursday sets the Thursday field's value.
+func (s *WeeklyAutoScalingSchedule) SetThursday(v map[string]*string) *WeeklyAutoScalingSchedule {
+ s.Thursday = v
+ return s
+}
+
+// SetTuesday sets the Tuesday field's value.
+func (s *WeeklyAutoScalingSchedule) SetTuesday(v map[string]*string) *WeeklyAutoScalingSchedule {
+ s.Tuesday = v
+ return s
+}
+
+// SetWednesday sets the Wednesday field's value.
+func (s *WeeklyAutoScalingSchedule) SetWednesday(v map[string]*string) *WeeklyAutoScalingSchedule {
+ s.Wednesday = v
+ return s
+}
+
const (
// AppAttributesKeysDocumentRoot is a AppAttributesKeys enum value
AppAttributesKeysDocumentRoot = "DocumentRoot"
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 74b3ee2..67ad3e4 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
@@ -7290,6 +7290,24 @@ func (s AccountQuota) GoString() string {
return s.String()
}
+// SetAccountQuotaName sets the AccountQuotaName field's value.
+func (s *AccountQuota) SetAccountQuotaName(v string) *AccountQuota {
+ s.AccountQuotaName = &v
+ return s
+}
+
+// SetMax sets the Max field's value.
+func (s *AccountQuota) SetMax(v int64) *AccountQuota {
+ s.Max = &v
+ return s
+}
+
+// SetUsed sets the Used field's value.
+func (s *AccountQuota) SetUsed(v int64) *AccountQuota {
+ s.Used = &v
+ return s
+}
+
type AddRoleToDBClusterInput struct {
_ struct{} `type:"structure"`
@@ -7331,6 +7349,18 @@ func (s *AddRoleToDBClusterInput) Validate() error {
return nil
}
+// SetDBClusterIdentifier sets the DBClusterIdentifier field's value.
+func (s *AddRoleToDBClusterInput) SetDBClusterIdentifier(v string) *AddRoleToDBClusterInput {
+ s.DBClusterIdentifier = &v
+ return s
+}
+
+// SetRoleArn sets the RoleArn field's value.
+func (s *AddRoleToDBClusterInput) SetRoleArn(v string) *AddRoleToDBClusterInput {
+ s.RoleArn = &v
+ return s
+}
+
type AddRoleToDBClusterOutput struct {
_ struct{} `type:"structure"`
}
@@ -7402,6 +7432,18 @@ func (s *AddSourceIdentifierToSubscriptionInput) Validate() error {
return nil
}
+// SetSourceIdentifier sets the SourceIdentifier field's value.
+func (s *AddSourceIdentifierToSubscriptionInput) SetSourceIdentifier(v string) *AddSourceIdentifierToSubscriptionInput {
+ s.SourceIdentifier = &v
+ return s
+}
+
+// SetSubscriptionName sets the SubscriptionName field's value.
+func (s *AddSourceIdentifierToSubscriptionInput) SetSubscriptionName(v string) *AddSourceIdentifierToSubscriptionInput {
+ s.SubscriptionName = &v
+ return s
+}
+
type AddSourceIdentifierToSubscriptionOutput struct {
_ struct{} `type:"structure"`
@@ -7420,6 +7462,12 @@ func (s AddSourceIdentifierToSubscriptionOutput) GoString() string {
return s.String()
}
+// SetEventSubscription sets the EventSubscription field's value.
+func (s *AddSourceIdentifierToSubscriptionOutput) SetEventSubscription(v *EventSubscription) *AddSourceIdentifierToSubscriptionOutput {
+ s.EventSubscription = v
+ return s
+}
+
type AddTagsToResourceInput struct {
_ struct{} `type:"structure"`
@@ -7462,6 +7510,18 @@ func (s *AddTagsToResourceInput) Validate() error {
return nil
}
+// SetResourceName sets the ResourceName field's value.
+func (s *AddTagsToResourceInput) SetResourceName(v string) *AddTagsToResourceInput {
+ s.ResourceName = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *AddTagsToResourceInput) SetTags(v []*Tag) *AddTagsToResourceInput {
+ s.Tags = v
+ return s
+}
+
type AddTagsToResourceOutput struct {
_ struct{} `type:"structure"`
}
@@ -7538,6 +7598,24 @@ func (s *ApplyPendingMaintenanceActionInput) Validate() error {
return nil
}
+// SetApplyAction sets the ApplyAction field's value.
+func (s *ApplyPendingMaintenanceActionInput) SetApplyAction(v string) *ApplyPendingMaintenanceActionInput {
+ s.ApplyAction = &v
+ return s
+}
+
+// SetOptInType sets the OptInType field's value.
+func (s *ApplyPendingMaintenanceActionInput) SetOptInType(v string) *ApplyPendingMaintenanceActionInput {
+ s.OptInType = &v
+ return s
+}
+
+// SetResourceIdentifier sets the ResourceIdentifier field's value.
+func (s *ApplyPendingMaintenanceActionInput) SetResourceIdentifier(v string) *ApplyPendingMaintenanceActionInput {
+ s.ResourceIdentifier = &v
+ return s
+}
+
type ApplyPendingMaintenanceActionOutput struct {
_ struct{} `type:"structure"`
@@ -7555,6 +7633,12 @@ func (s ApplyPendingMaintenanceActionOutput) GoString() string {
return s.String()
}
+// SetResourcePendingMaintenanceActions sets the ResourcePendingMaintenanceActions field's value.
+func (s *ApplyPendingMaintenanceActionOutput) SetResourcePendingMaintenanceActions(v *ResourcePendingMaintenanceActions) *ApplyPendingMaintenanceActionOutput {
+ s.ResourcePendingMaintenanceActions = v
+ return s
+}
+
type AuthorizeDBSecurityGroupIngressInput struct {
_ struct{} `type:"structure"`
@@ -7607,6 +7691,36 @@ func (s *AuthorizeDBSecurityGroupIngressInput) Validate() error {
return nil
}
+// SetCIDRIP sets the CIDRIP field's value.
+func (s *AuthorizeDBSecurityGroupIngressInput) SetCIDRIP(v string) *AuthorizeDBSecurityGroupIngressInput {
+ s.CIDRIP = &v
+ return s
+}
+
+// SetDBSecurityGroupName sets the DBSecurityGroupName field's value.
+func (s *AuthorizeDBSecurityGroupIngressInput) SetDBSecurityGroupName(v string) *AuthorizeDBSecurityGroupIngressInput {
+ s.DBSecurityGroupName = &v
+ return s
+}
+
+// SetEC2SecurityGroupId sets the EC2SecurityGroupId field's value.
+func (s *AuthorizeDBSecurityGroupIngressInput) SetEC2SecurityGroupId(v string) *AuthorizeDBSecurityGroupIngressInput {
+ s.EC2SecurityGroupId = &v
+ return s
+}
+
+// SetEC2SecurityGroupName sets the EC2SecurityGroupName field's value.
+func (s *AuthorizeDBSecurityGroupIngressInput) SetEC2SecurityGroupName(v string) *AuthorizeDBSecurityGroupIngressInput {
+ s.EC2SecurityGroupName = &v
+ return s
+}
+
+// SetEC2SecurityGroupOwnerId sets the EC2SecurityGroupOwnerId field's value.
+func (s *AuthorizeDBSecurityGroupIngressInput) SetEC2SecurityGroupOwnerId(v string) *AuthorizeDBSecurityGroupIngressInput {
+ s.EC2SecurityGroupOwnerId = &v
+ return s
+}
+
type AuthorizeDBSecurityGroupIngressOutput struct {
_ struct{} `type:"structure"`
@@ -7635,6 +7749,12 @@ func (s AuthorizeDBSecurityGroupIngressOutput) GoString() string {
return s.String()
}
+// SetDBSecurityGroup sets the DBSecurityGroup field's value.
+func (s *AuthorizeDBSecurityGroupIngressOutput) SetDBSecurityGroup(v *DBSecurityGroup) *AuthorizeDBSecurityGroupIngressOutput {
+ s.DBSecurityGroup = v
+ return s
+}
+
// Contains Availability Zone information.
//
// This data type is used as an element in the following data type:
@@ -7657,6 +7777,12 @@ func (s AvailabilityZone) GoString() string {
return s.String()
}
+// SetName sets the Name field's value.
+func (s *AvailabilityZone) SetName(v string) *AvailabilityZone {
+ s.Name = &v
+ return s
+}
+
// A CA certificate for an AWS account.
type Certificate struct {
_ struct{} `type:"structure"`
@@ -7690,6 +7816,42 @@ 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
+}
+
+// SetCertificateIdentifier sets the CertificateIdentifier field's value.
+func (s *Certificate) SetCertificateIdentifier(v string) *Certificate {
+ s.CertificateIdentifier = &v
+ return s
+}
+
+// SetCertificateType sets the CertificateType field's value.
+func (s *Certificate) SetCertificateType(v string) *Certificate {
+ s.CertificateType = &v
+ return s
+}
+
+// SetThumbprint sets the Thumbprint field's value.
+func (s *Certificate) SetThumbprint(v string) *Certificate {
+ s.Thumbprint = &v
+ return s
+}
+
+// SetValidFrom sets the ValidFrom field's value.
+func (s *Certificate) SetValidFrom(v time.Time) *Certificate {
+ s.ValidFrom = &v
+ return s
+}
+
+// SetValidTill sets the ValidTill field's value.
+func (s *Certificate) SetValidTill(v time.Time) *Certificate {
+ s.ValidTill = &v
+ return s
+}
+
// This data type is used as a response element in the action DescribeDBEngineVersions.
type CharacterSet struct {
_ struct{} `type:"structure"`
@@ -7711,6 +7873,18 @@ func (s CharacterSet) GoString() string {
return s.String()
}
+// SetCharacterSetDescription sets the CharacterSetDescription field's value.
+func (s *CharacterSet) SetCharacterSetDescription(v string) *CharacterSet {
+ s.CharacterSetDescription = &v
+ return s
+}
+
+// SetCharacterSetName sets the CharacterSetName field's value.
+func (s *CharacterSet) SetCharacterSetName(v string) *CharacterSet {
+ s.CharacterSetName = &v
+ return s
+}
+
type CopyDBClusterParameterGroupInput struct {
_ struct{} `type:"structure"`
@@ -7787,6 +7961,30 @@ func (s *CopyDBClusterParameterGroupInput) Validate() error {
return nil
}
+// SetSourceDBClusterParameterGroupIdentifier sets the SourceDBClusterParameterGroupIdentifier field's value.
+func (s *CopyDBClusterParameterGroupInput) SetSourceDBClusterParameterGroupIdentifier(v string) *CopyDBClusterParameterGroupInput {
+ s.SourceDBClusterParameterGroupIdentifier = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *CopyDBClusterParameterGroupInput) SetTags(v []*Tag) *CopyDBClusterParameterGroupInput {
+ s.Tags = v
+ return s
+}
+
+// SetTargetDBClusterParameterGroupDescription sets the TargetDBClusterParameterGroupDescription field's value.
+func (s *CopyDBClusterParameterGroupInput) SetTargetDBClusterParameterGroupDescription(v string) *CopyDBClusterParameterGroupInput {
+ s.TargetDBClusterParameterGroupDescription = &v
+ return s
+}
+
+// SetTargetDBClusterParameterGroupIdentifier sets the TargetDBClusterParameterGroupIdentifier field's value.
+func (s *CopyDBClusterParameterGroupInput) SetTargetDBClusterParameterGroupIdentifier(v string) *CopyDBClusterParameterGroupInput {
+ s.TargetDBClusterParameterGroupIdentifier = &v
+ return s
+}
+
type CopyDBClusterParameterGroupOutput struct {
_ struct{} `type:"structure"`
@@ -7809,6 +8007,12 @@ func (s CopyDBClusterParameterGroupOutput) GoString() string {
return s.String()
}
+// SetDBClusterParameterGroup sets the DBClusterParameterGroup field's value.
+func (s *CopyDBClusterParameterGroupOutput) SetDBClusterParameterGroup(v *DBClusterParameterGroup) *CopyDBClusterParameterGroupOutput {
+ s.DBClusterParameterGroup = v
+ return s
+}
+
type CopyDBClusterSnapshotInput struct {
_ struct{} `type:"structure"`
@@ -7874,6 +8078,24 @@ func (s *CopyDBClusterSnapshotInput) Validate() error {
return nil
}
+// SetSourceDBClusterSnapshotIdentifier sets the SourceDBClusterSnapshotIdentifier field's value.
+func (s *CopyDBClusterSnapshotInput) SetSourceDBClusterSnapshotIdentifier(v string) *CopyDBClusterSnapshotInput {
+ s.SourceDBClusterSnapshotIdentifier = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *CopyDBClusterSnapshotInput) SetTags(v []*Tag) *CopyDBClusterSnapshotInput {
+ s.Tags = v
+ return s
+}
+
+// SetTargetDBClusterSnapshotIdentifier sets the TargetDBClusterSnapshotIdentifier field's value.
+func (s *CopyDBClusterSnapshotInput) SetTargetDBClusterSnapshotIdentifier(v string) *CopyDBClusterSnapshotInput {
+ s.TargetDBClusterSnapshotIdentifier = &v
+ return s
+}
+
type CopyDBClusterSnapshotOutput struct {
_ struct{} `type:"structure"`
@@ -7898,6 +8120,12 @@ func (s CopyDBClusterSnapshotOutput) GoString() string {
return s.String()
}
+// SetDBClusterSnapshot sets the DBClusterSnapshot field's value.
+func (s *CopyDBClusterSnapshotOutput) SetDBClusterSnapshot(v *DBClusterSnapshot) *CopyDBClusterSnapshotOutput {
+ s.DBClusterSnapshot = v
+ return s
+}
+
type CopyDBParameterGroupInput struct {
_ struct{} `type:"structure"`
@@ -7970,6 +8198,30 @@ func (s *CopyDBParameterGroupInput) Validate() error {
return nil
}
+// SetSourceDBParameterGroupIdentifier sets the SourceDBParameterGroupIdentifier field's value.
+func (s *CopyDBParameterGroupInput) SetSourceDBParameterGroupIdentifier(v string) *CopyDBParameterGroupInput {
+ s.SourceDBParameterGroupIdentifier = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *CopyDBParameterGroupInput) SetTags(v []*Tag) *CopyDBParameterGroupInput {
+ s.Tags = v
+ return s
+}
+
+// SetTargetDBParameterGroupDescription sets the TargetDBParameterGroupDescription field's value.
+func (s *CopyDBParameterGroupInput) SetTargetDBParameterGroupDescription(v string) *CopyDBParameterGroupInput {
+ s.TargetDBParameterGroupDescription = &v
+ return s
+}
+
+// SetTargetDBParameterGroupIdentifier sets the TargetDBParameterGroupIdentifier field's value.
+func (s *CopyDBParameterGroupInput) SetTargetDBParameterGroupIdentifier(v string) *CopyDBParameterGroupInput {
+ s.TargetDBParameterGroupIdentifier = &v
+ return s
+}
+
type CopyDBParameterGroupOutput struct {
_ struct{} `type:"structure"`
@@ -7991,6 +8243,12 @@ func (s CopyDBParameterGroupOutput) GoString() string {
return s.String()
}
+// SetDBParameterGroup sets the DBParameterGroup field's value.
+func (s *CopyDBParameterGroupOutput) SetDBParameterGroup(v *DBParameterGroup) *CopyDBParameterGroupOutput {
+ s.DBParameterGroup = v
+ return s
+}
+
type CopyDBSnapshotInput struct {
_ struct{} `type:"structure"`
@@ -8085,6 +8343,36 @@ func (s *CopyDBSnapshotInput) Validate() error {
return nil
}
+// SetCopyTags sets the CopyTags field's value.
+func (s *CopyDBSnapshotInput) SetCopyTags(v bool) *CopyDBSnapshotInput {
+ s.CopyTags = &v
+ return s
+}
+
+// SetKmsKeyId sets the KmsKeyId field's value.
+func (s *CopyDBSnapshotInput) SetKmsKeyId(v string) *CopyDBSnapshotInput {
+ s.KmsKeyId = &v
+ return s
+}
+
+// SetSourceDBSnapshotIdentifier sets the SourceDBSnapshotIdentifier field's value.
+func (s *CopyDBSnapshotInput) SetSourceDBSnapshotIdentifier(v string) *CopyDBSnapshotInput {
+ s.SourceDBSnapshotIdentifier = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *CopyDBSnapshotInput) SetTags(v []*Tag) *CopyDBSnapshotInput {
+ s.Tags = v
+ return s
+}
+
+// SetTargetDBSnapshotIdentifier sets the TargetDBSnapshotIdentifier field's value.
+func (s *CopyDBSnapshotInput) SetTargetDBSnapshotIdentifier(v string) *CopyDBSnapshotInput {
+ s.TargetDBSnapshotIdentifier = &v
+ return s
+}
+
type CopyDBSnapshotOutput struct {
_ struct{} `type:"structure"`
@@ -8108,6 +8396,12 @@ func (s CopyDBSnapshotOutput) GoString() string {
return s.String()
}
+// SetDBSnapshot sets the DBSnapshot field's value.
+func (s *CopyDBSnapshotOutput) SetDBSnapshot(v *DBSnapshot) *CopyDBSnapshotOutput {
+ s.DBSnapshot = v
+ return s
+}
+
type CopyOptionGroupInput struct {
_ struct{} `type:"structure"`
@@ -8183,6 +8477,30 @@ func (s *CopyOptionGroupInput) Validate() error {
return nil
}
+// SetSourceOptionGroupIdentifier sets the SourceOptionGroupIdentifier field's value.
+func (s *CopyOptionGroupInput) SetSourceOptionGroupIdentifier(v string) *CopyOptionGroupInput {
+ s.SourceOptionGroupIdentifier = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *CopyOptionGroupInput) SetTags(v []*Tag) *CopyOptionGroupInput {
+ s.Tags = v
+ return s
+}
+
+// SetTargetOptionGroupDescription sets the TargetOptionGroupDescription field's value.
+func (s *CopyOptionGroupInput) SetTargetOptionGroupDescription(v string) *CopyOptionGroupInput {
+ s.TargetOptionGroupDescription = &v
+ return s
+}
+
+// SetTargetOptionGroupIdentifier sets the TargetOptionGroupIdentifier field's value.
+func (s *CopyOptionGroupInput) SetTargetOptionGroupIdentifier(v string) *CopyOptionGroupInput {
+ s.TargetOptionGroupIdentifier = &v
+ return s
+}
+
type CopyOptionGroupOutput struct {
_ struct{} `type:"structure"`
@@ -8199,6 +8517,12 @@ func (s CopyOptionGroupOutput) GoString() string {
return s.String()
}
+// SetOptionGroup sets the OptionGroup field's value.
+func (s *CopyOptionGroupOutput) SetOptionGroup(v *OptionGroup) *CopyOptionGroupOutput {
+ s.OptionGroup = v
+ return s
+}
+
type CreateDBClusterInput struct {
_ struct{} `type:"structure"`
@@ -8391,6 +8715,126 @@ func (s *CreateDBClusterInput) Validate() error {
return nil
}
+// SetAvailabilityZones sets the AvailabilityZones field's value.
+func (s *CreateDBClusterInput) SetAvailabilityZones(v []*string) *CreateDBClusterInput {
+ s.AvailabilityZones = v
+ return s
+}
+
+// SetBackupRetentionPeriod sets the BackupRetentionPeriod field's value.
+func (s *CreateDBClusterInput) SetBackupRetentionPeriod(v int64) *CreateDBClusterInput {
+ s.BackupRetentionPeriod = &v
+ return s
+}
+
+// SetCharacterSetName sets the CharacterSetName field's value.
+func (s *CreateDBClusterInput) SetCharacterSetName(v string) *CreateDBClusterInput {
+ s.CharacterSetName = &v
+ return s
+}
+
+// SetDBClusterIdentifier sets the DBClusterIdentifier field's value.
+func (s *CreateDBClusterInput) SetDBClusterIdentifier(v string) *CreateDBClusterInput {
+ s.DBClusterIdentifier = &v
+ return s
+}
+
+// SetDBClusterParameterGroupName sets the DBClusterParameterGroupName field's value.
+func (s *CreateDBClusterInput) SetDBClusterParameterGroupName(v string) *CreateDBClusterInput {
+ s.DBClusterParameterGroupName = &v
+ return s
+}
+
+// SetDBSubnetGroupName sets the DBSubnetGroupName field's value.
+func (s *CreateDBClusterInput) SetDBSubnetGroupName(v string) *CreateDBClusterInput {
+ s.DBSubnetGroupName = &v
+ return s
+}
+
+// SetDatabaseName sets the DatabaseName field's value.
+func (s *CreateDBClusterInput) SetDatabaseName(v string) *CreateDBClusterInput {
+ s.DatabaseName = &v
+ return s
+}
+
+// SetEngine sets the Engine field's value.
+func (s *CreateDBClusterInput) SetEngine(v string) *CreateDBClusterInput {
+ s.Engine = &v
+ return s
+}
+
+// SetEngineVersion sets the EngineVersion field's value.
+func (s *CreateDBClusterInput) SetEngineVersion(v string) *CreateDBClusterInput {
+ s.EngineVersion = &v
+ return s
+}
+
+// SetKmsKeyId sets the KmsKeyId field's value.
+func (s *CreateDBClusterInput) SetKmsKeyId(v string) *CreateDBClusterInput {
+ s.KmsKeyId = &v
+ return s
+}
+
+// SetMasterUserPassword sets the MasterUserPassword field's value.
+func (s *CreateDBClusterInput) SetMasterUserPassword(v string) *CreateDBClusterInput {
+ s.MasterUserPassword = &v
+ return s
+}
+
+// SetMasterUsername sets the MasterUsername field's value.
+func (s *CreateDBClusterInput) SetMasterUsername(v string) *CreateDBClusterInput {
+ s.MasterUsername = &v
+ return s
+}
+
+// SetOptionGroupName sets the OptionGroupName field's value.
+func (s *CreateDBClusterInput) SetOptionGroupName(v string) *CreateDBClusterInput {
+ s.OptionGroupName = &v
+ return s
+}
+
+// SetPort sets the Port field's value.
+func (s *CreateDBClusterInput) SetPort(v int64) *CreateDBClusterInput {
+ s.Port = &v
+ return s
+}
+
+// SetPreferredBackupWindow sets the PreferredBackupWindow field's value.
+func (s *CreateDBClusterInput) SetPreferredBackupWindow(v string) *CreateDBClusterInput {
+ s.PreferredBackupWindow = &v
+ return s
+}
+
+// SetPreferredMaintenanceWindow sets the PreferredMaintenanceWindow field's value.
+func (s *CreateDBClusterInput) SetPreferredMaintenanceWindow(v string) *CreateDBClusterInput {
+ s.PreferredMaintenanceWindow = &v
+ return s
+}
+
+// SetReplicationSourceIdentifier sets the ReplicationSourceIdentifier field's value.
+func (s *CreateDBClusterInput) SetReplicationSourceIdentifier(v string) *CreateDBClusterInput {
+ s.ReplicationSourceIdentifier = &v
+ return s
+}
+
+// SetStorageEncrypted sets the StorageEncrypted field's value.
+func (s *CreateDBClusterInput) SetStorageEncrypted(v bool) *CreateDBClusterInput {
+ s.StorageEncrypted = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *CreateDBClusterInput) SetTags(v []*Tag) *CreateDBClusterInput {
+ s.Tags = v
+ return s
+}
+
+// SetVpcSecurityGroupIds sets the VpcSecurityGroupIds field's value.
+func (s *CreateDBClusterInput) SetVpcSecurityGroupIds(v []*string) *CreateDBClusterInput {
+ s.VpcSecurityGroupIds = v
+ return s
+}
+
type CreateDBClusterOutput struct {
_ struct{} `type:"structure"`
@@ -8422,6 +8866,12 @@ func (s CreateDBClusterOutput) GoString() string {
return s.String()
}
+// SetDBCluster sets the DBCluster field's value.
+func (s *CreateDBClusterOutput) SetDBCluster(v *DBCluster) *CreateDBClusterOutput {
+ s.DBCluster = v
+ return s
+}
+
type CreateDBClusterParameterGroupInput struct {
_ struct{} `type:"structure"`
@@ -8486,6 +8936,30 @@ func (s *CreateDBClusterParameterGroupInput) Validate() error {
return nil
}
+// SetDBClusterParameterGroupName sets the DBClusterParameterGroupName field's value.
+func (s *CreateDBClusterParameterGroupInput) SetDBClusterParameterGroupName(v string) *CreateDBClusterParameterGroupInput {
+ s.DBClusterParameterGroupName = &v
+ return s
+}
+
+// SetDBParameterGroupFamily sets the DBParameterGroupFamily field's value.
+func (s *CreateDBClusterParameterGroupInput) SetDBParameterGroupFamily(v string) *CreateDBClusterParameterGroupInput {
+ s.DBParameterGroupFamily = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *CreateDBClusterParameterGroupInput) SetDescription(v string) *CreateDBClusterParameterGroupInput {
+ s.Description = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *CreateDBClusterParameterGroupInput) SetTags(v []*Tag) *CreateDBClusterParameterGroupInput {
+ s.Tags = v
+ return s
+}
+
type CreateDBClusterParameterGroupOutput struct {
_ struct{} `type:"structure"`
@@ -8508,6 +8982,12 @@ func (s CreateDBClusterParameterGroupOutput) GoString() string {
return s.String()
}
+// SetDBClusterParameterGroup sets the DBClusterParameterGroup field's value.
+func (s *CreateDBClusterParameterGroupOutput) SetDBClusterParameterGroup(v *DBClusterParameterGroup) *CreateDBClusterParameterGroupOutput {
+ s.DBClusterParameterGroup = v
+ return s
+}
+
type CreateDBClusterSnapshotInput struct {
_ struct{} `type:"structure"`
@@ -8573,6 +9053,24 @@ func (s *CreateDBClusterSnapshotInput) Validate() error {
return nil
}
+// SetDBClusterIdentifier sets the DBClusterIdentifier field's value.
+func (s *CreateDBClusterSnapshotInput) SetDBClusterIdentifier(v string) *CreateDBClusterSnapshotInput {
+ s.DBClusterIdentifier = &v
+ return s
+}
+
+// SetDBClusterSnapshotIdentifier sets the DBClusterSnapshotIdentifier field's value.
+func (s *CreateDBClusterSnapshotInput) SetDBClusterSnapshotIdentifier(v string) *CreateDBClusterSnapshotInput {
+ s.DBClusterSnapshotIdentifier = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *CreateDBClusterSnapshotInput) SetTags(v []*Tag) *CreateDBClusterSnapshotInput {
+ s.Tags = v
+ return s
+}
+
type CreateDBClusterSnapshotOutput struct {
_ struct{} `type:"structure"`
@@ -8597,6 +9095,12 @@ func (s CreateDBClusterSnapshotOutput) GoString() string {
return s.String()
}
+// SetDBClusterSnapshot sets the DBClusterSnapshot field's value.
+func (s *CreateDBClusterSnapshotOutput) SetDBClusterSnapshot(v *DBClusterSnapshot) *CreateDBClusterSnapshotOutput {
+ s.DBClusterSnapshot = v
+ return s
+}
+
type CreateDBInstanceInput struct {
_ struct{} `type:"structure"`
@@ -9320,6 +9824,234 @@ func (s *CreateDBInstanceInput) Validate() error {
return nil
}
+// SetAllocatedStorage sets the AllocatedStorage field's value.
+func (s *CreateDBInstanceInput) SetAllocatedStorage(v int64) *CreateDBInstanceInput {
+ s.AllocatedStorage = &v
+ return s
+}
+
+// SetAutoMinorVersionUpgrade sets the AutoMinorVersionUpgrade field's value.
+func (s *CreateDBInstanceInput) SetAutoMinorVersionUpgrade(v bool) *CreateDBInstanceInput {
+ s.AutoMinorVersionUpgrade = &v
+ return s
+}
+
+// SetAvailabilityZone sets the AvailabilityZone field's value.
+func (s *CreateDBInstanceInput) SetAvailabilityZone(v string) *CreateDBInstanceInput {
+ s.AvailabilityZone = &v
+ return s
+}
+
+// SetBackupRetentionPeriod sets the BackupRetentionPeriod field's value.
+func (s *CreateDBInstanceInput) SetBackupRetentionPeriod(v int64) *CreateDBInstanceInput {
+ s.BackupRetentionPeriod = &v
+ return s
+}
+
+// SetCharacterSetName sets the CharacterSetName field's value.
+func (s *CreateDBInstanceInput) SetCharacterSetName(v string) *CreateDBInstanceInput {
+ s.CharacterSetName = &v
+ return s
+}
+
+// SetCopyTagsToSnapshot sets the CopyTagsToSnapshot field's value.
+func (s *CreateDBInstanceInput) SetCopyTagsToSnapshot(v bool) *CreateDBInstanceInput {
+ s.CopyTagsToSnapshot = &v
+ return s
+}
+
+// SetDBClusterIdentifier sets the DBClusterIdentifier field's value.
+func (s *CreateDBInstanceInput) SetDBClusterIdentifier(v string) *CreateDBInstanceInput {
+ s.DBClusterIdentifier = &v
+ return s
+}
+
+// SetDBInstanceClass sets the DBInstanceClass field's value.
+func (s *CreateDBInstanceInput) SetDBInstanceClass(v string) *CreateDBInstanceInput {
+ s.DBInstanceClass = &v
+ return s
+}
+
+// SetDBInstanceIdentifier sets the DBInstanceIdentifier field's value.
+func (s *CreateDBInstanceInput) SetDBInstanceIdentifier(v string) *CreateDBInstanceInput {
+ s.DBInstanceIdentifier = &v
+ return s
+}
+
+// SetDBName sets the DBName field's value.
+func (s *CreateDBInstanceInput) SetDBName(v string) *CreateDBInstanceInput {
+ s.DBName = &v
+ return s
+}
+
+// SetDBParameterGroupName sets the DBParameterGroupName field's value.
+func (s *CreateDBInstanceInput) SetDBParameterGroupName(v string) *CreateDBInstanceInput {
+ s.DBParameterGroupName = &v
+ return s
+}
+
+// SetDBSecurityGroups sets the DBSecurityGroups field's value.
+func (s *CreateDBInstanceInput) SetDBSecurityGroups(v []*string) *CreateDBInstanceInput {
+ s.DBSecurityGroups = v
+ return s
+}
+
+// SetDBSubnetGroupName sets the DBSubnetGroupName field's value.
+func (s *CreateDBInstanceInput) SetDBSubnetGroupName(v string) *CreateDBInstanceInput {
+ s.DBSubnetGroupName = &v
+ return s
+}
+
+// SetDomain sets the Domain field's value.
+func (s *CreateDBInstanceInput) SetDomain(v string) *CreateDBInstanceInput {
+ s.Domain = &v
+ return s
+}
+
+// SetDomainIAMRoleName sets the DomainIAMRoleName field's value.
+func (s *CreateDBInstanceInput) SetDomainIAMRoleName(v string) *CreateDBInstanceInput {
+ s.DomainIAMRoleName = &v
+ return s
+}
+
+// SetEngine sets the Engine field's value.
+func (s *CreateDBInstanceInput) SetEngine(v string) *CreateDBInstanceInput {
+ s.Engine = &v
+ return s
+}
+
+// SetEngineVersion sets the EngineVersion field's value.
+func (s *CreateDBInstanceInput) SetEngineVersion(v string) *CreateDBInstanceInput {
+ s.EngineVersion = &v
+ return s
+}
+
+// SetIops sets the Iops field's value.
+func (s *CreateDBInstanceInput) SetIops(v int64) *CreateDBInstanceInput {
+ s.Iops = &v
+ return s
+}
+
+// SetKmsKeyId sets the KmsKeyId field's value.
+func (s *CreateDBInstanceInput) SetKmsKeyId(v string) *CreateDBInstanceInput {
+ s.KmsKeyId = &v
+ return s
+}
+
+// SetLicenseModel sets the LicenseModel field's value.
+func (s *CreateDBInstanceInput) SetLicenseModel(v string) *CreateDBInstanceInput {
+ s.LicenseModel = &v
+ return s
+}
+
+// SetMasterUserPassword sets the MasterUserPassword field's value.
+func (s *CreateDBInstanceInput) SetMasterUserPassword(v string) *CreateDBInstanceInput {
+ s.MasterUserPassword = &v
+ return s
+}
+
+// SetMasterUsername sets the MasterUsername field's value.
+func (s *CreateDBInstanceInput) SetMasterUsername(v string) *CreateDBInstanceInput {
+ s.MasterUsername = &v
+ return s
+}
+
+// SetMonitoringInterval sets the MonitoringInterval field's value.
+func (s *CreateDBInstanceInput) SetMonitoringInterval(v int64) *CreateDBInstanceInput {
+ s.MonitoringInterval = &v
+ return s
+}
+
+// SetMonitoringRoleArn sets the MonitoringRoleArn field's value.
+func (s *CreateDBInstanceInput) SetMonitoringRoleArn(v string) *CreateDBInstanceInput {
+ s.MonitoringRoleArn = &v
+ return s
+}
+
+// SetMultiAZ sets the MultiAZ field's value.
+func (s *CreateDBInstanceInput) SetMultiAZ(v bool) *CreateDBInstanceInput {
+ s.MultiAZ = &v
+ return s
+}
+
+// SetOptionGroupName sets the OptionGroupName field's value.
+func (s *CreateDBInstanceInput) SetOptionGroupName(v string) *CreateDBInstanceInput {
+ s.OptionGroupName = &v
+ return s
+}
+
+// SetPort sets the Port field's value.
+func (s *CreateDBInstanceInput) SetPort(v int64) *CreateDBInstanceInput {
+ s.Port = &v
+ return s
+}
+
+// SetPreferredBackupWindow sets the PreferredBackupWindow field's value.
+func (s *CreateDBInstanceInput) SetPreferredBackupWindow(v string) *CreateDBInstanceInput {
+ s.PreferredBackupWindow = &v
+ return s
+}
+
+// SetPreferredMaintenanceWindow sets the PreferredMaintenanceWindow field's value.
+func (s *CreateDBInstanceInput) SetPreferredMaintenanceWindow(v string) *CreateDBInstanceInput {
+ s.PreferredMaintenanceWindow = &v
+ return s
+}
+
+// SetPromotionTier sets the PromotionTier field's value.
+func (s *CreateDBInstanceInput) SetPromotionTier(v int64) *CreateDBInstanceInput {
+ s.PromotionTier = &v
+ return s
+}
+
+// SetPubliclyAccessible sets the PubliclyAccessible field's value.
+func (s *CreateDBInstanceInput) SetPubliclyAccessible(v bool) *CreateDBInstanceInput {
+ s.PubliclyAccessible = &v
+ return s
+}
+
+// SetStorageEncrypted sets the StorageEncrypted field's value.
+func (s *CreateDBInstanceInput) SetStorageEncrypted(v bool) *CreateDBInstanceInput {
+ s.StorageEncrypted = &v
+ return s
+}
+
+// SetStorageType sets the StorageType field's value.
+func (s *CreateDBInstanceInput) SetStorageType(v string) *CreateDBInstanceInput {
+ s.StorageType = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *CreateDBInstanceInput) SetTags(v []*Tag) *CreateDBInstanceInput {
+ s.Tags = v
+ return s
+}
+
+// SetTdeCredentialArn sets the TdeCredentialArn field's value.
+func (s *CreateDBInstanceInput) SetTdeCredentialArn(v string) *CreateDBInstanceInput {
+ s.TdeCredentialArn = &v
+ return s
+}
+
+// SetTdeCredentialPassword sets the TdeCredentialPassword field's value.
+func (s *CreateDBInstanceInput) SetTdeCredentialPassword(v string) *CreateDBInstanceInput {
+ s.TdeCredentialPassword = &v
+ return s
+}
+
+// SetTimezone sets the Timezone field's value.
+func (s *CreateDBInstanceInput) SetTimezone(v string) *CreateDBInstanceInput {
+ s.Timezone = &v
+ return s
+}
+
+// SetVpcSecurityGroupIds sets the VpcSecurityGroupIds field's value.
+func (s *CreateDBInstanceInput) SetVpcSecurityGroupIds(v []*string) *CreateDBInstanceInput {
+ s.VpcSecurityGroupIds = v
+ return s
+}
+
type CreateDBInstanceOutput struct {
_ struct{} `type:"structure"`
@@ -9345,6 +10077,12 @@ func (s CreateDBInstanceOutput) GoString() string {
return s.String()
}
+// SetDBInstance sets the DBInstance field's value.
+func (s *CreateDBInstanceOutput) SetDBInstance(v *DBInstance) *CreateDBInstanceOutput {
+ s.DBInstance = v
+ return s
+}
+
type CreateDBInstanceReadReplicaInput struct {
_ struct{} `type:"structure"`
@@ -9528,16 +10266,106 @@ func (s *CreateDBInstanceReadReplicaInput) Validate() error {
return nil
}
-type CreateDBInstanceReadReplicaOutput struct {
- _ struct{} `type:"structure"`
+// SetAutoMinorVersionUpgrade sets the AutoMinorVersionUpgrade field's value.
+func (s *CreateDBInstanceReadReplicaInput) SetAutoMinorVersionUpgrade(v bool) *CreateDBInstanceReadReplicaInput {
+ s.AutoMinorVersionUpgrade = &v
+ return s
+}
- // Contains the result of a successful invocation of the following actions:
- //
- // * CreateDBInstance
- //
- // * DeleteDBInstance
- //
- // * ModifyDBInstance
+// SetAvailabilityZone sets the AvailabilityZone field's value.
+func (s *CreateDBInstanceReadReplicaInput) SetAvailabilityZone(v string) *CreateDBInstanceReadReplicaInput {
+ s.AvailabilityZone = &v
+ return s
+}
+
+// SetCopyTagsToSnapshot sets the CopyTagsToSnapshot field's value.
+func (s *CreateDBInstanceReadReplicaInput) SetCopyTagsToSnapshot(v bool) *CreateDBInstanceReadReplicaInput {
+ s.CopyTagsToSnapshot = &v
+ return s
+}
+
+// SetDBInstanceClass sets the DBInstanceClass field's value.
+func (s *CreateDBInstanceReadReplicaInput) SetDBInstanceClass(v string) *CreateDBInstanceReadReplicaInput {
+ s.DBInstanceClass = &v
+ return s
+}
+
+// SetDBInstanceIdentifier sets the DBInstanceIdentifier field's value.
+func (s *CreateDBInstanceReadReplicaInput) SetDBInstanceIdentifier(v string) *CreateDBInstanceReadReplicaInput {
+ s.DBInstanceIdentifier = &v
+ return s
+}
+
+// SetDBSubnetGroupName sets the DBSubnetGroupName field's value.
+func (s *CreateDBInstanceReadReplicaInput) SetDBSubnetGroupName(v string) *CreateDBInstanceReadReplicaInput {
+ s.DBSubnetGroupName = &v
+ return s
+}
+
+// SetIops sets the Iops field's value.
+func (s *CreateDBInstanceReadReplicaInput) SetIops(v int64) *CreateDBInstanceReadReplicaInput {
+ s.Iops = &v
+ return s
+}
+
+// SetMonitoringInterval sets the MonitoringInterval field's value.
+func (s *CreateDBInstanceReadReplicaInput) SetMonitoringInterval(v int64) *CreateDBInstanceReadReplicaInput {
+ s.MonitoringInterval = &v
+ return s
+}
+
+// SetMonitoringRoleArn sets the MonitoringRoleArn field's value.
+func (s *CreateDBInstanceReadReplicaInput) SetMonitoringRoleArn(v string) *CreateDBInstanceReadReplicaInput {
+ s.MonitoringRoleArn = &v
+ return s
+}
+
+// SetOptionGroupName sets the OptionGroupName field's value.
+func (s *CreateDBInstanceReadReplicaInput) SetOptionGroupName(v string) *CreateDBInstanceReadReplicaInput {
+ s.OptionGroupName = &v
+ return s
+}
+
+// SetPort sets the Port field's value.
+func (s *CreateDBInstanceReadReplicaInput) SetPort(v int64) *CreateDBInstanceReadReplicaInput {
+ s.Port = &v
+ return s
+}
+
+// SetPubliclyAccessible sets the PubliclyAccessible field's value.
+func (s *CreateDBInstanceReadReplicaInput) SetPubliclyAccessible(v bool) *CreateDBInstanceReadReplicaInput {
+ s.PubliclyAccessible = &v
+ return s
+}
+
+// SetSourceDBInstanceIdentifier sets the SourceDBInstanceIdentifier field's value.
+func (s *CreateDBInstanceReadReplicaInput) SetSourceDBInstanceIdentifier(v string) *CreateDBInstanceReadReplicaInput {
+ s.SourceDBInstanceIdentifier = &v
+ return s
+}
+
+// SetStorageType sets the StorageType field's value.
+func (s *CreateDBInstanceReadReplicaInput) SetStorageType(v string) *CreateDBInstanceReadReplicaInput {
+ s.StorageType = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *CreateDBInstanceReadReplicaInput) SetTags(v []*Tag) *CreateDBInstanceReadReplicaInput {
+ s.Tags = v
+ return s
+}
+
+type CreateDBInstanceReadReplicaOutput struct {
+ _ struct{} `type:"structure"`
+
+ // Contains the result of a successful invocation of the following actions:
+ //
+ // * CreateDBInstance
+ //
+ // * DeleteDBInstance
+ //
+ // * ModifyDBInstance
//
// This data type is used as a response element in the DescribeDBInstances action.
DBInstance *DBInstance `type:"structure"`
@@ -9553,6 +10381,12 @@ func (s CreateDBInstanceReadReplicaOutput) GoString() string {
return s.String()
}
+// SetDBInstance sets the DBInstance field's value.
+func (s *CreateDBInstanceReadReplicaOutput) SetDBInstance(v *DBInstance) *CreateDBInstanceReadReplicaOutput {
+ s.DBInstance = v
+ return s
+}
+
type CreateDBParameterGroupInput struct {
_ struct{} `type:"structure"`
@@ -9617,6 +10451,30 @@ func (s *CreateDBParameterGroupInput) Validate() error {
return nil
}
+// SetDBParameterGroupFamily sets the DBParameterGroupFamily field's value.
+func (s *CreateDBParameterGroupInput) SetDBParameterGroupFamily(v string) *CreateDBParameterGroupInput {
+ s.DBParameterGroupFamily = &v
+ return s
+}
+
+// SetDBParameterGroupName sets the DBParameterGroupName field's value.
+func (s *CreateDBParameterGroupInput) SetDBParameterGroupName(v string) *CreateDBParameterGroupInput {
+ s.DBParameterGroupName = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *CreateDBParameterGroupInput) SetDescription(v string) *CreateDBParameterGroupInput {
+ s.Description = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *CreateDBParameterGroupInput) SetTags(v []*Tag) *CreateDBParameterGroupInput {
+ s.Tags = v
+ return s
+}
+
type CreateDBParameterGroupOutput struct {
_ struct{} `type:"structure"`
@@ -9638,6 +10496,12 @@ func (s CreateDBParameterGroupOutput) GoString() string {
return s.String()
}
+// SetDBParameterGroup sets the DBParameterGroup field's value.
+func (s *CreateDBParameterGroupOutput) SetDBParameterGroup(v *DBParameterGroup) *CreateDBParameterGroupOutput {
+ s.DBParameterGroup = v
+ return s
+}
+
type CreateDBSecurityGroupInput struct {
_ struct{} `type:"structure"`
@@ -9693,6 +10557,24 @@ func (s *CreateDBSecurityGroupInput) Validate() error {
return nil
}
+// SetDBSecurityGroupDescription sets the DBSecurityGroupDescription field's value.
+func (s *CreateDBSecurityGroupInput) SetDBSecurityGroupDescription(v string) *CreateDBSecurityGroupInput {
+ s.DBSecurityGroupDescription = &v
+ return s
+}
+
+// SetDBSecurityGroupName sets the DBSecurityGroupName field's value.
+func (s *CreateDBSecurityGroupInput) SetDBSecurityGroupName(v string) *CreateDBSecurityGroupInput {
+ s.DBSecurityGroupName = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *CreateDBSecurityGroupInput) SetTags(v []*Tag) *CreateDBSecurityGroupInput {
+ s.Tags = v
+ return s
+}
+
type CreateDBSecurityGroupOutput struct {
_ struct{} `type:"structure"`
@@ -9721,6 +10603,12 @@ func (s CreateDBSecurityGroupOutput) GoString() string {
return s.String()
}
+// SetDBSecurityGroup sets the DBSecurityGroup field's value.
+func (s *CreateDBSecurityGroupOutput) SetDBSecurityGroup(v *DBSecurityGroup) *CreateDBSecurityGroupOutput {
+ s.DBSecurityGroup = v
+ return s
+}
+
type CreateDBSnapshotInput struct {
_ struct{} `type:"structure"`
@@ -9784,6 +10672,24 @@ func (s *CreateDBSnapshotInput) Validate() error {
return nil
}
+// SetDBInstanceIdentifier sets the DBInstanceIdentifier field's value.
+func (s *CreateDBSnapshotInput) SetDBInstanceIdentifier(v string) *CreateDBSnapshotInput {
+ s.DBInstanceIdentifier = &v
+ return s
+}
+
+// SetDBSnapshotIdentifier sets the DBSnapshotIdentifier field's value.
+func (s *CreateDBSnapshotInput) SetDBSnapshotIdentifier(v string) *CreateDBSnapshotInput {
+ s.DBSnapshotIdentifier = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *CreateDBSnapshotInput) SetTags(v []*Tag) *CreateDBSnapshotInput {
+ s.Tags = v
+ return s
+}
+
type CreateDBSnapshotOutput struct {
_ struct{} `type:"structure"`
@@ -9807,6 +10713,12 @@ func (s CreateDBSnapshotOutput) GoString() string {
return s.String()
}
+// SetDBSnapshot sets the DBSnapshot field's value.
+func (s *CreateDBSnapshotOutput) SetDBSnapshot(v *DBSnapshot) *CreateDBSnapshotOutput {
+ s.DBSnapshot = v
+ return s
+}
+
type CreateDBSubnetGroupInput struct {
_ struct{} `type:"structure"`
@@ -9863,6 +10775,30 @@ func (s *CreateDBSubnetGroupInput) Validate() error {
return nil
}
+// SetDBSubnetGroupDescription sets the DBSubnetGroupDescription field's value.
+func (s *CreateDBSubnetGroupInput) SetDBSubnetGroupDescription(v string) *CreateDBSubnetGroupInput {
+ s.DBSubnetGroupDescription = &v
+ return s
+}
+
+// SetDBSubnetGroupName sets the DBSubnetGroupName field's value.
+func (s *CreateDBSubnetGroupInput) SetDBSubnetGroupName(v string) *CreateDBSubnetGroupInput {
+ s.DBSubnetGroupName = &v
+ return s
+}
+
+// SetSubnetIds sets the SubnetIds field's value.
+func (s *CreateDBSubnetGroupInput) SetSubnetIds(v []*string) *CreateDBSubnetGroupInput {
+ s.SubnetIds = v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *CreateDBSubnetGroupInput) SetTags(v []*Tag) *CreateDBSubnetGroupInput {
+ s.Tags = v
+ return s
+}
+
type CreateDBSubnetGroupOutput struct {
_ struct{} `type:"structure"`
@@ -9891,6 +10827,12 @@ func (s CreateDBSubnetGroupOutput) GoString() string {
return s.String()
}
+// SetDBSubnetGroup sets the DBSubnetGroup field's value.
+func (s *CreateDBSubnetGroupOutput) SetDBSubnetGroup(v *DBSubnetGroup) *CreateDBSubnetGroupOutput {
+ s.DBSubnetGroup = v
+ return s
+}
+
type CreateEventSubscriptionInput struct {
_ struct{} `type:"structure"`
@@ -9980,6 +10922,48 @@ func (s *CreateEventSubscriptionInput) Validate() error {
return nil
}
+// SetEnabled sets the Enabled field's value.
+func (s *CreateEventSubscriptionInput) SetEnabled(v bool) *CreateEventSubscriptionInput {
+ s.Enabled = &v
+ return s
+}
+
+// SetEventCategories sets the EventCategories field's value.
+func (s *CreateEventSubscriptionInput) SetEventCategories(v []*string) *CreateEventSubscriptionInput {
+ s.EventCategories = v
+ return s
+}
+
+// SetSnsTopicArn sets the SnsTopicArn field's value.
+func (s *CreateEventSubscriptionInput) SetSnsTopicArn(v string) *CreateEventSubscriptionInput {
+ s.SnsTopicArn = &v
+ return s
+}
+
+// SetSourceIds sets the SourceIds field's value.
+func (s *CreateEventSubscriptionInput) SetSourceIds(v []*string) *CreateEventSubscriptionInput {
+ s.SourceIds = v
+ return s
+}
+
+// SetSourceType sets the SourceType field's value.
+func (s *CreateEventSubscriptionInput) SetSourceType(v string) *CreateEventSubscriptionInput {
+ s.SourceType = &v
+ return s
+}
+
+// SetSubscriptionName sets the SubscriptionName field's value.
+func (s *CreateEventSubscriptionInput) SetSubscriptionName(v string) *CreateEventSubscriptionInput {
+ s.SubscriptionName = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *CreateEventSubscriptionInput) SetTags(v []*Tag) *CreateEventSubscriptionInput {
+ s.Tags = v
+ return s
+}
+
type CreateEventSubscriptionOutput struct {
_ struct{} `type:"structure"`
@@ -9998,6 +10982,12 @@ func (s CreateEventSubscriptionOutput) GoString() string {
return s.String()
}
+// SetEventSubscription sets the EventSubscription field's value.
+func (s *CreateEventSubscriptionOutput) SetEventSubscription(v *EventSubscription) *CreateEventSubscriptionOutput {
+ s.EventSubscription = v
+ return s
+}
+
type CreateOptionGroupInput struct {
_ struct{} `type:"structure"`
@@ -10069,6 +11059,36 @@ func (s *CreateOptionGroupInput) Validate() error {
return nil
}
+// SetEngineName sets the EngineName field's value.
+func (s *CreateOptionGroupInput) SetEngineName(v string) *CreateOptionGroupInput {
+ s.EngineName = &v
+ return s
+}
+
+// SetMajorEngineVersion sets the MajorEngineVersion field's value.
+func (s *CreateOptionGroupInput) SetMajorEngineVersion(v string) *CreateOptionGroupInput {
+ s.MajorEngineVersion = &v
+ return s
+}
+
+// SetOptionGroupDescription sets the OptionGroupDescription field's value.
+func (s *CreateOptionGroupInput) SetOptionGroupDescription(v string) *CreateOptionGroupInput {
+ s.OptionGroupDescription = &v
+ return s
+}
+
+// SetOptionGroupName sets the OptionGroupName field's value.
+func (s *CreateOptionGroupInput) SetOptionGroupName(v string) *CreateOptionGroupInput {
+ s.OptionGroupName = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *CreateOptionGroupInput) SetTags(v []*Tag) *CreateOptionGroupInput {
+ s.Tags = v
+ return s
+}
+
type CreateOptionGroupOutput struct {
_ struct{} `type:"structure"`
@@ -10085,6 +11105,12 @@ func (s CreateOptionGroupOutput) GoString() string {
return s.String()
}
+// SetOptionGroup sets the OptionGroup field's value.
+func (s *CreateOptionGroupOutput) SetOptionGroup(v *OptionGroup) *CreateOptionGroupOutput {
+ s.OptionGroup = v
+ return s
+}
+
// Contains the result of a successful invocation of the following actions:
//
// * CreateDBCluster
@@ -10235,6 +11261,192 @@ func (s DBCluster) GoString() string {
return s.String()
}
+// SetAllocatedStorage sets the AllocatedStorage field's value.
+func (s *DBCluster) SetAllocatedStorage(v int64) *DBCluster {
+ s.AllocatedStorage = &v
+ return s
+}
+
+// SetAssociatedRoles sets the AssociatedRoles field's value.
+func (s *DBCluster) SetAssociatedRoles(v []*DBClusterRole) *DBCluster {
+ s.AssociatedRoles = v
+ return s
+}
+
+// SetAvailabilityZones sets the AvailabilityZones field's value.
+func (s *DBCluster) SetAvailabilityZones(v []*string) *DBCluster {
+ s.AvailabilityZones = v
+ return s
+}
+
+// SetBackupRetentionPeriod sets the BackupRetentionPeriod field's value.
+func (s *DBCluster) SetBackupRetentionPeriod(v int64) *DBCluster {
+ s.BackupRetentionPeriod = &v
+ return s
+}
+
+// SetCharacterSetName sets the CharacterSetName field's value.
+func (s *DBCluster) SetCharacterSetName(v string) *DBCluster {
+ s.CharacterSetName = &v
+ return s
+}
+
+// SetDBClusterArn sets the DBClusterArn field's value.
+func (s *DBCluster) SetDBClusterArn(v string) *DBCluster {
+ s.DBClusterArn = &v
+ return s
+}
+
+// SetDBClusterIdentifier sets the DBClusterIdentifier field's value.
+func (s *DBCluster) SetDBClusterIdentifier(v string) *DBCluster {
+ s.DBClusterIdentifier = &v
+ return s
+}
+
+// SetDBClusterMembers sets the DBClusterMembers field's value.
+func (s *DBCluster) SetDBClusterMembers(v []*DBClusterMember) *DBCluster {
+ s.DBClusterMembers = v
+ return s
+}
+
+// SetDBClusterOptionGroupMemberships sets the DBClusterOptionGroupMemberships field's value.
+func (s *DBCluster) SetDBClusterOptionGroupMemberships(v []*DBClusterOptionGroupStatus) *DBCluster {
+ s.DBClusterOptionGroupMemberships = v
+ return s
+}
+
+// SetDBClusterParameterGroup sets the DBClusterParameterGroup field's value.
+func (s *DBCluster) SetDBClusterParameterGroup(v string) *DBCluster {
+ s.DBClusterParameterGroup = &v
+ return s
+}
+
+// SetDBSubnetGroup sets the DBSubnetGroup field's value.
+func (s *DBCluster) SetDBSubnetGroup(v string) *DBCluster {
+ s.DBSubnetGroup = &v
+ return s
+}
+
+// SetDatabaseName sets the DatabaseName field's value.
+func (s *DBCluster) SetDatabaseName(v string) *DBCluster {
+ s.DatabaseName = &v
+ return s
+}
+
+// SetDbClusterResourceId sets the DbClusterResourceId field's value.
+func (s *DBCluster) SetDbClusterResourceId(v string) *DBCluster {
+ s.DbClusterResourceId = &v
+ return s
+}
+
+// SetEarliestRestorableTime sets the EarliestRestorableTime field's value.
+func (s *DBCluster) SetEarliestRestorableTime(v time.Time) *DBCluster {
+ s.EarliestRestorableTime = &v
+ return s
+}
+
+// SetEndpoint sets the Endpoint field's value.
+func (s *DBCluster) SetEndpoint(v string) *DBCluster {
+ s.Endpoint = &v
+ return s
+}
+
+// SetEngine sets the Engine field's value.
+func (s *DBCluster) SetEngine(v string) *DBCluster {
+ s.Engine = &v
+ return s
+}
+
+// SetEngineVersion sets the EngineVersion field's value.
+func (s *DBCluster) SetEngineVersion(v string) *DBCluster {
+ s.EngineVersion = &v
+ return s
+}
+
+// SetHostedZoneId sets the HostedZoneId field's value.
+func (s *DBCluster) SetHostedZoneId(v string) *DBCluster {
+ s.HostedZoneId = &v
+ return s
+}
+
+// SetKmsKeyId sets the KmsKeyId field's value.
+func (s *DBCluster) SetKmsKeyId(v string) *DBCluster {
+ s.KmsKeyId = &v
+ return s
+}
+
+// SetLatestRestorableTime sets the LatestRestorableTime field's value.
+func (s *DBCluster) SetLatestRestorableTime(v time.Time) *DBCluster {
+ s.LatestRestorableTime = &v
+ return s
+}
+
+// SetMasterUsername sets the MasterUsername field's value.
+func (s *DBCluster) SetMasterUsername(v string) *DBCluster {
+ s.MasterUsername = &v
+ return s
+}
+
+// SetPercentProgress sets the PercentProgress field's value.
+func (s *DBCluster) SetPercentProgress(v string) *DBCluster {
+ s.PercentProgress = &v
+ return s
+}
+
+// SetPort sets the Port field's value.
+func (s *DBCluster) SetPort(v int64) *DBCluster {
+ s.Port = &v
+ return s
+}
+
+// SetPreferredBackupWindow sets the PreferredBackupWindow field's value.
+func (s *DBCluster) SetPreferredBackupWindow(v string) *DBCluster {
+ s.PreferredBackupWindow = &v
+ return s
+}
+
+// SetPreferredMaintenanceWindow sets the PreferredMaintenanceWindow field's value.
+func (s *DBCluster) SetPreferredMaintenanceWindow(v string) *DBCluster {
+ s.PreferredMaintenanceWindow = &v
+ return s
+}
+
+// SetReadReplicaIdentifiers sets the ReadReplicaIdentifiers field's value.
+func (s *DBCluster) SetReadReplicaIdentifiers(v []*string) *DBCluster {
+ s.ReadReplicaIdentifiers = v
+ return s
+}
+
+// SetReaderEndpoint sets the ReaderEndpoint field's value.
+func (s *DBCluster) SetReaderEndpoint(v string) *DBCluster {
+ s.ReaderEndpoint = &v
+ return s
+}
+
+// SetReplicationSourceIdentifier sets the ReplicationSourceIdentifier field's value.
+func (s *DBCluster) SetReplicationSourceIdentifier(v string) *DBCluster {
+ s.ReplicationSourceIdentifier = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *DBCluster) SetStatus(v string) *DBCluster {
+ s.Status = &v
+ return s
+}
+
+// SetStorageEncrypted sets the StorageEncrypted field's value.
+func (s *DBCluster) SetStorageEncrypted(v bool) *DBCluster {
+ s.StorageEncrypted = &v
+ return s
+}
+
+// SetVpcSecurityGroups sets the VpcSecurityGroups field's value.
+func (s *DBCluster) SetVpcSecurityGroups(v []*VpcSecurityGroupMembership) *DBCluster {
+ s.VpcSecurityGroups = v
+ return s
+}
+
// Contains information about an instance that is part of a DB cluster.
type DBClusterMember struct {
_ struct{} `type:"structure"`
@@ -10266,6 +11478,30 @@ func (s DBClusterMember) GoString() string {
return s.String()
}
+// SetDBClusterParameterGroupStatus sets the DBClusterParameterGroupStatus field's value.
+func (s *DBClusterMember) SetDBClusterParameterGroupStatus(v string) *DBClusterMember {
+ s.DBClusterParameterGroupStatus = &v
+ return s
+}
+
+// SetDBInstanceIdentifier sets the DBInstanceIdentifier field's value.
+func (s *DBClusterMember) SetDBInstanceIdentifier(v string) *DBClusterMember {
+ s.DBInstanceIdentifier = &v
+ return s
+}
+
+// SetIsClusterWriter sets the IsClusterWriter field's value.
+func (s *DBClusterMember) SetIsClusterWriter(v bool) *DBClusterMember {
+ s.IsClusterWriter = &v
+ return s
+}
+
+// SetPromotionTier sets the PromotionTier field's value.
+func (s *DBClusterMember) SetPromotionTier(v int64) *DBClusterMember {
+ s.PromotionTier = &v
+ return s
+}
+
// Contains status information for a DB cluster option group.
type DBClusterOptionGroupStatus struct {
_ struct{} `type:"structure"`
@@ -10287,6 +11523,18 @@ func (s DBClusterOptionGroupStatus) GoString() string {
return s.String()
}
+// SetDBClusterOptionGroupName sets the DBClusterOptionGroupName field's value.
+func (s *DBClusterOptionGroupStatus) SetDBClusterOptionGroupName(v string) *DBClusterOptionGroupStatus {
+ s.DBClusterOptionGroupName = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *DBClusterOptionGroupStatus) SetStatus(v string) *DBClusterOptionGroupStatus {
+ s.Status = &v
+ return s
+}
+
// Contains the result of a successful invocation of the CreateDBClusterParameterGroup
// or CopyDBClusterParameterGroup action.
//
@@ -10321,6 +11569,30 @@ func (s DBClusterParameterGroup) GoString() string {
return s.String()
}
+// SetDBClusterParameterGroupArn sets the DBClusterParameterGroupArn field's value.
+func (s *DBClusterParameterGroup) SetDBClusterParameterGroupArn(v string) *DBClusterParameterGroup {
+ s.DBClusterParameterGroupArn = &v
+ return s
+}
+
+// SetDBClusterParameterGroupName sets the DBClusterParameterGroupName field's value.
+func (s *DBClusterParameterGroup) SetDBClusterParameterGroupName(v string) *DBClusterParameterGroup {
+ s.DBClusterParameterGroupName = &v
+ return s
+}
+
+// SetDBParameterGroupFamily sets the DBParameterGroupFamily field's value.
+func (s *DBClusterParameterGroup) SetDBParameterGroupFamily(v string) *DBClusterParameterGroup {
+ s.DBParameterGroupFamily = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *DBClusterParameterGroup) SetDescription(v string) *DBClusterParameterGroup {
+ s.Description = &v
+ return s
+}
+
type DBClusterParameterGroupNameMessage struct {
_ struct{} `type:"structure"`
@@ -10348,6 +11620,12 @@ func (s DBClusterParameterGroupNameMessage) GoString() string {
return s.String()
}
+// SetDBClusterParameterGroupName sets the DBClusterParameterGroupName field's value.
+func (s *DBClusterParameterGroupNameMessage) SetDBClusterParameterGroupName(v string) *DBClusterParameterGroupNameMessage {
+ s.DBClusterParameterGroupName = &v
+ return s
+}
+
// Describes an AWS Identity and Access Management (IAM) role that is associated
// with a DB cluster.
type DBClusterRole struct {
@@ -10381,6 +11659,18 @@ func (s DBClusterRole) GoString() string {
return s.String()
}
+// SetRoleArn sets the RoleArn field's value.
+func (s *DBClusterRole) SetRoleArn(v string) *DBClusterRole {
+ s.RoleArn = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *DBClusterRole) SetStatus(v string) *DBClusterRole {
+ s.Status = &v
+ return s
+}
+
// Contains the result of a successful invocation of the following actions:
//
// * CreateDBClusterSnapshot
@@ -10463,6 +11753,114 @@ func (s DBClusterSnapshot) GoString() string {
return s.String()
}
+// SetAllocatedStorage sets the AllocatedStorage field's value.
+func (s *DBClusterSnapshot) SetAllocatedStorage(v int64) *DBClusterSnapshot {
+ s.AllocatedStorage = &v
+ return s
+}
+
+// SetAvailabilityZones sets the AvailabilityZones field's value.
+func (s *DBClusterSnapshot) SetAvailabilityZones(v []*string) *DBClusterSnapshot {
+ s.AvailabilityZones = v
+ return s
+}
+
+// SetClusterCreateTime sets the ClusterCreateTime field's value.
+func (s *DBClusterSnapshot) SetClusterCreateTime(v time.Time) *DBClusterSnapshot {
+ s.ClusterCreateTime = &v
+ return s
+}
+
+// SetDBClusterIdentifier sets the DBClusterIdentifier field's value.
+func (s *DBClusterSnapshot) SetDBClusterIdentifier(v string) *DBClusterSnapshot {
+ s.DBClusterIdentifier = &v
+ return s
+}
+
+// SetDBClusterSnapshotArn sets the DBClusterSnapshotArn field's value.
+func (s *DBClusterSnapshot) SetDBClusterSnapshotArn(v string) *DBClusterSnapshot {
+ s.DBClusterSnapshotArn = &v
+ return s
+}
+
+// SetDBClusterSnapshotIdentifier sets the DBClusterSnapshotIdentifier field's value.
+func (s *DBClusterSnapshot) SetDBClusterSnapshotIdentifier(v string) *DBClusterSnapshot {
+ s.DBClusterSnapshotIdentifier = &v
+ return s
+}
+
+// SetEngine sets the Engine field's value.
+func (s *DBClusterSnapshot) SetEngine(v string) *DBClusterSnapshot {
+ s.Engine = &v
+ return s
+}
+
+// SetEngineVersion sets the EngineVersion field's value.
+func (s *DBClusterSnapshot) SetEngineVersion(v string) *DBClusterSnapshot {
+ s.EngineVersion = &v
+ return s
+}
+
+// SetKmsKeyId sets the KmsKeyId field's value.
+func (s *DBClusterSnapshot) SetKmsKeyId(v string) *DBClusterSnapshot {
+ s.KmsKeyId = &v
+ return s
+}
+
+// SetLicenseModel sets the LicenseModel field's value.
+func (s *DBClusterSnapshot) SetLicenseModel(v string) *DBClusterSnapshot {
+ s.LicenseModel = &v
+ return s
+}
+
+// SetMasterUsername sets the MasterUsername field's value.
+func (s *DBClusterSnapshot) SetMasterUsername(v string) *DBClusterSnapshot {
+ s.MasterUsername = &v
+ return s
+}
+
+// SetPercentProgress sets the PercentProgress field's value.
+func (s *DBClusterSnapshot) SetPercentProgress(v int64) *DBClusterSnapshot {
+ s.PercentProgress = &v
+ return s
+}
+
+// SetPort sets the Port field's value.
+func (s *DBClusterSnapshot) SetPort(v int64) *DBClusterSnapshot {
+ s.Port = &v
+ return s
+}
+
+// SetSnapshotCreateTime sets the SnapshotCreateTime field's value.
+func (s *DBClusterSnapshot) SetSnapshotCreateTime(v time.Time) *DBClusterSnapshot {
+ s.SnapshotCreateTime = &v
+ return s
+}
+
+// SetSnapshotType sets the SnapshotType field's value.
+func (s *DBClusterSnapshot) SetSnapshotType(v string) *DBClusterSnapshot {
+ s.SnapshotType = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *DBClusterSnapshot) SetStatus(v string) *DBClusterSnapshot {
+ s.Status = &v
+ return s
+}
+
+// SetStorageEncrypted sets the StorageEncrypted field's value.
+func (s *DBClusterSnapshot) SetStorageEncrypted(v bool) *DBClusterSnapshot {
+ s.StorageEncrypted = &v
+ return s
+}
+
+// SetVpcId sets the VpcId field's value.
+func (s *DBClusterSnapshot) SetVpcId(v string) *DBClusterSnapshot {
+ s.VpcId = &v
+ return s
+}
+
// Contains the name and values of a manual DB cluster snapshot attribute.
//
// Manual DB cluster snapshot attributes are used to authorize other AWS accounts
@@ -10498,6 +11896,18 @@ func (s DBClusterSnapshotAttribute) GoString() string {
return s.String()
}
+// SetAttributeName sets the AttributeName field's value.
+func (s *DBClusterSnapshotAttribute) SetAttributeName(v string) *DBClusterSnapshotAttribute {
+ s.AttributeName = &v
+ return s
+}
+
+// SetAttributeValues sets the AttributeValues field's value.
+func (s *DBClusterSnapshotAttribute) SetAttributeValues(v []*string) *DBClusterSnapshotAttribute {
+ s.AttributeValues = v
+ return s
+}
+
// Contains the results of a successful call to the DescribeDBClusterSnapshotAttributes
// API action.
//
@@ -10525,6 +11935,18 @@ func (s DBClusterSnapshotAttributesResult) GoString() string {
return s.String()
}
+// SetDBClusterSnapshotAttributes sets the DBClusterSnapshotAttributes field's value.
+func (s *DBClusterSnapshotAttributesResult) SetDBClusterSnapshotAttributes(v []*DBClusterSnapshotAttribute) *DBClusterSnapshotAttributesResult {
+ s.DBClusterSnapshotAttributes = v
+ return s
+}
+
+// SetDBClusterSnapshotIdentifier sets the DBClusterSnapshotIdentifier field's value.
+func (s *DBClusterSnapshotAttributesResult) SetDBClusterSnapshotIdentifier(v string) *DBClusterSnapshotAttributesResult {
+ s.DBClusterSnapshotIdentifier = &v
+ return s
+}
+
// This data type is used as a response element in the action DescribeDBEngineVersions.
type DBEngineVersion struct {
_ struct{} `type:"structure"`
@@ -10571,6 +11993,60 @@ func (s DBEngineVersion) GoString() string {
return s.String()
}
+// SetDBEngineDescription sets the DBEngineDescription field's value.
+func (s *DBEngineVersion) SetDBEngineDescription(v string) *DBEngineVersion {
+ s.DBEngineDescription = &v
+ return s
+}
+
+// SetDBEngineVersionDescription sets the DBEngineVersionDescription field's value.
+func (s *DBEngineVersion) SetDBEngineVersionDescription(v string) *DBEngineVersion {
+ s.DBEngineVersionDescription = &v
+ return s
+}
+
+// SetDBParameterGroupFamily sets the DBParameterGroupFamily field's value.
+func (s *DBEngineVersion) SetDBParameterGroupFamily(v string) *DBEngineVersion {
+ s.DBParameterGroupFamily = &v
+ return s
+}
+
+// SetDefaultCharacterSet sets the DefaultCharacterSet field's value.
+func (s *DBEngineVersion) SetDefaultCharacterSet(v *CharacterSet) *DBEngineVersion {
+ s.DefaultCharacterSet = v
+ return s
+}
+
+// SetEngine sets the Engine field's value.
+func (s *DBEngineVersion) SetEngine(v string) *DBEngineVersion {
+ s.Engine = &v
+ return s
+}
+
+// SetEngineVersion sets the EngineVersion field's value.
+func (s *DBEngineVersion) SetEngineVersion(v string) *DBEngineVersion {
+ s.EngineVersion = &v
+ return s
+}
+
+// SetSupportedCharacterSets sets the SupportedCharacterSets field's value.
+func (s *DBEngineVersion) SetSupportedCharacterSets(v []*CharacterSet) *DBEngineVersion {
+ s.SupportedCharacterSets = v
+ return s
+}
+
+// SetSupportedTimezones sets the SupportedTimezones field's value.
+func (s *DBEngineVersion) SetSupportedTimezones(v []*Timezone) *DBEngineVersion {
+ s.SupportedTimezones = v
+ return s
+}
+
+// SetValidUpgradeTarget sets the ValidUpgradeTarget field's value.
+func (s *DBEngineVersion) SetValidUpgradeTarget(v []*UpgradeTarget) *DBEngineVersion {
+ s.ValidUpgradeTarget = v
+ return s
+}
+
// Contains the result of a successful invocation of the following actions:
//
// * CreateDBInstance
@@ -10793,8 +12269,290 @@ func (s DBInstance) GoString() string {
return s.String()
}
-// Provides a list of status information for a DB instance.
-type DBInstanceStatusInfo struct {
+// SetAllocatedStorage sets the AllocatedStorage field's value.
+func (s *DBInstance) SetAllocatedStorage(v int64) *DBInstance {
+ s.AllocatedStorage = &v
+ return s
+}
+
+// SetAutoMinorVersionUpgrade sets the AutoMinorVersionUpgrade field's value.
+func (s *DBInstance) SetAutoMinorVersionUpgrade(v bool) *DBInstance {
+ s.AutoMinorVersionUpgrade = &v
+ return s
+}
+
+// SetAvailabilityZone sets the AvailabilityZone field's value.
+func (s *DBInstance) SetAvailabilityZone(v string) *DBInstance {
+ s.AvailabilityZone = &v
+ return s
+}
+
+// SetBackupRetentionPeriod sets the BackupRetentionPeriod field's value.
+func (s *DBInstance) SetBackupRetentionPeriod(v int64) *DBInstance {
+ s.BackupRetentionPeriod = &v
+ return s
+}
+
+// SetCACertificateIdentifier sets the CACertificateIdentifier field's value.
+func (s *DBInstance) SetCACertificateIdentifier(v string) *DBInstance {
+ s.CACertificateIdentifier = &v
+ return s
+}
+
+// SetCharacterSetName sets the CharacterSetName field's value.
+func (s *DBInstance) SetCharacterSetName(v string) *DBInstance {
+ s.CharacterSetName = &v
+ return s
+}
+
+// SetCopyTagsToSnapshot sets the CopyTagsToSnapshot field's value.
+func (s *DBInstance) SetCopyTagsToSnapshot(v bool) *DBInstance {
+ s.CopyTagsToSnapshot = &v
+ return s
+}
+
+// SetDBClusterIdentifier sets the DBClusterIdentifier field's value.
+func (s *DBInstance) SetDBClusterIdentifier(v string) *DBInstance {
+ s.DBClusterIdentifier = &v
+ return s
+}
+
+// SetDBInstanceArn sets the DBInstanceArn field's value.
+func (s *DBInstance) SetDBInstanceArn(v string) *DBInstance {
+ s.DBInstanceArn = &v
+ return s
+}
+
+// SetDBInstanceClass sets the DBInstanceClass field's value.
+func (s *DBInstance) SetDBInstanceClass(v string) *DBInstance {
+ s.DBInstanceClass = &v
+ return s
+}
+
+// SetDBInstanceIdentifier sets the DBInstanceIdentifier field's value.
+func (s *DBInstance) SetDBInstanceIdentifier(v string) *DBInstance {
+ s.DBInstanceIdentifier = &v
+ return s
+}
+
+// SetDBInstanceStatus sets the DBInstanceStatus field's value.
+func (s *DBInstance) SetDBInstanceStatus(v string) *DBInstance {
+ s.DBInstanceStatus = &v
+ return s
+}
+
+// SetDBName sets the DBName field's value.
+func (s *DBInstance) SetDBName(v string) *DBInstance {
+ s.DBName = &v
+ return s
+}
+
+// SetDBParameterGroups sets the DBParameterGroups field's value.
+func (s *DBInstance) SetDBParameterGroups(v []*DBParameterGroupStatus) *DBInstance {
+ s.DBParameterGroups = v
+ return s
+}
+
+// SetDBSecurityGroups sets the DBSecurityGroups field's value.
+func (s *DBInstance) SetDBSecurityGroups(v []*DBSecurityGroupMembership) *DBInstance {
+ s.DBSecurityGroups = v
+ return s
+}
+
+// SetDBSubnetGroup sets the DBSubnetGroup field's value.
+func (s *DBInstance) SetDBSubnetGroup(v *DBSubnetGroup) *DBInstance {
+ s.DBSubnetGroup = v
+ return s
+}
+
+// SetDbInstancePort sets the DbInstancePort field's value.
+func (s *DBInstance) SetDbInstancePort(v int64) *DBInstance {
+ s.DbInstancePort = &v
+ return s
+}
+
+// SetDbiResourceId sets the DbiResourceId field's value.
+func (s *DBInstance) SetDbiResourceId(v string) *DBInstance {
+ s.DbiResourceId = &v
+ return s
+}
+
+// SetDomainMemberships sets the DomainMemberships field's value.
+func (s *DBInstance) SetDomainMemberships(v []*DomainMembership) *DBInstance {
+ s.DomainMemberships = v
+ return s
+}
+
+// SetEndpoint sets the Endpoint field's value.
+func (s *DBInstance) SetEndpoint(v *Endpoint) *DBInstance {
+ s.Endpoint = v
+ return s
+}
+
+// SetEngine sets the Engine field's value.
+func (s *DBInstance) SetEngine(v string) *DBInstance {
+ s.Engine = &v
+ return s
+}
+
+// SetEngineVersion sets the EngineVersion field's value.
+func (s *DBInstance) SetEngineVersion(v string) *DBInstance {
+ s.EngineVersion = &v
+ return s
+}
+
+// SetEnhancedMonitoringResourceArn sets the EnhancedMonitoringResourceArn field's value.
+func (s *DBInstance) SetEnhancedMonitoringResourceArn(v string) *DBInstance {
+ s.EnhancedMonitoringResourceArn = &v
+ return s
+}
+
+// SetInstanceCreateTime sets the InstanceCreateTime field's value.
+func (s *DBInstance) SetInstanceCreateTime(v time.Time) *DBInstance {
+ s.InstanceCreateTime = &v
+ return s
+}
+
+// SetIops sets the Iops field's value.
+func (s *DBInstance) SetIops(v int64) *DBInstance {
+ s.Iops = &v
+ return s
+}
+
+// SetKmsKeyId sets the KmsKeyId field's value.
+func (s *DBInstance) SetKmsKeyId(v string) *DBInstance {
+ s.KmsKeyId = &v
+ return s
+}
+
+// SetLatestRestorableTime sets the LatestRestorableTime field's value.
+func (s *DBInstance) SetLatestRestorableTime(v time.Time) *DBInstance {
+ s.LatestRestorableTime = &v
+ return s
+}
+
+// SetLicenseModel sets the LicenseModel field's value.
+func (s *DBInstance) SetLicenseModel(v string) *DBInstance {
+ s.LicenseModel = &v
+ return s
+}
+
+// SetMasterUsername sets the MasterUsername field's value.
+func (s *DBInstance) SetMasterUsername(v string) *DBInstance {
+ s.MasterUsername = &v
+ return s
+}
+
+// SetMonitoringInterval sets the MonitoringInterval field's value.
+func (s *DBInstance) SetMonitoringInterval(v int64) *DBInstance {
+ s.MonitoringInterval = &v
+ return s
+}
+
+// SetMonitoringRoleArn sets the MonitoringRoleArn field's value.
+func (s *DBInstance) SetMonitoringRoleArn(v string) *DBInstance {
+ s.MonitoringRoleArn = &v
+ return s
+}
+
+// SetMultiAZ sets the MultiAZ field's value.
+func (s *DBInstance) SetMultiAZ(v bool) *DBInstance {
+ s.MultiAZ = &v
+ return s
+}
+
+// SetOptionGroupMemberships sets the OptionGroupMemberships field's value.
+func (s *DBInstance) SetOptionGroupMemberships(v []*OptionGroupMembership) *DBInstance {
+ s.OptionGroupMemberships = v
+ return s
+}
+
+// SetPendingModifiedValues sets the PendingModifiedValues field's value.
+func (s *DBInstance) SetPendingModifiedValues(v *PendingModifiedValues) *DBInstance {
+ s.PendingModifiedValues = v
+ return s
+}
+
+// SetPreferredBackupWindow sets the PreferredBackupWindow field's value.
+func (s *DBInstance) SetPreferredBackupWindow(v string) *DBInstance {
+ s.PreferredBackupWindow = &v
+ return s
+}
+
+// SetPreferredMaintenanceWindow sets the PreferredMaintenanceWindow field's value.
+func (s *DBInstance) SetPreferredMaintenanceWindow(v string) *DBInstance {
+ s.PreferredMaintenanceWindow = &v
+ return s
+}
+
+// SetPromotionTier sets the PromotionTier field's value.
+func (s *DBInstance) SetPromotionTier(v int64) *DBInstance {
+ s.PromotionTier = &v
+ return s
+}
+
+// SetPubliclyAccessible sets the PubliclyAccessible field's value.
+func (s *DBInstance) SetPubliclyAccessible(v bool) *DBInstance {
+ s.PubliclyAccessible = &v
+ return s
+}
+
+// SetReadReplicaDBInstanceIdentifiers sets the ReadReplicaDBInstanceIdentifiers field's value.
+func (s *DBInstance) SetReadReplicaDBInstanceIdentifiers(v []*string) *DBInstance {
+ s.ReadReplicaDBInstanceIdentifiers = v
+ return s
+}
+
+// SetReadReplicaSourceDBInstanceIdentifier sets the ReadReplicaSourceDBInstanceIdentifier field's value.
+func (s *DBInstance) SetReadReplicaSourceDBInstanceIdentifier(v string) *DBInstance {
+ s.ReadReplicaSourceDBInstanceIdentifier = &v
+ return s
+}
+
+// SetSecondaryAvailabilityZone sets the SecondaryAvailabilityZone field's value.
+func (s *DBInstance) SetSecondaryAvailabilityZone(v string) *DBInstance {
+ s.SecondaryAvailabilityZone = &v
+ return s
+}
+
+// SetStatusInfos sets the StatusInfos field's value.
+func (s *DBInstance) SetStatusInfos(v []*DBInstanceStatusInfo) *DBInstance {
+ s.StatusInfos = v
+ return s
+}
+
+// SetStorageEncrypted sets the StorageEncrypted field's value.
+func (s *DBInstance) SetStorageEncrypted(v bool) *DBInstance {
+ s.StorageEncrypted = &v
+ return s
+}
+
+// SetStorageType sets the StorageType field's value.
+func (s *DBInstance) SetStorageType(v string) *DBInstance {
+ s.StorageType = &v
+ return s
+}
+
+// SetTdeCredentialArn sets the TdeCredentialArn field's value.
+func (s *DBInstance) SetTdeCredentialArn(v string) *DBInstance {
+ s.TdeCredentialArn = &v
+ return s
+}
+
+// SetTimezone sets the Timezone field's value.
+func (s *DBInstance) SetTimezone(v string) *DBInstance {
+ s.Timezone = &v
+ return s
+}
+
+// SetVpcSecurityGroups sets the VpcSecurityGroups field's value.
+func (s *DBInstance) SetVpcSecurityGroups(v []*VpcSecurityGroupMembership) *DBInstance {
+ s.VpcSecurityGroups = v
+ return s
+}
+
+// Provides a list of status information for a DB instance.
+type DBInstanceStatusInfo struct {
_ struct{} `type:"structure"`
// Details of the error if there is an error for the instance. If the instance
@@ -10823,6 +12581,30 @@ func (s DBInstanceStatusInfo) GoString() string {
return s.String()
}
+// SetMessage sets the Message field's value.
+func (s *DBInstanceStatusInfo) SetMessage(v string) *DBInstanceStatusInfo {
+ s.Message = &v
+ return s
+}
+
+// SetNormal sets the Normal field's value.
+func (s *DBInstanceStatusInfo) SetNormal(v bool) *DBInstanceStatusInfo {
+ s.Normal = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *DBInstanceStatusInfo) SetStatus(v string) *DBInstanceStatusInfo {
+ s.Status = &v
+ return s
+}
+
+// SetStatusType sets the StatusType field's value.
+func (s *DBInstanceStatusInfo) SetStatusType(v string) *DBInstanceStatusInfo {
+ s.StatusType = &v
+ return s
+}
+
// Contains the result of a successful invocation of the CreateDBParameterGroup
// action.
//
@@ -10855,6 +12637,30 @@ func (s DBParameterGroup) GoString() string {
return s.String()
}
+// SetDBParameterGroupArn sets the DBParameterGroupArn field's value.
+func (s *DBParameterGroup) SetDBParameterGroupArn(v string) *DBParameterGroup {
+ s.DBParameterGroupArn = &v
+ return s
+}
+
+// SetDBParameterGroupFamily sets the DBParameterGroupFamily field's value.
+func (s *DBParameterGroup) SetDBParameterGroupFamily(v string) *DBParameterGroup {
+ s.DBParameterGroupFamily = &v
+ return s
+}
+
+// SetDBParameterGroupName sets the DBParameterGroupName field's value.
+func (s *DBParameterGroup) SetDBParameterGroupName(v string) *DBParameterGroup {
+ s.DBParameterGroupName = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *DBParameterGroup) SetDescription(v string) *DBParameterGroup {
+ s.Description = &v
+ return s
+}
+
// Contains the result of a successful invocation of the ModifyDBParameterGroup
// or ResetDBParameterGroup action.
type DBParameterGroupNameMessage struct {
@@ -10874,6 +12680,12 @@ func (s DBParameterGroupNameMessage) GoString() string {
return s.String()
}
+// SetDBParameterGroupName sets the DBParameterGroupName field's value.
+func (s *DBParameterGroupNameMessage) SetDBParameterGroupName(v string) *DBParameterGroupNameMessage {
+ s.DBParameterGroupName = &v
+ return s
+}
+
// The status of the DB parameter group.
//
// This data type is used as a response element in the following actions:
@@ -10909,6 +12721,18 @@ func (s DBParameterGroupStatus) GoString() string {
return s.String()
}
+// SetDBParameterGroupName sets the DBParameterGroupName field's value.
+func (s *DBParameterGroupStatus) SetDBParameterGroupName(v string) *DBParameterGroupStatus {
+ s.DBParameterGroupName = &v
+ return s
+}
+
+// SetParameterApplyStatus sets the ParameterApplyStatus field's value.
+func (s *DBParameterGroupStatus) SetParameterApplyStatus(v string) *DBParameterGroupStatus {
+ s.ParameterApplyStatus = &v
+ return s
+}
+
// Contains the result of a successful invocation of the following actions:
//
// * DescribeDBSecurityGroups
@@ -10956,6 +12780,48 @@ func (s DBSecurityGroup) GoString() string {
return s.String()
}
+// SetDBSecurityGroupArn sets the DBSecurityGroupArn field's value.
+func (s *DBSecurityGroup) SetDBSecurityGroupArn(v string) *DBSecurityGroup {
+ s.DBSecurityGroupArn = &v
+ return s
+}
+
+// SetDBSecurityGroupDescription sets the DBSecurityGroupDescription field's value.
+func (s *DBSecurityGroup) SetDBSecurityGroupDescription(v string) *DBSecurityGroup {
+ s.DBSecurityGroupDescription = &v
+ return s
+}
+
+// SetDBSecurityGroupName sets the DBSecurityGroupName field's value.
+func (s *DBSecurityGroup) SetDBSecurityGroupName(v string) *DBSecurityGroup {
+ s.DBSecurityGroupName = &v
+ return s
+}
+
+// SetEC2SecurityGroups sets the EC2SecurityGroups field's value.
+func (s *DBSecurityGroup) SetEC2SecurityGroups(v []*EC2SecurityGroup) *DBSecurityGroup {
+ s.EC2SecurityGroups = v
+ return s
+}
+
+// SetIPRanges sets the IPRanges field's value.
+func (s *DBSecurityGroup) SetIPRanges(v []*IPRange) *DBSecurityGroup {
+ s.IPRanges = v
+ return s
+}
+
+// SetOwnerId sets the OwnerId field's value.
+func (s *DBSecurityGroup) SetOwnerId(v string) *DBSecurityGroup {
+ s.OwnerId = &v
+ return s
+}
+
+// SetVpcId sets the VpcId field's value.
+func (s *DBSecurityGroup) SetVpcId(v string) *DBSecurityGroup {
+ s.VpcId = &v
+ return s
+}
+
// This data type is used as a response element in the following actions:
//
// * ModifyDBInstance
@@ -10985,6 +12851,18 @@ func (s DBSecurityGroupMembership) GoString() string {
return s.String()
}
+// SetDBSecurityGroupName sets the DBSecurityGroupName field's value.
+func (s *DBSecurityGroupMembership) SetDBSecurityGroupName(v string) *DBSecurityGroupMembership {
+ s.DBSecurityGroupName = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *DBSecurityGroupMembership) SetStatus(v string) *DBSecurityGroupMembership {
+ s.Status = &v
+ return s
+}
+
// Contains the result of a successful invocation of the following actions:
//
// * CreateDBSnapshot
@@ -11090,6 +12968,156 @@ func (s DBSnapshot) GoString() string {
return s.String()
}
+// SetAllocatedStorage sets the AllocatedStorage field's value.
+func (s *DBSnapshot) SetAllocatedStorage(v int64) *DBSnapshot {
+ s.AllocatedStorage = &v
+ return s
+}
+
+// SetAvailabilityZone sets the AvailabilityZone field's value.
+func (s *DBSnapshot) SetAvailabilityZone(v string) *DBSnapshot {
+ s.AvailabilityZone = &v
+ return s
+}
+
+// SetDBInstanceIdentifier sets the DBInstanceIdentifier field's value.
+func (s *DBSnapshot) SetDBInstanceIdentifier(v string) *DBSnapshot {
+ s.DBInstanceIdentifier = &v
+ return s
+}
+
+// SetDBSnapshotArn sets the DBSnapshotArn field's value.
+func (s *DBSnapshot) SetDBSnapshotArn(v string) *DBSnapshot {
+ s.DBSnapshotArn = &v
+ return s
+}
+
+// SetDBSnapshotIdentifier sets the DBSnapshotIdentifier field's value.
+func (s *DBSnapshot) SetDBSnapshotIdentifier(v string) *DBSnapshot {
+ s.DBSnapshotIdentifier = &v
+ return s
+}
+
+// SetEncrypted sets the Encrypted field's value.
+func (s *DBSnapshot) SetEncrypted(v bool) *DBSnapshot {
+ s.Encrypted = &v
+ return s
+}
+
+// SetEngine sets the Engine field's value.
+func (s *DBSnapshot) SetEngine(v string) *DBSnapshot {
+ s.Engine = &v
+ return s
+}
+
+// SetEngineVersion sets the EngineVersion field's value.
+func (s *DBSnapshot) SetEngineVersion(v string) *DBSnapshot {
+ s.EngineVersion = &v
+ return s
+}
+
+// SetInstanceCreateTime sets the InstanceCreateTime field's value.
+func (s *DBSnapshot) SetInstanceCreateTime(v time.Time) *DBSnapshot {
+ s.InstanceCreateTime = &v
+ return s
+}
+
+// SetIops sets the Iops field's value.
+func (s *DBSnapshot) SetIops(v int64) *DBSnapshot {
+ s.Iops = &v
+ return s
+}
+
+// SetKmsKeyId sets the KmsKeyId field's value.
+func (s *DBSnapshot) SetKmsKeyId(v string) *DBSnapshot {
+ s.KmsKeyId = &v
+ return s
+}
+
+// SetLicenseModel sets the LicenseModel field's value.
+func (s *DBSnapshot) SetLicenseModel(v string) *DBSnapshot {
+ s.LicenseModel = &v
+ return s
+}
+
+// SetMasterUsername sets the MasterUsername field's value.
+func (s *DBSnapshot) SetMasterUsername(v string) *DBSnapshot {
+ s.MasterUsername = &v
+ return s
+}
+
+// SetOptionGroupName sets the OptionGroupName field's value.
+func (s *DBSnapshot) SetOptionGroupName(v string) *DBSnapshot {
+ s.OptionGroupName = &v
+ return s
+}
+
+// SetPercentProgress sets the PercentProgress field's value.
+func (s *DBSnapshot) SetPercentProgress(v int64) *DBSnapshot {
+ s.PercentProgress = &v
+ return s
+}
+
+// SetPort sets the Port field's value.
+func (s *DBSnapshot) SetPort(v int64) *DBSnapshot {
+ s.Port = &v
+ return s
+}
+
+// SetSnapshotCreateTime sets the SnapshotCreateTime field's value.
+func (s *DBSnapshot) SetSnapshotCreateTime(v time.Time) *DBSnapshot {
+ s.SnapshotCreateTime = &v
+ return s
+}
+
+// SetSnapshotType sets the SnapshotType field's value.
+func (s *DBSnapshot) SetSnapshotType(v string) *DBSnapshot {
+ s.SnapshotType = &v
+ return s
+}
+
+// SetSourceDBSnapshotIdentifier sets the SourceDBSnapshotIdentifier field's value.
+func (s *DBSnapshot) SetSourceDBSnapshotIdentifier(v string) *DBSnapshot {
+ s.SourceDBSnapshotIdentifier = &v
+ return s
+}
+
+// SetSourceRegion sets the SourceRegion field's value.
+func (s *DBSnapshot) SetSourceRegion(v string) *DBSnapshot {
+ s.SourceRegion = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *DBSnapshot) SetStatus(v string) *DBSnapshot {
+ s.Status = &v
+ return s
+}
+
+// SetStorageType sets the StorageType field's value.
+func (s *DBSnapshot) SetStorageType(v string) *DBSnapshot {
+ s.StorageType = &v
+ return s
+}
+
+// SetTdeCredentialArn sets the TdeCredentialArn field's value.
+func (s *DBSnapshot) SetTdeCredentialArn(v string) *DBSnapshot {
+ s.TdeCredentialArn = &v
+ return s
+}
+
+// SetTimezone sets the Timezone field's value.
+func (s *DBSnapshot) SetTimezone(v string) *DBSnapshot {
+ s.Timezone = &v
+ return s
+}
+
+// SetVpcId sets the VpcId field's value.
+func (s *DBSnapshot) SetVpcId(v string) *DBSnapshot {
+ s.VpcId = &v
+ return s
+}
+
// Contains the name and values of a manual DB snapshot attribute
//
// Manual DB snapshot attributes are used to authorize other AWS accounts to
@@ -11124,6 +13152,18 @@ func (s DBSnapshotAttribute) GoString() string {
return s.String()
}
+// SetAttributeName sets the AttributeName field's value.
+func (s *DBSnapshotAttribute) SetAttributeName(v string) *DBSnapshotAttribute {
+ s.AttributeName = &v
+ return s
+}
+
+// SetAttributeValues sets the AttributeValues field's value.
+func (s *DBSnapshotAttribute) SetAttributeValues(v []*string) *DBSnapshotAttribute {
+ s.AttributeValues = v
+ return s
+}
+
// Contains the results of a successful call to the DescribeDBSnapshotAttributes
// API action.
//
@@ -11150,6 +13190,18 @@ func (s DBSnapshotAttributesResult) GoString() string {
return s.String()
}
+// SetDBSnapshotAttributes sets the DBSnapshotAttributes field's value.
+func (s *DBSnapshotAttributesResult) SetDBSnapshotAttributes(v []*DBSnapshotAttribute) *DBSnapshotAttributesResult {
+ s.DBSnapshotAttributes = v
+ return s
+}
+
+// SetDBSnapshotIdentifier sets the DBSnapshotIdentifier field's value.
+func (s *DBSnapshotAttributesResult) SetDBSnapshotIdentifier(v string) *DBSnapshotAttributesResult {
+ s.DBSnapshotIdentifier = &v
+ return s
+}
+
// Contains the result of a successful invocation of the following actions:
//
// * CreateDBSubnetGroup
@@ -11194,6 +13246,42 @@ func (s DBSubnetGroup) GoString() string {
return s.String()
}
+// SetDBSubnetGroupArn sets the DBSubnetGroupArn field's value.
+func (s *DBSubnetGroup) SetDBSubnetGroupArn(v string) *DBSubnetGroup {
+ s.DBSubnetGroupArn = &v
+ return s
+}
+
+// SetDBSubnetGroupDescription sets the DBSubnetGroupDescription field's value.
+func (s *DBSubnetGroup) SetDBSubnetGroupDescription(v string) *DBSubnetGroup {
+ s.DBSubnetGroupDescription = &v
+ return s
+}
+
+// SetDBSubnetGroupName sets the DBSubnetGroupName field's value.
+func (s *DBSubnetGroup) SetDBSubnetGroupName(v string) *DBSubnetGroup {
+ s.DBSubnetGroupName = &v
+ return s
+}
+
+// SetSubnetGroupStatus sets the SubnetGroupStatus field's value.
+func (s *DBSubnetGroup) SetSubnetGroupStatus(v string) *DBSubnetGroup {
+ s.SubnetGroupStatus = &v
+ return s
+}
+
+// SetSubnets sets the Subnets field's value.
+func (s *DBSubnetGroup) SetSubnets(v []*Subnet) *DBSubnetGroup {
+ s.Subnets = v
+ return s
+}
+
+// SetVpcId sets the VpcId field's value.
+func (s *DBSubnetGroup) SetVpcId(v string) *DBSubnetGroup {
+ s.VpcId = &v
+ return s
+}
+
type DeleteDBClusterInput struct {
_ struct{} `type:"structure"`
@@ -11260,6 +13348,24 @@ func (s *DeleteDBClusterInput) Validate() error {
return nil
}
+// SetDBClusterIdentifier sets the DBClusterIdentifier field's value.
+func (s *DeleteDBClusterInput) SetDBClusterIdentifier(v string) *DeleteDBClusterInput {
+ s.DBClusterIdentifier = &v
+ return s
+}
+
+// SetFinalDBSnapshotIdentifier sets the FinalDBSnapshotIdentifier field's value.
+func (s *DeleteDBClusterInput) SetFinalDBSnapshotIdentifier(v string) *DeleteDBClusterInput {
+ s.FinalDBSnapshotIdentifier = &v
+ return s
+}
+
+// SetSkipFinalSnapshot sets the SkipFinalSnapshot field's value.
+func (s *DeleteDBClusterInput) SetSkipFinalSnapshot(v bool) *DeleteDBClusterInput {
+ s.SkipFinalSnapshot = &v
+ return s
+}
+
type DeleteDBClusterOutput struct {
_ struct{} `type:"structure"`
@@ -11291,6 +13397,12 @@ func (s DeleteDBClusterOutput) GoString() string {
return s.String()
}
+// SetDBCluster sets the DBCluster field's value.
+func (s *DeleteDBClusterOutput) SetDBCluster(v *DBCluster) *DeleteDBClusterOutput {
+ s.DBCluster = v
+ return s
+}
+
type DeleteDBClusterParameterGroupInput struct {
_ struct{} `type:"structure"`
@@ -11331,6 +13443,12 @@ func (s *DeleteDBClusterParameterGroupInput) Validate() error {
return nil
}
+// SetDBClusterParameterGroupName sets the DBClusterParameterGroupName field's value.
+func (s *DeleteDBClusterParameterGroupInput) SetDBClusterParameterGroupName(v string) *DeleteDBClusterParameterGroupInput {
+ s.DBClusterParameterGroupName = &v
+ return s
+}
+
type DeleteDBClusterParameterGroupOutput struct {
_ struct{} `type:"structure"`
}
@@ -11380,6 +13498,12 @@ func (s *DeleteDBClusterSnapshotInput) Validate() error {
return nil
}
+// SetDBClusterSnapshotIdentifier sets the DBClusterSnapshotIdentifier field's value.
+func (s *DeleteDBClusterSnapshotInput) SetDBClusterSnapshotIdentifier(v string) *DeleteDBClusterSnapshotInput {
+ s.DBClusterSnapshotIdentifier = &v
+ return s
+}
+
type DeleteDBClusterSnapshotOutput struct {
_ struct{} `type:"structure"`
@@ -11404,6 +13528,12 @@ func (s DeleteDBClusterSnapshotOutput) GoString() string {
return s.String()
}
+// SetDBClusterSnapshot sets the DBClusterSnapshot field's value.
+func (s *DeleteDBClusterSnapshotOutput) SetDBClusterSnapshot(v *DBClusterSnapshot) *DeleteDBClusterSnapshotOutput {
+ s.DBClusterSnapshot = v
+ return s
+}
+
type DeleteDBInstanceInput struct {
_ struct{} `type:"structure"`
@@ -11478,6 +13608,24 @@ func (s *DeleteDBInstanceInput) Validate() error {
return nil
}
+// SetDBInstanceIdentifier sets the DBInstanceIdentifier field's value.
+func (s *DeleteDBInstanceInput) SetDBInstanceIdentifier(v string) *DeleteDBInstanceInput {
+ s.DBInstanceIdentifier = &v
+ return s
+}
+
+// SetFinalDBSnapshotIdentifier sets the FinalDBSnapshotIdentifier field's value.
+func (s *DeleteDBInstanceInput) SetFinalDBSnapshotIdentifier(v string) *DeleteDBInstanceInput {
+ s.FinalDBSnapshotIdentifier = &v
+ return s
+}
+
+// SetSkipFinalSnapshot sets the SkipFinalSnapshot field's value.
+func (s *DeleteDBInstanceInput) SetSkipFinalSnapshot(v bool) *DeleteDBInstanceInput {
+ s.SkipFinalSnapshot = &v
+ return s
+}
+
type DeleteDBInstanceOutput struct {
_ struct{} `type:"structure"`
@@ -11503,6 +13651,12 @@ func (s DeleteDBInstanceOutput) GoString() string {
return s.String()
}
+// SetDBInstance sets the DBInstance field's value.
+func (s *DeleteDBInstanceOutput) SetDBInstance(v *DBInstance) *DeleteDBInstanceOutput {
+ s.DBInstance = v
+ return s
+}
+
type DeleteDBParameterGroupInput struct {
_ struct{} `type:"structure"`
@@ -11543,6 +13697,12 @@ func (s *DeleteDBParameterGroupInput) Validate() error {
return nil
}
+// SetDBParameterGroupName sets the DBParameterGroupName field's value.
+func (s *DeleteDBParameterGroupInput) SetDBParameterGroupName(v string) *DeleteDBParameterGroupInput {
+ s.DBParameterGroupName = &v
+ return s
+}
+
type DeleteDBParameterGroupOutput struct {
_ struct{} `type:"structure"`
}
@@ -11601,6 +13761,12 @@ func (s *DeleteDBSecurityGroupInput) Validate() error {
return nil
}
+// SetDBSecurityGroupName sets the DBSecurityGroupName field's value.
+func (s *DeleteDBSecurityGroupInput) SetDBSecurityGroupName(v string) *DeleteDBSecurityGroupInput {
+ s.DBSecurityGroupName = &v
+ return s
+}
+
type DeleteDBSecurityGroupOutput struct {
_ struct{} `type:"structure"`
}
@@ -11650,6 +13816,12 @@ func (s *DeleteDBSnapshotInput) Validate() error {
return nil
}
+// SetDBSnapshotIdentifier sets the DBSnapshotIdentifier field's value.
+func (s *DeleteDBSnapshotInput) SetDBSnapshotIdentifier(v string) *DeleteDBSnapshotInput {
+ s.DBSnapshotIdentifier = &v
+ return s
+}
+
type DeleteDBSnapshotOutput struct {
_ struct{} `type:"structure"`
@@ -11673,6 +13845,12 @@ func (s DeleteDBSnapshotOutput) GoString() string {
return s.String()
}
+// SetDBSnapshot sets the DBSnapshot field's value.
+func (s *DeleteDBSnapshotOutput) SetDBSnapshot(v *DBSnapshot) *DeleteDBSnapshotOutput {
+ s.DBSnapshot = v
+ return s
+}
+
type DeleteDBSubnetGroupInput struct {
_ struct{} `type:"structure"`
@@ -11714,6 +13892,12 @@ func (s *DeleteDBSubnetGroupInput) Validate() error {
return nil
}
+// SetDBSubnetGroupName sets the DBSubnetGroupName field's value.
+func (s *DeleteDBSubnetGroupInput) SetDBSubnetGroupName(v string) *DeleteDBSubnetGroupInput {
+ s.DBSubnetGroupName = &v
+ return s
+}
+
type DeleteDBSubnetGroupOutput struct {
_ struct{} `type:"structure"`
}
@@ -11760,6 +13944,12 @@ func (s *DeleteEventSubscriptionInput) Validate() error {
return nil
}
+// SetSubscriptionName sets the SubscriptionName field's value.
+func (s *DeleteEventSubscriptionInput) SetSubscriptionName(v string) *DeleteEventSubscriptionInput {
+ s.SubscriptionName = &v
+ return s
+}
+
type DeleteEventSubscriptionOutput struct {
_ struct{} `type:"structure"`
@@ -11778,6 +13968,12 @@ func (s DeleteEventSubscriptionOutput) GoString() string {
return s.String()
}
+// SetEventSubscription sets the EventSubscription field's value.
+func (s *DeleteEventSubscriptionOutput) SetEventSubscription(v *EventSubscription) *DeleteEventSubscriptionOutput {
+ s.EventSubscription = v
+ return s
+}
+
type DeleteOptionGroupInput struct {
_ struct{} `type:"structure"`
@@ -11812,6 +14008,12 @@ func (s *DeleteOptionGroupInput) Validate() error {
return nil
}
+// SetOptionGroupName sets the OptionGroupName field's value.
+func (s *DeleteOptionGroupInput) SetOptionGroupName(v string) *DeleteOptionGroupInput {
+ s.OptionGroupName = &v
+ return s
+}
+
type DeleteOptionGroupOutput struct {
_ struct{} `type:"structure"`
}
@@ -11859,6 +14061,12 @@ func (s DescribeAccountAttributesOutput) GoString() string {
return s.String()
}
+// SetAccountQuotas sets the AccountQuotas field's value.
+func (s *DescribeAccountAttributesOutput) SetAccountQuotas(v []*AccountQuota) *DescribeAccountAttributesOutput {
+ s.AccountQuotas = v
+ return s
+}
+
type DescribeCertificatesInput struct {
_ struct{} `type:"structure"`
@@ -11923,6 +14131,30 @@ func (s *DescribeCertificatesInput) Validate() error {
return nil
}
+// SetCertificateIdentifier sets the CertificateIdentifier field's value.
+func (s *DescribeCertificatesInput) SetCertificateIdentifier(v string) *DescribeCertificatesInput {
+ s.CertificateIdentifier = &v
+ return s
+}
+
+// SetFilters sets the Filters field's value.
+func (s *DescribeCertificatesInput) SetFilters(v []*Filter) *DescribeCertificatesInput {
+ s.Filters = v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeCertificatesInput) SetMarker(v string) *DescribeCertificatesInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxRecords sets the MaxRecords field's value.
+func (s *DescribeCertificatesInput) SetMaxRecords(v int64) *DescribeCertificatesInput {
+ s.MaxRecords = &v
+ return s
+}
+
// Data returned by the DescribeCertificates action.
type DescribeCertificatesOutput struct {
_ struct{} `type:"structure"`
@@ -11946,8 +14178,20 @@ func (s DescribeCertificatesOutput) GoString() string {
return s.String()
}
-type DescribeDBClusterParameterGroupsInput struct {
- _ struct{} `type:"structure"`
+// SetCertificates sets the Certificates field's value.
+func (s *DescribeCertificatesOutput) SetCertificates(v []*Certificate) *DescribeCertificatesOutput {
+ s.Certificates = v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeCertificatesOutput) SetMarker(v string) *DescribeCertificatesOutput {
+ s.Marker = &v
+ return s
+}
+
+type DescribeDBClusterParameterGroupsInput struct {
+ _ struct{} `type:"structure"`
// The name of a specific DB cluster parameter group to return details for.
//
@@ -12008,6 +14252,30 @@ func (s *DescribeDBClusterParameterGroupsInput) Validate() error {
return nil
}
+// SetDBClusterParameterGroupName sets the DBClusterParameterGroupName field's value.
+func (s *DescribeDBClusterParameterGroupsInput) SetDBClusterParameterGroupName(v string) *DescribeDBClusterParameterGroupsInput {
+ s.DBClusterParameterGroupName = &v
+ return s
+}
+
+// SetFilters sets the Filters field's value.
+func (s *DescribeDBClusterParameterGroupsInput) SetFilters(v []*Filter) *DescribeDBClusterParameterGroupsInput {
+ s.Filters = v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeDBClusterParameterGroupsInput) SetMarker(v string) *DescribeDBClusterParameterGroupsInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxRecords sets the MaxRecords field's value.
+func (s *DescribeDBClusterParameterGroupsInput) SetMaxRecords(v int64) *DescribeDBClusterParameterGroupsInput {
+ s.MaxRecords = &v
+ return s
+}
+
type DescribeDBClusterParameterGroupsOutput struct {
_ struct{} `type:"structure"`
@@ -12030,6 +14298,18 @@ func (s DescribeDBClusterParameterGroupsOutput) GoString() string {
return s.String()
}
+// SetDBClusterParameterGroups sets the DBClusterParameterGroups field's value.
+func (s *DescribeDBClusterParameterGroupsOutput) SetDBClusterParameterGroups(v []*DBClusterParameterGroup) *DescribeDBClusterParameterGroupsOutput {
+ s.DBClusterParameterGroups = v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeDBClusterParameterGroupsOutput) SetMarker(v string) *DescribeDBClusterParameterGroupsOutput {
+ s.Marker = &v
+ return s
+}
+
type DescribeDBClusterParametersInput struct {
_ struct{} `type:"structure"`
@@ -12102,6 +14382,36 @@ func (s *DescribeDBClusterParametersInput) Validate() error {
return nil
}
+// SetDBClusterParameterGroupName sets the DBClusterParameterGroupName field's value.
+func (s *DescribeDBClusterParametersInput) SetDBClusterParameterGroupName(v string) *DescribeDBClusterParametersInput {
+ s.DBClusterParameterGroupName = &v
+ return s
+}
+
+// SetFilters sets the Filters field's value.
+func (s *DescribeDBClusterParametersInput) SetFilters(v []*Filter) *DescribeDBClusterParametersInput {
+ s.Filters = v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeDBClusterParametersInput) SetMarker(v string) *DescribeDBClusterParametersInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxRecords sets the MaxRecords field's value.
+func (s *DescribeDBClusterParametersInput) SetMaxRecords(v int64) *DescribeDBClusterParametersInput {
+ s.MaxRecords = &v
+ return s
+}
+
+// SetSource sets the Source field's value.
+func (s *DescribeDBClusterParametersInput) SetSource(v string) *DescribeDBClusterParametersInput {
+ s.Source = &v
+ return s
+}
+
// Provides details about a DB cluster parameter group including the parameters
// in the DB cluster parameter group.
type DescribeDBClusterParametersOutput struct {
@@ -12126,6 +14436,18 @@ func (s DescribeDBClusterParametersOutput) GoString() string {
return s.String()
}
+// SetMarker sets the Marker field's value.
+func (s *DescribeDBClusterParametersOutput) SetMarker(v string) *DescribeDBClusterParametersOutput {
+ s.Marker = &v
+ return s
+}
+
+// SetParameters sets the Parameters field's value.
+func (s *DescribeDBClusterParametersOutput) SetParameters(v []*Parameter) *DescribeDBClusterParametersOutput {
+ s.Parameters = v
+ return s
+}
+
type DescribeDBClusterSnapshotAttributesInput struct {
_ struct{} `type:"structure"`
@@ -12158,6 +14480,12 @@ func (s *DescribeDBClusterSnapshotAttributesInput) Validate() error {
return nil
}
+// SetDBClusterSnapshotIdentifier sets the DBClusterSnapshotIdentifier field's value.
+func (s *DescribeDBClusterSnapshotAttributesInput) SetDBClusterSnapshotIdentifier(v string) *DescribeDBClusterSnapshotAttributesInput {
+ s.DBClusterSnapshotIdentifier = &v
+ return s
+}
+
type DescribeDBClusterSnapshotAttributesOutput struct {
_ struct{} `type:"structure"`
@@ -12180,6 +14508,12 @@ func (s DescribeDBClusterSnapshotAttributesOutput) GoString() string {
return s.String()
}
+// SetDBClusterSnapshotAttributesResult sets the DBClusterSnapshotAttributesResult field's value.
+func (s *DescribeDBClusterSnapshotAttributesOutput) SetDBClusterSnapshotAttributesResult(v *DBClusterSnapshotAttributesResult) *DescribeDBClusterSnapshotAttributesOutput {
+ s.DBClusterSnapshotAttributesResult = v
+ return s
+}
+
type DescribeDBClusterSnapshotsInput struct {
_ struct{} `type:"structure"`
@@ -12302,6 +14636,54 @@ func (s *DescribeDBClusterSnapshotsInput) Validate() error {
return nil
}
+// SetDBClusterIdentifier sets the DBClusterIdentifier field's value.
+func (s *DescribeDBClusterSnapshotsInput) SetDBClusterIdentifier(v string) *DescribeDBClusterSnapshotsInput {
+ s.DBClusterIdentifier = &v
+ return s
+}
+
+// SetDBClusterSnapshotIdentifier sets the DBClusterSnapshotIdentifier field's value.
+func (s *DescribeDBClusterSnapshotsInput) SetDBClusterSnapshotIdentifier(v string) *DescribeDBClusterSnapshotsInput {
+ s.DBClusterSnapshotIdentifier = &v
+ return s
+}
+
+// SetFilters sets the Filters field's value.
+func (s *DescribeDBClusterSnapshotsInput) SetFilters(v []*Filter) *DescribeDBClusterSnapshotsInput {
+ s.Filters = v
+ return s
+}
+
+// SetIncludePublic sets the IncludePublic field's value.
+func (s *DescribeDBClusterSnapshotsInput) SetIncludePublic(v bool) *DescribeDBClusterSnapshotsInput {
+ s.IncludePublic = &v
+ return s
+}
+
+// SetIncludeShared sets the IncludeShared field's value.
+func (s *DescribeDBClusterSnapshotsInput) SetIncludeShared(v bool) *DescribeDBClusterSnapshotsInput {
+ s.IncludeShared = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeDBClusterSnapshotsInput) SetMarker(v string) *DescribeDBClusterSnapshotsInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxRecords sets the MaxRecords field's value.
+func (s *DescribeDBClusterSnapshotsInput) SetMaxRecords(v int64) *DescribeDBClusterSnapshotsInput {
+ s.MaxRecords = &v
+ return s
+}
+
+// SetSnapshotType sets the SnapshotType field's value.
+func (s *DescribeDBClusterSnapshotsInput) SetSnapshotType(v string) *DescribeDBClusterSnapshotsInput {
+ s.SnapshotType = &v
+ return s
+}
+
// Provides a list of DB cluster snapshots for the user as the result of a call
// to the DescribeDBClusterSnapshots action.
type DescribeDBClusterSnapshotsOutput struct {
@@ -12326,6 +14708,18 @@ func (s DescribeDBClusterSnapshotsOutput) GoString() string {
return s.String()
}
+// SetDBClusterSnapshots sets the DBClusterSnapshots field's value.
+func (s *DescribeDBClusterSnapshotsOutput) SetDBClusterSnapshots(v []*DBClusterSnapshot) *DescribeDBClusterSnapshotsOutput {
+ s.DBClusterSnapshots = v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeDBClusterSnapshotsOutput) SetMarker(v string) *DescribeDBClusterSnapshotsOutput {
+ s.Marker = &v
+ return s
+}
+
type DescribeDBClustersInput struct {
_ struct{} `type:"structure"`
@@ -12390,6 +14784,30 @@ func (s *DescribeDBClustersInput) Validate() error {
return nil
}
+// SetDBClusterIdentifier sets the DBClusterIdentifier field's value.
+func (s *DescribeDBClustersInput) SetDBClusterIdentifier(v string) *DescribeDBClustersInput {
+ s.DBClusterIdentifier = &v
+ return s
+}
+
+// SetFilters sets the Filters field's value.
+func (s *DescribeDBClustersInput) SetFilters(v []*Filter) *DescribeDBClustersInput {
+ s.Filters = v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeDBClustersInput) SetMarker(v string) *DescribeDBClustersInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxRecords sets the MaxRecords field's value.
+func (s *DescribeDBClustersInput) SetMaxRecords(v int64) *DescribeDBClustersInput {
+ s.MaxRecords = &v
+ return s
+}
+
// Contains the result of a successful invocation of the DescribeDBClusters
// action.
type DescribeDBClustersOutput struct {
@@ -12412,6 +14830,18 @@ func (s DescribeDBClustersOutput) GoString() string {
return s.String()
}
+// SetDBClusters sets the DBClusters field's value.
+func (s *DescribeDBClustersOutput) SetDBClusters(v []*DBCluster) *DescribeDBClustersOutput {
+ s.DBClusters = v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeDBClustersOutput) SetMarker(v string) *DescribeDBClustersOutput {
+ s.Marker = &v
+ return s
+}
+
type DescribeDBEngineVersionsInput struct {
_ struct{} `type:"structure"`
@@ -12496,6 +14926,60 @@ func (s *DescribeDBEngineVersionsInput) Validate() error {
return nil
}
+// SetDBParameterGroupFamily sets the DBParameterGroupFamily field's value.
+func (s *DescribeDBEngineVersionsInput) SetDBParameterGroupFamily(v string) *DescribeDBEngineVersionsInput {
+ s.DBParameterGroupFamily = &v
+ return s
+}
+
+// SetDefaultOnly sets the DefaultOnly field's value.
+func (s *DescribeDBEngineVersionsInput) SetDefaultOnly(v bool) *DescribeDBEngineVersionsInput {
+ s.DefaultOnly = &v
+ return s
+}
+
+// SetEngine sets the Engine field's value.
+func (s *DescribeDBEngineVersionsInput) SetEngine(v string) *DescribeDBEngineVersionsInput {
+ s.Engine = &v
+ return s
+}
+
+// SetEngineVersion sets the EngineVersion field's value.
+func (s *DescribeDBEngineVersionsInput) SetEngineVersion(v string) *DescribeDBEngineVersionsInput {
+ s.EngineVersion = &v
+ return s
+}
+
+// SetFilters sets the Filters field's value.
+func (s *DescribeDBEngineVersionsInput) SetFilters(v []*Filter) *DescribeDBEngineVersionsInput {
+ s.Filters = v
+ return s
+}
+
+// SetListSupportedCharacterSets sets the ListSupportedCharacterSets field's value.
+func (s *DescribeDBEngineVersionsInput) SetListSupportedCharacterSets(v bool) *DescribeDBEngineVersionsInput {
+ s.ListSupportedCharacterSets = &v
+ return s
+}
+
+// SetListSupportedTimezones sets the ListSupportedTimezones field's value.
+func (s *DescribeDBEngineVersionsInput) SetListSupportedTimezones(v bool) *DescribeDBEngineVersionsInput {
+ s.ListSupportedTimezones = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeDBEngineVersionsInput) SetMarker(v string) *DescribeDBEngineVersionsInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxRecords sets the MaxRecords field's value.
+func (s *DescribeDBEngineVersionsInput) SetMaxRecords(v int64) *DescribeDBEngineVersionsInput {
+ s.MaxRecords = &v
+ return s
+}
+
// Contains the result of a successful invocation of the DescribeDBEngineVersions
// action.
type DescribeDBEngineVersionsOutput struct {
@@ -12520,6 +15004,18 @@ func (s DescribeDBEngineVersionsOutput) GoString() string {
return s.String()
}
+// SetDBEngineVersions sets the DBEngineVersions field's value.
+func (s *DescribeDBEngineVersionsOutput) SetDBEngineVersions(v []*DBEngineVersion) *DescribeDBEngineVersionsOutput {
+ s.DBEngineVersions = v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeDBEngineVersionsOutput) SetMarker(v string) *DescribeDBEngineVersionsOutput {
+ s.Marker = &v
+ return s
+}
+
type DescribeDBInstancesInput struct {
_ struct{} `type:"structure"`
@@ -12583,6 +15079,30 @@ func (s *DescribeDBInstancesInput) Validate() error {
return nil
}
+// SetDBInstanceIdentifier sets the DBInstanceIdentifier field's value.
+func (s *DescribeDBInstancesInput) SetDBInstanceIdentifier(v string) *DescribeDBInstancesInput {
+ s.DBInstanceIdentifier = &v
+ return s
+}
+
+// SetFilters sets the Filters field's value.
+func (s *DescribeDBInstancesInput) SetFilters(v []*Filter) *DescribeDBInstancesInput {
+ s.Filters = v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeDBInstancesInput) SetMarker(v string) *DescribeDBInstancesInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxRecords sets the MaxRecords field's value.
+func (s *DescribeDBInstancesInput) SetMaxRecords(v int64) *DescribeDBInstancesInput {
+ s.MaxRecords = &v
+ return s
+}
+
// Contains the result of a successful invocation of the DescribeDBInstances
// action.
type DescribeDBInstancesOutput struct {
@@ -12607,6 +15127,18 @@ func (s DescribeDBInstancesOutput) GoString() string {
return s.String()
}
+// SetDBInstances sets the DBInstances field's value.
+func (s *DescribeDBInstancesOutput) SetDBInstances(v []*DBInstance) *DescribeDBInstancesOutput {
+ s.DBInstances = v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeDBInstancesOutput) SetMarker(v string) *DescribeDBInstancesOutput {
+ s.Marker = &v
+ return s
+}
+
// This data type is used as a response element to DescribeDBLogFiles.
type DescribeDBLogFilesDetails struct {
_ struct{} `type:"structure"`
@@ -12631,6 +15163,24 @@ func (s DescribeDBLogFilesDetails) GoString() string {
return s.String()
}
+// SetLastWritten sets the LastWritten field's value.
+func (s *DescribeDBLogFilesDetails) SetLastWritten(v int64) *DescribeDBLogFilesDetails {
+ s.LastWritten = &v
+ return s
+}
+
+// SetLogFileName sets the LogFileName field's value.
+func (s *DescribeDBLogFilesDetails) SetLogFileName(v string) *DescribeDBLogFilesDetails {
+ s.LogFileName = &v
+ return s
+}
+
+// SetSize sets the Size field's value.
+func (s *DescribeDBLogFilesDetails) SetSize(v int64) *DescribeDBLogFilesDetails {
+ s.Size = &v
+ return s
+}
+
type DescribeDBLogFilesInput struct {
_ struct{} `type:"structure"`
@@ -12706,6 +15256,48 @@ func (s *DescribeDBLogFilesInput) Validate() error {
return nil
}
+// SetDBInstanceIdentifier sets the DBInstanceIdentifier field's value.
+func (s *DescribeDBLogFilesInput) SetDBInstanceIdentifier(v string) *DescribeDBLogFilesInput {
+ s.DBInstanceIdentifier = &v
+ return s
+}
+
+// SetFileLastWritten sets the FileLastWritten field's value.
+func (s *DescribeDBLogFilesInput) SetFileLastWritten(v int64) *DescribeDBLogFilesInput {
+ s.FileLastWritten = &v
+ return s
+}
+
+// SetFileSize sets the FileSize field's value.
+func (s *DescribeDBLogFilesInput) SetFileSize(v int64) *DescribeDBLogFilesInput {
+ s.FileSize = &v
+ return s
+}
+
+// SetFilenameContains sets the FilenameContains field's value.
+func (s *DescribeDBLogFilesInput) SetFilenameContains(v string) *DescribeDBLogFilesInput {
+ s.FilenameContains = &v
+ return s
+}
+
+// SetFilters sets the Filters field's value.
+func (s *DescribeDBLogFilesInput) SetFilters(v []*Filter) *DescribeDBLogFilesInput {
+ s.Filters = v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeDBLogFilesInput) SetMarker(v string) *DescribeDBLogFilesInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxRecords sets the MaxRecords field's value.
+func (s *DescribeDBLogFilesInput) SetMaxRecords(v int64) *DescribeDBLogFilesInput {
+ s.MaxRecords = &v
+ return s
+}
+
// The response from a call to DescribeDBLogFiles.
type DescribeDBLogFilesOutput struct {
_ struct{} `type:"structure"`
@@ -12727,6 +15319,18 @@ func (s DescribeDBLogFilesOutput) GoString() string {
return s.String()
}
+// SetDescribeDBLogFiles sets the DescribeDBLogFiles field's value.
+func (s *DescribeDBLogFilesOutput) SetDescribeDBLogFiles(v []*DescribeDBLogFilesDetails) *DescribeDBLogFilesOutput {
+ s.DescribeDBLogFiles = v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeDBLogFilesOutput) SetMarker(v string) *DescribeDBLogFilesOutput {
+ s.Marker = &v
+ return s
+}
+
type DescribeDBParameterGroupsInput struct {
_ struct{} `type:"structure"`
@@ -12789,6 +15393,30 @@ func (s *DescribeDBParameterGroupsInput) Validate() error {
return nil
}
+// SetDBParameterGroupName sets the DBParameterGroupName field's value.
+func (s *DescribeDBParameterGroupsInput) SetDBParameterGroupName(v string) *DescribeDBParameterGroupsInput {
+ s.DBParameterGroupName = &v
+ return s
+}
+
+// SetFilters sets the Filters field's value.
+func (s *DescribeDBParameterGroupsInput) SetFilters(v []*Filter) *DescribeDBParameterGroupsInput {
+ s.Filters = v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeDBParameterGroupsInput) SetMarker(v string) *DescribeDBParameterGroupsInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxRecords sets the MaxRecords field's value.
+func (s *DescribeDBParameterGroupsInput) SetMaxRecords(v int64) *DescribeDBParameterGroupsInput {
+ s.MaxRecords = &v
+ return s
+}
+
// Contains the result of a successful invocation of the DescribeDBParameterGroups
// action.
type DescribeDBParameterGroupsOutput struct {
@@ -12813,6 +15441,18 @@ func (s DescribeDBParameterGroupsOutput) GoString() string {
return s.String()
}
+// SetDBParameterGroups sets the DBParameterGroups field's value.
+func (s *DescribeDBParameterGroupsOutput) SetDBParameterGroups(v []*DBParameterGroup) *DescribeDBParameterGroupsOutput {
+ s.DBParameterGroups = v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeDBParameterGroupsOutput) SetMarker(v string) *DescribeDBParameterGroupsOutput {
+ s.Marker = &v
+ return s
+}
+
type DescribeDBParametersInput struct {
_ struct{} `type:"structure"`
@@ -12887,6 +15527,36 @@ func (s *DescribeDBParametersInput) Validate() error {
return nil
}
+// SetDBParameterGroupName sets the DBParameterGroupName field's value.
+func (s *DescribeDBParametersInput) SetDBParameterGroupName(v string) *DescribeDBParametersInput {
+ s.DBParameterGroupName = &v
+ return s
+}
+
+// SetFilters sets the Filters field's value.
+func (s *DescribeDBParametersInput) SetFilters(v []*Filter) *DescribeDBParametersInput {
+ s.Filters = v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeDBParametersInput) SetMarker(v string) *DescribeDBParametersInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxRecords sets the MaxRecords field's value.
+func (s *DescribeDBParametersInput) SetMaxRecords(v int64) *DescribeDBParametersInput {
+ s.MaxRecords = &v
+ return s
+}
+
+// SetSource sets the Source field's value.
+func (s *DescribeDBParametersInput) SetSource(v string) *DescribeDBParametersInput {
+ s.Source = &v
+ return s
+}
+
// Contains the result of a successful invocation of the DescribeDBParameters
// action.
type DescribeDBParametersOutput struct {
@@ -12911,6 +15581,18 @@ func (s DescribeDBParametersOutput) GoString() string {
return s.String()
}
+// SetMarker sets the Marker field's value.
+func (s *DescribeDBParametersOutput) SetMarker(v string) *DescribeDBParametersOutput {
+ s.Marker = &v
+ return s
+}
+
+// SetParameters sets the Parameters field's value.
+func (s *DescribeDBParametersOutput) SetParameters(v []*Parameter) *DescribeDBParametersOutput {
+ s.Parameters = v
+ return s
+}
+
type DescribeDBSecurityGroupsInput struct {
_ struct{} `type:"structure"`
@@ -12965,6 +15647,30 @@ func (s *DescribeDBSecurityGroupsInput) Validate() error {
return nil
}
+// SetDBSecurityGroupName sets the DBSecurityGroupName field's value.
+func (s *DescribeDBSecurityGroupsInput) SetDBSecurityGroupName(v string) *DescribeDBSecurityGroupsInput {
+ s.DBSecurityGroupName = &v
+ return s
+}
+
+// SetFilters sets the Filters field's value.
+func (s *DescribeDBSecurityGroupsInput) SetFilters(v []*Filter) *DescribeDBSecurityGroupsInput {
+ s.Filters = v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeDBSecurityGroupsInput) SetMarker(v string) *DescribeDBSecurityGroupsInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxRecords sets the MaxRecords field's value.
+func (s *DescribeDBSecurityGroupsInput) SetMaxRecords(v int64) *DescribeDBSecurityGroupsInput {
+ s.MaxRecords = &v
+ return s
+}
+
// Contains the result of a successful invocation of the DescribeDBSecurityGroups
// action.
type DescribeDBSecurityGroupsOutput struct {
@@ -12989,6 +15695,18 @@ func (s DescribeDBSecurityGroupsOutput) GoString() string {
return s.String()
}
+// SetDBSecurityGroups sets the DBSecurityGroups field's value.
+func (s *DescribeDBSecurityGroupsOutput) SetDBSecurityGroups(v []*DBSecurityGroup) *DescribeDBSecurityGroupsOutput {
+ s.DBSecurityGroups = v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeDBSecurityGroupsOutput) SetMarker(v string) *DescribeDBSecurityGroupsOutput {
+ s.Marker = &v
+ return s
+}
+
type DescribeDBSnapshotAttributesInput struct {
_ struct{} `type:"structure"`
@@ -13021,6 +15739,12 @@ func (s *DescribeDBSnapshotAttributesInput) Validate() error {
return nil
}
+// SetDBSnapshotIdentifier sets the DBSnapshotIdentifier field's value.
+func (s *DescribeDBSnapshotAttributesInput) SetDBSnapshotIdentifier(v string) *DescribeDBSnapshotAttributesInput {
+ s.DBSnapshotIdentifier = &v
+ return s
+}
+
type DescribeDBSnapshotAttributesOutput struct {
_ struct{} `type:"structure"`
@@ -13043,6 +15767,12 @@ func (s DescribeDBSnapshotAttributesOutput) GoString() string {
return s.String()
}
+// SetDBSnapshotAttributesResult sets the DBSnapshotAttributesResult field's value.
+func (s *DescribeDBSnapshotAttributesOutput) SetDBSnapshotAttributesResult(v *DBSnapshotAttributesResult) *DescribeDBSnapshotAttributesOutput {
+ s.DBSnapshotAttributesResult = v
+ return s
+}
+
type DescribeDBSnapshotsInput struct {
_ struct{} `type:"structure"`
@@ -13164,6 +15894,54 @@ func (s *DescribeDBSnapshotsInput) Validate() error {
return nil
}
+// SetDBInstanceIdentifier sets the DBInstanceIdentifier field's value.
+func (s *DescribeDBSnapshotsInput) SetDBInstanceIdentifier(v string) *DescribeDBSnapshotsInput {
+ s.DBInstanceIdentifier = &v
+ return s
+}
+
+// SetDBSnapshotIdentifier sets the DBSnapshotIdentifier field's value.
+func (s *DescribeDBSnapshotsInput) SetDBSnapshotIdentifier(v string) *DescribeDBSnapshotsInput {
+ s.DBSnapshotIdentifier = &v
+ return s
+}
+
+// SetFilters sets the Filters field's value.
+func (s *DescribeDBSnapshotsInput) SetFilters(v []*Filter) *DescribeDBSnapshotsInput {
+ s.Filters = v
+ return s
+}
+
+// SetIncludePublic sets the IncludePublic field's value.
+func (s *DescribeDBSnapshotsInput) SetIncludePublic(v bool) *DescribeDBSnapshotsInput {
+ s.IncludePublic = &v
+ return s
+}
+
+// SetIncludeShared sets the IncludeShared field's value.
+func (s *DescribeDBSnapshotsInput) SetIncludeShared(v bool) *DescribeDBSnapshotsInput {
+ s.IncludeShared = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeDBSnapshotsInput) SetMarker(v string) *DescribeDBSnapshotsInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxRecords sets the MaxRecords field's value.
+func (s *DescribeDBSnapshotsInput) SetMaxRecords(v int64) *DescribeDBSnapshotsInput {
+ s.MaxRecords = &v
+ return s
+}
+
+// SetSnapshotType sets the SnapshotType field's value.
+func (s *DescribeDBSnapshotsInput) SetSnapshotType(v string) *DescribeDBSnapshotsInput {
+ s.SnapshotType = &v
+ return s
+}
+
// Contains the result of a successful invocation of the DescribeDBSnapshots
// action.
type DescribeDBSnapshotsOutput struct {
@@ -13188,6 +15966,18 @@ func (s DescribeDBSnapshotsOutput) GoString() string {
return s.String()
}
+// SetDBSnapshots sets the DBSnapshots field's value.
+func (s *DescribeDBSnapshotsOutput) SetDBSnapshots(v []*DBSnapshot) *DescribeDBSnapshotsOutput {
+ s.DBSnapshots = v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeDBSnapshotsOutput) SetMarker(v string) *DescribeDBSnapshotsOutput {
+ s.Marker = &v
+ return s
+}
+
type DescribeDBSubnetGroupsInput struct {
_ struct{} `type:"structure"`
@@ -13242,6 +16032,30 @@ func (s *DescribeDBSubnetGroupsInput) Validate() error {
return nil
}
+// SetDBSubnetGroupName sets the DBSubnetGroupName field's value.
+func (s *DescribeDBSubnetGroupsInput) SetDBSubnetGroupName(v string) *DescribeDBSubnetGroupsInput {
+ s.DBSubnetGroupName = &v
+ return s
+}
+
+// SetFilters sets the Filters field's value.
+func (s *DescribeDBSubnetGroupsInput) SetFilters(v []*Filter) *DescribeDBSubnetGroupsInput {
+ s.Filters = v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeDBSubnetGroupsInput) SetMarker(v string) *DescribeDBSubnetGroupsInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxRecords sets the MaxRecords field's value.
+func (s *DescribeDBSubnetGroupsInput) SetMaxRecords(v int64) *DescribeDBSubnetGroupsInput {
+ s.MaxRecords = &v
+ return s
+}
+
// Contains the result of a successful invocation of the DescribeDBSubnetGroups
// action.
type DescribeDBSubnetGroupsOutput struct {
@@ -13266,6 +16080,18 @@ func (s DescribeDBSubnetGroupsOutput) GoString() string {
return s.String()
}
+// SetDBSubnetGroups sets the DBSubnetGroups field's value.
+func (s *DescribeDBSubnetGroupsOutput) SetDBSubnetGroups(v []*DBSubnetGroup) *DescribeDBSubnetGroupsOutput {
+ s.DBSubnetGroups = v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeDBSubnetGroupsOutput) SetMarker(v string) *DescribeDBSubnetGroupsOutput {
+ s.Marker = &v
+ return s
+}
+
type DescribeEngineDefaultClusterParametersInput struct {
_ struct{} `type:"structure"`
@@ -13326,6 +16152,30 @@ func (s *DescribeEngineDefaultClusterParametersInput) Validate() error {
return nil
}
+// SetDBParameterGroupFamily sets the DBParameterGroupFamily field's value.
+func (s *DescribeEngineDefaultClusterParametersInput) SetDBParameterGroupFamily(v string) *DescribeEngineDefaultClusterParametersInput {
+ s.DBParameterGroupFamily = &v
+ return s
+}
+
+// SetFilters sets the Filters field's value.
+func (s *DescribeEngineDefaultClusterParametersInput) SetFilters(v []*Filter) *DescribeEngineDefaultClusterParametersInput {
+ s.Filters = v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeEngineDefaultClusterParametersInput) SetMarker(v string) *DescribeEngineDefaultClusterParametersInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxRecords sets the MaxRecords field's value.
+func (s *DescribeEngineDefaultClusterParametersInput) SetMaxRecords(v int64) *DescribeEngineDefaultClusterParametersInput {
+ s.MaxRecords = &v
+ return s
+}
+
type DescribeEngineDefaultClusterParametersOutput struct {
_ struct{} `type:"structure"`
@@ -13344,6 +16194,12 @@ func (s DescribeEngineDefaultClusterParametersOutput) GoString() string {
return s.String()
}
+// SetEngineDefaults sets the EngineDefaults field's value.
+func (s *DescribeEngineDefaultClusterParametersOutput) SetEngineDefaults(v *EngineDefaults) *DescribeEngineDefaultClusterParametersOutput {
+ s.EngineDefaults = v
+ return s
+}
+
type DescribeEngineDefaultParametersInput struct {
_ struct{} `type:"structure"`
@@ -13403,6 +16259,30 @@ func (s *DescribeEngineDefaultParametersInput) Validate() error {
return nil
}
+// SetDBParameterGroupFamily sets the DBParameterGroupFamily field's value.
+func (s *DescribeEngineDefaultParametersInput) SetDBParameterGroupFamily(v string) *DescribeEngineDefaultParametersInput {
+ s.DBParameterGroupFamily = &v
+ return s
+}
+
+// SetFilters sets the Filters field's value.
+func (s *DescribeEngineDefaultParametersInput) SetFilters(v []*Filter) *DescribeEngineDefaultParametersInput {
+ s.Filters = v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeEngineDefaultParametersInput) SetMarker(v string) *DescribeEngineDefaultParametersInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxRecords sets the MaxRecords field's value.
+func (s *DescribeEngineDefaultParametersInput) SetMaxRecords(v int64) *DescribeEngineDefaultParametersInput {
+ s.MaxRecords = &v
+ return s
+}
+
type DescribeEngineDefaultParametersOutput struct {
_ struct{} `type:"structure"`
@@ -13421,6 +16301,12 @@ func (s DescribeEngineDefaultParametersOutput) GoString() string {
return s.String()
}
+// SetEngineDefaults sets the EngineDefaults field's value.
+func (s *DescribeEngineDefaultParametersOutput) SetEngineDefaults(v *EngineDefaults) *DescribeEngineDefaultParametersOutput {
+ s.EngineDefaults = v
+ return s
+}
+
type DescribeEventCategoriesInput struct {
_ struct{} `type:"structure"`
@@ -13463,6 +16349,18 @@ func (s *DescribeEventCategoriesInput) Validate() error {
return nil
}
+// SetFilters sets the Filters field's value.
+func (s *DescribeEventCategoriesInput) SetFilters(v []*Filter) *DescribeEventCategoriesInput {
+ s.Filters = v
+ return s
+}
+
+// SetSourceType sets the SourceType field's value.
+func (s *DescribeEventCategoriesInput) SetSourceType(v string) *DescribeEventCategoriesInput {
+ s.SourceType = &v
+ return s
+}
+
// Data returned from the DescribeEventCategories action.
type DescribeEventCategoriesOutput struct {
_ struct{} `type:"structure"`
@@ -13481,6 +16379,12 @@ func (s DescribeEventCategoriesOutput) GoString() string {
return s.String()
}
+// SetEventCategoriesMapList sets the EventCategoriesMapList field's value.
+func (s *DescribeEventCategoriesOutput) SetEventCategoriesMapList(v []*EventCategoriesMap) *DescribeEventCategoriesOutput {
+ s.EventCategoriesMapList = v
+ return s
+}
+
type DescribeEventSubscriptionsInput struct {
_ struct{} `type:"structure"`
@@ -13535,6 +16439,30 @@ func (s *DescribeEventSubscriptionsInput) Validate() error {
return nil
}
+// SetFilters sets the Filters field's value.
+func (s *DescribeEventSubscriptionsInput) SetFilters(v []*Filter) *DescribeEventSubscriptionsInput {
+ s.Filters = v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeEventSubscriptionsInput) SetMarker(v string) *DescribeEventSubscriptionsInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxRecords sets the MaxRecords field's value.
+func (s *DescribeEventSubscriptionsInput) SetMaxRecords(v int64) *DescribeEventSubscriptionsInput {
+ s.MaxRecords = &v
+ return s
+}
+
+// SetSubscriptionName sets the SubscriptionName field's value.
+func (s *DescribeEventSubscriptionsInput) SetSubscriptionName(v string) *DescribeEventSubscriptionsInput {
+ s.SubscriptionName = &v
+ return s
+}
+
// Data returned by the DescribeEventSubscriptions action.
type DescribeEventSubscriptionsOutput struct {
_ struct{} `type:"structure"`
@@ -13558,6 +16486,18 @@ func (s DescribeEventSubscriptionsOutput) GoString() string {
return s.String()
}
+// SetEventSubscriptionsList sets the EventSubscriptionsList field's value.
+func (s *DescribeEventSubscriptionsOutput) SetEventSubscriptionsList(v []*EventSubscription) *DescribeEventSubscriptionsOutput {
+ s.EventSubscriptionsList = v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeEventSubscriptionsOutput) SetMarker(v string) *DescribeEventSubscriptionsOutput {
+ s.Marker = &v
+ return s
+}
+
type DescribeEventsInput struct {
_ struct{} `type:"structure"`
@@ -13657,6 +16597,60 @@ func (s *DescribeEventsInput) Validate() error {
return nil
}
+// SetDuration sets the Duration field's value.
+func (s *DescribeEventsInput) SetDuration(v int64) *DescribeEventsInput {
+ s.Duration = &v
+ return s
+}
+
+// SetEndTime sets the EndTime field's value.
+func (s *DescribeEventsInput) SetEndTime(v time.Time) *DescribeEventsInput {
+ s.EndTime = &v
+ return s
+}
+
+// SetEventCategories sets the EventCategories field's value.
+func (s *DescribeEventsInput) SetEventCategories(v []*string) *DescribeEventsInput {
+ s.EventCategories = v
+ return s
+}
+
+// SetFilters sets the Filters field's value.
+func (s *DescribeEventsInput) SetFilters(v []*Filter) *DescribeEventsInput {
+ s.Filters = v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeEventsInput) SetMarker(v string) *DescribeEventsInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxRecords sets the MaxRecords field's value.
+func (s *DescribeEventsInput) SetMaxRecords(v int64) *DescribeEventsInput {
+ s.MaxRecords = &v
+ return s
+}
+
+// SetSourceIdentifier sets the SourceIdentifier field's value.
+func (s *DescribeEventsInput) SetSourceIdentifier(v string) *DescribeEventsInput {
+ s.SourceIdentifier = &v
+ return s
+}
+
+// SetSourceType sets the SourceType field's value.
+func (s *DescribeEventsInput) SetSourceType(v string) *DescribeEventsInput {
+ s.SourceType = &v
+ return s
+}
+
+// SetStartTime sets the StartTime field's value.
+func (s *DescribeEventsInput) SetStartTime(v time.Time) *DescribeEventsInput {
+ s.StartTime = &v
+ return s
+}
+
// Contains the result of a successful invocation of the DescribeEvents action.
type DescribeEventsOutput struct {
_ struct{} `type:"structure"`
@@ -13680,6 +16674,18 @@ func (s DescribeEventsOutput) GoString() string {
return s.String()
}
+// SetEvents sets the Events field's value.
+func (s *DescribeEventsOutput) SetEvents(v []*Event) *DescribeEventsOutput {
+ s.Events = v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeEventsOutput) SetMarker(v string) *DescribeEventsOutput {
+ s.Marker = &v
+ return s
+}
+
type DescribeOptionGroupOptionsInput struct {
_ struct{} `type:"structure"`
@@ -13744,6 +16750,36 @@ func (s *DescribeOptionGroupOptionsInput) Validate() error {
return nil
}
+// SetEngineName sets the EngineName field's value.
+func (s *DescribeOptionGroupOptionsInput) SetEngineName(v string) *DescribeOptionGroupOptionsInput {
+ s.EngineName = &v
+ return s
+}
+
+// SetFilters sets the Filters field's value.
+func (s *DescribeOptionGroupOptionsInput) SetFilters(v []*Filter) *DescribeOptionGroupOptionsInput {
+ s.Filters = v
+ return s
+}
+
+// SetMajorEngineVersion sets the MajorEngineVersion field's value.
+func (s *DescribeOptionGroupOptionsInput) SetMajorEngineVersion(v string) *DescribeOptionGroupOptionsInput {
+ s.MajorEngineVersion = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeOptionGroupOptionsInput) SetMarker(v string) *DescribeOptionGroupOptionsInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxRecords sets the MaxRecords field's value.
+func (s *DescribeOptionGroupOptionsInput) SetMaxRecords(v int64) *DescribeOptionGroupOptionsInput {
+ s.MaxRecords = &v
+ return s
+}
+
type DescribeOptionGroupOptionsOutput struct {
_ struct{} `type:"structure"`
@@ -13766,6 +16802,18 @@ func (s DescribeOptionGroupOptionsOutput) GoString() string {
return s.String()
}
+// SetMarker sets the Marker field's value.
+func (s *DescribeOptionGroupOptionsOutput) SetMarker(v string) *DescribeOptionGroupOptionsOutput {
+ s.Marker = &v
+ return s
+}
+
+// SetOptionGroupOptions sets the OptionGroupOptions field's value.
+func (s *DescribeOptionGroupOptionsOutput) SetOptionGroupOptions(v []*OptionGroupOption) *DescribeOptionGroupOptionsOutput {
+ s.OptionGroupOptions = v
+ return s
+}
+
type DescribeOptionGroupsInput struct {
_ struct{} `type:"structure"`
@@ -13830,6 +16878,42 @@ func (s *DescribeOptionGroupsInput) Validate() error {
return nil
}
+// SetEngineName sets the EngineName field's value.
+func (s *DescribeOptionGroupsInput) SetEngineName(v string) *DescribeOptionGroupsInput {
+ s.EngineName = &v
+ return s
+}
+
+// SetFilters sets the Filters field's value.
+func (s *DescribeOptionGroupsInput) SetFilters(v []*Filter) *DescribeOptionGroupsInput {
+ s.Filters = v
+ return s
+}
+
+// SetMajorEngineVersion sets the MajorEngineVersion field's value.
+func (s *DescribeOptionGroupsInput) SetMajorEngineVersion(v string) *DescribeOptionGroupsInput {
+ s.MajorEngineVersion = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeOptionGroupsInput) SetMarker(v string) *DescribeOptionGroupsInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxRecords sets the MaxRecords field's value.
+func (s *DescribeOptionGroupsInput) SetMaxRecords(v int64) *DescribeOptionGroupsInput {
+ s.MaxRecords = &v
+ return s
+}
+
+// SetOptionGroupName sets the OptionGroupName field's value.
+func (s *DescribeOptionGroupsInput) SetOptionGroupName(v string) *DescribeOptionGroupsInput {
+ s.OptionGroupName = &v
+ return s
+}
+
// List of option groups.
type DescribeOptionGroupsOutput struct {
_ struct{} `type:"structure"`
@@ -13853,6 +16937,18 @@ func (s DescribeOptionGroupsOutput) GoString() string {
return s.String()
}
+// SetMarker sets the Marker field's value.
+func (s *DescribeOptionGroupsOutput) SetMarker(v string) *DescribeOptionGroupsOutput {
+ s.Marker = &v
+ return s
+}
+
+// SetOptionGroupsList sets the OptionGroupsList field's value.
+func (s *DescribeOptionGroupsOutput) SetOptionGroupsList(v []*OptionGroup) *DescribeOptionGroupsOutput {
+ s.OptionGroupsList = v
+ return s
+}
+
type DescribeOrderableDBInstanceOptionsInput struct {
_ struct{} `type:"structure"`
@@ -13928,6 +17024,54 @@ func (s *DescribeOrderableDBInstanceOptionsInput) Validate() error {
return nil
}
+// SetDBInstanceClass sets the DBInstanceClass field's value.
+func (s *DescribeOrderableDBInstanceOptionsInput) SetDBInstanceClass(v string) *DescribeOrderableDBInstanceOptionsInput {
+ s.DBInstanceClass = &v
+ return s
+}
+
+// SetEngine sets the Engine field's value.
+func (s *DescribeOrderableDBInstanceOptionsInput) SetEngine(v string) *DescribeOrderableDBInstanceOptionsInput {
+ s.Engine = &v
+ return s
+}
+
+// SetEngineVersion sets the EngineVersion field's value.
+func (s *DescribeOrderableDBInstanceOptionsInput) SetEngineVersion(v string) *DescribeOrderableDBInstanceOptionsInput {
+ s.EngineVersion = &v
+ return s
+}
+
+// SetFilters sets the Filters field's value.
+func (s *DescribeOrderableDBInstanceOptionsInput) SetFilters(v []*Filter) *DescribeOrderableDBInstanceOptionsInput {
+ s.Filters = v
+ return s
+}
+
+// SetLicenseModel sets the LicenseModel field's value.
+func (s *DescribeOrderableDBInstanceOptionsInput) SetLicenseModel(v string) *DescribeOrderableDBInstanceOptionsInput {
+ s.LicenseModel = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeOrderableDBInstanceOptionsInput) SetMarker(v string) *DescribeOrderableDBInstanceOptionsInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxRecords sets the MaxRecords field's value.
+func (s *DescribeOrderableDBInstanceOptionsInput) SetMaxRecords(v int64) *DescribeOrderableDBInstanceOptionsInput {
+ s.MaxRecords = &v
+ return s
+}
+
+// SetVpc sets the Vpc field's value.
+func (s *DescribeOrderableDBInstanceOptionsInput) SetVpc(v bool) *DescribeOrderableDBInstanceOptionsInput {
+ s.Vpc = &v
+ return s
+}
+
// Contains the result of a successful invocation of the DescribeOrderableDBInstanceOptions
// action.
type DescribeOrderableDBInstanceOptionsOutput struct {
@@ -13953,6 +17097,18 @@ func (s DescribeOrderableDBInstanceOptionsOutput) GoString() string {
return s.String()
}
+// SetMarker sets the Marker field's value.
+func (s *DescribeOrderableDBInstanceOptionsOutput) SetMarker(v string) *DescribeOrderableDBInstanceOptionsOutput {
+ s.Marker = &v
+ return s
+}
+
+// SetOrderableDBInstanceOptions sets the OrderableDBInstanceOptions field's value.
+func (s *DescribeOrderableDBInstanceOptionsOutput) SetOrderableDBInstanceOptions(v []*OrderableDBInstanceOption) *DescribeOrderableDBInstanceOptionsOutput {
+ s.OrderableDBInstanceOptions = v
+ return s
+}
+
type DescribePendingMaintenanceActionsInput struct {
_ struct{} `type:"structure"`
@@ -14014,6 +17170,30 @@ func (s *DescribePendingMaintenanceActionsInput) Validate() error {
return nil
}
+// SetFilters sets the Filters field's value.
+func (s *DescribePendingMaintenanceActionsInput) SetFilters(v []*Filter) *DescribePendingMaintenanceActionsInput {
+ s.Filters = v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribePendingMaintenanceActionsInput) SetMarker(v string) *DescribePendingMaintenanceActionsInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxRecords sets the MaxRecords field's value.
+func (s *DescribePendingMaintenanceActionsInput) SetMaxRecords(v int64) *DescribePendingMaintenanceActionsInput {
+ s.MaxRecords = &v
+ return s
+}
+
+// SetResourceIdentifier sets the ResourceIdentifier field's value.
+func (s *DescribePendingMaintenanceActionsInput) SetResourceIdentifier(v string) *DescribePendingMaintenanceActionsInput {
+ s.ResourceIdentifier = &v
+ return s
+}
+
// Data returned from the DescribePendingMaintenanceActions action.
type DescribePendingMaintenanceActionsOutput struct {
_ struct{} `type:"structure"`
@@ -14037,6 +17217,18 @@ func (s DescribePendingMaintenanceActionsOutput) GoString() string {
return s.String()
}
+// SetMarker sets the Marker field's value.
+func (s *DescribePendingMaintenanceActionsOutput) SetMarker(v string) *DescribePendingMaintenanceActionsOutput {
+ s.Marker = &v
+ return s
+}
+
+// SetPendingMaintenanceActions sets the PendingMaintenanceActions field's value.
+func (s *DescribePendingMaintenanceActionsOutput) SetPendingMaintenanceActions(v []*ResourcePendingMaintenanceActions) *DescribePendingMaintenanceActionsOutput {
+ s.PendingMaintenanceActions = v
+ return s
+}
+
type DescribeReservedDBInstancesInput struct {
_ struct{} `type:"structure"`
@@ -14120,6 +17312,66 @@ func (s *DescribeReservedDBInstancesInput) Validate() error {
return nil
}
+// SetDBInstanceClass sets the DBInstanceClass field's value.
+func (s *DescribeReservedDBInstancesInput) SetDBInstanceClass(v string) *DescribeReservedDBInstancesInput {
+ s.DBInstanceClass = &v
+ return s
+}
+
+// SetDuration sets the Duration field's value.
+func (s *DescribeReservedDBInstancesInput) SetDuration(v string) *DescribeReservedDBInstancesInput {
+ s.Duration = &v
+ return s
+}
+
+// SetFilters sets the Filters field's value.
+func (s *DescribeReservedDBInstancesInput) SetFilters(v []*Filter) *DescribeReservedDBInstancesInput {
+ s.Filters = v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeReservedDBInstancesInput) SetMarker(v string) *DescribeReservedDBInstancesInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxRecords sets the MaxRecords field's value.
+func (s *DescribeReservedDBInstancesInput) SetMaxRecords(v int64) *DescribeReservedDBInstancesInput {
+ s.MaxRecords = &v
+ return s
+}
+
+// SetMultiAZ sets the MultiAZ field's value.
+func (s *DescribeReservedDBInstancesInput) SetMultiAZ(v bool) *DescribeReservedDBInstancesInput {
+ s.MultiAZ = &v
+ return s
+}
+
+// SetOfferingType sets the OfferingType field's value.
+func (s *DescribeReservedDBInstancesInput) SetOfferingType(v string) *DescribeReservedDBInstancesInput {
+ s.OfferingType = &v
+ return s
+}
+
+// SetProductDescription sets the ProductDescription field's value.
+func (s *DescribeReservedDBInstancesInput) SetProductDescription(v string) *DescribeReservedDBInstancesInput {
+ s.ProductDescription = &v
+ return s
+}
+
+// SetReservedDBInstanceId sets the ReservedDBInstanceId field's value.
+func (s *DescribeReservedDBInstancesInput) SetReservedDBInstanceId(v string) *DescribeReservedDBInstancesInput {
+ s.ReservedDBInstanceId = &v
+ return s
+}
+
+// SetReservedDBInstancesOfferingId sets the ReservedDBInstancesOfferingId field's value.
+func (s *DescribeReservedDBInstancesInput) SetReservedDBInstancesOfferingId(v string) *DescribeReservedDBInstancesInput {
+ s.ReservedDBInstancesOfferingId = &v
+ return s
+}
+
type DescribeReservedDBInstancesOfferingsInput struct {
_ struct{} `type:"structure"`
@@ -14201,6 +17453,60 @@ func (s *DescribeReservedDBInstancesOfferingsInput) Validate() error {
return nil
}
+// SetDBInstanceClass sets the DBInstanceClass field's value.
+func (s *DescribeReservedDBInstancesOfferingsInput) SetDBInstanceClass(v string) *DescribeReservedDBInstancesOfferingsInput {
+ s.DBInstanceClass = &v
+ return s
+}
+
+// SetDuration sets the Duration field's value.
+func (s *DescribeReservedDBInstancesOfferingsInput) SetDuration(v string) *DescribeReservedDBInstancesOfferingsInput {
+ s.Duration = &v
+ return s
+}
+
+// SetFilters sets the Filters field's value.
+func (s *DescribeReservedDBInstancesOfferingsInput) SetFilters(v []*Filter) *DescribeReservedDBInstancesOfferingsInput {
+ s.Filters = v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeReservedDBInstancesOfferingsInput) SetMarker(v string) *DescribeReservedDBInstancesOfferingsInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxRecords sets the MaxRecords field's value.
+func (s *DescribeReservedDBInstancesOfferingsInput) SetMaxRecords(v int64) *DescribeReservedDBInstancesOfferingsInput {
+ s.MaxRecords = &v
+ return s
+}
+
+// SetMultiAZ sets the MultiAZ field's value.
+func (s *DescribeReservedDBInstancesOfferingsInput) SetMultiAZ(v bool) *DescribeReservedDBInstancesOfferingsInput {
+ s.MultiAZ = &v
+ return s
+}
+
+// SetOfferingType sets the OfferingType field's value.
+func (s *DescribeReservedDBInstancesOfferingsInput) SetOfferingType(v string) *DescribeReservedDBInstancesOfferingsInput {
+ s.OfferingType = &v
+ return s
+}
+
+// SetProductDescription sets the ProductDescription field's value.
+func (s *DescribeReservedDBInstancesOfferingsInput) SetProductDescription(v string) *DescribeReservedDBInstancesOfferingsInput {
+ s.ProductDescription = &v
+ return s
+}
+
+// SetReservedDBInstancesOfferingId sets the ReservedDBInstancesOfferingId field's value.
+func (s *DescribeReservedDBInstancesOfferingsInput) SetReservedDBInstancesOfferingId(v string) *DescribeReservedDBInstancesOfferingsInput {
+ s.ReservedDBInstancesOfferingId = &v
+ return s
+}
+
// Contains the result of a successful invocation of the DescribeReservedDBInstancesOfferings
// action.
type DescribeReservedDBInstancesOfferingsOutput struct {
@@ -14225,6 +17531,18 @@ func (s DescribeReservedDBInstancesOfferingsOutput) GoString() string {
return s.String()
}
+// SetMarker sets the Marker field's value.
+func (s *DescribeReservedDBInstancesOfferingsOutput) SetMarker(v string) *DescribeReservedDBInstancesOfferingsOutput {
+ s.Marker = &v
+ return s
+}
+
+// SetReservedDBInstancesOfferings sets the ReservedDBInstancesOfferings field's value.
+func (s *DescribeReservedDBInstancesOfferingsOutput) SetReservedDBInstancesOfferings(v []*ReservedDBInstancesOffering) *DescribeReservedDBInstancesOfferingsOutput {
+ s.ReservedDBInstancesOfferings = v
+ return s
+}
+
// Contains the result of a successful invocation of the DescribeReservedDBInstances
// action.
type DescribeReservedDBInstancesOutput struct {
@@ -14249,6 +17567,18 @@ func (s DescribeReservedDBInstancesOutput) GoString() string {
return s.String()
}
+// SetMarker sets the Marker field's value.
+func (s *DescribeReservedDBInstancesOutput) SetMarker(v string) *DescribeReservedDBInstancesOutput {
+ s.Marker = &v
+ return s
+}
+
+// SetReservedDBInstances sets the ReservedDBInstances field's value.
+func (s *DescribeReservedDBInstancesOutput) SetReservedDBInstances(v []*ReservedDBInstance) *DescribeReservedDBInstancesOutput {
+ s.ReservedDBInstances = v
+ return s
+}
+
type DescribeSourceRegionsInput struct {
_ struct{} `type:"structure"`
@@ -14307,6 +17637,30 @@ func (s *DescribeSourceRegionsInput) Validate() error {
return nil
}
+// SetFilters sets the Filters field's value.
+func (s *DescribeSourceRegionsInput) SetFilters(v []*Filter) *DescribeSourceRegionsInput {
+ s.Filters = v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeSourceRegionsInput) SetMarker(v string) *DescribeSourceRegionsInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxRecords sets the MaxRecords field's value.
+func (s *DescribeSourceRegionsInput) SetMaxRecords(v int64) *DescribeSourceRegionsInput {
+ s.MaxRecords = &v
+ return s
+}
+
+// SetRegionName sets the RegionName field's value.
+func (s *DescribeSourceRegionsInput) SetRegionName(v string) *DescribeSourceRegionsInput {
+ s.RegionName = &v
+ return s
+}
+
// Contains the result of a successful invocation of the DescribeSourceRegions
// action.
type DescribeSourceRegionsOutput struct {
@@ -14332,6 +17686,18 @@ func (s DescribeSourceRegionsOutput) GoString() string {
return s.String()
}
+// SetMarker sets the Marker field's value.
+func (s *DescribeSourceRegionsOutput) SetMarker(v string) *DescribeSourceRegionsOutput {
+ s.Marker = &v
+ return s
+}
+
+// SetSourceRegions sets the SourceRegions field's value.
+func (s *DescribeSourceRegionsOutput) SetSourceRegions(v []*SourceRegion) *DescribeSourceRegionsOutput {
+ s.SourceRegions = v
+ return s
+}
+
// An Active Directory Domain membership record associated with the DB instance.
type DomainMembership struct {
_ struct{} `type:"structure"`
@@ -14361,6 +17727,30 @@ func (s DomainMembership) GoString() string {
return s.String()
}
+// SetDomain sets the Domain field's value.
+func (s *DomainMembership) SetDomain(v string) *DomainMembership {
+ s.Domain = &v
+ return s
+}
+
+// SetFQDN sets the FQDN field's value.
+func (s *DomainMembership) SetFQDN(v string) *DomainMembership {
+ s.FQDN = &v
+ return s
+}
+
+// SetIAMRoleName sets the IAMRoleName field's value.
+func (s *DomainMembership) SetIAMRoleName(v string) *DomainMembership {
+ s.IAMRoleName = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *DomainMembership) SetStatus(v string) *DomainMembership {
+ s.Status = &v
+ return s
+}
+
type DownloadDBLogFilePortionInput struct {
_ struct{} `type:"structure"`
@@ -14439,6 +17829,30 @@ func (s *DownloadDBLogFilePortionInput) Validate() error {
return nil
}
+// SetDBInstanceIdentifier sets the DBInstanceIdentifier field's value.
+func (s *DownloadDBLogFilePortionInput) SetDBInstanceIdentifier(v string) *DownloadDBLogFilePortionInput {
+ s.DBInstanceIdentifier = &v
+ return s
+}
+
+// SetLogFileName sets the LogFileName field's value.
+func (s *DownloadDBLogFilePortionInput) SetLogFileName(v string) *DownloadDBLogFilePortionInput {
+ s.LogFileName = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DownloadDBLogFilePortionInput) SetMarker(v string) *DownloadDBLogFilePortionInput {
+ s.Marker = &v
+ return s
+}
+
+// SetNumberOfLines sets the NumberOfLines field's value.
+func (s *DownloadDBLogFilePortionInput) SetNumberOfLines(v int64) *DownloadDBLogFilePortionInput {
+ s.NumberOfLines = &v
+ return s
+}
+
// This data type is used as a response element to DownloadDBLogFilePortion.
type DownloadDBLogFilePortionOutput struct {
_ struct{} `type:"structure"`
@@ -14464,6 +17878,24 @@ func (s DownloadDBLogFilePortionOutput) GoString() string {
return s.String()
}
+// SetAdditionalDataPending sets the AdditionalDataPending field's value.
+func (s *DownloadDBLogFilePortionOutput) SetAdditionalDataPending(v bool) *DownloadDBLogFilePortionOutput {
+ s.AdditionalDataPending = &v
+ return s
+}
+
+// SetLogFileData sets the LogFileData field's value.
+func (s *DownloadDBLogFilePortionOutput) SetLogFileData(v string) *DownloadDBLogFilePortionOutput {
+ s.LogFileData = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DownloadDBLogFilePortionOutput) SetMarker(v string) *DownloadDBLogFilePortionOutput {
+ s.Marker = &v
+ return s
+}
+
// This data type is used as a response element in the following actions:
//
// * AuthorizeDBSecurityGroupIngress
@@ -14499,6 +17931,30 @@ func (s EC2SecurityGroup) GoString() string {
return s.String()
}
+// SetEC2SecurityGroupId sets the EC2SecurityGroupId field's value.
+func (s *EC2SecurityGroup) SetEC2SecurityGroupId(v string) *EC2SecurityGroup {
+ s.EC2SecurityGroupId = &v
+ return s
+}
+
+// SetEC2SecurityGroupName sets the EC2SecurityGroupName field's value.
+func (s *EC2SecurityGroup) SetEC2SecurityGroupName(v string) *EC2SecurityGroup {
+ s.EC2SecurityGroupName = &v
+ return s
+}
+
+// SetEC2SecurityGroupOwnerId sets the EC2SecurityGroupOwnerId field's value.
+func (s *EC2SecurityGroup) SetEC2SecurityGroupOwnerId(v string) *EC2SecurityGroup {
+ s.EC2SecurityGroupOwnerId = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *EC2SecurityGroup) SetStatus(v string) *EC2SecurityGroup {
+ s.Status = &v
+ return s
+}
+
// This data type is used as a response element in the following actions:
//
// * CreateDBInstance
@@ -14529,6 +17985,24 @@ func (s Endpoint) GoString() string {
return s.String()
}
+// SetAddress sets the Address field's value.
+func (s *Endpoint) SetAddress(v string) *Endpoint {
+ s.Address = &v
+ return s
+}
+
+// SetHostedZoneId sets the HostedZoneId field's value.
+func (s *Endpoint) SetHostedZoneId(v string) *Endpoint {
+ s.HostedZoneId = &v
+ return s
+}
+
+// SetPort sets the Port field's value.
+func (s *Endpoint) SetPort(v int64) *Endpoint {
+ s.Port = &v
+ return s
+}
+
// Contains the result of a successful invocation of the DescribeEngineDefaultParameters
// action.
type EngineDefaults struct {
@@ -14557,6 +18031,24 @@ func (s EngineDefaults) GoString() string {
return s.String()
}
+// SetDBParameterGroupFamily sets the DBParameterGroupFamily field's value.
+func (s *EngineDefaults) SetDBParameterGroupFamily(v string) *EngineDefaults {
+ s.DBParameterGroupFamily = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *EngineDefaults) SetMarker(v string) *EngineDefaults {
+ s.Marker = &v
+ return s
+}
+
+// SetParameters sets the Parameters field's value.
+func (s *EngineDefaults) SetParameters(v []*Parameter) *EngineDefaults {
+ s.Parameters = v
+ return s
+}
+
// This data type is used as a response element in the DescribeEvents action.
type Event struct {
_ struct{} `type:"structure"`
@@ -14590,6 +18082,42 @@ func (s Event) GoString() string {
return s.String()
}
+// SetDate sets the Date field's value.
+func (s *Event) SetDate(v time.Time) *Event {
+ s.Date = &v
+ return s
+}
+
+// SetEventCategories sets the EventCategories field's value.
+func (s *Event) SetEventCategories(v []*string) *Event {
+ s.EventCategories = v
+ return s
+}
+
+// SetMessage sets the Message field's value.
+func (s *Event) SetMessage(v string) *Event {
+ s.Message = &v
+ return s
+}
+
+// SetSourceArn sets the SourceArn field's value.
+func (s *Event) SetSourceArn(v string) *Event {
+ s.SourceArn = &v
+ return s
+}
+
+// SetSourceIdentifier sets the SourceIdentifier field's value.
+func (s *Event) SetSourceIdentifier(v string) *Event {
+ s.SourceIdentifier = &v
+ return s
+}
+
+// SetSourceType sets the SourceType field's value.
+func (s *Event) SetSourceType(v string) *Event {
+ s.SourceType = &v
+ return s
+}
+
// Contains the results of a successful invocation of the DescribeEventCategories
// action.
type EventCategoriesMap struct {
@@ -14612,6 +18140,18 @@ func (s EventCategoriesMap) GoString() string {
return s.String()
}
+// SetEventCategories sets the EventCategories field's value.
+func (s *EventCategoriesMap) SetEventCategories(v []*string) *EventCategoriesMap {
+ s.EventCategories = v
+ return s
+}
+
+// SetSourceType sets the SourceType field's value.
+func (s *EventCategoriesMap) SetSourceType(v string) *EventCategoriesMap {
+ s.SourceType = &v
+ return s
+}
+
// Contains the results of a successful invocation of the DescribeEventSubscriptions
// action.
type EventSubscription struct {
@@ -14668,6 +18208,66 @@ func (s EventSubscription) GoString() string {
return s.String()
}
+// SetCustSubscriptionId sets the CustSubscriptionId field's value.
+func (s *EventSubscription) SetCustSubscriptionId(v string) *EventSubscription {
+ s.CustSubscriptionId = &v
+ return s
+}
+
+// SetCustomerAwsId sets the CustomerAwsId field's value.
+func (s *EventSubscription) SetCustomerAwsId(v string) *EventSubscription {
+ s.CustomerAwsId = &v
+ return s
+}
+
+// SetEnabled sets the Enabled field's value.
+func (s *EventSubscription) SetEnabled(v bool) *EventSubscription {
+ s.Enabled = &v
+ return s
+}
+
+// SetEventCategoriesList sets the EventCategoriesList field's value.
+func (s *EventSubscription) SetEventCategoriesList(v []*string) *EventSubscription {
+ s.EventCategoriesList = v
+ return s
+}
+
+// SetEventSubscriptionArn sets the EventSubscriptionArn field's value.
+func (s *EventSubscription) SetEventSubscriptionArn(v string) *EventSubscription {
+ s.EventSubscriptionArn = &v
+ return s
+}
+
+// SetSnsTopicArn sets the SnsTopicArn field's value.
+func (s *EventSubscription) SetSnsTopicArn(v string) *EventSubscription {
+ s.SnsTopicArn = &v
+ return s
+}
+
+// SetSourceIdsList sets the SourceIdsList field's value.
+func (s *EventSubscription) SetSourceIdsList(v []*string) *EventSubscription {
+ s.SourceIdsList = v
+ return s
+}
+
+// SetSourceType sets the SourceType field's value.
+func (s *EventSubscription) SetSourceType(v string) *EventSubscription {
+ s.SourceType = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *EventSubscription) SetStatus(v string) *EventSubscription {
+ s.Status = &v
+ return s
+}
+
+// SetSubscriptionCreationTime sets the SubscriptionCreationTime field's value.
+func (s *EventSubscription) SetSubscriptionCreationTime(v string) *EventSubscription {
+ s.SubscriptionCreationTime = &v
+ return s
+}
+
type FailoverDBClusterInput struct {
_ struct{} `type:"structure"`
@@ -14699,6 +18299,18 @@ func (s FailoverDBClusterInput) GoString() string {
return s.String()
}
+// SetDBClusterIdentifier sets the DBClusterIdentifier field's value.
+func (s *FailoverDBClusterInput) SetDBClusterIdentifier(v string) *FailoverDBClusterInput {
+ s.DBClusterIdentifier = &v
+ return s
+}
+
+// SetTargetDBInstanceIdentifier sets the TargetDBInstanceIdentifier field's value.
+func (s *FailoverDBClusterInput) SetTargetDBInstanceIdentifier(v string) *FailoverDBClusterInput {
+ s.TargetDBInstanceIdentifier = &v
+ return s
+}
+
type FailoverDBClusterOutput struct {
_ struct{} `type:"structure"`
@@ -14730,6 +18342,12 @@ func (s FailoverDBClusterOutput) GoString() string {
return s.String()
}
+// SetDBCluster sets the DBCluster field's value.
+func (s *FailoverDBClusterOutput) SetDBCluster(v *DBCluster) *FailoverDBClusterOutput {
+ s.DBCluster = v
+ return s
+}
+
// This type is not currently supported.
type Filter struct {
_ struct{} `type:"structure"`
@@ -14771,6 +18389,18 @@ func (s *Filter) Validate() error {
return nil
}
+// SetName sets the Name field's value.
+func (s *Filter) SetName(v string) *Filter {
+ s.Name = &v
+ return s
+}
+
+// SetValues sets the Values field's value.
+func (s *Filter) SetValues(v []*string) *Filter {
+ s.Values = v
+ return s
+}
+
// This data type is used as a response element in the DescribeDBSecurityGroups
// action.
type IPRange struct {
@@ -14794,6 +18424,18 @@ func (s IPRange) GoString() string {
return s.String()
}
+// SetCIDRIP sets the CIDRIP field's value.
+func (s *IPRange) SetCIDRIP(v string) *IPRange {
+ s.CIDRIP = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *IPRange) SetStatus(v string) *IPRange {
+ s.Status = &v
+ return s
+}
+
type ListTagsForResourceInput struct {
_ struct{} `type:"structure"`
@@ -14841,6 +18483,18 @@ func (s *ListTagsForResourceInput) Validate() error {
return nil
}
+// SetFilters sets the Filters field's value.
+func (s *ListTagsForResourceInput) SetFilters(v []*Filter) *ListTagsForResourceInput {
+ s.Filters = v
+ return s
+}
+
+// SetResourceName sets the ResourceName field's value.
+func (s *ListTagsForResourceInput) SetResourceName(v string) *ListTagsForResourceInput {
+ s.ResourceName = &v
+ return s
+}
+
type ListTagsForResourceOutput struct {
_ struct{} `type:"structure"`
@@ -14858,6 +18512,12 @@ func (s ListTagsForResourceOutput) GoString() string {
return s.String()
}
+// SetTagList sets the TagList field's value.
+func (s *ListTagsForResourceOutput) SetTagList(v []*Tag) *ListTagsForResourceOutput {
+ s.TagList = v
+ return s
+}
+
type ModifyDBClusterInput struct {
_ struct{} `type:"structure"`
@@ -15006,6 +18666,72 @@ func (s *ModifyDBClusterInput) Validate() error {
return nil
}
+// SetApplyImmediately sets the ApplyImmediately field's value.
+func (s *ModifyDBClusterInput) SetApplyImmediately(v bool) *ModifyDBClusterInput {
+ s.ApplyImmediately = &v
+ return s
+}
+
+// SetBackupRetentionPeriod sets the BackupRetentionPeriod field's value.
+func (s *ModifyDBClusterInput) SetBackupRetentionPeriod(v int64) *ModifyDBClusterInput {
+ s.BackupRetentionPeriod = &v
+ return s
+}
+
+// SetDBClusterIdentifier sets the DBClusterIdentifier field's value.
+func (s *ModifyDBClusterInput) SetDBClusterIdentifier(v string) *ModifyDBClusterInput {
+ s.DBClusterIdentifier = &v
+ return s
+}
+
+// SetDBClusterParameterGroupName sets the DBClusterParameterGroupName field's value.
+func (s *ModifyDBClusterInput) SetDBClusterParameterGroupName(v string) *ModifyDBClusterInput {
+ s.DBClusterParameterGroupName = &v
+ return s
+}
+
+// SetMasterUserPassword sets the MasterUserPassword field's value.
+func (s *ModifyDBClusterInput) SetMasterUserPassword(v string) *ModifyDBClusterInput {
+ s.MasterUserPassword = &v
+ return s
+}
+
+// SetNewDBClusterIdentifier sets the NewDBClusterIdentifier field's value.
+func (s *ModifyDBClusterInput) SetNewDBClusterIdentifier(v string) *ModifyDBClusterInput {
+ s.NewDBClusterIdentifier = &v
+ return s
+}
+
+// SetOptionGroupName sets the OptionGroupName field's value.
+func (s *ModifyDBClusterInput) SetOptionGroupName(v string) *ModifyDBClusterInput {
+ s.OptionGroupName = &v
+ return s
+}
+
+// SetPort sets the Port field's value.
+func (s *ModifyDBClusterInput) SetPort(v int64) *ModifyDBClusterInput {
+ s.Port = &v
+ return s
+}
+
+// SetPreferredBackupWindow sets the PreferredBackupWindow field's value.
+func (s *ModifyDBClusterInput) SetPreferredBackupWindow(v string) *ModifyDBClusterInput {
+ s.PreferredBackupWindow = &v
+ return s
+}
+
+// SetPreferredMaintenanceWindow sets the PreferredMaintenanceWindow field's value.
+func (s *ModifyDBClusterInput) SetPreferredMaintenanceWindow(v string) *ModifyDBClusterInput {
+ s.PreferredMaintenanceWindow = &v
+ return s
+}
+
+// SetVpcSecurityGroupIds sets the VpcSecurityGroupIds field's value.
+func (s *ModifyDBClusterInput) SetVpcSecurityGroupIds(v []*string) *ModifyDBClusterInput {
+ s.VpcSecurityGroupIds = v
+ return s
+}
+
type ModifyDBClusterOutput struct {
_ struct{} `type:"structure"`
@@ -15037,6 +18763,12 @@ func (s ModifyDBClusterOutput) GoString() string {
return s.String()
}
+// SetDBCluster sets the DBCluster field's value.
+func (s *ModifyDBClusterOutput) SetDBCluster(v *DBCluster) *ModifyDBClusterOutput {
+ s.DBCluster = v
+ return s
+}
+
type ModifyDBClusterParameterGroupInput struct {
_ struct{} `type:"structure"`
@@ -15077,6 +18809,18 @@ func (s *ModifyDBClusterParameterGroupInput) Validate() error {
return nil
}
+// SetDBClusterParameterGroupName sets the DBClusterParameterGroupName field's value.
+func (s *ModifyDBClusterParameterGroupInput) SetDBClusterParameterGroupName(v string) *ModifyDBClusterParameterGroupInput {
+ s.DBClusterParameterGroupName = &v
+ return s
+}
+
+// SetParameters sets the Parameters field's value.
+func (s *ModifyDBClusterParameterGroupInput) SetParameters(v []*Parameter) *ModifyDBClusterParameterGroupInput {
+ s.Parameters = v
+ return s
+}
+
type ModifyDBClusterSnapshotAttributeInput struct {
_ struct{} `type:"structure"`
@@ -15141,12 +18885,36 @@ func (s *ModifyDBClusterSnapshotAttributeInput) Validate() error {
return nil
}
-type ModifyDBClusterSnapshotAttributeOutput struct {
- _ struct{} `type:"structure"`
+// SetAttributeName sets the AttributeName field's value.
+func (s *ModifyDBClusterSnapshotAttributeInput) SetAttributeName(v string) *ModifyDBClusterSnapshotAttributeInput {
+ s.AttributeName = &v
+ return s
+}
- // Contains the results of a successful call to the DescribeDBClusterSnapshotAttributes
- // API action.
- //
+// SetDBClusterSnapshotIdentifier sets the DBClusterSnapshotIdentifier field's value.
+func (s *ModifyDBClusterSnapshotAttributeInput) SetDBClusterSnapshotIdentifier(v string) *ModifyDBClusterSnapshotAttributeInput {
+ s.DBClusterSnapshotIdentifier = &v
+ return s
+}
+
+// SetValuesToAdd sets the ValuesToAdd field's value.
+func (s *ModifyDBClusterSnapshotAttributeInput) SetValuesToAdd(v []*string) *ModifyDBClusterSnapshotAttributeInput {
+ s.ValuesToAdd = v
+ return s
+}
+
+// SetValuesToRemove sets the ValuesToRemove field's value.
+func (s *ModifyDBClusterSnapshotAttributeInput) SetValuesToRemove(v []*string) *ModifyDBClusterSnapshotAttributeInput {
+ s.ValuesToRemove = v
+ return s
+}
+
+type ModifyDBClusterSnapshotAttributeOutput struct {
+ _ struct{} `type:"structure"`
+
+ // Contains the results of a successful call to the DescribeDBClusterSnapshotAttributes
+ // API action.
+ //
// 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.
@@ -15163,6 +18931,12 @@ func (s ModifyDBClusterSnapshotAttributeOutput) GoString() string {
return s.String()
}
+// SetDBClusterSnapshotAttributesResult sets the DBClusterSnapshotAttributesResult field's value.
+func (s *ModifyDBClusterSnapshotAttributeOutput) SetDBClusterSnapshotAttributesResult(v *DBClusterSnapshotAttributesResult) *ModifyDBClusterSnapshotAttributeOutput {
+ s.DBClusterSnapshotAttributesResult = v
+ return s
+}
+
type ModifyDBInstanceInput struct {
_ struct{} `type:"structure"`
@@ -15667,6 +19441,198 @@ func (s *ModifyDBInstanceInput) Validate() error {
return nil
}
+// SetAllocatedStorage sets the AllocatedStorage field's value.
+func (s *ModifyDBInstanceInput) SetAllocatedStorage(v int64) *ModifyDBInstanceInput {
+ s.AllocatedStorage = &v
+ return s
+}
+
+// SetAllowMajorVersionUpgrade sets the AllowMajorVersionUpgrade field's value.
+func (s *ModifyDBInstanceInput) SetAllowMajorVersionUpgrade(v bool) *ModifyDBInstanceInput {
+ s.AllowMajorVersionUpgrade = &v
+ return s
+}
+
+// SetApplyImmediately sets the ApplyImmediately field's value.
+func (s *ModifyDBInstanceInput) SetApplyImmediately(v bool) *ModifyDBInstanceInput {
+ s.ApplyImmediately = &v
+ return s
+}
+
+// SetAutoMinorVersionUpgrade sets the AutoMinorVersionUpgrade field's value.
+func (s *ModifyDBInstanceInput) SetAutoMinorVersionUpgrade(v bool) *ModifyDBInstanceInput {
+ s.AutoMinorVersionUpgrade = &v
+ return s
+}
+
+// SetBackupRetentionPeriod sets the BackupRetentionPeriod field's value.
+func (s *ModifyDBInstanceInput) SetBackupRetentionPeriod(v int64) *ModifyDBInstanceInput {
+ s.BackupRetentionPeriod = &v
+ return s
+}
+
+// SetCACertificateIdentifier sets the CACertificateIdentifier field's value.
+func (s *ModifyDBInstanceInput) SetCACertificateIdentifier(v string) *ModifyDBInstanceInput {
+ s.CACertificateIdentifier = &v
+ return s
+}
+
+// SetCopyTagsToSnapshot sets the CopyTagsToSnapshot field's value.
+func (s *ModifyDBInstanceInput) SetCopyTagsToSnapshot(v bool) *ModifyDBInstanceInput {
+ s.CopyTagsToSnapshot = &v
+ return s
+}
+
+// SetDBInstanceClass sets the DBInstanceClass field's value.
+func (s *ModifyDBInstanceInput) SetDBInstanceClass(v string) *ModifyDBInstanceInput {
+ s.DBInstanceClass = &v
+ return s
+}
+
+// SetDBInstanceIdentifier sets the DBInstanceIdentifier field's value.
+func (s *ModifyDBInstanceInput) SetDBInstanceIdentifier(v string) *ModifyDBInstanceInput {
+ s.DBInstanceIdentifier = &v
+ return s
+}
+
+// SetDBParameterGroupName sets the DBParameterGroupName field's value.
+func (s *ModifyDBInstanceInput) SetDBParameterGroupName(v string) *ModifyDBInstanceInput {
+ s.DBParameterGroupName = &v
+ return s
+}
+
+// SetDBPortNumber sets the DBPortNumber field's value.
+func (s *ModifyDBInstanceInput) SetDBPortNumber(v int64) *ModifyDBInstanceInput {
+ s.DBPortNumber = &v
+ return s
+}
+
+// SetDBSecurityGroups sets the DBSecurityGroups field's value.
+func (s *ModifyDBInstanceInput) SetDBSecurityGroups(v []*string) *ModifyDBInstanceInput {
+ s.DBSecurityGroups = v
+ return s
+}
+
+// SetDBSubnetGroupName sets the DBSubnetGroupName field's value.
+func (s *ModifyDBInstanceInput) SetDBSubnetGroupName(v string) *ModifyDBInstanceInput {
+ s.DBSubnetGroupName = &v
+ return s
+}
+
+// SetDomain sets the Domain field's value.
+func (s *ModifyDBInstanceInput) SetDomain(v string) *ModifyDBInstanceInput {
+ s.Domain = &v
+ return s
+}
+
+// SetDomainIAMRoleName sets the DomainIAMRoleName field's value.
+func (s *ModifyDBInstanceInput) SetDomainIAMRoleName(v string) *ModifyDBInstanceInput {
+ s.DomainIAMRoleName = &v
+ return s
+}
+
+// SetEngineVersion sets the EngineVersion field's value.
+func (s *ModifyDBInstanceInput) SetEngineVersion(v string) *ModifyDBInstanceInput {
+ s.EngineVersion = &v
+ return s
+}
+
+// SetIops sets the Iops field's value.
+func (s *ModifyDBInstanceInput) SetIops(v int64) *ModifyDBInstanceInput {
+ s.Iops = &v
+ return s
+}
+
+// SetLicenseModel sets the LicenseModel field's value.
+func (s *ModifyDBInstanceInput) SetLicenseModel(v string) *ModifyDBInstanceInput {
+ s.LicenseModel = &v
+ return s
+}
+
+// SetMasterUserPassword sets the MasterUserPassword field's value.
+func (s *ModifyDBInstanceInput) SetMasterUserPassword(v string) *ModifyDBInstanceInput {
+ s.MasterUserPassword = &v
+ return s
+}
+
+// SetMonitoringInterval sets the MonitoringInterval field's value.
+func (s *ModifyDBInstanceInput) SetMonitoringInterval(v int64) *ModifyDBInstanceInput {
+ s.MonitoringInterval = &v
+ return s
+}
+
+// SetMonitoringRoleArn sets the MonitoringRoleArn field's value.
+func (s *ModifyDBInstanceInput) SetMonitoringRoleArn(v string) *ModifyDBInstanceInput {
+ s.MonitoringRoleArn = &v
+ return s
+}
+
+// SetMultiAZ sets the MultiAZ field's value.
+func (s *ModifyDBInstanceInput) SetMultiAZ(v bool) *ModifyDBInstanceInput {
+ s.MultiAZ = &v
+ return s
+}
+
+// SetNewDBInstanceIdentifier sets the NewDBInstanceIdentifier field's value.
+func (s *ModifyDBInstanceInput) SetNewDBInstanceIdentifier(v string) *ModifyDBInstanceInput {
+ s.NewDBInstanceIdentifier = &v
+ return s
+}
+
+// SetOptionGroupName sets the OptionGroupName field's value.
+func (s *ModifyDBInstanceInput) SetOptionGroupName(v string) *ModifyDBInstanceInput {
+ s.OptionGroupName = &v
+ return s
+}
+
+// SetPreferredBackupWindow sets the PreferredBackupWindow field's value.
+func (s *ModifyDBInstanceInput) SetPreferredBackupWindow(v string) *ModifyDBInstanceInput {
+ s.PreferredBackupWindow = &v
+ return s
+}
+
+// SetPreferredMaintenanceWindow sets the PreferredMaintenanceWindow field's value.
+func (s *ModifyDBInstanceInput) SetPreferredMaintenanceWindow(v string) *ModifyDBInstanceInput {
+ s.PreferredMaintenanceWindow = &v
+ return s
+}
+
+// SetPromotionTier sets the PromotionTier field's value.
+func (s *ModifyDBInstanceInput) SetPromotionTier(v int64) *ModifyDBInstanceInput {
+ s.PromotionTier = &v
+ return s
+}
+
+// SetPubliclyAccessible sets the PubliclyAccessible field's value.
+func (s *ModifyDBInstanceInput) SetPubliclyAccessible(v bool) *ModifyDBInstanceInput {
+ s.PubliclyAccessible = &v
+ return s
+}
+
+// SetStorageType sets the StorageType field's value.
+func (s *ModifyDBInstanceInput) SetStorageType(v string) *ModifyDBInstanceInput {
+ s.StorageType = &v
+ return s
+}
+
+// SetTdeCredentialArn sets the TdeCredentialArn field's value.
+func (s *ModifyDBInstanceInput) SetTdeCredentialArn(v string) *ModifyDBInstanceInput {
+ s.TdeCredentialArn = &v
+ return s
+}
+
+// SetTdeCredentialPassword sets the TdeCredentialPassword field's value.
+func (s *ModifyDBInstanceInput) SetTdeCredentialPassword(v string) *ModifyDBInstanceInput {
+ s.TdeCredentialPassword = &v
+ return s
+}
+
+// SetVpcSecurityGroupIds sets the VpcSecurityGroupIds field's value.
+func (s *ModifyDBInstanceInput) SetVpcSecurityGroupIds(v []*string) *ModifyDBInstanceInput {
+ s.VpcSecurityGroupIds = v
+ return s
+}
+
type ModifyDBInstanceOutput struct {
_ struct{} `type:"structure"`
@@ -15692,6 +19658,12 @@ func (s ModifyDBInstanceOutput) GoString() string {
return s.String()
}
+// SetDBInstance sets the DBInstance field's value.
+func (s *ModifyDBInstanceOutput) SetDBInstance(v *DBInstance) *ModifyDBInstanceOutput {
+ s.DBInstance = v
+ return s
+}
+
type ModifyDBParameterGroupInput struct {
_ struct{} `type:"structure"`
@@ -15751,6 +19723,18 @@ func (s *ModifyDBParameterGroupInput) Validate() error {
return nil
}
+// SetDBParameterGroupName sets the DBParameterGroupName field's value.
+func (s *ModifyDBParameterGroupInput) SetDBParameterGroupName(v string) *ModifyDBParameterGroupInput {
+ s.DBParameterGroupName = &v
+ return s
+}
+
+// SetParameters sets the Parameters field's value.
+func (s *ModifyDBParameterGroupInput) SetParameters(v []*Parameter) *ModifyDBParameterGroupInput {
+ s.Parameters = v
+ return s
+}
+
type ModifyDBSnapshotAttributeInput struct {
_ struct{} `type:"structure"`
@@ -15813,6 +19797,30 @@ func (s *ModifyDBSnapshotAttributeInput) Validate() error {
return nil
}
+// SetAttributeName sets the AttributeName field's value.
+func (s *ModifyDBSnapshotAttributeInput) SetAttributeName(v string) *ModifyDBSnapshotAttributeInput {
+ s.AttributeName = &v
+ return s
+}
+
+// SetDBSnapshotIdentifier sets the DBSnapshotIdentifier field's value.
+func (s *ModifyDBSnapshotAttributeInput) SetDBSnapshotIdentifier(v string) *ModifyDBSnapshotAttributeInput {
+ s.DBSnapshotIdentifier = &v
+ return s
+}
+
+// SetValuesToAdd sets the ValuesToAdd field's value.
+func (s *ModifyDBSnapshotAttributeInput) SetValuesToAdd(v []*string) *ModifyDBSnapshotAttributeInput {
+ s.ValuesToAdd = v
+ return s
+}
+
+// SetValuesToRemove sets the ValuesToRemove field's value.
+func (s *ModifyDBSnapshotAttributeInput) SetValuesToRemove(v []*string) *ModifyDBSnapshotAttributeInput {
+ s.ValuesToRemove = v
+ return s
+}
+
type ModifyDBSnapshotAttributeOutput struct {
_ struct{} `type:"structure"`
@@ -15835,6 +19843,12 @@ func (s ModifyDBSnapshotAttributeOutput) GoString() string {
return s.String()
}
+// SetDBSnapshotAttributesResult sets the DBSnapshotAttributesResult field's value.
+func (s *ModifyDBSnapshotAttributeOutput) SetDBSnapshotAttributesResult(v *DBSnapshotAttributesResult) *ModifyDBSnapshotAttributeOutput {
+ s.DBSnapshotAttributesResult = v
+ return s
+}
+
type ModifyDBSubnetGroupInput struct {
_ struct{} `type:"structure"`
@@ -15883,6 +19897,24 @@ func (s *ModifyDBSubnetGroupInput) Validate() error {
return nil
}
+// SetDBSubnetGroupDescription sets the DBSubnetGroupDescription field's value.
+func (s *ModifyDBSubnetGroupInput) SetDBSubnetGroupDescription(v string) *ModifyDBSubnetGroupInput {
+ s.DBSubnetGroupDescription = &v
+ return s
+}
+
+// SetDBSubnetGroupName sets the DBSubnetGroupName field's value.
+func (s *ModifyDBSubnetGroupInput) SetDBSubnetGroupName(v string) *ModifyDBSubnetGroupInput {
+ s.DBSubnetGroupName = &v
+ return s
+}
+
+// SetSubnetIds sets the SubnetIds field's value.
+func (s *ModifyDBSubnetGroupInput) SetSubnetIds(v []*string) *ModifyDBSubnetGroupInput {
+ s.SubnetIds = v
+ return s
+}
+
type ModifyDBSubnetGroupOutput struct {
_ struct{} `type:"structure"`
@@ -15911,6 +19943,12 @@ func (s ModifyDBSubnetGroupOutput) GoString() string {
return s.String()
}
+// SetDBSubnetGroup sets the DBSubnetGroup field's value.
+func (s *ModifyDBSubnetGroupOutput) SetDBSubnetGroup(v *DBSubnetGroup) *ModifyDBSubnetGroupOutput {
+ s.DBSubnetGroup = v
+ return s
+}
+
type ModifyEventSubscriptionInput struct {
_ struct{} `type:"structure"`
@@ -15966,6 +20004,36 @@ func (s *ModifyEventSubscriptionInput) Validate() error {
return nil
}
+// SetEnabled sets the Enabled field's value.
+func (s *ModifyEventSubscriptionInput) SetEnabled(v bool) *ModifyEventSubscriptionInput {
+ s.Enabled = &v
+ return s
+}
+
+// SetEventCategories sets the EventCategories field's value.
+func (s *ModifyEventSubscriptionInput) SetEventCategories(v []*string) *ModifyEventSubscriptionInput {
+ s.EventCategories = v
+ return s
+}
+
+// SetSnsTopicArn sets the SnsTopicArn field's value.
+func (s *ModifyEventSubscriptionInput) SetSnsTopicArn(v string) *ModifyEventSubscriptionInput {
+ s.SnsTopicArn = &v
+ return s
+}
+
+// SetSourceType sets the SourceType field's value.
+func (s *ModifyEventSubscriptionInput) SetSourceType(v string) *ModifyEventSubscriptionInput {
+ s.SourceType = &v
+ return s
+}
+
+// SetSubscriptionName sets the SubscriptionName field's value.
+func (s *ModifyEventSubscriptionInput) SetSubscriptionName(v string) *ModifyEventSubscriptionInput {
+ s.SubscriptionName = &v
+ return s
+}
+
type ModifyEventSubscriptionOutput struct {
_ struct{} `type:"structure"`
@@ -15984,6 +20052,12 @@ func (s ModifyEventSubscriptionOutput) GoString() string {
return s.String()
}
+// SetEventSubscription sets the EventSubscription field's value.
+func (s *ModifyEventSubscriptionOutput) SetEventSubscription(v *EventSubscription) *ModifyEventSubscriptionOutput {
+ s.EventSubscription = v
+ return s
+}
+
type ModifyOptionGroupInput struct {
_ struct{} `type:"structure"`
@@ -16041,6 +20115,30 @@ func (s *ModifyOptionGroupInput) Validate() error {
return nil
}
+// SetApplyImmediately sets the ApplyImmediately field's value.
+func (s *ModifyOptionGroupInput) SetApplyImmediately(v bool) *ModifyOptionGroupInput {
+ s.ApplyImmediately = &v
+ return s
+}
+
+// SetOptionGroupName sets the OptionGroupName field's value.
+func (s *ModifyOptionGroupInput) SetOptionGroupName(v string) *ModifyOptionGroupInput {
+ s.OptionGroupName = &v
+ return s
+}
+
+// SetOptionsToInclude sets the OptionsToInclude field's value.
+func (s *ModifyOptionGroupInput) SetOptionsToInclude(v []*OptionConfiguration) *ModifyOptionGroupInput {
+ s.OptionsToInclude = v
+ return s
+}
+
+// SetOptionsToRemove sets the OptionsToRemove field's value.
+func (s *ModifyOptionGroupInput) SetOptionsToRemove(v []*string) *ModifyOptionGroupInput {
+ s.OptionsToRemove = v
+ return s
+}
+
type ModifyOptionGroupOutput struct {
_ struct{} `type:"structure"`
@@ -16057,6 +20155,12 @@ func (s ModifyOptionGroupOutput) GoString() string {
return s.String()
}
+// SetOptionGroup sets the OptionGroup field's value.
+func (s *ModifyOptionGroupOutput) SetOptionGroup(v *OptionGroup) *ModifyOptionGroupOutput {
+ s.OptionGroup = v
+ return s
+}
+
// Option details.
type Option struct {
_ struct{} `type:"structure"`
@@ -16101,6 +20205,60 @@ func (s Option) GoString() string {
return s.String()
}
+// SetDBSecurityGroupMemberships sets the DBSecurityGroupMemberships field's value.
+func (s *Option) SetDBSecurityGroupMemberships(v []*DBSecurityGroupMembership) *Option {
+ s.DBSecurityGroupMemberships = v
+ return s
+}
+
+// SetOptionDescription sets the OptionDescription field's value.
+func (s *Option) SetOptionDescription(v string) *Option {
+ s.OptionDescription = &v
+ return s
+}
+
+// SetOptionName sets the OptionName field's value.
+func (s *Option) SetOptionName(v string) *Option {
+ s.OptionName = &v
+ return s
+}
+
+// SetOptionSettings sets the OptionSettings field's value.
+func (s *Option) SetOptionSettings(v []*OptionSetting) *Option {
+ s.OptionSettings = v
+ return s
+}
+
+// SetOptionVersion sets the OptionVersion field's value.
+func (s *Option) SetOptionVersion(v string) *Option {
+ s.OptionVersion = &v
+ return s
+}
+
+// SetPermanent sets the Permanent field's value.
+func (s *Option) SetPermanent(v bool) *Option {
+ s.Permanent = &v
+ return s
+}
+
+// SetPersistent sets the Persistent field's value.
+func (s *Option) SetPersistent(v bool) *Option {
+ s.Persistent = &v
+ return s
+}
+
+// SetPort sets the Port field's value.
+func (s *Option) SetPort(v int64) *Option {
+ s.Port = &v
+ return s
+}
+
+// SetVpcSecurityGroupMemberships sets the VpcSecurityGroupMemberships field's value.
+func (s *Option) SetVpcSecurityGroupMemberships(v []*VpcSecurityGroupMembership) *Option {
+ s.VpcSecurityGroupMemberships = v
+ return s
+}
+
// A list of all available options
type OptionConfiguration struct {
_ struct{} `type:"structure"`
@@ -16149,6 +20307,42 @@ func (s *OptionConfiguration) Validate() error {
return nil
}
+// SetDBSecurityGroupMemberships sets the DBSecurityGroupMemberships field's value.
+func (s *OptionConfiguration) SetDBSecurityGroupMemberships(v []*string) *OptionConfiguration {
+ s.DBSecurityGroupMemberships = v
+ return s
+}
+
+// SetOptionName sets the OptionName field's value.
+func (s *OptionConfiguration) SetOptionName(v string) *OptionConfiguration {
+ s.OptionName = &v
+ return s
+}
+
+// SetOptionSettings sets the OptionSettings field's value.
+func (s *OptionConfiguration) SetOptionSettings(v []*OptionSetting) *OptionConfiguration {
+ s.OptionSettings = v
+ return s
+}
+
+// SetOptionVersion sets the OptionVersion field's value.
+func (s *OptionConfiguration) SetOptionVersion(v string) *OptionConfiguration {
+ s.OptionVersion = &v
+ return s
+}
+
+// SetPort sets the Port field's value.
+func (s *OptionConfiguration) SetPort(v int64) *OptionConfiguration {
+ s.Port = &v
+ return s
+}
+
+// SetVpcSecurityGroupMemberships sets the VpcSecurityGroupMemberships field's value.
+func (s *OptionConfiguration) SetVpcSecurityGroupMemberships(v []*string) *OptionConfiguration {
+ s.VpcSecurityGroupMemberships = v
+ return s
+}
+
type OptionGroup struct {
_ struct{} `type:"structure"`
@@ -16193,6 +20387,54 @@ func (s OptionGroup) GoString() string {
return s.String()
}
+// SetAllowsVpcAndNonVpcInstanceMemberships sets the AllowsVpcAndNonVpcInstanceMemberships field's value.
+func (s *OptionGroup) SetAllowsVpcAndNonVpcInstanceMemberships(v bool) *OptionGroup {
+ s.AllowsVpcAndNonVpcInstanceMemberships = &v
+ return s
+}
+
+// SetEngineName sets the EngineName field's value.
+func (s *OptionGroup) SetEngineName(v string) *OptionGroup {
+ s.EngineName = &v
+ return s
+}
+
+// SetMajorEngineVersion sets the MajorEngineVersion field's value.
+func (s *OptionGroup) SetMajorEngineVersion(v string) *OptionGroup {
+ s.MajorEngineVersion = &v
+ return s
+}
+
+// SetOptionGroupArn sets the OptionGroupArn field's value.
+func (s *OptionGroup) SetOptionGroupArn(v string) *OptionGroup {
+ s.OptionGroupArn = &v
+ return s
+}
+
+// SetOptionGroupDescription sets the OptionGroupDescription field's value.
+func (s *OptionGroup) SetOptionGroupDescription(v string) *OptionGroup {
+ s.OptionGroupDescription = &v
+ return s
+}
+
+// SetOptionGroupName sets the OptionGroupName field's value.
+func (s *OptionGroup) SetOptionGroupName(v string) *OptionGroup {
+ s.OptionGroupName = &v
+ return s
+}
+
+// SetOptions sets the Options field's value.
+func (s *OptionGroup) SetOptions(v []*Option) *OptionGroup {
+ s.Options = v
+ return s
+}
+
+// SetVpcId sets the VpcId field's value.
+func (s *OptionGroup) SetVpcId(v string) *OptionGroup {
+ s.VpcId = &v
+ return s
+}
+
// Provides information on the option groups the DB instance is a member of.
type OptionGroupMembership struct {
_ struct{} `type:"structure"`
@@ -16216,6 +20458,18 @@ func (s OptionGroupMembership) GoString() string {
return s.String()
}
+// SetOptionGroupName sets the OptionGroupName field's value.
+func (s *OptionGroupMembership) SetOptionGroupName(v string) *OptionGroupMembership {
+ s.OptionGroupName = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *OptionGroupMembership) SetStatus(v string) *OptionGroupMembership {
+ s.Status = &v
+ return s
+}
+
// Available option.
type OptionGroupOption struct {
_ struct{} `type:"structure"`
@@ -16275,6 +20529,84 @@ func (s OptionGroupOption) GoString() string {
return s.String()
}
+// SetDefaultPort sets the DefaultPort field's value.
+func (s *OptionGroupOption) SetDefaultPort(v int64) *OptionGroupOption {
+ s.DefaultPort = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *OptionGroupOption) SetDescription(v string) *OptionGroupOption {
+ s.Description = &v
+ return s
+}
+
+// SetEngineName sets the EngineName field's value.
+func (s *OptionGroupOption) SetEngineName(v string) *OptionGroupOption {
+ s.EngineName = &v
+ return s
+}
+
+// SetMajorEngineVersion sets the MajorEngineVersion field's value.
+func (s *OptionGroupOption) SetMajorEngineVersion(v string) *OptionGroupOption {
+ s.MajorEngineVersion = &v
+ return s
+}
+
+// SetMinimumRequiredMinorEngineVersion sets the MinimumRequiredMinorEngineVersion field's value.
+func (s *OptionGroupOption) SetMinimumRequiredMinorEngineVersion(v string) *OptionGroupOption {
+ s.MinimumRequiredMinorEngineVersion = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *OptionGroupOption) SetName(v string) *OptionGroupOption {
+ s.Name = &v
+ return s
+}
+
+// SetOptionGroupOptionSettings sets the OptionGroupOptionSettings field's value.
+func (s *OptionGroupOption) SetOptionGroupOptionSettings(v []*OptionGroupOptionSetting) *OptionGroupOption {
+ s.OptionGroupOptionSettings = v
+ return s
+}
+
+// SetOptionGroupOptionVersions sets the OptionGroupOptionVersions field's value.
+func (s *OptionGroupOption) SetOptionGroupOptionVersions(v []*OptionVersion) *OptionGroupOption {
+ s.OptionGroupOptionVersions = v
+ return s
+}
+
+// SetOptionsConflictsWith sets the OptionsConflictsWith field's value.
+func (s *OptionGroupOption) SetOptionsConflictsWith(v []*string) *OptionGroupOption {
+ s.OptionsConflictsWith = v
+ return s
+}
+
+// SetOptionsDependedOn sets the OptionsDependedOn field's value.
+func (s *OptionGroupOption) SetOptionsDependedOn(v []*string) *OptionGroupOption {
+ s.OptionsDependedOn = v
+ return s
+}
+
+// SetPermanent sets the Permanent field's value.
+func (s *OptionGroupOption) SetPermanent(v bool) *OptionGroupOption {
+ s.Permanent = &v
+ return s
+}
+
+// SetPersistent sets the Persistent field's value.
+func (s *OptionGroupOption) SetPersistent(v bool) *OptionGroupOption {
+ s.Persistent = &v
+ return s
+}
+
+// SetPortRequired sets the PortRequired field's value.
+func (s *OptionGroupOption) SetPortRequired(v bool) *OptionGroupOption {
+ s.PortRequired = &v
+ return s
+}
+
// 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.
@@ -16311,6 +20643,42 @@ func (s OptionGroupOptionSetting) GoString() string {
return s.String()
}
+// SetAllowedValues sets the AllowedValues field's value.
+func (s *OptionGroupOptionSetting) SetAllowedValues(v string) *OptionGroupOptionSetting {
+ s.AllowedValues = &v
+ return s
+}
+
+// SetApplyType sets the ApplyType field's value.
+func (s *OptionGroupOptionSetting) SetApplyType(v string) *OptionGroupOptionSetting {
+ s.ApplyType = &v
+ return s
+}
+
+// SetDefaultValue sets the DefaultValue field's value.
+func (s *OptionGroupOptionSetting) SetDefaultValue(v string) *OptionGroupOptionSetting {
+ s.DefaultValue = &v
+ return s
+}
+
+// SetIsModifiable sets the IsModifiable field's value.
+func (s *OptionGroupOptionSetting) SetIsModifiable(v bool) *OptionGroupOptionSetting {
+ s.IsModifiable = &v
+ return s
+}
+
+// SetSettingDescription sets the SettingDescription field's value.
+func (s *OptionGroupOptionSetting) SetSettingDescription(v string) *OptionGroupOptionSetting {
+ s.SettingDescription = &v
+ return s
+}
+
+// SetSettingName sets the SettingName field's value.
+func (s *OptionGroupOptionSetting) SetSettingName(v string) *OptionGroupOptionSetting {
+ s.SettingName = &v
+ return s
+}
+
// Option settings are the actual settings being applied or configured for that
// 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
@@ -16357,6 +20725,60 @@ func (s OptionSetting) GoString() string {
return s.String()
}
+// SetAllowedValues sets the AllowedValues field's value.
+func (s *OptionSetting) SetAllowedValues(v string) *OptionSetting {
+ s.AllowedValues = &v
+ return s
+}
+
+// SetApplyType sets the ApplyType field's value.
+func (s *OptionSetting) SetApplyType(v string) *OptionSetting {
+ s.ApplyType = &v
+ return s
+}
+
+// SetDataType sets the DataType field's value.
+func (s *OptionSetting) SetDataType(v string) *OptionSetting {
+ s.DataType = &v
+ return s
+}
+
+// SetDefaultValue sets the DefaultValue field's value.
+func (s *OptionSetting) SetDefaultValue(v string) *OptionSetting {
+ s.DefaultValue = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *OptionSetting) SetDescription(v string) *OptionSetting {
+ s.Description = &v
+ return s
+}
+
+// SetIsCollection sets the IsCollection field's value.
+func (s *OptionSetting) SetIsCollection(v bool) *OptionSetting {
+ s.IsCollection = &v
+ return s
+}
+
+// SetIsModifiable sets the IsModifiable field's value.
+func (s *OptionSetting) SetIsModifiable(v bool) *OptionSetting {
+ s.IsModifiable = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *OptionSetting) SetName(v string) *OptionSetting {
+ s.Name = &v
+ return s
+}
+
+// SetValue sets the Value field's value.
+func (s *OptionSetting) SetValue(v string) *OptionSetting {
+ s.Value = &v
+ return s
+}
+
// The version for an option. Option group option versions are returned by the
// DescribeOptionGroupOptions action.
type OptionVersion struct {
@@ -16379,6 +20801,18 @@ func (s OptionVersion) GoString() string {
return s.String()
}
+// SetIsDefault sets the IsDefault field's value.
+func (s *OptionVersion) SetIsDefault(v bool) *OptionVersion {
+ s.IsDefault = &v
+ return s
+}
+
+// SetVersion sets the Version field's value.
+func (s *OptionVersion) SetVersion(v string) *OptionVersion {
+ s.Version = &v
+ return s
+}
+
// Contains a list of available options for a DB instance
//
// This data type is used as a response element in the DescribeOrderableDBInstanceOptions
@@ -16434,6 +20868,78 @@ func (s OrderableDBInstanceOption) GoString() string {
return s.String()
}
+// SetAvailabilityZones sets the AvailabilityZones field's value.
+func (s *OrderableDBInstanceOption) SetAvailabilityZones(v []*AvailabilityZone) *OrderableDBInstanceOption {
+ s.AvailabilityZones = v
+ return s
+}
+
+// SetDBInstanceClass sets the DBInstanceClass field's value.
+func (s *OrderableDBInstanceOption) SetDBInstanceClass(v string) *OrderableDBInstanceOption {
+ s.DBInstanceClass = &v
+ return s
+}
+
+// SetEngine sets the Engine field's value.
+func (s *OrderableDBInstanceOption) SetEngine(v string) *OrderableDBInstanceOption {
+ s.Engine = &v
+ return s
+}
+
+// SetEngineVersion sets the EngineVersion field's value.
+func (s *OrderableDBInstanceOption) SetEngineVersion(v string) *OrderableDBInstanceOption {
+ s.EngineVersion = &v
+ return s
+}
+
+// SetLicenseModel sets the LicenseModel field's value.
+func (s *OrderableDBInstanceOption) SetLicenseModel(v string) *OrderableDBInstanceOption {
+ s.LicenseModel = &v
+ return s
+}
+
+// SetMultiAZCapable sets the MultiAZCapable field's value.
+func (s *OrderableDBInstanceOption) SetMultiAZCapable(v bool) *OrderableDBInstanceOption {
+ s.MultiAZCapable = &v
+ return s
+}
+
+// SetReadReplicaCapable sets the ReadReplicaCapable field's value.
+func (s *OrderableDBInstanceOption) SetReadReplicaCapable(v bool) *OrderableDBInstanceOption {
+ s.ReadReplicaCapable = &v
+ return s
+}
+
+// SetStorageType sets the StorageType field's value.
+func (s *OrderableDBInstanceOption) SetStorageType(v string) *OrderableDBInstanceOption {
+ s.StorageType = &v
+ return s
+}
+
+// SetSupportsEnhancedMonitoring sets the SupportsEnhancedMonitoring field's value.
+func (s *OrderableDBInstanceOption) SetSupportsEnhancedMonitoring(v bool) *OrderableDBInstanceOption {
+ s.SupportsEnhancedMonitoring = &v
+ return s
+}
+
+// SetSupportsIops sets the SupportsIops field's value.
+func (s *OrderableDBInstanceOption) SetSupportsIops(v bool) *OrderableDBInstanceOption {
+ s.SupportsIops = &v
+ return s
+}
+
+// SetSupportsStorageEncryption sets the SupportsStorageEncryption field's value.
+func (s *OrderableDBInstanceOption) SetSupportsStorageEncryption(v bool) *OrderableDBInstanceOption {
+ s.SupportsStorageEncryption = &v
+ return s
+}
+
+// SetVpc sets the Vpc field's value.
+func (s *OrderableDBInstanceOption) SetVpc(v bool) *OrderableDBInstanceOption {
+ s.Vpc = &v
+ return s
+}
+
// This data type is used as a request parameter in the ModifyDBParameterGroup
// and ResetDBParameterGroup actions.
//
@@ -16485,6 +20991,66 @@ func (s Parameter) GoString() string {
return s.String()
}
+// SetAllowedValues sets the AllowedValues field's value.
+func (s *Parameter) SetAllowedValues(v string) *Parameter {
+ s.AllowedValues = &v
+ return s
+}
+
+// SetApplyMethod sets the ApplyMethod field's value.
+func (s *Parameter) SetApplyMethod(v string) *Parameter {
+ s.ApplyMethod = &v
+ return s
+}
+
+// SetApplyType sets the ApplyType field's value.
+func (s *Parameter) SetApplyType(v string) *Parameter {
+ s.ApplyType = &v
+ return s
+}
+
+// SetDataType sets the DataType field's value.
+func (s *Parameter) SetDataType(v string) *Parameter {
+ s.DataType = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *Parameter) SetDescription(v string) *Parameter {
+ s.Description = &v
+ return s
+}
+
+// SetIsModifiable sets the IsModifiable field's value.
+func (s *Parameter) SetIsModifiable(v bool) *Parameter {
+ s.IsModifiable = &v
+ return s
+}
+
+// SetMinimumEngineVersion sets the MinimumEngineVersion field's value.
+func (s *Parameter) SetMinimumEngineVersion(v string) *Parameter {
+ s.MinimumEngineVersion = &v
+ return s
+}
+
+// SetParameterName sets the ParameterName field's value.
+func (s *Parameter) SetParameterName(v string) *Parameter {
+ s.ParameterName = &v
+ return s
+}
+
+// SetParameterValue sets the ParameterValue field's value.
+func (s *Parameter) SetParameterValue(v string) *Parameter {
+ s.ParameterValue = &v
+ return s
+}
+
+// SetSource sets the Source field's value.
+func (s *Parameter) SetSource(v string) *Parameter {
+ s.Source = &v
+ return s
+}
+
// Provides information about a pending maintenance action for a resource.
type PendingMaintenanceAction struct {
_ struct{} `type:"structure"`
@@ -16528,6 +21094,42 @@ func (s PendingMaintenanceAction) GoString() string {
return s.String()
}
+// SetAction sets the Action field's value.
+func (s *PendingMaintenanceAction) SetAction(v string) *PendingMaintenanceAction {
+ s.Action = &v
+ return s
+}
+
+// SetAutoAppliedAfterDate sets the AutoAppliedAfterDate field's value.
+func (s *PendingMaintenanceAction) SetAutoAppliedAfterDate(v time.Time) *PendingMaintenanceAction {
+ s.AutoAppliedAfterDate = &v
+ return s
+}
+
+// SetCurrentApplyDate sets the CurrentApplyDate field's value.
+func (s *PendingMaintenanceAction) SetCurrentApplyDate(v time.Time) *PendingMaintenanceAction {
+ s.CurrentApplyDate = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *PendingMaintenanceAction) SetDescription(v string) *PendingMaintenanceAction {
+ s.Description = &v
+ return s
+}
+
+// SetForcedApplyDate sets the ForcedApplyDate field's value.
+func (s *PendingMaintenanceAction) SetForcedApplyDate(v time.Time) *PendingMaintenanceAction {
+ s.ForcedApplyDate = &v
+ return s
+}
+
+// SetOptInStatus sets the OptInStatus field's value.
+func (s *PendingMaintenanceAction) SetOptInStatus(v string) *PendingMaintenanceAction {
+ s.OptInStatus = &v
+ return s
+}
+
// This data type is used as a response element in the ModifyDBInstance action.
type PendingModifiedValues struct {
_ struct{} `type:"structure"`
@@ -16589,6 +21191,84 @@ func (s PendingModifiedValues) GoString() string {
return s.String()
}
+// SetAllocatedStorage sets the AllocatedStorage field's value.
+func (s *PendingModifiedValues) SetAllocatedStorage(v int64) *PendingModifiedValues {
+ s.AllocatedStorage = &v
+ return s
+}
+
+// SetBackupRetentionPeriod sets the BackupRetentionPeriod field's value.
+func (s *PendingModifiedValues) SetBackupRetentionPeriod(v int64) *PendingModifiedValues {
+ s.BackupRetentionPeriod = &v
+ return s
+}
+
+// SetCACertificateIdentifier sets the CACertificateIdentifier field's value.
+func (s *PendingModifiedValues) SetCACertificateIdentifier(v string) *PendingModifiedValues {
+ s.CACertificateIdentifier = &v
+ return s
+}
+
+// SetDBInstanceClass sets the DBInstanceClass field's value.
+func (s *PendingModifiedValues) SetDBInstanceClass(v string) *PendingModifiedValues {
+ s.DBInstanceClass = &v
+ return s
+}
+
+// SetDBInstanceIdentifier sets the DBInstanceIdentifier field's value.
+func (s *PendingModifiedValues) SetDBInstanceIdentifier(v string) *PendingModifiedValues {
+ s.DBInstanceIdentifier = &v
+ return s
+}
+
+// SetDBSubnetGroupName sets the DBSubnetGroupName field's value.
+func (s *PendingModifiedValues) SetDBSubnetGroupName(v string) *PendingModifiedValues {
+ s.DBSubnetGroupName = &v
+ return s
+}
+
+// SetEngineVersion sets the EngineVersion field's value.
+func (s *PendingModifiedValues) SetEngineVersion(v string) *PendingModifiedValues {
+ s.EngineVersion = &v
+ return s
+}
+
+// SetIops sets the Iops field's value.
+func (s *PendingModifiedValues) SetIops(v int64) *PendingModifiedValues {
+ s.Iops = &v
+ return s
+}
+
+// SetLicenseModel sets the LicenseModel field's value.
+func (s *PendingModifiedValues) SetLicenseModel(v string) *PendingModifiedValues {
+ s.LicenseModel = &v
+ return s
+}
+
+// SetMasterUserPassword sets the MasterUserPassword field's value.
+func (s *PendingModifiedValues) SetMasterUserPassword(v string) *PendingModifiedValues {
+ s.MasterUserPassword = &v
+ return s
+}
+
+// SetMultiAZ sets the MultiAZ field's value.
+func (s *PendingModifiedValues) SetMultiAZ(v bool) *PendingModifiedValues {
+ s.MultiAZ = &v
+ return s
+}
+
+// SetPort sets the Port field's value.
+func (s *PendingModifiedValues) SetPort(v int64) *PendingModifiedValues {
+ s.Port = &v
+ return s
+}
+
+// SetStorageType sets the StorageType field's value.
+func (s *PendingModifiedValues) SetStorageType(v string) *PendingModifiedValues {
+ s.StorageType = &v
+ return s
+}
+
type PromoteReadReplicaDBClusterInput struct {
_ struct{} `type:"structure"`
@@ -16632,6 +21312,12 @@ func (s *PromoteReadReplicaDBClusterInput) Validate() error {
return nil
}
+// SetDBClusterIdentifier sets the DBClusterIdentifier field's value.
+func (s *PromoteReadReplicaDBClusterInput) SetDBClusterIdentifier(v string) *PromoteReadReplicaDBClusterInput {
+ s.DBClusterIdentifier = &v
+ return s
+}
+
type PromoteReadReplicaDBClusterOutput struct {
_ struct{} `type:"structure"`
@@ -16663,6 +21349,12 @@ func (s PromoteReadReplicaDBClusterOutput) GoString() string {
return s.String()
}
+// SetDBCluster sets the DBCluster field's value.
+func (s *PromoteReadReplicaDBClusterOutput) SetDBCluster(v *DBCluster) *PromoteReadReplicaDBClusterOutput {
+ s.DBCluster = v
+ return s
+}
+
type PromoteReadReplicaInput struct {
_ struct{} `type:"structure"`
@@ -16737,6 +21429,24 @@ func (s *PromoteReadReplicaInput) Validate() error {
return nil
}
+// SetBackupRetentionPeriod sets the BackupRetentionPeriod field's value.
+func (s *PromoteReadReplicaInput) SetBackupRetentionPeriod(v int64) *PromoteReadReplicaInput {
+ s.BackupRetentionPeriod = &v
+ return s
+}
+
+// SetDBInstanceIdentifier sets the DBInstanceIdentifier field's value.
+func (s *PromoteReadReplicaInput) SetDBInstanceIdentifier(v string) *PromoteReadReplicaInput {
+ s.DBInstanceIdentifier = &v
+ return s
+}
+
+// SetPreferredBackupWindow sets the PreferredBackupWindow field's value.
+func (s *PromoteReadReplicaInput) SetPreferredBackupWindow(v string) *PromoteReadReplicaInput {
+ s.PreferredBackupWindow = &v
+ return s
+}
+
type PromoteReadReplicaOutput struct {
_ struct{} `type:"structure"`
@@ -16762,6 +21472,12 @@ func (s PromoteReadReplicaOutput) GoString() string {
return s.String()
}
+// SetDBInstance sets the DBInstance field's value.
+func (s *PromoteReadReplicaOutput) SetDBInstance(v *DBInstance) *PromoteReadReplicaOutput {
+ s.DBInstance = v
+ return s
+}
+
type PurchaseReservedDBInstancesOfferingInput struct {
_ struct{} `type:"structure"`
@@ -16809,6 +21525,30 @@ func (s *PurchaseReservedDBInstancesOfferingInput) Validate() error {
return nil
}
+// SetDBInstanceCount sets the DBInstanceCount field's value.
+func (s *PurchaseReservedDBInstancesOfferingInput) SetDBInstanceCount(v int64) *PurchaseReservedDBInstancesOfferingInput {
+ s.DBInstanceCount = &v
+ return s
+}
+
+// SetReservedDBInstanceId sets the ReservedDBInstanceId field's value.
+func (s *PurchaseReservedDBInstancesOfferingInput) SetReservedDBInstanceId(v string) *PurchaseReservedDBInstancesOfferingInput {
+ s.ReservedDBInstanceId = &v
+ return s
+}
+
+// SetReservedDBInstancesOfferingId sets the ReservedDBInstancesOfferingId field's value.
+func (s *PurchaseReservedDBInstancesOfferingInput) SetReservedDBInstancesOfferingId(v string) *PurchaseReservedDBInstancesOfferingInput {
+ s.ReservedDBInstancesOfferingId = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *PurchaseReservedDBInstancesOfferingInput) SetTags(v []*Tag) *PurchaseReservedDBInstancesOfferingInput {
+ s.Tags = v
+ return s
+}
+
type PurchaseReservedDBInstancesOfferingOutput struct {
_ struct{} `type:"structure"`
@@ -16827,6 +21567,12 @@ func (s PurchaseReservedDBInstancesOfferingOutput) GoString() string {
return s.String()
}
+// SetReservedDBInstance sets the ReservedDBInstance field's value.
+func (s *PurchaseReservedDBInstancesOfferingOutput) SetReservedDBInstance(v *ReservedDBInstance) *PurchaseReservedDBInstancesOfferingOutput {
+ s.ReservedDBInstance = v
+ return s
+}
+
type RebootDBInstanceInput struct {
_ struct{} `type:"structure"`
@@ -16873,6 +21619,18 @@ func (s *RebootDBInstanceInput) Validate() error {
return nil
}
+// SetDBInstanceIdentifier sets the DBInstanceIdentifier field's value.
+func (s *RebootDBInstanceInput) SetDBInstanceIdentifier(v string) *RebootDBInstanceInput {
+ s.DBInstanceIdentifier = &v
+ return s
+}
+
+// SetForceFailover sets the ForceFailover field's value.
+func (s *RebootDBInstanceInput) SetForceFailover(v bool) *RebootDBInstanceInput {
+ s.ForceFailover = &v
+ return s
+}
+
type RebootDBInstanceOutput struct {
_ struct{} `type:"structure"`
@@ -16898,6 +21656,12 @@ func (s RebootDBInstanceOutput) GoString() string {
return s.String()
}
+// SetDBInstance sets the DBInstance field's value.
+func (s *RebootDBInstanceOutput) SetDBInstance(v *DBInstance) *RebootDBInstanceOutput {
+ s.DBInstance = v
+ return s
+}
+
// This data type is used as a response element in the DescribeReservedDBInstances
// and DescribeReservedDBInstancesOfferings actions.
type RecurringCharge struct {
@@ -16920,6 +21684,18 @@ func (s RecurringCharge) GoString() string {
return s.String()
}
+// SetRecurringChargeAmount sets the RecurringChargeAmount field's value.
+func (s *RecurringCharge) SetRecurringChargeAmount(v float64) *RecurringCharge {
+ s.RecurringChargeAmount = &v
+ return s
+}
+
+// SetRecurringChargeFrequency sets the RecurringChargeFrequency field's value.
+func (s *RecurringCharge) SetRecurringChargeFrequency(v string) *RecurringCharge {
+ s.RecurringChargeFrequency = &v
+ return s
+}
+
type RemoveRoleFromDBClusterInput struct {
_ struct{} `type:"structure"`
@@ -16961,6 +21737,18 @@ func (s *RemoveRoleFromDBClusterInput) Validate() error {
return nil
}
+// SetDBClusterIdentifier sets the DBClusterIdentifier field's value.
+func (s *RemoveRoleFromDBClusterInput) SetDBClusterIdentifier(v string) *RemoveRoleFromDBClusterInput {
+ s.DBClusterIdentifier = &v
+ return s
+}
+
+// SetRoleArn sets the RoleArn field's value.
+func (s *RemoveRoleFromDBClusterInput) SetRoleArn(v string) *RemoveRoleFromDBClusterInput {
+ s.RoleArn = &v
+ return s
+}
+
type RemoveRoleFromDBClusterOutput struct {
_ struct{} `type:"structure"`
}
@@ -17017,6 +21805,18 @@ func (s *RemoveSourceIdentifierFromSubscriptionInput) Validate() error {
return nil
}
+// SetSourceIdentifier sets the SourceIdentifier field's value.
+func (s *RemoveSourceIdentifierFromSubscriptionInput) SetSourceIdentifier(v string) *RemoveSourceIdentifierFromSubscriptionInput {
+ s.SourceIdentifier = &v
+ return s
+}
+
+// SetSubscriptionName sets the SubscriptionName field's value.
+func (s *RemoveSourceIdentifierFromSubscriptionInput) SetSubscriptionName(v string) *RemoveSourceIdentifierFromSubscriptionInput {
+ s.SubscriptionName = &v
+ return s
+}
+
type RemoveSourceIdentifierFromSubscriptionOutput struct {
_ struct{} `type:"structure"`
@@ -17035,6 +21835,12 @@ func (s RemoveSourceIdentifierFromSubscriptionOutput) GoString() string {
return s.String()
}
+// SetEventSubscription sets the EventSubscription field's value.
+func (s *RemoveSourceIdentifierFromSubscriptionOutput) SetEventSubscription(v *EventSubscription) *RemoveSourceIdentifierFromSubscriptionOutput {
+ s.EventSubscription = v
+ return s
+}
+
type RemoveTagsFromResourceInput struct {
_ struct{} `type:"structure"`
@@ -17077,6 +21883,18 @@ func (s *RemoveTagsFromResourceInput) Validate() error {
return nil
}
+// SetResourceName sets the ResourceName field's value.
+func (s *RemoveTagsFromResourceInput) SetResourceName(v string) *RemoveTagsFromResourceInput {
+ s.ResourceName = &v
+ return s
+}
+
+// SetTagKeys sets the TagKeys field's value.
+func (s *RemoveTagsFromResourceInput) SetTagKeys(v []*string) *RemoveTagsFromResourceInput {
+ s.TagKeys = v
+ return s
+}
+
type RemoveTagsFromResourceOutput struct {
_ struct{} `type:"structure"`
}
@@ -17152,6 +21970,96 @@ func (s ReservedDBInstance) GoString() string {
return s.String()
}
+// SetCurrencyCode sets the CurrencyCode field's value.
+func (s *ReservedDBInstance) SetCurrencyCode(v string) *ReservedDBInstance {
+ s.CurrencyCode = &v
+ return s
+}
+
+// SetDBInstanceClass sets the DBInstanceClass field's value.
+func (s *ReservedDBInstance) SetDBInstanceClass(v string) *ReservedDBInstance {
+ s.DBInstanceClass = &v
+ return s
+}
+
+// SetDBInstanceCount sets the DBInstanceCount field's value.
+func (s *ReservedDBInstance) SetDBInstanceCount(v int64) *ReservedDBInstance {
+ s.DBInstanceCount = &v
+ return s
+}
+
+// SetDuration sets the Duration field's value.
+func (s *ReservedDBInstance) SetDuration(v int64) *ReservedDBInstance {
+ s.Duration = &v
+ return s
+}
+
+// SetFixedPrice sets the FixedPrice field's value.
+func (s *ReservedDBInstance) SetFixedPrice(v float64) *ReservedDBInstance {
+ s.FixedPrice = &v
+ return s
+}
+
+// SetMultiAZ sets the MultiAZ field's value.
+func (s *ReservedDBInstance) SetMultiAZ(v bool) *ReservedDBInstance {
+ s.MultiAZ = &v
+ return s
+}
+
+// SetOfferingType sets the OfferingType field's value.
+func (s *ReservedDBInstance) SetOfferingType(v string) *ReservedDBInstance {
+ s.OfferingType = &v
+ return s
+}
+
+// SetProductDescription sets the ProductDescription field's value.
+func (s *ReservedDBInstance) SetProductDescription(v string) *ReservedDBInstance {
+ s.ProductDescription = &v
+ return s
+}
+
+// SetRecurringCharges sets the RecurringCharges field's value.
+func (s *ReservedDBInstance) SetRecurringCharges(v []*RecurringCharge) *ReservedDBInstance {
+ s.RecurringCharges = v
+ return s
+}
+
+// SetReservedDBInstanceArn sets the ReservedDBInstanceArn field's value.
+func (s *ReservedDBInstance) SetReservedDBInstanceArn(v string) *ReservedDBInstance {
+ s.ReservedDBInstanceArn = &v
+ return s
+}
+
+// SetReservedDBInstanceId sets the ReservedDBInstanceId field's value.
+func (s *ReservedDBInstance) SetReservedDBInstanceId(v string) *ReservedDBInstance {
+ s.ReservedDBInstanceId = &v
+ return s
+}
+
+// SetReservedDBInstancesOfferingId sets the ReservedDBInstancesOfferingId field's value.
+func (s *ReservedDBInstance) SetReservedDBInstancesOfferingId(v string) *ReservedDBInstance {
+ s.ReservedDBInstancesOfferingId = &v
+ return s
+}
+
+// SetStartTime sets the StartTime field's value.
+func (s *ReservedDBInstance) SetStartTime(v time.Time) *ReservedDBInstance {
+ s.StartTime = &v
+ return s
+}
+
+// SetState sets the State field's value.
+func (s *ReservedDBInstance) SetState(v string) *ReservedDBInstance {
+ s.State = &v
+ return s
+}
+
+// SetUsagePrice sets the UsagePrice field's value.
+func (s *ReservedDBInstance) SetUsagePrice(v float64) *ReservedDBInstance {
+ s.UsagePrice = &v
+ return s
+}
+
// This data type is used as a response element in the DescribeReservedDBInstancesOfferings
// action.
type ReservedDBInstancesOffering struct {
@@ -17188,14 +22096,74 @@ type ReservedDBInstancesOffering struct {
UsagePrice *float64 `type:"double"`
}
-// String returns the string representation
-func (s ReservedDBInstancesOffering) String() string {
- return awsutil.Prettify(s)
+// String returns the string representation
+func (s ReservedDBInstancesOffering) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s ReservedDBInstancesOffering) GoString() string {
+ return s.String()
+}
+
+// SetCurrencyCode sets the CurrencyCode field's value.
+func (s *ReservedDBInstancesOffering) SetCurrencyCode(v string) *ReservedDBInstancesOffering {
+ s.CurrencyCode = &v
+ return s
+}
+
+// SetDBInstanceClass sets the DBInstanceClass field's value.
+func (s *ReservedDBInstancesOffering) SetDBInstanceClass(v string) *ReservedDBInstancesOffering {
+ s.DBInstanceClass = &v
+ return s
+}
+
+// SetDuration sets the Duration field's value.
+func (s *ReservedDBInstancesOffering) SetDuration(v int64) *ReservedDBInstancesOffering {
+ s.Duration = &v
+ return s
+}
+
+// SetFixedPrice sets the FixedPrice field's value.
+func (s *ReservedDBInstancesOffering) SetFixedPrice(v float64) *ReservedDBInstancesOffering {
+ s.FixedPrice = &v
+ return s
+}
+
+// SetMultiAZ sets the MultiAZ field's value.
+func (s *ReservedDBInstancesOffering) SetMultiAZ(v bool) *ReservedDBInstancesOffering {
+ s.MultiAZ = &v
+ return s
+}
+
+// SetOfferingType sets the OfferingType field's value.
+func (s *ReservedDBInstancesOffering) SetOfferingType(v string) *ReservedDBInstancesOffering {
+ s.OfferingType = &v
+ return s
+}
+
+// SetProductDescription sets the ProductDescription field's value.
+func (s *ReservedDBInstancesOffering) SetProductDescription(v string) *ReservedDBInstancesOffering {
+ s.ProductDescription = &v
+ return s
+}
+
+// SetRecurringCharges sets the RecurringCharges field's value.
+func (s *ReservedDBInstancesOffering) SetRecurringCharges(v []*RecurringCharge) *ReservedDBInstancesOffering {
+ s.RecurringCharges = v
+ return s
+}
+
+// SetReservedDBInstancesOfferingId sets the ReservedDBInstancesOfferingId field's value.
+func (s *ReservedDBInstancesOffering) SetReservedDBInstancesOfferingId(v string) *ReservedDBInstancesOffering {
+ s.ReservedDBInstancesOfferingId = &v
+ return s
}
-// GoString returns the string representation
-func (s ReservedDBInstancesOffering) GoString() string {
- return s.String()
+// SetUsagePrice sets the UsagePrice field's value.
+func (s *ReservedDBInstancesOffering) SetUsagePrice(v float64) *ReservedDBInstancesOffering {
+ s.UsagePrice = &v
+ return s
}
type ResetDBClusterParameterGroupInput struct {
@@ -17240,6 +22208,24 @@ func (s *ResetDBClusterParameterGroupInput) Validate() error {
return nil
}
+// SetDBClusterParameterGroupName sets the DBClusterParameterGroupName field's value.
+func (s *ResetDBClusterParameterGroupInput) SetDBClusterParameterGroupName(v string) *ResetDBClusterParameterGroupInput {
+ s.DBClusterParameterGroupName = &v
+ return s
+}
+
+// SetParameters sets the Parameters field's value.
+func (s *ResetDBClusterParameterGroupInput) SetParameters(v []*Parameter) *ResetDBClusterParameterGroupInput {
+ s.Parameters = v
+ return s
+}
+
+// SetResetAllParameters sets the ResetAllParameters field's value.
+func (s *ResetDBClusterParameterGroupInput) SetResetAllParameters(v bool) *ResetDBClusterParameterGroupInput {
+ s.ResetAllParameters = &v
+ return s
+}
+
type ResetDBParameterGroupInput struct {
_ struct{} `type:"structure"`
@@ -17312,6 +22298,24 @@ func (s *ResetDBParameterGroupInput) Validate() error {
return nil
}
+// SetDBParameterGroupName sets the DBParameterGroupName field's value.
+func (s *ResetDBParameterGroupInput) SetDBParameterGroupName(v string) *ResetDBParameterGroupInput {
+ s.DBParameterGroupName = &v
+ return s
+}
+
+// SetParameters sets the Parameters field's value.
+func (s *ResetDBParameterGroupInput) SetParameters(v []*Parameter) *ResetDBParameterGroupInput {
+ s.Parameters = v
+ return s
+}
+
+// SetResetAllParameters sets the ResetAllParameters field's value.
+func (s *ResetDBParameterGroupInput) SetResetAllParameters(v bool) *ResetDBParameterGroupInput {
+ s.ResetAllParameters = &v
+ return s
+}
+
// Describes the pending maintenance actions for a resource.
type ResourcePendingMaintenanceActions struct {
_ struct{} `type:"structure"`
@@ -17334,6 +22338,18 @@ func (s ResourcePendingMaintenanceActions) GoString() string {
return s.String()
}
+// SetPendingMaintenanceActionDetails sets the PendingMaintenanceActionDetails field's value.
+func (s *ResourcePendingMaintenanceActions) SetPendingMaintenanceActionDetails(v []*PendingMaintenanceAction) *ResourcePendingMaintenanceActions {
+ s.PendingMaintenanceActionDetails = v
+ return s
+}
+
+// SetResourceIdentifier sets the ResourceIdentifier field's value.
+func (s *ResourcePendingMaintenanceActions) SetResourceIdentifier(v string) *ResourcePendingMaintenanceActions {
+ s.ResourceIdentifier = &v
+ return s
+}
+
type RestoreDBClusterFromS3Input struct {
_ struct{} `type:"structure"`
@@ -17579,6 +22595,150 @@ func (s *RestoreDBClusterFromS3Input) Validate() error {
return nil
}
+// SetAvailabilityZones sets the AvailabilityZones field's value.
+func (s *RestoreDBClusterFromS3Input) SetAvailabilityZones(v []*string) *RestoreDBClusterFromS3Input {
+ s.AvailabilityZones = v
+ return s
+}
+
+// SetBackupRetentionPeriod sets the BackupRetentionPeriod field's value.
+func (s *RestoreDBClusterFromS3Input) SetBackupRetentionPeriod(v int64) *RestoreDBClusterFromS3Input {
+ s.BackupRetentionPeriod = &v
+ return s
+}
+
+// SetCharacterSetName sets the CharacterSetName field's value.
+func (s *RestoreDBClusterFromS3Input) SetCharacterSetName(v string) *RestoreDBClusterFromS3Input {
+ s.CharacterSetName = &v
+ return s
+}
+
+// SetDBClusterIdentifier sets the DBClusterIdentifier field's value.
+func (s *RestoreDBClusterFromS3Input) SetDBClusterIdentifier(v string) *RestoreDBClusterFromS3Input {
+ s.DBClusterIdentifier = &v
+ return s
+}
+
+// SetDBClusterParameterGroupName sets the DBClusterParameterGroupName field's value.
+func (s *RestoreDBClusterFromS3Input) SetDBClusterParameterGroupName(v string) *RestoreDBClusterFromS3Input {
+ s.DBClusterParameterGroupName = &v
+ return s
+}
+
+// SetDBSubnetGroupName sets the DBSubnetGroupName field's value.
+func (s *RestoreDBClusterFromS3Input) SetDBSubnetGroupName(v string) *RestoreDBClusterFromS3Input {
+ s.DBSubnetGroupName = &v
+ return s
+}
+
+// SetDatabaseName sets the DatabaseName field's value.
+func (s *RestoreDBClusterFromS3Input) SetDatabaseName(v string) *RestoreDBClusterFromS3Input {
+ s.DatabaseName = &v
+ return s
+}
+
+// SetEngine sets the Engine field's value.
+func (s *RestoreDBClusterFromS3Input) SetEngine(v string) *RestoreDBClusterFromS3Input {
+ s.Engine = &v
+ return s
+}
+
+// SetEngineVersion sets the EngineVersion field's value.
+func (s *RestoreDBClusterFromS3Input) SetEngineVersion(v string) *RestoreDBClusterFromS3Input {
+ s.EngineVersion = &v
+ return s
+}
+
+// SetKmsKeyId sets the KmsKeyId field's value.
+func (s *RestoreDBClusterFromS3Input) SetKmsKeyId(v string) *RestoreDBClusterFromS3Input {
+ s.KmsKeyId = &v
+ return s
+}
+
+// SetMasterUserPassword sets the MasterUserPassword field's value.
+func (s *RestoreDBClusterFromS3Input) SetMasterUserPassword(v string) *RestoreDBClusterFromS3Input {
+ s.MasterUserPassword = &v
+ return s
+}
+
+// SetMasterUsername sets the MasterUsername field's value.
+func (s *RestoreDBClusterFromS3Input) SetMasterUsername(v string) *RestoreDBClusterFromS3Input {
+ s.MasterUsername = &v
+ return s
+}
+
+// SetOptionGroupName sets the OptionGroupName field's value.
+func (s *RestoreDBClusterFromS3Input) SetOptionGroupName(v string) *RestoreDBClusterFromS3Input {
+ s.OptionGroupName = &v
+ return s
+}
+
+// SetPort sets the Port field's value.
+func (s *RestoreDBClusterFromS3Input) SetPort(v int64) *RestoreDBClusterFromS3Input {
+ s.Port = &v
+ return s
+}
+
+// SetPreferredBackupWindow sets the PreferredBackupWindow field's value.
+func (s *RestoreDBClusterFromS3Input) SetPreferredBackupWindow(v string) *RestoreDBClusterFromS3Input {
+ s.PreferredBackupWindow = &v
+ return s
+}
+
+// SetPreferredMaintenanceWindow sets the PreferredMaintenanceWindow field's value.
+func (s *RestoreDBClusterFromS3Input) SetPreferredMaintenanceWindow(v string) *RestoreDBClusterFromS3Input {
+ s.PreferredMaintenanceWindow = &v
+ return s
+}
+
+// SetS3BucketName sets the S3BucketName field's value.
+func (s *RestoreDBClusterFromS3Input) SetS3BucketName(v string) *RestoreDBClusterFromS3Input {
+ s.S3BucketName = &v
+ return s
+}
+
+// SetS3IngestionRoleArn sets the S3IngestionRoleArn field's value.
+func (s *RestoreDBClusterFromS3Input) SetS3IngestionRoleArn(v string) *RestoreDBClusterFromS3Input {
+ s.S3IngestionRoleArn = &v
+ return s
+}
+
+// SetS3Prefix sets the S3Prefix field's value.
+func (s *RestoreDBClusterFromS3Input) SetS3Prefix(v string) *RestoreDBClusterFromS3Input {
+ s.S3Prefix = &v
+ return s
+}
+
+// SetSourceEngine sets the SourceEngine field's value.
+func (s *RestoreDBClusterFromS3Input) SetSourceEngine(v string) *RestoreDBClusterFromS3Input {
+ s.SourceEngine = &v
+ return s
+}
+
+// SetSourceEngineVersion sets the SourceEngineVersion field's value.
+func (s *RestoreDBClusterFromS3Input) SetSourceEngineVersion(v string) *RestoreDBClusterFromS3Input {
+ s.SourceEngineVersion = &v
+ return s
+}
+
+// SetStorageEncrypted sets the StorageEncrypted field's value.
+func (s *RestoreDBClusterFromS3Input) SetStorageEncrypted(v bool) *RestoreDBClusterFromS3Input {
+ s.StorageEncrypted = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *RestoreDBClusterFromS3Input) SetTags(v []*Tag) *RestoreDBClusterFromS3Input {
+ s.Tags = v
+ return s
+}
+
+// SetVpcSecurityGroupIds sets the VpcSecurityGroupIds field's value.
+func (s *RestoreDBClusterFromS3Input) SetVpcSecurityGroupIds(v []*string) *RestoreDBClusterFromS3Input {
+ s.VpcSecurityGroupIds = v
+ return s
+}
+
type RestoreDBClusterFromS3Output struct {
_ struct{} `type:"structure"`
@@ -17610,6 +22770,12 @@ func (s RestoreDBClusterFromS3Output) GoString() string {
return s.String()
}
+// SetDBCluster sets the DBCluster field's value.
+func (s *RestoreDBClusterFromS3Output) SetDBCluster(v *DBCluster) *RestoreDBClusterFromS3Output {
+ s.DBCluster = v
+ return s
+}
+
type RestoreDBClusterFromSnapshotInput struct {
_ struct{} `type:"structure"`
@@ -17734,6 +22900,78 @@ func (s *RestoreDBClusterFromSnapshotInput) Validate() error {
return nil
}
+// SetAvailabilityZones sets the AvailabilityZones field's value.
+func (s *RestoreDBClusterFromSnapshotInput) SetAvailabilityZones(v []*string) *RestoreDBClusterFromSnapshotInput {
+ s.AvailabilityZones = v
+ return s
+}
+
+// SetDBClusterIdentifier sets the DBClusterIdentifier field's value.
+func (s *RestoreDBClusterFromSnapshotInput) SetDBClusterIdentifier(v string) *RestoreDBClusterFromSnapshotInput {
+ s.DBClusterIdentifier = &v
+ return s
+}
+
+// SetDBSubnetGroupName sets the DBSubnetGroupName field's value.
+func (s *RestoreDBClusterFromSnapshotInput) SetDBSubnetGroupName(v string) *RestoreDBClusterFromSnapshotInput {
+ s.DBSubnetGroupName = &v
+ return s
+}
+
+// SetDatabaseName sets the DatabaseName field's value.
+func (s *RestoreDBClusterFromSnapshotInput) SetDatabaseName(v string) *RestoreDBClusterFromSnapshotInput {
+ s.DatabaseName = &v
+ return s
+}
+
+// SetEngine sets the Engine field's value.
+func (s *RestoreDBClusterFromSnapshotInput) SetEngine(v string) *RestoreDBClusterFromSnapshotInput {
+ s.Engine = &v
+ return s
+}
+
+// SetEngineVersion sets the EngineVersion field's value.
+func (s *RestoreDBClusterFromSnapshotInput) SetEngineVersion(v string) *RestoreDBClusterFromSnapshotInput {
+ s.EngineVersion = &v
+ return s
+}
+
+// SetKmsKeyId sets the KmsKeyId field's value.
+func (s *RestoreDBClusterFromSnapshotInput) SetKmsKeyId(v string) *RestoreDBClusterFromSnapshotInput {
+ s.KmsKeyId = &v
+ return s
+}
+
+// SetOptionGroupName sets the OptionGroupName field's value.
+func (s *RestoreDBClusterFromSnapshotInput) SetOptionGroupName(v string) *RestoreDBClusterFromSnapshotInput {
+ s.OptionGroupName = &v
+ return s
+}
+
+// SetPort sets the Port field's value.
+func (s *RestoreDBClusterFromSnapshotInput) SetPort(v int64) *RestoreDBClusterFromSnapshotInput {
+ s.Port = &v
+ return s
+}
+
+// SetSnapshotIdentifier sets the SnapshotIdentifier field's value.
+func (s *RestoreDBClusterFromSnapshotInput) SetSnapshotIdentifier(v string) *RestoreDBClusterFromSnapshotInput {
+ s.SnapshotIdentifier = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *RestoreDBClusterFromSnapshotInput) SetTags(v []*Tag) *RestoreDBClusterFromSnapshotInput {
+ s.Tags = v
+ return s
+}
+
+// SetVpcSecurityGroupIds sets the VpcSecurityGroupIds field's value.
+func (s *RestoreDBClusterFromSnapshotInput) SetVpcSecurityGroupIds(v []*string) *RestoreDBClusterFromSnapshotInput {
+ s.VpcSecurityGroupIds = v
+ return s
+}
+
type RestoreDBClusterFromSnapshotOutput struct {
_ struct{} `type:"structure"`
@@ -17765,6 +23003,12 @@ func (s RestoreDBClusterFromSnapshotOutput) GoString() string {
return s.String()
}
+// SetDBCluster sets the DBCluster field's value.
+func (s *RestoreDBClusterFromSnapshotOutput) SetDBCluster(v *DBCluster) *RestoreDBClusterFromSnapshotOutput {
+ s.DBCluster = v
+ return s
+}
+
type RestoreDBClusterToPointInTimeInput struct {
_ struct{} `type:"structure"`
@@ -17894,6 +23138,66 @@ func (s *RestoreDBClusterToPointInTimeInput) Validate() error {
return nil
}
+// SetDBClusterIdentifier sets the DBClusterIdentifier field's value.
+func (s *RestoreDBClusterToPointInTimeInput) SetDBClusterIdentifier(v string) *RestoreDBClusterToPointInTimeInput {
+ s.DBClusterIdentifier = &v
+ return s
+}
+
+// SetDBSubnetGroupName sets the DBSubnetGroupName field's value.
+func (s *RestoreDBClusterToPointInTimeInput) SetDBSubnetGroupName(v string) *RestoreDBClusterToPointInTimeInput {
+ s.DBSubnetGroupName = &v
+ return s
+}
+
+// SetKmsKeyId sets the KmsKeyId field's value.
+func (s *RestoreDBClusterToPointInTimeInput) SetKmsKeyId(v string) *RestoreDBClusterToPointInTimeInput {
+ s.KmsKeyId = &v
+ return s
+}
+
+// SetOptionGroupName sets the OptionGroupName field's value.
+func (s *RestoreDBClusterToPointInTimeInput) SetOptionGroupName(v string) *RestoreDBClusterToPointInTimeInput {
+ s.OptionGroupName = &v
+ return s
+}
+
+// SetPort sets the Port field's value.
+func (s *RestoreDBClusterToPointInTimeInput) SetPort(v int64) *RestoreDBClusterToPointInTimeInput {
+ s.Port = &v
+ return s
+}
+
+// SetRestoreToTime sets the RestoreToTime field's value.
+func (s *RestoreDBClusterToPointInTimeInput) SetRestoreToTime(v time.Time) *RestoreDBClusterToPointInTimeInput {
+ s.RestoreToTime = &v
+ return s
+}
+
+// SetSourceDBClusterIdentifier sets the SourceDBClusterIdentifier field's value.
+func (s *RestoreDBClusterToPointInTimeInput) SetSourceDBClusterIdentifier(v string) *RestoreDBClusterToPointInTimeInput {
+ s.SourceDBClusterIdentifier = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *RestoreDBClusterToPointInTimeInput) SetTags(v []*Tag) *RestoreDBClusterToPointInTimeInput {
+ s.Tags = v
+ return s
+}
+
+// SetUseLatestRestorableTime sets the UseLatestRestorableTime field's value.
+func (s *RestoreDBClusterToPointInTimeInput) SetUseLatestRestorableTime(v bool) *RestoreDBClusterToPointInTimeInput {
+ s.UseLatestRestorableTime = &v
+ return s
+}
+
+// SetVpcSecurityGroupIds sets the VpcSecurityGroupIds field's value.
+func (s *RestoreDBClusterToPointInTimeInput) SetVpcSecurityGroupIds(v []*string) *RestoreDBClusterToPointInTimeInput {
+ s.VpcSecurityGroupIds = v
+ return s
+}
+
type RestoreDBClusterToPointInTimeOutput struct {
_ struct{} `type:"structure"`
@@ -17925,6 +23229,12 @@ func (s RestoreDBClusterToPointInTimeOutput) GoString() string {
return s.String()
}
+// SetDBCluster sets the DBCluster field's value.
+func (s *RestoreDBClusterToPointInTimeOutput) SetDBCluster(v *DBCluster) *RestoreDBClusterToPointInTimeOutput {
+ s.DBCluster = v
+ return s
+}
+
type RestoreDBInstanceFromDBSnapshotInput struct {
_ struct{} `type:"structure"`
@@ -18123,6 +23433,132 @@ func (s *RestoreDBInstanceFromDBSnapshotInput) Validate() error {
return nil
}
+// SetAutoMinorVersionUpgrade sets the AutoMinorVersionUpgrade field's value.
+func (s *RestoreDBInstanceFromDBSnapshotInput) SetAutoMinorVersionUpgrade(v bool) *RestoreDBInstanceFromDBSnapshotInput {
+ s.AutoMinorVersionUpgrade = &v
+ return s
+}
+
+// SetAvailabilityZone sets the AvailabilityZone field's value.
+func (s *RestoreDBInstanceFromDBSnapshotInput) SetAvailabilityZone(v string) *RestoreDBInstanceFromDBSnapshotInput {
+ s.AvailabilityZone = &v
+ return s
+}
+
+// SetCopyTagsToSnapshot sets the CopyTagsToSnapshot field's value.
+func (s *RestoreDBInstanceFromDBSnapshotInput) SetCopyTagsToSnapshot(v bool) *RestoreDBInstanceFromDBSnapshotInput {
+ s.CopyTagsToSnapshot = &v
+ return s
+}
+
+// SetDBInstanceClass sets the DBInstanceClass field's value.
+func (s *RestoreDBInstanceFromDBSnapshotInput) SetDBInstanceClass(v string) *RestoreDBInstanceFromDBSnapshotInput {
+ s.DBInstanceClass = &v
+ return s
+}
+
+// SetDBInstanceIdentifier sets the DBInstanceIdentifier field's value.
+func (s *RestoreDBInstanceFromDBSnapshotInput) SetDBInstanceIdentifier(v string) *RestoreDBInstanceFromDBSnapshotInput {
+ s.DBInstanceIdentifier = &v
+ return s
+}
+
+// SetDBName sets the DBName field's value.
+func (s *RestoreDBInstanceFromDBSnapshotInput) SetDBName(v string) *RestoreDBInstanceFromDBSnapshotInput {
+ s.DBName = &v
+ return s
+}
+
+// SetDBSnapshotIdentifier sets the DBSnapshotIdentifier field's value.
+func (s *RestoreDBInstanceFromDBSnapshotInput) SetDBSnapshotIdentifier(v string) *RestoreDBInstanceFromDBSnapshotInput {
+ s.DBSnapshotIdentifier = &v
+ return s
+}
+
+// SetDBSubnetGroupName sets the DBSubnetGroupName field's value.
+func (s *RestoreDBInstanceFromDBSnapshotInput) SetDBSubnetGroupName(v string) *RestoreDBInstanceFromDBSnapshotInput {
+ s.DBSubnetGroupName = &v
+ return s
+}
+
+// SetDomain sets the Domain field's value.
+func (s *RestoreDBInstanceFromDBSnapshotInput) SetDomain(v string) *RestoreDBInstanceFromDBSnapshotInput {
+ s.Domain = &v
+ return s
+}
+
+// SetDomainIAMRoleName sets the DomainIAMRoleName field's value.
+func (s *RestoreDBInstanceFromDBSnapshotInput) SetDomainIAMRoleName(v string) *RestoreDBInstanceFromDBSnapshotInput {
+ s.DomainIAMRoleName = &v
+ return s
+}
+
+// SetEngine sets the Engine field's value.
+func (s *RestoreDBInstanceFromDBSnapshotInput) SetEngine(v string) *RestoreDBInstanceFromDBSnapshotInput {
+ s.Engine = &v
+ return s
+}
+
+// SetIops sets the Iops field's value.
+func (s *RestoreDBInstanceFromDBSnapshotInput) SetIops(v int64) *RestoreDBInstanceFromDBSnapshotInput {
+ s.Iops = &v
+ return s
+}
+
+// SetLicenseModel sets the LicenseModel field's value.
+func (s *RestoreDBInstanceFromDBSnapshotInput) SetLicenseModel(v string) *RestoreDBInstanceFromDBSnapshotInput {
+ s.LicenseModel = &v
+ return s
+}
+
+// SetMultiAZ sets the MultiAZ field's value.
+func (s *RestoreDBInstanceFromDBSnapshotInput) SetMultiAZ(v bool) *RestoreDBInstanceFromDBSnapshotInput {
+ s.MultiAZ = &v
+ return s
+}
+
+// SetOptionGroupName sets the OptionGroupName field's value.
+func (s *RestoreDBInstanceFromDBSnapshotInput) SetOptionGroupName(v string) *RestoreDBInstanceFromDBSnapshotInput {
+ s.OptionGroupName = &v
+ return s
+}
+
+// SetPort sets the Port field's value.
+func (s *RestoreDBInstanceFromDBSnapshotInput) SetPort(v int64) *RestoreDBInstanceFromDBSnapshotInput {
+ s.Port = &v
+ return s
+}
+
+// SetPubliclyAccessible sets the PubliclyAccessible field's value.
+func (s *RestoreDBInstanceFromDBSnapshotInput) SetPubliclyAccessible(v bool) *RestoreDBInstanceFromDBSnapshotInput {
+ s.PubliclyAccessible = &v
+ return s
+}
+
+// SetStorageType sets the StorageType field's value.
+func (s *RestoreDBInstanceFromDBSnapshotInput) SetStorageType(v string) *RestoreDBInstanceFromDBSnapshotInput {
+ s.StorageType = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *RestoreDBInstanceFromDBSnapshotInput) SetTags(v []*Tag) *RestoreDBInstanceFromDBSnapshotInput {
+ s.Tags = v
+ return s
+}
+
+// SetTdeCredentialArn sets the TdeCredentialArn field's value.
+func (s *RestoreDBInstanceFromDBSnapshotInput) SetTdeCredentialArn(v string) *RestoreDBInstanceFromDBSnapshotInput {
+ s.TdeCredentialArn = &v
+ return s
+}
+
+// SetTdeCredentialPassword sets the TdeCredentialPassword field's value.
+func (s *RestoreDBInstanceFromDBSnapshotInput) SetTdeCredentialPassword(v string) *RestoreDBInstanceFromDBSnapshotInput {
+ s.TdeCredentialPassword = &v
+ return s
+}
+
type RestoreDBInstanceFromDBSnapshotOutput struct {
_ struct{} `type:"structure"`
@@ -18148,6 +23584,12 @@ 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
+}
+
type RestoreDBInstanceToPointInTimeInput struct {
_ struct{} `type:"structure"`
@@ -18360,6 +23802,144 @@ func (s *RestoreDBInstanceToPointInTimeInput) Validate() error {
return nil
}
+// SetAutoMinorVersionUpgrade sets the AutoMinorVersionUpgrade field's value.
+func (s *RestoreDBInstanceToPointInTimeInput) SetAutoMinorVersionUpgrade(v bool) *RestoreDBInstanceToPointInTimeInput {
+ s.AutoMinorVersionUpgrade = &v
+ return s
+}
+
+// SetAvailabilityZone sets the AvailabilityZone field's value.
+func (s *RestoreDBInstanceToPointInTimeInput) SetAvailabilityZone(v string) *RestoreDBInstanceToPointInTimeInput {
+ s.AvailabilityZone = &v
+ return s
+}
+
+// SetCopyTagsToSnapshot sets the CopyTagsToSnapshot field's value.
+func (s *RestoreDBInstanceToPointInTimeInput) SetCopyTagsToSnapshot(v bool) *RestoreDBInstanceToPointInTimeInput {
+ s.CopyTagsToSnapshot = &v
+ return s
+}
+
+// SetDBInstanceClass sets the DBInstanceClass field's value.
+func (s *RestoreDBInstanceToPointInTimeInput) SetDBInstanceClass(v string) *RestoreDBInstanceToPointInTimeInput {
+ s.DBInstanceClass = &v
+ return s
+}
+
+// SetDBName sets the DBName field's value.
+func (s *RestoreDBInstanceToPointInTimeInput) SetDBName(v string) *RestoreDBInstanceToPointInTimeInput {
+ s.DBName = &v
+ return s
+}
+
+// SetDBSubnetGroupName sets the DBSubnetGroupName field's value.
+func (s *RestoreDBInstanceToPointInTimeInput) SetDBSubnetGroupName(v string) *RestoreDBInstanceToPointInTimeInput {
+ s.DBSubnetGroupName = &v
+ return s
+}
+
+// SetDomain sets the Domain field's value.
+func (s *RestoreDBInstanceToPointInTimeInput) SetDomain(v string) *RestoreDBInstanceToPointInTimeInput {
+ s.Domain = &v
+ return s
+}
+
+// SetDomainIAMRoleName sets the DomainIAMRoleName field's value.
+func (s *RestoreDBInstanceToPointInTimeInput) SetDomainIAMRoleName(v string) *RestoreDBInstanceToPointInTimeInput {
+ s.DomainIAMRoleName = &v
+ return s
+}
+
+// SetEngine sets the Engine field's value.
+func (s *RestoreDBInstanceToPointInTimeInput) SetEngine(v string) *RestoreDBInstanceToPointInTimeInput {
+ s.Engine = &v
+ return s
+}
+
+// SetIops sets the Iops field's value.
+func (s *RestoreDBInstanceToPointInTimeInput) SetIops(v int64) *RestoreDBInstanceToPointInTimeInput {
+ s.Iops = &v
+ return s
+}
+
+// SetLicenseModel sets the LicenseModel field's value.
+func (s *RestoreDBInstanceToPointInTimeInput) SetLicenseModel(v string) *RestoreDBInstanceToPointInTimeInput {
+ s.LicenseModel = &v
+ return s
+}
+
+// SetMultiAZ sets the MultiAZ field's value.
+func (s *RestoreDBInstanceToPointInTimeInput) SetMultiAZ(v bool) *RestoreDBInstanceToPointInTimeInput {
+ s.MultiAZ = &v
+ return s
+}
+
+// SetOptionGroupName sets the OptionGroupName field's value.
+func (s *RestoreDBInstanceToPointInTimeInput) SetOptionGroupName(v string) *RestoreDBInstanceToPointInTimeInput {
+ s.OptionGroupName = &v
+ return s
+}
+
+// SetPort sets the Port field's value.
+func (s *RestoreDBInstanceToPointInTimeInput) SetPort(v int64) *RestoreDBInstanceToPointInTimeInput {
+ s.Port = &v
+ return s
+}
+
+// SetPubliclyAccessible sets the PubliclyAccessible field's value.
+func (s *RestoreDBInstanceToPointInTimeInput) SetPubliclyAccessible(v bool) *RestoreDBInstanceToPointInTimeInput {
+ s.PubliclyAccessible = &v
+ return s
+}
+
+// SetRestoreTime sets the RestoreTime field's value.
+func (s *RestoreDBInstanceToPointInTimeInput) SetRestoreTime(v time.Time) *RestoreDBInstanceToPointInTimeInput {
+ s.RestoreTime = &v
+ return s
+}
+
+// SetSourceDBInstanceIdentifier sets the SourceDBInstanceIdentifier field's value.
+func (s *RestoreDBInstanceToPointInTimeInput) SetSourceDBInstanceIdentifier(v string) *RestoreDBInstanceToPointInTimeInput {
+ s.SourceDBInstanceIdentifier = &v
+ return s
+}
+
+// SetStorageType sets the StorageType field's value.
+func (s *RestoreDBInstanceToPointInTimeInput) SetStorageType(v string) *RestoreDBInstanceToPointInTimeInput {
+ s.StorageType = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *RestoreDBInstanceToPointInTimeInput) SetTags(v []*Tag) *RestoreDBInstanceToPointInTimeInput {
+ s.Tags = v
+ return s
+}
+
+// SetTargetDBInstanceIdentifier sets the TargetDBInstanceIdentifier field's value.
+func (s *RestoreDBInstanceToPointInTimeInput) SetTargetDBInstanceIdentifier(v string) *RestoreDBInstanceToPointInTimeInput {
+ s.TargetDBInstanceIdentifier = &v
+ return s
+}
+
+// SetTdeCredentialArn sets the TdeCredentialArn field's value.
+func (s *RestoreDBInstanceToPointInTimeInput) SetTdeCredentialArn(v string) *RestoreDBInstanceToPointInTimeInput {
+ s.TdeCredentialArn = &v
+ return s
+}
+
+// SetTdeCredentialPassword sets the TdeCredentialPassword field's value.
+func (s *RestoreDBInstanceToPointInTimeInput) SetTdeCredentialPassword(v string) *RestoreDBInstanceToPointInTimeInput {
+ s.TdeCredentialPassword = &v
+ return s
+}
+
+// SetUseLatestRestorableTime sets the UseLatestRestorableTime field's value.
+func (s *RestoreDBInstanceToPointInTimeInput) SetUseLatestRestorableTime(v bool) *RestoreDBInstanceToPointInTimeInput {
+ s.UseLatestRestorableTime = &v
+ return s
+}
+
type RestoreDBInstanceToPointInTimeOutput struct {
_ struct{} `type:"structure"`
@@ -18385,6 +23965,12 @@ func (s RestoreDBInstanceToPointInTimeOutput) GoString() string {
return s.String()
}
+// SetDBInstance sets the DBInstance field's value.
+func (s *RestoreDBInstanceToPointInTimeOutput) SetDBInstance(v *DBInstance) *RestoreDBInstanceToPointInTimeOutput {
+ s.DBInstance = v
+ return s
+}
+
type RevokeDBSecurityGroupIngressInput struct {
_ struct{} `type:"structure"`
@@ -18439,6 +24025,36 @@ func (s *RevokeDBSecurityGroupIngressInput) Validate() error {
return nil
}
+// SetCIDRIP sets the CIDRIP field's value.
+func (s *RevokeDBSecurityGroupIngressInput) SetCIDRIP(v string) *RevokeDBSecurityGroupIngressInput {
+ s.CIDRIP = &v
+ return s
+}
+
+// SetDBSecurityGroupName sets the DBSecurityGroupName field's value.
+func (s *RevokeDBSecurityGroupIngressInput) SetDBSecurityGroupName(v string) *RevokeDBSecurityGroupIngressInput {
+ s.DBSecurityGroupName = &v
+ return s
+}
+
+// SetEC2SecurityGroupId sets the EC2SecurityGroupId field's value.
+func (s *RevokeDBSecurityGroupIngressInput) SetEC2SecurityGroupId(v string) *RevokeDBSecurityGroupIngressInput {
+ s.EC2SecurityGroupId = &v
+ return s
+}
+
+// SetEC2SecurityGroupName sets the EC2SecurityGroupName field's value.
+func (s *RevokeDBSecurityGroupIngressInput) SetEC2SecurityGroupName(v string) *RevokeDBSecurityGroupIngressInput {
+ s.EC2SecurityGroupName = &v
+ return s
+}
+
+// SetEC2SecurityGroupOwnerId sets the EC2SecurityGroupOwnerId field's value.
+func (s *RevokeDBSecurityGroupIngressInput) SetEC2SecurityGroupOwnerId(v string) *RevokeDBSecurityGroupIngressInput {
+ s.EC2SecurityGroupOwnerId = &v
+ return s
+}
+
type RevokeDBSecurityGroupIngressOutput struct {
_ struct{} `type:"structure"`
@@ -18467,6 +24083,12 @@ func (s RevokeDBSecurityGroupIngressOutput) GoString() string {
return s.String()
}
+// SetDBSecurityGroup sets the DBSecurityGroup field's value.
+func (s *RevokeDBSecurityGroupIngressOutput) SetDBSecurityGroup(v *DBSecurityGroup) *RevokeDBSecurityGroupIngressOutput {
+ s.DBSecurityGroup = v
+ return s
+}
+
// Contains an AWS Region name as the result of a successful call to the DescribeSourceRegions
// action.
type SourceRegion struct {
@@ -18492,6 +24114,24 @@ func (s SourceRegion) GoString() string {
return s.String()
}
+// SetEndpoint sets the Endpoint field's value.
+func (s *SourceRegion) SetEndpoint(v string) *SourceRegion {
+ s.Endpoint = &v
+ return s
+}
+
+// SetRegionName sets the RegionName field's value.
+func (s *SourceRegion) SetRegionName(v string) *SourceRegion {
+ s.RegionName = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *SourceRegion) SetStatus(v string) *SourceRegion {
+ s.Status = &v
+ return s
+}
+
// This data type is used as a response element in the DescribeDBSubnetGroups
// action.
type Subnet struct {
@@ -18521,6 +24161,24 @@ func (s Subnet) GoString() string {
return s.String()
}
+// SetSubnetAvailabilityZone sets the SubnetAvailabilityZone field's value.
+func (s *Subnet) SetSubnetAvailabilityZone(v *AvailabilityZone) *Subnet {
+ s.SubnetAvailabilityZone = v
+ return s
+}
+
+// SetSubnetIdentifier sets the SubnetIdentifier field's value.
+func (s *Subnet) SetSubnetIdentifier(v string) *Subnet {
+ s.SubnetIdentifier = &v
+ return s
+}
+
+// SetSubnetStatus sets the SubnetStatus field's value.
+func (s *Subnet) SetSubnetStatus(v string) *Subnet {
+ s.SubnetStatus = &v
+ return s
+}
+
// Metadata assigned to an Amazon RDS resource consisting of a key-value pair.
type Tag struct {
_ struct{} `type:"structure"`
@@ -18548,6 +24206,18 @@ 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
+}
+
// 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.
@@ -18568,6 +24238,12 @@ func (s Timezone) GoString() string {
return s.String()
}
+// SetTimezoneName sets the TimezoneName field's value.
+func (s *Timezone) SetTimezoneName(v string) *Timezone {
+ s.TimezoneName = &v
+ return s
+}
+
// The version of the database engine that a DB instance can be upgraded to.
type UpgradeTarget struct {
_ struct{} `type:"structure"`
@@ -18600,6 +24276,36 @@ func (s UpgradeTarget) GoString() string {
return s.String()
}
+// SetAutoUpgrade sets the AutoUpgrade field's value.
+func (s *UpgradeTarget) SetAutoUpgrade(v bool) *UpgradeTarget {
+ s.AutoUpgrade = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *UpgradeTarget) SetDescription(v string) *UpgradeTarget {
+ s.Description = &v
+ return s
+}
+
+// SetEngine sets the Engine field's value.
+func (s *UpgradeTarget) SetEngine(v string) *UpgradeTarget {
+ s.Engine = &v
+ return s
+}
+
+// SetEngineVersion sets the EngineVersion field's value.
+func (s *UpgradeTarget) SetEngineVersion(v string) *UpgradeTarget {
+ s.EngineVersion = &v
+ return s
+}
+
+// SetIsMajorVersionUpgrade sets the IsMajorVersionUpgrade field's value.
+func (s *UpgradeTarget) SetIsMajorVersionUpgrade(v bool) *UpgradeTarget {
+ s.IsMajorVersionUpgrade = &v
+ return s
+}
+
// This data type is used as a response element for queries on VPC security
// group membership.
type VpcSecurityGroupMembership struct {
@@ -18622,6 +24328,18 @@ func (s VpcSecurityGroupMembership) GoString() string {
return s.String()
}
+// SetStatus sets the Status field's value.
+func (s *VpcSecurityGroupMembership) SetStatus(v string) *VpcSecurityGroupMembership {
+ s.Status = &v
+ return s
+}
+
+// SetVpcSecurityGroupId sets the VpcSecurityGroupId field's value.
+func (s *VpcSecurityGroupMembership) SetVpcSecurityGroupId(v string) *VpcSecurityGroupMembership {
+ s.VpcSecurityGroupId = &v
+ return s
+}
+
const (
// ApplyMethodImmediate is a ApplyMethod enum value
ApplyMethodImmediate = "immediate"
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 595f8b1..6645fd7 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
@@ -5526,6 +5526,12 @@ func (s AccountWithRestoreAccess) GoString() string {
return s.String()
}
+// SetAccountId sets the AccountId field's value.
+func (s *AccountWithRestoreAccess) SetAccountId(v string) *AccountWithRestoreAccess {
+ s.AccountId = &v
+ return s
+}
+
type AuthorizeClusterSecurityGroupIngressInput struct {
_ struct{} `type:"structure"`
@@ -5571,6 +5577,30 @@ func (s *AuthorizeClusterSecurityGroupIngressInput) Validate() error {
return nil
}
+// SetCIDRIP sets the CIDRIP field's value.
+func (s *AuthorizeClusterSecurityGroupIngressInput) SetCIDRIP(v string) *AuthorizeClusterSecurityGroupIngressInput {
+ s.CIDRIP = &v
+ return s
+}
+
+// SetClusterSecurityGroupName sets the ClusterSecurityGroupName field's value.
+func (s *AuthorizeClusterSecurityGroupIngressInput) SetClusterSecurityGroupName(v string) *AuthorizeClusterSecurityGroupIngressInput {
+ s.ClusterSecurityGroupName = &v
+ return s
+}
+
+// SetEC2SecurityGroupName sets the EC2SecurityGroupName field's value.
+func (s *AuthorizeClusterSecurityGroupIngressInput) SetEC2SecurityGroupName(v string) *AuthorizeClusterSecurityGroupIngressInput {
+ s.EC2SecurityGroupName = &v
+ return s
+}
+
+// SetEC2SecurityGroupOwnerId sets the EC2SecurityGroupOwnerId field's value.
+func (s *AuthorizeClusterSecurityGroupIngressInput) SetEC2SecurityGroupOwnerId(v string) *AuthorizeClusterSecurityGroupIngressInput {
+ s.EC2SecurityGroupOwnerId = &v
+ return s
+}
+
type AuthorizeClusterSecurityGroupIngressOutput struct {
_ struct{} `type:"structure"`
@@ -5588,6 +5618,12 @@ func (s AuthorizeClusterSecurityGroupIngressOutput) GoString() string {
return s.String()
}
+// SetClusterSecurityGroup sets the ClusterSecurityGroup field's value.
+func (s *AuthorizeClusterSecurityGroupIngressOutput) SetClusterSecurityGroup(v *ClusterSecurityGroup) *AuthorizeClusterSecurityGroupIngressOutput {
+ s.ClusterSecurityGroup = v
+ return s
+}
+
type AuthorizeSnapshotAccessInput struct {
_ struct{} `type:"structure"`
@@ -5634,6 +5670,24 @@ func (s *AuthorizeSnapshotAccessInput) Validate() error {
return nil
}
+// SetAccountWithRestoreAccess sets the AccountWithRestoreAccess field's value.
+func (s *AuthorizeSnapshotAccessInput) SetAccountWithRestoreAccess(v string) *AuthorizeSnapshotAccessInput {
+ s.AccountWithRestoreAccess = &v
+ return s
+}
+
+// SetSnapshotClusterIdentifier sets the SnapshotClusterIdentifier field's value.
+func (s *AuthorizeSnapshotAccessInput) SetSnapshotClusterIdentifier(v string) *AuthorizeSnapshotAccessInput {
+ s.SnapshotClusterIdentifier = &v
+ return s
+}
+
+// SetSnapshotIdentifier sets the SnapshotIdentifier field's value.
+func (s *AuthorizeSnapshotAccessInput) SetSnapshotIdentifier(v string) *AuthorizeSnapshotAccessInput {
+ s.SnapshotIdentifier = &v
+ return s
+}
+
type AuthorizeSnapshotAccessOutput struct {
_ struct{} `type:"structure"`
@@ -5651,6 +5705,12 @@ func (s AuthorizeSnapshotAccessOutput) GoString() string {
return s.String()
}
+// SetSnapshot sets the Snapshot field's value.
+func (s *AuthorizeSnapshotAccessOutput) SetSnapshot(v *Snapshot) *AuthorizeSnapshotAccessOutput {
+ s.Snapshot = v
+ return s
+}
+
// Describes an availability zone.
type AvailabilityZone struct {
_ struct{} `type:"structure"`
@@ -5669,6 +5729,12 @@ func (s AvailabilityZone) GoString() string {
return s.String()
}
+// SetName sets the Name field's value.
+func (s *AvailabilityZone) SetName(v string) *AvailabilityZone {
+ s.Name = &v
+ return s
+}
+
// Describes a cluster.
type Cluster struct {
_ struct{} `type:"structure"`
@@ -5849,6 +5915,204 @@ func (s Cluster) GoString() string {
return s.String()
}
+// SetAllowVersionUpgrade sets the AllowVersionUpgrade field's value.
+func (s *Cluster) SetAllowVersionUpgrade(v bool) *Cluster {
+ s.AllowVersionUpgrade = &v
+ return s
+}
+
+// SetAutomatedSnapshotRetentionPeriod sets the AutomatedSnapshotRetentionPeriod field's value.
+func (s *Cluster) SetAutomatedSnapshotRetentionPeriod(v int64) *Cluster {
+ s.AutomatedSnapshotRetentionPeriod = &v
+ return s
+}
+
+// SetAvailabilityZone sets the AvailabilityZone field's value.
+func (s *Cluster) SetAvailabilityZone(v string) *Cluster {
+ s.AvailabilityZone = &v
+ return s
+}
+
+// SetClusterCreateTime sets the ClusterCreateTime field's value.
+func (s *Cluster) SetClusterCreateTime(v time.Time) *Cluster {
+ s.ClusterCreateTime = &v
+ return s
+}
+
+// SetClusterIdentifier sets the ClusterIdentifier field's value.
+func (s *Cluster) SetClusterIdentifier(v string) *Cluster {
+ s.ClusterIdentifier = &v
+ return s
+}
+
+// SetClusterNodes sets the ClusterNodes field's value.
+func (s *Cluster) SetClusterNodes(v []*ClusterNode) *Cluster {
+ s.ClusterNodes = v
+ return s
+}
+
+// SetClusterParameterGroups sets the ClusterParameterGroups field's value.
+func (s *Cluster) SetClusterParameterGroups(v []*ClusterParameterGroupStatus) *Cluster {
+ s.ClusterParameterGroups = v
+ return s
+}
+
+// SetClusterPublicKey sets the ClusterPublicKey field's value.
+func (s *Cluster) SetClusterPublicKey(v string) *Cluster {
+ s.ClusterPublicKey = &v
+ return s
+}
+
+// SetClusterRevisionNumber sets the ClusterRevisionNumber field's value.
+func (s *Cluster) SetClusterRevisionNumber(v string) *Cluster {
+ s.ClusterRevisionNumber = &v
+ return s
+}
+
+// SetClusterSecurityGroups sets the ClusterSecurityGroups field's value.
+func (s *Cluster) SetClusterSecurityGroups(v []*ClusterSecurityGroupMembership) *Cluster {
+ s.ClusterSecurityGroups = v
+ return s
+}
+
+// SetClusterSnapshotCopyStatus sets the ClusterSnapshotCopyStatus field's value.
+func (s *Cluster) SetClusterSnapshotCopyStatus(v *ClusterSnapshotCopyStatus) *Cluster {
+ s.ClusterSnapshotCopyStatus = v
+ return s
+}
+
+// SetClusterStatus sets the ClusterStatus field's value.
+func (s *Cluster) SetClusterStatus(v string) *Cluster {
+ s.ClusterStatus = &v
+ return s
+}
+
+// SetClusterSubnetGroupName sets the ClusterSubnetGroupName field's value.
+func (s *Cluster) SetClusterSubnetGroupName(v string) *Cluster {
+ s.ClusterSubnetGroupName = &v
+ return s
+}
+
+// SetClusterVersion sets the ClusterVersion field's value.
+func (s *Cluster) SetClusterVersion(v string) *Cluster {
+ s.ClusterVersion = &v
+ return s
+}
+
+// SetDBName sets the DBName field's value.
+func (s *Cluster) SetDBName(v string) *Cluster {
+ s.DBName = &v
+ return s
+}
+
+// SetElasticIpStatus sets the ElasticIpStatus field's value.
+func (s *Cluster) SetElasticIpStatus(v *ElasticIpStatus) *Cluster {
+ s.ElasticIpStatus = v
+ return s
+}
+
+// SetEncrypted sets the Encrypted field's value.
+func (s *Cluster) SetEncrypted(v bool) *Cluster {
+ s.Encrypted = &v
+ return s
+}
+
+// SetEndpoint sets the Endpoint field's value.
+func (s *Cluster) SetEndpoint(v *Endpoint) *Cluster {
+ s.Endpoint = v
+ return s
+}
+
+// SetEnhancedVpcRouting sets the EnhancedVpcRouting field's value.
+func (s *Cluster) SetEnhancedVpcRouting(v bool) *Cluster {
+ s.EnhancedVpcRouting = &v
+ return s
+}
+
+// SetHsmStatus sets the HsmStatus field's value.
+func (s *Cluster) SetHsmStatus(v *HsmStatus) *Cluster {
+ s.HsmStatus = v
+ return s
+}
+
+// SetIamRoles sets the IamRoles field's value.
+func (s *Cluster) SetIamRoles(v []*ClusterIamRole) *Cluster {
+ s.IamRoles = v
+ return s
+}
+
+// SetKmsKeyId sets the KmsKeyId field's value.
+func (s *Cluster) SetKmsKeyId(v string) *Cluster {
+ s.KmsKeyId = &v
+ return s
+}
+
+// SetMasterUsername sets the MasterUsername field's value.
+func (s *Cluster) SetMasterUsername(v string) *Cluster {
+ s.MasterUsername = &v
+ return s
+}
+
+// SetModifyStatus sets the ModifyStatus field's value.
+func (s *Cluster) SetModifyStatus(v string) *Cluster {
+ s.ModifyStatus = &v
+ return s
+}
+
+// SetNodeType sets the NodeType field's value.
+func (s *Cluster) SetNodeType(v string) *Cluster {
+ s.NodeType = &v
+ return s
+}
+
+// SetNumberOfNodes sets the NumberOfNodes field's value.
+func (s *Cluster) SetNumberOfNodes(v int64) *Cluster {
+ s.NumberOfNodes = &v
+ return s
+}
+
+// SetPendingModifiedValues sets the PendingModifiedValues field's value.
+func (s *Cluster) SetPendingModifiedValues(v *PendingModifiedValues) *Cluster {
+ s.PendingModifiedValues = v
+ return s
+}
+
+// SetPreferredMaintenanceWindow sets the PreferredMaintenanceWindow field's value.
+func (s *Cluster) SetPreferredMaintenanceWindow(v string) *Cluster {
+ s.PreferredMaintenanceWindow = &v
+ return s
+}
+
+// SetPubliclyAccessible sets the PubliclyAccessible field's value.
+func (s *Cluster) SetPubliclyAccessible(v bool) *Cluster {
+ s.PubliclyAccessible = &v
+ return s
+}
+
+// SetRestoreStatus sets the RestoreStatus field's value.
+func (s *Cluster) SetRestoreStatus(v *RestoreStatus) *Cluster {
+ s.RestoreStatus = v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *Cluster) SetTags(v []*Tag) *Cluster {
+ s.Tags = v
+ return s
+}
+
+// SetVpcId sets the VpcId field's value.
+func (s *Cluster) SetVpcId(v string) *Cluster {
+ s.VpcId = &v
+ return s
+}
+
+// SetVpcSecurityGroups sets the VpcSecurityGroups field's value.
+func (s *Cluster) SetVpcSecurityGroups(v []*VpcSecurityGroupMembership) *Cluster {
+ s.VpcSecurityGroups = v
+ return s
+}
+
// An AWS Identity and Access Management (IAM) role that can be used by the
// associated Amazon Redshift cluster to access other AWS services.
type ClusterIamRole struct {
@@ -5881,6 +6145,18 @@ func (s ClusterIamRole) GoString() string {
return s.String()
}
+// SetApplyStatus sets the ApplyStatus field's value.
+func (s *ClusterIamRole) SetApplyStatus(v string) *ClusterIamRole {
+ s.ApplyStatus = &v
+ return s
+}
+
+// SetIamRoleArn sets the IamRoleArn field's value.
+func (s *ClusterIamRole) SetIamRoleArn(v string) *ClusterIamRole {
+ s.IamRoleArn = &v
+ return s
+}
+
// The identifier of a node in a cluster.
type ClusterNode struct {
_ struct{} `type:"structure"`
@@ -5905,6 +6181,24 @@ func (s ClusterNode) GoString() string {
return s.String()
}
+// SetNodeRole sets the NodeRole field's value.
+func (s *ClusterNode) SetNodeRole(v string) *ClusterNode {
+ s.NodeRole = &v
+ return s
+}
+
+// SetPrivateIPAddress sets the PrivateIPAddress field's value.
+func (s *ClusterNode) SetPrivateIPAddress(v string) *ClusterNode {
+ s.PrivateIPAddress = &v
+ return s
+}
+
+// SetPublicIPAddress sets the PublicIPAddress field's value.
+func (s *ClusterNode) SetPublicIPAddress(v string) *ClusterNode {
+ s.PublicIPAddress = &v
+ return s
+}
+
// Describes a parameter group.
type ClusterParameterGroup struct {
_ struct{} `type:"structure"`
@@ -5933,6 +6227,30 @@ func (s ClusterParameterGroup) GoString() string {
return s.String()
}
+// SetDescription sets the Description field's value.
+func (s *ClusterParameterGroup) SetDescription(v string) *ClusterParameterGroup {
+ s.Description = &v
+ return s
+}
+
+// SetParameterGroupFamily sets the ParameterGroupFamily field's value.
+func (s *ClusterParameterGroup) SetParameterGroupFamily(v string) *ClusterParameterGroup {
+ s.ParameterGroupFamily = &v
+ return s
+}
+
+// SetParameterGroupName sets the ParameterGroupName field's value.
+func (s *ClusterParameterGroup) SetParameterGroupName(v string) *ClusterParameterGroup {
+ s.ParameterGroupName = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *ClusterParameterGroup) SetTags(v []*Tag) *ClusterParameterGroup {
+ s.Tags = v
+ return s
+}
+
type ClusterParameterGroupNameMessage struct {
_ struct{} `type:"structure"`
@@ -5955,6 +6273,18 @@ func (s ClusterParameterGroupNameMessage) GoString() string {
return s.String()
}
+// SetParameterGroupName sets the ParameterGroupName field's value.
+func (s *ClusterParameterGroupNameMessage) SetParameterGroupName(v string) *ClusterParameterGroupNameMessage {
+ s.ParameterGroupName = &v
+ return s
+}
+
+// SetParameterGroupStatus sets the ParameterGroupStatus field's value.
+func (s *ClusterParameterGroupNameMessage) SetParameterGroupStatus(v string) *ClusterParameterGroupNameMessage {
+ s.ParameterGroupStatus = &v
+ return s
+}
+
// Describes the status of a parameter group.
type ClusterParameterGroupStatus struct {
_ struct{} `type:"structure"`
@@ -5983,6 +6313,24 @@ func (s ClusterParameterGroupStatus) GoString() string {
return s.String()
}
+// SetClusterParameterStatusList sets the ClusterParameterStatusList field's value.
+func (s *ClusterParameterGroupStatus) SetClusterParameterStatusList(v []*ClusterParameterStatus) *ClusterParameterGroupStatus {
+ s.ClusterParameterStatusList = v
+ return s
+}
+
+// SetParameterApplyStatus sets the ParameterApplyStatus field's value.
+func (s *ClusterParameterGroupStatus) SetParameterApplyStatus(v string) *ClusterParameterGroupStatus {
+ s.ParameterApplyStatus = &v
+ return s
+}
+
+// SetParameterGroupName sets the ParameterGroupName field's value.
+func (s *ClusterParameterGroupStatus) SetParameterGroupName(v string) *ClusterParameterGroupStatus {
+ s.ParameterGroupName = &v
+ return s
+}
+
// Describes the status of a parameter group.
type ClusterParameterStatus struct {
_ struct{} `type:"structure"`
@@ -6030,6 +6378,24 @@ func (s ClusterParameterStatus) GoString() string {
return s.String()
}
+// SetParameterApplyErrorDescription sets the ParameterApplyErrorDescription field's value.
+func (s *ClusterParameterStatus) SetParameterApplyErrorDescription(v string) *ClusterParameterStatus {
+ s.ParameterApplyErrorDescription = &v
+ return s
+}
+
+// SetParameterApplyStatus sets the ParameterApplyStatus field's value.
+func (s *ClusterParameterStatus) SetParameterApplyStatus(v string) *ClusterParameterStatus {
+ s.ParameterApplyStatus = &v
+ return s
+}
+
+// SetParameterName sets the ParameterName field's value.
+func (s *ClusterParameterStatus) SetParameterName(v string) *ClusterParameterStatus {
+ s.ParameterName = &v
+ return s
+}
+
// Describes a security group.
type ClusterSecurityGroup struct {
_ struct{} `type:"structure"`
@@ -6062,6 +6428,36 @@ func (s ClusterSecurityGroup) GoString() string {
return s.String()
}
+// SetClusterSecurityGroupName sets the ClusterSecurityGroupName field's value.
+func (s *ClusterSecurityGroup) SetClusterSecurityGroupName(v string) *ClusterSecurityGroup {
+ s.ClusterSecurityGroupName = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *ClusterSecurityGroup) SetDescription(v string) *ClusterSecurityGroup {
+ s.Description = &v
+ return s
+}
+
+// SetEC2SecurityGroups sets the EC2SecurityGroups field's value.
+func (s *ClusterSecurityGroup) SetEC2SecurityGroups(v []*EC2SecurityGroup) *ClusterSecurityGroup {
+ s.EC2SecurityGroups = v
+ return s
+}
+
+// SetIPRanges sets the IPRanges field's value.
+func (s *ClusterSecurityGroup) SetIPRanges(v []*IPRange) *ClusterSecurityGroup {
+ s.IPRanges = v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *ClusterSecurityGroup) SetTags(v []*Tag) *ClusterSecurityGroup {
+ s.Tags = v
+ return s
+}
+
// Describes a cluster security group.
type ClusterSecurityGroupMembership struct {
_ struct{} `type:"structure"`
@@ -6083,6 +6479,18 @@ func (s ClusterSecurityGroupMembership) GoString() string {
return s.String()
}
+// SetClusterSecurityGroupName sets the ClusterSecurityGroupName field's value.
+func (s *ClusterSecurityGroupMembership) SetClusterSecurityGroupName(v string) *ClusterSecurityGroupMembership {
+ s.ClusterSecurityGroupName = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *ClusterSecurityGroupMembership) SetStatus(v string) *ClusterSecurityGroupMembership {
+ s.Status = &v
+ return s
+}
+
// Returns the destination region and retention period that are configured for
// cross-region snapshot copy.
type ClusterSnapshotCopyStatus struct {
@@ -6110,6 +6518,24 @@ func (s ClusterSnapshotCopyStatus) GoString() string {
return s.String()
}
+// SetDestinationRegion sets the DestinationRegion field's value.
+func (s *ClusterSnapshotCopyStatus) SetDestinationRegion(v string) *ClusterSnapshotCopyStatus {
+ s.DestinationRegion = &v
+ return s
+}
+
+// SetRetentionPeriod sets the RetentionPeriod field's value.
+func (s *ClusterSnapshotCopyStatus) SetRetentionPeriod(v int64) *ClusterSnapshotCopyStatus {
+ s.RetentionPeriod = &v
+ return s
+}
+
+// SetSnapshotCopyGrantName sets the SnapshotCopyGrantName field's value.
+func (s *ClusterSnapshotCopyStatus) SetSnapshotCopyGrantName(v string) *ClusterSnapshotCopyStatus {
+ s.SnapshotCopyGrantName = &v
+ return s
+}
+
// Describes a subnet group.
type ClusterSubnetGroup struct {
_ struct{} `type:"structure"`
@@ -6144,6 +6570,42 @@ func (s ClusterSubnetGroup) GoString() string {
return s.String()
}
+// SetClusterSubnetGroupName sets the ClusterSubnetGroupName field's value.
+func (s *ClusterSubnetGroup) SetClusterSubnetGroupName(v string) *ClusterSubnetGroup {
+ s.ClusterSubnetGroupName = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *ClusterSubnetGroup) SetDescription(v string) *ClusterSubnetGroup {
+ s.Description = &v
+ return s
+}
+
+// SetSubnetGroupStatus sets the SubnetGroupStatus field's value.
+func (s *ClusterSubnetGroup) SetSubnetGroupStatus(v string) *ClusterSubnetGroup {
+ s.SubnetGroupStatus = &v
+ return s
+}
+
+// SetSubnets sets the Subnets field's value.
+func (s *ClusterSubnetGroup) SetSubnets(v []*Subnet) *ClusterSubnetGroup {
+ s.Subnets = v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *ClusterSubnetGroup) SetTags(v []*Tag) *ClusterSubnetGroup {
+ s.Tags = v
+ return s
+}
+
+// SetVpcId sets the VpcId field's value.
+func (s *ClusterSubnetGroup) SetVpcId(v string) *ClusterSubnetGroup {
+ s.VpcId = &v
+ return s
+}
+
// Describes a cluster version, including the parameter group family and description
// of the version.
type ClusterVersion struct {
@@ -6169,6 +6631,24 @@ func (s ClusterVersion) GoString() string {
return s.String()
}
+// SetClusterParameterGroupFamily sets the ClusterParameterGroupFamily field's value.
+func (s *ClusterVersion) SetClusterParameterGroupFamily(v string) *ClusterVersion {
+ s.ClusterParameterGroupFamily = &v
+ return s
+}
+
+// SetClusterVersion sets the ClusterVersion field's value.
+func (s *ClusterVersion) SetClusterVersion(v string) *ClusterVersion {
+ s.ClusterVersion = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *ClusterVersion) SetDescription(v string) *ClusterVersion {
+ s.Description = &v
+ return s
+}
+
type CopyClusterSnapshotInput struct {
_ struct{} `type:"structure"`
@@ -6235,6 +6715,24 @@ func (s *CopyClusterSnapshotInput) Validate() error {
return nil
}
+// SetSourceSnapshotClusterIdentifier sets the SourceSnapshotClusterIdentifier field's value.
+func (s *CopyClusterSnapshotInput) SetSourceSnapshotClusterIdentifier(v string) *CopyClusterSnapshotInput {
+ s.SourceSnapshotClusterIdentifier = &v
+ return s
+}
+
+// SetSourceSnapshotIdentifier sets the SourceSnapshotIdentifier field's value.
+func (s *CopyClusterSnapshotInput) SetSourceSnapshotIdentifier(v string) *CopyClusterSnapshotInput {
+ s.SourceSnapshotIdentifier = &v
+ return s
+}
+
+// SetTargetSnapshotIdentifier sets the TargetSnapshotIdentifier field's value.
+func (s *CopyClusterSnapshotInput) SetTargetSnapshotIdentifier(v string) *CopyClusterSnapshotInput {
+ s.TargetSnapshotIdentifier = &v
+ return s
+}
+
type CopyClusterSnapshotOutput struct {
_ struct{} `type:"structure"`
@@ -6252,6 +6750,12 @@ func (s CopyClusterSnapshotOutput) GoString() string {
return s.String()
}
+// SetSnapshot sets the Snapshot field's value.
+func (s *CopyClusterSnapshotOutput) SetSnapshot(v *Snapshot) *CopyClusterSnapshotOutput {
+ s.Snapshot = v
+ return s
+}
+
type CreateClusterInput struct {
_ struct{} `type:"structure"`
@@ -6555,6 +7059,168 @@ func (s *CreateClusterInput) Validate() error {
return nil
}
+// SetAdditionalInfo sets the AdditionalInfo field's value.
+func (s *CreateClusterInput) SetAdditionalInfo(v string) *CreateClusterInput {
+ s.AdditionalInfo = &v
+ return s
+}
+
+// SetAllowVersionUpgrade sets the AllowVersionUpgrade field's value.
+func (s *CreateClusterInput) SetAllowVersionUpgrade(v bool) *CreateClusterInput {
+ s.AllowVersionUpgrade = &v
+ return s
+}
+
+// SetAutomatedSnapshotRetentionPeriod sets the AutomatedSnapshotRetentionPeriod field's value.
+func (s *CreateClusterInput) SetAutomatedSnapshotRetentionPeriod(v int64) *CreateClusterInput {
+ s.AutomatedSnapshotRetentionPeriod = &v
+ return s
+}
+
+// SetAvailabilityZone sets the AvailabilityZone field's value.
+func (s *CreateClusterInput) SetAvailabilityZone(v string) *CreateClusterInput {
+ s.AvailabilityZone = &v
+ return s
+}
+
+// SetClusterIdentifier sets the ClusterIdentifier field's value.
+func (s *CreateClusterInput) SetClusterIdentifier(v string) *CreateClusterInput {
+ s.ClusterIdentifier = &v
+ return s
+}
+
+// SetClusterParameterGroupName sets the ClusterParameterGroupName field's value.
+func (s *CreateClusterInput) SetClusterParameterGroupName(v string) *CreateClusterInput {
+ s.ClusterParameterGroupName = &v
+ return s
+}
+
+// SetClusterSecurityGroups sets the ClusterSecurityGroups field's value.
+func (s *CreateClusterInput) SetClusterSecurityGroups(v []*string) *CreateClusterInput {
+ s.ClusterSecurityGroups = v
+ return s
+}
+
+// SetClusterSubnetGroupName sets the ClusterSubnetGroupName field's value.
+func (s *CreateClusterInput) SetClusterSubnetGroupName(v string) *CreateClusterInput {
+ s.ClusterSubnetGroupName = &v
+ return s
+}
+
+// SetClusterType sets the ClusterType field's value.
+func (s *CreateClusterInput) SetClusterType(v string) *CreateClusterInput {
+ s.ClusterType = &v
+ return s
+}
+
+// SetClusterVersion sets the ClusterVersion field's value.
+func (s *CreateClusterInput) SetClusterVersion(v string) *CreateClusterInput {
+ s.ClusterVersion = &v
+ return s
+}
+
+// SetDBName sets the DBName field's value.
+func (s *CreateClusterInput) SetDBName(v string) *CreateClusterInput {
+ s.DBName = &v
+ return s
+}
+
+// SetElasticIp sets the ElasticIp field's value.
+func (s *CreateClusterInput) SetElasticIp(v string) *CreateClusterInput {
+ s.ElasticIp = &v
+ return s
+}
+
+// SetEncrypted sets the Encrypted field's value.
+func (s *CreateClusterInput) SetEncrypted(v bool) *CreateClusterInput {
+ s.Encrypted = &v
+ return s
+}
+
+// SetEnhancedVpcRouting sets the EnhancedVpcRouting field's value.
+func (s *CreateClusterInput) SetEnhancedVpcRouting(v bool) *CreateClusterInput {
+ s.EnhancedVpcRouting = &v
+ return s
+}
+
+// SetHsmClientCertificateIdentifier sets the HsmClientCertificateIdentifier field's value.
+func (s *CreateClusterInput) SetHsmClientCertificateIdentifier(v string) *CreateClusterInput {
+ s.HsmClientCertificateIdentifier = &v
+ return s
+}
+
+// SetHsmConfigurationIdentifier sets the HsmConfigurationIdentifier field's value.
+func (s *CreateClusterInput) SetHsmConfigurationIdentifier(v string) *CreateClusterInput {
+ s.HsmConfigurationIdentifier = &v
+ return s
+}
+
+// SetIamRoles sets the IamRoles field's value.
+func (s *CreateClusterInput) SetIamRoles(v []*string) *CreateClusterInput {
+ s.IamRoles = v
+ return s
+}
+
+// SetKmsKeyId sets the KmsKeyId field's value.
+func (s *CreateClusterInput) SetKmsKeyId(v string) *CreateClusterInput {
+ s.KmsKeyId = &v
+ return s
+}
+
+// SetMasterUserPassword sets the MasterUserPassword field's value.
+func (s *CreateClusterInput) SetMasterUserPassword(v string) *CreateClusterInput {
+ s.MasterUserPassword = &v
+ return s
+}
+
+// SetMasterUsername sets the MasterUsername field's value.
+func (s *CreateClusterInput) SetMasterUsername(v string) *CreateClusterInput {
+ s.MasterUsername = &v
+ return s
+}
+
+// SetNodeType sets the NodeType field's value.
+func (s *CreateClusterInput) SetNodeType(v string) *CreateClusterInput {
+ s.NodeType = &v
+ return s
+}
+
+// SetNumberOfNodes sets the NumberOfNodes field's value.
+func (s *CreateClusterInput) SetNumberOfNodes(v int64) *CreateClusterInput {
+ s.NumberOfNodes = &v
+ return s
+}
+
+// SetPort sets the Port field's value.
+func (s *CreateClusterInput) SetPort(v int64) *CreateClusterInput {
+ s.Port = &v
+ return s
+}
+
+// SetPreferredMaintenanceWindow sets the PreferredMaintenanceWindow field's value.
+func (s *CreateClusterInput) SetPreferredMaintenanceWindow(v string) *CreateClusterInput {
+ s.PreferredMaintenanceWindow = &v
+ return s
+}
+
+// SetPubliclyAccessible sets the PubliclyAccessible field's value.
+func (s *CreateClusterInput) SetPubliclyAccessible(v bool) *CreateClusterInput {
+ s.PubliclyAccessible = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *CreateClusterInput) SetTags(v []*Tag) *CreateClusterInput {
+ s.Tags = v
+ return s
+}
+
+// SetVpcSecurityGroupIds sets the VpcSecurityGroupIds field's value.
+func (s *CreateClusterInput) SetVpcSecurityGroupIds(v []*string) *CreateClusterInput {
+ s.VpcSecurityGroupIds = v
+ return s
+}
+
type CreateClusterOutput struct {
_ struct{} `type:"structure"`
@@ -6572,6 +7238,12 @@ func (s CreateClusterOutput) GoString() string {
return s.String()
}
+// SetCluster sets the Cluster field's value.
+func (s *CreateClusterOutput) SetCluster(v *Cluster) *CreateClusterOutput {
+ s.Cluster = v
+ return s
+}
+
type CreateClusterParameterGroupInput struct {
_ struct{} `type:"structure"`
@@ -6643,6 +7315,30 @@ func (s *CreateClusterParameterGroupInput) Validate() error {
return nil
}
+// SetDescription sets the Description field's value.
+func (s *CreateClusterParameterGroupInput) SetDescription(v string) *CreateClusterParameterGroupInput {
+ s.Description = &v
+ return s
+}
+
+// SetParameterGroupFamily sets the ParameterGroupFamily field's value.
+func (s *CreateClusterParameterGroupInput) SetParameterGroupFamily(v string) *CreateClusterParameterGroupInput {
+ s.ParameterGroupFamily = &v
+ return s
+}
+
+// SetParameterGroupName sets the ParameterGroupName field's value.
+func (s *CreateClusterParameterGroupInput) SetParameterGroupName(v string) *CreateClusterParameterGroupInput {
+ s.ParameterGroupName = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *CreateClusterParameterGroupInput) SetTags(v []*Tag) *CreateClusterParameterGroupInput {
+ s.Tags = v
+ return s
+}
+
type CreateClusterParameterGroupOutput struct {
_ struct{} `type:"structure"`
@@ -6660,6 +7356,12 @@ func (s CreateClusterParameterGroupOutput) GoString() string {
return s.String()
}
+// SetClusterParameterGroup sets the ClusterParameterGroup field's value.
+func (s *CreateClusterParameterGroupOutput) SetClusterParameterGroup(v *ClusterParameterGroup) *CreateClusterParameterGroupOutput {
+ s.ClusterParameterGroup = v
+ return s
+}
+
type CreateClusterSecurityGroupInput struct {
_ struct{} `type:"structure"`
@@ -6715,6 +7417,24 @@ func (s *CreateClusterSecurityGroupInput) Validate() error {
return nil
}
+// SetClusterSecurityGroupName sets the ClusterSecurityGroupName field's value.
+func (s *CreateClusterSecurityGroupInput) SetClusterSecurityGroupName(v string) *CreateClusterSecurityGroupInput {
+ s.ClusterSecurityGroupName = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *CreateClusterSecurityGroupInput) SetDescription(v string) *CreateClusterSecurityGroupInput {
+ s.Description = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *CreateClusterSecurityGroupInput) SetTags(v []*Tag) *CreateClusterSecurityGroupInput {
+ s.Tags = v
+ return s
+}
+
type CreateClusterSecurityGroupOutput struct {
_ struct{} `type:"structure"`
@@ -6732,6 +7452,12 @@ func (s CreateClusterSecurityGroupOutput) GoString() string {
return s.String()
}
+// SetClusterSecurityGroup sets the ClusterSecurityGroup field's value.
+func (s *CreateClusterSecurityGroupOutput) SetClusterSecurityGroup(v *ClusterSecurityGroup) *CreateClusterSecurityGroupOutput {
+ s.ClusterSecurityGroup = v
+ return s
+}
+
type CreateClusterSnapshotInput struct {
_ struct{} `type:"structure"`
@@ -6788,6 +7514,24 @@ func (s *CreateClusterSnapshotInput) Validate() error {
return nil
}
+// SetClusterIdentifier sets the ClusterIdentifier field's value.
+func (s *CreateClusterSnapshotInput) SetClusterIdentifier(v string) *CreateClusterSnapshotInput {
+ s.ClusterIdentifier = &v
+ return s
+}
+
+// SetSnapshotIdentifier sets the SnapshotIdentifier field's value.
+func (s *CreateClusterSnapshotInput) SetSnapshotIdentifier(v string) *CreateClusterSnapshotInput {
+ s.SnapshotIdentifier = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *CreateClusterSnapshotInput) SetTags(v []*Tag) *CreateClusterSnapshotInput {
+ s.Tags = v
+ return s
+}
+
type CreateClusterSnapshotOutput struct {
_ struct{} `type:"structure"`
@@ -6805,6 +7549,12 @@ func (s CreateClusterSnapshotOutput) GoString() string {
return s.String()
}
+// SetSnapshot sets the Snapshot field's value.
+func (s *CreateClusterSnapshotOutput) SetSnapshot(v *Snapshot) *CreateClusterSnapshotOutput {
+ s.Snapshot = v
+ return s
+}
+
type CreateClusterSubnetGroupInput struct {
_ struct{} `type:"structure"`
@@ -6868,14 +7618,38 @@ func (s *CreateClusterSubnetGroupInput) Validate() error {
return nil
}
-type CreateClusterSubnetGroupOutput struct {
- _ struct{} `type:"structure"`
+// SetClusterSubnetGroupName sets the ClusterSubnetGroupName field's value.
+func (s *CreateClusterSubnetGroupInput) SetClusterSubnetGroupName(v string) *CreateClusterSubnetGroupInput {
+ s.ClusterSubnetGroupName = &v
+ return s
+}
- // Describes a subnet group.
- ClusterSubnetGroup *ClusterSubnetGroup `type:"structure"`
+// SetDescription sets the Description field's value.
+func (s *CreateClusterSubnetGroupInput) SetDescription(v string) *CreateClusterSubnetGroupInput {
+ s.Description = &v
+ return s
}
-// String returns the string representation
+// SetSubnetIds sets the SubnetIds field's value.
+func (s *CreateClusterSubnetGroupInput) SetSubnetIds(v []*string) *CreateClusterSubnetGroupInput {
+ s.SubnetIds = v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *CreateClusterSubnetGroupInput) SetTags(v []*Tag) *CreateClusterSubnetGroupInput {
+ s.Tags = v
+ return s
+}
+
+type CreateClusterSubnetGroupOutput struct {
+ _ struct{} `type:"structure"`
+
+ // Describes a subnet group.
+ ClusterSubnetGroup *ClusterSubnetGroup `type:"structure"`
+}
+
+// String returns the string representation
func (s CreateClusterSubnetGroupOutput) String() string {
return awsutil.Prettify(s)
}
@@ -6885,6 +7659,12 @@ func (s CreateClusterSubnetGroupOutput) GoString() string {
return s.String()
}
+// SetClusterSubnetGroup sets the ClusterSubnetGroup field's value.
+func (s *CreateClusterSubnetGroupOutput) SetClusterSubnetGroup(v *ClusterSubnetGroup) *CreateClusterSubnetGroupOutput {
+ s.ClusterSubnetGroup = v
+ return s
+}
+
type CreateEventSubscriptionInput struct {
_ struct{} `type:"structure"`
@@ -6977,6 +7757,54 @@ func (s *CreateEventSubscriptionInput) Validate() error {
return nil
}
+// SetEnabled sets the Enabled field's value.
+func (s *CreateEventSubscriptionInput) SetEnabled(v bool) *CreateEventSubscriptionInput {
+ s.Enabled = &v
+ return s
+}
+
+// SetEventCategories sets the EventCategories field's value.
+func (s *CreateEventSubscriptionInput) SetEventCategories(v []*string) *CreateEventSubscriptionInput {
+ s.EventCategories = v
+ return s
+}
+
+// SetSeverity sets the Severity field's value.
+func (s *CreateEventSubscriptionInput) SetSeverity(v string) *CreateEventSubscriptionInput {
+ s.Severity = &v
+ return s
+}
+
+// SetSnsTopicArn sets the SnsTopicArn field's value.
+func (s *CreateEventSubscriptionInput) SetSnsTopicArn(v string) *CreateEventSubscriptionInput {
+ s.SnsTopicArn = &v
+ return s
+}
+
+// SetSourceIds sets the SourceIds field's value.
+func (s *CreateEventSubscriptionInput) SetSourceIds(v []*string) *CreateEventSubscriptionInput {
+ s.SourceIds = v
+ return s
+}
+
+// SetSourceType sets the SourceType field's value.
+func (s *CreateEventSubscriptionInput) SetSourceType(v string) *CreateEventSubscriptionInput {
+ s.SourceType = &v
+ return s
+}
+
+// SetSubscriptionName sets the SubscriptionName field's value.
+func (s *CreateEventSubscriptionInput) SetSubscriptionName(v string) *CreateEventSubscriptionInput {
+ s.SubscriptionName = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *CreateEventSubscriptionInput) SetTags(v []*Tag) *CreateEventSubscriptionInput {
+ s.Tags = v
+ return s
+}
+
type CreateEventSubscriptionOutput struct {
_ struct{} `type:"structure"`
@@ -6994,6 +7822,12 @@ func (s CreateEventSubscriptionOutput) GoString() string {
return s.String()
}
+// SetEventSubscription sets the EventSubscription field's value.
+func (s *CreateEventSubscriptionOutput) SetEventSubscription(v *EventSubscription) *CreateEventSubscriptionOutput {
+ s.EventSubscription = v
+ return s
+}
+
type CreateHsmClientCertificateInput struct {
_ struct{} `type:"structure"`
@@ -7030,6 +7864,18 @@ func (s *CreateHsmClientCertificateInput) Validate() error {
return nil
}
+// SetHsmClientCertificateIdentifier sets the HsmClientCertificateIdentifier field's value.
+func (s *CreateHsmClientCertificateInput) SetHsmClientCertificateIdentifier(v string) *CreateHsmClientCertificateInput {
+ s.HsmClientCertificateIdentifier = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *CreateHsmClientCertificateInput) SetTags(v []*Tag) *CreateHsmClientCertificateInput {
+ s.Tags = v
+ return s
+}
+
type CreateHsmClientCertificateOutput struct {
_ struct{} `type:"structure"`
@@ -7049,6 +7895,12 @@ func (s CreateHsmClientCertificateOutput) GoString() string {
return s.String()
}
+// SetHsmClientCertificate sets the HsmClientCertificate field's value.
+func (s *CreateHsmClientCertificateOutput) SetHsmClientCertificate(v *HsmClientCertificate) *CreateHsmClientCertificateOutput {
+ s.HsmClientCertificate = v
+ return s
+}
+
type CreateHsmConfigurationInput struct {
_ struct{} `type:"structure"`
@@ -7126,6 +7978,48 @@ func (s *CreateHsmConfigurationInput) Validate() error {
return nil
}
+// SetDescription sets the Description field's value.
+func (s *CreateHsmConfigurationInput) SetDescription(v string) *CreateHsmConfigurationInput {
+ s.Description = &v
+ return s
+}
+
+// SetHsmConfigurationIdentifier sets the HsmConfigurationIdentifier field's value.
+func (s *CreateHsmConfigurationInput) SetHsmConfigurationIdentifier(v string) *CreateHsmConfigurationInput {
+ s.HsmConfigurationIdentifier = &v
+ return s
+}
+
+// SetHsmIpAddress sets the HsmIpAddress field's value.
+func (s *CreateHsmConfigurationInput) SetHsmIpAddress(v string) *CreateHsmConfigurationInput {
+ s.HsmIpAddress = &v
+ return s
+}
+
+// SetHsmPartitionName sets the HsmPartitionName field's value.
+func (s *CreateHsmConfigurationInput) SetHsmPartitionName(v string) *CreateHsmConfigurationInput {
+ s.HsmPartitionName = &v
+ return s
+}
+
+// SetHsmPartitionPassword sets the HsmPartitionPassword field's value.
+func (s *CreateHsmConfigurationInput) SetHsmPartitionPassword(v string) *CreateHsmConfigurationInput {
+ s.HsmPartitionPassword = &v
+ return s
+}
+
+// SetHsmServerPublicCertificate sets the HsmServerPublicCertificate field's value.
+func (s *CreateHsmConfigurationInput) SetHsmServerPublicCertificate(v string) *CreateHsmConfigurationInput {
+ s.HsmServerPublicCertificate = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *CreateHsmConfigurationInput) SetTags(v []*Tag) *CreateHsmConfigurationInput {
+ s.Tags = v
+ return s
+}
+
type CreateHsmConfigurationOutput struct {
_ struct{} `type:"structure"`
@@ -7145,6 +8039,12 @@ func (s CreateHsmConfigurationOutput) GoString() string {
return s.String()
}
+// SetHsmConfiguration sets the HsmConfiguration field's value.
+func (s *CreateHsmConfigurationOutput) SetHsmConfiguration(v *HsmConfiguration) *CreateHsmConfigurationOutput {
+ s.HsmConfiguration = v
+ return s
+}
+
// The result of the CreateSnapshotCopyGrant action.
type CreateSnapshotCopyGrantInput struct {
_ struct{} `type:"structure"`
@@ -7198,6 +8098,24 @@ func (s *CreateSnapshotCopyGrantInput) Validate() error {
return nil
}
+// SetKmsKeyId sets the KmsKeyId field's value.
+func (s *CreateSnapshotCopyGrantInput) SetKmsKeyId(v string) *CreateSnapshotCopyGrantInput {
+ s.KmsKeyId = &v
+ return s
+}
+
+// SetSnapshotCopyGrantName sets the SnapshotCopyGrantName field's value.
+func (s *CreateSnapshotCopyGrantInput) SetSnapshotCopyGrantName(v string) *CreateSnapshotCopyGrantInput {
+ s.SnapshotCopyGrantName = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *CreateSnapshotCopyGrantInput) SetTags(v []*Tag) *CreateSnapshotCopyGrantInput {
+ s.Tags = v
+ return s
+}
+
type CreateSnapshotCopyGrantOutput struct {
_ struct{} `type:"structure"`
@@ -7221,6 +8139,12 @@ func (s CreateSnapshotCopyGrantOutput) GoString() string {
return s.String()
}
+// SetSnapshotCopyGrant sets the SnapshotCopyGrant field's value.
+func (s *CreateSnapshotCopyGrantOutput) SetSnapshotCopyGrant(v *SnapshotCopyGrant) *CreateSnapshotCopyGrantOutput {
+ s.SnapshotCopyGrant = v
+ return s
+}
+
// Contains the output from the CreateTags action.
type CreateTagsInput struct {
_ struct{} `type:"structure"`
@@ -7267,6 +8191,18 @@ func (s *CreateTagsInput) Validate() error {
return nil
}
+// SetResourceName sets the ResourceName field's value.
+func (s *CreateTagsInput) SetResourceName(v string) *CreateTagsInput {
+ s.ResourceName = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *CreateTagsInput) SetTags(v []*Tag) *CreateTagsInput {
+ s.Tags = v
+ return s
+}
+
type CreateTagsOutput struct {
_ struct{} `type:"structure"`
}
@@ -7310,6 +8246,24 @@ func (s DefaultClusterParameters) GoString() string {
return s.String()
}
+// SetMarker sets the Marker field's value.
+func (s *DefaultClusterParameters) SetMarker(v string) *DefaultClusterParameters {
+ s.Marker = &v
+ return s
+}
+
+// SetParameterGroupFamily sets the ParameterGroupFamily field's value.
+func (s *DefaultClusterParameters) SetParameterGroupFamily(v string) *DefaultClusterParameters {
+ s.ParameterGroupFamily = &v
+ return s
+}
+
+// SetParameters sets the Parameters field's value.
+func (s *DefaultClusterParameters) SetParameters(v []*Parameter) *DefaultClusterParameters {
+ s.Parameters = v
+ return s
+}
+
type DeleteClusterInput struct {
_ struct{} `type:"structure"`
@@ -7375,6 +8329,24 @@ func (s *DeleteClusterInput) Validate() error {
return nil
}
+// SetClusterIdentifier sets the ClusterIdentifier field's value.
+func (s *DeleteClusterInput) SetClusterIdentifier(v string) *DeleteClusterInput {
+ s.ClusterIdentifier = &v
+ return s
+}
+
+// SetFinalClusterSnapshotIdentifier sets the FinalClusterSnapshotIdentifier field's value.
+func (s *DeleteClusterInput) SetFinalClusterSnapshotIdentifier(v string) *DeleteClusterInput {
+ s.FinalClusterSnapshotIdentifier = &v
+ return s
+}
+
+// SetSkipFinalClusterSnapshot sets the SkipFinalClusterSnapshot field's value.
+func (s *DeleteClusterInput) SetSkipFinalClusterSnapshot(v bool) *DeleteClusterInput {
+ s.SkipFinalClusterSnapshot = &v
+ return s
+}
+
type DeleteClusterOutput struct {
_ struct{} `type:"structure"`
@@ -7392,6 +8364,12 @@ func (s DeleteClusterOutput) GoString() string {
return s.String()
}
+// SetCluster sets the Cluster field's value.
+func (s *DeleteClusterOutput) SetCluster(v *Cluster) *DeleteClusterOutput {
+ s.Cluster = v
+ return s
+}
+
type DeleteClusterParameterGroupInput struct {
_ struct{} `type:"structure"`
@@ -7430,6 +8408,12 @@ func (s *DeleteClusterParameterGroupInput) Validate() error {
return nil
}
+// SetParameterGroupName sets the ParameterGroupName field's value.
+func (s *DeleteClusterParameterGroupInput) SetParameterGroupName(v string) *DeleteClusterParameterGroupInput {
+ s.ParameterGroupName = &v
+ return s
+}
+
type DeleteClusterParameterGroupOutput struct {
_ struct{} `type:"structure"`
}
@@ -7476,6 +8460,12 @@ func (s *DeleteClusterSecurityGroupInput) Validate() error {
return nil
}
+// SetClusterSecurityGroupName sets the ClusterSecurityGroupName field's value.
+func (s *DeleteClusterSecurityGroupInput) SetClusterSecurityGroupName(v string) *DeleteClusterSecurityGroupInput {
+ s.ClusterSecurityGroupName = &v
+ return s
+}
+
type DeleteClusterSecurityGroupOutput struct {
_ struct{} `type:"structure"`
}
@@ -7532,6 +8522,18 @@ func (s *DeleteClusterSnapshotInput) Validate() error {
return nil
}
+// SetSnapshotClusterIdentifier sets the SnapshotClusterIdentifier field's value.
+func (s *DeleteClusterSnapshotInput) SetSnapshotClusterIdentifier(v string) *DeleteClusterSnapshotInput {
+ s.SnapshotClusterIdentifier = &v
+ return s
+}
+
+// SetSnapshotIdentifier sets the SnapshotIdentifier field's value.
+func (s *DeleteClusterSnapshotInput) SetSnapshotIdentifier(v string) *DeleteClusterSnapshotInput {
+ s.SnapshotIdentifier = &v
+ return s
+}
+
type DeleteClusterSnapshotOutput struct {
_ struct{} `type:"structure"`
@@ -7549,6 +8551,12 @@ func (s DeleteClusterSnapshotOutput) GoString() string {
return s.String()
}
+// SetSnapshot sets the Snapshot field's value.
+func (s *DeleteClusterSnapshotOutput) SetSnapshot(v *Snapshot) *DeleteClusterSnapshotOutput {
+ s.Snapshot = v
+ return s
+}
+
type DeleteClusterSubnetGroupInput struct {
_ struct{} `type:"structure"`
@@ -7581,6 +8589,12 @@ func (s *DeleteClusterSubnetGroupInput) Validate() error {
return nil
}
+// SetClusterSubnetGroupName sets the ClusterSubnetGroupName field's value.
+func (s *DeleteClusterSubnetGroupInput) SetClusterSubnetGroupName(v string) *DeleteClusterSubnetGroupInput {
+ s.ClusterSubnetGroupName = &v
+ return s
+}
+
type DeleteClusterSubnetGroupOutput struct {
_ struct{} `type:"structure"`
}
@@ -7627,6 +8641,12 @@ func (s *DeleteEventSubscriptionInput) Validate() error {
return nil
}
+// SetSubscriptionName sets the SubscriptionName field's value.
+func (s *DeleteEventSubscriptionInput) SetSubscriptionName(v string) *DeleteEventSubscriptionInput {
+ s.SubscriptionName = &v
+ return s
+}
+
type DeleteEventSubscriptionOutput struct {
_ struct{} `type:"structure"`
}
@@ -7673,6 +8693,12 @@ func (s *DeleteHsmClientCertificateInput) Validate() error {
return nil
}
+// SetHsmClientCertificateIdentifier sets the HsmClientCertificateIdentifier field's value.
+func (s *DeleteHsmClientCertificateInput) SetHsmClientCertificateIdentifier(v string) *DeleteHsmClientCertificateInput {
+ s.HsmClientCertificateIdentifier = &v
+ return s
+}
+
type DeleteHsmClientCertificateOutput struct {
_ struct{} `type:"structure"`
}
@@ -7719,6 +8745,12 @@ func (s *DeleteHsmConfigurationInput) Validate() error {
return nil
}
+// SetHsmConfigurationIdentifier sets the HsmConfigurationIdentifier field's value.
+func (s *DeleteHsmConfigurationInput) SetHsmConfigurationIdentifier(v string) *DeleteHsmConfigurationInput {
+ s.HsmConfigurationIdentifier = &v
+ return s
+}
+
type DeleteHsmConfigurationOutput struct {
_ struct{} `type:"structure"`
}
@@ -7766,6 +8798,12 @@ func (s *DeleteSnapshotCopyGrantInput) Validate() error {
return nil
}
+// SetSnapshotCopyGrantName sets the SnapshotCopyGrantName field's value.
+func (s *DeleteSnapshotCopyGrantInput) SetSnapshotCopyGrantName(v string) *DeleteSnapshotCopyGrantInput {
+ s.SnapshotCopyGrantName = &v
+ return s
+}
+
type DeleteSnapshotCopyGrantOutput struct {
_ struct{} `type:"structure"`
}
@@ -7822,6 +8860,18 @@ func (s *DeleteTagsInput) Validate() error {
return nil
}
+// SetResourceName sets the ResourceName field's value.
+func (s *DeleteTagsInput) SetResourceName(v string) *DeleteTagsInput {
+ s.ResourceName = &v
+ return s
+}
+
+// SetTagKeys sets the TagKeys field's value.
+func (s *DeleteTagsInput) SetTagKeys(v []*string) *DeleteTagsInput {
+ s.TagKeys = v
+ return s
+}
+
type DeleteTagsOutput struct {
_ struct{} `type:"structure"`
}
@@ -7888,6 +8938,36 @@ func (s DescribeClusterParameterGroupsInput) GoString() string {
return s.String()
}
+// SetMarker sets the Marker field's value.
+func (s *DescribeClusterParameterGroupsInput) SetMarker(v string) *DescribeClusterParameterGroupsInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxRecords sets the MaxRecords field's value.
+func (s *DescribeClusterParameterGroupsInput) SetMaxRecords(v int64) *DescribeClusterParameterGroupsInput {
+ s.MaxRecords = &v
+ return s
+}
+
+// SetParameterGroupName sets the ParameterGroupName field's value.
+func (s *DescribeClusterParameterGroupsInput) SetParameterGroupName(v string) *DescribeClusterParameterGroupsInput {
+ s.ParameterGroupName = &v
+ return s
+}
+
+// SetTagKeys sets the TagKeys field's value.
+func (s *DescribeClusterParameterGroupsInput) SetTagKeys(v []*string) *DescribeClusterParameterGroupsInput {
+ s.TagKeys = v
+ return s
+}
+
+// SetTagValues sets the TagValues field's value.
+func (s *DescribeClusterParameterGroupsInput) SetTagValues(v []*string) *DescribeClusterParameterGroupsInput {
+ s.TagValues = v
+ return s
+}
+
// Contains the output from the DescribeClusterParameterGroups action.
type DescribeClusterParameterGroupsOutput struct {
_ struct{} `type:"structure"`
@@ -7914,6 +8994,18 @@ func (s DescribeClusterParameterGroupsOutput) GoString() string {
return s.String()
}
+// SetMarker sets the Marker field's value.
+func (s *DescribeClusterParameterGroupsOutput) SetMarker(v string) *DescribeClusterParameterGroupsOutput {
+ s.Marker = &v
+ return s
+}
+
+// SetParameterGroups sets the ParameterGroups field's value.
+func (s *DescribeClusterParameterGroupsOutput) SetParameterGroups(v []*ClusterParameterGroup) *DescribeClusterParameterGroupsOutput {
+ s.ParameterGroups = v
+ return s
+}
+
type DescribeClusterParametersInput struct {
_ struct{} `type:"structure"`
@@ -7973,6 +9065,30 @@ func (s *DescribeClusterParametersInput) Validate() error {
return nil
}
+// SetMarker sets the Marker field's value.
+func (s *DescribeClusterParametersInput) SetMarker(v string) *DescribeClusterParametersInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxRecords sets the MaxRecords field's value.
+func (s *DescribeClusterParametersInput) SetMaxRecords(v int64) *DescribeClusterParametersInput {
+ s.MaxRecords = &v
+ return s
+}
+
+// SetParameterGroupName sets the ParameterGroupName field's value.
+func (s *DescribeClusterParametersInput) SetParameterGroupName(v string) *DescribeClusterParametersInput {
+ s.ParameterGroupName = &v
+ return s
+}
+
+// SetSource sets the Source field's value.
+func (s *DescribeClusterParametersInput) SetSource(v string) *DescribeClusterParametersInput {
+ s.Source = &v
+ return s
+}
+
// Contains the output from the DescribeClusterParameters action.
type DescribeClusterParametersOutput struct {
_ struct{} `type:"structure"`
@@ -7999,6 +9115,18 @@ func (s DescribeClusterParametersOutput) GoString() string {
return s.String()
}
+// SetMarker sets the Marker field's value.
+func (s *DescribeClusterParametersOutput) SetMarker(v string) *DescribeClusterParametersOutput {
+ s.Marker = &v
+ return s
+}
+
+// SetParameters sets the Parameters field's value.
+func (s *DescribeClusterParametersOutput) SetParameters(v []*Parameter) *DescribeClusterParametersOutput {
+ s.Parameters = v
+ return s
+}
+
type DescribeClusterSecurityGroupsInput struct {
_ struct{} `type:"structure"`
@@ -8057,6 +9185,36 @@ func (s DescribeClusterSecurityGroupsInput) GoString() string {
return s.String()
}
+// SetClusterSecurityGroupName sets the ClusterSecurityGroupName field's value.
+func (s *DescribeClusterSecurityGroupsInput) SetClusterSecurityGroupName(v string) *DescribeClusterSecurityGroupsInput {
+ s.ClusterSecurityGroupName = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeClusterSecurityGroupsInput) SetMarker(v string) *DescribeClusterSecurityGroupsInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxRecords sets the MaxRecords field's value.
+func (s *DescribeClusterSecurityGroupsInput) SetMaxRecords(v int64) *DescribeClusterSecurityGroupsInput {
+ s.MaxRecords = &v
+ return s
+}
+
+// SetTagKeys sets the TagKeys field's value.
+func (s *DescribeClusterSecurityGroupsInput) SetTagKeys(v []*string) *DescribeClusterSecurityGroupsInput {
+ s.TagKeys = v
+ return s
+}
+
+// SetTagValues sets the TagValues field's value.
+func (s *DescribeClusterSecurityGroupsInput) SetTagValues(v []*string) *DescribeClusterSecurityGroupsInput {
+ s.TagValues = v
+ return s
+}
+
type DescribeClusterSecurityGroupsOutput struct {
_ struct{} `type:"structure"`
@@ -8081,6 +9239,18 @@ func (s DescribeClusterSecurityGroupsOutput) GoString() string {
return s.String()
}
+// SetClusterSecurityGroups sets the ClusterSecurityGroups field's value.
+func (s *DescribeClusterSecurityGroupsOutput) SetClusterSecurityGroups(v []*ClusterSecurityGroup) *DescribeClusterSecurityGroupsOutput {
+ s.ClusterSecurityGroups = v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeClusterSecurityGroupsOutput) SetMarker(v string) *DescribeClusterSecurityGroupsOutput {
+ s.Marker = &v
+ return s
+}
+
type DescribeClusterSnapshotsInput struct {
_ struct{} `type:"structure"`
@@ -8161,6 +9331,66 @@ func (s DescribeClusterSnapshotsInput) GoString() string {
return s.String()
}
+// SetClusterIdentifier sets the ClusterIdentifier field's value.
+func (s *DescribeClusterSnapshotsInput) SetClusterIdentifier(v string) *DescribeClusterSnapshotsInput {
+ s.ClusterIdentifier = &v
+ return s
+}
+
+// SetEndTime sets the EndTime field's value.
+func (s *DescribeClusterSnapshotsInput) SetEndTime(v time.Time) *DescribeClusterSnapshotsInput {
+ s.EndTime = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeClusterSnapshotsInput) SetMarker(v string) *DescribeClusterSnapshotsInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxRecords sets the MaxRecords field's value.
+func (s *DescribeClusterSnapshotsInput) SetMaxRecords(v int64) *DescribeClusterSnapshotsInput {
+ s.MaxRecords = &v
+ return s
+}
+
+// SetOwnerAccount sets the OwnerAccount field's value.
+func (s *DescribeClusterSnapshotsInput) SetOwnerAccount(v string) *DescribeClusterSnapshotsInput {
+ s.OwnerAccount = &v
+ return s
+}
+
+// SetSnapshotIdentifier sets the SnapshotIdentifier field's value.
+func (s *DescribeClusterSnapshotsInput) SetSnapshotIdentifier(v string) *DescribeClusterSnapshotsInput {
+ s.SnapshotIdentifier = &v
+ return s
+}
+
+// SetSnapshotType sets the SnapshotType field's value.
+func (s *DescribeClusterSnapshotsInput) SetSnapshotType(v string) *DescribeClusterSnapshotsInput {
+ s.SnapshotType = &v
+ return s
+}
+
+// SetStartTime sets the StartTime field's value.
+func (s *DescribeClusterSnapshotsInput) SetStartTime(v time.Time) *DescribeClusterSnapshotsInput {
+ s.StartTime = &v
+ return s
+}
+
+// SetTagKeys sets the TagKeys field's value.
+func (s *DescribeClusterSnapshotsInput) SetTagKeys(v []*string) *DescribeClusterSnapshotsInput {
+ s.TagKeys = v
+ return s
+}
+
+// SetTagValues sets the TagValues field's value.
+func (s *DescribeClusterSnapshotsInput) SetTagValues(v []*string) *DescribeClusterSnapshotsInput {
+ s.TagValues = v
+ return s
+}
+
// Contains the output from the DescribeClusterSnapshots action.
type DescribeClusterSnapshotsOutput struct {
_ struct{} `type:"structure"`
@@ -8186,6 +9416,18 @@ func (s DescribeClusterSnapshotsOutput) GoString() string {
return s.String()
}
+// SetMarker sets the Marker field's value.
+func (s *DescribeClusterSnapshotsOutput) SetMarker(v string) *DescribeClusterSnapshotsOutput {
+ s.Marker = &v
+ return s
+}
+
+// SetSnapshots sets the Snapshots field's value.
+func (s *DescribeClusterSnapshotsOutput) SetSnapshots(v []*Snapshot) *DescribeClusterSnapshotsOutput {
+ s.Snapshots = v
+ return s
+}
+
type DescribeClusterSubnetGroupsInput struct {
_ struct{} `type:"structure"`
@@ -8237,6 +9479,36 @@ func (s DescribeClusterSubnetGroupsInput) GoString() string {
return s.String()
}
+// SetClusterSubnetGroupName sets the ClusterSubnetGroupName field's value.
+func (s *DescribeClusterSubnetGroupsInput) SetClusterSubnetGroupName(v string) *DescribeClusterSubnetGroupsInput {
+ s.ClusterSubnetGroupName = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeClusterSubnetGroupsInput) SetMarker(v string) *DescribeClusterSubnetGroupsInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxRecords sets the MaxRecords field's value.
+func (s *DescribeClusterSubnetGroupsInput) SetMaxRecords(v int64) *DescribeClusterSubnetGroupsInput {
+ s.MaxRecords = &v
+ return s
+}
+
+// SetTagKeys sets the TagKeys field's value.
+func (s *DescribeClusterSubnetGroupsInput) SetTagKeys(v []*string) *DescribeClusterSubnetGroupsInput {
+ s.TagKeys = v
+ return s
+}
+
+// SetTagValues sets the TagValues field's value.
+func (s *DescribeClusterSubnetGroupsInput) SetTagValues(v []*string) *DescribeClusterSubnetGroupsInput {
+ s.TagValues = v
+ return s
+}
+
// Contains the output from the DescribeClusterSubnetGroups action.
type DescribeClusterSubnetGroupsOutput struct {
_ struct{} `type:"structure"`
@@ -8262,6 +9534,18 @@ func (s DescribeClusterSubnetGroupsOutput) GoString() string {
return s.String()
}
+// SetClusterSubnetGroups sets the ClusterSubnetGroups field's value.
+func (s *DescribeClusterSubnetGroupsOutput) SetClusterSubnetGroups(v []*ClusterSubnetGroup) *DescribeClusterSubnetGroupsOutput {
+ s.ClusterSubnetGroups = v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeClusterSubnetGroupsOutput) SetMarker(v string) *DescribeClusterSubnetGroupsOutput {
+ s.Marker = &v
+ return s
+}
+
type DescribeClusterVersionsInput struct {
_ struct{} `type:"structure"`
@@ -8309,6 +9593,30 @@ func (s DescribeClusterVersionsInput) GoString() string {
return s.String()
}
+// SetClusterParameterGroupFamily sets the ClusterParameterGroupFamily field's value.
+func (s *DescribeClusterVersionsInput) SetClusterParameterGroupFamily(v string) *DescribeClusterVersionsInput {
+ s.ClusterParameterGroupFamily = &v
+ return s
+}
+
+// SetClusterVersion sets the ClusterVersion field's value.
+func (s *DescribeClusterVersionsInput) SetClusterVersion(v string) *DescribeClusterVersionsInput {
+ s.ClusterVersion = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeClusterVersionsInput) SetMarker(v string) *DescribeClusterVersionsInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxRecords sets the MaxRecords field's value.
+func (s *DescribeClusterVersionsInput) SetMaxRecords(v int64) *DescribeClusterVersionsInput {
+ s.MaxRecords = &v
+ return s
+}
+
// Contains the output from the DescribeClusterVersions action.
type DescribeClusterVersionsOutput struct {
_ struct{} `type:"structure"`
@@ -8334,6 +9642,18 @@ func (s DescribeClusterVersionsOutput) GoString() string {
return s.String()
}
+// SetClusterVersions sets the ClusterVersions field's value.
+func (s *DescribeClusterVersionsOutput) SetClusterVersions(v []*ClusterVersion) *DescribeClusterVersionsOutput {
+ s.ClusterVersions = v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeClusterVersionsOutput) SetMarker(v string) *DescribeClusterVersionsOutput {
+ s.Marker = &v
+ return s
+}
+
type DescribeClustersInput struct {
_ struct{} `type:"structure"`
@@ -8390,6 +9710,36 @@ func (s DescribeClustersInput) GoString() string {
return s.String()
}
+// SetClusterIdentifier sets the ClusterIdentifier field's value.
+func (s *DescribeClustersInput) SetClusterIdentifier(v string) *DescribeClustersInput {
+ s.ClusterIdentifier = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeClustersInput) SetMarker(v string) *DescribeClustersInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxRecords sets the MaxRecords field's value.
+func (s *DescribeClustersInput) SetMaxRecords(v int64) *DescribeClustersInput {
+ s.MaxRecords = &v
+ return s
+}
+
+// SetTagKeys sets the TagKeys field's value.
+func (s *DescribeClustersInput) SetTagKeys(v []*string) *DescribeClustersInput {
+ s.TagKeys = v
+ return s
+}
+
+// SetTagValues sets the TagValues field's value.
+func (s *DescribeClustersInput) SetTagValues(v []*string) *DescribeClustersInput {
+ s.TagValues = v
+ return s
+}
+
// Contains the output from the DescribeClusters action.
type DescribeClustersOutput struct {
_ struct{} `type:"structure"`
@@ -8415,6 +9765,18 @@ func (s DescribeClustersOutput) GoString() string {
return s.String()
}
+// SetClusters sets the Clusters field's value.
+func (s *DescribeClustersOutput) SetClusters(v []*Cluster) *DescribeClustersOutput {
+ s.Clusters = v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeClustersOutput) SetMarker(v string) *DescribeClustersOutput {
+ s.Marker = &v
+ return s
+}
+
type DescribeDefaultClusterParametersInput struct {
_ struct{} `type:"structure"`
@@ -8465,6 +9827,24 @@ func (s *DescribeDefaultClusterParametersInput) Validate() error {
return nil
}
+// SetMarker sets the Marker field's value.
+func (s *DescribeDefaultClusterParametersInput) SetMarker(v string) *DescribeDefaultClusterParametersInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxRecords sets the MaxRecords field's value.
+func (s *DescribeDefaultClusterParametersInput) SetMaxRecords(v int64) *DescribeDefaultClusterParametersInput {
+ s.MaxRecords = &v
+ return s
+}
+
+// SetParameterGroupFamily sets the ParameterGroupFamily field's value.
+func (s *DescribeDefaultClusterParametersInput) SetParameterGroupFamily(v string) *DescribeDefaultClusterParametersInput {
+ s.ParameterGroupFamily = &v
+ return s
+}
+
type DescribeDefaultClusterParametersOutput struct {
_ struct{} `type:"structure"`
@@ -8482,6 +9862,12 @@ func (s DescribeDefaultClusterParametersOutput) GoString() string {
return s.String()
}
+// SetDefaultClusterParameters sets the DefaultClusterParameters field's value.
+func (s *DescribeDefaultClusterParametersOutput) SetDefaultClusterParameters(v *DefaultClusterParameters) *DescribeDefaultClusterParametersOutput {
+ s.DefaultClusterParameters = v
+ return s
+}
+
type DescribeEventCategoriesInput struct {
_ struct{} `type:"structure"`
@@ -8502,6 +9888,12 @@ func (s DescribeEventCategoriesInput) GoString() string {
return s.String()
}
+// SetSourceType sets the SourceType field's value.
+func (s *DescribeEventCategoriesInput) SetSourceType(v string) *DescribeEventCategoriesInput {
+ s.SourceType = &v
+ return s
+}
+
type DescribeEventCategoriesOutput struct {
_ struct{} `type:"structure"`
@@ -8519,6 +9911,12 @@ func (s DescribeEventCategoriesOutput) GoString() string {
return s.String()
}
+// SetEventCategoriesMapList sets the EventCategoriesMapList field's value.
+func (s *DescribeEventCategoriesOutput) SetEventCategoriesMapList(v []*EventCategoriesMap) *DescribeEventCategoriesOutput {
+ s.EventCategoriesMapList = v
+ return s
+}
+
type DescribeEventSubscriptionsInput struct {
_ struct{} `type:"structure"`
@@ -8554,6 +9952,24 @@ func (s DescribeEventSubscriptionsInput) GoString() string {
return s.String()
}
+// SetMarker sets the Marker field's value.
+func (s *DescribeEventSubscriptionsInput) SetMarker(v string) *DescribeEventSubscriptionsInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxRecords sets the MaxRecords field's value.
+func (s *DescribeEventSubscriptionsInput) SetMaxRecords(v int64) *DescribeEventSubscriptionsInput {
+ s.MaxRecords = &v
+ return s
+}
+
+// SetSubscriptionName sets the SubscriptionName field's value.
+func (s *DescribeEventSubscriptionsInput) SetSubscriptionName(v string) *DescribeEventSubscriptionsInput {
+ s.SubscriptionName = &v
+ return s
+}
+
type DescribeEventSubscriptionsOutput struct {
_ struct{} `type:"structure"`
@@ -8578,6 +9994,18 @@ func (s DescribeEventSubscriptionsOutput) GoString() string {
return s.String()
}
+// SetEventSubscriptionsList sets the EventSubscriptionsList field's value.
+func (s *DescribeEventSubscriptionsOutput) SetEventSubscriptionsList(v []*EventSubscription) *DescribeEventSubscriptionsOutput {
+ s.EventSubscriptionsList = v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeEventSubscriptionsOutput) SetMarker(v string) *DescribeEventSubscriptionsOutput {
+ s.Marker = &v
+ return s
+}
+
type DescribeEventsInput struct {
_ struct{} `type:"structure"`
@@ -8665,6 +10093,48 @@ func (s DescribeEventsInput) GoString() string {
return s.String()
}
+// SetDuration sets the Duration field's value.
+func (s *DescribeEventsInput) SetDuration(v int64) *DescribeEventsInput {
+ s.Duration = &v
+ return s
+}
+
+// SetEndTime sets the EndTime field's value.
+func (s *DescribeEventsInput) SetEndTime(v time.Time) *DescribeEventsInput {
+ s.EndTime = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeEventsInput) SetMarker(v string) *DescribeEventsInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxRecords sets the MaxRecords field's value.
+func (s *DescribeEventsInput) SetMaxRecords(v int64) *DescribeEventsInput {
+ s.MaxRecords = &v
+ return s
+}
+
+// SetSourceIdentifier sets the SourceIdentifier field's value.
+func (s *DescribeEventsInput) SetSourceIdentifier(v string) *DescribeEventsInput {
+ s.SourceIdentifier = &v
+ return s
+}
+
+// SetSourceType sets the SourceType field's value.
+func (s *DescribeEventsInput) SetSourceType(v string) *DescribeEventsInput {
+ s.SourceType = &v
+ return s
+}
+
+// SetStartTime sets the StartTime field's value.
+func (s *DescribeEventsInput) SetStartTime(v time.Time) *DescribeEventsInput {
+ s.StartTime = &v
+ return s
+}
+
type DescribeEventsOutput struct {
_ struct{} `type:"structure"`
@@ -8689,6 +10159,18 @@ func (s DescribeEventsOutput) GoString() string {
return s.String()
}
+// SetEvents sets the Events field's value.
+func (s *DescribeEventsOutput) SetEvents(v []*Event) *DescribeEventsOutput {
+ s.Events = v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeEventsOutput) SetMarker(v string) *DescribeEventsOutput {
+ s.Marker = &v
+ return s
+}
+
type DescribeHsmClientCertificatesInput struct {
_ struct{} `type:"structure"`
@@ -8742,13 +10224,43 @@ func (s DescribeHsmClientCertificatesInput) GoString() string {
return s.String()
}
-type DescribeHsmClientCertificatesOutput struct {
- _ struct{} `type:"structure"`
+// SetHsmClientCertificateIdentifier sets the HsmClientCertificateIdentifier field's value.
+func (s *DescribeHsmClientCertificatesInput) SetHsmClientCertificateIdentifier(v string) *DescribeHsmClientCertificatesInput {
+ s.HsmClientCertificateIdentifier = &v
+ return s
+}
- // A list of the identifiers for one or more HSM client certificates used by
- // Amazon Redshift clusters to store and retrieve database encryption keys in
- // an HSM.
- HsmClientCertificates []*HsmClientCertificate `locationNameList:"HsmClientCertificate" type:"list"`
+// SetMarker sets the Marker field's value.
+func (s *DescribeHsmClientCertificatesInput) SetMarker(v string) *DescribeHsmClientCertificatesInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxRecords sets the MaxRecords field's value.
+func (s *DescribeHsmClientCertificatesInput) SetMaxRecords(v int64) *DescribeHsmClientCertificatesInput {
+ s.MaxRecords = &v
+ return s
+}
+
+// SetTagKeys sets the TagKeys field's value.
+func (s *DescribeHsmClientCertificatesInput) SetTagKeys(v []*string) *DescribeHsmClientCertificatesInput {
+ s.TagKeys = v
+ return s
+}
+
+// SetTagValues sets the TagValues field's value.
+func (s *DescribeHsmClientCertificatesInput) SetTagValues(v []*string) *DescribeHsmClientCertificatesInput {
+ s.TagValues = v
+ return s
+}
+
+type DescribeHsmClientCertificatesOutput struct {
+ _ struct{} `type:"structure"`
+
+ // A list of the identifiers for one or more HSM client certificates used by
+ // Amazon Redshift clusters to store and retrieve database encryption keys in
+ // an HSM.
+ HsmClientCertificates []*HsmClientCertificate `locationNameList:"HsmClientCertificate" type:"list"`
// A value that indicates the starting point for the next set of response records
// in a subsequent request. If a value is returned in a response, you can retrieve
@@ -8768,6 +10280,18 @@ func (s DescribeHsmClientCertificatesOutput) GoString() string {
return s.String()
}
+// SetHsmClientCertificates sets the HsmClientCertificates field's value.
+func (s *DescribeHsmClientCertificatesOutput) SetHsmClientCertificates(v []*HsmClientCertificate) *DescribeHsmClientCertificatesOutput {
+ s.HsmClientCertificates = v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeHsmClientCertificatesOutput) SetMarker(v string) *DescribeHsmClientCertificatesOutput {
+ s.Marker = &v
+ return s
+}
+
type DescribeHsmConfigurationsInput struct {
_ struct{} `type:"structure"`
@@ -8821,6 +10345,36 @@ func (s DescribeHsmConfigurationsInput) GoString() string {
return s.String()
}
+// SetHsmConfigurationIdentifier sets the HsmConfigurationIdentifier field's value.
+func (s *DescribeHsmConfigurationsInput) SetHsmConfigurationIdentifier(v string) *DescribeHsmConfigurationsInput {
+ s.HsmConfigurationIdentifier = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeHsmConfigurationsInput) SetMarker(v string) *DescribeHsmConfigurationsInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxRecords sets the MaxRecords field's value.
+func (s *DescribeHsmConfigurationsInput) SetMaxRecords(v int64) *DescribeHsmConfigurationsInput {
+ s.MaxRecords = &v
+ return s
+}
+
+// SetTagKeys sets the TagKeys field's value.
+func (s *DescribeHsmConfigurationsInput) SetTagKeys(v []*string) *DescribeHsmConfigurationsInput {
+ s.TagKeys = v
+ return s
+}
+
+// SetTagValues sets the TagValues field's value.
+func (s *DescribeHsmConfigurationsInput) SetTagValues(v []*string) *DescribeHsmConfigurationsInput {
+ s.TagValues = v
+ return s
+}
+
type DescribeHsmConfigurationsOutput struct {
_ struct{} `type:"structure"`
@@ -8845,6 +10399,18 @@ func (s DescribeHsmConfigurationsOutput) GoString() string {
return s.String()
}
+// SetHsmConfigurations sets the HsmConfigurations field's value.
+func (s *DescribeHsmConfigurationsOutput) SetHsmConfigurations(v []*HsmConfiguration) *DescribeHsmConfigurationsOutput {
+ s.HsmConfigurations = v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeHsmConfigurationsOutput) SetMarker(v string) *DescribeHsmConfigurationsOutput {
+ s.Marker = &v
+ return s
+}
+
type DescribeLoggingStatusInput struct {
_ struct{} `type:"structure"`
@@ -8879,6 +10445,12 @@ func (s *DescribeLoggingStatusInput) Validate() error {
return nil
}
+// SetClusterIdentifier sets the ClusterIdentifier field's value.
+func (s *DescribeLoggingStatusInput) SetClusterIdentifier(v string) *DescribeLoggingStatusInput {
+ s.ClusterIdentifier = &v
+ return s
+}
+
type DescribeOrderableClusterOptionsInput struct {
_ struct{} `type:"structure"`
@@ -8923,6 +10495,30 @@ func (s DescribeOrderableClusterOptionsInput) GoString() string {
return s.String()
}
+// SetClusterVersion sets the ClusterVersion field's value.
+func (s *DescribeOrderableClusterOptionsInput) SetClusterVersion(v string) *DescribeOrderableClusterOptionsInput {
+ s.ClusterVersion = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeOrderableClusterOptionsInput) SetMarker(v string) *DescribeOrderableClusterOptionsInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxRecords sets the MaxRecords field's value.
+func (s *DescribeOrderableClusterOptionsInput) SetMaxRecords(v int64) *DescribeOrderableClusterOptionsInput {
+ s.MaxRecords = &v
+ return s
+}
+
+// SetNodeType sets the NodeType field's value.
+func (s *DescribeOrderableClusterOptionsInput) SetNodeType(v string) *DescribeOrderableClusterOptionsInput {
+ s.NodeType = &v
+ return s
+}
+
// Contains the output from the DescribeOrderableClusterOptions action.
type DescribeOrderableClusterOptionsOutput struct {
_ struct{} `type:"structure"`
@@ -8949,6 +10545,18 @@ func (s DescribeOrderableClusterOptionsOutput) GoString() string {
return s.String()
}
+// SetMarker sets the Marker field's value.
+func (s *DescribeOrderableClusterOptionsOutput) SetMarker(v string) *DescribeOrderableClusterOptionsOutput {
+ s.Marker = &v
+ return s
+}
+
+// SetOrderableClusterOptions sets the OrderableClusterOptions field's value.
+func (s *DescribeOrderableClusterOptionsOutput) SetOrderableClusterOptions(v []*OrderableClusterOption) *DescribeOrderableClusterOptionsOutput {
+ s.OrderableClusterOptions = v
+ return s
+}
+
type DescribeReservedNodeOfferingsInput struct {
_ struct{} `type:"structure"`
@@ -8984,6 +10592,24 @@ func (s DescribeReservedNodeOfferingsInput) GoString() string {
return s.String()
}
+// SetMarker sets the Marker field's value.
+func (s *DescribeReservedNodeOfferingsInput) SetMarker(v string) *DescribeReservedNodeOfferingsInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxRecords sets the MaxRecords field's value.
+func (s *DescribeReservedNodeOfferingsInput) SetMaxRecords(v int64) *DescribeReservedNodeOfferingsInput {
+ s.MaxRecords = &v
+ return s
+}
+
+// SetReservedNodeOfferingId sets the ReservedNodeOfferingId field's value.
+func (s *DescribeReservedNodeOfferingsInput) SetReservedNodeOfferingId(v string) *DescribeReservedNodeOfferingsInput {
+ s.ReservedNodeOfferingId = &v
+ return s
+}
+
type DescribeReservedNodeOfferingsOutput struct {
_ struct{} `type:"structure"`
@@ -9008,6 +10634,18 @@ func (s DescribeReservedNodeOfferingsOutput) GoString() string {
return s.String()
}
+// SetMarker sets the Marker field's value.
+func (s *DescribeReservedNodeOfferingsOutput) SetMarker(v string) *DescribeReservedNodeOfferingsOutput {
+ s.Marker = &v
+ return s
+}
+
+// SetReservedNodeOfferings sets the ReservedNodeOfferings field's value.
+func (s *DescribeReservedNodeOfferingsOutput) SetReservedNodeOfferings(v []*ReservedNodeOffering) *DescribeReservedNodeOfferingsOutput {
+ s.ReservedNodeOfferings = v
+ return s
+}
+
type DescribeReservedNodesInput struct {
_ struct{} `type:"structure"`
@@ -9042,6 +10680,24 @@ func (s DescribeReservedNodesInput) GoString() string {
return s.String()
}
+// SetMarker sets the Marker field's value.
+func (s *DescribeReservedNodesInput) SetMarker(v string) *DescribeReservedNodesInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxRecords sets the MaxRecords field's value.
+func (s *DescribeReservedNodesInput) SetMaxRecords(v int64) *DescribeReservedNodesInput {
+ s.MaxRecords = &v
+ return s
+}
+
+// SetReservedNodeId sets the ReservedNodeId field's value.
+func (s *DescribeReservedNodesInput) SetReservedNodeId(v string) *DescribeReservedNodesInput {
+ s.ReservedNodeId = &v
+ return s
+}
+
type DescribeReservedNodesOutput struct {
_ struct{} `type:"structure"`
@@ -9066,6 +10722,18 @@ func (s DescribeReservedNodesOutput) GoString() string {
return s.String()
}
+// SetMarker sets the Marker field's value.
+func (s *DescribeReservedNodesOutput) SetMarker(v string) *DescribeReservedNodesOutput {
+ s.Marker = &v
+ return s
+}
+
+// SetReservedNodes sets the ReservedNodes field's value.
+func (s *DescribeReservedNodesOutput) SetReservedNodes(v []*ReservedNode) *DescribeReservedNodesOutput {
+ s.ReservedNodes = v
+ return s
+}
+
type DescribeResizeInput struct {
_ struct{} `type:"structure"`
@@ -9102,6 +10770,12 @@ func (s *DescribeResizeInput) Validate() error {
return nil
}
+// SetClusterIdentifier sets the ClusterIdentifier field's value.
+func (s *DescribeResizeInput) SetClusterIdentifier(v string) *DescribeResizeInput {
+ s.ClusterIdentifier = &v
+ return s
+}
+
// Describes the result of a cluster resize operation.
type DescribeResizeOutput struct {
_ struct{} `type:"structure"`
@@ -9176,6 +10850,78 @@ func (s DescribeResizeOutput) GoString() string {
return s.String()
}
+// SetAvgResizeRateInMegaBytesPerSecond sets the AvgResizeRateInMegaBytesPerSecond field's value.
+func (s *DescribeResizeOutput) SetAvgResizeRateInMegaBytesPerSecond(v float64) *DescribeResizeOutput {
+ s.AvgResizeRateInMegaBytesPerSecond = &v
+ return s
+}
+
+// SetElapsedTimeInSeconds sets the ElapsedTimeInSeconds field's value.
+func (s *DescribeResizeOutput) SetElapsedTimeInSeconds(v int64) *DescribeResizeOutput {
+ s.ElapsedTimeInSeconds = &v
+ return s
+}
+
+// SetEstimatedTimeToCompletionInSeconds sets the EstimatedTimeToCompletionInSeconds field's value.
+func (s *DescribeResizeOutput) SetEstimatedTimeToCompletionInSeconds(v int64) *DescribeResizeOutput {
+ s.EstimatedTimeToCompletionInSeconds = &v
+ return s
+}
+
+// SetImportTablesCompleted sets the ImportTablesCompleted field's value.
+func (s *DescribeResizeOutput) SetImportTablesCompleted(v []*string) *DescribeResizeOutput {
+ s.ImportTablesCompleted = v
+ return s
+}
+
+// SetImportTablesInProgress sets the ImportTablesInProgress field's value.
+func (s *DescribeResizeOutput) SetImportTablesInProgress(v []*string) *DescribeResizeOutput {
+ s.ImportTablesInProgress = v
+ return s
+}
+
+// SetImportTablesNotStarted sets the ImportTablesNotStarted field's value.
+func (s *DescribeResizeOutput) SetImportTablesNotStarted(v []*string) *DescribeResizeOutput {
+ s.ImportTablesNotStarted = v
+ return s
+}
+
+// SetProgressInMegaBytes sets the ProgressInMegaBytes field's value.
+func (s *DescribeResizeOutput) SetProgressInMegaBytes(v int64) *DescribeResizeOutput {
+ s.ProgressInMegaBytes = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *DescribeResizeOutput) SetStatus(v string) *DescribeResizeOutput {
+ s.Status = &v
+ return s
+}
+
+// SetTargetClusterType sets the TargetClusterType field's value.
+func (s *DescribeResizeOutput) SetTargetClusterType(v string) *DescribeResizeOutput {
+ s.TargetClusterType = &v
+ return s
+}
+
+// SetTargetNodeType sets the TargetNodeType field's value.
+func (s *DescribeResizeOutput) SetTargetNodeType(v string) *DescribeResizeOutput {
+ s.TargetNodeType = &v
+ return s
+}
+
+// SetTargetNumberOfNodes sets the TargetNumberOfNodes field's value.
+func (s *DescribeResizeOutput) SetTargetNumberOfNodes(v int64) *DescribeResizeOutput {
+ s.TargetNumberOfNodes = &v
+ return s
+}
+
+// SetTotalResizeDataInMegaBytes sets the TotalResizeDataInMegaBytes field's value.
+func (s *DescribeResizeOutput) SetTotalResizeDataInMegaBytes(v int64) *DescribeResizeOutput {
+ s.TotalResizeDataInMegaBytes = &v
+ return s
+}
+
// The result of the DescribeSnapshotCopyGrants action.
type DescribeSnapshotCopyGrantsInput struct {
_ struct{} `type:"structure"`
@@ -9231,6 +10977,36 @@ func (s DescribeSnapshotCopyGrantsInput) GoString() string {
return s.String()
}
+// SetMarker sets the Marker field's value.
+func (s *DescribeSnapshotCopyGrantsInput) SetMarker(v string) *DescribeSnapshotCopyGrantsInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxRecords sets the MaxRecords field's value.
+func (s *DescribeSnapshotCopyGrantsInput) SetMaxRecords(v int64) *DescribeSnapshotCopyGrantsInput {
+ s.MaxRecords = &v
+ return s
+}
+
+// SetSnapshotCopyGrantName sets the SnapshotCopyGrantName field's value.
+func (s *DescribeSnapshotCopyGrantsInput) SetSnapshotCopyGrantName(v string) *DescribeSnapshotCopyGrantsInput {
+ s.SnapshotCopyGrantName = &v
+ return s
+}
+
+// SetTagKeys sets the TagKeys field's value.
+func (s *DescribeSnapshotCopyGrantsInput) SetTagKeys(v []*string) *DescribeSnapshotCopyGrantsInput {
+ s.TagKeys = v
+ return s
+}
+
+// SetTagValues sets the TagValues field's value.
+func (s *DescribeSnapshotCopyGrantsInput) SetTagValues(v []*string) *DescribeSnapshotCopyGrantsInput {
+ s.TagValues = v
+ return s
+}
+
type DescribeSnapshotCopyGrantsOutput struct {
_ struct{} `type:"structure"`
@@ -9259,6 +11035,18 @@ func (s DescribeSnapshotCopyGrantsOutput) GoString() string {
return s.String()
}
+// SetMarker sets the Marker field's value.
+func (s *DescribeSnapshotCopyGrantsOutput) SetMarker(v string) *DescribeSnapshotCopyGrantsOutput {
+ s.Marker = &v
+ return s
+}
+
+// SetSnapshotCopyGrants sets the SnapshotCopyGrants field's value.
+func (s *DescribeSnapshotCopyGrantsOutput) SetSnapshotCopyGrants(v []*SnapshotCopyGrant) *DescribeSnapshotCopyGrantsOutput {
+ s.SnapshotCopyGrants = v
+ return s
+}
+
type DescribeTableRestoreStatusInput struct {
_ struct{} `type:"structure"`
@@ -9291,6 +11079,30 @@ func (s DescribeTableRestoreStatusInput) GoString() string {
return s.String()
}
+// SetClusterIdentifier sets the ClusterIdentifier field's value.
+func (s *DescribeTableRestoreStatusInput) SetClusterIdentifier(v string) *DescribeTableRestoreStatusInput {
+ s.ClusterIdentifier = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeTableRestoreStatusInput) SetMarker(v string) *DescribeTableRestoreStatusInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxRecords sets the MaxRecords field's value.
+func (s *DescribeTableRestoreStatusInput) SetMaxRecords(v int64) *DescribeTableRestoreStatusInput {
+ s.MaxRecords = &v
+ return s
+}
+
+// SetTableRestoreRequestId sets the TableRestoreRequestId field's value.
+func (s *DescribeTableRestoreStatusInput) SetTableRestoreRequestId(v string) *DescribeTableRestoreStatusInput {
+ s.TableRestoreRequestId = &v
+ return s
+}
+
type DescribeTableRestoreStatusOutput struct {
_ struct{} `type:"structure"`
@@ -9312,6 +11124,18 @@ func (s DescribeTableRestoreStatusOutput) GoString() string {
return s.String()
}
+// SetMarker sets the Marker field's value.
+func (s *DescribeTableRestoreStatusOutput) SetMarker(v string) *DescribeTableRestoreStatusOutput {
+ s.Marker = &v
+ return s
+}
+
+// SetTableRestoreStatusDetails sets the TableRestoreStatusDetails field's value.
+func (s *DescribeTableRestoreStatusOutput) SetTableRestoreStatusDetails(v []*TableRestoreStatus) *DescribeTableRestoreStatusOutput {
+ s.TableRestoreStatusDetails = v
+ return s
+}
+
type DescribeTagsInput struct {
_ struct{} `type:"structure"`
@@ -9387,6 +11211,42 @@ func (s DescribeTagsInput) GoString() string {
return s.String()
}
+// SetMarker sets the Marker field's value.
+func (s *DescribeTagsInput) SetMarker(v string) *DescribeTagsInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxRecords sets the MaxRecords field's value.
+func (s *DescribeTagsInput) SetMaxRecords(v int64) *DescribeTagsInput {
+ s.MaxRecords = &v
+ return s
+}
+
+// SetResourceName sets the ResourceName field's value.
+func (s *DescribeTagsInput) SetResourceName(v string) *DescribeTagsInput {
+ s.ResourceName = &v
+ return s
+}
+
+// SetResourceType sets the ResourceType field's value.
+func (s *DescribeTagsInput) SetResourceType(v string) *DescribeTagsInput {
+ s.ResourceType = &v
+ return s
+}
+
+// SetTagKeys sets the TagKeys field's value.
+func (s *DescribeTagsInput) SetTagKeys(v []*string) *DescribeTagsInput {
+ s.TagKeys = v
+ return s
+}
+
+// SetTagValues sets the TagValues field's value.
+func (s *DescribeTagsInput) SetTagValues(v []*string) *DescribeTagsInput {
+ s.TagValues = v
+ return s
+}
+
type DescribeTagsOutput struct {
_ struct{} `type:"structure"`
@@ -9411,6 +11271,18 @@ func (s DescribeTagsOutput) GoString() string {
return s.String()
}
+// SetMarker sets the Marker field's value.
+func (s *DescribeTagsOutput) SetMarker(v string) *DescribeTagsOutput {
+ s.Marker = &v
+ return s
+}
+
+// SetTaggedResources sets the TaggedResources field's value.
+func (s *DescribeTagsOutput) SetTaggedResources(v []*TaggedResource) *DescribeTagsOutput {
+ s.TaggedResources = v
+ return s
+}
+
type DisableLoggingInput struct {
_ struct{} `type:"structure"`
@@ -9445,6 +11317,12 @@ func (s *DisableLoggingInput) Validate() error {
return nil
}
+// SetClusterIdentifier sets the ClusterIdentifier field's value.
+func (s *DisableLoggingInput) SetClusterIdentifier(v string) *DisableLoggingInput {
+ s.ClusterIdentifier = &v
+ return s
+}
+
type DisableSnapshotCopyInput struct {
_ struct{} `type:"structure"`
@@ -9481,6 +11359,12 @@ func (s *DisableSnapshotCopyInput) Validate() error {
return nil
}
+// SetClusterIdentifier sets the ClusterIdentifier field's value.
+func (s *DisableSnapshotCopyInput) SetClusterIdentifier(v string) *DisableSnapshotCopyInput {
+ s.ClusterIdentifier = &v
+ return s
+}
+
type DisableSnapshotCopyOutput struct {
_ struct{} `type:"structure"`
@@ -9498,6 +11382,12 @@ func (s DisableSnapshotCopyOutput) GoString() string {
return s.String()
}
+// SetCluster sets the Cluster field's value.
+func (s *DisableSnapshotCopyOutput) SetCluster(v *Cluster) *DisableSnapshotCopyOutput {
+ s.Cluster = v
+ return s
+}
+
// Describes an Amazon EC2 security group.
type EC2SecurityGroup struct {
_ struct{} `type:"structure"`
@@ -9526,6 +11416,30 @@ func (s EC2SecurityGroup) GoString() string {
return s.String()
}
+// SetEC2SecurityGroupName sets the EC2SecurityGroupName field's value.
+func (s *EC2SecurityGroup) SetEC2SecurityGroupName(v string) *EC2SecurityGroup {
+ s.EC2SecurityGroupName = &v
+ return s
+}
+
+// SetEC2SecurityGroupOwnerId sets the EC2SecurityGroupOwnerId field's value.
+func (s *EC2SecurityGroup) SetEC2SecurityGroupOwnerId(v string) *EC2SecurityGroup {
+ s.EC2SecurityGroupOwnerId = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *EC2SecurityGroup) SetStatus(v string) *EC2SecurityGroup {
+ s.Status = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *EC2SecurityGroup) SetTags(v []*Tag) *EC2SecurityGroup {
+ s.Tags = v
+ return s
+}
+
// Describes the status of the elastic IP (EIP) address.
type ElasticIpStatus struct {
_ struct{} `type:"structure"`
@@ -9547,6 +11461,18 @@ func (s ElasticIpStatus) GoString() string {
return s.String()
}
+// SetElasticIp sets the ElasticIp field's value.
+func (s *ElasticIpStatus) SetElasticIp(v string) *ElasticIpStatus {
+ s.ElasticIp = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *ElasticIpStatus) SetStatus(v string) *ElasticIpStatus {
+ s.Status = &v
+ return s
+}
+
type EnableLoggingInput struct {
_ struct{} `type:"structure"`
@@ -9616,6 +11542,24 @@ func (s *EnableLoggingInput) Validate() error {
return nil
}
+// SetBucketName sets the BucketName field's value.
+func (s *EnableLoggingInput) SetBucketName(v string) *EnableLoggingInput {
+ s.BucketName = &v
+ return s
+}
+
+// SetClusterIdentifier sets the ClusterIdentifier field's value.
+func (s *EnableLoggingInput) SetClusterIdentifier(v string) *EnableLoggingInput {
+ s.ClusterIdentifier = &v
+ return s
+}
+
+// SetS3KeyPrefix sets the S3KeyPrefix field's value.
+func (s *EnableLoggingInput) SetS3KeyPrefix(v string) *EnableLoggingInput {
+ s.S3KeyPrefix = &v
+ return s
+}
+
type EnableSnapshotCopyInput struct {
_ struct{} `type:"structure"`
@@ -9675,6 +11619,30 @@ func (s *EnableSnapshotCopyInput) Validate() error {
return nil
}
+// SetClusterIdentifier sets the ClusterIdentifier field's value.
+func (s *EnableSnapshotCopyInput) SetClusterIdentifier(v string) *EnableSnapshotCopyInput {
+ s.ClusterIdentifier = &v
+ return s
+}
+
+// SetDestinationRegion sets the DestinationRegion field's value.
+func (s *EnableSnapshotCopyInput) SetDestinationRegion(v string) *EnableSnapshotCopyInput {
+ s.DestinationRegion = &v
+ return s
+}
+
+// SetRetentionPeriod sets the RetentionPeriod field's value.
+func (s *EnableSnapshotCopyInput) SetRetentionPeriod(v int64) *EnableSnapshotCopyInput {
+ s.RetentionPeriod = &v
+ return s
+}
+
+// SetSnapshotCopyGrantName sets the SnapshotCopyGrantName field's value.
+func (s *EnableSnapshotCopyInput) SetSnapshotCopyGrantName(v string) *EnableSnapshotCopyInput {
+ s.SnapshotCopyGrantName = &v
+ return s
+}
+
type EnableSnapshotCopyOutput struct {
_ struct{} `type:"structure"`
@@ -9692,6 +11660,12 @@ func (s EnableSnapshotCopyOutput) GoString() string {
return s.String()
}
+// SetCluster sets the Cluster field's value.
+func (s *EnableSnapshotCopyOutput) SetCluster(v *Cluster) *EnableSnapshotCopyOutput {
+ s.Cluster = v
+ return s
+}
+
// Describes a connection endpoint.
type Endpoint struct {
_ struct{} `type:"structure"`
@@ -9713,6 +11687,18 @@ func (s Endpoint) GoString() string {
return s.String()
}
+// SetAddress sets the Address field's value.
+func (s *Endpoint) SetAddress(v string) *Endpoint {
+ s.Address = &v
+ return s
+}
+
+// SetPort sets the Port field's value.
+func (s *Endpoint) SetPort(v int64) *Endpoint {
+ s.Port = &v
+ return s
+}
+
// Describes an event.
type Event struct {
_ struct{} `type:"structure"`
@@ -9753,6 +11739,48 @@ func (s Event) GoString() string {
return s.String()
}
+// SetDate sets the Date field's value.
+func (s *Event) SetDate(v time.Time) *Event {
+ s.Date = &v
+ return s
+}
+
+// SetEventCategories sets the EventCategories field's value.
+func (s *Event) SetEventCategories(v []*string) *Event {
+ s.EventCategories = v
+ return s
+}
+
+// SetEventId sets the EventId field's value.
+func (s *Event) SetEventId(v string) *Event {
+ s.EventId = &v
+ return s
+}
+
+// SetMessage sets the Message field's value.
+func (s *Event) SetMessage(v string) *Event {
+ s.Message = &v
+ return s
+}
+
+// SetSeverity sets the Severity field's value.
+func (s *Event) SetSeverity(v string) *Event {
+ s.Severity = &v
+ return s
+}
+
+// SetSourceIdentifier sets the SourceIdentifier field's value.
+func (s *Event) SetSourceIdentifier(v string) *Event {
+ s.SourceIdentifier = &v
+ return s
+}
+
+// SetSourceType sets the SourceType field's value.
+func (s *Event) SetSourceType(v string) *Event {
+ s.SourceType = &v
+ return s
+}
+
// Describes event categories.
type EventCategoriesMap struct {
_ struct{} `type:"structure"`
@@ -9775,6 +11803,18 @@ func (s EventCategoriesMap) GoString() string {
return s.String()
}
+// SetEvents sets the Events field's value.
+func (s *EventCategoriesMap) SetEvents(v []*EventInfoMap) *EventCategoriesMap {
+ s.Events = v
+ return s
+}
+
+// SetSourceType sets the SourceType field's value.
+func (s *EventCategoriesMap) SetSourceType(v string) *EventCategoriesMap {
+ s.SourceType = &v
+ return s
+}
+
// Describes event information.
type EventInfoMap struct {
_ struct{} `type:"structure"`
@@ -9804,6 +11844,30 @@ func (s EventInfoMap) GoString() string {
return s.String()
}
+// SetEventCategories sets the EventCategories field's value.
+func (s *EventInfoMap) SetEventCategories(v []*string) *EventInfoMap {
+ s.EventCategories = v
+ return s
+}
+
+// SetEventDescription sets the EventDescription field's value.
+func (s *EventInfoMap) SetEventDescription(v string) *EventInfoMap {
+ s.EventDescription = &v
+ return s
+}
+
+// SetEventId sets the EventId field's value.
+func (s *EventInfoMap) SetEventId(v string) *EventInfoMap {
+ s.EventId = &v
+ return s
+}
+
+// SetSeverity sets the Severity field's value.
+func (s *EventInfoMap) SetSeverity(v string) *EventInfoMap {
+ s.Severity = &v
+ return s
+}
+
// Describes event subscriptions.
type EventSubscription struct {
_ struct{} `type:"structure"`
@@ -9871,6 +11935,72 @@ func (s EventSubscription) GoString() string {
return s.String()
}
+// SetCustSubscriptionId sets the CustSubscriptionId field's value.
+func (s *EventSubscription) SetCustSubscriptionId(v string) *EventSubscription {
+ s.CustSubscriptionId = &v
+ return s
+}
+
+// SetCustomerAwsId sets the CustomerAwsId field's value.
+func (s *EventSubscription) SetCustomerAwsId(v string) *EventSubscription {
+ s.CustomerAwsId = &v
+ return s
+}
+
+// SetEnabled sets the Enabled field's value.
+func (s *EventSubscription) SetEnabled(v bool) *EventSubscription {
+ s.Enabled = &v
+ return s
+}
+
+// SetEventCategoriesList sets the EventCategoriesList field's value.
+func (s *EventSubscription) SetEventCategoriesList(v []*string) *EventSubscription {
+ s.EventCategoriesList = v
+ return s
+}
+
+// SetSeverity sets the Severity field's value.
+func (s *EventSubscription) SetSeverity(v string) *EventSubscription {
+ s.Severity = &v
+ return s
+}
+
+// SetSnsTopicArn sets the SnsTopicArn field's value.
+func (s *EventSubscription) SetSnsTopicArn(v string) *EventSubscription {
+ s.SnsTopicArn = &v
+ return s
+}
+
+// SetSourceIdsList sets the SourceIdsList field's value.
+func (s *EventSubscription) SetSourceIdsList(v []*string) *EventSubscription {
+ s.SourceIdsList = v
+ return s
+}
+
+// SetSourceType sets the SourceType field's value.
+func (s *EventSubscription) SetSourceType(v string) *EventSubscription {
+ s.SourceType = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *EventSubscription) SetStatus(v string) *EventSubscription {
+ s.Status = &v
+ return s
+}
+
+// SetSubscriptionCreationTime sets the SubscriptionCreationTime field's value.
+func (s *EventSubscription) SetSubscriptionCreationTime(v time.Time) *EventSubscription {
+ s.SubscriptionCreationTime = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *EventSubscription) SetTags(v []*Tag) *EventSubscription {
+ s.Tags = v
+ return s
+}
+
// 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.
@@ -9898,6 +12028,24 @@ func (s HsmClientCertificate) GoString() string {
return s.String()
}
+// SetHsmClientCertificateIdentifier sets the HsmClientCertificateIdentifier field's value.
+func (s *HsmClientCertificate) SetHsmClientCertificateIdentifier(v string) *HsmClientCertificate {
+ s.HsmClientCertificateIdentifier = &v
+ return s
+}
+
+// SetHsmClientCertificatePublicKey sets the HsmClientCertificatePublicKey field's value.
+func (s *HsmClientCertificate) SetHsmClientCertificatePublicKey(v string) *HsmClientCertificate {
+ s.HsmClientCertificatePublicKey = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *HsmClientCertificate) SetTags(v []*Tag) *HsmClientCertificate {
+ s.Tags = v
+ return s
+}
+
// 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.
@@ -9931,6 +12079,36 @@ func (s HsmConfiguration) GoString() string {
return s.String()
}
+// SetDescription sets the Description field's value.
+func (s *HsmConfiguration) SetDescription(v string) *HsmConfiguration {
+ s.Description = &v
+ return s
+}
+
+// SetHsmConfigurationIdentifier sets the HsmConfigurationIdentifier field's value.
+func (s *HsmConfiguration) SetHsmConfigurationIdentifier(v string) *HsmConfiguration {
+ s.HsmConfigurationIdentifier = &v
+ return s
+}
+
+// SetHsmIpAddress sets the HsmIpAddress field's value.
+func (s *HsmConfiguration) SetHsmIpAddress(v string) *HsmConfiguration {
+ s.HsmIpAddress = &v
+ return s
+}
+
+// SetHsmPartitionName sets the HsmPartitionName field's value.
+func (s *HsmConfiguration) SetHsmPartitionName(v string) *HsmConfiguration {
+ s.HsmPartitionName = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *HsmConfiguration) SetTags(v []*Tag) *HsmConfiguration {
+ s.Tags = v
+ return s
+}
+
// Describes the status of changes to HSM settings.
type HsmStatus struct {
_ struct{} `type:"structure"`
@@ -9960,6 +12138,24 @@ func (s HsmStatus) GoString() string {
return s.String()
}
+// SetHsmClientCertificateIdentifier sets the HsmClientCertificateIdentifier field's value.
+func (s *HsmStatus) SetHsmClientCertificateIdentifier(v string) *HsmStatus {
+ s.HsmClientCertificateIdentifier = &v
+ return s
+}
+
+// SetHsmConfigurationIdentifier sets the HsmConfigurationIdentifier field's value.
+func (s *HsmStatus) SetHsmConfigurationIdentifier(v string) *HsmStatus {
+ s.HsmConfigurationIdentifier = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *HsmStatus) SetStatus(v string) *HsmStatus {
+ s.Status = &v
+ return s
+}
+
// Describes an IP range used in a security group.
type IPRange struct {
_ struct{} `type:"structure"`
@@ -9984,6 +12180,24 @@ func (s IPRange) GoString() string {
return s.String()
}
+// SetCIDRIP sets the CIDRIP field's value.
+func (s *IPRange) SetCIDRIP(v string) *IPRange {
+ s.CIDRIP = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *IPRange) SetStatus(v string) *IPRange {
+ s.Status = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *IPRange) SetTags(v []*Tag) *IPRange {
+ s.Tags = v
+ return s
+}
+
// Describes the status of logging for a cluster.
type LoggingStatus struct {
_ struct{} `type:"structure"`
@@ -10017,13 +12231,49 @@ func (s LoggingStatus) GoString() string {
return s.String()
}
-type ModifyClusterIamRolesInput struct {
- _ struct{} `type:"structure"`
+// SetBucketName sets the BucketName field's value.
+func (s *LoggingStatus) SetBucketName(v string) *LoggingStatus {
+ s.BucketName = &v
+ return s
+}
- // Zero or more IAM roles to associate with the cluster. The roles must be in
- // their Amazon Resource Name (ARN) format. You can associate up to 10 IAM roles
- // with a single cluster in a single request.
- AddIamRoles []*string `locationNameList:"IamRoleArn" type:"list"`
+// SetLastFailureMessage sets the LastFailureMessage field's value.
+func (s *LoggingStatus) SetLastFailureMessage(v string) *LoggingStatus {
+ s.LastFailureMessage = &v
+ return s
+}
+
+// SetLastFailureTime sets the LastFailureTime field's value.
+func (s *LoggingStatus) SetLastFailureTime(v time.Time) *LoggingStatus {
+ s.LastFailureTime = &v
+ return s
+}
+
+// SetLastSuccessfulDeliveryTime sets the LastSuccessfulDeliveryTime field's value.
+func (s *LoggingStatus) SetLastSuccessfulDeliveryTime(v time.Time) *LoggingStatus {
+ s.LastSuccessfulDeliveryTime = &v
+ return s
+}
+
+// SetLoggingEnabled sets the LoggingEnabled field's value.
+func (s *LoggingStatus) SetLoggingEnabled(v bool) *LoggingStatus {
+ s.LoggingEnabled = &v
+ return s
+}
+
+// SetS3KeyPrefix sets the S3KeyPrefix field's value.
+func (s *LoggingStatus) SetS3KeyPrefix(v string) *LoggingStatus {
+ s.S3KeyPrefix = &v
+ return s
+}
+
+type ModifyClusterIamRolesInput struct {
+ _ struct{} `type:"structure"`
+
+ // Zero or more IAM roles to associate with the cluster. The roles must be in
+ // their Amazon Resource Name (ARN) format. You can associate up to 10 IAM roles
+ // with a single cluster in a single request.
+ AddIamRoles []*string `locationNameList:"IamRoleArn" type:"list"`
// The unique identifier of the cluster for which you want to associate or disassociate
// IAM roles.
@@ -10059,6 +12309,24 @@ func (s *ModifyClusterIamRolesInput) Validate() error {
return nil
}
+// SetAddIamRoles sets the AddIamRoles field's value.
+func (s *ModifyClusterIamRolesInput) SetAddIamRoles(v []*string) *ModifyClusterIamRolesInput {
+ s.AddIamRoles = v
+ return s
+}
+
+// SetClusterIdentifier sets the ClusterIdentifier field's value.
+func (s *ModifyClusterIamRolesInput) SetClusterIdentifier(v string) *ModifyClusterIamRolesInput {
+ s.ClusterIdentifier = &v
+ return s
+}
+
+// SetRemoveIamRoles sets the RemoveIamRoles field's value.
+func (s *ModifyClusterIamRolesInput) SetRemoveIamRoles(v []*string) *ModifyClusterIamRolesInput {
+ s.RemoveIamRoles = v
+ return s
+}
+
type ModifyClusterIamRolesOutput struct {
_ struct{} `type:"structure"`
@@ -10076,6 +12344,12 @@ func (s ModifyClusterIamRolesOutput) GoString() string {
return s.String()
}
+// SetCluster sets the Cluster field's value.
+func (s *ModifyClusterIamRolesOutput) SetCluster(v *Cluster) *ModifyClusterIamRolesOutput {
+ s.Cluster = v
+ return s
+}
+
type ModifyClusterInput struct {
_ struct{} `type:"structure"`
@@ -10301,6 +12575,114 @@ func (s *ModifyClusterInput) Validate() error {
return nil
}
+// SetAllowVersionUpgrade sets the AllowVersionUpgrade field's value.
+func (s *ModifyClusterInput) SetAllowVersionUpgrade(v bool) *ModifyClusterInput {
+ s.AllowVersionUpgrade = &v
+ return s
+}
+
+// SetAutomatedSnapshotRetentionPeriod sets the AutomatedSnapshotRetentionPeriod field's value.
+func (s *ModifyClusterInput) SetAutomatedSnapshotRetentionPeriod(v int64) *ModifyClusterInput {
+ s.AutomatedSnapshotRetentionPeriod = &v
+ return s
+}
+
+// SetClusterIdentifier sets the ClusterIdentifier field's value.
+func (s *ModifyClusterInput) SetClusterIdentifier(v string) *ModifyClusterInput {
+ s.ClusterIdentifier = &v
+ return s
+}
+
+// SetClusterParameterGroupName sets the ClusterParameterGroupName field's value.
+func (s *ModifyClusterInput) SetClusterParameterGroupName(v string) *ModifyClusterInput {
+ s.ClusterParameterGroupName = &v
+ return s
+}
+
+// SetClusterSecurityGroups sets the ClusterSecurityGroups field's value.
+func (s *ModifyClusterInput) SetClusterSecurityGroups(v []*string) *ModifyClusterInput {
+ s.ClusterSecurityGroups = v
+ return s
+}
+
+// SetClusterType sets the ClusterType field's value.
+func (s *ModifyClusterInput) SetClusterType(v string) *ModifyClusterInput {
+ s.ClusterType = &v
+ return s
+}
+
+// SetClusterVersion sets the ClusterVersion field's value.
+func (s *ModifyClusterInput) SetClusterVersion(v string) *ModifyClusterInput {
+ s.ClusterVersion = &v
+ return s
+}
+
+// SetElasticIp sets the ElasticIp field's value.
+func (s *ModifyClusterInput) SetElasticIp(v string) *ModifyClusterInput {
+ s.ElasticIp = &v
+ return s
+}
+
+// SetEnhancedVpcRouting sets the EnhancedVpcRouting field's value.
+func (s *ModifyClusterInput) SetEnhancedVpcRouting(v bool) *ModifyClusterInput {
+ s.EnhancedVpcRouting = &v
+ return s
+}
+
+// SetHsmClientCertificateIdentifier sets the HsmClientCertificateIdentifier field's value.
+func (s *ModifyClusterInput) SetHsmClientCertificateIdentifier(v string) *ModifyClusterInput {
+ s.HsmClientCertificateIdentifier = &v
+ return s
+}
+
+// SetHsmConfigurationIdentifier sets the HsmConfigurationIdentifier field's value.
+func (s *ModifyClusterInput) SetHsmConfigurationIdentifier(v string) *ModifyClusterInput {
+ s.HsmConfigurationIdentifier = &v
+ return s
+}
+
+// SetMasterUserPassword sets the MasterUserPassword field's value.
+func (s *ModifyClusterInput) SetMasterUserPassword(v string) *ModifyClusterInput {
+ s.MasterUserPassword = &v
+ return s
+}
+
+// SetNewClusterIdentifier sets the NewClusterIdentifier field's value.
+func (s *ModifyClusterInput) SetNewClusterIdentifier(v string) *ModifyClusterInput {
+ s.NewClusterIdentifier = &v
+ return s
+}
+
+// SetNodeType sets the NodeType field's value.
+func (s *ModifyClusterInput) SetNodeType(v string) *ModifyClusterInput {
+ s.NodeType = &v
+ return s
+}
+
+// SetNumberOfNodes sets the NumberOfNodes field's value.
+func (s *ModifyClusterInput) SetNumberOfNodes(v int64) *ModifyClusterInput {
+ s.NumberOfNodes = &v
+ return s
+}
+
+// SetPreferredMaintenanceWindow sets the PreferredMaintenanceWindow field's value.
+func (s *ModifyClusterInput) SetPreferredMaintenanceWindow(v string) *ModifyClusterInput {
+ s.PreferredMaintenanceWindow = &v
+ return s
+}
+
+// SetPubliclyAccessible sets the PubliclyAccessible field's value.
+func (s *ModifyClusterInput) SetPubliclyAccessible(v bool) *ModifyClusterInput {
+ s.PubliclyAccessible = &v
+ return s
+}
+
+// SetVpcSecurityGroupIds sets the VpcSecurityGroupIds field's value.
+func (s *ModifyClusterInput) SetVpcSecurityGroupIds(v []*string) *ModifyClusterInput {
+ s.VpcSecurityGroupIds = v
+ return s
+}
+
type ModifyClusterOutput struct {
_ struct{} `type:"structure"`
@@ -10318,6 +12700,12 @@ func (s ModifyClusterOutput) GoString() string {
return s.String()
}
+// SetCluster sets the Cluster field's value.
+func (s *ModifyClusterOutput) SetCluster(v *Cluster) *ModifyClusterOutput {
+ s.Cluster = v
+ return s
+}
+
type ModifyClusterParameterGroupInput struct {
_ struct{} `type:"structure"`
@@ -10365,6 +12753,18 @@ func (s *ModifyClusterParameterGroupInput) Validate() error {
return nil
}
+// SetParameterGroupName sets the ParameterGroupName field's value.
+func (s *ModifyClusterParameterGroupInput) SetParameterGroupName(v string) *ModifyClusterParameterGroupInput {
+ s.ParameterGroupName = &v
+ return s
+}
+
+// SetParameters sets the Parameters field's value.
+func (s *ModifyClusterParameterGroupInput) SetParameters(v []*Parameter) *ModifyClusterParameterGroupInput {
+ s.Parameters = v
+ return s
+}
+
type ModifyClusterSubnetGroupInput struct {
_ struct{} `type:"structure"`
@@ -10409,6 +12809,24 @@ func (s *ModifyClusterSubnetGroupInput) Validate() error {
return nil
}
+// SetClusterSubnetGroupName sets the ClusterSubnetGroupName field's value.
+func (s *ModifyClusterSubnetGroupInput) SetClusterSubnetGroupName(v string) *ModifyClusterSubnetGroupInput {
+ s.ClusterSubnetGroupName = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *ModifyClusterSubnetGroupInput) SetDescription(v string) *ModifyClusterSubnetGroupInput {
+ s.Description = &v
+ return s
+}
+
+// SetSubnetIds sets the SubnetIds field's value.
+func (s *ModifyClusterSubnetGroupInput) SetSubnetIds(v []*string) *ModifyClusterSubnetGroupInput {
+ s.SubnetIds = v
+ return s
+}
+
type ModifyClusterSubnetGroupOutput struct {
_ struct{} `type:"structure"`
@@ -10426,6 +12844,12 @@ func (s ModifyClusterSubnetGroupOutput) GoString() string {
return s.String()
}
+// SetClusterSubnetGroup sets the ClusterSubnetGroup field's value.
+func (s *ModifyClusterSubnetGroupOutput) SetClusterSubnetGroup(v *ClusterSubnetGroup) *ModifyClusterSubnetGroupOutput {
+ s.ClusterSubnetGroup = v
+ return s
+}
+
type ModifyEventSubscriptionInput struct {
_ struct{} `type:"structure"`
@@ -10499,6 +12923,48 @@ func (s *ModifyEventSubscriptionInput) Validate() error {
return nil
}
+// SetEnabled sets the Enabled field's value.
+func (s *ModifyEventSubscriptionInput) SetEnabled(v bool) *ModifyEventSubscriptionInput {
+ s.Enabled = &v
+ return s
+}
+
+// SetEventCategories sets the EventCategories field's value.
+func (s *ModifyEventSubscriptionInput) SetEventCategories(v []*string) *ModifyEventSubscriptionInput {
+ s.EventCategories = v
+ return s
+}
+
+// SetSeverity sets the Severity field's value.
+func (s *ModifyEventSubscriptionInput) SetSeverity(v string) *ModifyEventSubscriptionInput {
+ s.Severity = &v
+ return s
+}
+
+// SetSnsTopicArn sets the SnsTopicArn field's value.
+func (s *ModifyEventSubscriptionInput) SetSnsTopicArn(v string) *ModifyEventSubscriptionInput {
+ s.SnsTopicArn = &v
+ return s
+}
+
+// SetSourceIds sets the SourceIds field's value.
+func (s *ModifyEventSubscriptionInput) SetSourceIds(v []*string) *ModifyEventSubscriptionInput {
+ s.SourceIds = v
+ return s
+}
+
+// SetSourceType sets the SourceType field's value.
+func (s *ModifyEventSubscriptionInput) SetSourceType(v string) *ModifyEventSubscriptionInput {
+ s.SourceType = &v
+ return s
+}
+
+// SetSubscriptionName sets the SubscriptionName field's value.
+func (s *ModifyEventSubscriptionInput) SetSubscriptionName(v string) *ModifyEventSubscriptionInput {
+ s.SubscriptionName = &v
+ return s
+}
+
type ModifyEventSubscriptionOutput struct {
_ struct{} `type:"structure"`
@@ -10516,6 +12982,12 @@ func (s ModifyEventSubscriptionOutput) GoString() string {
return s.String()
}
+// SetEventSubscription sets the EventSubscription field's value.
+func (s *ModifyEventSubscriptionOutput) SetEventSubscription(v *EventSubscription) *ModifyEventSubscriptionOutput {
+ s.EventSubscription = v
+ return s
+}
+
type ModifySnapshotCopyRetentionPeriodInput struct {
_ struct{} `type:"structure"`
@@ -10568,6 +13040,18 @@ func (s *ModifySnapshotCopyRetentionPeriodInput) Validate() error {
return nil
}
+// SetClusterIdentifier sets the ClusterIdentifier field's value.
+func (s *ModifySnapshotCopyRetentionPeriodInput) SetClusterIdentifier(v string) *ModifySnapshotCopyRetentionPeriodInput {
+ s.ClusterIdentifier = &v
+ return s
+}
+
+// SetRetentionPeriod sets the RetentionPeriod field's value.
+func (s *ModifySnapshotCopyRetentionPeriodInput) SetRetentionPeriod(v int64) *ModifySnapshotCopyRetentionPeriodInput {
+ s.RetentionPeriod = &v
+ return s
+}
+
type ModifySnapshotCopyRetentionPeriodOutput struct {
_ struct{} `type:"structure"`
@@ -10585,6 +13069,12 @@ func (s ModifySnapshotCopyRetentionPeriodOutput) GoString() string {
return s.String()
}
+// SetCluster sets the Cluster field's value.
+func (s *ModifySnapshotCopyRetentionPeriodOutput) SetCluster(v *Cluster) *ModifySnapshotCopyRetentionPeriodOutput {
+ s.Cluster = v
+ return s
+}
+
// Describes an orderable cluster option.
type OrderableClusterOption struct {
_ struct{} `type:"structure"`
@@ -10612,6 +13102,30 @@ func (s OrderableClusterOption) GoString() string {
return s.String()
}
+// SetAvailabilityZones sets the AvailabilityZones field's value.
+func (s *OrderableClusterOption) SetAvailabilityZones(v []*AvailabilityZone) *OrderableClusterOption {
+ s.AvailabilityZones = v
+ return s
+}
+
+// SetClusterType sets the ClusterType field's value.
+func (s *OrderableClusterOption) SetClusterType(v string) *OrderableClusterOption {
+ s.ClusterType = &v
+ return s
+}
+
+// SetClusterVersion sets the ClusterVersion field's value.
+func (s *OrderableClusterOption) SetClusterVersion(v string) *OrderableClusterOption {
+ s.ClusterVersion = &v
+ return s
+}
+
+// SetNodeType sets the NodeType field's value.
+func (s *OrderableClusterOption) SetNodeType(v string) *OrderableClusterOption {
+ s.NodeType = &v
+ return s
+}
+
// Describes a parameter in a cluster parameter group.
type Parameter struct {
_ struct{} `type:"structure"`
@@ -10660,6 +13174,60 @@ func (s Parameter) GoString() string {
return s.String()
}
+// SetAllowedValues sets the AllowedValues field's value.
+func (s *Parameter) SetAllowedValues(v string) *Parameter {
+ s.AllowedValues = &v
+ return s
+}
+
+// SetApplyType sets the ApplyType field's value.
+func (s *Parameter) SetApplyType(v string) *Parameter {
+ s.ApplyType = &v
+ return s
+}
+
+// SetDataType sets the DataType field's value.
+func (s *Parameter) SetDataType(v string) *Parameter {
+ s.DataType = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *Parameter) SetDescription(v string) *Parameter {
+ s.Description = &v
+ return s
+}
+
+// SetIsModifiable sets the IsModifiable field's value.
+func (s *Parameter) SetIsModifiable(v bool) *Parameter {
+ s.IsModifiable = &v
+ return s
+}
+
+// SetMinimumEngineVersion sets the MinimumEngineVersion field's value.
+func (s *Parameter) SetMinimumEngineVersion(v string) *Parameter {
+ s.MinimumEngineVersion = &v
+ return s
+}
+
+// SetParameterName sets the ParameterName field's value.
+func (s *Parameter) SetParameterName(v string) *Parameter {
+ s.ParameterName = &v
+ return s
+}
+
+// SetParameterValue sets the ParameterValue field's value.
+func (s *Parameter) SetParameterValue(v string) *Parameter {
+ s.ParameterValue = &v
+ return s
+}
+
+// SetSource sets the Source field's value.
+func (s *Parameter) SetSource(v string) *Parameter {
+ s.Source = &v
+ return s
+}
+
// 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.
type PendingModifiedValues struct {
@@ -10712,6 +13280,60 @@ func (s PendingModifiedValues) GoString() string {
return s.String()
}
+// SetAutomatedSnapshotRetentionPeriod sets the AutomatedSnapshotRetentionPeriod field's value.
+func (s *PendingModifiedValues) SetAutomatedSnapshotRetentionPeriod(v int64) *PendingModifiedValues {
+ s.AutomatedSnapshotRetentionPeriod = &v
+ return s
+}
+
+// SetClusterIdentifier sets the ClusterIdentifier field's value.
+func (s *PendingModifiedValues) SetClusterIdentifier(v string) *PendingModifiedValues {
+ s.ClusterIdentifier = &v
+ return s
+}
+
+// SetClusterType sets the ClusterType field's value.
+func (s *PendingModifiedValues) SetClusterType(v string) *PendingModifiedValues {
+ s.ClusterType = &v
+ return s
+}
+
+// SetClusterVersion sets the ClusterVersion field's value.
+func (s *PendingModifiedValues) SetClusterVersion(v string) *PendingModifiedValues {
+ s.ClusterVersion = &v
+ return s
+}
+
+// SetEnhancedVpcRouting sets the EnhancedVpcRouting field's value.
+func (s *PendingModifiedValues) SetEnhancedVpcRouting(v bool) *PendingModifiedValues {
+ s.EnhancedVpcRouting = &v
+ return s
+}
+
+// SetMasterUserPassword sets the MasterUserPassword field's value.
+func (s *PendingModifiedValues) SetMasterUserPassword(v string) *PendingModifiedValues {
+ s.MasterUserPassword = &v
+ return s
+}
+
+// SetNodeType sets the NodeType field's value.
+func (s *PendingModifiedValues) SetNodeType(v string) *PendingModifiedValues {
+ s.NodeType = &v
+ return s
+}
+
+// SetNumberOfNodes sets the NumberOfNodes field's value.
+func (s *PendingModifiedValues) SetNumberOfNodes(v int64) *PendingModifiedValues {
+ s.NumberOfNodes = &v
+ return s
+}
+
+// SetPubliclyAccessible sets the PubliclyAccessible field's value.
+func (s *PendingModifiedValues) SetPubliclyAccessible(v bool) *PendingModifiedValues {
+ s.PubliclyAccessible = &v
+ return s
+}
+
type PurchaseReservedNodeOfferingInput struct {
_ struct{} `type:"structure"`
@@ -10749,6 +13371,18 @@ func (s *PurchaseReservedNodeOfferingInput) Validate() error {
return nil
}
+// SetNodeCount sets the NodeCount field's value.
+func (s *PurchaseReservedNodeOfferingInput) SetNodeCount(v int64) *PurchaseReservedNodeOfferingInput {
+ s.NodeCount = &v
+ return s
+}
+
+// SetReservedNodeOfferingId sets the ReservedNodeOfferingId field's value.
+func (s *PurchaseReservedNodeOfferingInput) SetReservedNodeOfferingId(v string) *PurchaseReservedNodeOfferingInput {
+ s.ReservedNodeOfferingId = &v
+ return s
+}
+
type PurchaseReservedNodeOfferingOutput struct {
_ struct{} `type:"structure"`
@@ -10767,6 +13401,12 @@ func (s PurchaseReservedNodeOfferingOutput) GoString() string {
return s.String()
}
+// SetReservedNode sets the ReservedNode field's value.
+func (s *PurchaseReservedNodeOfferingOutput) SetReservedNode(v *ReservedNode) *PurchaseReservedNodeOfferingOutput {
+ s.ReservedNode = v
+ return s
+}
+
type RebootClusterInput struct {
_ struct{} `type:"structure"`
@@ -10799,6 +13439,12 @@ func (s *RebootClusterInput) Validate() error {
return nil
}
+// SetClusterIdentifier sets the ClusterIdentifier field's value.
+func (s *RebootClusterInput) SetClusterIdentifier(v string) *RebootClusterInput {
+ s.ClusterIdentifier = &v
+ return s
+}
+
type RebootClusterOutput struct {
_ struct{} `type:"structure"`
@@ -10816,6 +13462,12 @@ func (s RebootClusterOutput) GoString() string {
return s.String()
}
+// SetCluster sets the Cluster field's value.
+func (s *RebootClusterOutput) SetCluster(v *Cluster) *RebootClusterOutput {
+ s.Cluster = v
+ return s
+}
+
// Describes a recurring charge.
type RecurringCharge struct {
_ struct{} `type:"structure"`
@@ -10838,6 +13490,18 @@ func (s RecurringCharge) GoString() string {
return s.String()
}
+// SetRecurringChargeAmount sets the RecurringChargeAmount field's value.
+func (s *RecurringCharge) SetRecurringChargeAmount(v float64) *RecurringCharge {
+ s.RecurringChargeAmount = &v
+ return s
+}
+
+// SetRecurringChargeFrequency sets the RecurringChargeFrequency field's value.
+func (s *RecurringCharge) SetRecurringChargeFrequency(v string) *RecurringCharge {
+ s.RecurringChargeFrequency = &v
+ return s
+}
+
// Describes a reserved node. You can call the DescribeReservedNodeOfferings
// API to obtain the available reserved node offerings.
type ReservedNode struct {
@@ -10902,6 +13566,78 @@ func (s ReservedNode) GoString() string {
return s.String()
}
+// SetCurrencyCode sets the CurrencyCode field's value.
+func (s *ReservedNode) SetCurrencyCode(v string) *ReservedNode {
+ s.CurrencyCode = &v
+ return s
+}
+
+// SetDuration sets the Duration field's value.
+func (s *ReservedNode) SetDuration(v int64) *ReservedNode {
+ s.Duration = &v
+ return s
+}
+
+// SetFixedPrice sets the FixedPrice field's value.
+func (s *ReservedNode) SetFixedPrice(v float64) *ReservedNode {
+ s.FixedPrice = &v
+ return s
+}
+
+// SetNodeCount sets the NodeCount field's value.
+func (s *ReservedNode) SetNodeCount(v int64) *ReservedNode {
+ s.NodeCount = &v
+ return s
+}
+
+// SetNodeType sets the NodeType field's value.
+func (s *ReservedNode) SetNodeType(v string) *ReservedNode {
+ s.NodeType = &v
+ return s
+}
+
+// SetOfferingType sets the OfferingType field's value.
+func (s *ReservedNode) SetOfferingType(v string) *ReservedNode {
+ s.OfferingType = &v
+ return s
+}
+
+// SetRecurringCharges sets the RecurringCharges field's value.
+func (s *ReservedNode) SetRecurringCharges(v []*RecurringCharge) *ReservedNode {
+ s.RecurringCharges = v
+ return s
+}
+
+// SetReservedNodeId sets the ReservedNodeId field's value.
+func (s *ReservedNode) SetReservedNodeId(v string) *ReservedNode {
+ s.ReservedNodeId = &v
+ return s
+}
+
+// SetReservedNodeOfferingId sets the ReservedNodeOfferingId field's value.
+func (s *ReservedNode) SetReservedNodeOfferingId(v string) *ReservedNode {
+ s.ReservedNodeOfferingId = &v
+ return s
+}
+
+// SetStartTime sets the StartTime field's value.
+func (s *ReservedNode) SetStartTime(v time.Time) *ReservedNode {
+ s.StartTime = &v
+ return s
+}
+
+// SetState sets the State field's value.
+func (s *ReservedNode) SetState(v string) *ReservedNode {
+ s.State = &v
+ return s
+}
+
+// SetUsagePrice sets the UsagePrice field's value.
+func (s *ReservedNode) SetUsagePrice(v float64) *ReservedNode {
+ s.UsagePrice = &v
+ return s
+}
+
// Describes a reserved node offering.
type ReservedNodeOffering struct {
_ struct{} `type:"structure"`
@@ -10946,6 +13682,54 @@ func (s ReservedNodeOffering) GoString() string {
return s.String()
}
+// SetCurrencyCode sets the CurrencyCode field's value.
+func (s *ReservedNodeOffering) SetCurrencyCode(v string) *ReservedNodeOffering {
+ s.CurrencyCode = &v
+ return s
+}
+
+// SetDuration sets the Duration field's value.
+func (s *ReservedNodeOffering) SetDuration(v int64) *ReservedNodeOffering {
+ s.Duration = &v
+ return s
+}
+
+// SetFixedPrice sets the FixedPrice field's value.
+func (s *ReservedNodeOffering) SetFixedPrice(v float64) *ReservedNodeOffering {
+ s.FixedPrice = &v
+ return s
+}
+
+// SetNodeType sets the NodeType field's value.
+func (s *ReservedNodeOffering) SetNodeType(v string) *ReservedNodeOffering {
+ s.NodeType = &v
+ return s
+}
+
+// SetOfferingType sets the OfferingType field's value.
+func (s *ReservedNodeOffering) SetOfferingType(v string) *ReservedNodeOffering {
+ s.OfferingType = &v
+ return s
+}
+
+// SetRecurringCharges sets the RecurringCharges field's value.
+func (s *ReservedNodeOffering) SetRecurringCharges(v []*RecurringCharge) *ReservedNodeOffering {
+ s.RecurringCharges = v
+ return s
+}
+
+// SetReservedNodeOfferingId sets the ReservedNodeOfferingId field's value.
+func (s *ReservedNodeOffering) SetReservedNodeOfferingId(v string) *ReservedNodeOffering {
+ s.ReservedNodeOfferingId = &v
+ return s
+}
+
+// SetUsagePrice sets the UsagePrice field's value.
+func (s *ReservedNodeOffering) SetUsagePrice(v float64) *ReservedNodeOffering {
+ s.UsagePrice = &v
+ return s
+}
+
type ResetClusterParameterGroupInput struct {
_ struct{} `type:"structure"`
@@ -10990,6 +13774,24 @@ func (s *ResetClusterParameterGroupInput) Validate() error {
return nil
}
+// SetParameterGroupName sets the ParameterGroupName field's value.
+func (s *ResetClusterParameterGroupInput) SetParameterGroupName(v string) *ResetClusterParameterGroupInput {
+ s.ParameterGroupName = &v
+ return s
+}
+
+// SetParameters sets the Parameters field's value.
+func (s *ResetClusterParameterGroupInput) SetParameters(v []*Parameter) *ResetClusterParameterGroupInput {
+ s.Parameters = v
+ return s
+}
+
+// SetResetAllParameters sets the ResetAllParameters field's value.
+func (s *ResetClusterParameterGroupInput) SetResetAllParameters(v bool) *ResetClusterParameterGroupInput {
+ s.ResetAllParameters = &v
+ return s
+}
+
type RestoreFromClusterSnapshotInput struct {
_ struct{} `type:"structure"`
@@ -11188,6 +13990,138 @@ func (s *RestoreFromClusterSnapshotInput) Validate() error {
return nil
}
+// SetAdditionalInfo sets the AdditionalInfo field's value.
+func (s *RestoreFromClusterSnapshotInput) SetAdditionalInfo(v string) *RestoreFromClusterSnapshotInput {
+ s.AdditionalInfo = &v
+ return s
+}
+
+// SetAllowVersionUpgrade sets the AllowVersionUpgrade field's value.
+func (s *RestoreFromClusterSnapshotInput) SetAllowVersionUpgrade(v bool) *RestoreFromClusterSnapshotInput {
+ s.AllowVersionUpgrade = &v
+ return s
+}
+
+// SetAutomatedSnapshotRetentionPeriod sets the AutomatedSnapshotRetentionPeriod field's value.
+func (s *RestoreFromClusterSnapshotInput) SetAutomatedSnapshotRetentionPeriod(v int64) *RestoreFromClusterSnapshotInput {
+ s.AutomatedSnapshotRetentionPeriod = &v
+ return s
+}
+
+// SetAvailabilityZone sets the AvailabilityZone field's value.
+func (s *RestoreFromClusterSnapshotInput) SetAvailabilityZone(v string) *RestoreFromClusterSnapshotInput {
+ s.AvailabilityZone = &v
+ return s
+}
+
+// SetClusterIdentifier sets the ClusterIdentifier field's value.
+func (s *RestoreFromClusterSnapshotInput) SetClusterIdentifier(v string) *RestoreFromClusterSnapshotInput {
+ s.ClusterIdentifier = &v
+ return s
+}
+
+// SetClusterParameterGroupName sets the ClusterParameterGroupName field's value.
+func (s *RestoreFromClusterSnapshotInput) SetClusterParameterGroupName(v string) *RestoreFromClusterSnapshotInput {
+ s.ClusterParameterGroupName = &v
+ return s
+}
+
+// SetClusterSecurityGroups sets the ClusterSecurityGroups field's value.
+func (s *RestoreFromClusterSnapshotInput) SetClusterSecurityGroups(v []*string) *RestoreFromClusterSnapshotInput {
+ s.ClusterSecurityGroups = v
+ return s
+}
+
+// SetClusterSubnetGroupName sets the ClusterSubnetGroupName field's value.
+func (s *RestoreFromClusterSnapshotInput) SetClusterSubnetGroupName(v string) *RestoreFromClusterSnapshotInput {
+ s.ClusterSubnetGroupName = &v
+ return s
+}
+
+// SetElasticIp sets the ElasticIp field's value.
+func (s *RestoreFromClusterSnapshotInput) SetElasticIp(v string) *RestoreFromClusterSnapshotInput {
+ s.ElasticIp = &v
+ return s
+}
+
+// SetEnhancedVpcRouting sets the EnhancedVpcRouting field's value.
+func (s *RestoreFromClusterSnapshotInput) SetEnhancedVpcRouting(v bool) *RestoreFromClusterSnapshotInput {
+ s.EnhancedVpcRouting = &v
+ return s
+}
+
+// SetHsmClientCertificateIdentifier sets the HsmClientCertificateIdentifier field's value.
+func (s *RestoreFromClusterSnapshotInput) SetHsmClientCertificateIdentifier(v string) *RestoreFromClusterSnapshotInput {
+ s.HsmClientCertificateIdentifier = &v
+ return s
+}
+
+// SetHsmConfigurationIdentifier sets the HsmConfigurationIdentifier field's value.
+func (s *RestoreFromClusterSnapshotInput) SetHsmConfigurationIdentifier(v string) *RestoreFromClusterSnapshotInput {
+ s.HsmConfigurationIdentifier = &v
+ return s
+}
+
+// SetIamRoles sets the IamRoles field's value.
+func (s *RestoreFromClusterSnapshotInput) SetIamRoles(v []*string) *RestoreFromClusterSnapshotInput {
+ s.IamRoles = v
+ return s
+}
+
+// SetKmsKeyId sets the KmsKeyId field's value.
+func (s *RestoreFromClusterSnapshotInput) SetKmsKeyId(v string) *RestoreFromClusterSnapshotInput {
+ s.KmsKeyId = &v
+ return s
+}
+
+// SetNodeType sets the NodeType field's value.
+func (s *RestoreFromClusterSnapshotInput) SetNodeType(v string) *RestoreFromClusterSnapshotInput {
+ s.NodeType = &v
+ return s
+}
+
+// SetOwnerAccount sets the OwnerAccount field's value.
+func (s *RestoreFromClusterSnapshotInput) SetOwnerAccount(v string) *RestoreFromClusterSnapshotInput {
+ s.OwnerAccount = &v
+ return s
+}
+
+// SetPort sets the Port field's value.
+func (s *RestoreFromClusterSnapshotInput) SetPort(v int64) *RestoreFromClusterSnapshotInput {
+ s.Port = &v
+ return s
+}
+
+// SetPreferredMaintenanceWindow sets the PreferredMaintenanceWindow field's value.
+func (s *RestoreFromClusterSnapshotInput) SetPreferredMaintenanceWindow(v string) *RestoreFromClusterSnapshotInput {
+ s.PreferredMaintenanceWindow = &v
+ return s
+}
+
+// SetPubliclyAccessible sets the PubliclyAccessible field's value.
+func (s *RestoreFromClusterSnapshotInput) SetPubliclyAccessible(v bool) *RestoreFromClusterSnapshotInput {
+ s.PubliclyAccessible = &v
+ return s
+}
+
+// SetSnapshotClusterIdentifier sets the SnapshotClusterIdentifier field's value.
+func (s *RestoreFromClusterSnapshotInput) SetSnapshotClusterIdentifier(v string) *RestoreFromClusterSnapshotInput {
+ s.SnapshotClusterIdentifier = &v
+ return s
+}
+
+// SetSnapshotIdentifier sets the SnapshotIdentifier field's value.
+func (s *RestoreFromClusterSnapshotInput) SetSnapshotIdentifier(v string) *RestoreFromClusterSnapshotInput {
+ s.SnapshotIdentifier = &v
+ return s
+}
+
+// SetVpcSecurityGroupIds sets the VpcSecurityGroupIds field's value.
+func (s *RestoreFromClusterSnapshotInput) SetVpcSecurityGroupIds(v []*string) *RestoreFromClusterSnapshotInput {
+ s.VpcSecurityGroupIds = v
+ return s
+}
+
type RestoreFromClusterSnapshotOutput struct {
_ struct{} `type:"structure"`
@@ -11205,6 +14139,12 @@ func (s RestoreFromClusterSnapshotOutput) GoString() string {
return s.String()
}
+// SetCluster sets the Cluster field's value.
+func (s *RestoreFromClusterSnapshotOutput) SetCluster(v *Cluster) *RestoreFromClusterSnapshotOutput {
+ s.Cluster = v
+ return s
+}
+
// Describes the status of a cluster restore action. Returns null if the cluster
// was not created by restoring a snapshot.
type RestoreStatus struct {
@@ -11243,6 +14183,42 @@ func (s RestoreStatus) GoString() string {
return s.String()
}
+// SetCurrentRestoreRateInMegaBytesPerSecond sets the CurrentRestoreRateInMegaBytesPerSecond field's value.
+func (s *RestoreStatus) SetCurrentRestoreRateInMegaBytesPerSecond(v float64) *RestoreStatus {
+ s.CurrentRestoreRateInMegaBytesPerSecond = &v
+ return s
+}
+
+// SetElapsedTimeInSeconds sets the ElapsedTimeInSeconds field's value.
+func (s *RestoreStatus) SetElapsedTimeInSeconds(v int64) *RestoreStatus {
+ s.ElapsedTimeInSeconds = &v
+ return s
+}
+
+// SetEstimatedTimeToCompletionInSeconds sets the EstimatedTimeToCompletionInSeconds field's value.
+func (s *RestoreStatus) SetEstimatedTimeToCompletionInSeconds(v int64) *RestoreStatus {
+ s.EstimatedTimeToCompletionInSeconds = &v
+ return s
+}
+
+// SetProgressInMegaBytes sets the ProgressInMegaBytes field's value.
+func (s *RestoreStatus) SetProgressInMegaBytes(v int64) *RestoreStatus {
+ s.ProgressInMegaBytes = &v
+ return s
+}
+
+// SetSnapshotSizeInMegaBytes sets the SnapshotSizeInMegaBytes field's value.
+func (s *RestoreStatus) SetSnapshotSizeInMegaBytes(v int64) *RestoreStatus {
+ s.SnapshotSizeInMegaBytes = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *RestoreStatus) SetStatus(v string) *RestoreStatus {
+ s.Status = &v
+ return s
+}
+
type RestoreTableFromClusterSnapshotInput struct {
_ struct{} `type:"structure"`
@@ -11319,6 +14295,54 @@ func (s *RestoreTableFromClusterSnapshotInput) Validate() error {
return nil
}
+// SetClusterIdentifier sets the ClusterIdentifier field's value.
+func (s *RestoreTableFromClusterSnapshotInput) SetClusterIdentifier(v string) *RestoreTableFromClusterSnapshotInput {
+ s.ClusterIdentifier = &v
+ return s
+}
+
+// SetNewTableName sets the NewTableName field's value.
+func (s *RestoreTableFromClusterSnapshotInput) SetNewTableName(v string) *RestoreTableFromClusterSnapshotInput {
+ s.NewTableName = &v
+ return s
+}
+
+// SetSnapshotIdentifier sets the SnapshotIdentifier field's value.
+func (s *RestoreTableFromClusterSnapshotInput) SetSnapshotIdentifier(v string) *RestoreTableFromClusterSnapshotInput {
+ s.SnapshotIdentifier = &v
+ return s
+}
+
+// SetSourceDatabaseName sets the SourceDatabaseName field's value.
+func (s *RestoreTableFromClusterSnapshotInput) SetSourceDatabaseName(v string) *RestoreTableFromClusterSnapshotInput {
+ s.SourceDatabaseName = &v
+ return s
+}
+
+// SetSourceSchemaName sets the SourceSchemaName field's value.
+func (s *RestoreTableFromClusterSnapshotInput) SetSourceSchemaName(v string) *RestoreTableFromClusterSnapshotInput {
+ s.SourceSchemaName = &v
+ return s
+}
+
+// SetSourceTableName sets the SourceTableName field's value.
+func (s *RestoreTableFromClusterSnapshotInput) SetSourceTableName(v string) *RestoreTableFromClusterSnapshotInput {
+ s.SourceTableName = &v
+ return s
+}
+
+// SetTargetDatabaseName sets the TargetDatabaseName field's value.
+func (s *RestoreTableFromClusterSnapshotInput) SetTargetDatabaseName(v string) *RestoreTableFromClusterSnapshotInput {
+ s.TargetDatabaseName = &v
+ return s
+}
+
+// SetTargetSchemaName sets the TargetSchemaName field's value.
+func (s *RestoreTableFromClusterSnapshotInput) SetTargetSchemaName(v string) *RestoreTableFromClusterSnapshotInput {
+ s.TargetSchemaName = &v
+ return s
+}
+
type RestoreTableFromClusterSnapshotOutput struct {
_ struct{} `type:"structure"`
@@ -11336,6 +14360,12 @@ func (s RestoreTableFromClusterSnapshotOutput) GoString() string {
return s.String()
}
+// SetTableRestoreStatus sets the TableRestoreStatus field's value.
+func (s *RestoreTableFromClusterSnapshotOutput) SetTableRestoreStatus(v *TableRestoreStatus) *RestoreTableFromClusterSnapshotOutput {
+ s.TableRestoreStatus = v
+ return s
+}
+
type RevokeClusterSecurityGroupIngressInput struct {
_ struct{} `type:"structure"`
@@ -11386,6 +14416,30 @@ func (s *RevokeClusterSecurityGroupIngressInput) Validate() error {
return nil
}
+// SetCIDRIP sets the CIDRIP field's value.
+func (s *RevokeClusterSecurityGroupIngressInput) SetCIDRIP(v string) *RevokeClusterSecurityGroupIngressInput {
+ s.CIDRIP = &v
+ return s
+}
+
+// SetClusterSecurityGroupName sets the ClusterSecurityGroupName field's value.
+func (s *RevokeClusterSecurityGroupIngressInput) SetClusterSecurityGroupName(v string) *RevokeClusterSecurityGroupIngressInput {
+ s.ClusterSecurityGroupName = &v
+ return s
+}
+
+// SetEC2SecurityGroupName sets the EC2SecurityGroupName field's value.
+func (s *RevokeClusterSecurityGroupIngressInput) SetEC2SecurityGroupName(v string) *RevokeClusterSecurityGroupIngressInput {
+ s.EC2SecurityGroupName = &v
+ return s
+}
+
+// SetEC2SecurityGroupOwnerId sets the EC2SecurityGroupOwnerId field's value.
+func (s *RevokeClusterSecurityGroupIngressInput) SetEC2SecurityGroupOwnerId(v string) *RevokeClusterSecurityGroupIngressInput {
+ s.EC2SecurityGroupOwnerId = &v
+ return s
+}
+
type RevokeClusterSecurityGroupIngressOutput struct {
_ struct{} `type:"structure"`
@@ -11403,6 +14457,12 @@ func (s RevokeClusterSecurityGroupIngressOutput) GoString() string {
return s.String()
}
+// SetClusterSecurityGroup sets the ClusterSecurityGroup field's value.
+func (s *RevokeClusterSecurityGroupIngressOutput) SetClusterSecurityGroup(v *ClusterSecurityGroup) *RevokeClusterSecurityGroupIngressOutput {
+ s.ClusterSecurityGroup = v
+ return s
+}
+
type RevokeSnapshotAccessInput struct {
_ struct{} `type:"structure"`
@@ -11449,6 +14509,24 @@ func (s *RevokeSnapshotAccessInput) Validate() error {
return nil
}
+// SetAccountWithRestoreAccess sets the AccountWithRestoreAccess field's value.
+func (s *RevokeSnapshotAccessInput) SetAccountWithRestoreAccess(v string) *RevokeSnapshotAccessInput {
+ s.AccountWithRestoreAccess = &v
+ return s
+}
+
+// SetSnapshotClusterIdentifier sets the SnapshotClusterIdentifier field's value.
+func (s *RevokeSnapshotAccessInput) SetSnapshotClusterIdentifier(v string) *RevokeSnapshotAccessInput {
+ s.SnapshotClusterIdentifier = &v
+ return s
+}
+
+// SetSnapshotIdentifier sets the SnapshotIdentifier field's value.
+func (s *RevokeSnapshotAccessInput) SetSnapshotIdentifier(v string) *RevokeSnapshotAccessInput {
+ s.SnapshotIdentifier = &v
+ return s
+}
+
type RevokeSnapshotAccessOutput struct {
_ struct{} `type:"structure"`
@@ -11466,6 +14544,12 @@ func (s RevokeSnapshotAccessOutput) GoString() string {
return s.String()
}
+// SetSnapshot sets the Snapshot field's value.
+func (s *RevokeSnapshotAccessOutput) SetSnapshot(v *Snapshot) *RevokeSnapshotAccessOutput {
+ s.Snapshot = v
+ return s
+}
+
type RotateEncryptionKeyInput struct {
_ struct{} `type:"structure"`
@@ -11501,6 +14585,12 @@ func (s *RotateEncryptionKeyInput) Validate() error {
return nil
}
+// SetClusterIdentifier sets the ClusterIdentifier field's value.
+func (s *RotateEncryptionKeyInput) SetClusterIdentifier(v string) *RotateEncryptionKeyInput {
+ s.ClusterIdentifier = &v
+ return s
+}
+
type RotateEncryptionKeyOutput struct {
_ struct{} `type:"structure"`
@@ -11518,6 +14608,12 @@ func (s RotateEncryptionKeyOutput) GoString() string {
return s.String()
}
+// SetCluster sets the Cluster field's value.
+func (s *RotateEncryptionKeyOutput) SetCluster(v *Cluster) *RotateEncryptionKeyOutput {
+ s.Cluster = v
+ return s
+}
+
// Describes a snapshot.
type Snapshot struct {
_ struct{} `type:"structure"`
@@ -11650,6 +14746,180 @@ func (s Snapshot) GoString() string {
return s.String()
}
+// SetAccountsWithRestoreAccess sets the AccountsWithRestoreAccess field's value.
+func (s *Snapshot) SetAccountsWithRestoreAccess(v []*AccountWithRestoreAccess) *Snapshot {
+ s.AccountsWithRestoreAccess = v
+ return s
+}
+
+// SetActualIncrementalBackupSizeInMegaBytes sets the ActualIncrementalBackupSizeInMegaBytes field's value.
+func (s *Snapshot) SetActualIncrementalBackupSizeInMegaBytes(v float64) *Snapshot {
+ s.ActualIncrementalBackupSizeInMegaBytes = &v
+ return s
+}
+
+// SetAvailabilityZone sets the AvailabilityZone field's value.
+func (s *Snapshot) SetAvailabilityZone(v string) *Snapshot {
+ s.AvailabilityZone = &v
+ return s
+}
+
+// SetBackupProgressInMegaBytes sets the BackupProgressInMegaBytes field's value.
+func (s *Snapshot) SetBackupProgressInMegaBytes(v float64) *Snapshot {
+ s.BackupProgressInMegaBytes = &v
+ return s
+}
+
+// SetClusterCreateTime sets the ClusterCreateTime field's value.
+func (s *Snapshot) SetClusterCreateTime(v time.Time) *Snapshot {
+ s.ClusterCreateTime = &v
+ return s
+}
+
+// SetClusterIdentifier sets the ClusterIdentifier field's value.
+func (s *Snapshot) SetClusterIdentifier(v string) *Snapshot {
+ s.ClusterIdentifier = &v
+ return s
+}
+
+// SetClusterVersion sets the ClusterVersion field's value.
+func (s *Snapshot) SetClusterVersion(v string) *Snapshot {
+ s.ClusterVersion = &v
+ return s
+}
+
+// SetCurrentBackupRateInMegaBytesPerSecond sets the CurrentBackupRateInMegaBytesPerSecond field's value.
+func (s *Snapshot) SetCurrentBackupRateInMegaBytesPerSecond(v float64) *Snapshot {
+ s.CurrentBackupRateInMegaBytesPerSecond = &v
+ return s
+}
+
+// SetDBName sets the DBName field's value.
+func (s *Snapshot) SetDBName(v string) *Snapshot {
+ s.DBName = &v
+ return s
+}
+
+// SetElapsedTimeInSeconds sets the ElapsedTimeInSeconds field's value.
+func (s *Snapshot) SetElapsedTimeInSeconds(v int64) *Snapshot {
+ s.ElapsedTimeInSeconds = &v
+ return s
+}
+
+// SetEncrypted sets the Encrypted field's value.
+func (s *Snapshot) SetEncrypted(v bool) *Snapshot {
+ s.Encrypted = &v
+ return s
+}
+
+// SetEncryptedWithHSM sets the EncryptedWithHSM field's value.
+func (s *Snapshot) SetEncryptedWithHSM(v bool) *Snapshot {
+ s.EncryptedWithHSM = &v
+ return s
+}
+
+// SetEnhancedVpcRouting sets the EnhancedVpcRouting field's value.
+func (s *Snapshot) SetEnhancedVpcRouting(v bool) *Snapshot {
+ s.EnhancedVpcRouting = &v
+ return s
+}
+
+// SetEstimatedSecondsToCompletion sets the EstimatedSecondsToCompletion field's value.
+func (s *Snapshot) SetEstimatedSecondsToCompletion(v int64) *Snapshot {
+ s.EstimatedSecondsToCompletion = &v
+ return s
+}
+
+// SetKmsKeyId sets the KmsKeyId field's value.
+func (s *Snapshot) SetKmsKeyId(v string) *Snapshot {
+ s.KmsKeyId = &v
+ return s
+}
+
+// SetMasterUsername sets the MasterUsername field's value.
+func (s *Snapshot) SetMasterUsername(v string) *Snapshot {
+ s.MasterUsername = &v
+ return s
+}
+
+// SetNodeType sets the NodeType field's value.
+func (s *Snapshot) SetNodeType(v string) *Snapshot {
+ s.NodeType = &v
+ return s
+}
+
+// SetNumberOfNodes sets the NumberOfNodes field's value.
+func (s *Snapshot) SetNumberOfNodes(v int64) *Snapshot {
+ s.NumberOfNodes = &v
+ return s
+}
+
+// SetOwnerAccount sets the OwnerAccount field's value.
+func (s *Snapshot) SetOwnerAccount(v string) *Snapshot {
+ s.OwnerAccount = &v
+ return s
+}
+
+// SetPort sets the Port field's value.
+func (s *Snapshot) SetPort(v int64) *Snapshot {
+ s.Port = &v
+ return s
+}
+
+// SetRestorableNodeTypes sets the RestorableNodeTypes field's value.
+func (s *Snapshot) SetRestorableNodeTypes(v []*string) *Snapshot {
+ s.RestorableNodeTypes = v
+ return s
+}
+
+// SetSnapshotCreateTime sets the SnapshotCreateTime field's value.
+func (s *Snapshot) SetSnapshotCreateTime(v time.Time) *Snapshot {
+ s.SnapshotCreateTime = &v
+ return s
+}
+
+// SetSnapshotIdentifier sets the SnapshotIdentifier field's value.
+func (s *Snapshot) SetSnapshotIdentifier(v string) *Snapshot {
+ s.SnapshotIdentifier = &v
+ return s
+}
+
+// SetSnapshotType sets the SnapshotType field's value.
+func (s *Snapshot) SetSnapshotType(v string) *Snapshot {
+ s.SnapshotType = &v
+ return s
+}
+
+// SetSourceRegion sets the SourceRegion field's value.
+func (s *Snapshot) SetSourceRegion(v string) *Snapshot {
+ s.SourceRegion = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *Snapshot) SetStatus(v string) *Snapshot {
+ s.Status = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *Snapshot) SetTags(v []*Tag) *Snapshot {
+ s.Tags = v
+ return s
+}
+
+// SetTotalBackupSizeInMegaBytes sets the TotalBackupSizeInMegaBytes field's value.
+func (s *Snapshot) SetTotalBackupSizeInMegaBytes(v float64) *Snapshot {
+ s.TotalBackupSizeInMegaBytes = &v
+ return s
+}
+
+// SetVpcId sets the VpcId field's value.
+func (s *Snapshot) SetVpcId(v string) *Snapshot {
+ s.VpcId = &v
+ return s
+}
+
// The snapshot copy grant that grants Amazon Redshift permission to encrypt
// copied snapshots with the specified customer master key (CMK) from AWS KMS
// in the destination region.
@@ -11681,6 +14951,24 @@ func (s SnapshotCopyGrant) GoString() string {
return s.String()
}
+// SetKmsKeyId sets the KmsKeyId field's value.
+func (s *SnapshotCopyGrant) SetKmsKeyId(v string) *SnapshotCopyGrant {
+ s.KmsKeyId = &v
+ return s
+}
+
+// SetSnapshotCopyGrantName sets the SnapshotCopyGrantName field's value.
+func (s *SnapshotCopyGrant) SetSnapshotCopyGrantName(v string) *SnapshotCopyGrant {
+ s.SnapshotCopyGrantName = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *SnapshotCopyGrant) SetTags(v []*Tag) *SnapshotCopyGrant {
+ s.Tags = v
+ return s
+}
+
// Describes a subnet.
type Subnet struct {
_ struct{} `type:"structure"`
@@ -11705,6 +14993,24 @@ func (s Subnet) GoString() string {
return s.String()
}
+// SetSubnetAvailabilityZone sets the SubnetAvailabilityZone field's value.
+func (s *Subnet) SetSubnetAvailabilityZone(v *AvailabilityZone) *Subnet {
+ s.SubnetAvailabilityZone = v
+ return s
+}
+
+// SetSubnetIdentifier sets the SubnetIdentifier field's value.
+func (s *Subnet) SetSubnetIdentifier(v string) *Subnet {
+ s.SubnetIdentifier = &v
+ return s
+}
+
+// SetSubnetStatus sets the SubnetStatus field's value.
+func (s *Subnet) SetSubnetStatus(v string) *Subnet {
+ s.SubnetStatus = &v
+ return s
+}
+
// Describes the status of a RestoreTableFromClusterSnapshot operation.
type TableRestoreStatus struct {
_ struct{} `type:"structure"`
@@ -11767,6 +15073,90 @@ func (s TableRestoreStatus) GoString() string {
return s.String()
}
+// SetClusterIdentifier sets the ClusterIdentifier field's value.
+func (s *TableRestoreStatus) SetClusterIdentifier(v string) *TableRestoreStatus {
+ s.ClusterIdentifier = &v
+ return s
+}
+
+// SetMessage sets the Message field's value.
+func (s *TableRestoreStatus) SetMessage(v string) *TableRestoreStatus {
+ s.Message = &v
+ return s
+}
+
+// SetNewTableName sets the NewTableName field's value.
+func (s *TableRestoreStatus) SetNewTableName(v string) *TableRestoreStatus {
+ s.NewTableName = &v
+ return s
+}
+
+// SetProgressInMegaBytes sets the ProgressInMegaBytes field's value.
+func (s *TableRestoreStatus) SetProgressInMegaBytes(v int64) *TableRestoreStatus {
+ s.ProgressInMegaBytes = &v
+ return s
+}
+
+// SetRequestTime sets the RequestTime field's value.
+func (s *TableRestoreStatus) SetRequestTime(v time.Time) *TableRestoreStatus {
+ s.RequestTime = &v
+ return s
+}
+
+// SetSnapshotIdentifier sets the SnapshotIdentifier field's value.
+func (s *TableRestoreStatus) SetSnapshotIdentifier(v string) *TableRestoreStatus {
+ s.SnapshotIdentifier = &v
+ return s
+}
+
+// SetSourceDatabaseName sets the SourceDatabaseName field's value.
+func (s *TableRestoreStatus) SetSourceDatabaseName(v string) *TableRestoreStatus {
+ s.SourceDatabaseName = &v
+ return s
+}
+
+// SetSourceSchemaName sets the SourceSchemaName field's value.
+func (s *TableRestoreStatus) SetSourceSchemaName(v string) *TableRestoreStatus {
+ s.SourceSchemaName = &v
+ return s
+}
+
+// SetSourceTableName sets the SourceTableName field's value.
+func (s *TableRestoreStatus) SetSourceTableName(v string) *TableRestoreStatus {
+ s.SourceTableName = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *TableRestoreStatus) SetStatus(v string) *TableRestoreStatus {
+ s.Status = &v
+ return s
+}
+
+// SetTableRestoreRequestId sets the TableRestoreRequestId field's value.
+func (s *TableRestoreStatus) SetTableRestoreRequestId(v string) *TableRestoreStatus {
+ s.TableRestoreRequestId = &v
+ return s
+}
+
+// SetTargetDatabaseName sets the TargetDatabaseName field's value.
+func (s *TableRestoreStatus) SetTargetDatabaseName(v string) *TableRestoreStatus {
+ s.TargetDatabaseName = &v
+ return s
+}
+
+// SetTargetSchemaName sets the TargetSchemaName field's value.
+func (s *TableRestoreStatus) SetTargetSchemaName(v string) *TableRestoreStatus {
+ s.TargetSchemaName = &v
+ return s
+}
+
+// SetTotalDataInMegaBytes sets the TotalDataInMegaBytes field's value.
+func (s *TableRestoreStatus) SetTotalDataInMegaBytes(v int64) *TableRestoreStatus {
+ s.TotalDataInMegaBytes = &v
+ return s
+}
+
// A tag consisting of a name/value pair for a resource.
type Tag struct {
_ struct{} `type:"structure"`
@@ -11788,6 +15178,18 @@ 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
+}
+
// A tag and its associated resource.
type TaggedResource struct {
_ struct{} `type:"structure"`
@@ -11836,6 +15238,24 @@ func (s TaggedResource) GoString() string {
return s.String()
}
+// SetResourceName sets the ResourceName field's value.
+func (s *TaggedResource) SetResourceName(v string) *TaggedResource {
+ s.ResourceName = &v
+ return s
+}
+
+// SetResourceType sets the ResourceType field's value.
+func (s *TaggedResource) SetResourceType(v string) *TaggedResource {
+ s.ResourceType = &v
+ return s
+}
+
+// SetTag sets the Tag field's value.
+func (s *TaggedResource) SetTag(v *Tag) *TaggedResource {
+ s.Tag = v
+ return s
+}
+
// Describes the members of a VPC security group.
type VpcSecurityGroupMembership struct {
_ struct{} `type:"structure"`
@@ -11857,6 +15277,18 @@ func (s VpcSecurityGroupMembership) GoString() string {
return s.String()
}
+// SetStatus sets the Status field's value.
+func (s *VpcSecurityGroupMembership) SetStatus(v string) *VpcSecurityGroupMembership {
+ s.Status = &v
+ return s
+}
+
+// SetVpcSecurityGroupId sets the VpcSecurityGroupId field's value.
+func (s *VpcSecurityGroupMembership) SetVpcSecurityGroupId(v string) *VpcSecurityGroupMembership {
+ s.VpcSecurityGroupId = &v
+ return s
+}
+
const (
// ParameterApplyTypeStatic is a ParameterApplyType enum value
ParameterApplyTypeStatic = "static"
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 9c6ba2f..f52b93c 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
@@ -58,20 +58,19 @@ func (c *Route53) AssociateVPCWithHostedZoneRequest(input *AssociateVPCWithHoste
//
// Associates an Amazon VPC with a private hosted zone.
//
-// The VPC and the hosted zone must already exist, and you must have created
-// a private hosted zone. You cannot convert a public hosted zone into a private
-// hosted zone.
+// To perform the association, the VPC and the private hosted zone must already
+// exist. You can't convert a public hosted zone into a private hosted zone.
//
// Send a POST request to the /2013-04-01/hostedzone/hosted zone ID/associatevpc
-// resource. The request body must include an XML document with a AssociateVPCWithHostedZoneRequest
-// element. The response returns the AssociateVPCWithHostedZoneResponse element.
-//
-// If you used different accounts to create the hosted zone and to create the
-// Amazon VPCs that you want to associate with the hosted zone, we need to update
-// account permissions for you. For more information, see Associating Amazon
-// VPCs and Private Hosted Zones That You Create with Different AWS Accounts
-// (http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/hosted-zone-private-associate-vpcs-different-accounts.html)
-// in the Amazon Route 53 Developer Guide.
+// resource. The request body must include a document with an AssociateVPCWithHostedZoneRequest
+// element. The response contains a ChangeInfo data type that you can use to
+// track the progress of the request.
+//
+// If you want to associate a VPC that was created by using one AWS account
+// with a private hosted zone that was created by using a different account,
+// the AWS account that created the private hosted zone must first submit a
+// CreateVPCAssociationAuthorization request. Then the account that created
+// the VPC must submit an AssociateVPCWithHostedZone 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
@@ -84,6 +83,10 @@ func (c *Route53) AssociateVPCWithHostedZoneRequest(input *AssociateVPCWithHoste
// * NoSuchHostedZone
// No hosted zone exists with the ID that you specified.
//
+// * NotAuthorizedException
+// Associating the specified VPC with the specified hosted zone has not been
+// authorized.
+//
// * InvalidVPCId
// The hosted zone you are trying to create for your VPC_ID does not belong
// to you. Amazon Route 53 returns this error when the VPC specified by VPCId
@@ -93,13 +96,14 @@ func (c *Route53) AssociateVPCWithHostedZoneRequest(input *AssociateVPCWithHoste
// The input is not valid.
//
// * PublicZoneVPCAssociation
-// The hosted zone specified in HostedZoneId is a public hosted zone.
+// You're trying to associate a VPC with a public hosted zone. Amazon Route
+// 53 doesn't support associating a VPC with a public hosted zone.
//
// * ConflictingDomainExists
// You specified an Amazon VPC that you're already using for another hosted
// zone, and the domain that you specified for one of the hosted zones is a
// subdomain of the domain that you specified for the other hosted zone. For
-// example, you cannot use the same Amazon VPC for the hosted zones for example.com
+// example, you can't use the same Amazon VPC for the hosted zones for example.com
// and test.example.com.
//
// * LimitsExceeded
@@ -176,7 +180,7 @@ func (c *Route53) ChangeResourceRecordSetsRequest(input *ChangeResourceRecordSet
// fails, then both changes (plus any other changes in the batch) fail, and
// the original CNAME record continues to exist.
//
-// Due to the nature of transactional changes, you cannot delete the same resource
+// Due to the nature of transactional changes, you can't delete the same resource
// record set more than once in a single change batch. If you attempt to delete
// the same change batch more than once, Amazon Route 53 returns an InvalidChangeBatch
// error.
@@ -195,11 +199,22 @@ func (c *Route53) ChangeResourceRecordSetsRequest(input *ChangeResourceRecordSet
//
// * CREATE: Creates a resource record set that has the specified values.
//
-// * DELETE: Deletes an existing resource record set that has the specified
-// values for Name, Type, Set Identifier (for code latency, weighted, geolocation,
-// and failover resource record sets), and TTL (except alias resource record
-// sets, for which the TTL is determined by the AWS resource you're routing
-// queries to).
+// * DELETE: Deletes an existing resource record set that has the applicable
+// values for the following elements:
+//
+// Name: required to delete any resource record set
+//
+// Type: required to delete any resource record set
+//
+// AliasTarget, DNSName, EvaluateTargetHealth, and HostedZoneId: required to
+// delete an alias resource record set
+//
+// SetIdentifier: required to delete a failover, geolocation, latency, or weighted
+// resource record set
+//
+// TTL: required to delete any resource record set except an alias resource
+// record set (For alias resource record sets, the TTL is determined by the
+// AWS resource tat you're routing traffic to.)
//
// * UPSERT: If a resource record set does not already exist, AWS creates
// it. If a resource set does exist, Amazon Route 53 updates it with the
@@ -391,17 +406,17 @@ func (c *Route53) CreateHealthCheckRequest(input *CreateHealthCheckInput) (req *
// Creates a new health check.
//
// To create a new health check, send a POST request to the /2013-04-01/healthcheck
-// resource. The request body must include an XML document with a CreateHealthCheckRequest
+// resource. The request body must include a document with a CreateHealthCheckRequest
// element. The response returns the CreateHealthCheckResponse element, containing
// the health check ID specified when adding health check to a resource record
// set. For information about adding health checks to resource record sets,
// see ResourceRecordSet$HealthCheckId in ChangeResourceRecordSets.
//
-// If you are registering Amazon EC2 instances with an Elastic Load Balancing
-// (ELB) load balancer, do not create Amazon Route 53 health checks for the
-// Amazon EC2 instances. When you register an Amazon EC2 instance with a load
-// balancer, you configure settings for an ELB health check, which performs
-// a similar function to an Amazon Route 53 health check.
+// If you are registering EC2 instances with an Elastic Load Balancing (ELB)
+// load balancer, do not create Amazon Route 53 health checks for the EC2 instances.
+// When you register an EC2 instance with a load balancer, you configure settings
+// for an ELB health check, which performs a similar function to an Amazon Route
+// 53 health check.
//
// You can associate health checks with failover resource record sets in a private
// hosted zone. Note the following:
@@ -419,7 +434,7 @@ func (c *Route53) CreateHealthCheckRequest(input *CreateHealthCheckInput) (req *
// of the Amazon EC2 StatusCheckFailed metric, add an alarm to the metric,
// and then create a health check that is based on the state of the alarm.
// For information about creating CloudWatch metrics and alarms by using
-// the CloudWatch console, see the Amazon CloudWatch Developer Guide (http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/WhatIsCloudWatch.html).
+// the CloudWatch console, see the Amazon CloudWatch User Guide (http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/WhatIsCloudWatch.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
@@ -498,21 +513,21 @@ func (c *Route53) CreateHostedZoneRequest(input *CreateHostedZoneInput) (req *re
// (DNS) routes traffic on the Internet for a domain, such as example.com, and
// its subdomains.
//
-// Public hosted zones cannot be converted to a private hosted zone or vice
-// versa. Instead, create a new hosted zone with the same name and create new
-// resource record sets.
+// Public hosted zones can't be converted to a private hosted zone or vice versa.
+// Instead, create a new hosted zone with the same name and create new resource
+// record sets.
//
// Send a POST request to the /2013-04-01/hostedzone resource. The request body
-// must include an XML document with a CreateHostedZoneRequest element. The
-// response returns the CreateHostedZoneResponse element containing metadata
-// about the hosted zone.
+// must include a document with a CreateHostedZoneRequest element. The response
+// returns the CreateHostedZoneResponse element containing metadata about the
+// hosted zone.
//
// Fore more information about charges for hosted zones, see Amazon Route 53
// Pricing (http://aws.amazon.com/route53/pricing/).
//
// Note the following:
//
-// * You cannot create a hosted zone for a top-level domain (TLD).
+// * You can't create a hosted zone for a top-level domain (TLD).
//
// * Amazon Route 53 automatically creates a default SOA record and four
// NS records for the zone. For more information about SOA and NS records,
@@ -552,7 +567,7 @@ func (c *Route53) CreateHostedZoneRequest(input *CreateHostedZoneInput) (req *re
// CallerReference.
//
// * TooManyHostedZones
-// This hosted zone cannot be created because the hosted zone limit is exceeded.
+// 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.
//
@@ -575,7 +590,7 @@ func (c *Route53) CreateHostedZoneRequest(input *CreateHostedZoneInput) (req *re
// You specified an Amazon VPC that you're already using for another hosted
// zone, and the domain that you specified for one of the hosted zones is a
// subdomain of the domain that you specified for the other hosted zone. For
-// example, you cannot use the same Amazon VPC for the hosted zones for example.com
+// example, you can't use the same Amazon VPC for the hosted zones for example.com
// and test.example.com.
//
// * NoSuchDelegationSet
@@ -640,10 +655,9 @@ func (c *Route53) CreateReusableDelegationSetRequest(input *CreateReusableDelega
// marks the delegation set associated with that zone as reusable
//
// Send a POST request to the /2013-04-01/delegationset resource. The request
-// body must include an XML document with a CreateReusableDelegationSetRequest
-// element.
+// body must include a document with a CreateReusableDelegationSetRequest element.
//
-// A reusable delegation set cannot be associated with a private hosted zone/
+// A reusable delegation set can't be associated with a private hosted zone/
//
// For more information, including a procedure on how to create and configure
// a reusable delegation set (also known as white label name servers), see Configuring
@@ -665,7 +679,7 @@ func (c *Route53) CreateReusableDelegationSetRequest(input *CreateReusableDelega
// The limits specified for a resource have been exceeded.
//
// * HostedZoneNotFound
-// The specified HostedZone cannot be found.
+// The specified HostedZone can't be found.
//
// * InvalidArgument
// Parameter name and problem.
@@ -947,6 +961,98 @@ func (c *Route53) CreateTrafficPolicyVersion(input *CreateTrafficPolicyVersionIn
return out, err
}
+const opCreateVPCAssociationAuthorization = "CreateVPCAssociationAuthorization"
+
+// CreateVPCAssociationAuthorizationRequest generates a "aws/request.Request" representing the
+// client's request for the CreateVPCAssociationAuthorization operation. The "output" return
+// value can be used to capture response data after the request's "Send" method
+// is called.
+//
+// See CreateVPCAssociationAuthorization for usage and error information.
+//
+// Creating a request object using this method should be used when you want to inject
+// custom logic into the request's lifecycle using a custom handler, or if you want to
+// access properties on the request object before or after sending the request. If
+// you just want the service response, call the CreateVPCAssociationAuthorization method directly
+// instead.
+//
+// Note: You must call the "Send" method on the returned request object in order
+// to execute the request.
+//
+// // Example sending a request using the CreateVPCAssociationAuthorizationRequest method.
+// req, resp := client.CreateVPCAssociationAuthorizationRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+func (c *Route53) CreateVPCAssociationAuthorizationRequest(input *CreateVPCAssociationAuthorizationInput) (req *request.Request, output *CreateVPCAssociationAuthorizationOutput) {
+ op := &request.Operation{
+ Name: opCreateVPCAssociationAuthorization,
+ HTTPMethod: "POST",
+ HTTPPath: "/2013-04-01/hostedzone/{Id}/authorizevpcassociation",
+ }
+
+ if input == nil {
+ input = &CreateVPCAssociationAuthorizationInput{}
+ }
+
+ req = c.newRequest(op, input, output)
+ output = &CreateVPCAssociationAuthorizationOutput{}
+ req.Data = output
+ return
+}
+
+// CreateVPCAssociationAuthorization API operation for Amazon Route 53.
+//
+// Authorizes the AWS account that created a specified VPC to submit an AssociateVPCWithHostedZone
+// request to associate the VPC with a specified hosted zone that was created
+// by a different account. To submit a CreateVPCAssociationAuthorization request,
+// you must use the account that created the hosted zone. After you authorize
+// the association, use the account that created the VPC to submit an AssociateVPCWithHostedZone
+// request.
+//
+// If you want to associate multiple VPCs that you created by using one account
+// with a hosted zone that you created by using a different account, you must
+// submit one authorization request for each VPC.
+//
+// Send a POST request to the /2013-04-01/hostedzone/hosted zone ID/authorizevpcassociation
+// resource. The request body must include a document with a CreateVPCAssociationAuthorizationRequest
+// element. The response contains information about the 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 Amazon Route 53's
+// API operation CreateVPCAssociationAuthorization for usage and error information.
+//
+// Returned Error Codes:
+// * TooManyVPCAssociationAuthorizations
+// You've created the maximum number of authorizations that can be created for
+// the specified hosted zone. To authorize another VPC to be associated with
+// the hosted zone, submit a DeleteVPCAssociationAuthorization request to remove
+// an existing authorization. To get a list of existing authorizations, submit
+// a ListVPCAssociationAuthorizations request.
+//
+// * NoSuchHostedZone
+// No hosted zone exists with the ID that you specified.
+//
+// * InvalidVPCId
+// The hosted zone you are trying to create for your VPC_ID does not belong
+// to you. Amazon Route 53 returns this error when the VPC specified by VPCId
+// does not belong to you.
+//
+// * InvalidInput
+// The input is not valid.
+//
+func (c *Route53) CreateVPCAssociationAuthorization(input *CreateVPCAssociationAuthorizationInput) (*CreateVPCAssociationAuthorizationOutput, error) {
+ req, out := c.CreateVPCAssociationAuthorizationRequest(input)
+ err := req.Send()
+ return out, err
+}
+
const opDeleteHealthCheck = "DeleteHealthCheck"
// DeleteHealthCheckRequest generates a "aws/request.Request" representing the
@@ -998,7 +1104,7 @@ func (c *Route53) DeleteHealthCheckRequest(input *DeleteHealthCheckInput) (req *
// Amazon Route 53 does not prevent you from deleting a health check even if
// the health check is associated with one or more resource record sets. If
// you delete a health check and you don't update the associated resource record
-// sets, the future status of the health check cannot be predicted and may change.
+// sets, the future status of the health check can't be predicted and may change.
// This will affect the routing of DNS queries for your DNS failover configuration.
// For more information, see Replacing and Deleting Health Checks (http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/health-checks-creating-deleting.html#health-checks-deleting.html)
// in the Amazon Route 53 Developer Guide.
@@ -1357,69 +1463,78 @@ func (c *Route53) DeleteTrafficPolicyInstance(input *DeleteTrafficPolicyInstance
return out, err
}
-const opDisassociateVPCFromHostedZone = "DisassociateVPCFromHostedZone"
+const opDeleteVPCAssociationAuthorization = "DeleteVPCAssociationAuthorization"
-// DisassociateVPCFromHostedZoneRequest generates a "aws/request.Request" representing the
-// client's request for the DisassociateVPCFromHostedZone operation. The "output" return
+// DeleteVPCAssociationAuthorizationRequest generates a "aws/request.Request" representing the
+// client's request for the DeleteVPCAssociationAuthorization operation. The "output" return
// value can be used to capture response data after the request's "Send" method
// is called.
//
-// See DisassociateVPCFromHostedZone for usage and error information.
+// See DeleteVPCAssociationAuthorization for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
-// you just want the service response, call the DisassociateVPCFromHostedZone method directly
+// you just want the service response, call the DeleteVPCAssociationAuthorization method directly
// instead.
//
// Note: You must call the "Send" method on the returned request object in order
// to execute the request.
//
-// // Example sending a request using the DisassociateVPCFromHostedZoneRequest method.
-// req, resp := client.DisassociateVPCFromHostedZoneRequest(params)
+// // Example sending a request using the DeleteVPCAssociationAuthorizationRequest method.
+// req, resp := client.DeleteVPCAssociationAuthorizationRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-func (c *Route53) DisassociateVPCFromHostedZoneRequest(input *DisassociateVPCFromHostedZoneInput) (req *request.Request, output *DisassociateVPCFromHostedZoneOutput) {
+func (c *Route53) DeleteVPCAssociationAuthorizationRequest(input *DeleteVPCAssociationAuthorizationInput) (req *request.Request, output *DeleteVPCAssociationAuthorizationOutput) {
op := &request.Operation{
- Name: opDisassociateVPCFromHostedZone,
+ Name: opDeleteVPCAssociationAuthorization,
HTTPMethod: "POST",
- HTTPPath: "/2013-04-01/hostedzone/{Id}/disassociatevpc",
+ HTTPPath: "/2013-04-01/hostedzone/{Id}/deauthorizevpcassociation",
}
if input == nil {
- input = &DisassociateVPCFromHostedZoneInput{}
+ input = &DeleteVPCAssociationAuthorizationInput{}
}
req = c.newRequest(op, input, output)
- output = &DisassociateVPCFromHostedZoneOutput{}
+ output = &DeleteVPCAssociationAuthorizationOutput{}
req.Data = output
return
}
-// DisassociateVPCFromHostedZone API operation for Amazon Route 53.
+// DeleteVPCAssociationAuthorization API operation for Amazon Route 53.
//
-// Disassociates a VPC from a Amazon Route 53 private hosted zone.
+// Removes authorization to submit an AssociateVPCWithHostedZone request to
+// associate a specified VPC with a hosted zone that was created by a different
+// account. You must use the account that created the hosted zone to submit
+// a DeleteVPCAssociationAuthorization request.
//
-// Send a POST request to the /2013-04-01/hostedzone/hosted zone ID/disassociatevpc
-// resource. The request body must include an XML document with a DisassociateVPCFromHostedZoneRequest
-// element. The response returns the DisassociateVPCFromHostedZoneResponse element.
+// Sending this request only prevents the AWS account that created the VPC from
+// associating the VPC with the Amazon Route 53 hosted zone in the future. If
+// the VPC is already associated with the hosted zone, DeleteVPCAssociationAuthorization
+// won't disassociate the VPC from the hosted zone. If you want to delete an
+// existing association, use DisassociateVPCFromHostedZone.
//
-// You can only disassociate a VPC from a private hosted zone when two or more
-// VPCs are associated with that hosted zone. You cannot convert a private hosted
-// zone into a public hosted zone.
+// Send a DELETE request to the /2013-04-01/hostedzone/hosted zone ID/deauthorizevpcassociation
+// resource. The request body must include a document with a DeleteVPCAssociationAuthorizationRequest
+// element.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type 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 DisassociateVPCFromHostedZone for usage and error information.
+// API operation DeleteVPCAssociationAuthorization for usage and error information.
//
// Returned Error Codes:
+// * VPCAssociationAuthorizationNotFound
+// The VPC that you specified is not authorized to be associated with the hosted
+// zone.
+//
// * NoSuchHostedZone
// No hosted zone exists with the ID that you specified.
//
@@ -1428,154 +1543,166 @@ func (c *Route53) DisassociateVPCFromHostedZoneRequest(input *DisassociateVPCFro
// to you. Amazon Route 53 returns this error when the VPC specified by VPCId
// does not belong to you.
//
-// * VPCAssociationNotFound
-// The specified VPC and hosted zone are not currently associated.
-//
-// * LastVPCAssociation
-// Only one VPC is currently associated with the hosted zone. You cannot convert
-// a private hosted zone into a public hosted zone by disassociating the last
-// VPC from a hosted zone.
-//
// * InvalidInput
// The input is not valid.
//
-func (c *Route53) DisassociateVPCFromHostedZone(input *DisassociateVPCFromHostedZoneInput) (*DisassociateVPCFromHostedZoneOutput, error) {
- req, out := c.DisassociateVPCFromHostedZoneRequest(input)
+func (c *Route53) DeleteVPCAssociationAuthorization(input *DeleteVPCAssociationAuthorizationInput) (*DeleteVPCAssociationAuthorizationOutput, error) {
+ req, out := c.DeleteVPCAssociationAuthorizationRequest(input)
err := req.Send()
return out, err
}
-const opGetChange = "GetChange"
+const opDisassociateVPCFromHostedZone = "DisassociateVPCFromHostedZone"
-// GetChangeRequest generates a "aws/request.Request" representing the
-// client's request for the GetChange operation. The "output" return
+// DisassociateVPCFromHostedZoneRequest generates a "aws/request.Request" representing the
+// client's request for the DisassociateVPCFromHostedZone operation. The "output" return
// value can be used to capture response data after the request's "Send" method
// is called.
//
-// See GetChange for usage and error information.
+// See DisassociateVPCFromHostedZone for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
-// you just want the service response, call the GetChange method directly
+// you just want the service response, call the DisassociateVPCFromHostedZone method directly
// instead.
//
// Note: You must call the "Send" method on the returned request object in order
// to execute the request.
//
-// // Example sending a request using the GetChangeRequest method.
-// req, resp := client.GetChangeRequest(params)
+// // Example sending a request using the DisassociateVPCFromHostedZoneRequest method.
+// req, resp := client.DisassociateVPCFromHostedZoneRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-func (c *Route53) GetChangeRequest(input *GetChangeInput) (req *request.Request, output *GetChangeOutput) {
+func (c *Route53) DisassociateVPCFromHostedZoneRequest(input *DisassociateVPCFromHostedZoneInput) (req *request.Request, output *DisassociateVPCFromHostedZoneOutput) {
op := &request.Operation{
- Name: opGetChange,
- HTTPMethod: "GET",
- HTTPPath: "/2013-04-01/change/{Id}",
+ Name: opDisassociateVPCFromHostedZone,
+ HTTPMethod: "POST",
+ HTTPPath: "/2013-04-01/hostedzone/{Id}/disassociatevpc",
}
if input == nil {
- input = &GetChangeInput{}
+ input = &DisassociateVPCFromHostedZoneInput{}
}
req = c.newRequest(op, input, output)
- output = &GetChangeOutput{}
+ output = &DisassociateVPCFromHostedZoneOutput{}
req.Data = output
return
}
-// GetChange API operation for Amazon Route 53.
+// DisassociateVPCFromHostedZone API operation for Amazon Route 53.
//
-// Returns the current status of a change batch request. The status is one of
-// the following values:
+// Disassociates a VPC from a Amazon Route 53 private hosted zone.
//
-// * PENDING indicates that the changes in this request have not replicated
-// to all Amazon Route 53 DNS servers. This is the initial status of all
-// change batch requests.
+// You can't disassociate the last VPC from a private hosted zone.
//
-// * INSYNC indicates that the changes have replicated to all Amazon Route
-// 53 DNS servers.
+// Send a POST request to the /2013-04-01/hostedzone/hosted zone ID/disassociatevpc
+// resource. The request body must include a document with a DisassociateVPCFromHostedZoneRequest
+// element. The response includes a DisassociateVPCFromHostedZoneResponse element.
+//
+// You can't disassociate a VPC from a private hosted zone when only one VPC
+// is associated with the hosted zone. You also can't convert a private hosted
+// zone into a public 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
// the error.
//
// See the AWS API reference guide for Amazon Route 53's
-// API operation GetChange for usage and error information.
+// API operation DisassociateVPCFromHostedZone for usage and error information.
//
// Returned Error Codes:
-// * NoSuchChange
-// A change with the specified change ID does not exist.
+// * NoSuchHostedZone
+// No hosted zone exists with the ID that you specified.
+//
+// * InvalidVPCId
+// The hosted zone you are trying to create for your VPC_ID does not belong
+// to you. Amazon Route 53 returns this error when the VPC specified by VPCId
+// does not belong to you.
+//
+// * VPCAssociationNotFound
+// The specified VPC and hosted zone are not currently associated.
+//
+// * LastVPCAssociation
+// The VPC that you're trying to disassociate from the private hosted zone is
+// the last VPC that is associated with the hosted zone. Amazon Route 53 doesn't
+// support disassociating the last VPC from a hosted zone.
//
// * InvalidInput
// The input is not valid.
//
-func (c *Route53) GetChange(input *GetChangeInput) (*GetChangeOutput, error) {
- req, out := c.GetChangeRequest(input)
+func (c *Route53) DisassociateVPCFromHostedZone(input *DisassociateVPCFromHostedZoneInput) (*DisassociateVPCFromHostedZoneOutput, error) {
+ req, out := c.DisassociateVPCFromHostedZoneRequest(input)
err := req.Send()
return out, err
}
-const opGetChangeDetails = "GetChangeDetails"
+const opGetChange = "GetChange"
-// GetChangeDetailsRequest generates a "aws/request.Request" representing the
-// client's request for the GetChangeDetails operation. The "output" return
+// GetChangeRequest generates a "aws/request.Request" representing the
+// client's request for the GetChange operation. The "output" return
// value can be used to capture response data after the request's "Send" method
// is called.
//
-// See GetChangeDetails for usage and error information.
+// See GetChange for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
-// you just want the service response, call the GetChangeDetails method directly
+// you just want the service response, call the GetChange method directly
// instead.
//
// Note: You must call the "Send" method on the returned request object in order
// to execute the request.
//
-// // Example sending a request using the GetChangeDetailsRequest method.
-// req, resp := client.GetChangeDetailsRequest(params)
+// // Example sending a request using the GetChangeRequest method.
+// req, resp := client.GetChangeRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-func (c *Route53) GetChangeDetailsRequest(input *GetChangeDetailsInput) (req *request.Request, output *GetChangeDetailsOutput) {
- if c.Client.Config.Logger != nil {
- c.Client.Config.Logger.Log("This operation, GetChangeDetails, has been deprecated")
- }
+func (c *Route53) GetChangeRequest(input *GetChangeInput) (req *request.Request, output *GetChangeOutput) {
op := &request.Operation{
- Name: opGetChangeDetails,
+ Name: opGetChange,
HTTPMethod: "GET",
- HTTPPath: "/2013-04-01/changedetails/{Id}",
+ HTTPPath: "/2013-04-01/change/{Id}",
}
if input == nil {
- input = &GetChangeDetailsInput{}
+ input = &GetChangeInput{}
}
req = c.newRequest(op, input, output)
- output = &GetChangeDetailsOutput{}
+ output = &GetChangeOutput{}
req.Data = output
return
}
-// GetChangeDetails API operation for Amazon Route 53.
+// GetChange API operation for Amazon Route 53.
+//
+// Returns the current status of a change batch request. The status is one of
+// the following values:
+//
+// * PENDING indicates that the changes in this request have not replicated
+// to all Amazon Route 53 DNS servers. This is the initial status of all
+// change batch requests.
//
-// Returns the status and changes of a change batch request.
+// * INSYNC indicates that the changes have replicated to all Amazon Route
+// 53 DNS servers.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type 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 GetChangeDetails for usage and error information.
+// API operation GetChange for usage and error information.
//
// Returned Error Codes:
// * NoSuchChange
@@ -1584,8 +1711,8 @@ func (c *Route53) GetChangeDetailsRequest(input *GetChangeDetailsInput) (req *re
// * InvalidInput
// The input is not valid.
//
-func (c *Route53) GetChangeDetails(input *GetChangeDetailsInput) (*GetChangeDetailsOutput, error) {
- req, out := c.GetChangeDetailsRequest(input)
+func (c *Route53) GetChange(input *GetChangeInput) (*GetChangeOutput, error) {
+ req, out := c.GetChangeRequest(input)
err := req.Send()
return out, err
}
@@ -2414,297 +2541,155 @@ func (c *Route53) GetTrafficPolicyInstanceCount(input *GetTrafficPolicyInstanceC
return out, err
}
-const opListChangeBatchesByHostedZone = "ListChangeBatchesByHostedZone"
+const opListGeoLocations = "ListGeoLocations"
-// ListChangeBatchesByHostedZoneRequest generates a "aws/request.Request" representing the
-// client's request for the ListChangeBatchesByHostedZone operation. The "output" return
+// ListGeoLocationsRequest generates a "aws/request.Request" representing the
+// client's request for the ListGeoLocations operation. The "output" return
// value can be used to capture response data after the request's "Send" method
// is called.
//
-// See ListChangeBatchesByHostedZone for usage and error information.
+// See ListGeoLocations for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
-// you just want the service response, call the ListChangeBatchesByHostedZone method directly
+// you just want the service response, call the ListGeoLocations method directly
// instead.
//
// Note: You must call the "Send" method on the returned request object in order
// to execute the request.
//
-// // Example sending a request using the ListChangeBatchesByHostedZoneRequest method.
-// req, resp := client.ListChangeBatchesByHostedZoneRequest(params)
+// // Example sending a request using the ListGeoLocationsRequest method.
+// req, resp := client.ListGeoLocationsRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-func (c *Route53) ListChangeBatchesByHostedZoneRequest(input *ListChangeBatchesByHostedZoneInput) (req *request.Request, output *ListChangeBatchesByHostedZoneOutput) {
- if c.Client.Config.Logger != nil {
- c.Client.Config.Logger.Log("This operation, ListChangeBatchesByHostedZone, has been deprecated")
- }
+func (c *Route53) ListGeoLocationsRequest(input *ListGeoLocationsInput) (req *request.Request, output *ListGeoLocationsOutput) {
op := &request.Operation{
- Name: opListChangeBatchesByHostedZone,
+ Name: opListGeoLocations,
HTTPMethod: "GET",
- HTTPPath: "/2013-04-01/hostedzone/{Id}/changes",
+ HTTPPath: "/2013-04-01/geolocations",
}
if input == nil {
- input = &ListChangeBatchesByHostedZoneInput{}
+ input = &ListGeoLocationsInput{}
}
req = c.newRequest(op, input, output)
- output = &ListChangeBatchesByHostedZoneOutput{}
+ output = &ListGeoLocationsOutput{}
req.Data = output
return
}
-// ListChangeBatchesByHostedZone API operation for Amazon Route 53.
+// ListGeoLocations API operation for Amazon Route 53.
+//
+// Retrieves a list of supported geo locations. Send a GET request to the /2013-04-01/geolocations
+// resource. The response to this request includes a GeoLocationDetailsList
+// element for each location that Amazon Route 53 supports.
//
-// Gets the list of ChangeBatches in a given time period for a given hosted
-// zone.
+// Countries are listed first, and continents are listed last. If Amazon Route
+// 53 supports subdivisions for a country (for example, states or provinces),
+// the subdivisions for that country are listed in alphabetical order immediately
+// after the corresponding country.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type 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 ListChangeBatchesByHostedZone for usage and error information.
+// API operation ListGeoLocations for usage and error information.
//
// Returned Error Codes:
-// * NoSuchHostedZone
-// No hosted zone exists with the ID that you specified.
-//
// * InvalidInput
// The input is not valid.
//
-func (c *Route53) ListChangeBatchesByHostedZone(input *ListChangeBatchesByHostedZoneInput) (*ListChangeBatchesByHostedZoneOutput, error) {
- req, out := c.ListChangeBatchesByHostedZoneRequest(input)
+func (c *Route53) ListGeoLocations(input *ListGeoLocationsInput) (*ListGeoLocationsOutput, error) {
+ req, out := c.ListGeoLocationsRequest(input)
err := req.Send()
return out, err
}
-const opListChangeBatchesByRRSet = "ListChangeBatchesByRRSet"
+const opListHealthChecks = "ListHealthChecks"
-// ListChangeBatchesByRRSetRequest generates a "aws/request.Request" representing the
-// client's request for the ListChangeBatchesByRRSet operation. The "output" return
+// ListHealthChecksRequest generates a "aws/request.Request" representing the
+// client's request for the ListHealthChecks operation. The "output" return
// value can be used to capture response data after the request's "Send" method
// is called.
//
-// See ListChangeBatchesByRRSet for usage and error information.
+// See ListHealthChecks for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
-// you just want the service response, call the ListChangeBatchesByRRSet method directly
+// you just want the service response, call the ListHealthChecks method directly
// instead.
//
// Note: You must call the "Send" method on the returned request object in order
// to execute the request.
//
-// // Example sending a request using the ListChangeBatchesByRRSetRequest method.
-// req, resp := client.ListChangeBatchesByRRSetRequest(params)
+// // Example sending a request using the ListHealthChecksRequest method.
+// req, resp := client.ListHealthChecksRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-func (c *Route53) ListChangeBatchesByRRSetRequest(input *ListChangeBatchesByRRSetInput) (req *request.Request, output *ListChangeBatchesByRRSetOutput) {
- if c.Client.Config.Logger != nil {
- c.Client.Config.Logger.Log("This operation, ListChangeBatchesByRRSet, has been deprecated")
- }
+func (c *Route53) ListHealthChecksRequest(input *ListHealthChecksInput) (req *request.Request, output *ListHealthChecksOutput) {
op := &request.Operation{
- Name: opListChangeBatchesByRRSet,
+ Name: opListHealthChecks,
HTTPMethod: "GET",
- HTTPPath: "/2013-04-01/hostedzone/{Id}/rrsChanges",
+ HTTPPath: "/2013-04-01/healthcheck",
+ Paginator: &request.Paginator{
+ InputTokens: []string{"Marker"},
+ OutputTokens: []string{"NextMarker"},
+ LimitToken: "MaxItems",
+ TruncationToken: "IsTruncated",
+ },
}
if input == nil {
- input = &ListChangeBatchesByRRSetInput{}
+ input = &ListHealthChecksInput{}
}
req = c.newRequest(op, input, output)
- output = &ListChangeBatchesByRRSetOutput{}
+ output = &ListHealthChecksOutput{}
req.Data = output
return
}
-// ListChangeBatchesByRRSet API operation for Amazon Route 53.
+// ListHealthChecks API operation for Amazon Route 53.
+//
+// Retrieve a list of your health checks. Send a GET request to the /2013-04-01/healthcheck
+// resource. The response to this request includes a HealthChecks element with
+// zero or more HealthCheck child elements. By default, the list of health checks
+// is displayed on a single page. You can control the length of the page that
+// is displayed by using the MaxItems parameter. You can use the Marker parameter
+// to control the health check that the list begins with.
//
-// Gets the list of ChangeBatches in a given time period for a given hosted
-// zone and RRSet.
+// For information about listing health checks using the Amazon Route 53 console,
+// see Amazon Route 53 Health Checks and DNS Failover (http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover.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 Route 53's
-// API operation ListChangeBatchesByRRSet for usage and error information.
+// API operation ListHealthChecks for usage and error information.
//
// Returned Error Codes:
-// * NoSuchHostedZone
-// No hosted zone exists with the ID that you specified.
-//
// * InvalidInput
// The input is not valid.
//
-func (c *Route53) ListChangeBatchesByRRSet(input *ListChangeBatchesByRRSetInput) (*ListChangeBatchesByRRSetOutput, error) {
- req, out := c.ListChangeBatchesByRRSetRequest(input)
- err := req.Send()
- return out, err
-}
-
-const opListGeoLocations = "ListGeoLocations"
-
-// ListGeoLocationsRequest generates a "aws/request.Request" representing the
-// client's request for the ListGeoLocations operation. The "output" return
-// value can be used to capture response data after the request's "Send" method
-// is called.
-//
-// See ListGeoLocations for usage and error information.
-//
-// Creating a request object using this method should be used when you want to inject
-// custom logic into the request's lifecycle using a custom handler, or if you want to
-// access properties on the request object before or after sending the request. If
-// you just want the service response, call the ListGeoLocations method directly
-// instead.
-//
-// Note: You must call the "Send" method on the returned request object in order
-// to execute the request.
-//
-// // Example sending a request using the ListGeoLocationsRequest method.
-// req, resp := client.ListGeoLocationsRequest(params)
-//
-// err := req.Send()
-// if err == nil { // resp is now filled
-// fmt.Println(resp)
-// }
-//
-func (c *Route53) ListGeoLocationsRequest(input *ListGeoLocationsInput) (req *request.Request, output *ListGeoLocationsOutput) {
- op := &request.Operation{
- Name: opListGeoLocations,
- HTTPMethod: "GET",
- HTTPPath: "/2013-04-01/geolocations",
- }
-
- if input == nil {
- input = &ListGeoLocationsInput{}
- }
-
- req = c.newRequest(op, input, output)
- output = &ListGeoLocationsOutput{}
- req.Data = output
- return
-}
-
-// ListGeoLocations API operation for Amazon Route 53.
-//
-// Retrieves a list of supported geo locations. Send a GET request to the /2013-04-01/geolocations
-// resource. The response to this request includes a GeoLocationDetailsList
-// element for each location that Amazon Route 53 supports.
-//
-// Countries are listed first, and continents are listed last. If Amazon Route
-// 53 supports subdivisions for a country (for example, states or provinces),
-// the subdivisions for that country are listed in alphabetical order immediately
-// after the corresponding country.
-//
-// Returns awserr.Error for service API and SDK errors. Use runtime type 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 ListGeoLocations for usage and error information.
-//
-// Returned Error Codes:
-// * InvalidInput
-// The input is not valid.
-//
-func (c *Route53) ListGeoLocations(input *ListGeoLocationsInput) (*ListGeoLocationsOutput, error) {
- req, out := c.ListGeoLocationsRequest(input)
- err := req.Send()
- return out, err
-}
-
-const opListHealthChecks = "ListHealthChecks"
-
-// ListHealthChecksRequest generates a "aws/request.Request" representing the
-// client's request for the ListHealthChecks operation. The "output" return
-// value can be used to capture response data after the request's "Send" method
-// is called.
-//
-// See ListHealthChecks for usage and error information.
-//
-// Creating a request object using this method should be used when you want to inject
-// custom logic into the request's lifecycle using a custom handler, or if you want to
-// access properties on the request object before or after sending the request. If
-// you just want the service response, call the ListHealthChecks method directly
-// instead.
-//
-// Note: You must call the "Send" method on the returned request object in order
-// to execute the request.
-//
-// // Example sending a request using the ListHealthChecksRequest method.
-// req, resp := client.ListHealthChecksRequest(params)
-//
-// err := req.Send()
-// if err == nil { // resp is now filled
-// fmt.Println(resp)
-// }
-//
-func (c *Route53) ListHealthChecksRequest(input *ListHealthChecksInput) (req *request.Request, output *ListHealthChecksOutput) {
- op := &request.Operation{
- Name: opListHealthChecks,
- HTTPMethod: "GET",
- HTTPPath: "/2013-04-01/healthcheck",
- Paginator: &request.Paginator{
- InputTokens: []string{"Marker"},
- OutputTokens: []string{"NextMarker"},
- LimitToken: "MaxItems",
- TruncationToken: "IsTruncated",
- },
- }
-
- if input == nil {
- input = &ListHealthChecksInput{}
- }
-
- req = c.newRequest(op, input, output)
- output = &ListHealthChecksOutput{}
- req.Data = output
- return
-}
-
-// ListHealthChecks API operation for Amazon Route 53.
-//
-// Retrieve a list of your health checks. Send a GET request to the /2013-04-01/healthcheck
-// resource. The response to this request includes a HealthChecks element with
-// zero or more HealthCheck child elements. By default, the list of health checks
-// is displayed on a single page. You can control the length of the page that
-// is displayed by using the MaxItems parameter. You can use the Marker parameter
-// to control the health check that the list begins with.
-//
-// For information about listing health checks using the Amazon Route 53 console,
-// see Amazon Route 53 Health Checks and DNS Failover (http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover.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 Route 53's
-// API operation ListHealthChecks for usage and error information.
-//
-// Returned Error Codes:
-// * InvalidInput
-// The input is not valid.
-//
-// * IncompatibleVersion
-// The resource you are trying to access is unsupported on this Amazon Route
-// 53 endpoint. Please consider using a newer endpoint or a tool that does so.
-//
-func (c *Route53) ListHealthChecks(input *ListHealthChecksInput) (*ListHealthChecksOutput, error) {
- req, out := c.ListHealthChecksRequest(input)
+// * IncompatibleVersion
+// The resource you are trying to access is unsupported on this Amazon Route
+// 53 endpoint. Please consider using a newer endpoint or a tool that does so.
+//
+func (c *Route53) ListHealthChecks(input *ListHealthChecksInput) (*ListHealthChecksOutput, error) {
+ req, out := c.ListHealthChecksRequest(input)
err := req.Send()
return out, err
}
@@ -3876,6 +3861,96 @@ func (c *Route53) ListTrafficPolicyVersions(input *ListTrafficPolicyVersionsInpu
return out, err
}
+const opListVPCAssociationAuthorizations = "ListVPCAssociationAuthorizations"
+
+// ListVPCAssociationAuthorizationsRequest generates a "aws/request.Request" representing the
+// client's request for the ListVPCAssociationAuthorizations operation. The "output" return
+// value can be used to capture response data after the request's "Send" method
+// is called.
+//
+// See ListVPCAssociationAuthorizations for usage and error information.
+//
+// Creating a request object using this method should be used when you want to inject
+// custom logic into the request's lifecycle using a custom handler, or if you want to
+// access properties on the request object before or after sending the request. If
+// you just want the service response, call the ListVPCAssociationAuthorizations method directly
+// instead.
+//
+// Note: You must call the "Send" method on the returned request object in order
+// to execute the request.
+//
+// // Example sending a request using the ListVPCAssociationAuthorizationsRequest method.
+// req, resp := client.ListVPCAssociationAuthorizationsRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+func (c *Route53) ListVPCAssociationAuthorizationsRequest(input *ListVPCAssociationAuthorizationsInput) (req *request.Request, output *ListVPCAssociationAuthorizationsOutput) {
+ op := &request.Operation{
+ Name: opListVPCAssociationAuthorizations,
+ HTTPMethod: "GET",
+ HTTPPath: "/2013-04-01/hostedzone/{Id}/authorizevpcassociation",
+ }
+
+ if input == nil {
+ input = &ListVPCAssociationAuthorizationsInput{}
+ }
+
+ req = c.newRequest(op, input, output)
+ output = &ListVPCAssociationAuthorizationsOutput{}
+ req.Data = output
+ return
+}
+
+// ListVPCAssociationAuthorizations API operation for Amazon Route 53.
+//
+// Gets a list of the VPCs that were created by other accounts and that can
+// be associated with a specified hosted zone because you've submitted one or
+// more CreateVPCAssociationAuthorization requests.
+//
+// Send a GET request to the /2013-04-01/hostedzone/hosted zone ID/authorizevpcassociation
+// resource. The response to this request includes a VPCs element with a VPC
+// child element for each VPC that can be associated with the hosted zone.
+//
+// Amazon Route 53 returns up to 50 VPCs per page. To return fewer VPCs per
+// page, include the MaxResults parameter:
+//
+// /2013-04-01/hostedzone/hosted zone ID/authorizevpcassociation?MaxItems=VPCs
+// per page
+//
+// If the response includes a NextToken element, there are more VPCs to list.
+// To get the next page of VPCs, submit another ListVPCAssociationAuthorizations
+// request, and include the value of the NextToken element from the response
+// in the NextToken request parameter:
+//
+// /2013-04-01/hostedzone/hosted zone ID/authorizevpcassociation?MaxItems=VPCs
+// per page&NextToken=
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type 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 ListVPCAssociationAuthorizations for usage and error information.
+//
+// Returned Error Codes:
+// * NoSuchHostedZone
+// No hosted zone exists with the ID that you specified.
+//
+// * InvalidInput
+// The input is not valid.
+//
+// * InvalidPaginationToken
+
+//
+func (c *Route53) ListVPCAssociationAuthorizations(input *ListVPCAssociationAuthorizationsInput) (*ListVPCAssociationAuthorizationsOutput, error) {
+ req, out := c.ListVPCAssociationAuthorizationsRequest(input)
+ err := req.Send()
+ return out, err
+}
+
const opTestDNSAnswer = "TestDNSAnswer"
// TestDNSAnswerRequest generates a "aws/request.Request" representing the
@@ -3993,7 +4068,7 @@ func (c *Route53) UpdateHealthCheckRequest(input *UpdateHealthCheckInput) (req *
// Updates an existing health check.
//
// Send a POST request to the /2013-04-01/healthcheck/health check ID resource.
-// The request body must include an XML document with an UpdateHealthCheckRequest
+// The request body must include a document with an UpdateHealthCheckRequest
// element. For more information about updating health checks, see Creating,
// Updating, and Deleting Health Checks (http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/health-checks-creating-deleting.html)
// in the Amazon Route 53 Developer Guide.
@@ -4326,15 +4401,27 @@ func (s *AlarmIdentifier) Validate() error {
return nil
}
+// SetName sets the Name field's value.
+func (s *AlarmIdentifier) SetName(v string) *AlarmIdentifier {
+ s.Name = &v
+ return s
+}
+
+// SetRegion sets the Region field's value.
+func (s *AlarmIdentifier) SetRegion(v string) *AlarmIdentifier {
+ s.Region = &v
+ return s
+}
+
// Alias resource record sets only: Information about the CloudFront distribution,
// Elastic Beanstalk environment, ELB load balancer, Amazon S3 bucket, or Amazon
-// Route 53 resource record set to which you are redirecting queries. The Elastic
+// Route 53 resource record set that you're redirecting queries to. The Elastic
// Beanstalk environment must have a regionalized subdomain.
//
// When creating resource record sets for a private hosted zone, note the following:
//
-// * Resource record sets cannot be created for CloudFront distributions
-// in a private hosted zone.
+// * Resource record sets can't be created for CloudFront distributions in
+// a private hosted zone.
//
// * Creating geolocation alias resource record sets or latency alias resource
// record sets in a private hosted zone is unsupported.
@@ -4362,7 +4449,7 @@ type AliasTarget struct {
// following methods to get the value of the CNAME attribute:
//
// AWS Managment Console: For information about how to get the value by using
- // the console, see Using Custom Domains with Elastic Beanstalk (http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/customdomains.html)
+ // the console, see Using Custom Domains with AWS Elastic Beanstalk (http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/customdomains.html)
// in the AWS Elastic Beanstalk Developer Guide.
//
// Elastic Load Balancing API: Use the DescribeEnvironments action to get the
@@ -4380,10 +4467,10 @@ type AliasTarget struct {
// and DNSName. If you get one value from the console and the other value
// from the API or the CLI, creating the resource record set will fail.
//
- // AWS Management Console: Go to the Amazon EC2 page, click Load Balancers in
- // the navigation pane, choose the load balancer, choose the Description
- // tab, and get the value of the DNS Name field that begins with dualstack.
- // Use the same process to get the Hosted Zone ID. See HostedZone$Id.
+ // AWS Management Console: Go to the EC2 page, click Load Balancers in the navigation
+ // pane, choose the load balancer, choose the Description tab, and get the
+ // value of the DNS Name field that begins with dualstack. Use the same process
+ // to get the Hosted Zone ID. See HostedZone$Id.
//
// Elastic Load Balancing API: Use DescribeLoadBalancers (http://docs.aws.amazon.com/ElasticLoadBalancing/latest/APIReference/API_DescribeLoadBalancers.html)
// to get the value of CanonicalHostedZoneName. Use the same process to get
@@ -4399,9 +4486,9 @@ type AliasTarget struct {
// information about valid values, see the table Amazon Simple Storage Service
// (S3) Website Endpoints (http://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region)
// in the Amazon Web Services General Reference. For more information about
- // using Amazon S3 buckets for websites, see Hosting a Static Website on
- // Amazon S3 (http://docs.aws.amazon.com/AmazonS3/latest/dev/WebsiteHosting.html)
- // in the Amazon Simple Storage Service Developer Guide.
+ // using S3 buckets for websites, see Hosting a Static Website on Amazon
+ // S3 (http://docs.aws.amazon.com/AmazonS3/latest/dev/WebsiteHosting.html)
+ // in the Amazon S3 Developer Guide.
//
// * Another Amazon Route 53 resource record set: Specify the value of the
// Name element for a resource record set in the current hosted zone.
@@ -4443,7 +4530,7 @@ type AliasTarget struct {
//
// Note the following:
//
- // * You cannot set EvaluateTargetHealth to true when the alias target is
+ // * You can't set EvaluateTargetHealth to true when the alias target is
// a CloudFront distribution.
//
// * If the AWS resource that you specify in AliasTarget is a resource record
@@ -4458,25 +4545,22 @@ type AliasTarget struct {
// DNSName, and if the environment contains an ELB load balancer, Elastic
// Load Balancing routes queries only to the healthy Amazon EC2 instances
// that are registered with the load balancer. (An environment automatically
- // contains an ELB load balancer if it includes more than one Amazon EC2
- // instance.) If you set EvaluateTargetHealth to true and either no Amazon
- // EC2 instances are healthy or the load balancer itself is unhealthy, Amazon
- // Route 53 routes queries to other available resources that are healthy,
- // if any.
+ // contains an ELB load balancer if it includes more than one EC2 instance.)
+ // If you set EvaluateTargetHealth to true and either no EC2 instances are
+ // healthy or the load balancer itself is unhealthy, Amazon Route 53 routes
+ // queries to other available resources that are healthy, if any.
//
- // If the environment contains a single Amazon EC2 instance, there are no special
- // requirements.
+ // If the environment contains a single EC2 instance, there are no special requirements.
//
// * If you specify an ELB load balancer in AliasTarget, Elastic Load Balancing
- // routes queries only to the healthy Amazon EC2 instances that are registered
- // with the load balancer. If no Amazon EC2 instances are healthy or if the
- // load balancer itself is unhealthy, and if EvaluateTargetHealth is true
- // for the corresponding alias resource record set, Amazon Route 53 routes
- // queries to other resources. When you create a load balancer, you configure
- // settings for Elastic Load Balancing health checks; they're not Amazon
- // Route 53 health checks, but they perform a similar function. Do not create
- // Amazon Route 53 health checks for the Amazon EC2 instances that you register
- // with an ELB load balancer.
+ // routes queries only to the healthy EC2 instances that are registered with
+ // the load balancer. If no EC2 instances are healthy or if the load balancer
+ // itself is unhealthy, and if EvaluateTargetHealth is true for the corresponding
+ // alias resource record set, Amazon Route 53 routes queries to other resources.
+ // When you create a load balancer, you configure settings for Elastic Load
+ // Balancing health checks; they're not Amazon Route 53 health checks, but
+ // they perform a similar function. Do not create Amazon Route 53 health
+ // checks for the EC2 instances that you register with an ELB load balancer.
//
// For more information, see How Health Checks Work in More Complex Amazon Route
// 53 Configurations (http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover-complex-configs.html)
@@ -4497,22 +4581,21 @@ type AliasTarget struct {
//
// A CloudFront distributionSpecify Z2FDTNDATAQYW2.
//
- // Alias resource record sets for CloudFront cannot be created in a private
- // zone.
+ // Alias resource record sets for CloudFront can't be created in a private zone.
//
// Elastic Beanstalk environmentSpecify the hosted zone ID for the region in
// which you created the environment. The environment must have a regionalized
// subdomain. For a list of regions and the corresponding hosted zone IDs, see
// AWS Elastic Beanstalk (http://docs.aws.amazon.com/general/latest/gr/rande.html#elasticbeanstalk_region)
- // in the Regions and Endpoints chapter of the AWS General Reference.
+ // in the Regions and Endpoints chapter of the Amazon Web Services General Reference.
//
// ELB load balancerSpecify the value of the hosted zone ID for the load balancer.
// Use the following methods to get the hosted zone ID:
//
- // AWS Management Console: Go to the Amazon EC2; page, click Load Balancers
- // in the navigation pane, select the load balancer, and get the value of the
- // Hosted Zone ID field on the Description tab. Use the same process to get
- // the DNS Name. See HostedZone$Name.
+ // AWS Management Console: Go to the Amazon EC2 page, click Load Balancers in
+ // the navigation pane, select the load balancer, and get the value of the Hosted
+ // Zone ID field on the Description tab. Use the same process to get the value
+ // of DNS Name. See HostedZone$Name.
//
// Elastic Load Balancing API: Use DescribeLoadBalancers to get the value of
// CanonicalHostedZoneNameID. Use the same process to get the CanonicalHostedZoneName.
@@ -4529,8 +4612,8 @@ type AliasTarget struct {
// in the Amazon Web Services General Reference.
//
// Another Amazon Route 53 resource record set in your hosted zoneSpecify the
- // hosted zone ID of your hosted zone. (An alias resource record set cannot
- // reference a resource record set in a different hosted zone.)
+ // hosted zone ID of your hosted zone. (An alias resource record set can't reference
+ // a resource record set in a different hosted zone.)
//
// HostedZoneId is a required field
HostedZoneId *string `type:"string" required:"true"`
@@ -4565,24 +4648,43 @@ func (s *AliasTarget) Validate() error {
return nil
}
-// A complex type that contains information about the VPC and the hosted zone
-// that you want to associate.
+// SetDNSName sets the DNSName field's value.
+func (s *AliasTarget) SetDNSName(v string) *AliasTarget {
+ s.DNSName = &v
+ return s
+}
+
+// SetEvaluateTargetHealth sets the EvaluateTargetHealth field's value.
+func (s *AliasTarget) SetEvaluateTargetHealth(v bool) *AliasTarget {
+ s.EvaluateTargetHealth = &v
+ return s
+}
+
+// SetHostedZoneId sets the HostedZoneId field's value.
+func (s *AliasTarget) SetHostedZoneId(v string) *AliasTarget {
+ s.HostedZoneId = &v
+ return s
+}
+
+// A complex type that contains information about the request to associate a
+// VPC with a private hosted zone.
type AssociateVPCWithHostedZoneInput struct {
_ struct{} `locationName:"AssociateVPCWithHostedZoneRequest" type:"structure" xmlURI:"https://route53.amazonaws.com/doc/2013-04-01/"`
// Optional: A comment about the association request.
Comment *string `type:"string"`
- // The ID of the hosted zone you want to associate your VPC with.
+ // The ID of the private hosted zone that you want to associate an Amazon VPC
+ // with.
//
- // Note that you cannot associate a VPC with a hosted zone that doesn't have
+ // Note that you can't associate a VPC with a hosted zone that doesn't have
// an existing VPC association.
//
// HostedZoneId is a required field
HostedZoneId *string `location:"uri" locationName:"Id" type:"string" required:"true"`
- // A complex type containing information about the Amazon VPC that you're associating
- // with the specified hosted zone.
+ // A complex type that contains information about the VPC that you want to associate
+ // with a private hosted zone.
//
// VPC is a required field
VPC *VPC `type:"structure" required:"true"`
@@ -4619,7 +4721,26 @@ func (s *AssociateVPCWithHostedZoneInput) Validate() error {
return nil
}
-// A complex type that contains the response information for the hosted zone.
+// SetComment sets the Comment field's value.
+func (s *AssociateVPCWithHostedZoneInput) SetComment(v string) *AssociateVPCWithHostedZoneInput {
+ s.Comment = &v
+ return s
+}
+
+// SetHostedZoneId sets the HostedZoneId field's value.
+func (s *AssociateVPCWithHostedZoneInput) SetHostedZoneId(v string) *AssociateVPCWithHostedZoneInput {
+ s.HostedZoneId = &v
+ return s
+}
+
+// SetVPC sets the VPC field's value.
+func (s *AssociateVPCWithHostedZoneInput) SetVPC(v *VPC) *AssociateVPCWithHostedZoneInput {
+ s.VPC = v
+ return s
+}
+
+// A complex type that contains the response information for the AssociateVPCWithHostedZone
+// request.
type AssociateVPCWithHostedZoneOutput struct {
_ struct{} `type:"structure"`
@@ -4639,6 +4760,12 @@ func (s AssociateVPCWithHostedZoneOutput) GoString() string {
return s.String()
}
+// SetChangeInfo sets the ChangeInfo field's value.
+func (s *AssociateVPCWithHostedZoneOutput) SetChangeInfo(v *ChangeInfo) *AssociateVPCWithHostedZoneOutput {
+ s.ChangeInfo = v
+ return s
+}
+
// The information for each resource record set that you want to change.
type Change struct {
_ struct{} `type:"structure"`
@@ -4707,6 +4834,18 @@ func (s *Change) Validate() error {
return nil
}
+// SetAction sets the Action field's value.
+func (s *Change) SetAction(v string) *Change {
+ s.Action = &v
+ return s
+}
+
+// SetResourceRecordSet sets the ResourceRecordSet field's value.
+func (s *Change) SetResourceRecordSet(v *ResourceRecordSet) *Change {
+ s.ResourceRecordSet = v
+ return s
+}
+
// The information for a change request.
type ChangeBatch struct {
_ struct{} `type:"structure"`
@@ -4756,52 +4895,16 @@ func (s *ChangeBatch) Validate() error {
return nil
}
-// A complex type that lists the changes and information for a ChangeBatch.
-type ChangeBatchRecord struct {
- _ struct{} `deprecated:"true" type:"structure"`
-
- // A list of changes made in the ChangeBatch.
- Changes []*Change `locationNameList:"Change" min:"1" type:"list"`
-
- // A complex type that describes change information about changes made to your
- // hosted zone.
- //
- // This element contains an ID that you use when performing a GetChange action
- // to get detailed information about the change.
- Comment *string `type:"string"`
-
- // The ID of the request. Use this ID to track when the change has completed
- // across all Amazon Route 53 DNS servers.
- //
- // Id is a required field
- Id *string `type:"string" required:"true"`
-
- // The current state of the request. PENDING indicates that this request has
- // not yet been applied to all Amazon Route 53 DNS servers.
- //
- // Valid Values: PENDING | INSYNC
- //
- // Status is a required field
- Status *string `type:"string" required:"true" enum:"ChangeStatus"`
-
- // The date and time the change was submitted, in the format YYYY-MM-DDThh:mm:ssZ,
- // as specified in the ISO 8601 standard (for example, 2009-11-19T19:37:58Z).
- // The Z after the time indicates that the time is listed in Coordinated Universal
- // Time (UTC).
- SubmittedAt *time.Time `type:"timestamp" timestampFormat:"iso8601"`
-
- // The AWS account ID attached to the changes.
- Submitter *string `type:"string"`
-}
-
-// String returns the string representation
-func (s ChangeBatchRecord) String() string {
- return awsutil.Prettify(s)
+// SetChanges sets the Changes field's value.
+func (s *ChangeBatch) SetChanges(v []*Change) *ChangeBatch {
+ s.Changes = v
+ return s
}
-// GoString returns the string representation
-func (s ChangeBatchRecord) GoString() string {
- return s.String()
+// SetComment sets the Comment field's value.
+func (s *ChangeBatch) SetComment(v string) *ChangeBatch {
+ s.Comment = &v
+ return s
}
// A complex type that describes change information about changes made to your
@@ -4845,6 +4948,30 @@ func (s ChangeInfo) GoString() string {
return s.String()
}
+// SetComment sets the Comment field's value.
+func (s *ChangeInfo) SetComment(v string) *ChangeInfo {
+ s.Comment = &v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *ChangeInfo) SetId(v string) *ChangeInfo {
+ s.Id = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *ChangeInfo) SetStatus(v string) *ChangeInfo {
+ s.Status = &v
+ return s
+}
+
+// SetSubmittedAt sets the SubmittedAt field's value.
+func (s *ChangeInfo) SetSubmittedAt(v time.Time) *ChangeInfo {
+ s.SubmittedAt = &v
+ return s
+}
+
// A complex type that contains change information for the resource record set.
type ChangeResourceRecordSetsInput struct {
_ struct{} `locationName:"ChangeResourceRecordSetsRequest" type:"structure" xmlURI:"https://route53.amazonaws.com/doc/2013-04-01/"`
@@ -4892,6 +5019,18 @@ func (s *ChangeResourceRecordSetsInput) Validate() error {
return nil
}
+// SetChangeBatch sets the ChangeBatch field's value.
+func (s *ChangeResourceRecordSetsInput) SetChangeBatch(v *ChangeBatch) *ChangeResourceRecordSetsInput {
+ s.ChangeBatch = v
+ return s
+}
+
+// SetHostedZoneId sets the HostedZoneId field's value.
+func (s *ChangeResourceRecordSetsInput) SetHostedZoneId(v string) *ChangeResourceRecordSetsInput {
+ s.HostedZoneId = &v
+ return s
+}
+
// A complex type containing the response for the request.
type ChangeResourceRecordSetsOutput struct {
_ struct{} `type:"structure"`
@@ -4916,6 +5055,12 @@ func (s ChangeResourceRecordSetsOutput) GoString() string {
return s.String()
}
+// SetChangeInfo sets the ChangeInfo field's value.
+func (s *ChangeResourceRecordSetsOutput) SetChangeInfo(v *ChangeInfo) *ChangeResourceRecordSetsOutput {
+ s.ChangeInfo = v
+ return s
+}
+
// A complex type that contains information about the tags that you want to
// add, edit, or delete.
type ChangeTagsForResourceInput struct {
@@ -4979,6 +5124,30 @@ func (s *ChangeTagsForResourceInput) Validate() error {
return nil
}
+// SetAddTags sets the AddTags field's value.
+func (s *ChangeTagsForResourceInput) SetAddTags(v []*Tag) *ChangeTagsForResourceInput {
+ s.AddTags = v
+ return s
+}
+
+// SetRemoveTagKeys sets the RemoveTagKeys field's value.
+func (s *ChangeTagsForResourceInput) SetRemoveTagKeys(v []*string) *ChangeTagsForResourceInput {
+ s.RemoveTagKeys = v
+ return s
+}
+
+// SetResourceId sets the ResourceId field's value.
+func (s *ChangeTagsForResourceInput) SetResourceId(v string) *ChangeTagsForResourceInput {
+ s.ResourceId = &v
+ return s
+}
+
+// SetResourceType sets the ResourceType field's value.
+func (s *ChangeTagsForResourceInput) SetResourceType(v string) *ChangeTagsForResourceInput {
+ s.ResourceType = &v
+ return s
+}
+
// Empty response for the request.
type ChangeTagsForResourceOutput struct {
_ struct{} `type:"structure"`
@@ -5008,7 +5177,7 @@ type CloudWatchAlarmConfiguration struct {
// For the metric that the CloudWatch alarm is associated with, a complex type
// that contains information about the dimensions for the metric.For information,
// see Amazon CloudWatch Namespaces, Dimensions, and Metrics Reference ( http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CW_Support_For_AWS.html)
- // in the Amazon CloudWatch Developer Guide.
+ // in the Amazon CloudWatch User Guide.
Dimensions []*Dimension `locationNameList:"Dimension" type:"list"`
// For the metric that the CloudWatch alarm is associated with, the number of
@@ -5024,7 +5193,7 @@ type CloudWatchAlarmConfiguration struct {
// The namespace of the metric that the alarm is associated with. For more information,
// see Amazon CloudWatch Namespaces, Dimensions, and Metrics Reference (http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CW_Support_For_AWS.html)
- // in the Amazon CloudWatch Developer Guide.
+ // in the Amazon CloudWatch User Guide.
//
// Namespace is a required field
Namespace *string `min:"1" type:"string" required:"true"`
@@ -5058,6 +5227,54 @@ func (s CloudWatchAlarmConfiguration) GoString() string {
return s.String()
}
+// SetComparisonOperator sets the ComparisonOperator field's value.
+func (s *CloudWatchAlarmConfiguration) SetComparisonOperator(v string) *CloudWatchAlarmConfiguration {
+ s.ComparisonOperator = &v
+ return s
+}
+
+// SetDimensions sets the Dimensions field's value.
+func (s *CloudWatchAlarmConfiguration) SetDimensions(v []*Dimension) *CloudWatchAlarmConfiguration {
+ s.Dimensions = v
+ return s
+}
+
+// SetEvaluationPeriods sets the EvaluationPeriods field's value.
+func (s *CloudWatchAlarmConfiguration) SetEvaluationPeriods(v int64) *CloudWatchAlarmConfiguration {
+ s.EvaluationPeriods = &v
+ return s
+}
+
+// SetMetricName sets the MetricName field's value.
+func (s *CloudWatchAlarmConfiguration) SetMetricName(v string) *CloudWatchAlarmConfiguration {
+ s.MetricName = &v
+ return s
+}
+
+// SetNamespace sets the Namespace field's value.
+func (s *CloudWatchAlarmConfiguration) SetNamespace(v string) *CloudWatchAlarmConfiguration {
+ s.Namespace = &v
+ return s
+}
+
+// SetPeriod sets the Period field's value.
+func (s *CloudWatchAlarmConfiguration) SetPeriod(v int64) *CloudWatchAlarmConfiguration {
+ s.Period = &v
+ return s
+}
+
+// SetStatistic sets the Statistic field's value.
+func (s *CloudWatchAlarmConfiguration) SetStatistic(v string) *CloudWatchAlarmConfiguration {
+ s.Statistic = &v
+ return s
+}
+
+// SetThreshold sets the Threshold field's value.
+func (s *CloudWatchAlarmConfiguration) SetThreshold(v float64) *CloudWatchAlarmConfiguration {
+ s.Threshold = &v
+ return s
+}
+
// A complex type that contains the health check request information.
type CreateHealthCheckInput struct {
_ struct{} `locationName:"CreateHealthCheckRequest" type:"structure" xmlURI:"https://route53.amazonaws.com/doc/2013-04-01/"`
@@ -5110,6 +5327,18 @@ func (s *CreateHealthCheckInput) Validate() error {
return nil
}
+// SetCallerReference sets the CallerReference field's value.
+func (s *CreateHealthCheckInput) SetCallerReference(v string) *CreateHealthCheckInput {
+ s.CallerReference = &v
+ return s
+}
+
+// SetHealthCheckConfig sets the HealthCheckConfig field's value.
+func (s *CreateHealthCheckInput) SetHealthCheckConfig(v *HealthCheckConfig) *CreateHealthCheckInput {
+ s.HealthCheckConfig = v
+ return s
+}
+
// A complex type containing the response information for the new health check.
type CreateHealthCheckOutput struct {
_ struct{} `type:"structure"`
@@ -5135,6 +5364,18 @@ func (s CreateHealthCheckOutput) GoString() string {
return s.String()
}
+// SetHealthCheck sets the HealthCheck field's value.
+func (s *CreateHealthCheckOutput) SetHealthCheck(v *HealthCheck) *CreateHealthCheckOutput {
+ s.HealthCheck = v
+ return s
+}
+
+// SetLocation sets the Location field's value.
+func (s *CreateHealthCheckOutput) SetLocation(v string) *CreateHealthCheckOutput {
+ s.Location = &v
+ return s
+}
+
// A complex type containing the hosted zone request information.
type CreateHostedZoneInput struct {
_ struct{} `locationName:"CreateHostedZoneRequest" type:"structure" xmlURI:"https://route53.amazonaws.com/doc/2013-04-01/"`
@@ -5180,7 +5421,7 @@ type CreateHostedZoneInput struct {
Name *string `type:"string" required:"true"`
// The VPC that you want your hosted zone to be associated with. By providing
- // this parameter, your newly created hosted cannot be resolved anywhere other
+ // this parameter, your newly created hosted can't be resolved anywhere other
// than the given VPC.
VPC *VPC `type:"structure"`
}
@@ -5219,6 +5460,36 @@ func (s *CreateHostedZoneInput) Validate() error {
return nil
}
+// SetCallerReference sets the CallerReference field's value.
+func (s *CreateHostedZoneInput) SetCallerReference(v string) *CreateHostedZoneInput {
+ s.CallerReference = &v
+ return s
+}
+
+// SetDelegationSetId sets the DelegationSetId field's value.
+func (s *CreateHostedZoneInput) SetDelegationSetId(v string) *CreateHostedZoneInput {
+ s.DelegationSetId = &v
+ return s
+}
+
+// SetHostedZoneConfig sets the HostedZoneConfig field's value.
+func (s *CreateHostedZoneInput) SetHostedZoneConfig(v *HostedZoneConfig) *CreateHostedZoneInput {
+ s.HostedZoneConfig = v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *CreateHostedZoneInput) SetName(v string) *CreateHostedZoneInput {
+ s.Name = &v
+ return s
+}
+
+// SetVPC sets the VPC field's value.
+func (s *CreateHostedZoneInput) SetVPC(v *VPC) *CreateHostedZoneInput {
+ s.VPC = v
+ return s
+}
+
// A complex type containing the response information for the hosted zone.
type CreateHostedZoneOutput struct {
_ struct{} `type:"structure"`
@@ -5258,6 +5529,36 @@ func (s CreateHostedZoneOutput) GoString() string {
return s.String()
}
+// SetChangeInfo sets the ChangeInfo field's value.
+func (s *CreateHostedZoneOutput) SetChangeInfo(v *ChangeInfo) *CreateHostedZoneOutput {
+ s.ChangeInfo = v
+ return s
+}
+
+// SetDelegationSet sets the DelegationSet field's value.
+func (s *CreateHostedZoneOutput) SetDelegationSet(v *DelegationSet) *CreateHostedZoneOutput {
+ s.DelegationSet = v
+ return s
+}
+
+// SetHostedZone sets the HostedZone field's value.
+func (s *CreateHostedZoneOutput) SetHostedZone(v *HostedZone) *CreateHostedZoneOutput {
+ s.HostedZone = v
+ return s
+}
+
+// SetLocation sets the Location field's value.
+func (s *CreateHostedZoneOutput) SetLocation(v string) *CreateHostedZoneOutput {
+ s.Location = &v
+ return s
+}
+
+// SetVPC sets the VPC field's value.
+func (s *CreateHostedZoneOutput) SetVPC(v *VPC) *CreateHostedZoneOutput {
+ s.VPC = v
+ return s
+}
+
type CreateReusableDelegationSetInput struct {
_ struct{} `locationName:"CreateReusableDelegationSetRequest" type:"structure" xmlURI:"https://route53.amazonaws.com/doc/2013-04-01/"`
@@ -5301,6 +5602,18 @@ func (s *CreateReusableDelegationSetInput) Validate() error {
return nil
}
+// SetCallerReference sets the CallerReference field's value.
+func (s *CreateReusableDelegationSetInput) SetCallerReference(v string) *CreateReusableDelegationSetInput {
+ s.CallerReference = &v
+ return s
+}
+
+// SetHostedZoneId sets the HostedZoneId field's value.
+func (s *CreateReusableDelegationSetInput) SetHostedZoneId(v string) *CreateReusableDelegationSetInput {
+ s.HostedZoneId = &v
+ return s
+}
+
type CreateReusableDelegationSetOutput struct {
_ struct{} `type:"structure"`
@@ -5325,6 +5638,18 @@ func (s CreateReusableDelegationSetOutput) GoString() string {
return s.String()
}
+// SetDelegationSet sets the DelegationSet field's value.
+func (s *CreateReusableDelegationSetOutput) SetDelegationSet(v *DelegationSet) *CreateReusableDelegationSetOutput {
+ s.DelegationSet = v
+ return s
+}
+
+// SetLocation sets the Location field's value.
+func (s *CreateReusableDelegationSetOutput) SetLocation(v string) *CreateReusableDelegationSetOutput {
+ s.Location = &v
+ return s
+}
+
// A complex type that contains information about the traffic policy that you
// want to create.
type CreateTrafficPolicyInput struct {
@@ -5334,8 +5659,7 @@ type CreateTrafficPolicyInput struct {
Comment *string `type:"string"`
// The definition of this traffic policy in JSON format. For more information,
- // see Traffic Policy Document Format (http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/api-policies-traffic-policy-document-format.html)
- // in the Amazon Route 53 API Reference.
+ // see Traffic Policy Document Format (http://docs.aws.amazon.com/Route53/latest/APIReference/api-policies-traffic-policy-document-format.html).
//
// Document is a required field
Document *string `type:"string" required:"true"`
@@ -5372,6 +5696,24 @@ func (s *CreateTrafficPolicyInput) Validate() error {
return nil
}
+// SetComment sets the Comment field's value.
+func (s *CreateTrafficPolicyInput) SetComment(v string) *CreateTrafficPolicyInput {
+ s.Comment = &v
+ return s
+}
+
+// SetDocument sets the Document field's value.
+func (s *CreateTrafficPolicyInput) SetDocument(v string) *CreateTrafficPolicyInput {
+ s.Document = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *CreateTrafficPolicyInput) SetName(v string) *CreateTrafficPolicyInput {
+ s.Name = &v
+ return s
+}
+
// A complex type that contains information about the resource record sets that
// you want to create based on a specified traffic policy.
type CreateTrafficPolicyInstanceInput struct {
@@ -5447,6 +5789,36 @@ func (s *CreateTrafficPolicyInstanceInput) Validate() error {
return nil
}
+// SetHostedZoneId sets the HostedZoneId field's value.
+func (s *CreateTrafficPolicyInstanceInput) SetHostedZoneId(v string) *CreateTrafficPolicyInstanceInput {
+ s.HostedZoneId = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *CreateTrafficPolicyInstanceInput) SetName(v string) *CreateTrafficPolicyInstanceInput {
+ s.Name = &v
+ return s
+}
+
+// SetTTL sets the TTL field's value.
+func (s *CreateTrafficPolicyInstanceInput) SetTTL(v int64) *CreateTrafficPolicyInstanceInput {
+ s.TTL = &v
+ return s
+}
+
+// SetTrafficPolicyId sets the TrafficPolicyId field's value.
+func (s *CreateTrafficPolicyInstanceInput) SetTrafficPolicyId(v string) *CreateTrafficPolicyInstanceInput {
+ s.TrafficPolicyId = &v
+ return s
+}
+
+// SetTrafficPolicyVersion sets the TrafficPolicyVersion field's value.
+func (s *CreateTrafficPolicyInstanceInput) SetTrafficPolicyVersion(v int64) *CreateTrafficPolicyInstanceInput {
+ s.TrafficPolicyVersion = &v
+ return s
+}
+
// A complex type that contains the response information for the CreateTrafficPolicyInstance
// request.
type CreateTrafficPolicyInstanceOutput struct {
@@ -5473,6 +5845,18 @@ func (s CreateTrafficPolicyInstanceOutput) GoString() string {
return s.String()
}
+// SetLocation sets the Location field's value.
+func (s *CreateTrafficPolicyInstanceOutput) SetLocation(v string) *CreateTrafficPolicyInstanceOutput {
+ s.Location = &v
+ return s
+}
+
+// SetTrafficPolicyInstance sets the TrafficPolicyInstance field's value.
+func (s *CreateTrafficPolicyInstanceOutput) SetTrafficPolicyInstance(v *TrafficPolicyInstance) *CreateTrafficPolicyInstanceOutput {
+ s.TrafficPolicyInstance = v
+ return s
+}
+
// A complex type that contains the response information for the CreateTrafficPolicy
// request.
type CreateTrafficPolicyOutput struct {
@@ -5499,6 +5883,18 @@ func (s CreateTrafficPolicyOutput) GoString() string {
return s.String()
}
+// SetLocation sets the Location field's value.
+func (s *CreateTrafficPolicyOutput) SetLocation(v string) *CreateTrafficPolicyOutput {
+ s.Location = &v
+ return s
+}
+
+// SetTrafficPolicy sets the TrafficPolicy field's value.
+func (s *CreateTrafficPolicyOutput) SetTrafficPolicy(v *TrafficPolicy) *CreateTrafficPolicyOutput {
+ s.TrafficPolicy = v
+ return s
+}
+
// A complex type that contains information about the traffic policy for which
// you want to create a new version.
type CreateTrafficPolicyVersionInput struct {
@@ -5547,6 +5943,24 @@ func (s *CreateTrafficPolicyVersionInput) Validate() error {
return nil
}
+// SetComment sets the Comment field's value.
+func (s *CreateTrafficPolicyVersionInput) SetComment(v string) *CreateTrafficPolicyVersionInput {
+ s.Comment = &v
+ return s
+}
+
+// SetDocument sets the Document field's value.
+func (s *CreateTrafficPolicyVersionInput) SetDocument(v string) *CreateTrafficPolicyVersionInput {
+ s.Document = &v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *CreateTrafficPolicyVersionInput) SetId(v string) *CreateTrafficPolicyVersionInput {
+ s.Id = &v
+ return s
+}
+
// A complex type that contains the response information for the CreateTrafficPolicyVersion
// request.
type CreateTrafficPolicyVersionOutput struct {
@@ -5574,6 +5988,118 @@ func (s CreateTrafficPolicyVersionOutput) GoString() string {
return s.String()
}
+// SetLocation sets the Location field's value.
+func (s *CreateTrafficPolicyVersionOutput) SetLocation(v string) *CreateTrafficPolicyVersionOutput {
+ s.Location = &v
+ return s
+}
+
+// SetTrafficPolicy sets the TrafficPolicy field's value.
+func (s *CreateTrafficPolicyVersionOutput) SetTrafficPolicy(v *TrafficPolicy) *CreateTrafficPolicyVersionOutput {
+ s.TrafficPolicy = v
+ return s
+}
+
+// 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.
+type CreateVPCAssociationAuthorizationInput struct {
+ _ struct{} `locationName:"CreateVPCAssociationAuthorizationRequest" type:"structure" xmlURI:"https://route53.amazonaws.com/doc/2013-04-01/"`
+
+ // The ID of the private hosted zone that you want to authorize associating
+ // a VPC with.
+ //
+ // HostedZoneId is a required field
+ HostedZoneId *string `location:"uri" locationName:"Id" type:"string" required:"true"`
+
+ // A complex type that contains the VPC ID and region for the VPC that you want
+ // to authorize associating with your hosted zone.
+ //
+ // VPC is a required field
+ VPC *VPC `type:"structure" required:"true"`
+}
+
+// String returns the string representation
+func (s CreateVPCAssociationAuthorizationInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s CreateVPCAssociationAuthorizationInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *CreateVPCAssociationAuthorizationInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "CreateVPCAssociationAuthorizationInput"}
+ if s.HostedZoneId == nil {
+ invalidParams.Add(request.NewErrParamRequired("HostedZoneId"))
+ }
+ if s.VPC == nil {
+ invalidParams.Add(request.NewErrParamRequired("VPC"))
+ }
+ if s.VPC != nil {
+ if err := s.VPC.Validate(); err != nil {
+ invalidParams.AddNested("VPC", err.(request.ErrInvalidParams))
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetHostedZoneId sets the HostedZoneId field's value.
+func (s *CreateVPCAssociationAuthorizationInput) SetHostedZoneId(v string) *CreateVPCAssociationAuthorizationInput {
+ s.HostedZoneId = &v
+ return s
+}
+
+// SetVPC sets the VPC field's value.
+func (s *CreateVPCAssociationAuthorizationInput) SetVPC(v *VPC) *CreateVPCAssociationAuthorizationInput {
+ s.VPC = v
+ return s
+}
+
+// A complex type that contains the response information from a CreateVPCAssociationAuthorization
+// request.
+type CreateVPCAssociationAuthorizationOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The ID of the hosted zone that you authorized associating a VPC with.
+ //
+ // HostedZoneId is a required field
+ HostedZoneId *string `type:"string" required:"true"`
+
+ // The VPC that you authorized associating with a hosted zone.
+ //
+ // VPC is a required field
+ VPC *VPC `type:"structure" required:"true"`
+}
+
+// String returns the string representation
+func (s CreateVPCAssociationAuthorizationOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s CreateVPCAssociationAuthorizationOutput) GoString() string {
+ return s.String()
+}
+
+// SetHostedZoneId sets the HostedZoneId field's value.
+func (s *CreateVPCAssociationAuthorizationOutput) SetHostedZoneId(v string) *CreateVPCAssociationAuthorizationOutput {
+ s.HostedZoneId = &v
+ return s
+}
+
+// SetVPC sets the VPC field's value.
+func (s *CreateVPCAssociationAuthorizationOutput) SetVPC(v *VPC) *CreateVPCAssociationAuthorizationOutput {
+ s.VPC = v
+ return s
+}
+
// A complex type that describes the name servers for this hosted zone.
type DelegationSet struct {
_ struct{} `type:"structure"`
@@ -5605,6 +6131,24 @@ func (s DelegationSet) GoString() string {
return s.String()
}
+// SetCallerReference sets the CallerReference field's value.
+func (s *DelegationSet) SetCallerReference(v string) *DelegationSet {
+ s.CallerReference = &v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *DelegationSet) SetId(v string) *DelegationSet {
+ s.Id = &v
+ return s
+}
+
+// SetNameServers sets the NameServers field's value.
+func (s *DelegationSet) SetNameServers(v []*string) *DelegationSet {
+ s.NameServers = v
+ return s
+}
+
// This action deletes a health check. Send a DELETE request to the /2013-04-01/DeleteHealthCheckRequest
// resource.
type DeleteHealthCheckInput struct {
@@ -5639,6 +6183,12 @@ func (s *DeleteHealthCheckInput) Validate() error {
return nil
}
+// SetHealthCheckId sets the HealthCheckId field's value.
+func (s *DeleteHealthCheckInput) SetHealthCheckId(v string) *DeleteHealthCheckInput {
+ s.HealthCheckId = &v
+ return s
+}
+
// An empty element.
type DeleteHealthCheckOutput struct {
_ struct{} `type:"structure"`
@@ -5688,6 +6238,12 @@ func (s *DeleteHostedZoneInput) Validate() error {
return nil
}
+// SetId sets the Id field's value.
+func (s *DeleteHostedZoneInput) SetId(v string) *DeleteHostedZoneInput {
+ s.Id = &v
+ return s
+}
+
// A complex type containing the response information for the request.
type DeleteHostedZoneOutput struct {
_ struct{} `type:"structure"`
@@ -5709,6 +6265,12 @@ func (s DeleteHostedZoneOutput) GoString() string {
return s.String()
}
+// SetChangeInfo sets the ChangeInfo field's value.
+func (s *DeleteHostedZoneOutput) SetChangeInfo(v *ChangeInfo) *DeleteHostedZoneOutput {
+ s.ChangeInfo = v
+ return s
+}
+
// A complex type containing the information for the delete request.
type DeleteReusableDelegationSetInput struct {
_ struct{} `type:"structure"`
@@ -5742,6 +6304,12 @@ func (s *DeleteReusableDelegationSetInput) Validate() error {
return nil
}
+// SetId sets the Id field's value.
+func (s *DeleteReusableDelegationSetInput) SetId(v string) *DeleteReusableDelegationSetInput {
+ s.Id = &v
+ return s
+}
+
// An empty element.
type DeleteReusableDelegationSetOutput struct {
_ struct{} `type:"structure"`
@@ -5801,6 +6369,18 @@ func (s *DeleteTrafficPolicyInput) Validate() error {
return nil
}
+// SetId sets the Id field's value.
+func (s *DeleteTrafficPolicyInput) SetId(v string) *DeleteTrafficPolicyInput {
+ s.Id = &v
+ return s
+}
+
+// SetVersion sets the Version field's value.
+func (s *DeleteTrafficPolicyInput) SetVersion(v int64) *DeleteTrafficPolicyInput {
+ s.Version = &v
+ return s
+}
+
// A complex type that contains information about the traffic policy instance
// that you want to delete.
type DeleteTrafficPolicyInstanceInput struct {
@@ -5839,6 +6419,12 @@ func (s *DeleteTrafficPolicyInstanceInput) Validate() error {
return nil
}
+// SetId sets the Id field's value.
+func (s *DeleteTrafficPolicyInstanceInput) SetId(v string) *DeleteTrafficPolicyInstanceInput {
+ s.Id = &v
+ return s
+}
+
// An empty element.
type DeleteTrafficPolicyInstanceOutput struct {
_ struct{} `type:"structure"`
@@ -5869,6 +6455,85 @@ func (s DeleteTrafficPolicyOutput) GoString() string {
return s.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.
+type DeleteVPCAssociationAuthorizationInput struct {
+ _ struct{} `locationName:"DeleteVPCAssociationAuthorizationRequest" type:"structure" xmlURI:"https://route53.amazonaws.com/doc/2013-04-01/"`
+
+ // When removing authorization to associate a VPC that was created by one AWS
+ // account with a hosted zone that was created with a different AWS account,
+ // the ID of the hosted zone.
+ //
+ // HostedZoneId is a required field
+ HostedZoneId *string `location:"uri" locationName:"Id" type:"string" required:"true"`
+
+ // When removing authorization to associate a VPC that was created by one AWS
+ // account with a hosted zone that was created with a different AWS account,
+ // a complex type that includes the ID and region of the VPC.
+ //
+ // VPC is a required field
+ VPC *VPC `type:"structure" required:"true"`
+}
+
+// String returns the string representation
+func (s DeleteVPCAssociationAuthorizationInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s DeleteVPCAssociationAuthorizationInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DeleteVPCAssociationAuthorizationInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DeleteVPCAssociationAuthorizationInput"}
+ if s.HostedZoneId == nil {
+ invalidParams.Add(request.NewErrParamRequired("HostedZoneId"))
+ }
+ if s.VPC == nil {
+ invalidParams.Add(request.NewErrParamRequired("VPC"))
+ }
+ if s.VPC != nil {
+ if err := s.VPC.Validate(); err != nil {
+ invalidParams.AddNested("VPC", err.(request.ErrInvalidParams))
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetHostedZoneId sets the HostedZoneId field's value.
+func (s *DeleteVPCAssociationAuthorizationInput) SetHostedZoneId(v string) *DeleteVPCAssociationAuthorizationInput {
+ s.HostedZoneId = &v
+ return s
+}
+
+// SetVPC sets the VPC field's value.
+func (s *DeleteVPCAssociationAuthorizationInput) SetVPC(v *VPC) *DeleteVPCAssociationAuthorizationInput {
+ s.VPC = v
+ return s
+}
+
+// Empty response for the request.
+type DeleteVPCAssociationAuthorizationOutput struct {
+ _ struct{} `type:"structure"`
+}
+
+// String returns the string representation
+func (s DeleteVPCAssociationAuthorizationOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s DeleteVPCAssociationAuthorizationOutput) GoString() string {
+ return s.String()
+}
+
// For the metric that the CloudWatch alarm is associated with, a complex type
// that contains information about one dimension.
type Dimension struct {
@@ -5897,21 +6562,32 @@ func (s Dimension) GoString() string {
return s.String()
}
-// A complex type that contains information about the VPC and the hosted zone
-// that you want to disassociate.
+// SetName sets the Name field's value.
+func (s *Dimension) SetName(v string) *Dimension {
+ s.Name = &v
+ return s
+}
+
+// SetValue sets the Value field's value.
+func (s *Dimension) SetValue(v string) *Dimension {
+ s.Value = &v
+ return s
+}
+
+// A complex type that contains information about the VPC that you want to disassociate
+// from a specified private hosted zone.
type DisassociateVPCFromHostedZoneInput struct {
_ struct{} `locationName:"DisassociateVPCFromHostedZoneRequest" type:"structure" xmlURI:"https://route53.amazonaws.com/doc/2013-04-01/"`
// Optional: A comment about the disassociation request.
Comment *string `type:"string"`
- // The ID of the VPC that you want to disassociate from an Amazon Route 53 hosted
- // zone.
+ // The ID of the private hosted zone that you want to disassociate a VPC from.
//
// HostedZoneId is a required field
HostedZoneId *string `location:"uri" locationName:"Id" type:"string" required:"true"`
- // A complex type containing information about the Amazon VPC that you're disassociating
+ // A complex type that contains information about the VPC that you're disassociating
// from the specified hosted zone.
//
// VPC is a required field
@@ -5949,12 +6625,31 @@ func (s *DisassociateVPCFromHostedZoneInput) Validate() error {
return nil
}
+// SetComment sets the Comment field's value.
+func (s *DisassociateVPCFromHostedZoneInput) SetComment(v string) *DisassociateVPCFromHostedZoneInput {
+ s.Comment = &v
+ return s
+}
+
+// SetHostedZoneId sets the HostedZoneId field's value.
+func (s *DisassociateVPCFromHostedZoneInput) SetHostedZoneId(v string) *DisassociateVPCFromHostedZoneInput {
+ s.HostedZoneId = &v
+ return s
+}
+
+// SetVPC sets the VPC field's value.
+func (s *DisassociateVPCFromHostedZoneInput) SetVPC(v *VPC) *DisassociateVPCFromHostedZoneInput {
+ s.VPC = v
+ return s
+}
+
// A complex type that contains the response information for the disassociate
// request.
type DisassociateVPCFromHostedZoneOutput struct {
_ struct{} `type:"structure"`
- // A complex type that describes the changes made to your hosted zone.
+ // A complex type that describes the changes made to the specified private hosted
+ // zone.
//
// ChangeInfo is a required field
ChangeInfo *ChangeInfo `type:"structure" required:"true"`
@@ -5970,6 +6665,12 @@ func (s DisassociateVPCFromHostedZoneOutput) GoString() string {
return s.String()
}
+// SetChangeInfo sets the ChangeInfo field's value.
+func (s *DisassociateVPCFromHostedZoneOutput) SetChangeInfo(v *ChangeInfo) *DisassociateVPCFromHostedZoneOutput {
+ s.ChangeInfo = v
+ return s
+}
+
// A complex type that contains information about a geo location.
type GeoLocation struct {
_ struct{} `type:"structure"`
@@ -6019,6 +6720,24 @@ func (s *GeoLocation) Validate() error {
return nil
}
+// SetContinentCode sets the ContinentCode field's value.
+func (s *GeoLocation) SetContinentCode(v string) *GeoLocation {
+ s.ContinentCode = &v
+ return s
+}
+
+// SetCountryCode sets the CountryCode field's value.
+func (s *GeoLocation) SetCountryCode(v string) *GeoLocation {
+ s.CountryCode = &v
+ return s
+}
+
+// SetSubdivisionCode sets the SubdivisionCode field's value.
+func (s *GeoLocation) SetSubdivisionCode(v string) *GeoLocation {
+ s.SubdivisionCode = &v
+ return s
+}
+
// A complex type that contains the codes and full continent, country, and subdivision
// names for the specified geolocation code.
type GeoLocationDetails struct {
@@ -6055,60 +6774,40 @@ func (s GeoLocationDetails) GoString() string {
return s.String()
}
-// The input for a GetChangeDetails request.
-type GetChangeDetailsInput struct {
- _ struct{} `deprecated:"true" type:"structure"`
-
- // The ID of the change batch. This is the value that you specified in the change
- // ID parameter when you submitted the request.
- //
- // Id is a required field
- Id *string `location:"uri" locationName:"Id" type:"string" required:"true"`
+// SetContinentCode sets the ContinentCode field's value.
+func (s *GeoLocationDetails) SetContinentCode(v string) *GeoLocationDetails {
+ s.ContinentCode = &v
+ return s
}
-// String returns the string representation
-func (s GetChangeDetailsInput) String() string {
- return awsutil.Prettify(s)
+// SetContinentName sets the ContinentName field's value.
+func (s *GeoLocationDetails) SetContinentName(v string) *GeoLocationDetails {
+ s.ContinentName = &v
+ return s
}
-// GoString returns the string representation
-func (s GetChangeDetailsInput) GoString() string {
- return s.String()
-}
-
-// Validate inspects the fields of the type to determine if they are valid.
-func (s *GetChangeDetailsInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "GetChangeDetailsInput"}
- if s.Id == nil {
- invalidParams.Add(request.NewErrParamRequired("Id"))
- }
-
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
+// SetCountryCode sets the CountryCode field's value.
+func (s *GeoLocationDetails) SetCountryCode(v string) *GeoLocationDetails {
+ s.CountryCode = &v
+ return s
}
-// A complex type that contains the ChangeBatchRecord element.
-type GetChangeDetailsOutput struct {
- _ struct{} `deprecated:"true" type:"structure"`
-
- // A complex type that contains information about the specified change batch,
- // including the change batch ID, the status of the change, and the contained
- // changes.
- //
- // ChangeBatchRecord is a required field
- ChangeBatchRecord *ChangeBatchRecord `deprecated:"true" type:"structure" required:"true"`
+// SetCountryName sets the CountryName field's value.
+func (s *GeoLocationDetails) SetCountryName(v string) *GeoLocationDetails {
+ s.CountryName = &v
+ return s
}
-// String returns the string representation
-func (s GetChangeDetailsOutput) String() string {
- return awsutil.Prettify(s)
+// SetSubdivisionCode sets the SubdivisionCode field's value.
+func (s *GeoLocationDetails) SetSubdivisionCode(v string) *GeoLocationDetails {
+ s.SubdivisionCode = &v
+ return s
}
-// GoString returns the string representation
-func (s GetChangeDetailsOutput) GoString() string {
- return s.String()
+// SetSubdivisionName sets the SubdivisionName field's value.
+func (s *GeoLocationDetails) SetSubdivisionName(v string) *GeoLocationDetails {
+ s.SubdivisionName = &v
+ return s
}
// The input for a GetChange request.
@@ -6146,6 +6845,12 @@ func (s *GetChangeInput) Validate() error {
return nil
}
+// SetId sets the Id field's value.
+func (s *GetChangeInput) SetId(v string) *GetChangeInput {
+ s.Id = &v
+ return s
+}
+
// A complex type that contains the ChangeInfo element.
type GetChangeOutput struct {
_ struct{} `type:"structure"`
@@ -6166,6 +6871,12 @@ func (s GetChangeOutput) GoString() string {
return s.String()
}
+// SetChangeInfo sets the ChangeInfo field's value.
+func (s *GetChangeOutput) SetChangeInfo(v *ChangeInfo) *GetChangeOutput {
+ s.ChangeInfo = v
+ return s
+}
+
// Empty request.
type GetCheckerIpRangesInput struct {
_ struct{} `type:"structure"`
@@ -6202,6 +6913,12 @@ func (s GetCheckerIpRangesOutput) GoString() string {
return s.String()
}
+// SetCheckerIpRanges sets the CheckerIpRanges field's value.
+func (s *GetCheckerIpRangesOutput) SetCheckerIpRanges(v []*string) *GetCheckerIpRangesOutput {
+ s.CheckerIpRanges = v
+ return s
+}
+
// A complex type that contains information about the request to get a geo location.
type GetGeoLocationInput struct {
_ struct{} `type:"structure"`
@@ -6263,6 +6980,24 @@ func (s *GetGeoLocationInput) Validate() error {
return nil
}
+// SetContinentCode sets the ContinentCode field's value.
+func (s *GetGeoLocationInput) SetContinentCode(v string) *GetGeoLocationInput {
+ s.ContinentCode = &v
+ return s
+}
+
+// SetCountryCode sets the CountryCode field's value.
+func (s *GetGeoLocationInput) SetCountryCode(v string) *GetGeoLocationInput {
+ s.CountryCode = &v
+ return s
+}
+
+// SetSubdivisionCode sets the SubdivisionCode field's value.
+func (s *GetGeoLocationInput) SetSubdivisionCode(v string) *GetGeoLocationInput {
+ s.SubdivisionCode = &v
+ return s
+}
+
// A complex type that contains the response information for the specified geolocation
// code.
type GetGeoLocationOutput struct {
@@ -6285,6 +7020,12 @@ func (s GetGeoLocationOutput) GoString() string {
return s.String()
}
+// SetGeoLocationDetails sets the GeoLocationDetails field's value.
+func (s *GetGeoLocationOutput) SetGeoLocationDetails(v *GeoLocationDetails) *GetGeoLocationOutput {
+ s.GeoLocationDetails = v
+ return s
+}
+
// To retrieve a count of all your health checks, send a GET request to the
// /2013-04-01/healthcheckcount resource.
type GetHealthCheckCountInput struct {
@@ -6321,6 +7062,12 @@ func (s GetHealthCheckCountOutput) GoString() string {
return s.String()
}
+// SetHealthCheckCount sets the HealthCheckCount field's value.
+func (s *GetHealthCheckCountOutput) SetHealthCheckCount(v int64) *GetHealthCheckCountOutput {
+ s.HealthCheckCount = &v
+ return s
+}
+
// This action gets information about a specified health check.
//
// Send a GET request to the /Amazon Route 53 API version/gethealthcheckrequest
@@ -6365,6 +7112,12 @@ func (s *GetHealthCheckInput) Validate() error {
return nil
}
+// SetHealthCheckId sets the HealthCheckId field's value.
+func (s *GetHealthCheckInput) SetHealthCheckId(v string) *GetHealthCheckInput {
+ s.HealthCheckId = &v
+ return s
+}
+
// This action gets the reason that a specified health check failed most recently.
//
// To get the reason for the last failure of a health check, send a GET request
@@ -6408,6 +7161,12 @@ func (s *GetHealthCheckLastFailureReasonInput) Validate() error {
return nil
}
+// SetHealthCheckId sets the HealthCheckId field's value.
+func (s *GetHealthCheckLastFailureReasonInput) SetHealthCheckId(v string) *GetHealthCheckLastFailureReasonInput {
+ s.HealthCheckId = &v
+ return s
+}
+
// A complex type that contains the response to a GetHealthCheckLastFailureReason
// request.
type GetHealthCheckLastFailureReasonOutput struct {
@@ -6430,6 +7189,12 @@ func (s GetHealthCheckLastFailureReasonOutput) GoString() string {
return s.String()
}
+// SetHealthCheckObservations sets the HealthCheckObservations field's value.
+func (s *GetHealthCheckLastFailureReasonOutput) SetHealthCheckObservations(v []*HealthCheckObservation) *GetHealthCheckLastFailureReasonOutput {
+ s.HealthCheckObservations = v
+ return s
+}
+
// A complex type that contains the response to a GetHealthCheck request.
type GetHealthCheckOutput struct {
_ struct{} `type:"structure"`
@@ -6451,6 +7216,12 @@ func (s GetHealthCheckOutput) GoString() string {
return s.String()
}
+// SetHealthCheck sets the HealthCheck field's value.
+func (s *GetHealthCheckOutput) SetHealthCheck(v *HealthCheck) *GetHealthCheckOutput {
+ s.HealthCheck = v
+ return s
+}
+
// A complex type that contains information about the request to get health
// check status for a health check.
type GetHealthCheckStatusInput struct {
@@ -6541,6 +7312,12 @@ func (s *GetHealthCheckStatusInput) Validate() error {
return nil
}
+// SetHealthCheckId sets the HealthCheckId field's value.
+func (s *GetHealthCheckStatusInput) SetHealthCheckId(v string) *GetHealthCheckStatusInput {
+ s.HealthCheckId = &v
+ return s
+}
+
// A complex type that contains the response to a GetHealthCheck request.
type GetHealthCheckStatusOutput struct {
_ struct{} `type:"structure"`
@@ -6562,6 +7339,12 @@ func (s GetHealthCheckStatusOutput) GoString() string {
return s.String()
}
+// SetHealthCheckObservations sets the HealthCheckObservations field's value.
+func (s *GetHealthCheckStatusOutput) SetHealthCheckObservations(v []*HealthCheckObservation) *GetHealthCheckStatusOutput {
+ s.HealthCheckObservations = v
+ return s
+}
+
// To retrieve a count of all your hosted zones, send a GET request to the /2013-04-01/hostedzonecount
// resource.
type GetHostedZoneCountInput struct {
@@ -6599,6 +7382,12 @@ func (s GetHostedZoneCountOutput) GoString() string {
return s.String()
}
+// SetHostedZoneCount sets the HostedZoneCount field's value.
+func (s *GetHostedZoneCountOutput) SetHostedZoneCount(v int64) *GetHostedZoneCountOutput {
+ s.HostedZoneCount = &v
+ return s
+}
+
// The input for a GetHostedZone request.
type GetHostedZoneInput struct {
_ struct{} `type:"structure"`
@@ -6633,6 +7422,12 @@ func (s *GetHostedZoneInput) Validate() error {
return nil
}
+// SetId sets the Id field's value.
+func (s *GetHostedZoneInput) SetId(v string) *GetHostedZoneInput {
+ s.Id = &v
+ return s
+}
+
// A complex type containing the response information for the hosted zone.
type GetHostedZoneOutput struct {
_ struct{} `type:"structure"`
@@ -6660,6 +7455,24 @@ func (s GetHostedZoneOutput) GoString() string {
return s.String()
}
+// SetDelegationSet sets the DelegationSet field's value.
+func (s *GetHostedZoneOutput) SetDelegationSet(v *DelegationSet) *GetHostedZoneOutput {
+ s.DelegationSet = v
+ return s
+}
+
+// SetHostedZone sets the HostedZone field's value.
+func (s *GetHostedZoneOutput) SetHostedZone(v *HostedZone) *GetHostedZoneOutput {
+ s.HostedZone = v
+ return s
+}
+
+// SetVPCs sets the VPCs field's value.
+func (s *GetHostedZoneOutput) SetVPCs(v []*VPC) *GetHostedZoneOutput {
+ s.VPCs = v
+ return s
+}
+
// The input for a GetReusableDelegationSet request.
type GetReusableDelegationSetInput struct {
_ struct{} `type:"structure"`
@@ -6694,6 +7507,12 @@ func (s *GetReusableDelegationSetInput) Validate() error {
return nil
}
+// SetId sets the Id field's value.
+func (s *GetReusableDelegationSetInput) SetId(v string) *GetReusableDelegationSetInput {
+ s.Id = &v
+ return s
+}
+
// A complex type that contains the response to the GetReusableDelegationSet
// request.
type GetReusableDelegationSetOutput struct {
@@ -6715,6 +7534,12 @@ func (s GetReusableDelegationSetOutput) GoString() string {
return s.String()
}
+// SetDelegationSet sets the DelegationSet field's value.
+func (s *GetReusableDelegationSetOutput) SetDelegationSet(v *DelegationSet) *GetReusableDelegationSetOutput {
+ s.DelegationSet = v
+ return s
+}
+
// Gets information about a specific traffic policy version. To get the information,
// send a GET request to the /2013-04-01/trafficpolicy resource, and specify
// the ID and the version of the traffic policy.
@@ -6762,6 +7587,18 @@ func (s *GetTrafficPolicyInput) Validate() error {
return nil
}
+// SetId sets the Id field's value.
+func (s *GetTrafficPolicyInput) SetId(v string) *GetTrafficPolicyInput {
+ s.Id = &v
+ return s
+}
+
+// SetVersion sets the Version field's value.
+func (s *GetTrafficPolicyInput) SetVersion(v int64) *GetTrafficPolicyInput {
+ s.Version = &v
+ return s
+}
+
// To retrieve a count of all your traffic policy instances, send a GET request
// to the /2013-04-01/trafficpolicyinstancecount resource.
type GetTrafficPolicyInstanceCountInput struct {
@@ -6800,6 +7637,12 @@ func (s GetTrafficPolicyInstanceCountOutput) GoString() string {
return s.String()
}
+// SetTrafficPolicyInstanceCount sets the TrafficPolicyInstanceCount field's value.
+func (s *GetTrafficPolicyInstanceCountOutput) SetTrafficPolicyInstanceCount(v int64) *GetTrafficPolicyInstanceCountOutput {
+ s.TrafficPolicyInstanceCount = &v
+ return s
+}
+
// Gets information about a specified traffic policy instance.
//
// To get information about a traffic policy instance, send a GET request to
@@ -6836,6 +7679,12 @@ func (s *GetTrafficPolicyInstanceInput) Validate() error {
return nil
}
+// SetId sets the Id field's value.
+func (s *GetTrafficPolicyInstanceInput) SetId(v string) *GetTrafficPolicyInstanceInput {
+ s.Id = &v
+ return s
+}
+
// A complex type that contains information about the resource record sets that
// Amazon Route 53 created based on a specified traffic policy.
type GetTrafficPolicyInstanceOutput struct {
@@ -6857,6 +7706,12 @@ func (s GetTrafficPolicyInstanceOutput) GoString() string {
return s.String()
}
+// SetTrafficPolicyInstance sets the TrafficPolicyInstance field's value.
+func (s *GetTrafficPolicyInstanceOutput) SetTrafficPolicyInstance(v *TrafficPolicyInstance) *GetTrafficPolicyInstanceOutput {
+ s.TrafficPolicyInstance = v
+ return s
+}
+
// A complex type that contains the response information for the request.
type GetTrafficPolicyOutput struct {
_ struct{} `type:"structure"`
@@ -6877,6 +7732,12 @@ func (s GetTrafficPolicyOutput) GoString() string {
return s.String()
}
+// SetTrafficPolicy sets the TrafficPolicy field's value.
+func (s *GetTrafficPolicyOutput) SetTrafficPolicy(v *TrafficPolicy) *GetTrafficPolicyOutput {
+ s.TrafficPolicy = v
+ return s
+}
+
// A complex type that contains information about one health check that is associated
// with the current AWS account.
type HealthCheck struct {
@@ -6922,6 +7783,36 @@ func (s HealthCheck) GoString() string {
return s.String()
}
+// SetCallerReference sets the CallerReference field's value.
+func (s *HealthCheck) SetCallerReference(v string) *HealthCheck {
+ s.CallerReference = &v
+ return s
+}
+
+// SetCloudWatchAlarmConfiguration sets the CloudWatchAlarmConfiguration field's value.
+func (s *HealthCheck) SetCloudWatchAlarmConfiguration(v *CloudWatchAlarmConfiguration) *HealthCheck {
+ s.CloudWatchAlarmConfiguration = v
+ return s
+}
+
+// SetHealthCheckConfig sets the HealthCheckConfig field's value.
+func (s *HealthCheck) SetHealthCheckConfig(v *HealthCheckConfig) *HealthCheck {
+ s.HealthCheckConfig = v
+ return s
+}
+
+// SetHealthCheckVersion sets the HealthCheckVersion field's value.
+func (s *HealthCheck) SetHealthCheckVersion(v int64) *HealthCheck {
+ s.HealthCheckVersion = &v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *HealthCheck) SetId(v string) *HealthCheck {
+ s.Id = &v
+ return s
+}
+
// A complex type that contains information about the health check.
type HealthCheckConfig struct {
_ struct{} `type:"structure"`
@@ -7039,17 +7930,17 @@ type HealthCheckConfig struct {
// Using an IP address that DNS returns, Amazon Route 53 then checks the health
// of the endpoint.
//
- // If the endpoint is an Amazon EC2 instance, we recommend that you create an
- // Elastic IP address, associate it with your Amazon EC2 instance, and specify
- // the Elastic IP address for IPAddress. This ensures that the IP address of
- // your instance will never change.
+ // If the endpoint is an EC2 instance, we recommend that you create an Elastic
+ // IP address, associate it with your EC2 instance, and specify the Elastic
+ // IP address for IPAddress. This ensures that the IP address of your instance
+ // will never change.
//
// For more information, see HealthCheckConfig$FullyQualifiedDomainName.
//
- // Contraints: Amazon Route 53 cannot check the health of endpoints for which
- // the IP address is in local, private, non-routable, or multicast ranges. For
- // more information about IP addresses for which you cannot create health checks,
- // see RFC 5735, Special Use IPv4 Addresses (https://tools.ietf.org/html/rfc5735)
+ // Constraints: Amazon Route 53 can't check the health of endpoints for which
+ // the IP address is in local, private, non-routable, or \ multicast ranges.
+ // For more information about IP addresses for which you can't create health
+ // checks, see RFC 5735, Special Use IPv4 Addresses (https://tools.ietf.org/html/rfc5735)
// and RFC 6598, IANA-Reserved IPv4 Prefix for Shared Address Space (https://tools.ietf.org/html/rfc6598).
//
// When the value of Type is CALCULATED or CLOUDWATCH_METRIC, omit IPAddress.
@@ -7199,308 +8090,257 @@ func (s *HealthCheckConfig) Validate() error {
return nil
}
-// A complex type that contains the last failure reason as reported by one Amazon
-// Route 53 health checker.
-type HealthCheckObservation struct {
- _ struct{} `type:"structure"`
-
- // The IP address of the Amazon Route 53 health checker that provided the failure
- // reason in StatusReport.
- IPAddress *string `type:"string"`
-
- // The region of the Amazon Route 53 health checker that provided the status
- // in StatusReport.
- Region *string `min:"1" type:"string" enum:"HealthCheckRegion"`
-
- // A complex type that contains the last failure reason as reported by one Amazon
- // Route 53 health checker and the time of the failed health check.
- StatusReport *StatusReport `type:"structure"`
+// SetAlarmIdentifier sets the AlarmIdentifier field's value.
+func (s *HealthCheckConfig) SetAlarmIdentifier(v *AlarmIdentifier) *HealthCheckConfig {
+ s.AlarmIdentifier = v
+ return s
}
-// String returns the string representation
-func (s HealthCheckObservation) String() string {
- return awsutil.Prettify(s)
+// SetChildHealthChecks sets the ChildHealthChecks field's value.
+func (s *HealthCheckConfig) SetChildHealthChecks(v []*string) *HealthCheckConfig {
+ s.ChildHealthChecks = v
+ return s
}
-// GoString returns the string representation
-func (s HealthCheckObservation) GoString() string {
- return s.String()
+// SetEnableSNI sets the EnableSNI field's value.
+func (s *HealthCheckConfig) SetEnableSNI(v bool) *HealthCheckConfig {
+ s.EnableSNI = &v
+ return s
}
-// A complex type that contains general information about the hosted zone.
-type HostedZone struct {
- _ struct{} `type:"structure"`
-
- // The value that you specified for CallerReference when you created the hosted
- // zone.
- //
- // CallerReference is a required field
- CallerReference *string `min:"1" type:"string" required:"true"`
-
- // A complex type that includes the Comment and PrivateZone elements. If you
- // omitted the HostedZoneConfig and Comment elements from the request, the Config
- // and Comment elements don't appear in the response.
- Config *HostedZoneConfig `type:"structure"`
-
- // The ID that Amazon Route 53 assigned to the hosted zone when you created
- // it.
- //
- // Id is a required field
- Id *string `type:"string" required:"true"`
-
- // The name of the domain. For public hosted zones, this is the name that you
- // have registered with your DNS registrar.
- //
- // For information about how to specify characters other than a-z, 0-9, and
- // - (hyphen) and how to specify internationalized domain names, see CreateHostedZone.
- //
- // Name is a required field
- Name *string `type:"string" required:"true"`
-
- // The number of resource record sets in the hosted zone.
- ResourceRecordSetCount *int64 `type:"long"`
+// SetFailureThreshold sets the FailureThreshold field's value.
+func (s *HealthCheckConfig) SetFailureThreshold(v int64) *HealthCheckConfig {
+ s.FailureThreshold = &v
+ return s
}
-// String returns the string representation
-func (s HostedZone) String() string {
- return awsutil.Prettify(s)
+// SetFullyQualifiedDomainName sets the FullyQualifiedDomainName field's value.
+func (s *HealthCheckConfig) SetFullyQualifiedDomainName(v string) *HealthCheckConfig {
+ s.FullyQualifiedDomainName = &v
+ return s
}
-// GoString returns the string representation
-func (s HostedZone) GoString() string {
- return s.String()
+// SetHealthThreshold sets the HealthThreshold field's value.
+func (s *HealthCheckConfig) SetHealthThreshold(v int64) *HealthCheckConfig {
+ s.HealthThreshold = &v
+ return s
}
-// 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.
-type HostedZoneConfig struct {
- _ struct{} `type:"structure"`
-
- // Any comments that you want to include about the hosted zone.
- Comment *string `type:"string"`
-
- // A value that indicates whether this is a private hosted zone.
- PrivateZone *bool `type:"boolean"`
+// SetIPAddress sets the IPAddress field's value.
+func (s *HealthCheckConfig) SetIPAddress(v string) *HealthCheckConfig {
+ s.IPAddress = &v
+ return s
}
-// String returns the string representation
-func (s HostedZoneConfig) String() string {
- return awsutil.Prettify(s)
+// SetInsufficientDataHealthStatus sets the InsufficientDataHealthStatus field's value.
+func (s *HealthCheckConfig) SetInsufficientDataHealthStatus(v string) *HealthCheckConfig {
+ s.InsufficientDataHealthStatus = &v
+ return s
}
-// GoString returns the string representation
-func (s HostedZoneConfig) GoString() string {
- return s.String()
+// SetInverted sets the Inverted field's value.
+func (s *HealthCheckConfig) SetInverted(v bool) *HealthCheckConfig {
+ s.Inverted = &v
+ return s
}
-// The input for a ListChangeBatchesByHostedZone request.
-type ListChangeBatchesByHostedZoneInput struct {
- _ struct{} `deprecated:"true" type:"structure"`
-
- // The end of the time period you want to see changes for.
- //
- // EndDate is a required field
- EndDate *string `location:"querystring" locationName:"endDate" deprecated:"true" type:"string" required:"true"`
-
- // The ID of the hosted zone that you want to see changes for.
- //
- // HostedZoneId is a required field
- HostedZoneId *string `location:"uri" locationName:"Id" type:"string" required:"true"`
-
- // The page marker.
- Marker *string `location:"querystring" locationName:"marker" type:"string"`
-
- // The maximum number of items on a page.
- MaxItems *string `location:"querystring" locationName:"maxItems" type:"string"`
-
- // The start of the time period you want to see changes for.
- //
- // StartDate is a required field
- StartDate *string `location:"querystring" locationName:"startDate" deprecated:"true" type:"string" required:"true"`
+// SetMeasureLatency sets the MeasureLatency field's value.
+func (s *HealthCheckConfig) SetMeasureLatency(v bool) *HealthCheckConfig {
+ s.MeasureLatency = &v
+ return s
}
-// String returns the string representation
-func (s ListChangeBatchesByHostedZoneInput) String() string {
- return awsutil.Prettify(s)
+// SetPort sets the Port field's value.
+func (s *HealthCheckConfig) SetPort(v int64) *HealthCheckConfig {
+ s.Port = &v
+ return s
}
-// GoString returns the string representation
-func (s ListChangeBatchesByHostedZoneInput) GoString() string {
- return s.String()
+// SetRegions sets the Regions field's value.
+func (s *HealthCheckConfig) SetRegions(v []*string) *HealthCheckConfig {
+ s.Regions = v
+ return s
}
-// Validate inspects the fields of the type to determine if they are valid.
-func (s *ListChangeBatchesByHostedZoneInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "ListChangeBatchesByHostedZoneInput"}
- if s.EndDate == nil {
- invalidParams.Add(request.NewErrParamRequired("EndDate"))
- }
- if s.HostedZoneId == nil {
- invalidParams.Add(request.NewErrParamRequired("HostedZoneId"))
- }
- if s.StartDate == nil {
- invalidParams.Add(request.NewErrParamRequired("StartDate"))
- }
+// SetRequestInterval sets the RequestInterval field's value.
+func (s *HealthCheckConfig) SetRequestInterval(v int64) *HealthCheckConfig {
+ s.RequestInterval = &v
+ return s
+}
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
+// SetResourcePath sets the ResourcePath field's value.
+func (s *HealthCheckConfig) SetResourcePath(v string) *HealthCheckConfig {
+ s.ResourcePath = &v
+ return s
}
-// A complex type containing the response information for the request.
-type ListChangeBatchesByHostedZoneOutput struct {
- _ struct{} `deprecated:"true" type:"structure"`
+// SetSearchString sets the SearchString field's value.
+func (s *HealthCheckConfig) SetSearchString(v string) *HealthCheckConfig {
+ s.SearchString = &v
+ return s
+}
- // The change batches within the given hosted zone and time period.
- //
- // ChangeBatchRecords is a required field
- ChangeBatchRecords []*ChangeBatchRecord `locationNameList:"ChangeBatchRecord" min:"1" deprecated:"true" type:"list" required:"true"`
+// SetType sets the Type field's value.
+func (s *HealthCheckConfig) SetType(v string) *HealthCheckConfig {
+ s.Type = &v
+ return s
+}
- // A flag that indicates if there are more change batches to list.
- IsTruncated *bool `type:"boolean"`
+// A complex type that contains the last failure reason as reported by one Amazon
+// Route 53 health checker.
+type HealthCheckObservation struct {
+ _ struct{} `type:"structure"`
- // For the second and subsequent calls to ListHostedZones, Marker is the value
- // that you specified for the marker parameter in the request that produced
- // the current response.
- //
- // Marker is a required field
- Marker *string `type:"string" required:"true"`
+ // The IP address of the Amazon Route 53 health checker that provided the failure
+ // reason in StatusReport.
+ IPAddress *string `type:"string"`
- // The value that you specified for the maxitems parameter in the call to ListHostedZones
- // that produced the current response.
- //
- // MaxItems is a required field
- MaxItems *string `type:"string" required:"true"`
+ // The region of the Amazon Route 53 health checker that provided the status
+ // in StatusReport.
+ Region *string `min:"1" type:"string" enum:"HealthCheckRegion"`
- // The next page marker.
- NextMarker *string `type:"string"`
+ // A complex type that contains the last failure reason as reported by one Amazon
+ // Route 53 health checker and the time of the failed health check.
+ StatusReport *StatusReport `type:"structure"`
}
// String returns the string representation
-func (s ListChangeBatchesByHostedZoneOutput) String() string {
+func (s HealthCheckObservation) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
-func (s ListChangeBatchesByHostedZoneOutput) GoString() string {
+func (s HealthCheckObservation) GoString() string {
return s.String()
}
-// The input for a ListChangeBatchesByRRSet request.
-type ListChangeBatchesByRRSetInput struct {
- _ struct{} `deprecated:"true" type:"structure"`
-
- // The end of the time period you want to see changes for.
- //
- // EndDate is a required field
- EndDate *string `location:"querystring" locationName:"endDate" deprecated:"true" type:"string" required:"true"`
+// SetIPAddress sets the IPAddress field's value.
+func (s *HealthCheckObservation) SetIPAddress(v string) *HealthCheckObservation {
+ s.IPAddress = &v
+ return s
+}
- // The ID of the hosted zone that you want to see changes for.
- //
- // HostedZoneId is a required field
- HostedZoneId *string `location:"uri" locationName:"Id" type:"string" required:"true"`
+// SetRegion sets the Region field's value.
+func (s *HealthCheckObservation) SetRegion(v string) *HealthCheckObservation {
+ s.Region = &v
+ return s
+}
- // The page marker.
- Marker *string `location:"querystring" locationName:"marker" type:"string"`
+// SetStatusReport sets the StatusReport field's value.
+func (s *HealthCheckObservation) SetStatusReport(v *StatusReport) *HealthCheckObservation {
+ s.StatusReport = v
+ return s
+}
- // The maximum number of items on a page.
- MaxItems *string `location:"querystring" locationName:"maxItems" type:"string"`
+// A complex type that contains general information about the hosted zone.
+type HostedZone struct {
+ _ struct{} `type:"structure"`
- // The name of the RRSet that you want to see changes for.
+ // The value that you specified for CallerReference when you created the hosted
+ // zone.
//
- // Name is a required field
- Name *string `location:"querystring" locationName:"rrSet_name" type:"string" required:"true"`
+ // CallerReference is a required field
+ CallerReference *string `min:"1" type:"string" required:"true"`
- // The identifier of the RRSet that you want to see changes for.
- SetIdentifier *string `location:"querystring" locationName:"identifier" min:"1" type:"string"`
+ // A complex type that includes the Comment and PrivateZone elements. If you
+ // omitted the HostedZoneConfig and Comment elements from the request, the Config
+ // and Comment elements don't appear in the response.
+ Config *HostedZoneConfig `type:"structure"`
- // The start of the time period you want to see changes for.
+ // The ID that Amazon Route 53 assigned to the hosted zone when you created
+ // it.
//
- // StartDate is a required field
- StartDate *string `location:"querystring" locationName:"startDate" deprecated:"true" type:"string" required:"true"`
+ // Id is a required field
+ Id *string `type:"string" required:"true"`
- // The type of the RRSet that you want to see changes for.
+ // The name of the domain. For public hosted zones, this is the name that you
+ // have registered with your DNS registrar.
//
- // Type is a required field
- Type *string `location:"querystring" locationName:"type" type:"string" required:"true" enum:"RRType"`
+ // For information about how to specify characters other than a-z, 0-9, and
+ // - (hyphen) and how to specify internationalized domain names, see CreateHostedZone.
+ //
+ // Name is a required field
+ Name *string `type:"string" required:"true"`
+
+ // The number of resource record sets in the hosted zone.
+ ResourceRecordSetCount *int64 `type:"long"`
}
// String returns the string representation
-func (s ListChangeBatchesByRRSetInput) String() string {
+func (s HostedZone) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
-func (s ListChangeBatchesByRRSetInput) GoString() string {
+func (s HostedZone) GoString() string {
return s.String()
}
-// Validate inspects the fields of the type to determine if they are valid.
-func (s *ListChangeBatchesByRRSetInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "ListChangeBatchesByRRSetInput"}
- if s.EndDate == nil {
- invalidParams.Add(request.NewErrParamRequired("EndDate"))
- }
- if s.HostedZoneId == nil {
- invalidParams.Add(request.NewErrParamRequired("HostedZoneId"))
- }
- if s.Name == nil {
- invalidParams.Add(request.NewErrParamRequired("Name"))
- }
- if s.SetIdentifier != nil && len(*s.SetIdentifier) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("SetIdentifier", 1))
- }
- if s.StartDate == nil {
- invalidParams.Add(request.NewErrParamRequired("StartDate"))
- }
- if s.Type == nil {
- invalidParams.Add(request.NewErrParamRequired("Type"))
- }
+// SetCallerReference sets the CallerReference field's value.
+func (s *HostedZone) SetCallerReference(v string) *HostedZone {
+ s.CallerReference = &v
+ return s
+}
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
+// SetConfig sets the Config field's value.
+func (s *HostedZone) SetConfig(v *HostedZoneConfig) *HostedZone {
+ s.Config = v
+ return s
}
-// The input for a ListChangeBatchesByRRSet request.
-type ListChangeBatchesByRRSetOutput struct {
- _ struct{} `deprecated:"true" type:"structure"`
+// SetId sets the Id field's value.
+func (s *HostedZone) SetId(v string) *HostedZone {
+ s.Id = &v
+ return s
+}
- // The change batches within the given hosted zone and time period.
- //
- // ChangeBatchRecords is a required field
- ChangeBatchRecords []*ChangeBatchRecord `locationNameList:"ChangeBatchRecord" min:"1" deprecated:"true" type:"list" required:"true"`
+// SetName sets the Name field's value.
+func (s *HostedZone) SetName(v string) *HostedZone {
+ s.Name = &v
+ return s
+}
- // A flag that indicates if there are more change batches to list.
- IsTruncated *bool `type:"boolean"`
+// SetResourceRecordSetCount sets the ResourceRecordSetCount field's value.
+func (s *HostedZone) SetResourceRecordSetCount(v int64) *HostedZone {
+ s.ResourceRecordSetCount = &v
+ return s
+}
- // The page marker.
- //
- // Marker is a required field
- Marker *string `type:"string" required:"true"`
+// 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.
+type HostedZoneConfig struct {
+ _ struct{} `type:"structure"`
- // The maximum number of items on a page.
- //
- // MaxItems is a required field
- MaxItems *string `type:"string" required:"true"`
+ // Any comments that you want to include about the hosted zone.
+ Comment *string `type:"string"`
- // The next page marker.
- NextMarker *string `type:"string"`
+ // A value that indicates whether this is a private hosted zone.
+ PrivateZone *bool `type:"boolean"`
}
// String returns the string representation
-func (s ListChangeBatchesByRRSetOutput) String() string {
+func (s HostedZoneConfig) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
-func (s ListChangeBatchesByRRSetOutput) GoString() string {
+func (s HostedZoneConfig) GoString() string {
return s.String()
}
+// SetComment sets the Comment field's value.
+func (s *HostedZoneConfig) SetComment(v string) *HostedZoneConfig {
+ s.Comment = &v
+ return s
+}
+
+// SetPrivateZone sets the PrivateZone field's value.
+func (s *HostedZoneConfig) SetPrivateZone(v bool) *HostedZoneConfig {
+ s.PrivateZone = &v
+ return s
+}
+
// To get a list of geographic locations that Amazon Route 53 supports for geolocation,
// send a GET request to the /Amazon Route 53 API version/geolocations resource.
// The response to this request includes a GeoLocationDetails element for each
@@ -7579,6 +8419,30 @@ func (s *ListGeoLocationsInput) Validate() error {
return nil
}
+// SetMaxItems sets the MaxItems field's value.
+func (s *ListGeoLocationsInput) SetMaxItems(v string) *ListGeoLocationsInput {
+ s.MaxItems = &v
+ return s
+}
+
+// SetStartContinentCode sets the StartContinentCode field's value.
+func (s *ListGeoLocationsInput) SetStartContinentCode(v string) *ListGeoLocationsInput {
+ s.StartContinentCode = &v
+ return s
+}
+
+// SetStartCountryCode sets the StartCountryCode field's value.
+func (s *ListGeoLocationsInput) SetStartCountryCode(v string) *ListGeoLocationsInput {
+ s.StartCountryCode = &v
+ return s
+}
+
+// SetStartSubdivisionCode sets the StartSubdivisionCode field's value.
+func (s *ListGeoLocationsInput) SetStartSubdivisionCode(v string) *ListGeoLocationsInput {
+ s.StartSubdivisionCode = &v
+ return s
+}
+
// A complex type containing the response information for the request.
type ListGeoLocationsOutput struct {
_ struct{} `type:"structure"`
@@ -7629,6 +8493,42 @@ func (s ListGeoLocationsOutput) GoString() string {
return s.String()
}
+// SetGeoLocationDetailsList sets the GeoLocationDetailsList field's value.
+func (s *ListGeoLocationsOutput) SetGeoLocationDetailsList(v []*GeoLocationDetails) *ListGeoLocationsOutput {
+ s.GeoLocationDetailsList = v
+ return s
+}
+
+// SetIsTruncated sets the IsTruncated field's value.
+func (s *ListGeoLocationsOutput) SetIsTruncated(v bool) *ListGeoLocationsOutput {
+ s.IsTruncated = &v
+ return s
+}
+
+// SetMaxItems sets the MaxItems field's value.
+func (s *ListGeoLocationsOutput) SetMaxItems(v string) *ListGeoLocationsOutput {
+ s.MaxItems = &v
+ return s
+}
+
+// SetNextContinentCode sets the NextContinentCode field's value.
+func (s *ListGeoLocationsOutput) SetNextContinentCode(v string) *ListGeoLocationsOutput {
+ s.NextContinentCode = &v
+ return s
+}
+
+// SetNextCountryCode sets the NextCountryCode field's value.
+func (s *ListGeoLocationsOutput) SetNextCountryCode(v string) *ListGeoLocationsOutput {
+ s.NextCountryCode = &v
+ return s
+}
+
+// SetNextSubdivisionCode sets the NextSubdivisionCode field's value.
+func (s *ListGeoLocationsOutput) SetNextSubdivisionCode(v string) *ListGeoLocationsOutput {
+ s.NextSubdivisionCode = &v
+ return s
+}
+
// To retrieve a list of your health checks, send a GET request to the /2013-04-01/healthcheck
// resource. The response to this request includes a HealthChecks element with
// zero or more HealthCheck child elements. By default, the list of health checks
@@ -7676,6 +8576,18 @@ func (s ListHealthChecksInput) GoString() string {
return s.String()
}
+// SetMarker sets the Marker field's value.
+func (s *ListHealthChecksInput) SetMarker(v string) *ListHealthChecksInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxItems sets the MaxItems field's value.
+func (s *ListHealthChecksInput) SetMaxItems(v string) *ListHealthChecksInput {
+ s.MaxItems = &v
+ return s
+}
+
// A complex type that contains the response to a ListHealthChecks request.
type ListHealthChecksOutput struct {
_ struct{} `type:"structure"`
@@ -7724,6 +8636,36 @@ func (s ListHealthChecksOutput) GoString() string {
return s.String()
}
+// SetHealthChecks sets the HealthChecks field's value.
+func (s *ListHealthChecksOutput) SetHealthChecks(v []*HealthCheck) *ListHealthChecksOutput {
+ s.HealthChecks = v
+ return s
+}
+
+// SetIsTruncated sets the IsTruncated field's value.
+func (s *ListHealthChecksOutput) SetIsTruncated(v bool) *ListHealthChecksOutput {
+ s.IsTruncated = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *ListHealthChecksOutput) SetMarker(v string) *ListHealthChecksOutput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxItems sets the MaxItems field's value.
+func (s *ListHealthChecksOutput) SetMaxItems(v string) *ListHealthChecksOutput {
+ s.MaxItems = &v
+ return s
+}
+
+// SetNextMarker sets the NextMarker field's value.
+func (s *ListHealthChecksOutput) SetNextMarker(v string) *ListHealthChecksOutput {
+ s.NextMarker = &v
+ return s
+}
+
// To retrieve a list of your public and private hosted zones in ASCII order
// by domain name, send a GET request to the /Amazon Route 53 API version/hostedzonesbyname
// resource. The response to this request includes a HostedZone child element
@@ -7810,6 +8752,24 @@ func (s ListHostedZonesByNameInput) GoString() string {
return s.String()
}
+// SetDNSName sets the DNSName field's value.
+func (s *ListHostedZonesByNameInput) SetDNSName(v string) *ListHostedZonesByNameInput {
+ s.DNSName = &v
+ return s
+}
+
+// SetHostedZoneId sets the HostedZoneId field's value.
+func (s *ListHostedZonesByNameInput) SetHostedZoneId(v string) *ListHostedZonesByNameInput {
+ s.HostedZoneId = &v
+ return s
+}
+
+// SetMaxItems sets the MaxItems field's value.
+func (s *ListHostedZonesByNameInput) SetMaxItems(v string) *ListHostedZonesByNameInput {
+ s.MaxItems = &v
+ return s
+}
+
// A complex type that contains the response information for the request.
type ListHostedZonesByNameOutput struct {
_ struct{} `type:"structure"`
@@ -7870,6 +8830,48 @@ func (s ListHostedZonesByNameOutput) GoString() string {
return s.String()
}
+// SetDNSName sets the DNSName field's value.
+func (s *ListHostedZonesByNameOutput) SetDNSName(v string) *ListHostedZonesByNameOutput {
+ s.DNSName = &v
+ return s
+}
+
+// SetHostedZoneId sets the HostedZoneId field's value.
+func (s *ListHostedZonesByNameOutput) SetHostedZoneId(v string) *ListHostedZonesByNameOutput {
+ s.HostedZoneId = &v
+ return s
+}
+
+// SetHostedZones sets the HostedZones field's value.
+func (s *ListHostedZonesByNameOutput) SetHostedZones(v []*HostedZone) *ListHostedZonesByNameOutput {
+ s.HostedZones = v
+ return s
+}
+
+// SetIsTruncated sets the IsTruncated field's value.
+func (s *ListHostedZonesByNameOutput) SetIsTruncated(v bool) *ListHostedZonesByNameOutput {
+ s.IsTruncated = &v
+ return s
+}
+
+// SetMaxItems sets the MaxItems field's value.
+func (s *ListHostedZonesByNameOutput) SetMaxItems(v string) *ListHostedZonesByNameOutput {
+ s.MaxItems = &v
+ return s
+}
+
+// SetNextDNSName sets the NextDNSName field's value.
+func (s *ListHostedZonesByNameOutput) SetNextDNSName(v string) *ListHostedZonesByNameOutput {
+ s.NextDNSName = &v
+ return s
+}
+
+// SetNextHostedZoneId sets the NextHostedZoneId field's value.
+func (s *ListHostedZonesByNameOutput) SetNextHostedZoneId(v string) *ListHostedZonesByNameOutput {
+ s.NextHostedZoneId = &v
+ return s
+}
+
// To retrieve a list of your public and private hosted zones, send a GET request
// to the /2013-04-01/hostedzone resource. The response to this request includes
// a HostedZone child element for each hosted zone that was created by the current
@@ -7934,6 +8936,24 @@ func (s ListHostedZonesInput) GoString() string {
return s.String()
}
+// SetDelegationSetId sets the DelegationSetId field's value.
+func (s *ListHostedZonesInput) SetDelegationSetId(v string) *ListHostedZonesInput {
+ s.DelegationSetId = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *ListHostedZonesInput) SetMarker(v string) *ListHostedZonesInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxItems sets the MaxItems field's value.
+func (s *ListHostedZonesInput) SetMaxItems(v string) *ListHostedZonesInput {
+ s.MaxItems = &v
+ return s
+}
+
type ListHostedZonesOutput struct {
_ struct{} `type:"structure"`
@@ -7981,6 +9001,36 @@ func (s ListHostedZonesOutput) GoString() string {
return s.String()
}
+// SetHostedZones sets the HostedZones field's value.
+func (s *ListHostedZonesOutput) SetHostedZones(v []*HostedZone) *ListHostedZonesOutput {
+ s.HostedZones = v
+ return s
+}
+
+// SetIsTruncated sets the IsTruncated field's value.
+func (s *ListHostedZonesOutput) SetIsTruncated(v bool) *ListHostedZonesOutput {
+ s.IsTruncated = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *ListHostedZonesOutput) SetMarker(v string) *ListHostedZonesOutput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxItems sets the MaxItems field's value.
+func (s *ListHostedZonesOutput) SetMaxItems(v string) *ListHostedZonesOutput {
+ s.MaxItems = &v
+ return s
+}
+
+// SetNextMarker sets the NextMarker field's value.
+func (s *ListHostedZonesOutput) SetNextMarker(v string) *ListHostedZonesOutput {
+ s.NextMarker = &v
+ return s
+}
+
// The input for a ListResourceRecordSets request.
type ListResourceRecordSetsInput struct {
_ struct{} `type:"structure"`
@@ -8019,7 +9069,7 @@ type ListResourceRecordSetsInput struct {
//
// Values for alias resource record sets:
//
- // * CloudFront distribution: A
+ // * CloudFront distribution: A or AAAA
//
// * Elastic Beanstalk environment that has a regionalized subdomain: A
//
@@ -8058,6 +9108,36 @@ func (s *ListResourceRecordSetsInput) Validate() error {
return nil
}
+// SetHostedZoneId sets the HostedZoneId field's value.
+func (s *ListResourceRecordSetsInput) SetHostedZoneId(v string) *ListResourceRecordSetsInput {
+ s.HostedZoneId = &v
+ return s
+}
+
+// SetMaxItems sets the MaxItems field's value.
+func (s *ListResourceRecordSetsInput) SetMaxItems(v string) *ListResourceRecordSetsInput {
+ s.MaxItems = &v
+ return s
+}
+
+// SetStartRecordIdentifier sets the StartRecordIdentifier field's value.
+func (s *ListResourceRecordSetsInput) SetStartRecordIdentifier(v string) *ListResourceRecordSetsInput {
+ s.StartRecordIdentifier = &v
+ return s
+}
+
+// SetStartRecordName sets the StartRecordName field's value.
+func (s *ListResourceRecordSetsInput) SetStartRecordName(v string) *ListResourceRecordSetsInput {
+ s.StartRecordName = &v
+ return s
+}
+
+// SetStartRecordType sets the StartRecordType field's value.
+func (s *ListResourceRecordSetsInput) SetStartRecordType(v string) *ListResourceRecordSetsInput {
+ s.StartRecordType = &v
+ return s
+}
+
// A complex type that contains list information for the resource record set.
type ListResourceRecordSetsOutput struct {
_ struct{} `type:"structure"`
@@ -8105,6 +9185,42 @@ func (s ListResourceRecordSetsOutput) GoString() string {
return s.String()
}
+// SetIsTruncated sets the IsTruncated field's value.
+func (s *ListResourceRecordSetsOutput) SetIsTruncated(v bool) *ListResourceRecordSetsOutput {
+ s.IsTruncated = &v
+ return s
+}
+
+// SetMaxItems sets the MaxItems field's value.
+func (s *ListResourceRecordSetsOutput) SetMaxItems(v string) *ListResourceRecordSetsOutput {
+ s.MaxItems = &v
+ return s
+}
+
+// SetNextRecordIdentifier sets the NextRecordIdentifier field's value.
+func (s *ListResourceRecordSetsOutput) SetNextRecordIdentifier(v string) *ListResourceRecordSetsOutput {
+ s.NextRecordIdentifier = &v
+ return s
+}
+
+// SetNextRecordName sets the NextRecordName field's value.
+func (s *ListResourceRecordSetsOutput) SetNextRecordName(v string) *ListResourceRecordSetsOutput {
+ s.NextRecordName = &v
+ return s
+}
+
+// SetNextRecordType sets the NextRecordType field's value.
+func (s *ListResourceRecordSetsOutput) SetNextRecordType(v string) *ListResourceRecordSetsOutput {
+ s.NextRecordType = &v
+ return s
+}
+
+// SetResourceRecordSets sets the ResourceRecordSets field's value.
+func (s *ListResourceRecordSetsOutput) SetResourceRecordSets(v []*ResourceRecordSet) *ListResourceRecordSetsOutput {
+ s.ResourceRecordSets = v
+ return s
+}
+
// To retrieve a list of your reusable delegation sets, send a GET request to
// the /2013-04-01/delegationset resource. The response to this request includes
// a DelegationSets element with zero or more DelegationSet child elements.
@@ -8138,6 +9254,18 @@ func (s ListReusableDelegationSetsInput) GoString() string {
return s.String()
}
+// SetMarker sets the Marker field's value.
+func (s *ListReusableDelegationSetsInput) SetMarker(v string) *ListReusableDelegationSetsInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxItems sets the MaxItems field's value.
+func (s *ListReusableDelegationSetsInput) SetMaxItems(v string) *ListReusableDelegationSetsInput {
+ s.MaxItems = &v
+ return s
+}
+
// A complex type that contains information about the reusable delegation sets
// that are associated with the current AWS account.
type ListReusableDelegationSetsOutput struct {
@@ -8187,6 +9315,36 @@ func (s ListReusableDelegationSetsOutput) GoString() string {
return s.String()
}
+// SetDelegationSets sets the DelegationSets field's value.
+func (s *ListReusableDelegationSetsOutput) SetDelegationSets(v []*DelegationSet) *ListReusableDelegationSetsOutput {
+ s.DelegationSets = v
+ return s
+}
+
+// SetIsTruncated sets the IsTruncated field's value.
+func (s *ListReusableDelegationSetsOutput) SetIsTruncated(v bool) *ListReusableDelegationSetsOutput {
+ s.IsTruncated = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *ListReusableDelegationSetsOutput) SetMarker(v string) *ListReusableDelegationSetsOutput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxItems sets the MaxItems field's value.
+func (s *ListReusableDelegationSetsOutput) SetMaxItems(v string) *ListReusableDelegationSetsOutput {
+ s.MaxItems = &v
+ return s
+}
+
+// SetNextMarker sets the NextMarker field's value.
+func (s *ListReusableDelegationSetsOutput) SetNextMarker(v string) *ListReusableDelegationSetsOutput {
+ s.NextMarker = &v
+ return s
+}
+
// A complex type containing information about a request for a list of the tags
// that are associated with an individual resource.
type ListTagsForResourceInput struct {
@@ -8233,6 +9391,18 @@ func (s *ListTagsForResourceInput) Validate() error {
return nil
}
+// SetResourceId sets the ResourceId field's value.
+func (s *ListTagsForResourceInput) SetResourceId(v string) *ListTagsForResourceInput {
+ s.ResourceId = &v
+ return s
+}
+
+// SetResourceType sets the ResourceType field's value.
+func (s *ListTagsForResourceInput) SetResourceType(v string) *ListTagsForResourceInput {
+ s.ResourceType = &v
+ return s
+}
+
// A complex type that contains information about the health checks or hosted
// zones for which you want to list tags.
type ListTagsForResourceOutput struct {
@@ -8254,6 +9424,12 @@ func (s ListTagsForResourceOutput) GoString() string {
return s.String()
}
+// SetResourceTagSet sets the ResourceTagSet field's value.
+func (s *ListTagsForResourceOutput) SetResourceTagSet(v *ResourceTagSet) *ListTagsForResourceOutput {
+ s.ResourceTagSet = v
+ return s
+}
+
// A complex type that contains information about the health checks or hosted
// zones for which you want to list tags.
type ListTagsForResourcesInput struct {
@@ -8304,6 +9480,18 @@ func (s *ListTagsForResourcesInput) Validate() error {
return nil
}
+// SetResourceIds sets the ResourceIds field's value.
+func (s *ListTagsForResourcesInput) SetResourceIds(v []*string) *ListTagsForResourcesInput {
+ s.ResourceIds = v
+ return s
+}
+
+// SetResourceType sets the ResourceType field's value.
+func (s *ListTagsForResourcesInput) SetResourceType(v string) *ListTagsForResourcesInput {
+ s.ResourceType = &v
+ return s
+}
+
// A complex type containing tags for the specified resources.
type ListTagsForResourcesOutput struct {
_ struct{} `type:"structure"`
@@ -8324,6 +9512,12 @@ func (s ListTagsForResourcesOutput) GoString() string {
return s.String()
}
+// SetResourceTagSets sets the ResourceTagSets field's value.
+func (s *ListTagsForResourcesOutput) SetResourceTagSets(v []*ResourceTagSet) *ListTagsForResourcesOutput {
+ s.ResourceTagSets = v
+ return s
+}
+
// A complex type that contains the information about the request to list the
// traffic policies that are associated with the current AWS account.
type ListTrafficPoliciesInput struct {
@@ -8359,6 +9553,18 @@ func (s ListTrafficPoliciesInput) GoString() string {
return s.String()
}
+// SetMaxItems sets the MaxItems field's value.
+func (s *ListTrafficPoliciesInput) SetMaxItems(v string) *ListTrafficPoliciesInput {
+ s.MaxItems = &v
+ return s
+}
+
+// SetTrafficPolicyIdMarker sets the TrafficPolicyIdMarker field's value.
+func (s *ListTrafficPoliciesInput) SetTrafficPolicyIdMarker(v string) *ListTrafficPoliciesInput {
+ s.TrafficPolicyIdMarker = &v
+ return s
+}
+
// A complex type that contains the response information for the request.
type ListTrafficPoliciesOutput struct {
_ struct{} `type:"structure"`
@@ -8402,6 +9608,30 @@ func (s ListTrafficPoliciesOutput) GoString() string {
return s.String()
}
+// SetIsTruncated sets the IsTruncated field's value.
+func (s *ListTrafficPoliciesOutput) SetIsTruncated(v bool) *ListTrafficPoliciesOutput {
+ s.IsTruncated = &v
+ return s
+}
+
+// SetMaxItems sets the MaxItems field's value.
+func (s *ListTrafficPoliciesOutput) SetMaxItems(v string) *ListTrafficPoliciesOutput {
+ s.MaxItems = &v
+ return s
+}
+
+// SetTrafficPolicyIdMarker sets the TrafficPolicyIdMarker field's value.
+func (s *ListTrafficPoliciesOutput) SetTrafficPolicyIdMarker(v string) *ListTrafficPoliciesOutput {
+ s.TrafficPolicyIdMarker = &v
+ return s
+}
+
+// SetTrafficPolicySummaries sets the TrafficPolicySummaries field's value.
+func (s *ListTrafficPoliciesOutput) SetTrafficPolicySummaries(v []*TrafficPolicySummary) *ListTrafficPoliciesOutput {
+ s.TrafficPolicySummaries = v
+ return s
+}
+
// A request for the traffic policy instances that you created in a specified
// hosted zone.
type ListTrafficPolicyInstancesByHostedZoneInput struct {
@@ -8469,6 +9699,30 @@ func (s *ListTrafficPolicyInstancesByHostedZoneInput) Validate() error {
return nil
}
+// SetHostedZoneId sets the HostedZoneId field's value.
+func (s *ListTrafficPolicyInstancesByHostedZoneInput) SetHostedZoneId(v string) *ListTrafficPolicyInstancesByHostedZoneInput {
+ s.HostedZoneId = &v
+ return s
+}
+
+// SetMaxItems sets the MaxItems field's value.
+func (s *ListTrafficPolicyInstancesByHostedZoneInput) SetMaxItems(v string) *ListTrafficPolicyInstancesByHostedZoneInput {
+ s.MaxItems = &v
+ return s
+}
+
+// SetTrafficPolicyInstanceNameMarker sets the TrafficPolicyInstanceNameMarker field's value.
+func (s *ListTrafficPolicyInstancesByHostedZoneInput) SetTrafficPolicyInstanceNameMarker(v string) *ListTrafficPolicyInstancesByHostedZoneInput {
+ s.TrafficPolicyInstanceNameMarker = &v
+ return s
+}
+
+// SetTrafficPolicyInstanceTypeMarker sets the TrafficPolicyInstanceTypeMarker field's value.
+func (s *ListTrafficPolicyInstancesByHostedZoneInput) SetTrafficPolicyInstanceTypeMarker(v string) *ListTrafficPolicyInstancesByHostedZoneInput {
+ s.TrafficPolicyInstanceTypeMarker = &v
+ return s
+}
+
// A complex type that contains the response information for the request.
type ListTrafficPolicyInstancesByHostedZoneOutput struct {
_ struct{} `type:"structure"`
@@ -8516,6 +9770,36 @@ func (s ListTrafficPolicyInstancesByHostedZoneOutput) GoString() string {
return s.String()
}
+// SetIsTruncated sets the IsTruncated field's value.
+func (s *ListTrafficPolicyInstancesByHostedZoneOutput) SetIsTruncated(v bool) *ListTrafficPolicyInstancesByHostedZoneOutput {
+ s.IsTruncated = &v
+ return s
+}
+
+// SetMaxItems sets the MaxItems field's value.
+func (s *ListTrafficPolicyInstancesByHostedZoneOutput) SetMaxItems(v string) *ListTrafficPolicyInstancesByHostedZoneOutput {
+ s.MaxItems = &v
+ return s
+}
+
+// SetTrafficPolicyInstanceNameMarker sets the TrafficPolicyInstanceNameMarker field's value.
+func (s *ListTrafficPolicyInstancesByHostedZoneOutput) SetTrafficPolicyInstanceNameMarker(v string) *ListTrafficPolicyInstancesByHostedZoneOutput {
+ s.TrafficPolicyInstanceNameMarker = &v
+ return s
+}
+
+// SetTrafficPolicyInstanceTypeMarker sets the TrafficPolicyInstanceTypeMarker field's value.
+func (s *ListTrafficPolicyInstancesByHostedZoneOutput) SetTrafficPolicyInstanceTypeMarker(v string) *ListTrafficPolicyInstancesByHostedZoneOutput {
+ s.TrafficPolicyInstanceTypeMarker = &v
+ return s
+}
+
+// SetTrafficPolicyInstances sets the TrafficPolicyInstances field's value.
+func (s *ListTrafficPolicyInstancesByHostedZoneOutput) SetTrafficPolicyInstances(v []*TrafficPolicyInstance) *ListTrafficPolicyInstancesByHostedZoneOutput {
+ s.TrafficPolicyInstances = v
+ return s
+}
+
// A complex type that contains the information about the request to list your
// traffic policy instances.
type ListTrafficPolicyInstancesByPolicyInput struct {
@@ -8607,6 +9891,42 @@ func (s *ListTrafficPolicyInstancesByPolicyInput) Validate() error {
return nil
}
+// SetHostedZoneIdMarker sets the HostedZoneIdMarker field's value.
+func (s *ListTrafficPolicyInstancesByPolicyInput) SetHostedZoneIdMarker(v string) *ListTrafficPolicyInstancesByPolicyInput {
+ s.HostedZoneIdMarker = &v
+ return s
+}
+
+// SetMaxItems sets the MaxItems field's value.
+func (s *ListTrafficPolicyInstancesByPolicyInput) SetMaxItems(v string) *ListTrafficPolicyInstancesByPolicyInput {
+ s.MaxItems = &v
+ return s
+}
+
+// SetTrafficPolicyId sets the TrafficPolicyId field's value.
+func (s *ListTrafficPolicyInstancesByPolicyInput) SetTrafficPolicyId(v string) *ListTrafficPolicyInstancesByPolicyInput {
+ s.TrafficPolicyId = &v
+ return s
+}
+
+// SetTrafficPolicyInstanceNameMarker sets the TrafficPolicyInstanceNameMarker field's value.
+func (s *ListTrafficPolicyInstancesByPolicyInput) SetTrafficPolicyInstanceNameMarker(v string) *ListTrafficPolicyInstancesByPolicyInput {
+ s.TrafficPolicyInstanceNameMarker = &v
+ return s
+}
+
+// SetTrafficPolicyInstanceTypeMarker sets the TrafficPolicyInstanceTypeMarker field's value.
+func (s *ListTrafficPolicyInstancesByPolicyInput) SetTrafficPolicyInstanceTypeMarker(v string) *ListTrafficPolicyInstancesByPolicyInput {
+ s.TrafficPolicyInstanceTypeMarker = &v
+ return s
+}
+
+// SetTrafficPolicyVersion sets the TrafficPolicyVersion field's value.
+func (s *ListTrafficPolicyInstancesByPolicyInput) SetTrafficPolicyVersion(v int64) *ListTrafficPolicyInstancesByPolicyInput {
+ s.TrafficPolicyVersion = &v
+ return s
+}
+
// A complex type that contains the response information for the request.
type ListTrafficPolicyInstancesByPolicyOutput struct {
_ struct{} `type:"structure"`
@@ -8659,6 +9979,42 @@ func (s ListTrafficPolicyInstancesByPolicyOutput) GoString() string {
return s.String()
}
+// SetHostedZoneIdMarker sets the HostedZoneIdMarker field's value.
+func (s *ListTrafficPolicyInstancesByPolicyOutput) SetHostedZoneIdMarker(v string) *ListTrafficPolicyInstancesByPolicyOutput {
+ s.HostedZoneIdMarker = &v
+ return s
+}
+
+// SetIsTruncated sets the IsTruncated field's value.
+func (s *ListTrafficPolicyInstancesByPolicyOutput) SetIsTruncated(v bool) *ListTrafficPolicyInstancesByPolicyOutput {
+ s.IsTruncated = &v
+ return s
+}
+
+// SetMaxItems sets the MaxItems field's value.
+func (s *ListTrafficPolicyInstancesByPolicyOutput) SetMaxItems(v string) *ListTrafficPolicyInstancesByPolicyOutput {
+ s.MaxItems = &v
+ return s
+}
+
+// SetTrafficPolicyInstanceNameMarker sets the TrafficPolicyInstanceNameMarker field's value.
+func (s *ListTrafficPolicyInstancesByPolicyOutput) SetTrafficPolicyInstanceNameMarker(v string) *ListTrafficPolicyInstancesByPolicyOutput {
+ s.TrafficPolicyInstanceNameMarker = &v
+ return s
+}
+
+// SetTrafficPolicyInstanceTypeMarker sets the TrafficPolicyInstanceTypeMarker field's value.
+func (s *ListTrafficPolicyInstancesByPolicyOutput) SetTrafficPolicyInstanceTypeMarker(v string) *ListTrafficPolicyInstancesByPolicyOutput {
+ s.TrafficPolicyInstanceTypeMarker = &v
+ return s
+}
+
+// SetTrafficPolicyInstances sets the TrafficPolicyInstances field's value.
+func (s *ListTrafficPolicyInstancesByPolicyOutput) SetTrafficPolicyInstances(v []*TrafficPolicyInstance) *ListTrafficPolicyInstancesByPolicyOutput {
+ s.TrafficPolicyInstances = v
+ return s
+}
+
// A complex type that contains the information about the request to list your
// traffic policy instances.
type ListTrafficPolicyInstancesInput struct {
@@ -8716,6 +10072,30 @@ func (s ListTrafficPolicyInstancesInput) GoString() string {
return s.String()
}
+// SetHostedZoneIdMarker sets the HostedZoneIdMarker field's value.
+func (s *ListTrafficPolicyInstancesInput) SetHostedZoneIdMarker(v string) *ListTrafficPolicyInstancesInput {
+ s.HostedZoneIdMarker = &v
+ return s
+}
+
+// SetMaxItems sets the MaxItems field's value.
+func (s *ListTrafficPolicyInstancesInput) SetMaxItems(v string) *ListTrafficPolicyInstancesInput {
+ s.MaxItems = &v
+ return s
+}
+
+// SetTrafficPolicyInstanceNameMarker sets the TrafficPolicyInstanceNameMarker field's value.
+func (s *ListTrafficPolicyInstancesInput) SetTrafficPolicyInstanceNameMarker(v string) *ListTrafficPolicyInstancesInput {
+ s.TrafficPolicyInstanceNameMarker = &v
+ return s
+}
+
+// SetTrafficPolicyInstanceTypeMarker sets the TrafficPolicyInstanceTypeMarker field's value.
+func (s *ListTrafficPolicyInstancesInput) SetTrafficPolicyInstanceTypeMarker(v string) *ListTrafficPolicyInstancesInput {
+ s.TrafficPolicyInstanceTypeMarker = &v
+ return s
+}
+
// A complex type that contains the response information for the request.
type ListTrafficPolicyInstancesOutput struct {
_ struct{} `type:"structure"`
@@ -8768,6 +10148,42 @@ func (s ListTrafficPolicyInstancesOutput) GoString() string {
return s.String()
}
+// SetHostedZoneIdMarker sets the HostedZoneIdMarker field's value.
+func (s *ListTrafficPolicyInstancesOutput) SetHostedZoneIdMarker(v string) *ListTrafficPolicyInstancesOutput {
+ s.HostedZoneIdMarker = &v
+ return s
+}
+
+// SetIsTruncated sets the IsTruncated field's value.
+func (s *ListTrafficPolicyInstancesOutput) SetIsTruncated(v bool) *ListTrafficPolicyInstancesOutput {
+ s.IsTruncated = &v
+ return s
+}
+
+// SetMaxItems sets the MaxItems field's value.
+func (s *ListTrafficPolicyInstancesOutput) SetMaxItems(v string) *ListTrafficPolicyInstancesOutput {
+ s.MaxItems = &v
+ return s
+}
+
+// SetTrafficPolicyInstanceNameMarker sets the TrafficPolicyInstanceNameMarker field's value.
+func (s *ListTrafficPolicyInstancesOutput) SetTrafficPolicyInstanceNameMarker(v string) *ListTrafficPolicyInstancesOutput {
+ s.TrafficPolicyInstanceNameMarker = &v
+ return s
+}
+
+// SetTrafficPolicyInstanceTypeMarker sets the TrafficPolicyInstanceTypeMarker field's value.
+func (s *ListTrafficPolicyInstancesOutput) SetTrafficPolicyInstanceTypeMarker(v string) *ListTrafficPolicyInstancesOutput {
+ s.TrafficPolicyInstanceTypeMarker = &v
+ return s
+}
+
+// SetTrafficPolicyInstances sets the TrafficPolicyInstances field's value.
+func (s *ListTrafficPolicyInstancesOutput) SetTrafficPolicyInstances(v []*TrafficPolicyInstance) *ListTrafficPolicyInstancesOutput {
+ s.TrafficPolicyInstances = v
+ return s
+}
+
// A complex type that contains the information about the request to list your
// traffic policies.
type ListTrafficPolicyVersionsInput struct {
@@ -8823,6 +10239,24 @@ func (s *ListTrafficPolicyVersionsInput) Validate() error {
return nil
}
+// SetId sets the Id field's value.
+func (s *ListTrafficPolicyVersionsInput) SetId(v string) *ListTrafficPolicyVersionsInput {
+ s.Id = &v
+ return s
+}
+
+// SetMaxItems sets the MaxItems field's value.
+func (s *ListTrafficPolicyVersionsInput) SetMaxItems(v string) *ListTrafficPolicyVersionsInput {
+ s.MaxItems = &v
+ return s
+}
+
+// SetTrafficPolicyVersionMarker sets the TrafficPolicyVersionMarker field's value.
+func (s *ListTrafficPolicyVersionsInput) SetTrafficPolicyVersionMarker(v string) *ListTrafficPolicyVersionsInput {
+ s.TrafficPolicyVersionMarker = &v
+ return s
+}
+
// A complex type that contains the response information for the request.
type ListTrafficPolicyVersionsOutput struct {
_ struct{} `type:"structure"`
@@ -8868,6 +10302,148 @@ func (s ListTrafficPolicyVersionsOutput) GoString() string {
return s.String()
}
+// SetIsTruncated sets the IsTruncated field's value.
+func (s *ListTrafficPolicyVersionsOutput) SetIsTruncated(v bool) *ListTrafficPolicyVersionsOutput {
+ s.IsTruncated = &v
+ return s
+}
+
+// SetMaxItems sets the MaxItems field's value.
+func (s *ListTrafficPolicyVersionsOutput) SetMaxItems(v string) *ListTrafficPolicyVersionsOutput {
+ s.MaxItems = &v
+ return s
+}
+
+// SetTrafficPolicies sets the TrafficPolicies field's value.
+func (s *ListTrafficPolicyVersionsOutput) SetTrafficPolicies(v []*TrafficPolicy) *ListTrafficPolicyVersionsOutput {
+ s.TrafficPolicies = v
+ return s
+}
+
+// SetTrafficPolicyVersionMarker sets the TrafficPolicyVersionMarker field's value.
+func (s *ListTrafficPolicyVersionsOutput) SetTrafficPolicyVersionMarker(v string) *ListTrafficPolicyVersionsOutput {
+ s.TrafficPolicyVersionMarker = &v
+ return s
+}
+
+// A complex type that contains information about that can be associated with
+// your hosted zone.
+type ListVPCAssociationAuthorizationsInput struct {
+ _ struct{} `type:"structure"`
+
+ // The ID of the hosted zone for which you want a list of VPCs that can be associated
+ // with the hosted zone.
+ //
+ // HostedZoneId is a required field
+ HostedZoneId *string `location:"uri" locationName:"Id" type:"string" required:"true"`
+
+ // Optional: An integer that specifies the maximum number of VPCs that you want
+ // Amazon Route 53 to return.
+ MaxResults *string `location:"querystring" locationName:"maxresults" type:"string"`
+
+ // Optional: If a response includes a NextToken element, there are more VPCs
+ // that can be associated with the specified hosted zone. To get the next page
+ // of results, submit another request, and include the value of the NextToken
+ // element in from the response in the NextToken parameter in another ListVPCAssociationAuthorizations
+ // request.
+ NextToken *string `location:"querystring" locationName:"nexttoken" type:"string"`
+}
+
+// String returns the string representation
+func (s ListVPCAssociationAuthorizationsInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s ListVPCAssociationAuthorizationsInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *ListVPCAssociationAuthorizationsInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ListVPCAssociationAuthorizationsInput"}
+ if s.HostedZoneId == nil {
+ invalidParams.Add(request.NewErrParamRequired("HostedZoneId"))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetHostedZoneId sets the HostedZoneId field's value.
+func (s *ListVPCAssociationAuthorizationsInput) SetHostedZoneId(v string) *ListVPCAssociationAuthorizationsInput {
+ s.HostedZoneId = &v
+ return s
+}
+
+// SetMaxResults sets the MaxResults field's value.
+func (s *ListVPCAssociationAuthorizationsInput) SetMaxResults(v string) *ListVPCAssociationAuthorizationsInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListVPCAssociationAuthorizationsInput) SetNextToken(v string) *ListVPCAssociationAuthorizationsInput {
+ s.NextToken = &v
+ return s
+}
+
+// A complex type that contains the response information for the request.
+type ListVPCAssociationAuthorizationsOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The ID of the hosted zone that you can associate the listed VPCs with.
+ //
+ // HostedZoneId is a required field
+ HostedZoneId *string `type:"string" required:"true"`
+
+ // When the response includes a NextToken element, there are more VPCs that
+ // can be associated with the specified hosted zone. To get the next page of
+ // VPCs, submit another ListVPCAssociationAuthorizations request, and include
+ // the value of the NextToken element from the response in the NextToken request
+ // parameter:
+ //
+ // /2013-04-01/hostedzone/hosted zone ID/authorizevpcassociation?MaxItems=VPCs
+ // per page&NextToken=
+ NextToken *string `type:"string"`
+
+ // The list of VPCs that are authorized to be associated with the specified
+ // hosted zone.
+ //
+ // VPCs is a required field
+ VPCs []*VPC `locationNameList:"VPC" min:"1" type:"list" required:"true"`
+}
+
+// String returns the string representation
+func (s ListVPCAssociationAuthorizationsOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s ListVPCAssociationAuthorizationsOutput) GoString() string {
+ return s.String()
+}
+
+// SetHostedZoneId sets the HostedZoneId field's value.
+func (s *ListVPCAssociationAuthorizationsOutput) SetHostedZoneId(v string) *ListVPCAssociationAuthorizationsOutput {
+ s.HostedZoneId = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListVPCAssociationAuthorizationsOutput) SetNextToken(v string) *ListVPCAssociationAuthorizationsOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetVPCs sets the VPCs field's value.
+func (s *ListVPCAssociationAuthorizationsOutput) SetVPCs(v []*VPC) *ListVPCAssociationAuthorizationsOutput {
+ s.VPCs = v
+ return s
+}
+
// Information specific to the resource record.
//
// If you are creating an alias resource record set, omit ResourceRecord.
@@ -8912,14 +10488,20 @@ func (s *ResourceRecord) Validate() error {
return nil
}
+// SetValue sets the Value field's value.
+func (s *ResourceRecord) SetValue(v string) *ResourceRecord {
+ s.Value = &v
+ return s
+}
+
// Information about the resource record set to create or delete.
type ResourceRecordSet struct {
_ struct{} `type:"structure"`
// Alias resource record sets only: Information about the CloudFront distribution,
- // Elastic Beanstalk environment, ELB load balancer, Amazon S3 bucket, or Amazon
- // Route 53 resource record set to which you are redirecting queries. The Elastic
- // Beanstalk environment must have a regionalized subdomain.
+ // AWS Elastic Beanstalk environment, ELB load balancer, Amazon S3 bucket, or
+ // Amazon Route 53 resource record set to which you are redirecting queries.
+ // The AWS Elastic Beanstalk environment must have a regionalized subdomain.
//
// If you're creating resource records sets for a private hosted zone, note
// the following:
@@ -8963,7 +10545,7 @@ type ResourceRecordSet struct {
// resource record set. This is true regardless of the health of the associated
// endpoint.
//
- // You cannot create non-failover resource record sets that have the same values
+ // You can't create non-failover resource record sets that have the same values
// for the Name and Type elements as failover resource record sets.
//
// For failover alias resource record sets, you must also include the EvaluateTargetHealth
@@ -8994,7 +10576,7 @@ type ResourceRecordSet struct {
// This allows you to route most queries for a continent to one resource and
// to route queries for a country on that continent to a different resource.
//
- // You cannot create two geolocation resource record sets that specify the same
+ // You can't create two geolocation resource record sets that specify the same
// geographic location.
//
// The value * in the CountryCode element matches all geographic locations that
@@ -9011,7 +10593,7 @@ type ResourceRecordSet struct {
// aren't mapped to a location. If you don't create a * resource record set,
// Amazon Route 53 returns a "no answer" response for queries from those locations.
//
- // You cannot create non-geolocation resource record sets that have the same
+ // You can't create non-geolocation resource record sets that have the same
// values for the Name and Type elements as geolocation resource record sets.
GeoLocation *GeoLocation `type:"structure"`
@@ -9116,18 +10698,18 @@ type ResourceRecordSet struct {
// NS.
//
// You can use the * wildcard as the leftmost label in a domain name, for example,
- // *.example.com. You cannot use an * for one of the middle labels, for example,
+ // *.example.com. You can't use an * for one of the middle labels, for example,
// marketing.*.example.com. In addition, the * must replace the entire label;
// for example, you can't specify prod*.example.com.
//
// Name is a required field
Name *string `type:"string" required:"true"`
- // Latency-based resource record sets only: The Amazon EC2 region where the
+ // Latency-based resource record sets only: The Amazon EC2 Region where the
// resource that is specified in this resource record set resides. The resource
- // typically is an AWS resource, such as an Amazon EC2 instance or an ELB load
- // balancer, and is referred to by an IP address or a DNS domain name, depending
- // on the record type.
+ // typically is an AWS resource, such as an EC2 instance or an ELB load balancer,
+ // and is referred to by an IP address or a DNS domain name, depending on the
+ // record type.
//
// Creating latency and latency alias resource record sets in private hosted
// zones is not supported.
@@ -9135,7 +10717,7 @@ type ResourceRecordSet struct {
// When Amazon Route 53 receives a DNS query for a domain name and type for
// which you have created latency resource record sets, Amazon Route 53 selects
// the latency resource record set that has the lowest latency between the end
- // user and the associated Amazon EC2 region. Amazon Route 53 then returns the
+ // user and the associated Amazon EC2 Region. Amazon Route 53 then returns the
// value that is associated with the selected resource record set.
//
// Note the following:
@@ -9144,14 +10726,14 @@ type ResourceRecordSet struct {
// set.
//
// * You can only create one latency resource record set for each Amazon
- // EC2 region.
+ // EC2 Region.
//
// * You are not required to create latency resource record sets for all
- // Amazon EC2 regions. Amazon Route 53 will choose the region with the best
+ // Amazon EC2 Regions. Amazon Route 53 will choose the region with the best
// latency from among the regions for which you create latency resource record
// sets.
//
- // * You cannot create non-latency resource record sets that have the same
+ // * You can't create non-latency resource record sets that have the same
// values for the Name and Type elements as latency resource record sets.
Region *string `min:"1" type:"string" enum:"ResourceRecordSetRegion"`
@@ -9225,7 +10807,12 @@ type ResourceRecordSet struct {
//
// * CloudFront distributions:A
//
- // * Elastic Beanstalk environment that has a regionalized subdomain: A
+ // If IPv6 is enabled for the distribution, create two resource record sets
+ // to route traffic to your distribution, one with a value of A and one with
+ // a value of AAAA.
+ //
+ // * AWS Elastic Beanstalk environment that has a regionalized subdomain:
+ // A
//
// * ELB load balancers:A | AAAA
//
@@ -9252,9 +10839,9 @@ type ResourceRecordSet struct {
// * You can only specify one ResourceRecord per weighted resource record
// set.
//
- // * You cannot create latency, failover, or geolocation resource record
- // sets that have the same values for the Name and Type elements as weighted
- // resource record sets.
+ // * You can't create latency, failover, or geolocation resource record sets
+ // that have the same values for the Name and Type elements as weighted resource
+ // record sets.
//
// * You can create a maximum of 100 weighted resource record sets that have
// the same values for the Name and Type elements.
@@ -9329,6 +10916,78 @@ func (s *ResourceRecordSet) Validate() error {
return nil
}
+// SetAliasTarget sets the AliasTarget field's value.
+func (s *ResourceRecordSet) SetAliasTarget(v *AliasTarget) *ResourceRecordSet {
+ s.AliasTarget = v
+ return s
+}
+
+// SetFailover sets the Failover field's value.
+func (s *ResourceRecordSet) SetFailover(v string) *ResourceRecordSet {
+ s.Failover = &v
+ return s
+}
+
+// SetGeoLocation sets the GeoLocation field's value.
+func (s *ResourceRecordSet) SetGeoLocation(v *GeoLocation) *ResourceRecordSet {
+ s.GeoLocation = v
+ return s
+}
+
+// SetHealthCheckId sets the HealthCheckId field's value.
+func (s *ResourceRecordSet) SetHealthCheckId(v string) *ResourceRecordSet {
+ s.HealthCheckId = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *ResourceRecordSet) SetName(v string) *ResourceRecordSet {
+ s.Name = &v
+ return s
+}
+
+// SetRegion sets the Region field's value.
+func (s *ResourceRecordSet) SetRegion(v string) *ResourceRecordSet {
+ s.Region = &v
+ return s
+}
+
+// SetResourceRecords sets the ResourceRecords field's value.
+func (s *ResourceRecordSet) SetResourceRecords(v []*ResourceRecord) *ResourceRecordSet {
+ s.ResourceRecords = v
+ return s
+}
+
+// SetSetIdentifier sets the SetIdentifier field's value.
+func (s *ResourceRecordSet) SetSetIdentifier(v string) *ResourceRecordSet {
+ s.SetIdentifier = &v
+ return s
+}
+
+// SetTTL sets the TTL field's value.
+func (s *ResourceRecordSet) SetTTL(v int64) *ResourceRecordSet {
+ s.TTL = &v
+ return s
+}
+
+// SetTrafficPolicyInstanceId sets the TrafficPolicyInstanceId field's value.
+func (s *ResourceRecordSet) SetTrafficPolicyInstanceId(v string) *ResourceRecordSet {
+ s.TrafficPolicyInstanceId = &v
+ return s
+}
+
+// SetType sets the Type field's value.
+func (s *ResourceRecordSet) SetType(v string) *ResourceRecordSet {
+ s.Type = &v
+ return s
+}
+
+// SetWeight sets the Weight field's value.
+func (s *ResourceRecordSet) SetWeight(v int64) *ResourceRecordSet {
+ s.Weight = &v
+ return s
+}
+
// A complex type containing a resource and its associated tags.
type ResourceTagSet struct {
_ struct{} `type:"structure"`
@@ -9357,6 +11016,24 @@ func (s ResourceTagSet) GoString() string {
return s.String()
}
+// SetResourceId sets the ResourceId field's value.
+func (s *ResourceTagSet) SetResourceId(v string) *ResourceTagSet {
+ s.ResourceId = &v
+ return s
+}
+
+// SetResourceType sets the ResourceType field's value.
+func (s *ResourceTagSet) SetResourceType(v string) *ResourceTagSet {
+ s.ResourceType = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *ResourceTagSet) SetTags(v []*Tag) *ResourceTagSet {
+ s.Tags = 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.
type StatusReport struct {
@@ -9383,6 +11060,18 @@ func (s StatusReport) GoString() string {
return s.String()
}
+// SetCheckedTime sets the CheckedTime field's value.
+func (s *StatusReport) SetCheckedTime(v time.Time) *StatusReport {
+ s.CheckedTime = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *StatusReport) SetStatus(v string) *StatusReport {
+ s.Status = &v
+ return s
+}
+
// A complex type that contains information about a tag that you want to add
// or edit for the specified health check or hosted zone.
type Tag struct {
@@ -9422,6 +11111,18 @@ 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
+}
+
// 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.
@@ -9515,6 +11216,42 @@ func (s *TestDNSAnswerInput) Validate() error {
return nil
}
+// SetEDNS0ClientSubnetIP sets the EDNS0ClientSubnetIP field's value.
+func (s *TestDNSAnswerInput) SetEDNS0ClientSubnetIP(v string) *TestDNSAnswerInput {
+ s.EDNS0ClientSubnetIP = &v
+ return s
+}
+
+// SetEDNS0ClientSubnetMask sets the EDNS0ClientSubnetMask field's value.
+func (s *TestDNSAnswerInput) SetEDNS0ClientSubnetMask(v string) *TestDNSAnswerInput {
+ s.EDNS0ClientSubnetMask = &v
+ return s
+}
+
+// SetHostedZoneId sets the HostedZoneId field's value.
+func (s *TestDNSAnswerInput) SetHostedZoneId(v string) *TestDNSAnswerInput {
+ s.HostedZoneId = &v
+ return s
+}
+
+// SetRecordName sets the RecordName field's value.
+func (s *TestDNSAnswerInput) SetRecordName(v string) *TestDNSAnswerInput {
+ s.RecordName = &v
+ return s
+}
+
+// SetRecordType sets the RecordType field's value.
+func (s *TestDNSAnswerInput) SetRecordType(v string) *TestDNSAnswerInput {
+ s.RecordType = &v
+ return s
+}
+
+// SetResolverIP sets the ResolverIP field's value.
+func (s *TestDNSAnswerInput) SetResolverIP(v string) *TestDNSAnswerInput {
+ s.ResolverIP = &v
+ return s
+}
+
// A complex type that contains the response to a TestDNSAnswer request.
type TestDNSAnswerOutput struct {
_ struct{} `type:"structure"`
@@ -9566,6 +11303,42 @@ func (s TestDNSAnswerOutput) GoString() string {
return s.String()
}
+// SetNameserver sets the Nameserver field's value.
+func (s *TestDNSAnswerOutput) SetNameserver(v string) *TestDNSAnswerOutput {
+ s.Nameserver = &v
+ return s
+}
+
+// SetProtocol sets the Protocol field's value.
+func (s *TestDNSAnswerOutput) SetProtocol(v string) *TestDNSAnswerOutput {
+ s.Protocol = &v
+ return s
+}
+
+// SetRecordData sets the RecordData field's value.
+func (s *TestDNSAnswerOutput) SetRecordData(v []*string) *TestDNSAnswerOutput {
+ s.RecordData = v
+ return s
+}
+
+// SetRecordName sets the RecordName field's value.
+func (s *TestDNSAnswerOutput) SetRecordName(v string) *TestDNSAnswerOutput {
+ s.RecordName = &v
+ return s
+}
+
+// SetRecordType sets the RecordType field's value.
+func (s *TestDNSAnswerOutput) SetRecordType(v string) *TestDNSAnswerOutput {
+ s.RecordType = &v
+ return s
+}
+
+// SetResponseCode sets the ResponseCode field's value.
+func (s *TestDNSAnswerOutput) SetResponseCode(v string) *TestDNSAnswerOutput {
+ s.ResponseCode = &v
+ return s
+}
+
// A complex type that contains settings for a traffic policy.
type TrafficPolicy struct {
_ struct{} `type:"structure"`
@@ -9575,7 +11348,7 @@ type TrafficPolicy struct {
// The definition of a traffic policy in JSON format. You specify the JSON document
// to use for a new traffic policy in the CreateTrafficPolicy request. For more
- // information about the JSON format, see Traffic Policy Document Format (http://docs.aws.amazon.com/Route53/latest/api-reference/api-policies-traffic-policy-document-format.html).
+ // information about the JSON format, see Traffic Policy Document Format (http://docs.aws.amazon.com/Route53/latest/APIReference/api-policies-traffic-policy-document-format.html).
//
// Document is a required field
Document *string `type:"string" required:"true"`
@@ -9614,6 +11387,42 @@ func (s TrafficPolicy) GoString() string {
return s.String()
}
+// SetComment sets the Comment field's value.
+func (s *TrafficPolicy) SetComment(v string) *TrafficPolicy {
+ s.Comment = &v
+ return s
+}
+
+// SetDocument sets the Document field's value.
+func (s *TrafficPolicy) SetDocument(v string) *TrafficPolicy {
+ s.Document = &v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *TrafficPolicy) SetId(v string) *TrafficPolicy {
+ s.Id = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *TrafficPolicy) SetName(v string) *TrafficPolicy {
+ s.Name = &v
+ return s
+}
+
+// SetType sets the Type field's value.
+func (s *TrafficPolicy) SetType(v string) *TrafficPolicy {
+ s.Type = &v
+ return s
+}
+
+// SetVersion sets the Version field's value.
+func (s *TrafficPolicy) SetVersion(v int64) *TrafficPolicy {
+ s.Version = &v
+ return s
+}
+
// A complex type that contains settings for the new traffic policy instance.
type TrafficPolicyInstance struct {
_ struct{} `type:"structure"`
@@ -9692,6 +11501,60 @@ func (s TrafficPolicyInstance) GoString() string {
return s.String()
}
+// SetHostedZoneId sets the HostedZoneId field's value.
+func (s *TrafficPolicyInstance) SetHostedZoneId(v string) *TrafficPolicyInstance {
+ s.HostedZoneId = &v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *TrafficPolicyInstance) SetId(v string) *TrafficPolicyInstance {
+ s.Id = &v
+ return s
+}
+
+// SetMessage sets the Message field's value.
+func (s *TrafficPolicyInstance) SetMessage(v string) *TrafficPolicyInstance {
+ s.Message = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *TrafficPolicyInstance) SetName(v string) *TrafficPolicyInstance {
+ s.Name = &v
+ return s
+}
+
+// SetState sets the State field's value.
+func (s *TrafficPolicyInstance) SetState(v string) *TrafficPolicyInstance {
+ s.State = &v
+ return s
+}
+
+// SetTTL sets the TTL field's value.
+func (s *TrafficPolicyInstance) SetTTL(v int64) *TrafficPolicyInstance {
+ s.TTL = &v
+ return s
+}
+
+// SetTrafficPolicyId sets the TrafficPolicyId field's value.
+func (s *TrafficPolicyInstance) SetTrafficPolicyId(v string) *TrafficPolicyInstance {
+ s.TrafficPolicyId = &v
+ return s
+}
+
+// SetTrafficPolicyType sets the TrafficPolicyType field's value.
+func (s *TrafficPolicyInstance) SetTrafficPolicyType(v string) *TrafficPolicyInstance {
+ s.TrafficPolicyType = &v
+ return s
+}
+
+// SetTrafficPolicyVersion sets the TrafficPolicyVersion field's value.
+func (s *TrafficPolicyInstance) SetTrafficPolicyVersion(v int64) *TrafficPolicyInstance {
+ s.TrafficPolicyVersion = &v
+ return s
+}
+
// A complex type that contains information about the latest version of one
// traffic policy that is associated with the current AWS account.
type TrafficPolicySummary struct {
@@ -9735,6 +11598,36 @@ func (s TrafficPolicySummary) GoString() string {
return s.String()
}
+// SetId sets the Id field's value.
+func (s *TrafficPolicySummary) SetId(v string) *TrafficPolicySummary {
+ s.Id = &v
+ return s
+}
+
+// SetLatestVersion sets the LatestVersion field's value.
+func (s *TrafficPolicySummary) SetLatestVersion(v int64) *TrafficPolicySummary {
+ s.LatestVersion = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *TrafficPolicySummary) SetName(v string) *TrafficPolicySummary {
+ s.Name = &v
+ return s
+}
+
+// SetTrafficPolicyCount sets the TrafficPolicyCount field's value.
+func (s *TrafficPolicySummary) SetTrafficPolicyCount(v int64) *TrafficPolicySummary {
+ s.TrafficPolicyCount = &v
+ return s
+}
+
+// SetType sets the Type field's value.
+func (s *TrafficPolicySummary) SetType(v string) *TrafficPolicySummary {
+ s.Type = &v
+ return s
+}
+
// A complex type that contains the health check request information.
type UpdateHealthCheckInput struct {
_ struct{} `locationName:"UpdateHealthCheckRequest" type:"structure" xmlURI:"https://route53.amazonaws.com/doc/2013-04-01/"`
@@ -9879,11 +11772,10 @@ type UpdateHealthCheckInput struct {
// Using an IP address that DNS returns, Amazon Route 53 then checks the health
// of the endpoint.
//
- // f the endpoint is an Amazon EC2 instance, we recommend that you create an
- // Elastic IP address, associate it with your Amazon EC2 instance, and specify
- // the Elastic IP address for IPAddress. This ensures that the IP address of
- // your instance never changes. For more information, see Elastic IP Addresses
- // (EIP) (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html)
+ // f the endpoint is an EC2 instance, we recommend that you create an Elastic
+ // IP address, associate it with your EC2 instance, and specify the Elastic
+ // IP address for IPAddress. This ensures that the IP address of your instance
+ // never changes. For more information, see Elastic IP Addresses (EIP) (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html)
// in the Amazon EC2 User Guide for Linux Instances.
//
// If a health check already has a value for IPAddress, you can change the value.
@@ -9975,6 +11867,96 @@ func (s *UpdateHealthCheckInput) Validate() error {
return nil
}
+// SetAlarmIdentifier sets the AlarmIdentifier field's value.
+func (s *UpdateHealthCheckInput) SetAlarmIdentifier(v *AlarmIdentifier) *UpdateHealthCheckInput {
+ s.AlarmIdentifier = v
+ return s
+}
+
+// SetChildHealthChecks sets the ChildHealthChecks field's value.
+func (s *UpdateHealthCheckInput) SetChildHealthChecks(v []*string) *UpdateHealthCheckInput {
+ s.ChildHealthChecks = v
+ return s
+}
+
+// SetEnableSNI sets the EnableSNI field's value.
+func (s *UpdateHealthCheckInput) SetEnableSNI(v bool) *UpdateHealthCheckInput {
+ s.EnableSNI = &v
+ return s
+}
+
+// SetFailureThreshold sets the FailureThreshold field's value.
+func (s *UpdateHealthCheckInput) SetFailureThreshold(v int64) *UpdateHealthCheckInput {
+ s.FailureThreshold = &v
+ return s
+}
+
+// SetFullyQualifiedDomainName sets the FullyQualifiedDomainName field's value.
+func (s *UpdateHealthCheckInput) SetFullyQualifiedDomainName(v string) *UpdateHealthCheckInput {
+ s.FullyQualifiedDomainName = &v
+ return s
+}
+
+// SetHealthCheckId sets the HealthCheckId field's value.
+func (s *UpdateHealthCheckInput) SetHealthCheckId(v string) *UpdateHealthCheckInput {
+ s.HealthCheckId = &v
+ return s
+}
+
+// SetHealthCheckVersion sets the HealthCheckVersion field's value.
+func (s *UpdateHealthCheckInput) SetHealthCheckVersion(v int64) *UpdateHealthCheckInput {
+ s.HealthCheckVersion = &v
+ return s
+}
+
+// SetHealthThreshold sets the HealthThreshold field's value.
+func (s *UpdateHealthCheckInput) SetHealthThreshold(v int64) *UpdateHealthCheckInput {
+ s.HealthThreshold = &v
+ return s
+}
+
+// SetIPAddress sets the IPAddress field's value.
+func (s *UpdateHealthCheckInput) SetIPAddress(v string) *UpdateHealthCheckInput {
+ s.IPAddress = &v
+ return s
+}
+
+// SetInsufficientDataHealthStatus sets the InsufficientDataHealthStatus field's value.
+func (s *UpdateHealthCheckInput) SetInsufficientDataHealthStatus(v string) *UpdateHealthCheckInput {
+ s.InsufficientDataHealthStatus = &v
+ return s
+}
+
+// SetInverted sets the Inverted field's value.
+func (s *UpdateHealthCheckInput) SetInverted(v bool) *UpdateHealthCheckInput {
+ s.Inverted = &v
+ return s
+}
+
+// SetPort sets the Port field's value.
+func (s *UpdateHealthCheckInput) SetPort(v int64) *UpdateHealthCheckInput {
+ s.Port = &v
+ return s
+}
+
+// SetRegions sets the Regions field's value.
+func (s *UpdateHealthCheckInput) SetRegions(v []*string) *UpdateHealthCheckInput {
+ s.Regions = v
+ return s
+}
+
+// SetResourcePath sets the ResourcePath field's value.
+func (s *UpdateHealthCheckInput) SetResourcePath(v string) *UpdateHealthCheckInput {
+ s.ResourcePath = &v
+ return s
+}
+
+// SetSearchString sets the SearchString field's value.
+func (s *UpdateHealthCheckInput) SetSearchString(v string) *UpdateHealthCheckInput {
+ s.SearchString = &v
+ return s
+}
+
type UpdateHealthCheckOutput struct {
_ struct{} `type:"structure"`
@@ -9995,6 +11977,12 @@ func (s UpdateHealthCheckOutput) GoString() string {
return s.String()
}
+// SetHealthCheck sets the HealthCheck field's value.
+func (s *UpdateHealthCheckOutput) SetHealthCheck(v *HealthCheck) *UpdateHealthCheckOutput {
+ s.HealthCheck = v
+ return s
+}
+
// A complex type that contains the hosted zone request information.
type UpdateHostedZoneCommentInput struct {
_ struct{} `locationName:"UpdateHostedZoneCommentRequest" type:"structure" xmlURI:"https://route53.amazonaws.com/doc/2013-04-01/"`
@@ -10032,6 +12020,18 @@ func (s *UpdateHostedZoneCommentInput) Validate() error {
return nil
}
+// SetComment sets the Comment field's value.
+func (s *UpdateHostedZoneCommentInput) SetComment(v string) *UpdateHostedZoneCommentInput {
+ s.Comment = &v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *UpdateHostedZoneCommentInput) SetId(v string) *UpdateHostedZoneCommentInput {
+ s.Id = &v
+ return s
+}
+
// A complex type that contains the response to the UpdateHostedZoneCommentRequest.
type UpdateHostedZoneCommentOutput struct {
_ struct{} `type:"structure"`
@@ -10052,6 +12052,12 @@ func (s UpdateHostedZoneCommentOutput) GoString() string {
return s.String()
}
+// SetHostedZone sets the HostedZone field's value.
+func (s *UpdateHostedZoneCommentOutput) SetHostedZone(v *HostedZone) *UpdateHostedZoneCommentOutput {
+ s.HostedZone = v
+ return s
+}
+
// A complex type that contains information about the traffic policy for which
// you want to update the comment.
type UpdateTrafficPolicyCommentInput struct {
@@ -10106,6 +12112,24 @@ func (s *UpdateTrafficPolicyCommentInput) Validate() error {
return nil
}
+// SetComment sets the Comment field's value.
+func (s *UpdateTrafficPolicyCommentInput) SetComment(v string) *UpdateTrafficPolicyCommentInput {
+ s.Comment = &v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *UpdateTrafficPolicyCommentInput) SetId(v string) *UpdateTrafficPolicyCommentInput {
+ s.Id = &v
+ return s
+}
+
+// SetVersion sets the Version field's value.
+func (s *UpdateTrafficPolicyCommentInput) SetVersion(v int64) *UpdateTrafficPolicyCommentInput {
+ s.Version = &v
+ return s
+}
+
// A complex type that contains the response information for the traffic policy.
type UpdateTrafficPolicyCommentOutput struct {
_ struct{} `type:"structure"`
@@ -10126,6 +12150,12 @@ func (s UpdateTrafficPolicyCommentOutput) GoString() string {
return s.String()
}
+// SetTrafficPolicy sets the TrafficPolicy field's value.
+func (s *UpdateTrafficPolicyCommentOutput) SetTrafficPolicy(v *TrafficPolicy) *UpdateTrafficPolicyCommentOutput {
+ s.TrafficPolicy = v
+ return s
+}
+
// A complex type that contains information about the resource record sets that
// you want to update based on a specified traffic policy instance.
type UpdateTrafficPolicyInstanceInput struct {
@@ -10190,6 +12220,30 @@ func (s *UpdateTrafficPolicyInstanceInput) Validate() error {
return nil
}
+// SetId sets the Id field's value.
+func (s *UpdateTrafficPolicyInstanceInput) SetId(v string) *UpdateTrafficPolicyInstanceInput {
+ s.Id = &v
+ return s
+}
+
+// SetTTL sets the TTL field's value.
+func (s *UpdateTrafficPolicyInstanceInput) SetTTL(v int64) *UpdateTrafficPolicyInstanceInput {
+ s.TTL = &v
+ return s
+}
+
+// SetTrafficPolicyId sets the TrafficPolicyId field's value.
+func (s *UpdateTrafficPolicyInstanceInput) SetTrafficPolicyId(v string) *UpdateTrafficPolicyInstanceInput {
+ s.TrafficPolicyId = &v
+ return s
+}
+
+// SetTrafficPolicyVersion sets the TrafficPolicyVersion field's value.
+func (s *UpdateTrafficPolicyInstanceInput) SetTrafficPolicyVersion(v int64) *UpdateTrafficPolicyInstanceInput {
+ s.TrafficPolicyVersion = &v
+ return s
+}
+
// A complex type that contains information about the resource record sets that
// Amazon Route 53 created based on a specified traffic policy.
type UpdateTrafficPolicyInstanceOutput struct {
@@ -10211,12 +12265,18 @@ func (s UpdateTrafficPolicyInstanceOutput) GoString() string {
return s.String()
}
-// A complex type that contains information about the Amazon VPC that you're
-// associating with the specified hosted zone.
+// SetTrafficPolicyInstance sets the TrafficPolicyInstance field's value.
+func (s *UpdateTrafficPolicyInstanceOutput) SetTrafficPolicyInstance(v *TrafficPolicyInstance) *UpdateTrafficPolicyInstanceOutput {
+ s.TrafficPolicyInstance = v
+ return s
+}
+
+// A complex type that contains information about an Amazon VPC that is associated
+// with a private hosted zone.
type VPC struct {
_ struct{} `type:"structure"`
- // A VPC ID
+ // The ID of an Amazon VPC.
VPCId *string `type:"string"`
// The region in which you created the VPC that you want to associate with the
@@ -10247,6 +12307,18 @@ func (s *VPC) Validate() error {
return nil
}
+// SetVPCId sets the VPCId field's value.
+func (s *VPC) SetVPCId(v string) *VPC {
+ s.VPCId = &v
+ return s
+}
+
+// SetVPCRegion sets the VPCRegion field's value.
+func (s *VPC) SetVPCRegion(v string) *VPC {
+ s.VPCRegion = &v
+ return s
+}
+
const (
// ChangeActionCreate is a ChangeAction enum value
ChangeActionCreate = "CREATE"
@@ -10270,6 +12342,9 @@ const (
// CloudWatchRegionUsEast1 is a CloudWatchRegion enum value
CloudWatchRegionUsEast1 = "us-east-1"
+ // CloudWatchRegionUsEast2 is a CloudWatchRegion enum value
+ CloudWatchRegionUsEast2 = "us-east-2"
+
// CloudWatchRegionUsWest1 is a CloudWatchRegion enum value
CloudWatchRegionUsWest1 = "us-west-1"
@@ -10315,7 +12390,7 @@ const (
ComparisonOperatorLessThanOrEqualToThreshold = "LessThanOrEqualToThreshold"
)
-// An Amazon EC2 region that you want Amazon Route 53 to use to perform health
+// An Amazon EC2 Region that you want Amazon Route 53 to use to perform health
// checks.
const (
// HealthCheckRegionUsEast1 is a HealthCheckRegion enum value
diff --git a/vendor/github.com/aws/aws-sdk-go/service/route53/examples_test.go b/vendor/github.com/aws/aws-sdk-go/service/route53/examples_test.go
index a297b02..a7a7f61 100644
--- a/vendor/github.com/aws/aws-sdk-go/service/route53/examples_test.go
+++ b/vendor/github.com/aws/aws-sdk-go/service/route53/examples_test.go
@@ -339,6 +339,35 @@ func ExampleRoute53_CreateTrafficPolicyVersion() {
fmt.Println(resp)
}
+func ExampleRoute53_CreateVPCAssociationAuthorization() {
+ sess, err := session.NewSession()
+ if err != nil {
+ fmt.Println("failed to create session,", err)
+ return
+ }
+
+ svc := route53.New(sess)
+
+ params := &route53.CreateVPCAssociationAuthorizationInput{
+ HostedZoneId: aws.String("ResourceId"), // Required
+ VPC: &route53.VPC{ // Required
+ VPCId: aws.String("VPCId"),
+ VPCRegion: aws.String("VPCRegion"),
+ },
+ }
+ resp, err := svc.CreateVPCAssociationAuthorization(params)
+
+ if err != nil {
+ // Print the error, cast err to awserr.Error to get the Code and
+ // Message from an error.
+ fmt.Println(err.Error())
+ return
+ }
+
+ // Pretty-print the response data.
+ fmt.Println(resp)
+}
+
func ExampleRoute53_DeleteHealthCheck() {
sess, err := session.NewSession()
if err != nil {
@@ -465,7 +494,7 @@ func ExampleRoute53_DeleteTrafficPolicyInstance() {
fmt.Println(resp)
}
-func ExampleRoute53_DisassociateVPCFromHostedZone() {
+func ExampleRoute53_DeleteVPCAssociationAuthorization() {
sess, err := session.NewSession()
if err != nil {
fmt.Println("failed to create session,", err)
@@ -474,15 +503,14 @@ func ExampleRoute53_DisassociateVPCFromHostedZone() {
svc := route53.New(sess)
- params := &route53.DisassociateVPCFromHostedZoneInput{
+ params := &route53.DeleteVPCAssociationAuthorizationInput{
HostedZoneId: aws.String("ResourceId"), // Required
VPC: &route53.VPC{ // Required
VPCId: aws.String("VPCId"),
VPCRegion: aws.String("VPCRegion"),
},
- Comment: aws.String("DisassociateVPCComment"),
}
- resp, err := svc.DisassociateVPCFromHostedZone(params)
+ resp, err := svc.DeleteVPCAssociationAuthorization(params)
if err != nil {
// Print the error, cast err to awserr.Error to get the Code and
@@ -495,7 +523,7 @@ func ExampleRoute53_DisassociateVPCFromHostedZone() {
fmt.Println(resp)
}
-func ExampleRoute53_GetChange() {
+func ExampleRoute53_DisassociateVPCFromHostedZone() {
sess, err := session.NewSession()
if err != nil {
fmt.Println("failed to create session,", err)
@@ -504,10 +532,15 @@ func ExampleRoute53_GetChange() {
svc := route53.New(sess)
- params := &route53.GetChangeInput{
- Id: aws.String("ResourceId"), // Required
+ params := &route53.DisassociateVPCFromHostedZoneInput{
+ HostedZoneId: aws.String("ResourceId"), // Required
+ VPC: &route53.VPC{ // Required
+ VPCId: aws.String("VPCId"),
+ VPCRegion: aws.String("VPCRegion"),
+ },
+ Comment: aws.String("DisassociateVPCComment"),
}
- resp, err := svc.GetChange(params)
+ resp, err := svc.DisassociateVPCFromHostedZone(params)
if err != nil {
// Print the error, cast err to awserr.Error to get the Code and
@@ -520,7 +553,7 @@ func ExampleRoute53_GetChange() {
fmt.Println(resp)
}
-func ExampleRoute53_GetChangeDetails() {
+func ExampleRoute53_GetChange() {
sess, err := session.NewSession()
if err != nil {
fmt.Println("failed to create session,", err)
@@ -529,10 +562,10 @@ func ExampleRoute53_GetChangeDetails() {
svc := route53.New(sess)
- params := &route53.GetChangeDetailsInput{
+ params := &route53.GetChangeInput{
Id: aws.String("ResourceId"), // Required
}
- resp, err := svc.GetChangeDetails(params)
+ resp, err := svc.GetChange(params)
if err != nil {
// Print the error, cast err to awserr.Error to get the Code and
@@ -840,67 +873,6 @@ func ExampleRoute53_GetTrafficPolicyInstanceCount() {
fmt.Println(resp)
}
-func ExampleRoute53_ListChangeBatchesByHostedZone() {
- sess, err := session.NewSession()
- if err != nil {
- fmt.Println("failed to create session,", err)
- return
- }
-
- svc := route53.New(sess)
-
- params := &route53.ListChangeBatchesByHostedZoneInput{
- EndDate: aws.String("Date"), // Required
- HostedZoneId: aws.String("ResourceId"), // Required
- StartDate: aws.String("Date"), // Required
- Marker: aws.String("PageMarker"),
- MaxItems: aws.String("PageMaxItems"),
- }
- resp, err := svc.ListChangeBatchesByHostedZone(params)
-
- if err != nil {
- // Print the error, cast err to awserr.Error to get the Code and
- // Message from an error.
- fmt.Println(err.Error())
- return
- }
-
- // Pretty-print the response data.
- fmt.Println(resp)
-}
-
-func ExampleRoute53_ListChangeBatchesByRRSet() {
- sess, err := session.NewSession()
- if err != nil {
- fmt.Println("failed to create session,", err)
- return
- }
-
- svc := route53.New(sess)
-
- params := &route53.ListChangeBatchesByRRSetInput{
- EndDate: aws.String("Date"), // Required
- HostedZoneId: aws.String("ResourceId"), // Required
- Name: aws.String("DNSName"), // Required
- StartDate: aws.String("Date"), // Required
- Type: aws.String("RRType"), // Required
- Marker: aws.String("PageMarker"),
- MaxItems: aws.String("PageMaxItems"),
- SetIdentifier: aws.String("ResourceRecordSetIdentifier"),
- }
- resp, err := svc.ListChangeBatchesByRRSet(params)
-
- if err != nil {
- // Print the error, cast err to awserr.Error to get the Code and
- // Message from an error.
- fmt.Println(err.Error())
- return
- }
-
- // Pretty-print the response data.
- fmt.Println(resp)
-}
-
func ExampleRoute53_ListGeoLocations() {
sess, err := session.NewSession()
if err != nil {
@@ -1258,6 +1230,33 @@ func ExampleRoute53_ListTrafficPolicyVersions() {
fmt.Println(resp)
}
+func ExampleRoute53_ListVPCAssociationAuthorizations() {
+ sess, err := session.NewSession()
+ if err != nil {
+ fmt.Println("failed to create session,", err)
+ return
+ }
+
+ svc := route53.New(sess)
+
+ params := &route53.ListVPCAssociationAuthorizationsInput{
+ HostedZoneId: aws.String("ResourceId"), // Required
+ MaxResults: aws.String("MaxResults"),
+ NextToken: aws.String("PaginationToken"),
+ }
+ resp, err := svc.ListVPCAssociationAuthorizations(params)
+
+ if err != nil {
+ // Print the error, cast err to awserr.Error to get the Code and
+ // Message from an error.
+ fmt.Println(err.Error())
+ return
+ }
+
+ // Pretty-print the response data.
+ fmt.Println(resp)
+}
+
func ExampleRoute53_TestDNSAnswer() {
sess, err := session.NewSession()
if err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go/service/route53/route53iface/interface.go b/vendor/github.com/aws/aws-sdk-go/service/route53/route53iface/interface.go
index a094fbe..c281c62 100644
--- a/vendor/github.com/aws/aws-sdk-go/service/route53/route53iface/interface.go
+++ b/vendor/github.com/aws/aws-sdk-go/service/route53/route53iface/interface.go
@@ -95,6 +95,10 @@ type Route53API interface {
CreateTrafficPolicyVersion(*route53.CreateTrafficPolicyVersionInput) (*route53.CreateTrafficPolicyVersionOutput, error)
+ CreateVPCAssociationAuthorizationRequest(*route53.CreateVPCAssociationAuthorizationInput) (*request.Request, *route53.CreateVPCAssociationAuthorizationOutput)
+
+ CreateVPCAssociationAuthorization(*route53.CreateVPCAssociationAuthorizationInput) (*route53.CreateVPCAssociationAuthorizationOutput, error)
+
DeleteHealthCheckRequest(*route53.DeleteHealthCheckInput) (*request.Request, *route53.DeleteHealthCheckOutput)
DeleteHealthCheck(*route53.DeleteHealthCheckInput) (*route53.DeleteHealthCheckOutput, error)
@@ -115,6 +119,10 @@ type Route53API interface {
DeleteTrafficPolicyInstance(*route53.DeleteTrafficPolicyInstanceInput) (*route53.DeleteTrafficPolicyInstanceOutput, error)
+ DeleteVPCAssociationAuthorizationRequest(*route53.DeleteVPCAssociationAuthorizationInput) (*request.Request, *route53.DeleteVPCAssociationAuthorizationOutput)
+
+ DeleteVPCAssociationAuthorization(*route53.DeleteVPCAssociationAuthorizationInput) (*route53.DeleteVPCAssociationAuthorizationOutput, error)
+
DisassociateVPCFromHostedZoneRequest(*route53.DisassociateVPCFromHostedZoneInput) (*request.Request, *route53.DisassociateVPCFromHostedZoneOutput)
DisassociateVPCFromHostedZone(*route53.DisassociateVPCFromHostedZoneInput) (*route53.DisassociateVPCFromHostedZoneOutput, error)
@@ -123,10 +131,6 @@ type Route53API interface {
GetChange(*route53.GetChangeInput) (*route53.GetChangeOutput, error)
- GetChangeDetailsRequest(*route53.GetChangeDetailsInput) (*request.Request, *route53.GetChangeDetailsOutput)
-
- GetChangeDetails(*route53.GetChangeDetailsInput) (*route53.GetChangeDetailsOutput, error)
-
GetCheckerIpRangesRequest(*route53.GetCheckerIpRangesInput) (*request.Request, *route53.GetCheckerIpRangesOutput)
GetCheckerIpRanges(*route53.GetCheckerIpRangesInput) (*route53.GetCheckerIpRangesOutput, error)
@@ -175,14 +179,6 @@ type Route53API interface {
GetTrafficPolicyInstanceCount(*route53.GetTrafficPolicyInstanceCountInput) (*route53.GetTrafficPolicyInstanceCountOutput, error)
- ListChangeBatchesByHostedZoneRequest(*route53.ListChangeBatchesByHostedZoneInput) (*request.Request, *route53.ListChangeBatchesByHostedZoneOutput)
-
- ListChangeBatchesByHostedZone(*route53.ListChangeBatchesByHostedZoneInput) (*route53.ListChangeBatchesByHostedZoneOutput, error)
-
- ListChangeBatchesByRRSetRequest(*route53.ListChangeBatchesByRRSetInput) (*request.Request, *route53.ListChangeBatchesByRRSetOutput)
-
- ListChangeBatchesByRRSet(*route53.ListChangeBatchesByRRSetInput) (*route53.ListChangeBatchesByRRSetOutput, error)
-
ListGeoLocationsRequest(*route53.ListGeoLocationsInput) (*request.Request, *route53.ListGeoLocationsOutput)
ListGeoLocations(*route53.ListGeoLocationsInput) (*route53.ListGeoLocationsOutput, error)
@@ -241,6 +237,10 @@ type Route53API interface {
ListTrafficPolicyVersions(*route53.ListTrafficPolicyVersionsInput) (*route53.ListTrafficPolicyVersionsOutput, error)
+ ListVPCAssociationAuthorizationsRequest(*route53.ListVPCAssociationAuthorizationsInput) (*request.Request, *route53.ListVPCAssociationAuthorizationsOutput)
+
+ ListVPCAssociationAuthorizations(*route53.ListVPCAssociationAuthorizationsInput) (*route53.ListVPCAssociationAuthorizationsOutput, error)
+
TestDNSAnswerRequest(*route53.TestDNSAnswerInput) (*request.Request, *route53.TestDNSAnswerOutput)
TestDNSAnswer(*route53.TestDNSAnswerInput) (*route53.TestDNSAnswerOutput, error)
diff --git a/vendor/github.com/aws/aws-sdk-go/service/route53domains/api.go b/vendor/github.com/aws/aws-sdk-go/service/route53domains/api.go
index c2a86f8..4d8cfe3 100644
--- a/vendor/github.com/aws/aws-sdk-go/service/route53domains/api.go
+++ b/vendor/github.com/aws/aws-sdk-go/service/route53domains/api.go
@@ -1933,6 +1933,36 @@ func (s BillingRecord) GoString() string {
return s.String()
}
+// SetBillDate sets the BillDate field's value.
+func (s *BillingRecord) SetBillDate(v time.Time) *BillingRecord {
+ s.BillDate = &v
+ return s
+}
+
+// SetDomainName sets the DomainName field's value.
+func (s *BillingRecord) SetDomainName(v string) *BillingRecord {
+ s.DomainName = &v
+ return s
+}
+
+// SetInvoiceId sets the InvoiceId field's value.
+func (s *BillingRecord) SetInvoiceId(v string) *BillingRecord {
+ s.InvoiceId = &v
+ return s
+}
+
+// SetOperation sets the Operation field's value.
+func (s *BillingRecord) SetOperation(v string) *BillingRecord {
+ s.Operation = &v
+ return s
+}
+
+// SetPrice sets the Price field's value.
+func (s *BillingRecord) SetPrice(v float64) *BillingRecord {
+ s.Price = &v
+ return s
+}
+
// The CheckDomainAvailability request contains the following elements.
type CheckDomainAvailabilityInput struct {
_ struct{} `type:"structure"`
@@ -1979,6 +2009,18 @@ func (s *CheckDomainAvailabilityInput) Validate() error {
return nil
}
+// SetDomainName sets the DomainName field's value.
+func (s *CheckDomainAvailabilityInput) SetDomainName(v string) *CheckDomainAvailabilityInput {
+ s.DomainName = &v
+ return s
+}
+
+// SetIdnLangCode sets the IdnLangCode field's value.
+func (s *CheckDomainAvailabilityInput) SetIdnLangCode(v string) *CheckDomainAvailabilityInput {
+ s.IdnLangCode = &v
+ return s
+}
+
// The CheckDomainAvailability response includes the following elements.
type CheckDomainAvailabilityOutput struct {
_ struct{} `type:"structure"`
@@ -2020,6 +2062,12 @@ func (s CheckDomainAvailabilityOutput) GoString() string {
return s.String()
}
+// SetAvailability sets the Availability field's value.
+func (s *CheckDomainAvailabilityOutput) SetAvailability(v string) *CheckDomainAvailabilityOutput {
+ s.Availability = &v
+ return s
+}
+
// ContactDetail includes the following elements.
type ContactDetail struct {
_ struct{} `type:"structure"`
@@ -2245,6 +2293,90 @@ func (s *ContactDetail) Validate() error {
return nil
}
+// SetAddressLine1 sets the AddressLine1 field's value.
+func (s *ContactDetail) SetAddressLine1(v string) *ContactDetail {
+ s.AddressLine1 = &v
+ return s
+}
+
+// SetAddressLine2 sets the AddressLine2 field's value.
+func (s *ContactDetail) SetAddressLine2(v string) *ContactDetail {
+ s.AddressLine2 = &v
+ return s
+}
+
+// SetCity sets the City field's value.
+func (s *ContactDetail) SetCity(v string) *ContactDetail {
+ s.City = &v
+ return s
+}
+
+// SetContactType sets the ContactType field's value.
+func (s *ContactDetail) SetContactType(v string) *ContactDetail {
+ s.ContactType = &v
+ return s
+}
+
+// SetCountryCode sets the CountryCode field's value.
+func (s *ContactDetail) SetCountryCode(v string) *ContactDetail {
+ s.CountryCode = &v
+ return s
+}
+
+// SetEmail sets the Email field's value.
+func (s *ContactDetail) SetEmail(v string) *ContactDetail {
+ s.Email = &v
+ return s
+}
+
+// SetExtraParams sets the ExtraParams field's value.
+func (s *ContactDetail) SetExtraParams(v []*ExtraParam) *ContactDetail {
+ s.ExtraParams = v
+ return s
+}
+
+// SetFax sets the Fax field's value.
+func (s *ContactDetail) SetFax(v string) *ContactDetail {
+ s.Fax = &v
+ return s
+}
+
+// SetFirstName sets the FirstName field's value.
+func (s *ContactDetail) SetFirstName(v string) *ContactDetail {
+ s.FirstName = &v
+ return s
+}
+
+// SetLastName sets the LastName field's value.
+func (s *ContactDetail) SetLastName(v string) *ContactDetail {
+ s.LastName = &v
+ return s
+}
+
+// SetOrganizationName sets the OrganizationName field's value.
+func (s *ContactDetail) SetOrganizationName(v string) *ContactDetail {
+ s.OrganizationName = &v
+ return s
+}
+
+// SetPhoneNumber sets the PhoneNumber field's value.
+func (s *ContactDetail) SetPhoneNumber(v string) *ContactDetail {
+ s.PhoneNumber = &v
+ return s
+}
+
+// SetState sets the State field's value.
+func (s *ContactDetail) SetState(v string) *ContactDetail {
+ s.State = &v
+ return s
+}
+
+// SetZipCode sets the ZipCode field's value.
+func (s *ContactDetail) SetZipCode(v string) *ContactDetail {
+ s.ZipCode = &v
+ return s
+}
+
// The DeleteTagsForDomainRequest includes the following elements.
type DeleteTagsForDomainInput struct {
_ struct{} `type:"structure"`
@@ -2306,6 +2438,18 @@ func (s *DeleteTagsForDomainInput) Validate() error {
return nil
}
+// SetDomainName sets the DomainName field's value.
+func (s *DeleteTagsForDomainInput) SetDomainName(v string) *DeleteTagsForDomainInput {
+ s.DomainName = &v
+ return s
+}
+
+// SetTagsToDelete sets the TagsToDelete field's value.
+func (s *DeleteTagsForDomainInput) SetTagsToDelete(v []*string) *DeleteTagsForDomainInput {
+ s.TagsToDelete = v
+ return s
+}
+
type DeleteTagsForDomainOutput struct {
_ struct{} `type:"structure"`
}
@@ -2350,6 +2494,12 @@ func (s *DisableDomainAutoRenewInput) Validate() error {
return nil
}
+// SetDomainName sets the DomainName field's value.
+func (s *DisableDomainAutoRenewInput) SetDomainName(v string) *DisableDomainAutoRenewInput {
+ s.DomainName = &v
+ return s
+}
+
type DisableDomainAutoRenewOutput struct {
_ struct{} `type:"structure"`
}
@@ -2407,6 +2557,12 @@ func (s *DisableDomainTransferLockInput) Validate() error {
return nil
}
+// SetDomainName sets the DomainName field's value.
+func (s *DisableDomainTransferLockInput) SetDomainName(v string) *DisableDomainTransferLockInput {
+ s.DomainName = &v
+ return s
+}
+
// The DisableDomainTransferLock response includes the following element.
type DisableDomainTransferLockOutput struct {
_ struct{} `type:"structure"`
@@ -2434,6 +2590,12 @@ func (s DisableDomainTransferLockOutput) GoString() string {
return s.String()
}
+// SetOperationId sets the OperationId field's value.
+func (s *DisableDomainTransferLockOutput) SetOperationId(v string) *DisableDomainTransferLockOutput {
+ s.OperationId = &v
+ return s
+}
+
type DomainSuggestion struct {
_ struct{} `type:"structure"`
@@ -2452,6 +2614,18 @@ func (s DomainSuggestion) GoString() string {
return s.String()
}
+// SetAvailability sets the Availability field's value.
+func (s *DomainSuggestion) SetAvailability(v string) *DomainSuggestion {
+ s.Availability = &v
+ return s
+}
+
+// SetDomainName sets the DomainName field's value.
+func (s *DomainSuggestion) SetDomainName(v string) *DomainSuggestion {
+ s.DomainName = &v
+ return s
+}
+
type DomainSummary struct {
_ struct{} `type:"structure"`
@@ -2493,6 +2667,30 @@ func (s DomainSummary) GoString() string {
return s.String()
}
+// SetAutoRenew sets the AutoRenew field's value.
+func (s *DomainSummary) SetAutoRenew(v bool) *DomainSummary {
+ s.AutoRenew = &v
+ return s
+}
+
+// SetDomainName sets the DomainName field's value.
+func (s *DomainSummary) SetDomainName(v string) *DomainSummary {
+ s.DomainName = &v
+ return s
+}
+
+// SetExpiry sets the Expiry field's value.
+func (s *DomainSummary) SetExpiry(v time.Time) *DomainSummary {
+ s.Expiry = &v
+ return s
+}
+
+// SetTransferLock sets the TransferLock field's value.
+func (s *DomainSummary) SetTransferLock(v bool) *DomainSummary {
+ s.TransferLock = &v
+ return s
+}
+
type EnableDomainAutoRenewInput struct {
_ struct{} `type:"structure"`
@@ -2523,6 +2721,12 @@ func (s *EnableDomainAutoRenewInput) Validate() error {
return nil
}
+// SetDomainName sets the DomainName field's value.
+func (s *EnableDomainAutoRenewInput) SetDomainName(v string) *EnableDomainAutoRenewInput {
+ s.DomainName = &v
+ return s
+}
+
type EnableDomainAutoRenewOutput struct {
_ struct{} `type:"structure"`
}
@@ -2580,6 +2784,12 @@ func (s *EnableDomainTransferLockInput) Validate() error {
return nil
}
+// SetDomainName sets the DomainName field's value.
+func (s *EnableDomainTransferLockInput) SetDomainName(v string) *EnableDomainTransferLockInput {
+ s.DomainName = &v
+ return s
+}
+
// The EnableDomainTransferLock response includes the following elements.
type EnableDomainTransferLockOutput struct {
_ struct{} `type:"structure"`
@@ -2607,6 +2817,12 @@ func (s EnableDomainTransferLockOutput) GoString() string {
return s.String()
}
+// SetOperationId sets the OperationId field's value.
+func (s *EnableDomainTransferLockOutput) SetOperationId(v string) *EnableDomainTransferLockOutput {
+ s.OperationId = &v
+ return s
+}
+
// ExtraParam includes the following elements.
type ExtraParam struct {
_ struct{} `type:"structure"`
@@ -2673,6 +2889,18 @@ func (s *ExtraParam) Validate() error {
return nil
}
+// SetName sets the Name field's value.
+func (s *ExtraParam) SetName(v string) *ExtraParam {
+ s.Name = &v
+ return s
+}
+
+// SetValue sets the Value field's value.
+func (s *ExtraParam) SetValue(v string) *ExtraParam {
+ s.Value = &v
+ return s
+}
+
type GetContactReachabilityStatusInput struct {
_ struct{} `type:"structure"`
@@ -2697,6 +2925,12 @@ func (s GetContactReachabilityStatusInput) GoString() string {
return s.String()
}
+// SetDomainName sets the DomainName field's value.
+func (s *GetContactReachabilityStatusInput) SetDomainName(v string) *GetContactReachabilityStatusInput {
+ s.DomainName = &v
+ return s
+}
+
type GetContactReachabilityStatusOutput struct {
_ struct{} `type:"structure"`
@@ -2725,6 +2959,18 @@ func (s GetContactReachabilityStatusOutput) GoString() string {
return s.String()
}
+// SetDomainName sets the DomainName field's value.
+func (s *GetContactReachabilityStatusOutput) SetDomainName(v string) *GetContactReachabilityStatusOutput {
+ s.DomainName = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *GetContactReachabilityStatusOutput) SetStatus(v string) *GetContactReachabilityStatusOutput {
+ s.Status = &v
+ return s
+}
+
// The GetDomainDetail request includes the following element.
type GetDomainDetailInput struct {
_ struct{} `type:"structure"`
@@ -2768,6 +3014,12 @@ func (s *GetDomainDetailInput) Validate() error {
return nil
}
+// SetDomainName sets the DomainName field's value.
+func (s *GetDomainDetailInput) SetDomainName(v string) *GetDomainDetailInput {
+ s.DomainName = &v
+ return s
+}
+
// The GetDomainDetail response includes the following elements.
type GetDomainDetailOutput struct {
_ struct{} `type:"structure"`
@@ -2930,6 +3182,132 @@ func (s GetDomainDetailOutput) GoString() string {
return s.String()
}
+// SetAbuseContactEmail sets the AbuseContactEmail field's value.
+func (s *GetDomainDetailOutput) SetAbuseContactEmail(v string) *GetDomainDetailOutput {
+ s.AbuseContactEmail = &v
+ return s
+}
+
+// SetAbuseContactPhone sets the AbuseContactPhone field's value.
+func (s *GetDomainDetailOutput) SetAbuseContactPhone(v string) *GetDomainDetailOutput {
+ s.AbuseContactPhone = &v
+ return s
+}
+
+// SetAdminContact sets the AdminContact field's value.
+func (s *GetDomainDetailOutput) SetAdminContact(v *ContactDetail) *GetDomainDetailOutput {
+ s.AdminContact = v
+ return s
+}
+
+// SetAdminPrivacy sets the AdminPrivacy field's value.
+func (s *GetDomainDetailOutput) SetAdminPrivacy(v bool) *GetDomainDetailOutput {
+ s.AdminPrivacy = &v
+ return s
+}
+
+// SetAutoRenew sets the AutoRenew field's value.
+func (s *GetDomainDetailOutput) SetAutoRenew(v bool) *GetDomainDetailOutput {
+ s.AutoRenew = &v
+ return s
+}
+
+// SetCreationDate sets the CreationDate field's value.
+func (s *GetDomainDetailOutput) SetCreationDate(v time.Time) *GetDomainDetailOutput {
+ s.CreationDate = &v
+ return s
+}
+
+// SetDnsSec sets the DnsSec field's value.
+func (s *GetDomainDetailOutput) SetDnsSec(v string) *GetDomainDetailOutput {
+ s.DnsSec = &v
+ return s
+}
+
+// SetDomainName sets the DomainName field's value.
+func (s *GetDomainDetailOutput) SetDomainName(v string) *GetDomainDetailOutput {
+ s.DomainName = &v
+ return s
+}
+
+// SetExpirationDate sets the ExpirationDate field's value.
+func (s *GetDomainDetailOutput) SetExpirationDate(v time.Time) *GetDomainDetailOutput {
+ s.ExpirationDate = &v
+ return s
+}
+
+// SetNameservers sets the Nameservers field's value.
+func (s *GetDomainDetailOutput) SetNameservers(v []*Nameserver) *GetDomainDetailOutput {
+ s.Nameservers = v
+ return s
+}
+
+// SetRegistrantContact sets the RegistrantContact field's value.
+func (s *GetDomainDetailOutput) SetRegistrantContact(v *ContactDetail) *GetDomainDetailOutput {
+ s.RegistrantContact = v
+ return s
+}
+
+// SetRegistrantPrivacy sets the RegistrantPrivacy field's value.
+func (s *GetDomainDetailOutput) SetRegistrantPrivacy(v bool) *GetDomainDetailOutput {
+ s.RegistrantPrivacy = &v
+ return s
+}
+
+// SetRegistrarName sets the RegistrarName field's value.
+func (s *GetDomainDetailOutput) SetRegistrarName(v string) *GetDomainDetailOutput {
+ s.RegistrarName = &v
+ return s
+}
+
+// SetRegistrarUrl sets the RegistrarUrl field's value.
+func (s *GetDomainDetailOutput) SetRegistrarUrl(v string) *GetDomainDetailOutput {
+ s.RegistrarUrl = &v
+ return s
+}
+
+// SetRegistryDomainId sets the RegistryDomainId field's value.
+func (s *GetDomainDetailOutput) SetRegistryDomainId(v string) *GetDomainDetailOutput {
+ s.RegistryDomainId = &v
+ return s
+}
+
+// SetReseller sets the Reseller field's value.
+func (s *GetDomainDetailOutput) SetReseller(v string) *GetDomainDetailOutput {
+ s.Reseller = &v
+ return s
+}
+
+// SetStatusList sets the StatusList field's value.
+func (s *GetDomainDetailOutput) SetStatusList(v []*string) *GetDomainDetailOutput {
+ s.StatusList = v
+ return s
+}
+
+// SetTechContact sets the TechContact field's value.
+func (s *GetDomainDetailOutput) SetTechContact(v *ContactDetail) *GetDomainDetailOutput {
+ s.TechContact = v
+ return s
+}
+
+// SetTechPrivacy sets the TechPrivacy field's value.
+func (s *GetDomainDetailOutput) SetTechPrivacy(v bool) *GetDomainDetailOutput {
+ s.TechPrivacy = &v
+ return s
+}
+
+// SetUpdatedDate sets the UpdatedDate field's value.
+func (s *GetDomainDetailOutput) SetUpdatedDate(v time.Time) *GetDomainDetailOutput {
+ s.UpdatedDate = &v
+ return s
+}
+
+// SetWhoIsServer sets the WhoIsServer field's value.
+func (s *GetDomainDetailOutput) SetWhoIsServer(v string) *GetDomainDetailOutput {
+ s.WhoIsServer = &v
+ return s
+}
+
type GetDomainSuggestionsInput struct {
_ struct{} `type:"structure"`
@@ -2972,6 +3350,24 @@ func (s *GetDomainSuggestionsInput) Validate() error {
return nil
}
+// SetDomainName sets the DomainName field's value.
+func (s *GetDomainSuggestionsInput) SetDomainName(v string) *GetDomainSuggestionsInput {
+ s.DomainName = &v
+ return s
+}
+
+// SetOnlyAvailable sets the OnlyAvailable field's value.
+func (s *GetDomainSuggestionsInput) SetOnlyAvailable(v bool) *GetDomainSuggestionsInput {
+ s.OnlyAvailable = &v
+ return s
+}
+
+// SetSuggestionCount sets the SuggestionCount field's value.
+func (s *GetDomainSuggestionsInput) SetSuggestionCount(v int64) *GetDomainSuggestionsInput {
+ s.SuggestionCount = &v
+ return s
+}
+
type GetDomainSuggestionsOutput struct {
_ struct{} `type:"structure"`
@@ -2988,6 +3384,12 @@ func (s GetDomainSuggestionsOutput) GoString() string {
return s.String()
}
+// SetSuggestionsList sets the SuggestionsList field's value.
+func (s *GetDomainSuggestionsOutput) SetSuggestionsList(v []*DomainSuggestion) *GetDomainSuggestionsOutput {
+ s.SuggestionsList = v
+ return s
+}
+
// The GetOperationDetail request includes the following element.
type GetOperationDetailInput struct {
_ struct{} `type:"structure"`
@@ -3028,6 +3430,12 @@ func (s *GetOperationDetailInput) Validate() error {
return nil
}
+// SetOperationId sets the OperationId field's value.
+func (s *GetOperationDetailInput) SetOperationId(v string) *GetOperationDetailInput {
+ s.OperationId = &v
+ return s
+}
+
// The GetOperationDetail response includes the following elements.
type GetOperationDetailOutput struct {
_ struct{} `type:"structure"`
@@ -3071,6 +3479,42 @@ func (s GetOperationDetailOutput) GoString() string {
return s.String()
}
+// SetDomainName sets the DomainName field's value.
+func (s *GetOperationDetailOutput) SetDomainName(v string) *GetOperationDetailOutput {
+ s.DomainName = &v
+ return s
+}
+
+// SetMessage sets the Message field's value.
+func (s *GetOperationDetailOutput) SetMessage(v string) *GetOperationDetailOutput {
+ s.Message = &v
+ return s
+}
+
+// SetOperationId sets the OperationId field's value.
+func (s *GetOperationDetailOutput) SetOperationId(v string) *GetOperationDetailOutput {
+ s.OperationId = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *GetOperationDetailOutput) SetStatus(v string) *GetOperationDetailOutput {
+ s.Status = &v
+ return s
+}
+
+// SetSubmittedDate sets the SubmittedDate field's value.
+func (s *GetOperationDetailOutput) SetSubmittedDate(v time.Time) *GetOperationDetailOutput {
+ s.SubmittedDate = &v
+ return s
+}
+
+// SetType sets the Type field's value.
+func (s *GetOperationDetailOutput) SetType(v string) *GetOperationDetailOutput {
+ s.Type = &v
+ return s
+}
+
// The ListDomains request includes the following elements.
type ListDomainsInput struct {
_ struct{} `type:"structure"`
@@ -3113,6 +3557,18 @@ func (s ListDomainsInput) GoString() string {
return s.String()
}
+// SetMarker sets the Marker field's value.
+func (s *ListDomainsInput) SetMarker(v string) *ListDomainsInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxItems sets the MaxItems field's value.
+func (s *ListDomainsInput) SetMaxItems(v int64) *ListDomainsInput {
+ s.MaxItems = &v
+ return s
+}
+
// The ListDomains response includes the following elements.
type ListDomainsOutput struct {
_ struct{} `type:"structure"`
@@ -3146,6 +3602,18 @@ func (s ListDomainsOutput) GoString() string {
return s.String()
}
+// SetDomains sets the Domains field's value.
+func (s *ListDomainsOutput) SetDomains(v []*DomainSummary) *ListDomainsOutput {
+ s.Domains = v
+ return s
+}
+
+// SetNextPageMarker sets the NextPageMarker field's value.
+func (s *ListDomainsOutput) SetNextPageMarker(v string) *ListDomainsOutput {
+ s.NextPageMarker = &v
+ return s
+}
+
// The ListOperations request includes the following elements.
type ListOperationsInput struct {
_ struct{} `type:"structure"`
@@ -3186,6 +3654,18 @@ func (s ListOperationsInput) GoString() string {
return s.String()
}
+// SetMarker sets the Marker field's value.
+func (s *ListOperationsInput) SetMarker(v string) *ListOperationsInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxItems sets the MaxItems field's value.
+func (s *ListOperationsInput) SetMaxItems(v int64) *ListOperationsInput {
+ s.MaxItems = &v
+ return s
+}
+
// The ListOperations response includes the following elements.
type ListOperationsOutput struct {
_ struct{} `type:"structure"`
@@ -3219,6 +3699,18 @@ func (s ListOperationsOutput) GoString() string {
return s.String()
}
+// SetNextPageMarker sets the NextPageMarker field's value.
+func (s *ListOperationsOutput) SetNextPageMarker(v string) *ListOperationsOutput {
+ s.NextPageMarker = &v
+ return s
+}
+
+// SetOperations sets the Operations field's value.
+func (s *ListOperationsOutput) SetOperations(v []*OperationSummary) *ListOperationsOutput {
+ s.Operations = v
+ return s
+}
+
// The ListTagsForDomainRequest includes the following elements.
type ListTagsForDomainInput struct {
_ struct{} `type:"structure"`
@@ -3252,6 +3744,12 @@ func (s *ListTagsForDomainInput) Validate() error {
return nil
}
+// SetDomainName sets the DomainName field's value.
+func (s *ListTagsForDomainInput) SetDomainName(v string) *ListTagsForDomainInput {
+ s.DomainName = &v
+ return s
+}
+
// The ListTagsForDomain response includes the following elements.
type ListTagsForDomainOutput struct {
_ struct{} `type:"structure"`
@@ -3288,6 +3786,12 @@ func (s ListTagsForDomainOutput) GoString() string {
return s.String()
}
+// SetTagList sets the TagList field's value.
+func (s *ListTagsForDomainOutput) SetTagList(v []*Tag) *ListTagsForDomainOutput {
+ s.TagList = v
+ return s
+}
+
// Nameserver includes the following elements.
type Nameserver struct {
_ struct{} `type:"structure"`
@@ -3339,6 +3843,18 @@ func (s *Nameserver) Validate() error {
return nil
}
+// SetGlueIps sets the GlueIps field's value.
+func (s *Nameserver) SetGlueIps(v []*string) *Nameserver {
+ s.GlueIps = v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *Nameserver) SetName(v string) *Nameserver {
+ s.Name = &v
+ return s
+}
+
// OperationSummary includes the following elements.
type OperationSummary struct {
_ struct{} `type:"structure"`
@@ -3383,6 +3899,30 @@ func (s OperationSummary) GoString() string {
return s.String()
}
+// SetOperationId sets the OperationId field's value.
+func (s *OperationSummary) SetOperationId(v string) *OperationSummary {
+ s.OperationId = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *OperationSummary) SetStatus(v string) *OperationSummary {
+ s.Status = &v
+ return s
+}
+
+// SetSubmittedDate sets the SubmittedDate field's value.
+func (s *OperationSummary) SetSubmittedDate(v time.Time) *OperationSummary {
+ s.SubmittedDate = &v
+ return s
+}
+
+// SetType sets the Type field's value.
+func (s *OperationSummary) SetType(v string) *OperationSummary {
+ s.Type = &v
+ return s
+}
+
// The RegisterDomain request includes the following elements.
type RegisterDomainInput struct {
_ struct{} `type:"structure"`
@@ -3566,6 +4106,66 @@ func (s *RegisterDomainInput) Validate() error {
return nil
}
+// SetAdminContact sets the AdminContact field's value.
+func (s *RegisterDomainInput) SetAdminContact(v *ContactDetail) *RegisterDomainInput {
+ s.AdminContact = v
+ return s
+}
+
+// SetAutoRenew sets the AutoRenew field's value.
+func (s *RegisterDomainInput) SetAutoRenew(v bool) *RegisterDomainInput {
+ s.AutoRenew = &v
+ return s
+}
+
+// SetDomainName sets the DomainName field's value.
+func (s *RegisterDomainInput) SetDomainName(v string) *RegisterDomainInput {
+ s.DomainName = &v
+ return s
+}
+
+// SetDurationInYears sets the DurationInYears field's value.
+func (s *RegisterDomainInput) SetDurationInYears(v int64) *RegisterDomainInput {
+ s.DurationInYears = &v
+ return s
+}
+
+// SetIdnLangCode sets the IdnLangCode field's value.
+func (s *RegisterDomainInput) SetIdnLangCode(v string) *RegisterDomainInput {
+ s.IdnLangCode = &v
+ return s
+}
+
+// SetPrivacyProtectAdminContact sets the PrivacyProtectAdminContact field's value.
+func (s *RegisterDomainInput) SetPrivacyProtectAdminContact(v bool) *RegisterDomainInput {
+ s.PrivacyProtectAdminContact = &v
+ return s
+}
+
+// SetPrivacyProtectRegistrantContact sets the PrivacyProtectRegistrantContact field's value.
+func (s *RegisterDomainInput) SetPrivacyProtectRegistrantContact(v bool) *RegisterDomainInput {
+ s.PrivacyProtectRegistrantContact = &v
+ return s
+}
+
+// SetPrivacyProtectTechContact sets the PrivacyProtectTechContact field's value.
+func (s *RegisterDomainInput) SetPrivacyProtectTechContact(v bool) *RegisterDomainInput {
+ s.PrivacyProtectTechContact = &v
+ return s
+}
+
+// SetRegistrantContact sets the RegistrantContact field's value.
+func (s *RegisterDomainInput) SetRegistrantContact(v *ContactDetail) *RegisterDomainInput {
+ s.RegistrantContact = v
+ return s
+}
+
+// SetTechContact sets the TechContact field's value.
+func (s *RegisterDomainInput) SetTechContact(v *ContactDetail) *RegisterDomainInput {
+ s.TechContact = v
+ return s
+}
+
// The RegisterDomain response includes the following element.
type RegisterDomainOutput struct {
_ struct{} `type:"structure"`
@@ -3593,6 +4193,12 @@ func (s RegisterDomainOutput) GoString() string {
return s.String()
}
+// SetOperationId sets the OperationId field's value.
+func (s *RegisterDomainOutput) SetOperationId(v string) *RegisterDomainOutput {
+ s.OperationId = &v
+ return s
+}
+
// A RenewDomain request includes the number of years that you want to renew
// for and the current expiration year.
type RenewDomainInput struct {
@@ -3659,6 +4265,24 @@ func (s *RenewDomainInput) Validate() error {
return nil
}
+// SetCurrentExpiryYear sets the CurrentExpiryYear field's value.
+func (s *RenewDomainInput) SetCurrentExpiryYear(v int64) *RenewDomainInput {
+ s.CurrentExpiryYear = &v
+ return s
+}
+
+// SetDomainName sets the DomainName field's value.
+func (s *RenewDomainInput) SetDomainName(v string) *RenewDomainInput {
+ s.DomainName = &v
+ return s
+}
+
+// SetDurationInYears sets the DurationInYears field's value.
+func (s *RenewDomainInput) SetDurationInYears(v int64) *RenewDomainInput {
+ s.DurationInYears = &v
+ return s
+}
+
type RenewDomainOutput struct {
_ struct{} `type:"structure"`
@@ -3676,6 +4300,12 @@ func (s RenewDomainOutput) GoString() string {
return s.String()
}
+// SetOperationId sets the OperationId field's value.
+func (s *RenewDomainOutput) SetOperationId(v string) *RenewDomainOutput {
+ s.OperationId = &v
+ return s
+}
+
type ResendContactReachabilityEmailInput struct {
_ struct{} `type:"structure"`
@@ -3700,6 +4330,12 @@ func (s ResendContactReachabilityEmailInput) GoString() string {
return s.String()
}
+// SetDomainName sets the DomainName field's value.
+func (s *ResendContactReachabilityEmailInput) SetDomainName(v string) *ResendContactReachabilityEmailInput {
+ s.DomainName = &v
+ return s
+}
+
type ResendContactReachabilityEmailOutput struct {
_ struct{} `type:"structure"`
@@ -3726,6 +4362,24 @@ func (s ResendContactReachabilityEmailOutput) GoString() string {
return s.String()
}
+// SetDomainName sets the DomainName field's value.
+func (s *ResendContactReachabilityEmailOutput) SetDomainName(v string) *ResendContactReachabilityEmailOutput {
+ s.DomainName = &v
+ return s
+}
+
+// SetEmailAddress sets the EmailAddress field's value.
+func (s *ResendContactReachabilityEmailOutput) SetEmailAddress(v string) *ResendContactReachabilityEmailOutput {
+ s.EmailAddress = &v
+ return s
+}
+
+// SetIsAlreadyVerified sets the IsAlreadyVerified field's value.
+func (s *ResendContactReachabilityEmailOutput) SetIsAlreadyVerified(v bool) *ResendContactReachabilityEmailOutput {
+ s.IsAlreadyVerified = &v
+ return s
+}
+
// The RetrieveDomainAuthCode request includes the following element.
type RetrieveDomainAuthCodeInput struct {
_ struct{} `type:"structure"`
@@ -3769,6 +4423,12 @@ func (s *RetrieveDomainAuthCodeInput) Validate() error {
return nil
}
+// SetDomainName sets the DomainName field's value.
+func (s *RetrieveDomainAuthCodeInput) SetDomainName(v string) *RetrieveDomainAuthCodeInput {
+ s.DomainName = &v
+ return s
+}
+
// The RetrieveDomainAuthCode response includes the following element.
type RetrieveDomainAuthCodeOutput struct {
_ struct{} `type:"structure"`
@@ -3791,6 +4451,12 @@ func (s RetrieveDomainAuthCodeOutput) GoString() string {
return s.String()
}
+// SetAuthCode sets the AuthCode field's value.
+func (s *RetrieveDomainAuthCodeOutput) SetAuthCode(v string) *RetrieveDomainAuthCodeOutput {
+ s.AuthCode = &v
+ return s
+}
+
// Each tag includes the following elements.
type Tag struct {
_ struct{} `type:"structure"`
@@ -3832,6 +4498,18 @@ 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
+}
+
// The TransferDomain request includes the following elements.
type TransferDomainInput struct {
_ struct{} `type:"structure"`
@@ -4042,6 +4720,78 @@ func (s *TransferDomainInput) Validate() error {
return nil
}
+// SetAdminContact sets the AdminContact field's value.
+func (s *TransferDomainInput) SetAdminContact(v *ContactDetail) *TransferDomainInput {
+ s.AdminContact = v
+ return s
+}
+
+// SetAuthCode sets the AuthCode field's value.
+func (s *TransferDomainInput) SetAuthCode(v string) *TransferDomainInput {
+ s.AuthCode = &v
+ return s
+}
+
+// SetAutoRenew sets the AutoRenew field's value.
+func (s *TransferDomainInput) SetAutoRenew(v bool) *TransferDomainInput {
+ s.AutoRenew = &v
+ return s
+}
+
+// SetDomainName sets the DomainName field's value.
+func (s *TransferDomainInput) SetDomainName(v string) *TransferDomainInput {
+ s.DomainName = &v
+ return s
+}
+
+// SetDurationInYears sets the DurationInYears field's value.
+func (s *TransferDomainInput) SetDurationInYears(v int64) *TransferDomainInput {
+ s.DurationInYears = &v
+ return s
+}
+
+// SetIdnLangCode sets the IdnLangCode field's value.
+func (s *TransferDomainInput) SetIdnLangCode(v string) *TransferDomainInput {
+ s.IdnLangCode = &v
+ return s
+}
+
+// SetNameservers sets the Nameservers field's value.
+func (s *TransferDomainInput) SetNameservers(v []*Nameserver) *TransferDomainInput {
+ s.Nameservers = v
+ return s
+}
+
+// SetPrivacyProtectAdminContact sets the PrivacyProtectAdminContact field's value.
+func (s *TransferDomainInput) SetPrivacyProtectAdminContact(v bool) *TransferDomainInput {
+ s.PrivacyProtectAdminContact = &v
+ return s
+}
+
+// SetPrivacyProtectRegistrantContact sets the PrivacyProtectRegistrantContact field's value.
+func (s *TransferDomainInput) SetPrivacyProtectRegistrantContact(v bool) *TransferDomainInput {
+ s.PrivacyProtectRegistrantContact = &v
+ return s
+}
+
+// SetPrivacyProtectTechContact sets the PrivacyProtectTechContact field's value.
+func (s *TransferDomainInput) SetPrivacyProtectTechContact(v bool) *TransferDomainInput {
+ s.PrivacyProtectTechContact = &v
+ return s
+}
+
+// SetRegistrantContact sets the RegistrantContact field's value.
+func (s *TransferDomainInput) SetRegistrantContact(v *ContactDetail) *TransferDomainInput {
+ s.RegistrantContact = v
+ return s
+}
+
+// SetTechContact sets the TechContact field's value.
+func (s *TransferDomainInput) SetTechContact(v *ContactDetail) *TransferDomainInput {
+ s.TechContact = v
+ return s
+}
+
// The TranserDomain response includes the following element.
type TransferDomainOutput struct {
_ struct{} `type:"structure"`
@@ -4069,6 +4819,12 @@ func (s TransferDomainOutput) GoString() string {
return s.String()
}
+// SetOperationId sets the OperationId field's value.
+func (s *TransferDomainOutput) SetOperationId(v string) *TransferDomainOutput {
+ s.OperationId = &v
+ return s
+}
+
// The UpdateDomainContact request includes the following elements.
type UpdateDomainContactInput struct {
_ struct{} `type:"structure"`
@@ -4160,6 +4916,30 @@ func (s *UpdateDomainContactInput) Validate() error {
return nil
}
+// SetAdminContact sets the AdminContact field's value.
+func (s *UpdateDomainContactInput) SetAdminContact(v *ContactDetail) *UpdateDomainContactInput {
+ s.AdminContact = v
+ return s
+}
+
+// SetDomainName sets the DomainName field's value.
+func (s *UpdateDomainContactInput) SetDomainName(v string) *UpdateDomainContactInput {
+ s.DomainName = &v
+ return s
+}
+
+// SetRegistrantContact sets the RegistrantContact field's value.
+func (s *UpdateDomainContactInput) SetRegistrantContact(v *ContactDetail) *UpdateDomainContactInput {
+ s.RegistrantContact = v
+ return s
+}
+
+// SetTechContact sets the TechContact field's value.
+func (s *UpdateDomainContactInput) SetTechContact(v *ContactDetail) *UpdateDomainContactInput {
+ s.TechContact = v
+ return s
+}
+
// The UpdateDomainContact response includes the following element.
type UpdateDomainContactOutput struct {
_ struct{} `type:"structure"`
@@ -4187,6 +4967,12 @@ func (s UpdateDomainContactOutput) GoString() string {
return s.String()
}
+// SetOperationId sets the OperationId field's value.
+func (s *UpdateDomainContactOutput) SetOperationId(v string) *UpdateDomainContactOutput {
+ s.OperationId = &v
+ return s
+}
+
// The UpdateDomainContactPrivacy request includes the following elements.
type UpdateDomainContactPrivacyInput struct {
_ struct{} `type:"structure"`
@@ -4272,6 +5058,30 @@ func (s *UpdateDomainContactPrivacyInput) Validate() error {
return nil
}
+// SetAdminPrivacy sets the AdminPrivacy field's value.
+func (s *UpdateDomainContactPrivacyInput) SetAdminPrivacy(v bool) *UpdateDomainContactPrivacyInput {
+ s.AdminPrivacy = &v
+ return s
+}
+
+// SetDomainName sets the DomainName field's value.
+func (s *UpdateDomainContactPrivacyInput) SetDomainName(v string) *UpdateDomainContactPrivacyInput {
+ s.DomainName = &v
+ return s
+}
+
+// SetRegistrantPrivacy sets the RegistrantPrivacy field's value.
+func (s *UpdateDomainContactPrivacyInput) SetRegistrantPrivacy(v bool) *UpdateDomainContactPrivacyInput {
+ s.RegistrantPrivacy = &v
+ return s
+}
+
+// SetTechPrivacy sets the TechPrivacy field's value.
+func (s *UpdateDomainContactPrivacyInput) SetTechPrivacy(v bool) *UpdateDomainContactPrivacyInput {
+ s.TechPrivacy = &v
+ return s
+}
+
// The UpdateDomainContactPrivacy response includes the following element.
type UpdateDomainContactPrivacyOutput struct {
_ struct{} `type:"structure"`
@@ -4299,6 +5109,12 @@ func (s UpdateDomainContactPrivacyOutput) GoString() string {
return s.String()
}
+// SetOperationId sets the OperationId field's value.
+func (s *UpdateDomainContactPrivacyOutput) SetOperationId(v string) *UpdateDomainContactPrivacyOutput {
+ s.OperationId = &v
+ return s
+}
+
// The UpdateDomainNameserver request includes the following elements.
type UpdateDomainNameserversInput struct {
_ struct{} `type:"structure"`
@@ -4369,6 +5185,24 @@ func (s *UpdateDomainNameserversInput) Validate() error {
return nil
}
+// SetDomainName sets the DomainName field's value.
+func (s *UpdateDomainNameserversInput) SetDomainName(v string) *UpdateDomainNameserversInput {
+ s.DomainName = &v
+ return s
+}
+
+// SetFIAuthKey sets the FIAuthKey field's value.
+func (s *UpdateDomainNameserversInput) SetFIAuthKey(v string) *UpdateDomainNameserversInput {
+ s.FIAuthKey = &v
+ return s
+}
+
+// SetNameservers sets the Nameservers field's value.
+func (s *UpdateDomainNameserversInput) SetNameservers(v []*Nameserver) *UpdateDomainNameserversInput {
+ s.Nameservers = v
+ return s
+}
+
// The UpdateDomainNameservers response includes the following element.
type UpdateDomainNameserversOutput struct {
_ struct{} `type:"structure"`
@@ -4396,6 +5230,12 @@ func (s UpdateDomainNameserversOutput) GoString() string {
return s.String()
}
+// SetOperationId sets the OperationId field's value.
+func (s *UpdateDomainNameserversOutput) SetOperationId(v string) *UpdateDomainNameserversOutput {
+ s.OperationId = &v
+ return s
+}
+
// The UpdateTagsForDomainRequest includes the following elements.
type UpdateTagsForDomainInput struct {
_ struct{} `type:"structure"`
@@ -4483,6 +5323,18 @@ func (s *UpdateTagsForDomainInput) Validate() error {
return nil
}
+// SetDomainName sets the DomainName field's value.
+func (s *UpdateTagsForDomainInput) SetDomainName(v string) *UpdateTagsForDomainInput {
+ s.DomainName = &v
+ return s
+}
+
+// SetTagsToUpdate sets the TagsToUpdate field's value.
+func (s *UpdateTagsForDomainInput) SetTagsToUpdate(v []*Tag) *UpdateTagsForDomainInput {
+ s.TagsToUpdate = v
+ return s
+}
+
type UpdateTagsForDomainOutput struct {
_ struct{} `type:"structure"`
}
@@ -4560,6 +5412,30 @@ func (s ViewBillingInput) GoString() string {
return s.String()
}
+// SetEnd sets the End field's value.
+func (s *ViewBillingInput) SetEnd(v time.Time) *ViewBillingInput {
+ s.End = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *ViewBillingInput) SetMarker(v string) *ViewBillingInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxItems sets the MaxItems field's value.
+func (s *ViewBillingInput) SetMaxItems(v int64) *ViewBillingInput {
+ s.MaxItems = &v
+ return s
+}
+
+// SetStart sets the Start field's value.
+func (s *ViewBillingInput) SetStart(v time.Time) *ViewBillingInput {
+ s.Start = &v
+ return s
+}
+
// The ViewBilling response includes the following elements.
type ViewBillingOutput struct {
_ struct{} `type:"structure"`
@@ -4591,6 +5467,18 @@ func (s ViewBillingOutput) GoString() string {
return s.String()
}
+// SetBillingRecords sets the BillingRecords field's value.
+func (s *ViewBillingOutput) SetBillingRecords(v []*BillingRecord) *ViewBillingOutput {
+ s.BillingRecords = v
+ return s
+}
+
+// SetNextPageMarker sets the NextPageMarker field's value.
+func (s *ViewBillingOutput) SetNextPageMarker(v string) *ViewBillingOutput {
+ s.NextPageMarker = &v
+ return s
+}
+
const (
// ContactTypePerson is a ContactType enum value
ContactTypePerson = "PERSON"
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 9eec073..8ee0586 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
@@ -3826,6 +3826,12 @@ func (s AbortIncompleteMultipartUpload) GoString() string {
return s.String()
}
+// SetDaysAfterInitiation sets the DaysAfterInitiation field's value.
+func (s *AbortIncompleteMultipartUpload) SetDaysAfterInitiation(v int64) *AbortIncompleteMultipartUpload {
+ s.DaysAfterInitiation = &v
+ return s
+}
+
type AbortMultipartUploadInput struct {
_ struct{} `type:"structure"`
@@ -3877,6 +3883,30 @@ func (s *AbortMultipartUploadInput) Validate() error {
return nil
}
+// SetBucket sets the Bucket field's value.
+func (s *AbortMultipartUploadInput) SetBucket(v string) *AbortMultipartUploadInput {
+ s.Bucket = &v
+ return s
+}
+
+// SetKey sets the Key field's value.
+func (s *AbortMultipartUploadInput) SetKey(v string) *AbortMultipartUploadInput {
+ s.Key = &v
+ return s
+}
+
+// SetRequestPayer sets the RequestPayer field's value.
+func (s *AbortMultipartUploadInput) SetRequestPayer(v string) *AbortMultipartUploadInput {
+ s.RequestPayer = &v
+ return s
+}
+
+// SetUploadId sets the UploadId field's value.
+func (s *AbortMultipartUploadInput) SetUploadId(v string) *AbortMultipartUploadInput {
+ s.UploadId = &v
+ return s
+}
+
type AbortMultipartUploadOutput struct {
_ struct{} `type:"structure"`
@@ -3895,6 +3925,12 @@ func (s AbortMultipartUploadOutput) GoString() string {
return s.String()
}
+// SetRequestCharged sets the RequestCharged field's value.
+func (s *AbortMultipartUploadOutput) SetRequestCharged(v string) *AbortMultipartUploadOutput {
+ s.RequestCharged = &v
+ return s
+}
+
type AccelerateConfiguration struct {
_ struct{} `type:"structure"`
@@ -3912,6 +3948,12 @@ func (s AccelerateConfiguration) GoString() string {
return s.String()
}
+// SetStatus sets the Status field's value.
+func (s *AccelerateConfiguration) SetStatus(v string) *AccelerateConfiguration {
+ s.Status = &v
+ return s
+}
+
type AccessControlPolicy struct {
_ struct{} `type:"structure"`
@@ -3951,6 +3993,18 @@ func (s *AccessControlPolicy) Validate() error {
return nil
}
+// SetGrants sets the Grants field's value.
+func (s *AccessControlPolicy) SetGrants(v []*Grant) *AccessControlPolicy {
+ s.Grants = v
+ return s
+}
+
+// SetOwner sets the Owner field's value.
+func (s *AccessControlPolicy) SetOwner(v *Owner) *AccessControlPolicy {
+ s.Owner = v
+ return s
+}
+
type Bucket struct {
_ struct{} `type:"structure"`
@@ -3971,6 +4025,18 @@ func (s Bucket) GoString() string {
return s.String()
}
+// SetCreationDate sets the CreationDate field's value.
+func (s *Bucket) SetCreationDate(v time.Time) *Bucket {
+ s.CreationDate = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *Bucket) SetName(v string) *Bucket {
+ s.Name = &v
+ return s
+}
+
type BucketLifecycleConfiguration struct {
_ struct{} `type:"structure"`
@@ -4011,6 +4077,12 @@ func (s *BucketLifecycleConfiguration) Validate() error {
return nil
}
+// SetRules sets the Rules field's value.
+func (s *BucketLifecycleConfiguration) SetRules(v []*LifecycleRule) *BucketLifecycleConfiguration {
+ s.Rules = v
+ return s
+}
+
type BucketLoggingStatus struct {
_ struct{} `type:"structure"`
@@ -4042,6 +4114,12 @@ func (s *BucketLoggingStatus) Validate() error {
return nil
}
+// SetLoggingEnabled sets the LoggingEnabled field's value.
+func (s *BucketLoggingStatus) SetLoggingEnabled(v *LoggingEnabled) *BucketLoggingStatus {
+ s.LoggingEnabled = v
+ return s
+}
+
type CORSConfiguration struct {
_ struct{} `type:"structure"`
@@ -4082,6 +4160,12 @@ func (s *CORSConfiguration) Validate() error {
return nil
}
+// SetCORSRules sets the CORSRules field's value.
+func (s *CORSConfiguration) SetCORSRules(v []*CORSRule) *CORSConfiguration {
+ s.CORSRules = v
+ return s
+}
+
type CORSRule struct {
_ struct{} `type:"structure"`
@@ -4135,6 +4219,36 @@ func (s *CORSRule) Validate() error {
return nil
}
+// SetAllowedHeaders sets the AllowedHeaders field's value.
+func (s *CORSRule) SetAllowedHeaders(v []*string) *CORSRule {
+ s.AllowedHeaders = v
+ return s
+}
+
+// SetAllowedMethods sets the AllowedMethods field's value.
+func (s *CORSRule) SetAllowedMethods(v []*string) *CORSRule {
+ s.AllowedMethods = v
+ return s
+}
+
+// SetAllowedOrigins sets the AllowedOrigins field's value.
+func (s *CORSRule) SetAllowedOrigins(v []*string) *CORSRule {
+ s.AllowedOrigins = v
+ return s
+}
+
+// SetExposeHeaders sets the ExposeHeaders field's value.
+func (s *CORSRule) SetExposeHeaders(v []*string) *CORSRule {
+ s.ExposeHeaders = v
+ return s
+}
+
+// SetMaxAgeSeconds sets the MaxAgeSeconds field's value.
+func (s *CORSRule) SetMaxAgeSeconds(v int64) *CORSRule {
+ s.MaxAgeSeconds = &v
+ return s
+}
+
type CloudFunctionConfiguration struct {
_ struct{} `type:"structure"`
@@ -4162,6 +4276,36 @@ func (s CloudFunctionConfiguration) GoString() string {
return s.String()
}
+// SetCloudFunction sets the CloudFunction field's value.
+func (s *CloudFunctionConfiguration) SetCloudFunction(v string) *CloudFunctionConfiguration {
+ s.CloudFunction = &v
+ return s
+}
+
+// SetEvent sets the Event field's value.
+func (s *CloudFunctionConfiguration) SetEvent(v string) *CloudFunctionConfiguration {
+ s.Event = &v
+ return s
+}
+
+// SetEvents sets the Events field's value.
+func (s *CloudFunctionConfiguration) SetEvents(v []*string) *CloudFunctionConfiguration {
+ s.Events = v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *CloudFunctionConfiguration) SetId(v string) *CloudFunctionConfiguration {
+ s.Id = &v
+ return s
+}
+
+// SetInvocationRole sets the InvocationRole field's value.
+func (s *CloudFunctionConfiguration) SetInvocationRole(v string) *CloudFunctionConfiguration {
+ s.InvocationRole = &v
+ return s
+}
+
type CommonPrefix struct {
_ struct{} `type:"structure"`
@@ -4178,6 +4322,12 @@ func (s CommonPrefix) GoString() string {
return s.String()
}
+// SetPrefix sets the Prefix field's value.
+func (s *CommonPrefix) SetPrefix(v string) *CommonPrefix {
+ s.Prefix = &v
+ return s
+}
+
type CompleteMultipartUploadInput struct {
_ struct{} `type:"structure" payload:"MultipartUpload"`
@@ -4231,6 +4381,36 @@ func (s *CompleteMultipartUploadInput) Validate() error {
return nil
}
+// SetBucket sets the Bucket field's value.
+func (s *CompleteMultipartUploadInput) SetBucket(v string) *CompleteMultipartUploadInput {
+ s.Bucket = &v
+ return s
+}
+
+// SetKey sets the Key field's value.
+func (s *CompleteMultipartUploadInput) SetKey(v string) *CompleteMultipartUploadInput {
+ s.Key = &v
+ return s
+}
+
+// SetMultipartUpload sets the MultipartUpload field's value.
+func (s *CompleteMultipartUploadInput) SetMultipartUpload(v *CompletedMultipartUpload) *CompleteMultipartUploadInput {
+ s.MultipartUpload = v
+ return s
+}
+
+// SetRequestPayer sets the RequestPayer field's value.
+func (s *CompleteMultipartUploadInput) SetRequestPayer(v string) *CompleteMultipartUploadInput {
+ s.RequestPayer = &v
+ return s
+}
+
+// SetUploadId sets the UploadId field's value.
+func (s *CompleteMultipartUploadInput) SetUploadId(v string) *CompleteMultipartUploadInput {
+ s.UploadId = &v
+ return s
+}
+
type CompleteMultipartUploadOutput struct {
_ struct{} `type:"structure"`
@@ -4273,6 +4453,60 @@ func (s CompleteMultipartUploadOutput) GoString() string {
return s.String()
}
+// SetBucket sets the Bucket field's value.
+func (s *CompleteMultipartUploadOutput) SetBucket(v string) *CompleteMultipartUploadOutput {
+ s.Bucket = &v
+ return s
+}
+
+// SetETag sets the ETag field's value.
+func (s *CompleteMultipartUploadOutput) SetETag(v string) *CompleteMultipartUploadOutput {
+ s.ETag = &v
+ return s
+}
+
+// SetExpiration sets the Expiration field's value.
+func (s *CompleteMultipartUploadOutput) SetExpiration(v string) *CompleteMultipartUploadOutput {
+ s.Expiration = &v
+ return s
+}
+
+// SetKey sets the Key field's value.
+func (s *CompleteMultipartUploadOutput) SetKey(v string) *CompleteMultipartUploadOutput {
+ s.Key = &v
+ return s
+}
+
+// SetLocation sets the Location field's value.
+func (s *CompleteMultipartUploadOutput) SetLocation(v string) *CompleteMultipartUploadOutput {
+ s.Location = &v
+ return s
+}
+
+// SetRequestCharged sets the RequestCharged field's value.
+func (s *CompleteMultipartUploadOutput) SetRequestCharged(v string) *CompleteMultipartUploadOutput {
+ s.RequestCharged = &v
+ return s
+}
+
+// SetSSEKMSKeyId sets the SSEKMSKeyId field's value.
+func (s *CompleteMultipartUploadOutput) SetSSEKMSKeyId(v string) *CompleteMultipartUploadOutput {
+ s.SSEKMSKeyId = &v
+ return s
+}
+
+// SetServerSideEncryption sets the ServerSideEncryption field's value.
+func (s *CompleteMultipartUploadOutput) SetServerSideEncryption(v string) *CompleteMultipartUploadOutput {
+ s.ServerSideEncryption = &v
+ return s
+}
+
+// SetVersionId sets the VersionId field's value.
+func (s *CompleteMultipartUploadOutput) SetVersionId(v string) *CompleteMultipartUploadOutput {
+ s.VersionId = &v
+ return s
+}
+
type CompletedMultipartUpload struct {
_ struct{} `type:"structure"`
@@ -4289,6 +4523,12 @@ func (s CompletedMultipartUpload) GoString() string {
return s.String()
}
+// SetParts sets the Parts field's value.
+func (s *CompletedMultipartUpload) SetParts(v []*CompletedPart) *CompletedMultipartUpload {
+ s.Parts = v
+ return s
+}
+
type CompletedPart struct {
_ struct{} `type:"structure"`
@@ -4310,6 +4550,18 @@ func (s CompletedPart) GoString() string {
return s.String()
}
+// SetETag sets the ETag field's value.
+func (s *CompletedPart) SetETag(v string) *CompletedPart {
+ s.ETag = &v
+ return s
+}
+
+// SetPartNumber sets the PartNumber field's value.
+func (s *CompletedPart) SetPartNumber(v int64) *CompletedPart {
+ s.PartNumber = &v
+ return s
+}
+
type Condition struct {
_ struct{} `type:"structure"`
@@ -4340,6 +4592,18 @@ func (s Condition) GoString() string {
return s.String()
}
+// SetHttpErrorCodeReturnedEquals sets the HttpErrorCodeReturnedEquals field's value.
+func (s *Condition) SetHttpErrorCodeReturnedEquals(v string) *Condition {
+ s.HttpErrorCodeReturnedEquals = &v
+ return s
+}
+
+// SetKeyPrefixEquals sets the KeyPrefixEquals field's value.
+func (s *Condition) SetKeyPrefixEquals(v string) *Condition {
+ s.KeyPrefixEquals = &v
+ return s
+}
+
type CopyObjectInput struct {
_ struct{} `type:"structure"`
@@ -4495,6 +4759,192 @@ func (s *CopyObjectInput) Validate() error {
return nil
}
+// SetACL sets the ACL field's value.
+func (s *CopyObjectInput) SetACL(v string) *CopyObjectInput {
+ s.ACL = &v
+ return s
+}
+
+// SetBucket sets the Bucket field's value.
+func (s *CopyObjectInput) SetBucket(v string) *CopyObjectInput {
+ s.Bucket = &v
+ return s
+}
+
+// SetCacheControl sets the CacheControl field's value.
+func (s *CopyObjectInput) SetCacheControl(v string) *CopyObjectInput {
+ s.CacheControl = &v
+ return s
+}
+
+// SetContentDisposition sets the ContentDisposition field's value.
+func (s *CopyObjectInput) SetContentDisposition(v string) *CopyObjectInput {
+ s.ContentDisposition = &v
+ return s
+}
+
+// SetContentEncoding sets the ContentEncoding field's value.
+func (s *CopyObjectInput) SetContentEncoding(v string) *CopyObjectInput {
+ s.ContentEncoding = &v
+ return s
+}
+
+// SetContentLanguage sets the ContentLanguage field's value.
+func (s *CopyObjectInput) SetContentLanguage(v string) *CopyObjectInput {
+ s.ContentLanguage = &v
+ return s
+}
+
+// SetContentType sets the ContentType field's value.
+func (s *CopyObjectInput) SetContentType(v string) *CopyObjectInput {
+ s.ContentType = &v
+ return s
+}
+
+// SetCopySource sets the CopySource field's value.
+func (s *CopyObjectInput) SetCopySource(v string) *CopyObjectInput {
+ s.CopySource = &v
+ return s
+}
+
+// SetCopySourceIfMatch sets the CopySourceIfMatch field's value.
+func (s *CopyObjectInput) SetCopySourceIfMatch(v string) *CopyObjectInput {
+ s.CopySourceIfMatch = &v
+ return s
+}
+
+// SetCopySourceIfModifiedSince sets the CopySourceIfModifiedSince field's value.
+func (s *CopyObjectInput) SetCopySourceIfModifiedSince(v time.Time) *CopyObjectInput {
+ s.CopySourceIfModifiedSince = &v
+ return s
+}
+
+// SetCopySourceIfNoneMatch sets the CopySourceIfNoneMatch field's value.
+func (s *CopyObjectInput) SetCopySourceIfNoneMatch(v string) *CopyObjectInput {
+ s.CopySourceIfNoneMatch = &v
+ return s
+}
+
+// SetCopySourceIfUnmodifiedSince sets the CopySourceIfUnmodifiedSince field's value.
+func (s *CopyObjectInput) SetCopySourceIfUnmodifiedSince(v time.Time) *CopyObjectInput {
+ s.CopySourceIfUnmodifiedSince = &v
+ return s
+}
+
+// SetCopySourceSSECustomerAlgorithm sets the CopySourceSSECustomerAlgorithm field's value.
+func (s *CopyObjectInput) SetCopySourceSSECustomerAlgorithm(v string) *CopyObjectInput {
+ s.CopySourceSSECustomerAlgorithm = &v
+ return s
+}
+
+// SetCopySourceSSECustomerKey sets the CopySourceSSECustomerKey field's value.
+func (s *CopyObjectInput) SetCopySourceSSECustomerKey(v string) *CopyObjectInput {
+ s.CopySourceSSECustomerKey = &v
+ return s
+}
+
+// SetCopySourceSSECustomerKeyMD5 sets the CopySourceSSECustomerKeyMD5 field's value.
+func (s *CopyObjectInput) SetCopySourceSSECustomerKeyMD5(v string) *CopyObjectInput {
+ s.CopySourceSSECustomerKeyMD5 = &v
+ return s
+}
+
+// SetExpires sets the Expires field's value.
+func (s *CopyObjectInput) SetExpires(v time.Time) *CopyObjectInput {
+ s.Expires = &v
+ return s
+}
+
+// SetGrantFullControl sets the GrantFullControl field's value.
+func (s *CopyObjectInput) SetGrantFullControl(v string) *CopyObjectInput {
+ s.GrantFullControl = &v
+ return s
+}
+
+// SetGrantRead sets the GrantRead field's value.
+func (s *CopyObjectInput) SetGrantRead(v string) *CopyObjectInput {
+ s.GrantRead = &v
+ return s
+}
+
+// SetGrantReadACP sets the GrantReadACP field's value.
+func (s *CopyObjectInput) SetGrantReadACP(v string) *CopyObjectInput {
+ s.GrantReadACP = &v
+ return s
+}
+
+// SetGrantWriteACP sets the GrantWriteACP field's value.
+func (s *CopyObjectInput) SetGrantWriteACP(v string) *CopyObjectInput {
+ s.GrantWriteACP = &v
+ return s
+}
+
+// SetKey sets the Key field's value.
+func (s *CopyObjectInput) SetKey(v string) *CopyObjectInput {
+ s.Key = &v
+ return s
+}
+
+// SetMetadata sets the Metadata field's value.
+func (s *CopyObjectInput) SetMetadata(v map[string]*string) *CopyObjectInput {
+ s.Metadata = v
+ return s
+}
+
+// SetMetadataDirective sets the MetadataDirective field's value.
+func (s *CopyObjectInput) SetMetadataDirective(v string) *CopyObjectInput {
+ s.MetadataDirective = &v
+ return s
+}
+
+// SetRequestPayer sets the RequestPayer field's value.
+func (s *CopyObjectInput) SetRequestPayer(v string) *CopyObjectInput {
+ s.RequestPayer = &v
+ return s
+}
+
+// SetSSECustomerAlgorithm sets the SSECustomerAlgorithm field's value.
+func (s *CopyObjectInput) SetSSECustomerAlgorithm(v string) *CopyObjectInput {
+ s.SSECustomerAlgorithm = &v
+ return s
+}
+
+// SetSSECustomerKey sets the SSECustomerKey field's value.
+func (s *CopyObjectInput) SetSSECustomerKey(v string) *CopyObjectInput {
+ s.SSECustomerKey = &v
+ return s
+}
+
+// SetSSECustomerKeyMD5 sets the SSECustomerKeyMD5 field's value.
+func (s *CopyObjectInput) SetSSECustomerKeyMD5(v string) *CopyObjectInput {
+ s.SSECustomerKeyMD5 = &v
+ return s
+}
+
+// SetSSEKMSKeyId sets the SSEKMSKeyId field's value.
+func (s *CopyObjectInput) SetSSEKMSKeyId(v string) *CopyObjectInput {
+ s.SSEKMSKeyId = &v
+ return s
+}
+
+// SetServerSideEncryption sets the ServerSideEncryption field's value.
+func (s *CopyObjectInput) SetServerSideEncryption(v string) *CopyObjectInput {
+ s.ServerSideEncryption = &v
+ return s
+}
+
+// SetStorageClass sets the StorageClass field's value.
+func (s *CopyObjectInput) SetStorageClass(v string) *CopyObjectInput {
+ s.StorageClass = &v
+ return s
+}
+
+// SetWebsiteRedirectLocation sets the WebsiteRedirectLocation field's value.
+func (s *CopyObjectInput) SetWebsiteRedirectLocation(v string) *CopyObjectInput {
+ s.WebsiteRedirectLocation = &v
+ return s
+}
+
type CopyObjectOutput struct {
_ struct{} `type:"structure" payload:"CopyObjectResult"`
@@ -4541,6 +4991,60 @@ func (s CopyObjectOutput) GoString() string {
return s.String()
}
+// SetCopyObjectResult sets the CopyObjectResult field's value.
+func (s *CopyObjectOutput) SetCopyObjectResult(v *CopyObjectResult) *CopyObjectOutput {
+ s.CopyObjectResult = v
+ return s
+}
+
+// SetCopySourceVersionId sets the CopySourceVersionId field's value.
+func (s *CopyObjectOutput) SetCopySourceVersionId(v string) *CopyObjectOutput {
+ s.CopySourceVersionId = &v
+ return s
+}
+
+// SetExpiration sets the Expiration field's value.
+func (s *CopyObjectOutput) SetExpiration(v string) *CopyObjectOutput {
+ s.Expiration = &v
+ return s
+}
+
+// SetRequestCharged sets the RequestCharged field's value.
+func (s *CopyObjectOutput) SetRequestCharged(v string) *CopyObjectOutput {
+ s.RequestCharged = &v
+ return s
+}
+
+// SetSSECustomerAlgorithm sets the SSECustomerAlgorithm field's value.
+func (s *CopyObjectOutput) SetSSECustomerAlgorithm(v string) *CopyObjectOutput {
+ s.SSECustomerAlgorithm = &v
+ return s
+}
+
+// SetSSECustomerKeyMD5 sets the SSECustomerKeyMD5 field's value.
+func (s *CopyObjectOutput) SetSSECustomerKeyMD5(v string) *CopyObjectOutput {
+ s.SSECustomerKeyMD5 = &v
+ return s
+}
+
+// SetSSEKMSKeyId sets the SSEKMSKeyId field's value.
+func (s *CopyObjectOutput) SetSSEKMSKeyId(v string) *CopyObjectOutput {
+ s.SSEKMSKeyId = &v
+ return s
+}
+
+// SetServerSideEncryption sets the ServerSideEncryption field's value.
+func (s *CopyObjectOutput) SetServerSideEncryption(v string) *CopyObjectOutput {
+ s.ServerSideEncryption = &v
+ return s
+}
+
+// SetVersionId sets the VersionId field's value.
+func (s *CopyObjectOutput) SetVersionId(v string) *CopyObjectOutput {
+ s.VersionId = &v
+ return s
+}
+
type CopyObjectResult struct {
_ struct{} `type:"structure"`
@@ -4559,6 +5063,18 @@ func (s CopyObjectResult) GoString() string {
return s.String()
}
+// SetETag sets the ETag field's value.
+func (s *CopyObjectResult) SetETag(v string) *CopyObjectResult {
+ s.ETag = &v
+ return s
+}
+
+// SetLastModified sets the LastModified field's value.
+func (s *CopyObjectResult) SetLastModified(v time.Time) *CopyObjectResult {
+ s.LastModified = &v
+ return s
+}
+
type CopyPartResult struct {
_ struct{} `type:"structure"`
@@ -4579,6 +5095,18 @@ func (s CopyPartResult) GoString() string {
return s.String()
}
+// SetETag sets the ETag field's value.
+func (s *CopyPartResult) SetETag(v string) *CopyPartResult {
+ s.ETag = &v
+ return s
+}
+
+// SetLastModified sets the LastModified field's value.
+func (s *CopyPartResult) SetLastModified(v time.Time) *CopyPartResult {
+ s.LastModified = &v
+ return s
+}
+
type CreateBucketConfiguration struct {
_ struct{} `type:"structure"`
@@ -4597,6 +5125,12 @@ func (s CreateBucketConfiguration) GoString() string {
return s.String()
}
+// SetLocationConstraint sets the LocationConstraint field's value.
+func (s *CreateBucketConfiguration) SetLocationConstraint(v string) *CreateBucketConfiguration {
+ s.LocationConstraint = &v
+ return s
+}
+
type CreateBucketInput struct {
_ struct{} `type:"structure" payload:"CreateBucketConfiguration"`
@@ -4648,6 +5182,54 @@ func (s *CreateBucketInput) Validate() error {
return nil
}
+// SetACL sets the ACL field's value.
+func (s *CreateBucketInput) SetACL(v string) *CreateBucketInput {
+ s.ACL = &v
+ return s
+}
+
+// SetBucket sets the Bucket field's value.
+func (s *CreateBucketInput) SetBucket(v string) *CreateBucketInput {
+ s.Bucket = &v
+ return s
+}
+
+// SetCreateBucketConfiguration sets the CreateBucketConfiguration field's value.
+func (s *CreateBucketInput) SetCreateBucketConfiguration(v *CreateBucketConfiguration) *CreateBucketInput {
+ s.CreateBucketConfiguration = v
+ return s
+}
+
+// SetGrantFullControl sets the GrantFullControl field's value.
+func (s *CreateBucketInput) SetGrantFullControl(v string) *CreateBucketInput {
+ s.GrantFullControl = &v
+ return s
+}
+
+// SetGrantRead sets the GrantRead field's value.
+func (s *CreateBucketInput) SetGrantRead(v string) *CreateBucketInput {
+ s.GrantRead = &v
+ return s
+}
+
+// SetGrantReadACP sets the GrantReadACP field's value.
+func (s *CreateBucketInput) SetGrantReadACP(v string) *CreateBucketInput {
+ s.GrantReadACP = &v
+ return s
+}
+
+// SetGrantWrite sets the GrantWrite field's value.
+func (s *CreateBucketInput) SetGrantWrite(v string) *CreateBucketInput {
+ s.GrantWrite = &v
+ return s
+}
+
+// SetGrantWriteACP sets the GrantWriteACP field's value.
+func (s *CreateBucketInput) SetGrantWriteACP(v string) *CreateBucketInput {
+ s.GrantWriteACP = &v
+ return s
+}
+
type CreateBucketOutput struct {
_ struct{} `type:"structure"`
@@ -4664,6 +5246,12 @@ func (s CreateBucketOutput) GoString() string {
return s.String()
}
+// SetLocation sets the Location field's value.
+func (s *CreateBucketOutput) SetLocation(v string) *CreateBucketOutput {
+ s.Location = &v
+ return s
+}
+
type CreateMultipartUploadInput struct {
_ struct{} `type:"structure"`
@@ -4780,6 +5368,138 @@ func (s *CreateMultipartUploadInput) Validate() error {
return nil
}
+// SetACL sets the ACL field's value.
+func (s *CreateMultipartUploadInput) SetACL(v string) *CreateMultipartUploadInput {
+ s.ACL = &v
+ return s
+}
+
+// SetBucket sets the Bucket field's value.
+func (s *CreateMultipartUploadInput) SetBucket(v string) *CreateMultipartUploadInput {
+ s.Bucket = &v
+ return s
+}
+
+// SetCacheControl sets the CacheControl field's value.
+func (s *CreateMultipartUploadInput) SetCacheControl(v string) *CreateMultipartUploadInput {
+ s.CacheControl = &v
+ return s
+}
+
+// SetContentDisposition sets the ContentDisposition field's value.
+func (s *CreateMultipartUploadInput) SetContentDisposition(v string) *CreateMultipartUploadInput {
+ s.ContentDisposition = &v
+ return s
+}
+
+// SetContentEncoding sets the ContentEncoding field's value.
+func (s *CreateMultipartUploadInput) SetContentEncoding(v string) *CreateMultipartUploadInput {
+ s.ContentEncoding = &v
+ return s
+}
+
+// SetContentLanguage sets the ContentLanguage field's value.
+func (s *CreateMultipartUploadInput) SetContentLanguage(v string) *CreateMultipartUploadInput {
+ s.ContentLanguage = &v
+ return s
+}
+
+// SetContentType sets the ContentType field's value.
+func (s *CreateMultipartUploadInput) SetContentType(v string) *CreateMultipartUploadInput {
+ s.ContentType = &v
+ return s
+}
+
+// SetExpires sets the Expires field's value.
+func (s *CreateMultipartUploadInput) SetExpires(v time.Time) *CreateMultipartUploadInput {
+ s.Expires = &v
+ return s
+}
+
+// SetGrantFullControl sets the GrantFullControl field's value.
+func (s *CreateMultipartUploadInput) SetGrantFullControl(v string) *CreateMultipartUploadInput {
+ s.GrantFullControl = &v
+ return s
+}
+
+// SetGrantRead sets the GrantRead field's value.
+func (s *CreateMultipartUploadInput) SetGrantRead(v string) *CreateMultipartUploadInput {
+ s.GrantRead = &v
+ return s
+}
+
+// SetGrantReadACP sets the GrantReadACP field's value.
+func (s *CreateMultipartUploadInput) SetGrantReadACP(v string) *CreateMultipartUploadInput {
+ s.GrantReadACP = &v
+ return s
+}
+
+// SetGrantWriteACP sets the GrantWriteACP field's value.
+func (s *CreateMultipartUploadInput) SetGrantWriteACP(v string) *CreateMultipartUploadInput {
+ s.GrantWriteACP = &v
+ return s
+}
+
+// SetKey sets the Key field's value.
+func (s *CreateMultipartUploadInput) SetKey(v string) *CreateMultipartUploadInput {
+ s.Key = &v
+ return s
+}
+
+// SetMetadata sets the Metadata field's value.
+func (s *CreateMultipartUploadInput) SetMetadata(v map[string]*string) *CreateMultipartUploadInput {
+ s.Metadata = v
+ return s
+}
+
+// SetRequestPayer sets the RequestPayer field's value.
+func (s *CreateMultipartUploadInput) SetRequestPayer(v string) *CreateMultipartUploadInput {
+ s.RequestPayer = &v
+ return s
+}
+
+// SetSSECustomerAlgorithm sets the SSECustomerAlgorithm field's value.
+func (s *CreateMultipartUploadInput) SetSSECustomerAlgorithm(v string) *CreateMultipartUploadInput {
+ s.SSECustomerAlgorithm = &v
+ return s
+}
+
+// SetSSECustomerKey sets the SSECustomerKey field's value.
+func (s *CreateMultipartUploadInput) SetSSECustomerKey(v string) *CreateMultipartUploadInput {
+ s.SSECustomerKey = &v
+ return s
+}
+
+// SetSSECustomerKeyMD5 sets the SSECustomerKeyMD5 field's value.
+func (s *CreateMultipartUploadInput) SetSSECustomerKeyMD5(v string) *CreateMultipartUploadInput {
+ s.SSECustomerKeyMD5 = &v
+ return s
+}
+
+// SetSSEKMSKeyId sets the SSEKMSKeyId field's value.
+func (s *CreateMultipartUploadInput) SetSSEKMSKeyId(v string) *CreateMultipartUploadInput {
+ s.SSEKMSKeyId = &v
+ return s
+}
+
+// SetServerSideEncryption sets the ServerSideEncryption field's value.
+func (s *CreateMultipartUploadInput) SetServerSideEncryption(v string) *CreateMultipartUploadInput {
+ s.ServerSideEncryption = &v
+ return s
+}
+
+// SetStorageClass sets the StorageClass field's value.
+func (s *CreateMultipartUploadInput) SetStorageClass(v string) *CreateMultipartUploadInput {
+ s.StorageClass = &v
+ return s
+}
+
+// SetWebsiteRedirectLocation sets the WebsiteRedirectLocation field's value.
+func (s *CreateMultipartUploadInput) SetWebsiteRedirectLocation(v string) *CreateMultipartUploadInput {
+ s.WebsiteRedirectLocation = &v
+ return s
+}
+
type CreateMultipartUploadOutput struct {
_ struct{} `type:"structure"`
@@ -4832,28 +5552,88 @@ func (s CreateMultipartUploadOutput) GoString() string {
return s.String()
}
-type Delete struct {
- _ struct{} `type:"structure"`
+// SetAbortDate sets the AbortDate field's value.
+func (s *CreateMultipartUploadOutput) SetAbortDate(v time.Time) *CreateMultipartUploadOutput {
+ s.AbortDate = &v
+ return s
+}
- // Objects is a required field
- Objects []*ObjectIdentifier `locationName:"Object" type:"list" flattened:"true" required:"true"`
+// SetAbortRuleId sets the AbortRuleId field's value.
+func (s *CreateMultipartUploadOutput) SetAbortRuleId(v string) *CreateMultipartUploadOutput {
+ s.AbortRuleId = &v
+ return s
+}
- // Element to enable quiet mode for the request. When you add this element,
- // you must set its value to true.
- Quiet *bool `type:"boolean"`
+// SetBucket sets the Bucket field's value.
+func (s *CreateMultipartUploadOutput) SetBucket(v string) *CreateMultipartUploadOutput {
+ s.Bucket = &v
+ return s
}
-// String returns the string representation
-func (s Delete) String() string {
- return awsutil.Prettify(s)
+// SetKey sets the Key field's value.
+func (s *CreateMultipartUploadOutput) SetKey(v string) *CreateMultipartUploadOutput {
+ s.Key = &v
+ return s
}
-// GoString returns the string representation
-func (s Delete) GoString() string {
- return s.String()
+// SetRequestCharged sets the RequestCharged field's value.
+func (s *CreateMultipartUploadOutput) SetRequestCharged(v string) *CreateMultipartUploadOutput {
+ s.RequestCharged = &v
+ return s
}
-// Validate inspects the fields of the type to determine if they are valid.
+// SetSSECustomerAlgorithm sets the SSECustomerAlgorithm field's value.
+func (s *CreateMultipartUploadOutput) SetSSECustomerAlgorithm(v string) *CreateMultipartUploadOutput {
+ s.SSECustomerAlgorithm = &v
+ return s
+}
+
+// SetSSECustomerKeyMD5 sets the SSECustomerKeyMD5 field's value.
+func (s *CreateMultipartUploadOutput) SetSSECustomerKeyMD5(v string) *CreateMultipartUploadOutput {
+ s.SSECustomerKeyMD5 = &v
+ return s
+}
+
+// SetSSEKMSKeyId sets the SSEKMSKeyId field's value.
+func (s *CreateMultipartUploadOutput) SetSSEKMSKeyId(v string) *CreateMultipartUploadOutput {
+ s.SSEKMSKeyId = &v
+ return s
+}
+
+// SetServerSideEncryption sets the ServerSideEncryption field's value.
+func (s *CreateMultipartUploadOutput) SetServerSideEncryption(v string) *CreateMultipartUploadOutput {
+ s.ServerSideEncryption = &v
+ return s
+}
+
+// SetUploadId sets the UploadId field's value.
+func (s *CreateMultipartUploadOutput) SetUploadId(v string) *CreateMultipartUploadOutput {
+ s.UploadId = &v
+ return s
+}
+
+type Delete struct {
+ _ struct{} `type:"structure"`
+
+ // Objects is a required field
+ Objects []*ObjectIdentifier `locationName:"Object" type:"list" flattened:"true" required:"true"`
+
+ // Element to enable quiet mode for the request. When you add this element,
+ // you must set its value to true.
+ Quiet *bool `type:"boolean"`
+}
+
+// String returns the string representation
+func (s Delete) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s Delete) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
func (s *Delete) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "Delete"}
if s.Objects == nil {
@@ -4876,6 +5656,18 @@ func (s *Delete) Validate() error {
return nil
}
+// SetObjects sets the Objects field's value.
+func (s *Delete) SetObjects(v []*ObjectIdentifier) *Delete {
+ s.Objects = v
+ return s
+}
+
+// SetQuiet sets the Quiet field's value.
+func (s *Delete) SetQuiet(v bool) *Delete {
+ s.Quiet = &v
+ return s
+}
+
type DeleteBucketCorsInput struct {
_ struct{} `type:"structure"`
@@ -4906,6 +5698,12 @@ func (s *DeleteBucketCorsInput) Validate() error {
return nil
}
+// SetBucket sets the Bucket field's value.
+func (s *DeleteBucketCorsInput) SetBucket(v string) *DeleteBucketCorsInput {
+ s.Bucket = &v
+ return s
+}
+
type DeleteBucketCorsOutput struct {
_ struct{} `type:"structure"`
}
@@ -4950,6 +5748,12 @@ func (s *DeleteBucketInput) Validate() error {
return nil
}
+// SetBucket sets the Bucket field's value.
+func (s *DeleteBucketInput) SetBucket(v string) *DeleteBucketInput {
+ s.Bucket = &v
+ return s
+}
+
type DeleteBucketLifecycleInput struct {
_ struct{} `type:"structure"`
@@ -4980,6 +5784,12 @@ func (s *DeleteBucketLifecycleInput) Validate() error {
return nil
}
+// SetBucket sets the Bucket field's value.
+func (s *DeleteBucketLifecycleInput) SetBucket(v string) *DeleteBucketLifecycleInput {
+ s.Bucket = &v
+ return s
+}
+
type DeleteBucketLifecycleOutput struct {
_ struct{} `type:"structure"`
}
@@ -5038,6 +5848,12 @@ func (s *DeleteBucketPolicyInput) Validate() error {
return nil
}
+// SetBucket sets the Bucket field's value.
+func (s *DeleteBucketPolicyInput) SetBucket(v string) *DeleteBucketPolicyInput {
+ s.Bucket = &v
+ return s
+}
+
type DeleteBucketPolicyOutput struct {
_ struct{} `type:"structure"`
}
@@ -5082,6 +5898,12 @@ func (s *DeleteBucketReplicationInput) Validate() error {
return nil
}
+// SetBucket sets the Bucket field's value.
+func (s *DeleteBucketReplicationInput) SetBucket(v string) *DeleteBucketReplicationInput {
+ s.Bucket = &v
+ return s
+}
+
type DeleteBucketReplicationOutput struct {
_ struct{} `type:"structure"`
}
@@ -5126,6 +5948,12 @@ func (s *DeleteBucketTaggingInput) Validate() error {
return nil
}
+// SetBucket sets the Bucket field's value.
+func (s *DeleteBucketTaggingInput) SetBucket(v string) *DeleteBucketTaggingInput {
+ s.Bucket = &v
+ return s
+}
+
type DeleteBucketTaggingOutput struct {
_ struct{} `type:"structure"`
}
@@ -5170,6 +5998,12 @@ func (s *DeleteBucketWebsiteInput) Validate() error {
return nil
}
+// SetBucket sets the Bucket field's value.
+func (s *DeleteBucketWebsiteInput) SetBucket(v string) *DeleteBucketWebsiteInput {
+ s.Bucket = &v
+ return s
+}
+
type DeleteBucketWebsiteOutput struct {
_ struct{} `type:"structure"`
}
@@ -5213,6 +6047,36 @@ func (s DeleteMarkerEntry) GoString() string {
return s.String()
}
+// SetIsLatest sets the IsLatest field's value.
+func (s *DeleteMarkerEntry) SetIsLatest(v bool) *DeleteMarkerEntry {
+ s.IsLatest = &v
+ return s
+}
+
+// SetKey sets the Key field's value.
+func (s *DeleteMarkerEntry) SetKey(v string) *DeleteMarkerEntry {
+ s.Key = &v
+ return s
+}
+
+// SetLastModified sets the LastModified field's value.
+func (s *DeleteMarkerEntry) SetLastModified(v time.Time) *DeleteMarkerEntry {
+ s.LastModified = &v
+ return s
+}
+
+// SetOwner sets the Owner field's value.
+func (s *DeleteMarkerEntry) SetOwner(v *Owner) *DeleteMarkerEntry {
+ s.Owner = v
+ return s
+}
+
+// SetVersionId sets the VersionId field's value.
+func (s *DeleteMarkerEntry) SetVersionId(v string) *DeleteMarkerEntry {
+ s.VersionId = &v
+ return s
+}
+
type DeleteObjectInput struct {
_ struct{} `type:"structure"`
@@ -5265,6 +6129,36 @@ func (s *DeleteObjectInput) Validate() error {
return nil
}
+// SetBucket sets the Bucket field's value.
+func (s *DeleteObjectInput) SetBucket(v string) *DeleteObjectInput {
+ s.Bucket = &v
+ return s
+}
+
+// SetKey sets the Key field's value.
+func (s *DeleteObjectInput) SetKey(v string) *DeleteObjectInput {
+ s.Key = &v
+ return s
+}
+
+// SetMFA sets the MFA field's value.
+func (s *DeleteObjectInput) SetMFA(v string) *DeleteObjectInput {
+ s.MFA = &v
+ return s
+}
+
+// SetRequestPayer sets the RequestPayer field's value.
+func (s *DeleteObjectInput) SetRequestPayer(v string) *DeleteObjectInput {
+ s.RequestPayer = &v
+ return s
+}
+
+// SetVersionId sets the VersionId field's value.
+func (s *DeleteObjectInput) SetVersionId(v string) *DeleteObjectInput {
+ s.VersionId = &v
+ return s
+}
+
type DeleteObjectOutput struct {
_ struct{} `type:"structure"`
@@ -5291,6 +6185,24 @@ func (s DeleteObjectOutput) GoString() string {
return s.String()
}
+// SetDeleteMarker sets the DeleteMarker field's value.
+func (s *DeleteObjectOutput) SetDeleteMarker(v bool) *DeleteObjectOutput {
+ s.DeleteMarker = &v
+ return s
+}
+
+// SetRequestCharged sets the RequestCharged field's value.
+func (s *DeleteObjectOutput) SetRequestCharged(v string) *DeleteObjectOutput {
+ s.RequestCharged = &v
+ return s
+}
+
+// SetVersionId sets the VersionId field's value.
+func (s *DeleteObjectOutput) SetVersionId(v string) *DeleteObjectOutput {
+ s.VersionId = &v
+ return s
+}
+
type DeleteObjectsInput struct {
_ struct{} `type:"structure" payload:"Delete"`
@@ -5342,6 +6254,30 @@ func (s *DeleteObjectsInput) Validate() error {
return nil
}
+// SetBucket sets the Bucket field's value.
+func (s *DeleteObjectsInput) SetBucket(v string) *DeleteObjectsInput {
+ s.Bucket = &v
+ return s
+}
+
+// SetDelete sets the Delete field's value.
+func (s *DeleteObjectsInput) SetDelete(v *Delete) *DeleteObjectsInput {
+ s.Delete = v
+ return s
+}
+
+// SetMFA sets the MFA field's value.
+func (s *DeleteObjectsInput) SetMFA(v string) *DeleteObjectsInput {
+ s.MFA = &v
+ return s
+}
+
+// SetRequestPayer sets the RequestPayer field's value.
+func (s *DeleteObjectsInput) SetRequestPayer(v string) *DeleteObjectsInput {
+ s.RequestPayer = &v
+ return s
+}
+
type DeleteObjectsOutput struct {
_ struct{} `type:"structure"`
@@ -5364,6 +6300,24 @@ func (s DeleteObjectsOutput) GoString() string {
return s.String()
}
+// SetDeleted sets the Deleted field's value.
+func (s *DeleteObjectsOutput) SetDeleted(v []*DeletedObject) *DeleteObjectsOutput {
+ s.Deleted = v
+ return s
+}
+
+// SetErrors sets the Errors field's value.
+func (s *DeleteObjectsOutput) SetErrors(v []*Error) *DeleteObjectsOutput {
+ s.Errors = v
+ return s
+}
+
+// SetRequestCharged sets the RequestCharged field's value.
+func (s *DeleteObjectsOutput) SetRequestCharged(v string) *DeleteObjectsOutput {
+ s.RequestCharged = &v
+ return s
+}
+
type DeletedObject struct {
_ struct{} `type:"structure"`
@@ -5386,6 +6340,30 @@ func (s DeletedObject) GoString() string {
return s.String()
}
+// SetDeleteMarker sets the DeleteMarker field's value.
+func (s *DeletedObject) SetDeleteMarker(v bool) *DeletedObject {
+ s.DeleteMarker = &v
+ return s
+}
+
+// SetDeleteMarkerVersionId sets the DeleteMarkerVersionId field's value.
+func (s *DeletedObject) SetDeleteMarkerVersionId(v string) *DeletedObject {
+ s.DeleteMarkerVersionId = &v
+ return s
+}
+
+// SetKey sets the Key field's value.
+func (s *DeletedObject) SetKey(v string) *DeletedObject {
+ s.Key = &v
+ return s
+}
+
+// SetVersionId sets the VersionId field's value.
+func (s *DeletedObject) SetVersionId(v string) *DeletedObject {
+ s.VersionId = &v
+ return s
+}
+
type Destination struct {
_ struct{} `type:"structure"`
@@ -5422,6 +6400,18 @@ func (s *Destination) Validate() error {
return nil
}
+// SetBucket sets the Bucket field's value.
+func (s *Destination) SetBucket(v string) *Destination {
+ s.Bucket = &v
+ return s
+}
+
+// SetStorageClass sets the StorageClass field's value.
+func (s *Destination) SetStorageClass(v string) *Destination {
+ s.StorageClass = &v
+ return s
+}
+
type Error struct {
_ struct{} `type:"structure"`
@@ -5444,6 +6434,30 @@ func (s Error) GoString() string {
return s.String()
}
+// SetCode sets the Code field's value.
+func (s *Error) SetCode(v string) *Error {
+ s.Code = &v
+ return s
+}
+
+// SetKey sets the Key field's value.
+func (s *Error) SetKey(v string) *Error {
+ s.Key = &v
+ return s
+}
+
+// SetMessage sets the Message field's value.
+func (s *Error) SetMessage(v string) *Error {
+ s.Message = &v
+ return s
+}
+
+// SetVersionId sets the VersionId field's value.
+func (s *Error) SetVersionId(v string) *Error {
+ s.VersionId = &v
+ return s
+}
+
type ErrorDocument struct {
_ struct{} `type:"structure"`
@@ -5479,6 +6493,12 @@ func (s *ErrorDocument) Validate() error {
return nil
}
+// SetKey sets the Key field's value.
+func (s *ErrorDocument) SetKey(v string) *ErrorDocument {
+ s.Key = &v
+ return s
+}
+
// Container for key value pair that defines the criteria for the filter rule.
type FilterRule struct {
_ struct{} `type:"structure"`
@@ -5502,6 +6522,18 @@ func (s FilterRule) GoString() string {
return s.String()
}
+// SetName sets the Name field's value.
+func (s *FilterRule) SetName(v string) *FilterRule {
+ s.Name = &v
+ return s
+}
+
+// SetValue sets the Value field's value.
+func (s *FilterRule) SetValue(v string) *FilterRule {
+ s.Value = &v
+ return s
+}
+
type GetBucketAccelerateConfigurationInput struct {
_ struct{} `type:"structure"`
@@ -5534,6 +6566,12 @@ func (s *GetBucketAccelerateConfigurationInput) Validate() error {
return nil
}
+// SetBucket sets the Bucket field's value.
+func (s *GetBucketAccelerateConfigurationInput) SetBucket(v string) *GetBucketAccelerateConfigurationInput {
+ s.Bucket = &v
+ return s
+}
+
type GetBucketAccelerateConfigurationOutput struct {
_ struct{} `type:"structure"`
@@ -5551,6 +6589,12 @@ func (s GetBucketAccelerateConfigurationOutput) GoString() string {
return s.String()
}
+// SetStatus sets the Status field's value.
+func (s *GetBucketAccelerateConfigurationOutput) SetStatus(v string) *GetBucketAccelerateConfigurationOutput {
+ s.Status = &v
+ return s
+}
+
type GetBucketAclInput struct {
_ struct{} `type:"structure"`
@@ -5581,6 +6625,12 @@ func (s *GetBucketAclInput) Validate() error {
return nil
}
+// SetBucket sets the Bucket field's value.
+func (s *GetBucketAclInput) SetBucket(v string) *GetBucketAclInput {
+ s.Bucket = &v
+ return s
+}
+
type GetBucketAclOutput struct {
_ struct{} `type:"structure"`
@@ -5600,6 +6650,18 @@ func (s GetBucketAclOutput) GoString() string {
return s.String()
}
+// SetGrants sets the Grants field's value.
+func (s *GetBucketAclOutput) SetGrants(v []*Grant) *GetBucketAclOutput {
+ s.Grants = v
+ return s
+}
+
+// SetOwner sets the Owner field's value.
+func (s *GetBucketAclOutput) SetOwner(v *Owner) *GetBucketAclOutput {
+ s.Owner = v
+ return s
+}
+
type GetBucketCorsInput struct {
_ struct{} `type:"structure"`
@@ -5630,6 +6692,12 @@ func (s *GetBucketCorsInput) Validate() error {
return nil
}
+// SetBucket sets the Bucket field's value.
+func (s *GetBucketCorsInput) SetBucket(v string) *GetBucketCorsInput {
+ s.Bucket = &v
+ return s
+}
+
type GetBucketCorsOutput struct {
_ struct{} `type:"structure"`
@@ -5646,6 +6714,12 @@ func (s GetBucketCorsOutput) GoString() string {
return s.String()
}
+// SetCORSRules sets the CORSRules field's value.
+func (s *GetBucketCorsOutput) SetCORSRules(v []*CORSRule) *GetBucketCorsOutput {
+ s.CORSRules = v
+ return s
+}
+
type GetBucketLifecycleConfigurationInput struct {
_ struct{} `type:"structure"`
@@ -5676,6 +6750,12 @@ func (s *GetBucketLifecycleConfigurationInput) Validate() error {
return nil
}
+// SetBucket sets the Bucket field's value.
+func (s *GetBucketLifecycleConfigurationInput) SetBucket(v string) *GetBucketLifecycleConfigurationInput {
+ s.Bucket = &v
+ return s
+}
+
type GetBucketLifecycleConfigurationOutput struct {
_ struct{} `type:"structure"`
@@ -5692,6 +6772,12 @@ func (s GetBucketLifecycleConfigurationOutput) GoString() string {
return s.String()
}
+// SetRules sets the Rules field's value.
+func (s *GetBucketLifecycleConfigurationOutput) SetRules(v []*LifecycleRule) *GetBucketLifecycleConfigurationOutput {
+ s.Rules = v
+ return s
+}
+
type GetBucketLifecycleInput struct {
_ struct{} `type:"structure"`
@@ -5722,6 +6808,12 @@ func (s *GetBucketLifecycleInput) Validate() error {
return nil
}
+// SetBucket sets the Bucket field's value.
+func (s *GetBucketLifecycleInput) SetBucket(v string) *GetBucketLifecycleInput {
+ s.Bucket = &v
+ return s
+}
+
type GetBucketLifecycleOutput struct {
_ struct{} `type:"structure"`
@@ -5738,6 +6830,12 @@ func (s GetBucketLifecycleOutput) GoString() string {
return s.String()
}
+// SetRules sets the Rules field's value.
+func (s *GetBucketLifecycleOutput) SetRules(v []*Rule) *GetBucketLifecycleOutput {
+ s.Rules = v
+ return s
+}
+
type GetBucketLocationInput struct {
_ struct{} `type:"structure"`
@@ -5768,6 +6866,12 @@ func (s *GetBucketLocationInput) Validate() error {
return nil
}
+// SetBucket sets the Bucket field's value.
+func (s *GetBucketLocationInput) SetBucket(v string) *GetBucketLocationInput {
+ s.Bucket = &v
+ return s
+}
+
type GetBucketLocationOutput struct {
_ struct{} `type:"structure"`
@@ -5784,6 +6888,12 @@ func (s GetBucketLocationOutput) GoString() string {
return s.String()
}
+// SetLocationConstraint sets the LocationConstraint field's value.
+func (s *GetBucketLocationOutput) SetLocationConstraint(v string) *GetBucketLocationOutput {
+ s.LocationConstraint = &v
+ return s
+}
+
type GetBucketLoggingInput struct {
_ struct{} `type:"structure"`
@@ -5814,6 +6924,12 @@ func (s *GetBucketLoggingInput) Validate() error {
return nil
}
+// SetBucket sets the Bucket field's value.
+func (s *GetBucketLoggingInput) SetBucket(v string) *GetBucketLoggingInput {
+ s.Bucket = &v
+ return s
+}
+
type GetBucketLoggingOutput struct {
_ struct{} `type:"structure"`
@@ -5830,6 +6946,12 @@ func (s GetBucketLoggingOutput) GoString() string {
return s.String()
}
+// SetLoggingEnabled sets the LoggingEnabled field's value.
+func (s *GetBucketLoggingOutput) SetLoggingEnabled(v *LoggingEnabled) *GetBucketLoggingOutput {
+ s.LoggingEnabled = v
+ return s
+}
+
type GetBucketNotificationConfigurationRequest struct {
_ struct{} `type:"structure"`
@@ -5862,6 +6984,12 @@ func (s *GetBucketNotificationConfigurationRequest) Validate() error {
return nil
}
+// SetBucket sets the Bucket field's value.
+func (s *GetBucketNotificationConfigurationRequest) SetBucket(v string) *GetBucketNotificationConfigurationRequest {
+ s.Bucket = &v
+ return s
+}
+
type GetBucketPolicyInput struct {
_ struct{} `type:"structure"`
@@ -5892,6 +7020,12 @@ func (s *GetBucketPolicyInput) Validate() error {
return nil
}
+// SetBucket sets the Bucket field's value.
+func (s *GetBucketPolicyInput) SetBucket(v string) *GetBucketPolicyInput {
+ s.Bucket = &v
+ return s
+}
+
type GetBucketPolicyOutput struct {
_ struct{} `type:"structure" payload:"Policy"`
@@ -5909,6 +7043,12 @@ func (s GetBucketPolicyOutput) GoString() string {
return s.String()
}
+// SetPolicy sets the Policy field's value.
+func (s *GetBucketPolicyOutput) SetPolicy(v string) *GetBucketPolicyOutput {
+ s.Policy = &v
+ return s
+}
+
type GetBucketReplicationInput struct {
_ struct{} `type:"structure"`
@@ -5939,6 +7079,12 @@ func (s *GetBucketReplicationInput) Validate() error {
return nil
}
+// SetBucket sets the Bucket field's value.
+func (s *GetBucketReplicationInput) SetBucket(v string) *GetBucketReplicationInput {
+ s.Bucket = &v
+ return s
+}
+
type GetBucketReplicationOutput struct {
_ struct{} `type:"structure" payload:"ReplicationConfiguration"`
@@ -5957,6 +7103,12 @@ func (s GetBucketReplicationOutput) GoString() string {
return s.String()
}
+// SetReplicationConfiguration sets the ReplicationConfiguration field's value.
+func (s *GetBucketReplicationOutput) SetReplicationConfiguration(v *ReplicationConfiguration) *GetBucketReplicationOutput {
+ s.ReplicationConfiguration = v
+ return s
+}
+
type GetBucketRequestPaymentInput struct {
_ struct{} `type:"structure"`
@@ -5987,6 +7139,12 @@ func (s *GetBucketRequestPaymentInput) Validate() error {
return nil
}
+// SetBucket sets the Bucket field's value.
+func (s *GetBucketRequestPaymentInput) SetBucket(v string) *GetBucketRequestPaymentInput {
+ s.Bucket = &v
+ return s
+}
+
type GetBucketRequestPaymentOutput struct {
_ struct{} `type:"structure"`
@@ -6004,6 +7162,12 @@ func (s GetBucketRequestPaymentOutput) GoString() string {
return s.String()
}
+// SetPayer sets the Payer field's value.
+func (s *GetBucketRequestPaymentOutput) SetPayer(v string) *GetBucketRequestPaymentOutput {
+ s.Payer = &v
+ return s
+}
+
type GetBucketTaggingInput struct {
_ struct{} `type:"structure"`
@@ -6034,6 +7198,12 @@ func (s *GetBucketTaggingInput) Validate() error {
return nil
}
+// SetBucket sets the Bucket field's value.
+func (s *GetBucketTaggingInput) SetBucket(v string) *GetBucketTaggingInput {
+ s.Bucket = &v
+ return s
+}
+
type GetBucketTaggingOutput struct {
_ struct{} `type:"structure"`
@@ -6051,6 +7221,12 @@ func (s GetBucketTaggingOutput) GoString() string {
return s.String()
}
+// SetTagSet sets the TagSet field's value.
+func (s *GetBucketTaggingOutput) SetTagSet(v []*Tag) *GetBucketTaggingOutput {
+ s.TagSet = v
+ return s
+}
+
type GetBucketVersioningInput struct {
_ struct{} `type:"structure"`
@@ -6081,6 +7257,12 @@ func (s *GetBucketVersioningInput) Validate() error {
return nil
}
+// SetBucket sets the Bucket field's value.
+func (s *GetBucketVersioningInput) SetBucket(v string) *GetBucketVersioningInput {
+ s.Bucket = &v
+ return s
+}
+
type GetBucketVersioningOutput struct {
_ struct{} `type:"structure"`
@@ -6103,6 +7285,18 @@ func (s GetBucketVersioningOutput) GoString() string {
return s.String()
}
+// SetMFADelete sets the MFADelete field's value.
+func (s *GetBucketVersioningOutput) SetMFADelete(v string) *GetBucketVersioningOutput {
+ s.MFADelete = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *GetBucketVersioningOutput) SetStatus(v string) *GetBucketVersioningOutput {
+ s.Status = &v
+ return s
+}
+
type GetBucketWebsiteInput struct {
_ struct{} `type:"structure"`
@@ -6133,6 +7327,12 @@ func (s *GetBucketWebsiteInput) Validate() error {
return nil
}
+// SetBucket sets the Bucket field's value.
+func (s *GetBucketWebsiteInput) SetBucket(v string) *GetBucketWebsiteInput {
+ s.Bucket = &v
+ return s
+}
+
type GetBucketWebsiteOutput struct {
_ struct{} `type:"structure"`
@@ -6155,6 +7355,30 @@ func (s GetBucketWebsiteOutput) GoString() string {
return s.String()
}
+// SetErrorDocument sets the ErrorDocument field's value.
+func (s *GetBucketWebsiteOutput) SetErrorDocument(v *ErrorDocument) *GetBucketWebsiteOutput {
+ s.ErrorDocument = v
+ return s
+}
+
+// SetIndexDocument sets the IndexDocument field's value.
+func (s *GetBucketWebsiteOutput) SetIndexDocument(v *IndexDocument) *GetBucketWebsiteOutput {
+ s.IndexDocument = v
+ return s
+}
+
+// SetRedirectAllRequestsTo sets the RedirectAllRequestsTo field's value.
+func (s *GetBucketWebsiteOutput) SetRedirectAllRequestsTo(v *RedirectAllRequestsTo) *GetBucketWebsiteOutput {
+ s.RedirectAllRequestsTo = v
+ return s
+}
+
+// SetRoutingRules sets the RoutingRules field's value.
+func (s *GetBucketWebsiteOutput) SetRoutingRules(v []*RoutingRule) *GetBucketWebsiteOutput {
+ s.RoutingRules = v
+ return s
+}
+
type GetObjectAclInput struct {
_ struct{} `type:"structure"`
@@ -6203,6 +7427,30 @@ func (s *GetObjectAclInput) Validate() error {
return nil
}
+// SetBucket sets the Bucket field's value.
+func (s *GetObjectAclInput) SetBucket(v string) *GetObjectAclInput {
+ s.Bucket = &v
+ return s
+}
+
+// SetKey sets the Key field's value.
+func (s *GetObjectAclInput) SetKey(v string) *GetObjectAclInput {
+ s.Key = &v
+ return s
+}
+
+// SetRequestPayer sets the RequestPayer field's value.
+func (s *GetObjectAclInput) SetRequestPayer(v string) *GetObjectAclInput {
+ s.RequestPayer = &v
+ return s
+}
+
+// SetVersionId sets the VersionId field's value.
+func (s *GetObjectAclInput) SetVersionId(v string) *GetObjectAclInput {
+ s.VersionId = &v
+ return s
+}
+
type GetObjectAclOutput struct {
_ struct{} `type:"structure"`
@@ -6226,6 +7474,24 @@ func (s GetObjectAclOutput) GoString() string {
return s.String()
}
+// SetGrants sets the Grants field's value.
+func (s *GetObjectAclOutput) SetGrants(v []*Grant) *GetObjectAclOutput {
+ s.Grants = v
+ return s
+}
+
+// SetOwner sets the Owner field's value.
+func (s *GetObjectAclOutput) SetOwner(v *Owner) *GetObjectAclOutput {
+ s.Owner = v
+ return s
+}
+
+// SetRequestCharged sets the RequestCharged field's value.
+func (s *GetObjectAclOutput) SetRequestCharged(v string) *GetObjectAclOutput {
+ s.RequestCharged = &v
+ return s
+}
+
type GetObjectInput struct {
_ struct{} `type:"structure"`
@@ -6332,6 +7598,120 @@ func (s *GetObjectInput) Validate() error {
return nil
}
+// SetBucket sets the Bucket field's value.
+func (s *GetObjectInput) SetBucket(v string) *GetObjectInput {
+ s.Bucket = &v
+ return s
+}
+
+// SetIfMatch sets the IfMatch field's value.
+func (s *GetObjectInput) SetIfMatch(v string) *GetObjectInput {
+ s.IfMatch = &v
+ return s
+}
+
+// SetIfModifiedSince sets the IfModifiedSince field's value.
+func (s *GetObjectInput) SetIfModifiedSince(v time.Time) *GetObjectInput {
+ s.IfModifiedSince = &v
+ return s
+}
+
+// SetIfNoneMatch sets the IfNoneMatch field's value.
+func (s *GetObjectInput) SetIfNoneMatch(v string) *GetObjectInput {
+ s.IfNoneMatch = &v
+ return s
+}
+
+// SetIfUnmodifiedSince sets the IfUnmodifiedSince field's value.
+func (s *GetObjectInput) SetIfUnmodifiedSince(v time.Time) *GetObjectInput {
+ s.IfUnmodifiedSince = &v
+ return s
+}
+
+// SetKey sets the Key field's value.
+func (s *GetObjectInput) SetKey(v string) *GetObjectInput {
+ s.Key = &v
+ return s
+}
+
+// SetPartNumber sets the PartNumber field's value.
+func (s *GetObjectInput) SetPartNumber(v int64) *GetObjectInput {
+ s.PartNumber = &v
+ return s
+}
+
+// SetRange sets the Range field's value.
+func (s *GetObjectInput) SetRange(v string) *GetObjectInput {
+ s.Range = &v
+ return s
+}
+
+// SetRequestPayer sets the RequestPayer field's value.
+func (s *GetObjectInput) SetRequestPayer(v string) *GetObjectInput {
+ s.RequestPayer = &v
+ return s
+}
+
+// SetResponseCacheControl sets the ResponseCacheControl field's value.
+func (s *GetObjectInput) SetResponseCacheControl(v string) *GetObjectInput {
+ s.ResponseCacheControl = &v
+ return s
+}
+
+// SetResponseContentDisposition sets the ResponseContentDisposition field's value.
+func (s *GetObjectInput) SetResponseContentDisposition(v string) *GetObjectInput {
+ s.ResponseContentDisposition = &v
+ return s
+}
+
+// SetResponseContentEncoding sets the ResponseContentEncoding field's value.
+func (s *GetObjectInput) SetResponseContentEncoding(v string) *GetObjectInput {
+ s.ResponseContentEncoding = &v
+ return s
+}
+
+// SetResponseContentLanguage sets the ResponseContentLanguage field's value.
+func (s *GetObjectInput) SetResponseContentLanguage(v string) *GetObjectInput {
+ s.ResponseContentLanguage = &v
+ return s
+}
+
+// SetResponseContentType sets the ResponseContentType field's value.
+func (s *GetObjectInput) SetResponseContentType(v string) *GetObjectInput {
+ s.ResponseContentType = &v
+ return s
+}
+
+// SetResponseExpires sets the ResponseExpires field's value.
+func (s *GetObjectInput) SetResponseExpires(v time.Time) *GetObjectInput {
+ s.ResponseExpires = &v
+ return s
+}
+
+// SetSSECustomerAlgorithm sets the SSECustomerAlgorithm field's value.
+func (s *GetObjectInput) SetSSECustomerAlgorithm(v string) *GetObjectInput {
+ s.SSECustomerAlgorithm = &v
+ return s
+}
+
+// SetSSECustomerKey sets the SSECustomerKey field's value.
+func (s *GetObjectInput) SetSSECustomerKey(v string) *GetObjectInput {
+ s.SSECustomerKey = &v
+ return s
+}
+
+// SetSSECustomerKeyMD5 sets the SSECustomerKeyMD5 field's value.
+func (s *GetObjectInput) SetSSECustomerKeyMD5(v string) *GetObjectInput {
+ s.SSECustomerKeyMD5 = &v
+ return s
+}
+
+// SetVersionId sets the VersionId field's value.
+func (s *GetObjectInput) SetVersionId(v string) *GetObjectInput {
+ s.VersionId = &v
+ return s
+}
+
type GetObjectOutput struct {
_ struct{} `type:"structure" payload:"Body"`
@@ -6444,36 +7824,198 @@ func (s GetObjectOutput) GoString() string {
return s.String()
}
-type GetObjectTorrentInput struct {
- _ struct{} `type:"structure"`
+// SetAcceptRanges sets the AcceptRanges field's value.
+func (s *GetObjectOutput) SetAcceptRanges(v string) *GetObjectOutput {
+ s.AcceptRanges = &v
+ return s
+}
- // Bucket is a required field
- Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`
+// SetBody sets the Body field's value.
+func (s *GetObjectOutput) SetBody(v io.ReadCloser) *GetObjectOutput {
+ s.Body = v
+ return s
+}
- // Key is a required field
- Key *string `location:"uri" locationName:"Key" min:"1" type:"string" required:"true"`
+// SetCacheControl sets the CacheControl field's value.
+func (s *GetObjectOutput) SetCacheControl(v string) *GetObjectOutput {
+ s.CacheControl = &v
+ return s
+}
- // Confirms that the requester knows that she or he will be charged for the
- // request. Bucket owners need not specify this parameter in their requests.
- // Documentation on downloading objects from requester pays buckets can be found
- // at http://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html
- RequestPayer *string `location:"header" locationName:"x-amz-request-payer" type:"string" enum:"RequestPayer"`
+// SetContentDisposition sets the ContentDisposition field's value.
+func (s *GetObjectOutput) SetContentDisposition(v string) *GetObjectOutput {
+ s.ContentDisposition = &v
+ return s
}
-// String returns the string representation
-func (s GetObjectTorrentInput) String() string {
- return awsutil.Prettify(s)
+// SetContentEncoding sets the ContentEncoding field's value.
+func (s *GetObjectOutput) SetContentEncoding(v string) *GetObjectOutput {
+ s.ContentEncoding = &v
+ return s
}
-// GoString returns the string representation
-func (s GetObjectTorrentInput) GoString() string {
- return s.String()
+// SetContentLanguage sets the ContentLanguage field's value.
+func (s *GetObjectOutput) SetContentLanguage(v string) *GetObjectOutput {
+ s.ContentLanguage = &v
+ return s
}
-// Validate inspects the fields of the type to determine if they are valid.
-func (s *GetObjectTorrentInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "GetObjectTorrentInput"}
- if s.Bucket == nil {
+// 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
+}
+
+// SetDeleteMarker sets the DeleteMarker field's value.
+func (s *GetObjectOutput) SetDeleteMarker(v bool) *GetObjectOutput {
+ s.DeleteMarker = &v
+ return s
+}
+
+// SetETag sets the ETag field's value.
+func (s *GetObjectOutput) SetETag(v string) *GetObjectOutput {
+ s.ETag = &v
+ return s
+}
+
+// SetExpiration sets the Expiration field's value.
+func (s *GetObjectOutput) SetExpiration(v string) *GetObjectOutput {
+ s.Expiration = &v
+ return s
+}
+
+// SetExpires sets the Expires field's value.
+func (s *GetObjectOutput) SetExpires(v string) *GetObjectOutput {
+ s.Expires = &v
+ return s
+}
+
+// SetLastModified sets the LastModified field's value.
+func (s *GetObjectOutput) SetLastModified(v time.Time) *GetObjectOutput {
+ s.LastModified = &v
+ return s
+}
+
+// SetMetadata sets the Metadata field's value.
+func (s *GetObjectOutput) SetMetadata(v map[string]*string) *GetObjectOutput {
+ s.Metadata = v
+ return s
+}
+
+// SetMissingMeta sets the MissingMeta field's value.
+func (s *GetObjectOutput) SetMissingMeta(v int64) *GetObjectOutput {
+ s.MissingMeta = &v
+ return s
+}
+
+// SetPartsCount sets the PartsCount field's value.
+func (s *GetObjectOutput) SetPartsCount(v int64) *GetObjectOutput {
+ s.PartsCount = &v
+ return s
+}
+
+// SetReplicationStatus sets the ReplicationStatus field's value.
+func (s *GetObjectOutput) SetReplicationStatus(v string) *GetObjectOutput {
+ s.ReplicationStatus = &v
+ return s
+}
+
+// SetRequestCharged sets the RequestCharged field's value.
+func (s *GetObjectOutput) SetRequestCharged(v string) *GetObjectOutput {
+ s.RequestCharged = &v
+ return s
+}
+
+// SetRestore sets the Restore field's value.
+func (s *GetObjectOutput) SetRestore(v string) *GetObjectOutput {
+ s.Restore = &v
+ return s
+}
+
+// SetSSECustomerAlgorithm sets the SSECustomerAlgorithm field's value.
+func (s *GetObjectOutput) SetSSECustomerAlgorithm(v string) *GetObjectOutput {
+ s.SSECustomerAlgorithm = &v
+ return s
+}
+
+// SetSSECustomerKeyMD5 sets the SSECustomerKeyMD5 field's value.
+func (s *GetObjectOutput) SetSSECustomerKeyMD5(v string) *GetObjectOutput {
+ s.SSECustomerKeyMD5 = &v
+ return s
+}
+
+// SetSSEKMSKeyId sets the SSEKMSKeyId field's value.
+func (s *GetObjectOutput) SetSSEKMSKeyId(v string) *GetObjectOutput {
+ s.SSEKMSKeyId = &v
+ return s
+}
+
+// SetServerSideEncryption sets the ServerSideEncryption field's value.
+func (s *GetObjectOutput) SetServerSideEncryption(v string) *GetObjectOutput {
+ s.ServerSideEncryption = &v
+ return s
+}
+
+// SetStorageClass sets the StorageClass field's value.
+func (s *GetObjectOutput) SetStorageClass(v string) *GetObjectOutput {
+ s.StorageClass = &v
+ return s
+}
+
+// SetVersionId sets the VersionId field's value.
+func (s *GetObjectOutput) SetVersionId(v string) *GetObjectOutput {
+ s.VersionId = &v
+ return s
+}
+
+// SetWebsiteRedirectLocation sets the WebsiteRedirectLocation field's value.
+func (s *GetObjectOutput) SetWebsiteRedirectLocation(v string) *GetObjectOutput {
+ s.WebsiteRedirectLocation = &v
+ return s
+}
+
+type GetObjectTorrentInput struct {
+ _ struct{} `type:"structure"`
+
+ // Bucket is a required field
+ Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"`
+
+ // Key is a required field
+ Key *string `location:"uri" locationName:"Key" min:"1" type:"string" required:"true"`
+
+ // Confirms that the requester knows that she or he will be charged for the
+ // request. Bucket owners need not specify this parameter in their requests.
+ // Documentation on downloading objects from requester pays buckets can be found
+ // at http://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html
+ RequestPayer *string `location:"header" locationName:"x-amz-request-payer" type:"string" enum:"RequestPayer"`
+}
+
+// String returns the string representation
+func (s GetObjectTorrentInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s GetObjectTorrentInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *GetObjectTorrentInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "GetObjectTorrentInput"}
+ if s.Bucket == nil {
invalidParams.Add(request.NewErrParamRequired("Bucket"))
}
if s.Key == nil {
@@ -6489,6 +8031,24 @@ func (s *GetObjectTorrentInput) Validate() error {
return nil
}
+// SetBucket sets the Bucket field's value.
+func (s *GetObjectTorrentInput) SetBucket(v string) *GetObjectTorrentInput {
+ s.Bucket = &v
+ return s
+}
+
+// SetKey sets the Key field's value.
+func (s *GetObjectTorrentInput) SetKey(v string) *GetObjectTorrentInput {
+ s.Key = &v
+ return s
+}
+
+// SetRequestPayer sets the RequestPayer field's value.
+func (s *GetObjectTorrentInput) SetRequestPayer(v string) *GetObjectTorrentInput {
+ s.RequestPayer = &v
+ return s
+}
+
type GetObjectTorrentOutput struct {
_ struct{} `type:"structure" payload:"Body"`
@@ -6509,6 +8069,18 @@ func (s GetObjectTorrentOutput) GoString() string {
return s.String()
}
+// SetBody sets the Body field's value.
+func (s *GetObjectTorrentOutput) SetBody(v io.ReadCloser) *GetObjectTorrentOutput {
+ s.Body = v
+ return s
+}
+
+// SetRequestCharged sets the RequestCharged field's value.
+func (s *GetObjectTorrentOutput) SetRequestCharged(v string) *GetObjectTorrentOutput {
+ s.RequestCharged = &v
+ return s
+}
+
type Grant struct {
_ struct{} `type:"structure"`
@@ -6543,6 +8115,18 @@ func (s *Grant) Validate() error {
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
+}
+
type Grantee struct {
_ struct{} `type:"structure" xmlPrefix:"xsi" xmlURI:"http://www.w3.org/2001/XMLSchema-instance"`
@@ -6587,6 +8171,36 @@ func (s *Grantee) Validate() error {
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
+}
+
type HeadBucketInput struct {
_ struct{} `type:"structure"`
@@ -6617,6 +8231,12 @@ func (s *HeadBucketInput) Validate() error {
return nil
}
+// SetBucket sets the Bucket field's value.
+func (s *HeadBucketInput) SetBucket(v string) *HeadBucketInput {
+ s.Bucket = &v
+ return s
+}
+
type HeadBucketOutput struct {
_ struct{} `type:"structure"`
}
@@ -6720,6 +8340,84 @@ func (s *HeadObjectInput) Validate() error {
return nil
}
+// SetBucket sets the Bucket field's value.
+func (s *HeadObjectInput) SetBucket(v string) *HeadObjectInput {
+ s.Bucket = &v
+ return s
+}
+
+// SetIfMatch sets the IfMatch field's value.
+func (s *HeadObjectInput) SetIfMatch(v string) *HeadObjectInput {
+ s.IfMatch = &v
+ return s
+}
+
+// SetIfModifiedSince sets the IfModifiedSince field's value.
+func (s *HeadObjectInput) SetIfModifiedSince(v time.Time) *HeadObjectInput {
+ s.IfModifiedSince = &v
+ return s
+}
+
+// SetIfNoneMatch sets the IfNoneMatch field's value.
+func (s *HeadObjectInput) SetIfNoneMatch(v string) *HeadObjectInput {
+ s.IfNoneMatch = &v
+ return s
+}
+
+// SetIfUnmodifiedSince sets the IfUnmodifiedSince field's value.
+func (s *HeadObjectInput) SetIfUnmodifiedSince(v time.Time) *HeadObjectInput {
+ s.IfUnmodifiedSince = &v
+ return s
+}
+
+// SetKey sets the Key field's value.
+func (s *HeadObjectInput) SetKey(v string) *HeadObjectInput {
+ s.Key = &v
+ return s
+}
+
+// SetPartNumber sets the PartNumber field's value.
+func (s *HeadObjectInput) SetPartNumber(v int64) *HeadObjectInput {
+ s.PartNumber = &v
+ return s
+}
+
+// SetRange sets the Range field's value.
+func (s *HeadObjectInput) SetRange(v string) *HeadObjectInput {
+ s.Range = &v
+ return s
+}
+
+// SetRequestPayer sets the RequestPayer field's value.
+func (s *HeadObjectInput) SetRequestPayer(v string) *HeadObjectInput {
+ s.RequestPayer = &v
+ return s
+}
+
+// SetSSECustomerAlgorithm sets the SSECustomerAlgorithm field's value.
+func (s *HeadObjectInput) SetSSECustomerAlgorithm(v string) *HeadObjectInput {
+ s.SSECustomerAlgorithm = &v
+ return s
+}
+
+// SetSSECustomerKey sets the SSECustomerKey field's value.
+func (s *HeadObjectInput) SetSSECustomerKey(v string) *HeadObjectInput {
+ s.SSECustomerKey = &v
+ return s
+}
+
+// SetSSECustomerKeyMD5 sets the SSECustomerKeyMD5 field's value.
+func (s *HeadObjectInput) SetSSECustomerKeyMD5(v string) *HeadObjectInput {
+ s.SSECustomerKeyMD5 = &v
+ return s
+}
+
+// SetVersionId sets the VersionId field's value.
+func (s *HeadObjectInput) SetVersionId(v string) *HeadObjectInput {
+ s.VersionId = &v
+ return s
+}
+
type HeadObjectOutput struct {
_ struct{} `type:"structure"`
@@ -6826,6 +8524,156 @@ func (s HeadObjectOutput) GoString() string {
return s.String()
}
+// SetAcceptRanges sets the AcceptRanges field's value.
+func (s *HeadObjectOutput) SetAcceptRanges(v string) *HeadObjectOutput {
+ s.AcceptRanges = &v
+ return s
+}
+
+// SetCacheControl sets the CacheControl field's value.
+func (s *HeadObjectOutput) SetCacheControl(v string) *HeadObjectOutput {
+ s.CacheControl = &v
+ return s
+}
+
+// SetContentDisposition sets the ContentDisposition field's value.
+func (s *HeadObjectOutput) SetContentDisposition(v string) *HeadObjectOutput {
+ s.ContentDisposition = &v
+ return s
+}
+
+// SetContentEncoding sets the ContentEncoding field's value.
+func (s *HeadObjectOutput) SetContentEncoding(v string) *HeadObjectOutput {
+ s.ContentEncoding = &v
+ return s
+}
+
+// SetContentLanguage sets the ContentLanguage field's value.
+func (s *HeadObjectOutput) SetContentLanguage(v string) *HeadObjectOutput {
+ s.ContentLanguage = &v
+ return s
+}
+
+// SetContentLength sets the ContentLength field's value.
+func (s *HeadObjectOutput) SetContentLength(v int64) *HeadObjectOutput {
+ s.ContentLength = &v
+ return s
+}
+
+// SetContentType sets the ContentType field's value.
+func (s *HeadObjectOutput) SetContentType(v string) *HeadObjectOutput {
+ s.ContentType = &v
+ return s
+}
+
+// SetDeleteMarker sets the DeleteMarker field's value.
+func (s *HeadObjectOutput) SetDeleteMarker(v bool) *HeadObjectOutput {
+ s.DeleteMarker = &v
+ return s
+}
+
+// SetETag sets the ETag field's value.
+func (s *HeadObjectOutput) SetETag(v string) *HeadObjectOutput {
+ s.ETag = &v
+ return s
+}
+
+// SetExpiration sets the Expiration field's value.
+func (s *HeadObjectOutput) SetExpiration(v string) *HeadObjectOutput {
+ s.Expiration = &v
+ return s
+}
+
+// SetExpires sets the Expires field's value.
+func (s *HeadObjectOutput) SetExpires(v string) *HeadObjectOutput {
+ s.Expires = &v
+ return s
+}
+
+// SetLastModified sets the LastModified field's value.
+func (s *HeadObjectOutput) SetLastModified(v time.Time) *HeadObjectOutput {
+ s.LastModified = &v
+ return s
+}
+
+// SetMetadata sets the Metadata field's value.
+func (s *HeadObjectOutput) SetMetadata(v map[string]*string) *HeadObjectOutput {
+ s.Metadata = v
+ return s
+}
+
+// SetMissingMeta sets the MissingMeta field's value.
+func (s *HeadObjectOutput) SetMissingMeta(v int64) *HeadObjectOutput {
+ s.MissingMeta = &v
+ return s
+}
+
+// SetPartsCount sets the PartsCount field's value.
+func (s *HeadObjectOutput) SetPartsCount(v int64) *HeadObjectOutput {
+ s.PartsCount = &v
+ return s
+}
+
+// SetReplicationStatus sets the ReplicationStatus field's value.
+func (s *HeadObjectOutput) SetReplicationStatus(v string) *HeadObjectOutput {
+ s.ReplicationStatus = &v
+ return s
+}
+
+// SetRequestCharged sets the RequestCharged field's value.
+func (s *HeadObjectOutput) SetRequestCharged(v string) *HeadObjectOutput {
+ s.RequestCharged = &v
+ return s
+}
+
+// SetRestore sets the Restore field's value.
+func (s *HeadObjectOutput) SetRestore(v string) *HeadObjectOutput {
+ s.Restore = &v
+ return s
+}
+
+// SetSSECustomerAlgorithm sets the SSECustomerAlgorithm field's value.
+func (s *HeadObjectOutput) SetSSECustomerAlgorithm(v string) *HeadObjectOutput {
+ s.SSECustomerAlgorithm = &v
+ return s
+}
+
+// SetSSECustomerKeyMD5 sets the SSECustomerKeyMD5 field's value.
+func (s *HeadObjectOutput) SetSSECustomerKeyMD5(v string) *HeadObjectOutput {
+ s.SSECustomerKeyMD5 = &v
+ return s
+}
+
+// SetSSEKMSKeyId sets the SSEKMSKeyId field's value.
+func (s *HeadObjectOutput) SetSSEKMSKeyId(v string) *HeadObjectOutput {
+ s.SSEKMSKeyId = &v
+ return s
+}
+
+// SetServerSideEncryption sets the ServerSideEncryption field's value.
+func (s *HeadObjectOutput) SetServerSideEncryption(v string) *HeadObjectOutput {
+ s.ServerSideEncryption = &v
+ return s
+}
+
+// SetStorageClass sets the StorageClass field's value.
+func (s *HeadObjectOutput) SetStorageClass(v string) *HeadObjectOutput {
+ s.StorageClass = &v
+ return s
+}
+
+// SetVersionId sets the VersionId field's value.
+func (s *HeadObjectOutput) SetVersionId(v string) *HeadObjectOutput {
+ s.VersionId = &v
+ return s
+}
+
+// SetWebsiteRedirectLocation sets the WebsiteRedirectLocation field's value.
+func (s *HeadObjectOutput) SetWebsiteRedirectLocation(v string) *HeadObjectOutput {
+ s.WebsiteRedirectLocation = &v
+ return s
+}
+
type IndexDocument struct {
_ struct{} `type:"structure"`
@@ -6861,6 +8709,12 @@ func (s *IndexDocument) Validate() error {
return nil
}
+// SetSuffix sets the Suffix field's value.
+func (s *IndexDocument) SetSuffix(v string) *IndexDocument {
+ s.Suffix = &v
+ return s
+}
+
type Initiator struct {
_ struct{} `type:"structure"`
@@ -6882,6 +8736,18 @@ func (s Initiator) GoString() string {
return s.String()
}
+// SetDisplayName sets the DisplayName field's value.
+func (s *Initiator) SetDisplayName(v string) *Initiator {
+ s.DisplayName = &v
+ return s
+}
+
+// SetID sets the ID field's value.
+func (s *Initiator) SetID(v string) *Initiator {
+ s.ID = &v
+ return s
+}
+
// Container for object key name prefix and suffix filtering rules.
type KeyFilter struct {
_ struct{} `type:"structure"`
@@ -6901,6 +8767,12 @@ func (s KeyFilter) GoString() string {
return s.String()
}
+// SetFilterRules sets the FilterRules field's value.
+func (s *KeyFilter) SetFilterRules(v []*FilterRule) *KeyFilter {
+ s.FilterRules = v
+ return s
+}
+
// Container for specifying the AWS Lambda notification configuration.
type LambdaFunctionConfiguration struct {
_ struct{} `type:"structure"`
@@ -6949,6 +8821,30 @@ func (s *LambdaFunctionConfiguration) Validate() error {
return nil
}
+// SetEvents sets the Events field's value.
+func (s *LambdaFunctionConfiguration) SetEvents(v []*string) *LambdaFunctionConfiguration {
+ s.Events = v
+ return s
+}
+
+// SetFilter sets the Filter field's value.
+func (s *LambdaFunctionConfiguration) SetFilter(v *NotificationConfigurationFilter) *LambdaFunctionConfiguration {
+ s.Filter = v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *LambdaFunctionConfiguration) SetId(v string) *LambdaFunctionConfiguration {
+ s.Id = &v
+ return s
+}
+
+// SetLambdaFunctionArn sets the LambdaFunctionArn field's value.
+func (s *LambdaFunctionConfiguration) SetLambdaFunctionArn(v string) *LambdaFunctionConfiguration {
+ s.LambdaFunctionArn = &v
+ return s
+}
+
type LifecycleConfiguration struct {
_ struct{} `type:"structure"`
@@ -6989,6 +8885,12 @@ func (s *LifecycleConfiguration) Validate() error {
return nil
}
+// SetRules sets the Rules field's value.
+func (s *LifecycleConfiguration) SetRules(v []*Rule) *LifecycleConfiguration {
+ s.Rules = v
+ return s
+}
+
type LifecycleExpiration struct {
_ struct{} `type:"structure"`
@@ -7017,6 +8919,24 @@ func (s LifecycleExpiration) GoString() string {
return s.String()
}
+// SetDate sets the Date field's value.
+func (s *LifecycleExpiration) SetDate(v time.Time) *LifecycleExpiration {
+ s.Date = &v
+ return s
+}
+
+// SetDays sets the Days field's value.
+func (s *LifecycleExpiration) SetDays(v int64) *LifecycleExpiration {
+ s.Days = &v
+ return s
+}
+
+// SetExpiredObjectDeleteMarker sets the ExpiredObjectDeleteMarker field's value.
+func (s *LifecycleExpiration) SetExpiredObjectDeleteMarker(v bool) *LifecycleExpiration {
+ s.ExpiredObjectDeleteMarker = &v
+ return s
+}
+
type LifecycleRule struct {
_ struct{} `type:"structure"`
@@ -7078,6 +8998,54 @@ func (s *LifecycleRule) Validate() error {
return nil
}
+// SetAbortIncompleteMultipartUpload sets the AbortIncompleteMultipartUpload field's value.
+func (s *LifecycleRule) SetAbortIncompleteMultipartUpload(v *AbortIncompleteMultipartUpload) *LifecycleRule {
+ s.AbortIncompleteMultipartUpload = v
+ return s
+}
+
+// SetExpiration sets the Expiration field's value.
+func (s *LifecycleRule) SetExpiration(v *LifecycleExpiration) *LifecycleRule {
+ s.Expiration = v
+ return s
+}
+
+// SetID sets the ID field's value.
+func (s *LifecycleRule) SetID(v string) *LifecycleRule {
+ s.ID = &v
+ return s
+}
+
+// SetNoncurrentVersionExpiration sets the NoncurrentVersionExpiration field's value.
+func (s *LifecycleRule) SetNoncurrentVersionExpiration(v *NoncurrentVersionExpiration) *LifecycleRule {
+ s.NoncurrentVersionExpiration = v
+ return s
+}
+
+// SetNoncurrentVersionTransitions sets the NoncurrentVersionTransitions field's value.
+func (s *LifecycleRule) SetNoncurrentVersionTransitions(v []*NoncurrentVersionTransition) *LifecycleRule {
+ s.NoncurrentVersionTransitions = v
+ return s
+}
+
+// SetPrefix sets the Prefix field's value.
+func (s *LifecycleRule) SetPrefix(v string) *LifecycleRule {
+ s.Prefix = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *LifecycleRule) SetStatus(v string) *LifecycleRule {
+ s.Status = &v
+ return s
+}
+
+// SetTransitions sets the Transitions field's value.
+func (s *LifecycleRule) SetTransitions(v []*Transition) *LifecycleRule {
+ s.Transitions = v
+ return s
+}
+
type ListBucketsInput struct {
_ struct{} `type:"structure"`
}
@@ -7110,6 +9078,18 @@ func (s ListBucketsOutput) GoString() string {
return s.String()
}
+// SetBuckets sets the Buckets field's value.
+func (s *ListBucketsOutput) SetBuckets(v []*Bucket) *ListBucketsOutput {
+ s.Buckets = v
+ return s
+}
+
+// SetOwner sets the Owner field's value.
+func (s *ListBucketsOutput) SetOwner(v *Owner) *ListBucketsOutput {
+ s.Owner = v
+ return s
+}
+
type ListMultipartUploadsInput struct {
_ struct{} `type:"structure"`
@@ -7169,6 +9149,48 @@ func (s *ListMultipartUploadsInput) Validate() error {
return nil
}
+// SetBucket sets the Bucket field's value.
+func (s *ListMultipartUploadsInput) SetBucket(v string) *ListMultipartUploadsInput {
+ s.Bucket = &v
+ return s
+}
+
+// SetDelimiter sets the Delimiter field's value.
+func (s *ListMultipartUploadsInput) SetDelimiter(v string) *ListMultipartUploadsInput {
+ s.Delimiter = &v
+ return s
+}
+
+// SetEncodingType sets the EncodingType field's value.
+func (s *ListMultipartUploadsInput) SetEncodingType(v string) *ListMultipartUploadsInput {
+ s.EncodingType = &v
+ return s
+}
+
+// SetKeyMarker sets the KeyMarker field's value.
+func (s *ListMultipartUploadsInput) SetKeyMarker(v string) *ListMultipartUploadsInput {
+ s.KeyMarker = &v
+ return s
+}
+
+// SetMaxUploads sets the MaxUploads field's value.
+func (s *ListMultipartUploadsInput) SetMaxUploads(v int64) *ListMultipartUploadsInput {
+ s.MaxUploads = &v
+ return s
+}
+
+// SetPrefix sets the Prefix field's value.
+func (s *ListMultipartUploadsInput) SetPrefix(v string) *ListMultipartUploadsInput {
+ s.Prefix = &v
+ return s
+}
+
+// SetUploadIdMarker sets the UploadIdMarker field's value.
+func (s *ListMultipartUploadsInput) SetUploadIdMarker(v string) *ListMultipartUploadsInput {
+ s.UploadIdMarker = &v
+ return s
+}
+
type ListMultipartUploadsOutput struct {
_ struct{} `type:"structure"`
@@ -7223,6 +9245,78 @@ func (s ListMultipartUploadsOutput) GoString() string {
return s.String()
}
+// SetBucket sets the Bucket field's value.
+func (s *ListMultipartUploadsOutput) SetBucket(v string) *ListMultipartUploadsOutput {
+ s.Bucket = &v
+ return s
+}
+
+// SetCommonPrefixes sets the CommonPrefixes field's value.
+func (s *ListMultipartUploadsOutput) SetCommonPrefixes(v []*CommonPrefix) *ListMultipartUploadsOutput {
+ s.CommonPrefixes = v
+ return s
+}
+
+// SetDelimiter sets the Delimiter field's value.
+func (s *ListMultipartUploadsOutput) SetDelimiter(v string) *ListMultipartUploadsOutput {
+ s.Delimiter = &v
+ return s
+}
+
+// SetEncodingType sets the EncodingType field's value.
+func (s *ListMultipartUploadsOutput) SetEncodingType(v string) *ListMultipartUploadsOutput {
+ s.EncodingType = &v
+ return s
+}
+
+// SetIsTruncated sets the IsTruncated field's value.
+func (s *ListMultipartUploadsOutput) SetIsTruncated(v bool) *ListMultipartUploadsOutput {
+ s.IsTruncated = &v
+ return s
+}
+
+// SetKeyMarker sets the KeyMarker field's value.
+func (s *ListMultipartUploadsOutput) SetKeyMarker(v string) *ListMultipartUploadsOutput {
+ s.KeyMarker = &v
+ return s
+}
+
+// SetMaxUploads sets the MaxUploads field's value.
+func (s *ListMultipartUploadsOutput) SetMaxUploads(v int64) *ListMultipartUploadsOutput {
+ s.MaxUploads = &v
+ return s
+}
+
+// SetNextKeyMarker sets the NextKeyMarker field's value.
+func (s *ListMultipartUploadsOutput) SetNextKeyMarker(v string) *ListMultipartUploadsOutput {
+ s.NextKeyMarker = &v
+ return s
+}
+
+// SetNextUploadIdMarker sets the NextUploadIdMarker field's value.
+func (s *ListMultipartUploadsOutput) SetNextUploadIdMarker(v string) *ListMultipartUploadsOutput {
+ s.NextUploadIdMarker = &v
+ return s
+}
+
+// SetPrefix sets the Prefix field's value.
+func (s *ListMultipartUploadsOutput) SetPrefix(v string) *ListMultipartUploadsOutput {
+ s.Prefix = &v
+ return s
+}
+
+// SetUploadIdMarker sets the UploadIdMarker field's value.
+func (s *ListMultipartUploadsOutput) SetUploadIdMarker(v string) *ListMultipartUploadsOutput {
+ s.UploadIdMarker = &v
+ return s
+}
+
+// SetUploads sets the Uploads field's value.
+func (s *ListMultipartUploadsOutput) SetUploads(v []*MultipartUpload) *ListMultipartUploadsOutput {
+ s.Uploads = v
+ return s
+}
+
type ListObjectVersionsInput struct {
_ struct{} `type:"structure"`
@@ -7277,6 +9371,48 @@ func (s *ListObjectVersionsInput) Validate() error {
return nil
}
+// SetBucket sets the Bucket field's value.
+func (s *ListObjectVersionsInput) SetBucket(v string) *ListObjectVersionsInput {
+ s.Bucket = &v
+ return s
+}
+
+// SetDelimiter sets the Delimiter field's value.
+func (s *ListObjectVersionsInput) SetDelimiter(v string) *ListObjectVersionsInput {
+ s.Delimiter = &v
+ return s
+}
+
+// SetEncodingType sets the EncodingType field's value.
+func (s *ListObjectVersionsInput) SetEncodingType(v string) *ListObjectVersionsInput {
+ s.EncodingType = &v
+ return s
+}
+
+// SetKeyMarker sets the KeyMarker field's value.
+func (s *ListObjectVersionsInput) SetKeyMarker(v string) *ListObjectVersionsInput {
+ s.KeyMarker = &v
+ return s
+}
+
+// SetMaxKeys sets the MaxKeys field's value.
+func (s *ListObjectVersionsInput) SetMaxKeys(v int64) *ListObjectVersionsInput {
+ s.MaxKeys = &v
+ return s
+}
+
+// SetPrefix sets the Prefix field's value.
+func (s *ListObjectVersionsInput) SetPrefix(v string) *ListObjectVersionsInput {
+ s.Prefix = &v
+ return s
+}
+
+// SetVersionIdMarker sets the VersionIdMarker field's value.
+func (s *ListObjectVersionsInput) SetVersionIdMarker(v string) *ListObjectVersionsInput {
+ s.VersionIdMarker = &v
+ return s
+}
+
type ListObjectVersionsOutput struct {
_ struct{} `type:"structure"`
@@ -7326,6 +9462,84 @@ func (s ListObjectVersionsOutput) GoString() string {
return s.String()
}
+// SetCommonPrefixes sets the CommonPrefixes field's value.
+func (s *ListObjectVersionsOutput) SetCommonPrefixes(v []*CommonPrefix) *ListObjectVersionsOutput {
+ s.CommonPrefixes = v
+ return s
+}
+
+// SetDeleteMarkers sets the DeleteMarkers field's value.
+func (s *ListObjectVersionsOutput) SetDeleteMarkers(v []*DeleteMarkerEntry) *ListObjectVersionsOutput {
+ s.DeleteMarkers = v
+ return s
+}
+
+// SetDelimiter sets the Delimiter field's value.
+func (s *ListObjectVersionsOutput) SetDelimiter(v string) *ListObjectVersionsOutput {
+ s.Delimiter = &v
+ return s
+}
+
+// SetEncodingType sets the EncodingType field's value.
+func (s *ListObjectVersionsOutput) SetEncodingType(v string) *ListObjectVersionsOutput {
+ s.EncodingType = &v
+ return s
+}
+
+// SetIsTruncated sets the IsTruncated field's value.
+func (s *ListObjectVersionsOutput) SetIsTruncated(v bool) *ListObjectVersionsOutput {
+ s.IsTruncated = &v
+ return s
+}
+
+// SetKeyMarker sets the KeyMarker field's value.
+func (s *ListObjectVersionsOutput) SetKeyMarker(v string) *ListObjectVersionsOutput {
+ s.KeyMarker = &v
+ return s
+}
+
+// SetMaxKeys sets the MaxKeys field's value.
+func (s *ListObjectVersionsOutput) SetMaxKeys(v int64) *ListObjectVersionsOutput {
+ s.MaxKeys = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *ListObjectVersionsOutput) SetName(v string) *ListObjectVersionsOutput {
+ s.Name = &v
+ return s
+}
+
+// SetNextKeyMarker sets the NextKeyMarker field's value.
+func (s *ListObjectVersionsOutput) SetNextKeyMarker(v string) *ListObjectVersionsOutput {
+ s.NextKeyMarker = &v
+ return s
+}
+
+// SetNextVersionIdMarker sets the NextVersionIdMarker field's value.
+func (s *ListObjectVersionsOutput) SetNextVersionIdMarker(v string) *ListObjectVersionsOutput {
+ s.NextVersionIdMarker = &v
+ return s
+}
+
+// SetPrefix sets the Prefix field's value.
+func (s *ListObjectVersionsOutput) SetPrefix(v string) *ListObjectVersionsOutput {
+ s.Prefix = &v
+ return s
+}
+
+// SetVersionIdMarker sets the VersionIdMarker field's value.
+func (s *ListObjectVersionsOutput) SetVersionIdMarker(v string) *ListObjectVersionsOutput {
+ s.VersionIdMarker = &v
+ return s
+}
+
+// SetVersions sets the Versions field's value.
+func (s *ListObjectVersionsOutput) SetVersions(v []*ObjectVersion) *ListObjectVersionsOutput {
+ s.Versions = v
+ return s
+}
+
type ListObjectsInput struct {
_ struct{} `type:"structure"`
@@ -7382,6 +9596,48 @@ func (s *ListObjectsInput) Validate() error {
return nil
}
+// SetBucket sets the Bucket field's value.
+func (s *ListObjectsInput) SetBucket(v string) *ListObjectsInput {
+ s.Bucket = &v
+ return s
+}
+
+// SetDelimiter sets the Delimiter field's value.
+func (s *ListObjectsInput) SetDelimiter(v string) *ListObjectsInput {
+ s.Delimiter = &v
+ return s
+}
+
+// SetEncodingType sets the EncodingType field's value.
+func (s *ListObjectsInput) SetEncodingType(v string) *ListObjectsInput {
+ s.EncodingType = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *ListObjectsInput) SetMarker(v string) *ListObjectsInput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxKeys sets the MaxKeys field's value.
+func (s *ListObjectsInput) SetMaxKeys(v int64) *ListObjectsInput {
+ s.MaxKeys = &v
+ return s
+}
+
+// SetPrefix sets the Prefix field's value.
+func (s *ListObjectsInput) SetPrefix(v string) *ListObjectsInput {
+ s.Prefix = &v
+ return s
+}
+
+// SetRequestPayer sets the RequestPayer field's value.
+func (s *ListObjectsInput) SetRequestPayer(v string) *ListObjectsInput {
+ s.RequestPayer = &v
+ return s
+}
+
type ListObjectsOutput struct {
_ struct{} `type:"structure"`
@@ -7426,6 +9682,66 @@ func (s ListObjectsOutput) GoString() string {
return s.String()
}
+// SetCommonPrefixes sets the CommonPrefixes field's value.
+func (s *ListObjectsOutput) SetCommonPrefixes(v []*CommonPrefix) *ListObjectsOutput {
+ s.CommonPrefixes = v
+ return s
+}
+
+// SetContents sets the Contents field's value.
+func (s *ListObjectsOutput) SetContents(v []*Object) *ListObjectsOutput {
+ s.Contents = v
+ return s
+}
+
+// SetDelimiter sets the Delimiter field's value.
+func (s *ListObjectsOutput) SetDelimiter(v string) *ListObjectsOutput {
+ s.Delimiter = &v
+ return s
+}
+
+// SetEncodingType sets the EncodingType field's value.
+func (s *ListObjectsOutput) SetEncodingType(v string) *ListObjectsOutput {
+ s.EncodingType = &v
+ return s
+}
+
+// SetIsTruncated sets the IsTruncated field's value.
+func (s *ListObjectsOutput) SetIsTruncated(v bool) *ListObjectsOutput {
+ s.IsTruncated = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *ListObjectsOutput) SetMarker(v string) *ListObjectsOutput {
+ s.Marker = &v
+ return s
+}
+
+// SetMaxKeys sets the MaxKeys field's value.
+func (s *ListObjectsOutput) SetMaxKeys(v int64) *ListObjectsOutput {
+ s.MaxKeys = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *ListObjectsOutput) SetName(v string) *ListObjectsOutput {
+ s.Name = &v
+ return s
+}
+
+// SetNextMarker sets the NextMarker field's value.
+func (s *ListObjectsOutput) SetNextMarker(v string) *ListObjectsOutput {
+ s.NextMarker = &v
+ return s
+}
+
+// SetPrefix sets the Prefix field's value.
+func (s *ListObjectsOutput) SetPrefix(v string) *ListObjectsOutput {
+ s.Prefix = &v
+ return s
+}
+
type ListObjectsV2Input struct {
_ struct{} `type:"structure"`
@@ -7490,6 +9806,60 @@ func (s *ListObjectsV2Input) Validate() error {
return nil
}
+// SetBucket sets the Bucket field's value.
+func (s *ListObjectsV2Input) SetBucket(v string) *ListObjectsV2Input {
+ s.Bucket = &v
+ return s
+}
+
+// SetContinuationToken sets the ContinuationToken field's value.
+func (s *ListObjectsV2Input) SetContinuationToken(v string) *ListObjectsV2Input {
+ s.ContinuationToken = &v
+ return s
+}
+
+// SetDelimiter sets the Delimiter field's value.
+func (s *ListObjectsV2Input) SetDelimiter(v string) *ListObjectsV2Input {
+ s.Delimiter = &v
+ return s
+}
+
+// SetEncodingType sets the EncodingType field's value.
+func (s *ListObjectsV2Input) SetEncodingType(v string) *ListObjectsV2Input {
+ s.EncodingType = &v
+ return s
+}
+
+// SetFetchOwner sets the FetchOwner field's value.
+func (s *ListObjectsV2Input) SetFetchOwner(v bool) *ListObjectsV2Input {
+ s.FetchOwner = &v
+ return s
+}
+
+// SetMaxKeys sets the MaxKeys field's value.
+func (s *ListObjectsV2Input) SetMaxKeys(v int64) *ListObjectsV2Input {
+ s.MaxKeys = &v
+ return s
+}
+
+// SetPrefix sets the Prefix field's value.
+func (s *ListObjectsV2Input) SetPrefix(v string) *ListObjectsV2Input {
+ s.Prefix = &v
+ return s
+}
+
+// SetRequestPayer sets the RequestPayer field's value.
+func (s *ListObjectsV2Input) SetRequestPayer(v string) *ListObjectsV2Input {
+ s.RequestPayer = &v
+ return s
+}
+
+// SetStartAfter sets the StartAfter field's value.
+func (s *ListObjectsV2Input) SetStartAfter(v string) *ListObjectsV2Input {
+ s.StartAfter = &v
+ return s
+}
+
type ListObjectsV2Output struct {
_ struct{} `type:"structure"`
@@ -7551,6 +9921,78 @@ func (s ListObjectsV2Output) GoString() string {
return s.String()
}
+// SetCommonPrefixes sets the CommonPrefixes field's value.
+func (s *ListObjectsV2Output) SetCommonPrefixes(v []*CommonPrefix) *ListObjectsV2Output {
+ s.CommonPrefixes = v
+ return s
+}
+
+// SetContents sets the Contents field's value.
+func (s *ListObjectsV2Output) SetContents(v []*Object) *ListObjectsV2Output {
+ s.Contents = v
+ return s
+}
+
+// SetContinuationToken sets the ContinuationToken field's value.
+func (s *ListObjectsV2Output) SetContinuationToken(v string) *ListObjectsV2Output {
+ s.ContinuationToken = &v
+ return s
+}
+
+// SetDelimiter sets the Delimiter field's value.
+func (s *ListObjectsV2Output) SetDelimiter(v string) *ListObjectsV2Output {
+ s.Delimiter = &v
+ return s
+}
+
+// SetEncodingType sets the EncodingType field's value.
+func (s *ListObjectsV2Output) SetEncodingType(v string) *ListObjectsV2Output {
+ s.EncodingType = &v
+ return s
+}
+
+// SetIsTruncated sets the IsTruncated field's value.
+func (s *ListObjectsV2Output) SetIsTruncated(v bool) *ListObjectsV2Output {
+ s.IsTruncated = &v
+ return s
+}
+
+// SetKeyCount sets the KeyCount field's value.
+func (s *ListObjectsV2Output) SetKeyCount(v int64) *ListObjectsV2Output {
+ s.KeyCount = &v
+ return s
+}
+
+// SetMaxKeys sets the MaxKeys field's value.
+func (s *ListObjectsV2Output) SetMaxKeys(v int64) *ListObjectsV2Output {
+ s.MaxKeys = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *ListObjectsV2Output) SetName(v string) *ListObjectsV2Output {
+ s.Name = &v
+ return s
+}
+
+// SetNextContinuationToken sets the NextContinuationToken field's value.
+func (s *ListObjectsV2Output) SetNextContinuationToken(v string) *ListObjectsV2Output {
+ s.NextContinuationToken = &v
+ return s
+}
+
+// SetPrefix sets the Prefix field's value.
+func (s *ListObjectsV2Output) SetPrefix(v string) *ListObjectsV2Output {
+ s.Prefix = &v
+ return s
+}
+
+// SetStartAfter sets the StartAfter field's value.
+func (s *ListObjectsV2Output) SetStartAfter(v string) *ListObjectsV2Output {
+ s.StartAfter = &v
+ return s
+}
+
type ListPartsInput struct {
_ struct{} `type:"structure"`
@@ -7611,6 +10053,42 @@ func (s *ListPartsInput) Validate() error {
return nil
}
+// SetBucket sets the Bucket field's value.
+func (s *ListPartsInput) SetBucket(v string) *ListPartsInput {
+ s.Bucket = &v
+ return s
+}
+
+// SetKey sets the Key field's value.
+func (s *ListPartsInput) SetKey(v string) *ListPartsInput {
+ s.Key = &v
+ return s
+}
+
+// SetMaxParts sets the MaxParts field's value.
+func (s *ListPartsInput) SetMaxParts(v int64) *ListPartsInput {
+ s.MaxParts = &v
+ return s
+}
+
+// SetPartNumberMarker sets the PartNumberMarker field's value.
+func (s *ListPartsInput) SetPartNumberMarker(v int64) *ListPartsInput {
+ s.PartNumberMarker = &v
+ return s
+}
+
+// SetRequestPayer sets the RequestPayer field's value.
+func (s *ListPartsInput) SetRequestPayer(v string) *ListPartsInput {
+ s.RequestPayer = &v
+ return s
+}
+
+// SetUploadId sets the UploadId field's value.
+func (s *ListPartsInput) SetUploadId(v string) *ListPartsInput {
+ s.UploadId = &v
+ return s
+}
+
type ListPartsOutput struct {
_ struct{} `type:"structure"`
@@ -7655,18 +10133,102 @@ type ListPartsOutput struct {
// The class of storage used to store the object.
StorageClass *string `type:"string" enum:"StorageClass"`
- // Upload ID identifying the multipart upload whose parts are being listed.
- UploadId *string `type:"string"`
+ // Upload ID identifying the multipart upload whose parts are being listed.
+ UploadId *string `type:"string"`
+}
+
+// String returns the string representation
+func (s ListPartsOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s ListPartsOutput) GoString() string {
+ return s.String()
+}
+
+// SetAbortDate sets the AbortDate field's value.
+func (s *ListPartsOutput) SetAbortDate(v time.Time) *ListPartsOutput {
+ s.AbortDate = &v
+ return s
+}
+
+// SetAbortRuleId sets the AbortRuleId field's value.
+func (s *ListPartsOutput) SetAbortRuleId(v string) *ListPartsOutput {
+ s.AbortRuleId = &v
+ return s
+}
+
+// SetBucket sets the Bucket field's value.
+func (s *ListPartsOutput) SetBucket(v string) *ListPartsOutput {
+ s.Bucket = &v
+ return s
+}
+
+// SetInitiator sets the Initiator field's value.
+func (s *ListPartsOutput) SetInitiator(v *Initiator) *ListPartsOutput {
+ s.Initiator = v
+ return s
+}
+
+// SetIsTruncated sets the IsTruncated field's value.
+func (s *ListPartsOutput) SetIsTruncated(v bool) *ListPartsOutput {
+ s.IsTruncated = &v
+ return s
+}
+
+// SetKey sets the Key field's value.
+func (s *ListPartsOutput) SetKey(v string) *ListPartsOutput {
+ s.Key = &v
+ return s
+}
+
+// SetMaxParts sets the MaxParts field's value.
+func (s *ListPartsOutput) SetMaxParts(v int64) *ListPartsOutput {
+ s.MaxParts = &v
+ return s
+}
+
+// SetNextPartNumberMarker sets the NextPartNumberMarker field's value.
+func (s *ListPartsOutput) SetNextPartNumberMarker(v int64) *ListPartsOutput {
+ s.NextPartNumberMarker = &v
+ return s
+}
+
+// SetOwner sets the Owner field's value.
+func (s *ListPartsOutput) SetOwner(v *Owner) *ListPartsOutput {
+ s.Owner = v
+ return s
+}
+
+// SetPartNumberMarker sets the PartNumberMarker field's value.
+func (s *ListPartsOutput) SetPartNumberMarker(v int64) *ListPartsOutput {
+ s.PartNumberMarker = &v
+ return s
+}
+
+// SetParts sets the Parts field's value.
+func (s *ListPartsOutput) SetParts(v []*Part) *ListPartsOutput {
+ s.Parts = v
+ return s
+}
+
+// SetRequestCharged sets the RequestCharged field's value.
+func (s *ListPartsOutput) SetRequestCharged(v string) *ListPartsOutput {
+ s.RequestCharged = &v
+ return s
}
-// String returns the string representation
-func (s ListPartsOutput) String() string {
- return awsutil.Prettify(s)
+// SetStorageClass sets the StorageClass field's value.
+func (s *ListPartsOutput) SetStorageClass(v string) *ListPartsOutput {
+ s.StorageClass = &v
+ return s
}
-// GoString returns the string representation
-func (s ListPartsOutput) GoString() string {
- return s.String()
+// SetUploadId sets the UploadId field's value.
+func (s *ListPartsOutput) SetUploadId(v string) *ListPartsOutput {
+ s.UploadId = &v
+ return s
}
type LoggingEnabled struct {
@@ -7717,6 +10279,24 @@ func (s *LoggingEnabled) Validate() error {
return nil
}
+// SetTargetBucket sets the TargetBucket field's value.
+func (s *LoggingEnabled) SetTargetBucket(v string) *LoggingEnabled {
+ s.TargetBucket = &v
+ return s
+}
+
+// SetTargetGrants sets the TargetGrants field's value.
+func (s *LoggingEnabled) SetTargetGrants(v []*TargetGrant) *LoggingEnabled {
+ s.TargetGrants = v
+ return s
+}
+
+// SetTargetPrefix sets the TargetPrefix field's value.
+func (s *LoggingEnabled) SetTargetPrefix(v string) *LoggingEnabled {
+ s.TargetPrefix = &v
+ return s
+}
+
type MultipartUpload struct {
_ struct{} `type:"structure"`
@@ -7748,6 +10328,42 @@ func (s MultipartUpload) GoString() string {
return s.String()
}
+// SetInitiated sets the Initiated field's value.
+func (s *MultipartUpload) SetInitiated(v time.Time) *MultipartUpload {
+ s.Initiated = &v
+ return s
+}
+
+// SetInitiator sets the Initiator field's value.
+func (s *MultipartUpload) SetInitiator(v *Initiator) *MultipartUpload {
+ s.Initiator = v
+ return s
+}
+
+// SetKey sets the Key field's value.
+func (s *MultipartUpload) SetKey(v string) *MultipartUpload {
+ s.Key = &v
+ return s
+}
+
+// SetOwner sets the Owner field's value.
+func (s *MultipartUpload) SetOwner(v *Owner) *MultipartUpload {
+ s.Owner = v
+ return s
+}
+
+// SetStorageClass sets the StorageClass field's value.
+func (s *MultipartUpload) SetStorageClass(v string) *MultipartUpload {
+ s.StorageClass = &v
+ return s
+}
+
+// SetUploadId sets the UploadId field's value.
+func (s *MultipartUpload) SetUploadId(v string) *MultipartUpload {
+ s.UploadId = &v
+ return s
+}
+
// Specifies when noncurrent object versions expire. Upon expiration, Amazon
// S3 permanently deletes the noncurrent object versions. You set this lifecycle
// configuration action on a bucket that has versioning enabled (or suspended)
@@ -7773,6 +10389,12 @@ func (s NoncurrentVersionExpiration) GoString() string {
return s.String()
}
+// SetNoncurrentDays sets the NoncurrentDays field's value.
+func (s *NoncurrentVersionExpiration) SetNoncurrentDays(v int64) *NoncurrentVersionExpiration {
+ s.NoncurrentDays = &v
+ return s
+}
+
// Container for the transition rule that describes when noncurrent objects
// transition to the STANDARD_IA or GLACIER storage class. If your bucket is
// versioning-enabled (or versioning is suspended), you can set this action
@@ -7801,6 +10423,18 @@ func (s NoncurrentVersionTransition) GoString() string {
return s.String()
}
+// SetNoncurrentDays sets the NoncurrentDays field's value.
+func (s *NoncurrentVersionTransition) SetNoncurrentDays(v int64) *NoncurrentVersionTransition {
+ s.NoncurrentDays = &v
+ return s
+}
+
+// SetStorageClass sets the StorageClass field's value.
+func (s *NoncurrentVersionTransition) SetStorageClass(v string) *NoncurrentVersionTransition {
+ s.StorageClass = &v
+ return s
+}
+
// Container for specifying the notification configuration of the bucket. If
// this element is empty, notifications are turned off on the bucket.
type NotificationConfiguration struct {
@@ -7863,6 +10497,24 @@ func (s *NotificationConfiguration) Validate() error {
return nil
}
+// SetLambdaFunctionConfigurations sets the LambdaFunctionConfigurations field's value.
+func (s *NotificationConfiguration) SetLambdaFunctionConfigurations(v []*LambdaFunctionConfiguration) *NotificationConfiguration {
+ s.LambdaFunctionConfigurations = v
+ return s
+}
+
+// SetQueueConfigurations sets the QueueConfigurations field's value.
+func (s *NotificationConfiguration) SetQueueConfigurations(v []*QueueConfiguration) *NotificationConfiguration {
+ s.QueueConfigurations = v
+ return s
+}
+
+// SetTopicConfigurations sets the TopicConfigurations field's value.
+func (s *NotificationConfiguration) SetTopicConfigurations(v []*TopicConfiguration) *NotificationConfiguration {
+ s.TopicConfigurations = v
+ return s
+}
+
type NotificationConfigurationDeprecated struct {
_ struct{} `type:"structure"`
@@ -7883,6 +10535,24 @@ func (s NotificationConfigurationDeprecated) GoString() string {
return s.String()
}
+// SetCloudFunctionConfiguration sets the CloudFunctionConfiguration field's value.
+func (s *NotificationConfigurationDeprecated) SetCloudFunctionConfiguration(v *CloudFunctionConfiguration) *NotificationConfigurationDeprecated {
+ s.CloudFunctionConfiguration = v
+ return s
+}
+
+// SetQueueConfiguration sets the QueueConfiguration field's value.
+func (s *NotificationConfigurationDeprecated) SetQueueConfiguration(v *QueueConfigurationDeprecated) *NotificationConfigurationDeprecated {
+ s.QueueConfiguration = v
+ return s
+}
+
+// SetTopicConfiguration sets the TopicConfiguration field's value.
+func (s *NotificationConfigurationDeprecated) SetTopicConfiguration(v *TopicConfigurationDeprecated) *NotificationConfigurationDeprecated {
+ s.TopicConfiguration = v
+ return s
+}
+
// 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)
type NotificationConfigurationFilter struct {
@@ -7902,6 +10572,12 @@ func (s NotificationConfigurationFilter) GoString() string {
return s.String()
}
+// SetKey sets the Key field's value.
+func (s *NotificationConfigurationFilter) SetKey(v *KeyFilter) *NotificationConfigurationFilter {
+ s.Key = v
+ return s
+}
+
type Object struct {
_ struct{} `type:"structure"`
@@ -7929,6 +10605,42 @@ func (s Object) GoString() string {
return s.String()
}
+// SetETag sets the ETag field's value.
+func (s *Object) SetETag(v string) *Object {
+ s.ETag = &v
+ return s
+}
+
+// SetKey sets the Key field's value.
+func (s *Object) SetKey(v string) *Object {
+ s.Key = &v
+ return s
+}
+
+// SetLastModified sets the LastModified field's value.
+func (s *Object) SetLastModified(v time.Time) *Object {
+ s.LastModified = &v
+ return s
+}
+
+// SetOwner sets the Owner field's value.
+func (s *Object) SetOwner(v *Owner) *Object {
+ s.Owner = v
+ return s
+}
+
+// SetSize sets the Size field's value.
+func (s *Object) SetSize(v int64) *Object {
+ s.Size = &v
+ return s
+}
+
+// SetStorageClass sets the StorageClass field's value.
+func (s *Object) SetStorageClass(v string) *Object {
+ s.StorageClass = &v
+ return s
+}
+
type ObjectIdentifier struct {
_ struct{} `type:"structure"`
@@ -7967,6 +10679,18 @@ func (s *ObjectIdentifier) Validate() error {
return nil
}
+// SetKey sets the Key field's value.
+func (s *ObjectIdentifier) SetKey(v string) *ObjectIdentifier {
+ s.Key = &v
+ return s
+}
+
+// SetVersionId sets the VersionId field's value.
+func (s *ObjectIdentifier) SetVersionId(v string) *ObjectIdentifier {
+ s.VersionId = &v
+ return s
+}
+
type ObjectVersion struct {
_ struct{} `type:"structure"`
@@ -8004,6 +10728,54 @@ func (s ObjectVersion) GoString() string {
return s.String()
}
+// SetETag sets the ETag field's value.
+func (s *ObjectVersion) SetETag(v string) *ObjectVersion {
+ s.ETag = &v
+ return s
+}
+
+// SetIsLatest sets the IsLatest field's value.
+func (s *ObjectVersion) SetIsLatest(v bool) *ObjectVersion {
+ s.IsLatest = &v
+ return s
+}
+
+// SetKey sets the Key field's value.
+func (s *ObjectVersion) SetKey(v string) *ObjectVersion {
+ s.Key = &v
+ return s
+}
+
+// SetLastModified sets the LastModified field's value.
+func (s *ObjectVersion) SetLastModified(v time.Time) *ObjectVersion {
+ s.LastModified = &v
+ return s
+}
+
+// SetOwner sets the Owner field's value.
+func (s *ObjectVersion) SetOwner(v *Owner) *ObjectVersion {
+ s.Owner = v
+ return s
+}
+
+// SetSize sets the Size field's value.
+func (s *ObjectVersion) SetSize(v int64) *ObjectVersion {
+ s.Size = &v
+ return s
+}
+
+// SetStorageClass sets the StorageClass field's value.
+func (s *ObjectVersion) SetStorageClass(v string) *ObjectVersion {
+ s.StorageClass = &v
+ return s
+}
+
+// SetVersionId sets the VersionId field's value.
+func (s *ObjectVersion) SetVersionId(v string) *ObjectVersion {
+ s.VersionId = &v
+ return s
+}
+
type Owner struct {
_ struct{} `type:"structure"`
@@ -8022,6 +10794,18 @@ func (s Owner) GoString() string {
return s.String()
}
+// SetDisplayName sets the DisplayName field's value.
+func (s *Owner) SetDisplayName(v string) *Owner {
+ s.DisplayName = &v
+ return s
+}
+
+// SetID sets the ID field's value.
+func (s *Owner) SetID(v string) *Owner {
+ s.ID = &v
+ return s
+}
+
type Part struct {
_ struct{} `type:"structure"`
@@ -8049,6 +10833,30 @@ func (s Part) GoString() string {
return s.String()
}
+// SetETag sets the ETag field's value.
+func (s *Part) SetETag(v string) *Part {
+ s.ETag = &v
+ return s
+}
+
+// SetLastModified sets the LastModified field's value.
+func (s *Part) SetLastModified(v time.Time) *Part {
+ s.LastModified = &v
+ return s
+}
+
+// SetPartNumber sets the PartNumber field's value.
+func (s *Part) SetPartNumber(v int64) *Part {
+ s.PartNumber = &v
+ return s
+}
+
+// SetSize sets the Size field's value.
+func (s *Part) SetSize(v int64) *Part {
+ s.Size = &v
+ return s
+}
+
type PutBucketAccelerateConfigurationInput struct {
_ struct{} `type:"structure" payload:"AccelerateConfiguration"`
@@ -8089,6 +10897,18 @@ func (s *PutBucketAccelerateConfigurationInput) Validate() error {
return nil
}
+// SetAccelerateConfiguration sets the AccelerateConfiguration field's value.
+func (s *PutBucketAccelerateConfigurationInput) SetAccelerateConfiguration(v *AccelerateConfiguration) *PutBucketAccelerateConfigurationInput {
+ s.AccelerateConfiguration = v
+ return s
+}
+
+// SetBucket sets the Bucket field's value.
+func (s *PutBucketAccelerateConfigurationInput) SetBucket(v string) *PutBucketAccelerateConfigurationInput {
+ s.Bucket = &v
+ return s
+}
+
type PutBucketAccelerateConfigurationOutput struct {
_ struct{} `type:"structure"`
}
@@ -8159,6 +10979,54 @@ func (s *PutBucketAclInput) Validate() error {
return nil
}
+// SetACL sets the ACL field's value.
+func (s *PutBucketAclInput) SetACL(v string) *PutBucketAclInput {
+ s.ACL = &v
+ return s
+}
+
+// SetAccessControlPolicy sets the AccessControlPolicy field's value.
+func (s *PutBucketAclInput) SetAccessControlPolicy(v *AccessControlPolicy) *PutBucketAclInput {
+ s.AccessControlPolicy = v
+ return s
+}
+
+// SetBucket sets the Bucket field's value.
+func (s *PutBucketAclInput) SetBucket(v string) *PutBucketAclInput {
+ s.Bucket = &v
+ return s
+}
+
+// SetGrantFullControl sets the GrantFullControl field's value.
+func (s *PutBucketAclInput) SetGrantFullControl(v string) *PutBucketAclInput {
+ s.GrantFullControl = &v
+ return s
+}
+
+// SetGrantRead sets the GrantRead field's value.
+func (s *PutBucketAclInput) SetGrantRead(v string) *PutBucketAclInput {
+ s.GrantRead = &v
+ return s
+}
+
+// SetGrantReadACP sets the GrantReadACP field's value.
+func (s *PutBucketAclInput) SetGrantReadACP(v string) *PutBucketAclInput {
+ s.GrantReadACP = &v
+ return s
+}
+
+// SetGrantWrite sets the GrantWrite field's value.
+func (s *PutBucketAclInput) SetGrantWrite(v string) *PutBucketAclInput {
+ s.GrantWrite = &v
+ return s
+}
+
+// SetGrantWriteACP sets the GrantWriteACP field's value.
+func (s *PutBucketAclInput) SetGrantWriteACP(v string) *PutBucketAclInput {
+ s.GrantWriteACP = &v
+ return s
+}
+
type PutBucketAclOutput struct {
_ struct{} `type:"structure"`
}
@@ -8214,6 +11082,18 @@ func (s *PutBucketCorsInput) Validate() error {
return nil
}
+// SetBucket sets the Bucket field's value.
+func (s *PutBucketCorsInput) SetBucket(v string) *PutBucketCorsInput {
+ s.Bucket = &v
+ return s
+}
+
+// SetCORSConfiguration sets the CORSConfiguration field's value.
+func (s *PutBucketCorsInput) SetCORSConfiguration(v *CORSConfiguration) *PutBucketCorsInput {
+ s.CORSConfiguration = v
+ return s
+}
+
type PutBucketCorsOutput struct {
_ struct{} `type:"structure"`
}
@@ -8265,6 +11145,18 @@ func (s *PutBucketLifecycleConfigurationInput) Validate() error {
return nil
}
+// SetBucket sets the Bucket field's value.
+func (s *PutBucketLifecycleConfigurationInput) SetBucket(v string) *PutBucketLifecycleConfigurationInput {
+ s.Bucket = &v
+ return s
+}
+
+// SetLifecycleConfiguration sets the LifecycleConfiguration field's value.
+func (s *PutBucketLifecycleConfigurationInput) SetLifecycleConfiguration(v *BucketLifecycleConfiguration) *PutBucketLifecycleConfigurationInput {
+ s.LifecycleConfiguration = v
+ return s
+}
+
type PutBucketLifecycleConfigurationOutput struct {
_ struct{} `type:"structure"`
}
@@ -8316,6 +11208,18 @@ func (s *PutBucketLifecycleInput) Validate() error {
return nil
}
+// SetBucket sets the Bucket field's value.
+func (s *PutBucketLifecycleInput) SetBucket(v string) *PutBucketLifecycleInput {
+ s.Bucket = &v
+ return s
+}
+
+// SetLifecycleConfiguration sets the LifecycleConfiguration field's value.
+func (s *PutBucketLifecycleInput) SetLifecycleConfiguration(v *LifecycleConfiguration) *PutBucketLifecycleInput {
+ s.LifecycleConfiguration = v
+ return s
+}
+
type PutBucketLifecycleOutput struct {
_ struct{} `type:"structure"`
}
@@ -8371,6 +11275,18 @@ func (s *PutBucketLoggingInput) Validate() error {
return nil
}
+// SetBucket sets the Bucket field's value.
+func (s *PutBucketLoggingInput) SetBucket(v string) *PutBucketLoggingInput {
+ s.Bucket = &v
+ return s
+}
+
+// SetBucketLoggingStatus sets the BucketLoggingStatus field's value.
+func (s *PutBucketLoggingInput) SetBucketLoggingStatus(v *BucketLoggingStatus) *PutBucketLoggingInput {
+ s.BucketLoggingStatus = v
+ return s
+}
+
type PutBucketLoggingOutput struct {
_ struct{} `type:"structure"`
}
@@ -8429,6 +11345,18 @@ func (s *PutBucketNotificationConfigurationInput) Validate() error {
return nil
}
+// SetBucket sets the Bucket field's value.
+func (s *PutBucketNotificationConfigurationInput) SetBucket(v string) *PutBucketNotificationConfigurationInput {
+ s.Bucket = &v
+ return s
+}
+
+// SetNotificationConfiguration sets the NotificationConfiguration field's value.
+func (s *PutBucketNotificationConfigurationInput) SetNotificationConfiguration(v *NotificationConfiguration) *PutBucketNotificationConfigurationInput {
+ s.NotificationConfiguration = v
+ return s
+}
+
type PutBucketNotificationConfigurationOutput struct {
_ struct{} `type:"structure"`
}
@@ -8479,6 +11407,18 @@ func (s *PutBucketNotificationInput) Validate() error {
return nil
}
+// SetBucket sets the Bucket field's value.
+func (s *PutBucketNotificationInput) SetBucket(v string) *PutBucketNotificationInput {
+ s.Bucket = &v
+ return s
+}
+
+// SetNotificationConfiguration sets the NotificationConfiguration field's value.
+func (s *PutBucketNotificationInput) SetNotificationConfiguration(v *NotificationConfigurationDeprecated) *PutBucketNotificationInput {
+ s.NotificationConfiguration = v
+ return s
+}
+
type PutBucketNotificationOutput struct {
_ struct{} `type:"structure"`
}
@@ -8531,6 +11471,18 @@ func (s *PutBucketPolicyInput) Validate() error {
return nil
}
+// SetBucket sets the Bucket field's value.
+func (s *PutBucketPolicyInput) SetBucket(v string) *PutBucketPolicyInput {
+ s.Bucket = &v
+ return s
+}
+
+// SetPolicy sets the Policy field's value.
+func (s *PutBucketPolicyInput) SetPolicy(v string) *PutBucketPolicyInput {
+ s.Policy = &v
+ return s
+}
+
type PutBucketPolicyOutput struct {
_ struct{} `type:"structure"`
}
@@ -8589,6 +11541,18 @@ func (s *PutBucketReplicationInput) Validate() error {
return nil
}
+// SetBucket sets the Bucket field's value.
+func (s *PutBucketReplicationInput) SetBucket(v string) *PutBucketReplicationInput {
+ s.Bucket = &v
+ return s
+}
+
+// SetReplicationConfiguration sets the ReplicationConfiguration field's value.
+func (s *PutBucketReplicationInput) SetReplicationConfiguration(v *ReplicationConfiguration) *PutBucketReplicationInput {
+ s.ReplicationConfiguration = v
+ return s
+}
+
type PutBucketReplicationOutput struct {
_ struct{} `type:"structure"`
}
@@ -8644,6 +11608,18 @@ func (s *PutBucketRequestPaymentInput) Validate() error {
return nil
}
+// SetBucket sets the Bucket field's value.
+func (s *PutBucketRequestPaymentInput) SetBucket(v string) *PutBucketRequestPaymentInput {
+ s.Bucket = &v
+ return s
+}
+
+// SetRequestPaymentConfiguration sets the RequestPaymentConfiguration field's value.
+func (s *PutBucketRequestPaymentInput) SetRequestPaymentConfiguration(v *RequestPaymentConfiguration) *PutBucketRequestPaymentInput {
+ s.RequestPaymentConfiguration = v
+ return s
+}
+
type PutBucketRequestPaymentOutput struct {
_ struct{} `type:"structure"`
}
@@ -8699,6 +11675,18 @@ func (s *PutBucketTaggingInput) Validate() error {
return nil
}
+// SetBucket sets the Bucket field's value.
+func (s *PutBucketTaggingInput) SetBucket(v string) *PutBucketTaggingInput {
+ s.Bucket = &v
+ return s
+}
+
+// SetTagging sets the Tagging field's value.
+func (s *PutBucketTaggingInput) SetTagging(v *Tagging) *PutBucketTaggingInput {
+ s.Tagging = v
+ return s
+}
+
type PutBucketTaggingOutput struct {
_ struct{} `type:"structure"`
}
@@ -8753,6 +11741,24 @@ func (s *PutBucketVersioningInput) Validate() error {
return nil
}
+// SetBucket sets the Bucket field's value.
+func (s *PutBucketVersioningInput) SetBucket(v string) *PutBucketVersioningInput {
+ s.Bucket = &v
+ return s
+}
+
+// SetMFA sets the MFA field's value.
+func (s *PutBucketVersioningInput) SetMFA(v string) *PutBucketVersioningInput {
+ s.MFA = &v
+ return s
+}
+
+// SetVersioningConfiguration sets the VersioningConfiguration field's value.
+func (s *PutBucketVersioningInput) SetVersioningConfiguration(v *VersioningConfiguration) *PutBucketVersioningInput {
+ s.VersioningConfiguration = v
+ return s
+}
+
type PutBucketVersioningOutput struct {
_ struct{} `type:"structure"`
}
@@ -8808,6 +11814,18 @@ func (s *PutBucketWebsiteInput) Validate() error {
return nil
}
+// SetBucket sets the Bucket field's value.
+func (s *PutBucketWebsiteInput) SetBucket(v string) *PutBucketWebsiteInput {
+ s.Bucket = &v
+ return s
+}
+
+// SetWebsiteConfiguration sets the WebsiteConfiguration field's value.
+func (s *PutBucketWebsiteInput) SetWebsiteConfiguration(v *WebsiteConfiguration) *PutBucketWebsiteInput {
+ s.WebsiteConfiguration = v
+ return s
+}
+
type PutBucketWebsiteOutput struct {
_ struct{} `type:"structure"`
}
@@ -8896,6 +11914,72 @@ func (s *PutObjectAclInput) Validate() error {
return nil
}
+// SetACL sets the ACL field's value.
+func (s *PutObjectAclInput) SetACL(v string) *PutObjectAclInput {
+ s.ACL = &v
+ return s
+}
+
+// SetAccessControlPolicy sets the AccessControlPolicy field's value.
+func (s *PutObjectAclInput) SetAccessControlPolicy(v *AccessControlPolicy) *PutObjectAclInput {
+ s.AccessControlPolicy = v
+ return s
+}
+
+// SetBucket sets the Bucket field's value.
+func (s *PutObjectAclInput) SetBucket(v string) *PutObjectAclInput {
+ s.Bucket = &v
+ return s
+}
+
+// SetGrantFullControl sets the GrantFullControl field's value.
+func (s *PutObjectAclInput) SetGrantFullControl(v string) *PutObjectAclInput {
+ s.GrantFullControl = &v
+ return s
+}
+
+// SetGrantRead sets the GrantRead field's value.
+func (s *PutObjectAclInput) SetGrantRead(v string) *PutObjectAclInput {
+ s.GrantRead = &v
+ return s
+}
+
+// SetGrantReadACP sets the GrantReadACP field's value.
+func (s *PutObjectAclInput) SetGrantReadACP(v string) *PutObjectAclInput {
+ s.GrantReadACP = &v
+ return s
+}
+
+// SetGrantWrite sets the GrantWrite field's value.
+func (s *PutObjectAclInput) SetGrantWrite(v string) *PutObjectAclInput {
+ s.GrantWrite = &v
+ return s
+}
+
+// SetGrantWriteACP sets the GrantWriteACP field's value.
+func (s *PutObjectAclInput) SetGrantWriteACP(v string) *PutObjectAclInput {
+ s.GrantWriteACP = &v
+ return s
+}
+
+// SetKey sets the Key field's value.
+func (s *PutObjectAclInput) SetKey(v string) *PutObjectAclInput {
+ s.Key = &v
+ return s
+}
+
+// SetRequestPayer sets the RequestPayer field's value.
+func (s *PutObjectAclInput) SetRequestPayer(v string) *PutObjectAclInput {
+ s.RequestPayer = &v
+ return s
+}
+
+// SetVersionId sets the VersionId field's value.
+func (s *PutObjectAclInput) SetVersionId(v string) *PutObjectAclInput {
+ s.VersionId = &v
+ return s
+}
+
type PutObjectAclOutput struct {
_ struct{} `type:"structure"`
@@ -8914,6 +11998,12 @@ func (s PutObjectAclOutput) GoString() string {
return s.String()
}
+// SetRequestCharged sets the RequestCharged field's value.
+func (s *PutObjectAclOutput) SetRequestCharged(v string) *PutObjectAclOutput {
+ s.RequestCharged = &v
+ return s
+}
+
type PutObjectInput struct {
_ struct{} `type:"structure" payload:"Body"`
@@ -8999,46 +12089,190 @@ type PutObjectInput struct {
// AWS SDKs and CLI can be found at http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingAWSSDK.html#specify-signature-version
SSEKMSKeyId *string `location:"header" locationName:"x-amz-server-side-encryption-aws-kms-key-id" type:"string"`
- // The Server-side encryption algorithm used when storing this object in S3
- // (e.g., AES256, aws:kms).
- ServerSideEncryption *string `location:"header" locationName:"x-amz-server-side-encryption" type:"string" enum:"ServerSideEncryption"`
+ // The Server-side encryption algorithm used when storing this object in S3
+ // (e.g., AES256, aws:kms).
+ ServerSideEncryption *string `location:"header" locationName:"x-amz-server-side-encryption" type:"string" enum:"ServerSideEncryption"`
+
+ // The type of storage to use for the object. Defaults to 'STANDARD'.
+ StorageClass *string `location:"header" locationName:"x-amz-storage-class" type:"string" enum:"StorageClass"`
+
+ // If the bucket is configured as a website, redirects requests for this object
+ // to another object in the same bucket or to an external URL. Amazon S3 stores
+ // the value of this header in the object metadata.
+ WebsiteRedirectLocation *string `location:"header" locationName:"x-amz-website-redirect-location" type:"string"`
+}
+
+// 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.Bucket == nil {
+ invalidParams.Add(request.NewErrParamRequired("Bucket"))
+ }
+ if s.Key == nil {
+ invalidParams.Add(request.NewErrParamRequired("Key"))
+ }
+ if s.Key != nil && len(*s.Key) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Key", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetACL sets the ACL field's value.
+func (s *PutObjectInput) SetACL(v string) *PutObjectInput {
+ s.ACL = &v
+ return s
+}
+
+// SetBody sets the Body field's value.
+func (s *PutObjectInput) SetBody(v io.ReadSeeker) *PutObjectInput {
+ s.Body = v
+ return s
+}
+
+// SetBucket sets the Bucket field's value.
+func (s *PutObjectInput) SetBucket(v string) *PutObjectInput {
+ s.Bucket = &v
+ return s
+}
+
+// SetCacheControl sets the CacheControl field's value.
+func (s *PutObjectInput) SetCacheControl(v string) *PutObjectInput {
+ s.CacheControl = &v
+ return s
+}
+
+// SetContentDisposition sets the ContentDisposition field's value.
+func (s *PutObjectInput) SetContentDisposition(v string) *PutObjectInput {
+ s.ContentDisposition = &v
+ return s
+}
+
+// SetContentEncoding sets the ContentEncoding field's value.
+func (s *PutObjectInput) SetContentEncoding(v string) *PutObjectInput {
+ s.ContentEncoding = &v
+ return s
+}
+
+// SetContentLanguage sets the ContentLanguage field's value.
+func (s *PutObjectInput) SetContentLanguage(v string) *PutObjectInput {
+ s.ContentLanguage = &v
+ return s
+}
+
+// SetContentLength sets the ContentLength field's value.
+func (s *PutObjectInput) SetContentLength(v int64) *PutObjectInput {
+ s.ContentLength = &v
+ return s
+}
+
+// SetContentType sets the ContentType field's value.
+func (s *PutObjectInput) SetContentType(v string) *PutObjectInput {
+ s.ContentType = &v
+ return s
+}
+
+// SetExpires sets the Expires field's value.
+func (s *PutObjectInput) SetExpires(v time.Time) *PutObjectInput {
+ s.Expires = &v
+ return s
+}
+
+// SetGrantFullControl sets the GrantFullControl field's value.
+func (s *PutObjectInput) SetGrantFullControl(v string) *PutObjectInput {
+ s.GrantFullControl = &v
+ return s
+}
+
+// SetGrantRead sets the GrantRead field's value.
+func (s *PutObjectInput) SetGrantRead(v string) *PutObjectInput {
+ s.GrantRead = &v
+ return s
+}
+
+// SetGrantReadACP sets the GrantReadACP field's value.
+func (s *PutObjectInput) SetGrantReadACP(v string) *PutObjectInput {
+ s.GrantReadACP = &v
+ return s
+}
+
+// SetGrantWriteACP sets the GrantWriteACP field's value.
+func (s *PutObjectInput) SetGrantWriteACP(v string) *PutObjectInput {
+ s.GrantWriteACP = &v
+ return s
+}
+
+// SetKey sets the Key field's value.
+func (s *PutObjectInput) SetKey(v string) *PutObjectInput {
+ s.Key = &v
+ return s
+}
+
+// SetMetadata sets the Metadata field's value.
+func (s *PutObjectInput) SetMetadata(v map[string]*string) *PutObjectInput {
+ s.Metadata = v
+ return s
+}
- // The type of storage to use for the object. Defaults to 'STANDARD'.
- StorageClass *string `location:"header" locationName:"x-amz-storage-class" type:"string" enum:"StorageClass"`
+// SetRequestPayer sets the RequestPayer field's value.
+func (s *PutObjectInput) SetRequestPayer(v string) *PutObjectInput {
+ s.RequestPayer = &v
+ return s
+}
- // If the bucket is configured as a website, redirects requests for this object
- // to another object in the same bucket or to an external URL. Amazon S3 stores
- // the value of this header in the object metadata.
- WebsiteRedirectLocation *string `location:"header" locationName:"x-amz-website-redirect-location" type:"string"`
+// SetSSECustomerAlgorithm sets the SSECustomerAlgorithm field's value.
+func (s *PutObjectInput) SetSSECustomerAlgorithm(v string) *PutObjectInput {
+ s.SSECustomerAlgorithm = &v
+ return s
}
-// String returns the string representation
-func (s PutObjectInput) String() string {
- return awsutil.Prettify(s)
+// SetSSECustomerKey sets the SSECustomerKey field's value.
+func (s *PutObjectInput) SetSSECustomerKey(v string) *PutObjectInput {
+ s.SSECustomerKey = &v
+ return s
}
-// GoString returns the string representation
-func (s PutObjectInput) GoString() string {
- return s.String()
+// SetSSECustomerKeyMD5 sets the SSECustomerKeyMD5 field's value.
+func (s *PutObjectInput) SetSSECustomerKeyMD5(v string) *PutObjectInput {
+ s.SSECustomerKeyMD5 = &v
+ return s
}
-// 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.Bucket == nil {
- invalidParams.Add(request.NewErrParamRequired("Bucket"))
- }
- if s.Key == nil {
- invalidParams.Add(request.NewErrParamRequired("Key"))
- }
- if s.Key != nil && len(*s.Key) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Key", 1))
- }
+// SetSSEKMSKeyId sets the SSEKMSKeyId field's value.
+func (s *PutObjectInput) SetSSEKMSKeyId(v string) *PutObjectInput {
+ s.SSEKMSKeyId = &v
+ return s
+}
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
+// SetServerSideEncryption sets the ServerSideEncryption field's value.
+func (s *PutObjectInput) SetServerSideEncryption(v string) *PutObjectInput {
+ s.ServerSideEncryption = &v
+ return s
+}
+
+// SetStorageClass sets the StorageClass field's value.
+func (s *PutObjectInput) SetStorageClass(v string) *PutObjectInput {
+ s.StorageClass = &v
+ return s
+}
+
+// SetWebsiteRedirectLocation sets the WebsiteRedirectLocation field's value.
+func (s *PutObjectInput) SetWebsiteRedirectLocation(v string) *PutObjectInput {
+ s.WebsiteRedirectLocation = &v
+ return s
}
type PutObjectOutput struct {
@@ -9087,6 +12321,54 @@ func (s PutObjectOutput) GoString() string {
return s.String()
}
+// SetETag sets the ETag field's value.
+func (s *PutObjectOutput) SetETag(v string) *PutObjectOutput {
+ s.ETag = &v
+ return s
+}
+
+// SetExpiration sets the Expiration field's value.
+func (s *PutObjectOutput) SetExpiration(v string) *PutObjectOutput {
+ s.Expiration = &v
+ return s
+}
+
+// SetRequestCharged sets the RequestCharged field's value.
+func (s *PutObjectOutput) SetRequestCharged(v string) *PutObjectOutput {
+ s.RequestCharged = &v
+ return s
+}
+
+// SetSSECustomerAlgorithm sets the SSECustomerAlgorithm field's value.
+func (s *PutObjectOutput) SetSSECustomerAlgorithm(v string) *PutObjectOutput {
+ s.SSECustomerAlgorithm = &v
+ return s
+}
+
+// SetSSECustomerKeyMD5 sets the SSECustomerKeyMD5 field's value.
+func (s *PutObjectOutput) SetSSECustomerKeyMD5(v string) *PutObjectOutput {
+ s.SSECustomerKeyMD5 = &v
+ return s
+}
+
+// SetSSEKMSKeyId sets the SSEKMSKeyId field's value.
+func (s *PutObjectOutput) SetSSEKMSKeyId(v string) *PutObjectOutput {
+ s.SSEKMSKeyId = &v
+ return s
+}
+
+// SetServerSideEncryption sets the ServerSideEncryption field's value.
+func (s *PutObjectOutput) SetServerSideEncryption(v string) *PutObjectOutput {
+ s.ServerSideEncryption = &v
+ return s
+}
+
+// SetVersionId sets the VersionId field's value.
+func (s *PutObjectOutput) SetVersionId(v string) *PutObjectOutput {
+ s.VersionId = &v
+ return s
+}
+
// Container for specifying an configuration when you want Amazon S3 to publish
// events to an Amazon Simple Queue Service (Amazon SQS) queue.
type QueueConfiguration struct {
@@ -9136,6 +12418,30 @@ func (s *QueueConfiguration) Validate() error {
return nil
}
+// SetEvents sets the Events field's value.
+func (s *QueueConfiguration) SetEvents(v []*string) *QueueConfiguration {
+ s.Events = v
+ return s
+}
+
+// SetFilter sets the Filter field's value.
+func (s *QueueConfiguration) SetFilter(v *NotificationConfigurationFilter) *QueueConfiguration {
+ s.Filter = v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *QueueConfiguration) SetId(v string) *QueueConfiguration {
+ s.Id = &v
+ return s
+}
+
+// SetQueueArn sets the QueueArn field's value.
+func (s *QueueConfiguration) SetQueueArn(v string) *QueueConfiguration {
+ s.QueueArn = &v
+ return s
+}
+
type QueueConfigurationDeprecated struct {
_ struct{} `type:"structure"`
@@ -9161,6 +12467,30 @@ func (s QueueConfigurationDeprecated) GoString() string {
return s.String()
}
+// SetEvent sets the Event field's value.
+func (s *QueueConfigurationDeprecated) SetEvent(v string) *QueueConfigurationDeprecated {
+ s.Event = &v
+ return s
+}
+
+// SetEvents sets the Events field's value.
+func (s *QueueConfigurationDeprecated) SetEvents(v []*string) *QueueConfigurationDeprecated {
+ s.Events = v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *QueueConfigurationDeprecated) SetId(v string) *QueueConfigurationDeprecated {
+ s.Id = &v
+ return s
+}
+
+// SetQueue sets the Queue field's value.
+func (s *QueueConfigurationDeprecated) SetQueue(v string) *QueueConfigurationDeprecated {
+ s.Queue = &v
+ return s
+}
+
type Redirect struct {
_ struct{} `type:"structure"`
@@ -9199,6 +12529,36 @@ func (s Redirect) GoString() string {
return s.String()
}
+// SetHostName sets the HostName field's value.
+func (s *Redirect) SetHostName(v string) *Redirect {
+ s.HostName = &v
+ return s
+}
+
+// SetHttpRedirectCode sets the HttpRedirectCode field's value.
+func (s *Redirect) SetHttpRedirectCode(v string) *Redirect {
+ s.HttpRedirectCode = &v
+ return s
+}
+
+// SetProtocol sets the Protocol field's value.
+func (s *Redirect) SetProtocol(v string) *Redirect {
+ s.Protocol = &v
+ return s
+}
+
+// SetReplaceKeyPrefixWith sets the ReplaceKeyPrefixWith field's value.
+func (s *Redirect) SetReplaceKeyPrefixWith(v string) *Redirect {
+ s.ReplaceKeyPrefixWith = &v
+ return s
+}
+
+// SetReplaceKeyWith sets the ReplaceKeyWith field's value.
+func (s *Redirect) SetReplaceKeyWith(v string) *Redirect {
+ s.ReplaceKeyWith = &v
+ return s
+}
+
type RedirectAllRequestsTo struct {
_ struct{} `type:"structure"`
@@ -9235,6 +12595,18 @@ func (s *RedirectAllRequestsTo) Validate() error {
return nil
}
+// SetHostName sets the HostName field's value.
+func (s *RedirectAllRequestsTo) SetHostName(v string) *RedirectAllRequestsTo {
+ s.HostName = &v
+ return s
+}
+
+// SetProtocol sets the Protocol field's value.
+func (s *RedirectAllRequestsTo) SetProtocol(v string) *RedirectAllRequestsTo {
+ s.Protocol = &v
+ return s
+}
+
// Container for replication rules. You can add as many as 1,000 rules. Total
// replication configuration size can be up to 2 MB.
type ReplicationConfiguration struct {
@@ -9289,6 +12661,18 @@ func (s *ReplicationConfiguration) Validate() error {
return nil
}
+// SetRole sets the Role field's value.
+func (s *ReplicationConfiguration) SetRole(v string) *ReplicationConfiguration {
+ s.Role = &v
+ return s
+}
+
+// SetRules sets the Rules field's value.
+func (s *ReplicationConfiguration) SetRules(v []*ReplicationRule) *ReplicationConfiguration {
+ s.Rules = v
+ return s
+}
+
type ReplicationRule struct {
_ struct{} `type:"structure"`
@@ -9345,6 +12729,30 @@ func (s *ReplicationRule) Validate() error {
return nil
}
+// SetDestination sets the Destination field's value.
+func (s *ReplicationRule) SetDestination(v *Destination) *ReplicationRule {
+ s.Destination = v
+ return s
+}
+
+// SetID sets the ID field's value.
+func (s *ReplicationRule) SetID(v string) *ReplicationRule {
+ s.ID = &v
+ return s
+}
+
+// SetPrefix sets the Prefix field's value.
+func (s *ReplicationRule) SetPrefix(v string) *ReplicationRule {
+ s.Prefix = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *ReplicationRule) SetStatus(v string) *ReplicationRule {
+ s.Status = &v
+ return s
+}
+
type RequestPaymentConfiguration struct {
_ struct{} `type:"structure"`
@@ -9377,6 +12785,12 @@ func (s *RequestPaymentConfiguration) Validate() error {
return nil
}
+// SetPayer sets the Payer field's value.
+func (s *RequestPaymentConfiguration) SetPayer(v string) *RequestPaymentConfiguration {
+ s.Payer = &v
+ return s
+}
+
type RestoreObjectInput struct {
_ struct{} `type:"structure" payload:"RestoreRequest"`
@@ -9431,6 +12845,36 @@ func (s *RestoreObjectInput) Validate() error {
return nil
}
+// SetBucket sets the Bucket field's value.
+func (s *RestoreObjectInput) SetBucket(v string) *RestoreObjectInput {
+ s.Bucket = &v
+ return s
+}
+
+// SetKey sets the Key field's value.
+func (s *RestoreObjectInput) SetKey(v string) *RestoreObjectInput {
+ s.Key = &v
+ return s
+}
+
+// SetRequestPayer sets the RequestPayer field's value.
+func (s *RestoreObjectInput) SetRequestPayer(v string) *RestoreObjectInput {
+ s.RequestPayer = &v
+ return s
+}
+
+// SetRestoreRequest sets the RestoreRequest field's value.
+func (s *RestoreObjectInput) SetRestoreRequest(v *RestoreRequest) *RestoreObjectInput {
+ s.RestoreRequest = v
+ return s
+}
+
+// SetVersionId sets the VersionId field's value.
+func (s *RestoreObjectInput) SetVersionId(v string) *RestoreObjectInput {
+ s.VersionId = &v
+ return s
+}
+
type RestoreObjectOutput struct {
_ struct{} `type:"structure"`
@@ -9449,6 +12893,12 @@ func (s RestoreObjectOutput) GoString() string {
return s.String()
}
+// SetRequestCharged sets the RequestCharged field's value.
+func (s *RestoreObjectOutput) SetRequestCharged(v string) *RestoreObjectOutput {
+ s.RequestCharged = &v
+ return s
+}
+
type RestoreRequest struct {
_ struct{} `type:"structure"`
@@ -9481,6 +12931,12 @@ func (s *RestoreRequest) Validate() error {
return nil
}
+// SetDays sets the Days field's value.
+func (s *RestoreRequest) SetDays(v int64) *RestoreRequest {
+ s.Days = &v
+ return s
+}
+
type RoutingRule struct {
_ struct{} `type:"structure"`
@@ -9521,6 +12977,18 @@ func (s *RoutingRule) Validate() error {
return nil
}
+// SetCondition sets the Condition field's value.
+func (s *RoutingRule) SetCondition(v *Condition) *RoutingRule {
+ s.Condition = v
+ return s
+}
+
+// SetRedirect sets the Redirect field's value.
+func (s *RoutingRule) SetRedirect(v *Redirect) *RoutingRule {
+ s.Redirect = v
+ return s
+}
+
type Rule struct {
_ struct{} `type:"structure"`
@@ -9587,6 +13055,54 @@ func (s *Rule) Validate() error {
return nil
}
+// SetAbortIncompleteMultipartUpload sets the AbortIncompleteMultipartUpload field's value.
+func (s *Rule) SetAbortIncompleteMultipartUpload(v *AbortIncompleteMultipartUpload) *Rule {
+ s.AbortIncompleteMultipartUpload = v
+ return s
+}
+
+// SetExpiration sets the Expiration field's value.
+func (s *Rule) SetExpiration(v *LifecycleExpiration) *Rule {
+ s.Expiration = v
+ return s
+}
+
+// SetID sets the ID field's value.
+func (s *Rule) SetID(v string) *Rule {
+ s.ID = &v
+ return s
+}
+
+// SetNoncurrentVersionExpiration sets the NoncurrentVersionExpiration field's value.
+func (s *Rule) SetNoncurrentVersionExpiration(v *NoncurrentVersionExpiration) *Rule {
+ s.NoncurrentVersionExpiration = v
+ return s
+}
+
+// SetNoncurrentVersionTransition sets the NoncurrentVersionTransition field's value.
+func (s *Rule) SetNoncurrentVersionTransition(v *NoncurrentVersionTransition) *Rule {
+ s.NoncurrentVersionTransition = v
+ return s
+}
+
+// SetPrefix sets the Prefix field's value.
+func (s *Rule) SetPrefix(v string) *Rule {
+ s.Prefix = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *Rule) SetStatus(v string) *Rule {
+ s.Status = &v
+ return s
+}
+
+// SetTransition sets the Transition field's value.
+func (s *Rule) SetTransition(v *Transition) *Rule {
+ s.Transition = v
+ return s
+}
+
type Tag struct {
_ struct{} `type:"structure"`
@@ -9630,6 +13146,18 @@ func (s *Tag) Validate() error {
return nil
}
+// 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
+}
+
type Tagging struct {
_ struct{} `type:"structure"`
@@ -9670,6 +13198,12 @@ func (s *Tagging) Validate() error {
return nil
}
+// SetTagSet sets the TagSet field's value.
+func (s *Tagging) SetTagSet(v []*Tag) *Tagging {
+ s.TagSet = v
+ return s
+}
+
type TargetGrant struct {
_ struct{} `type:"structure"`
@@ -9704,6 +13238,18 @@ func (s *TargetGrant) Validate() error {
return nil
}
+// SetGrantee sets the Grantee field's value.
+func (s *TargetGrant) SetGrantee(v *Grantee) *TargetGrant {
+ s.Grantee = v
+ return s
+}
+
+// SetPermission sets the Permission field's value.
+func (s *TargetGrant) SetPermission(v string) *TargetGrant {
+ s.Permission = &v
+ return s
+}
+
// Container for specifying the configuration when you want Amazon S3 to publish
// events to an Amazon Simple Notification Service (Amazon SNS) topic.
type TopicConfiguration struct {
@@ -9753,6 +13299,30 @@ func (s *TopicConfiguration) Validate() error {
return nil
}
+// SetEvents sets the Events field's value.
+func (s *TopicConfiguration) SetEvents(v []*string) *TopicConfiguration {
+ s.Events = v
+ return s
+}
+
+// SetFilter sets the Filter field's value.
+func (s *TopicConfiguration) SetFilter(v *NotificationConfigurationFilter) *TopicConfiguration {
+ s.Filter = v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *TopicConfiguration) SetId(v string) *TopicConfiguration {
+ s.Id = &v
+ return s
+}
+
+// SetTopicArn sets the TopicArn field's value.
+func (s *TopicConfiguration) SetTopicArn(v string) *TopicConfiguration {
+ s.TopicArn = &v
+ return s
+}
+
type TopicConfigurationDeprecated struct {
_ struct{} `type:"structure"`
@@ -9780,6 +13350,30 @@ func (s TopicConfigurationDeprecated) GoString() string {
return s.String()
}
+// SetEvent sets the Event field's value.
+func (s *TopicConfigurationDeprecated) SetEvent(v string) *TopicConfigurationDeprecated {
+ s.Event = &v
+ return s
+}
+
+// SetEvents sets the Events field's value.
+func (s *TopicConfigurationDeprecated) SetEvents(v []*string) *TopicConfigurationDeprecated {
+ s.Events = v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *TopicConfigurationDeprecated) SetId(v string) *TopicConfigurationDeprecated {
+ s.Id = &v
+ return s
+}
+
+// SetTopic sets the Topic field's value.
+func (s *TopicConfigurationDeprecated) SetTopic(v string) *TopicConfigurationDeprecated {
+ s.Topic = &v
+ return s
+}
+
type Transition struct {
_ struct{} `type:"structure"`
@@ -9805,6 +13399,24 @@ func (s Transition) GoString() string {
return s.String()
}
+// SetDate sets the Date field's value.
+func (s *Transition) SetDate(v time.Time) *Transition {
+ s.Date = &v
+ return s
+}
+
+// SetDays sets the Days field's value.
+func (s *Transition) SetDays(v int64) *Transition {
+ s.Days = &v
+ return s
+}
+
+// SetStorageClass sets the StorageClass field's value.
+func (s *Transition) SetStorageClass(v string) *Transition {
+ s.StorageClass = &v
+ return s
+}
+
type UploadPartCopyInput struct {
_ struct{} `type:"structure"`
@@ -9925,6 +13537,108 @@ func (s *UploadPartCopyInput) Validate() error {
return nil
}
+// SetBucket sets the Bucket field's value.
+func (s *UploadPartCopyInput) SetBucket(v string) *UploadPartCopyInput {
+ s.Bucket = &v
+ return s
+}
+
+// SetCopySource sets the CopySource field's value.
+func (s *UploadPartCopyInput) SetCopySource(v string) *UploadPartCopyInput {
+ s.CopySource = &v
+ return s
+}
+
+// SetCopySourceIfMatch sets the CopySourceIfMatch field's value.
+func (s *UploadPartCopyInput) SetCopySourceIfMatch(v string) *UploadPartCopyInput {
+ s.CopySourceIfMatch = &v
+ return s
+}
+
+// SetCopySourceIfModifiedSince sets the CopySourceIfModifiedSince field's value.
+func (s *UploadPartCopyInput) SetCopySourceIfModifiedSince(v time.Time) *UploadPartCopyInput {
+ s.CopySourceIfModifiedSince = &v
+ return s
+}
+
+// SetCopySourceIfNoneMatch sets the CopySourceIfNoneMatch field's value.
+func (s *UploadPartCopyInput) SetCopySourceIfNoneMatch(v string) *UploadPartCopyInput {
+ s.CopySourceIfNoneMatch = &v
+ return s
+}
+
+// SetCopySourceIfUnmodifiedSince sets the CopySourceIfUnmodifiedSince field's value.
+func (s *UploadPartCopyInput) SetCopySourceIfUnmodifiedSince(v time.Time) *UploadPartCopyInput {
+ s.CopySourceIfUnmodifiedSince = &v
+ return s
+}
+
+// SetCopySourceRange sets the CopySourceRange field's value.
+func (s *UploadPartCopyInput) SetCopySourceRange(v string) *UploadPartCopyInput {
+ s.CopySourceRange = &v
+ return s
+}
+
+// SetCopySourceSSECustomerAlgorithm sets the CopySourceSSECustomerAlgorithm field's value.
+func (s *UploadPartCopyInput) SetCopySourceSSECustomerAlgorithm(v string) *UploadPartCopyInput {
+ s.CopySourceSSECustomerAlgorithm = &v
+ return s
+}
+
+// SetCopySourceSSECustomerKey sets the CopySourceSSECustomerKey field's value.
+func (s *UploadPartCopyInput) SetCopySourceSSECustomerKey(v string) *UploadPartCopyInput {
+ s.CopySourceSSECustomerKey = &v
+ return s
+}
+
+// SetCopySourceSSECustomerKeyMD5 sets the CopySourceSSECustomerKeyMD5 field's value.
+func (s *UploadPartCopyInput) SetCopySourceSSECustomerKeyMD5(v string) *UploadPartCopyInput {
+ s.CopySourceSSECustomerKeyMD5 = &v
+ return s
+}
+
+// SetKey sets the Key field's value.
+func (s *UploadPartCopyInput) SetKey(v string) *UploadPartCopyInput {
+ s.Key = &v
+ return s
+}
+
+// SetPartNumber sets the PartNumber field's value.
+func (s *UploadPartCopyInput) SetPartNumber(v int64) *UploadPartCopyInput {
+ s.PartNumber = &v
+ return s
+}
+
+// SetRequestPayer sets the RequestPayer field's value.
+func (s *UploadPartCopyInput) SetRequestPayer(v string) *UploadPartCopyInput {
+ s.RequestPayer = &v
+ return s
+}
+
+// SetSSECustomerAlgorithm sets the SSECustomerAlgorithm field's value.
+func (s *UploadPartCopyInput) SetSSECustomerAlgorithm(v string) *UploadPartCopyInput {
+ s.SSECustomerAlgorithm = &v
+ return s
+}
+
+// SetSSECustomerKey sets the SSECustomerKey field's value.
+func (s *UploadPartCopyInput) SetSSECustomerKey(v string) *UploadPartCopyInput {
+ s.SSECustomerKey = &v
+ return s
+}
+
+// SetSSECustomerKeyMD5 sets the SSECustomerKeyMD5 field's value.
+func (s *UploadPartCopyInput) SetSSECustomerKeyMD5(v string) *UploadPartCopyInput {
+ s.SSECustomerKeyMD5 = &v
+ return s
+}
+
+// SetUploadId sets the UploadId field's value.
+func (s *UploadPartCopyInput) SetUploadId(v string) *UploadPartCopyInput {
+ s.UploadId = &v
+ return s
+}
+
type UploadPartCopyOutput struct {
_ struct{} `type:"structure" payload:"CopyPartResult"`
@@ -9967,6 +13681,48 @@ func (s UploadPartCopyOutput) GoString() string {
return s.String()
}
+// SetCopyPartResult sets the CopyPartResult field's value.
+func (s *UploadPartCopyOutput) SetCopyPartResult(v *CopyPartResult) *UploadPartCopyOutput {
+ s.CopyPartResult = v
+ return s
+}
+
+// SetCopySourceVersionId sets the CopySourceVersionId field's value.
+func (s *UploadPartCopyOutput) SetCopySourceVersionId(v string) *UploadPartCopyOutput {
+ s.CopySourceVersionId = &v
+ return s
+}
+
+// SetRequestCharged sets the RequestCharged field's value.
+func (s *UploadPartCopyOutput) SetRequestCharged(v string) *UploadPartCopyOutput {
+ s.RequestCharged = &v
+ return s
+}
+
+// SetSSECustomerAlgorithm sets the SSECustomerAlgorithm field's value.
+func (s *UploadPartCopyOutput) SetSSECustomerAlgorithm(v string) *UploadPartCopyOutput {
+ s.SSECustomerAlgorithm = &v
+ return s
+}
+
+// SetSSECustomerKeyMD5 sets the SSECustomerKeyMD5 field's value.
+func (s *UploadPartCopyOutput) SetSSECustomerKeyMD5(v string) *UploadPartCopyOutput {
+ s.SSECustomerKeyMD5 = &v
+ return s
+}
+
+// SetSSEKMSKeyId sets the SSEKMSKeyId field's value.
+func (s *UploadPartCopyOutput) SetSSEKMSKeyId(v string) *UploadPartCopyOutput {
+ s.SSEKMSKeyId = &v
+ return s
+}
+
+// SetServerSideEncryption sets the ServerSideEncryption field's value.
+func (s *UploadPartCopyOutput) SetServerSideEncryption(v string) *UploadPartCopyOutput {
+ s.ServerSideEncryption = &v
+ return s
+}
+
type UploadPartInput struct {
_ struct{} `type:"structure" payload:"Body"`
@@ -10056,6 +13812,66 @@ func (s *UploadPartInput) Validate() error {
return nil
}
+// SetBody sets the Body field's value.
+func (s *UploadPartInput) SetBody(v io.ReadSeeker) *UploadPartInput {
+ s.Body = v
+ return s
+}
+
+// SetBucket sets the Bucket field's value.
+func (s *UploadPartInput) SetBucket(v string) *UploadPartInput {
+ s.Bucket = &v
+ return s
+}
+
+// SetContentLength sets the ContentLength field's value.
+func (s *UploadPartInput) SetContentLength(v int64) *UploadPartInput {
+ s.ContentLength = &v
+ return s
+}
+
+// SetKey sets the Key field's value.
+func (s *UploadPartInput) SetKey(v string) *UploadPartInput {
+ s.Key = &v
+ return s
+}
+
+// SetPartNumber sets the PartNumber field's value.
+func (s *UploadPartInput) SetPartNumber(v int64) *UploadPartInput {
+ s.PartNumber = &v
+ return s
+}
+
+// SetRequestPayer sets the RequestPayer field's value.
+func (s *UploadPartInput) SetRequestPayer(v string) *UploadPartInput {
+ s.RequestPayer = &v
+ return s
+}
+
+// SetSSECustomerAlgorithm sets the SSECustomerAlgorithm field's value.
+func (s *UploadPartInput) SetSSECustomerAlgorithm(v string) *UploadPartInput {
+ s.SSECustomerAlgorithm = &v
+ return s
+}
+
+// SetSSECustomerKey sets the SSECustomerKey field's value.
+func (s *UploadPartInput) SetSSECustomerKey(v string) *UploadPartInput {
+ s.SSECustomerKey = &v
+ return s
+}
+
+// SetSSECustomerKeyMD5 sets the SSECustomerKeyMD5 field's value.
+func (s *UploadPartInput) SetSSECustomerKeyMD5(v string) *UploadPartInput {
+ s.SSECustomerKeyMD5 = &v
+ return s
+}
+
+// SetUploadId sets the UploadId field's value.
+func (s *UploadPartInput) SetUploadId(v string) *UploadPartInput {
+ s.UploadId = &v
+ return s
+}
+
type UploadPartOutput struct {
_ struct{} `type:"structure"`
@@ -10095,6 +13911,42 @@ func (s UploadPartOutput) GoString() string {
return s.String()
}
+// SetETag sets the ETag field's value.
+func (s *UploadPartOutput) SetETag(v string) *UploadPartOutput {
+ s.ETag = &v
+ return s
+}
+
+// SetRequestCharged sets the RequestCharged field's value.
+func (s *UploadPartOutput) SetRequestCharged(v string) *UploadPartOutput {
+ s.RequestCharged = &v
+ return s
+}
+
+// SetSSECustomerAlgorithm sets the SSECustomerAlgorithm field's value.
+func (s *UploadPartOutput) SetSSECustomerAlgorithm(v string) *UploadPartOutput {
+ s.SSECustomerAlgorithm = &v
+ return s
+}
+
+// SetSSECustomerKeyMD5 sets the SSECustomerKeyMD5 field's value.
+func (s *UploadPartOutput) SetSSECustomerKeyMD5(v string) *UploadPartOutput {
+ s.SSECustomerKeyMD5 = &v
+ return s
+}
+
+// SetSSEKMSKeyId sets the SSEKMSKeyId field's value.
+func (s *UploadPartOutput) SetSSEKMSKeyId(v string) *UploadPartOutput {
+ s.SSEKMSKeyId = &v
+ return s
+}
+
+// SetServerSideEncryption sets the ServerSideEncryption field's value.
+func (s *UploadPartOutput) SetServerSideEncryption(v string) *UploadPartOutput {
+ s.ServerSideEncryption = &v
+ return s
+}
+
type VersioningConfiguration struct {
_ struct{} `type:"structure"`
@@ -10117,6 +13969,18 @@ func (s VersioningConfiguration) GoString() string {
return s.String()
}
+// SetMFADelete sets the MFADelete field's value.
+func (s *VersioningConfiguration) SetMFADelete(v string) *VersioningConfiguration {
+ s.MFADelete = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *VersioningConfiguration) SetStatus(v string) *VersioningConfiguration {
+ s.Status = &v
+ return s
+}
+
type WebsiteConfiguration struct {
_ struct{} `type:"structure"`
@@ -10174,6 +14038,30 @@ func (s *WebsiteConfiguration) Validate() error {
return nil
}
+// SetErrorDocument sets the ErrorDocument field's value.
+func (s *WebsiteConfiguration) SetErrorDocument(v *ErrorDocument) *WebsiteConfiguration {
+ s.ErrorDocument = v
+ return s
+}
+
+// SetIndexDocument sets the IndexDocument field's value.
+func (s *WebsiteConfiguration) SetIndexDocument(v *IndexDocument) *WebsiteConfiguration {
+ s.IndexDocument = v
+ return s
+}
+
+// SetRedirectAllRequestsTo sets the RedirectAllRequestsTo field's value.
+func (s *WebsiteConfiguration) SetRedirectAllRequestsTo(v *RedirectAllRequestsTo) *WebsiteConfiguration {
+ s.RedirectAllRequestsTo = v
+ return s
+}
+
+// SetRoutingRules sets the RoutingRules field's value.
+func (s *WebsiteConfiguration) SetRoutingRules(v []*RoutingRule) *WebsiteConfiguration {
+ s.RoutingRules = v
+ return s
+}
+
const (
// BucketAccelerateStatusEnabled is a BucketAccelerateStatus enum value
BucketAccelerateStatusEnabled = "Enabled"
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 f91fd20..042768b 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
@@ -11,202 +11,201 @@ import (
"github.com/aws/aws-sdk-go/aws/request"
)
-const opDescribeProduct = "DescribeProduct"
+const opAcceptPortfolioShare = "AcceptPortfolioShare"
-// DescribeProductRequest generates a "aws/request.Request" representing the
-// client's request for the DescribeProduct operation. The "output" return
+// AcceptPortfolioShareRequest generates a "aws/request.Request" representing the
+// client's request for the AcceptPortfolioShare operation. The "output" return
// value can be used to capture response data after the request's "Send" method
// is called.
//
-// See DescribeProduct for usage and error information.
+// See AcceptPortfolioShare for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
-// you just want the service response, call the DescribeProduct method directly
+// you just want the service response, call the AcceptPortfolioShare method directly
// instead.
//
// Note: You must call the "Send" method on the returned request object in order
// to execute the request.
//
-// // Example sending a request using the DescribeProductRequest method.
-// req, resp := client.DescribeProductRequest(params)
+// // Example sending a request using the AcceptPortfolioShareRequest method.
+// req, resp := client.AcceptPortfolioShareRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-func (c *ServiceCatalog) DescribeProductRequest(input *DescribeProductInput) (req *request.Request, output *DescribeProductOutput) {
+func (c *ServiceCatalog) AcceptPortfolioShareRequest(input *AcceptPortfolioShareInput) (req *request.Request, output *AcceptPortfolioShareOutput) {
op := &request.Operation{
- Name: opDescribeProduct,
+ Name: opAcceptPortfolioShare,
HTTPMethod: "POST",
HTTPPath: "/",
}
if input == nil {
- input = &DescribeProductInput{}
+ input = &AcceptPortfolioShareInput{}
}
req = c.newRequest(op, input, output)
- output = &DescribeProductOutput{}
+ output = &AcceptPortfolioShareOutput{}
req.Data = output
return
}
-// DescribeProduct API operation for AWS Service Catalog.
+// AcceptPortfolioShare 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.
+// Accepts an offer to share 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
// the error.
//
// See the AWS API reference guide for AWS Service Catalog's
-// API operation DescribeProduct for usage and error information.
+// API operation AcceptPortfolioShare for usage and error information.
//
// Returned Error Codes:
+// * InvalidParametersException
+// One or more parameters provided to the operation are invalid.
+//
// * ResourceNotFoundException
// The specified resource was not found.
//
-// * InvalidParametersException
-// One or more parameters provided to the operation are invalid.
+// * 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.
//
-func (c *ServiceCatalog) DescribeProduct(input *DescribeProductInput) (*DescribeProductOutput, error) {
- req, out := c.DescribeProductRequest(input)
+func (c *ServiceCatalog) AcceptPortfolioShare(input *AcceptPortfolioShareInput) (*AcceptPortfolioShareOutput, error) {
+ req, out := c.AcceptPortfolioShareRequest(input)
err := req.Send()
return out, err
}
-const opDescribeProductView = "DescribeProductView"
+const opAssociatePrincipalWithPortfolio = "AssociatePrincipalWithPortfolio"
-// DescribeProductViewRequest generates a "aws/request.Request" representing the
-// client's request for the DescribeProductView operation. The "output" return
+// AssociatePrincipalWithPortfolioRequest generates a "aws/request.Request" representing the
+// client's request for the AssociatePrincipalWithPortfolio operation. The "output" return
// value can be used to capture response data after the request's "Send" method
// is called.
//
-// See DescribeProductView for usage and error information.
+// See AssociatePrincipalWithPortfolio for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
-// you just want the service response, call the DescribeProductView method directly
+// you just want the service response, call the AssociatePrincipalWithPortfolio method directly
// instead.
//
// Note: You must call the "Send" method on the returned request object in order
// to execute the request.
//
-// // Example sending a request using the DescribeProductViewRequest method.
-// req, resp := client.DescribeProductViewRequest(params)
+// // Example sending a request using the AssociatePrincipalWithPortfolioRequest method.
+// req, resp := client.AssociatePrincipalWithPortfolioRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-func (c *ServiceCatalog) DescribeProductViewRequest(input *DescribeProductViewInput) (req *request.Request, output *DescribeProductViewOutput) {
+func (c *ServiceCatalog) AssociatePrincipalWithPortfolioRequest(input *AssociatePrincipalWithPortfolioInput) (req *request.Request, output *AssociatePrincipalWithPortfolioOutput) {
op := &request.Operation{
- Name: opDescribeProductView,
+ Name: opAssociatePrincipalWithPortfolio,
HTTPMethod: "POST",
HTTPPath: "/",
}
if input == nil {
- input = &DescribeProductViewInput{}
+ input = &AssociatePrincipalWithPortfolioInput{}
}
req = c.newRequest(op, input, output)
- output = &DescribeProductViewOutput{}
+ output = &AssociatePrincipalWithPortfolioOutput{}
req.Data = output
return
}
-// DescribeProductView API operation for AWS Service Catalog.
+// AssociatePrincipalWithPortfolio 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.
+// Associates the specified principal ARN 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
// the error.
//
// See the AWS API reference guide for AWS Service Catalog's
-// API operation DescribeProductView for usage and error information.
+// API operation AssociatePrincipalWithPortfolio for usage and error information.
//
// Returned Error Codes:
+// * InvalidParametersException
+// One or more parameters provided to the operation are invalid.
+//
// * ResourceNotFoundException
// The specified resource was not found.
//
-// * InvalidParametersException
-// One or more parameters provided to the operation are invalid.
+// * 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.
//
-func (c *ServiceCatalog) DescribeProductView(input *DescribeProductViewInput) (*DescribeProductViewOutput, error) {
- req, out := c.DescribeProductViewRequest(input)
+func (c *ServiceCatalog) AssociatePrincipalWithPortfolio(input *AssociatePrincipalWithPortfolioInput) (*AssociatePrincipalWithPortfolioOutput, error) {
+ req, out := c.AssociatePrincipalWithPortfolioRequest(input)
err := req.Send()
return out, err
}
-const opDescribeProvisioningParameters = "DescribeProvisioningParameters"
+const opAssociateProductWithPortfolio = "AssociateProductWithPortfolio"
-// DescribeProvisioningParametersRequest generates a "aws/request.Request" representing the
-// client's request for the DescribeProvisioningParameters operation. The "output" return
+// AssociateProductWithPortfolioRequest generates a "aws/request.Request" representing the
+// client's request for the AssociateProductWithPortfolio operation. The "output" return
// value can be used to capture response data after the request's "Send" method
// is called.
//
-// See DescribeProvisioningParameters for usage and error information.
+// See AssociateProductWithPortfolio for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
-// you just want the service response, call the DescribeProvisioningParameters method directly
+// you just want the service response, call the AssociateProductWithPortfolio method directly
// instead.
//
// Note: You must call the "Send" method on the returned request object in order
// to execute the request.
//
-// // Example sending a request using the DescribeProvisioningParametersRequest method.
-// req, resp := client.DescribeProvisioningParametersRequest(params)
+// // Example sending a request using the AssociateProductWithPortfolioRequest method.
+// req, resp := client.AssociateProductWithPortfolioRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-func (c *ServiceCatalog) DescribeProvisioningParametersRequest(input *DescribeProvisioningParametersInput) (req *request.Request, output *DescribeProvisioningParametersOutput) {
+func (c *ServiceCatalog) AssociateProductWithPortfolioRequest(input *AssociateProductWithPortfolioInput) (req *request.Request, output *AssociateProductWithPortfolioOutput) {
op := &request.Operation{
- Name: opDescribeProvisioningParameters,
+ Name: opAssociateProductWithPortfolio,
HTTPMethod: "POST",
HTTPPath: "/",
}
if input == nil {
- input = &DescribeProvisioningParametersInput{}
+ input = &AssociateProductWithPortfolioInput{}
}
req = c.newRequest(op, input, output)
- output = &DescribeProvisioningParametersOutput{}
+ output = &AssociateProductWithPortfolioOutput{}
req.Data = output
return
}
-// DescribeProvisioningParameters API operation for AWS Service Catalog.
+// AssociateProductWithPortfolio 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.
+// Associates a product 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
// the error.
//
// See the AWS API reference guide for AWS Service Catalog's
-// API operation DescribeProvisioningParameters for usage and error information.
+// API operation AssociateProductWithPortfolio for usage and error information.
//
// Returned Error Codes:
// * InvalidParametersException
@@ -215,652 +214,7207 @@ func (c *ServiceCatalog) DescribeProvisioningParametersRequest(input *DescribePr
// * ResourceNotFoundException
// The specified resource was not found.
//
-func (c *ServiceCatalog) DescribeProvisioningParameters(input *DescribeProvisioningParametersInput) (*DescribeProvisioningParametersOutput, error) {
- req, out := c.DescribeProvisioningParametersRequest(input)
+// * 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.
+//
+func (c *ServiceCatalog) AssociateProductWithPortfolio(input *AssociateProductWithPortfolioInput) (*AssociateProductWithPortfolioOutput, error) {
+ req, out := c.AssociateProductWithPortfolioRequest(input)
err := req.Send()
return out, err
}
-const opDescribeRecord = "DescribeRecord"
+const opCreateConstraint = "CreateConstraint"
-// DescribeRecordRequest generates a "aws/request.Request" representing the
-// client's request for the DescribeRecord operation. The "output" return
+// CreateConstraintRequest generates a "aws/request.Request" representing the
+// client's request for the CreateConstraint operation. The "output" return
// value can be used to capture response data after the request's "Send" method
// is called.
//
-// See DescribeRecord for usage and error information.
+// See CreateConstraint for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
-// you just want the service response, call the DescribeRecord method directly
+// you just want the service response, call the CreateConstraint method directly
// instead.
//
// Note: You must call the "Send" method on the returned request object in order
// to execute the request.
//
-// // Example sending a request using the DescribeRecordRequest method.
-// req, resp := client.DescribeRecordRequest(params)
+// // Example sending a request using the CreateConstraintRequest method.
+// req, resp := client.CreateConstraintRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-func (c *ServiceCatalog) DescribeRecordRequest(input *DescribeRecordInput) (req *request.Request, output *DescribeRecordOutput) {
+func (c *ServiceCatalog) CreateConstraintRequest(input *CreateConstraintInput) (req *request.Request, output *CreateConstraintOutput) {
op := &request.Operation{
- Name: opDescribeRecord,
+ Name: opCreateConstraint,
HTTPMethod: "POST",
HTTPPath: "/",
}
if input == nil {
- input = &DescribeRecordInput{}
+ input = &CreateConstraintInput{}
}
req = c.newRequest(op, input, output)
- output = &DescribeRecordOutput{}
+ output = &CreateConstraintOutput{}
req.Data = output
return
}
-// DescribeRecord API operation for AWS Service Catalog.
+// CreateConstraint 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).
+// Creates a new 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
// the error.
//
// See the AWS API reference guide for AWS Service Catalog's
-// API operation DescribeRecord for usage and error information.
+// API operation CreateConstraint for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundException
// The specified resource was not found.
//
-func (c *ServiceCatalog) DescribeRecord(input *DescribeRecordInput) (*DescribeRecordOutput, error) {
- req, out := c.DescribeRecordRequest(input)
+// * InvalidParametersException
+// One or more parameters provided to the operation are invalid.
+//
+// * 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.
+//
+// * DuplicateResourceException
+// The specified resource is a duplicate.
+//
+func (c *ServiceCatalog) CreateConstraint(input *CreateConstraintInput) (*CreateConstraintOutput, error) {
+ req, out := c.CreateConstraintRequest(input)
err := req.Send()
return out, err
}
-const opListLaunchPaths = "ListLaunchPaths"
+const opCreatePortfolio = "CreatePortfolio"
-// ListLaunchPathsRequest generates a "aws/request.Request" representing the
-// client's request for the ListLaunchPaths operation. The "output" return
+// CreatePortfolioRequest generates a "aws/request.Request" representing the
+// client's request for the CreatePortfolio operation. The "output" return
// value can be used to capture response data after the request's "Send" method
// is called.
//
-// See ListLaunchPaths for usage and error information.
+// See CreatePortfolio for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
-// you just want the service response, call the ListLaunchPaths method directly
+// you just want the service response, call the CreatePortfolio method directly
// instead.
//
// Note: You must call the "Send" method on the returned request object in order
// to execute the request.
//
-// // Example sending a request using the ListLaunchPathsRequest method.
-// req, resp := client.ListLaunchPathsRequest(params)
+// // Example sending a request using the CreatePortfolioRequest method.
+// req, resp := client.CreatePortfolioRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-func (c *ServiceCatalog) ListLaunchPathsRequest(input *ListLaunchPathsInput) (req *request.Request, output *ListLaunchPathsOutput) {
+func (c *ServiceCatalog) CreatePortfolioRequest(input *CreatePortfolioInput) (req *request.Request, output *CreatePortfolioOutput) {
op := &request.Operation{
- Name: opListLaunchPaths,
+ Name: opCreatePortfolio,
HTTPMethod: "POST",
HTTPPath: "/",
}
if input == nil {
- input = &ListLaunchPathsInput{}
+ input = &CreatePortfolioInput{}
}
req = c.newRequest(op, input, output)
- output = &ListLaunchPathsOutput{}
+ output = &CreatePortfolioOutput{}
req.Data = output
return
}
-// ListLaunchPaths API operation for AWS Service Catalog.
+// CreatePortfolio 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.
+// Creates a new 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
// the error.
//
// See the AWS API reference guide for AWS Service Catalog's
-// API operation ListLaunchPaths for usage and error information.
+// API operation CreatePortfolio for usage and error information.
//
// Returned Error Codes:
// * InvalidParametersException
// One or more parameters provided to the operation are invalid.
//
-// * ResourceNotFoundException
-// The specified resource was not found.
+// * 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.
//
-func (c *ServiceCatalog) ListLaunchPaths(input *ListLaunchPathsInput) (*ListLaunchPathsOutput, error) {
- req, out := c.ListLaunchPathsRequest(input)
+func (c *ServiceCatalog) CreatePortfolio(input *CreatePortfolioInput) (*CreatePortfolioOutput, error) {
+ req, out := c.CreatePortfolioRequest(input)
err := req.Send()
return out, err
}
-const opListRecordHistory = "ListRecordHistory"
+const opCreatePortfolioShare = "CreatePortfolioShare"
-// ListRecordHistoryRequest generates a "aws/request.Request" representing the
-// client's request for the ListRecordHistory operation. The "output" return
+// CreatePortfolioShareRequest generates a "aws/request.Request" representing the
+// client's request for the CreatePortfolioShare operation. The "output" return
// value can be used to capture response data after the request's "Send" method
// is called.
//
-// See ListRecordHistory for usage and error information.
+// See CreatePortfolioShare for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
-// you just want the service response, call the ListRecordHistory method directly
+// you just want the service response, call the CreatePortfolioShare method directly
// instead.
//
// Note: You must call the "Send" method on the returned request object in order
// to execute the request.
//
-// // Example sending a request using the ListRecordHistoryRequest method.
-// req, resp := client.ListRecordHistoryRequest(params)
+// // Example sending a request using the CreatePortfolioShareRequest method.
+// req, resp := client.CreatePortfolioShareRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-func (c *ServiceCatalog) ListRecordHistoryRequest(input *ListRecordHistoryInput) (req *request.Request, output *ListRecordHistoryOutput) {
+func (c *ServiceCatalog) CreatePortfolioShareRequest(input *CreatePortfolioShareInput) (req *request.Request, output *CreatePortfolioShareOutput) {
op := &request.Operation{
- Name: opListRecordHistory,
+ Name: opCreatePortfolioShare,
HTTPMethod: "POST",
HTTPPath: "/",
}
if input == nil {
- input = &ListRecordHistoryInput{}
+ input = &CreatePortfolioShareInput{}
}
req = c.newRequest(op, input, output)
- output = &ListRecordHistoryOutput{}
+ output = &CreatePortfolioShareOutput{}
req.Data = output
return
}
-// ListRecordHistory API operation for AWS Service Catalog.
+// CreatePortfolioShare 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.
+// Creates a new portfolio share.
//
// Returns awserr.Error for service API and SDK errors. Use runtime 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 Service Catalog's
-// API operation ListRecordHistory for usage and error information.
+// API operation CreatePortfolioShare for usage and error information.
//
// Returned Error Codes:
+// * ResourceNotFoundException
+// The specified resource was not found.
+//
+// * 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.
+//
// * InvalidParametersException
// One or more parameters provided to the operation are invalid.
//
-func (c *ServiceCatalog) ListRecordHistory(input *ListRecordHistoryInput) (*ListRecordHistoryOutput, error) {
- req, out := c.ListRecordHistoryRequest(input)
+func (c *ServiceCatalog) CreatePortfolioShare(input *CreatePortfolioShareInput) (*CreatePortfolioShareOutput, error) {
+ req, out := c.CreatePortfolioShareRequest(input)
err := req.Send()
return out, err
}
-const opProvisionProduct = "ProvisionProduct"
+const opCreateProduct = "CreateProduct"
-// ProvisionProductRequest generates a "aws/request.Request" representing the
-// client's request for the ProvisionProduct operation. The "output" return
+// CreateProductRequest generates a "aws/request.Request" representing the
+// client's request for the CreateProduct operation. The "output" return
// value can be used to capture response data after the request's "Send" method
// is called.
//
-// See ProvisionProduct for usage and error information.
+// See CreateProduct for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
-// you just want the service response, call the ProvisionProduct method directly
+// you just want the service response, call the CreateProduct method directly
// instead.
//
// Note: You must call the "Send" method on the returned request object in order
// to execute the request.
//
-// // Example sending a request using the ProvisionProductRequest method.
-// req, resp := client.ProvisionProductRequest(params)
+// // Example sending a request using the CreateProductRequest method.
+// req, resp := client.CreateProductRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-func (c *ServiceCatalog) ProvisionProductRequest(input *ProvisionProductInput) (req *request.Request, output *ProvisionProductOutput) {
+func (c *ServiceCatalog) CreateProductRequest(input *CreateProductInput) (req *request.Request, output *CreateProductOutput) {
op := &request.Operation{
- Name: opProvisionProduct,
+ Name: opCreateProduct,
HTTPMethod: "POST",
HTTPPath: "/",
}
if input == nil {
- input = &ProvisionProductInput{}
+ input = &CreateProductInput{}
}
req = c.newRequest(op, input, output)
- output = &ProvisionProductOutput{}
+ output = &CreateProductOutput{}
req.Data = output
return
}
-// ProvisionProduct API operation for AWS Service Catalog.
-//
-// Requests a Provision of a specified product. A ProvisionedProduct 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.
+// CreateProduct API operation for AWS Service Catalog.
//
-// You can check the status of this request using the DescribeRecord operation.
+// Creates a new 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
// the error.
//
// See the AWS API reference guide for AWS Service Catalog's
-// API operation ProvisionProduct for usage and error information.
+// API operation CreateProduct for usage and error information.
//
// Returned Error Codes:
// * InvalidParametersException
// One or more parameters provided to the operation are invalid.
//
-// * ResourceNotFoundException
-// The specified resource was not found.
-//
-// * DuplicateResourceException
-// The specified resource is a duplicate.
+// * 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.
//
-func (c *ServiceCatalog) ProvisionProduct(input *ProvisionProductInput) (*ProvisionProductOutput, error) {
- req, out := c.ProvisionProductRequest(input)
+func (c *ServiceCatalog) CreateProduct(input *CreateProductInput) (*CreateProductOutput, error) {
+ req, out := c.CreateProductRequest(input)
err := req.Send()
return out, err
}
-const opScanProvisionedProducts = "ScanProvisionedProducts"
+const opCreateProvisioningArtifact = "CreateProvisioningArtifact"
-// ScanProvisionedProductsRequest generates a "aws/request.Request" representing the
-// client's request for the ScanProvisionedProducts operation. The "output" return
+// CreateProvisioningArtifactRequest generates a "aws/request.Request" representing the
+// client's request for the CreateProvisioningArtifact operation. The "output" return
// value can be used to capture response data after the request's "Send" method
// is called.
//
-// See ScanProvisionedProducts for usage and error information.
+// See CreateProvisioningArtifact for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
-// you just want the service response, call the ScanProvisionedProducts method directly
+// you just want the service response, call the CreateProvisioningArtifact method directly
// instead.
//
// Note: You must call the "Send" method on the returned request object in order
// to execute the request.
//
-// // Example sending a request using the ScanProvisionedProductsRequest method.
-// req, resp := client.ScanProvisionedProductsRequest(params)
+// // Example sending a request using the CreateProvisioningArtifactRequest method.
+// req, resp := client.CreateProvisioningArtifactRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-func (c *ServiceCatalog) ScanProvisionedProductsRequest(input *ScanProvisionedProductsInput) (req *request.Request, output *ScanProvisionedProductsOutput) {
+func (c *ServiceCatalog) CreateProvisioningArtifactRequest(input *CreateProvisioningArtifactInput) (req *request.Request, output *CreateProvisioningArtifactOutput) {
op := &request.Operation{
- Name: opScanProvisionedProducts,
+ Name: opCreateProvisioningArtifact,
HTTPMethod: "POST",
HTTPPath: "/",
}
if input == nil {
- input = &ScanProvisionedProductsInput{}
+ input = &CreateProvisioningArtifactInput{}
}
req = c.newRequest(op, input, output)
- output = &ScanProvisionedProductsOutput{}
+ output = &CreateProvisioningArtifactOutput{}
req.Data = output
return
}
-// ScanProvisionedProducts API operation for AWS Service Catalog.
+// CreateProvisioningArtifact API operation for AWS Service Catalog.
//
-// Returns a paginated list of all the ProvisionedProduct objects that are currently
-// available (not terminated).
+// Create a new provisioning artifact for the specified product. This operation
+// will not work with a product that has been 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
// the error.
//
// See the AWS API reference guide for AWS Service Catalog's
-// API operation ScanProvisionedProducts for usage and error information.
+// API operation CreateProvisioningArtifact for usage and error information.
//
// Returned Error Codes:
+// * ResourceNotFoundException
+// The specified resource was not found.
+//
// * InvalidParametersException
// One or more parameters provided to the operation are invalid.
//
-func (c *ServiceCatalog) ScanProvisionedProducts(input *ScanProvisionedProductsInput) (*ScanProvisionedProductsOutput, error) {
- req, out := c.ScanProvisionedProductsRequest(input)
+// * 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.
+//
+func (c *ServiceCatalog) CreateProvisioningArtifact(input *CreateProvisioningArtifactInput) (*CreateProvisioningArtifactOutput, error) {
+ req, out := c.CreateProvisioningArtifactRequest(input)
err := req.Send()
return out, err
}
-const opSearchProducts = "SearchProducts"
+const opDeleteConstraint = "DeleteConstraint"
-// SearchProductsRequest generates a "aws/request.Request" representing the
-// client's request for the SearchProducts operation. The "output" return
+// DeleteConstraintRequest generates a "aws/request.Request" representing the
+// client's request for the DeleteConstraint operation. The "output" return
// value can be used to capture response data after the request's "Send" method
// is called.
//
-// See SearchProducts for usage and error information.
+// See DeleteConstraint for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
-// you just want the service response, call the SearchProducts method directly
+// you just want the service response, call the DeleteConstraint method directly
// instead.
//
// Note: You must call the "Send" method on the returned request object in order
// to execute the request.
//
-// // Example sending a request using the SearchProductsRequest method.
-// req, resp := client.SearchProductsRequest(params)
+// // Example sending a request using the DeleteConstraintRequest method.
+// req, resp := client.DeleteConstraintRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-func (c *ServiceCatalog) SearchProductsRequest(input *SearchProductsInput) (req *request.Request, output *SearchProductsOutput) {
+func (c *ServiceCatalog) DeleteConstraintRequest(input *DeleteConstraintInput) (req *request.Request, output *DeleteConstraintOutput) {
op := &request.Operation{
- Name: opSearchProducts,
+ Name: opDeleteConstraint,
HTTPMethod: "POST",
HTTPPath: "/",
}
if input == nil {
- input = &SearchProductsInput{}
+ input = &DeleteConstraintInput{}
}
req = c.newRequest(op, input, output)
- output = &SearchProductsOutput{}
+ output = &DeleteConstraintOutput{}
req.Data = output
return
}
-// SearchProducts API operation for AWS Service Catalog.
-//
-// Returns a paginated list all of the Products objects to which the caller
-// has access.
+// DeleteConstraint API operation for AWS Service Catalog.
//
-// The output of this operation can be used as input for other operations, such
-// as DescribeProductView.
+// Deletes 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
// the error.
//
// See the AWS API reference guide for AWS Service Catalog's
-// API operation SearchProducts for usage and error information.
+// API operation DeleteConstraint for usage and error information.
//
// Returned Error Codes:
+// * ResourceNotFoundException
+// The specified resource was not found.
+//
// * InvalidParametersException
// One or more parameters provided to the operation are invalid.
//
-func (c *ServiceCatalog) SearchProducts(input *SearchProductsInput) (*SearchProductsOutput, error) {
- req, out := c.SearchProductsRequest(input)
+func (c *ServiceCatalog) DeleteConstraint(input *DeleteConstraintInput) (*DeleteConstraintOutput, error) {
+ req, out := c.DeleteConstraintRequest(input)
err := req.Send()
return out, err
}
-const opTerminateProvisionedProduct = "TerminateProvisionedProduct"
+const opDeletePortfolio = "DeletePortfolio"
-// TerminateProvisionedProductRequest generates a "aws/request.Request" representing the
-// client's request for the TerminateProvisionedProduct operation. The "output" return
+// DeletePortfolioRequest generates a "aws/request.Request" representing the
+// client's request for the DeletePortfolio operation. The "output" return
// value can be used to capture response data after the request's "Send" method
// is called.
//
-// See TerminateProvisionedProduct for usage and error information.
+// See DeletePortfolio for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
-// you just want the service response, call the TerminateProvisionedProduct method directly
+// you just want the service response, call the DeletePortfolio method directly
// instead.
//
// Note: You must call the "Send" method on the returned request object in order
// to execute the request.
//
-// // Example sending a request using the TerminateProvisionedProductRequest method.
-// req, resp := client.TerminateProvisionedProductRequest(params)
+// // Example sending a request using the DeletePortfolioRequest method.
+// req, resp := client.DeletePortfolioRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-func (c *ServiceCatalog) TerminateProvisionedProductRequest(input *TerminateProvisionedProductInput) (req *request.Request, output *TerminateProvisionedProductOutput) {
+func (c *ServiceCatalog) DeletePortfolioRequest(input *DeletePortfolioInput) (req *request.Request, output *DeletePortfolioOutput) {
op := &request.Operation{
- Name: opTerminateProvisionedProduct,
+ Name: opDeletePortfolio,
HTTPMethod: "POST",
HTTPPath: "/",
}
if input == nil {
- input = &TerminateProvisionedProductInput{}
+ input = &DeletePortfolioInput{}
}
req = c.newRequest(op, input, output)
- output = &TerminateProvisionedProductOutput{}
+ output = &DeletePortfolioOutput{}
req.Data = output
return
}
-// TerminateProvisionedProduct API operation for AWS Service Catalog.
+// DeletePortfolio 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.
-//
-// This operation does not delete any records associated with the ProvisionedProduct
-// object.
-//
-// You can check the status of this request using the DescribeRecord operation.
+// Deletes the specified portfolio. This operation will not work with a portfolio
+// that has been shared with you or if it has products, users, constraints,
+// or shared accounts associated 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 Service Catalog's
-// API operation TerminateProvisionedProduct for usage and error information.
+// API operation DeletePortfolio for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundException
// The specified resource was not found.
//
-func (c *ServiceCatalog) TerminateProvisionedProduct(input *TerminateProvisionedProductInput) (*TerminateProvisionedProductOutput, error) {
- req, out := c.TerminateProvisionedProductRequest(input)
+// * InvalidParametersException
+// One or more parameters provided to the operation are invalid.
+//
+// * ResourceInUseException
+// The operation was requested against a resource that is currently in use.
+// Free the resource from use and retry the operation.
+//
+func (c *ServiceCatalog) DeletePortfolio(input *DeletePortfolioInput) (*DeletePortfolioOutput, error) {
+ req, out := c.DeletePortfolioRequest(input)
err := req.Send()
return out, err
}
-const opUpdateProvisionedProduct = "UpdateProvisionedProduct"
+const opDeletePortfolioShare = "DeletePortfolioShare"
-// UpdateProvisionedProductRequest generates a "aws/request.Request" representing the
-// client's request for the UpdateProvisionedProduct operation. The "output" return
+// DeletePortfolioShareRequest generates a "aws/request.Request" representing the
+// client's request for the DeletePortfolioShare operation. The "output" return
// value can be used to capture response data after the request's "Send" method
// is called.
//
-// See UpdateProvisionedProduct for usage and error information.
+// See DeletePortfolioShare for usage and error information.
//
// Creating a request object using this method should be used when you want to inject
// custom logic into the request's lifecycle using a custom handler, or if you want to
// access properties on the request object before or after sending the request. If
-// you just want the service response, call the UpdateProvisionedProduct method directly
+// you just want the service response, call the DeletePortfolioShare method directly
// instead.
//
// Note: You must call the "Send" method on the returned request object in order
// to execute the request.
//
-// // Example sending a request using the UpdateProvisionedProductRequest method.
-// req, resp := client.UpdateProvisionedProductRequest(params)
+// // Example sending a request using the DeletePortfolioShareRequest method.
+// req, resp := client.DeletePortfolioShareRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-func (c *ServiceCatalog) UpdateProvisionedProductRequest(input *UpdateProvisionedProductInput) (req *request.Request, output *UpdateProvisionedProductOutput) {
+func (c *ServiceCatalog) DeletePortfolioShareRequest(input *DeletePortfolioShareInput) (req *request.Request, output *DeletePortfolioShareOutput) {
op := &request.Operation{
- Name: opUpdateProvisionedProduct,
+ Name: opDeletePortfolioShare,
HTTPMethod: "POST",
HTTPPath: "/",
}
if input == nil {
- input = &UpdateProvisionedProductInput{}
+ input = &DeletePortfolioShareInput{}
}
req = c.newRequest(op, input, output)
- output = &UpdateProvisionedProductOutput{}
+ output = &DeletePortfolioShareOutput{}
req.Data = output
return
}
-// 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.
+// DeletePortfolioShare API operation for AWS Service Catalog.
//
-// You can check the status of this request using the DescribeRecord operation.
+// Deletes the specified portfolio share.
//
// Returns awserr.Error for service API and SDK errors. Use runtime 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 Service Catalog's
-// API operation UpdateProvisionedProduct for usage and error information.
+// API operation DeletePortfolioShare for usage and error information.
//
// Returned Error Codes:
-// * InvalidParametersException
-// One or more parameters provided to the operation are invalid.
-//
// * ResourceNotFoundException
// The specified resource was not found.
//
-func (c *ServiceCatalog) UpdateProvisionedProduct(input *UpdateProvisionedProductInput) (*UpdateProvisionedProductOutput, error) {
- req, out := c.UpdateProvisionedProductRequest(input)
+func (c *ServiceCatalog) DeletePortfolioShare(input *DeletePortfolioShareInput) (*DeletePortfolioShareOutput, error) {
+ req, out := c.DeletePortfolioShareRequest(input)
err := req.Send()
return out, err
}
+const opDeleteProduct = "DeleteProduct"
+
+// DeleteProductRequest generates a "aws/request.Request" representing the
+// client's request for the DeleteProduct operation. The "output" return
+// value can be used to capture response data after the request's "Send" method
+// is called.
+//
+// See DeleteProduct for usage and error information.
+//
+// Creating a request object using this method should be used when you want to inject
+// custom logic into the request's lifecycle using a custom handler, or if you want to
+// access properties on the request object before or after sending the request. If
+// you just want the service response, call the DeleteProduct method directly
+// instead.
+//
+// Note: You must call the "Send" method on the returned request object in order
+// to execute the request.
+//
+// // Example sending a request using the DeleteProductRequest method.
+// req, resp := client.DeleteProductRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+func (c *ServiceCatalog) DeleteProductRequest(input *DeleteProductInput) (req *request.Request, output *DeleteProductOutput) {
+ op := &request.Operation{
+ Name: opDeleteProduct,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &DeleteProductInput{}
+ }
+
+ req = c.newRequest(op, input, output)
+ output = &DeleteProductOutput{}
+ req.Data = output
+ return
+}
+
+// DeleteProduct API operation for AWS Service Catalog.
+//
+// Deletes the specified product. This operation will not work with a product
+// that has been 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
+// the error.
+//
+// See the AWS API reference guide for AWS Service Catalog's
+// API operation DeleteProduct for usage and error information.
+//
+// Returned Error Codes:
+// * ResourceNotFoundException
+// The specified resource was not found.
+//
+// * ResourceInUseException
+// The operation was requested against a resource that is currently in use.
+// Free the resource from use and retry the operation.
+//
+// * InvalidParametersException
+// One or more parameters provided to the operation are invalid.
+//
+func (c *ServiceCatalog) DeleteProduct(input *DeleteProductInput) (*DeleteProductOutput, error) {
+ req, out := c.DeleteProductRequest(input)
+ err := req.Send()
+ return out, err
+}
+
+const opDeleteProvisioningArtifact = "DeleteProvisioningArtifact"
+
+// DeleteProvisioningArtifactRequest generates a "aws/request.Request" representing the
+// client's request for the DeleteProvisioningArtifact operation. The "output" return
+// value can be used to capture response data after the request's "Send" method
+// is called.
+//
+// See DeleteProvisioningArtifact for usage and error information.
+//
+// Creating a request object using this method should be used when you want to inject
+// custom logic into the request's lifecycle using a custom handler, or if you want to
+// access properties on the request object before or after sending the request. If
+// you just want the service response, call the DeleteProvisioningArtifact method directly
+// instead.
+//
+// Note: You must call the "Send" method on the returned request object in order
+// to execute the request.
+//
+// // Example sending a request using the DeleteProvisioningArtifactRequest method.
+// req, resp := client.DeleteProvisioningArtifactRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+func (c *ServiceCatalog) DeleteProvisioningArtifactRequest(input *DeleteProvisioningArtifactInput) (req *request.Request, output *DeleteProvisioningArtifactOutput) {
+ op := &request.Operation{
+ Name: opDeleteProvisioningArtifact,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &DeleteProvisioningArtifactInput{}
+ }
+
+ req = c.newRequest(op, input, output)
+ output = &DeleteProvisioningArtifactOutput{}
+ req.Data = output
+ return
+}
+
+// DeleteProvisioningArtifact API operation for AWS Service Catalog.
+//
+// Deletes the specified provisioning artifact. This operation will 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).
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime 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 Service Catalog's
+// API operation DeleteProvisioningArtifact for usage and error information.
+//
+// Returned Error Codes:
+// * ResourceNotFoundException
+// The specified resource was not found.
+//
+// * ResourceInUseException
+// The operation was requested against a resource that is currently in use.
+// Free the resource from use and retry the operation.
+//
+// * InvalidParametersException
+// One or more parameters provided to the operation are invalid.
+//
+func (c *ServiceCatalog) DeleteProvisioningArtifact(input *DeleteProvisioningArtifactInput) (*DeleteProvisioningArtifactOutput, error) {
+ req, out := c.DeleteProvisioningArtifactRequest(input)
+ err := req.Send()
+ return out, err
+}
+
+const opDescribeConstraint = "DescribeConstraint"
+
+// DescribeConstraintRequest generates a "aws/request.Request" representing the
+// client's request for the DescribeConstraint operation. The "output" return
+// value can be used to capture response data after the request's "Send" method
+// is called.
+//
+// See DescribeConstraint for usage and error information.
+//
+// Creating a request object using this method should be used when you want to inject
+// custom logic into the request's lifecycle using a custom handler, or if you want to
+// access properties on the request object before or after sending the request. If
+// you just want the service response, call the DescribeConstraint method directly
+// instead.
+//
+// Note: You must call the "Send" method on the returned request object in order
+// to execute the request.
+//
+// // Example sending a request using the DescribeConstraintRequest method.
+// req, resp := client.DescribeConstraintRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+func (c *ServiceCatalog) DescribeConstraintRequest(input *DescribeConstraintInput) (req *request.Request, output *DescribeConstraintOutput) {
+ op := &request.Operation{
+ Name: opDescribeConstraint,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &DescribeConstraintInput{}
+ }
+
+ req = c.newRequest(op, input, output)
+ output = &DescribeConstraintOutput{}
+ req.Data = output
+ return
+}
+
+// DescribeConstraint API operation for AWS Service Catalog.
+//
+// Retrieves detailed information for a 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
+// the error.
+//
+// See the AWS API reference guide for AWS Service Catalog's
+// API operation DescribeConstraint for usage and error information.
+//
+// Returned Error Codes:
+// * ResourceNotFoundException
+// The specified resource was not found.
+//
+func (c *ServiceCatalog) DescribeConstraint(input *DescribeConstraintInput) (*DescribeConstraintOutput, error) {
+ req, out := c.DescribeConstraintRequest(input)
+ err := req.Send()
+ return out, err
+}
+
+const opDescribePortfolio = "DescribePortfolio"
+
+// DescribePortfolioRequest generates a "aws/request.Request" representing the
+// client's request for the DescribePortfolio operation. The "output" return
+// value can be used to capture response data after the request's "Send" method
+// is called.
+//
+// See DescribePortfolio for usage and error information.
+//
+// Creating a request object using this method should be used when you want to inject
+// custom logic into the request's lifecycle using a custom handler, or if you want to
+// access properties on the request object before or after sending the request. If
+// you just want the service response, call the DescribePortfolio method directly
+// instead.
+//
+// Note: You must call the "Send" method on the returned request object in order
+// to execute the request.
+//
+// // Example sending a request using the DescribePortfolioRequest method.
+// req, resp := client.DescribePortfolioRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+func (c *ServiceCatalog) DescribePortfolioRequest(input *DescribePortfolioInput) (req *request.Request, output *DescribePortfolioOutput) {
+ op := &request.Operation{
+ Name: opDescribePortfolio,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &DescribePortfolioInput{}
+ }
+
+ req = c.newRequest(op, input, output)
+ output = &DescribePortfolioOutput{}
+ req.Data = output
+ return
+}
+
+// DescribePortfolio API operation for AWS Service Catalog.
+//
+// Retrieves detailed information and any tags associated 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
+// the error.
+//
+// See the AWS API reference guide for AWS Service Catalog's
+// API operation DescribePortfolio for usage and error information.
+//
+// Returned Error Codes:
+// * ResourceNotFoundException
+// The specified resource was not found.
+//
+func (c *ServiceCatalog) DescribePortfolio(input *DescribePortfolioInput) (*DescribePortfolioOutput, error) {
+ req, out := c.DescribePortfolioRequest(input)
+ err := req.Send()
+ return out, err
+}
+
+const opDescribeProduct = "DescribeProduct"
+
+// DescribeProductRequest generates a "aws/request.Request" representing the
+// client's request for the DescribeProduct operation. The "output" return
+// value can be used to capture response data after the request's "Send" method
+// is called.
+//
+// See DescribeProduct for usage and error information.
+//
+// Creating a request object using this method should be used when you want to inject
+// custom logic into the request's lifecycle using a custom handler, or if you want to
+// access properties on the request object before or after sending the request. If
+// you just want the service response, call the DescribeProduct method directly
+// instead.
+//
+// Note: You must call the "Send" method on the returned request object in order
+// to execute the request.
+//
+// // Example sending a request using the DescribeProductRequest method.
+// req, resp := client.DescribeProductRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+func (c *ServiceCatalog) DescribeProductRequest(input *DescribeProductInput) (req *request.Request, output *DescribeProductOutput) {
+ op := &request.Operation{
+ Name: opDescribeProduct,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &DescribeProductInput{}
+ }
+
+ req = c.newRequest(op, input, output)
+ output = &DescribeProductOutput{}
+ req.Data = output
+ return
+}
+
+// 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.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime 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 Service Catalog's
+// API operation DescribeProduct for usage and error information.
+//
+// Returned Error Codes:
+// * ResourceNotFoundException
+// The specified resource was not found.
+//
+// * InvalidParametersException
+// One or more parameters provided to the operation are invalid.
+//
+func (c *ServiceCatalog) DescribeProduct(input *DescribeProductInput) (*DescribeProductOutput, error) {
+ req, out := c.DescribeProductRequest(input)
+ err := req.Send()
+ return out, err
+}
+
+const opDescribeProductAsAdmin = "DescribeProductAsAdmin"
+
+// DescribeProductAsAdminRequest generates a "aws/request.Request" representing the
+// client's request for the DescribeProductAsAdmin operation. The "output" return
+// value can be used to capture response data after the request's "Send" method
+// is called.
+//
+// See DescribeProductAsAdmin for usage and error information.
+//
+// Creating a request object using this method should be used when you want to inject
+// custom logic into the request's lifecycle using a custom handler, or if you want to
+// access properties on the request object before or after sending the request. If
+// you just want the service response, call the DescribeProductAsAdmin method directly
+// instead.
+//
+// Note: You must call the "Send" method on the returned request object in order
+// to execute the request.
+//
+// // Example sending a request using the DescribeProductAsAdminRequest method.
+// req, resp := client.DescribeProductAsAdminRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+func (c *ServiceCatalog) DescribeProductAsAdminRequest(input *DescribeProductAsAdminInput) (req *request.Request, output *DescribeProductAsAdminOutput) {
+ op := &request.Operation{
+ Name: opDescribeProductAsAdmin,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &DescribeProductAsAdminInput{}
+ }
+
+ req = c.newRequest(op, input, output)
+ output = &DescribeProductAsAdminOutput{}
+ req.Data = output
+ return
+}
+
+// DescribeProductAsAdmin API operation for AWS Service Catalog.
+//
+// Retrieves information about a specified product, 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
+// the error.
+//
+// See the AWS API reference guide for AWS Service Catalog's
+// API operation DescribeProductAsAdmin for usage and error information.
+//
+// Returned Error Codes:
+// * ResourceNotFoundException
+// The specified resource was not found.
+//
+func (c *ServiceCatalog) DescribeProductAsAdmin(input *DescribeProductAsAdminInput) (*DescribeProductAsAdminOutput, error) {
+ req, out := c.DescribeProductAsAdminRequest(input)
+ err := req.Send()
+ return out, err
+}
+
+const opDescribeProductView = "DescribeProductView"
+
+// DescribeProductViewRequest generates a "aws/request.Request" representing the
+// client's request for the DescribeProductView operation. The "output" return
+// value can be used to capture response data after the request's "Send" method
+// is called.
+//
+// See DescribeProductView for usage and error information.
+//
+// Creating a request object using this method should be used when you want to inject
+// custom logic into the request's lifecycle using a custom handler, or if you want to
+// access properties on the request object before or after sending the request. If
+// you just want the service response, call the DescribeProductView method directly
+// instead.
+//
+// Note: You must call the "Send" method on the returned request object in order
+// to execute the request.
+//
+// // Example sending a request using the DescribeProductViewRequest method.
+// req, resp := client.DescribeProductViewRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+func (c *ServiceCatalog) DescribeProductViewRequest(input *DescribeProductViewInput) (req *request.Request, output *DescribeProductViewOutput) {
+ op := &request.Operation{
+ Name: opDescribeProductView,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &DescribeProductViewInput{}
+ }
+
+ req = c.newRequest(op, input, output)
+ output = &DescribeProductViewOutput{}
+ req.Data = output
+ return
+}
+
+// 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.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime 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 Service Catalog's
+// API operation DescribeProductView for usage and error information.
+//
+// Returned Error Codes:
+// * ResourceNotFoundException
+// The specified resource was not found.
+//
+// * InvalidParametersException
+// One or more parameters provided to the operation are invalid.
+//
+func (c *ServiceCatalog) DescribeProductView(input *DescribeProductViewInput) (*DescribeProductViewOutput, error) {
+ req, out := c.DescribeProductViewRequest(input)
+ err := req.Send()
+ return out, err
+}
+
+const opDescribeProvisioningArtifact = "DescribeProvisioningArtifact"
+
+// DescribeProvisioningArtifactRequest generates a "aws/request.Request" representing the
+// client's request for the DescribeProvisioningArtifact operation. The "output" return
+// value can be used to capture response data after the request's "Send" method
+// is called.
+//
+// See DescribeProvisioningArtifact for usage and error information.
+//
+// Creating a request object using this method should be used when you want to inject
+// custom logic into the request's lifecycle using a custom handler, or if you want to
+// access properties on the request object before or after sending the request. If
+// you just want the service response, call the DescribeProvisioningArtifact method directly
+// instead.
+//
+// Note: You must call the "Send" method on the returned request object in order
+// to execute the request.
+//
+// // Example sending a request using the DescribeProvisioningArtifactRequest method.
+// req, resp := client.DescribeProvisioningArtifactRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+func (c *ServiceCatalog) DescribeProvisioningArtifactRequest(input *DescribeProvisioningArtifactInput) (req *request.Request, output *DescribeProvisioningArtifactOutput) {
+ op := &request.Operation{
+ Name: opDescribeProvisioningArtifact,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &DescribeProvisioningArtifactInput{}
+ }
+
+ req = c.newRequest(op, input, output)
+ output = &DescribeProvisioningArtifactOutput{}
+ req.Data = output
+ return
+}
+
+// DescribeProvisioningArtifact API operation for AWS Service Catalog.
+//
+// Retrieves detailed information about the specified 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
+// the error.
+//
+// See the AWS API reference guide for AWS Service Catalog's
+// API operation DescribeProvisioningArtifact for usage and error information.
+//
+// Returned Error Codes:
+// * ResourceNotFoundException
+// The specified resource was not found.
+//
+func (c *ServiceCatalog) DescribeProvisioningArtifact(input *DescribeProvisioningArtifactInput) (*DescribeProvisioningArtifactOutput, error) {
+ req, out := c.DescribeProvisioningArtifactRequest(input)
+ err := req.Send()
+ return out, err
+}
+
+const opDescribeProvisioningParameters = "DescribeProvisioningParameters"
+
+// DescribeProvisioningParametersRequest generates a "aws/request.Request" representing the
+// client's request for the DescribeProvisioningParameters operation. The "output" return
+// value can be used to capture response data after the request's "Send" method
+// is called.
+//
+// See DescribeProvisioningParameters for usage and error information.
+//
+// Creating a request object using this method should be used when you want to inject
+// custom logic into the request's lifecycle using a custom handler, or if you want to
+// access properties on the request object before or after sending the request. If
+// you just want the service response, call the DescribeProvisioningParameters method directly
+// instead.
+//
+// Note: You must call the "Send" method on the returned request object in order
+// to execute the request.
+//
+// // Example sending a request using the DescribeProvisioningParametersRequest method.
+// req, resp := client.DescribeProvisioningParametersRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+func (c *ServiceCatalog) DescribeProvisioningParametersRequest(input *DescribeProvisioningParametersInput) (req *request.Request, output *DescribeProvisioningParametersOutput) {
+ op := &request.Operation{
+ Name: opDescribeProvisioningParameters,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &DescribeProvisioningParametersInput{}
+ }
+
+ req = c.newRequest(op, input, output)
+ output = &DescribeProvisioningParametersOutput{}
+ req.Data = output
+ return
+}
+
+// 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.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime 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 Service Catalog's
+// API operation DescribeProvisioningParameters for usage and error information.
+//
+// Returned Error Codes:
+// * InvalidParametersException
+// One or more parameters provided to the operation are invalid.
+//
+// * ResourceNotFoundException
+// The specified resource was not found.
+//
+func (c *ServiceCatalog) DescribeProvisioningParameters(input *DescribeProvisioningParametersInput) (*DescribeProvisioningParametersOutput, error) {
+ req, out := c.DescribeProvisioningParametersRequest(input)
+ err := req.Send()
+ return out, err
+}
+
+const opDescribeRecord = "DescribeRecord"
+
+// DescribeRecordRequest generates a "aws/request.Request" representing the
+// client's request for the DescribeRecord operation. The "output" return
+// value can be used to capture response data after the request's "Send" method
+// is called.
+//
+// See DescribeRecord for usage and error information.
+//
+// Creating a request object using this method should be used when you want to inject
+// custom logic into the request's lifecycle using a custom handler, or if you want to
+// access properties on the request object before or after sending the request. If
+// you just want the service response, call the DescribeRecord method directly
+// instead.
+//
+// Note: You must call the "Send" method on the returned request object in order
+// to execute the request.
+//
+// // Example sending a request using the DescribeRecordRequest method.
+// req, resp := client.DescribeRecordRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+func (c *ServiceCatalog) DescribeRecordRequest(input *DescribeRecordInput) (req *request.Request, output *DescribeRecordOutput) {
+ op := &request.Operation{
+ Name: opDescribeRecord,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &DescribeRecordInput{}
+ }
+
+ req = c.newRequest(op, input, output)
+ output = &DescribeRecordOutput{}
+ req.Data = output
+ return
+}
+
+// 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).
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime 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 Service Catalog's
+// API operation DescribeRecord for usage and error information.
+//
+// Returned Error Codes:
+// * ResourceNotFoundException
+// The specified resource was not found.
+//
+func (c *ServiceCatalog) DescribeRecord(input *DescribeRecordInput) (*DescribeRecordOutput, error) {
+ req, out := c.DescribeRecordRequest(input)
+ err := req.Send()
+ return out, err
+}
+
+const opDisassociatePrincipalFromPortfolio = "DisassociatePrincipalFromPortfolio"
+
+// DisassociatePrincipalFromPortfolioRequest generates a "aws/request.Request" representing the
+// client's request for the DisassociatePrincipalFromPortfolio operation. The "output" return
+// value can be used to capture response data after the request's "Send" method
+// is called.
+//
+// See DisassociatePrincipalFromPortfolio for usage and error information.
+//
+// Creating a request object using this method should be used when you want to inject
+// custom logic into the request's lifecycle using a custom handler, or if you want to
+// access properties on the request object before or after sending the request. If
+// you just want the service response, call the DisassociatePrincipalFromPortfolio method directly
+// instead.
+//
+// Note: You must call the "Send" method on the returned request object in order
+// to execute the request.
+//
+// // Example sending a request using the DisassociatePrincipalFromPortfolioRequest method.
+// req, resp := client.DisassociatePrincipalFromPortfolioRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+func (c *ServiceCatalog) DisassociatePrincipalFromPortfolioRequest(input *DisassociatePrincipalFromPortfolioInput) (req *request.Request, output *DisassociatePrincipalFromPortfolioOutput) {
+ op := &request.Operation{
+ Name: opDisassociatePrincipalFromPortfolio,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &DisassociatePrincipalFromPortfolioInput{}
+ }
+
+ req = c.newRequest(op, input, output)
+ output = &DisassociatePrincipalFromPortfolioOutput{}
+ req.Data = output
+ return
+}
+
+// DisassociatePrincipalFromPortfolio API operation for AWS Service Catalog.
+//
+// Disassociates a previously associated principal ARN from a 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
+// the error.
+//
+// See the AWS API reference guide for AWS Service Catalog's
+// API operation DisassociatePrincipalFromPortfolio for usage and error information.
+//
+// Returned Error Codes:
+// * InvalidParametersException
+// One or more parameters provided to the operation are invalid.
+//
+// * ResourceNotFoundException
+// The specified resource was not found.
+//
+func (c *ServiceCatalog) DisassociatePrincipalFromPortfolio(input *DisassociatePrincipalFromPortfolioInput) (*DisassociatePrincipalFromPortfolioOutput, error) {
+ req, out := c.DisassociatePrincipalFromPortfolioRequest(input)
+ err := req.Send()
+ return out, err
+}
+
+const opDisassociateProductFromPortfolio = "DisassociateProductFromPortfolio"
+
+// DisassociateProductFromPortfolioRequest generates a "aws/request.Request" representing the
+// client's request for the DisassociateProductFromPortfolio operation. The "output" return
+// value can be used to capture response data after the request's "Send" method
+// is called.
+//
+// See DisassociateProductFromPortfolio for usage and error information.
+//
+// Creating a request object using this method should be used when you want to inject
+// custom logic into the request's lifecycle using a custom handler, or if you want to
+// access properties on the request object before or after sending the request. If
+// you just want the service response, call the DisassociateProductFromPortfolio method directly
+// instead.
+//
+// Note: You must call the "Send" method on the returned request object in order
+// to execute the request.
+//
+// // Example sending a request using the DisassociateProductFromPortfolioRequest method.
+// req, resp := client.DisassociateProductFromPortfolioRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+func (c *ServiceCatalog) DisassociateProductFromPortfolioRequest(input *DisassociateProductFromPortfolioInput) (req *request.Request, output *DisassociateProductFromPortfolioOutput) {
+ op := &request.Operation{
+ Name: opDisassociateProductFromPortfolio,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &DisassociateProductFromPortfolioInput{}
+ }
+
+ req = c.newRequest(op, input, output)
+ output = &DisassociateProductFromPortfolioOutput{}
+ req.Data = output
+ return
+}
+
+// DisassociateProductFromPortfolio API operation for AWS Service Catalog.
+//
+// Disassociates the specified product from 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
+// the error.
+//
+// See the AWS API reference guide for AWS Service Catalog's
+// API operation DisassociateProductFromPortfolio for usage and error information.
+//
+// Returned Error Codes:
+// * ResourceNotFoundException
+// The specified resource was not found.
+//
+// * InvalidParametersException
+// One or more parameters provided to the operation are invalid.
+//
+func (c *ServiceCatalog) DisassociateProductFromPortfolio(input *DisassociateProductFromPortfolioInput) (*DisassociateProductFromPortfolioOutput, error) {
+ req, out := c.DisassociateProductFromPortfolioRequest(input)
+ err := req.Send()
+ return out, err
+}
+
+const opListAcceptedPortfolioShares = "ListAcceptedPortfolioShares"
+
+// ListAcceptedPortfolioSharesRequest generates a "aws/request.Request" representing the
+// client's request for the ListAcceptedPortfolioShares operation. The "output" return
+// value can be used to capture response data after the request's "Send" method
+// is called.
+//
+// See ListAcceptedPortfolioShares for usage and error information.
+//
+// Creating a request object using this method should be used when you want to inject
+// custom logic into the request's lifecycle using a custom handler, or if you want to
+// access properties on the request object before or after sending the request. If
+// you just want the service response, call the ListAcceptedPortfolioShares method directly
+// instead.
+//
+// Note: You must call the "Send" method on the returned request object in order
+// to execute the request.
+//
+// // Example sending a request using the ListAcceptedPortfolioSharesRequest method.
+// req, resp := client.ListAcceptedPortfolioSharesRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+func (c *ServiceCatalog) ListAcceptedPortfolioSharesRequest(input *ListAcceptedPortfolioSharesInput) (req *request.Request, output *ListAcceptedPortfolioSharesOutput) {
+ op := &request.Operation{
+ Name: opListAcceptedPortfolioShares,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &ListAcceptedPortfolioSharesInput{}
+ }
+
+ req = c.newRequest(op, input, output)
+ output = &ListAcceptedPortfolioSharesOutput{}
+ req.Data = output
+ return
+}
+
+// ListAcceptedPortfolioShares API operation for AWS Service Catalog.
+//
+// Lists details of 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
+// the error.
+//
+// See the AWS API reference guide for AWS Service Catalog's
+// API operation ListAcceptedPortfolioShares for usage and error information.
+//
+// Returned Error Codes:
+// * InvalidParametersException
+// One or more parameters provided to the operation are invalid.
+//
+func (c *ServiceCatalog) ListAcceptedPortfolioShares(input *ListAcceptedPortfolioSharesInput) (*ListAcceptedPortfolioSharesOutput, error) {
+ req, out := c.ListAcceptedPortfolioSharesRequest(input)
+ err := req.Send()
+ return out, err
+}
+
+const opListConstraintsForPortfolio = "ListConstraintsForPortfolio"
+
+// ListConstraintsForPortfolioRequest generates a "aws/request.Request" representing the
+// client's request for the ListConstraintsForPortfolio operation. The "output" return
+// value can be used to capture response data after the request's "Send" method
+// is called.
+//
+// See ListConstraintsForPortfolio for usage and error information.
+//
+// Creating a request object using this method should be used when you want to inject
+// custom logic into the request's lifecycle using a custom handler, or if you want to
+// access properties on the request object before or after sending the request. If
+// you just want the service response, call the ListConstraintsForPortfolio method directly
+// instead.
+//
+// Note: You must call the "Send" method on the returned request object in order
+// to execute the request.
+//
+// // Example sending a request using the ListConstraintsForPortfolioRequest method.
+// req, resp := client.ListConstraintsForPortfolioRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+func (c *ServiceCatalog) ListConstraintsForPortfolioRequest(input *ListConstraintsForPortfolioInput) (req *request.Request, output *ListConstraintsForPortfolioOutput) {
+ op := &request.Operation{
+ Name: opListConstraintsForPortfolio,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &ListConstraintsForPortfolioInput{}
+ }
+
+ req = c.newRequest(op, input, output)
+ output = &ListConstraintsForPortfolioOutput{}
+ req.Data = output
+ return
+}
+
+// ListConstraintsForPortfolio API operation for AWS Service Catalog.
+//
+// Retrieves detailed constraint information 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
+// the error.
+//
+// See the AWS API reference guide for AWS Service Catalog's
+// API operation ListConstraintsForPortfolio for usage and error information.
+//
+// Returned Error Codes:
+// * ResourceNotFoundException
+// The specified resource was not found.
+//
+// * InvalidParametersException
+// One or more parameters provided to the operation are invalid.
+//
+func (c *ServiceCatalog) ListConstraintsForPortfolio(input *ListConstraintsForPortfolioInput) (*ListConstraintsForPortfolioOutput, error) {
+ req, out := c.ListConstraintsForPortfolioRequest(input)
+ err := req.Send()
+ return out, err
+}
+
+const opListLaunchPaths = "ListLaunchPaths"
+
+// ListLaunchPathsRequest generates a "aws/request.Request" representing the
+// client's request for the ListLaunchPaths operation. The "output" return
+// value can be used to capture response data after the request's "Send" method
+// is called.
+//
+// See ListLaunchPaths for usage and error information.
+//
+// Creating a request object using this method should be used when you want to inject
+// custom logic into the request's lifecycle using a custom handler, or if you want to
+// access properties on the request object before or after sending the request. If
+// you just want the service response, call the ListLaunchPaths method directly
+// instead.
+//
+// Note: You must call the "Send" method on the returned request object in order
+// to execute the request.
+//
+// // Example sending a request using the ListLaunchPathsRequest method.
+// req, resp := client.ListLaunchPathsRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+func (c *ServiceCatalog) ListLaunchPathsRequest(input *ListLaunchPathsInput) (req *request.Request, output *ListLaunchPathsOutput) {
+ op := &request.Operation{
+ Name: opListLaunchPaths,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &ListLaunchPathsInput{}
+ }
+
+ req = c.newRequest(op, input, output)
+ output = &ListLaunchPathsOutput{}
+ req.Data = output
+ return
+}
+
+// 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.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime 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 Service Catalog's
+// API operation ListLaunchPaths for usage and error information.
+//
+// Returned Error Codes:
+// * InvalidParametersException
+// One or more parameters provided to the operation are invalid.
+//
+// * ResourceNotFoundException
+// The specified resource was not found.
+//
+func (c *ServiceCatalog) ListLaunchPaths(input *ListLaunchPathsInput) (*ListLaunchPathsOutput, error) {
+ req, out := c.ListLaunchPathsRequest(input)
+ err := req.Send()
+ return out, err
+}
+
+const opListPortfolioAccess = "ListPortfolioAccess"
+
+// ListPortfolioAccessRequest generates a "aws/request.Request" representing the
+// client's request for the ListPortfolioAccess operation. The "output" return
+// value can be used to capture response data after the request's "Send" method
+// is called.
+//
+// See ListPortfolioAccess for usage and error information.
+//
+// Creating a request object using this method should be used when you want to inject
+// custom logic into the request's lifecycle using a custom handler, or if you want to
+// access properties on the request object before or after sending the request. If
+// you just want the service response, call the ListPortfolioAccess method directly
+// instead.
+//
+// Note: You must call the "Send" method on the returned request object in order
+// to execute the request.
+//
+// // Example sending a request using the ListPortfolioAccessRequest method.
+// req, resp := client.ListPortfolioAccessRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+func (c *ServiceCatalog) ListPortfolioAccessRequest(input *ListPortfolioAccessInput) (req *request.Request, output *ListPortfolioAccessOutput) {
+ op := &request.Operation{
+ Name: opListPortfolioAccess,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &ListPortfolioAccessInput{}
+ }
+
+ req = c.newRequest(op, input, output)
+ output = &ListPortfolioAccessOutput{}
+ req.Data = output
+ return
+}
+
+// ListPortfolioAccess API operation for AWS Service Catalog.
+//
+// Lists the account IDs that have been authorized sharing of 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
+// the error.
+//
+// See the AWS API reference guide for AWS Service Catalog's
+// API operation ListPortfolioAccess for usage and error information.
+//
+// Returned Error Codes:
+// * ResourceNotFoundException
+// The specified resource was not found.
+//
+func (c *ServiceCatalog) ListPortfolioAccess(input *ListPortfolioAccessInput) (*ListPortfolioAccessOutput, error) {
+ req, out := c.ListPortfolioAccessRequest(input)
+ err := req.Send()
+ return out, err
+}
+
+const opListPortfolios = "ListPortfolios"
+
+// ListPortfoliosRequest generates a "aws/request.Request" representing the
+// client's request for the ListPortfolios operation. The "output" return
+// value can be used to capture response data after the request's "Send" method
+// is called.
+//
+// See ListPortfolios for usage and error information.
+//
+// Creating a request object using this method should be used when you want to inject
+// custom logic into the request's lifecycle using a custom handler, or if you want to
+// access properties on the request object before or after sending the request. If
+// you just want the service response, call the ListPortfolios method directly
+// instead.
+//
+// Note: You must call the "Send" method on the returned request object in order
+// to execute the request.
+//
+// // Example sending a request using the ListPortfoliosRequest method.
+// req, resp := client.ListPortfoliosRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+func (c *ServiceCatalog) ListPortfoliosRequest(input *ListPortfoliosInput) (req *request.Request, output *ListPortfoliosOutput) {
+ op := &request.Operation{
+ Name: opListPortfolios,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &ListPortfoliosInput{}
+ }
+
+ req = c.newRequest(op, input, output)
+ output = &ListPortfoliosOutput{}
+ req.Data = output
+ return
+}
+
+// ListPortfolios API operation for AWS Service Catalog.
+//
+// Lists all portfolios in the 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
+// the error.
+//
+// See the AWS API reference guide for AWS Service Catalog's
+// API operation ListPortfolios for usage and error information.
+//
+// Returned Error Codes:
+// * InvalidParametersException
+// One or more parameters provided to the operation are invalid.
+//
+func (c *ServiceCatalog) ListPortfolios(input *ListPortfoliosInput) (*ListPortfoliosOutput, error) {
+ req, out := c.ListPortfoliosRequest(input)
+ err := req.Send()
+ return out, err
+}
+
+const opListPortfoliosForProduct = "ListPortfoliosForProduct"
+
+// ListPortfoliosForProductRequest generates a "aws/request.Request" representing the
+// client's request for the ListPortfoliosForProduct operation. The "output" return
+// value can be used to capture response data after the request's "Send" method
+// is called.
+//
+// See ListPortfoliosForProduct for usage and error information.
+//
+// Creating a request object using this method should be used when you want to inject
+// custom logic into the request's lifecycle using a custom handler, or if you want to
+// access properties on the request object before or after sending the request. If
+// you just want the service response, call the ListPortfoliosForProduct method directly
+// instead.
+//
+// Note: You must call the "Send" method on the returned request object in order
+// to execute the request.
+//
+// // Example sending a request using the ListPortfoliosForProductRequest method.
+// req, resp := client.ListPortfoliosForProductRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+func (c *ServiceCatalog) ListPortfoliosForProductRequest(input *ListPortfoliosForProductInput) (req *request.Request, output *ListPortfoliosForProductOutput) {
+ op := &request.Operation{
+ Name: opListPortfoliosForProduct,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &ListPortfoliosForProductInput{}
+ }
+
+ req = c.newRequest(op, input, output)
+ output = &ListPortfoliosForProductOutput{}
+ req.Data = output
+ return
+}
+
+// ListPortfoliosForProduct API operation for AWS Service Catalog.
+//
+// Lists all portfolios that the specified product is associated with.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime 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 Service Catalog's
+// API operation ListPortfoliosForProduct for usage and error information.
+//
+// Returned Error Codes:
+// * InvalidParametersException
+// One or more parameters provided to the operation are invalid.
+//
+// * ResourceNotFoundException
+// The specified resource was not found.
+//
+func (c *ServiceCatalog) ListPortfoliosForProduct(input *ListPortfoliosForProductInput) (*ListPortfoliosForProductOutput, error) {
+ req, out := c.ListPortfoliosForProductRequest(input)
+ err := req.Send()
+ return out, err
+}
+
+const opListPrincipalsForPortfolio = "ListPrincipalsForPortfolio"
+
+// ListPrincipalsForPortfolioRequest generates a "aws/request.Request" representing the
+// client's request for the ListPrincipalsForPortfolio operation. The "output" return
+// value can be used to capture response data after the request's "Send" method
+// is called.
+//
+// See ListPrincipalsForPortfolio for usage and error information.
+//
+// Creating a request object using this method should be used when you want to inject
+// custom logic into the request's lifecycle using a custom handler, or if you want to
+// access properties on the request object before or after sending the request. If
+// you just want the service response, call the ListPrincipalsForPortfolio method directly
+// instead.
+//
+// Note: You must call the "Send" method on the returned request object in order
+// to execute the request.
+//
+// // Example sending a request using the ListPrincipalsForPortfolioRequest method.
+// req, resp := client.ListPrincipalsForPortfolioRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+func (c *ServiceCatalog) ListPrincipalsForPortfolioRequest(input *ListPrincipalsForPortfolioInput) (req *request.Request, output *ListPrincipalsForPortfolioOutput) {
+ op := &request.Operation{
+ Name: opListPrincipalsForPortfolio,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &ListPrincipalsForPortfolioInput{}
+ }
+
+ req = c.newRequest(op, input, output)
+ output = &ListPrincipalsForPortfolioOutput{}
+ req.Data = output
+ return
+}
+
+// ListPrincipalsForPortfolio API operation for AWS Service Catalog.
+//
+// Lists all principal ARNs associated 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
+// the error.
+//
+// See the AWS API reference guide for AWS Service Catalog's
+// API operation ListPrincipalsForPortfolio for usage and error information.
+//
+// Returned Error Codes:
+// * ResourceNotFoundException
+// The specified resource was not found.
+//
+// * InvalidParametersException
+// One or more parameters provided to the operation are invalid.
+//
+func (c *ServiceCatalog) ListPrincipalsForPortfolio(input *ListPrincipalsForPortfolioInput) (*ListPrincipalsForPortfolioOutput, error) {
+ req, out := c.ListPrincipalsForPortfolioRequest(input)
+ err := req.Send()
+ return out, err
+}
+
+const opListProvisioningArtifacts = "ListProvisioningArtifacts"
+
+// ListProvisioningArtifactsRequest generates a "aws/request.Request" representing the
+// client's request for the ListProvisioningArtifacts operation. The "output" return
+// value can be used to capture response data after the request's "Send" method
+// is called.
+//
+// See ListProvisioningArtifacts for usage and error information.
+//
+// Creating a request object using this method should be used when you want to inject
+// custom logic into the request's lifecycle using a custom handler, or if you want to
+// access properties on the request object before or after sending the request. If
+// you just want the service response, call the ListProvisioningArtifacts method directly
+// instead.
+//
+// Note: You must call the "Send" method on the returned request object in order
+// to execute the request.
+//
+// // Example sending a request using the ListProvisioningArtifactsRequest method.
+// req, resp := client.ListProvisioningArtifactsRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+func (c *ServiceCatalog) ListProvisioningArtifactsRequest(input *ListProvisioningArtifactsInput) (req *request.Request, output *ListProvisioningArtifactsOutput) {
+ op := &request.Operation{
+ Name: opListProvisioningArtifacts,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &ListProvisioningArtifactsInput{}
+ }
+
+ req = c.newRequest(op, input, output)
+ output = &ListProvisioningArtifactsOutput{}
+ req.Data = output
+ return
+}
+
+// ListProvisioningArtifacts API operation for AWS Service Catalog.
+//
+// Lists all provisioning artifacts associated with 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
+// the error.
+//
+// See the AWS API reference guide for AWS Service Catalog's
+// API operation ListProvisioningArtifacts for usage and error information.
+//
+// Returned Error Codes:
+// * ResourceNotFoundException
+// The specified resource was not found.
+//
+// * InvalidParametersException
+// One or more parameters provided to the operation are invalid.
+//
+func (c *ServiceCatalog) ListProvisioningArtifacts(input *ListProvisioningArtifactsInput) (*ListProvisioningArtifactsOutput, error) {
+ req, out := c.ListProvisioningArtifactsRequest(input)
+ err := req.Send()
+ return out, err
+}
+
+const opListRecordHistory = "ListRecordHistory"
+
+// ListRecordHistoryRequest generates a "aws/request.Request" representing the
+// client's request for the ListRecordHistory operation. The "output" return
+// value can be used to capture response data after the request's "Send" method
+// is called.
+//
+// See ListRecordHistory for usage and error information.
+//
+// Creating a request object using this method should be used when you want to inject
+// custom logic into the request's lifecycle using a custom handler, or if you want to
+// access properties on the request object before or after sending the request. If
+// you just want the service response, call the ListRecordHistory method directly
+// instead.
+//
+// Note: You must call the "Send" method on the returned request object in order
+// to execute the request.
+//
+// // Example sending a request using the ListRecordHistoryRequest method.
+// req, resp := client.ListRecordHistoryRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+func (c *ServiceCatalog) ListRecordHistoryRequest(input *ListRecordHistoryInput) (req *request.Request, output *ListRecordHistoryOutput) {
+ op := &request.Operation{
+ Name: opListRecordHistory,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &ListRecordHistoryInput{}
+ }
+
+ req = c.newRequest(op, input, output)
+ output = &ListRecordHistoryOutput{}
+ req.Data = output
+ return
+}
+
+// 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.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime 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 Service Catalog's
+// API operation ListRecordHistory for usage and error information.
+//
+// Returned Error Codes:
+// * InvalidParametersException
+// One or more parameters provided to the operation are invalid.
+//
+func (c *ServiceCatalog) ListRecordHistory(input *ListRecordHistoryInput) (*ListRecordHistoryOutput, error) {
+ req, out := c.ListRecordHistoryRequest(input)
+ err := req.Send()
+ return out, err
+}
+
+const opProvisionProduct = "ProvisionProduct"
+
+// ProvisionProductRequest generates a "aws/request.Request" representing the
+// client's request for the ProvisionProduct operation. The "output" return
+// value can be used to capture response data after the request's "Send" method
+// is called.
+//
+// See ProvisionProduct for usage and error information.
+//
+// Creating a request object using this method should be used when you want to inject
+// custom logic into the request's lifecycle using a custom handler, or if you want to
+// access properties on the request object before or after sending the request. If
+// you just want the service response, call the ProvisionProduct method directly
+// instead.
+//
+// Note: You must call the "Send" method on the returned request object in order
+// to execute the request.
+//
+// // Example sending a request using the ProvisionProductRequest method.
+// req, resp := client.ProvisionProductRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+func (c *ServiceCatalog) ProvisionProductRequest(input *ProvisionProductInput) (req *request.Request, output *ProvisionProductOutput) {
+ op := &request.Operation{
+ Name: opProvisionProduct,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &ProvisionProductInput{}
+ }
+
+ req = c.newRequest(op, input, output)
+ output = &ProvisionProductOutput{}
+ req.Data = output
+ return
+}
+
+// ProvisionProduct API operation for AWS Service Catalog.
+//
+// Requests a Provision of a specified product. A ProvisionedProduct 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.
+//
+// You can check the status of this request using the DescribeRecord 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 Service Catalog's
+// API operation ProvisionProduct for usage and error information.
+//
+// Returned Error Codes:
+// * InvalidParametersException
+// One or more parameters provided to the operation are invalid.
+//
+// * ResourceNotFoundException
+// The specified resource was not found.
+//
+// * DuplicateResourceException
+// The specified resource is a duplicate.
+//
+func (c *ServiceCatalog) ProvisionProduct(input *ProvisionProductInput) (*ProvisionProductOutput, error) {
+ req, out := c.ProvisionProductRequest(input)
+ err := req.Send()
+ return out, err
+}
+
+const opRejectPortfolioShare = "RejectPortfolioShare"
+
+// RejectPortfolioShareRequest generates a "aws/request.Request" representing the
+// client's request for the RejectPortfolioShare operation. The "output" return
+// value can be used to capture response data after the request's "Send" method
+// is called.
+//
+// See RejectPortfolioShare for usage and error information.
+//
+// Creating a request object using this method should be used when you want to inject
+// custom logic into the request's lifecycle using a custom handler, or if you want to
+// access properties on the request object before or after sending the request. If
+// you just want the service response, call the RejectPortfolioShare method directly
+// instead.
+//
+// Note: You must call the "Send" method on the returned request object in order
+// to execute the request.
+//
+// // Example sending a request using the RejectPortfolioShareRequest method.
+// req, resp := client.RejectPortfolioShareRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+func (c *ServiceCatalog) RejectPortfolioShareRequest(input *RejectPortfolioShareInput) (req *request.Request, output *RejectPortfolioShareOutput) {
+ op := &request.Operation{
+ Name: opRejectPortfolioShare,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &RejectPortfolioShareInput{}
+ }
+
+ req = c.newRequest(op, input, output)
+ output = &RejectPortfolioShareOutput{}
+ req.Data = output
+ return
+}
+
+// RejectPortfolioShare API operation for AWS Service Catalog.
+//
+// Rejects an offer to share 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
+// the error.
+//
+// See the AWS API reference guide for AWS Service Catalog's
+// API operation RejectPortfolioShare for usage and error information.
+//
+// Returned Error Codes:
+// * ResourceNotFoundException
+// The specified resource was not found.
+//
+func (c *ServiceCatalog) RejectPortfolioShare(input *RejectPortfolioShareInput) (*RejectPortfolioShareOutput, error) {
+ req, out := c.RejectPortfolioShareRequest(input)
+ err := req.Send()
+ return out, err
+}
+
+const opScanProvisionedProducts = "ScanProvisionedProducts"
+
+// ScanProvisionedProductsRequest generates a "aws/request.Request" representing the
+// client's request for the ScanProvisionedProducts operation. The "output" return
+// value can be used to capture response data after the request's "Send" method
+// is called.
+//
+// See ScanProvisionedProducts for usage and error information.
+//
+// Creating a request object using this method should be used when you want to inject
+// custom logic into the request's lifecycle using a custom handler, or if you want to
+// access properties on the request object before or after sending the request. If
+// you just want the service response, call the ScanProvisionedProducts method directly
+// instead.
+//
+// Note: You must call the "Send" method on the returned request object in order
+// to execute the request.
+//
+// // Example sending a request using the ScanProvisionedProductsRequest method.
+// req, resp := client.ScanProvisionedProductsRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+func (c *ServiceCatalog) ScanProvisionedProductsRequest(input *ScanProvisionedProductsInput) (req *request.Request, output *ScanProvisionedProductsOutput) {
+ op := &request.Operation{
+ Name: opScanProvisionedProducts,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &ScanProvisionedProductsInput{}
+ }
+
+ req = c.newRequest(op, input, output)
+ output = &ScanProvisionedProductsOutput{}
+ req.Data = output
+ return
+}
+
+// ScanProvisionedProducts API operation for AWS Service Catalog.
+//
+// Returns a paginated list of all the ProvisionedProduct objects that are currently
+// 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
+// the error.
+//
+// See the AWS API reference guide for AWS Service Catalog's
+// API operation ScanProvisionedProducts for usage and error information.
+//
+// Returned Error Codes:
+// * InvalidParametersException
+// One or more parameters provided to the operation are invalid.
+//
+func (c *ServiceCatalog) ScanProvisionedProducts(input *ScanProvisionedProductsInput) (*ScanProvisionedProductsOutput, error) {
+ req, out := c.ScanProvisionedProductsRequest(input)
+ err := req.Send()
+ return out, err
+}
+
+const opSearchProducts = "SearchProducts"
+
+// SearchProductsRequest generates a "aws/request.Request" representing the
+// client's request for the SearchProducts operation. The "output" return
+// value can be used to capture response data after the request's "Send" method
+// is called.
+//
+// See SearchProducts for usage and error information.
+//
+// Creating a request object using this method should be used when you want to inject
+// custom logic into the request's lifecycle using a custom handler, or if you want to
+// access properties on the request object before or after sending the request. If
+// you just want the service response, call the SearchProducts method directly
+// instead.
+//
+// Note: You must call the "Send" method on the returned request object in order
+// to execute the request.
+//
+// // Example sending a request using the SearchProductsRequest method.
+// req, resp := client.SearchProductsRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+func (c *ServiceCatalog) SearchProductsRequest(input *SearchProductsInput) (req *request.Request, output *SearchProductsOutput) {
+ op := &request.Operation{
+ Name: opSearchProducts,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &SearchProductsInput{}
+ }
+
+ req = c.newRequest(op, input, output)
+ output = &SearchProductsOutput{}
+ req.Data = output
+ return
+}
+
+// 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.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime 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 Service Catalog's
+// API operation SearchProducts for usage and error information.
+//
+// Returned Error Codes:
+// * InvalidParametersException
+// One or more parameters provided to the operation are invalid.
+//
+func (c *ServiceCatalog) SearchProducts(input *SearchProductsInput) (*SearchProductsOutput, error) {
+ req, out := c.SearchProductsRequest(input)
+ err := req.Send()
+ return out, err
+}
+
+const opSearchProductsAsAdmin = "SearchProductsAsAdmin"
+
+// SearchProductsAsAdminRequest generates a "aws/request.Request" representing the
+// client's request for the SearchProductsAsAdmin operation. The "output" return
+// value can be used to capture response data after the request's "Send" method
+// is called.
+//
+// See SearchProductsAsAdmin for usage and error information.
+//
+// Creating a request object using this method should be used when you want to inject
+// custom logic into the request's lifecycle using a custom handler, or if you want to
+// access properties on the request object before or after sending the request. If
+// you just want the service response, call the SearchProductsAsAdmin method directly
+// instead.
+//
+// Note: You must call the "Send" method on the returned request object in order
+// to execute the request.
+//
+// // Example sending a request using the SearchProductsAsAdminRequest method.
+// req, resp := client.SearchProductsAsAdminRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+func (c *ServiceCatalog) SearchProductsAsAdminRequest(input *SearchProductsAsAdminInput) (req *request.Request, output *SearchProductsAsAdminOutput) {
+ op := &request.Operation{
+ Name: opSearchProductsAsAdmin,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &SearchProductsAsAdminInput{}
+ }
+
+ req = c.newRequest(op, input, output)
+ output = &SearchProductsAsAdminOutput{}
+ req.Data = output
+ return
+}
+
+// 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.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime 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 Service Catalog's
+// API operation SearchProductsAsAdmin for usage and error information.
+//
+// Returned Error Codes:
+// * ResourceNotFoundException
+// The specified resource was not found.
+//
+// * InvalidParametersException
+// One or more parameters provided to the operation are invalid.
+//
+func (c *ServiceCatalog) SearchProductsAsAdmin(input *SearchProductsAsAdminInput) (*SearchProductsAsAdminOutput, error) {
+ req, out := c.SearchProductsAsAdminRequest(input)
+ err := req.Send()
+ return out, err
+}
+
+const opTerminateProvisionedProduct = "TerminateProvisionedProduct"
+
+// TerminateProvisionedProductRequest generates a "aws/request.Request" representing the
+// client's request for the TerminateProvisionedProduct operation. The "output" return
+// value can be used to capture response data after the request's "Send" method
+// is called.
+//
+// See TerminateProvisionedProduct for usage and error information.
+//
+// Creating a request object using this method should be used when you want to inject
+// custom logic into the request's lifecycle using a custom handler, or if you want to
+// access properties on the request object before or after sending the request. If
+// you just want the service response, call the TerminateProvisionedProduct method directly
+// instead.
+//
+// Note: You must call the "Send" method on the returned request object in order
+// to execute the request.
+//
+// // Example sending a request using the TerminateProvisionedProductRequest method.
+// req, resp := client.TerminateProvisionedProductRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+func (c *ServiceCatalog) TerminateProvisionedProductRequest(input *TerminateProvisionedProductInput) (req *request.Request, output *TerminateProvisionedProductOutput) {
+ op := &request.Operation{
+ Name: opTerminateProvisionedProduct,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &TerminateProvisionedProductInput{}
+ }
+
+ req = c.newRequest(op, input, output)
+ output = &TerminateProvisionedProductOutput{}
+ req.Data = output
+ return
+}
+
+// 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.
+//
+// This operation does not delete any records associated with the ProvisionedProduct
+// object.
+//
+// You can check the status of this request using the DescribeRecord 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 Service Catalog's
+// API operation TerminateProvisionedProduct for usage and error information.
+//
+// Returned Error Codes:
+// * ResourceNotFoundException
+// The specified resource was not found.
+//
+func (c *ServiceCatalog) TerminateProvisionedProduct(input *TerminateProvisionedProductInput) (*TerminateProvisionedProductOutput, error) {
+ req, out := c.TerminateProvisionedProductRequest(input)
+ err := req.Send()
+ return out, err
+}
+
+const opUpdateConstraint = "UpdateConstraint"
+
+// UpdateConstraintRequest generates a "aws/request.Request" representing the
+// client's request for the UpdateConstraint operation. The "output" return
+// value can be used to capture response data after the request's "Send" method
+// is called.
+//
+// See UpdateConstraint for usage and error information.
+//
+// Creating a request object using this method should be used when you want to inject
+// custom logic into the request's lifecycle using a custom handler, or if you want to
+// access properties on the request object before or after sending the request. If
+// you just want the service response, call the UpdateConstraint method directly
+// instead.
+//
+// Note: You must call the "Send" method on the returned request object in order
+// to execute the request.
+//
+// // Example sending a request using the UpdateConstraintRequest method.
+// req, resp := client.UpdateConstraintRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+func (c *ServiceCatalog) UpdateConstraintRequest(input *UpdateConstraintInput) (req *request.Request, output *UpdateConstraintOutput) {
+ op := &request.Operation{
+ Name: opUpdateConstraint,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &UpdateConstraintInput{}
+ }
+
+ req = c.newRequest(op, input, output)
+ output = &UpdateConstraintOutput{}
+ req.Data = output
+ return
+}
+
+// UpdateConstraint API operation for AWS Service Catalog.
+//
+// Updates an existing 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
+// the error.
+//
+// See the AWS API reference guide for AWS Service Catalog's
+// API operation UpdateConstraint for usage and error information.
+//
+// Returned Error Codes:
+// * ResourceNotFoundException
+// The specified resource was not found.
+//
+// * InvalidParametersException
+// One or more parameters provided to the operation are invalid.
+//
+func (c *ServiceCatalog) UpdateConstraint(input *UpdateConstraintInput) (*UpdateConstraintOutput, error) {
+ req, out := c.UpdateConstraintRequest(input)
+ err := req.Send()
+ return out, err
+}
+
+const opUpdatePortfolio = "UpdatePortfolio"
+
+// UpdatePortfolioRequest generates a "aws/request.Request" representing the
+// client's request for the UpdatePortfolio operation. The "output" return
+// value can be used to capture response data after the request's "Send" method
+// is called.
+//
+// See UpdatePortfolio for usage and error information.
+//
+// Creating a request object using this method should be used when you want to inject
+// custom logic into the request's lifecycle using a custom handler, or if you want to
+// access properties on the request object before or after sending the request. If
+// you just want the service response, call the UpdatePortfolio method directly
+// instead.
+//
+// Note: You must call the "Send" method on the returned request object in order
+// to execute the request.
+//
+// // Example sending a request using the UpdatePortfolioRequest method.
+// req, resp := client.UpdatePortfolioRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+func (c *ServiceCatalog) UpdatePortfolioRequest(input *UpdatePortfolioInput) (req *request.Request, output *UpdatePortfolioOutput) {
+ op := &request.Operation{
+ Name: opUpdatePortfolio,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &UpdatePortfolioInput{}
+ }
+
+ req = c.newRequest(op, input, output)
+ output = &UpdatePortfolioOutput{}
+ req.Data = output
+ return
+}
+
+// UpdatePortfolio API operation for AWS Service Catalog.
+//
+// Updates the specified portfolio's details. This operation will not work with
+// a product that has been 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
+// the error.
+//
+// See the AWS API reference guide for AWS Service Catalog's
+// API operation UpdatePortfolio for usage and error information.
+//
+// Returned Error Codes:
+// * InvalidParametersException
+// One or more parameters provided to the operation are invalid.
+//
+// * ResourceNotFoundException
+// The specified resource was not found.
+//
+// * 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.
+//
+func (c *ServiceCatalog) UpdatePortfolio(input *UpdatePortfolioInput) (*UpdatePortfolioOutput, error) {
+ req, out := c.UpdatePortfolioRequest(input)
+ err := req.Send()
+ return out, err
+}
+
+const opUpdateProduct = "UpdateProduct"
+
+// UpdateProductRequest generates a "aws/request.Request" representing the
+// client's request for the UpdateProduct operation. The "output" return
+// value can be used to capture response data after the request's "Send" method
+// is called.
+//
+// See UpdateProduct for usage and error information.
+//
+// Creating a request object using this method should be used when you want to inject
+// custom logic into the request's lifecycle using a custom handler, or if you want to
+// access properties on the request object before or after sending the request. If
+// you just want the service response, call the UpdateProduct method directly
+// instead.
+//
+// Note: You must call the "Send" method on the returned request object in order
+// to execute the request.
+//
+// // Example sending a request using the UpdateProductRequest method.
+// req, resp := client.UpdateProductRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+func (c *ServiceCatalog) UpdateProductRequest(input *UpdateProductInput) (req *request.Request, output *UpdateProductOutput) {
+ op := &request.Operation{
+ Name: opUpdateProduct,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &UpdateProductInput{}
+ }
+
+ req = c.newRequest(op, input, output)
+ output = &UpdateProductOutput{}
+ req.Data = output
+ return
+}
+
+// UpdateProduct API operation for AWS Service Catalog.
+//
+// Updates an existing 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
+// the error.
+//
+// See the AWS API reference guide for AWS Service Catalog's
+// API operation UpdateProduct for usage and error information.
+//
+// Returned Error Codes:
+// * ResourceNotFoundException
+// The specified resource was not found.
+//
+// * InvalidParametersException
+// One or more parameters provided to the operation are invalid.
+//
+func (c *ServiceCatalog) UpdateProduct(input *UpdateProductInput) (*UpdateProductOutput, error) {
+ req, out := c.UpdateProductRequest(input)
+ err := req.Send()
+ return out, err
+}
+
+const opUpdateProvisionedProduct = "UpdateProvisionedProduct"
+
+// UpdateProvisionedProductRequest generates a "aws/request.Request" representing the
+// client's request for the UpdateProvisionedProduct operation. The "output" return
+// value can be used to capture response data after the request's "Send" method
+// is called.
+//
+// See UpdateProvisionedProduct for usage and error information.
+//
+// Creating a request object using this method should be used when you want to inject
+// custom logic into the request's lifecycle using a custom handler, or if you want to
+// access properties on the request object before or after sending the request. If
+// you just want the service response, call the UpdateProvisionedProduct method directly
+// instead.
+//
+// Note: You must call the "Send" method on the returned request object in order
+// to execute the request.
+//
+// // Example sending a request using the UpdateProvisionedProductRequest method.
+// req, resp := client.UpdateProvisionedProductRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+func (c *ServiceCatalog) UpdateProvisionedProductRequest(input *UpdateProvisionedProductInput) (req *request.Request, output *UpdateProvisionedProductOutput) {
+ op := &request.Operation{
+ Name: opUpdateProvisionedProduct,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &UpdateProvisionedProductInput{}
+ }
+
+ req = c.newRequest(op, input, output)
+ output = &UpdateProvisionedProductOutput{}
+ req.Data = output
+ return
+}
+
+// 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.
+//
+// You can check the status of this request using the DescribeRecord 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 Service Catalog's
+// API operation UpdateProvisionedProduct for usage and error information.
+//
+// Returned Error Codes:
+// * InvalidParametersException
+// One or more parameters provided to the operation are invalid.
+//
+// * ResourceNotFoundException
+// The specified resource was not found.
+//
+func (c *ServiceCatalog) UpdateProvisionedProduct(input *UpdateProvisionedProductInput) (*UpdateProvisionedProductOutput, error) {
+ req, out := c.UpdateProvisionedProductRequest(input)
+ err := req.Send()
+ return out, err
+}
+
+const opUpdateProvisioningArtifact = "UpdateProvisioningArtifact"
+
+// UpdateProvisioningArtifactRequest generates a "aws/request.Request" representing the
+// client's request for the UpdateProvisioningArtifact operation. The "output" return
+// value can be used to capture response data after the request's "Send" method
+// is called.
+//
+// See UpdateProvisioningArtifact for usage and error information.
+//
+// Creating a request object using this method should be used when you want to inject
+// custom logic into the request's lifecycle using a custom handler, or if you want to
+// access properties on the request object before or after sending the request. If
+// you just want the service response, call the UpdateProvisioningArtifact method directly
+// instead.
+//
+// Note: You must call the "Send" method on the returned request object in order
+// to execute the request.
+//
+// // Example sending a request using the UpdateProvisioningArtifactRequest method.
+// req, resp := client.UpdateProvisioningArtifactRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+func (c *ServiceCatalog) UpdateProvisioningArtifactRequest(input *UpdateProvisioningArtifactInput) (req *request.Request, output *UpdateProvisioningArtifactOutput) {
+ op := &request.Operation{
+ Name: opUpdateProvisioningArtifact,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &UpdateProvisioningArtifactInput{}
+ }
+
+ req = c.newRequest(op, input, output)
+ output = &UpdateProvisioningArtifactOutput{}
+ req.Data = output
+ return
+}
+
+// UpdateProvisioningArtifact API operation for AWS Service Catalog.
+//
+// Updates an existing provisioning artifact's information. This operation will
+// not work on a provisioning artifact associated with a product that has been
+// 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
+// the error.
+//
+// See the AWS API reference guide for AWS Service Catalog's
+// API operation UpdateProvisioningArtifact for usage and error information.
+//
+// Returned Error Codes:
+// * ResourceNotFoundException
+// The specified resource was not found.
+//
+// * InvalidParametersException
+// One or more parameters provided to the operation are invalid.
+//
+func (c *ServiceCatalog) UpdateProvisioningArtifact(input *UpdateProvisioningArtifactInput) (*UpdateProvisioningArtifactOutput, error) {
+ req, out := c.UpdateProvisioningArtifactRequest(input)
+ err := req.Send()
+ return out, err
+}
+
+type AcceptPortfolioShareInput struct {
+ _ struct{} `type:"structure"`
+
+ // The language code to use for this operation. Supported language codes are
+ // as follows:
+ //
+ // "en" (English)
+ //
+ // "jp" (Japanese)
+ //
+ // "zh" (Chinese)
+ //
+ // If no code is specified, "en" is used as the default.
+ AcceptLanguage *string `type:"string"`
+
+ // The portfolio identifier.
+ //
+ // PortfolioId is a required field
+ PortfolioId *string `min:"1" type:"string" required:"true"`
+}
+
+// String returns the string representation
+func (s AcceptPortfolioShareInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s AcceptPortfolioShareInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *AcceptPortfolioShareInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "AcceptPortfolioShareInput"}
+ if s.PortfolioId == nil {
+ invalidParams.Add(request.NewErrParamRequired("PortfolioId"))
+ }
+ if s.PortfolioId != nil && len(*s.PortfolioId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("PortfolioId", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetAcceptLanguage sets the AcceptLanguage field's value.
+func (s *AcceptPortfolioShareInput) SetAcceptLanguage(v string) *AcceptPortfolioShareInput {
+ s.AcceptLanguage = &v
+ return s
+}
+
+// SetPortfolioId sets the PortfolioId field's value.
+func (s *AcceptPortfolioShareInput) SetPortfolioId(v string) *AcceptPortfolioShareInput {
+ s.PortfolioId = &v
+ return s
+}
+
+type AcceptPortfolioShareOutput struct {
+ _ struct{} `type:"structure"`
+}
+
+// String returns the string representation
+func (s AcceptPortfolioShareOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s AcceptPortfolioShareOutput) GoString() string {
+ return s.String()
+}
+
// The access level to limit results.
type AccessLevelFilter struct {
_ struct{} `type:"structure"`
- // Specifies the access level.
- //
- // Account allows results at the account level.
- //
- // Role allows results based on the federated role of the specified user.
- //
- // User allows results limited to the specified user.
- Key *string `type:"string" enum:"AccessLevelFilterKey"`
+ // Specifies the access level.
+ //
+ // Account allows results at the account level.
+ //
+ // Role allows results based on the federated role of the specified user.
+ //
+ // User allows results limited to 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.
+ Value *string `type:"string"`
+}
+
+// String returns the string representation
+func (s AccessLevelFilter) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s AccessLevelFilter) GoString() string {
+ return s.String()
+}
+
+// SetKey sets the Key field's value.
+func (s *AccessLevelFilter) SetKey(v string) *AccessLevelFilter {
+ s.Key = &v
+ return s
+}
+
+// SetValue sets the Value field's value.
+func (s *AccessLevelFilter) SetValue(v string) *AccessLevelFilter {
+ s.Value = &v
+ return s
+}
+
+type AssociatePrincipalWithPortfolioInput struct {
+ _ struct{} `type:"structure"`
+
+ // The language code to use for this operation. Supported language codes are
+ // as follows:
+ //
+ // "en" (English)
+ //
+ // "jp" (Japanese)
+ //
+ // "zh" (Chinese)
+ //
+ // If no code is specified, "en" is used as the default.
+ AcceptLanguage *string `type:"string"`
+
+ // The portfolio identifier.
+ //
+ // PortfolioId is a required field
+ PortfolioId *string `min:"1" type:"string" required:"true"`
+
+ // The ARN representing 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
+ //
+ // PrincipalType is a required field
+ PrincipalType *string `type:"string" required:"true" enum:"PrincipalType"`
+}
+
+// String returns the string representation
+func (s AssociatePrincipalWithPortfolioInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s AssociatePrincipalWithPortfolioInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *AssociatePrincipalWithPortfolioInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "AssociatePrincipalWithPortfolioInput"}
+ if s.PortfolioId == nil {
+ invalidParams.Add(request.NewErrParamRequired("PortfolioId"))
+ }
+ if s.PortfolioId != nil && len(*s.PortfolioId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("PortfolioId", 1))
+ }
+ if s.PrincipalARN == nil {
+ invalidParams.Add(request.NewErrParamRequired("PrincipalARN"))
+ }
+ if s.PrincipalARN != nil && len(*s.PrincipalARN) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("PrincipalARN", 1))
+ }
+ if s.PrincipalType == nil {
+ invalidParams.Add(request.NewErrParamRequired("PrincipalType"))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetAcceptLanguage sets the AcceptLanguage field's value.
+func (s *AssociatePrincipalWithPortfolioInput) SetAcceptLanguage(v string) *AssociatePrincipalWithPortfolioInput {
+ s.AcceptLanguage = &v
+ return s
+}
+
+// SetPortfolioId sets the PortfolioId field's value.
+func (s *AssociatePrincipalWithPortfolioInput) SetPortfolioId(v string) *AssociatePrincipalWithPortfolioInput {
+ s.PortfolioId = &v
+ return s
+}
+
+// SetPrincipalARN sets the PrincipalARN field's value.
+func (s *AssociatePrincipalWithPortfolioInput) SetPrincipalARN(v string) *AssociatePrincipalWithPortfolioInput {
+ s.PrincipalARN = &v
+ return s
+}
+
+// SetPrincipalType sets the PrincipalType field's value.
+func (s *AssociatePrincipalWithPortfolioInput) SetPrincipalType(v string) *AssociatePrincipalWithPortfolioInput {
+ s.PrincipalType = &v
+ return s
+}
+
+type AssociatePrincipalWithPortfolioOutput struct {
+ _ struct{} `type:"structure"`
+}
+
+// String returns the string representation
+func (s AssociatePrincipalWithPortfolioOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s AssociatePrincipalWithPortfolioOutput) GoString() string {
+ return s.String()
+}
+
+type AssociateProductWithPortfolioInput struct {
+ _ struct{} `type:"structure"`
+
+ // The language code to use for this operation. Supported language codes are
+ // as follows:
+ //
+ // "en" (English)
+ //
+ // "jp" (Japanese)
+ //
+ // "zh" (Chinese)
+ //
+ // If no code is specified, "en" is used as the default.
+ AcceptLanguage *string `type:"string"`
+
+ // The portfolio identifier.
+ //
+ // PortfolioId is a required field
+ PortfolioId *string `min:"1" type:"string" required:"true"`
+
+ // The product identifier.
+ //
+ // ProductId is a required field
+ ProductId *string `min:"1" type:"string" required:"true"`
+
+ // The identifier of the source portfolio to use with this association.
+ SourcePortfolioId *string `min:"1" type:"string"`
+}
+
+// String returns the string representation
+func (s AssociateProductWithPortfolioInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s AssociateProductWithPortfolioInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *AssociateProductWithPortfolioInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "AssociateProductWithPortfolioInput"}
+ if s.PortfolioId == nil {
+ invalidParams.Add(request.NewErrParamRequired("PortfolioId"))
+ }
+ if s.PortfolioId != nil && len(*s.PortfolioId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("PortfolioId", 1))
+ }
+ if s.ProductId == nil {
+ invalidParams.Add(request.NewErrParamRequired("ProductId"))
+ }
+ if s.ProductId != nil && len(*s.ProductId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ProductId", 1))
+ }
+ if s.SourcePortfolioId != nil && len(*s.SourcePortfolioId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("SourcePortfolioId", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetAcceptLanguage sets the AcceptLanguage field's value.
+func (s *AssociateProductWithPortfolioInput) SetAcceptLanguage(v string) *AssociateProductWithPortfolioInput {
+ s.AcceptLanguage = &v
+ return s
+}
+
+// SetPortfolioId sets the PortfolioId field's value.
+func (s *AssociateProductWithPortfolioInput) SetPortfolioId(v string) *AssociateProductWithPortfolioInput {
+ s.PortfolioId = &v
+ return s
+}
+
+// SetProductId sets the ProductId field's value.
+func (s *AssociateProductWithPortfolioInput) SetProductId(v string) *AssociateProductWithPortfolioInput {
+ s.ProductId = &v
+ return s
+}
+
+// SetSourcePortfolioId sets the SourcePortfolioId field's value.
+func (s *AssociateProductWithPortfolioInput) SetSourcePortfolioId(v string) *AssociateProductWithPortfolioInput {
+ s.SourcePortfolioId = &v
+ return s
+}
+
+type AssociateProductWithPortfolioOutput struct {
+ _ struct{} `type:"structure"`
+}
+
+// String returns the string representation
+func (s AssociateProductWithPortfolioOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s AssociateProductWithPortfolioOutput) GoString() string {
+ return s.String()
+}
+
+// Detailed constraint information.
+type ConstraintDetail struct {
+ _ struct{} `type:"structure"`
+
+ // The identifier of the constraint.
+ ConstraintId *string `min:"1" type:"string"`
+
+ // The text description of the constraint.
+ Description *string `type:"string"`
+
+ // The owner of the constraint.
+ Owner *string `type:"string"`
+
+ // The type of the constraint.
+ Type *string `min:"1" type:"string"`
+}
+
+// String returns the string representation
+func (s ConstraintDetail) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s ConstraintDetail) GoString() string {
+ return s.String()
+}
+
+// SetConstraintId sets the ConstraintId field's value.
+func (s *ConstraintDetail) SetConstraintId(v string) *ConstraintDetail {
+ s.ConstraintId = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *ConstraintDetail) SetDescription(v string) *ConstraintDetail {
+ s.Description = &v
+ return s
+}
+
+// SetOwner sets the Owner field's value.
+func (s *ConstraintDetail) SetOwner(v string) *ConstraintDetail {
+ s.Owner = &v
+ return s
+}
+
+// SetType sets the Type field's value.
+func (s *ConstraintDetail) SetType(v string) *ConstraintDetail {
+ s.Type = &v
+ return s
+}
+
+// An administrator-specified constraint to apply when provisioning a product.
+type ConstraintSummary struct {
+ _ struct{} `type:"structure"`
+
+ // The text description of the constraint.
+ Description *string `type:"string"`
+
+ // The type of the constraint.
+ Type *string `min:"1" type:"string"`
+}
+
+// String returns the string representation
+func (s ConstraintSummary) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s ConstraintSummary) GoString() string {
+ return s.String()
+}
+
+// SetDescription sets the Description field's value.
+func (s *ConstraintSummary) SetDescription(v string) *ConstraintSummary {
+ s.Description = &v
+ return s
+}
+
+// SetType sets the Type field's value.
+func (s *ConstraintSummary) SetType(v string) *ConstraintSummary {
+ s.Type = &v
+ return s
+}
+
+type CreateConstraintInput struct {
+ _ struct{} `type:"structure"`
+
+ // The language code to use for this operation. Supported language codes are
+ // as follows:
+ //
+ // "en" (English)
+ //
+ // "jp" (Japanese)
+ //
+ // "zh" (Chinese)
+ //
+ // If no code is specified, "en" is used as the default.
+ AcceptLanguage *string `type:"string"`
+
+ // The text description of the constraint.
+ Description *string `type:"string"`
+
+ // A token to disambiguate duplicate requests. You can create multiple resources
+ // using the same input in multiple requests, provided that you also specify
+ // a different idempotency token for each request.
+ //
+ // IdempotencyToken is a required field
+ IdempotencyToken *string `min:"1" type:"string" required:"true" idempotencyToken:"true"`
+
+ // The constraint parameters.
+ //
+ // Parameters is a required field
+ Parameters *string `type:"string" required:"true"`
+
+ // The portfolio identifier.
+ //
+ // PortfolioId is a required field
+ PortfolioId *string `min:"1" type:"string" required:"true"`
+
+ // The product identifier.
+ //
+ // ProductId is a required field
+ ProductId *string `min:"1" type:"string" required:"true"`
+
+ // The type of the constraint.
+ //
+ // Type is a required field
+ Type *string `min:"1" type:"string" required:"true"`
+}
+
+// String returns the string representation
+func (s CreateConstraintInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s CreateConstraintInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *CreateConstraintInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "CreateConstraintInput"}
+ if s.IdempotencyToken == nil {
+ invalidParams.Add(request.NewErrParamRequired("IdempotencyToken"))
+ }
+ if s.IdempotencyToken != nil && len(*s.IdempotencyToken) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("IdempotencyToken", 1))
+ }
+ if s.Parameters == nil {
+ invalidParams.Add(request.NewErrParamRequired("Parameters"))
+ }
+ if s.PortfolioId == nil {
+ invalidParams.Add(request.NewErrParamRequired("PortfolioId"))
+ }
+ if s.PortfolioId != nil && len(*s.PortfolioId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("PortfolioId", 1))
+ }
+ if s.ProductId == nil {
+ invalidParams.Add(request.NewErrParamRequired("ProductId"))
+ }
+ if s.ProductId != nil && len(*s.ProductId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ProductId", 1))
+ }
+ if s.Type == nil {
+ invalidParams.Add(request.NewErrParamRequired("Type"))
+ }
+ if s.Type != nil && len(*s.Type) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Type", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetAcceptLanguage sets the AcceptLanguage field's value.
+func (s *CreateConstraintInput) SetAcceptLanguage(v string) *CreateConstraintInput {
+ s.AcceptLanguage = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *CreateConstraintInput) SetDescription(v string) *CreateConstraintInput {
+ s.Description = &v
+ return s
+}
+
+// SetIdempotencyToken sets the IdempotencyToken field's value.
+func (s *CreateConstraintInput) SetIdempotencyToken(v string) *CreateConstraintInput {
+ s.IdempotencyToken = &v
+ return s
+}
+
+// SetParameters sets the Parameters field's value.
+func (s *CreateConstraintInput) SetParameters(v string) *CreateConstraintInput {
+ s.Parameters = &v
+ return s
+}
+
+// SetPortfolioId sets the PortfolioId field's value.
+func (s *CreateConstraintInput) SetPortfolioId(v string) *CreateConstraintInput {
+ s.PortfolioId = &v
+ return s
+}
+
+// SetProductId sets the ProductId field's value.
+func (s *CreateConstraintInput) SetProductId(v string) *CreateConstraintInput {
+ s.ProductId = &v
+ return s
+}
+
+// SetType sets the Type field's value.
+func (s *CreateConstraintInput) SetType(v string) *CreateConstraintInput {
+ s.Type = &v
+ return s
+}
+
+type CreateConstraintOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The resulting detailed constraint information.
+ ConstraintDetail *ConstraintDetail `type:"structure"`
+
+ // The resulting constraint parameters.
+ ConstraintParameters *string `type:"string"`
+
+ // The status of the current request.
+ Status *string `type:"string" enum:"Status"`
+}
+
+// String returns the string representation
+func (s CreateConstraintOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s CreateConstraintOutput) GoString() string {
+ return s.String()
+}
+
+// SetConstraintDetail sets the ConstraintDetail field's value.
+func (s *CreateConstraintOutput) SetConstraintDetail(v *ConstraintDetail) *CreateConstraintOutput {
+ s.ConstraintDetail = v
+ return s
+}
+
+// SetConstraintParameters sets the ConstraintParameters field's value.
+func (s *CreateConstraintOutput) SetConstraintParameters(v string) *CreateConstraintOutput {
+ s.ConstraintParameters = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *CreateConstraintOutput) SetStatus(v string) *CreateConstraintOutput {
+ s.Status = &v
+ return s
+}
+
+type CreatePortfolioInput struct {
+ _ struct{} `type:"structure"`
+
+ // The language code to use for this operation. Supported language codes are
+ // as follows:
+ //
+ // "en" (English)
+ //
+ // "jp" (Japanese)
+ //
+ // "zh" (Chinese)
+ //
+ // If no code is specified, "en" is used as the default.
+ AcceptLanguage *string `type:"string"`
+
+ // The text description of the portfolio.
+ Description *string `type:"string"`
+
+ // The name to use for display purposes.
+ //
+ // DisplayName is a required field
+ DisplayName *string `min:"1" type:"string" required:"true"`
+
+ // A token to disambiguate duplicate requests. You can create multiple resources
+ // using the same input in multiple requests, provided that you also specify
+ // a different idempotency token for each request.
+ //
+ // IdempotencyToken is a required field
+ IdempotencyToken *string `min:"1" type:"string" required:"true" idempotencyToken:"true"`
+
+ // The name of the portfolio provider.
+ //
+ // ProviderName is a required field
+ ProviderName *string `min:"1" type:"string" required:"true"`
+
+ // Tags to associate with the new portfolio.
+ Tags []*Tag `type:"list"`
+}
+
+// String returns the string representation
+func (s CreatePortfolioInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s CreatePortfolioInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *CreatePortfolioInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "CreatePortfolioInput"}
+ if s.DisplayName == nil {
+ invalidParams.Add(request.NewErrParamRequired("DisplayName"))
+ }
+ if s.DisplayName != nil && len(*s.DisplayName) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("DisplayName", 1))
+ }
+ if s.IdempotencyToken == nil {
+ invalidParams.Add(request.NewErrParamRequired("IdempotencyToken"))
+ }
+ if s.IdempotencyToken != nil && len(*s.IdempotencyToken) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("IdempotencyToken", 1))
+ }
+ 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.Tags != nil {
+ for i, v := range s.Tags {
+ if v == nil {
+ continue
+ }
+ if err := v.Validate(); err != nil {
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
+ }
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetAcceptLanguage sets the AcceptLanguage field's value.
+func (s *CreatePortfolioInput) SetAcceptLanguage(v string) *CreatePortfolioInput {
+ s.AcceptLanguage = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *CreatePortfolioInput) SetDescription(v string) *CreatePortfolioInput {
+ s.Description = &v
+ return s
+}
+
+// SetDisplayName sets the DisplayName field's value.
+func (s *CreatePortfolioInput) SetDisplayName(v string) *CreatePortfolioInput {
+ s.DisplayName = &v
+ return s
+}
+
+// SetIdempotencyToken sets the IdempotencyToken field's value.
+func (s *CreatePortfolioInput) SetIdempotencyToken(v string) *CreatePortfolioInput {
+ s.IdempotencyToken = &v
+ return s
+}
+
+// SetProviderName sets the ProviderName field's value.
+func (s *CreatePortfolioInput) SetProviderName(v string) *CreatePortfolioInput {
+ s.ProviderName = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *CreatePortfolioInput) SetTags(v []*Tag) *CreatePortfolioInput {
+ s.Tags = v
+ return s
+}
+
+type CreatePortfolioOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The resulting detailed portfolio information.
+ PortfolioDetail *PortfolioDetail `type:"structure"`
+
+ // Tags successfully associated with the new portfolio.
+ Tags []*Tag `type:"list"`
+}
+
+// String returns the string representation
+func (s CreatePortfolioOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s CreatePortfolioOutput) GoString() string {
+ return s.String()
+}
+
+// SetPortfolioDetail sets the PortfolioDetail field's value.
+func (s *CreatePortfolioOutput) SetPortfolioDetail(v *PortfolioDetail) *CreatePortfolioOutput {
+ s.PortfolioDetail = v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *CreatePortfolioOutput) SetTags(v []*Tag) *CreatePortfolioOutput {
+ s.Tags = v
+ return s
+}
+
+type CreatePortfolioShareInput struct {
+ _ struct{} `type:"structure"`
+
+ // The language code to use for this operation. Supported language codes are
+ // as follows:
+ //
+ // "en" (English)
+ //
+ // "jp" (Japanese)
+ //
+ // "zh" (Chinese)
+ //
+ // If no code is specified, "en" is used as the default.
+ AcceptLanguage *string `type:"string"`
+
+ // The account ID with which to share the portfolio.
+ //
+ // AccountId is a required field
+ AccountId *string `type:"string" required:"true"`
+
+ // The portfolio identifier.
+ //
+ // PortfolioId is a required field
+ PortfolioId *string `min:"1" type:"string" required:"true"`
+}
+
+// String returns the string representation
+func (s CreatePortfolioShareInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s CreatePortfolioShareInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *CreatePortfolioShareInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "CreatePortfolioShareInput"}
+ if s.AccountId == nil {
+ invalidParams.Add(request.NewErrParamRequired("AccountId"))
+ }
+ if s.PortfolioId == nil {
+ invalidParams.Add(request.NewErrParamRequired("PortfolioId"))
+ }
+ if s.PortfolioId != nil && len(*s.PortfolioId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("PortfolioId", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetAcceptLanguage sets the AcceptLanguage field's value.
+func (s *CreatePortfolioShareInput) SetAcceptLanguage(v string) *CreatePortfolioShareInput {
+ s.AcceptLanguage = &v
+ return s
+}
+
+// SetAccountId sets the AccountId field's value.
+func (s *CreatePortfolioShareInput) SetAccountId(v string) *CreatePortfolioShareInput {
+ s.AccountId = &v
+ return s
+}
+
+// SetPortfolioId sets the PortfolioId field's value.
+func (s *CreatePortfolioShareInput) SetPortfolioId(v string) *CreatePortfolioShareInput {
+ s.PortfolioId = &v
+ return s
+}
+
+type CreatePortfolioShareOutput struct {
+ _ struct{} `type:"structure"`
+}
+
+// String returns the string representation
+func (s CreatePortfolioShareOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s CreatePortfolioShareOutput) GoString() string {
+ return s.String()
+}
+
+type CreateProductInput struct {
+ _ struct{} `type:"structure"`
+
+ // The language code to use for this operation. Supported language codes are
+ // as follows:
+ //
+ // "en" (English)
+ //
+ // "jp" (Japanese)
+ //
+ // "zh" (Chinese)
+ //
+ // If no code is specified, "en" is used as the default.
+ AcceptLanguage *string `type:"string"`
+
+ // The text 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 create multiple resources
+ // using the same input in multiple requests, provided that you also specify
+ // a different idempotency token for each request.
+ //
+ // IdempotencyToken is a required field
+ IdempotencyToken *string `min:"1" type:"string" required:"true" idempotencyToken:"true"`
+
+ // The name of the product.
+ //
+ // Name is a required field
+ Name *string `type:"string" required:"true"`
+
+ // The owner of the product.
+ //
+ // Owner is a required field
+ Owner *string `type:"string" required:"true"`
+
+ // The type of the product to create.
+ //
+ // ProductType is a required field
+ ProductType *string `type:"string" required:"true" enum:"ProductType"`
+
+ // Parameters for the provisioning artifact.
+ //
+ // ProvisioningArtifactParameters is a required field
+ ProvisioningArtifactParameters *ProvisioningArtifactProperties `type:"structure" required:"true"`
+
+ // Support information about the product.
+ SupportDescription *string `type:"string"`
+
+ // Contact email for product support.
+ SupportEmail *string `type:"string"`
+
+ // Contact URL for product support.
+ SupportUrl *string `type:"string"`
+
+ // Tags to associate with the new product.
+ Tags []*Tag `type:"list"`
+}
+
+// String returns the string representation
+func (s CreateProductInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s CreateProductInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *CreateProductInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "CreateProductInput"}
+ if s.IdempotencyToken == nil {
+ invalidParams.Add(request.NewErrParamRequired("IdempotencyToken"))
+ }
+ if s.IdempotencyToken != nil && len(*s.IdempotencyToken) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("IdempotencyToken", 1))
+ }
+ if s.Name == nil {
+ invalidParams.Add(request.NewErrParamRequired("Name"))
+ }
+ if s.Owner == nil {
+ invalidParams.Add(request.NewErrParamRequired("Owner"))
+ }
+ if s.ProductType == nil {
+ invalidParams.Add(request.NewErrParamRequired("ProductType"))
+ }
+ if s.ProvisioningArtifactParameters == nil {
+ invalidParams.Add(request.NewErrParamRequired("ProvisioningArtifactParameters"))
+ }
+ if s.ProvisioningArtifactParameters != nil {
+ if err := s.ProvisioningArtifactParameters.Validate(); err != nil {
+ invalidParams.AddNested("ProvisioningArtifactParameters", err.(request.ErrInvalidParams))
+ }
+ }
+ if s.Tags != nil {
+ for i, v := range s.Tags {
+ if v == nil {
+ continue
+ }
+ if err := v.Validate(); err != nil {
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
+ }
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetAcceptLanguage sets the AcceptLanguage field's value.
+func (s *CreateProductInput) SetAcceptLanguage(v string) *CreateProductInput {
+ s.AcceptLanguage = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *CreateProductInput) SetDescription(v string) *CreateProductInput {
+ s.Description = &v
+ return s
+}
+
+// SetDistributor sets the Distributor field's value.
+func (s *CreateProductInput) SetDistributor(v string) *CreateProductInput {
+ s.Distributor = &v
+ return s
+}
+
+// SetIdempotencyToken sets the IdempotencyToken field's value.
+func (s *CreateProductInput) SetIdempotencyToken(v string) *CreateProductInput {
+ s.IdempotencyToken = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *CreateProductInput) SetName(v string) *CreateProductInput {
+ s.Name = &v
+ return s
+}
+
+// SetOwner sets the Owner field's value.
+func (s *CreateProductInput) SetOwner(v string) *CreateProductInput {
+ s.Owner = &v
+ return s
+}
+
+// SetProductType sets the ProductType field's value.
+func (s *CreateProductInput) SetProductType(v string) *CreateProductInput {
+ s.ProductType = &v
+ return s
+}
+
+// SetProvisioningArtifactParameters sets the ProvisioningArtifactParameters field's value.
+func (s *CreateProductInput) SetProvisioningArtifactParameters(v *ProvisioningArtifactProperties) *CreateProductInput {
+ s.ProvisioningArtifactParameters = v
+ return s
+}
+
+// SetSupportDescription sets the SupportDescription field's value.
+func (s *CreateProductInput) SetSupportDescription(v string) *CreateProductInput {
+ s.SupportDescription = &v
+ return s
+}
+
+// SetSupportEmail sets the SupportEmail field's value.
+func (s *CreateProductInput) SetSupportEmail(v string) *CreateProductInput {
+ s.SupportEmail = &v
+ return s
+}
+
+// SetSupportUrl sets the SupportUrl field's value.
+func (s *CreateProductInput) SetSupportUrl(v string) *CreateProductInput {
+ s.SupportUrl = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *CreateProductInput) SetTags(v []*Tag) *CreateProductInput {
+ s.Tags = v
+ return s
+}
+
+type CreateProductOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The resulting detailed product view information.
+ ProductViewDetail *ProductViewDetail `type:"structure"`
+
+ // The resulting detailed provisioning artifact information.
+ ProvisioningArtifactDetail *ProvisioningArtifactDetail `type:"structure"`
+
+ // Tags successfully associated with the new product.
+ Tags []*Tag `type:"list"`
+}
+
+// String returns the string representation
+func (s CreateProductOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s CreateProductOutput) GoString() string {
+ return s.String()
+}
+
+// SetProductViewDetail sets the ProductViewDetail field's value.
+func (s *CreateProductOutput) SetProductViewDetail(v *ProductViewDetail) *CreateProductOutput {
+ s.ProductViewDetail = v
+ return s
+}
+
+// SetProvisioningArtifactDetail sets the ProvisioningArtifactDetail field's value.
+func (s *CreateProductOutput) SetProvisioningArtifactDetail(v *ProvisioningArtifactDetail) *CreateProductOutput {
+ s.ProvisioningArtifactDetail = v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *CreateProductOutput) SetTags(v []*Tag) *CreateProductOutput {
+ s.Tags = v
+ return s
+}
+
+type CreateProvisioningArtifactInput struct {
+ _ struct{} `type:"structure"`
+
+ // The language code to use for this operation. Supported language codes are
+ // as follows:
+ //
+ // "en" (English)
+ //
+ // "jp" (Japanese)
+ //
+ // "zh" (Chinese)
+ //
+ // If no code is specified, "en" is used as the default.
+ AcceptLanguage *string `type:"string"`
+
+ // A token to disambiguate duplicate requests. You can create multiple resources
+ // using the same input in multiple requests, provided that you also specify
+ // a different idempotency token for each 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.
+ //
+ // Parameters is a required field
+ Parameters *ProvisioningArtifactProperties `type:"structure" required:"true"`
+
+ // The product identifier.
+ //
+ // ProductId is a required field
+ ProductId *string `min:"1" type:"string" required:"true"`
+}
+
+// String returns the string representation
+func (s CreateProvisioningArtifactInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s CreateProvisioningArtifactInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *CreateProvisioningArtifactInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "CreateProvisioningArtifactInput"}
+ if s.IdempotencyToken == nil {
+ invalidParams.Add(request.NewErrParamRequired("IdempotencyToken"))
+ }
+ if s.IdempotencyToken != nil && len(*s.IdempotencyToken) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("IdempotencyToken", 1))
+ }
+ if s.Parameters == nil {
+ invalidParams.Add(request.NewErrParamRequired("Parameters"))
+ }
+ if s.ProductId == nil {
+ invalidParams.Add(request.NewErrParamRequired("ProductId"))
+ }
+ if s.ProductId != nil && len(*s.ProductId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ProductId", 1))
+ }
+ if s.Parameters != nil {
+ if err := s.Parameters.Validate(); err != nil {
+ invalidParams.AddNested("Parameters", err.(request.ErrInvalidParams))
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetAcceptLanguage sets the AcceptLanguage field's value.
+func (s *CreateProvisioningArtifactInput) SetAcceptLanguage(v string) *CreateProvisioningArtifactInput {
+ s.AcceptLanguage = &v
+ return s
+}
+
+// SetIdempotencyToken sets the IdempotencyToken field's value.
+func (s *CreateProvisioningArtifactInput) SetIdempotencyToken(v string) *CreateProvisioningArtifactInput {
+ s.IdempotencyToken = &v
+ return s
+}
+
+// SetParameters sets the Parameters field's value.
+func (s *CreateProvisioningArtifactInput) SetParameters(v *ProvisioningArtifactProperties) *CreateProvisioningArtifactInput {
+ s.Parameters = v
+ return s
+}
+
+// SetProductId sets the ProductId field's value.
+func (s *CreateProvisioningArtifactInput) SetProductId(v string) *CreateProvisioningArtifactInput {
+ s.ProductId = &v
+ return s
+}
+
+type CreateProvisioningArtifactOutput struct {
+ _ struct{} `type:"structure"`
+
+ // Additional information about the provisioning artifact create request.
+ Info map[string]*string `min:"1" type:"map"`
+
+ // The resulting detailed provisioning artifact information.
+ ProvisioningArtifactDetail *ProvisioningArtifactDetail `type:"structure"`
+
+ // The status of the current request.
+ Status *string `type:"string" enum:"Status"`
+}
+
+// String returns the string representation
+func (s CreateProvisioningArtifactOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s CreateProvisioningArtifactOutput) GoString() string {
+ return s.String()
+}
+
+// SetInfo sets the Info field's value.
+func (s *CreateProvisioningArtifactOutput) SetInfo(v map[string]*string) *CreateProvisioningArtifactOutput {
+ s.Info = v
+ return s
+}
+
+// SetProvisioningArtifactDetail sets the ProvisioningArtifactDetail field's value.
+func (s *CreateProvisioningArtifactOutput) SetProvisioningArtifactDetail(v *ProvisioningArtifactDetail) *CreateProvisioningArtifactOutput {
+ s.ProvisioningArtifactDetail = v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *CreateProvisioningArtifactOutput) SetStatus(v string) *CreateProvisioningArtifactOutput {
+ s.Status = &v
+ return s
+}
+
+type DeleteConstraintInput struct {
+ _ struct{} `type:"structure"`
+
+ // The language code to use for this operation. Supported language codes are
+ // as follows:
+ //
+ // "en" (English)
+ //
+ // "jp" (Japanese)
+ //
+ // "zh" (Chinese)
+ //
+ // If no code is specified, "en" is used as the default.
+ AcceptLanguage *string `type:"string"`
+
+ // The identifier of the constraint to delete.
+ //
+ // Id is a required field
+ Id *string `min:"1" type:"string" required:"true"`
+}
+
+// String returns the string representation
+func (s DeleteConstraintInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s DeleteConstraintInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DeleteConstraintInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DeleteConstraintInput"}
+ if s.Id == nil {
+ invalidParams.Add(request.NewErrParamRequired("Id"))
+ }
+ if s.Id != nil && len(*s.Id) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Id", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetAcceptLanguage sets the AcceptLanguage field's value.
+func (s *DeleteConstraintInput) SetAcceptLanguage(v string) *DeleteConstraintInput {
+ s.AcceptLanguage = &v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *DeleteConstraintInput) SetId(v string) *DeleteConstraintInput {
+ s.Id = &v
+ return s
+}
+
+type DeleteConstraintOutput struct {
+ _ struct{} `type:"structure"`
+}
+
+// String returns the string representation
+func (s DeleteConstraintOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s DeleteConstraintOutput) GoString() string {
+ return s.String()
+}
+
+type DeletePortfolioInput struct {
+ _ struct{} `type:"structure"`
+
+ // The language code to use for this operation. Supported language codes are
+ // as follows:
+ //
+ // "en" (English)
+ //
+ // "jp" (Japanese)
+ //
+ // "zh" (Chinese)
+ //
+ // If no code is specified, "en" is used as the default.
+ AcceptLanguage *string `type:"string"`
+
+ // The identifier of the portfolio for the delete request.
+ //
+ // Id is a required field
+ Id *string `min:"1" type:"string" required:"true"`
+}
+
+// String returns the string representation
+func (s DeletePortfolioInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s DeletePortfolioInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DeletePortfolioInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DeletePortfolioInput"}
+ if s.Id == nil {
+ invalidParams.Add(request.NewErrParamRequired("Id"))
+ }
+ if s.Id != nil && len(*s.Id) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Id", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetAcceptLanguage sets the AcceptLanguage field's value.
+func (s *DeletePortfolioInput) SetAcceptLanguage(v string) *DeletePortfolioInput {
+ s.AcceptLanguage = &v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *DeletePortfolioInput) SetId(v string) *DeletePortfolioInput {
+ s.Id = &v
+ return s
+}
+
+type DeletePortfolioOutput struct {
+ _ struct{} `type:"structure"`
+}
+
+// String returns the string representation
+func (s DeletePortfolioOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s DeletePortfolioOutput) GoString() string {
+ return s.String()
+}
+
+type DeletePortfolioShareInput struct {
+ _ struct{} `type:"structure"`
+
+ // The language code to use for this operation. Supported language codes are
+ // as follows:
+ //
+ // "en" (English)
+ //
+ // "jp" (Japanese)
+ //
+ // "zh" (Chinese)
+ //
+ // If no code is specified, "en" is used as the default.
+ AcceptLanguage *string `type:"string"`
+
+ // The account ID associated with the share to delete.
+ //
+ // AccountId is a required field
+ AccountId *string `type:"string" required:"true"`
+
+ // The portfolio identifier.
+ //
+ // PortfolioId is a required field
+ PortfolioId *string `min:"1" type:"string" required:"true"`
+}
+
+// String returns the string representation
+func (s DeletePortfolioShareInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s DeletePortfolioShareInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DeletePortfolioShareInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DeletePortfolioShareInput"}
+ if s.AccountId == nil {
+ invalidParams.Add(request.NewErrParamRequired("AccountId"))
+ }
+ if s.PortfolioId == nil {
+ invalidParams.Add(request.NewErrParamRequired("PortfolioId"))
+ }
+ if s.PortfolioId != nil && len(*s.PortfolioId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("PortfolioId", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetAcceptLanguage sets the AcceptLanguage field's value.
+func (s *DeletePortfolioShareInput) SetAcceptLanguage(v string) *DeletePortfolioShareInput {
+ s.AcceptLanguage = &v
+ return s
+}
+
+// SetAccountId sets the AccountId field's value.
+func (s *DeletePortfolioShareInput) SetAccountId(v string) *DeletePortfolioShareInput {
+ s.AccountId = &v
+ return s
+}
+
+// SetPortfolioId sets the PortfolioId field's value.
+func (s *DeletePortfolioShareInput) SetPortfolioId(v string) *DeletePortfolioShareInput {
+ s.PortfolioId = &v
+ return s
+}
+
+type DeletePortfolioShareOutput struct {
+ _ struct{} `type:"structure"`
+}
+
+// String returns the string representation
+func (s DeletePortfolioShareOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s DeletePortfolioShareOutput) GoString() string {
+ return s.String()
+}
+
+type DeleteProductInput struct {
+ _ struct{} `type:"structure"`
+
+ // The language code to use for this operation. Supported language codes are
+ // as follows:
+ //
+ // "en" (English)
+ //
+ // "jp" (Japanese)
+ //
+ // "zh" (Chinese)
+ //
+ // If no code is specified, "en" is used as the default.
+ AcceptLanguage *string `type:"string"`
+
+ // The identifier of the product for the delete request.
+ //
+ // Id is a required field
+ Id *string `min:"1" type:"string" required:"true"`
+}
+
+// String returns the string representation
+func (s DeleteProductInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s DeleteProductInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DeleteProductInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DeleteProductInput"}
+ if s.Id == nil {
+ invalidParams.Add(request.NewErrParamRequired("Id"))
+ }
+ if s.Id != nil && len(*s.Id) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Id", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetAcceptLanguage sets the AcceptLanguage field's value.
+func (s *DeleteProductInput) SetAcceptLanguage(v string) *DeleteProductInput {
+ s.AcceptLanguage = &v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *DeleteProductInput) SetId(v string) *DeleteProductInput {
+ s.Id = &v
+ return s
+}
+
+type DeleteProductOutput struct {
+ _ struct{} `type:"structure"`
+}
+
+// String returns the string representation
+func (s DeleteProductOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s DeleteProductOutput) GoString() string {
+ return s.String()
+}
+
+type DeleteProvisioningArtifactInput struct {
+ _ struct{} `type:"structure"`
+
+ // The language code to use for this operation. Supported language codes are
+ // as follows:
+ //
+ // "en" (English)
+ //
+ // "jp" (Japanese)
+ //
+ // "zh" (Chinese)
+ //
+ // If no code is specified, "en" is used as the default.
+ AcceptLanguage *string `type:"string"`
+
+ // The product identifier.
+ //
+ // ProductId is a required field
+ ProductId *string `min:"1" type:"string" required:"true"`
+
+ // The identifier of the provisioning artifact for the delete request.
+ //
+ // ProvisioningArtifactId is a required field
+ ProvisioningArtifactId *string `min:"1" type:"string" required:"true"`
+}
+
+// String returns the string representation
+func (s DeleteProvisioningArtifactInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s DeleteProvisioningArtifactInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DeleteProvisioningArtifactInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DeleteProvisioningArtifactInput"}
+ if s.ProductId == nil {
+ invalidParams.Add(request.NewErrParamRequired("ProductId"))
+ }
+ if s.ProductId != nil && len(*s.ProductId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ProductId", 1))
+ }
+ if s.ProvisioningArtifactId == nil {
+ invalidParams.Add(request.NewErrParamRequired("ProvisioningArtifactId"))
+ }
+ if s.ProvisioningArtifactId != nil && len(*s.ProvisioningArtifactId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ProvisioningArtifactId", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetAcceptLanguage sets the AcceptLanguage field's value.
+func (s *DeleteProvisioningArtifactInput) SetAcceptLanguage(v string) *DeleteProvisioningArtifactInput {
+ s.AcceptLanguage = &v
+ return s
+}
+
+// SetProductId sets the ProductId field's value.
+func (s *DeleteProvisioningArtifactInput) SetProductId(v string) *DeleteProvisioningArtifactInput {
+ s.ProductId = &v
+ return s
+}
+
+// SetProvisioningArtifactId sets the ProvisioningArtifactId field's value.
+func (s *DeleteProvisioningArtifactInput) SetProvisioningArtifactId(v string) *DeleteProvisioningArtifactInput {
+ s.ProvisioningArtifactId = &v
+ return s
+}
+
+type DeleteProvisioningArtifactOutput struct {
+ _ struct{} `type:"structure"`
+}
+
+// String returns the string representation
+func (s DeleteProvisioningArtifactOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s DeleteProvisioningArtifactOutput) GoString() string {
+ return s.String()
+}
+
+type DescribeConstraintInput struct {
+ _ struct{} `type:"structure"`
+
+ // The language code to use for this operation. Supported language codes are
+ // as follows:
+ //
+ // "en" (English)
+ //
+ // "jp" (Japanese)
+ //
+ // "zh" (Chinese)
+ //
+ // If no code is specified, "en" is used as the default.
+ AcceptLanguage *string `type:"string"`
+
+ // The identifier of the constraint.
+ //
+ // Id is a required field
+ Id *string `min:"1" type:"string" required:"true"`
+}
+
+// String returns the string representation
+func (s DescribeConstraintInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s DescribeConstraintInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DescribeConstraintInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DescribeConstraintInput"}
+ if s.Id == nil {
+ invalidParams.Add(request.NewErrParamRequired("Id"))
+ }
+ if s.Id != nil && len(*s.Id) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Id", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetAcceptLanguage sets the AcceptLanguage field's value.
+func (s *DescribeConstraintInput) SetAcceptLanguage(v string) *DescribeConstraintInput {
+ s.AcceptLanguage = &v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *DescribeConstraintInput) SetId(v string) *DescribeConstraintInput {
+ s.Id = &v
+ return s
+}
+
+type DescribeConstraintOutput struct {
+ _ struct{} `type:"structure"`
+
+ // Detailed constraint information.
+ ConstraintDetail *ConstraintDetail `type:"structure"`
+
+ // The current parameters associated with the specified constraint.
+ ConstraintParameters *string `type:"string"`
+
+ // The status of the current request.
+ Status *string `type:"string" enum:"Status"`
+}
+
+// String returns the string representation
+func (s DescribeConstraintOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s DescribeConstraintOutput) GoString() string {
+ return s.String()
+}
+
+// SetConstraintDetail sets the ConstraintDetail field's value.
+func (s *DescribeConstraintOutput) SetConstraintDetail(v *ConstraintDetail) *DescribeConstraintOutput {
+ s.ConstraintDetail = v
+ return s
+}
+
+// SetConstraintParameters sets the ConstraintParameters field's value.
+func (s *DescribeConstraintOutput) SetConstraintParameters(v string) *DescribeConstraintOutput {
+ s.ConstraintParameters = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *DescribeConstraintOutput) SetStatus(v string) *DescribeConstraintOutput {
+ s.Status = &v
+ return s
+}
+
+type DescribePortfolioInput struct {
+ _ struct{} `type:"structure"`
+
+ // The language code to use for this operation. Supported language codes are
+ // as follows:
+ //
+ // "en" (English)
+ //
+ // "jp" (Japanese)
+ //
+ // "zh" (Chinese)
+ //
+ // If no code is specified, "en" is used as the default.
+ AcceptLanguage *string `type:"string"`
+
+ // The identifier of the portfolio for which to retrieve information.
+ //
+ // Id is a required field
+ Id *string `min:"1" type:"string" required:"true"`
+}
+
+// String returns the string representation
+func (s DescribePortfolioInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s DescribePortfolioInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DescribePortfolioInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DescribePortfolioInput"}
+ if s.Id == nil {
+ invalidParams.Add(request.NewErrParamRequired("Id"))
+ }
+ if s.Id != nil && len(*s.Id) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Id", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetAcceptLanguage sets the AcceptLanguage field's value.
+func (s *DescribePortfolioInput) SetAcceptLanguage(v string) *DescribePortfolioInput {
+ s.AcceptLanguage = &v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *DescribePortfolioInput) SetId(v string) *DescribePortfolioInput {
+ s.Id = &v
+ return s
+}
+
+type DescribePortfolioOutput struct {
+ _ struct{} `type:"structure"`
+
+ // Detailed portfolio information.
+ PortfolioDetail *PortfolioDetail `type:"structure"`
+
+ // Tags associated with the portfolio.
+ Tags []*Tag `type:"list"`
+}
+
+// String returns the string representation
+func (s DescribePortfolioOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s DescribePortfolioOutput) GoString() string {
+ return s.String()
+}
+
+// SetPortfolioDetail sets the PortfolioDetail field's value.
+func (s *DescribePortfolioOutput) SetPortfolioDetail(v *PortfolioDetail) *DescribePortfolioOutput {
+ s.PortfolioDetail = v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *DescribePortfolioOutput) SetTags(v []*Tag) *DescribePortfolioOutput {
+ s.Tags = v
+ return s
+}
+
+type DescribeProductAsAdminInput struct {
+ _ struct{} `type:"structure"`
+
+ // The language code to use for this operation. Supported language codes are
+ // as follows:
+ //
+ // "en" (English)
+ //
+ // "jp" (Japanese)
+ //
+ // "zh" (Chinese)
+ //
+ // If no code is specified, "en" is used as the default.
+ AcceptLanguage *string `type:"string"`
+
+ // The identifier of the product for which to retrieve information.
+ //
+ // Id is a required field
+ Id *string `min:"1" type:"string" required:"true"`
+}
+
+// String returns the string representation
+func (s DescribeProductAsAdminInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s DescribeProductAsAdminInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DescribeProductAsAdminInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DescribeProductAsAdminInput"}
+ if s.Id == nil {
+ invalidParams.Add(request.NewErrParamRequired("Id"))
+ }
+ if s.Id != nil && len(*s.Id) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Id", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetAcceptLanguage sets the AcceptLanguage field's value.
+func (s *DescribeProductAsAdminInput) SetAcceptLanguage(v string) *DescribeProductAsAdminInput {
+ s.AcceptLanguage = &v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *DescribeProductAsAdminInput) SetId(v string) *DescribeProductAsAdminInput {
+ s.Id = &v
+ return s
+}
+
+type DescribeProductAsAdminOutput struct {
+ _ struct{} `type:"structure"`
+
+ // Detailed product view information.
+ ProductViewDetail *ProductViewDetail `type:"structure"`
+
+ // Tags associated with the product.
+ Tags []*Tag `type:"list"`
+}
+
+// String returns the string representation
+func (s DescribeProductAsAdminOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s DescribeProductAsAdminOutput) GoString() string {
+ return s.String()
+}
+
+// SetProductViewDetail sets the ProductViewDetail field's value.
+func (s *DescribeProductAsAdminOutput) SetProductViewDetail(v *ProductViewDetail) *DescribeProductAsAdminOutput {
+ s.ProductViewDetail = v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *DescribeProductAsAdminOutput) SetTags(v []*Tag) *DescribeProductAsAdminOutput {
+ s.Tags = v
+ return s
+}
+
+type DescribeProductInput struct {
+ _ struct{} `type:"structure"`
+
+ // The language code to use for this operation. Supported language codes are
+ // as follows:
+ //
+ // "en" (English)
+ //
+ // "jp" (Japanese)
+ //
+ // "zh" (Chinese)
+ //
+ // If no code is specified, "en" is used as the default.
+ AcceptLanguage *string `type:"string"`
+
+ // The ProductId of the product to describe.
+ //
+ // Id is a required field
+ Id *string `min:"1" type:"string" required:"true"`
+}
+
+// String returns the string representation
+func (s DescribeProductInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s DescribeProductInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DescribeProductInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DescribeProductInput"}
+ if s.Id == nil {
+ invalidParams.Add(request.NewErrParamRequired("Id"))
+ }
+ if s.Id != nil && len(*s.Id) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Id", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetAcceptLanguage sets the AcceptLanguage field's value.
+func (s *DescribeProductInput) SetAcceptLanguage(v string) *DescribeProductInput {
+ s.AcceptLanguage = &v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *DescribeProductInput) SetId(v string) *DescribeProductInput {
+ s.Id = &v
+ return s
+}
+
+type DescribeProductOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The summary metadata about the specified product.
+ 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.
+ ProvisioningArtifacts []*ProvisioningArtifact `type:"list"`
+}
+
+// String returns the string representation
+func (s DescribeProductOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s DescribeProductOutput) GoString() string {
+ return s.String()
+}
+
+// SetProductViewSummary sets the ProductViewSummary field's value.
+func (s *DescribeProductOutput) SetProductViewSummary(v *ProductViewSummary) *DescribeProductOutput {
+ s.ProductViewSummary = v
+ return s
+}
+
+// SetProvisioningArtifacts sets the ProvisioningArtifacts field's value.
+func (s *DescribeProductOutput) SetProvisioningArtifacts(v []*ProvisioningArtifact) *DescribeProductOutput {
+ s.ProvisioningArtifacts = v
+ return s
+}
+
+type DescribeProductViewInput struct {
+ _ struct{} `type:"structure"`
+
+ // The language code to use for this operation. Supported language codes are
+ // as follows:
+ //
+ // "en" (English)
+ //
+ // "jp" (Japanese)
+ //
+ // "zh" (Chinese)
+ //
+ // If no code is specified, "en" is used as the default.
+ AcceptLanguage *string `type:"string"`
+
+ // The ProductViewId of the product to describe.
+ //
+ // Id is a required field
+ Id *string `min:"1" type:"string" required:"true"`
+}
+
+// String returns the string representation
+func (s DescribeProductViewInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s DescribeProductViewInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DescribeProductViewInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DescribeProductViewInput"}
+ if s.Id == nil {
+ invalidParams.Add(request.NewErrParamRequired("Id"))
+ }
+ if s.Id != nil && len(*s.Id) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Id", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetAcceptLanguage sets the AcceptLanguage field's value.
+func (s *DescribeProductViewInput) SetAcceptLanguage(v string) *DescribeProductViewInput {
+ s.AcceptLanguage = &v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *DescribeProductViewInput) SetId(v string) *DescribeProductViewInput {
+ s.Id = &v
+ return s
+}
+
+type DescribeProductViewOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The summary metadata about the specified 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.
+ ProvisioningArtifacts []*ProvisioningArtifact `type:"list"`
+}
+
+// String returns the string representation
+func (s DescribeProductViewOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s DescribeProductViewOutput) GoString() string {
+ return s.String()
+}
+
+// SetProductViewSummary sets the ProductViewSummary field's value.
+func (s *DescribeProductViewOutput) SetProductViewSummary(v *ProductViewSummary) *DescribeProductViewOutput {
+ s.ProductViewSummary = v
+ return s
+}
+
+// SetProvisioningArtifacts sets the ProvisioningArtifacts field's value.
+func (s *DescribeProductViewOutput) SetProvisioningArtifacts(v []*ProvisioningArtifact) *DescribeProductViewOutput {
+ s.ProvisioningArtifacts = v
+ return s
+}
+
+type DescribeProvisioningArtifactInput struct {
+ _ struct{} `type:"structure"`
+
+ // The language code to use for this operation. Supported language codes are
+ // as follows:
+ //
+ // "en" (English)
+ //
+ // "jp" (Japanese)
+ //
+ // "zh" (Chinese)
+ //
+ // If no code is specified, "en" is used as the default.
+ AcceptLanguage *string `type:"string"`
+
+ // The product identifier.
+ //
+ // ProductId is a required field
+ ProductId *string `min:"1" type:"string" required:"true"`
+
+ // The identifier of the provisioning artifact.
+ //
+ // ProvisioningArtifactId is a required field
+ ProvisioningArtifactId *string `min:"1" type:"string" required:"true"`
+}
+
+// String returns the string representation
+func (s DescribeProvisioningArtifactInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s DescribeProvisioningArtifactInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DescribeProvisioningArtifactInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DescribeProvisioningArtifactInput"}
+ if s.ProductId == nil {
+ invalidParams.Add(request.NewErrParamRequired("ProductId"))
+ }
+ if s.ProductId != nil && len(*s.ProductId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ProductId", 1))
+ }
+ if s.ProvisioningArtifactId == nil {
+ invalidParams.Add(request.NewErrParamRequired("ProvisioningArtifactId"))
+ }
+ if s.ProvisioningArtifactId != nil && len(*s.ProvisioningArtifactId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ProvisioningArtifactId", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetAcceptLanguage sets the AcceptLanguage field's value.
+func (s *DescribeProvisioningArtifactInput) SetAcceptLanguage(v string) *DescribeProvisioningArtifactInput {
+ s.AcceptLanguage = &v
+ return s
+}
+
+// SetProductId sets the ProductId field's value.
+func (s *DescribeProvisioningArtifactInput) SetProductId(v string) *DescribeProvisioningArtifactInput {
+ s.ProductId = &v
+ return s
+}
+
+// SetProvisioningArtifactId sets the ProvisioningArtifactId field's value.
+func (s *DescribeProvisioningArtifactInput) SetProvisioningArtifactId(v string) *DescribeProvisioningArtifactInput {
+ s.ProvisioningArtifactId = &v
+ return s
+}
+
+type DescribeProvisioningArtifactOutput struct {
+ _ struct{} `type:"structure"`
+
+ // Additional information about the provisioning artifact.
+ Info map[string]*string `min:"1" type:"map"`
+
+ // Detailed provisioning artifact information.
+ ProvisioningArtifactDetail *ProvisioningArtifactDetail `type:"structure"`
+
+ // The status of the current request.
+ Status *string `type:"string" enum:"Status"`
+}
+
+// String returns the string representation
+func (s DescribeProvisioningArtifactOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s DescribeProvisioningArtifactOutput) GoString() string {
+ return s.String()
+}
+
+// SetInfo sets the Info field's value.
+func (s *DescribeProvisioningArtifactOutput) SetInfo(v map[string]*string) *DescribeProvisioningArtifactOutput {
+ s.Info = v
+ return s
+}
+
+// SetProvisioningArtifactDetail sets the ProvisioningArtifactDetail field's value.
+func (s *DescribeProvisioningArtifactOutput) SetProvisioningArtifactDetail(v *ProvisioningArtifactDetail) *DescribeProvisioningArtifactOutput {
+ s.ProvisioningArtifactDetail = v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *DescribeProvisioningArtifactOutput) SetStatus(v string) *DescribeProvisioningArtifactOutput {
+ s.Status = &v
+ return s
+}
+
+type DescribeProvisioningParametersInput struct {
+ _ struct{} `type:"structure"`
+
+ // The language code to use for this operation. Supported language codes are
+ // as follows:
+ //
+ // "en" (English)
+ //
+ // "jp" (Japanese)
+ //
+ // "zh" (Chinese)
+ //
+ // If no code is specified, "en" is used as the default.
+ 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.
+ PathId *string `min:"1" type:"string"`
+
+ // The product identifier.
+ //
+ // ProductId is a required field
+ ProductId *string `min:"1" type:"string" required:"true"`
+
+ // The provisioning artifact identifier for this product.
+ //
+ // ProvisioningArtifactId is a required field
+ ProvisioningArtifactId *string `min:"1" type:"string" required:"true"`
+}
+
+// String returns the string representation
+func (s DescribeProvisioningParametersInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s DescribeProvisioningParametersInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DescribeProvisioningParametersInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DescribeProvisioningParametersInput"}
+ if s.PathId != nil && len(*s.PathId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("PathId", 1))
+ }
+ if s.ProductId == nil {
+ invalidParams.Add(request.NewErrParamRequired("ProductId"))
+ }
+ if s.ProductId != nil && len(*s.ProductId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ProductId", 1))
+ }
+ if s.ProvisioningArtifactId == nil {
+ invalidParams.Add(request.NewErrParamRequired("ProvisioningArtifactId"))
+ }
+ if s.ProvisioningArtifactId != nil && len(*s.ProvisioningArtifactId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ProvisioningArtifactId", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetAcceptLanguage sets the AcceptLanguage field's value.
+func (s *DescribeProvisioningParametersInput) SetAcceptLanguage(v string) *DescribeProvisioningParametersInput {
+ s.AcceptLanguage = &v
+ return s
+}
+
+// SetPathId sets the PathId field's value.
+func (s *DescribeProvisioningParametersInput) SetPathId(v string) *DescribeProvisioningParametersInput {
+ s.PathId = &v
+ return s
+}
+
+// SetProductId sets the ProductId field's value.
+func (s *DescribeProvisioningParametersInput) SetProductId(v string) *DescribeProvisioningParametersInput {
+ s.ProductId = &v
+ return s
+}
+
+// SetProvisioningArtifactId sets the ProvisioningArtifactId field's value.
+func (s *DescribeProvisioningParametersInput) SetProvisioningArtifactId(v string) *DescribeProvisioningParametersInput {
+ s.ProvisioningArtifactId = &v
+ return s
+}
+
+type DescribeProvisioningParametersOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The list of constraint summaries that apply to provisioning this 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.
+ ProvisioningArtifactParameters []*ProvisioningArtifactParameter `type:"list"`
+
+ // Any additional metadata specifically related to the provisioning of the product.
+ // For example, see the Version field of the CloudFormation template.
+ UsageInstructions []*UsageInstruction `type:"list"`
+}
+
+// String returns the string representation
+func (s DescribeProvisioningParametersOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s DescribeProvisioningParametersOutput) GoString() string {
+ return s.String()
+}
+
+// SetConstraintSummaries sets the ConstraintSummaries field's value.
+func (s *DescribeProvisioningParametersOutput) SetConstraintSummaries(v []*ConstraintSummary) *DescribeProvisioningParametersOutput {
+ s.ConstraintSummaries = v
+ return s
+}
+
+// SetProvisioningArtifactParameters sets the ProvisioningArtifactParameters field's value.
+func (s *DescribeProvisioningParametersOutput) SetProvisioningArtifactParameters(v []*ProvisioningArtifactParameter) *DescribeProvisioningParametersOutput {
+ s.ProvisioningArtifactParameters = v
+ return s
+}
+
+// SetUsageInstructions sets the UsageInstructions field's value.
+func (s *DescribeProvisioningParametersOutput) SetUsageInstructions(v []*UsageInstruction) *DescribeProvisioningParametersOutput {
+ s.UsageInstructions = v
+ return s
+}
+
+type DescribeRecordInput struct {
+ _ struct{} `type:"structure"`
+
+ // The language code to use for this operation. Supported language codes are
+ // as follows:
+ //
+ // "en" (English)
+ //
+ // "jp" (Japanese)
+ //
+ // "zh" (Chinese)
+ //
+ // If no code is specified, "en" is used as the default.
+ 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.
+ //
+ // 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.
+ PageSize *int64 `type:"integer"`
+
+ // The page token of the first page retrieved. If null, this retrieves the first
+ // page of size PageSize.
+ PageToken *string `type:"string"`
+}
+
+// String returns the string representation
+func (s DescribeRecordInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s DescribeRecordInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DescribeRecordInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DescribeRecordInput"}
+ if s.Id == nil {
+ invalidParams.Add(request.NewErrParamRequired("Id"))
+ }
+ if s.Id != nil && len(*s.Id) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Id", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetAcceptLanguage sets the AcceptLanguage field's value.
+func (s *DescribeRecordInput) SetAcceptLanguage(v string) *DescribeRecordInput {
+ s.AcceptLanguage = &v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *DescribeRecordInput) SetId(v string) *DescribeRecordInput {
+ s.Id = &v
+ return s
+}
+
+// SetPageSize sets the PageSize field's value.
+func (s *DescribeRecordInput) SetPageSize(v int64) *DescribeRecordInput {
+ s.PageSize = &v
+ return s
+}
+
+// SetPageToken sets the PageToken field's value.
+func (s *DescribeRecordInput) SetPageToken(v string) *DescribeRecordInput {
+ s.PageToken = &v
+ return s
+}
+
+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.
+ NextPageToken *string `type:"string"`
+
+ // Detailed record information for the specified 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.
+ RecordOutputs []*RecordOutput `type:"list"`
+}
+
+// String returns the string representation
+func (s DescribeRecordOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s DescribeRecordOutput) GoString() string {
+ return s.String()
+}
+
+// SetNextPageToken sets the NextPageToken field's value.
+func (s *DescribeRecordOutput) SetNextPageToken(v string) *DescribeRecordOutput {
+ s.NextPageToken = &v
+ return s
+}
+
+// SetRecordDetail sets the RecordDetail field's value.
+func (s *DescribeRecordOutput) SetRecordDetail(v *RecordDetail) *DescribeRecordOutput {
+ s.RecordDetail = v
+ return s
+}
+
+// SetRecordOutputs sets the RecordOutputs field's value.
+func (s *DescribeRecordOutput) SetRecordOutputs(v []*RecordOutput) *DescribeRecordOutput {
+ s.RecordOutputs = v
+ return s
+}
+
+type DisassociatePrincipalFromPortfolioInput struct {
+ _ struct{} `type:"structure"`
+
+ // The language code to use for this operation. Supported language codes are
+ // as follows:
+ //
+ // "en" (English)
+ //
+ // "jp" (Japanese)
+ //
+ // "zh" (Chinese)
+ //
+ // If no code is specified, "en" is used as the default.
+ AcceptLanguage *string `type:"string"`
+
+ // The portfolio identifier.
+ //
+ // PortfolioId is a required field
+ PortfolioId *string `min:"1" type:"string" required:"true"`
+
+ // The ARN representing the principal (IAM user, role, or group).
+ //
+ // PrincipalARN is a required field
+ PrincipalARN *string `min:"1" type:"string" required:"true"`
+}
+
+// String returns the string representation
+func (s DisassociatePrincipalFromPortfolioInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s DisassociatePrincipalFromPortfolioInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DisassociatePrincipalFromPortfolioInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DisassociatePrincipalFromPortfolioInput"}
+ if s.PortfolioId == nil {
+ invalidParams.Add(request.NewErrParamRequired("PortfolioId"))
+ }
+ if s.PortfolioId != nil && len(*s.PortfolioId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("PortfolioId", 1))
+ }
+ if s.PrincipalARN == nil {
+ invalidParams.Add(request.NewErrParamRequired("PrincipalARN"))
+ }
+ if s.PrincipalARN != nil && len(*s.PrincipalARN) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("PrincipalARN", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetAcceptLanguage sets the AcceptLanguage field's value.
+func (s *DisassociatePrincipalFromPortfolioInput) SetAcceptLanguage(v string) *DisassociatePrincipalFromPortfolioInput {
+ s.AcceptLanguage = &v
+ return s
+}
+
+// SetPortfolioId sets the PortfolioId field's value.
+func (s *DisassociatePrincipalFromPortfolioInput) SetPortfolioId(v string) *DisassociatePrincipalFromPortfolioInput {
+ s.PortfolioId = &v
+ return s
+}
+
+// SetPrincipalARN sets the PrincipalARN field's value.
+func (s *DisassociatePrincipalFromPortfolioInput) SetPrincipalARN(v string) *DisassociatePrincipalFromPortfolioInput {
+ s.PrincipalARN = &v
+ return s
+}
+
+type DisassociatePrincipalFromPortfolioOutput struct {
+ _ struct{} `type:"structure"`
+}
+
+// String returns the string representation
+func (s DisassociatePrincipalFromPortfolioOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s DisassociatePrincipalFromPortfolioOutput) GoString() string {
+ return s.String()
+}
+
+type DisassociateProductFromPortfolioInput struct {
+ _ struct{} `type:"structure"`
+
+ // The language code to use for this operation. Supported language codes are
+ // as follows:
+ //
+ // "en" (English)
+ //
+ // "jp" (Japanese)
+ //
+ // "zh" (Chinese)
+ //
+ // If no code is specified, "en" is used as the default.
+ AcceptLanguage *string `type:"string"`
+
+ // The portfolio identifier.
+ //
+ // PortfolioId is a required field
+ PortfolioId *string `min:"1" type:"string" required:"true"`
+
+ // The product identifier.
+ //
+ // ProductId is a required field
+ ProductId *string `min:"1" type:"string" required:"true"`
+}
+
+// String returns the string representation
+func (s DisassociateProductFromPortfolioInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s DisassociateProductFromPortfolioInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DisassociateProductFromPortfolioInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DisassociateProductFromPortfolioInput"}
+ if s.PortfolioId == nil {
+ invalidParams.Add(request.NewErrParamRequired("PortfolioId"))
+ }
+ if s.PortfolioId != nil && len(*s.PortfolioId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("PortfolioId", 1))
+ }
+ if s.ProductId == nil {
+ invalidParams.Add(request.NewErrParamRequired("ProductId"))
+ }
+ if s.ProductId != nil && len(*s.ProductId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ProductId", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetAcceptLanguage sets the AcceptLanguage field's value.
+func (s *DisassociateProductFromPortfolioInput) SetAcceptLanguage(v string) *DisassociateProductFromPortfolioInput {
+ s.AcceptLanguage = &v
+ return s
+}
+
+// SetPortfolioId sets the PortfolioId field's value.
+func (s *DisassociateProductFromPortfolioInput) SetPortfolioId(v string) *DisassociateProductFromPortfolioInput {
+ s.PortfolioId = &v
+ return s
+}
+
+// SetProductId sets the ProductId field's value.
+func (s *DisassociateProductFromPortfolioInput) SetProductId(v string) *DisassociateProductFromPortfolioInput {
+ s.ProductId = &v
+ return s
+}
+
+type DisassociateProductFromPortfolioOutput struct {
+ _ struct{} `type:"structure"`
+}
+
+// String returns the string representation
+func (s DisassociateProductFromPortfolioOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s DisassociateProductFromPortfolioOutput) GoString() string {
+ return s.String()
+}
+
+// Summary information about a path for a user to have access to a specified
+// product.
+type LaunchPathSummary struct {
+ _ struct{} `type:"structure"`
+
+ // List of constraints on the portfolio-product relationship.
+ ConstraintSummaries []*ConstraintSummary `type:"list"`
+
+ // The unique identifier of the product path.
+ Id *string `min:"1" type:"string"`
+
+ // Corresponds to the name of the portfolio to which the user was assigned.
+ Name *string `type:"string"`
+
+ // List of tags used by this launch path.
+ Tags []*Tag `type:"list"`
+}
+
+// String returns the string representation
+func (s LaunchPathSummary) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s LaunchPathSummary) GoString() string {
+ return s.String()
+}
+
+// SetConstraintSummaries sets the ConstraintSummaries field's value.
+func (s *LaunchPathSummary) SetConstraintSummaries(v []*ConstraintSummary) *LaunchPathSummary {
+ s.ConstraintSummaries = v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *LaunchPathSummary) SetId(v string) *LaunchPathSummary {
+ s.Id = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *LaunchPathSummary) SetName(v string) *LaunchPathSummary {
+ s.Name = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *LaunchPathSummary) SetTags(v []*Tag) *LaunchPathSummary {
+ s.Tags = v
+ return s
+}
+
+type ListAcceptedPortfolioSharesInput struct {
+ _ struct{} `type:"structure"`
+
+ // The language code to use for this operation. Supported language codes are
+ // as follows:
+ //
+ // "en" (English)
+ //
+ // "jp" (Japanese)
+ //
+ // "zh" (Chinese)
+ //
+ // If no code is specified, "en" is used as the default.
+ 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.
+ PageSize *int64 `type:"integer"`
+
+ // The page token of the first page retrieved. If null, this retrieves the first
+ // page of size PageSize.
+ PageToken *string `type:"string"`
+}
+
+// String returns the string representation
+func (s ListAcceptedPortfolioSharesInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s ListAcceptedPortfolioSharesInput) GoString() string {
+ return s.String()
+}
+
+// SetAcceptLanguage sets the AcceptLanguage field's value.
+func (s *ListAcceptedPortfolioSharesInput) SetAcceptLanguage(v string) *ListAcceptedPortfolioSharesInput {
+ s.AcceptLanguage = &v
+ return s
+}
+
+// SetPageSize sets the PageSize field's value.
+func (s *ListAcceptedPortfolioSharesInput) SetPageSize(v int64) *ListAcceptedPortfolioSharesInput {
+ s.PageSize = &v
+ return s
+}
+
+// SetPageToken sets the PageToken field's value.
+func (s *ListAcceptedPortfolioSharesInput) SetPageToken(v string) *ListAcceptedPortfolioSharesInput {
+ s.PageToken = &v
+ return s
+}
+
+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.
+ NextPageToken *string `type:"string"`
+
+ // List of detailed portfolio information objects.
+ PortfolioDetails []*PortfolioDetail `type:"list"`
+}
+
+// String returns the string representation
+func (s ListAcceptedPortfolioSharesOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s ListAcceptedPortfolioSharesOutput) GoString() string {
+ return s.String()
+}
+
+// SetNextPageToken sets the NextPageToken field's value.
+func (s *ListAcceptedPortfolioSharesOutput) SetNextPageToken(v string) *ListAcceptedPortfolioSharesOutput {
+ s.NextPageToken = &v
+ return s
+}
+
+// SetPortfolioDetails sets the PortfolioDetails field's value.
+func (s *ListAcceptedPortfolioSharesOutput) SetPortfolioDetails(v []*PortfolioDetail) *ListAcceptedPortfolioSharesOutput {
+ s.PortfolioDetails = v
+ return s
+}
+
+type ListConstraintsForPortfolioInput struct {
+ _ struct{} `type:"structure"`
+
+ // The language code to use for this operation. Supported language codes are
+ // as follows:
+ //
+ // "en" (English)
+ //
+ // "jp" (Japanese)
+ //
+ // "zh" (Chinese)
+ //
+ // If no code is specified, "en" is used as the default.
+ 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.
+ PageSize *int64 `type:"integer"`
+
+ // The page token of the first page retrieved. If null, this retrieves the first
+ // page of size PageSize.
+ PageToken *string `type:"string"`
+
+ // The portfolio identifier.
+ //
+ // PortfolioId is a required field
+ PortfolioId *string `min:"1" type:"string" required:"true"`
+
+ // The product identifier.
+ ProductId *string `min:"1" type:"string"`
+}
+
+// String returns the string representation
+func (s ListConstraintsForPortfolioInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s ListConstraintsForPortfolioInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *ListConstraintsForPortfolioInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ListConstraintsForPortfolioInput"}
+ if s.PortfolioId == nil {
+ invalidParams.Add(request.NewErrParamRequired("PortfolioId"))
+ }
+ if s.PortfolioId != nil && len(*s.PortfolioId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("PortfolioId", 1))
+ }
+ if s.ProductId != nil && len(*s.ProductId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ProductId", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetAcceptLanguage sets the AcceptLanguage field's value.
+func (s *ListConstraintsForPortfolioInput) SetAcceptLanguage(v string) *ListConstraintsForPortfolioInput {
+ s.AcceptLanguage = &v
+ return s
+}
+
+// SetPageSize sets the PageSize field's value.
+func (s *ListConstraintsForPortfolioInput) SetPageSize(v int64) *ListConstraintsForPortfolioInput {
+ s.PageSize = &v
+ return s
+}
+
+// SetPageToken sets the PageToken field's value.
+func (s *ListConstraintsForPortfolioInput) SetPageToken(v string) *ListConstraintsForPortfolioInput {
+ s.PageToken = &v
+ return s
+}
+
+// SetPortfolioId sets the PortfolioId field's value.
+func (s *ListConstraintsForPortfolioInput) SetPortfolioId(v string) *ListConstraintsForPortfolioInput {
+ s.PortfolioId = &v
+ return s
+}
+
+// SetProductId sets the ProductId field's value.
+func (s *ListConstraintsForPortfolioInput) SetProductId(v string) *ListConstraintsForPortfolioInput {
+ s.ProductId = &v
+ return s
+}
+
+type ListConstraintsForPortfolioOutput struct {
+ _ struct{} `type:"structure"`
+
+ // List of detailed constraint information objects.
+ 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.
+ NextPageToken *string `type:"string"`
+}
+
+// String returns the string representation
+func (s ListConstraintsForPortfolioOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s ListConstraintsForPortfolioOutput) GoString() string {
+ return s.String()
+}
+
+// SetConstraintDetails sets the ConstraintDetails field's value.
+func (s *ListConstraintsForPortfolioOutput) SetConstraintDetails(v []*ConstraintDetail) *ListConstraintsForPortfolioOutput {
+ s.ConstraintDetails = v
+ return s
+}
+
+// SetNextPageToken sets the NextPageToken field's value.
+func (s *ListConstraintsForPortfolioOutput) SetNextPageToken(v string) *ListConstraintsForPortfolioOutput {
+ s.NextPageToken = &v
+ return s
+}
+
+type ListLaunchPathsInput struct {
+ _ struct{} `type:"structure"`
+
+ // The language code to use for this operation. Supported language codes are
+ // as follows:
+ //
+ // "en" (English)
+ //
+ // "jp" (Japanese)
+ //
+ // "zh" (Chinese)
+ //
+ // If no code is specified, "en" is used as the default.
+ 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.
+ PageSize *int64 `type:"integer"`
+
+ // The page token of the first page retrieved. If null, this retrieves the first
+ // page of size PageSize.
+ PageToken *string `type:"string"`
+
+ // The product identifier.. Identifies the product for which to retrieve LaunchPathSummaries
+ // information.
+ //
+ // ProductId is a required field
+ ProductId *string `min:"1" type:"string" required:"true"`
+}
+
+// String returns the string representation
+func (s ListLaunchPathsInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s ListLaunchPathsInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *ListLaunchPathsInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ListLaunchPathsInput"}
+ if s.ProductId == nil {
+ invalidParams.Add(request.NewErrParamRequired("ProductId"))
+ }
+ if s.ProductId != nil && len(*s.ProductId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ProductId", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetAcceptLanguage sets the AcceptLanguage field's value.
+func (s *ListLaunchPathsInput) SetAcceptLanguage(v string) *ListLaunchPathsInput {
+ s.AcceptLanguage = &v
+ return s
+}
+
+// SetPageSize sets the PageSize field's value.
+func (s *ListLaunchPathsInput) SetPageSize(v int64) *ListLaunchPathsInput {
+ s.PageSize = &v
+ return s
+}
+
+// SetPageToken sets the PageToken field's value.
+func (s *ListLaunchPathsInput) SetPageToken(v string) *ListLaunchPathsInput {
+ s.PageToken = &v
+ return s
+}
+
+// SetProductId sets the ProductId field's value.
+func (s *ListLaunchPathsInput) SetProductId(v string) *ListLaunchPathsInput {
+ s.ProductId = &v
+ return s
+}
+
+type ListLaunchPathsOutput struct {
+ _ struct{} `type:"structure"`
+
+ // List of launch path information summaries for the specified PageToken.
+ 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.
+ NextPageToken *string `type:"string"`
+}
+
+// String returns the string representation
+func (s ListLaunchPathsOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s ListLaunchPathsOutput) GoString() string {
+ return s.String()
+}
+
+// SetLaunchPathSummaries sets the LaunchPathSummaries field's value.
+func (s *ListLaunchPathsOutput) SetLaunchPathSummaries(v []*LaunchPathSummary) *ListLaunchPathsOutput {
+ s.LaunchPathSummaries = v
+ return s
+}
+
+// SetNextPageToken sets the NextPageToken field's value.
+func (s *ListLaunchPathsOutput) SetNextPageToken(v string) *ListLaunchPathsOutput {
+ s.NextPageToken = &v
+ return s
+}
+
+type ListPortfolioAccessInput struct {
+ _ struct{} `type:"structure"`
+
+ // The language code to use for this operation. Supported language codes are
+ // as follows:
+ //
+ // "en" (English)
+ //
+ // "jp" (Japanese)
+ //
+ // "zh" (Chinese)
+ //
+ // If no code is specified, "en" is used as the default.
+ AcceptLanguage *string `type:"string"`
+
+ // The portfolio identifier.
+ //
+ // PortfolioId is a required field
+ PortfolioId *string `min:"1" type:"string" required:"true"`
+}
+
+// String returns the string representation
+func (s ListPortfolioAccessInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s ListPortfolioAccessInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *ListPortfolioAccessInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ListPortfolioAccessInput"}
+ if s.PortfolioId == nil {
+ invalidParams.Add(request.NewErrParamRequired("PortfolioId"))
+ }
+ if s.PortfolioId != nil && len(*s.PortfolioId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("PortfolioId", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetAcceptLanguage sets the AcceptLanguage field's value.
+func (s *ListPortfolioAccessInput) SetAcceptLanguage(v string) *ListPortfolioAccessInput {
+ s.AcceptLanguage = &v
+ return s
+}
+
+// SetPortfolioId sets the PortfolioId field's value.
+func (s *ListPortfolioAccessInput) SetPortfolioId(v string) *ListPortfolioAccessInput {
+ s.PortfolioId = &v
+ return s
+}
+
+type ListPortfolioAccessOutput struct {
+ _ struct{} `type:"structure"`
+
+ // List of account IDs associated 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.
+ NextPageToken *string `type:"string"`
+}
+
+// String returns the string representation
+func (s ListPortfolioAccessOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s ListPortfolioAccessOutput) GoString() string {
+ return s.String()
+}
+
+// SetAccountIds sets the AccountIds field's value.
+func (s *ListPortfolioAccessOutput) SetAccountIds(v []*string) *ListPortfolioAccessOutput {
+ s.AccountIds = v
+ return s
+}
+
+// SetNextPageToken sets the NextPageToken field's value.
+func (s *ListPortfolioAccessOutput) SetNextPageToken(v string) *ListPortfolioAccessOutput {
+ s.NextPageToken = &v
+ return s
+}
+
+type ListPortfoliosForProductInput struct {
+ _ struct{} `type:"structure"`
+
+ // The language code to use for this operation. Supported language codes are
+ // as follows:
+ //
+ // "en" (English)
+ //
+ // "jp" (Japanese)
+ //
+ // "zh" (Chinese)
+ //
+ // If no code is specified, "en" is used as the default.
+ 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.
+ PageSize *int64 `type:"integer"`
+
+ // The page token of the first page retrieved. If null, this retrieves the first
+ // page of size PageSize.
+ PageToken *string `type:"string"`
+
+ // The product identifier.
+ //
+ // ProductId is a required field
+ ProductId *string `min:"1" type:"string" required:"true"`
+}
+
+// String returns the string representation
+func (s ListPortfoliosForProductInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s ListPortfoliosForProductInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *ListPortfoliosForProductInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ListPortfoliosForProductInput"}
+ if s.ProductId == nil {
+ invalidParams.Add(request.NewErrParamRequired("ProductId"))
+ }
+ if s.ProductId != nil && len(*s.ProductId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ProductId", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetAcceptLanguage sets the AcceptLanguage field's value.
+func (s *ListPortfoliosForProductInput) SetAcceptLanguage(v string) *ListPortfoliosForProductInput {
+ s.AcceptLanguage = &v
+ return s
+}
+
+// SetPageSize sets the PageSize field's value.
+func (s *ListPortfoliosForProductInput) SetPageSize(v int64) *ListPortfoliosForProductInput {
+ s.PageSize = &v
+ return s
+}
+
+// SetPageToken sets the PageToken field's value.
+func (s *ListPortfoliosForProductInput) SetPageToken(v string) *ListPortfoliosForProductInput {
+ s.PageToken = &v
+ return s
+}
+
+// SetProductId sets the ProductId field's value.
+func (s *ListPortfoliosForProductInput) SetProductId(v string) *ListPortfoliosForProductInput {
+ s.ProductId = &v
+ return s
+}
+
+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.
+ NextPageToken *string `type:"string"`
+
+ // List of detailed portfolio information objects.
+ PortfolioDetails []*PortfolioDetail `type:"list"`
+}
+
+// String returns the string representation
+func (s ListPortfoliosForProductOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s ListPortfoliosForProductOutput) GoString() string {
+ return s.String()
+}
+
+// SetNextPageToken sets the NextPageToken field's value.
+func (s *ListPortfoliosForProductOutput) SetNextPageToken(v string) *ListPortfoliosForProductOutput {
+ s.NextPageToken = &v
+ return s
+}
+
+// SetPortfolioDetails sets the PortfolioDetails field's value.
+func (s *ListPortfoliosForProductOutput) SetPortfolioDetails(v []*PortfolioDetail) *ListPortfoliosForProductOutput {
+ s.PortfolioDetails = v
+ return s
+}
+
+type ListPortfoliosInput struct {
+ _ struct{} `type:"structure"`
+
+ // The language code to use for this operation. Supported language codes are
+ // as follows:
+ //
+ // "en" (English)
+ //
+ // "jp" (Japanese)
+ //
+ // "zh" (Chinese)
+ //
+ // If no code is specified, "en" is used as the default.
+ 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.
+ PageSize *int64 `type:"integer"`
+
+ // The page token of the first page retrieved. If null, this retrieves the first
+ // page of size PageSize.
+ PageToken *string `type:"string"`
+}
+
+// String returns the string representation
+func (s ListPortfoliosInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s ListPortfoliosInput) GoString() string {
+ return s.String()
+}
+
+// SetAcceptLanguage sets the AcceptLanguage field's value.
+func (s *ListPortfoliosInput) SetAcceptLanguage(v string) *ListPortfoliosInput {
+ s.AcceptLanguage = &v
+ return s
+}
+
+// SetPageSize sets the PageSize field's value.
+func (s *ListPortfoliosInput) SetPageSize(v int64) *ListPortfoliosInput {
+ s.PageSize = &v
+ return s
+}
+
+// SetPageToken sets the PageToken field's value.
+func (s *ListPortfoliosInput) SetPageToken(v string) *ListPortfoliosInput {
+ s.PageToken = &v
+ return s
+}
+
+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.
+ NextPageToken *string `type:"string"`
+
+ // List of detailed portfolio information objects.
+ PortfolioDetails []*PortfolioDetail `type:"list"`
+}
+
+// String returns the string representation
+func (s ListPortfoliosOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s ListPortfoliosOutput) GoString() string {
+ return s.String()
+}
+
+// SetNextPageToken sets the NextPageToken field's value.
+func (s *ListPortfoliosOutput) SetNextPageToken(v string) *ListPortfoliosOutput {
+ s.NextPageToken = &v
+ return s
+}
+
+// SetPortfolioDetails sets the PortfolioDetails field's value.
+func (s *ListPortfoliosOutput) SetPortfolioDetails(v []*PortfolioDetail) *ListPortfoliosOutput {
+ s.PortfolioDetails = v
+ return s
+}
+
+type ListPrincipalsForPortfolioInput struct {
+ _ struct{} `type:"structure"`
+
+ // The language code to use for this operation. Supported language codes are
+ // as follows:
+ //
+ // "en" (English)
+ //
+ // "jp" (Japanese)
+ //
+ // "zh" (Chinese)
+ //
+ // If no code is specified, "en" is used as the default.
+ 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.
+ PageSize *int64 `type:"integer"`
+
+ // The page token of the first page retrieved. If null, this retrieves the first
+ // page of size PageSize.
+ PageToken *string `type:"string"`
+
+ // The portfolio identifier.
+ //
+ // PortfolioId is a required field
+ PortfolioId *string `min:"1" type:"string" required:"true"`
+}
+
+// String returns the string representation
+func (s ListPrincipalsForPortfolioInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s ListPrincipalsForPortfolioInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *ListPrincipalsForPortfolioInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ListPrincipalsForPortfolioInput"}
+ if s.PortfolioId == nil {
+ invalidParams.Add(request.NewErrParamRequired("PortfolioId"))
+ }
+ if s.PortfolioId != nil && len(*s.PortfolioId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("PortfolioId", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetAcceptLanguage sets the AcceptLanguage field's value.
+func (s *ListPrincipalsForPortfolioInput) SetAcceptLanguage(v string) *ListPrincipalsForPortfolioInput {
+ s.AcceptLanguage = &v
+ return s
+}
+
+// SetPageSize sets the PageSize field's value.
+func (s *ListPrincipalsForPortfolioInput) SetPageSize(v int64) *ListPrincipalsForPortfolioInput {
+ s.PageSize = &v
+ return s
+}
+
+// SetPageToken sets the PageToken field's value.
+func (s *ListPrincipalsForPortfolioInput) SetPageToken(v string) *ListPrincipalsForPortfolioInput {
+ s.PageToken = &v
+ return s
+}
+
+// SetPortfolioId sets the PortfolioId field's value.
+func (s *ListPrincipalsForPortfolioInput) SetPortfolioId(v string) *ListPrincipalsForPortfolioInput {
+ s.PortfolioId = &v
+ return s
+}
+
+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.
+ NextPageToken *string `type:"string"`
+
+ // The IAM principals (users or roles) associated with the portfolio.
+ Principals []*Principal `type:"list"`
+}
+
+// String returns the string representation
+func (s ListPrincipalsForPortfolioOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s ListPrincipalsForPortfolioOutput) GoString() string {
+ return s.String()
+}
+
+// SetNextPageToken sets the NextPageToken field's value.
+func (s *ListPrincipalsForPortfolioOutput) SetNextPageToken(v string) *ListPrincipalsForPortfolioOutput {
+ s.NextPageToken = &v
+ return s
+}
+
+// SetPrincipals sets the Principals field's value.
+func (s *ListPrincipalsForPortfolioOutput) SetPrincipals(v []*Principal) *ListPrincipalsForPortfolioOutput {
+ s.Principals = v
+ return s
+}
+
+type ListProvisioningArtifactsInput struct {
+ _ struct{} `type:"structure"`
+
+ // The language code to use for this operation. Supported language codes are
+ // as follows:
+ //
+ // "en" (English)
+ //
+ // "jp" (Japanese)
+ //
+ // "zh" (Chinese)
+ //
+ // If no code is specified, "en" is used as the default.
+ AcceptLanguage *string `type:"string"`
+
+ // The product identifier.
+ //
+ // ProductId is a required field
+ ProductId *string `min:"1" type:"string" required:"true"`
+}
+
+// String returns the string representation
+func (s ListProvisioningArtifactsInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s ListProvisioningArtifactsInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *ListProvisioningArtifactsInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ListProvisioningArtifactsInput"}
+ if s.ProductId == nil {
+ invalidParams.Add(request.NewErrParamRequired("ProductId"))
+ }
+ if s.ProductId != nil && len(*s.ProductId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ProductId", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetAcceptLanguage sets the AcceptLanguage field's value.
+func (s *ListProvisioningArtifactsInput) SetAcceptLanguage(v string) *ListProvisioningArtifactsInput {
+ s.AcceptLanguage = &v
+ return s
+}
+
+// SetProductId sets the ProductId field's value.
+func (s *ListProvisioningArtifactsInput) SetProductId(v string) *ListProvisioningArtifactsInput {
+ s.ProductId = &v
+ return s
+}
+
+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.
+ NextPageToken *string `type:"string"`
+
+ // List of detailed provisioning artifact information objects.
+ ProvisioningArtifactDetails []*ProvisioningArtifactDetail `type:"list"`
+}
+
+// String returns the string representation
+func (s ListProvisioningArtifactsOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s ListProvisioningArtifactsOutput) GoString() string {
+ return s.String()
+}
+
+// SetNextPageToken sets the NextPageToken field's value.
+func (s *ListProvisioningArtifactsOutput) SetNextPageToken(v string) *ListProvisioningArtifactsOutput {
+ s.NextPageToken = &v
+ return s
+}
+
+// SetProvisioningArtifactDetails sets the ProvisioningArtifactDetails field's value.
+func (s *ListProvisioningArtifactsOutput) SetProvisioningArtifactDetails(v []*ProvisioningArtifactDetail) *ListProvisioningArtifactsOutput {
+ s.ProvisioningArtifactDetails = v
+ return s
+}
+
+type ListRecordHistoryInput struct {
+ _ struct{} `type:"structure"`
+
+ // The language code to use for this operation. Supported language codes are
+ // as follows:
+ //
+ // "en" (English)
+ //
+ // "jp" (Japanese)
+ //
+ // "zh" (Chinese)
+ //
+ // If no code is specified, "en" is used as the default.
+ AcceptLanguage *string `type:"string"`
+
+ // The access level for obtaining results. If left unspecified, User level access
+ // is used.
+ 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.
+ PageSize *int64 `type:"integer"`
+
+ // The page token of the first page retrieved. If null, this retrieves the first
+ // page of size PageSize.
+ PageToken *string `type:"string"`
+
+ // The filter to limit search results.
+ SearchFilter *ListRecordHistorySearchFilter `type:"structure"`
+}
+
+// String returns the string representation
+func (s ListRecordHistoryInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s ListRecordHistoryInput) GoString() string {
+ return s.String()
+}
+
+// SetAcceptLanguage sets the AcceptLanguage field's value.
+func (s *ListRecordHistoryInput) SetAcceptLanguage(v string) *ListRecordHistoryInput {
+ s.AcceptLanguage = &v
+ return s
+}
+
+// SetAccessLevelFilter sets the AccessLevelFilter field's value.
+func (s *ListRecordHistoryInput) SetAccessLevelFilter(v *AccessLevelFilter) *ListRecordHistoryInput {
+ s.AccessLevelFilter = v
+ return s
+}
+
+// SetPageSize sets the PageSize field's value.
+func (s *ListRecordHistoryInput) SetPageSize(v int64) *ListRecordHistoryInput {
+ s.PageSize = &v
+ return s
+}
+
+// SetPageToken sets the PageToken field's value.
+func (s *ListRecordHistoryInput) SetPageToken(v string) *ListRecordHistoryInput {
+ s.PageToken = &v
+ return s
+}
+
+// SetSearchFilter sets the SearchFilter field's value.
+func (s *ListRecordHistoryInput) SetSearchFilter(v *ListRecordHistorySearchFilter) *ListRecordHistoryInput {
+ s.SearchFilter = v
+ return s
+}
+
+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.
+ NextPageToken *string `type:"string"`
+
+ // A list of record detail objects, listed in reverse chronological order.
+ RecordDetails []*RecordDetail `type:"list"`
+}
+
+// String returns the string representation
+func (s ListRecordHistoryOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s ListRecordHistoryOutput) GoString() string {
+ return s.String()
+}
+
+// SetNextPageToken sets the NextPageToken field's value.
+func (s *ListRecordHistoryOutput) SetNextPageToken(v string) *ListRecordHistoryOutput {
+ s.NextPageToken = &v
+ return s
+}
+
+// SetRecordDetails sets the RecordDetails field's value.
+func (s *ListRecordHistoryOutput) SetRecordDetails(v []*RecordDetail) *ListRecordHistoryOutput {
+ s.RecordDetails = v
+ return s
+}
+
+// The search filter to limit results when listing request history records.
+type ListRecordHistorySearchFilter struct {
+ _ struct{} `type:"structure"`
+
+ // The filter key.
+ Key *string `type:"string"`
+
+ // The filter value for Key.
+ Value *string `type:"string"`
+}
+
+// String returns the string representation
+func (s ListRecordHistorySearchFilter) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s ListRecordHistorySearchFilter) GoString() string {
+ return s.String()
+}
+
+// SetKey sets the Key field's value.
+func (s *ListRecordHistorySearchFilter) SetKey(v string) *ListRecordHistorySearchFilter {
+ s.Key = &v
+ return s
+}
+
+// SetValue sets the Value field's value.
+func (s *ListRecordHistorySearchFilter) SetValue(v string) *ListRecordHistorySearchFilter {
+ s.Value = &v
+ return s
+}
+
+// The constraints that the administrator has put on the parameter.
+type ParameterConstraints struct {
+ _ struct{} `type:"structure"`
+
+ // The values that the administrator has allowed for the parameter.
+ AllowedValues []*string `type:"list"`
+}
+
+// String returns the string representation
+func (s ParameterConstraints) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s ParameterConstraints) GoString() string {
+ return s.String()
+}
+
+// SetAllowedValues sets the AllowedValues field's value.
+func (s *ParameterConstraints) SetAllowedValues(v []*string) *ParameterConstraints {
+ s.AllowedValues = v
+ return s
+}
+
+// Detailed portfolio information.
+type PortfolioDetail struct {
+ _ struct{} `type:"structure"`
+
+ // The ARN assigned to the portfolio.
+ ARN *string `min:"1" type:"string"`
+
+ // The UTC timestamp of the creation time.
+ CreatedTime *time.Time `type:"timestamp" timestampFormat:"unix"`
+
+ // The text 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.
+ Id *string `min:"1" type:"string"`
+
+ // The name of the portfolio provider.
+ ProviderName *string `min:"1" type:"string"`
+}
+
+// String returns the string representation
+func (s PortfolioDetail) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s PortfolioDetail) GoString() string {
+ return s.String()
+}
+
+// SetARN sets the ARN field's value.
+func (s *PortfolioDetail) SetARN(v string) *PortfolioDetail {
+ s.ARN = &v
+ return s
+}
+
+// SetCreatedTime sets the CreatedTime field's value.
+func (s *PortfolioDetail) SetCreatedTime(v time.Time) *PortfolioDetail {
+ s.CreatedTime = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *PortfolioDetail) SetDescription(v string) *PortfolioDetail {
+ s.Description = &v
+ return s
+}
+
+// SetDisplayName sets the DisplayName field's value.
+func (s *PortfolioDetail) SetDisplayName(v string) *PortfolioDetail {
+ s.DisplayName = &v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *PortfolioDetail) SetId(v string) *PortfolioDetail {
+ s.Id = &v
+ return s
+}
+
+// SetProviderName sets the ProviderName field's value.
+func (s *PortfolioDetail) SetProviderName(v string) *PortfolioDetail {
+ s.ProviderName = &v
+ return s
+}
+
+// A principal's ARN and type.
+type Principal struct {
+ _ struct{} `type:"structure"`
+
+ // The ARN representing the principal (IAM user, role, or group).
+ PrincipalARN *string `min:"1" type:"string"`
+
+ // The principal type. Must be IAM
+ PrincipalType *string `type:"string" enum:"PrincipalType"`
+}
+
+// String returns the string representation
+func (s Principal) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s Principal) GoString() string {
+ return s.String()
+}
+
+// SetPrincipalARN sets the PrincipalARN field's value.
+func (s *Principal) SetPrincipalARN(v string) *Principal {
+ s.PrincipalARN = &v
+ return s
+}
+
+// SetPrincipalType sets the PrincipalType field's value.
+func (s *Principal) SetPrincipalType(v string) *Principal {
+ s.PrincipalType = &v
+ return s
+}
+
+// A single product view aggregation value/count pair, containing metadata about
+// each product to which the calling user has access.
+type ProductViewAggregationValue struct {
+ _ struct{} `type:"structure"`
+
+ // An approximate count of the products that match the value.
+ ApproximateCount *int64 `type:"integer"`
+
+ // The value of the product view aggregation.
+ Value *string `type:"string"`
+}
+
+// String returns the string representation
+func (s ProductViewAggregationValue) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s ProductViewAggregationValue) GoString() string {
+ return s.String()
+}
+
+// SetApproximateCount sets the ApproximateCount field's value.
+func (s *ProductViewAggregationValue) SetApproximateCount(v int64) *ProductViewAggregationValue {
+ s.ApproximateCount = &v
+ return s
+}
+
+// SetValue sets the Value field's value.
+func (s *ProductViewAggregationValue) SetValue(v string) *ProductViewAggregationValue {
+ s.Value = &v
+ return s
+}
+
+// Detailed product view information.
+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.
+ ProductARN *string `min:"1" type:"string"`
+
+ // The summary metadata about the specified product view.
+ ProductViewSummary *ProductViewSummary `type:"structure"`
+
+ // Current status of the product.
+ Status *string `type:"string" enum:"Status"`
+}
+
+// String returns the string representation
+func (s ProductViewDetail) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s ProductViewDetail) GoString() string {
+ return s.String()
+}
+
+// SetCreatedTime sets the CreatedTime field's value.
+func (s *ProductViewDetail) SetCreatedTime(v time.Time) *ProductViewDetail {
+ s.CreatedTime = &v
+ return s
+}
+
+// SetProductARN sets the ProductARN field's value.
+func (s *ProductViewDetail) SetProductARN(v string) *ProductViewDetail {
+ s.ProductARN = &v
+ return s
+}
+
+// SetProductViewSummary sets the ProductViewSummary field's value.
+func (s *ProductViewDetail) SetProductViewSummary(v *ProductViewSummary) *ProductViewDetail {
+ s.ProductViewSummary = v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *ProductViewDetail) SetStatus(v string) *ProductViewDetail {
+ s.Status = &v
+ return s
+}
+
+// The summary metadata about the specified product.
+type ProductViewSummary struct {
+ _ struct{} `type:"structure"`
+
+ // The distributor of the product. Contact the product administrator for the
+ // 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.
+ HasDefaultPath *bool `type:"boolean"`
+
+ // The product view identifier.
+ Id *string `min:"1" type:"string"`
+
+ // The name of the product.
+ Name *string `type:"string"`
+
+ // The owner of the product. Contact the product administrator for the significance
+ // of this value.
+ Owner *string `type:"string"`
+
+ // The product identifier.
+ ProductId *string `min:"1" type:"string"`
+
+ // Short description of the product.
+ ShortDescription *string `type:"string"`
+
+ // The description of the support for this Product.
+ SupportDescription *string `type:"string"`
+
+ // The email contact information to obtain support for this Product.
+ SupportEmail *string `type:"string"`
+
+ // The URL information to obtain support for this Product.
+ SupportUrl *string `type:"string"`
+
+ // The product type. Contact the product administrator for the significance
+ // of this value.
+ Type *string `type:"string" enum:"ProductType"`
+}
+
+// String returns the string representation
+func (s ProductViewSummary) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s ProductViewSummary) GoString() string {
+ return s.String()
+}
+
+// SetDistributor sets the Distributor field's value.
+func (s *ProductViewSummary) SetDistributor(v string) *ProductViewSummary {
+ s.Distributor = &v
+ return s
+}
+
+// SetHasDefaultPath sets the HasDefaultPath field's value.
+func (s *ProductViewSummary) SetHasDefaultPath(v bool) *ProductViewSummary {
+ s.HasDefaultPath = &v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *ProductViewSummary) SetId(v string) *ProductViewSummary {
+ s.Id = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *ProductViewSummary) SetName(v string) *ProductViewSummary {
+ s.Name = &v
+ return s
+}
+
+// SetOwner sets the Owner field's value.
+func (s *ProductViewSummary) SetOwner(v string) *ProductViewSummary {
+ s.Owner = &v
+ return s
+}
+
+// SetProductId sets the ProductId field's value.
+func (s *ProductViewSummary) SetProductId(v string) *ProductViewSummary {
+ s.ProductId = &v
+ return s
+}
+
+// SetShortDescription sets the ShortDescription field's value.
+func (s *ProductViewSummary) SetShortDescription(v string) *ProductViewSummary {
+ s.ShortDescription = &v
+ return s
+}
+
+// SetSupportDescription sets the SupportDescription field's value.
+func (s *ProductViewSummary) SetSupportDescription(v string) *ProductViewSummary {
+ s.SupportDescription = &v
+ return s
+}
+
+// SetSupportEmail sets the SupportEmail field's value.
+func (s *ProductViewSummary) SetSupportEmail(v string) *ProductViewSummary {
+ s.SupportEmail = &v
+ return s
+}
+
+// SetSupportUrl sets the SupportUrl field's value.
+func (s *ProductViewSummary) SetSupportUrl(v string) *ProductViewSummary {
+ s.SupportUrl = &v
+ return s
+}
+
+// SetType sets the Type field's value.
+func (s *ProductViewSummary) SetType(v string) *ProductViewSummary {
+ s.Type = &v
+ return s
+}
+
+type ProvisionProductInput struct {
+ _ struct{} `type:"structure"`
+
+ // The language code to use for this operation. Supported language codes are
+ // as follows:
+ //
+ // "en" (English)
+ //
+ // "jp" (Japanese)
+ //
+ // "zh" (Chinese)
+ //
+ // If no code is specified, "en" is used as the default.
+ AcceptLanguage *string `type:"string"`
+
+ // Passed to CloudFormation. The SNS topic ARNs to which to publish stack-related
+ // 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.
+ PathId *string `min:"1" type:"string"`
+
+ // The product identifier.
+ //
+ // ProductId is a required field
+ ProductId *string `min:"1" type:"string" required:"true"`
+
+ // An idempotency token that uniquely identifies the provisioning request.
+ //
+ // 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.
+ //
+ // ProvisionedProductName is a required field
+ ProvisionedProductName *string `type:"string" required:"true"`
+
+ // The provisioning artifact identifier for this product.
+ //
+ // ProvisioningArtifactId is a required field
+ ProvisioningArtifactId *string `min:"1" type:"string" required:"true"`
+
+ // Parameters specified by the administrator that are required for provisioning
+ // the product.
+ ProvisioningParameters []*ProvisioningParameter `type:"list"`
+
+ // A list of tags to use as provisioning options.
+ Tags []*Tag `type:"list"`
+}
+
+// String returns the string representation
+func (s ProvisionProductInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s ProvisionProductInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *ProvisionProductInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ProvisionProductInput"}
+ if s.PathId != nil && len(*s.PathId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("PathId", 1))
+ }
+ if s.ProductId == nil {
+ invalidParams.Add(request.NewErrParamRequired("ProductId"))
+ }
+ if s.ProductId != nil && len(*s.ProductId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ProductId", 1))
+ }
+ if s.ProvisionToken == nil {
+ invalidParams.Add(request.NewErrParamRequired("ProvisionToken"))
+ }
+ if s.ProvisionToken != nil && len(*s.ProvisionToken) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ProvisionToken", 1))
+ }
+ if s.ProvisionedProductName == nil {
+ invalidParams.Add(request.NewErrParamRequired("ProvisionedProductName"))
+ }
+ if s.ProvisioningArtifactId == nil {
+ invalidParams.Add(request.NewErrParamRequired("ProvisioningArtifactId"))
+ }
+ if s.ProvisioningArtifactId != nil && len(*s.ProvisioningArtifactId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ProvisioningArtifactId", 1))
+ }
+ if s.ProvisioningParameters != nil {
+ for i, v := range s.ProvisioningParameters {
+ if v == nil {
+ continue
+ }
+ if err := v.Validate(); err != nil {
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ProvisioningParameters", i), err.(request.ErrInvalidParams))
+ }
+ }
+ }
+ if s.Tags != nil {
+ for i, v := range s.Tags {
+ if v == nil {
+ continue
+ }
+ if err := v.Validate(); err != nil {
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
+ }
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetAcceptLanguage sets the AcceptLanguage field's value.
+func (s *ProvisionProductInput) SetAcceptLanguage(v string) *ProvisionProductInput {
+ s.AcceptLanguage = &v
+ return s
+}
+
+// SetNotificationArns sets the NotificationArns field's value.
+func (s *ProvisionProductInput) SetNotificationArns(v []*string) *ProvisionProductInput {
+ s.NotificationArns = v
+ return s
+}
+
+// SetPathId sets the PathId field's value.
+func (s *ProvisionProductInput) SetPathId(v string) *ProvisionProductInput {
+ s.PathId = &v
+ return s
+}
+
+// SetProductId sets the ProductId field's value.
+func (s *ProvisionProductInput) SetProductId(v string) *ProvisionProductInput {
+ s.ProductId = &v
+ return s
+}
+
+// SetProvisionToken sets the ProvisionToken field's value.
+func (s *ProvisionProductInput) SetProvisionToken(v string) *ProvisionProductInput {
+ s.ProvisionToken = &v
+ return s
+}
+
+// SetProvisionedProductName sets the ProvisionedProductName field's value.
+func (s *ProvisionProductInput) SetProvisionedProductName(v string) *ProvisionProductInput {
+ s.ProvisionedProductName = &v
+ return s
+}
+
+// SetProvisioningArtifactId sets the ProvisioningArtifactId field's value.
+func (s *ProvisionProductInput) SetProvisioningArtifactId(v string) *ProvisionProductInput {
+ s.ProvisioningArtifactId = &v
+ return s
+}
+
+// SetProvisioningParameters sets the ProvisioningParameters field's value.
+func (s *ProvisionProductInput) SetProvisioningParameters(v []*ProvisioningParameter) *ProvisionProductInput {
+ s.ProvisioningParameters = v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *ProvisionProductInput) SetTags(v []*Tag) *ProvisionProductInput {
+ s.Tags = v
+ return s
+}
+
+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.
+ RecordDetail *RecordDetail `type:"structure"`
+}
+
+// String returns the string representation
+func (s ProvisionProductOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s ProvisionProductOutput) GoString() string {
+ return s.String()
+}
+
+// SetRecordDetail sets the RecordDetail field's value.
+func (s *ProvisionProductOutput) SetRecordDetail(v *RecordDetail) *ProvisionProductOutput {
+ s.RecordDetail = v
+ return s
+}
+
+// Detailed information about a ProvisionedProduct object.
+type ProvisionedProductDetail struct {
+ _ struct{} `type:"structure"`
+
+ // The ARN associated with the ProvisionedProduct object.
+ 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.
+ Id *string `type:"string"`
+
+ // A token to disambiguate duplicate requests. You can create multiple resources
+ // using the same input in multiple requests, provided that you also specify
+ // a different idempotency token for each request.
+ IdempotencyToken *string `min:"1" type:"string"`
+
+ // The record identifier of the last request performed on this ProvisionedProduct
+ // object.
+ LastRecordId *string `type:"string"`
+
+ // The user-friendly name of the ProvisionedProduct object.
+ Name *string `min:"1" type:"string"`
+
+ // The current status of the ProvisionedProduct.
+ Status *string `type:"string" enum:"RecordStatus"`
+
+ // The current status message of the ProvisionedProduct.
+ StatusMessage *string `type:"string"`
+
+ // The type of the ProvisionedProduct object.
+ Type *string `type:"string"`
+}
+
+// String returns the string representation
+func (s ProvisionedProductDetail) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s ProvisionedProductDetail) GoString() string {
+ return s.String()
+}
+
+// SetArn sets the Arn field's value.
+func (s *ProvisionedProductDetail) SetArn(v string) *ProvisionedProductDetail {
+ s.Arn = &v
+ return s
+}
+
+// SetCreatedTime sets the CreatedTime field's value.
+func (s *ProvisionedProductDetail) SetCreatedTime(v time.Time) *ProvisionedProductDetail {
+ s.CreatedTime = &v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *ProvisionedProductDetail) SetId(v string) *ProvisionedProductDetail {
+ s.Id = &v
+ return s
+}
+
+// SetIdempotencyToken sets the IdempotencyToken field's value.
+func (s *ProvisionedProductDetail) SetIdempotencyToken(v string) *ProvisionedProductDetail {
+ s.IdempotencyToken = &v
+ return s
+}
+
+// SetLastRecordId sets the LastRecordId field's value.
+func (s *ProvisionedProductDetail) SetLastRecordId(v string) *ProvisionedProductDetail {
+ s.LastRecordId = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *ProvisionedProductDetail) SetName(v string) *ProvisionedProductDetail {
+ s.Name = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *ProvisionedProductDetail) SetStatus(v string) *ProvisionedProductDetail {
+ s.Status = &v
+ return s
+}
+
+// SetStatusMessage sets the StatusMessage field's value.
+func (s *ProvisionedProductDetail) SetStatusMessage(v string) *ProvisionedProductDetail {
+ s.StatusMessage = &v
+ return s
+}
+
+// SetType sets the Type field's value.
+func (s *ProvisionedProductDetail) SetType(v string) *ProvisionedProductDetail {
+ s.Type = &v
+ return s
+}
+
+// Contains information indicating the ways in which a product can be provisioned.
+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.
+ Description *string `type:"string"`
+
+ // The identifier for the artifact.
+ Id *string `min:"1" type:"string"`
+
+ // The name of the artifact.
+ Name *string `type:"string"`
+}
+
+// String returns the string representation
+func (s ProvisioningArtifact) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s ProvisioningArtifact) GoString() string {
+ return s.String()
+}
+
+// SetCreatedTime sets the CreatedTime field's value.
+func (s *ProvisioningArtifact) SetCreatedTime(v time.Time) *ProvisioningArtifact {
+ s.CreatedTime = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *ProvisioningArtifact) SetDescription(v string) *ProvisioningArtifact {
+ s.Description = &v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *ProvisioningArtifact) SetId(v string) *ProvisioningArtifact {
+ s.Id = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *ProvisioningArtifact) SetName(v string) *ProvisioningArtifact {
+ s.Name = &v
+ return s
+}
+
+// Detailed provisioning artifact information.
+type ProvisioningArtifactDetail struct {
+ _ struct{} `type:"structure"`
+
+ // The UTC timestamp of the creation time.
+ CreatedTime *time.Time `type:"timestamp" timestampFormat:"unix"`
+
+ // The text description of the provisioning artifact.
+ Description *string `type:"string"`
+
+ // The identifier of the provisioning artifact.
+ Id *string `min:"1" type:"string"`
+
+ // The name assigned to the provisioning artifact.
+ Name *string `type:"string"`
+
+ // The type of the provisioning artifact.
+ Type *string `type:"string" enum:"ProvisioningArtifactType"`
+}
+
+// String returns the string representation
+func (s ProvisioningArtifactDetail) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s ProvisioningArtifactDetail) GoString() string {
+ return s.String()
+}
+
+// SetCreatedTime sets the CreatedTime field's value.
+func (s *ProvisioningArtifactDetail) SetCreatedTime(v time.Time) *ProvisioningArtifactDetail {
+ s.CreatedTime = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *ProvisioningArtifactDetail) SetDescription(v string) *ProvisioningArtifactDetail {
+ s.Description = &v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *ProvisioningArtifactDetail) SetId(v string) *ProvisioningArtifactDetail {
+ s.Id = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *ProvisioningArtifactDetail) SetName(v string) *ProvisioningArtifactDetail {
+ s.Name = &v
+ return s
+}
+
+// SetType sets the Type field's value.
+func (s *ProvisioningArtifactDetail) SetType(v string) *ProvisioningArtifactDetail {
+ s.Type = &v
+ return s
+}
+
+// A parameter used to successfully provision the product. This value includes
+// a list of allowable values and additional metadata.
+type ProvisioningArtifactParameter struct {
+ _ struct{} `type:"structure"`
+
+ // The default value for this parameter.
+ DefaultValue *string `type:"string"`
+
+ // The text description of the parameter.
+ Description *string `type:"string"`
+
+ // If this value is true, the value for this parameter is obfuscated from view
+ // when the parameter is retrieved. This parameter is used to hide sensitive
+ // information.
+ IsNoEcho *bool `type:"boolean"`
+
+ // The list of constraints that the administrator has put on the parameter.
+ ParameterConstraints *ParameterConstraints `type:"structure"`
- // Specifies the user to which the access level applies. A value of Self is
- // currently supported.
- Value *string `type:"string"`
+ // The parameter key.
+ ParameterKey *string `min:"1" type:"string"`
+
+ // The parameter type.
+ ParameterType *string `type:"string"`
}
// String returns the string representation
-func (s AccessLevelFilter) String() string {
+func (s ProvisioningArtifactParameter) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
-func (s AccessLevelFilter) GoString() string {
+func (s ProvisioningArtifactParameter) GoString() string {
return s.String()
}
-// An administrator-specified constraint to apply when provisioning a product.
-type ConstraintSummary struct {
- _ struct{} `type:"structure"`
+// SetDefaultValue sets the DefaultValue field's value.
+func (s *ProvisioningArtifactParameter) SetDefaultValue(v string) *ProvisioningArtifactParameter {
+ s.DefaultValue = &v
+ return s
+}
- // The text description of the constraint.
- Description *string `type:"string"`
+// SetDescription sets the Description field's value.
+func (s *ProvisioningArtifactParameter) SetDescription(v string) *ProvisioningArtifactParameter {
+ s.Description = &v
+ return s
+}
- // The type of the constraint.
- Type *string `type:"string"`
+// SetIsNoEcho sets the IsNoEcho field's value.
+func (s *ProvisioningArtifactParameter) SetIsNoEcho(v bool) *ProvisioningArtifactParameter {
+ s.IsNoEcho = &v
+ return s
}
-// String returns the string representation
-func (s ConstraintSummary) String() string {
- return awsutil.Prettify(s)
+// SetParameterConstraints sets the ParameterConstraints field's value.
+func (s *ProvisioningArtifactParameter) SetParameterConstraints(v *ParameterConstraints) *ProvisioningArtifactParameter {
+ s.ParameterConstraints = v
+ return s
}
-// GoString returns the string representation
-func (s ConstraintSummary) GoString() string {
- return s.String()
+// SetParameterKey sets the ParameterKey field's value.
+func (s *ProvisioningArtifactParameter) SetParameterKey(v string) *ProvisioningArtifactParameter {
+ s.ParameterKey = &v
+ return s
}
-type DescribeProductInput struct {
+// SetParameterType sets the ParameterType field's value.
+func (s *ProvisioningArtifactParameter) SetParameterType(v string) *ProvisioningArtifactParameter {
+ s.ParameterType = &v
+ return s
+}
+
+// Provisioning artifact properties.
+type ProvisioningArtifactProperties struct {
_ struct{} `type:"structure"`
- // The language code to use for this operation. Supported language codes are
- // as follows:
- //
- // "en" (English)
- //
- // "jp" (Japanese)
- //
- // "zh" (Chinese)
- //
- // If no code is specified, "en" is used as the default.
- AcceptLanguage *string `type:"string"`
+ // The text description of the provisioning artifact properties.
+ Description *string `type:"string"`
- // The ProductId of the product to describe.
+ // Additional information about the provisioning artifact properties.
//
- // Id is a required field
- Id *string `min:"1" type:"string" required:"true"`
+ // Info is a required field
+ Info map[string]*string `min:"1" type:"map" required:"true"`
+
+ // The name assigned to the provisioning artifact properties.
+ Name *string `type:"string"`
+
+ // The type of the provisioning artifact properties.
+ Type *string `type:"string" enum:"ProvisioningArtifactType"`
}
// String returns the string representation
-func (s DescribeProductInput) String() string {
+func (s ProvisioningArtifactProperties) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
-func (s DescribeProductInput) GoString() string {
+func (s ProvisioningArtifactProperties) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *DescribeProductInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "DescribeProductInput"}
- if s.Id == nil {
- invalidParams.Add(request.NewErrParamRequired("Id"))
+func (s *ProvisioningArtifactProperties) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ProvisioningArtifactProperties"}
+ if s.Info == nil {
+ invalidParams.Add(request.NewErrParamRequired("Info"))
}
- if s.Id != nil && len(*s.Id) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Id", 1))
+ if s.Info != nil && len(s.Info) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Info", 1))
}
if invalidParams.Len() > 0 {
@@ -869,66 +7423,57 @@ func (s *DescribeProductInput) Validate() error {
return nil
}
-type DescribeProductOutput struct {
- _ struct{} `type:"structure"`
-
- // The summary metadata about the specified product.
- ProductViewSummary *ProductViewSummary `type:"structure"`
+// SetDescription sets the Description field's value.
+func (s *ProvisioningArtifactProperties) SetDescription(v string) *ProvisioningArtifactProperties {
+ s.Description = &v
+ return s
+}
- // A list of provisioning artifact objects for the specified product. The ProvisioningArtifacts
- // parameter represent the ways the specified product can be provisioned.
- ProvisioningArtifacts []*ProvisioningArtifact `type:"list"`
+// SetInfo sets the Info field's value.
+func (s *ProvisioningArtifactProperties) SetInfo(v map[string]*string) *ProvisioningArtifactProperties {
+ s.Info = v
+ return s
}
-// String returns the string representation
-func (s DescribeProductOutput) String() string {
- return awsutil.Prettify(s)
+// SetName sets the Name field's value.
+func (s *ProvisioningArtifactProperties) SetName(v string) *ProvisioningArtifactProperties {
+ s.Name = &v
+ return s
}
-// GoString returns the string representation
-func (s DescribeProductOutput) GoString() string {
- return s.String()
+// SetType sets the Type field's value.
+func (s *ProvisioningArtifactProperties) SetType(v string) *ProvisioningArtifactProperties {
+ s.Type = &v
+ return s
}
-type DescribeProductViewInput struct {
+// The arameter key/value pairs used to provision a product.
+type ProvisioningParameter struct {
_ struct{} `type:"structure"`
- // The language code to use for this operation. Supported language codes are
- // as follows:
- //
- // "en" (English)
- //
- // "jp" (Japanese)
- //
- // "zh" (Chinese)
- //
- // If no code is specified, "en" is used as the default.
- AcceptLanguage *string `type:"string"`
+ // The ProvisioningArtifactParameter.ParameterKey parameter from DescribeProvisioningParameters.
+ Key *string `min:"1" type:"string"`
- // The ProductViewId of the product to describe.
- //
- // Id is a required field
- Id *string `min:"1" type:"string" required:"true"`
+ // The value to use for provisioning. Any constraints on this value can be found
+ // in ProvisioningArtifactParameter for Key.
+ Value *string `type:"string"`
}
// String returns the string representation
-func (s DescribeProductViewInput) String() string {
+func (s ProvisioningParameter) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
-func (s DescribeProductViewInput) GoString() string {
+func (s ProvisioningParameter) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *DescribeProductViewInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "DescribeProductViewInput"}
- if s.Id == nil {
- invalidParams.Add(request.NewErrParamRequired("Id"))
- }
- if s.Id != nil && len(*s.Id) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Id", 1))
+func (s *ProvisioningParameter) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ProvisioningParameter"}
+ if s.Key != nil && len(*s.Key) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Key", 1))
}
if invalidParams.Len() > 0 {
@@ -937,231 +7482,261 @@ func (s *DescribeProductViewInput) Validate() error {
return nil
}
-type DescribeProductViewOutput struct {
- _ struct{} `type:"structure"`
-
- // The summary metadata about the specified 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.
- ProvisioningArtifacts []*ProvisioningArtifact `type:"list"`
-}
-
-// String returns the string representation
-func (s DescribeProductViewOutput) String() string {
- return awsutil.Prettify(s)
+// SetKey sets the Key field's value.
+func (s *ProvisioningParameter) SetKey(v string) *ProvisioningParameter {
+ s.Key = &v
+ return s
}
-// GoString returns the string representation
-func (s DescribeProductViewOutput) GoString() string {
- return s.String()
+// SetValue sets the Value field's value.
+func (s *ProvisioningParameter) SetValue(v string) *ProvisioningParameter {
+ s.Value = &v
+ return s
}
-type DescribeProvisioningParametersInput struct {
+// The full details of a specific ProvisionedProduct object.
+type RecordDetail struct {
_ struct{} `type:"structure"`
- // The language code to use for this operation. Supported language codes are
- // as follows:
- //
- // "en" (English)
- //
- // "jp" (Japanese)
- //
- // "zh" (Chinese)
- //
- // If no code is specified, "en" is used as the default.
- AcceptLanguage *string `type:"string"`
+ // The UTC timestamp of the creation time.
+ CreatedTime *time.Time `type:"timestamp" timestampFormat:"unix"`
- // 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 identifier of the path for this product's provisioning.
PathId *string `min:"1" type:"string"`
- // The identifier of the product.
- //
- // ProductId is a required field
- ProductId *string `min:"1" type:"string" required:"true"`
+ // The product identifier.
+ ProductId *string `min:"1" type:"string"`
+
+ // The identifier of the ProvisionedProduct object.
+ ProvisionedProductId *string `min:"1" type:"string"`
+
+ // The user-friendly name of the ProvisionedProduct object.
+ ProvisionedProductName *string `type:"string"`
+
+ // The type of the ProvisionedProduct object.
+ ProvisionedProductType *string `type:"string"`
// The provisioning artifact identifier for this product.
- //
- // ProvisioningArtifactId is a required field
- ProvisioningArtifactId *string `min:"1" type:"string" required:"true"`
+ ProvisioningArtifactId *string `min:"1" type:"string"`
+
+ // A list of errors that occurred while processing the request.
+ RecordErrors []*RecordError `type:"list"`
+
+ // The identifier of the ProvisionedProduct object record.
+ RecordId *string `min:"1" type:"string"`
+
+ // List of tags associated with this record.
+ RecordTags []*RecordTag `type:"list"`
+
+ // The record type for this record.
+ RecordType *string `type:"string"`
+
+ // The status of the ProvisionedProduct object.
+ Status *string `type:"string" enum:"RecordStatus"`
+
+ // The time when the record for the ProvisionedProduct object was last updated.
+ UpdatedTime *time.Time `type:"timestamp" timestampFormat:"unix"`
}
// String returns the string representation
-func (s DescribeProvisioningParametersInput) String() string {
+func (s RecordDetail) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
-func (s DescribeProvisioningParametersInput) GoString() string {
+func (s RecordDetail) GoString() string {
return s.String()
}
-// Validate inspects the fields of the type to determine if they are valid.
-func (s *DescribeProvisioningParametersInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "DescribeProvisioningParametersInput"}
- if s.PathId != nil && len(*s.PathId) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("PathId", 1))
- }
- if s.ProductId == nil {
- invalidParams.Add(request.NewErrParamRequired("ProductId"))
- }
- if s.ProductId != nil && len(*s.ProductId) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("ProductId", 1))
- }
- if s.ProvisioningArtifactId == nil {
- invalidParams.Add(request.NewErrParamRequired("ProvisioningArtifactId"))
- }
- if s.ProvisioningArtifactId != nil && len(*s.ProvisioningArtifactId) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("ProvisioningArtifactId", 1))
- }
+// SetCreatedTime sets the CreatedTime field's value.
+func (s *RecordDetail) SetCreatedTime(v time.Time) *RecordDetail {
+ s.CreatedTime = &v
+ return s
+}
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
+// SetPathId sets the PathId field's value.
+func (s *RecordDetail) SetPathId(v string) *RecordDetail {
+ s.PathId = &v
+ return s
}
-type DescribeProvisioningParametersOutput struct {
- _ struct{} `type:"structure"`
+// SetProductId sets the ProductId field's value.
+func (s *RecordDetail) SetProductId(v string) *RecordDetail {
+ s.ProductId = &v
+ return s
+}
- // The list of constraint summaries that apply to provisioning this product.
- ConstraintSummaries []*ConstraintSummary `type:"list"`
+// SetProvisionedProductId sets the ProvisionedProductId field's value.
+func (s *RecordDetail) SetProvisionedProductId(v string) *RecordDetail {
+ s.ProvisionedProductId = &v
+ return s
+}
- // The list of parameters used to successfully provision the product. Each parameter
- // includes a list of allowable values and additional metadata about each parameter.
- ProvisioningArtifactParameters []*ProvisioningArtifactParameter `type:"list"`
+// SetProvisionedProductName sets the ProvisionedProductName field's value.
+func (s *RecordDetail) SetProvisionedProductName(v string) *RecordDetail {
+ s.ProvisionedProductName = &v
+ return s
+}
- // Any additional metadata specifically related to the provisioning of the product.
- // For example, see the Version field of the CloudFormation template.
- UsageInstructions []*UsageInstruction `type:"list"`
+// SetProvisionedProductType sets the ProvisionedProductType field's value.
+func (s *RecordDetail) SetProvisionedProductType(v string) *RecordDetail {
+ s.ProvisionedProductType = &v
+ return s
}
-// String returns the string representation
-func (s DescribeProvisioningParametersOutput) String() string {
- return awsutil.Prettify(s)
+// SetProvisioningArtifactId sets the ProvisioningArtifactId field's value.
+func (s *RecordDetail) SetProvisioningArtifactId(v string) *RecordDetail {
+ s.ProvisioningArtifactId = &v
+ return s
}
-// GoString returns the string representation
-func (s DescribeProvisioningParametersOutput) GoString() string {
- return s.String()
+// SetRecordErrors sets the RecordErrors field's value.
+func (s *RecordDetail) SetRecordErrors(v []*RecordError) *RecordDetail {
+ s.RecordErrors = v
+ return s
}
-type DescribeRecordInput struct {
- _ struct{} `type:"structure"`
+// SetRecordId sets the RecordId field's value.
+func (s *RecordDetail) SetRecordId(v string) *RecordDetail {
+ s.RecordId = &v
+ return s
+}
- // The language code to use for this operation. Supported language codes are
- // as follows:
- //
- // "en" (English)
- //
- // "jp" (Japanese)
- //
- // "zh" (Chinese)
- //
- // If no code is specified, "en" is used as the default.
- AcceptLanguage *string `type:"string"`
+// SetRecordTags sets the RecordTags field's value.
+func (s *RecordDetail) SetRecordTags(v []*RecordTag) *RecordDetail {
+ s.RecordTags = v
+ return s
+}
- // 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.
- //
- // Id is a required field
- Id *string `min:"1" type:"string" required:"true"`
+// SetRecordType sets the RecordType field's value.
+func (s *RecordDetail) SetRecordType(v string) *RecordDetail {
+ s.RecordType = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *RecordDetail) SetStatus(v string) *RecordDetail {
+ s.Status = &v
+ return s
+}
+
+// SetUpdatedTime sets the UpdatedTime field's value.
+func (s *RecordDetail) SetUpdatedTime(v time.Time) *RecordDetail {
+ s.UpdatedTime = &v
+ return s
+}
+
+// The error code and description resulting from an operation.
+type RecordError 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.
- PageSize *int64 `type:"integer"`
+ // The numeric value of the error.
+ Code *string `type:"string"`
- // The page token of the first page retrieved. If null, this retrieves the first
- // page of size PageSize.
- PageToken *string `type:"string"`
+ // The text description of the error.
+ Description *string `type:"string"`
}
// String returns the string representation
-func (s DescribeRecordInput) String() string {
+func (s RecordError) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
-func (s DescribeRecordInput) GoString() string {
+func (s RecordError) GoString() string {
return s.String()
}
-// Validate inspects the fields of the type to determine if they are valid.
-func (s *DescribeRecordInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "DescribeRecordInput"}
- if s.Id == nil {
- invalidParams.Add(request.NewErrParamRequired("Id"))
- }
- if s.Id != nil && len(*s.Id) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Id", 1))
- }
+// SetCode sets the Code field's value.
+func (s *RecordError) SetCode(v string) *RecordError {
+ s.Code = &v
+ return s
+}
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
+// SetDescription sets the Description field's value.
+func (s *RecordError) SetDescription(v string) *RecordError {
+ s.Description = &v
+ return s
}
-type DescribeRecordOutput struct {
+// 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.
+type RecordOutput 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.
- NextPageToken *string `type:"string"`
+ // The text description of the output.
+ Description *string `type:"string"`
- // Detailed record information for the specified product.
- RecordDetail *RecordDetail `type:"structure"`
+ // The output key.
+ OutputKey *string `type:"string"`
- // 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.
- RecordOutputs []*RecordOutput `type:"list"`
+ // The output value.
+ OutputValue *string `type:"string"`
}
// String returns the string representation
-func (s DescribeRecordOutput) String() string {
+func (s RecordOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
-func (s DescribeRecordOutput) GoString() string {
+func (s RecordOutput) GoString() string {
return s.String()
}
-// Summary information about a path for a user to have access to a specified
-// product.
-type LaunchPathSummary struct {
- _ struct{} `type:"structure"`
+// SetDescription sets the Description field's value.
+func (s *RecordOutput) SetDescription(v string) *RecordOutput {
+ s.Description = &v
+ return s
+}
- // List of constraints on the portfolio-product relationship.
- ConstraintSummaries []*ConstraintSummary `type:"list"`
+// SetOutputKey sets the OutputKey field's value.
+func (s *RecordOutput) SetOutputKey(v string) *RecordOutput {
+ s.OutputKey = &v
+ return s
+}
- // The unique identifier of the product path.
- Id *string `min:"1" type:"string"`
+// SetOutputValue sets the OutputValue field's value.
+func (s *RecordOutput) SetOutputValue(v string) *RecordOutput {
+ s.OutputValue = &v
+ return s
+}
- // Corresponds to the name of the portfolio to which the user was assigned.
- Name *string `type:"string"`
+// A tag associated with the record, stored as a key-value pair.
+type RecordTag struct {
+ _ struct{} `type:"structure"`
- // List of tags used by this launch path.
- Tags []*Tag `type:"list"`
+ // The key for this tag.
+ Key *string `min:"1" type:"string"`
+
+ // The value for this tag.
+ Value *string `min:"1" type:"string"`
}
// String returns the string representation
-func (s LaunchPathSummary) String() string {
+func (s RecordTag) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
-func (s LaunchPathSummary) GoString() string {
+func (s RecordTag) GoString() string {
return s.String()
}
-type ListLaunchPathsInput struct {
+// SetKey sets the Key field's value.
+func (s *RecordTag) SetKey(v string) *RecordTag {
+ s.Key = &v
+ return s
+}
+
+// SetValue sets the Value field's value.
+func (s *RecordTag) SetValue(v string) *RecordTag {
+ s.Value = &v
+ return s
+}
+
+type RejectPortfolioShareInput struct {
_ struct{} `type:"structure"`
// The language code to use for this operation. Supported language codes are
@@ -1176,39 +7751,30 @@ type ListLaunchPathsInput struct {
// If no code is specified, "en" is used as the default.
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.
- PageSize *int64 `type:"integer"`
-
- // The page token of the first page retrieved. If null, this retrieves the first
- // page of size PageSize.
- PageToken *string `type:"string"`
-
- // Identifies the product for which to retrieve LaunchPathSummaries information.
+ // The portfolio identifier.
//
- // ProductId is a required field
- ProductId *string `min:"1" type:"string" required:"true"`
+ // PortfolioId is a required field
+ PortfolioId *string `min:"1" type:"string" required:"true"`
}
// String returns the string representation
-func (s ListLaunchPathsInput) String() string {
+func (s RejectPortfolioShareInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
-func (s ListLaunchPathsInput) GoString() string {
+func (s RejectPortfolioShareInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *ListLaunchPathsInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "ListLaunchPathsInput"}
- if s.ProductId == nil {
- invalidParams.Add(request.NewErrParamRequired("ProductId"))
+func (s *RejectPortfolioShareInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "RejectPortfolioShareInput"}
+ if s.PortfolioId == nil {
+ invalidParams.Add(request.NewErrParamRequired("PortfolioId"))
}
- if s.ProductId != nil && len(*s.ProductId) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("ProductId", 1))
+ if s.PortfolioId != nil && len(*s.PortfolioId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("PortfolioId", 1))
}
if invalidParams.Len() > 0 {
@@ -1217,28 +7783,33 @@ func (s *ListLaunchPathsInput) Validate() error {
return nil
}
-type ListLaunchPathsOutput struct {
- _ struct{} `type:"structure"`
+// SetAcceptLanguage sets the AcceptLanguage field's value.
+func (s *RejectPortfolioShareInput) SetAcceptLanguage(v string) *RejectPortfolioShareInput {
+ s.AcceptLanguage = &v
+ return s
+}
- // List of launch path information summaries for the specified PageToken.
- LaunchPathSummaries []*LaunchPathSummary `type:"list"`
+// SetPortfolioId sets the PortfolioId field's value.
+func (s *RejectPortfolioShareInput) SetPortfolioId(v string) *RejectPortfolioShareInput {
+ s.PortfolioId = &v
+ return s
+}
- // 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.
- NextPageToken *string `type:"string"`
+type RejectPortfolioShareOutput struct {
+ _ struct{} `type:"structure"`
}
// String returns the string representation
-func (s ListLaunchPathsOutput) String() string {
+func (s RejectPortfolioShareOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
-func (s ListLaunchPathsOutput) GoString() string {
+func (s RejectPortfolioShareOutput) GoString() string {
return s.String()
}
-type ListRecordHistoryInput struct {
+type ScanProvisionedProductsInput struct {
_ struct{} `type:"structure"`
// The language code to use for this operation. Supported language codes are
@@ -1265,159 +7836,76 @@ type ListRecordHistoryInput struct {
// The page token of the first page retrieved. If null, this retrieves the first
// page of size PageSize.
PageToken *string `type:"string"`
-
- // The filter to limit search results.
- SearchFilter *ListRecordHistorySearchFilter `type:"structure"`
-}
-
-// String returns the string representation
-func (s ListRecordHistoryInput) String() string {
- return awsutil.Prettify(s)
-}
-
-// GoString returns the string representation
-func (s ListRecordHistoryInput) GoString() string {
- return s.String()
-}
-
-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.
- NextPageToken *string `type:"string"`
-
- // A list of record detail objects, listed in reverse chronological order.
- RecordDetails []*RecordDetail `type:"list"`
}
// String returns the string representation
-func (s ListRecordHistoryOutput) String() string {
+func (s ScanProvisionedProductsInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
-func (s ListRecordHistoryOutput) GoString() string {
+func (s ScanProvisionedProductsInput) GoString() string {
return s.String()
}
-// The search filter to limit results when listing request history records.
-type ListRecordHistorySearchFilter struct {
- _ struct{} `type:"structure"`
-
- // The filter key.
- Key *string `type:"string"`
-
- // The filter value for Key.
- Value *string `type:"string"`
-}
-
-// String returns the string representation
-func (s ListRecordHistorySearchFilter) String() string {
- return awsutil.Prettify(s)
-}
-
-// GoString returns the string representation
-func (s ListRecordHistorySearchFilter) GoString() string {
- return s.String()
+// SetAcceptLanguage sets the AcceptLanguage field's value.
+func (s *ScanProvisionedProductsInput) SetAcceptLanguage(v string) *ScanProvisionedProductsInput {
+ s.AcceptLanguage = &v
+ return s
}
-// The constraints that the administrator has put on the parameter.
-type ParameterConstraints struct {
- _ struct{} `type:"structure"`
-
- // The values that the administrator has allowed for the parameter.
- AllowedValues []*string `type:"list"`
+// SetAccessLevelFilter sets the AccessLevelFilter field's value.
+func (s *ScanProvisionedProductsInput) SetAccessLevelFilter(v *AccessLevelFilter) *ScanProvisionedProductsInput {
+ s.AccessLevelFilter = v
+ return s
}
-// String returns the string representation
-func (s ParameterConstraints) String() string {
- return awsutil.Prettify(s)
+// SetPageSize sets the PageSize field's value.
+func (s *ScanProvisionedProductsInput) SetPageSize(v int64) *ScanProvisionedProductsInput {
+ s.PageSize = &v
+ return s
}
-// GoString returns the string representation
-func (s ParameterConstraints) GoString() string {
- return s.String()
+// SetPageToken sets the PageToken field's value.
+func (s *ScanProvisionedProductsInput) SetPageToken(v string) *ScanProvisionedProductsInput {
+ s.PageToken = &v
+ return s
}
-// A single product view aggregation value/count pair, containing metadata about
-// each product to which the calling user has access.
-type ProductViewAggregationValue struct {
+type ScanProvisionedProductsOutput struct {
_ struct{} `type:"structure"`
- // An approximate count of the products that match the value.
- ApproximateCount *int64 `type:"integer"`
+ // 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.
+ NextPageToken *string `type:"string"`
- // The value of the product view aggregation.
- Value *string `type:"string"`
+ // A list of ProvisionedProduct detail objects.
+ ProvisionedProducts []*ProvisionedProductDetail `type:"list"`
}
// String returns the string representation
-func (s ProductViewAggregationValue) String() string {
+func (s ScanProvisionedProductsOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
-func (s ProductViewAggregationValue) GoString() string {
+func (s ScanProvisionedProductsOutput) GoString() string {
return s.String()
}
-// The summary metadata about the specified product.
-type ProductViewSummary struct {
- _ struct{} `type:"structure"`
-
- // The distributor of the product. Contact the product administrator for the
- // 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.
- HasDefaultPath *bool `type:"boolean"`
-
- // The product view identifier.
- Id *string `min:"1" type:"string"`
-
- // The name of the product.
- Name *string `type:"string"`
-
- // The owner of the product. Contact the product administrator for the significance
- // of this value.
- Owner *string `type:"string"`
-
- // The product identifier.
- ProductId *string `min:"1" type:"string"`
-
- // Short description of the product.
- ShortDescription *string `type:"string"`
-
- // The description of the support for this Product.
- SupportDescription *string `type:"string"`
-
- // The email contact information to obtain support for this Product.
- SupportEmail *string `type:"string"`
-
- // The URL information to obtain support for this Product.
- SupportUrl *string `type:"string"`
-
- // The product type. Contact the product administrator for the significance
- // of this value.
- Type *string `type:"string"`
-}
-
-// String returns the string representation
-func (s ProductViewSummary) String() string {
- return awsutil.Prettify(s)
+// SetNextPageToken sets the NextPageToken field's value.
+func (s *ScanProvisionedProductsOutput) SetNextPageToken(v string) *ScanProvisionedProductsOutput {
+ s.NextPageToken = &v
+ return s
}
-// GoString returns the string representation
-func (s ProductViewSummary) GoString() string {
- return s.String()
+// SetProvisionedProducts sets the ProvisionedProducts field's value.
+func (s *ScanProvisionedProductsOutput) SetProvisionedProducts(v []*ProvisionedProductDetail) *ScanProvisionedProductsOutput {
+ s.ProvisionedProducts = v
+ return s
}
-type ProvisionProductInput struct {
+type SearchProductsAsAdminInput struct {
_ struct{} `type:"structure"`
// The language code to use for this operation. Supported language codes are
@@ -1432,91 +7920,48 @@ type ProvisionProductInput struct {
// If no code is specified, "en" is used as the default.
AcceptLanguage *string `type:"string"`
- // Passed to CloudFormation. The SNS topic ARNs to which to publish stack-related
- // 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.
- PathId *string `min:"1" 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.
+ Filters map[string][]*string `type:"map"`
- // The identifier of the product.
- //
- // ProductId is a required field
- ProductId *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.
+ PageSize *int64 `type:"integer"`
- // An idempotency token that uniquely identifies the provisioning request.
- //
- // ProvisionToken is a required field
- ProvisionToken *string `min:"1" type:"string" required:"true" idempotencyToken:"true"`
+ // The page token of the first page retrieved. If null, this retrieves the first
+ // page of size PageSize.
+ PageToken *string `type:"string"`
- // 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.
- //
- // ProvisionedProductName is a required field
- ProvisionedProductName *string `type:"string" required:"true"`
+ // The portfolio identifier.
+ PortfolioId *string `min:"1" type:"string"`
- // The provisioning artifact identifier for this product.
- //
- // ProvisioningArtifactId is a required field
- ProvisioningArtifactId *string `min:"1" type:"string" required:"true"`
+ // Access level of the source of the product.
+ ProductSource *string `type:"string" enum:"ProductSource"`
- // Parameters specified by the administrator that are required for provisioning
- // the product.
- ProvisioningParameters []*ProvisioningParameter `type:"list"`
+ // The sort field specifier. If no value is specified, results are not sorted.
+ SortBy *string `type:"string" enum:"ProductViewSortBy"`
- // A list of tags to use as provisioning options.
- Tags []*Tag `type:"list"`
+ // The sort order specifier. If no value is specified, results are not sorted.
+ SortOrder *string `type:"string" enum:"SortOrder"`
}
// String returns the string representation
-func (s ProvisionProductInput) String() string {
+func (s SearchProductsAsAdminInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
-func (s ProvisionProductInput) GoString() string {
+func (s SearchProductsAsAdminInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *ProvisionProductInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "ProvisionProductInput"}
- if s.PathId != nil && len(*s.PathId) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("PathId", 1))
- }
- if s.ProductId == nil {
- invalidParams.Add(request.NewErrParamRequired("ProductId"))
- }
- if s.ProductId != nil && len(*s.ProductId) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("ProductId", 1))
- }
- if s.ProvisionToken == nil {
- invalidParams.Add(request.NewErrParamRequired("ProvisionToken"))
- }
- if s.ProvisionToken != nil && len(*s.ProvisionToken) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("ProvisionToken", 1))
- }
- if s.ProvisionedProductName == nil {
- invalidParams.Add(request.NewErrParamRequired("ProvisionedProductName"))
- }
- if s.ProvisioningArtifactId == nil {
- invalidParams.Add(request.NewErrParamRequired("ProvisioningArtifactId"))
- }
- if s.ProvisioningArtifactId != nil && len(*s.ProvisioningArtifactId) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("ProvisioningArtifactId", 1))
- }
- if s.Tags != nil {
- for i, v := range s.Tags {
- if v == nil {
- continue
- }
- if err := v.Validate(); err != nil {
- invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
- }
- }
+func (s *SearchProductsAsAdminInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "SearchProductsAsAdminInput"}
+ if s.PortfolioId != nil && len(*s.PortfolioId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("PortfolioId", 1))
}
if invalidParams.Len() > 0 {
@@ -1525,277 +7970,396 @@ func (s *ProvisionProductInput) Validate() error {
return nil
}
-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.
- RecordDetail *RecordDetail `type:"structure"`
+// SetAcceptLanguage sets the AcceptLanguage field's value.
+func (s *SearchProductsAsAdminInput) SetAcceptLanguage(v string) *SearchProductsAsAdminInput {
+ s.AcceptLanguage = &v
+ return s
}
-// String returns the string representation
-func (s ProvisionProductOutput) String() string {
- return awsutil.Prettify(s)
+// SetFilters sets the Filters field's value.
+func (s *SearchProductsAsAdminInput) SetFilters(v map[string][]*string) *SearchProductsAsAdminInput {
+ s.Filters = v
+ return s
}
-// GoString returns the string representation
-func (s ProvisionProductOutput) GoString() string {
- return s.String()
+// SetPageSize sets the PageSize field's value.
+func (s *SearchProductsAsAdminInput) SetPageSize(v int64) *SearchProductsAsAdminInput {
+ s.PageSize = &v
+ return s
}
-// Detailed information about a ProvisionedProduct object.
-type ProvisionedProductDetail struct {
- _ struct{} `type:"structure"`
-
- // The ARN associated with the ProvisionedProduct object.
- Arn *string `min:"1" type:"string"`
-
- // The time the ProvisionedProduct was created.
- CreatedTime *time.Time `type:"timestamp" timestampFormat:"unix"`
+// SetPageToken sets the PageToken field's value.
+func (s *SearchProductsAsAdminInput) SetPageToken(v string) *SearchProductsAsAdminInput {
+ s.PageToken = &v
+ return s
+}
- // The identifier of the ProvisionedProduct object.
- Id *string `type:"string"`
+// SetPortfolioId sets the PortfolioId field's value.
+func (s *SearchProductsAsAdminInput) SetPortfolioId(v string) *SearchProductsAsAdminInput {
+ s.PortfolioId = &v
+ return s
+}
- // An idempotency token that uniquely identifies this ProvisionedProduct.
- IdempotencyToken *string `min:"1" type:"string"`
+// SetProductSource sets the ProductSource field's value.
+func (s *SearchProductsAsAdminInput) SetProductSource(v string) *SearchProductsAsAdminInput {
+ s.ProductSource = &v
+ return s
+}
- // The record identifier of the last request performed on this ProvisionedProduct
- // object.
- LastRecordId *string `type:"string"`
+// SetSortBy sets the SortBy field's value.
+func (s *SearchProductsAsAdminInput) SetSortBy(v string) *SearchProductsAsAdminInput {
+ s.SortBy = &v
+ return s
+}
- // The user-friendly name of the ProvisionedProduct object.
- Name *string `min:"1" type:"string"`
+// SetSortOrder sets the SortOrder field's value.
+func (s *SearchProductsAsAdminInput) SetSortOrder(v string) *SearchProductsAsAdminInput {
+ s.SortOrder = &v
+ return s
+}
- // The current status of the ProvisionedProduct.
- Status *string `type:"string" enum:"RecordStatus"`
+type SearchProductsAsAdminOutput struct {
+ _ struct{} `type:"structure"`
- // The current status message of the ProvisionedProduct.
- StatusMessage *string `type:"string"`
+ // 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.
+ NextPageToken *string `type:"string"`
- // The type of the ProvisionedProduct object.
- Type *string `type:"string"`
+ // List of detailed product view information objects.
+ ProductViewDetails []*ProductViewDetail `type:"list"`
}
// String returns the string representation
-func (s ProvisionedProductDetail) String() string {
+func (s SearchProductsAsAdminOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
-func (s ProvisionedProductDetail) GoString() string {
+func (s SearchProductsAsAdminOutput) GoString() string {
return s.String()
}
-// Contains information indicating the ways in which a product can be provisioned.
-type ProvisioningArtifact struct {
+// SetNextPageToken sets the NextPageToken field's value.
+func (s *SearchProductsAsAdminOutput) SetNextPageToken(v string) *SearchProductsAsAdminOutput {
+ s.NextPageToken = &v
+ return s
+}
+
+// SetProductViewDetails sets the ProductViewDetails field's value.
+func (s *SearchProductsAsAdminOutput) SetProductViewDetails(v []*ProductViewDetail) *SearchProductsAsAdminOutput {
+ s.ProductViewDetails = v
+ return s
+}
+
+type SearchProductsInput struct {
_ struct{} `type:"structure"`
- // The time that the artifact was created by the Administrator.
- CreatedTime *time.Time `type:"timestamp" timestampFormat:"unix"`
+ // The language code to use for this operation. Supported language codes are
+ // as follows:
+ //
+ // "en" (English)
+ //
+ // "jp" (Japanese)
+ //
+ // "zh" (Chinese)
+ //
+ // If no code is specified, "en" is used as the default.
+ AcceptLanguage *string `type:"string"`
- // The text description of the artifact.
- Description *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.
+ Filters map[string][]*string `type:"map"`
- // The identifier for the artifact.
- Id *string `min:"1" 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.
+ PageSize *int64 `type:"integer"`
- // The name of the artifact.
- Name *string `type:"string"`
+ // The page token of the first page retrieved. If null, this retrieves the first
+ // page of size PageSize.
+ PageToken *string `type:"string"`
+
+ // The sort field specifier. If no value is specified, results are not sorted.
+ SortBy *string `type:"string" enum:"ProductViewSortBy"`
+
+ // The sort order specifier. If no value is specified, results are not sorted.
+ SortOrder *string `type:"string" enum:"SortOrder"`
}
// String returns the string representation
-func (s ProvisioningArtifact) String() string {
+func (s SearchProductsInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
-func (s ProvisioningArtifact) GoString() string {
+func (s SearchProductsInput) GoString() string {
return s.String()
}
-// A parameter used to successfully provision the product. This value includes
-// a list of allowable values and additional metadata.
-type ProvisioningArtifactParameter struct {
- _ struct{} `type:"structure"`
-
- // The default value for this parameter.
- DefaultValue *string `type:"string"`
-
- // The text description of the parameter.
- Description *string `type:"string"`
-
- // If this value is true, the value for this parameter is obfuscated from view
- // when the parameter is retrieved. This parameter is used to hide sensitive
- // information.
- IsNoEcho *bool `type:"boolean"`
+// SetAcceptLanguage sets the AcceptLanguage field's value.
+func (s *SearchProductsInput) SetAcceptLanguage(v string) *SearchProductsInput {
+ s.AcceptLanguage = &v
+ return s
+}
- // The list of constraints that the administrator has put on the parameter.
- ParameterConstraints *ParameterConstraints `type:"structure"`
+// SetFilters sets the Filters field's value.
+func (s *SearchProductsInput) SetFilters(v map[string][]*string) *SearchProductsInput {
+ s.Filters = v
+ return s
+}
- // The parameter key.
- ParameterKey *string `type:"string"`
+// SetPageSize sets the PageSize field's value.
+func (s *SearchProductsInput) SetPageSize(v int64) *SearchProductsInput {
+ s.PageSize = &v
+ return s
+}
- // The parameter type.
- ParameterType *string `type:"string"`
+// SetPageToken sets the PageToken field's value.
+func (s *SearchProductsInput) SetPageToken(v string) *SearchProductsInput {
+ s.PageToken = &v
+ return s
}
-// String returns the string representation
-func (s ProvisioningArtifactParameter) String() string {
- return awsutil.Prettify(s)
+// SetSortBy sets the SortBy field's value.
+func (s *SearchProductsInput) SetSortBy(v string) *SearchProductsInput {
+ s.SortBy = &v
+ return s
}
-// GoString returns the string representation
-func (s ProvisioningArtifactParameter) GoString() string {
- return s.String()
+// SetSortOrder sets the SortOrder field's value.
+func (s *SearchProductsInput) SetSortOrder(v string) *SearchProductsInput {
+ s.SortOrder = &v
+ return s
}
-// The arameter key/value pairs used to provision a product.
-type ProvisioningParameter struct {
+type SearchProductsOutput struct {
_ struct{} `type:"structure"`
- // The ProvisioningArtifactParameter.ParameterKey parameter from DescribeProvisioningParameters.
- Key *string `type:"string"`
+ // 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.
+ NextPageToken *string `type:"string"`
- // The value to use for provisioning. Any constraints on this value can be found
- // in ProvisioningArtifactParameter for Key.
- Value *string `type:"string"`
+ // A list of the product view aggregation value objects.
+ ProductViewAggregations map[string][]*ProductViewAggregationValue `type:"map"`
+
+ // A list of the product view summary objects.
+ ProductViewSummaries []*ProductViewSummary `type:"list"`
}
// String returns the string representation
-func (s ProvisioningParameter) String() string {
+func (s SearchProductsOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
-func (s ProvisioningParameter) GoString() string {
+func (s SearchProductsOutput) GoString() string {
return s.String()
}
-// The full details of a specific ProvisionedProduct object.
-type RecordDetail struct {
- _ struct{} `type:"structure"`
-
- // The time when the record for the ProvisionedProduct object was created.
- CreatedTime *time.Time `type:"timestamp" timestampFormat:"unix"`
-
- // The identifier of the path for this product's provisioning.
- PathId *string `min:"1" type:"string"`
-
- // The identifier of the product.
- ProductId *string `min:"1" type:"string"`
-
- // The identifier of the ProvisionedProduct object.
- ProvisionedProductId *string `min:"1" type:"string"`
-
- // The user-friendly name of the ProvisionedProduct object.
- ProvisionedProductName *string `type:"string"`
-
- // The type of the ProvisionedProduct object.
- ProvisionedProductType *string `type:"string"`
-
- // The provisioning artifact identifier for this product.
- ProvisioningArtifactId *string `min:"1" type:"string"`
-
- // A list of errors that occurred while processing the request.
- RecordErrors []*RecordError `type:"list"`
+// SetNextPageToken sets the NextPageToken field's value.
+func (s *SearchProductsOutput) SetNextPageToken(v string) *SearchProductsOutput {
+ s.NextPageToken = &v
+ return s
+}
- // The identifier of the ProvisionedProduct object record.
- RecordId *string `min:"1" type:"string"`
+// SetProductViewAggregations sets the ProductViewAggregations field's value.
+func (s *SearchProductsOutput) SetProductViewAggregations(v map[string][]*ProductViewAggregationValue) *SearchProductsOutput {
+ s.ProductViewAggregations = v
+ return s
+}
- // List of tags associated with this record.
- RecordTags []*RecordTag `type:"list"`
+// SetProductViewSummaries sets the ProductViewSummaries field's value.
+func (s *SearchProductsOutput) SetProductViewSummaries(v []*ProductViewSummary) *SearchProductsOutput {
+ s.ProductViewSummaries = v
+ return s
+}
- // The record type for this record.
- RecordType *string `type:"string"`
+// Key/value pairs to associate with this provisioning. These tags are entirely
+// discretionary and are propagated to the resources created in the provisioning.
+type Tag struct {
+ _ struct{} `type:"structure"`
- // The status of the ProvisionedProduct object.
- Status *string `type:"string" enum:"RecordStatus"`
+ // The ProvisioningArtifactParameter.TagKey parameter from DescribeProvisioningParameters.
+ //
+ // Key is a required field
+ Key *string `min:"1" type:"string" required:"true"`
- // The time when the record for the ProvisionedProduct object was last updated.
- UpdatedTime *time.Time `type:"timestamp" timestampFormat:"unix"`
+ // The esired value for this key.
+ //
+ // Value is a required field
+ Value *string `min:"1" type:"string" required:"true"`
}
// String returns the string representation
-func (s RecordDetail) String() string {
+func (s Tag) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
-func (s RecordDetail) GoString() string {
+func (s Tag) GoString() string {
return s.String()
}
-// The error code and description resulting from an operation.
-type RecordError struct {
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *Tag) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "Tag"}
+ if s.Key == nil {
+ invalidParams.Add(request.NewErrParamRequired("Key"))
+ }
+ if s.Key != nil && len(*s.Key) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Key", 1))
+ }
+ 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
+}
+
+// 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
+}
+
+type TerminateProvisionedProductInput struct {
_ struct{} `type:"structure"`
- // The numeric value of the error.
- Code *string `type:"string"`
+ // The language code to use for this operation. Supported language codes are
+ // as follows:
+ //
+ // "en" (English)
+ //
+ // "jp" (Japanese)
+ //
+ // "zh" (Chinese)
+ //
+ // If no code is specified, "en" is used as the default.
+ AcceptLanguage *string `type:"string"`
- // The text description of the error.
- Description *string `type:"string"`
+ // If set to true, AWS Service Catalog stops managing the specified ProvisionedProduct
+ // object even if it cannot delete the underlying resources.
+ IgnoreErrors *bool `type:"boolean"`
+
+ // The identifier of the ProvisionedProduct object to terminate. You must specify
+ // either ProvisionedProductName or ProvisionedProductId, but not both.
+ ProvisionedProductId *string `min:"1" type:"string"`
+
+ // The name of the ProvisionedProduct object to terminate. You must specify
+ // either ProvisionedProductName or ProvisionedProductId, but not both.
+ 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.
+ //
+ // TerminateToken is a required field
+ TerminateToken *string `min:"1" type:"string" required:"true" idempotencyToken:"true"`
}
// String returns the string representation
-func (s RecordError) String() string {
+func (s TerminateProvisionedProductInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
-func (s RecordError) GoString() string {
+func (s TerminateProvisionedProductInput) GoString() string {
return s.String()
}
-// 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.
-type RecordOutput struct {
- _ struct{} `type:"structure"`
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *TerminateProvisionedProductInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "TerminateProvisionedProductInput"}
+ if s.ProvisionedProductId != nil && len(*s.ProvisionedProductId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ProvisionedProductId", 1))
+ }
+ if s.ProvisionedProductName != nil && len(*s.ProvisionedProductName) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ProvisionedProductName", 1))
+ }
+ if s.TerminateToken == nil {
+ invalidParams.Add(request.NewErrParamRequired("TerminateToken"))
+ }
+ if s.TerminateToken != nil && len(*s.TerminateToken) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("TerminateToken", 1))
+ }
- // The text description of the output.
- Description *string `type:"string"`
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
- // The output key.
- OutputKey *string `type:"string"`
+// SetAcceptLanguage sets the AcceptLanguage field's value.
+func (s *TerminateProvisionedProductInput) SetAcceptLanguage(v string) *TerminateProvisionedProductInput {
+ s.AcceptLanguage = &v
+ return s
+}
- // The output value.
- OutputValue *string `type:"string"`
+// SetIgnoreErrors sets the IgnoreErrors field's value.
+func (s *TerminateProvisionedProductInput) SetIgnoreErrors(v bool) *TerminateProvisionedProductInput {
+ s.IgnoreErrors = &v
+ return s
}
-// String returns the string representation
-func (s RecordOutput) String() string {
- return awsutil.Prettify(s)
+// SetProvisionedProductId sets the ProvisionedProductId field's value.
+func (s *TerminateProvisionedProductInput) SetProvisionedProductId(v string) *TerminateProvisionedProductInput {
+ s.ProvisionedProductId = &v
+ return s
}
-// GoString returns the string representation
-func (s RecordOutput) GoString() string {
- return s.String()
+// SetProvisionedProductName sets the ProvisionedProductName field's value.
+func (s *TerminateProvisionedProductInput) SetProvisionedProductName(v string) *TerminateProvisionedProductInput {
+ s.ProvisionedProductName = &v
+ return s
}
-// A tag associated with the record, stored as a key-value pair.
-type RecordTag struct {
- _ struct{} `type:"structure"`
+// SetTerminateToken sets the TerminateToken field's value.
+func (s *TerminateProvisionedProductInput) SetTerminateToken(v string) *TerminateProvisionedProductInput {
+ s.TerminateToken = &v
+ return s
+}
- // The key for this tag.
- Key *string `min:"1" type:"string"`
+type TerminateProvisionedProductOutput struct {
+ _ struct{} `type:"structure"`
- // The value for this tag.
- Value *string `min:"1" type:"string"`
+ // 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.
+ RecordDetail *RecordDetail `type:"structure"`
}
// String returns the string representation
-func (s RecordTag) String() string {
+func (s TerminateProvisionedProductOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
-func (s RecordTag) GoString() string {
+func (s TerminateProvisionedProductOutput) GoString() string {
return s.String()
}
-type ScanProvisionedProductsInput struct {
+// SetRecordDetail sets the RecordDetail field's value.
+func (s *TerminateProvisionedProductOutput) SetRecordDetail(v *RecordDetail) *TerminateProvisionedProductOutput {
+ s.RecordDetail = v
+ return s
+}
+
+type UpdateConstraintInput struct {
_ struct{} `type:"structure"`
// The language code to use for this operation. Supported language codes are
@@ -1810,52 +8374,101 @@ type ScanProvisionedProductsInput struct {
// If no code is specified, "en" is used as the default.
AcceptLanguage *string `type:"string"`
- // The access level for obtaining results. If left unspecified, User level access
- // is used.
- 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.
- PageSize *int64 `type:"integer"`
+ // The updated text description of the constraint.
+ Description *string `type:"string"`
- // The page token of the first page retrieved. If null, this retrieves the first
- // page of size PageSize.
- PageToken *string `type:"string"`
+ // The identifier of the constraint to update.
+ //
+ // Id is a required field
+ Id *string `min:"1" type:"string" required:"true"`
}
// String returns the string representation
-func (s ScanProvisionedProductsInput) String() string {
+func (s UpdateConstraintInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
-func (s ScanProvisionedProductsInput) GoString() string {
+func (s UpdateConstraintInput) GoString() string {
return s.String()
}
-type ScanProvisionedProductsOutput struct {
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *UpdateConstraintInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "UpdateConstraintInput"}
+ if s.Id == nil {
+ invalidParams.Add(request.NewErrParamRequired("Id"))
+ }
+ if s.Id != nil && len(*s.Id) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Id", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetAcceptLanguage sets the AcceptLanguage field's value.
+func (s *UpdateConstraintInput) SetAcceptLanguage(v string) *UpdateConstraintInput {
+ s.AcceptLanguage = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *UpdateConstraintInput) SetDescription(v string) *UpdateConstraintInput {
+ s.Description = &v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *UpdateConstraintInput) SetId(v string) *UpdateConstraintInput {
+ s.Id = &v
+ return s
+}
+
+type UpdateConstraintOutput 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.
- NextPageToken *string `type:"string"`
+ // The resulting detailed constraint information.
+ ConstraintDetail *ConstraintDetail `type:"structure"`
- // A list of ProvisionedProduct detail objects.
- ProvisionedProducts []*ProvisionedProductDetail `type:"list"`
+ // The resulting updated constraint parameters.
+ ConstraintParameters *string `type:"string"`
+
+ // The status of the current request.
+ Status *string `type:"string" enum:"Status"`
}
// String returns the string representation
-func (s ScanProvisionedProductsOutput) String() string {
+func (s UpdateConstraintOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
-func (s ScanProvisionedProductsOutput) GoString() string {
+func (s UpdateConstraintOutput) GoString() string {
return s.String()
}
-type SearchProductsInput struct {
+// SetConstraintDetail sets the ConstraintDetail field's value.
+func (s *UpdateConstraintOutput) SetConstraintDetail(v *ConstraintDetail) *UpdateConstraintOutput {
+ s.ConstraintDetail = v
+ return s
+}
+
+// SetConstraintParameters sets the ConstraintParameters field's value.
+func (s *UpdateConstraintOutput) SetConstraintParameters(v string) *UpdateConstraintOutput {
+ s.ConstraintParameters = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *UpdateConstraintOutput) SetStatus(v string) *UpdateConstraintOutput {
+ s.Status = &v
+ return s
+}
+
+type UpdatePortfolioInput struct {
_ struct{} `type:"structure"`
// The language code to use for this operation. Supported language codes are
@@ -1870,100 +8483,144 @@ type SearchProductsInput struct {
// If no code is specified, "en" is used as the default.
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.
- Filters map[string][]*string `type:"map"`
+ // Tags to add to the existing list of tags associated with the portfolio.
+ AddTags []*Tag `type:"list"`
- // 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.
- PageSize *int64 `type:"integer"`
+ // The updated text description of the portfolio.
+ Description *string `type:"string"`
- // The page token of the first page retrieved. If null, this retrieves the first
- // page of size PageSize.
- PageToken *string `type:"string"`
+ // The name to use for display purposes.
+ DisplayName *string `min:"1" type:"string"`
- // The sort field specifier. If no value is specified, results are not sorted.
- SortBy *string `type:"string" enum:"ProductViewSortBy"`
+ // The identifier of the portfolio for the update request.
+ //
+ // Id is a required field
+ Id *string `min:"1" type:"string" required:"true"`
- // The sort order specifier. If no value is specified, results are not sorted.
- SortOrder *string `type:"string" enum:"SortOrder"`
+ // 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.
+ RemoveTags []*string `type:"list"`
}
// String returns the string representation
-func (s SearchProductsInput) String() string {
+func (s UpdatePortfolioInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
-func (s SearchProductsInput) GoString() string {
+func (s UpdatePortfolioInput) GoString() string {
return s.String()
}
-type SearchProductsOutput struct {
- _ struct{} `type:"structure"`
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *UpdatePortfolioInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "UpdatePortfolioInput"}
+ if s.DisplayName != nil && len(*s.DisplayName) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("DisplayName", 1))
+ }
+ 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.ProviderName != nil && len(*s.ProviderName) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ProviderName", 1))
+ }
+ if s.AddTags != nil {
+ for i, v := range s.AddTags {
+ if v == nil {
+ continue
+ }
+ if err := v.Validate(); err != nil {
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "AddTags", i), err.(request.ErrInvalidParams))
+ }
+ }
+ }
- // 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.
- NextPageToken *string `type:"string"`
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
- // A list of the product view aggregation value objects.
- ProductViewAggregations map[string][]*ProductViewAggregationValue `type:"map"`
+// SetAcceptLanguage sets the AcceptLanguage field's value.
+func (s *UpdatePortfolioInput) SetAcceptLanguage(v string) *UpdatePortfolioInput {
+ s.AcceptLanguage = &v
+ return s
+}
- // A list of the product view summary objects.
- ProductViewSummaries []*ProductViewSummary `type:"list"`
+// SetAddTags sets the AddTags field's value.
+func (s *UpdatePortfolioInput) SetAddTags(v []*Tag) *UpdatePortfolioInput {
+ s.AddTags = v
+ return s
}
-// String returns the string representation
-func (s SearchProductsOutput) String() string {
- return awsutil.Prettify(s)
+// SetDescription sets the Description field's value.
+func (s *UpdatePortfolioInput) SetDescription(v string) *UpdatePortfolioInput {
+ s.Description = &v
+ return s
}
-// GoString returns the string representation
-func (s SearchProductsOutput) GoString() string {
- return s.String()
+// SetDisplayName sets the DisplayName field's value.
+func (s *UpdatePortfolioInput) SetDisplayName(v string) *UpdatePortfolioInput {
+ s.DisplayName = &v
+ 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.
-type Tag struct {
+// SetId sets the Id field's value.
+func (s *UpdatePortfolioInput) SetId(v string) *UpdatePortfolioInput {
+ s.Id = &v
+ return s
+}
+
+// SetProviderName sets the ProviderName field's value.
+func (s *UpdatePortfolioInput) SetProviderName(v string) *UpdatePortfolioInput {
+ s.ProviderName = &v
+ return s
+}
+
+// SetRemoveTags sets the RemoveTags field's value.
+func (s *UpdatePortfolioInput) SetRemoveTags(v []*string) *UpdatePortfolioInput {
+ s.RemoveTags = v
+ return s
+}
+
+type UpdatePortfolioOutput struct {
_ struct{} `type:"structure"`
- // The ProvisioningArtifactParameter.TagKey parameter from DescribeProvisioningParameters.
- Key *string `min:"1" type:"string"`
+ // The resulting detailed portfolio information.
+ PortfolioDetail *PortfolioDetail `type:"structure"`
- // The esired value for this key.
- Value *string `min:"1" type:"string"`
+ // Tags associated with the portfolio.
+ Tags []*Tag `type:"list"`
}
// String returns the string representation
-func (s Tag) String() string {
+func (s UpdatePortfolioOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
-func (s Tag) GoString() string {
+func (s UpdatePortfolioOutput) GoString() string {
return s.String()
}
-// Validate inspects the fields of the type to determine if they are valid.
-func (s *Tag) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "Tag"}
- if s.Key != nil && len(*s.Key) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Key", 1))
- }
- if s.Value != nil && len(*s.Value) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Value", 1))
- }
+// SetPortfolioDetail sets the PortfolioDetail field's value.
+func (s *UpdatePortfolioOutput) SetPortfolioDetail(v *PortfolioDetail) *UpdatePortfolioOutput {
+ s.PortfolioDetail = v
+ return s
+}
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
+// SetTags sets the Tags field's value.
+func (s *UpdatePortfolioOutput) SetTags(v []*Tag) *UpdatePortfolioOutput {
+ s.Tags = v
+ return s
}
-type TerminateProvisionedProductInput struct {
+type UpdateProductInput struct {
_ struct{} `type:"structure"`
// The language code to use for this operation. Supported language codes are
@@ -1978,51 +8635,67 @@ type TerminateProvisionedProductInput struct {
// If no code is specified, "en" is used as the default.
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.
- IgnoreErrors *bool `type:"boolean"`
+ // Tags to add to the existing list of tags associated with the product.
+ AddTags []*Tag `type:"list"`
- // The identifier of the ProvisionedProduct object to terminate. You must specify
- // either ProvisionedProductName or ProvisionedProductId, but not both.
- ProvisionedProductId *string `min:"1" type:"string"`
+ // The updated text description of the product.
+ Description *string `type:"string"`
- // The name of the ProvisionedProduct object to terminate. You must specify
- // either ProvisionedProductName or ProvisionedProductId, but not both.
- ProvisionedProductName *string `min:"1" type:"string"`
+ // The updated distributor of the product.
+ Distributor *string `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.
+ // The identifier of the product for the update request.
//
- // TerminateToken is a required field
- TerminateToken *string `min:"1" type:"string" required:"true" idempotencyToken:"true"`
+ // Id is a required field
+ Id *string `min:"1" type:"string" required:"true"`
+
+ // The updated product name.
+ Name *string `type:"string"`
+
+ // The updated owner of the product.
+ Owner *string `type:"string"`
+
+ // Tags to remove from the existing list of tags associated with the product.
+ RemoveTags []*string `type:"list"`
+
+ // The updated support description for the product.
+ SupportDescription *string `type:"string"`
+
+ // The updated support email for the product.
+ SupportEmail *string `type:"string"`
+
+ // The updated support URL for the product.
+ SupportUrl *string `type:"string"`
}
// String returns the string representation
-func (s TerminateProvisionedProductInput) String() string {
+func (s UpdateProductInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
-func (s TerminateProvisionedProductInput) GoString() string {
+func (s UpdateProductInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *TerminateProvisionedProductInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "TerminateProvisionedProductInput"}
- if s.ProvisionedProductId != nil && len(*s.ProvisionedProductId) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("ProvisionedProductId", 1))
- }
- if s.ProvisionedProductName != nil && len(*s.ProvisionedProductName) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("ProvisionedProductName", 1))
+func (s *UpdateProductInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "UpdateProductInput"}
+ if s.Id == nil {
+ invalidParams.Add(request.NewErrParamRequired("Id"))
}
- if s.TerminateToken == nil {
- invalidParams.Add(request.NewErrParamRequired("TerminateToken"))
+ if s.Id != nil && len(*s.Id) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Id", 1))
}
- if s.TerminateToken != nil && len(*s.TerminateToken) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("TerminateToken", 1))
+ if s.AddTags != nil {
+ for i, v := range s.AddTags {
+ if v == nil {
+ continue
+ }
+ if err := v.Validate(); err != nil {
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "AddTags", i), err.(request.ErrInvalidParams))
+ }
+ }
}
if invalidParams.Len() > 0 {
@@ -2031,26 +8704,104 @@ func (s *TerminateProvisionedProductInput) Validate() error {
return nil
}
-type TerminateProvisionedProductOutput struct {
+// SetAcceptLanguage sets the AcceptLanguage field's value.
+func (s *UpdateProductInput) SetAcceptLanguage(v string) *UpdateProductInput {
+ s.AcceptLanguage = &v
+ return s
+}
+
+// SetAddTags sets the AddTags field's value.
+func (s *UpdateProductInput) SetAddTags(v []*Tag) *UpdateProductInput {
+ s.AddTags = v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *UpdateProductInput) SetDescription(v string) *UpdateProductInput {
+ s.Description = &v
+ return s
+}
+
+// SetDistributor sets the Distributor field's value.
+func (s *UpdateProductInput) SetDistributor(v string) *UpdateProductInput {
+ s.Distributor = &v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *UpdateProductInput) SetId(v string) *UpdateProductInput {
+ s.Id = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *UpdateProductInput) SetName(v string) *UpdateProductInput {
+ s.Name = &v
+ return s
+}
+
+// SetOwner sets the Owner field's value.
+func (s *UpdateProductInput) SetOwner(v string) *UpdateProductInput {
+ s.Owner = &v
+ return s
+}
+
+// SetRemoveTags sets the RemoveTags field's value.
+func (s *UpdateProductInput) SetRemoveTags(v []*string) *UpdateProductInput {
+ s.RemoveTags = v
+ return s
+}
+
+// SetSupportDescription sets the SupportDescription field's value.
+func (s *UpdateProductInput) SetSupportDescription(v string) *UpdateProductInput {
+ s.SupportDescription = &v
+ return s
+}
+
+// SetSupportEmail sets the SupportEmail field's value.
+func (s *UpdateProductInput) SetSupportEmail(v string) *UpdateProductInput {
+ s.SupportEmail = &v
+ return s
+}
+
+// SetSupportUrl sets the SupportUrl field's value.
+func (s *UpdateProductInput) SetSupportUrl(v string) *UpdateProductInput {
+ s.SupportUrl = &v
+ return s
+}
+
+type UpdateProductOutput 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.
- RecordDetail *RecordDetail `type:"structure"`
+ // The resulting detailed product view information.
+ ProductViewDetail *ProductViewDetail `type:"structure"`
+
+ // Tags associated with the product.
+ Tags []*Tag `type:"list"`
}
// String returns the string representation
-func (s TerminateProvisionedProductOutput) String() string {
+func (s UpdateProductOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
-func (s TerminateProvisionedProductOutput) GoString() string {
+func (s UpdateProductOutput) GoString() string {
return s.String()
}
+// SetProductViewDetail sets the ProductViewDetail field's value.
+func (s *UpdateProductOutput) SetProductViewDetail(v *ProductViewDetail) *UpdateProductOutput {
+ s.ProductViewDetail = v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *UpdateProductOutput) SetTags(v []*Tag) *UpdateProductOutput {
+ s.Tags = v
+ return s
+}
+
type UpdateProvisionedProductInput struct {
_ struct{} `type:"structure"`
@@ -2129,6 +8880,16 @@ func (s *UpdateProvisionedProductInput) Validate() error {
if s.UpdateToken != nil && len(*s.UpdateToken) < 1 {
invalidParams.Add(request.NewErrParamMinLen("UpdateToken", 1))
}
+ if s.ProvisioningParameters != nil {
+ for i, v := range s.ProvisioningParameters {
+ if v == nil {
+ continue
+ }
+ if err := v.Validate(); err != nil {
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ProvisioningParameters", i), err.(request.ErrInvalidParams))
+ }
+ }
+ }
if invalidParams.Len() > 0 {
return invalidParams
@@ -2136,6 +8897,54 @@ func (s *UpdateProvisionedProductInput) Validate() error {
return nil
}
+// SetAcceptLanguage sets the AcceptLanguage field's value.
+func (s *UpdateProvisionedProductInput) SetAcceptLanguage(v string) *UpdateProvisionedProductInput {
+ s.AcceptLanguage = &v
+ return s
+}
+
+// SetPathId sets the PathId field's value.
+func (s *UpdateProvisionedProductInput) SetPathId(v string) *UpdateProvisionedProductInput {
+ s.PathId = &v
+ return s
+}
+
+// SetProductId sets the ProductId field's value.
+func (s *UpdateProvisionedProductInput) SetProductId(v string) *UpdateProvisionedProductInput {
+ s.ProductId = &v
+ return s
+}
+
+// SetProvisionedProductId sets the ProvisionedProductId field's value.
+func (s *UpdateProvisionedProductInput) SetProvisionedProductId(v string) *UpdateProvisionedProductInput {
+ s.ProvisionedProductId = &v
+ return s
+}
+
+// SetProvisionedProductName sets the ProvisionedProductName field's value.
+func (s *UpdateProvisionedProductInput) SetProvisionedProductName(v string) *UpdateProvisionedProductInput {
+ s.ProvisionedProductName = &v
+ return s
+}
+
+// SetProvisioningArtifactId sets the ProvisioningArtifactId field's value.
+func (s *UpdateProvisionedProductInput) SetProvisioningArtifactId(v string) *UpdateProvisionedProductInput {
+ s.ProvisioningArtifactId = &v
+ return s
+}
+
+// SetProvisioningParameters sets the ProvisioningParameters field's value.
+func (s *UpdateProvisionedProductInput) SetProvisioningParameters(v []*UpdateProvisioningParameter) *UpdateProvisionedProductInput {
+ s.ProvisioningParameters = v
+ return s
+}
+
+// SetUpdateToken sets the UpdateToken field's value.
+func (s *UpdateProvisionedProductInput) SetUpdateToken(v string) *UpdateProvisionedProductInput {
+ s.UpdateToken = &v
+ return s
+}
+
type UpdateProvisionedProductOutput struct {
_ struct{} `type:"structure"`
@@ -2156,6 +8965,147 @@ func (s UpdateProvisionedProductOutput) GoString() string {
return s.String()
}
+// SetRecordDetail sets the RecordDetail field's value.
+func (s *UpdateProvisionedProductOutput) SetRecordDetail(v *RecordDetail) *UpdateProvisionedProductOutput {
+ s.RecordDetail = v
+ return s
+}
+
+type UpdateProvisioningArtifactInput struct {
+ _ struct{} `type:"structure"`
+
+ // The language code to use for this operation. Supported language codes are
+ // as follows:
+ //
+ // "en" (English)
+ //
+ // "jp" (Japanese)
+ //
+ // "zh" (Chinese)
+ //
+ // If no code is specified, "en" is used as the default.
+ AcceptLanguage *string `type:"string"`
+
+ // The updated text description of the provisioning artifact.
+ Description *string `type:"string"`
+
+ // The updated name of the provisioning artifact.
+ Name *string `type:"string"`
+
+ // The product identifier.
+ //
+ // ProductId is a required field
+ ProductId *string `min:"1" type:"string" required:"true"`
+
+ // The identifier of the provisioning artifact for the update request.
+ //
+ // ProvisioningArtifactId is a required field
+ ProvisioningArtifactId *string `min:"1" type:"string" required:"true"`
+}
+
+// String returns the string representation
+func (s UpdateProvisioningArtifactInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s UpdateProvisioningArtifactInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *UpdateProvisioningArtifactInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "UpdateProvisioningArtifactInput"}
+ if s.ProductId == nil {
+ invalidParams.Add(request.NewErrParamRequired("ProductId"))
+ }
+ if s.ProductId != nil && len(*s.ProductId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ProductId", 1))
+ }
+ if s.ProvisioningArtifactId == nil {
+ invalidParams.Add(request.NewErrParamRequired("ProvisioningArtifactId"))
+ }
+ if s.ProvisioningArtifactId != nil && len(*s.ProvisioningArtifactId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ProvisioningArtifactId", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetAcceptLanguage sets the AcceptLanguage field's value.
+func (s *UpdateProvisioningArtifactInput) SetAcceptLanguage(v string) *UpdateProvisioningArtifactInput {
+ s.AcceptLanguage = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *UpdateProvisioningArtifactInput) SetDescription(v string) *UpdateProvisioningArtifactInput {
+ s.Description = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *UpdateProvisioningArtifactInput) SetName(v string) *UpdateProvisioningArtifactInput {
+ s.Name = &v
+ return s
+}
+
+// SetProductId sets the ProductId field's value.
+func (s *UpdateProvisioningArtifactInput) SetProductId(v string) *UpdateProvisioningArtifactInput {
+ s.ProductId = &v
+ return s
+}
+
+// SetProvisioningArtifactId sets the ProvisioningArtifactId field's value.
+func (s *UpdateProvisioningArtifactInput) SetProvisioningArtifactId(v string) *UpdateProvisioningArtifactInput {
+ s.ProvisioningArtifactId = &v
+ return s
+}
+
+type UpdateProvisioningArtifactOutput struct {
+ _ struct{} `type:"structure"`
+
+ // Additional information about the provisioning artifact update request.
+ Info map[string]*string `min:"1" type:"map"`
+
+ // The resulting detailed provisioning artifact information.
+ ProvisioningArtifactDetail *ProvisioningArtifactDetail `type:"structure"`
+
+ // The status of the current request.
+ Status *string `type:"string" enum:"Status"`
+}
+
+// String returns the string representation
+func (s UpdateProvisioningArtifactOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s UpdateProvisioningArtifactOutput) GoString() string {
+ return s.String()
+}
+
+// SetInfo sets the Info field's value.
+func (s *UpdateProvisioningArtifactOutput) SetInfo(v map[string]*string) *UpdateProvisioningArtifactOutput {
+ s.Info = v
+ return s
+}
+
+// SetProvisioningArtifactDetail sets the ProvisioningArtifactDetail field's value.
+func (s *UpdateProvisioningArtifactOutput) SetProvisioningArtifactDetail(v *ProvisioningArtifactDetail) *UpdateProvisioningArtifactOutput {
+ s.ProvisioningArtifactDetail = v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *UpdateProvisioningArtifactOutput) SetStatus(v string) *UpdateProvisioningArtifactOutput {
+ s.Status = &v
+ 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).
@@ -2163,7 +9113,7 @@ type UpdateProvisioningParameter struct {
_ struct{} `type:"structure"`
// The ProvisioningArtifactParameter.ParameterKey parameter from DescribeProvisioningParameters.
- Key *string `type:"string"`
+ Key *string `min:"1" type:"string"`
// If true, uses the currently set value for Key, ignoring UpdateProvisioningParameter.Value.
UsePreviousValue *bool `type:"boolean"`
@@ -2184,6 +9134,37 @@ func (s UpdateProvisioningParameter) GoString() string {
return s.String()
}
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *UpdateProvisioningParameter) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "UpdateProvisioningParameter"}
+ if s.Key != nil && len(*s.Key) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Key", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetKey sets the Key field's value.
+func (s *UpdateProvisioningParameter) SetKey(v string) *UpdateProvisioningParameter {
+ s.Key = &v
+ return s
+}
+
+// SetUsePreviousValue sets the UsePreviousValue field's value.
+func (s *UpdateProvisioningParameter) SetUsePreviousValue(v bool) *UpdateProvisioningParameter {
+ s.UsePreviousValue = &v
+ return s
+}
+
+// SetValue sets the Value field's value.
+func (s *UpdateProvisioningParameter) SetValue(v string) *UpdateProvisioningParameter {
+ s.Value = &v
+ return s
+}
+
// Additional information provided by the administrator.
type UsageInstruction struct {
_ struct{} `type:"structure"`
@@ -2205,6 +9186,18 @@ func (s UsageInstruction) GoString() string {
return s.String()
}
+// SetType sets the Type field's value.
+func (s *UsageInstruction) SetType(v string) *UsageInstruction {
+ s.Type = &v
+ return s
+}
+
+// SetValue sets the Value field's value.
+func (s *UsageInstruction) SetValue(v string) *UsageInstruction {
+ s.Value = &v
+ return s
+}
+
const (
// AccessLevelFilterKeyAccount is a AccessLevelFilterKey enum value
AccessLevelFilterKeyAccount = "Account"
@@ -2216,6 +9209,21 @@ const (
AccessLevelFilterKeyUser = "User"
)
+const (
+ // PrincipalTypeIam is a PrincipalType enum value
+ PrincipalTypeIam = "IAM"
+)
+
+const (
+ // ProductSourceAccount is a ProductSource enum value
+ ProductSourceAccount = "ACCOUNT"
+)
+
+const (
+ // ProductTypeCloudFormationTemplate is a ProductType enum value
+ ProductTypeCloudFormationTemplate = "CLOUD_FORMATION_TEMPLATE"
+)
+
const (
// ProductViewFilterByFullTextSearch is a ProductViewFilterBy enum value
ProductViewFilterByFullTextSearch = "FullTextSearch"
@@ -2238,6 +9246,11 @@ const (
ProductViewSortByCreationDate = "CreationDate"
)
+const (
+ // ProvisioningArtifactTypeCloudFormationTemplate is a ProvisioningArtifactType enum value
+ ProvisioningArtifactTypeCloudFormationTemplate = "CLOUD_FORMATION_TEMPLATE"
+)
+
const (
// RecordStatusInProgress is a RecordStatus enum value
RecordStatusInProgress = "IN_PROGRESS"
@@ -2256,3 +9269,14 @@ const (
// SortOrderDescending is a SortOrder enum value
SortOrderDescending = "DESCENDING"
)
+
+const (
+ // StatusAvailable is a Status enum value
+ StatusAvailable = "AVAILABLE"
+
+ // StatusCreating is a Status enum value
+ StatusCreating = "CREATING"
+
+ // StatusFailed is a Status enum value
+ StatusFailed = "FAILED"
+)
diff --git a/vendor/github.com/aws/aws-sdk-go/service/servicecatalog/examples_test.go b/vendor/github.com/aws/aws-sdk-go/service/servicecatalog/examples_test.go
index 7cca09b..d304c6f 100644
--- a/vendor/github.com/aws/aws-sdk-go/service/servicecatalog/examples_test.go
+++ b/vendor/github.com/aws/aws-sdk-go/service/servicecatalog/examples_test.go
@@ -15,6 +15,452 @@ import (
var _ time.Duration
var _ bytes.Buffer
+func ExampleServiceCatalog_AcceptPortfolioShare() {
+ sess, err := session.NewSession()
+ if err != nil {
+ fmt.Println("failed to create session,", err)
+ return
+ }
+
+ svc := servicecatalog.New(sess)
+
+ params := &servicecatalog.AcceptPortfolioShareInput{
+ PortfolioId: aws.String("Id"), // Required
+ AcceptLanguage: aws.String("AcceptLanguage"),
+ }
+ resp, err := svc.AcceptPortfolioShare(params)
+
+ if err != nil {
+ // Print the error, cast err to awserr.Error to get the Code and
+ // Message from an error.
+ fmt.Println(err.Error())
+ return
+ }
+
+ // Pretty-print the response data.
+ fmt.Println(resp)
+}
+
+func ExampleServiceCatalog_AssociatePrincipalWithPortfolio() {
+ sess, err := session.NewSession()
+ if err != nil {
+ fmt.Println("failed to create session,", err)
+ return
+ }
+
+ svc := servicecatalog.New(sess)
+
+ params := &servicecatalog.AssociatePrincipalWithPortfolioInput{
+ PortfolioId: aws.String("Id"), // Required
+ PrincipalARN: aws.String("PrincipalARN"), // Required
+ PrincipalType: aws.String("PrincipalType"), // Required
+ AcceptLanguage: aws.String("AcceptLanguage"),
+ }
+ resp, err := svc.AssociatePrincipalWithPortfolio(params)
+
+ if err != nil {
+ // Print the error, cast err to awserr.Error to get the Code and
+ // Message from an error.
+ fmt.Println(err.Error())
+ return
+ }
+
+ // Pretty-print the response data.
+ fmt.Println(resp)
+}
+
+func ExampleServiceCatalog_AssociateProductWithPortfolio() {
+ sess, err := session.NewSession()
+ if err != nil {
+ fmt.Println("failed to create session,", err)
+ return
+ }
+
+ svc := servicecatalog.New(sess)
+
+ params := &servicecatalog.AssociateProductWithPortfolioInput{
+ PortfolioId: aws.String("Id"), // Required
+ ProductId: aws.String("Id"), // Required
+ AcceptLanguage: aws.String("AcceptLanguage"),
+ SourcePortfolioId: aws.String("Id"),
+ }
+ resp, err := svc.AssociateProductWithPortfolio(params)
+
+ if err != nil {
+ // Print the error, cast err to awserr.Error to get the Code and
+ // Message from an error.
+ fmt.Println(err.Error())
+ return
+ }
+
+ // Pretty-print the response data.
+ fmt.Println(resp)
+}
+
+func ExampleServiceCatalog_CreateConstraint() {
+ sess, err := session.NewSession()
+ if err != nil {
+ fmt.Println("failed to create session,", err)
+ return
+ }
+
+ svc := servicecatalog.New(sess)
+
+ params := &servicecatalog.CreateConstraintInput{
+ IdempotencyToken: aws.String("IdempotencyToken"), // Required
+ Parameters: aws.String("ConstraintParameters"), // Required
+ PortfolioId: aws.String("Id"), // Required
+ ProductId: aws.String("Id"), // Required
+ Type: aws.String("ConstraintType"), // Required
+ AcceptLanguage: aws.String("AcceptLanguage"),
+ Description: aws.String("ConstraintDescription"),
+ }
+ resp, err := svc.CreateConstraint(params)
+
+ if err != nil {
+ // Print the error, cast err to awserr.Error to get the Code and
+ // Message from an error.
+ fmt.Println(err.Error())
+ return
+ }
+
+ // Pretty-print the response data.
+ fmt.Println(resp)
+}
+
+func ExampleServiceCatalog_CreatePortfolio() {
+ sess, err := session.NewSession()
+ if err != nil {
+ fmt.Println("failed to create session,", err)
+ return
+ }
+
+ svc := servicecatalog.New(sess)
+
+ params := &servicecatalog.CreatePortfolioInput{
+ DisplayName: aws.String("PortfolioDisplayName"), // Required
+ IdempotencyToken: aws.String("IdempotencyToken"), // Required
+ ProviderName: aws.String("ProviderName"), // Required
+ AcceptLanguage: aws.String("AcceptLanguage"),
+ Description: aws.String("PortfolioDescription"),
+ Tags: []*servicecatalog.Tag{
+ { // Required
+ Key: aws.String("TagKey"), // Required
+ Value: aws.String("TagValue"), // Required
+ },
+ // More values...
+ },
+ }
+ resp, err := svc.CreatePortfolio(params)
+
+ if err != nil {
+ // Print the error, cast err to awserr.Error to get the Code and
+ // Message from an error.
+ fmt.Println(err.Error())
+ return
+ }
+
+ // Pretty-print the response data.
+ fmt.Println(resp)
+}
+
+func ExampleServiceCatalog_CreatePortfolioShare() {
+ sess, err := session.NewSession()
+ if err != nil {
+ fmt.Println("failed to create session,", err)
+ return
+ }
+
+ svc := servicecatalog.New(sess)
+
+ params := &servicecatalog.CreatePortfolioShareInput{
+ AccountId: aws.String("AccountId"), // Required
+ PortfolioId: aws.String("Id"), // Required
+ AcceptLanguage: aws.String("AcceptLanguage"),
+ }
+ resp, err := svc.CreatePortfolioShare(params)
+
+ if err != nil {
+ // Print the error, cast err to awserr.Error to get the Code and
+ // Message from an error.
+ fmt.Println(err.Error())
+ return
+ }
+
+ // Pretty-print the response data.
+ fmt.Println(resp)
+}
+
+func ExampleServiceCatalog_CreateProduct() {
+ sess, err := session.NewSession()
+ if err != nil {
+ fmt.Println("failed to create session,", err)
+ return
+ }
+
+ svc := servicecatalog.New(sess)
+
+ params := &servicecatalog.CreateProductInput{
+ IdempotencyToken: aws.String("IdempotencyToken"), // Required
+ Name: aws.String("ProductViewName"), // Required
+ Owner: aws.String("ProductViewOwner"), // Required
+ ProductType: aws.String("ProductType"), // Required
+ ProvisioningArtifactParameters: &servicecatalog.ProvisioningArtifactProperties{ // Required
+ Info: map[string]*string{ // Required
+ "Key": aws.String("ProvisioningArtifactInfoValue"), // Required
+ // More values...
+ },
+ Description: aws.String("ProvisioningArtifactDescription"),
+ Name: aws.String("ProvisioningArtifactName"),
+ Type: aws.String("ProvisioningArtifactType"),
+ },
+ AcceptLanguage: aws.String("AcceptLanguage"),
+ Description: aws.String("ProductViewShortDescription"),
+ Distributor: aws.String("ProductViewOwner"),
+ SupportDescription: aws.String("SupportDescription"),
+ SupportEmail: aws.String("SupportEmail"),
+ SupportUrl: aws.String("SupportUrl"),
+ Tags: []*servicecatalog.Tag{
+ { // Required
+ Key: aws.String("TagKey"), // Required
+ Value: aws.String("TagValue"), // Required
+ },
+ // More values...
+ },
+ }
+ resp, err := svc.CreateProduct(params)
+
+ if err != nil {
+ // Print the error, cast err to awserr.Error to get the Code and
+ // Message from an error.
+ fmt.Println(err.Error())
+ return
+ }
+
+ // Pretty-print the response data.
+ fmt.Println(resp)
+}
+
+func ExampleServiceCatalog_CreateProvisioningArtifact() {
+ sess, err := session.NewSession()
+ if err != nil {
+ fmt.Println("failed to create session,", err)
+ return
+ }
+
+ svc := servicecatalog.New(sess)
+
+ params := &servicecatalog.CreateProvisioningArtifactInput{
+ IdempotencyToken: aws.String("IdempotencyToken"), // Required
+ Parameters: &servicecatalog.ProvisioningArtifactProperties{ // Required
+ Info: map[string]*string{ // Required
+ "Key": aws.String("ProvisioningArtifactInfoValue"), // Required
+ // More values...
+ },
+ Description: aws.String("ProvisioningArtifactDescription"),
+ Name: aws.String("ProvisioningArtifactName"),
+ Type: aws.String("ProvisioningArtifactType"),
+ },
+ ProductId: aws.String("Id"), // Required
+ AcceptLanguage: aws.String("AcceptLanguage"),
+ }
+ resp, err := svc.CreateProvisioningArtifact(params)
+
+ if err != nil {
+ // Print the error, cast err to awserr.Error to get the Code and
+ // Message from an error.
+ fmt.Println(err.Error())
+ return
+ }
+
+ // Pretty-print the response data.
+ fmt.Println(resp)
+}
+
+func ExampleServiceCatalog_DeleteConstraint() {
+ sess, err := session.NewSession()
+ if err != nil {
+ fmt.Println("failed to create session,", err)
+ return
+ }
+
+ svc := servicecatalog.New(sess)
+
+ params := &servicecatalog.DeleteConstraintInput{
+ Id: aws.String("Id"), // Required
+ AcceptLanguage: aws.String("AcceptLanguage"),
+ }
+ resp, err := svc.DeleteConstraint(params)
+
+ if err != nil {
+ // Print the error, cast err to awserr.Error to get the Code and
+ // Message from an error.
+ fmt.Println(err.Error())
+ return
+ }
+
+ // Pretty-print the response data.
+ fmt.Println(resp)
+}
+
+func ExampleServiceCatalog_DeletePortfolio() {
+ sess, err := session.NewSession()
+ if err != nil {
+ fmt.Println("failed to create session,", err)
+ return
+ }
+
+ svc := servicecatalog.New(sess)
+
+ params := &servicecatalog.DeletePortfolioInput{
+ Id: aws.String("Id"), // Required
+ AcceptLanguage: aws.String("AcceptLanguage"),
+ }
+ resp, err := svc.DeletePortfolio(params)
+
+ if err != nil {
+ // Print the error, cast err to awserr.Error to get the Code and
+ // Message from an error.
+ fmt.Println(err.Error())
+ return
+ }
+
+ // Pretty-print the response data.
+ fmt.Println(resp)
+}
+
+func ExampleServiceCatalog_DeletePortfolioShare() {
+ sess, err := session.NewSession()
+ if err != nil {
+ fmt.Println("failed to create session,", err)
+ return
+ }
+
+ svc := servicecatalog.New(sess)
+
+ params := &servicecatalog.DeletePortfolioShareInput{
+ AccountId: aws.String("AccountId"), // Required
+ PortfolioId: aws.String("Id"), // Required
+ AcceptLanguage: aws.String("AcceptLanguage"),
+ }
+ resp, err := svc.DeletePortfolioShare(params)
+
+ if err != nil {
+ // Print the error, cast err to awserr.Error to get the Code and
+ // Message from an error.
+ fmt.Println(err.Error())
+ return
+ }
+
+ // Pretty-print the response data.
+ fmt.Println(resp)
+}
+
+func ExampleServiceCatalog_DeleteProduct() {
+ sess, err := session.NewSession()
+ if err != nil {
+ fmt.Println("failed to create session,", err)
+ return
+ }
+
+ svc := servicecatalog.New(sess)
+
+ params := &servicecatalog.DeleteProductInput{
+ Id: aws.String("Id"), // Required
+ AcceptLanguage: aws.String("AcceptLanguage"),
+ }
+ resp, err := svc.DeleteProduct(params)
+
+ if err != nil {
+ // Print the error, cast err to awserr.Error to get the Code and
+ // Message from an error.
+ fmt.Println(err.Error())
+ return
+ }
+
+ // Pretty-print the response data.
+ fmt.Println(resp)
+}
+
+func ExampleServiceCatalog_DeleteProvisioningArtifact() {
+ sess, err := session.NewSession()
+ if err != nil {
+ fmt.Println("failed to create session,", err)
+ return
+ }
+
+ svc := servicecatalog.New(sess)
+
+ params := &servicecatalog.DeleteProvisioningArtifactInput{
+ ProductId: aws.String("Id"), // Required
+ ProvisioningArtifactId: aws.String("Id"), // Required
+ AcceptLanguage: aws.String("AcceptLanguage"),
+ }
+ resp, err := svc.DeleteProvisioningArtifact(params)
+
+ if err != nil {
+ // Print the error, cast err to awserr.Error to get the Code and
+ // Message from an error.
+ fmt.Println(err.Error())
+ return
+ }
+
+ // Pretty-print the response data.
+ fmt.Println(resp)
+}
+
+func ExampleServiceCatalog_DescribeConstraint() {
+ sess, err := session.NewSession()
+ if err != nil {
+ fmt.Println("failed to create session,", err)
+ return
+ }
+
+ svc := servicecatalog.New(sess)
+
+ params := &servicecatalog.DescribeConstraintInput{
+ Id: aws.String("Id"), // Required
+ AcceptLanguage: aws.String("AcceptLanguage"),
+ }
+ resp, err := svc.DescribeConstraint(params)
+
+ if err != nil {
+ // Print the error, cast err to awserr.Error to get the Code and
+ // Message from an error.
+ fmt.Println(err.Error())
+ return
+ }
+
+ // Pretty-print the response data.
+ fmt.Println(resp)
+}
+
+func ExampleServiceCatalog_DescribePortfolio() {
+ sess, err := session.NewSession()
+ if err != nil {
+ fmt.Println("failed to create session,", err)
+ return
+ }
+
+ svc := servicecatalog.New(sess)
+
+ params := &servicecatalog.DescribePortfolioInput{
+ Id: aws.String("Id"), // Required
+ AcceptLanguage: aws.String("AcceptLanguage"),
+ }
+ resp, err := svc.DescribePortfolio(params)
+
+ if err != nil {
+ // Print the error, cast err to awserr.Error to get the Code and
+ // Message from an error.
+ fmt.Println(err.Error())
+ return
+ }
+
+ // Pretty-print the response data.
+ fmt.Println(resp)
+}
+
func ExampleServiceCatalog_DescribeProduct() {
sess, err := session.NewSession()
if err != nil {
@@ -24,11 +470,256 @@ func ExampleServiceCatalog_DescribeProduct() {
svc := servicecatalog.New(sess)
- params := &servicecatalog.DescribeProductInput{
- Id: aws.String("Id"), // Required
+ params := &servicecatalog.DescribeProductInput{
+ Id: aws.String("Id"), // Required
+ AcceptLanguage: aws.String("AcceptLanguage"),
+ }
+ resp, err := svc.DescribeProduct(params)
+
+ if err != nil {
+ // Print the error, cast err to awserr.Error to get the Code and
+ // Message from an error.
+ fmt.Println(err.Error())
+ return
+ }
+
+ // Pretty-print the response data.
+ fmt.Println(resp)
+}
+
+func ExampleServiceCatalog_DescribeProductAsAdmin() {
+ sess, err := session.NewSession()
+ if err != nil {
+ fmt.Println("failed to create session,", err)
+ return
+ }
+
+ svc := servicecatalog.New(sess)
+
+ params := &servicecatalog.DescribeProductAsAdminInput{
+ Id: aws.String("Id"), // Required
+ AcceptLanguage: aws.String("AcceptLanguage"),
+ }
+ resp, err := svc.DescribeProductAsAdmin(params)
+
+ if err != nil {
+ // Print the error, cast err to awserr.Error to get the Code and
+ // Message from an error.
+ fmt.Println(err.Error())
+ return
+ }
+
+ // Pretty-print the response data.
+ fmt.Println(resp)
+}
+
+func ExampleServiceCatalog_DescribeProductView() {
+ sess, err := session.NewSession()
+ if err != nil {
+ fmt.Println("failed to create session,", err)
+ return
+ }
+
+ svc := servicecatalog.New(sess)
+
+ params := &servicecatalog.DescribeProductViewInput{
+ Id: aws.String("Id"), // Required
+ AcceptLanguage: aws.String("AcceptLanguage"),
+ }
+ resp, err := svc.DescribeProductView(params)
+
+ if err != nil {
+ // Print the error, cast err to awserr.Error to get the Code and
+ // Message from an error.
+ fmt.Println(err.Error())
+ return
+ }
+
+ // Pretty-print the response data.
+ fmt.Println(resp)
+}
+
+func ExampleServiceCatalog_DescribeProvisioningArtifact() {
+ sess, err := session.NewSession()
+ if err != nil {
+ fmt.Println("failed to create session,", err)
+ return
+ }
+
+ svc := servicecatalog.New(sess)
+
+ params := &servicecatalog.DescribeProvisioningArtifactInput{
+ ProductId: aws.String("Id"), // Required
+ ProvisioningArtifactId: aws.String("Id"), // Required
+ AcceptLanguage: aws.String("AcceptLanguage"),
+ }
+ resp, err := svc.DescribeProvisioningArtifact(params)
+
+ if err != nil {
+ // Print the error, cast err to awserr.Error to get the Code and
+ // Message from an error.
+ fmt.Println(err.Error())
+ return
+ }
+
+ // Pretty-print the response data.
+ fmt.Println(resp)
+}
+
+func ExampleServiceCatalog_DescribeProvisioningParameters() {
+ sess, err := session.NewSession()
+ if err != nil {
+ fmt.Println("failed to create session,", err)
+ return
+ }
+
+ svc := servicecatalog.New(sess)
+
+ params := &servicecatalog.DescribeProvisioningParametersInput{
+ ProductId: aws.String("Id"), // Required
+ ProvisioningArtifactId: aws.String("Id"), // Required
+ AcceptLanguage: aws.String("AcceptLanguage"),
+ PathId: aws.String("Id"),
+ }
+ resp, err := svc.DescribeProvisioningParameters(params)
+
+ if err != nil {
+ // Print the error, cast err to awserr.Error to get the Code and
+ // Message from an error.
+ fmt.Println(err.Error())
+ return
+ }
+
+ // Pretty-print the response data.
+ fmt.Println(resp)
+}
+
+func ExampleServiceCatalog_DescribeRecord() {
+ sess, err := session.NewSession()
+ if err != nil {
+ fmt.Println("failed to create session,", err)
+ return
+ }
+
+ svc := servicecatalog.New(sess)
+
+ params := &servicecatalog.DescribeRecordInput{
+ Id: aws.String("Id"), // Required
+ AcceptLanguage: aws.String("AcceptLanguage"),
+ PageSize: aws.Int64(1),
+ PageToken: aws.String("PageToken"),
+ }
+ resp, err := svc.DescribeRecord(params)
+
+ if err != nil {
+ // Print the error, cast err to awserr.Error to get the Code and
+ // Message from an error.
+ fmt.Println(err.Error())
+ return
+ }
+
+ // Pretty-print the response data.
+ fmt.Println(resp)
+}
+
+func ExampleServiceCatalog_DisassociatePrincipalFromPortfolio() {
+ sess, err := session.NewSession()
+ if err != nil {
+ fmt.Println("failed to create session,", err)
+ return
+ }
+
+ svc := servicecatalog.New(sess)
+
+ params := &servicecatalog.DisassociatePrincipalFromPortfolioInput{
+ PortfolioId: aws.String("Id"), // Required
+ PrincipalARN: aws.String("PrincipalARN"), // Required
+ AcceptLanguage: aws.String("AcceptLanguage"),
+ }
+ resp, err := svc.DisassociatePrincipalFromPortfolio(params)
+
+ if err != nil {
+ // Print the error, cast err to awserr.Error to get the Code and
+ // Message from an error.
+ fmt.Println(err.Error())
+ return
+ }
+
+ // Pretty-print the response data.
+ fmt.Println(resp)
+}
+
+func ExampleServiceCatalog_DisassociateProductFromPortfolio() {
+ sess, err := session.NewSession()
+ if err != nil {
+ fmt.Println("failed to create session,", err)
+ return
+ }
+
+ svc := servicecatalog.New(sess)
+
+ params := &servicecatalog.DisassociateProductFromPortfolioInput{
+ PortfolioId: aws.String("Id"), // Required
+ ProductId: aws.String("Id"), // Required
+ AcceptLanguage: aws.String("AcceptLanguage"),
+ }
+ resp, err := svc.DisassociateProductFromPortfolio(params)
+
+ if err != nil {
+ // Print the error, cast err to awserr.Error to get the Code and
+ // Message from an error.
+ fmt.Println(err.Error())
+ return
+ }
+
+ // Pretty-print the response data.
+ fmt.Println(resp)
+}
+
+func ExampleServiceCatalog_ListAcceptedPortfolioShares() {
+ sess, err := session.NewSession()
+ if err != nil {
+ fmt.Println("failed to create session,", err)
+ return
+ }
+
+ svc := servicecatalog.New(sess)
+
+ params := &servicecatalog.ListAcceptedPortfolioSharesInput{
+ AcceptLanguage: aws.String("AcceptLanguage"),
+ PageSize: aws.Int64(1),
+ PageToken: aws.String("PageToken"),
+ }
+ resp, err := svc.ListAcceptedPortfolioShares(params)
+
+ if err != nil {
+ // Print the error, cast err to awserr.Error to get the Code and
+ // Message from an error.
+ fmt.Println(err.Error())
+ return
+ }
+
+ // Pretty-print the response data.
+ fmt.Println(resp)
+}
+
+func ExampleServiceCatalog_ListConstraintsForPortfolio() {
+ sess, err := session.NewSession()
+ if err != nil {
+ fmt.Println("failed to create session,", err)
+ return
+ }
+
+ svc := servicecatalog.New(sess)
+
+ params := &servicecatalog.ListConstraintsForPortfolioInput{
+ PortfolioId: aws.String("Id"), // Required
AcceptLanguage: aws.String("AcceptLanguage"),
+ PageSize: aws.Int64(1),
+ PageToken: aws.String("PageToken"),
+ ProductId: aws.String("Id"),
}
- resp, err := svc.DescribeProduct(params)
+ resp, err := svc.ListConstraintsForPortfolio(params)
if err != nil {
// Print the error, cast err to awserr.Error to get the Code and
@@ -41,7 +732,7 @@ func ExampleServiceCatalog_DescribeProduct() {
fmt.Println(resp)
}
-func ExampleServiceCatalog_DescribeProductView() {
+func ExampleServiceCatalog_ListLaunchPaths() {
sess, err := session.NewSession()
if err != nil {
fmt.Println("failed to create session,", err)
@@ -50,11 +741,13 @@ func ExampleServiceCatalog_DescribeProductView() {
svc := servicecatalog.New(sess)
- params := &servicecatalog.DescribeProductViewInput{
- Id: aws.String("Id"), // Required
+ params := &servicecatalog.ListLaunchPathsInput{
+ ProductId: aws.String("Id"), // Required
AcceptLanguage: aws.String("AcceptLanguage"),
+ PageSize: aws.Int64(1),
+ PageToken: aws.String("PageToken"),
}
- resp, err := svc.DescribeProductView(params)
+ resp, err := svc.ListLaunchPaths(params)
if err != nil {
// Print the error, cast err to awserr.Error to get the Code and
@@ -67,7 +760,7 @@ func ExampleServiceCatalog_DescribeProductView() {
fmt.Println(resp)
}
-func ExampleServiceCatalog_DescribeProvisioningParameters() {
+func ExampleServiceCatalog_ListPortfolioAccess() {
sess, err := session.NewSession()
if err != nil {
fmt.Println("failed to create session,", err)
@@ -76,13 +769,11 @@ func ExampleServiceCatalog_DescribeProvisioningParameters() {
svc := servicecatalog.New(sess)
- params := &servicecatalog.DescribeProvisioningParametersInput{
- ProductId: aws.String("Id"), // Required
- ProvisioningArtifactId: aws.String("Id"), // Required
- AcceptLanguage: aws.String("AcceptLanguage"),
- PathId: aws.String("Id"),
+ params := &servicecatalog.ListPortfolioAccessInput{
+ PortfolioId: aws.String("Id"), // Required
+ AcceptLanguage: aws.String("AcceptLanguage"),
}
- resp, err := svc.DescribeProvisioningParameters(params)
+ resp, err := svc.ListPortfolioAccess(params)
if err != nil {
// Print the error, cast err to awserr.Error to get the Code and
@@ -95,7 +786,7 @@ func ExampleServiceCatalog_DescribeProvisioningParameters() {
fmt.Println(resp)
}
-func ExampleServiceCatalog_DescribeRecord() {
+func ExampleServiceCatalog_ListPortfolios() {
sess, err := session.NewSession()
if err != nil {
fmt.Println("failed to create session,", err)
@@ -104,13 +795,12 @@ func ExampleServiceCatalog_DescribeRecord() {
svc := servicecatalog.New(sess)
- params := &servicecatalog.DescribeRecordInput{
- Id: aws.String("Id"), // Required
+ params := &servicecatalog.ListPortfoliosInput{
AcceptLanguage: aws.String("AcceptLanguage"),
PageSize: aws.Int64(1),
PageToken: aws.String("PageToken"),
}
- resp, err := svc.DescribeRecord(params)
+ resp, err := svc.ListPortfolios(params)
if err != nil {
// Print the error, cast err to awserr.Error to get the Code and
@@ -123,7 +813,7 @@ func ExampleServiceCatalog_DescribeRecord() {
fmt.Println(resp)
}
-func ExampleServiceCatalog_ListLaunchPaths() {
+func ExampleServiceCatalog_ListPortfoliosForProduct() {
sess, err := session.NewSession()
if err != nil {
fmt.Println("failed to create session,", err)
@@ -132,13 +822,67 @@ func ExampleServiceCatalog_ListLaunchPaths() {
svc := servicecatalog.New(sess)
- params := &servicecatalog.ListLaunchPathsInput{
+ params := &servicecatalog.ListPortfoliosForProductInput{
ProductId: aws.String("Id"), // Required
AcceptLanguage: aws.String("AcceptLanguage"),
PageSize: aws.Int64(1),
PageToken: aws.String("PageToken"),
}
- resp, err := svc.ListLaunchPaths(params)
+ resp, err := svc.ListPortfoliosForProduct(params)
+
+ if err != nil {
+ // Print the error, cast err to awserr.Error to get the Code and
+ // Message from an error.
+ fmt.Println(err.Error())
+ return
+ }
+
+ // Pretty-print the response data.
+ fmt.Println(resp)
+}
+
+func ExampleServiceCatalog_ListPrincipalsForPortfolio() {
+ sess, err := session.NewSession()
+ if err != nil {
+ fmt.Println("failed to create session,", err)
+ return
+ }
+
+ svc := servicecatalog.New(sess)
+
+ params := &servicecatalog.ListPrincipalsForPortfolioInput{
+ PortfolioId: aws.String("Id"), // Required
+ AcceptLanguage: aws.String("AcceptLanguage"),
+ PageSize: aws.Int64(1),
+ PageToken: aws.String("PageToken"),
+ }
+ resp, err := svc.ListPrincipalsForPortfolio(params)
+
+ if err != nil {
+ // Print the error, cast err to awserr.Error to get the Code and
+ // Message from an error.
+ fmt.Println(err.Error())
+ return
+ }
+
+ // Pretty-print the response data.
+ fmt.Println(resp)
+}
+
+func ExampleServiceCatalog_ListProvisioningArtifacts() {
+ sess, err := session.NewSession()
+ if err != nil {
+ fmt.Println("failed to create session,", err)
+ return
+ }
+
+ svc := servicecatalog.New(sess)
+
+ params := &servicecatalog.ListProvisioningArtifactsInput{
+ ProductId: aws.String("Id"), // Required
+ AcceptLanguage: aws.String("AcceptLanguage"),
+ }
+ resp, err := svc.ListProvisioningArtifacts(params)
if err != nil {
// Print the error, cast err to awserr.Error to get the Code and
@@ -215,8 +959,8 @@ func ExampleServiceCatalog_ProvisionProduct() {
},
Tags: []*servicecatalog.Tag{
{ // Required
- Key: aws.String("TagKey"),
- Value: aws.String("TagValue"),
+ Key: aws.String("TagKey"), // Required
+ Value: aws.String("TagValue"), // Required
},
// More values...
},
@@ -234,6 +978,32 @@ func ExampleServiceCatalog_ProvisionProduct() {
fmt.Println(resp)
}
+func ExampleServiceCatalog_RejectPortfolioShare() {
+ sess, err := session.NewSession()
+ if err != nil {
+ fmt.Println("failed to create session,", err)
+ return
+ }
+
+ svc := servicecatalog.New(sess)
+
+ params := &servicecatalog.RejectPortfolioShareInput{
+ PortfolioId: aws.String("Id"), // Required
+ AcceptLanguage: aws.String("AcceptLanguage"),
+ }
+ resp, err := svc.RejectPortfolioShare(params)
+
+ if err != nil {
+ // Print the error, cast err to awserr.Error to get the Code and
+ // Message from an error.
+ fmt.Println(err.Error())
+ return
+ }
+
+ // Pretty-print the response data.
+ fmt.Println(resp)
+}
+
func ExampleServiceCatalog_ScanProvisionedProducts() {
sess, err := session.NewSession()
if err != nil {
@@ -301,6 +1071,44 @@ func ExampleServiceCatalog_SearchProducts() {
fmt.Println(resp)
}
+func ExampleServiceCatalog_SearchProductsAsAdmin() {
+ sess, err := session.NewSession()
+ if err != nil {
+ fmt.Println("failed to create session,", err)
+ return
+ }
+
+ svc := servicecatalog.New(sess)
+
+ params := &servicecatalog.SearchProductsAsAdminInput{
+ AcceptLanguage: aws.String("AcceptLanguage"),
+ Filters: map[string][]*string{
+ "Key": { // Required
+ aws.String("ProductViewFilterValue"), // Required
+ // More values...
+ },
+ // More values...
+ },
+ PageSize: aws.Int64(1),
+ PageToken: aws.String("PageToken"),
+ PortfolioId: aws.String("Id"),
+ ProductSource: aws.String("ProductSource"),
+ SortBy: aws.String("ProductViewSortBy"),
+ SortOrder: aws.String("SortOrder"),
+ }
+ resp, err := svc.SearchProductsAsAdmin(params)
+
+ if err != nil {
+ // Print the error, cast err to awserr.Error to get the Code and
+ // Message from an error.
+ fmt.Println(err.Error())
+ return
+ }
+
+ // Pretty-print the response data.
+ fmt.Println(resp)
+}
+
func ExampleServiceCatalog_TerminateProvisionedProduct() {
sess, err := session.NewSession()
if err != nil {
@@ -330,6 +1138,117 @@ func ExampleServiceCatalog_TerminateProvisionedProduct() {
fmt.Println(resp)
}
+func ExampleServiceCatalog_UpdateConstraint() {
+ sess, err := session.NewSession()
+ if err != nil {
+ fmt.Println("failed to create session,", err)
+ return
+ }
+
+ svc := servicecatalog.New(sess)
+
+ params := &servicecatalog.UpdateConstraintInput{
+ Id: aws.String("Id"), // Required
+ AcceptLanguage: aws.String("AcceptLanguage"),
+ Description: aws.String("ConstraintDescription"),
+ }
+ resp, err := svc.UpdateConstraint(params)
+
+ if err != nil {
+ // Print the error, cast err to awserr.Error to get the Code and
+ // Message from an error.
+ fmt.Println(err.Error())
+ return
+ }
+
+ // Pretty-print the response data.
+ fmt.Println(resp)
+}
+
+func ExampleServiceCatalog_UpdatePortfolio() {
+ sess, err := session.NewSession()
+ if err != nil {
+ fmt.Println("failed to create session,", err)
+ return
+ }
+
+ svc := servicecatalog.New(sess)
+
+ params := &servicecatalog.UpdatePortfolioInput{
+ Id: aws.String("Id"), // Required
+ AcceptLanguage: aws.String("AcceptLanguage"),
+ AddTags: []*servicecatalog.Tag{
+ { // Required
+ Key: aws.String("TagKey"), // Required
+ Value: aws.String("TagValue"), // Required
+ },
+ // More values...
+ },
+ Description: aws.String("PortfolioDescription"),
+ DisplayName: aws.String("PortfolioDisplayName"),
+ ProviderName: aws.String("ProviderName"),
+ RemoveTags: []*string{
+ aws.String("TagKey"), // Required
+ // More values...
+ },
+ }
+ resp, err := svc.UpdatePortfolio(params)
+
+ if err != nil {
+ // Print the error, cast err to awserr.Error to get the Code and
+ // Message from an error.
+ fmt.Println(err.Error())
+ return
+ }
+
+ // Pretty-print the response data.
+ fmt.Println(resp)
+}
+
+func ExampleServiceCatalog_UpdateProduct() {
+ sess, err := session.NewSession()
+ if err != nil {
+ fmt.Println("failed to create session,", err)
+ return
+ }
+
+ svc := servicecatalog.New(sess)
+
+ params := &servicecatalog.UpdateProductInput{
+ Id: aws.String("Id"), // Required
+ AcceptLanguage: aws.String("AcceptLanguage"),
+ AddTags: []*servicecatalog.Tag{
+ { // Required
+ Key: aws.String("TagKey"), // Required
+ Value: aws.String("TagValue"), // Required
+ },
+ // More values...
+ },
+ Description: aws.String("ProductViewShortDescription"),
+ Distributor: aws.String("ProductViewOwner"),
+ Name: aws.String("ProductViewName"),
+ Owner: aws.String("ProductViewOwner"),
+ RemoveTags: []*string{
+ aws.String("TagKey"), // Required
+ // More values...
+ },
+ SupportDescription: aws.String("SupportDescription"),
+ SupportEmail: aws.String("SupportEmail"),
+ SupportUrl: aws.String("SupportUrl"),
+ }
+ resp, err := svc.UpdateProduct(params)
+
+ if err != nil {
+ // Print the error, cast err to awserr.Error to get the Code and
+ // Message from an error.
+ fmt.Println(err.Error())
+ return
+ }
+
+ // Pretty-print the response data.
+ fmt.Println(resp)
+}
+
func ExampleServiceCatalog_UpdateProvisionedProduct() {
sess, err := session.NewSession()
if err != nil {
@@ -368,3 +1287,32 @@ func ExampleServiceCatalog_UpdateProvisionedProduct() {
// Pretty-print the response data.
fmt.Println(resp)
}
+
+func ExampleServiceCatalog_UpdateProvisioningArtifact() {
+ sess, err := session.NewSession()
+ if err != nil {
+ fmt.Println("failed to create session,", err)
+ return
+ }
+
+ svc := servicecatalog.New(sess)
+
+ params := &servicecatalog.UpdateProvisioningArtifactInput{
+ ProductId: aws.String("Id"), // Required
+ ProvisioningArtifactId: aws.String("Id"), // Required
+ AcceptLanguage: aws.String("AcceptLanguage"),
+ Description: aws.String("ProvisioningArtifactDescription"),
+ Name: aws.String("ProvisioningArtifactName"),
+ }
+ resp, err := svc.UpdateProvisioningArtifact(params)
+
+ if err != nil {
+ // Print the error, cast err to awserr.Error to get the Code and
+ // Message from an error.
+ fmt.Println(err.Error())
+ return
+ }
+
+ // Pretty-print the response data.
+ fmt.Println(resp)
+}
diff --git a/vendor/github.com/aws/aws-sdk-go/service/servicecatalog/servicecatalogiface/interface.go b/vendor/github.com/aws/aws-sdk-go/service/servicecatalog/servicecatalogiface/interface.go
index 73bc143..48b5f12 100644
--- a/vendor/github.com/aws/aws-sdk-go/service/servicecatalog/servicecatalogiface/interface.go
+++ b/vendor/github.com/aws/aws-sdk-go/service/servicecatalog/servicecatalogiface/interface.go
@@ -25,7 +25,7 @@ import (
// // myFunc uses an SDK service client to make a request to
// // AWS Service Catalog.
// func myFunc(svc servicecatalogiface.ServiceCatalogAPI) bool {
-// // Make svc.DescribeProduct request
+// // Make svc.AcceptPortfolioShare request
// }
//
// func main() {
@@ -41,7 +41,7 @@ import (
// type mockServiceCatalogClient struct {
// servicecatalogiface.ServiceCatalogAPI
// }
-// func (m *mockServiceCatalogClient) DescribeProduct(input *servicecatalog.DescribeProductInput) (*servicecatalog.DescribeProductOutput, error) {
+// func (m *mockServiceCatalogClient) AcceptPortfolioShare(input *servicecatalog.AcceptPortfolioShareInput) (*servicecatalog.AcceptPortfolioShareOutput, error) {
// // mock response/functionality
// }
//
@@ -59,14 +59,82 @@ import (
// and waiters. Its suggested to use the pattern above for testing, or using
// tooling to generate mocks to satisfy the interfaces.
type ServiceCatalogAPI interface {
+ AcceptPortfolioShareRequest(*servicecatalog.AcceptPortfolioShareInput) (*request.Request, *servicecatalog.AcceptPortfolioShareOutput)
+
+ AcceptPortfolioShare(*servicecatalog.AcceptPortfolioShareInput) (*servicecatalog.AcceptPortfolioShareOutput, error)
+
+ AssociatePrincipalWithPortfolioRequest(*servicecatalog.AssociatePrincipalWithPortfolioInput) (*request.Request, *servicecatalog.AssociatePrincipalWithPortfolioOutput)
+
+ AssociatePrincipalWithPortfolio(*servicecatalog.AssociatePrincipalWithPortfolioInput) (*servicecatalog.AssociatePrincipalWithPortfolioOutput, error)
+
+ AssociateProductWithPortfolioRequest(*servicecatalog.AssociateProductWithPortfolioInput) (*request.Request, *servicecatalog.AssociateProductWithPortfolioOutput)
+
+ AssociateProductWithPortfolio(*servicecatalog.AssociateProductWithPortfolioInput) (*servicecatalog.AssociateProductWithPortfolioOutput, error)
+
+ CreateConstraintRequest(*servicecatalog.CreateConstraintInput) (*request.Request, *servicecatalog.CreateConstraintOutput)
+
+ CreateConstraint(*servicecatalog.CreateConstraintInput) (*servicecatalog.CreateConstraintOutput, error)
+
+ CreatePortfolioRequest(*servicecatalog.CreatePortfolioInput) (*request.Request, *servicecatalog.CreatePortfolioOutput)
+
+ CreatePortfolio(*servicecatalog.CreatePortfolioInput) (*servicecatalog.CreatePortfolioOutput, error)
+
+ CreatePortfolioShareRequest(*servicecatalog.CreatePortfolioShareInput) (*request.Request, *servicecatalog.CreatePortfolioShareOutput)
+
+ CreatePortfolioShare(*servicecatalog.CreatePortfolioShareInput) (*servicecatalog.CreatePortfolioShareOutput, error)
+
+ CreateProductRequest(*servicecatalog.CreateProductInput) (*request.Request, *servicecatalog.CreateProductOutput)
+
+ CreateProduct(*servicecatalog.CreateProductInput) (*servicecatalog.CreateProductOutput, error)
+
+ CreateProvisioningArtifactRequest(*servicecatalog.CreateProvisioningArtifactInput) (*request.Request, *servicecatalog.CreateProvisioningArtifactOutput)
+
+ CreateProvisioningArtifact(*servicecatalog.CreateProvisioningArtifactInput) (*servicecatalog.CreateProvisioningArtifactOutput, error)
+
+ DeleteConstraintRequest(*servicecatalog.DeleteConstraintInput) (*request.Request, *servicecatalog.DeleteConstraintOutput)
+
+ DeleteConstraint(*servicecatalog.DeleteConstraintInput) (*servicecatalog.DeleteConstraintOutput, error)
+
+ DeletePortfolioRequest(*servicecatalog.DeletePortfolioInput) (*request.Request, *servicecatalog.DeletePortfolioOutput)
+
+ DeletePortfolio(*servicecatalog.DeletePortfolioInput) (*servicecatalog.DeletePortfolioOutput, error)
+
+ DeletePortfolioShareRequest(*servicecatalog.DeletePortfolioShareInput) (*request.Request, *servicecatalog.DeletePortfolioShareOutput)
+
+ DeletePortfolioShare(*servicecatalog.DeletePortfolioShareInput) (*servicecatalog.DeletePortfolioShareOutput, error)
+
+ DeleteProductRequest(*servicecatalog.DeleteProductInput) (*request.Request, *servicecatalog.DeleteProductOutput)
+
+ DeleteProduct(*servicecatalog.DeleteProductInput) (*servicecatalog.DeleteProductOutput, error)
+
+ DeleteProvisioningArtifactRequest(*servicecatalog.DeleteProvisioningArtifactInput) (*request.Request, *servicecatalog.DeleteProvisioningArtifactOutput)
+
+ DeleteProvisioningArtifact(*servicecatalog.DeleteProvisioningArtifactInput) (*servicecatalog.DeleteProvisioningArtifactOutput, error)
+
+ DescribeConstraintRequest(*servicecatalog.DescribeConstraintInput) (*request.Request, *servicecatalog.DescribeConstraintOutput)
+
+ DescribeConstraint(*servicecatalog.DescribeConstraintInput) (*servicecatalog.DescribeConstraintOutput, error)
+
+ DescribePortfolioRequest(*servicecatalog.DescribePortfolioInput) (*request.Request, *servicecatalog.DescribePortfolioOutput)
+
+ DescribePortfolio(*servicecatalog.DescribePortfolioInput) (*servicecatalog.DescribePortfolioOutput, error)
+
DescribeProductRequest(*servicecatalog.DescribeProductInput) (*request.Request, *servicecatalog.DescribeProductOutput)
DescribeProduct(*servicecatalog.DescribeProductInput) (*servicecatalog.DescribeProductOutput, error)
+ DescribeProductAsAdminRequest(*servicecatalog.DescribeProductAsAdminInput) (*request.Request, *servicecatalog.DescribeProductAsAdminOutput)
+
+ DescribeProductAsAdmin(*servicecatalog.DescribeProductAsAdminInput) (*servicecatalog.DescribeProductAsAdminOutput, error)
+
DescribeProductViewRequest(*servicecatalog.DescribeProductViewInput) (*request.Request, *servicecatalog.DescribeProductViewOutput)
DescribeProductView(*servicecatalog.DescribeProductViewInput) (*servicecatalog.DescribeProductViewOutput, error)
+ DescribeProvisioningArtifactRequest(*servicecatalog.DescribeProvisioningArtifactInput) (*request.Request, *servicecatalog.DescribeProvisioningArtifactOutput)
+
+ DescribeProvisioningArtifact(*servicecatalog.DescribeProvisioningArtifactInput) (*servicecatalog.DescribeProvisioningArtifactOutput, error)
+
DescribeProvisioningParametersRequest(*servicecatalog.DescribeProvisioningParametersInput) (*request.Request, *servicecatalog.DescribeProvisioningParametersOutput)
DescribeProvisioningParameters(*servicecatalog.DescribeProvisioningParametersInput) (*servicecatalog.DescribeProvisioningParametersOutput, error)
@@ -75,10 +143,46 @@ type ServiceCatalogAPI interface {
DescribeRecord(*servicecatalog.DescribeRecordInput) (*servicecatalog.DescribeRecordOutput, error)
+ DisassociatePrincipalFromPortfolioRequest(*servicecatalog.DisassociatePrincipalFromPortfolioInput) (*request.Request, *servicecatalog.DisassociatePrincipalFromPortfolioOutput)
+
+ DisassociatePrincipalFromPortfolio(*servicecatalog.DisassociatePrincipalFromPortfolioInput) (*servicecatalog.DisassociatePrincipalFromPortfolioOutput, error)
+
+ DisassociateProductFromPortfolioRequest(*servicecatalog.DisassociateProductFromPortfolioInput) (*request.Request, *servicecatalog.DisassociateProductFromPortfolioOutput)
+
+ DisassociateProductFromPortfolio(*servicecatalog.DisassociateProductFromPortfolioInput) (*servicecatalog.DisassociateProductFromPortfolioOutput, error)
+
+ ListAcceptedPortfolioSharesRequest(*servicecatalog.ListAcceptedPortfolioSharesInput) (*request.Request, *servicecatalog.ListAcceptedPortfolioSharesOutput)
+
+ ListAcceptedPortfolioShares(*servicecatalog.ListAcceptedPortfolioSharesInput) (*servicecatalog.ListAcceptedPortfolioSharesOutput, error)
+
+ ListConstraintsForPortfolioRequest(*servicecatalog.ListConstraintsForPortfolioInput) (*request.Request, *servicecatalog.ListConstraintsForPortfolioOutput)
+
+ ListConstraintsForPortfolio(*servicecatalog.ListConstraintsForPortfolioInput) (*servicecatalog.ListConstraintsForPortfolioOutput, error)
+
ListLaunchPathsRequest(*servicecatalog.ListLaunchPathsInput) (*request.Request, *servicecatalog.ListLaunchPathsOutput)
ListLaunchPaths(*servicecatalog.ListLaunchPathsInput) (*servicecatalog.ListLaunchPathsOutput, error)
+ ListPortfolioAccessRequest(*servicecatalog.ListPortfolioAccessInput) (*request.Request, *servicecatalog.ListPortfolioAccessOutput)
+
+ ListPortfolioAccess(*servicecatalog.ListPortfolioAccessInput) (*servicecatalog.ListPortfolioAccessOutput, error)
+
+ ListPortfoliosRequest(*servicecatalog.ListPortfoliosInput) (*request.Request, *servicecatalog.ListPortfoliosOutput)
+
+ ListPortfolios(*servicecatalog.ListPortfoliosInput) (*servicecatalog.ListPortfoliosOutput, error)
+
+ ListPortfoliosForProductRequest(*servicecatalog.ListPortfoliosForProductInput) (*request.Request, *servicecatalog.ListPortfoliosForProductOutput)
+
+ ListPortfoliosForProduct(*servicecatalog.ListPortfoliosForProductInput) (*servicecatalog.ListPortfoliosForProductOutput, error)
+
+ ListPrincipalsForPortfolioRequest(*servicecatalog.ListPrincipalsForPortfolioInput) (*request.Request, *servicecatalog.ListPrincipalsForPortfolioOutput)
+
+ ListPrincipalsForPortfolio(*servicecatalog.ListPrincipalsForPortfolioInput) (*servicecatalog.ListPrincipalsForPortfolioOutput, error)
+
+ ListProvisioningArtifactsRequest(*servicecatalog.ListProvisioningArtifactsInput) (*request.Request, *servicecatalog.ListProvisioningArtifactsOutput)
+
+ ListProvisioningArtifacts(*servicecatalog.ListProvisioningArtifactsInput) (*servicecatalog.ListProvisioningArtifactsOutput, error)
+
ListRecordHistoryRequest(*servicecatalog.ListRecordHistoryInput) (*request.Request, *servicecatalog.ListRecordHistoryOutput)
ListRecordHistory(*servicecatalog.ListRecordHistoryInput) (*servicecatalog.ListRecordHistoryOutput, error)
@@ -87,6 +191,10 @@ type ServiceCatalogAPI interface {
ProvisionProduct(*servicecatalog.ProvisionProductInput) (*servicecatalog.ProvisionProductOutput, error)
+ RejectPortfolioShareRequest(*servicecatalog.RejectPortfolioShareInput) (*request.Request, *servicecatalog.RejectPortfolioShareOutput)
+
+ RejectPortfolioShare(*servicecatalog.RejectPortfolioShareInput) (*servicecatalog.RejectPortfolioShareOutput, error)
+
ScanProvisionedProductsRequest(*servicecatalog.ScanProvisionedProductsInput) (*request.Request, *servicecatalog.ScanProvisionedProductsOutput)
ScanProvisionedProducts(*servicecatalog.ScanProvisionedProductsInput) (*servicecatalog.ScanProvisionedProductsOutput, error)
@@ -95,13 +203,33 @@ type ServiceCatalogAPI interface {
SearchProducts(*servicecatalog.SearchProductsInput) (*servicecatalog.SearchProductsOutput, error)
+ SearchProductsAsAdminRequest(*servicecatalog.SearchProductsAsAdminInput) (*request.Request, *servicecatalog.SearchProductsAsAdminOutput)
+
+ SearchProductsAsAdmin(*servicecatalog.SearchProductsAsAdminInput) (*servicecatalog.SearchProductsAsAdminOutput, error)
+
TerminateProvisionedProductRequest(*servicecatalog.TerminateProvisionedProductInput) (*request.Request, *servicecatalog.TerminateProvisionedProductOutput)
TerminateProvisionedProduct(*servicecatalog.TerminateProvisionedProductInput) (*servicecatalog.TerminateProvisionedProductOutput, error)
+ UpdateConstraintRequest(*servicecatalog.UpdateConstraintInput) (*request.Request, *servicecatalog.UpdateConstraintOutput)
+
+ UpdateConstraint(*servicecatalog.UpdateConstraintInput) (*servicecatalog.UpdateConstraintOutput, error)
+
+ UpdatePortfolioRequest(*servicecatalog.UpdatePortfolioInput) (*request.Request, *servicecatalog.UpdatePortfolioOutput)
+
+ UpdatePortfolio(*servicecatalog.UpdatePortfolioInput) (*servicecatalog.UpdatePortfolioOutput, error)
+
+ UpdateProductRequest(*servicecatalog.UpdateProductInput) (*request.Request, *servicecatalog.UpdateProductOutput)
+
+ UpdateProduct(*servicecatalog.UpdateProductInput) (*servicecatalog.UpdateProductOutput, error)
+
UpdateProvisionedProductRequest(*servicecatalog.UpdateProvisionedProductInput) (*request.Request, *servicecatalog.UpdateProvisionedProductOutput)
UpdateProvisionedProduct(*servicecatalog.UpdateProvisionedProductInput) (*servicecatalog.UpdateProvisionedProductOutput, error)
+
+ UpdateProvisioningArtifactRequest(*servicecatalog.UpdateProvisioningArtifactInput) (*request.Request, *servicecatalog.UpdateProvisioningArtifactOutput)
+
+ UpdateProvisioningArtifact(*servicecatalog.UpdateProvisioningArtifactInput) (*servicecatalog.UpdateProvisioningArtifactOutput, error)
}
var _ ServiceCatalogAPI = (*servicecatalog.ServiceCatalog)(nil)
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 fe71265..46b3d23 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
@@ -79,11 +79,11 @@ func (c *SES) CloneReceiptRuleSetRequest(input *CloneReceiptRuleSetInput) (req *
// Indicates that the provided receipt rule set does not exist.
//
// * AlreadyExists
-// Indicates that a resource could not be created due to a naming conflict.
+// Indicates that a resource could not be created because of a naming conflict.
//
// * LimitExceeded
-// Indicates that a resource could not be created due to 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).
+// 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).
//
func (c *SES) CloneReceiptRuleSet(input *CloneReceiptRuleSetInput) (*CloneReceiptRuleSetOutput, error) {
req, out := c.CloneReceiptRuleSetRequest(input)
@@ -91,6 +91,174 @@ func (c *SES) CloneReceiptRuleSet(input *CloneReceiptRuleSetInput) (*CloneReceip
return out, err
}
+const opCreateConfigurationSet = "CreateConfigurationSet"
+
+// CreateConfigurationSetRequest generates a "aws/request.Request" representing the
+// client's request for the CreateConfigurationSet operation. The "output" return
+// value can be used to capture response data after the request's "Send" method
+// is called.
+//
+// See CreateConfigurationSet for usage and error information.
+//
+// Creating a request object using this method should be used when you want to inject
+// custom logic into the request's lifecycle using a custom handler, or if you want to
+// access properties on the request object before or after sending the request. If
+// you just want the service response, call the CreateConfigurationSet method directly
+// instead.
+//
+// Note: You must call the "Send" method on the returned request object in order
+// to execute the request.
+//
+// // Example sending a request using the CreateConfigurationSetRequest method.
+// req, resp := client.CreateConfigurationSetRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+func (c *SES) CreateConfigurationSetRequest(input *CreateConfigurationSetInput) (req *request.Request, output *CreateConfigurationSetOutput) {
+ op := &request.Operation{
+ Name: opCreateConfigurationSet,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &CreateConfigurationSetInput{}
+ }
+
+ req = c.newRequest(op, input, output)
+ output = &CreateConfigurationSetOutput{}
+ req.Data = output
+ return
+}
+
+// CreateConfigurationSet API operation for Amazon Simple Email Service.
+//
+// Creates 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).
+//
+// This action is throttled at one request 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 CreateConfigurationSet for usage and error information.
+//
+// Returned Error Codes:
+// * ConfigurationSetAlreadyExists
+// Indicates that the configuration set could not be created because of a naming
+// conflict.
+//
+// * InvalidConfigurationSet
+// Indicates that the configuration set is invalid. See the error message for
+// details.
+//
+// * 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).
+//
+func (c *SES) CreateConfigurationSet(input *CreateConfigurationSetInput) (*CreateConfigurationSetOutput, error) {
+ req, out := c.CreateConfigurationSetRequest(input)
+ err := req.Send()
+ return out, err
+}
+
+const opCreateConfigurationSetEventDestination = "CreateConfigurationSetEventDestination"
+
+// CreateConfigurationSetEventDestinationRequest generates a "aws/request.Request" representing the
+// client's request for the CreateConfigurationSetEventDestination operation. The "output" return
+// value can be used to capture response data after the request's "Send" method
+// is called.
+//
+// See CreateConfigurationSetEventDestination for usage and error information.
+//
+// Creating a request object using this method should be used when you want to inject
+// custom logic into the request's lifecycle using a custom handler, or if you want to
+// access properties on the request object before or after sending the request. If
+// you just want the service response, call the CreateConfigurationSetEventDestination method directly
+// instead.
+//
+// Note: You must call the "Send" method on the returned request object in order
+// to execute the request.
+//
+// // Example sending a request using the CreateConfigurationSetEventDestinationRequest method.
+// req, resp := client.CreateConfigurationSetEventDestinationRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+func (c *SES) CreateConfigurationSetEventDestinationRequest(input *CreateConfigurationSetEventDestinationInput) (req *request.Request, output *CreateConfigurationSetEventDestinationOutput) {
+ op := &request.Operation{
+ Name: opCreateConfigurationSetEventDestination,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &CreateConfigurationSetEventDestinationInput{}
+ }
+
+ req = c.newRequest(op, input, output)
+ output = &CreateConfigurationSetEventDestinationOutput{}
+ req.Data = output
+ return
+}
+
+// CreateConfigurationSetEventDestination API operation for Amazon Simple Email Service.
+//
+// Creates a configuration set event destination.
+//
+// When you create or update an event destination, you must provide one, and
+// only one, destination. The destination can be either Amazon CloudWatch or
+// Amazon Kinesis Firehose.
+//
+// An event destination is the AWS service to 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).
+//
+// This action is throttled at one request 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 CreateConfigurationSetEventDestination for usage and error information.
+//
+// Returned Error Codes:
+// * ConfigurationSetDoesNotExist
+// Indicates that the configuration set does not exist.
+//
+// * EventDestinationAlreadyExists
+// Indicates that the event destination could not be created because of a naming
+// conflict.
+//
+// * InvalidCloudWatchDestination
+// Indicates that the Amazon CloudWatch destination is invalid. See the error
+// message for details.
+//
+// * InvalidFirehoseDestination
+// Indicates that the Amazon Kinesis Firehose destination is invalid. See the
+// error message for details.
+//
+// * 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).
+//
+func (c *SES) CreateConfigurationSetEventDestination(input *CreateConfigurationSetEventDestinationInput) (*CreateConfigurationSetEventDestinationOutput, error) {
+ req, out := c.CreateConfigurationSetEventDestinationRequest(input)
+ err := req.Send()
+ return out, err
+}
+
const opCreateReceiptFilter = "CreateReceiptFilter"
// CreateReceiptFilterRequest generates a "aws/request.Request" representing the
@@ -152,11 +320,11 @@ func (c *SES) CreateReceiptFilterRequest(input *CreateReceiptFilterInput) (req *
//
// Returned Error Codes:
// * LimitExceeded
-// Indicates that a resource could not be created due to 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).
+// 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).
//
// * AlreadyExists
-// Indicates that a resource could not be created due to a naming conflict.
+// Indicates that a resource could not be created because of a naming conflict.
//
func (c *SES) CreateReceiptFilter(input *CreateReceiptFilterInput) (*CreateReceiptFilterOutput, error) {
req, out := c.CreateReceiptFilterRequest(input)
@@ -242,7 +410,7 @@ func (c *SES) CreateReceiptRuleRequest(input *CreateReceiptRuleInput) (req *requ
// Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-permissions.html).
//
// * AlreadyExists
-// Indicates that a resource could not be created due to a naming conflict.
+// Indicates that a resource could not be created because of a naming conflict.
//
// * RuleDoesNotExist
// Indicates that the provided receipt rule does not exist.
@@ -251,8 +419,8 @@ func (c *SES) CreateReceiptRuleRequest(input *CreateReceiptRuleInput) (req *requ
// Indicates that the provided receipt rule set does not exist.
//
// * LimitExceeded
-// Indicates that a resource could not be created due to 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).
+// 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).
//
func (c *SES) CreateReceiptRule(input *CreateReceiptRuleInput) (*CreateReceiptRuleOutput, error) {
req, out := c.CreateReceiptRuleRequest(input)
@@ -321,11 +489,11 @@ func (c *SES) CreateReceiptRuleSetRequest(input *CreateReceiptRuleSetInput) (req
//
// Returned Error Codes:
// * AlreadyExists
-// Indicates that a resource could not be created due to a naming conflict.
+// Indicates that a resource could not be created because of a naming conflict.
//
// * LimitExceeded
-// Indicates that a resource could not be created due to 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).
+// 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).
//
func (c *SES) CreateReceiptRuleSet(input *CreateReceiptRuleSetInput) (*CreateReceiptRuleSetOutput, error) {
req, out := c.CreateReceiptRuleSetRequest(input)
@@ -333,6 +501,148 @@ func (c *SES) CreateReceiptRuleSet(input *CreateReceiptRuleSetInput) (*CreateRec
return out, err
}
+const opDeleteConfigurationSet = "DeleteConfigurationSet"
+
+// DeleteConfigurationSetRequest generates a "aws/request.Request" representing the
+// client's request for the DeleteConfigurationSet operation. The "output" return
+// value can be used to capture response data after the request's "Send" method
+// is called.
+//
+// See DeleteConfigurationSet for usage and error information.
+//
+// Creating a request object using this method should be used when you want to inject
+// custom logic into the request's lifecycle using a custom handler, or if you want to
+// access properties on the request object before or after sending the request. If
+// you just want the service response, call the DeleteConfigurationSet method directly
+// instead.
+//
+// Note: You must call the "Send" method on the returned request object in order
+// to execute the request.
+//
+// // Example sending a request using the DeleteConfigurationSetRequest method.
+// req, resp := client.DeleteConfigurationSetRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+func (c *SES) DeleteConfigurationSetRequest(input *DeleteConfigurationSetInput) (req *request.Request, output *DeleteConfigurationSetOutput) {
+ op := &request.Operation{
+ Name: opDeleteConfigurationSet,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &DeleteConfigurationSetInput{}
+ }
+
+ req = c.newRequest(op, input, output)
+ output = &DeleteConfigurationSetOutput{}
+ req.Data = output
+ return
+}
+
+// DeleteConfigurationSet API operation for Amazon Simple Email Service.
+//
+// Deletes 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).
+//
+// This action is throttled at one request 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 DeleteConfigurationSet for usage and error information.
+//
+// Returned Error Codes:
+// * ConfigurationSetDoesNotExist
+// Indicates that the configuration set does not exist.
+//
+func (c *SES) DeleteConfigurationSet(input *DeleteConfigurationSetInput) (*DeleteConfigurationSetOutput, error) {
+ req, out := c.DeleteConfigurationSetRequest(input)
+ err := req.Send()
+ return out, err
+}
+
+const opDeleteConfigurationSetEventDestination = "DeleteConfigurationSetEventDestination"
+
+// DeleteConfigurationSetEventDestinationRequest generates a "aws/request.Request" representing the
+// client's request for the DeleteConfigurationSetEventDestination operation. The "output" return
+// value can be used to capture response data after the request's "Send" method
+// is called.
+//
+// See DeleteConfigurationSetEventDestination for usage and error information.
+//
+// Creating a request object using this method should be used when you want to inject
+// custom logic into the request's lifecycle using a custom handler, or if you want to
+// access properties on the request object before or after sending the request. If
+// you just want the service response, call the DeleteConfigurationSetEventDestination method directly
+// instead.
+//
+// Note: You must call the "Send" method on the returned request object in order
+// to execute the request.
+//
+// // Example sending a request using the DeleteConfigurationSetEventDestinationRequest method.
+// req, resp := client.DeleteConfigurationSetEventDestinationRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+func (c *SES) DeleteConfigurationSetEventDestinationRequest(input *DeleteConfigurationSetEventDestinationInput) (req *request.Request, output *DeleteConfigurationSetEventDestinationOutput) {
+ op := &request.Operation{
+ Name: opDeleteConfigurationSetEventDestination,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &DeleteConfigurationSetEventDestinationInput{}
+ }
+
+ req = c.newRequest(op, input, output)
+ output = &DeleteConfigurationSetEventDestinationOutput{}
+ req.Data = output
+ return
+}
+
+// DeleteConfigurationSetEventDestination API operation for Amazon Simple Email Service.
+//
+// Deletes 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).
+//
+// This action is throttled at one request 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 DeleteConfigurationSetEventDestination for usage and error information.
+//
+// Returned Error Codes:
+// * ConfigurationSetDoesNotExist
+// Indicates that the configuration set does not exist.
+//
+// * EventDestinationDoesNotExist
+// Indicates that the event destination does not exist.
+//
+func (c *SES) DeleteConfigurationSetEventDestination(input *DeleteConfigurationSetEventDestinationInput) (*DeleteConfigurationSetEventDestinationOutput, error) {
+ req, out := c.DeleteConfigurationSetEventDestinationRequest(input)
+ err := req.Send()
+ return out, err
+}
+
const opDeleteIdentity = "DeleteIdentity"
// DeleteIdentityRequest generates a "aws/request.Request" representing the
@@ -800,6 +1110,75 @@ func (c *SES) DescribeActiveReceiptRuleSet(input *DescribeActiveReceiptRuleSetIn
return out, err
}
+const opDescribeConfigurationSet = "DescribeConfigurationSet"
+
+// DescribeConfigurationSetRequest generates a "aws/request.Request" representing the
+// client's request for the DescribeConfigurationSet operation. The "output" return
+// value can be used to capture response data after the request's "Send" method
+// is called.
+//
+// See DescribeConfigurationSet for usage and error information.
+//
+// Creating a request object using this method should be used when you want to inject
+// custom logic into the request's lifecycle using a custom handler, or if you want to
+// access properties on the request object before or after sending the request. If
+// you just want the service response, call the DescribeConfigurationSet method directly
+// instead.
+//
+// Note: You must call the "Send" method on the returned request object in order
+// to execute the request.
+//
+// // Example sending a request using the DescribeConfigurationSetRequest method.
+// req, resp := client.DescribeConfigurationSetRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+func (c *SES) DescribeConfigurationSetRequest(input *DescribeConfigurationSetInput) (req *request.Request, output *DescribeConfigurationSetOutput) {
+ op := &request.Operation{
+ Name: opDescribeConfigurationSet,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &DescribeConfigurationSetInput{}
+ }
+
+ req = c.newRequest(op, input, output)
+ output = &DescribeConfigurationSetOutput{}
+ req.Data = output
+ return
+}
+
+// DescribeConfigurationSet API operation for Amazon Simple Email Service.
+//
+// Returns the details of the specified 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).
+//
+// This action is throttled at one request 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 DescribeConfigurationSet for usage and error information.
+//
+// Returned Error Codes:
+// * ConfigurationSetDoesNotExist
+// Indicates that the configuration set does not exist.
+//
+func (c *SES) DescribeConfigurationSet(input *DescribeConfigurationSetInput) (*DescribeConfigurationSetOutput, error) {
+ req, out := c.DescribeConfigurationSetRequest(input)
+ err := req.Send()
+ return out, err
+}
+
const opDescribeReceiptRule = "DescribeReceiptRule"
// DescribeReceiptRuleRequest generates a "aws/request.Request" representing the
@@ -1410,7 +1789,72 @@ func (c *SES) GetSendStatistics(input *GetSendStatisticsInput) (*GetSendStatisti
return out, err
}
-const opListIdentities = "ListIdentities"
+const opListConfigurationSets = "ListConfigurationSets"
+
+// ListConfigurationSetsRequest generates a "aws/request.Request" representing the
+// client's request for the ListConfigurationSets operation. The "output" return
+// value can be used to capture response data after the request's "Send" method
+// is called.
+//
+// See ListConfigurationSets for usage and error information.
+//
+// Creating a request object using this method should be used when you want to inject
+// custom logic into the request's lifecycle using a custom handler, or if you want to
+// access properties on the request object before or after sending the request. If
+// you just want the service response, call the ListConfigurationSets method directly
+// instead.
+//
+// Note: You must call the "Send" method on the returned request object in order
+// to execute the request.
+//
+// // Example sending a request using the ListConfigurationSetsRequest method.
+// req, resp := client.ListConfigurationSetsRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+func (c *SES) ListConfigurationSetsRequest(input *ListConfigurationSetsInput) (req *request.Request, output *ListConfigurationSetsOutput) {
+ op := &request.Operation{
+ Name: opListConfigurationSets,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &ListConfigurationSetsInput{}
+ }
+
+ req = c.newRequest(op, input, output)
+ output = &ListConfigurationSetsOutput{}
+ req.Data = output
+ return
+}
+
+// ListConfigurationSets API operation for Amazon Simple Email Service.
+//
+// Lists the 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).
+//
+// This action is throttled at one request per second and can return up to 50
+// configuration sets 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 Simple Email Service's
+// API operation ListConfigurationSets for usage and error information.
+func (c *SES) ListConfigurationSets(input *ListConfigurationSetsInput) (*ListConfigurationSetsOutput, error) {
+ req, out := c.ListConfigurationSetsRequest(input)
+ err := req.Send()
+ return out, err
+}
+
+const opListIdentities = "ListIdentities"
// ListIdentitiesRequest generates a "aws/request.Request" representing the
// client's request for the ListIdentities operation. The "output" return
@@ -2083,6 +2527,9 @@ func (c *SES) SendEmailRequest(input *SendEmailInput) (req *request.Request, out
// about editing the custom MAIL FROM domain settings for an identity, see the
// Amazon SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/mail-from-edit.html).
//
+// * ConfigurationSetDoesNotExist
+// Indicates that the configuration set does not exist.
+//
func (c *SES) SendEmail(input *SendEmailInput) (*SendEmailOutput, error) {
req, out := c.SendEmailRequest(input)
err := req.Send()
@@ -2210,6 +2657,9 @@ func (c *SES) SendRawEmailRequest(input *SendRawEmailInput) (req *request.Reques
// about editing the custom MAIL FROM domain settings for an identity, see the
// Amazon SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/mail-from-edit.html).
//
+// * ConfigurationSetDoesNotExist
+// Indicates that the configuration set does not exist.
+//
func (c *SES) SendRawEmail(input *SendRawEmailInput) (*SendRawEmailOutput, error) {
req, out := c.SendRawEmailRequest(input)
err := req.Send()
@@ -2708,6 +3158,92 @@ func (c *SES) SetReceiptRulePosition(input *SetReceiptRulePositionInput) (*SetRe
return out, err
}
+const opUpdateConfigurationSetEventDestination = "UpdateConfigurationSetEventDestination"
+
+// UpdateConfigurationSetEventDestinationRequest generates a "aws/request.Request" representing the
+// client's request for the UpdateConfigurationSetEventDestination operation. The "output" return
+// value can be used to capture response data after the request's "Send" method
+// is called.
+//
+// See UpdateConfigurationSetEventDestination for usage and error information.
+//
+// Creating a request object using this method should be used when you want to inject
+// custom logic into the request's lifecycle using a custom handler, or if you want to
+// access properties on the request object before or after sending the request. If
+// you just want the service response, call the UpdateConfigurationSetEventDestination method directly
+// instead.
+//
+// Note: You must call the "Send" method on the returned request object in order
+// to execute the request.
+//
+// // 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)
+// }
+//
+func (c *SES) UpdateConfigurationSetEventDestinationRequest(input *UpdateConfigurationSetEventDestinationInput) (req *request.Request, output *UpdateConfigurationSetEventDestinationOutput) {
+ op := &request.Operation{
+ Name: opUpdateConfigurationSetEventDestination,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &UpdateConfigurationSetEventDestinationInput{}
+ }
+
+ req = c.newRequest(op, input, output)
+ output = &UpdateConfigurationSetEventDestinationOutput{}
+ req.Data = output
+ return
+}
+
+// UpdateConfigurationSetEventDestination API operation for Amazon Simple Email Service.
+//
+// Updates the event destination of a configuration set.
+//
+// When you create or update an event destination, you must provide one, and
+// only one, destination. The destination can be either Amazon CloudWatch or
+// Amazon Kinesis Firehose.
+//
+// Event destinations are associated with configuration sets, which enable you
+// to publish email sending events to Amazon CloudWatch or Amazon Kinesis Firehose.
+// For information about using configuration sets, see the Amazon SES Developer
+// Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html).
+//
+// This action is throttled at one request 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:
+// * ConfigurationSetDoesNotExist
+// Indicates that the configuration set does not exist.
+//
+// * EventDestinationDoesNotExist
+// Indicates that the event destination does not exist.
+//
+// * InvalidCloudWatchDestination
+// Indicates that the Amazon CloudWatch destination is invalid. See the error
+// message for details.
+//
+// * InvalidFirehoseDestination
+// Indicates that the Amazon Kinesis Firehose destination is invalid. See the
+// error message for details.
+//
+func (c *SES) UpdateConfigurationSetEventDestination(input *UpdateConfigurationSetEventDestinationInput) (*UpdateConfigurationSetEventDestinationOutput, error) {
+ req, out := c.UpdateConfigurationSetEventDestinationRequest(input)
+ err := req.Send()
+ return out, err
+}
+
const opUpdateReceiptRule = "UpdateReceiptRule"
// UpdateReceiptRuleRequest generates a "aws/request.Request" representing the
@@ -2792,8 +3328,8 @@ func (c *SES) UpdateReceiptRuleRequest(input *UpdateReceiptRuleInput) (req *requ
// Indicates that the provided receipt rule does not exist.
//
// * LimitExceeded
-// Indicates that a resource could not be created due to 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).
+// 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).
//
func (c *SES) UpdateReceiptRule(input *UpdateReceiptRuleInput) (*UpdateReceiptRuleOutput, error) {
req, out := c.UpdateReceiptRuleRequest(input)
@@ -3111,6 +3647,18 @@ func (s *AddHeaderAction) Validate() error {
return nil
}
+// SetHeaderName sets the HeaderName field's value.
+func (s *AddHeaderAction) SetHeaderName(v string) *AddHeaderAction {
+ s.HeaderName = &v
+ return s
+}
+
+// SetHeaderValue sets the HeaderValue field's value.
+func (s *AddHeaderAction) SetHeaderValue(v string) *AddHeaderAction {
+ s.HeaderValue = &v
+ return s
+}
+
// 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.
@@ -3157,6 +3705,18 @@ func (s *Body) Validate() error {
return nil
}
+// SetHtml sets the Html field's value.
+func (s *Body) SetHtml(v *Content) *Body {
+ s.Html = v
+ return s
+}
+
+// SetText sets the Text field's value.
+func (s *Body) SetText(v *Content) *Body {
+ s.Text = v
+ return s
+}
+
// When included in a receipt rule, this action rejects the received email by
// returning a bounce response to the sender and, optionally, publishes a notification
// to Amazon Simple Notification Service (Amazon SNS).
@@ -3221,6 +3781,36 @@ func (s *BounceAction) Validate() error {
return nil
}
+// SetMessage sets the Message field's value.
+func (s *BounceAction) SetMessage(v string) *BounceAction {
+ s.Message = &v
+ return s
+}
+
+// SetSender sets the Sender field's value.
+func (s *BounceAction) SetSender(v string) *BounceAction {
+ s.Sender = &v
+ return s
+}
+
+// SetSmtpReplyCode sets the SmtpReplyCode field's value.
+func (s *BounceAction) SetSmtpReplyCode(v string) *BounceAction {
+ s.SmtpReplyCode = &v
+ return s
+}
+
+// SetStatusCode sets the StatusCode field's value.
+func (s *BounceAction) SetStatusCode(v string) *BounceAction {
+ s.StatusCode = &v
+ return s
+}
+
+// SetTopicArn sets the TopicArn field's value.
+func (s *BounceAction) SetTopicArn(v string) *BounceAction {
+ s.TopicArn = &v
+ return s
+}
+
// Recipient-related information to include in the Delivery Status Notification
// (DSN) when an email that Amazon SES receives on your behalf bounces.
//
@@ -3277,6 +3867,30 @@ func (s *BouncedRecipientInfo) Validate() error {
return nil
}
+// SetBounceType sets the BounceType field's value.
+func (s *BouncedRecipientInfo) SetBounceType(v string) *BouncedRecipientInfo {
+ s.BounceType = &v
+ return s
+}
+
+// SetRecipient sets the Recipient field's value.
+func (s *BouncedRecipientInfo) SetRecipient(v string) *BouncedRecipientInfo {
+ s.Recipient = &v
+ return s
+}
+
+// SetRecipientArn sets the RecipientArn field's value.
+func (s *BouncedRecipientInfo) SetRecipientArn(v string) *BouncedRecipientInfo {
+ s.RecipientArn = &v
+ return s
+}
+
+// SetRecipientDsnFields sets the RecipientDsnFields field's value.
+func (s *BouncedRecipientInfo) SetRecipientDsnFields(v *RecipientDsnFields) *BouncedRecipientInfo {
+ s.RecipientDsnFields = v
+ return s
+}
+
// 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).
@@ -3327,6 +3941,18 @@ func (s *CloneReceiptRuleSetInput) Validate() error {
return nil
}
+// SetOriginalRuleSetName sets the OriginalRuleSetName field's value.
+func (s *CloneReceiptRuleSetInput) SetOriginalRuleSetName(v string) *CloneReceiptRuleSetInput {
+ s.OriginalRuleSetName = &v
+ return s
+}
+
+// SetRuleSetName sets the RuleSetName field's value.
+func (s *CloneReceiptRuleSetInput) SetRuleSetName(v string) *CloneReceiptRuleSetInput {
+ s.RuleSetName = &v
+ return s
+}
+
// An empty element returned on a successful request.
type CloneReceiptRuleSetOutput struct {
_ struct{} `type:"structure"`
@@ -3342,38 +3968,47 @@ func (s CloneReceiptRuleSetOutput) GoString() string {
return s.String()
}
-// Represents textual data, plus an optional character set specification.
+// Contains information associated with an Amazon CloudWatch event destination
+// to which email sending events are published.
//
-// 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.
-type Content struct {
+// 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).
+type CloudWatchDestination struct {
_ struct{} `type:"structure"`
- // The character set of the content.
- Charset *string `type:"string"`
-
- // The textual data of the content.
+ // A list of dimensions upon which to categorize your emails when you publish
+ // email sending events to Amazon CloudWatch.
//
- // Data is a required field
- Data *string `type:"string" required:"true"`
+ // DimensionConfigurations is a required field
+ DimensionConfigurations []*CloudWatchDimensionConfiguration `type:"list" required:"true"`
}
// String returns the string representation
-func (s Content) String() string {
+func (s CloudWatchDestination) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
-func (s Content) GoString() string {
+func (s CloudWatchDestination) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *Content) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "Content"}
- if s.Data == nil {
- invalidParams.Add(request.NewErrParamRequired("Data"))
+func (s *CloudWatchDestination) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "CloudWatchDestination"}
+ if s.DimensionConfigurations == nil {
+ invalidParams.Add(request.NewErrParamRequired("DimensionConfigurations"))
+ }
+ if s.DimensionConfigurations != nil {
+ for i, v := range s.DimensionConfigurations {
+ if v == nil {
+ continue
+ }
+ if err := v.Validate(); err != nil {
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DimensionConfigurations", i), err.(request.ErrInvalidParams))
+ }
+ }
}
if invalidParams.Len() > 0 {
@@ -3382,39 +4017,74 @@ func (s *Content) Validate() error {
return nil
}
-// 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).
-type CreateReceiptFilterInput struct {
+// SetDimensionConfigurations sets the DimensionConfigurations field's value.
+func (s *CloudWatchDestination) SetDimensionConfigurations(v []*CloudWatchDimensionConfiguration) *CloudWatchDestination {
+ s.DimensionConfigurations = v
+ return s
+}
+
+// Contains the dimension configuration to use when you publish email sending
+// events to Amazon CloudWatch.
+//
+// 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).
+type CloudWatchDimensionConfiguration struct {
_ struct{} `type:"structure"`
- // A data structure that describes the IP address filter to create, which consists
- // of a name, an IP address range, and whether to allow or block mail from it.
+ // The default value of the dimension that is published to Amazon CloudWatch
+ // if you do not provide the value of the dimension when you send an email.
+ // The default value must:
//
- // Filter is a required field
- Filter *ReceiptFilter `type:"structure" required:"true"`
+ // * Contain only ASCII letters (a-z, A-Z), numbers (0-9), underscores (_),
+ // or dashes (-).
+ //
+ // * Contain less than 256 characters.
+ //
+ // DefaultDimensionValue is a required field
+ DefaultDimensionValue *string `type:"string" required:"true"`
+
+ // 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 (-).
+ //
+ // * Contain less than 256 characters.
+ //
+ // DimensionName is a required field
+ DimensionName *string `type:"string" required:"true"`
+
+ // The place where Amazon SES finds the value of a dimension to publish to Amazon
+ // CloudWatch. If you want Amazon SES to use the message tags that you specify
+ // using an X-SES-MESSAGE-TAGS header or a parameter to the SendEmail/SendRawEmail
+ // API, choose messageTag. If you want Amazon SES to use your own email headers,
+ // choose emailHeader.
+ //
+ // DimensionValueSource is a required field
+ DimensionValueSource *string `type:"string" required:"true" enum:"DimensionValueSource"`
}
// String returns the string representation
-func (s CreateReceiptFilterInput) String() string {
+func (s CloudWatchDimensionConfiguration) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
-func (s CreateReceiptFilterInput) GoString() string {
+func (s CloudWatchDimensionConfiguration) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *CreateReceiptFilterInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "CreateReceiptFilterInput"}
- if s.Filter == nil {
- invalidParams.Add(request.NewErrParamRequired("Filter"))
+func (s *CloudWatchDimensionConfiguration) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "CloudWatchDimensionConfiguration"}
+ if s.DefaultDimensionValue == nil {
+ invalidParams.Add(request.NewErrParamRequired("DefaultDimensionValue"))
}
- if s.Filter != nil {
- if err := s.Filter.Validate(); err != nil {
- invalidParams.AddNested("Filter", err.(request.ErrInvalidParams))
- }
+ if s.DimensionName == nil {
+ invalidParams.Add(request.NewErrParamRequired("DimensionName"))
+ }
+ if s.DimensionValueSource == nil {
+ invalidParams.Add(request.NewErrParamRequired("DimensionValueSource"))
}
if invalidParams.Len() > 0 {
@@ -3423,67 +4093,57 @@ func (s *CreateReceiptFilterInput) Validate() error {
return nil
}
-// An empty element returned on a successful request.
-type CreateReceiptFilterOutput struct {
- _ struct{} `type:"structure"`
+// SetDefaultDimensionValue sets the DefaultDimensionValue field's value.
+func (s *CloudWatchDimensionConfiguration) SetDefaultDimensionValue(v string) *CloudWatchDimensionConfiguration {
+ s.DefaultDimensionValue = &v
+ return s
}
-// String returns the string representation
-func (s CreateReceiptFilterOutput) String() string {
- return awsutil.Prettify(s)
+// SetDimensionName sets the DimensionName field's value.
+func (s *CloudWatchDimensionConfiguration) SetDimensionName(v string) *CloudWatchDimensionConfiguration {
+ s.DimensionName = &v
+ return s
}
-// GoString returns the string representation
-func (s CreateReceiptFilterOutput) GoString() string {
- return s.String()
+// SetDimensionValueSource sets the DimensionValueSource field's value.
+func (s *CloudWatchDimensionConfiguration) SetDimensionValueSource(v string) *CloudWatchDimensionConfiguration {
+ s.DimensionValueSource = &v
+ return s
}
-// 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).
-type CreateReceiptRuleInput struct {
+// The name of the 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).
+type ConfigurationSet struct {
_ struct{} `type:"structure"`
- // The name of an existing rule after which the new rule will be placed. If
- // this parameter is null, the new rule will be inserted at the beginning of
- // the rule list.
- After *string `type:"string"`
-
- // A data structure that contains the specified rule's name, actions, recipients,
- // domains, enabled status, scan status, and TLS policy.
+ // The name of the configuration set. The name must:
//
- // Rule is a required field
- Rule *ReceiptRule `type:"structure" required:"true"`
-
- // The name of the rule set to which to add the rule.
+ // * Contain only ASCII letters (a-z, A-Z), numbers (0-9), underscores (_),
+ // or dashes (-).
//
- // RuleSetName is a required field
- RuleSetName *string `type:"string" required:"true"`
+ // * Contain less than 64 characters.
+ //
+ // Name is a required field
+ Name *string `type:"string" required:"true"`
}
// String returns the string representation
-func (s CreateReceiptRuleInput) String() string {
+func (s ConfigurationSet) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
-func (s CreateReceiptRuleInput) GoString() string {
+func (s ConfigurationSet) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *CreateReceiptRuleInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "CreateReceiptRuleInput"}
- if s.Rule == nil {
- invalidParams.Add(request.NewErrParamRequired("Rule"))
- }
- if s.RuleSetName == nil {
- invalidParams.Add(request.NewErrParamRequired("RuleSetName"))
- }
- if s.Rule != nil {
- if err := s.Rule.Validate(); err != nil {
- invalidParams.AddNested("Rule", err.(request.ErrInvalidParams))
- }
+func (s *ConfigurationSet) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ConfigurationSet"}
+ if s.Name == nil {
+ invalidParams.Add(request.NewErrParamRequired("Name"))
}
if invalidParams.Len() > 0 {
@@ -3492,23 +4152,354 @@ func (s *CreateReceiptRuleInput) Validate() error {
return nil
}
-// An empty element returned on a successful request.
-type CreateReceiptRuleOutput struct {
+// SetName sets the Name field's value.
+func (s *ConfigurationSet) SetName(v string) *ConfigurationSet {
+ s.Name = &v
+ return s
+}
+
+// Represents textual data, plus an optional character set specification.
+//
+// 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.
+type Content struct {
_ struct{} `type:"structure"`
+
+ // The character set of the content.
+ Charset *string `type:"string"`
+
+ // The textual data of the content.
+ //
+ // Data is a required field
+ Data *string `type:"string" required:"true"`
}
// String returns the string representation
-func (s CreateReceiptRuleOutput) String() string {
+func (s Content) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
-func (s CreateReceiptRuleOutput) GoString() string {
+func (s Content) GoString() string {
return s.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
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *Content) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "Content"}
+ if s.Data == nil {
+ invalidParams.Add(request.NewErrParamRequired("Data"))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetCharset sets the Charset field's value.
+func (s *Content) SetCharset(v string) *Content {
+ s.Charset = &v
+ return s
+}
+
+// SetData sets the Data field's value.
+func (s *Content) SetData(v string) *Content {
+ s.Data = &v
+ return s
+}
+
+// Represents a request to create a configuration set event destination. A configuration
+// set event destination, which can be either Amazon CloudWatch or Amazon Kinesis
+// 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).
+type CreateConfigurationSetEventDestinationInput struct {
+ _ struct{} `type:"structure"`
+
+ // The name of the configuration set to which to apply the event destination.
+ //
+ // ConfigurationSetName is a required field
+ ConfigurationSetName *string `type:"string" required:"true"`
+
+ // An object that describes the AWS service to which Amazon SES will publish
+ // the email sending events associated with the specified configuration set.
+ //
+ // EventDestination is a required field
+ EventDestination *EventDestination `type:"structure" required:"true"`
+}
+
+// String returns the string representation
+func (s CreateConfigurationSetEventDestinationInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s CreateConfigurationSetEventDestinationInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *CreateConfigurationSetEventDestinationInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "CreateConfigurationSetEventDestinationInput"}
+ if s.ConfigurationSetName == nil {
+ invalidParams.Add(request.NewErrParamRequired("ConfigurationSetName"))
+ }
+ if s.EventDestination == nil {
+ invalidParams.Add(request.NewErrParamRequired("EventDestination"))
+ }
+ if s.EventDestination != nil {
+ if err := s.EventDestination.Validate(); err != nil {
+ invalidParams.AddNested("EventDestination", err.(request.ErrInvalidParams))
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetConfigurationSetName sets the ConfigurationSetName field's value.
+func (s *CreateConfigurationSetEventDestinationInput) SetConfigurationSetName(v string) *CreateConfigurationSetEventDestinationInput {
+ s.ConfigurationSetName = &v
+ return s
+}
+
+// SetEventDestination sets the EventDestination field's value.
+func (s *CreateConfigurationSetEventDestinationInput) SetEventDestination(v *EventDestination) *CreateConfigurationSetEventDestinationInput {
+ s.EventDestination = v
+ return s
+}
+
+// An empty element returned on a successful request.
+type CreateConfigurationSetEventDestinationOutput struct {
+ _ struct{} `type:"structure"`
+}
+
+// String returns the string representation
+func (s CreateConfigurationSetEventDestinationOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s CreateConfigurationSetEventDestinationOutput) GoString() string {
+ return s.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).
+type CreateConfigurationSetInput struct {
+ _ struct{} `type:"structure"`
+
+ // A data structure that contains the name of the configuration set.
+ //
+ // ConfigurationSet is a required field
+ ConfigurationSet *ConfigurationSet `type:"structure" required:"true"`
+}
+
+// String returns the string representation
+func (s CreateConfigurationSetInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s CreateConfigurationSetInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *CreateConfigurationSetInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "CreateConfigurationSetInput"}
+ if s.ConfigurationSet == nil {
+ invalidParams.Add(request.NewErrParamRequired("ConfigurationSet"))
+ }
+ if s.ConfigurationSet != nil {
+ if err := s.ConfigurationSet.Validate(); err != nil {
+ invalidParams.AddNested("ConfigurationSet", err.(request.ErrInvalidParams))
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetConfigurationSet sets the ConfigurationSet field's value.
+func (s *CreateConfigurationSetInput) SetConfigurationSet(v *ConfigurationSet) *CreateConfigurationSetInput {
+ s.ConfigurationSet = v
+ return s
+}
+
+// An empty element returned on a successful request.
+type CreateConfigurationSetOutput struct {
+ _ struct{} `type:"structure"`
+}
+
+// String returns the string representation
+func (s CreateConfigurationSetOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s CreateConfigurationSetOutput) 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).
+type CreateReceiptFilterInput struct {
+ _ struct{} `type:"structure"`
+
+ // A data structure that describes the IP address filter to create, which consists
+ // of a name, an IP address range, and whether to allow or block mail from it.
+ //
+ // Filter is a required field
+ Filter *ReceiptFilter `type:"structure" required:"true"`
+}
+
+// String returns the string representation
+func (s CreateReceiptFilterInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s CreateReceiptFilterInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *CreateReceiptFilterInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "CreateReceiptFilterInput"}
+ if s.Filter == nil {
+ invalidParams.Add(request.NewErrParamRequired("Filter"))
+ }
+ if s.Filter != nil {
+ if err := s.Filter.Validate(); err != nil {
+ invalidParams.AddNested("Filter", err.(request.ErrInvalidParams))
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetFilter sets the Filter field's value.
+func (s *CreateReceiptFilterInput) SetFilter(v *ReceiptFilter) *CreateReceiptFilterInput {
+ s.Filter = v
+ return s
+}
+
+// An empty element returned on a successful request.
+type CreateReceiptFilterOutput struct {
+ _ struct{} `type:"structure"`
+}
+
+// String returns the string representation
+func (s CreateReceiptFilterOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s CreateReceiptFilterOutput) GoString() string {
+ return s.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).
+type CreateReceiptRuleInput struct {
+ _ struct{} `type:"structure"`
+
+ // The name of an existing rule after which the new rule will be placed. If
+ // this parameter is null, the new rule will be inserted at the beginning of
+ // the rule list.
+ After *string `type:"string"`
+
+ // A data structure that contains the specified rule's name, actions, recipients,
+ // domains, enabled status, scan status, and TLS policy.
+ //
+ // Rule is a required field
+ Rule *ReceiptRule `type:"structure" required:"true"`
+
+ // The name of the rule set to which to add the rule.
+ //
+ // RuleSetName is a required field
+ RuleSetName *string `type:"string" required:"true"`
+}
+
+// String returns the string representation
+func (s CreateReceiptRuleInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s CreateReceiptRuleInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *CreateReceiptRuleInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "CreateReceiptRuleInput"}
+ if s.Rule == nil {
+ invalidParams.Add(request.NewErrParamRequired("Rule"))
+ }
+ if s.RuleSetName == nil {
+ invalidParams.Add(request.NewErrParamRequired("RuleSetName"))
+ }
+ if s.Rule != nil {
+ if err := s.Rule.Validate(); err != nil {
+ invalidParams.AddNested("Rule", err.(request.ErrInvalidParams))
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetAfter sets the After field's value.
+func (s *CreateReceiptRuleInput) SetAfter(v string) *CreateReceiptRuleInput {
+ s.After = &v
+ return s
+}
+
+// SetRule sets the Rule field's value.
+func (s *CreateReceiptRuleInput) SetRule(v *ReceiptRule) *CreateReceiptRuleInput {
+ s.Rule = v
+ return s
+}
+
+// SetRuleSetName sets the RuleSetName field's value.
+func (s *CreateReceiptRuleInput) SetRuleSetName(v string) *CreateReceiptRuleInput {
+ s.RuleSetName = &v
+ return s
+}
+
+// An empty element returned on a successful request.
+type CreateReceiptRuleOutput struct {
+ _ struct{} `type:"structure"`
+}
+
+// String returns the string representation
+func (s CreateReceiptRuleOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s CreateReceiptRuleOutput) GoString() string {
+ return s.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).
type CreateReceiptRuleSetInput struct {
_ struct{} `type:"structure"`
@@ -3549,6 +4540,12 @@ func (s *CreateReceiptRuleSetInput) Validate() error {
return nil
}
+// SetRuleSetName sets the RuleSetName field's value.
+func (s *CreateReceiptRuleSetInput) SetRuleSetName(v string) *CreateReceiptRuleSetInput {
+ s.RuleSetName = &v
+ return s
+}
+
// An empty element returned on a successful request.
type CreateReceiptRuleSetOutput struct {
_ struct{} `type:"structure"`
@@ -3564,6 +4561,133 @@ func (s CreateReceiptRuleSetOutput) GoString() string {
return s.String()
}
+// 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).
+type DeleteConfigurationSetEventDestinationInput struct {
+ _ struct{} `type:"structure"`
+
+ // The name of the configuration set from which to delete the event destination.
+ //
+ // ConfigurationSetName is a required field
+ ConfigurationSetName *string `type:"string" required:"true"`
+
+ // The name of the event destination to delete.
+ //
+ // EventDestinationName is a required field
+ EventDestinationName *string `type:"string" required:"true"`
+}
+
+// String returns the string representation
+func (s DeleteConfigurationSetEventDestinationInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s DeleteConfigurationSetEventDestinationInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DeleteConfigurationSetEventDestinationInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DeleteConfigurationSetEventDestinationInput"}
+ if s.ConfigurationSetName == nil {
+ invalidParams.Add(request.NewErrParamRequired("ConfigurationSetName"))
+ }
+ if s.EventDestinationName == nil {
+ invalidParams.Add(request.NewErrParamRequired("EventDestinationName"))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetConfigurationSetName sets the ConfigurationSetName field's value.
+func (s *DeleteConfigurationSetEventDestinationInput) SetConfigurationSetName(v string) *DeleteConfigurationSetEventDestinationInput {
+ s.ConfigurationSetName = &v
+ return s
+}
+
+// SetEventDestinationName sets the EventDestinationName field's value.
+func (s *DeleteConfigurationSetEventDestinationInput) SetEventDestinationName(v string) *DeleteConfigurationSetEventDestinationInput {
+ s.EventDestinationName = &v
+ return s
+}
+
+// An empty element returned on a successful request.
+type DeleteConfigurationSetEventDestinationOutput struct {
+ _ struct{} `type:"structure"`
+}
+
+// String returns the string representation
+func (s DeleteConfigurationSetEventDestinationOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s DeleteConfigurationSetEventDestinationOutput) GoString() string {
+ return s.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).
+type DeleteConfigurationSetInput struct {
+ _ struct{} `type:"structure"`
+
+ // The name of the configuration set to delete.
+ //
+ // ConfigurationSetName is a required field
+ ConfigurationSetName *string `type:"string" required:"true"`
+}
+
+// String returns the string representation
+func (s DeleteConfigurationSetInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s DeleteConfigurationSetInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DeleteConfigurationSetInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DeleteConfigurationSetInput"}
+ if s.ConfigurationSetName == nil {
+ invalidParams.Add(request.NewErrParamRequired("ConfigurationSetName"))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetConfigurationSetName sets the ConfigurationSetName field's value.
+func (s *DeleteConfigurationSetInput) SetConfigurationSetName(v string) *DeleteConfigurationSetInput {
+ s.ConfigurationSetName = &v
+ return s
+}
+
+// An empty element returned on a successful request.
+type DeleteConfigurationSetOutput struct {
+ _ struct{} `type:"structure"`
+}
+
+// String returns the string representation
+func (s DeleteConfigurationSetOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s DeleteConfigurationSetOutput) GoString() string {
+ return s.String()
+}
+
// Represents a request to delete one of your Amazon SES identities (an email
// address or domain).
type DeleteIdentityInput struct {
@@ -3598,6 +4722,12 @@ func (s *DeleteIdentityInput) Validate() error {
return nil
}
+// SetIdentity sets the Identity field's value.
+func (s *DeleteIdentityInput) SetIdentity(v string) *DeleteIdentityInput {
+ s.Identity = &v
+ return s
+}
+
// An empty element returned on a successful request.
type DeleteIdentityOutput struct {
_ struct{} `type:"structure"`
@@ -3664,6 +4794,18 @@ func (s *DeleteIdentityPolicyInput) Validate() error {
return nil
}
+// SetIdentity sets the Identity field's value.
+func (s *DeleteIdentityPolicyInput) SetIdentity(v string) *DeleteIdentityPolicyInput {
+ s.Identity = &v
+ return s
+}
+
+// SetPolicyName sets the PolicyName field's value.
+func (s *DeleteIdentityPolicyInput) SetPolicyName(v string) *DeleteIdentityPolicyInput {
+ s.PolicyName = &v
+ return s
+}
+
// An empty element returned on a successful request.
type DeleteIdentityPolicyOutput struct {
_ struct{} `type:"structure"`
@@ -3714,6 +4856,12 @@ func (s *DeleteReceiptFilterInput) Validate() error {
return nil
}
+// SetFilterName sets the FilterName field's value.
+func (s *DeleteReceiptFilterInput) SetFilterName(v string) *DeleteReceiptFilterInput {
+ s.FilterName = &v
+ return s
+}
+
// An empty element returned on a successful request.
type DeleteReceiptFilterOutput struct {
_ struct{} `type:"structure"`
@@ -3772,6 +4920,18 @@ func (s *DeleteReceiptRuleInput) Validate() error {
return nil
}
+// SetRuleName sets the RuleName field's value.
+func (s *DeleteReceiptRuleInput) SetRuleName(v string) *DeleteReceiptRuleInput {
+ s.RuleName = &v
+ return s
+}
+
+// SetRuleSetName sets the RuleSetName field's value.
+func (s *DeleteReceiptRuleInput) SetRuleSetName(v string) *DeleteReceiptRuleInput {
+ s.RuleSetName = &v
+ return s
+}
+
// An empty element returned on a successful request.
type DeleteReceiptRuleOutput struct {
_ struct{} `type:"structure"`
@@ -3822,6 +4982,12 @@ func (s *DeleteReceiptRuleSetInput) Validate() error {
return nil
}
+// SetRuleSetName sets the RuleSetName field's value.
+func (s *DeleteReceiptRuleSetInput) SetRuleSetName(v string) *DeleteReceiptRuleSetInput {
+ s.RuleSetName = &v
+ return s
+}
+
// An empty element returned on a successful request.
type DeleteReceiptRuleSetOutput struct {
_ struct{} `type:"structure"`
@@ -3871,6 +5037,12 @@ func (s *DeleteVerifiedEmailAddressInput) Validate() error {
return nil
}
+// SetEmailAddress sets the EmailAddress field's value.
+func (s *DeleteVerifiedEmailAddressInput) SetEmailAddress(v string) *DeleteVerifiedEmailAddressInput {
+ s.EmailAddress = &v
+ return s
+}
+
type DeleteVerifiedEmailAddressOutput struct {
_ struct{} `type:"structure"`
}
@@ -3926,6 +5098,104 @@ func (s DescribeActiveReceiptRuleSetOutput) GoString() string {
return s.String()
}
+// SetMetadata sets the Metadata field's value.
+func (s *DescribeActiveReceiptRuleSetOutput) SetMetadata(v *ReceiptRuleSetMetadata) *DescribeActiveReceiptRuleSetOutput {
+ s.Metadata = v
+ return s
+}
+
+// SetRules sets the Rules field's value.
+func (s *DescribeActiveReceiptRuleSetOutput) SetRules(v []*ReceiptRule) *DescribeActiveReceiptRuleSetOutput {
+ s.Rules = v
+ return s
+}
+
+// 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).
+type DescribeConfigurationSetInput struct {
+ _ struct{} `type:"structure"`
+
+ // A list of configuration set attributes to return.
+ ConfigurationSetAttributeNames []*string `type:"list"`
+
+ // The name of the configuration set to describe.
+ //
+ // ConfigurationSetName is a required field
+ ConfigurationSetName *string `type:"string" required:"true"`
+}
+
+// String returns the string representation
+func (s DescribeConfigurationSetInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s DescribeConfigurationSetInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DescribeConfigurationSetInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DescribeConfigurationSetInput"}
+ if s.ConfigurationSetName == nil {
+ invalidParams.Add(request.NewErrParamRequired("ConfigurationSetName"))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetConfigurationSetAttributeNames sets the ConfigurationSetAttributeNames field's value.
+func (s *DescribeConfigurationSetInput) SetConfigurationSetAttributeNames(v []*string) *DescribeConfigurationSetInput {
+ s.ConfigurationSetAttributeNames = v
+ return s
+}
+
+// SetConfigurationSetName sets the ConfigurationSetName field's value.
+func (s *DescribeConfigurationSetInput) SetConfigurationSetName(v string) *DescribeConfigurationSetInput {
+ s.ConfigurationSetName = &v
+ return s
+}
+
+// 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).
+type DescribeConfigurationSetOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The configuration set object associated with the specified configuration
+ // set.
+ ConfigurationSet *ConfigurationSet `type:"structure"`
+
+ // A list of event destinations associated with the configuration set.
+ EventDestinations []*EventDestination `type:"list"`
+}
+
+// String returns the string representation
+func (s DescribeConfigurationSetOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s DescribeConfigurationSetOutput) GoString() string {
+ return s.String()
+}
+
+// SetConfigurationSet sets the ConfigurationSet field's value.
+func (s *DescribeConfigurationSetOutput) SetConfigurationSet(v *ConfigurationSet) *DescribeConfigurationSetOutput {
+ s.ConfigurationSet = v
+ return s
+}
+
+// SetEventDestinations sets the EventDestinations field's value.
+func (s *DescribeConfigurationSetOutput) SetEventDestinations(v []*EventDestination) *DescribeConfigurationSetOutput {
+ s.EventDestinations = v
+ return s
+}
+
// 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).
@@ -3969,6 +5239,18 @@ func (s *DescribeReceiptRuleInput) Validate() error {
return nil
}
+// SetRuleName sets the RuleName field's value.
+func (s *DescribeReceiptRuleInput) SetRuleName(v string) *DescribeReceiptRuleInput {
+ s.RuleName = &v
+ return s
+}
+
+// SetRuleSetName sets the RuleSetName field's value.
+func (s *DescribeReceiptRuleInput) SetRuleSetName(v string) *DescribeReceiptRuleInput {
+ s.RuleSetName = &v
+ return s
+}
+
// Represents the details of a receipt rule.
type DescribeReceiptRuleOutput struct {
_ struct{} `type:"structure"`
@@ -3989,6 +5271,12 @@ func (s DescribeReceiptRuleOutput) GoString() string {
return s.String()
}
+// SetRule sets the Rule field's value.
+func (s *DescribeReceiptRuleOutput) SetRule(v *ReceiptRule) *DescribeReceiptRuleOutput {
+ s.Rule = v
+ return s
+}
+
// 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).
@@ -4024,6 +5312,12 @@ func (s *DescribeReceiptRuleSetInput) Validate() error {
return nil
}
+// SetRuleSetName sets the RuleSetName field's value.
+func (s *DescribeReceiptRuleSetInput) SetRuleSetName(v string) *DescribeReceiptRuleSetInput {
+ s.RuleSetName = &v
+ return s
+}
+
// Represents the details of the specified receipt rule set.
type DescribeReceiptRuleSetOutput struct {
_ struct{} `type:"structure"`
@@ -4046,6 +5340,18 @@ func (s DescribeReceiptRuleSetOutput) GoString() string {
return s.String()
}
+// SetMetadata sets the Metadata field's value.
+func (s *DescribeReceiptRuleSetOutput) SetMetadata(v *ReceiptRuleSetMetadata) *DescribeReceiptRuleSetOutput {
+ s.Metadata = v
+ return s
+}
+
+// SetRules sets the Rules field's value.
+func (s *DescribeReceiptRuleSetOutput) SetRules(v []*ReceiptRule) *DescribeReceiptRuleSetOutput {
+ s.Rules = v
+ return s
+}
+
// Represents the destination of the message, consisting of To:, CC:, and BCC:
// fields.
//
@@ -4056,24 +5362,152 @@ func (s DescribeReceiptRuleSetOutput) GoString() string {
type Destination struct {
_ struct{} `type:"structure"`
- // The BCC: field(s) of the message.
- BccAddresses []*string `type:"list"`
+ // The BCC: field(s) of the message.
+ BccAddresses []*string `type:"list"`
+
+ // The CC: field(s) of the message.
+ CcAddresses []*string `type:"list"`
+
+ // The To: field(s) of the message.
+ ToAddresses []*string `type:"list"`
+}
+
+// String returns the string representation
+func (s Destination) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s Destination) GoString() string {
+ return s.String()
+}
+
+// SetBccAddresses sets the BccAddresses field's value.
+func (s *Destination) SetBccAddresses(v []*string) *Destination {
+ s.BccAddresses = v
+ return s
+}
+
+// SetCcAddresses sets the CcAddresses field's value.
+func (s *Destination) SetCcAddresses(v []*string) *Destination {
+ s.CcAddresses = v
+ return s
+}
+
+// SetToAddresses sets the ToAddresses field's value.
+func (s *Destination) SetToAddresses(v []*string) *Destination {
+ s.ToAddresses = v
+ return s
+}
+
+// Contains information about the event destination to which the specified email
+// sending events are published.
+//
+// When you create or update an event destination, you must provide one, and
+// only one, destination. The destination can be either Amazon CloudWatch or
+// Amazon Kinesis Firehose.
+//
+// Event destinations are associated with configuration sets, which enable you
+// to publish email sending events to Amazon CloudWatch or Amazon Kinesis Firehose.
+// For information about using configuration sets, see the Amazon SES Developer
+// Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html).
+type EventDestination struct {
+ _ struct{} `type:"structure"`
+
+ // An object that contains the names, default values, and sources of the dimensions
+ // associated with an Amazon CloudWatch event destination.
+ CloudWatchDestination *CloudWatchDestination `type:"structure"`
+
+ // Sets whether Amazon SES publishes events to this destination when you send
+ // an email with the associated configuration set. Set to true to enable publishing
+ // to this destination; set to false to prevent publishing to this destination.
+ // The default value is false.
+ Enabled *bool `type:"boolean"`
+
+ // An object that contains the delivery stream ARN and the IAM role ARN associated
+ // with an Amazon Kinesis Firehose event destination.
+ KinesisFirehoseDestination *KinesisFirehoseDestination `type:"structure"`
+
+ // The type of email sending events to publish to the event destination.
+ //
+ // MatchingEventTypes is a required field
+ MatchingEventTypes []*string `type:"list" required:"true"`
+
+ // The name of the event destination. The name must:
+ //
+ // * Contain only ASCII letters (a-z, A-Z), numbers (0-9), underscores (_),
+ // or dashes (-).
+ //
+ // * Contain less than 64 characters.
+ //
+ // Name is a required field
+ Name *string `type:"string" required:"true"`
+}
+
+// String returns the string representation
+func (s EventDestination) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s EventDestination) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *EventDestination) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "EventDestination"}
+ if s.MatchingEventTypes == nil {
+ invalidParams.Add(request.NewErrParamRequired("MatchingEventTypes"))
+ }
+ if s.Name == nil {
+ invalidParams.Add(request.NewErrParamRequired("Name"))
+ }
+ if s.CloudWatchDestination != nil {
+ if err := s.CloudWatchDestination.Validate(); err != nil {
+ invalidParams.AddNested("CloudWatchDestination", err.(request.ErrInvalidParams))
+ }
+ }
+ if s.KinesisFirehoseDestination != nil {
+ if err := s.KinesisFirehoseDestination.Validate(); err != nil {
+ invalidParams.AddNested("KinesisFirehoseDestination", err.(request.ErrInvalidParams))
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
- // The CC: field(s) of the message.
- CcAddresses []*string `type:"list"`
+// SetCloudWatchDestination sets the CloudWatchDestination field's value.
+func (s *EventDestination) SetCloudWatchDestination(v *CloudWatchDestination) *EventDestination {
+ s.CloudWatchDestination = v
+ return s
+}
- // The To: field(s) of the message.
- ToAddresses []*string `type:"list"`
+// SetEnabled sets the Enabled field's value.
+func (s *EventDestination) SetEnabled(v bool) *EventDestination {
+ s.Enabled = &v
+ return s
}
-// String returns the string representation
-func (s Destination) String() string {
- return awsutil.Prettify(s)
+// SetKinesisFirehoseDestination sets the KinesisFirehoseDestination field's value.
+func (s *EventDestination) SetKinesisFirehoseDestination(v *KinesisFirehoseDestination) *EventDestination {
+ s.KinesisFirehoseDestination = v
+ return s
}
-// GoString returns the string representation
-func (s Destination) GoString() string {
- return s.String()
+// SetMatchingEventTypes sets the MatchingEventTypes field's value.
+func (s *EventDestination) SetMatchingEventTypes(v []*string) *EventDestination {
+ s.MatchingEventTypes = v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *EventDestination) SetName(v string) *EventDestination {
+ s.Name = &v
+ return s
}
// Additional X-headers to include in the Delivery Status Notification (DSN)
@@ -4123,6 +5557,18 @@ func (s *ExtensionField) Validate() error {
return nil
}
+// SetName sets the Name field's value.
+func (s *ExtensionField) SetName(v string) *ExtensionField {
+ s.Name = &v
+ return s
+}
+
+// SetValue sets the Value field's value.
+func (s *ExtensionField) SetValue(v string) *ExtensionField {
+ s.Value = &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
@@ -4161,6 +5607,12 @@ func (s *GetIdentityDkimAttributesInput) Validate() error {
return nil
}
+// SetIdentities sets the Identities field's value.
+func (s *GetIdentityDkimAttributesInput) SetIdentities(v []*string) *GetIdentityDkimAttributesInput {
+ s.Identities = v
+ return s
+}
+
// Represents the status of Amazon SES Easy DKIM signing for an identity. For
// domain identities, this response also contains the DKIM tokens that are required
// for Easy DKIM signing, and whether Amazon SES successfully verified that
@@ -4184,6 +5636,12 @@ func (s GetIdentityDkimAttributesOutput) GoString() string {
return s.String()
}
+// SetDkimAttributes sets the DkimAttributes field's value.
+func (s *GetIdentityDkimAttributesOutput) SetDkimAttributes(v map[string]*IdentityDkimAttributes) *GetIdentityDkimAttributesOutput {
+ s.DkimAttributes = v
+ return s
+}
+
// 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).
@@ -4219,6 +5677,12 @@ func (s *GetIdentityMailFromDomainAttributesInput) Validate() error {
return nil
}
+// SetIdentities sets the Identities field's value.
+func (s *GetIdentityMailFromDomainAttributesInput) SetIdentities(v []*string) *GetIdentityMailFromDomainAttributesInput {
+ s.Identities = v
+ return s
+}
+
// Represents the custom MAIL FROM attributes for a list of identities.
type GetIdentityMailFromDomainAttributesOutput struct {
_ struct{} `type:"structure"`
@@ -4239,6 +5703,12 @@ func (s GetIdentityMailFromDomainAttributesOutput) GoString() string {
return s.String()
}
+// SetMailFromDomainAttributes sets the MailFromDomainAttributes field's value.
+func (s *GetIdentityMailFromDomainAttributesOutput) SetMailFromDomainAttributes(v map[string]*IdentityMailFromDomainAttributes) *GetIdentityMailFromDomainAttributesOutput {
+ s.MailFromDomainAttributes = v
+ return s
+}
+
// 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).
@@ -4276,6 +5746,12 @@ func (s *GetIdentityNotificationAttributesInput) Validate() error {
return nil
}
+// SetIdentities sets the Identities field's value.
+func (s *GetIdentityNotificationAttributesInput) SetIdentities(v []*string) *GetIdentityNotificationAttributesInput {
+ s.Identities = v
+ return s
+}
+
// Represents the notification attributes for a list of identities.
type GetIdentityNotificationAttributesOutput struct {
_ struct{} `type:"structure"`
@@ -4296,6 +5772,12 @@ func (s GetIdentityNotificationAttributesOutput) GoString() string {
return s.String()
}
+// SetNotificationAttributes sets the NotificationAttributes field's value.
+func (s *GetIdentityNotificationAttributesOutput) SetNotificationAttributes(v map[string]*IdentityNotificationAttributes) *GetIdentityNotificationAttributesOutput {
+ s.NotificationAttributes = v
+ return s
+}
+
// Represents a request to return the requested sending authorization policies
// for an identity. Sending authorization is an Amazon SES feature that enables
// you to authorize other senders to use your identities. For information, see
@@ -4346,6 +5828,18 @@ func (s *GetIdentityPoliciesInput) Validate() error {
return nil
}
+// SetIdentity sets the Identity field's value.
+func (s *GetIdentityPoliciesInput) SetIdentity(v string) *GetIdentityPoliciesInput {
+ s.Identity = &v
+ return s
+}
+
+// SetPolicyNames sets the PolicyNames field's value.
+func (s *GetIdentityPoliciesInput) SetPolicyNames(v []*string) *GetIdentityPoliciesInput {
+ s.PolicyNames = v
+ return s
+}
+
// Represents the requested sending authorization policies.
type GetIdentityPoliciesOutput struct {
_ struct{} `type:"structure"`
@@ -4366,6 +5860,12 @@ func (s GetIdentityPoliciesOutput) GoString() string {
return s.String()
}
+// SetPolicies sets the Policies field's value.
+func (s *GetIdentityPoliciesOutput) SetPolicies(v map[string]*string) *GetIdentityPoliciesOutput {
+ s.Policies = v
+ return s
+}
+
// Represents a request to return the Amazon SES verification status of a list
// of identities. For domain identities, this request also returns the verification
// token. For information about verifying identities with Amazon SES, see the
@@ -4402,6 +5902,12 @@ func (s *GetIdentityVerificationAttributesInput) Validate() error {
return nil
}
+// SetIdentities sets the Identities field's value.
+func (s *GetIdentityVerificationAttributesInput) SetIdentities(v []*string) *GetIdentityVerificationAttributesInput {
+ s.Identities = v
+ return s
+}
+
// The Amazon SES verification status of a list of identities. For domain identities,
// this response also contains the verification token.
type GetIdentityVerificationAttributesOutput struct {
@@ -4423,6 +5929,12 @@ func (s GetIdentityVerificationAttributesOutput) GoString() string {
return s.String()
}
+// SetVerificationAttributes sets the VerificationAttributes field's value.
+func (s *GetIdentityVerificationAttributesOutput) SetVerificationAttributes(v map[string]*IdentityVerificationAttributes) *GetIdentityVerificationAttributesOutput {
+ s.VerificationAttributes = v
+ return s
+}
+
type GetSendQuotaInput struct {
_ struct{} `type:"structure"`
}
@@ -4467,6 +5979,24 @@ func (s GetSendQuotaOutput) GoString() string {
return s.String()
}
+// SetMax24HourSend sets the Max24HourSend field's value.
+func (s *GetSendQuotaOutput) SetMax24HourSend(v float64) *GetSendQuotaOutput {
+ s.Max24HourSend = &v
+ return s
+}
+
+// SetMaxSendRate sets the MaxSendRate field's value.
+func (s *GetSendQuotaOutput) SetMaxSendRate(v float64) *GetSendQuotaOutput {
+ s.MaxSendRate = &v
+ return s
+}
+
+// SetSentLast24Hours sets the SentLast24Hours field's value.
+func (s *GetSendQuotaOutput) SetSentLast24Hours(v float64) *GetSendQuotaOutput {
+ s.SentLast24Hours = &v
+ return s
+}
+
type GetSendStatisticsInput struct {
_ struct{} `type:"structure"`
}
@@ -4500,11 +6030,18 @@ func (s GetSendStatisticsOutput) GoString() string {
return s.String()
}
+// SetSendDataPoints sets the SendDataPoints field's value.
+func (s *GetSendStatisticsOutput) SetSendDataPoints(v []*SendDataPoint) *GetSendStatisticsOutput {
+ s.SendDataPoints = v
+ return s
+}
+
// Represents the DKIM attributes of a verified email address or a domain.
type IdentityDkimAttributes struct {
_ struct{} `type:"structure"`
// True if DKIM signing is enabled for email sent from the identity; false otherwise.
+ // The default value is true.
//
// DkimEnabled is a required field
DkimEnabled *bool `type:"boolean" required:"true"`
@@ -4539,6 +6076,24 @@ func (s IdentityDkimAttributes) GoString() string {
return s.String()
}
+// SetDkimEnabled sets the DkimEnabled field's value.
+func (s *IdentityDkimAttributes) SetDkimEnabled(v bool) *IdentityDkimAttributes {
+ s.DkimEnabled = &v
+ return s
+}
+
+// SetDkimTokens sets the DkimTokens field's value.
+func (s *IdentityDkimAttributes) SetDkimTokens(v []*string) *IdentityDkimAttributes {
+ s.DkimTokens = v
+ return s
+}
+
+// SetDkimVerificationStatus sets the DkimVerificationStatus field's value.
+func (s *IdentityDkimAttributes) SetDkimVerificationStatus(v string) *IdentityDkimAttributes {
+ s.DkimVerificationStatus = &v
+ return s
+}
+
// Represents the custom MAIL FROM domain attributes of a verified identity
// (email address or domain).
type IdentityMailFromDomainAttributes struct {
@@ -4582,6 +6137,24 @@ func (s IdentityMailFromDomainAttributes) GoString() string {
return s.String()
}
+// SetBehaviorOnMXFailure sets the BehaviorOnMXFailure field's value.
+func (s *IdentityMailFromDomainAttributes) SetBehaviorOnMXFailure(v string) *IdentityMailFromDomainAttributes {
+ s.BehaviorOnMXFailure = &v
+ return s
+}
+
+// SetMailFromDomain sets the MailFromDomain field's value.
+func (s *IdentityMailFromDomainAttributes) SetMailFromDomain(v string) *IdentityMailFromDomainAttributes {
+ s.MailFromDomain = &v
+ return s
+}
+
+// SetMailFromDomainStatus sets the MailFromDomainStatus field's value.
+func (s *IdentityMailFromDomainAttributes) SetMailFromDomainStatus(v string) *IdentityMailFromDomainAttributes {
+ s.MailFromDomainStatus = &v
+ return s
+}
+
// Represents the notification attributes of an identity, including whether
// an identity has Amazon Simple Notification Service (Amazon SNS) topics set
// for bounce, complaint, and/or delivery notifications, and whether feedback
@@ -4644,6 +6217,48 @@ func (s IdentityNotificationAttributes) GoString() string {
return s.String()
}
+// SetBounceTopic sets the BounceTopic field's value.
+func (s *IdentityNotificationAttributes) SetBounceTopic(v string) *IdentityNotificationAttributes {
+ s.BounceTopic = &v
+ return s
+}
+
+// SetComplaintTopic sets the ComplaintTopic field's value.
+func (s *IdentityNotificationAttributes) SetComplaintTopic(v string) *IdentityNotificationAttributes {
+ s.ComplaintTopic = &v
+ return s
+}
+
+// SetDeliveryTopic sets the DeliveryTopic field's value.
+func (s *IdentityNotificationAttributes) SetDeliveryTopic(v string) *IdentityNotificationAttributes {
+ s.DeliveryTopic = &v
+ return s
+}
+
+// SetForwardingEnabled sets the ForwardingEnabled field's value.
+func (s *IdentityNotificationAttributes) SetForwardingEnabled(v bool) *IdentityNotificationAttributes {
+ s.ForwardingEnabled = &v
+ return s
+}
+
+// SetHeadersInBounceNotificationsEnabled sets the HeadersInBounceNotificationsEnabled field's value.
+func (s *IdentityNotificationAttributes) SetHeadersInBounceNotificationsEnabled(v bool) *IdentityNotificationAttributes {
+ s.HeadersInBounceNotificationsEnabled = &v
+ return s
+}
+
+// SetHeadersInComplaintNotificationsEnabled sets the HeadersInComplaintNotificationsEnabled field's value.
+func (s *IdentityNotificationAttributes) SetHeadersInComplaintNotificationsEnabled(v bool) *IdentityNotificationAttributes {
+ s.HeadersInComplaintNotificationsEnabled = &v
+ return s
+}
+
+// SetHeadersInDeliveryNotificationsEnabled sets the HeadersInDeliveryNotificationsEnabled field's value.
+func (s *IdentityNotificationAttributes) SetHeadersInDeliveryNotificationsEnabled(v bool) *IdentityNotificationAttributes {
+ s.HeadersInDeliveryNotificationsEnabled = &v
+ return s
+}
+
// Represents the verification attributes of a single identity.
type IdentityVerificationAttributes struct {
_ struct{} `type:"structure"`
@@ -4668,6 +6283,79 @@ func (s IdentityVerificationAttributes) GoString() string {
return s.String()
}
+// SetVerificationStatus sets the VerificationStatus field's value.
+func (s *IdentityVerificationAttributes) SetVerificationStatus(v string) *IdentityVerificationAttributes {
+ s.VerificationStatus = &v
+ return s
+}
+
+// SetVerificationToken sets the VerificationToken field's value.
+func (s *IdentityVerificationAttributes) SetVerificationToken(v string) *IdentityVerificationAttributes {
+ s.VerificationToken = &v
+ return s
+}
+
+// Contains the delivery stream ARN and the IAM role ARN associated with an
+// Amazon Kinesis Firehose event destination.
+//
+// Event destinations, such as Amazon Kinesis Firehose, 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).
+type KinesisFirehoseDestination struct {
+ _ struct{} `type:"structure"`
+
+ // The ARN of the Amazon Kinesis Firehose stream to which to publish email sending
+ // events.
+ //
+ // DeliveryStreamARN is a required field
+ DeliveryStreamARN *string `type:"string" required:"true"`
+
+ // The ARN of the IAM role under which Amazon SES publishes email sending events
+ // to the Amazon Kinesis Firehose stream.
+ //
+ // IAMRoleARN is a required field
+ IAMRoleARN *string `type:"string" required:"true"`
+}
+
+// String returns the string representation
+func (s KinesisFirehoseDestination) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s KinesisFirehoseDestination) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *KinesisFirehoseDestination) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "KinesisFirehoseDestination"}
+ if s.DeliveryStreamARN == nil {
+ invalidParams.Add(request.NewErrParamRequired("DeliveryStreamARN"))
+ }
+ if s.IAMRoleARN == nil {
+ invalidParams.Add(request.NewErrParamRequired("IAMRoleARN"))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetDeliveryStreamARN sets the DeliveryStreamARN field's value.
+func (s *KinesisFirehoseDestination) SetDeliveryStreamARN(v string) *KinesisFirehoseDestination {
+ s.DeliveryStreamARN = &v
+ return s
+}
+
+// SetIAMRoleARN sets the IAMRoleARN field's value.
+func (s *KinesisFirehoseDestination) SetIAMRoleARN(v string) *KinesisFirehoseDestination {
+ s.IAMRoleARN = &v
+ return s
+}
+
// When included in a receipt rule, this action calls an AWS Lambda function
// and, optionally, publishes a notification to Amazon Simple Notification Service
// (Amazon SNS).
@@ -4732,6 +6420,97 @@ func (s *LambdaAction) Validate() error {
return nil
}
+// SetFunctionArn sets the FunctionArn field's value.
+func (s *LambdaAction) SetFunctionArn(v string) *LambdaAction {
+ s.FunctionArn = &v
+ return s
+}
+
+// SetInvocationType sets the InvocationType field's value.
+func (s *LambdaAction) SetInvocationType(v string) *LambdaAction {
+ s.InvocationType = &v
+ return s
+}
+
+// SetTopicArn sets the TopicArn field's value.
+func (s *LambdaAction) SetTopicArn(v string) *LambdaAction {
+ s.TopicArn = &v
+ return s
+}
+
+// Represents a request to list the 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).
+type ListConfigurationSetsInput struct {
+ _ struct{} `type:"structure"`
+
+ // The number of configuration sets to return.
+ MaxItems *int64 `type:"integer"`
+
+ // A token returned from a previous call to ListConfigurationSets to indicate
+ // the position of the configuration set in the configuration set list.
+ NextToken *string `type:"string"`
+}
+
+// String returns the string representation
+func (s ListConfigurationSetsInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s ListConfigurationSetsInput) GoString() string {
+ return s.String()
+}
+
+// SetMaxItems sets the MaxItems field's value.
+func (s *ListConfigurationSetsInput) SetMaxItems(v int64) *ListConfigurationSetsInput {
+ s.MaxItems = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListConfigurationSetsInput) SetNextToken(v string) *ListConfigurationSetsInput {
+ s.NextToken = &v
+ return s
+}
+
+// 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).
+type ListConfigurationSetsOutput struct {
+ _ struct{} `type:"structure"`
+
+ // A list of configuration sets.
+ ConfigurationSets []*ConfigurationSet `type:"list"`
+
+ // A token indicating that there are additional configuration sets available
+ // to be listed. Pass this token to successive calls of ListConfigurationSets.
+ NextToken *string `type:"string"`
+}
+
+// String returns the string representation
+func (s ListConfigurationSetsOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s ListConfigurationSetsOutput) GoString() string {
+ return s.String()
+}
+
+// SetConfigurationSets sets the ConfigurationSets field's value.
+func (s *ListConfigurationSetsOutput) SetConfigurationSets(v []*ConfigurationSet) *ListConfigurationSetsOutput {
+ s.ConfigurationSets = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListConfigurationSetsOutput) SetNextToken(v string) *ListConfigurationSetsOutput {
+ 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.
@@ -4759,6 +6538,24 @@ func (s ListIdentitiesInput) GoString() string {
return s.String()
}
+// SetIdentityType sets the IdentityType field's value.
+func (s *ListIdentitiesInput) SetIdentityType(v string) *ListIdentitiesInput {
+ s.IdentityType = &v
+ return s
+}
+
+// SetMaxItems sets the MaxItems field's value.
+func (s *ListIdentitiesInput) SetMaxItems(v int64) *ListIdentitiesInput {
+ s.MaxItems = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListIdentitiesInput) SetNextToken(v string) *ListIdentitiesInput {
+ s.NextToken = &v
+ return s
+}
+
// A list of all identities that you have attempted to verify under your AWS
// account, regardless of verification status.
type ListIdentitiesOutput struct {
@@ -4783,6 +6580,18 @@ func (s ListIdentitiesOutput) GoString() string {
return s.String()
}
+// SetIdentities sets the Identities field's value.
+func (s *ListIdentitiesOutput) SetIdentities(v []*string) *ListIdentitiesOutput {
+ s.Identities = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListIdentitiesOutput) SetNextToken(v string) *ListIdentitiesOutput {
+ s.NextToken = &v
+ return s
+}
+
// Represents a request to return a list of sending authorization policies that
// 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,
@@ -4823,6 +6632,12 @@ func (s *ListIdentityPoliciesInput) Validate() error {
return nil
}
+// SetIdentity sets the Identity field's value.
+func (s *ListIdentityPoliciesInput) SetIdentity(v string) *ListIdentityPoliciesInput {
+ s.Identity = &v
+ return s
+}
+
// A list of names of sending authorization policies that apply to an identity.
type ListIdentityPoliciesOutput struct {
_ struct{} `type:"structure"`
@@ -4843,7 +6658,13 @@ func (s ListIdentityPoliciesOutput) GoString() string {
return s.String()
}
-// : Represents a request to list the IP address filters that exist under your
+// SetPolicyNames sets the PolicyNames field's value.
+func (s *ListIdentityPoliciesOutput) SetPolicyNames(v []*string) *ListIdentityPoliciesOutput {
+ s.PolicyNames = v
+ return s
+}
+
+// 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).
type ListReceiptFiltersInput struct {
@@ -4879,6 +6700,12 @@ func (s ListReceiptFiltersOutput) GoString() string {
return s.String()
}
+// SetFilters sets the Filters field's value.
+func (s *ListReceiptFiltersOutput) SetFilters(v []*ReceiptFilter) *ListReceiptFiltersOutput {
+ s.Filters = v
+ return s
+}
+
// 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).
@@ -4900,6 +6727,12 @@ func (s ListReceiptRuleSetsInput) GoString() string {
return s.String()
}
+// SetNextToken sets the NextToken field's value.
+func (s *ListReceiptRuleSetsInput) SetNextToken(v string) *ListReceiptRuleSetsInput {
+ s.NextToken = &v
+ return s
+}
+
// A list of receipt rule sets that exist under your AWS account.
type ListReceiptRuleSetsOutput struct {
_ struct{} `type:"structure"`
@@ -4924,6 +6757,18 @@ func (s ListReceiptRuleSetsOutput) GoString() string {
return s.String()
}
+// SetNextToken sets the NextToken field's value.
+func (s *ListReceiptRuleSetsOutput) SetNextToken(v string) *ListReceiptRuleSetsOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetRuleSets sets the RuleSets field's value.
+func (s *ListReceiptRuleSetsOutput) SetRuleSets(v []*ReceiptRuleSetMetadata) *ListReceiptRuleSetsOutput {
+ s.RuleSets = v
+ return s
+}
+
type ListVerifiedEmailAddressesInput struct {
_ struct{} `type:"structure"`
}
@@ -4957,6 +6802,12 @@ func (s ListVerifiedEmailAddressesOutput) GoString() string {
return s.String()
}
+// SetVerifiedEmailAddresses sets the VerifiedEmailAddresses field's value.
+func (s *ListVerifiedEmailAddressesOutput) SetVerifiedEmailAddresses(v []*string) *ListVerifiedEmailAddressesOutput {
+ s.VerifiedEmailAddresses = v
+ return s
+}
+
// Represents the message to be sent, composed of a subject and a body.
type Message struct {
_ struct{} `type:"structure"`
@@ -5009,6 +6860,18 @@ func (s *Message) Validate() error {
return nil
}
+// SetBody sets the Body field's value.
+func (s *Message) SetBody(v *Body) *Message {
+ s.Body = v
+ return s
+}
+
+// SetSubject sets the Subject field's value.
+func (s *Message) SetSubject(v *Content) *Message {
+ s.Subject = v
+ return s
+}
+
// Message-related information to include in the Delivery Status Notification
// (DSN) when an email that Amazon SES receives on your behalf bounces.
//
@@ -5065,6 +6928,92 @@ func (s *MessageDsn) Validate() error {
return nil
}
+// SetArrivalDate sets the ArrivalDate field's value.
+func (s *MessageDsn) SetArrivalDate(v time.Time) *MessageDsn {
+ s.ArrivalDate = &v
+ return s
+}
+
+// SetExtensionFields sets the ExtensionFields field's value.
+func (s *MessageDsn) SetExtensionFields(v []*ExtensionField) *MessageDsn {
+ s.ExtensionFields = v
+ return s
+}
+
+// SetReportingMta sets the ReportingMta field's value.
+func (s *MessageDsn) SetReportingMta(v string) *MessageDsn {
+ s.ReportingMta = &v
+ return s
+}
+
+// Contains the name and value of a tag that you can provide to SendEmail or
+// SendRawEmail to apply to an email.
+//
+// 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).
+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 (-).
+ //
+ // * Contain less than 256 characters.
+ //
+ // Name is a required field
+ Name *string `type:"string" required:"true"`
+
+ // The value of the tag. The value must:
+ //
+ // * Contain only ASCII letters (a-z, A-Z), numbers (0-9), underscores (_),
+ // or dashes (-).
+ //
+ // * Contain less than 256 characters.
+ //
+ // Value is a required field
+ Value *string `type:"string" required:"true"`
+}
+
+// String returns the string representation
+func (s MessageTag) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s MessageTag) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *MessageTag) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "MessageTag"}
+ if s.Name == nil {
+ invalidParams.Add(request.NewErrParamRequired("Name"))
+ }
+ if s.Value == nil {
+ invalidParams.Add(request.NewErrParamRequired("Value"))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetName sets the Name field's value.
+func (s *MessageTag) SetName(v string) *MessageTag {
+ s.Name = &v
+ return s
+}
+
+// SetValue sets the Value field's value.
+func (s *MessageTag) SetValue(v string) *MessageTag {
+ s.Value = &v
+ return s
+}
+
// Represents a request to add or update a sending authorization policy for
// an identity. Sending authorization is an Amazon SES feature that enables
// you to authorize other senders to use your identities. For information, see
@@ -5133,6 +7082,24 @@ func (s *PutIdentityPolicyInput) Validate() error {
return nil
}
+// SetIdentity sets the Identity field's value.
+func (s *PutIdentityPolicyInput) SetIdentity(v string) *PutIdentityPolicyInput {
+ s.Identity = &v
+ return s
+}
+
+// SetPolicy sets the Policy field's value.
+func (s *PutIdentityPolicyInput) SetPolicy(v string) *PutIdentityPolicyInput {
+ s.Policy = &v
+ return s
+}
+
+// SetPolicyName sets the PolicyName field's value.
+func (s *PutIdentityPolicyInput) SetPolicyName(v string) *PutIdentityPolicyInput {
+ s.PolicyName = &v
+ return s
+}
+
// An empty element returned on a successful request.
type PutIdentityPolicyOutput struct {
_ struct{} `type:"structure"`
@@ -5196,6 +7163,12 @@ func (s *RawMessage) Validate() error {
return nil
}
+// SetData sets the Data field's value.
+func (s *RawMessage) SetData(v []byte) *RawMessage {
+ s.Data = v
+ return s
+}
+
// An action that Amazon SES can take when it receives an email on behalf of
// one or more email addresses or domains that you own. An instance of this
// data type can represent only one action.
@@ -5282,10 +7255,52 @@ func (s *ReceiptAction) Validate() error {
}
}
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetAddHeaderAction sets the AddHeaderAction field's value.
+func (s *ReceiptAction) SetAddHeaderAction(v *AddHeaderAction) *ReceiptAction {
+ s.AddHeaderAction = v
+ return s
+}
+
+// SetBounceAction sets the BounceAction field's value.
+func (s *ReceiptAction) SetBounceAction(v *BounceAction) *ReceiptAction {
+ s.BounceAction = v
+ return s
+}
+
+// SetLambdaAction sets the LambdaAction field's value.
+func (s *ReceiptAction) SetLambdaAction(v *LambdaAction) *ReceiptAction {
+ s.LambdaAction = v
+ return s
+}
+
+// SetS3Action sets the S3Action field's value.
+func (s *ReceiptAction) SetS3Action(v *S3Action) *ReceiptAction {
+ s.S3Action = v
+ return s
+}
+
+// SetSNSAction sets the SNSAction field's value.
+func (s *ReceiptAction) SetSNSAction(v *SNSAction) *ReceiptAction {
+ s.SNSAction = v
+ return s
+}
+
+// SetStopAction sets the StopAction field's value.
+func (s *ReceiptAction) SetStopAction(v *StopAction) *ReceiptAction {
+ s.StopAction = v
+ return s
+}
+
+// SetWorkmailAction sets the WorkmailAction field's value.
+func (s *ReceiptAction) SetWorkmailAction(v *WorkmailAction) *ReceiptAction {
+ s.WorkmailAction = v
+ return s
}
// A receipt IP address filter enables you to specify whether to accept or reject
@@ -5346,6 +7361,18 @@ func (s *ReceiptFilter) Validate() error {
return nil
}
+// SetIpFilter sets the IpFilter field's value.
+func (s *ReceiptFilter) SetIpFilter(v *ReceiptIpFilter) *ReceiptFilter {
+ s.IpFilter = v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *ReceiptFilter) SetName(v string) *ReceiptFilter {
+ s.Name = &v
+ return s
+}
+
// A receipt IP address filter enables you to specify whether to accept or reject
// mail originating from an IP address or range of IP addresses.
//
@@ -5394,6 +7421,18 @@ func (s *ReceiptIpFilter) Validate() error {
return nil
}
+// SetCidr sets the Cidr field's value.
+func (s *ReceiptIpFilter) SetCidr(v string) *ReceiptIpFilter {
+ s.Cidr = &v
+ return s
+}
+
+// SetPolicy sets the Policy field's value.
+func (s *ReceiptIpFilter) SetPolicy(v string) *ReceiptIpFilter {
+ s.Policy = &v
+ return s
+}
+
// Receipt rules enable you to specify which actions Amazon SES should take
// when it receives mail on behalf of one or more email addresses or domains
// that you own.
@@ -5476,6 +7515,42 @@ func (s *ReceiptRule) Validate() error {
return nil
}
+// SetActions sets the Actions field's value.
+func (s *ReceiptRule) SetActions(v []*ReceiptAction) *ReceiptRule {
+ s.Actions = v
+ return s
+}
+
+// SetEnabled sets the Enabled field's value.
+func (s *ReceiptRule) SetEnabled(v bool) *ReceiptRule {
+ s.Enabled = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *ReceiptRule) SetName(v string) *ReceiptRule {
+ s.Name = &v
+ return s
+}
+
+// SetRecipients sets the Recipients field's value.
+func (s *ReceiptRule) SetRecipients(v []*string) *ReceiptRule {
+ s.Recipients = v
+ return s
+}
+
+// SetScanEnabled sets the ScanEnabled field's value.
+func (s *ReceiptRule) SetScanEnabled(v bool) *ReceiptRule {
+ s.ScanEnabled = &v
+ return s
+}
+
+// SetTlsPolicy sets the TlsPolicy field's value.
+func (s *ReceiptRule) SetTlsPolicy(v string) *ReceiptRule {
+ s.TlsPolicy = &v
+ return s
+}
+
// Information about a receipt rule set.
//
// A receipt rule set is a collection of rules that specify what Amazon SES
@@ -5510,6 +7585,18 @@ func (s ReceiptRuleSetMetadata) GoString() string {
return s.String()
}
+// SetCreatedTimestamp sets the CreatedTimestamp field's value.
+func (s *ReceiptRuleSetMetadata) SetCreatedTimestamp(v time.Time) *ReceiptRuleSetMetadata {
+ s.CreatedTimestamp = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *ReceiptRuleSetMetadata) SetName(v string) *ReceiptRuleSetMetadata {
+ s.Name = &v
+ return s
+}
+
// Recipient-related information to include in the Delivery Status Notification
// (DSN) when an email that Amazon SES receives on your behalf bounces.
//
@@ -5596,6 +7683,48 @@ func (s *RecipientDsnFields) Validate() error {
return nil
}
+// SetAction sets the Action field's value.
+func (s *RecipientDsnFields) SetAction(v string) *RecipientDsnFields {
+ s.Action = &v
+ return s
+}
+
+// SetDiagnosticCode sets the DiagnosticCode field's value.
+func (s *RecipientDsnFields) SetDiagnosticCode(v string) *RecipientDsnFields {
+ s.DiagnosticCode = &v
+ return s
+}
+
+// SetExtensionFields sets the ExtensionFields field's value.
+func (s *RecipientDsnFields) SetExtensionFields(v []*ExtensionField) *RecipientDsnFields {
+ s.ExtensionFields = v
+ return s
+}
+
+// SetFinalRecipient sets the FinalRecipient field's value.
+func (s *RecipientDsnFields) SetFinalRecipient(v string) *RecipientDsnFields {
+ s.FinalRecipient = &v
+ return s
+}
+
+// SetLastAttemptDate sets the LastAttemptDate field's value.
+func (s *RecipientDsnFields) SetLastAttemptDate(v time.Time) *RecipientDsnFields {
+ s.LastAttemptDate = &v
+ return s
+}
+
+// SetRemoteMta sets the RemoteMta field's value.
+func (s *RecipientDsnFields) SetRemoteMta(v string) *RecipientDsnFields {
+ s.RemoteMta = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *RecipientDsnFields) SetStatus(v string) *RecipientDsnFields {
+ s.Status = &v
+ return s
+}
+
// 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).
@@ -5640,6 +7769,18 @@ func (s *ReorderReceiptRuleSetInput) Validate() error {
return nil
}
+// SetRuleNames sets the RuleNames field's value.
+func (s *ReorderReceiptRuleSetInput) SetRuleNames(v []*string) *ReorderReceiptRuleSetInput {
+ s.RuleNames = v
+ return s
+}
+
+// SetRuleSetName sets the RuleSetName field's value.
+func (s *ReorderReceiptRuleSetInput) SetRuleSetName(v string) *ReorderReceiptRuleSetInput {
+ s.RuleSetName = &v
+ return s
+}
+
// An empty element returned on a successful request.
type ReorderReceiptRuleSetOutput struct {
_ struct{} `type:"structure"`
@@ -5743,6 +7884,30 @@ func (s *S3Action) Validate() error {
return nil
}
+// SetBucketName sets the BucketName field's value.
+func (s *S3Action) SetBucketName(v string) *S3Action {
+ s.BucketName = &v
+ return s
+}
+
+// SetKmsKeyArn sets the KmsKeyArn field's value.
+func (s *S3Action) SetKmsKeyArn(v string) *S3Action {
+ s.KmsKeyArn = &v
+ return s
+}
+
+// SetObjectKeyPrefix sets the ObjectKeyPrefix field's value.
+func (s *S3Action) SetObjectKeyPrefix(v string) *S3Action {
+ s.ObjectKeyPrefix = &v
+ return s
+}
+
+// SetTopicArn sets the TopicArn field's value.
+func (s *S3Action) SetTopicArn(v string) *S3Action {
+ s.TopicArn = &v
+ return s
+}
+
// When included in a receipt rule, this action publishes a notification to
// Amazon Simple Notification Service (Amazon SNS). This action includes a complete
// copy of the email content in the Amazon SNS notifications. Amazon SNS notifications
@@ -5802,6 +7967,18 @@ func (s *SNSAction) Validate() error {
return nil
}
+// SetEncoding sets the Encoding field's value.
+func (s *SNSAction) SetEncoding(v string) *SNSAction {
+ s.Encoding = &v
+ return s
+}
+
+// SetTopicArn sets the TopicArn field's value.
+func (s *SNSAction) SetTopicArn(v string) *SNSAction {
+ s.TopicArn = &v
+ return s
+}
+
// Represents a request to send a bounce message to the sender of an email you
// received through Amazon SES.
type SendBounceInput struct {
@@ -5885,6 +8062,42 @@ func (s *SendBounceInput) Validate() error {
return nil
}
+// SetBounceSender sets the BounceSender field's value.
+func (s *SendBounceInput) SetBounceSender(v string) *SendBounceInput {
+ s.BounceSender = &v
+ return s
+}
+
+// SetBounceSenderArn sets the BounceSenderArn field's value.
+func (s *SendBounceInput) SetBounceSenderArn(v string) *SendBounceInput {
+ s.BounceSenderArn = &v
+ return s
+}
+
+// SetBouncedRecipientInfoList sets the BouncedRecipientInfoList field's value.
+func (s *SendBounceInput) SetBouncedRecipientInfoList(v []*BouncedRecipientInfo) *SendBounceInput {
+ s.BouncedRecipientInfoList = v
+ return s
+}
+
+// SetExplanation sets the Explanation field's value.
+func (s *SendBounceInput) SetExplanation(v string) *SendBounceInput {
+ s.Explanation = &v
+ return s
+}
+
+// SetMessageDsn sets the MessageDsn field's value.
+func (s *SendBounceInput) SetMessageDsn(v *MessageDsn) *SendBounceInput {
+ s.MessageDsn = v
+ return s
+}
+
+// SetOriginalMessageId sets the OriginalMessageId field's value.
+func (s *SendBounceInput) SetOriginalMessageId(v string) *SendBounceInput {
+ s.OriginalMessageId = &v
+ return s
+}
+
// Represents a unique message ID.
type SendBounceOutput struct {
_ struct{} `type:"structure"`
@@ -5903,6 +8116,12 @@ func (s SendBounceOutput) GoString() string {
return s.String()
}
+// SetMessageId sets the MessageId field's value.
+func (s *SendBounceOutput) SetMessageId(v string) *SendBounceOutput {
+ s.MessageId = &v
+ return s
+}
+
// Represents sending statistics data. Each SendDataPoint contains statistics
// for a 15-minute period of sending activity.
type SendDataPoint struct {
@@ -5914,7 +8133,7 @@ type SendDataPoint struct {
// Number of unwanted emails that were rejected by recipients.
Complaints *int64 `type:"long"`
- // Number of emails that have been enqueued for sending.
+ // Number of emails that have been sent.
DeliveryAttempts *int64 `type:"long"`
// Number of emails rejected by Amazon SES.
@@ -5934,11 +8153,44 @@ func (s SendDataPoint) GoString() string {
return s.String()
}
+// SetBounces sets the Bounces field's value.
+func (s *SendDataPoint) SetBounces(v int64) *SendDataPoint {
+ s.Bounces = &v
+ return s
+}
+
+// SetComplaints sets the Complaints field's value.
+func (s *SendDataPoint) SetComplaints(v int64) *SendDataPoint {
+ s.Complaints = &v
+ return s
+}
+
+// SetDeliveryAttempts sets the DeliveryAttempts field's value.
+func (s *SendDataPoint) SetDeliveryAttempts(v int64) *SendDataPoint {
+ s.DeliveryAttempts = &v
+ return s
+}
+
+// SetRejects sets the Rejects field's value.
+func (s *SendDataPoint) SetRejects(v int64) *SendDataPoint {
+ s.Rejects = &v
+ return s
+}
+
+// SetTimestamp sets the Timestamp field's value.
+func (s *SendDataPoint) SetTimestamp(v time.Time) *SendDataPoint {
+ s.Timestamp = &v
+ return s
+}
+
// 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).
type SendEmailInput struct {
_ struct{} `type:"structure"`
+ // The name of the configuration set to use when you send an email using SendEmail.
+ ConfigurationSetName *string `type:"string"`
+
// The destination for this email, composed of To:, CC:, and BCC: fields.
//
// Destination is a required field
@@ -6006,6 +8258,11 @@ type SendEmailInput struct {
// For more information about sending authorization, see the Amazon SES Developer
// Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html).
SourceArn *string `type:"string"`
+
+ // A list of tags, in the form of name/value pairs, to apply to an email that
+ // you send using SendEmail. Tags correspond to characteristics of the email
+ // that you define, so that you can publish email sending events.
+ Tags []*MessageTag `type:"list"`
}
// String returns the string representation
@@ -6035,6 +8292,16 @@ func (s *SendEmailInput) Validate() error {
invalidParams.AddNested("Message", err.(request.ErrInvalidParams))
}
}
+ if s.Tags != nil {
+ for i, v := range s.Tags {
+ if v == nil {
+ continue
+ }
+ if err := v.Validate(); err != nil {
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
+ }
+ }
+ }
if invalidParams.Len() > 0 {
return invalidParams
@@ -6042,6 +8309,60 @@ func (s *SendEmailInput) Validate() error {
return nil
}
+// SetConfigurationSetName sets the ConfigurationSetName field's value.
+func (s *SendEmailInput) SetConfigurationSetName(v string) *SendEmailInput {
+ s.ConfigurationSetName = &v
+ return s
+}
+
+// SetDestination sets the Destination field's value.
+func (s *SendEmailInput) SetDestination(v *Destination) *SendEmailInput {
+ s.Destination = v
+ return s
+}
+
+// SetMessage sets the Message field's value.
+func (s *SendEmailInput) SetMessage(v *Message) *SendEmailInput {
+ s.Message = v
+ return s
+}
+
+// SetReplyToAddresses sets the ReplyToAddresses field's value.
+func (s *SendEmailInput) SetReplyToAddresses(v []*string) *SendEmailInput {
+ s.ReplyToAddresses = v
+ return s
+}
+
+// SetReturnPath sets the ReturnPath field's value.
+func (s *SendEmailInput) SetReturnPath(v string) *SendEmailInput {
+ s.ReturnPath = &v
+ return s
+}
+
+// SetReturnPathArn sets the ReturnPathArn field's value.
+func (s *SendEmailInput) SetReturnPathArn(v string) *SendEmailInput {
+ s.ReturnPathArn = &v
+ return s
+}
+
+// SetSource sets the Source field's value.
+func (s *SendEmailInput) SetSource(v string) *SendEmailInput {
+ s.Source = &v
+ return s
+}
+
+// SetSourceArn sets the SourceArn field's value.
+func (s *SendEmailInput) SetSourceArn(v string) *SendEmailInput {
+ s.SourceArn = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *SendEmailInput) SetTags(v []*MessageTag) *SendEmailInput {
+ s.Tags = v
+ return s
+}
+
// Represents a unique message ID.
type SendEmailOutput struct {
_ struct{} `type:"structure"`
@@ -6062,11 +8383,20 @@ func (s SendEmailOutput) GoString() string {
return s.String()
}
+// SetMessageId sets the MessageId field's value.
+func (s *SendEmailOutput) SetMessageId(v string) *SendEmailOutput {
+ s.MessageId = &v
+ return s
+}
+
// 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).
type SendRawEmailInput struct {
_ struct{} `type:"structure"`
+ // The name of the configuration set to use when you send an email using SendRawEmail.
+ ConfigurationSetName *string `type:"string"`
+
// A list of destinations for the message, consisting of To:, CC:, and BCC:
// addresses.
Destinations []*string `type:"list"`
@@ -6149,6 +8479,11 @@ type SendRawEmailInput struct {
// For information about when to use this parameter, see the description of
// SendRawEmail in this guide, or see the Amazon SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization-delegate-sender-tasks-email.html).
SourceArn *string `type:"string"`
+
+ // A list of tags, in the form of name/value pairs, to apply to an email that
+ // you send using SendRawEmail. Tags correspond to characteristics of the email
+ // that you define, so that you can publish email sending events.
+ Tags []*MessageTag `type:"list"`
}
// String returns the string representation
@@ -6172,6 +8507,16 @@ func (s *SendRawEmailInput) Validate() error {
invalidParams.AddNested("RawMessage", err.(request.ErrInvalidParams))
}
}
+ if s.Tags != nil {
+ for i, v := range s.Tags {
+ if v == nil {
+ continue
+ }
+ if err := v.Validate(); err != nil {
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
+ }
+ }
+ }
if invalidParams.Len() > 0 {
return invalidParams
@@ -6179,6 +8524,54 @@ func (s *SendRawEmailInput) Validate() error {
return nil
}
+// SetConfigurationSetName sets the ConfigurationSetName field's value.
+func (s *SendRawEmailInput) SetConfigurationSetName(v string) *SendRawEmailInput {
+ s.ConfigurationSetName = &v
+ return s
+}
+
+// SetDestinations sets the Destinations field's value.
+func (s *SendRawEmailInput) SetDestinations(v []*string) *SendRawEmailInput {
+ s.Destinations = v
+ return s
+}
+
+// SetFromArn sets the FromArn field's value.
+func (s *SendRawEmailInput) SetFromArn(v string) *SendRawEmailInput {
+ s.FromArn = &v
+ return s
+}
+
+// SetRawMessage sets the RawMessage field's value.
+func (s *SendRawEmailInput) SetRawMessage(v *RawMessage) *SendRawEmailInput {
+ s.RawMessage = v
+ return s
+}
+
+// SetReturnPathArn sets the ReturnPathArn field's value.
+func (s *SendRawEmailInput) SetReturnPathArn(v string) *SendRawEmailInput {
+ s.ReturnPathArn = &v
+ return s
+}
+
+// SetSource sets the Source field's value.
+func (s *SendRawEmailInput) SetSource(v string) *SendRawEmailInput {
+ s.Source = &v
+ return s
+}
+
+// SetSourceArn sets the SourceArn field's value.
+func (s *SendRawEmailInput) SetSourceArn(v string) *SendRawEmailInput {
+ s.SourceArn = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *SendRawEmailInput) SetTags(v []*MessageTag) *SendRawEmailInput {
+ s.Tags = v
+ return s
+}
+
// Represents a unique message ID.
type SendRawEmailOutput struct {
_ struct{} `type:"structure"`
@@ -6199,6 +8592,12 @@ func (s SendRawEmailOutput) GoString() string {
return s.String()
}
+// SetMessageId sets the MessageId field's value.
+func (s *SendRawEmailOutput) SetMessageId(v string) *SendRawEmailOutput {
+ s.MessageId = &v
+ return s
+}
+
// 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).
@@ -6220,6 +8619,12 @@ func (s SetActiveReceiptRuleSetInput) GoString() string {
return s.String()
}
+// SetRuleSetName sets the RuleSetName field's value.
+func (s *SetActiveReceiptRuleSetInput) SetRuleSetName(v string) *SetActiveReceiptRuleSetInput {
+ s.RuleSetName = &v
+ return s
+}
+
// An empty element returned on a successful request.
type SetActiveReceiptRuleSetOutput struct {
_ struct{} `type:"structure"`
@@ -6279,6 +8684,18 @@ func (s *SetIdentityDkimEnabledInput) Validate() error {
return nil
}
+// SetDkimEnabled sets the DkimEnabled field's value.
+func (s *SetIdentityDkimEnabledInput) SetDkimEnabled(v bool) *SetIdentityDkimEnabledInput {
+ s.DkimEnabled = &v
+ return s
+}
+
+// SetIdentity sets the Identity field's value.
+func (s *SetIdentityDkimEnabledInput) SetIdentity(v string) *SetIdentityDkimEnabledInput {
+ s.Identity = &v
+ return s
+}
+
// An empty element returned on a successful request.
type SetIdentityDkimEnabledOutput struct {
_ struct{} `type:"structure"`
@@ -6343,6 +8760,18 @@ func (s *SetIdentityFeedbackForwardingEnabledInput) Validate() error {
return nil
}
+// SetForwardingEnabled sets the ForwardingEnabled field's value.
+func (s *SetIdentityFeedbackForwardingEnabledInput) SetForwardingEnabled(v bool) *SetIdentityFeedbackForwardingEnabledInput {
+ s.ForwardingEnabled = &v
+ return s
+}
+
+// SetIdentity sets the Identity field's value.
+func (s *SetIdentityFeedbackForwardingEnabledInput) SetIdentity(v string) *SetIdentityFeedbackForwardingEnabledInput {
+ s.Identity = &v
+ return s
+}
+
// An empty element returned on a successful request.
type SetIdentityFeedbackForwardingEnabledOutput struct {
_ struct{} `type:"structure"`
@@ -6416,6 +8845,24 @@ func (s *SetIdentityHeadersInNotificationsEnabledInput) Validate() error {
return nil
}
+// SetEnabled sets the Enabled field's value.
+func (s *SetIdentityHeadersInNotificationsEnabledInput) SetEnabled(v bool) *SetIdentityHeadersInNotificationsEnabledInput {
+ s.Enabled = &v
+ return s
+}
+
+// SetIdentity sets the Identity field's value.
+func (s *SetIdentityHeadersInNotificationsEnabledInput) SetIdentity(v string) *SetIdentityHeadersInNotificationsEnabledInput {
+ s.Identity = &v
+ return s
+}
+
+// SetNotificationType sets the NotificationType field's value.
+func (s *SetIdentityHeadersInNotificationsEnabledInput) SetNotificationType(v string) *SetIdentityHeadersInNotificationsEnabledInput {
+ s.NotificationType = &v
+ return s
+}
+
// An empty element returned on a successful request.
type SetIdentityHeadersInNotificationsEnabledOutput struct {
_ struct{} `type:"structure"`
@@ -6486,6 +8933,24 @@ func (s *SetIdentityMailFromDomainInput) Validate() error {
return nil
}
+// SetBehaviorOnMXFailure sets the BehaviorOnMXFailure field's value.
+func (s *SetIdentityMailFromDomainInput) SetBehaviorOnMXFailure(v string) *SetIdentityMailFromDomainInput {
+ s.BehaviorOnMXFailure = &v
+ return s
+}
+
+// SetIdentity sets the Identity field's value.
+func (s *SetIdentityMailFromDomainInput) SetIdentity(v string) *SetIdentityMailFromDomainInput {
+ s.Identity = &v
+ return s
+}
+
+// SetMailFromDomain sets the MailFromDomain field's value.
+func (s *SetIdentityMailFromDomainInput) SetMailFromDomain(v string) *SetIdentityMailFromDomainInput {
+ s.MailFromDomain = &v
+ return s
+}
+
// An empty element returned on a successful request.
type SetIdentityMailFromDomainOutput struct {
_ struct{} `type:"structure"`
@@ -6553,6 +9018,24 @@ func (s *SetIdentityNotificationTopicInput) Validate() error {
return nil
}
+// SetIdentity sets the Identity field's value.
+func (s *SetIdentityNotificationTopicInput) SetIdentity(v string) *SetIdentityNotificationTopicInput {
+ s.Identity = &v
+ return s
+}
+
+// SetNotificationType sets the NotificationType field's value.
+func (s *SetIdentityNotificationTopicInput) SetNotificationType(v string) *SetIdentityNotificationTopicInput {
+ s.NotificationType = &v
+ return s
+}
+
+// SetSnsTopic sets the SnsTopic field's value.
+func (s *SetIdentityNotificationTopicInput) SetSnsTopic(v string) *SetIdentityNotificationTopicInput {
+ s.SnsTopic = &v
+ return s
+}
+
// An empty element returned on a successful request.
type SetIdentityNotificationTopicOutput struct {
_ struct{} `type:"structure"`
@@ -6614,6 +9097,24 @@ func (s *SetReceiptRulePositionInput) Validate() error {
return nil
}
+// SetAfter sets the After field's value.
+func (s *SetReceiptRulePositionInput) SetAfter(v string) *SetReceiptRulePositionInput {
+ s.After = &v
+ return s
+}
+
+// SetRuleName sets the RuleName field's value.
+func (s *SetReceiptRulePositionInput) SetRuleName(v string) *SetReceiptRulePositionInput {
+ s.RuleName = &v
+ return s
+}
+
+// SetRuleSetName sets the RuleSetName field's value.
+func (s *SetReceiptRulePositionInput) SetRuleSetName(v string) *SetReceiptRulePositionInput {
+ s.RuleSetName = &v
+ return s
+}
+
// An empty element returned on a successful request.
type SetReceiptRulePositionOutput struct {
_ struct{} `type:"structure"`
@@ -6673,6 +9174,94 @@ func (s *StopAction) Validate() error {
return nil
}
+// SetScope sets the Scope field's value.
+func (s *StopAction) SetScope(v string) *StopAction {
+ s.Scope = &v
+ return s
+}
+
+// SetTopicArn sets the TopicArn field's value.
+func (s *StopAction) SetTopicArn(v string) *StopAction {
+ s.TopicArn = &v
+ return s
+}
+
+// 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).
+type UpdateConfigurationSetEventDestinationInput 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"`
+
+ // The event destination object that you want to apply to the specified configuration
+ // set.
+ //
+ // EventDestination is a required field
+ EventDestination *EventDestination `type:"structure" required:"true"`
+}
+
+// String returns the string representation
+func (s UpdateConfigurationSetEventDestinationInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s UpdateConfigurationSetEventDestinationInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *UpdateConfigurationSetEventDestinationInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "UpdateConfigurationSetEventDestinationInput"}
+ if s.ConfigurationSetName == nil {
+ invalidParams.Add(request.NewErrParamRequired("ConfigurationSetName"))
+ }
+ if s.EventDestination == nil {
+ invalidParams.Add(request.NewErrParamRequired("EventDestination"))
+ }
+ if s.EventDestination != nil {
+ if err := s.EventDestination.Validate(); err != nil {
+ invalidParams.AddNested("EventDestination", err.(request.ErrInvalidParams))
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetConfigurationSetName sets the ConfigurationSetName field's value.
+func (s *UpdateConfigurationSetEventDestinationInput) SetConfigurationSetName(v string) *UpdateConfigurationSetEventDestinationInput {
+ s.ConfigurationSetName = &v
+ return s
+}
+
+// SetEventDestination sets the EventDestination field's value.
+func (s *UpdateConfigurationSetEventDestinationInput) SetEventDestination(v *EventDestination) *UpdateConfigurationSetEventDestinationInput {
+ s.EventDestination = v
+ return s
+}
+
+// An empty element returned on a successful request.
+type UpdateConfigurationSetEventDestinationOutput struct {
+ _ struct{} `type:"structure"`
+}
+
+// String returns the string representation
+func (s UpdateConfigurationSetEventDestinationOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s UpdateConfigurationSetEventDestinationOutput) 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).
@@ -6721,6 +9310,18 @@ func (s *UpdateReceiptRuleInput) Validate() error {
return nil
}
+// SetRule sets the Rule field's value.
+func (s *UpdateReceiptRuleInput) SetRule(v *ReceiptRule) *UpdateReceiptRuleInput {
+ s.Rule = v
+ return s
+}
+
+// SetRuleSetName sets the RuleSetName field's value.
+func (s *UpdateReceiptRuleInput) SetRuleSetName(v string) *UpdateReceiptRuleInput {
+ s.RuleSetName = &v
+ return s
+}
+
// An empty element returned on a successful request.
type UpdateReceiptRuleOutput struct {
_ struct{} `type:"structure"`
@@ -6771,6 +9372,12 @@ func (s *VerifyDomainDkimInput) Validate() error {
return nil
}
+// SetDomain sets the Domain field's value.
+func (s *VerifyDomainDkimInput) SetDomain(v string) *VerifyDomainDkimInput {
+ s.Domain = &v
+ return s
+}
+
// Returns CNAME records that you must publish to the DNS server of your domain
// to set up Easy DKIM with Amazon SES.
type VerifyDomainDkimOutput struct {
@@ -6802,6 +9409,12 @@ func (s VerifyDomainDkimOutput) GoString() string {
return s.String()
}
+// SetDkimTokens sets the DkimTokens field's value.
+func (s *VerifyDomainDkimOutput) SetDkimTokens(v []*string) *VerifyDomainDkimOutput {
+ s.DkimTokens = v
+ return s
+}
+
// Represents a request to begin Amazon SES domain verification and to generate
// the TXT records that you must publish to the DNS server of your domain to
// complete the verification. For information about domain verification, see
@@ -6838,6 +9451,12 @@ func (s *VerifyDomainIdentityInput) Validate() error {
return nil
}
+// SetDomain sets the Domain field's value.
+func (s *VerifyDomainIdentityInput) SetDomain(v string) *VerifyDomainIdentityInput {
+ s.Domain = &v
+ return s
+}
+
// Returns a TXT record that you must publish to the DNS server of your domain
// to complete domain verification with Amazon SES.
type VerifyDomainIdentityOutput struct {
@@ -6860,6 +9479,12 @@ func (s VerifyDomainIdentityOutput) GoString() string {
return s.String()
}
+// SetVerificationToken sets the VerificationToken field's value.
+func (s *VerifyDomainIdentityOutput) SetVerificationToken(v string) *VerifyDomainIdentityOutput {
+ s.VerificationToken = &v
+ return s
+}
+
// 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).
@@ -6895,6 +9520,12 @@ func (s *VerifyEmailAddressInput) Validate() error {
return nil
}
+// SetEmailAddress sets the EmailAddress field's value.
+func (s *VerifyEmailAddressInput) SetEmailAddress(v string) *VerifyEmailAddressInput {
+ s.EmailAddress = &v
+ return s
+}
+
type VerifyEmailAddressOutput struct {
_ struct{} `type:"structure"`
}
@@ -6944,6 +9575,12 @@ func (s *VerifyEmailIdentityInput) Validate() error {
return nil
}
+// SetEmailAddress sets the EmailAddress field's value.
+func (s *VerifyEmailIdentityInput) SetEmailAddress(v string) *VerifyEmailIdentityInput {
+ s.EmailAddress = &v
+ return s
+}
+
// An empty element returned on a successful request.
type VerifyEmailIdentityOutput struct {
_ struct{} `type:"structure"`
@@ -7007,6 +9644,18 @@ func (s *WorkmailAction) Validate() error {
return nil
}
+// SetOrganizationArn sets the OrganizationArn field's value.
+func (s *WorkmailAction) SetOrganizationArn(v string) *WorkmailAction {
+ s.OrganizationArn = &v
+ return s
+}
+
+// SetTopicArn sets the TopicArn field's value.
+func (s *WorkmailAction) SetTopicArn(v string) *WorkmailAction {
+ s.TopicArn = &v
+ return s
+}
+
const (
// BehaviorOnMXFailureUseDefaultValue is a BehaviorOnMXFailure enum value
BehaviorOnMXFailureUseDefaultValue = "UseDefaultValue"
@@ -7035,6 +9684,11 @@ const (
BounceTypeTemporaryFailure = "TemporaryFailure"
)
+const (
+ // ConfigurationSetAttributeEventDestinations is a ConfigurationSetAttribute enum value
+ ConfigurationSetAttributeEventDestinations = "eventDestinations"
+)
+
const (
// CustomMailFromStatusPending is a CustomMailFromStatus enum value
CustomMailFromStatusPending = "Pending"
@@ -7049,6 +9703,14 @@ const (
CustomMailFromStatusTemporaryFailure = "TemporaryFailure"
)
+const (
+ // DimensionValueSourceMessageTag is a DimensionValueSource enum value
+ DimensionValueSourceMessageTag = "messageTag"
+
+ // DimensionValueSourceEmailHeader is a DimensionValueSource enum value
+ DimensionValueSourceEmailHeader = "emailHeader"
+)
+
const (
// DsnActionFailed is a DsnAction enum value
DsnActionFailed = "failed"
@@ -7066,6 +9728,23 @@ const (
DsnActionExpanded = "expanded"
)
+const (
+ // EventTypeSend is a EventType enum value
+ EventTypeSend = "send"
+
+ // EventTypeReject is a EventType enum value
+ EventTypeReject = "reject"
+
+ // EventTypeBounce is a EventType enum value
+ EventTypeBounce = "bounce"
+
+ // EventTypeComplaint is a EventType enum value
+ EventTypeComplaint = "complaint"
+
+ // EventTypeDelivery is a EventType enum value
+ EventTypeDelivery = "delivery"
+)
+
const (
// IdentityTypeEmailAddress is a IdentityType enum value
IdentityTypeEmailAddress = "EmailAddress"
diff --git a/vendor/github.com/aws/aws-sdk-go/service/ses/examples_test.go b/vendor/github.com/aws/aws-sdk-go/service/ses/examples_test.go
index 309c725..8ad7c24 100644
--- a/vendor/github.com/aws/aws-sdk-go/service/ses/examples_test.go
+++ b/vendor/github.com/aws/aws-sdk-go/service/ses/examples_test.go
@@ -41,6 +41,80 @@ func ExampleSES_CloneReceiptRuleSet() {
fmt.Println(resp)
}
+func ExampleSES_CreateConfigurationSet() {
+ sess, err := session.NewSession()
+ if err != nil {
+ fmt.Println("failed to create session,", err)
+ return
+ }
+
+ svc := ses.New(sess)
+
+ params := &ses.CreateConfigurationSetInput{
+ ConfigurationSet: &ses.ConfigurationSet{ // Required
+ Name: aws.String("ConfigurationSetName"), // Required
+ },
+ }
+ resp, err := svc.CreateConfigurationSet(params)
+
+ if err != nil {
+ // Print the error, cast err to awserr.Error to get the Code and
+ // Message from an error.
+ fmt.Println(err.Error())
+ return
+ }
+
+ // Pretty-print the response data.
+ fmt.Println(resp)
+}
+
+func ExampleSES_CreateConfigurationSetEventDestination() {
+ sess, err := session.NewSession()
+ if err != nil {
+ fmt.Println("failed to create session,", err)
+ return
+ }
+
+ svc := ses.New(sess)
+
+ params := &ses.CreateConfigurationSetEventDestinationInput{
+ ConfigurationSetName: aws.String("ConfigurationSetName"), // Required
+ EventDestination: &ses.EventDestination{ // Required
+ MatchingEventTypes: []*string{ // Required
+ aws.String("EventType"), // Required
+ // More values...
+ },
+ Name: aws.String("EventDestinationName"), // Required
+ CloudWatchDestination: &ses.CloudWatchDestination{
+ DimensionConfigurations: []*ses.CloudWatchDimensionConfiguration{ // Required
+ { // Required
+ DefaultDimensionValue: aws.String("DefaultDimensionValue"), // Required
+ DimensionName: aws.String("DimensionName"), // Required
+ DimensionValueSource: aws.String("DimensionValueSource"), // Required
+ },
+ // More values...
+ },
+ },
+ Enabled: aws.Bool(true),
+ KinesisFirehoseDestination: &ses.KinesisFirehoseDestination{
+ DeliveryStreamARN: aws.String("AmazonResourceName"), // Required
+ IAMRoleARN: aws.String("AmazonResourceName"), // Required
+ },
+ },
+ }
+ resp, err := svc.CreateConfigurationSetEventDestination(params)
+
+ if err != nil {
+ // Print the error, cast err to awserr.Error to get the Code and
+ // Message from an error.
+ fmt.Println(err.Error())
+ return
+ }
+
+ // Pretty-print the response data.
+ fmt.Println(resp)
+}
+
func ExampleSES_CreateReceiptFilter() {
sess, err := session.NewSession()
if err != nil {
@@ -172,6 +246,57 @@ func ExampleSES_CreateReceiptRuleSet() {
fmt.Println(resp)
}
+func ExampleSES_DeleteConfigurationSet() {
+ sess, err := session.NewSession()
+ if err != nil {
+ fmt.Println("failed to create session,", err)
+ return
+ }
+
+ svc := ses.New(sess)
+
+ params := &ses.DeleteConfigurationSetInput{
+ ConfigurationSetName: aws.String("ConfigurationSetName"), // Required
+ }
+ resp, err := svc.DeleteConfigurationSet(params)
+
+ if err != nil {
+ // Print the error, cast err to awserr.Error to get the Code and
+ // Message from an error.
+ fmt.Println(err.Error())
+ return
+ }
+
+ // Pretty-print the response data.
+ fmt.Println(resp)
+}
+
+func ExampleSES_DeleteConfigurationSetEventDestination() {
+ sess, err := session.NewSession()
+ if err != nil {
+ fmt.Println("failed to create session,", err)
+ return
+ }
+
+ svc := ses.New(sess)
+
+ params := &ses.DeleteConfigurationSetEventDestinationInput{
+ ConfigurationSetName: aws.String("ConfigurationSetName"), // Required
+ EventDestinationName: aws.String("EventDestinationName"), // Required
+ }
+ resp, err := svc.DeleteConfigurationSetEventDestination(params)
+
+ if err != nil {
+ // Print the error, cast err to awserr.Error to get the Code and
+ // Message from an error.
+ fmt.Println(err.Error())
+ return
+ }
+
+ // Pretty-print the response data.
+ fmt.Println(resp)
+}
+
func ExampleSES_DeleteIdentity() {
sess, err := session.NewSession()
if err != nil {
@@ -347,6 +472,35 @@ func ExampleSES_DescribeActiveReceiptRuleSet() {
fmt.Println(resp)
}
+func ExampleSES_DescribeConfigurationSet() {
+ sess, err := session.NewSession()
+ if err != nil {
+ fmt.Println("failed to create session,", err)
+ return
+ }
+
+ svc := ses.New(sess)
+
+ params := &ses.DescribeConfigurationSetInput{
+ ConfigurationSetName: aws.String("ConfigurationSetName"), // Required
+ ConfigurationSetAttributeNames: []*string{
+ aws.String("ConfigurationSetAttribute"), // Required
+ // More values...
+ },
+ }
+ resp, err := svc.DescribeConfigurationSet(params)
+
+ if err != nil {
+ // Print the error, cast err to awserr.Error to get the Code and
+ // Message from an error.
+ fmt.Println(err.Error())
+ return
+ }
+
+ // Pretty-print the response data.
+ fmt.Println(resp)
+}
+
func ExampleSES_DescribeReceiptRule() {
sess, err := session.NewSession()
if err != nil {
@@ -585,6 +739,32 @@ func ExampleSES_GetSendStatistics() {
fmt.Println(resp)
}
+func ExampleSES_ListConfigurationSets() {
+ sess, err := session.NewSession()
+ if err != nil {
+ fmt.Println("failed to create session,", err)
+ return
+ }
+
+ svc := ses.New(sess)
+
+ params := &ses.ListConfigurationSetsInput{
+ MaxItems: aws.Int64(1),
+ NextToken: aws.String("NextToken"),
+ }
+ resp, err := svc.ListConfigurationSets(params)
+
+ if err != nil {
+ // Print the error, cast err to awserr.Error to get the Code and
+ // Message from an error.
+ fmt.Println(err.Error())
+ return
+ }
+
+ // Pretty-print the response data.
+ fmt.Println(resp)
+}
+
func ExampleSES_ListIdentities() {
sess, err := session.NewSession()
if err != nil {
@@ -866,7 +1046,8 @@ func ExampleSES_SendEmail() {
Charset: aws.String("Charset"),
},
},
- Source: aws.String("Address"), // Required
+ Source: aws.String("Address"), // Required
+ ConfigurationSetName: aws.String("ConfigurationSetName"),
ReplyToAddresses: []*string{
aws.String("Address"), // Required
// More values...
@@ -874,6 +1055,13 @@ func ExampleSES_SendEmail() {
ReturnPath: aws.String("Address"),
ReturnPathArn: aws.String("AmazonResourceName"),
SourceArn: aws.String("AmazonResourceName"),
+ Tags: []*ses.MessageTag{
+ { // Required
+ Name: aws.String("MessageTagName"), // Required
+ Value: aws.String("MessageTagValue"), // Required
+ },
+ // More values...
+ },
}
resp, err := svc.SendEmail(params)
@@ -901,6 +1089,7 @@ func ExampleSES_SendRawEmail() {
RawMessage: &ses.RawMessage{ // Required
Data: []byte("PAYLOAD"), // Required
},
+ ConfigurationSetName: aws.String("ConfigurationSetName"),
Destinations: []*string{
aws.String("Address"), // Required
// More values...
@@ -909,6 +1098,13 @@ func ExampleSES_SendRawEmail() {
ReturnPathArn: aws.String("AmazonResourceName"),
Source: aws.String("Address"),
SourceArn: aws.String("AmazonResourceName"),
+ Tags: []*ses.MessageTag{
+ { // Required
+ Name: aws.String("MessageTagName"), // Required
+ Value: aws.String("MessageTagValue"), // Required
+ },
+ // More values...
+ },
}
resp, err := svc.SendRawEmail(params)
@@ -1108,6 +1304,53 @@ func ExampleSES_SetReceiptRulePosition() {
fmt.Println(resp)
}
+func ExampleSES_UpdateConfigurationSetEventDestination() {
+ sess, err := session.NewSession()
+ if err != nil {
+ fmt.Println("failed to create session,", err)
+ return
+ }
+
+ svc := ses.New(sess)
+
+ params := &ses.UpdateConfigurationSetEventDestinationInput{
+ ConfigurationSetName: aws.String("ConfigurationSetName"), // Required
+ EventDestination: &ses.EventDestination{ // Required
+ MatchingEventTypes: []*string{ // Required
+ aws.String("EventType"), // Required
+ // More values...
+ },
+ Name: aws.String("EventDestinationName"), // Required
+ CloudWatchDestination: &ses.CloudWatchDestination{
+ DimensionConfigurations: []*ses.CloudWatchDimensionConfiguration{ // Required
+ { // Required
+ DefaultDimensionValue: aws.String("DefaultDimensionValue"), // Required
+ DimensionName: aws.String("DimensionName"), // Required
+ DimensionValueSource: aws.String("DimensionValueSource"), // Required
+ },
+ // More values...
+ },
+ },
+ Enabled: aws.Bool(true),
+ KinesisFirehoseDestination: &ses.KinesisFirehoseDestination{
+ DeliveryStreamARN: aws.String("AmazonResourceName"), // Required
+ IAMRoleARN: aws.String("AmazonResourceName"), // Required
+ },
+ },
+ }
+ resp, err := svc.UpdateConfigurationSetEventDestination(params)
+
+ if err != nil {
+ // Print the error, cast err to awserr.Error to get the Code and
+ // Message from an error.
+ fmt.Println(err.Error())
+ return
+ }
+
+ // Pretty-print the response data.
+ fmt.Println(resp)
+}
+
func ExampleSES_UpdateReceiptRule() {
sess, err := session.NewSession()
if err != nil {
diff --git a/vendor/github.com/aws/aws-sdk-go/service/ses/sesiface/interface.go b/vendor/github.com/aws/aws-sdk-go/service/ses/sesiface/interface.go
index 21c0dec..d4192d2 100644
--- a/vendor/github.com/aws/aws-sdk-go/service/ses/sesiface/interface.go
+++ b/vendor/github.com/aws/aws-sdk-go/service/ses/sesiface/interface.go
@@ -63,6 +63,14 @@ type SESAPI interface {
CloneReceiptRuleSet(*ses.CloneReceiptRuleSetInput) (*ses.CloneReceiptRuleSetOutput, error)
+ CreateConfigurationSetRequest(*ses.CreateConfigurationSetInput) (*request.Request, *ses.CreateConfigurationSetOutput)
+
+ CreateConfigurationSet(*ses.CreateConfigurationSetInput) (*ses.CreateConfigurationSetOutput, error)
+
+ CreateConfigurationSetEventDestinationRequest(*ses.CreateConfigurationSetEventDestinationInput) (*request.Request, *ses.CreateConfigurationSetEventDestinationOutput)
+
+ CreateConfigurationSetEventDestination(*ses.CreateConfigurationSetEventDestinationInput) (*ses.CreateConfigurationSetEventDestinationOutput, error)
+
CreateReceiptFilterRequest(*ses.CreateReceiptFilterInput) (*request.Request, *ses.CreateReceiptFilterOutput)
CreateReceiptFilter(*ses.CreateReceiptFilterInput) (*ses.CreateReceiptFilterOutput, error)
@@ -75,6 +83,14 @@ type SESAPI interface {
CreateReceiptRuleSet(*ses.CreateReceiptRuleSetInput) (*ses.CreateReceiptRuleSetOutput, error)
+ DeleteConfigurationSetRequest(*ses.DeleteConfigurationSetInput) (*request.Request, *ses.DeleteConfigurationSetOutput)
+
+ DeleteConfigurationSet(*ses.DeleteConfigurationSetInput) (*ses.DeleteConfigurationSetOutput, error)
+
+ DeleteConfigurationSetEventDestinationRequest(*ses.DeleteConfigurationSetEventDestinationInput) (*request.Request, *ses.DeleteConfigurationSetEventDestinationOutput)
+
+ DeleteConfigurationSetEventDestination(*ses.DeleteConfigurationSetEventDestinationInput) (*ses.DeleteConfigurationSetEventDestinationOutput, error)
+
DeleteIdentityRequest(*ses.DeleteIdentityInput) (*request.Request, *ses.DeleteIdentityOutput)
DeleteIdentity(*ses.DeleteIdentityInput) (*ses.DeleteIdentityOutput, error)
@@ -103,6 +119,10 @@ type SESAPI interface {
DescribeActiveReceiptRuleSet(*ses.DescribeActiveReceiptRuleSetInput) (*ses.DescribeActiveReceiptRuleSetOutput, error)
+ DescribeConfigurationSetRequest(*ses.DescribeConfigurationSetInput) (*request.Request, *ses.DescribeConfigurationSetOutput)
+
+ DescribeConfigurationSet(*ses.DescribeConfigurationSetInput) (*ses.DescribeConfigurationSetOutput, error)
+
DescribeReceiptRuleRequest(*ses.DescribeReceiptRuleInput) (*request.Request, *ses.DescribeReceiptRuleOutput)
DescribeReceiptRule(*ses.DescribeReceiptRuleInput) (*ses.DescribeReceiptRuleOutput, error)
@@ -139,6 +159,10 @@ type SESAPI interface {
GetSendStatistics(*ses.GetSendStatisticsInput) (*ses.GetSendStatisticsOutput, error)
+ ListConfigurationSetsRequest(*ses.ListConfigurationSetsInput) (*request.Request, *ses.ListConfigurationSetsOutput)
+
+ ListConfigurationSets(*ses.ListConfigurationSetsInput) (*ses.ListConfigurationSetsOutput, error)
+
ListIdentitiesRequest(*ses.ListIdentitiesInput) (*request.Request, *ses.ListIdentitiesOutput)
ListIdentities(*ses.ListIdentitiesInput) (*ses.ListIdentitiesOutput, error)
@@ -209,6 +233,10 @@ type SESAPI interface {
SetReceiptRulePosition(*ses.SetReceiptRulePositionInput) (*ses.SetReceiptRulePositionOutput, error)
+ UpdateConfigurationSetEventDestinationRequest(*ses.UpdateConfigurationSetEventDestinationInput) (*request.Request, *ses.UpdateConfigurationSetEventDestinationOutput)
+
+ UpdateConfigurationSetEventDestination(*ses.UpdateConfigurationSetEventDestinationInput) (*ses.UpdateConfigurationSetEventDestinationOutput, error)
+
UpdateReceiptRuleRequest(*ses.UpdateReceiptRuleInput) (*request.Request, *ses.UpdateReceiptRuleOutput)
UpdateReceiptRule(*ses.UpdateReceiptRuleInput) (*ses.UpdateReceiptRuleOutput, error)
diff --git a/vendor/github.com/aws/aws-sdk-go/service/simpledb/api.go b/vendor/github.com/aws/aws-sdk-go/service/simpledb/api.go
index 8919195..2080f4c 100644
--- a/vendor/github.com/aws/aws-sdk-go/service/simpledb/api.go
+++ b/vendor/github.com/aws/aws-sdk-go/service/simpledb/api.go
@@ -987,6 +987,30 @@ func (s Attribute) GoString() string {
return s.String()
}
+// SetAlternateNameEncoding sets the AlternateNameEncoding field's value.
+func (s *Attribute) SetAlternateNameEncoding(v string) *Attribute {
+ s.AlternateNameEncoding = &v
+ return s
+}
+
+// SetAlternateValueEncoding sets the AlternateValueEncoding field's value.
+func (s *Attribute) SetAlternateValueEncoding(v string) *Attribute {
+ s.AlternateValueEncoding = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *Attribute) SetName(v string) *Attribute {
+ s.Name = &v
+ return s
+}
+
+// SetValue sets the Value field's value.
+func (s *Attribute) SetValue(v string) *Attribute {
+ s.Value = &v
+ return s
+}
+
type BatchDeleteAttributesInput struct {
_ struct{} `type:"structure"`
@@ -1037,6 +1061,18 @@ func (s *BatchDeleteAttributesInput) Validate() error {
return nil
}
+// SetDomainName sets the DomainName field's value.
+func (s *BatchDeleteAttributesInput) SetDomainName(v string) *BatchDeleteAttributesInput {
+ s.DomainName = &v
+ return s
+}
+
+// SetItems sets the Items field's value.
+func (s *BatchDeleteAttributesInput) SetItems(v []*DeletableItem) *BatchDeleteAttributesInput {
+ s.Items = v
+ return s
+}
+
type BatchDeleteAttributesOutput struct {
_ struct{} `type:"structure"`
}
@@ -1101,6 +1137,18 @@ func (s *BatchPutAttributesInput) Validate() error {
return nil
}
+// SetDomainName sets the DomainName field's value.
+func (s *BatchPutAttributesInput) SetDomainName(v string) *BatchPutAttributesInput {
+ s.DomainName = &v
+ return s
+}
+
+// SetItems sets the Items field's value.
+func (s *BatchPutAttributesInput) SetItems(v []*ReplaceableItem) *BatchPutAttributesInput {
+ s.Items = v
+ return s
+}
+
type BatchPutAttributesOutput struct {
_ struct{} `type:"structure"`
}
@@ -1148,6 +1196,12 @@ func (s *CreateDomainInput) Validate() error {
return nil
}
+// SetDomainName sets the DomainName field's value.
+func (s *CreateDomainInput) SetDomainName(v string) *CreateDomainInput {
+ s.DomainName = &v
+ return s
+}
+
type CreateDomainOutput struct {
_ struct{} `type:"structure"`
}
@@ -1197,6 +1251,18 @@ func (s *DeletableAttribute) Validate() error {
return nil
}
+// SetName sets the Name field's value.
+func (s *DeletableAttribute) SetName(v string) *DeletableAttribute {
+ s.Name = &v
+ return s
+}
+
+// SetValue sets the Value field's value.
+func (s *DeletableAttribute) SetValue(v string) *DeletableAttribute {
+ s.Value = &v
+ return s
+}
+
type DeletableItem struct {
_ struct{} `type:"structure"`
@@ -1239,6 +1305,18 @@ func (s *DeletableItem) Validate() error {
return nil
}
+// SetAttributes sets the Attributes field's value.
+func (s *DeletableItem) SetAttributes(v []*DeletableAttribute) *DeletableItem {
+ s.Attributes = v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *DeletableItem) SetName(v string) *DeletableItem {
+ s.Name = &v
+ return s
+}
+
type DeleteAttributesInput struct {
_ struct{} `type:"structure"`
@@ -1299,6 +1377,30 @@ func (s *DeleteAttributesInput) Validate() error {
return nil
}
+// SetAttributes sets the Attributes field's value.
+func (s *DeleteAttributesInput) SetAttributes(v []*DeletableAttribute) *DeleteAttributesInput {
+ s.Attributes = v
+ return s
+}
+
+// SetDomainName sets the DomainName field's value.
+func (s *DeleteAttributesInput) SetDomainName(v string) *DeleteAttributesInput {
+ s.DomainName = &v
+ return s
+}
+
+// SetExpected sets the Expected field's value.
+func (s *DeleteAttributesInput) SetExpected(v *UpdateCondition) *DeleteAttributesInput {
+ s.Expected = v
+ return s
+}
+
+// SetItemName sets the ItemName field's value.
+func (s *DeleteAttributesInput) SetItemName(v string) *DeleteAttributesInput {
+ s.ItemName = &v
+ return s
+}
+
type DeleteAttributesOutput struct {
_ struct{} `type:"structure"`
}
@@ -1345,6 +1447,12 @@ func (s *DeleteDomainInput) Validate() error {
return nil
}
+// SetDomainName sets the DomainName field's value.
+func (s *DeleteDomainInput) SetDomainName(v string) *DeleteDomainInput {
+ s.DomainName = &v
+ return s
+}
+
type DeleteDomainOutput struct {
_ struct{} `type:"structure"`
}
@@ -1391,6 +1499,12 @@ func (s *DomainMetadataInput) Validate() error {
return nil
}
+// SetDomainName sets the DomainName field's value.
+func (s *DomainMetadataInput) SetDomainName(v string) *DomainMetadataInput {
+ s.DomainName = &v
+ return s
+}
+
type DomainMetadataOutput struct {
_ struct{} `type:"structure"`
@@ -1426,6 +1540,48 @@ func (s DomainMetadataOutput) GoString() string {
return s.String()
}
+// SetAttributeNameCount sets the AttributeNameCount field's value.
+func (s *DomainMetadataOutput) SetAttributeNameCount(v int64) *DomainMetadataOutput {
+ s.AttributeNameCount = &v
+ return s
+}
+
+// SetAttributeNamesSizeBytes sets the AttributeNamesSizeBytes field's value.
+func (s *DomainMetadataOutput) SetAttributeNamesSizeBytes(v int64) *DomainMetadataOutput {
+ s.AttributeNamesSizeBytes = &v
+ return s
+}
+
+// SetAttributeValueCount sets the AttributeValueCount field's value.
+func (s *DomainMetadataOutput) SetAttributeValueCount(v int64) *DomainMetadataOutput {
+ s.AttributeValueCount = &v
+ return s
+}
+
+// SetAttributeValuesSizeBytes sets the AttributeValuesSizeBytes field's value.
+func (s *DomainMetadataOutput) SetAttributeValuesSizeBytes(v int64) *DomainMetadataOutput {
+ s.AttributeValuesSizeBytes = &v
+ return s
+}
+
+// SetItemCount sets the ItemCount field's value.
+func (s *DomainMetadataOutput) SetItemCount(v int64) *DomainMetadataOutput {
+ s.ItemCount = &v
+ return s
+}
+
+// SetItemNamesSizeBytes sets the ItemNamesSizeBytes field's value.
+func (s *DomainMetadataOutput) SetItemNamesSizeBytes(v int64) *DomainMetadataOutput {
+ s.ItemNamesSizeBytes = &v
+ return s
+}
+
+// SetTimestamp sets the Timestamp field's value.
+func (s *DomainMetadataOutput) SetTimestamp(v int64) *DomainMetadataOutput {
+ s.Timestamp = &v
+ return s
+}
+
type GetAttributesInput struct {
_ struct{} `type:"structure"`
@@ -1473,6 +1629,30 @@ func (s *GetAttributesInput) Validate() error {
return nil
}
+// SetAttributeNames sets the AttributeNames field's value.
+func (s *GetAttributesInput) SetAttributeNames(v []*string) *GetAttributesInput {
+ s.AttributeNames = v
+ return s
+}
+
+// SetConsistentRead sets the ConsistentRead field's value.
+func (s *GetAttributesInput) SetConsistentRead(v bool) *GetAttributesInput {
+ s.ConsistentRead = &v
+ return s
+}
+
+// SetDomainName sets the DomainName field's value.
+func (s *GetAttributesInput) SetDomainName(v string) *GetAttributesInput {
+ s.DomainName = &v
+ return s
+}
+
+// SetItemName sets the ItemName field's value.
+func (s *GetAttributesInput) SetItemName(v string) *GetAttributesInput {
+ s.ItemName = &v
+ return s
+}
+
type GetAttributesOutput struct {
_ struct{} `type:"structure"`
@@ -1490,6 +1670,12 @@ func (s GetAttributesOutput) GoString() string {
return s.String()
}
+// SetAttributes sets the Attributes field's value.
+func (s *GetAttributesOutput) SetAttributes(v []*Attribute) *GetAttributesOutput {
+ s.Attributes = v
+ return s
+}
+
type Item struct {
_ struct{} `type:"structure"`
@@ -1516,6 +1702,24 @@ func (s Item) GoString() string {
return s.String()
}
+// SetAlternateNameEncoding sets the AlternateNameEncoding field's value.
+func (s *Item) SetAlternateNameEncoding(v string) *Item {
+ s.AlternateNameEncoding = &v
+ return s
+}
+
+// SetAttributes sets the Attributes field's value.
+func (s *Item) SetAttributes(v []*Attribute) *Item {
+ s.Attributes = v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *Item) SetName(v string) *Item {
+ s.Name = &v
+ return s
+}
+
type ListDomainsInput struct {
_ struct{} `type:"structure"`
@@ -1538,6 +1742,18 @@ func (s ListDomainsInput) GoString() string {
return s.String()
}
+// SetMaxNumberOfDomains sets the MaxNumberOfDomains field's value.
+func (s *ListDomainsInput) SetMaxNumberOfDomains(v int64) *ListDomainsInput {
+ s.MaxNumberOfDomains = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListDomainsInput) SetNextToken(v string) *ListDomainsInput {
+ s.NextToken = &v
+ return s
+}
+
type ListDomainsOutput struct {
_ struct{} `type:"structure"`
@@ -1559,6 +1775,18 @@ func (s ListDomainsOutput) GoString() string {
return s.String()
}
+// SetDomainNames sets the DomainNames field's value.
+func (s *ListDomainsOutput) SetDomainNames(v []*string) *ListDomainsOutput {
+ s.DomainNames = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListDomainsOutput) SetNextToken(v string) *ListDomainsOutput {
+ s.NextToken = &v
+ return s
+}
+
type PutAttributesInput struct {
_ struct{} `type:"structure"`
@@ -1622,6 +1850,30 @@ func (s *PutAttributesInput) Validate() error {
return nil
}
+// SetAttributes sets the Attributes field's value.
+func (s *PutAttributesInput) SetAttributes(v []*ReplaceableAttribute) *PutAttributesInput {
+ s.Attributes = v
+ return s
+}
+
+// SetDomainName sets the DomainName field's value.
+func (s *PutAttributesInput) SetDomainName(v string) *PutAttributesInput {
+ s.DomainName = &v
+ return s
+}
+
+// SetExpected sets the Expected field's value.
+func (s *PutAttributesInput) SetExpected(v *UpdateCondition) *PutAttributesInput {
+ s.Expected = v
+ return s
+}
+
+// SetItemName sets the ItemName field's value.
+func (s *PutAttributesInput) SetItemName(v string) *PutAttributesInput {
+ s.ItemName = &v
+ return s
+}
+
type PutAttributesOutput struct {
_ struct{} `type:"structure"`
}
@@ -1680,6 +1932,24 @@ func (s *ReplaceableAttribute) Validate() error {
return nil
}
+// SetName sets the Name field's value.
+func (s *ReplaceableAttribute) SetName(v string) *ReplaceableAttribute {
+ s.Name = &v
+ return s
+}
+
+// SetReplace sets the Replace field's value.
+func (s *ReplaceableAttribute) SetReplace(v bool) *ReplaceableAttribute {
+ s.Replace = &v
+ return s
+}
+
+// SetValue sets the Value field's value.
+func (s *ReplaceableAttribute) SetValue(v string) *ReplaceableAttribute {
+ s.Value = &v
+ return s
+}
+
type ReplaceableItem struct {
_ struct{} `type:"structure"`
@@ -1730,6 +2000,18 @@ func (s *ReplaceableItem) Validate() error {
return nil
}
+// SetAttributes sets the Attributes field's value.
+func (s *ReplaceableItem) SetAttributes(v []*ReplaceableAttribute) *ReplaceableItem {
+ s.Attributes = v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *ReplaceableItem) SetName(v string) *ReplaceableItem {
+ s.Name = &v
+ return s
+}
+
type SelectInput struct {
_ struct{} `type:"structure"`
@@ -1769,6 +2051,24 @@ func (s *SelectInput) Validate() error {
return nil
}
+// SetConsistentRead sets the ConsistentRead field's value.
+func (s *SelectInput) SetConsistentRead(v bool) *SelectInput {
+ s.ConsistentRead = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *SelectInput) SetNextToken(v string) *SelectInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetSelectExpression sets the SelectExpression field's value.
+func (s *SelectInput) SetSelectExpression(v string) *SelectInput {
+ s.SelectExpression = &v
+ return s
+}
+
type SelectOutput struct {
_ struct{} `type:"structure"`
@@ -1789,6 +2089,18 @@ func (s SelectOutput) GoString() string {
return s.String()
}
+// SetItems sets the Items field's value.
+func (s *SelectOutput) SetItems(v []*Item) *SelectOutput {
+ s.Items = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *SelectOutput) SetNextToken(v string) *SelectOutput {
+ s.NextToken = &v
+ return s
+}
+
// Specifies the conditions under which data should be updated. If an update
// condition is specified for a request, the data will only be updated if the
// condition is satisfied. For example, if an attribute with a specific name
@@ -1820,3 +2132,21 @@ func (s UpdateCondition) String() string {
func (s UpdateCondition) GoString() string {
return s.String()
}
+
+// SetExists sets the Exists field's value.
+func (s *UpdateCondition) SetExists(v bool) *UpdateCondition {
+ s.Exists = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *UpdateCondition) SetName(v string) *UpdateCondition {
+ s.Name = &v
+ return s
+}
+
+// SetValue sets the Value field's value.
+func (s *UpdateCondition) SetValue(v string) *UpdateCondition {
+ s.Value = &v
+ return s
+}
diff --git a/vendor/github.com/aws/aws-sdk-go/service/sms/api.go b/vendor/github.com/aws/aws-sdk-go/service/sms/api.go
index 3451726..5702f81 100644
--- a/vendor/github.com/aws/aws-sdk-go/service/sms/api.go
+++ b/vendor/github.com/aws/aws-sdk-go/service/sms/api.go
@@ -1046,6 +1046,66 @@ func (s Connector) GoString() string {
return s.String()
}
+// SetAssociatedOn sets the AssociatedOn field's value.
+func (s *Connector) SetAssociatedOn(v time.Time) *Connector {
+ s.AssociatedOn = &v
+ return s
+}
+
+// SetCapabilityList sets the CapabilityList field's value.
+func (s *Connector) SetCapabilityList(v []*string) *Connector {
+ s.CapabilityList = v
+ return s
+}
+
+// SetConnectorId sets the ConnectorId field's value.
+func (s *Connector) SetConnectorId(v string) *Connector {
+ s.ConnectorId = &v
+ return s
+}
+
+// SetIpAddress sets the IpAddress field's value.
+func (s *Connector) SetIpAddress(v string) *Connector {
+ s.IpAddress = &v
+ return s
+}
+
+// SetMacAddress sets the MacAddress field's value.
+func (s *Connector) SetMacAddress(v string) *Connector {
+ s.MacAddress = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *Connector) SetStatus(v string) *Connector {
+ s.Status = &v
+ return s
+}
+
+// SetVersion sets the Version field's value.
+func (s *Connector) SetVersion(v string) *Connector {
+ s.Version = &v
+ return s
+}
+
+// SetVmManagerId sets the VmManagerId field's value.
+func (s *Connector) SetVmManagerId(v string) *Connector {
+ s.VmManagerId = &v
+ return s
+}
+
+// SetVmManagerName sets the VmManagerName field's value.
+func (s *Connector) SetVmManagerName(v string) *Connector {
+ s.VmManagerName = &v
+ return s
+}
+
+// SetVmManagerType sets the VmManagerType field's value.
+func (s *Connector) SetVmManagerType(v string) *Connector {
+ s.VmManagerType = &v
+ return s
+}
+
type CreateReplicationJobInput struct {
_ struct{} `type:"structure"`
@@ -1105,6 +1165,42 @@ func (s *CreateReplicationJobInput) Validate() error {
return nil
}
+// SetDescription sets the Description field's value.
+func (s *CreateReplicationJobInput) SetDescription(v string) *CreateReplicationJobInput {
+ s.Description = &v
+ return s
+}
+
+// SetFrequency sets the Frequency field's value.
+func (s *CreateReplicationJobInput) SetFrequency(v int64) *CreateReplicationJobInput {
+ s.Frequency = &v
+ return s
+}
+
+// SetLicenseType sets the LicenseType field's value.
+func (s *CreateReplicationJobInput) SetLicenseType(v string) *CreateReplicationJobInput {
+ s.LicenseType = &v
+ return s
+}
+
+// SetRoleName sets the RoleName field's value.
+func (s *CreateReplicationJobInput) SetRoleName(v string) *CreateReplicationJobInput {
+ s.RoleName = &v
+ return s
+}
+
+// SetSeedReplicationTime sets the SeedReplicationTime field's value.
+func (s *CreateReplicationJobInput) SetSeedReplicationTime(v time.Time) *CreateReplicationJobInput {
+ s.SeedReplicationTime = &v
+ return s
+}
+
+// SetServerId sets the ServerId field's value.
+func (s *CreateReplicationJobInput) SetServerId(v string) *CreateReplicationJobInput {
+ s.ServerId = &v
+ return s
+}
+
type CreateReplicationJobOutput struct {
_ struct{} `type:"structure"`
@@ -1122,6 +1218,12 @@ func (s CreateReplicationJobOutput) GoString() string {
return s.String()
}
+// SetReplicationJobId sets the ReplicationJobId field's value.
+func (s *CreateReplicationJobOutput) SetReplicationJobId(v string) *CreateReplicationJobOutput {
+ s.ReplicationJobId = &v
+ return s
+}
+
type DeleteReplicationJobInput struct {
_ struct{} `type:"structure"`
@@ -1154,6 +1256,12 @@ func (s *DeleteReplicationJobInput) Validate() error {
return nil
}
+// SetReplicationJobId sets the ReplicationJobId field's value.
+func (s *DeleteReplicationJobInput) SetReplicationJobId(v string) *DeleteReplicationJobInput {
+ s.ReplicationJobId = &v
+ return s
+}
+
type DeleteReplicationJobOutput struct {
_ struct{} `type:"structure"`
}
@@ -1228,6 +1336,12 @@ func (s *DisassociateConnectorInput) Validate() error {
return nil
}
+// SetConnectorId sets the ConnectorId field's value.
+func (s *DisassociateConnectorInput) SetConnectorId(v string) *DisassociateConnectorInput {
+ s.ConnectorId = &v
+ return s
+}
+
type DisassociateConnectorOutput struct {
_ struct{} `type:"structure"`
}
@@ -1263,6 +1377,18 @@ func (s GetConnectorsInput) GoString() string {
return s.String()
}
+// SetMaxResults sets the MaxResults field's value.
+func (s *GetConnectorsInput) SetMaxResults(v int64) *GetConnectorsInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *GetConnectorsInput) SetNextToken(v string) *GetConnectorsInput {
+ s.NextToken = &v
+ return s
+}
+
type GetConnectorsOutput struct {
_ struct{} `type:"structure"`
@@ -1283,6 +1409,18 @@ func (s GetConnectorsOutput) GoString() string {
return s.String()
}
+// SetConnectorList sets the ConnectorList field's value.
+func (s *GetConnectorsOutput) SetConnectorList(v []*Connector) *GetConnectorsOutput {
+ s.ConnectorList = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *GetConnectorsOutput) SetNextToken(v string) *GetConnectorsOutput {
+ s.NextToken = &v
+ return s
+}
+
type GetReplicationJobsInput struct {
_ struct{} `type:"structure"`
@@ -1307,6 +1445,24 @@ func (s GetReplicationJobsInput) GoString() string {
return s.String()
}
+// SetMaxResults sets the MaxResults field's value.
+func (s *GetReplicationJobsInput) SetMaxResults(v int64) *GetReplicationJobsInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *GetReplicationJobsInput) SetNextToken(v string) *GetReplicationJobsInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetReplicationJobId sets the ReplicationJobId field's value.
+func (s *GetReplicationJobsInput) SetReplicationJobId(v string) *GetReplicationJobsInput {
+ s.ReplicationJobId = &v
+ return s
+}
+
type GetReplicationJobsOutput struct {
_ struct{} `type:"structure"`
@@ -1327,6 +1483,18 @@ func (s GetReplicationJobsOutput) GoString() string {
return s.String()
}
+// SetNextToken sets the NextToken field's value.
+func (s *GetReplicationJobsOutput) SetNextToken(v string) *GetReplicationJobsOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetReplicationJobList sets the ReplicationJobList field's value.
+func (s *GetReplicationJobsOutput) SetReplicationJobList(v []*ReplicationJob) *GetReplicationJobsOutput {
+ s.ReplicationJobList = v
+ return s
+}
+
type GetReplicationRunsInput struct {
_ struct{} `type:"structure"`
@@ -1366,6 +1534,24 @@ func (s *GetReplicationRunsInput) Validate() error {
return nil
}
+// SetMaxResults sets the MaxResults field's value.
+func (s *GetReplicationRunsInput) SetMaxResults(v int64) *GetReplicationRunsInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *GetReplicationRunsInput) SetNextToken(v string) *GetReplicationRunsInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetReplicationJobId sets the ReplicationJobId field's value.
+func (s *GetReplicationRunsInput) SetReplicationJobId(v string) *GetReplicationRunsInput {
+ s.ReplicationJobId = &v
+ return s
+}
+
type GetReplicationRunsOutput struct {
_ struct{} `type:"structure"`
@@ -1389,6 +1575,24 @@ func (s GetReplicationRunsOutput) GoString() string {
return s.String()
}
+// SetNextToken sets the NextToken field's value.
+func (s *GetReplicationRunsOutput) SetNextToken(v string) *GetReplicationRunsOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetReplicationJob sets the ReplicationJob field's value.
+func (s *GetReplicationRunsOutput) SetReplicationJob(v *ReplicationJob) *GetReplicationRunsOutput {
+ s.ReplicationJob = v
+ return s
+}
+
+// SetReplicationRunList sets the ReplicationRunList field's value.
+func (s *GetReplicationRunsOutput) SetReplicationRunList(v []*ReplicationRun) *GetReplicationRunsOutput {
+ s.ReplicationRunList = v
+ return s
+}
+
type GetServersInput struct {
_ struct{} `type:"structure"`
@@ -1410,6 +1614,18 @@ func (s GetServersInput) GoString() string {
return s.String()
}
+// SetMaxResults sets the MaxResults field's value.
+func (s *GetServersInput) SetMaxResults(v int64) *GetServersInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *GetServersInput) SetNextToken(v string) *GetServersInput {
+ s.NextToken = &v
+ return s
+}
+
type GetServersOutput struct {
_ struct{} `type:"structure"`
@@ -1436,6 +1652,30 @@ func (s GetServersOutput) GoString() string {
return s.String()
}
+// SetLastModifiedOn sets the LastModifiedOn field's value.
+func (s *GetServersOutput) SetLastModifiedOn(v time.Time) *GetServersOutput {
+ s.LastModifiedOn = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *GetServersOutput) SetNextToken(v string) *GetServersOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetServerCatalogStatus sets the ServerCatalogStatus field's value.
+func (s *GetServersOutput) SetServerCatalogStatus(v string) *GetServersOutput {
+ s.ServerCatalogStatus = &v
+ return s
+}
+
+// SetServerList sets the ServerList field's value.
+func (s *GetServersOutput) SetServerList(v []*Server) *GetServersOutput {
+ s.ServerList = v
+ return s
+}
+
type ImportServerCatalogInput struct {
_ struct{} `type:"structure"`
}
@@ -1523,6 +1763,90 @@ func (s ReplicationJob) GoString() string {
return s.String()
}
+// SetDescription sets the Description field's value.
+func (s *ReplicationJob) SetDescription(v string) *ReplicationJob {
+ s.Description = &v
+ return s
+}
+
+// SetFrequency sets the Frequency field's value.
+func (s *ReplicationJob) SetFrequency(v int64) *ReplicationJob {
+ s.Frequency = &v
+ return s
+}
+
+// SetLatestAmiId sets the LatestAmiId field's value.
+func (s *ReplicationJob) SetLatestAmiId(v string) *ReplicationJob {
+ s.LatestAmiId = &v
+ return s
+}
+
+// SetLicenseType sets the LicenseType field's value.
+func (s *ReplicationJob) SetLicenseType(v string) *ReplicationJob {
+ s.LicenseType = &v
+ return s
+}
+
+// SetNextReplicationRunStartTime sets the NextReplicationRunStartTime field's value.
+func (s *ReplicationJob) SetNextReplicationRunStartTime(v time.Time) *ReplicationJob {
+ s.NextReplicationRunStartTime = &v
+ return s
+}
+
+// SetReplicationJobId sets the ReplicationJobId field's value.
+func (s *ReplicationJob) SetReplicationJobId(v string) *ReplicationJob {
+ s.ReplicationJobId = &v
+ return s
+}
+
+// SetReplicationRunList sets the ReplicationRunList field's value.
+func (s *ReplicationJob) SetReplicationRunList(v []*ReplicationRun) *ReplicationJob {
+ s.ReplicationRunList = v
+ return s
+}
+
+// SetRoleName sets the RoleName field's value.
+func (s *ReplicationJob) SetRoleName(v string) *ReplicationJob {
+ s.RoleName = &v
+ return s
+}
+
+// SetSeedReplicationTime sets the SeedReplicationTime field's value.
+func (s *ReplicationJob) SetSeedReplicationTime(v time.Time) *ReplicationJob {
+ s.SeedReplicationTime = &v
+ return s
+}
+
+// SetServerId sets the ServerId field's value.
+func (s *ReplicationJob) SetServerId(v string) *ReplicationJob {
+ s.ServerId = &v
+ return s
+}
+
+// SetServerType sets the ServerType field's value.
+func (s *ReplicationJob) SetServerType(v string) *ReplicationJob {
+ s.ServerType = &v
+ return s
+}
+
+// SetState sets the State field's value.
+func (s *ReplicationJob) SetState(v string) *ReplicationJob {
+ s.State = &v
+ return s
+}
+
+// SetStatusMessage sets the StatusMessage field's value.
+func (s *ReplicationJob) SetStatusMessage(v string) *ReplicationJob {
+ s.StatusMessage = &v
+ return s
+}
+
+// SetVmServer sets the VmServer field's value.
+func (s *ReplicationJob) SetVmServer(v *VmServer) *ReplicationJob {
+ s.VmServer = v
+ return s
+}
+
// Object representing a Replication Run
type ReplicationRun struct {
_ struct{} `type:"structure"`
@@ -1562,6 +1886,54 @@ func (s ReplicationRun) GoString() string {
return s.String()
}
+// SetAmiId sets the AmiId field's value.
+func (s *ReplicationRun) SetAmiId(v string) *ReplicationRun {
+ s.AmiId = &v
+ return s
+}
+
+// SetCompletedTime sets the CompletedTime field's value.
+func (s *ReplicationRun) SetCompletedTime(v time.Time) *ReplicationRun {
+ s.CompletedTime = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *ReplicationRun) SetDescription(v string) *ReplicationRun {
+ s.Description = &v
+ return s
+}
+
+// SetReplicationRunId sets the ReplicationRunId field's value.
+func (s *ReplicationRun) SetReplicationRunId(v string) *ReplicationRun {
+ s.ReplicationRunId = &v
+ return s
+}
+
+// SetScheduledStartTime sets the ScheduledStartTime field's value.
+func (s *ReplicationRun) SetScheduledStartTime(v time.Time) *ReplicationRun {
+ s.ScheduledStartTime = &v
+ return s
+}
+
+// SetState sets the State field's value.
+func (s *ReplicationRun) SetState(v string) *ReplicationRun {
+ s.State = &v
+ return s
+}
+
+// SetStatusMessage sets the StatusMessage field's value.
+func (s *ReplicationRun) SetStatusMessage(v string) *ReplicationRun {
+ s.StatusMessage = &v
+ return s
+}
+
+// SetType sets the Type field's value.
+func (s *ReplicationRun) SetType(v string) *ReplicationRun {
+ s.Type = &v
+ return s
+}
+
// Object representing a server
type Server struct {
_ struct{} `type:"structure"`
@@ -1592,6 +1964,36 @@ func (s Server) GoString() string {
return s.String()
}
+// SetReplicationJobId sets the ReplicationJobId field's value.
+func (s *Server) SetReplicationJobId(v string) *Server {
+ s.ReplicationJobId = &v
+ return s
+}
+
+// SetReplicationJobTerminated sets the ReplicationJobTerminated field's value.
+func (s *Server) SetReplicationJobTerminated(v bool) *Server {
+ s.ReplicationJobTerminated = &v
+ return s
+}
+
+// SetServerId sets the ServerId field's value.
+func (s *Server) SetServerId(v string) *Server {
+ s.ServerId = &v
+ return s
+}
+
+// SetServerType sets the ServerType field's value.
+func (s *Server) SetServerType(v string) *Server {
+ s.ServerType = &v
+ return s
+}
+
+// SetVmServer sets the VmServer field's value.
+func (s *Server) SetVmServer(v *VmServer) *Server {
+ s.VmServer = v
+ return s
+}
+
type StartOnDemandReplicationRunInput struct {
_ struct{} `type:"structure"`
@@ -1627,6 +2029,18 @@ func (s *StartOnDemandReplicationRunInput) Validate() error {
return nil
}
+// SetDescription sets the Description field's value.
+func (s *StartOnDemandReplicationRunInput) SetDescription(v string) *StartOnDemandReplicationRunInput {
+ s.Description = &v
+ return s
+}
+
+// SetReplicationJobId sets the ReplicationJobId field's value.
+func (s *StartOnDemandReplicationRunInput) SetReplicationJobId(v string) *StartOnDemandReplicationRunInput {
+ s.ReplicationJobId = &v
+ return s
+}
+
type StartOnDemandReplicationRunOutput struct {
_ struct{} `type:"structure"`
@@ -1644,6 +2058,12 @@ func (s StartOnDemandReplicationRunOutput) GoString() string {
return s.String()
}
+// SetReplicationRunId sets the ReplicationRunId field's value.
+func (s *StartOnDemandReplicationRunOutput) SetReplicationRunId(v string) *StartOnDemandReplicationRunOutput {
+ s.ReplicationRunId = &v
+ return s
+}
+
type UpdateReplicationJobInput struct {
_ struct{} `type:"structure"`
@@ -1693,6 +2113,42 @@ func (s *UpdateReplicationJobInput) Validate() error {
return nil
}
+// SetDescription sets the Description field's value.
+func (s *UpdateReplicationJobInput) SetDescription(v string) *UpdateReplicationJobInput {
+ s.Description = &v
+ return s
+}
+
+// SetFrequency sets the Frequency field's value.
+func (s *UpdateReplicationJobInput) SetFrequency(v int64) *UpdateReplicationJobInput {
+ s.Frequency = &v
+ return s
+}
+
+// SetLicenseType sets the LicenseType field's value.
+func (s *UpdateReplicationJobInput) SetLicenseType(v string) *UpdateReplicationJobInput {
+ s.LicenseType = &v
+ return s
+}
+
+// SetNextReplicationRunStartTime sets the NextReplicationRunStartTime field's value.
+func (s *UpdateReplicationJobInput) SetNextReplicationRunStartTime(v time.Time) *UpdateReplicationJobInput {
+ s.NextReplicationRunStartTime = &v
+ return s
+}
+
+// SetReplicationJobId sets the ReplicationJobId field's value.
+func (s *UpdateReplicationJobInput) SetReplicationJobId(v string) *UpdateReplicationJobInput {
+ s.ReplicationJobId = &v
+ return s
+}
+
+// SetRoleName sets the RoleName field's value.
+func (s *UpdateReplicationJobInput) SetRoleName(v string) *UpdateReplicationJobInput {
+ s.RoleName = &v
+ return s
+}
+
type UpdateReplicationJobOutput struct {
_ struct{} `type:"structure"`
}
@@ -1737,6 +2193,36 @@ func (s VmServer) GoString() string {
return s.String()
}
+// SetVmManagerName sets the VmManagerName field's value.
+func (s *VmServer) SetVmManagerName(v string) *VmServer {
+ s.VmManagerName = &v
+ return s
+}
+
+// SetVmManagerType sets the VmManagerType field's value.
+func (s *VmServer) SetVmManagerType(v string) *VmServer {
+ s.VmManagerType = &v
+ return s
+}
+
+// SetVmName sets the VmName field's value.
+func (s *VmServer) SetVmName(v string) *VmServer {
+ s.VmName = &v
+ return s
+}
+
+// SetVmPath sets the VmPath field's value.
+func (s *VmServer) SetVmPath(v string) *VmServer {
+ s.VmPath = &v
+ return s
+}
+
+// SetVmServerAddress sets the VmServerAddress field's value.
+func (s *VmServer) SetVmServerAddress(v *VmServerAddress) *VmServer {
+ s.VmServerAddress = v
+ return s
+}
+
// Object representing a server's location
type VmServerAddress struct {
_ struct{} `type:"structure"`
@@ -1758,6 +2244,18 @@ func (s VmServerAddress) GoString() string {
return s.String()
}
+// SetVmId sets the VmId field's value.
+func (s *VmServerAddress) SetVmId(v string) *VmServerAddress {
+ s.VmId = &v
+ return s
+}
+
+// SetVmManagerId sets the VmManagerId field's value.
+func (s *VmServerAddress) SetVmManagerId(v string) *VmServerAddress {
+ s.VmManagerId = &v
+ return s
+}
+
// Capabilities for a Connector
const (
// ConnectorCapabilityVsphere is a ConnectorCapability enum value
diff --git a/vendor/github.com/aws/aws-sdk-go/service/snowball/api.go b/vendor/github.com/aws/aws-sdk-go/service/snowball/api.go
index 5321650..367a03e 100644
--- a/vendor/github.com/aws/aws-sdk-go/service/snowball/api.go
+++ b/vendor/github.com/aws/aws-sdk-go/service/snowball/api.go
@@ -972,6 +972,84 @@ func (s *Address) Validate() error {
return nil
}
+// SetAddressId sets the AddressId field's value.
+func (s *Address) SetAddressId(v string) *Address {
+ s.AddressId = &v
+ return s
+}
+
+// SetCity sets the City field's value.
+func (s *Address) SetCity(v string) *Address {
+ s.City = &v
+ return s
+}
+
+// SetCompany sets the Company field's value.
+func (s *Address) SetCompany(v string) *Address {
+ s.Company = &v
+ return s
+}
+
+// SetCountry sets the Country field's value.
+func (s *Address) SetCountry(v string) *Address {
+ s.Country = &v
+ return s
+}
+
+// SetLandmark sets the Landmark field's value.
+func (s *Address) SetLandmark(v string) *Address {
+ s.Landmark = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *Address) SetName(v string) *Address {
+ s.Name = &v
+ return s
+}
+
+// SetPhoneNumber sets the PhoneNumber field's value.
+func (s *Address) SetPhoneNumber(v string) *Address {
+ s.PhoneNumber = &v
+ return s
+}
+
+// SetPostalCode sets the PostalCode field's value.
+func (s *Address) SetPostalCode(v string) *Address {
+ s.PostalCode = &v
+ return s
+}
+
+// SetPrefectureOrDistrict sets the PrefectureOrDistrict field's value.
+func (s *Address) SetPrefectureOrDistrict(v string) *Address {
+ s.PrefectureOrDistrict = &v
+ return s
+}
+
+// SetStateOrProvince sets the StateOrProvince field's value.
+func (s *Address) SetStateOrProvince(v string) *Address {
+ s.StateOrProvince = &v
+ return s
+}
+
+// SetStreet1 sets the Street1 field's value.
+func (s *Address) SetStreet1(v string) *Address {
+ s.Street1 = &v
+ return s
+}
+
+// SetStreet2 sets the Street2 field's value.
+func (s *Address) SetStreet2(v string) *Address {
+ s.Street2 = &v
+ return s
+}
+
+// SetStreet3 sets the Street3 field's value.
+func (s *Address) SetStreet3(v string) *Address {
+ s.Street3 = &v
+ return s
+}
+
type CancelJobInput struct {
_ struct{} `type:"structure"`
@@ -1008,6 +1086,12 @@ func (s *CancelJobInput) Validate() error {
return nil
}
+// 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"`
}
@@ -1059,6 +1143,12 @@ func (s *CreateAddressInput) Validate() error {
return nil
}
+// SetAddress sets the Address field's value.
+func (s *CreateAddressInput) SetAddress(v *Address) *CreateAddressInput {
+ s.Address = v
+ return s
+}
+
type CreateAddressOutput struct {
_ struct{} `type:"structure"`
@@ -1078,6 +1168,12 @@ func (s CreateAddressOutput) GoString() string {
return s.String()
}
+// SetAddressId sets the AddressId field's value.
+func (s *CreateAddressOutput) SetAddressId(v string) *CreateAddressOutput {
+ s.AddressId = &v
+ return s
+}
+
type CreateJobInput struct {
_ struct{} `type:"structure"`
@@ -1197,6 +1293,60 @@ func (s *CreateJobInput) Validate() error {
return nil
}
+// SetAddressId sets the AddressId field's value.
+func (s *CreateJobInput) SetAddressId(v string) *CreateJobInput {
+ s.AddressId = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *CreateJobInput) SetDescription(v string) *CreateJobInput {
+ s.Description = &v
+ return s
+}
+
+// SetJobType sets the JobType field's value.
+func (s *CreateJobInput) SetJobType(v string) *CreateJobInput {
+ s.JobType = &v
+ return s
+}
+
+// SetKmsKeyARN sets the KmsKeyARN field's value.
+func (s *CreateJobInput) SetKmsKeyARN(v string) *CreateJobInput {
+ s.KmsKeyARN = &v
+ return s
+}
+
+// SetNotification sets the Notification field's value.
+func (s *CreateJobInput) SetNotification(v *Notification) *CreateJobInput {
+ s.Notification = v
+ return s
+}
+
+// SetResources sets the Resources field's value.
+func (s *CreateJobInput) SetResources(v *JobResource) *CreateJobInput {
+ s.Resources = v
+ return s
+}
+
+// SetRoleARN sets the RoleARN field's value.
+func (s *CreateJobInput) SetRoleARN(v string) *CreateJobInput {
+ s.RoleARN = &v
+ return s
+}
+
+// SetShippingOption sets the ShippingOption field's value.
+func (s *CreateJobInput) SetShippingOption(v string) *CreateJobInput {
+ s.ShippingOption = &v
+ return s
+}
+
+// SetSnowballCapacityPreference sets the SnowballCapacityPreference field's value.
+func (s *CreateJobInput) SetSnowballCapacityPreference(v string) *CreateJobInput {
+ s.SnowballCapacityPreference = &v
+ return s
+}
+
type CreateJobOutput struct {
_ struct{} `type:"structure"`
@@ -1214,6 +1364,12 @@ func (s CreateJobOutput) GoString() string {
return s.String()
}
+// SetJobId sets the JobId field's value.
+func (s *CreateJobOutput) SetJobId(v string) *CreateJobOutput {
+ s.JobId = &v
+ return s
+}
+
// Defines the real-time status of a Snowball's data transfer while the appliance
// is at AWS. Note that this data is only available while a job has a JobState
// value of InProgress, for both import and export jobs.
@@ -1247,6 +1403,30 @@ func (s DataTransfer) GoString() string {
return s.String()
}
+// SetBytesTransferred sets the BytesTransferred field's value.
+func (s *DataTransfer) SetBytesTransferred(v int64) *DataTransfer {
+ s.BytesTransferred = &v
+ return s
+}
+
+// SetObjectsTransferred sets the ObjectsTransferred field's value.
+func (s *DataTransfer) SetObjectsTransferred(v int64) *DataTransfer {
+ s.ObjectsTransferred = &v
+ return s
+}
+
+// SetTotalBytes sets the TotalBytes field's value.
+func (s *DataTransfer) SetTotalBytes(v int64) *DataTransfer {
+ s.TotalBytes = &v
+ return s
+}
+
+// SetTotalObjects sets the TotalObjects field's value.
+func (s *DataTransfer) SetTotalObjects(v int64) *DataTransfer {
+ s.TotalObjects = &v
+ return s
+}
+
type DescribeAddressInput struct {
_ struct{} `type:"structure"`
@@ -1282,6 +1462,12 @@ func (s *DescribeAddressInput) Validate() error {
return nil
}
+// SetAddressId sets the AddressId field's value.
+func (s *DescribeAddressInput) SetAddressId(v string) *DescribeAddressInput {
+ s.AddressId = &v
+ return s
+}
+
type DescribeAddressOutput struct {
_ struct{} `type:"structure"`
@@ -1300,6 +1486,12 @@ func (s DescribeAddressOutput) GoString() string {
return s.String()
}
+// SetAddress sets the Address field's value.
+func (s *DescribeAddressOutput) SetAddress(v *Address) *DescribeAddressOutput {
+ s.Address = v
+ return s
+}
+
type DescribeAddressesInput struct {
_ struct{} `type:"structure"`
@@ -1335,6 +1527,18 @@ func (s *DescribeAddressesInput) Validate() error {
return nil
}
+// SetMaxResults sets the MaxResults field's value.
+func (s *DescribeAddressesInput) SetMaxResults(v int64) *DescribeAddressesInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeAddressesInput) SetNextToken(v string) *DescribeAddressesInput {
+ s.NextToken = &v
+ return s
+}
+
type DescribeAddressesOutput struct {
_ struct{} `type:"structure"`
@@ -1357,6 +1561,18 @@ func (s DescribeAddressesOutput) GoString() string {
return s.String()
}
+// SetAddresses sets the Addresses field's value.
+func (s *DescribeAddressesOutput) SetAddresses(v []*Address) *DescribeAddressesOutput {
+ s.Addresses = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeAddressesOutput) SetNextToken(v string) *DescribeAddressesOutput {
+ s.NextToken = &v
+ return s
+}
+
type DescribeJobInput struct {
_ struct{} `type:"structure"`
@@ -1392,6 +1608,12 @@ func (s *DescribeJobInput) Validate() error {
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"`
@@ -1414,6 +1636,18 @@ func (s DescribeJobOutput) GoString() string {
return s.String()
}
+// SetJobMetadata sets the JobMetadata field's value.
+func (s *DescribeJobOutput) SetJobMetadata(v *JobMetadata) *DescribeJobOutput {
+ s.JobMetadata = v
+ return s
+}
+
+// SetSubJobMetadata sets the SubJobMetadata field's value.
+func (s *DescribeJobOutput) SetSubJobMetadata(v []*JobMetadata) *DescribeJobOutput {
+ s.SubJobMetadata = v
+ return s
+}
+
type GetJobManifestInput struct {
_ struct{} `type:"structure"`
@@ -1450,6 +1684,12 @@ func (s *GetJobManifestInput) Validate() error {
return nil
}
+// SetJobId sets the JobId field's value.
+func (s *GetJobManifestInput) SetJobId(v string) *GetJobManifestInput {
+ s.JobId = &v
+ return s
+}
+
type GetJobManifestOutput struct {
_ struct{} `type:"structure"`
@@ -1468,6 +1708,12 @@ func (s GetJobManifestOutput) GoString() string {
return s.String()
}
+// SetManifestURI sets the ManifestURI field's value.
+func (s *GetJobManifestOutput) SetManifestURI(v string) *GetJobManifestOutput {
+ s.ManifestURI = &v
+ return s
+}
+
type GetJobUnlockCodeInput struct {
_ struct{} `type:"structure"`
@@ -1504,6 +1750,12 @@ func (s *GetJobUnlockCodeInput) Validate() error {
return nil
}
+// SetJobId sets the JobId field's value.
+func (s *GetJobUnlockCodeInput) SetJobId(v string) *GetJobUnlockCodeInput {
+ s.JobId = &v
+ return s
+}
+
type GetJobUnlockCodeOutput struct {
_ struct{} `type:"structure"`
@@ -1522,6 +1774,12 @@ func (s GetJobUnlockCodeOutput) GoString() string {
return s.String()
}
+// SetUnlockCode sets the UnlockCode field's value.
+func (s *GetJobUnlockCodeOutput) SetUnlockCode(v string) *GetJobUnlockCodeOutput {
+ s.UnlockCode = &v
+ return s
+}
+
type GetSnowballUsageInput struct {
_ struct{} `type:"structure"`
}
@@ -1557,6 +1815,18 @@ func (s GetSnowballUsageOutput) GoString() string {
return s.String()
}
+// SetSnowballLimit sets the SnowballLimit field's value.
+func (s *GetSnowballUsageOutput) SetSnowballLimit(v int64) *GetSnowballUsageOutput {
+ s.SnowballLimit = &v
+ return s
+}
+
+// SetSnowballsInUse sets the SnowballsInUse field's value.
+func (s *GetSnowballUsageOutput) SetSnowballsInUse(v int64) *GetSnowballUsageOutput {
+ s.SnowballsInUse = &v
+ return s
+}
+
// Each JobListEntry object contains a job's state, a job's ID, and a value
// that indicates whether the job is a job part, in the case of an export job.
type JobListEntry struct {
@@ -1587,6 +1857,24 @@ func (s JobListEntry) GoString() string {
return s.String()
}
+// SetIsMaster sets the IsMaster field's value.
+func (s *JobListEntry) SetIsMaster(v bool) *JobListEntry {
+ s.IsMaster = &v
+ return s
+}
+
+// SetJobId sets the JobId field's value.
+func (s *JobListEntry) SetJobId(v string) *JobListEntry {
+ s.JobId = &v
+ return s
+}
+
+// SetJobState sets the JobState field's value.
+func (s *JobListEntry) SetJobState(v string) *JobListEntry {
+ s.JobState = &v
+ return s
+}
+
// Contains job logs. Whenever Snowball is used to import data into or export
// data out of Amazon S3, you'll have the option of downloading a PDF job report.
// Job logs are returned as a part of the response syntax of the DescribeJob
@@ -1630,6 +1918,24 @@ func (s JobLogs) GoString() string {
return s.String()
}
+// SetJobCompletionReportURI sets the JobCompletionReportURI field's value.
+func (s *JobLogs) SetJobCompletionReportURI(v string) *JobLogs {
+ s.JobCompletionReportURI = &v
+ return s
+}
+
+// SetJobFailureLogURI sets the JobFailureLogURI field's value.
+func (s *JobLogs) SetJobFailureLogURI(v string) *JobLogs {
+ s.JobFailureLogURI = &v
+ return s
+}
+
+// SetJobSuccessLogURI sets the JobSuccessLogURI field's value.
+func (s *JobLogs) SetJobSuccessLogURI(v string) *JobLogs {
+ s.JobSuccessLogURI = &v
+ return s
+}
+
// Contains information about a specific job including shipping information,
// job status, and other important metadata. This information is returned as
// a part of the response syntax of the DescribeJob action.
@@ -1704,6 +2010,90 @@ func (s JobMetadata) GoString() string {
return s.String()
}
+// SetAddressId sets the AddressId field's value.
+func (s *JobMetadata) SetAddressId(v string) *JobMetadata {
+ s.AddressId = &v
+ return s
+}
+
+// SetCreationDate sets the CreationDate field's value.
+func (s *JobMetadata) SetCreationDate(v time.Time) *JobMetadata {
+ s.CreationDate = &v
+ return s
+}
+
+// SetDataTransferProgress sets the DataTransferProgress field's value.
+func (s *JobMetadata) SetDataTransferProgress(v *DataTransfer) *JobMetadata {
+ s.DataTransferProgress = v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *JobMetadata) SetDescription(v string) *JobMetadata {
+ s.Description = &v
+ return s
+}
+
+// SetJobId sets the JobId field's value.
+func (s *JobMetadata) SetJobId(v string) *JobMetadata {
+ s.JobId = &v
+ return s
+}
+
+// SetJobLogInfo sets the JobLogInfo field's value.
+func (s *JobMetadata) SetJobLogInfo(v *JobLogs) *JobMetadata {
+ s.JobLogInfo = v
+ return s
+}
+
+// SetJobState sets the JobState field's value.
+func (s *JobMetadata) SetJobState(v string) *JobMetadata {
+ s.JobState = &v
+ return s
+}
+
+// SetJobType sets the JobType field's value.
+func (s *JobMetadata) SetJobType(v string) *JobMetadata {
+ s.JobType = &v
+ return s
+}
+
+// SetKmsKeyARN sets the KmsKeyARN field's value.
+func (s *JobMetadata) SetKmsKeyARN(v string) *JobMetadata {
+ s.KmsKeyARN = &v
+ return s
+}
+
+// SetNotification sets the Notification field's value.
+func (s *JobMetadata) SetNotification(v *Notification) *JobMetadata {
+ s.Notification = v
+ return s
+}
+
+// SetResources sets the Resources field's value.
+func (s *JobMetadata) SetResources(v *JobResource) *JobMetadata {
+ s.Resources = v
+ return s
+}
+
+// SetRoleARN sets the RoleARN field's value.
+func (s *JobMetadata) SetRoleARN(v string) *JobMetadata {
+ s.RoleARN = &v
+ return s
+}
+
+// SetShippingDetails sets the ShippingDetails field's value.
+func (s *JobMetadata) SetShippingDetails(v *ShippingDetails) *JobMetadata {
+ s.ShippingDetails = v
+ return s
+}
+
+// SetSnowballCapacityPreference sets the SnowballCapacityPreference field's value.
+func (s *JobMetadata) SetSnowballCapacityPreference(v string) *JobMetadata {
+ s.SnowballCapacityPreference = &v
+ return s
+}
+
// Contains an array of S3Resource objects. Each S3Resource object represents
// an Amazon S3 bucket that your transferred data will be exported from or imported
// into.
@@ -1744,6 +2134,12 @@ func (s *JobResource) Validate() error {
return nil
}
+// SetS3Resources sets the S3Resources field's value.
+func (s *JobResource) SetS3Resources(v []*S3Resource) *JobResource {
+ s.S3Resources = v
+ return s
+}
+
// Contains a key range. For export jobs, a S3Resource object can have an optional
// KeyRange value. The length of the range is defined at job creation, and has
// either an inclusive BeginMarker, an inclusive EndMarker, or both. Ranges
@@ -1786,6 +2182,18 @@ func (s *KeyRange) Validate() error {
return nil
}
+// SetBeginMarker sets the BeginMarker field's value.
+func (s *KeyRange) SetBeginMarker(v string) *KeyRange {
+ s.BeginMarker = &v
+ return s
+}
+
+// SetEndMarker sets the EndMarker field's value.
+func (s *KeyRange) SetEndMarker(v string) *KeyRange {
+ s.EndMarker = &v
+ return s
+}
+
type ListJobsInput struct {
_ struct{} `type:"structure"`
@@ -1821,6 +2229,18 @@ func (s *ListJobsInput) Validate() error {
return nil
}
+// 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
+}
+
type ListJobsOutput struct {
_ struct{} `type:"structure"`
@@ -1844,6 +2264,18 @@ func (s ListJobsOutput) GoString() string {
return s.String()
}
+// SetJobListEntries sets the JobListEntries field's value.
+func (s *ListJobsOutput) SetJobListEntries(v []*JobListEntry) *ListJobsOutput {
+ s.JobListEntries = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListJobsOutput) SetNextToken(v string) *ListJobsOutput {
+ s.NextToken = &v
+ return s
+}
+
// The Amazon Simple Notification Service (Amazon SNS) notification settings
// associated with a specific job. The Notification object is returned as a
// part of the response syntax of the DescribeJob action in the JobMetadata
@@ -1882,6 +2314,24 @@ func (s Notification) GoString() string {
return s.String()
}
+// SetJobStatesToNotify sets the JobStatesToNotify field's value.
+func (s *Notification) SetJobStatesToNotify(v []*string) *Notification {
+ s.JobStatesToNotify = v
+ return s
+}
+
+// SetNotifyAll sets the NotifyAll field's value.
+func (s *Notification) SetNotifyAll(v bool) *Notification {
+ s.NotifyAll = &v
+ return s
+}
+
+// SetSnsTopicARN sets the SnsTopicARN field's value.
+func (s *Notification) SetSnsTopicARN(v string) *Notification {
+ s.SnsTopicARN = &v
+ return s
+}
+
// Each S3Resource object represents an Amazon S3 bucket that your transferred
// data will be exported from or imported into. For export jobs, this object
// can have an optional KeyRange value. The length of the range is defined at
@@ -1925,6 +2375,18 @@ func (s *S3Resource) Validate() error {
return nil
}
+// SetBucketArn sets the BucketArn field's value.
+func (s *S3Resource) SetBucketArn(v string) *S3Resource {
+ s.BucketArn = &v
+ return s
+}
+
+// SetKeyRange sets the KeyRange field's value.
+func (s *S3Resource) SetKeyRange(v *KeyRange) *S3Resource {
+ s.KeyRange = v
+ return s
+}
+
// The Status and TrackingNumber information for an inbound or outbound shipment.
type Shipment struct {
_ struct{} `type:"structure"`
@@ -1951,6 +2413,18 @@ func (s Shipment) GoString() string {
return s.String()
}
+// SetStatus sets the Status field's value.
+func (s *Shipment) SetStatus(v string) *Shipment {
+ s.Status = &v
+ return s
+}
+
+// SetTrackingNumber sets the TrackingNumber field's value.
+func (s *Shipment) SetTrackingNumber(v string) *Shipment {
+ s.TrackingNumber = &v
+ return s
+}
+
// A job's shipping information, including inbound and outbound tracking numbers
// and shipping speed options.
type ShippingDetails struct {
@@ -1994,6 +2468,24 @@ func (s ShippingDetails) GoString() string {
return s.String()
}
+// SetInboundShipment sets the InboundShipment field's value.
+func (s *ShippingDetails) SetInboundShipment(v *Shipment) *ShippingDetails {
+ s.InboundShipment = v
+ return s
+}
+
+// SetOutboundShipment sets the OutboundShipment field's value.
+func (s *ShippingDetails) SetOutboundShipment(v *Shipment) *ShippingDetails {
+ s.OutboundShipment = v
+ return s
+}
+
+// SetShippingOption sets the ShippingOption field's value.
+func (s *ShippingDetails) SetShippingOption(v string) *ShippingDetails {
+ s.ShippingOption = &v
+ return s
+}
+
type UpdateJobInput struct {
_ struct{} `type:"structure"`
@@ -2065,6 +2557,54 @@ func (s *UpdateJobInput) Validate() error {
return nil
}
+// SetAddressId sets the AddressId field's value.
+func (s *UpdateJobInput) SetAddressId(v string) *UpdateJobInput {
+ s.AddressId = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *UpdateJobInput) SetDescription(v string) *UpdateJobInput {
+ s.Description = &v
+ return s
+}
+
+// SetJobId sets the JobId field's value.
+func (s *UpdateJobInput) SetJobId(v string) *UpdateJobInput {
+ s.JobId = &v
+ return s
+}
+
+// SetNotification sets the Notification field's value.
+func (s *UpdateJobInput) SetNotification(v *Notification) *UpdateJobInput {
+ s.Notification = v
+ return s
+}
+
+// SetResources sets the Resources field's value.
+func (s *UpdateJobInput) SetResources(v *JobResource) *UpdateJobInput {
+ s.Resources = v
+ return s
+}
+
+// SetRoleARN sets the RoleARN field's value.
+func (s *UpdateJobInput) SetRoleARN(v string) *UpdateJobInput {
+ s.RoleARN = &v
+ return s
+}
+
+// SetShippingOption sets the ShippingOption field's value.
+func (s *UpdateJobInput) SetShippingOption(v string) *UpdateJobInput {
+ s.ShippingOption = &v
+ return s
+}
+
+// SetSnowballCapacityPreference sets the SnowballCapacityPreference field's value.
+func (s *UpdateJobInput) SetSnowballCapacityPreference(v string) *UpdateJobInput {
+ s.SnowballCapacityPreference = &v
+ return s
+}
+
type UpdateJobOutput struct {
_ struct{} `type:"structure"`
}
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 b266b99..7f75ab7 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
@@ -2572,6 +2572,30 @@ func (s *AddPermissionInput) Validate() error {
return nil
}
+// SetAWSAccountId sets the AWSAccountId field's value.
+func (s *AddPermissionInput) SetAWSAccountId(v []*string) *AddPermissionInput {
+ s.AWSAccountId = v
+ return s
+}
+
+// SetActionName sets the ActionName field's value.
+func (s *AddPermissionInput) SetActionName(v []*string) *AddPermissionInput {
+ s.ActionName = v
+ return s
+}
+
+// SetLabel sets the Label field's value.
+func (s *AddPermissionInput) SetLabel(v string) *AddPermissionInput {
+ s.Label = &v
+ return s
+}
+
+// SetTopicArn sets the TopicArn field's value.
+func (s *AddPermissionInput) SetTopicArn(v string) *AddPermissionInput {
+ s.TopicArn = &v
+ return s
+}
+
type AddPermissionOutput struct {
_ struct{} `type:"structure"`
}
@@ -2619,6 +2643,12 @@ func (s *CheckIfPhoneNumberIsOptedOutInput) Validate() error {
return nil
}
+// SetPhoneNumber sets the PhoneNumber field's value.
+func (s *CheckIfPhoneNumberIsOptedOutInput) SetPhoneNumber(v string) *CheckIfPhoneNumberIsOptedOutInput {
+ s.PhoneNumber = &v
+ return s
+}
+
// The response from the CheckIfPhoneNumberIsOptedOut action.
type CheckIfPhoneNumberIsOptedOutOutput struct {
_ struct{} `type:"structure"`
@@ -2643,6 +2673,12 @@ func (s CheckIfPhoneNumberIsOptedOutOutput) GoString() string {
return s.String()
}
+// SetIsOptedOut sets the IsOptedOut field's value.
+func (s *CheckIfPhoneNumberIsOptedOutOutput) SetIsOptedOut(v bool) *CheckIfPhoneNumberIsOptedOutOutput {
+ s.IsOptedOut = &v
+ return s
+}
+
// Input for ConfirmSubscription action.
type ConfirmSubscriptionInput struct {
_ struct{} `type:"structure"`
@@ -2690,6 +2726,24 @@ func (s *ConfirmSubscriptionInput) Validate() error {
return nil
}
+// SetAuthenticateOnUnsubscribe sets the AuthenticateOnUnsubscribe field's value.
+func (s *ConfirmSubscriptionInput) SetAuthenticateOnUnsubscribe(v string) *ConfirmSubscriptionInput {
+ s.AuthenticateOnUnsubscribe = &v
+ return s
+}
+
+// SetToken sets the Token field's value.
+func (s *ConfirmSubscriptionInput) SetToken(v string) *ConfirmSubscriptionInput {
+ s.Token = &v
+ return s
+}
+
+// SetTopicArn sets the TopicArn field's value.
+func (s *ConfirmSubscriptionInput) SetTopicArn(v string) *ConfirmSubscriptionInput {
+ s.TopicArn = &v
+ return s
+}
+
// Response for ConfirmSubscriptions action.
type ConfirmSubscriptionOutput struct {
_ struct{} `type:"structure"`
@@ -2708,6 +2762,12 @@ func (s ConfirmSubscriptionOutput) GoString() string {
return s.String()
}
+// SetSubscriptionArn sets the SubscriptionArn field's value.
+func (s *ConfirmSubscriptionOutput) SetSubscriptionArn(v string) *ConfirmSubscriptionOutput {
+ s.SubscriptionArn = &v
+ return s
+}
+
// Input for CreatePlatformApplication action.
type CreatePlatformApplicationInput struct {
_ struct{} `type:"structure"`
@@ -2760,6 +2820,24 @@ func (s *CreatePlatformApplicationInput) Validate() error {
return nil
}
+// SetAttributes sets the Attributes field's value.
+func (s *CreatePlatformApplicationInput) SetAttributes(v map[string]*string) *CreatePlatformApplicationInput {
+ s.Attributes = v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *CreatePlatformApplicationInput) SetName(v string) *CreatePlatformApplicationInput {
+ s.Name = &v
+ return s
+}
+
+// SetPlatform sets the Platform field's value.
+func (s *CreatePlatformApplicationInput) SetPlatform(v string) *CreatePlatformApplicationInput {
+ s.Platform = &v
+ return s
+}
+
// Response from CreatePlatformApplication action.
type CreatePlatformApplicationOutput struct {
_ struct{} `type:"structure"`
@@ -2778,6 +2856,12 @@ func (s CreatePlatformApplicationOutput) GoString() string {
return s.String()
}
+// SetPlatformApplicationArn sets the PlatformApplicationArn field's value.
+func (s *CreatePlatformApplicationOutput) SetPlatformApplicationArn(v string) *CreatePlatformApplicationOutput {
+ s.PlatformApplicationArn = &v
+ return s
+}
+
// Input for CreatePlatformEndpoint action.
type CreatePlatformEndpointInput struct {
_ struct{} `type:"structure"`
@@ -2831,6 +2915,30 @@ func (s *CreatePlatformEndpointInput) Validate() error {
return nil
}
+// SetAttributes sets the Attributes field's value.
+func (s *CreatePlatformEndpointInput) SetAttributes(v map[string]*string) *CreatePlatformEndpointInput {
+ s.Attributes = v
+ return s
+}
+
+// SetCustomUserData sets the CustomUserData field's value.
+func (s *CreatePlatformEndpointInput) SetCustomUserData(v string) *CreatePlatformEndpointInput {
+ s.CustomUserData = &v
+ return s
+}
+
+// SetPlatformApplicationArn sets the PlatformApplicationArn field's value.
+func (s *CreatePlatformEndpointInput) SetPlatformApplicationArn(v string) *CreatePlatformEndpointInput {
+ s.PlatformApplicationArn = &v
+ return s
+}
+
+// SetToken sets the Token field's value.
+func (s *CreatePlatformEndpointInput) SetToken(v string) *CreatePlatformEndpointInput {
+ s.Token = &v
+ return s
+}
+
// Response from CreateEndpoint action.
type CreatePlatformEndpointOutput struct {
_ struct{} `type:"structure"`
@@ -2849,6 +2957,12 @@ func (s CreatePlatformEndpointOutput) GoString() string {
return s.String()
}
+// SetEndpointArn sets the EndpointArn field's value.
+func (s *CreatePlatformEndpointOutput) SetEndpointArn(v string) *CreatePlatformEndpointOutput {
+ s.EndpointArn = &v
+ return s
+}
+
// Input for CreateTopic action.
type CreateTopicInput struct {
_ struct{} `type:"structure"`
@@ -2886,6 +3000,12 @@ func (s *CreateTopicInput) Validate() error {
return nil
}
+// SetName sets the Name field's value.
+func (s *CreateTopicInput) SetName(v string) *CreateTopicInput {
+ s.Name = &v
+ return s
+}
+
// Response from CreateTopic action.
type CreateTopicOutput struct {
_ struct{} `type:"structure"`
@@ -2904,6 +3024,12 @@ func (s CreateTopicOutput) GoString() string {
return s.String()
}
+// SetTopicArn sets the TopicArn field's value.
+func (s *CreateTopicOutput) SetTopicArn(v string) *CreateTopicOutput {
+ s.TopicArn = &v
+ return s
+}
+
// Input for DeleteEndpoint action.
type DeleteEndpointInput struct {
_ struct{} `type:"structure"`
@@ -2937,6 +3063,12 @@ func (s *DeleteEndpointInput) Validate() error {
return nil
}
+// SetEndpointArn sets the EndpointArn field's value.
+func (s *DeleteEndpointInput) SetEndpointArn(v string) *DeleteEndpointInput {
+ s.EndpointArn = &v
+ return s
+}
+
type DeleteEndpointOutput struct {
_ struct{} `type:"structure"`
}
@@ -2984,6 +3116,12 @@ func (s *DeletePlatformApplicationInput) Validate() error {
return nil
}
+// SetPlatformApplicationArn sets the PlatformApplicationArn field's value.
+func (s *DeletePlatformApplicationInput) SetPlatformApplicationArn(v string) *DeletePlatformApplicationInput {
+ s.PlatformApplicationArn = &v
+ return s
+}
+
type DeletePlatformApplicationOutput struct {
_ struct{} `type:"structure"`
}
@@ -3030,6 +3168,12 @@ func (s *DeleteTopicInput) Validate() error {
return nil
}
+// SetTopicArn sets the TopicArn field's value.
+func (s *DeleteTopicInput) SetTopicArn(v string) *DeleteTopicInput {
+ s.TopicArn = &v
+ return s
+}
+
type DeleteTopicOutput struct {
_ struct{} `type:"structure"`
}
@@ -3065,6 +3209,18 @@ func (s Endpoint) GoString() string {
return s.String()
}
+// SetAttributes sets the Attributes field's value.
+func (s *Endpoint) SetAttributes(v map[string]*string) *Endpoint {
+ s.Attributes = v
+ return s
+}
+
+// SetEndpointArn sets the EndpointArn field's value.
+func (s *Endpoint) SetEndpointArn(v string) *Endpoint {
+ s.EndpointArn = &v
+ return s
+}
+
// Input for GetEndpointAttributes action.
type GetEndpointAttributesInput struct {
_ struct{} `type:"structure"`
@@ -3098,6 +3254,12 @@ func (s *GetEndpointAttributesInput) Validate() error {
return nil
}
+// SetEndpointArn sets the EndpointArn field's value.
+func (s *GetEndpointAttributesInput) SetEndpointArn(v string) *GetEndpointAttributesInput {
+ s.EndpointArn = &v
+ return s
+}
+
// Response from GetEndpointAttributes of the EndpointArn.
type GetEndpointAttributesOutput struct {
_ struct{} `type:"structure"`
@@ -3129,6 +3291,12 @@ func (s GetEndpointAttributesOutput) GoString() string {
return s.String()
}
+// SetAttributes sets the Attributes field's value.
+func (s *GetEndpointAttributesOutput) SetAttributes(v map[string]*string) *GetEndpointAttributesOutput {
+ s.Attributes = v
+ return s
+}
+
// Input for GetPlatformApplicationAttributes action.
type GetPlatformApplicationAttributesInput struct {
_ struct{} `type:"structure"`
@@ -3162,6 +3330,12 @@ func (s *GetPlatformApplicationAttributesInput) Validate() error {
return nil
}
+// SetPlatformApplicationArn sets the PlatformApplicationArn field's value.
+func (s *GetPlatformApplicationAttributesInput) SetPlatformApplicationArn(v string) *GetPlatformApplicationAttributesInput {
+ s.PlatformApplicationArn = &v
+ return s
+}
+
// Response for GetPlatformApplicationAttributes action.
type GetPlatformApplicationAttributesOutput struct {
_ struct{} `type:"structure"`
@@ -3193,6 +3367,12 @@ func (s GetPlatformApplicationAttributesOutput) GoString() string {
return s.String()
}
+// SetAttributes sets the Attributes field's value.
+func (s *GetPlatformApplicationAttributesOutput) SetAttributes(v map[string]*string) *GetPlatformApplicationAttributesOutput {
+ s.Attributes = v
+ return s
+}
+
// The input for the GetSMSAttributes request.
type GetSMSAttributesInput struct {
_ struct{} `type:"structure"`
@@ -3216,6 +3396,12 @@ func (s GetSMSAttributesInput) GoString() string {
return s.String()
}
+// SetAttributes sets the Attributes field's value.
+func (s *GetSMSAttributesInput) SetAttributes(v []*string) *GetSMSAttributesInput {
+ s.Attributes = v
+ return s
+}
+
// The response from the GetSMSAttributes request.
type GetSMSAttributesOutput struct {
_ struct{} `type:"structure"`
@@ -3234,6 +3420,12 @@ func (s GetSMSAttributesOutput) GoString() string {
return s.String()
}
+// SetAttributes sets the Attributes field's value.
+func (s *GetSMSAttributesOutput) SetAttributes(v map[string]*string) *GetSMSAttributesOutput {
+ s.Attributes = v
+ return s
+}
+
// Input for GetSubscriptionAttributes.
type GetSubscriptionAttributesInput struct {
_ struct{} `type:"structure"`
@@ -3267,6 +3459,12 @@ func (s *GetSubscriptionAttributesInput) Validate() error {
return nil
}
+// SetSubscriptionArn sets the SubscriptionArn field's value.
+func (s *GetSubscriptionAttributesInput) SetSubscriptionArn(v string) *GetSubscriptionAttributesInput {
+ s.SubscriptionArn = &v
+ return s
+}
+
// Response for GetSubscriptionAttributes action.
type GetSubscriptionAttributesOutput struct {
_ struct{} `type:"structure"`
@@ -3302,6 +3500,12 @@ func (s GetSubscriptionAttributesOutput) GoString() string {
return s.String()
}
+// SetAttributes sets the Attributes field's value.
+func (s *GetSubscriptionAttributesOutput) SetAttributes(v map[string]*string) *GetSubscriptionAttributesOutput {
+ s.Attributes = v
+ return s
+}
+
// Input for GetTopicAttributes action.
type GetTopicAttributesInput struct {
_ struct{} `type:"structure"`
@@ -3335,6 +3539,12 @@ func (s *GetTopicAttributesInput) Validate() error {
return nil
}
+// SetTopicArn sets the TopicArn field's value.
+func (s *GetTopicAttributesInput) SetTopicArn(v string) *GetTopicAttributesInput {
+ s.TopicArn = &v
+ return s
+}
+
// Response for GetTopicAttributes action.
type GetTopicAttributesOutput struct {
_ struct{} `type:"structure"`
@@ -3376,6 +3586,12 @@ func (s GetTopicAttributesOutput) GoString() string {
return s.String()
}
+// SetAttributes sets the Attributes field's value.
+func (s *GetTopicAttributesOutput) SetAttributes(v map[string]*string) *GetTopicAttributesOutput {
+ s.Attributes = v
+ return s
+}
+
// Input for ListEndpointsByPlatformApplication action.
type ListEndpointsByPlatformApplicationInput struct {
_ struct{} `type:"structure"`
@@ -3414,6 +3630,18 @@ func (s *ListEndpointsByPlatformApplicationInput) Validate() error {
return nil
}
+// SetNextToken sets the NextToken field's value.
+func (s *ListEndpointsByPlatformApplicationInput) SetNextToken(v string) *ListEndpointsByPlatformApplicationInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetPlatformApplicationArn sets the PlatformApplicationArn field's value.
+func (s *ListEndpointsByPlatformApplicationInput) SetPlatformApplicationArn(v string) *ListEndpointsByPlatformApplicationInput {
+ s.PlatformApplicationArn = &v
+ return s
+}
+
// Response for ListEndpointsByPlatformApplication action.
type ListEndpointsByPlatformApplicationOutput struct {
_ struct{} `type:"structure"`
@@ -3436,6 +3664,18 @@ func (s ListEndpointsByPlatformApplicationOutput) GoString() string {
return s.String()
}
+// SetEndpoints sets the Endpoints field's value.
+func (s *ListEndpointsByPlatformApplicationOutput) SetEndpoints(v []*Endpoint) *ListEndpointsByPlatformApplicationOutput {
+ s.Endpoints = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListEndpointsByPlatformApplicationOutput) SetNextToken(v string) *ListEndpointsByPlatformApplicationOutput {
+ s.NextToken = &v
+ return s
+}
+
// The input for the ListPhoneNumbersOptedOut action.
type ListPhoneNumbersOptedOutInput struct {
_ struct{} `type:"structure"`
@@ -3456,6 +3696,12 @@ func (s ListPhoneNumbersOptedOutInput) GoString() string {
return s.String()
}
+// SetNextToken sets the NextToken field's value.
+func (s *ListPhoneNumbersOptedOutInput) SetNextToken(v string) *ListPhoneNumbersOptedOutInput {
+ s.NextToken = &v
+ return s
+}
+
// The response from the ListPhoneNumbersOptedOut action.
type ListPhoneNumbersOptedOutOutput struct {
_ struct{} `type:"structure"`
@@ -3479,6 +3725,18 @@ func (s ListPhoneNumbersOptedOutOutput) GoString() string {
return s.String()
}
+// SetNextToken sets the NextToken field's value.
+func (s *ListPhoneNumbersOptedOutOutput) SetNextToken(v string) *ListPhoneNumbersOptedOutOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetPhoneNumbers sets the PhoneNumbers field's value.
+func (s *ListPhoneNumbersOptedOutOutput) SetPhoneNumbers(v []*string) *ListPhoneNumbersOptedOutOutput {
+ s.PhoneNumbers = v
+ return s
+}
+
// Input for ListPlatformApplications action.
type ListPlatformApplicationsInput struct {
_ struct{} `type:"structure"`
@@ -3498,6 +3756,12 @@ func (s ListPlatformApplicationsInput) GoString() string {
return s.String()
}
+// SetNextToken sets the NextToken field's value.
+func (s *ListPlatformApplicationsInput) SetNextToken(v string) *ListPlatformApplicationsInput {
+ s.NextToken = &v
+ return s
+}
+
// Response for ListPlatformApplications action.
type ListPlatformApplicationsOutput struct {
_ struct{} `type:"structure"`
@@ -3520,6 +3784,18 @@ func (s ListPlatformApplicationsOutput) GoString() string {
return s.String()
}
+// SetNextToken sets the NextToken field's value.
+func (s *ListPlatformApplicationsOutput) SetNextToken(v string) *ListPlatformApplicationsOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetPlatformApplications sets the PlatformApplications field's value.
+func (s *ListPlatformApplicationsOutput) SetPlatformApplications(v []*PlatformApplication) *ListPlatformApplicationsOutput {
+ s.PlatformApplications = v
+ return s
+}
+
// Input for ListSubscriptionsByTopic action.
type ListSubscriptionsByTopicInput struct {
_ struct{} `type:"structure"`
@@ -3556,6 +3832,18 @@ func (s *ListSubscriptionsByTopicInput) Validate() error {
return nil
}
+// SetNextToken sets the NextToken field's value.
+func (s *ListSubscriptionsByTopicInput) SetNextToken(v string) *ListSubscriptionsByTopicInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetTopicArn sets the TopicArn field's value.
+func (s *ListSubscriptionsByTopicInput) SetTopicArn(v string) *ListSubscriptionsByTopicInput {
+ s.TopicArn = &v
+ return s
+}
+
// Response for ListSubscriptionsByTopic action.
type ListSubscriptionsByTopicOutput struct {
_ struct{} `type:"structure"`
@@ -3578,6 +3866,18 @@ func (s ListSubscriptionsByTopicOutput) GoString() string {
return s.String()
}
+// SetNextToken sets the NextToken field's value.
+func (s *ListSubscriptionsByTopicOutput) SetNextToken(v string) *ListSubscriptionsByTopicOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetSubscriptions sets the Subscriptions field's value.
+func (s *ListSubscriptionsByTopicOutput) SetSubscriptions(v []*Subscription) *ListSubscriptionsByTopicOutput {
+ s.Subscriptions = v
+ return s
+}
+
// Input for ListSubscriptions action.
type ListSubscriptionsInput struct {
_ struct{} `type:"structure"`
@@ -3596,6 +3896,12 @@ func (s ListSubscriptionsInput) GoString() string {
return s.String()
}
+// SetNextToken sets the NextToken field's value.
+func (s *ListSubscriptionsInput) SetNextToken(v string) *ListSubscriptionsInput {
+ s.NextToken = &v
+ return s
+}
+
// Response for ListSubscriptions action
type ListSubscriptionsOutput struct {
_ struct{} `type:"structure"`
@@ -3618,6 +3924,18 @@ func (s ListSubscriptionsOutput) GoString() string {
return s.String()
}
+// SetNextToken sets the NextToken field's value.
+func (s *ListSubscriptionsOutput) SetNextToken(v string) *ListSubscriptionsOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetSubscriptions sets the Subscriptions field's value.
+func (s *ListSubscriptionsOutput) SetSubscriptions(v []*Subscription) *ListSubscriptionsOutput {
+ s.Subscriptions = v
+ return s
+}
+
type ListTopicsInput struct {
_ struct{} `type:"structure"`
@@ -3635,6 +3953,12 @@ func (s ListTopicsInput) GoString() string {
return s.String()
}
+// SetNextToken sets the NextToken field's value.
+func (s *ListTopicsInput) SetNextToken(v string) *ListTopicsInput {
+ s.NextToken = &v
+ return s
+}
+
// Response for ListTopics action.
type ListTopicsOutput struct {
_ struct{} `type:"structure"`
@@ -3657,6 +3981,18 @@ func (s ListTopicsOutput) GoString() string {
return s.String()
}
+// SetNextToken sets the NextToken field's value.
+func (s *ListTopicsOutput) SetNextToken(v string) *ListTopicsOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetTopics sets the Topics field's value.
+func (s *ListTopicsOutput) SetTopics(v []*Topic) *ListTopicsOutput {
+ s.Topics = v
+ return s
+}
+
// The user-specified message attribute value. For string data types, the value
// attribute has the same restrictions on the content as the message body. For
// more information, see Publish (http://docs.aws.amazon.com/sns/latest/api/API_Publish.html).
@@ -3709,6 +4045,24 @@ func (s *MessageAttributeValue) Validate() error {
return nil
}
+// SetBinaryValue sets the BinaryValue field's value.
+func (s *MessageAttributeValue) SetBinaryValue(v []byte) *MessageAttributeValue {
+ s.BinaryValue = v
+ return s
+}
+
+// SetDataType sets the DataType field's value.
+func (s *MessageAttributeValue) SetDataType(v string) *MessageAttributeValue {
+ s.DataType = &v
+ return s
+}
+
+// SetStringValue sets the StringValue field's value.
+func (s *MessageAttributeValue) SetStringValue(v string) *MessageAttributeValue {
+ s.StringValue = &v
+ return s
+}
+
// Input for the OptInPhoneNumber action.
type OptInPhoneNumberInput struct {
_ struct{} `type:"structure"`
@@ -3742,6 +4096,12 @@ func (s *OptInPhoneNumberInput) Validate() error {
return nil
}
+// SetPhoneNumber sets the PhoneNumber field's value.
+func (s *OptInPhoneNumberInput) SetPhoneNumber(v string) *OptInPhoneNumberInput {
+ s.PhoneNumber = &v
+ return s
+}
+
// The response for the OptInPhoneNumber action.
type OptInPhoneNumberOutput struct {
_ struct{} `type:"structure"`
@@ -3778,6 +4138,18 @@ func (s PlatformApplication) GoString() string {
return s.String()
}
+// SetAttributes sets the Attributes field's value.
+func (s *PlatformApplication) SetAttributes(v map[string]*string) *PlatformApplication {
+ s.Attributes = v
+ return s
+}
+
+// SetPlatformApplicationArn sets the PlatformApplicationArn field's value.
+func (s *PlatformApplication) SetPlatformApplicationArn(v string) *PlatformApplication {
+ s.PlatformApplicationArn = &v
+ return s
+}
+
// Input for Publish action.
type PublishInput struct {
_ struct{} `type:"structure"`
@@ -3907,6 +4279,48 @@ func (s *PublishInput) Validate() error {
return nil
}
+// SetMessage sets the Message field's value.
+func (s *PublishInput) SetMessage(v string) *PublishInput {
+ s.Message = &v
+ return s
+}
+
+// SetMessageAttributes sets the MessageAttributes field's value.
+func (s *PublishInput) SetMessageAttributes(v map[string]*MessageAttributeValue) *PublishInput {
+ s.MessageAttributes = v
+ return s
+}
+
+// SetMessageStructure sets the MessageStructure field's value.
+func (s *PublishInput) SetMessageStructure(v string) *PublishInput {
+ s.MessageStructure = &v
+ return s
+}
+
+// SetPhoneNumber sets the PhoneNumber field's value.
+func (s *PublishInput) SetPhoneNumber(v string) *PublishInput {
+ s.PhoneNumber = &v
+ return s
+}
+
+// SetSubject sets the Subject field's value.
+func (s *PublishInput) SetSubject(v string) *PublishInput {
+ s.Subject = &v
+ return s
+}
+
+// SetTargetArn sets the TargetArn field's value.
+func (s *PublishInput) SetTargetArn(v string) *PublishInput {
+ s.TargetArn = &v
+ return s
+}
+
+// SetTopicArn sets the TopicArn field's value.
+func (s *PublishInput) SetTopicArn(v string) *PublishInput {
+ s.TopicArn = &v
+ return s
+}
+
// Response for Publish action.
type PublishOutput struct {
_ struct{} `type:"structure"`
@@ -3927,6 +4341,12 @@ func (s PublishOutput) GoString() string {
return s.String()
}
+// SetMessageId sets the MessageId field's value.
+func (s *PublishOutput) SetMessageId(v string) *PublishOutput {
+ s.MessageId = &v
+ return s
+}
+
// Input for RemovePermission action.
type RemovePermissionInput struct {
_ struct{} `type:"structure"`
@@ -3968,6 +4388,18 @@ func (s *RemovePermissionInput) Validate() error {
return nil
}
+// SetLabel sets the Label field's value.
+func (s *RemovePermissionInput) SetLabel(v string) *RemovePermissionInput {
+ s.Label = &v
+ return s
+}
+
+// SetTopicArn sets the TopicArn field's value.
+func (s *RemovePermissionInput) SetTopicArn(v string) *RemovePermissionInput {
+ s.TopicArn = &v
+ return s
+}
+
type RemovePermissionOutput struct {
_ struct{} `type:"structure"`
}
@@ -4036,6 +4468,18 @@ func (s *SetEndpointAttributesInput) Validate() error {
return nil
}
+// SetAttributes sets the Attributes field's value.
+func (s *SetEndpointAttributesInput) SetAttributes(v map[string]*string) *SetEndpointAttributesInput {
+ s.Attributes = v
+ return s
+}
+
+// SetEndpointArn sets the EndpointArn field's value.
+func (s *SetEndpointAttributesInput) SetEndpointArn(v string) *SetEndpointAttributesInput {
+ s.EndpointArn = &v
+ return s
+}
+
type SetEndpointAttributesOutput struct {
_ struct{} `type:"structure"`
}
@@ -4124,6 +4568,18 @@ func (s *SetPlatformApplicationAttributesInput) Validate() error {
return nil
}
+// SetAttributes sets the Attributes field's value.
+func (s *SetPlatformApplicationAttributesInput) SetAttributes(v map[string]*string) *SetPlatformApplicationAttributesInput {
+ s.Attributes = v
+ return s
+}
+
+// SetPlatformApplicationArn sets the PlatformApplicationArn field's value.
+func (s *SetPlatformApplicationAttributesInput) SetPlatformApplicationArn(v string) *SetPlatformApplicationAttributesInput {
+ s.PlatformApplicationArn = &v
+ return s
+}
+
type SetPlatformApplicationAttributesOutput struct {
_ struct{} `type:"structure"`
}
@@ -4242,6 +4698,12 @@ func (s *SetSMSAttributesInput) Validate() error {
return nil
}
+// SetAttributes sets the Attributes field's value.
+func (s *SetSMSAttributesInput) SetAttributes(v map[string]*string) *SetSMSAttributesInput {
+ s.Attributes = v
+ return s
+}
+
// The response for the SetSMSAttributes action.
type SetSMSAttributesOutput struct {
_ struct{} `type:"structure"`
@@ -4304,6 +4766,24 @@ func (s *SetSubscriptionAttributesInput) Validate() error {
return nil
}
+// SetAttributeName sets the AttributeName field's value.
+func (s *SetSubscriptionAttributesInput) SetAttributeName(v string) *SetSubscriptionAttributesInput {
+ s.AttributeName = &v
+ return s
+}
+
+// SetAttributeValue sets the AttributeValue field's value.
+func (s *SetSubscriptionAttributesInput) SetAttributeValue(v string) *SetSubscriptionAttributesInput {
+ s.AttributeValue = &v
+ return s
+}
+
+// SetSubscriptionArn sets the SubscriptionArn field's value.
+func (s *SetSubscriptionAttributesInput) SetSubscriptionArn(v string) *SetSubscriptionAttributesInput {
+ s.SubscriptionArn = &v
+ return s
+}
+
type SetSubscriptionAttributesOutput struct {
_ struct{} `type:"structure"`
}
@@ -4365,6 +4845,24 @@ func (s *SetTopicAttributesInput) Validate() error {
return nil
}
+// SetAttributeName sets the AttributeName field's value.
+func (s *SetTopicAttributesInput) SetAttributeName(v string) *SetTopicAttributesInput {
+ s.AttributeName = &v
+ return s
+}
+
+// SetAttributeValue sets the AttributeValue field's value.
+func (s *SetTopicAttributesInput) SetAttributeValue(v string) *SetTopicAttributesInput {
+ s.AttributeValue = &v
+ return s
+}
+
+// SetTopicArn sets the TopicArn field's value.
+func (s *SetTopicAttributesInput) SetTopicArn(v string) *SetTopicAttributesInput {
+ s.TopicArn = &v
+ return s
+}
+
type SetTopicAttributesOutput struct {
_ struct{} `type:"structure"`
}
@@ -4458,6 +4956,24 @@ func (s *SubscribeInput) Validate() error {
return nil
}
+// SetEndpoint sets the Endpoint field's value.
+func (s *SubscribeInput) SetEndpoint(v string) *SubscribeInput {
+ s.Endpoint = &v
+ return s
+}
+
+// SetProtocol sets the Protocol field's value.
+func (s *SubscribeInput) SetProtocol(v string) *SubscribeInput {
+ s.Protocol = &v
+ return s
+}
+
+// SetTopicArn sets the TopicArn field's value.
+func (s *SubscribeInput) SetTopicArn(v string) *SubscribeInput {
+ s.TopicArn = &v
+ return s
+}
+
// Response for Subscribe action.
type SubscribeOutput struct {
_ struct{} `type:"structure"`
@@ -4477,6 +4993,12 @@ func (s SubscribeOutput) GoString() string {
return s.String()
}
+// SetSubscriptionArn sets the SubscriptionArn field's value.
+func (s *SubscribeOutput) SetSubscriptionArn(v string) *SubscribeOutput {
+ s.SubscriptionArn = &v
+ return s
+}
+
// A wrapper type for the attributes of an Amazon SNS subscription.
type Subscription struct {
_ struct{} `type:"structure"`
@@ -4507,6 +5029,36 @@ func (s Subscription) GoString() string {
return s.String()
}
+// SetEndpoint sets the Endpoint field's value.
+func (s *Subscription) SetEndpoint(v string) *Subscription {
+ s.Endpoint = &v
+ return s
+}
+
+// SetOwner sets the Owner field's value.
+func (s *Subscription) SetOwner(v string) *Subscription {
+ s.Owner = &v
+ return s
+}
+
+// SetProtocol sets the Protocol field's value.
+func (s *Subscription) SetProtocol(v string) *Subscription {
+ s.Protocol = &v
+ return s
+}
+
+// SetSubscriptionArn sets the SubscriptionArn field's value.
+func (s *Subscription) SetSubscriptionArn(v string) *Subscription {
+ s.SubscriptionArn = &v
+ return s
+}
+
+// SetTopicArn sets the TopicArn field's value.
+func (s *Subscription) SetTopicArn(v string) *Subscription {
+ s.TopicArn = &v
+ return s
+}
+
// A wrapper type for the topic's Amazon Resource Name (ARN). To retrieve a
// topic's attributes, use GetTopicAttributes.
type Topic struct {
@@ -4526,6 +5078,12 @@ func (s Topic) GoString() string {
return s.String()
}
+// SetTopicArn sets the TopicArn field's value.
+func (s *Topic) SetTopicArn(v string) *Topic {
+ s.TopicArn = &v
+ return s
+}
+
// Input for Unsubscribe action.
type UnsubscribeInput struct {
_ struct{} `type:"structure"`
@@ -4559,6 +5117,12 @@ func (s *UnsubscribeInput) Validate() error {
return nil
}
+// SetSubscriptionArn sets the SubscriptionArn field's value.
+func (s *UnsubscribeInput) SetSubscriptionArn(v string) *UnsubscribeInput {
+ s.SubscriptionArn = &v
+ return s
+}
+
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 c022200..e9a0f43 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
@@ -76,6 +76,10 @@ func (c *SQS) AddPermissionRequest(input *AddPermissionInput) (req *request.Requ
// the param.n notation. Values of n are integers starting from 1. For example,
// a parameter list with two elements looks like this:
//
+// &Attribute.1=this
+//
+// &Attribute.2=that
+//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
@@ -255,6 +259,10 @@ func (c *SQS) ChangeMessageVisibilityBatchRequest(input *ChangeMessageVisibility
// the param.n notation. Values of n are integers starting from 1. For example,
// a parameter list with two elements looks like this:
//
+// &Attribute.1=this
+//
+// &Attribute.2=that
+//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
@@ -267,13 +275,13 @@ func (c *SQS) ChangeMessageVisibilityBatchRequest(input *ChangeMessageVisibility
// Batch request contains more number of entries than permissible.
//
// * AWS.SimpleQueueService.EmptyBatchRequest
-// Batch request does not contain an entry.
+// Batch request doesn't contain an entry.
//
// * AWS.SimpleQueueService.BatchEntryIdsNotDistinct
// Two or more batch entries have the same Id in the request.
//
// * AWS.SimpleQueueService.InvalidBatchEntryId
-// The Id of a batch entry in a batch request does not abide by the specification.
+// The Id of a batch entry in a batch request doesn't abide by the specification.
//
func (c *SQS) ChangeMessageVisibilityBatch(input *ChangeMessageVisibilityBatchInput) (*ChangeMessageVisibilityBatchOutput, error) {
req, out := c.ChangeMessageVisibilityBatchRequest(input)
@@ -326,29 +334,46 @@ func (c *SQS) CreateQueueRequest(input *CreateQueueInput) (req *request.Request,
// CreateQueue API operation for Amazon Simple Queue Service.
//
-// Creates a new queue, or returns the URL of an existing one. When you request
-// CreateQueue, you provide a name for the queue. To successfully create a new
-// queue, you must provide a name that is unique within the scope of your own
-// queues.
+// Creates a new standard or FIFO queue or returns the URL of an existing queue.
+// You can pass one or more attributes in the request.
//
-// If you delete a queue, you must wait at least 60 seconds before creating
-// a queue with the same name.
+// * If you don't specify the FifoQueue attribute, Amazon SQS creates a standard
+// queue.
//
-// You may pass one or more attributes in the request. If you do not provide
-// a value for any attribute, the queue will have the default value for that
-// attribute.
+// You can't change the queue type after you create it and you can't convert
+// an existing standard queue into a FIFO queue. You must either create a
+// new FIFO queue for your application or delete your existing standard queue
+// and recreate it as a FIFO queue. For more information, see Moving From
+// a Standard Queue to a FIFO Queue (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues-moving.html)
+// in the Amazon SQS Developer Guide.
//
-// Use GetQueueUrl to get a queue's URL. GetQueueUrl requires only the QueueName
-// parameter.
+// * If you don't provide a value for an attribute, the queue is created
+// with the default value for the attribute.
//
-// If you provide the name of an existing queue, along with the exact names
-// and values of all the queue's attributes, CreateQueue returns the queue URL
-// for the existing queue. If the queue name, attribute names, or attribute
-// values do not match an existing queue, CreateQueue returns an error.
+// * If you delete a queue, you must wait at least 60 seconds before creating
+// a queue with the same name.
//
-// Some API actions take lists of parameters. These lists are specified using
-// the param.n notation. Values of n are integers starting from 1. For example,
-// a parameter list with two elements looks like this:
+// To successfully create a new queue, you must provide a queue name that adheres
+// to the limits related to queues (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/limits-queues.html)
+// and is unique within the scope of your queues.
+//
+// To get the queue URL, use the GetQueueUrl action. GetQueueUrl requires only
+// the QueueName parameter.
+//
+// * If you provide the name of an existing queue along with the exact names
+// and values of all the queue's attributes, CreateQueue returns the queue
+// URL for the existing queue.
+//
+// * If the queue name, attribute names, or attribute values don't match
+// an existing queue, CreateQueue returns an error.
+//
+// Some API actions take lists of parameters. Specify these lists using the
+// param.n notation. Values of n are integers starting from 1. The following
+// is an example of a parameter list with two elements:
+//
+// &Attribute.1=this
+//
+// &Attribute.2=that
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
@@ -517,6 +542,10 @@ func (c *SQS) DeleteMessageBatchRequest(input *DeleteMessageBatchInput) (req *re
// the param.n notation. Values of n are integers starting from 1. For example,
// a parameter list with two elements looks like this:
//
+// &Attribute.1=this
+//
+// &Attribute.2=that
+//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
@@ -529,13 +558,13 @@ func (c *SQS) DeleteMessageBatchRequest(input *DeleteMessageBatchInput) (req *re
// Batch request contains more number of entries than permissible.
//
// * AWS.SimpleQueueService.EmptyBatchRequest
-// Batch request does not contain an entry.
+// Batch request doesn't contain an entry.
//
// * AWS.SimpleQueueService.BatchEntryIdsNotDistinct
// Two or more batch entries have the same Id in the request.
//
// * AWS.SimpleQueueService.InvalidBatchEntryId
-// The Id of a batch entry in a batch request does not abide by the specification.
+// The Id of a batch entry in a batch request doesn't abide by the specification.
//
func (c *SQS) DeleteMessageBatch(input *DeleteMessageBatchInput) (*DeleteMessageBatchOutput, error) {
req, out := c.DeleteMessageBatchRequest(input)
@@ -591,7 +620,7 @@ func (c *SQS) DeleteQueueRequest(input *DeleteQueueInput) (req *request.Request,
// DeleteQueue API operation for Amazon Simple Queue Service.
//
// Deletes the queue specified by the queue URL, regardless of whether the queue
-// is empty. If the specified queue does not exist, Amazon SQS returns a successful
+// is empty. If the specified queue doesn't exist, Amazon SQS returns a successful
// response.
//
// Use DeleteQueue with care; once you delete your queue, any messages in the
@@ -670,6 +699,10 @@ func (c *SQS) GetQueueAttributesRequest(input *GetQueueAttributesInput) (req *re
// the param.n notation. Values of n are integers starting from 1. For example,
// a parameter list with two elements looks like this:
//
+// &Attribute.1=this
+//
+// &Attribute.2=that
+//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
@@ -679,7 +712,7 @@ func (c *SQS) GetQueueAttributesRequest(input *GetQueueAttributesInput) (req *re
//
// Returned Error Codes:
// * InvalidAttributeName
-// The attribute referred to does not exist.
+// The attribute referred to doesn't exist.
//
func (c *SQS) GetQueueAttributes(input *GetQueueAttributesInput) (*GetQueueAttributesOutput, error) {
req, out := c.GetQueueAttributesRequest(input)
@@ -738,7 +771,7 @@ func (c *SQS) GetQueueUrlRequest(input *GetQueueUrlInput) (req *request.Request,
// To access a queue that belongs to another AWS account, use the QueueOwnerAWSAccountId
// parameter to specify the account ID of the queue's owner. The queue's owner
// must grant you permission to access the queue. For more information about
-// shared queue access, see AddPermission or go to Shared Queues (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/acp-overview.html)
+// shared queue access, see AddPermission or see Shared Queues (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/acp-overview.html)
// in the Amazon SQS Developer Guide.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
@@ -750,7 +783,7 @@ func (c *SQS) GetQueueUrlRequest(input *GetQueueUrlInput) (req *request.Request,
//
// Returned Error Codes:
// * AWS.SimpleQueueService.NonExistentQueue
-// The queue referred to does not exist.
+// The queue referred to doesn't exist.
//
func (c *SQS) GetQueueUrl(input *GetQueueUrlInput) (*GetQueueUrlOutput, error) {
req, out := c.GetQueueUrlRequest(input)
@@ -807,7 +840,8 @@ func (c *SQS) ListDeadLetterSourceQueuesRequest(input *ListDeadLetterSourceQueue
// configured with a dead letter queue.
//
// For more information about using dead letter queues, see Using Amazon SQS
-// Dead Letter Queues (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/SQSDeadLetterQueue.html).
+// Dead Letter Queues (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/SQSDeadLetterQueue.html)
+// in the Amazon SQS 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
@@ -818,7 +852,7 @@ func (c *SQS) ListDeadLetterSourceQueuesRequest(input *ListDeadLetterSourceQueue
//
// Returned Error Codes:
// * AWS.SimpleQueueService.NonExistentQueue
-// The queue referred to does not exist.
+// The queue referred to doesn't exist.
//
func (c *SQS) ListDeadLetterSourceQueues(input *ListDeadLetterSourceQueuesInput) (*ListDeadLetterSourceQueuesOutput, error) {
req, out := c.ListDeadLetterSourceQueuesRequest(input)
@@ -936,14 +970,14 @@ func (c *SQS) PurgeQueueRequest(input *PurgeQueueInput) (req *request.Request, o
//
// Deletes the messages in a queue specified by the queue URL.
//
-// When you use the PurgeQueue API, the deleted messages in the queue cannot
+// When you use the PurgeQueue API, the deleted messages in the queue can't
// be retrieved.
//
// When you purge a queue, the message deletion process takes up to 60 seconds.
// All messages sent to the queue before calling PurgeQueue will be deleted;
-// messages sent to the queue while it is being purged may be deleted. While
+// messages sent to the queue while it is being purged might be deleted. While
// the queue is being purged, messages sent to the queue before PurgeQueue was
-// called may be received, but will be deleted within the next minute.
+// called might be received, but will be deleted within the next minute.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
@@ -954,7 +988,7 @@ func (c *SQS) PurgeQueueRequest(input *PurgeQueueInput) (req *request.Request, o
//
// Returned Error Codes:
// * AWS.SimpleQueueService.NonExistentQueue
-// The queue referred to does not exist.
+// The queue referred to doesn't exist.
//
// * AWS.SimpleQueueService.PurgeQueueInProgress
// Indicates that the specified queue previously received a PurgeQueue request
@@ -1027,18 +1061,18 @@ func (c *SQS) ReceiveMessageRequest(input *ReceiveMessageInput) (req *request.Re
//
// For each message returned, the response includes the following:
//
-// * Message body
+// * Message body
//
-// * MD5 digest of the message body. For information about MD5, go to http://www.faqs.org/rfcs/rfc1321.html
-// (http://www.faqs.org/rfcs/rfc1321.html).
+// * MD5 digest of the message body. For information about MD5, see RFC1321
+// (https://www.ietf.org/rfc/rfc1321.txt).
//
-// * Message ID you received when you sent the message to the queue.
+// * Message ID you received when you sent the message to the queue.
//
-// * Receipt handle.
+// * Receipt handle.
//
-// * Message attributes.
+// * Message attributes.
//
-// * MD5 digest of the message attributes.
+// * MD5 digest of the message attributes.
//
// The receipt handle is the identifier you must provide when deleting the message.
// For more information, see Queue and Message Identifiers (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/ImportantIdentifiers.html)
@@ -1046,11 +1080,16 @@ func (c *SQS) ReceiveMessageRequest(input *ReceiveMessageInput) (req *request.Re
//
// You can provide the VisibilityTimeout parameter in your request, which will
// be applied to the messages that Amazon SQS returns in the response. If you
-// do not include the parameter, the overall visibility timeout for the queue
+// don't include the parameter, the overall visibility timeout for the queue
// is used for the returned messages. For more information, see Visibility Timeout
// (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/AboutVT.html)
// in the Amazon SQS Developer Guide.
//
+// A message that is not deleted or a message whose visibility is not extended
+// before the visibility timeout expires counts as a failed receive. Depending
+// on the configuration of the queue, the message might be sent to the dead
+// letter queue.
+//
// Going forward, new attributes might be added. If you are writing code that
// calls this action, we recommend that you structure your code so that it can
// handle new attributes gracefully.
@@ -1182,18 +1221,16 @@ func (c *SQS) SendMessageRequest(input *SendMessageInput) (req *request.Request,
// SendMessage API operation for Amazon Simple Queue Service.
//
-// Delivers a message to the specified queue. With Amazon SQS, you now have
-// the ability to send large payload messages that are up to 256KB (262,144
-// bytes) in size. To send large payloads, you must use an AWS SDK that supports
-// SigV4 signing. To verify whether SigV4 is supported for an AWS SDK, check
-// the SDK release notes.
+// Delivers a message to the specified queue.
+//
+// The following list shows the characters (in Unicode) that are allowed in
+// your message, according to the W3C XML specification:
//
-// The following list shows the characters (in Unicode) allowed in your message,
-// according to the W3C XML specification. For more information, go to http://www.w3.org/TR/REC-xml/#charsets
-// (http://www.w3.org/TR/REC-xml/#charsets) If you send any characters not included
-// in the list, your request will be rejected.
+// #x9 | #xA | #xD | [#x20 to #xD7FF] | [#xE000 to #xFFFD] | [#x10000 to #x10FFFF]
//
-// #x9 | #xA | #xD | [#x20 to #xD7FF] | [#xE000 to #xFFFD] | [#x10000 to #x10FFFF]
+// For more information, see RFC1321 (https://www.ietf.org/rfc/rfc1321.txt).
+// If you send any characters that aren't included in this list, your request
+// will be rejected.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
@@ -1261,32 +1298,38 @@ func (c *SQS) SendMessageBatchRequest(input *SendMessageBatchInput) (req *reques
// SendMessageBatch API operation for Amazon Simple Queue Service.
//
// Delivers up to ten messages to the specified queue. This is a batch version
-// of SendMessage. The result of the send action on each message is reported
-// individually in the response. The maximum allowed individual message size
-// is 256 KB (262,144 bytes).
+// of SendMessage. For a FIFO queue, multiple messages within a single batch
+// are enqueued in the order they are sent.
//
-// The maximum total payload size (i.e., the sum of all a batch's individual
-// message lengths) is also 256 KB (262,144 bytes).
+// The result of sending each message is reported individually in the response.
+// Because the batch request can result in a combination of successful and unsuccessful
+// actions, you should check for batch errors even when the call returns an
+// HTTP status code of 200.
//
-// If the DelaySeconds parameter is not specified for an entry, the default
-// for the queue is used.
+// The maximum allowed individual message size and the maximum total payload
+// size (the sum of the individual lengths of all of the batched messages) are
+// both 256 KB (262,144 bytes).
//
// The following list shows the characters (in Unicode) that are allowed in
-// your message, according to the W3C XML specification. For more information,
-// go to http://www.faqs.org/rfcs/rfc1321.html (http://www.faqs.org/rfcs/rfc1321.html).
-// If you send any characters that are not included in the list, your request
-// will be rejected.
+// your message, according to the W3C XML specification:
//
// #x9 | #xA | #xD | [#x20 to #xD7FF] | [#xE000 to #xFFFD] | [#x10000 to #x10FFFF]
//
-// Because the batch request can result in a combination of successful and unsuccessful
-// actions, you should check for batch errors even when the call returns an
-// HTTP status code of 200.
+// For more information, see RFC1321 (https://www.ietf.org/rfc/rfc1321.txt).
+// If you send any characters that aren't included in this list, your request
+// will be rejected.
+//
+// If you don't specify the DelaySeconds parameter for an entry, Amazon SQS
+// uses the default for the queue.
//
// Some API actions take lists of parameters. These lists are specified using
// the param.n notation. Values of n are integers starting from 1. For example,
// a parameter list with two elements looks like this:
//
+// &Attribute.1=this
+//
+// &Attribute.2=that
+//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
@@ -1299,7 +1342,7 @@ func (c *SQS) SendMessageBatchRequest(input *SendMessageBatchInput) (req *reques
// Batch request contains more number of entries than permissible.
//
// * AWS.SimpleQueueService.EmptyBatchRequest
-// Batch request does not contain an entry.
+// Batch request doesn't contain an entry.
//
// * AWS.SimpleQueueService.BatchEntryIdsNotDistinct
// Two or more batch entries have the same Id in the request.
@@ -1308,7 +1351,7 @@ func (c *SQS) SendMessageBatchRequest(input *SendMessageBatchInput) (req *reques
// The length of all the messages put together is more than the limit.
//
// * AWS.SimpleQueueService.InvalidBatchEntryId
-// The Id of a batch entry in a batch request does not abide by the specification.
+// The Id of a batch entry in a batch request doesn't abide by the specification.
//
// * AWS.SimpleQueueService.UnsupportedOperation
// Error code 400. Unsupported operation.
@@ -1371,9 +1414,9 @@ func (c *SQS) SetQueueAttributesRequest(input *SetQueueAttributesInput) (req *re
// to propagate throughout the SQS system. Changes made to the MessageRetentionPeriod
// attribute can take up to 15 minutes.
//
-// Going forward, new attributes might be added. If you are writing code that
-// calls this action, we recommend that you structure your code so that it can
-// handle new attributes gracefully.
+// In the future, new attributes might be added. When you write code that calls
+// this action, we recommend structuring your code so that it can handle new
+// attributes gracefully.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
@@ -1384,7 +1427,7 @@ func (c *SQS) SetQueueAttributesRequest(input *SetQueueAttributesInput) (req *re
//
// Returned Error Codes:
// * InvalidAttributeName
-// The attribute referred to does not exist.
+// The attribute referred to doesn't exist.
//
func (c *SQS) SetQueueAttributes(input *SetQueueAttributesInput) (*SetQueueAttributesOutput, error) {
req, out := c.SetQueueAttributesRequest(input)
@@ -1464,6 +1507,30 @@ func (s *AddPermissionInput) Validate() error {
return nil
}
+// SetAWSAccountIds sets the AWSAccountIds field's value.
+func (s *AddPermissionInput) SetAWSAccountIds(v []*string) *AddPermissionInput {
+ s.AWSAccountIds = v
+ return s
+}
+
+// SetActions sets the Actions field's value.
+func (s *AddPermissionInput) SetActions(v []*string) *AddPermissionInput {
+ s.Actions = v
+ return s
+}
+
+// SetLabel sets the Label field's value.
+func (s *AddPermissionInput) SetLabel(v string) *AddPermissionInput {
+ s.Label = &v
+ return s
+}
+
+// SetQueueUrl sets the QueueUrl field's value.
+func (s *AddPermissionInput) SetQueueUrl(v string) *AddPermissionInput {
+ s.QueueUrl = &v
+ return s
+}
+
type AddPermissionOutput struct {
_ struct{} `type:"structure"`
}
@@ -1512,6 +1579,30 @@ func (s BatchResultErrorEntry) GoString() string {
return s.String()
}
+// SetCode sets the Code field's value.
+func (s *BatchResultErrorEntry) SetCode(v string) *BatchResultErrorEntry {
+ s.Code = &v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *BatchResultErrorEntry) SetId(v string) *BatchResultErrorEntry {
+ s.Id = &v
+ return s
+}
+
+// SetMessage sets the Message field's value.
+func (s *BatchResultErrorEntry) SetMessage(v string) *BatchResultErrorEntry {
+ s.Message = &v
+ return s
+}
+
+// SetSenderFault sets the SenderFault field's value.
+func (s *BatchResultErrorEntry) SetSenderFault(v bool) *BatchResultErrorEntry {
+ s.SenderFault = &v
+ return s
+}
+
type ChangeMessageVisibilityBatchInput struct {
_ struct{} `type:"structure"`
@@ -1565,6 +1656,18 @@ func (s *ChangeMessageVisibilityBatchInput) Validate() error {
return nil
}
+// SetEntries sets the Entries field's value.
+func (s *ChangeMessageVisibilityBatchInput) SetEntries(v []*ChangeMessageVisibilityBatchRequestEntry) *ChangeMessageVisibilityBatchInput {
+ s.Entries = v
+ return s
+}
+
+// SetQueueUrl sets the QueueUrl field's value.
+func (s *ChangeMessageVisibilityBatchInput) SetQueueUrl(v string) *ChangeMessageVisibilityBatchInput {
+ s.QueueUrl = &v
+ return s
+}
+
// For each message in the batch, the response contains a ChangeMessageVisibilityBatchResultEntry
// tag if the message succeeds or a BatchResultErrorEntry tag if the message
// fails.
@@ -1592,6 +1695,18 @@ func (s ChangeMessageVisibilityBatchOutput) GoString() string {
return s.String()
}
+// SetFailed sets the Failed field's value.
+func (s *ChangeMessageVisibilityBatchOutput) SetFailed(v []*BatchResultErrorEntry) *ChangeMessageVisibilityBatchOutput {
+ s.Failed = v
+ return s
+}
+
+// SetSuccessful sets the Successful field's value.
+func (s *ChangeMessageVisibilityBatchOutput) SetSuccessful(v []*ChangeMessageVisibilityBatchResultEntry) *ChangeMessageVisibilityBatchOutput {
+ s.Successful = v
+ return s
+}
+
// Encloses a receipt handle and an entry id for each message in ChangeMessageVisibilityBatch.
//
// All of the following parameters are list parameters that must be prefixed
@@ -1599,7 +1714,11 @@ func (s ChangeMessageVisibilityBatchOutput) GoString() string {
// starting with 1. For example, a parameter list for this action might look
// like this:
//
-// Your_Receipt_Handle]]>
+// &ChangeMessageVisibilityBatchRequestEntry.1.Id=change_visibility_msg_2
+//
+// &ChangeMessageVisibilityBatchRequestEntry.1.ReceiptHandle=Your_Receipt_Handle
+//
+// &ChangeMessageVisibilityBatchRequestEntry.1.VisibilityTimeout=45
type ChangeMessageVisibilityBatchRequestEntry struct {
_ struct{} `type:"structure"`
@@ -1645,6 +1764,24 @@ func (s *ChangeMessageVisibilityBatchRequestEntry) Validate() error {
return nil
}
+// SetId sets the Id field's value.
+func (s *ChangeMessageVisibilityBatchRequestEntry) SetId(v string) *ChangeMessageVisibilityBatchRequestEntry {
+ s.Id = &v
+ return s
+}
+
+// SetReceiptHandle sets the ReceiptHandle field's value.
+func (s *ChangeMessageVisibilityBatchRequestEntry) SetReceiptHandle(v string) *ChangeMessageVisibilityBatchRequestEntry {
+ s.ReceiptHandle = &v
+ return s
+}
+
+// SetVisibilityTimeout sets the VisibilityTimeout field's value.
+func (s *ChangeMessageVisibilityBatchRequestEntry) SetVisibilityTimeout(v int64) *ChangeMessageVisibilityBatchRequestEntry {
+ s.VisibilityTimeout = &v
+ return s
+}
+
// Encloses the id of an entry in ChangeMessageVisibilityBatch.
type ChangeMessageVisibilityBatchResultEntry struct {
_ struct{} `type:"structure"`
@@ -1665,6 +1802,12 @@ func (s ChangeMessageVisibilityBatchResultEntry) GoString() string {
return s.String()
}
+// SetId sets the Id field's value.
+func (s *ChangeMessageVisibilityBatchResultEntry) SetId(v string) *ChangeMessageVisibilityBatchResultEntry {
+ s.Id = &v
+ return s
+}
+
type ChangeMessageVisibilityInput struct {
_ struct{} `type:"structure"`
@@ -1717,6 +1860,24 @@ func (s *ChangeMessageVisibilityInput) Validate() error {
return nil
}
+// SetQueueUrl sets the QueueUrl field's value.
+func (s *ChangeMessageVisibilityInput) SetQueueUrl(v string) *ChangeMessageVisibilityInput {
+ s.QueueUrl = &v
+ return s
+}
+
+// SetReceiptHandle sets the ReceiptHandle field's value.
+func (s *ChangeMessageVisibilityInput) SetReceiptHandle(v string) *ChangeMessageVisibilityInput {
+ s.ReceiptHandle = &v
+ return s
+}
+
+// SetVisibilityTimeout sets the VisibilityTimeout field's value.
+func (s *ChangeMessageVisibilityInput) SetVisibilityTimeout(v int64) *ChangeMessageVisibilityInput {
+ s.VisibilityTimeout = &v
+ return s
+}
+
type ChangeMessageVisibilityOutput struct {
_ struct{} `type:"structure"`
}
@@ -1737,45 +1898,94 @@ type CreateQueueInput struct {
// A map of attributes with their corresponding values.
//
// The following lists the names, descriptions, and values of the special request
- // parameters the CreateQueue action uses:
+ // parameters that the CreateQueue action uses:
//
- // * DelaySeconds - The time in seconds that the delivery of all messages
- // in the queue will be delayed. An integer from 0 to 900 (15 minutes). The
- // default for this attribute is 0 (zero).
+ // * DelaySeconds - The number of seconds for which the delivery of all messages
+ // in the queue is delayed. An integer from 0 to 900 (15 minutes). The default
+ // is 0 (zero).
//
// * MaximumMessageSize - The limit of how many bytes a message can contain
- // before Amazon SQS rejects it. An integer from 1024 bytes (1 KiB) up to
- // 262144 bytes (256 KiB). The default for this attribute is 262144 (256
- // KiB).
+ // before Amazon SQS rejects it. An integer from 1,024 bytes (1 KiB) up to
+ // 262,144 bytes (256 KiB). The default is 262,144 (256 KiB).
//
- // * MessageRetentionPeriod - The number of seconds Amazon SQS retains a
- // message. Integer representing seconds, from 60 (1 minute) to 1209600 (14
- // days). The default for this attribute is 345600 (4 days).
+ // * MessageRetentionPeriod - The number of seconds for which Amazon SQS
+ // retains a message. An integer representing seconds, from 60 (1 minute)
+ // to 120,9600 (14 days). The default is 345,600 (4 days).
//
// * Policy - The queue's policy. A valid AWS policy. For more information
// about policy structure, see Overview of AWS IAM Policies (http://docs.aws.amazon.com/IAM/latest/UserGuide/PoliciesOverview.html)
// in the Amazon IAM User Guide.
//
- // * ReceiveMessageWaitTimeSeconds - The time for which a ReceiveMessage
- // call will wait for a message to arrive. An integer from 0 to 20 (seconds).
- // The default for this attribute is 0.
+ // * ReceiveMessageWaitTimeSeconds - The number of seconds for which a ReceiveMessage
+ // action will wait for a message to arrive. An integer from 0 to 20 (seconds).
+ // The default is 0.
//
- // * RedrivePolicy - The parameters for dead letter queue functionality of
- // the source queue. For more information about RedrivePolicy and dead letter
- // queues, see Using Amazon SQS Dead Letter Queues (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/SQSDeadLetterQueue.html)
+ // * RedrivePolicy - The parameters for the dead letter queue functionality
+ // of the source queue. For more information about the redrive policy and
+ // dead letter queues, see Using Amazon SQS Dead Letter Queues (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/SQSDeadLetterQueue.html)
// in the Amazon SQS Developer Guide.
//
+ // The dead letter queue of a FIFO queue must also be a FIFO queue. Similarly,
+ // the dead letter queue of a standard queue must also be a standard queue.
+ //
// * VisibilityTimeout - The visibility timeout for the queue. An integer
- // from 0 to 43200 (12 hours). The default for this attribute is 30. For
- // more information about visibility timeout, see Visibility Timeout (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/AboutVT.html)
+ // from 0 to 43200 (12 hours). The default is 30. For more information about
+ // the visibility timeout, see Visibility Timeout (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/AboutVT.html)
+ // in the Amazon SQS Developer Guide.
+ //
+ // The following attributes apply only to FIFO (first-in-first-out) queues (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html):
+ //
+ // * FifoQueue - Designates a queue as FIFO. You can provide this attribute
+ // only during queue creation; you can't change it for an existing queue.
+ // When you set this attribute, you must provide a MessageGroupId explicitly.
+ //
+ // For more information, see FIFO Queue Logic (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html#FIFO-queues-understanding-logic)
+ // in the Amazon SQS Developer Guide.
+ //
+ // * ContentBasedDeduplication - Enables content-based deduplication. For
+ // more information, see Exactly-Once Processing (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html#FIFO-queues-exactly-once-processing)
// in the Amazon SQS Developer Guide.
//
+ // Every message must have a unique MessageDeduplicationId,
+ //
+ // You may provide a MessageDeduplicationId explicitly.
+ //
+ // If you aren't able to provide a MessageDeduplicationId and you enable ContentBasedDeduplication
+ // for your queue, Amazon SQS uses a SHA-256 hash to generate the MessageDeduplicationId
+ // using the body of the message (but not the attributes of the message).
+ //
+ //
+ // If you don't provide a MessageDeduplicationId and the queue doesn't have
+ // ContentBasedDeduplication set, the action fails with an error.
+ //
+ // If the queue has ContentBasedDeduplication set, your MessageDeduplicationId
+ // overrides the generated one.
+ //
+ // When ContentBasedDeduplication is in effect, messages with identical content
+ // sent within the deduplication interval are treated as duplicates and only
+ // one copy of the message is delivered.
+ //
+ // You can also use ContentBasedDeduplication for messages with identical content
+ // to be treated as duplicates.
+ //
+ // If you send one message with ContentBasedDeduplication enabled and then another
+ // message with a MessageDeduplicationId that is the same as the one generated
+ // for the first MessageDeduplicationId, the two messages are treated as
+ // duplicates and only one copy of the message is delivered.
+ //
// Any other valid special request parameters that are specified (such as ApproximateNumberOfMessages,
// ApproximateNumberOfMessagesDelayed, ApproximateNumberOfMessagesNotVisible,
// CreatedTimestamp, LastModifiedTimestamp, and QueueArn) will be ignored.
Attributes map[string]*string `locationName:"Attribute" locationNameKey:"Name" locationNameValue:"Value" type:"map" flattened:"true"`
- // The name for the queue to be created.
+ // The name of the new queue. The following limits apply to this name:
+ //
+ // * A queue name can have up to 80 characters.
+ //
+ // * The following are accepted: alphanumeric chatacters, hyphens (-), and
+ // underscores (_).
+ //
+ // * A FIFO queue name must end with the .fifo suffix.
//
// Queue names are case-sensitive.
//
@@ -1806,6 +2016,18 @@ func (s *CreateQueueInput) Validate() error {
return nil
}
+// SetAttributes sets the Attributes field's value.
+func (s *CreateQueueInput) SetAttributes(v map[string]*string) *CreateQueueInput {
+ s.Attributes = v
+ return s
+}
+
+// SetQueueName sets the QueueName field's value.
+func (s *CreateQueueInput) SetQueueName(v string) *CreateQueueInput {
+ s.QueueName = &v
+ return s
+}
+
// Returns the QueueUrl element of the created queue.
type CreateQueueOutput struct {
_ struct{} `type:"structure"`
@@ -1824,6 +2046,12 @@ func (s CreateQueueOutput) GoString() string {
return s.String()
}
+// SetQueueUrl sets the QueueUrl field's value.
+func (s *CreateQueueOutput) SetQueueUrl(v string) *CreateQueueOutput {
+ s.QueueUrl = &v
+ return s
+}
+
type DeleteMessageBatchInput struct {
_ struct{} `type:"structure"`
@@ -1876,9 +2104,21 @@ func (s *DeleteMessageBatchInput) Validate() error {
return nil
}
+// SetEntries sets the Entries field's value.
+func (s *DeleteMessageBatchInput) SetEntries(v []*DeleteMessageBatchRequestEntry) *DeleteMessageBatchInput {
+ s.Entries = v
+ return s
+}
+
+// SetQueueUrl sets the QueueUrl field's value.
+func (s *DeleteMessageBatchInput) SetQueueUrl(v string) *DeleteMessageBatchInput {
+ s.QueueUrl = &v
+ return s
+}
+
// For each message in the batch, the response contains a DeleteMessageBatchResultEntry
// tag if the message is deleted or a BatchResultErrorEntry tag if the message
-// cannot be deleted.
+// can't be deleted.
type DeleteMessageBatchOutput struct {
_ struct{} `type:"structure"`
@@ -1903,6 +2143,18 @@ func (s DeleteMessageBatchOutput) GoString() string {
return s.String()
}
+// SetFailed sets the Failed field's value.
+func (s *DeleteMessageBatchOutput) SetFailed(v []*BatchResultErrorEntry) *DeleteMessageBatchOutput {
+ s.Failed = v
+ return s
+}
+
+// SetSuccessful sets the Successful field's value.
+func (s *DeleteMessageBatchOutput) SetSuccessful(v []*DeleteMessageBatchResultEntry) *DeleteMessageBatchOutput {
+ s.Successful = v
+ return s
+}
+
// Encloses a receipt handle and an identifier for it.
type DeleteMessageBatchRequestEntry struct {
_ struct{} `type:"structure"`
@@ -1946,6 +2198,18 @@ func (s *DeleteMessageBatchRequestEntry) Validate() error {
return nil
}
+// SetId sets the Id field's value.
+func (s *DeleteMessageBatchRequestEntry) SetId(v string) *DeleteMessageBatchRequestEntry {
+ s.Id = &v
+ return s
+}
+
+// SetReceiptHandle sets the ReceiptHandle field's value.
+func (s *DeleteMessageBatchRequestEntry) SetReceiptHandle(v string) *DeleteMessageBatchRequestEntry {
+ s.ReceiptHandle = &v
+ return s
+}
+
// Encloses the id an entry in DeleteMessageBatch.
type DeleteMessageBatchResultEntry struct {
_ struct{} `type:"structure"`
@@ -1966,6 +2230,12 @@ func (s DeleteMessageBatchResultEntry) GoString() string {
return s.String()
}
+// SetId sets the Id field's value.
+func (s *DeleteMessageBatchResultEntry) SetId(v string) *DeleteMessageBatchResultEntry {
+ s.Id = &v
+ return s
+}
+
type DeleteMessageInput struct {
_ struct{} `type:"structure"`
@@ -2008,6 +2278,18 @@ func (s *DeleteMessageInput) Validate() error {
return nil
}
+// SetQueueUrl sets the QueueUrl field's value.
+func (s *DeleteMessageInput) SetQueueUrl(v string) *DeleteMessageInput {
+ s.QueueUrl = &v
+ return s
+}
+
+// SetReceiptHandle sets the ReceiptHandle field's value.
+func (s *DeleteMessageInput) SetReceiptHandle(v string) *DeleteMessageInput {
+ s.ReceiptHandle = &v
+ return s
+}
+
type DeleteMessageOutput struct {
_ struct{} `type:"structure"`
}
@@ -2056,6 +2338,12 @@ func (s *DeleteQueueInput) Validate() error {
return nil
}
+// SetQueueUrl sets the QueueUrl field's value.
+func (s *DeleteQueueInput) SetQueueUrl(v string) *DeleteQueueInput {
+ s.QueueUrl = &v
+ return s
+}
+
type DeleteQueueOutput struct {
_ struct{} `type:"structure"`
}
@@ -2073,57 +2361,70 @@ func (s DeleteQueueOutput) GoString() string {
type GetQueueAttributesInput struct {
_ struct{} `type:"structure"`
- // A list of attributes to retrieve information for. The following attributes
- // are supported:
+ // A list of attributes for which to retrieve information.
+ //
+ // Going forward, new attributes might be added. If you are writing code that
+ // calls this action, we recommend that you structure your code so that it can
+ // handle new attributes gracefully.
+ //
+ // The following attributes are supported:
//
- // * All - returns all values.
+ // * All - Returns all values.
//
- // * ApproximateNumberOfMessages - returns the approximate number of visible
+ // * ApproximateNumberOfMessages - Returns the approximate number of visible
// messages in a queue. For more information, see Resources Required to Process
// Messages (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/ApproximateNumber.html)
// in the Amazon SQS Developer Guide.
//
- // * ApproximateNumberOfMessagesNotVisible - returns the approximate number
- // of messages that are not timed-out and not deleted. For more information,
- // see Resources Required to Process Messages (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/ApproximateNumber.html)
- // in the Amazon SQS Developer Guide.
+ // * ApproximateNumberOfMessagesDelayed - Returns the approximate number
+ // of messages that are waiting to be added to the queue.
//
- // * VisibilityTimeout - returns the visibility timeout for the queue. For
- // more information about visibility timeout, see Visibility Timeout (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/AboutVT.html)
+ // * ApproximateNumberOfMessagesNotVisible - Returns the approximate number
+ // of messages that have not timed-out and are not deleted. For more information,
+ // see Resources Required to Process Messages (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/ApproximateNumber.html)
// in the Amazon SQS Developer Guide.
//
- // * CreatedTimestamp - returns the time when the queue was created (epoch
- // time in seconds).
+ // * CreatedTimestamp - Returns the time when the queue was created in seconds
+ // (epoch time).
//
- // * LastModifiedTimestamp - returns the time when the queue was last changed
- // (epoch time in seconds).
+ // * DelaySeconds - Returns the default delay on the queue in seconds.
//
- // * Policy - returns the queue's policy.
+ // * LastModifiedTimestamp - Returns the time when the queue was last changed
+ // in seconds (epoch time).
//
- // * MaximumMessageSize - returns the limit of how many bytes a message can
+ // * MaximumMessageSize - Returns the limit of how many bytes a message can
// contain before Amazon SQS rejects it.
//
- // * MessageRetentionPeriod - returns the number of seconds Amazon SQS retains
- // a message.
+ // * MessageRetentionPeriod - Returns the number of seconds for which Amazon
+ // SQS retains a message.
+ //
+ // * Policy - Returns the policy of the queue.
//
- // * QueueArn - returns the queue's Amazon resource name (ARN).
+ // * QueueArn - Returns the Amazon resource name (ARN) of the queue.
//
- // * ApproximateNumberOfMessagesDelayed - returns the approximate number
- // of messages that are pending to be added to the queue.
+ // * ReceiveMessageWaitTimeSeconds - Returns the number of seconds for which
+ // ReceiveMessage call will wait for a message to arrive.
//
- // * DelaySeconds - returns the default delay on the queue in seconds.
+ // * RedrivePolicy - Returns the parameters for dead letter queue functionality
+ // of the source queue. For more information about the redrive policy and
+ // dead letter queues, see Using Amazon SQS Dead Letter Queues (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/SQSDeadLetterQueue.html)
+ // in the Amazon SQS Developer Guide.
+ //
+ // * VisibilityTimeout - Returns the visibility timeout for the queue. For
+ // more information about the visibility timeout, see Visibility Timeout
+ // (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/AboutVT.html)
+ // in the Amazon SQS Developer Guide.
//
- // * ReceiveMessageWaitTimeSeconds - returns the time for which a ReceiveMessage
- // call will wait for a message to arrive.
+ // The following attributes apply only to FIFO (first-in-first-out) queues (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html):
//
- // * RedrivePolicy - returns the parameters for dead letter queue functionality
- // of the source queue. For more information about RedrivePolicy and dead
- // letter queues, see Using Amazon SQS Dead Letter Queues (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/SQSDeadLetterQueue.html)
+ // * FifoQueue - Returns whether the queue is FIFO. For more information,
+ // see FIFO Queue Logic (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html#FIFO-queues-understanding-logic)
// in the Amazon SQS Developer Guide.
//
- // Going forward, new attributes might be added. If you are writing code that
- // calls this action, we recommend that you structure your code so that it can
- // handle new attributes gracefully.
+ // * ContentBasedDeduplication - Returns whether content-based deduplication
+ // is enabled for the queue. For more information, see Exactly-Once Processing
+ // (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html#FIFO-queues-exactly-once-processing)
+ // in the Amazon SQS Developer Guide.
AttributeNames []*string `locationNameList:"AttributeName" type:"list" flattened:"true"`
// The URL of the Amazon SQS queue to take action on.
@@ -2157,6 +2458,18 @@ func (s *GetQueueAttributesInput) Validate() error {
return nil
}
+// SetAttributeNames sets the AttributeNames field's value.
+func (s *GetQueueAttributesInput) SetAttributeNames(v []*string) *GetQueueAttributesInput {
+ s.AttributeNames = v
+ return s
+}
+
+// SetQueueUrl sets the QueueUrl field's value.
+func (s *GetQueueAttributesInput) SetQueueUrl(v string) *GetQueueAttributesInput {
+ s.QueueUrl = &v
+ return s
+}
+
// A list of returned queue attributes.
type GetQueueAttributesOutput struct {
_ struct{} `type:"structure"`
@@ -2175,6 +2488,12 @@ func (s GetQueueAttributesOutput) GoString() string {
return s.String()
}
+// SetAttributes sets the Attributes field's value.
+func (s *GetQueueAttributesOutput) SetAttributes(v map[string]*string) *GetQueueAttributesOutput {
+ s.Attributes = v
+ return s
+}
+
type GetQueueUrlInput struct {
_ struct{} `type:"structure"`
@@ -2213,6 +2532,18 @@ func (s *GetQueueUrlInput) Validate() error {
return nil
}
+// SetQueueName sets the QueueName field's value.
+func (s *GetQueueUrlInput) SetQueueName(v string) *GetQueueUrlInput {
+ s.QueueName = &v
+ return s
+}
+
+// SetQueueOwnerAWSAccountId sets the QueueOwnerAWSAccountId field's value.
+func (s *GetQueueUrlInput) SetQueueOwnerAWSAccountId(v string) *GetQueueUrlInput {
+ s.QueueOwnerAWSAccountId = &v
+ return s
+}
+
// For more information, see Responses (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/UnderstandingResponses.html)
// in the Amazon SQS Developer Guide.
type GetQueueUrlOutput struct {
@@ -2232,6 +2563,12 @@ func (s GetQueueUrlOutput) GoString() string {
return s.String()
}
+// SetQueueUrl sets the QueueUrl field's value.
+func (s *GetQueueUrlOutput) SetQueueUrl(v string) *GetQueueUrlOutput {
+ s.QueueUrl = &v
+ return s
+}
+
type ListDeadLetterSourceQueuesInput struct {
_ struct{} `type:"structure"`
@@ -2266,6 +2603,12 @@ func (s *ListDeadLetterSourceQueuesInput) Validate() error {
return nil
}
+// SetQueueUrl sets the QueueUrl field's value.
+func (s *ListDeadLetterSourceQueuesInput) SetQueueUrl(v string) *ListDeadLetterSourceQueuesInput {
+ s.QueueUrl = &v
+ return s
+}
+
// A list of your dead letter source queues.
type ListDeadLetterSourceQueuesOutput struct {
_ struct{} `type:"structure"`
@@ -2287,6 +2630,12 @@ func (s ListDeadLetterSourceQueuesOutput) GoString() string {
return s.String()
}
+// SetQueueUrls sets the QueueUrls field's value.
+func (s *ListDeadLetterSourceQueuesOutput) SetQueueUrls(v []*string) *ListDeadLetterSourceQueuesOutput {
+ s.QueueUrls = v
+ return s
+}
+
type ListQueuesInput struct {
_ struct{} `type:"structure"`
@@ -2307,6 +2656,12 @@ func (s ListQueuesInput) GoString() string {
return s.String()
}
+// SetQueueNamePrefix sets the QueueNamePrefix field's value.
+func (s *ListQueuesInput) SetQueueNamePrefix(v string) *ListQueuesInput {
+ s.QueueNamePrefix = &v
+ return s
+}
+
// A list of your queues.
type ListQueuesOutput struct {
_ struct{} `type:"structure"`
@@ -2325,6 +2680,12 @@ func (s ListQueuesOutput) GoString() string {
return s.String()
}
+// SetQueueUrls sets the QueueUrls field's value.
+func (s *ListQueuesOutput) SetQueueUrls(v []*string) *ListQueuesOutput {
+ s.QueueUrls = v
+ return s
+}
+
// An Amazon SQS message.
type Message struct {
_ struct{} `type:"structure"`
@@ -2344,11 +2705,12 @@ type Message struct {
// An MD5 digest of the non-URL-encoded message attribute string. This can be
// used to verify that Amazon SQS received the message correctly. Amazon SQS
// first URL decodes the message before creating the MD5 digest. For information
- // about MD5, go to http://www.faqs.org/rfcs/rfc1321.html (http://www.faqs.org/rfcs/rfc1321.html).
+ // about MD5, see RFC1321 (https://www.ietf.org/rfc/rfc1321.txt).
MD5OfMessageAttributes *string `type:"string"`
// Each message attribute consists of a Name, Type, and Value. For more information,
- // see Message Attribute Items (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/SQSMessageAttributes.html#SQSMessageAttributesNTV).
+ // see Message Attribute Items (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/SQSMessageAttributes.html#SQSMessageAttributesNTV)
+ // in the Amazon SQS Developer Guide.
MessageAttributes map[string]*MessageAttributeValue `locationName:"MessageAttribute" locationNameKey:"Name" locationNameValue:"Value" type:"map" flattened:"true"`
// A unique identifier for the message. Message IDs are considered unique across
@@ -2371,9 +2733,51 @@ func (s Message) GoString() string {
return s.String()
}
+// SetAttributes sets the Attributes field's value.
+func (s *Message) SetAttributes(v map[string]*string) *Message {
+ s.Attributes = v
+ return s
+}
+
+// SetBody sets the Body field's value.
+func (s *Message) SetBody(v string) *Message {
+ s.Body = &v
+ return s
+}
+
+// SetMD5OfBody sets the MD5OfBody field's value.
+func (s *Message) SetMD5OfBody(v string) *Message {
+ s.MD5OfBody = &v
+ return s
+}
+
+// SetMD5OfMessageAttributes sets the MD5OfMessageAttributes field's value.
+func (s *Message) SetMD5OfMessageAttributes(v string) *Message {
+ s.MD5OfMessageAttributes = &v
+ return s
+}
+
+// SetMessageAttributes sets the MessageAttributes field's value.
+func (s *Message) SetMessageAttributes(v map[string]*MessageAttributeValue) *Message {
+ s.MessageAttributes = v
+ return s
+}
+
+// SetMessageId sets the MessageId field's value.
+func (s *Message) SetMessageId(v string) *Message {
+ s.MessageId = &v
+ return s
+}
+
+// SetReceiptHandle sets the ReceiptHandle field's value.
+func (s *Message) SetReceiptHandle(v string) *Message {
+ s.ReceiptHandle = &v
+ return s
+}
+
// The user-specified message attribute value. For string data types, the value
// attribute has the same restrictions on the content as the message body. For
-// more information, see SendMessage (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/APIReference/API_SendMessage.html).
+// more information, see SendMessage.
//
// Name, type, and value must not be empty or null. In addition, the message
// body should not be empty or null. All parts of the message attribute, including
@@ -2395,7 +2799,8 @@ type MessageAttributeValue struct {
// Binary. For the Number data type, you must use StringValue.
//
// You can also append custom labels. For more information, see Message Attribute
- // Data Types (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/SQSMessageAttributes.html#SQSMessageAttributes.DataTypes).
+ // Data Types (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/SQSMessageAttributes.html#SQSMessageAttributes.DataTypes)
+ // in the Amazon SQS Developer Guide.
//
// DataType is a required field
DataType *string `type:"string" required:"true"`
@@ -2404,7 +2809,7 @@ type MessageAttributeValue struct {
StringListValues []*string `locationName:"StringListValue" locationNameList:"StringListValue" type:"list" flattened:"true"`
// Strings are Unicode with UTF8 binary encoding. For a list of code values,
- // see http://en.wikipedia.org/wiki/ASCII#ASCII_printable_characters (http://en.wikipedia.org/wiki/ASCII#ASCII_printable_characters).
+ // see ASCII Printable Characters (http://en.wikipedia.org/wiki/ASCII#ASCII_printable_characters).
StringValue *string `type:"string"`
}
@@ -2431,6 +2836,36 @@ func (s *MessageAttributeValue) Validate() error {
return nil
}
+// SetBinaryListValues sets the BinaryListValues field's value.
+func (s *MessageAttributeValue) SetBinaryListValues(v [][]byte) *MessageAttributeValue {
+ s.BinaryListValues = v
+ return s
+}
+
+// SetBinaryValue sets the BinaryValue field's value.
+func (s *MessageAttributeValue) SetBinaryValue(v []byte) *MessageAttributeValue {
+ s.BinaryValue = v
+ return s
+}
+
+// SetDataType sets the DataType field's value.
+func (s *MessageAttributeValue) SetDataType(v string) *MessageAttributeValue {
+ s.DataType = &v
+ return s
+}
+
+// SetStringListValues sets the StringListValues field's value.
+func (s *MessageAttributeValue) SetStringListValues(v []*string) *MessageAttributeValue {
+ s.StringListValues = v
+ return s
+}
+
+// SetStringValue sets the StringValue field's value.
+func (s *MessageAttributeValue) SetStringValue(v string) *MessageAttributeValue {
+ s.StringValue = &v
+ return s
+}
+
type PurgeQueueInput struct {
_ struct{} `type:"structure"`
@@ -2466,6 +2901,12 @@ func (s *PurgeQueueInput) Validate() error {
return nil
}
+// SetQueueUrl sets the QueueUrl field's value.
+func (s *PurgeQueueInput) SetQueueUrl(v string) *PurgeQueueInput {
+ s.QueueUrl = &v
+ return s
+}
+
type PurgeQueueOutput struct {
_ struct{} `type:"structure"`
}
@@ -2486,29 +2927,68 @@ type ReceiveMessageInput struct {
// A list of attributes that need to be returned along with each message. These
// attributes include:
//
- // * All - returns all values.
+ // * All - Returns all values.
//
- // * ApproximateFirstReceiveTimestamp - returns the time when the message
- // was first received from the queue (epoch time in milliseconds).
+ // * ApproximateFirstReceiveTimestamp - Returns the time the message was
+ // first received from the queue (epoch time in milliseconds).
//
- // * ApproximateReceiveCount - returns the number of times a message has
+ // * ApproximateReceiveCount - Returns the number of times a message has
// been received from the queue but not deleted.
//
- // * SenderId - returns the AWS account number (or the IP address, if anonymous
- // access is allowed) of the sender.
+ // * SenderId
//
- // * SentTimestamp - returns the time when the message was sent to the queue
- // (epoch time in milliseconds).
+ // For an IAM user, returns the IAM user ID, for example ABCDEFGHI1JKLMNOPQ23R.
//
- // Any other valid special request parameters that are specified (such as ApproximateNumberOfMessages,
- // ApproximateNumberOfMessagesDelayed, ApproximateNumberOfMessagesNotVisible,
- // CreatedTimestamp, DelaySeconds, LastModifiedTimestamp, MaximumMessageSize,
- // MessageRetentionPeriod, Policy, QueueArn, ReceiveMessageWaitTimeSeconds,
- // RedrivePolicy, and VisibilityTimeout) will be ignored.
+ // For an IAM role, returns the IAM role ID, for example ABCDE1F2GH3I4JK5LMNOP:i-a123b456.
+ //
+ // * SentTimestamp - Returns the time the message was sent to the queue (epoch
+ // time in milliseconds).
+ //
+ // * MessageDeduplicationId - Returns the value provided by the sender that
+ // calls the SendMessage action.
+ //
+ // * MessageGroupId - Returns the value provided by the sender that calls
+ // the SendMessage action. Messages with the same MessageGroupId are returned
+ // in sequence.
+ //
+ // * SequenceNumber - Returns the value provided by Amazon SQS.
+ //
+ // Any other valid special request parameters (such as the following) that are
+ // specified are ignored:
+ //
+ // * ApproximateNumberOfMessages
+ //
+ // * ApproximateNumberOfMessagesDelayed
+ //
+ // * ApproximateNumberOfMessagesNotVisible
+ //
+ // * CreatedTimestamp
+ //
+ // * ContentBasedDeduplication
+ //
+ // * DelaySeconds
+ //
+ // * LastModifiedTimestamp
+ //
+ // * MaximumMessageSize
+ //
+ // * MessageRetentionPeriod
+ //
+ // * Policy
+ //
+ // * QueueArn,
+ //
+ // * ReceiveMessageWaitTimeSeconds
+ //
+ // * RedrivePolicy
+ //
+ // * FifoQueue
+ //
+ // * VisibilityTimeout
AttributeNames []*string `locationNameList:"AttributeName" type:"list" flattened:"true"`
// The maximum number of messages to return. Amazon SQS never returns more messages
- // than this value but may return fewer. Values can be from 1 to 10. Default
+ // than this value but might return fewer. Values can be from 1 to 10. Default
// is 1.
//
// All of the messages are not necessarily returned.
@@ -2519,7 +2999,7 @@ type ReceiveMessageInput struct {
// hyphen (-), and period (.). The name must not start or end with a period,
// and it should not have successive periods. The name is case sensitive and
// must be unique among all attribute names for the message. The name can be
- // up to 256 characters long. The name cannot start with "AWS." or "Amazon."
+ // up to 256 characters long. The name can't start with "AWS." or "Amazon."
// (or any variations in casing), because these prefixes are reserved for use
// by Amazon Web Services.
//
@@ -2536,6 +3016,62 @@ type ReceiveMessageInput struct {
// QueueUrl is a required field
QueueUrl *string `type:"string" required:"true"`
+ // This parameter applies only to FIFO (first-in-first-out) queues.
+ //
+ // The token used for deduplication of ReceiveMessage calls. If a networking
+ // issue occurs after a ReceiveMessage action, and instead of a response you
+ // receive a generic error, you can retry the same action with an identical
+ // ReceiveRequestAttemptId to retrieve the same set of messages, even if their
+ // visibility timeout has not yet expired.
+ //
+ // * You can use ReceiveRequestAttemptId only for 5 minutes after a ReceiveMessage
+ // action.
+ //
+ // * When you set FifoQueue, a caller of the ReceiveMessage action can provide
+ // a ReceiveRequestAttemptId explicitly.
+ //
+ // * If a caller of the ReceiveMessage action doesn't provide a ReceiveRequestAttemptId,
+ // Amazon SQS generates a ReceiveRequestAttemptId.
+ //
+ // * You can retry the ReceiveMessage action with the same ReceiveRequestAttemptId
+ // if none of the messages have been modified (deleted or had their visibility
+ // changes).
+ //
+ // * During a visibility timeout, subsequent calls with the same ReceiveRequestAttemptId
+ // return the same messages and receipt handles. If a retry occurs within
+ // the deduplication interval, it resets the visibility timeout. For more
+ // information, see Visibility Timeout (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/AboutVT.html)
+ // in the Amazon Simple Queue Service Developer Guide.
+ //
+ // If a caller of the ReceiveMessage action is still processing messages when
+ // the visibility timeout expires and messages become visible, another worker
+ // reading from the same queue can receive the same messages and therefore
+ // process duplicates. Also, if a reader whose message processing time is
+ // longer than the visibility timeout tries to delete the processed messages,
+ // the action fails with an error.
+ //
+ // To mitigate this effect, ensure that your application observes a safe threshold
+ // before the visibility timeout expires and extend the visibility timeout
+ // as necessary.
+ //
+ // * While messages with a particular MessageGroupId are invisible, no more
+ // messages belonging to the same MessageGroupId are returned until the visibility
+ // timeout expires. You can still receive messages with another MessageGroupId
+ // as long as it is also visible.
+ //
+ // * If a caller of ReceiveMessage can't track the ReceiveRequestAttemptId,
+ // no retries will work until the original visibility timeout expires. As
+ // a result, delays might occur but the messages in the queue will remain
+ // in a strict order.
+ //
+ // The length of ReceiveRequestAttemptId is 128 characters. ReceiveRequestAttemptId
+ // can contain alphanumeric characters (a-z, A-Z, 0-9) and punctuation (!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~).
+ //
+ // For best practices of using ReceiveRequestAttemptId, see Using the ReceiveRequestAttemptId
+ // Request Parameter (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queue-recommendations.html#using-receiverequestattemptid-request-parameter)
+ // in the Amazon Simple Queue Service Developer Guide.
+ ReceiveRequestAttemptId *string `type:"string"`
+
// The duration (in seconds) that the received messages are hidden from subsequent
// retrieve requests after being retrieved by a ReceiveMessage request.
VisibilityTimeout *int64 `type:"integer"`
@@ -2569,6 +3105,48 @@ func (s *ReceiveMessageInput) Validate() error {
return nil
}
+// SetAttributeNames sets the AttributeNames field's value.
+func (s *ReceiveMessageInput) SetAttributeNames(v []*string) *ReceiveMessageInput {
+ s.AttributeNames = v
+ return s
+}
+
+// SetMaxNumberOfMessages sets the MaxNumberOfMessages field's value.
+func (s *ReceiveMessageInput) SetMaxNumberOfMessages(v int64) *ReceiveMessageInput {
+ s.MaxNumberOfMessages = &v
+ return s
+}
+
+// SetMessageAttributeNames sets the MessageAttributeNames field's value.
+func (s *ReceiveMessageInput) SetMessageAttributeNames(v []*string) *ReceiveMessageInput {
+ s.MessageAttributeNames = v
+ return s
+}
+
+// SetQueueUrl sets the QueueUrl field's value.
+func (s *ReceiveMessageInput) SetQueueUrl(v string) *ReceiveMessageInput {
+ s.QueueUrl = &v
+ return s
+}
+
+// SetReceiveRequestAttemptId sets the ReceiveRequestAttemptId field's value.
+func (s *ReceiveMessageInput) SetReceiveRequestAttemptId(v string) *ReceiveMessageInput {
+ s.ReceiveRequestAttemptId = &v
+ return s
+}
+
+// SetVisibilityTimeout sets the VisibilityTimeout field's value.
+func (s *ReceiveMessageInput) SetVisibilityTimeout(v int64) *ReceiveMessageInput {
+ s.VisibilityTimeout = &v
+ return s
+}
+
+// SetWaitTimeSeconds sets the WaitTimeSeconds field's value.
+func (s *ReceiveMessageInput) SetWaitTimeSeconds(v int64) *ReceiveMessageInput {
+ s.WaitTimeSeconds = &v
+ return s
+}
+
// A list of received messages.
type ReceiveMessageOutput struct {
_ struct{} `type:"structure"`
@@ -2587,6 +3165,12 @@ func (s ReceiveMessageOutput) GoString() string {
return s.String()
}
+// SetMessages sets the Messages field's value.
+func (s *ReceiveMessageOutput) SetMessages(v []*Message) *ReceiveMessageOutput {
+ s.Messages = v
+ return s
+}
+
type RemovePermissionInput struct {
_ struct{} `type:"structure"`
@@ -2630,6 +3214,18 @@ func (s *RemovePermissionInput) Validate() error {
return nil
}
+// SetLabel sets the Label field's value.
+func (s *RemovePermissionInput) SetLabel(v string) *RemovePermissionInput {
+ s.Label = &v
+ return s
+}
+
+// SetQueueUrl sets the QueueUrl field's value.
+func (s *RemovePermissionInput) SetQueueUrl(v string) *RemovePermissionInput {
+ s.QueueUrl = &v
+ return s
+}
+
type RemovePermissionOutput struct {
_ struct{} `type:"structure"`
}
@@ -2696,6 +3292,18 @@ func (s *SendMessageBatchInput) Validate() error {
return nil
}
+// SetEntries sets the Entries field's value.
+func (s *SendMessageBatchInput) SetEntries(v []*SendMessageBatchRequestEntry) *SendMessageBatchInput {
+ s.Entries = v
+ return s
+}
+
+// SetQueueUrl sets the QueueUrl field's value.
+func (s *SendMessageBatchInput) SetQueueUrl(v string) *SendMessageBatchInput {
+ s.QueueUrl = &v
+ return s
+}
+
// For each message in the batch, the response contains a SendMessageBatchResultEntry
// tag if the message succeeds or a BatchResultErrorEntry tag if the message
// fails.
@@ -2724,11 +3332,29 @@ func (s SendMessageBatchOutput) GoString() string {
return s.String()
}
+// SetFailed sets the Failed field's value.
+func (s *SendMessageBatchOutput) SetFailed(v []*BatchResultErrorEntry) *SendMessageBatchOutput {
+ s.Failed = v
+ return s
+}
+
+// SetSuccessful sets the Successful field's value.
+func (s *SendMessageBatchOutput) SetSuccessful(v []*SendMessageBatchResultEntry) *SendMessageBatchOutput {
+ s.Successful = v
+ return s
+}
+
// Contains the details of a single Amazon SQS message along with a Id.
type SendMessageBatchRequestEntry struct {
_ struct{} `type:"structure"`
- // The number of seconds for which the message has to be delayed.
+ // The number of seconds (0 to 900 - 15 minutes) to delay a specific message.
+ // Messages with a positive DelaySeconds value become available for processing
+ // after the delay time is finished. If you don't specify a value, the default
+ // value for the queue applies.
+ //
+ // When you set FifoQueue, you can't set DelaySeconds per message. You can set
+ // this parameter only on a queue level.
DelaySeconds *int64 `type:"integer"`
// An identifier for the message in this batch. This is used to communicate
@@ -2739,13 +3365,90 @@ type SendMessageBatchRequestEntry struct {
Id *string `type:"string" required:"true"`
// Each message attribute consists of a Name, Type, and Value. For more information,
- // see Message Attribute Items (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/SQSMessageAttributes.html#SQSMessageAttributesNTV).
+ // see Message Attribute Items (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/SQSMessageAttributes.html#SQSMessageAttributesNTV)
+ // in the Amazon SQS Developer Guide.
MessageAttributes map[string]*MessageAttributeValue `locationName:"MessageAttribute" locationNameKey:"Name" locationNameValue:"Value" type:"map" flattened:"true"`
// Body of the message.
//
// MessageBody is a required field
MessageBody *string `type:"string" required:"true"`
+
+ // This parameter applies only to FIFO (first-in-first-out) queues.
+ //
+ // The token used for deduplication of messages within a 5-minute minimum deduplication
+ // interval. If a message with a particular MessageDeduplicationId is sent successfully,
+ // subsequent messages with the same MessageDeduplicationId are accepted successfully
+ // but aren't delivered. For more information, see Exactly-Once Processing
+ // (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html#FIFO-queues-exactly-once-processing)
+ // in the Amazon SQS Developer Guide.
+ //
+ // * Every message must have a unique MessageDeduplicationId,
+ //
+ // You may provide a MessageDeduplicationId explicitly.
+ //
+ // If you aren't able to provide a MessageDeduplicationId and you enable ContentBasedDeduplication
+ // for your queue, Amazon SQS uses a SHA-256 hash to generate the MessageDeduplicationId
+ // using the body of the message (but not the attributes of the message).
+ //
+ //
+ // If you don't provide a MessageDeduplicationId and the queue doesn't have
+ // ContentBasedDeduplication set, the action fails with an error.
+ //
+ // If the queue has ContentBasedDeduplication set, your MessageDeduplicationId
+ // overrides the generated one.
+ //
+ // * When ContentBasedDeduplication is in effect, messages with identical
+ // content sent within the deduplication interval are treated as duplicates
+ // and only one copy of the message is delivered.
+ //
+ // * You can also use ContentBasedDeduplication for messages with identical
+ // content to be treated as duplicates.
+ //
+ // * If you send one message with ContentBasedDeduplication enabled and then
+ // another message with a MessageDeduplicationId that is the same as the
+ // one generated for the first MessageDeduplicationId, the two messages are
+ // treated as duplicates and only one copy of the message is delivered.
+ //
+ // The MessageDeduplicationId is available to the recipient of the message (this
+ // can be useful for troubleshooting delivery issues).
+ //
+ // If a message is sent successfully but the acknowledgement is lost and the
+ // message is resent with the same MessageDeduplicationId after the deduplication
+ // interval, Amazon SQS can't detect duplicate messages.
+ //
+ // The length of MessageDeduplicationId is 128 characters. MessageDeduplicationId
+ // can contain alphanumeric characters (a-z, A-Z, 0-9) and punctuation (!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~).
+ //
+ // For best practices of using MessageDeduplicationId, see Using the MessageDeduplicationId
+ // Property (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queue-recommendations.html#using-messagededuplicationid-property)
+ // in the Amazon Simple Queue Service Developer Guide.
+ MessageDeduplicationId *string `type:"string"`
+
+ // This parameter applies only to FIFO (first-in-first-out) queues.
+ //
+ // The tag that specifies that a message belongs to a specific message group.
+ // Messages that belong to the same message group are processed in a FIFO manner
+ // (however, messages in different message groups might be processed out of
+ // order). To interleave multiple ordered streams within a single queue, use
+ // MessageGroupId values (for example, session data for multiple users). In
+ // this scenario, multiple readers can process the queue, but the session data
+ // of each user is processed in a FIFO fashion.
+ //
+ // * You must associate a non-empty MessageGroupId with a message. If you
+ // don't provide a MessageGroupId, the action fails.
+ //
+ // * ReceiveMessage might return messages with multiple MessageGroupId values.
+ // For each MessageGroupId, the messages are sorted by time sent. The caller
+ // can't specify a MessageGroupId.
+ //
+ // The length of MessageGroupId is 128 characters. Valid values are alphanumeric
+ // characters and punctuation (!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~).
+ //
+ // For best practices of using MessageGroupId, see Using the MessageGroupId
+ // Property (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queue-recommendations.html#using-messagegroupid-property)
+ // in the Amazon Simple Queue Service Developer Guide.
+ MessageGroupId *string `type:"string"`
}
// String returns the string representation
@@ -2784,6 +3487,42 @@ func (s *SendMessageBatchRequestEntry) Validate() error {
return nil
}
+// SetDelaySeconds sets the DelaySeconds field's value.
+func (s *SendMessageBatchRequestEntry) SetDelaySeconds(v int64) *SendMessageBatchRequestEntry {
+ s.DelaySeconds = &v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *SendMessageBatchRequestEntry) SetId(v string) *SendMessageBatchRequestEntry {
+ s.Id = &v
+ return s
+}
+
+// SetMessageAttributes sets the MessageAttributes field's value.
+func (s *SendMessageBatchRequestEntry) SetMessageAttributes(v map[string]*MessageAttributeValue) *SendMessageBatchRequestEntry {
+ s.MessageAttributes = v
+ return s
+}
+
+// SetMessageBody sets the MessageBody field's value.
+func (s *SendMessageBatchRequestEntry) SetMessageBody(v string) *SendMessageBatchRequestEntry {
+ s.MessageBody = &v
+ return s
+}
+
+// SetMessageDeduplicationId sets the MessageDeduplicationId field's value.
+func (s *SendMessageBatchRequestEntry) SetMessageDeduplicationId(v string) *SendMessageBatchRequestEntry {
+ s.MessageDeduplicationId = &v
+ return s
+}
+
+// SetMessageGroupId sets the MessageGroupId field's value.
+func (s *SendMessageBatchRequestEntry) SetMessageGroupId(v string) *SendMessageBatchRequestEntry {
+ s.MessageGroupId = &v
+ return s
+}
+
// Encloses a message ID for successfully enqueued message of a SendMessageBatch.
type SendMessageBatchResultEntry struct {
_ struct{} `type:"structure"`
@@ -2796,13 +3535,13 @@ type SendMessageBatchResultEntry struct {
// An MD5 digest of the non-URL-encoded message attribute string. This can be
// used to verify that Amazon SQS received the message batch correctly. Amazon
// SQS first URL decodes the message before creating the MD5 digest. For information
- // about MD5, go to http://www.faqs.org/rfcs/rfc1321.html (http://www.faqs.org/rfcs/rfc1321.html).
+ // about MD5, see RFC1321 (https://www.ietf.org/rfc/rfc1321.txt).
MD5OfMessageAttributes *string `type:"string"`
// An MD5 digest of the non-URL-encoded message body string. This can be used
// to verify that Amazon SQS received the message correctly. Amazon SQS first
// URL decodes the message before creating the MD5 digest. For information about
- // MD5, go to http://www.faqs.org/rfcs/rfc1321.html (http://www.faqs.org/rfcs/rfc1321.html).
+ // MD5, see RFC1321 (https://www.ietf.org/rfc/rfc1321.txt).
//
// MD5OfMessageBody is a required field
MD5OfMessageBody *string `type:"string" required:"true"`
@@ -2811,6 +3550,14 @@ type SendMessageBatchResultEntry struct {
//
// MessageId is a required field
MessageId *string `type:"string" required:"true"`
+
+ // This element applies only to FIFO (first-in-first-out) queues.
+ //
+ // A large, non-consecutive number that Amazon SQS assigns to each message.
+ //
+ // The length of SequenceNumber is 128 bits. As SequenceNumber continues to
+ // increase for a particular MessageGroupId.
+ SequenceNumber *string `type:"string"`
}
// String returns the string representation
@@ -2823,6 +3570,36 @@ func (s SendMessageBatchResultEntry) GoString() string {
return s.String()
}
+// SetId sets the Id field's value.
+func (s *SendMessageBatchResultEntry) SetId(v string) *SendMessageBatchResultEntry {
+ s.Id = &v
+ return s
+}
+
+// SetMD5OfMessageAttributes sets the MD5OfMessageAttributes field's value.
+func (s *SendMessageBatchResultEntry) SetMD5OfMessageAttributes(v string) *SendMessageBatchResultEntry {
+ s.MD5OfMessageAttributes = &v
+ return s
+}
+
+// SetMD5OfMessageBody sets the MD5OfMessageBody field's value.
+func (s *SendMessageBatchResultEntry) SetMD5OfMessageBody(v string) *SendMessageBatchResultEntry {
+ s.MD5OfMessageBody = &v
+ return s
+}
+
+// SetMessageId sets the MessageId field's value.
+func (s *SendMessageBatchResultEntry) SetMessageId(v string) *SendMessageBatchResultEntry {
+ s.MessageId = &v
+ return s
+}
+
+// SetSequenceNumber sets the SequenceNumber field's value.
+func (s *SendMessageBatchResultEntry) SetSequenceNumber(v string) *SendMessageBatchResultEntry {
+ s.SequenceNumber = &v
+ return s
+}
+
type SendMessageInput struct {
_ struct{} `type:"structure"`
@@ -2830,18 +3607,98 @@ type SendMessageInput struct {
// Messages with a positive DelaySeconds value become available for processing
// after the delay time is finished. If you don't specify a value, the default
// value for the queue applies.
+ //
+ // When you set FifoQueue, you can't set DelaySeconds per message. You can set
+ // this parameter only on a queue level.
DelaySeconds *int64 `type:"integer"`
// Each message attribute consists of a Name, Type, and Value. For more information,
- // see Message Attribute Items (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/SQSMessageAttributes.html#SQSMessageAttributesNTV).
+ // see Message Attribute Items (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/SQSMessageAttributes.html#SQSMessageAttributesNTV)
+ // in the Amazon SQS Developer Guide.
MessageAttributes map[string]*MessageAttributeValue `locationName:"MessageAttribute" locationNameKey:"Name" locationNameValue:"Value" type:"map" flattened:"true"`
// The message to send. String maximum 256 KB in size. For a list of allowed
- // characters, see the preceding important note.
+ // characters, see the preceding note.
//
// MessageBody is a required field
MessageBody *string `type:"string" required:"true"`
+ // This parameter applies only to FIFO (first-in-first-out) queues.
+ //
+ // The token used for deduplication of sent messages. If a message with a particular
+ // MessageDeduplicationId is sent successfully, any messages sent with the same
+ // MessageDeduplicationId are accepted successfully but aren't delivered during
+ // the 5-minute deduplication interval. For more information, see Exactly-Once
+ // Processing (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html#FIFO-queues-exactly-once-processing)
+ // in the Amazon SQS Developer Guide.
+ //
+ // * Every message must have a unique MessageDeduplicationId,
+ //
+ // You may provide a MessageDeduplicationId explicitly.
+ //
+ // If you aren't able to provide a MessageDeduplicationId and you enable ContentBasedDeduplication
+ // for your queue, Amazon SQS uses a SHA-256 hash to generate the MessageDeduplicationId
+ // using the body of the message (but not the attributes of the message).
+ //
+ //
+ // If you don't provide a MessageDeduplicationId and the queue doesn't have
+ // ContentBasedDeduplication set, the action fails with an error.
+ //
+ // If the queue has ContentBasedDeduplication set, your MessageDeduplicationId
+ // overrides the generated one.
+ //
+ // * When ContentBasedDeduplication is in effect, messages with identical
+ // content sent within the deduplication interval are treated as duplicates
+ // and only one copy of the message is delivered.
+ //
+ // * You can also use ContentBasedDeduplication for messages with identical
+ // content to be treated as duplicates.
+ //
+ // * If you send one message with ContentBasedDeduplication enabled and then
+ // another message with a MessageDeduplicationId that is the same as the
+ // one generated for the first MessageDeduplicationId, the two messages are
+ // treated as duplicates and only one copy of the message is delivered.
+ //
+ // The MessageDeduplicationId is available to the recipient of the message (this
+ // can be useful for troubleshooting delivery issues).
+ //
+ // If a message is sent successfully but the acknowledgdment is lost and the
+ // message is resent with the same MessageDeduplicationId after the deduplication
+ // interval, Amazon SQS can't detect duplicate messages.
+ //
+ // The length of MessageDeduplicationId is 128 characters. MessageDeduplicationId
+ // can contain alphanumeric characters (a-z, A-Z, 0-9) and punctuation (!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~).
+ //
+ // For best practices of using MessageDeduplicationId, see Using the MessageDeduplicationId
+ // Property (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queue-recommendations.html#using-messagededuplicationid-property)
+ // in the Amazon Simple Queue Service Developer Guide.
+ MessageDeduplicationId *string `type:"string"`
+
+ // This parameter applies only to FIFO (first-in-first-out) queues.
+ //
+ // The tag that specifies that a message belongs to a specific message group.
+ // Messages that belong to the same message group are processed in a FIFO manner
+ // (however, messages in different message groups might be processed out of
+ // order). To interleave multiple ordered streams within a single queue, use
+ // MessageGroupId values (for example, session data for multiple users). In
+ // this scenario, multiple readers can process the queue, but the session data
+ // of each user is processed in a FIFO fashion.
+ //
+ // * You must associate a non-empty MessageGroupId with a message. If you
+ // don't provide a MessageGroupId, the action fails.
+ //
+ // * ReceiveMessage might return messages with multiple MessageGroupId values.
+ // For each MessageGroupId, the messages are sorted by time sent. The caller
+ // can't specify a MessageGroupId.
+ //
+ // The length of MessageGroupId is 128 characters. Valid values are alphanumeric
+ // characters and punctuation (!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~).
+ //
+ // For best practices of using MessageGroupId, see Using the MessageGroupId
+ // Property (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queue-recommendations.html#using-messagegroupid-property)
+ // in the Amazon Simple Queue Service Developer Guide.
+ MessageGroupId *string `type:"string"`
+
// The URL of the Amazon SQS queue to take action on.
//
// Queue URLs are case-sensitive.
@@ -2886,6 +3743,42 @@ func (s *SendMessageInput) Validate() error {
return nil
}
+// SetDelaySeconds sets the DelaySeconds field's value.
+func (s *SendMessageInput) SetDelaySeconds(v int64) *SendMessageInput {
+ s.DelaySeconds = &v
+ return s
+}
+
+// SetMessageAttributes sets the MessageAttributes field's value.
+func (s *SendMessageInput) SetMessageAttributes(v map[string]*MessageAttributeValue) *SendMessageInput {
+ s.MessageAttributes = v
+ return s
+}
+
+// SetMessageBody sets the MessageBody field's value.
+func (s *SendMessageInput) SetMessageBody(v string) *SendMessageInput {
+ s.MessageBody = &v
+ return s
+}
+
+// SetMessageDeduplicationId sets the MessageDeduplicationId field's value.
+func (s *SendMessageInput) SetMessageDeduplicationId(v string) *SendMessageInput {
+ s.MessageDeduplicationId = &v
+ return s
+}
+
+// SetMessageGroupId sets the MessageGroupId field's value.
+func (s *SendMessageInput) SetMessageGroupId(v string) *SendMessageInput {
+ s.MessageGroupId = &v
+ return s
+}
+
+// SetQueueUrl sets the QueueUrl field's value.
+func (s *SendMessageInput) SetQueueUrl(v string) *SendMessageInput {
+ s.QueueUrl = &v
+ return s
+}
+
// The MD5OfMessageBody and MessageId elements.
type SendMessageOutput struct {
_ struct{} `type:"structure"`
@@ -2893,19 +3786,27 @@ type SendMessageOutput struct {
// An MD5 digest of the non-URL-encoded message attribute string. This can be
// used to verify that Amazon SQS received the message correctly. Amazon SQS
// first URL decodes the message before creating the MD5 digest. For information
- // about MD5, go to http://www.faqs.org/rfcs/rfc1321.html (http://www.faqs.org/rfcs/rfc1321.html).
+ // about MD5, see RFC1321 (https://www.ietf.org/rfc/rfc1321.txt).
MD5OfMessageAttributes *string `type:"string"`
// An MD5 digest of the non-URL-encoded message body string. This can be used
// to verify that Amazon SQS received the message correctly. Amazon SQS first
// URL decodes the message before creating the MD5 digest. For information about
- // MD5, go to http://www.faqs.org/rfcs/rfc1321.html (http://www.faqs.org/rfcs/rfc1321.html).
+ // MD5, see RFC1321 (https://www.ietf.org/rfc/rfc1321.txt).
MD5OfMessageBody *string `type:"string"`
// An element containing the message ID of the message sent to the queue. For
// more information, see Queue and Message Identifiers (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/ImportantIdentifiers.html)
// in the Amazon SQS Developer Guide.
MessageId *string `type:"string"`
+
+ // This element applies only to FIFO (first-in-first-out) queues.
+ //
+ // A large, non-consecutive number that Amazon SQS assigns to each message.
+ //
+ // The length of SequenceNumber is 128 bits. SequenceNumber continues to increase
+ // for a particular MessageGroupId.
+ SequenceNumber *string `type:"string"`
}
// String returns the string representation
@@ -2918,44 +3819,104 @@ func (s SendMessageOutput) GoString() string {
return s.String()
}
+// SetMD5OfMessageAttributes sets the MD5OfMessageAttributes field's value.
+func (s *SendMessageOutput) SetMD5OfMessageAttributes(v string) *SendMessageOutput {
+ s.MD5OfMessageAttributes = &v
+ return s
+}
+
+// SetMD5OfMessageBody sets the MD5OfMessageBody field's value.
+func (s *SendMessageOutput) SetMD5OfMessageBody(v string) *SendMessageOutput {
+ s.MD5OfMessageBody = &v
+ return s
+}
+
+// SetMessageId sets the MessageId field's value.
+func (s *SendMessageOutput) SetMessageId(v string) *SendMessageOutput {
+ s.MessageId = &v
+ return s
+}
+
+// SetSequenceNumber sets the SequenceNumber field's value.
+func (s *SendMessageOutput) SetSequenceNumber(v string) *SendMessageOutput {
+ s.SequenceNumber = &v
+ return s
+}
+
type SetQueueAttributesInput struct {
_ struct{} `type:"structure"`
// A map of attributes to set.
//
// The following lists the names, descriptions, and values of the special request
- // parameters the SetQueueAttributes action uses:
+ // parameters that the SetQueueAttributes action uses:
//
- // * DelaySeconds - The time in seconds that the delivery of all messages
- // in the queue will be delayed. An integer from 0 to 900 (15 minutes). The
- // default for this attribute is 0 (zero).
+ // * DelaySeconds - The number of seconds for which the delivery of all messages
+ // in the queue is delayed. An integer from 0 to 900 (15 minutes). The default
+ // is 0 (zero).
//
// * MaximumMessageSize - The limit of how many bytes a message can contain
- // before Amazon SQS rejects it. An integer from 1024 bytes (1 KiB) up to
- // 262144 bytes (256 KiB). The default for this attribute is 262144 (256
- // KiB).
+ // before Amazon SQS rejects it. An integer from 1,024 bytes (1 KiB) up to
+ // 262,144 bytes (256 KiB). The default is 262,144 (256 KiB).
//
- // * MessageRetentionPeriod - The number of seconds Amazon SQS retains a
- // message. Integer representing seconds, from 60 (1 minute) to 1209600 (14
- // days). The default for this attribute is 345600 (4 days).
+ // * MessageRetentionPeriod - The number of seconds for which Amazon SQS
+ // retains a message. An integer representing seconds, from 60 (1 minute)
+ // to 120,9600 (14 days). The default is 345,600 (4 days).
//
// * Policy - The queue's policy. A valid AWS policy. For more information
// about policy structure, see Overview of AWS IAM Policies (http://docs.aws.amazon.com/IAM/latest/UserGuide/PoliciesOverview.html)
// in the Amazon IAM User Guide.
//
- // * ReceiveMessageWaitTimeSeconds - The time for which a ReceiveMessage
- // call will wait for a message to arrive. An integer from 0 to 20 (seconds).
- // The default for this attribute is 0.
+ // * ReceiveMessageWaitTimeSeconds - The number of seconds for which a ReceiveMessage
+ // action will wait for a message to arrive. An integer from 0 to 20 (seconds).
+ // The default is 0.
+ //
+ // * RedrivePolicy - The parameters for the dead letter queue functionality
+ // of the source queue. For more information about the redrive policy and
+ // dead letter queues, see Using Amazon SQS Dead Letter Queues (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/SQSDeadLetterQueue.html)
+ // in the Amazon SQS Developer Guide.
+ //
+ // The dead letter queue of a FIFO queue must also be a FIFO queue. Similarly,
+ // the dead letter queue of a standard queue must also be a standard queue.
//
// * VisibilityTimeout - The visibility timeout for the queue. An integer
- // from 0 to 43200 (12 hours). The default for this attribute is 30. For
- // more information about visibility timeout, see Visibility Timeout in the
- // Amazon SQS Developer Guide.
+ // from 0 to 43200 (12 hours). The default is 30. For more information about
+ // the visibility timeout, see Visibility Timeout (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/AboutVT.html)
+ // in the Amazon SQS Developer Guide.
+ //
+ // The following attribute applies only to FIFO (first-in-first-out) queues
+ // (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html):
+ //
+ // * ContentBasedDeduplication - Enables content-based deduplication. For
+ // more information, see Exactly-Once Processing (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html#FIFO-queues-exactly-once-processing)
+ // in the Amazon SQS Developer Guide.
+ //
+ // Every message must have a unique MessageDeduplicationId,
//
- // * RedrivePolicy - The parameters for dead letter queue functionality of
- // the source queue. For more information about RedrivePolicy and dead letter
- // queues, see Using Amazon SQS Dead Letter Queues in the Amazon SQS Developer
- // Guide.
+ // You may provide a MessageDeduplicationId explicitly.
+ //
+ // If you aren't able to provide a MessageDeduplicationId and you enable ContentBasedDeduplication
+ // for your queue, Amazon SQS uses a SHA-256 hash to generate the MessageDeduplicationId
+ // using the body of the message (but not the attributes of the message).
+ //
+ //
+ // If you don't provide a MessageDeduplicationId and the queue doesn't have
+ // ContentBasedDeduplication set, the action fails with an error.
+ //
+ // If the queue has ContentBasedDeduplication set, your MessageDeduplicationId
+ // overrides the generated one.
+ //
+ // When ContentBasedDeduplication is in effect, messages with identical content
+ // sent within the deduplication interval are treated as duplicates and only
+ // one copy of the message is delivered.
+ //
+ // You can also use ContentBasedDeduplication for messages with identical content
+ // to be treated as duplicates.
+ //
+ // If you send one message with ContentBasedDeduplication enabled and then another
+ // message with a MessageDeduplicationId that is the same as the one generated
+ // for the first MessageDeduplicationId, the two messages are treated as
+ // duplicates and only one copy of the message is delivered.
//
// Any other valid special request parameters that are specified (such as ApproximateNumberOfMessages,
// ApproximateNumberOfMessagesDelayed, ApproximateNumberOfMessagesNotVisible,
@@ -2998,6 +3959,18 @@ func (s *SetQueueAttributesInput) Validate() error {
return nil
}
+// SetAttributes sets the Attributes field's value.
+func (s *SetQueueAttributesInput) SetAttributes(v map[string]*string) *SetQueueAttributesInput {
+ s.Attributes = v
+ return s
+}
+
+// SetQueueUrl sets the QueueUrl field's value.
+func (s *SetQueueAttributesInput) SetQueueUrl(v string) *SetQueueAttributesInput {
+ s.QueueUrl = &v
+ return s
+}
+
type SetQueueAttributesOutput struct {
_ struct{} `type:"structure"`
}
@@ -3013,6 +3986,32 @@ func (s SetQueueAttributesOutput) GoString() string {
}
const (
+ // MessageSystemAttributeNameSenderId is a MessageSystemAttributeName enum value
+ MessageSystemAttributeNameSenderId = "SenderId"
+
+ // MessageSystemAttributeNameSentTimestamp is a MessageSystemAttributeName enum value
+ MessageSystemAttributeNameSentTimestamp = "SentTimestamp"
+
+ // MessageSystemAttributeNameApproximateReceiveCount is a MessageSystemAttributeName enum value
+ MessageSystemAttributeNameApproximateReceiveCount = "ApproximateReceiveCount"
+
+ // MessageSystemAttributeNameApproximateFirstReceiveTimestamp is a MessageSystemAttributeName enum value
+ MessageSystemAttributeNameApproximateFirstReceiveTimestamp = "ApproximateFirstReceiveTimestamp"
+
+ // MessageSystemAttributeNameSequenceNumber is a MessageSystemAttributeName enum value
+ MessageSystemAttributeNameSequenceNumber = "SequenceNumber"
+
+ // MessageSystemAttributeNameMessageDeduplicationId is a MessageSystemAttributeName enum value
+ MessageSystemAttributeNameMessageDeduplicationId = "MessageDeduplicationId"
+
+ // MessageSystemAttributeNameMessageGroupId is a MessageSystemAttributeName enum value
+ MessageSystemAttributeNameMessageGroupId = "MessageGroupId"
+)
+
+const (
+ // QueueAttributeNameAll is a QueueAttributeName enum value
+ QueueAttributeNameAll = "All"
+
// QueueAttributeNamePolicy is a QueueAttributeName enum value
QueueAttributeNamePolicy = "Policy"
@@ -3051,4 +4050,10 @@ const (
// QueueAttributeNameRedrivePolicy is a QueueAttributeName enum value
QueueAttributeNameRedrivePolicy = "RedrivePolicy"
+
+ // QueueAttributeNameFifoQueue is a QueueAttributeName enum value
+ QueueAttributeNameFifoQueue = "FifoQueue"
+
+ // QueueAttributeNameContentBasedDeduplication is a QueueAttributeName enum value
+ QueueAttributeNameContentBasedDeduplication = "ContentBasedDeduplication"
)
diff --git a/vendor/github.com/aws/aws-sdk-go/service/sqs/examples_test.go b/vendor/github.com/aws/aws-sdk-go/service/sqs/examples_test.go
index b39289e..66b02dd 100644
--- a/vendor/github.com/aws/aws-sdk-go/service/sqs/examples_test.go
+++ b/vendor/github.com/aws/aws-sdk-go/service/sqs/examples_test.go
@@ -371,8 +371,9 @@ func ExampleSQS_ReceiveMessage() {
aws.String("MessageAttributeName"), // Required
// More values...
},
- VisibilityTimeout: aws.Int64(1),
- WaitTimeSeconds: aws.Int64(1),
+ ReceiveRequestAttemptId: aws.String("String"),
+ VisibilityTimeout: aws.Int64(1),
+ WaitTimeSeconds: aws.Int64(1),
}
resp, err := svc.ReceiveMessage(params)
@@ -442,6 +443,8 @@ func ExampleSQS_SendMessage() {
},
// More values...
},
+ MessageDeduplicationId: aws.String("String"),
+ MessageGroupId: aws.String("String"),
}
resp, err := svc.SendMessage(params)
@@ -487,6 +490,8 @@ func ExampleSQS_SendMessageBatch() {
},
// More values...
},
+ MessageDeduplicationId: aws.String("String"),
+ MessageGroupId: aws.String("String"),
},
// More values...
},
diff --git a/vendor/github.com/aws/aws-sdk-go/service/sqs/service.go b/vendor/github.com/aws/aws-sdk-go/service/sqs/service.go
index f0ee07c..8751dc7 100644
--- a/vendor/github.com/aws/aws-sdk-go/service/sqs/service.go
+++ b/vendor/github.com/aws/aws-sdk-go/service/sqs/service.go
@@ -20,9 +20,17 @@ import (
// between distributed components of your applications that perform different
// tasks without losing messages or requiring each component to be always available.
//
-// Helpful Links:
+// Topics
//
-// * Current WSDL (2012-11-05) (http://queue.amazonaws.com/doc/2012-11-05/QueueService.wsdl)
+// *
+//
+// *
+//
+// * CommonParameters
+//
+// * CommonErrors
+//
+// Helpful Links
//
// * Making API Requests (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/MakingRequestsArticle.html)
//
@@ -44,7 +52,7 @@ import (
//
// * Handling error responses
//
-// For a list of available SDKs, go to Tools for Amazon Web Services (http://aws.amazon.com/tools/).
+// For a list of available SDKs, see Tools for Amazon Web Services (http://aws.amazon.com/tools/).
//The service client's operations are safe to be used concurrently.
// It is not safe to mutate any of the client's properties though.
type SQS struct {
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 bda8faf..5b0cf82 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
@@ -2252,6 +2252,60 @@ func (s Activation) GoString() string {
return s.String()
}
+// SetActivationId sets the ActivationId field's value.
+func (s *Activation) SetActivationId(v string) *Activation {
+ s.ActivationId = &v
+ return s
+}
+
+// SetCreatedDate sets the CreatedDate field's value.
+func (s *Activation) SetCreatedDate(v time.Time) *Activation {
+ s.CreatedDate = &v
+ return s
+}
+
+// SetDefaultInstanceName sets the DefaultInstanceName field's value.
+func (s *Activation) SetDefaultInstanceName(v string) *Activation {
+ s.DefaultInstanceName = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *Activation) SetDescription(v string) *Activation {
+ s.Description = &v
+ return s
+}
+
+// SetExpirationDate sets the ExpirationDate field's value.
+func (s *Activation) SetExpirationDate(v time.Time) *Activation {
+ s.ExpirationDate = &v
+ return s
+}
+
+// SetExpired sets the Expired field's value.
+func (s *Activation) SetExpired(v bool) *Activation {
+ s.Expired = &v
+ return s
+}
+
+// SetIamRole sets the IamRole field's value.
+func (s *Activation) SetIamRole(v string) *Activation {
+ s.IamRole = &v
+ return s
+}
+
+// SetRegistrationLimit sets the RegistrationLimit field's value.
+func (s *Activation) SetRegistrationLimit(v int64) *Activation {
+ s.RegistrationLimit = &v
+ return s
+}
+
+// SetRegistrationsCount sets the RegistrationsCount field's value.
+func (s *Activation) SetRegistrationsCount(v int64) *Activation {
+ s.RegistrationsCount = &v
+ return s
+}
+
type AddTagsToResourceInput struct {
_ struct{} `type:"structure"`
@@ -2312,6 +2366,24 @@ func (s *AddTagsToResourceInput) Validate() error {
return nil
}
+// SetResourceId sets the ResourceId field's value.
+func (s *AddTagsToResourceInput) SetResourceId(v string) *AddTagsToResourceInput {
+ s.ResourceId = &v
+ return s
+}
+
+// SetResourceType sets the ResourceType field's value.
+func (s *AddTagsToResourceInput) SetResourceType(v string) *AddTagsToResourceInput {
+ s.ResourceType = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *AddTagsToResourceInput) SetTags(v []*Tag) *AddTagsToResourceInput {
+ s.Tags = v
+ return s
+}
+
type AddTagsToResourceOutput struct {
_ struct{} `type:"structure"`
}
@@ -2347,6 +2419,18 @@ func (s Association) GoString() string {
return s.String()
}
+// SetInstanceId sets the InstanceId field's value.
+func (s *Association) SetInstanceId(v string) *Association {
+ s.InstanceId = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *Association) SetName(v string) *Association {
+ s.Name = &v
+ return s
+}
+
// Describes the parameters for a document.
type AssociationDescription struct {
_ struct{} `type:"structure"`
@@ -2377,6 +2461,36 @@ func (s AssociationDescription) GoString() string {
return s.String()
}
+// SetDate sets the Date field's value.
+func (s *AssociationDescription) SetDate(v time.Time) *AssociationDescription {
+ s.Date = &v
+ return s
+}
+
+// SetInstanceId sets the InstanceId field's value.
+func (s *AssociationDescription) SetInstanceId(v string) *AssociationDescription {
+ s.InstanceId = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *AssociationDescription) SetName(v string) *AssociationDescription {
+ s.Name = &v
+ return s
+}
+
+// SetParameters sets the Parameters field's value.
+func (s *AssociationDescription) SetParameters(v map[string][]*string) *AssociationDescription {
+ s.Parameters = v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *AssociationDescription) SetStatus(v *AssociationStatus) *AssociationDescription {
+ s.Status = v
+ return s
+}
+
// Describes a filter.
type AssociationFilter struct {
_ struct{} `type:"structure"`
@@ -2421,6 +2535,18 @@ func (s *AssociationFilter) Validate() error {
return nil
}
+// SetKey sets the Key field's value.
+func (s *AssociationFilter) SetKey(v string) *AssociationFilter {
+ s.Key = &v
+ return s
+}
+
+// SetValue sets the Value field's value.
+func (s *AssociationFilter) SetValue(v string) *AssociationFilter {
+ s.Value = &v
+ return s
+}
+
// Describes an association status.
type AssociationStatus struct {
_ struct{} `type:"structure"`
@@ -2473,6 +2599,30 @@ func (s *AssociationStatus) Validate() error {
return nil
}
+// SetAdditionalInfo sets the AdditionalInfo field's value.
+func (s *AssociationStatus) SetAdditionalInfo(v string) *AssociationStatus {
+ s.AdditionalInfo = &v
+ return s
+}
+
+// SetDate sets the Date field's value.
+func (s *AssociationStatus) SetDate(v time.Time) *AssociationStatus {
+ s.Date = &v
+ return s
+}
+
+// SetMessage sets the Message field's value.
+func (s *AssociationStatus) SetMessage(v string) *AssociationStatus {
+ s.Message = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *AssociationStatus) SetName(v string) *AssociationStatus {
+ s.Name = &v
+ return s
+}
+
type CancelCommandInput struct {
_ struct{} `type:"structure"`
@@ -2516,6 +2666,18 @@ func (s *CancelCommandInput) Validate() error {
return nil
}
+// SetCommandId sets the CommandId field's value.
+func (s *CancelCommandInput) SetCommandId(v string) *CancelCommandInput {
+ s.CommandId = &v
+ return s
+}
+
+// SetInstanceIds sets the InstanceIds field's value.
+func (s *CancelCommandInput) SetInstanceIds(v []*string) *CancelCommandInput {
+ s.InstanceIds = v
+ return s
+}
+
// Whether or not the command was successfully canceled. There is no guarantee
// that a request can be canceled.
type CancelCommandOutput struct {
@@ -2590,6 +2752,78 @@ func (s Command) GoString() string {
return s.String()
}
+// SetCommandId sets the CommandId field's value.
+func (s *Command) SetCommandId(v string) *Command {
+ s.CommandId = &v
+ return s
+}
+
+// SetComment sets the Comment field's value.
+func (s *Command) SetComment(v string) *Command {
+ s.Comment = &v
+ return s
+}
+
+// SetDocumentName sets the DocumentName field's value.
+func (s *Command) SetDocumentName(v string) *Command {
+ s.DocumentName = &v
+ return s
+}
+
+// SetExpiresAfter sets the ExpiresAfter field's value.
+func (s *Command) SetExpiresAfter(v time.Time) *Command {
+ s.ExpiresAfter = &v
+ return s
+}
+
+// SetInstanceIds sets the InstanceIds field's value.
+func (s *Command) SetInstanceIds(v []*string) *Command {
+ s.InstanceIds = v
+ return s
+}
+
+// SetNotificationConfig sets the NotificationConfig field's value.
+func (s *Command) SetNotificationConfig(v *NotificationConfig) *Command {
+ s.NotificationConfig = v
+ return s
+}
+
+// SetOutputS3BucketName sets the OutputS3BucketName field's value.
+func (s *Command) SetOutputS3BucketName(v string) *Command {
+ s.OutputS3BucketName = &v
+ return s
+}
+
+// SetOutputS3KeyPrefix sets the OutputS3KeyPrefix field's value.
+func (s *Command) SetOutputS3KeyPrefix(v string) *Command {
+ s.OutputS3KeyPrefix = &v
+ return s
+}
+
+// SetParameters sets the Parameters field's value.
+func (s *Command) SetParameters(v map[string][]*string) *Command {
+ s.Parameters = v
+ return s
+}
+
+// SetRequestedDateTime sets the RequestedDateTime field's value.
+func (s *Command) SetRequestedDateTime(v time.Time) *Command {
+ s.RequestedDateTime = &v
+ return s
+}
+
+// SetServiceRole sets the ServiceRole field's value.
+func (s *Command) SetServiceRole(v string) *Command {
+ s.ServiceRole = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *Command) SetStatus(v string) *Command {
+ s.Status = &v
+ return s
+}
+
// Describes a command filter.
type CommandFilter struct {
_ struct{} `type:"structure"`
@@ -2634,6 +2868,18 @@ func (s *CommandFilter) Validate() error {
return nil
}
+// SetKey sets the Key field's value.
+func (s *CommandFilter) SetKey(v string) *CommandFilter {
+ s.Key = &v
+ return s
+}
+
+// SetValue sets the Value field's value.
+func (s *CommandFilter) SetValue(v string) *CommandFilter {
+ s.Value = &v
+ return s
+}
+
// An invocation is copy of a command sent to a specific instance. A command
// can apply to one or more instances. A command invocation applies to one instance.
// For example, if a user executes SendCommand against three instances, then
@@ -2685,6 +2931,66 @@ func (s CommandInvocation) GoString() string {
return s.String()
}
+// SetCommandId sets the CommandId field's value.
+func (s *CommandInvocation) SetCommandId(v string) *CommandInvocation {
+ s.CommandId = &v
+ return s
+}
+
+// SetCommandPlugins sets the CommandPlugins field's value.
+func (s *CommandInvocation) SetCommandPlugins(v []*CommandPlugin) *CommandInvocation {
+ s.CommandPlugins = v
+ return s
+}
+
+// SetComment sets the Comment field's value.
+func (s *CommandInvocation) SetComment(v string) *CommandInvocation {
+ s.Comment = &v
+ return s
+}
+
+// SetDocumentName sets the DocumentName field's value.
+func (s *CommandInvocation) SetDocumentName(v string) *CommandInvocation {
+ s.DocumentName = &v
+ return s
+}
+
+// SetInstanceId sets the InstanceId field's value.
+func (s *CommandInvocation) SetInstanceId(v string) *CommandInvocation {
+ s.InstanceId = &v
+ return s
+}
+
+// SetNotificationConfig sets the NotificationConfig field's value.
+func (s *CommandInvocation) SetNotificationConfig(v *NotificationConfig) *CommandInvocation {
+ s.NotificationConfig = v
+ return s
+}
+
+// SetRequestedDateTime sets the RequestedDateTime field's value.
+func (s *CommandInvocation) SetRequestedDateTime(v time.Time) *CommandInvocation {
+ s.RequestedDateTime = &v
+ return s
+}
+
+// SetServiceRole sets the ServiceRole field's value.
+func (s *CommandInvocation) SetServiceRole(v string) *CommandInvocation {
+ s.ServiceRole = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *CommandInvocation) SetStatus(v string) *CommandInvocation {
+ s.Status = &v
+ return s
+}
+
+// SetTraceOutput sets the TraceOutput field's value.
+func (s *CommandInvocation) SetTraceOutput(v string) *CommandInvocation {
+ s.TraceOutput = &v
+ return s
+}
+
// Describes plugin details.
type CommandPlugin struct {
_ struct{} `type:"structure"`
@@ -2729,6 +3035,54 @@ func (s CommandPlugin) GoString() string {
return s.String()
}
+// SetName sets the Name field's value.
+func (s *CommandPlugin) SetName(v string) *CommandPlugin {
+ s.Name = &v
+ return s
+}
+
+// SetOutput sets the Output field's value.
+func (s *CommandPlugin) SetOutput(v string) *CommandPlugin {
+ s.Output = &v
+ return s
+}
+
+// SetOutputS3BucketName sets the OutputS3BucketName field's value.
+func (s *CommandPlugin) SetOutputS3BucketName(v string) *CommandPlugin {
+ s.OutputS3BucketName = &v
+ return s
+}
+
+// SetOutputS3KeyPrefix sets the OutputS3KeyPrefix field's value.
+func (s *CommandPlugin) SetOutputS3KeyPrefix(v string) *CommandPlugin {
+ s.OutputS3KeyPrefix = &v
+ return s
+}
+
+// SetResponseCode sets the ResponseCode field's value.
+func (s *CommandPlugin) SetResponseCode(v int64) *CommandPlugin {
+ s.ResponseCode = &v
+ return s
+}
+
+// SetResponseFinishDateTime sets the ResponseFinishDateTime field's value.
+func (s *CommandPlugin) SetResponseFinishDateTime(v time.Time) *CommandPlugin {
+ s.ResponseFinishDateTime = &v
+ return s
+}
+
+// SetResponseStartDateTime sets the ResponseStartDateTime field's value.
+func (s *CommandPlugin) SetResponseStartDateTime(v time.Time) *CommandPlugin {
+ s.ResponseStartDateTime = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *CommandPlugin) SetStatus(v string) *CommandPlugin {
+ s.Status = &v
+ return s
+}
+
type CreateActivationInput struct {
_ struct{} `type:"structure"`
@@ -2781,6 +3135,36 @@ func (s *CreateActivationInput) Validate() error {
return nil
}
+// SetDefaultInstanceName sets the DefaultInstanceName field's value.
+func (s *CreateActivationInput) SetDefaultInstanceName(v string) *CreateActivationInput {
+ s.DefaultInstanceName = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *CreateActivationInput) SetDescription(v string) *CreateActivationInput {
+ s.Description = &v
+ return s
+}
+
+// SetExpirationDate sets the ExpirationDate field's value.
+func (s *CreateActivationInput) SetExpirationDate(v time.Time) *CreateActivationInput {
+ s.ExpirationDate = &v
+ return s
+}
+
+// SetIamRole sets the IamRole field's value.
+func (s *CreateActivationInput) SetIamRole(v string) *CreateActivationInput {
+ s.IamRole = &v
+ return s
+}
+
+// SetRegistrationLimit sets the RegistrationLimit field's value.
+func (s *CreateActivationInput) SetRegistrationLimit(v int64) *CreateActivationInput {
+ s.RegistrationLimit = &v
+ return s
+}
+
type CreateActivationOutput struct {
_ struct{} `type:"structure"`
@@ -2803,6 +3187,18 @@ func (s CreateActivationOutput) GoString() string {
return s.String()
}
+// SetActivationCode sets the ActivationCode field's value.
+func (s *CreateActivationOutput) SetActivationCode(v string) *CreateActivationOutput {
+ s.ActivationCode = &v
+ return s
+}
+
+// SetActivationId sets the ActivationId field's value.
+func (s *CreateActivationOutput) SetActivationId(v string) *CreateActivationOutput {
+ s.ActivationId = &v
+ return s
+}
+
type CreateAssociationBatchInput struct {
_ struct{} `type:"structure"`
@@ -2835,6 +3231,12 @@ func (s *CreateAssociationBatchInput) Validate() error {
return nil
}
+// SetEntries sets the Entries field's value.
+func (s *CreateAssociationBatchInput) SetEntries(v []*CreateAssociationBatchRequestEntry) *CreateAssociationBatchInput {
+ s.Entries = v
+ return s
+}
+
type CreateAssociationBatchOutput struct {
_ struct{} `type:"structure"`
@@ -2855,6 +3257,18 @@ func (s CreateAssociationBatchOutput) GoString() string {
return s.String()
}
+// SetFailed sets the Failed field's value.
+func (s *CreateAssociationBatchOutput) SetFailed(v []*FailedCreateAssociation) *CreateAssociationBatchOutput {
+ s.Failed = v
+ return s
+}
+
+// SetSuccessful sets the Successful field's value.
+func (s *CreateAssociationBatchOutput) SetSuccessful(v []*AssociationDescription) *CreateAssociationBatchOutput {
+ s.Successful = v
+ return s
+}
+
// Describes the association of an SSM document and an instance.
type CreateAssociationBatchRequestEntry struct {
_ struct{} `type:"structure"`
@@ -2879,6 +3293,24 @@ func (s CreateAssociationBatchRequestEntry) GoString() string {
return s.String()
}
+// SetInstanceId sets the InstanceId field's value.
+func (s *CreateAssociationBatchRequestEntry) SetInstanceId(v string) *CreateAssociationBatchRequestEntry {
+ s.InstanceId = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *CreateAssociationBatchRequestEntry) SetName(v string) *CreateAssociationBatchRequestEntry {
+ s.Name = &v
+ return s
+}
+
+// SetParameters sets the Parameters field's value.
+func (s *CreateAssociationBatchRequestEntry) SetParameters(v map[string][]*string) *CreateAssociationBatchRequestEntry {
+ s.Parameters = v
+ return s
+}
+
type CreateAssociationInput struct {
_ struct{} `type:"structure"`
@@ -2922,6 +3354,24 @@ func (s *CreateAssociationInput) Validate() error {
return nil
}
+// SetInstanceId sets the InstanceId field's value.
+func (s *CreateAssociationInput) SetInstanceId(v string) *CreateAssociationInput {
+ s.InstanceId = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *CreateAssociationInput) SetName(v string) *CreateAssociationInput {
+ s.Name = &v
+ return s
+}
+
+// SetParameters sets the Parameters field's value.
+func (s *CreateAssociationInput) SetParameters(v map[string][]*string) *CreateAssociationInput {
+ s.Parameters = v
+ return s
+}
+
type CreateAssociationOutput struct {
_ struct{} `type:"structure"`
@@ -2939,6 +3389,12 @@ func (s CreateAssociationOutput) GoString() string {
return s.String()
}
+// SetAssociationDescription sets the AssociationDescription field's value.
+func (s *CreateAssociationOutput) SetAssociationDescription(v *AssociationDescription) *CreateAssociationOutput {
+ s.AssociationDescription = v
+ return s
+}
+
type CreateDocumentInput struct {
_ struct{} `type:"structure"`
@@ -2982,6 +3438,18 @@ func (s *CreateDocumentInput) Validate() error {
return nil
}
+// SetContent sets the Content field's value.
+func (s *CreateDocumentInput) SetContent(v string) *CreateDocumentInput {
+ s.Content = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *CreateDocumentInput) SetName(v string) *CreateDocumentInput {
+ s.Name = &v
+ return s
+}
+
type CreateDocumentOutput struct {
_ struct{} `type:"structure"`
@@ -2999,6 +3467,12 @@ func (s CreateDocumentOutput) GoString() string {
return s.String()
}
+// SetDocumentDescription sets the DocumentDescription field's value.
+func (s *CreateDocumentOutput) SetDocumentDescription(v *DocumentDescription) *CreateDocumentOutput {
+ s.DocumentDescription = v
+ return s
+}
+
type DeleteActivationInput struct {
_ struct{} `type:"structure"`
@@ -3031,6 +3505,12 @@ func (s *DeleteActivationInput) Validate() error {
return nil
}
+// SetActivationId sets the ActivationId field's value.
+func (s *DeleteActivationInput) SetActivationId(v string) *DeleteActivationInput {
+ s.ActivationId = &v
+ return s
+}
+
type DeleteActivationOutput struct {
_ struct{} `type:"structure"`
}
@@ -3085,6 +3565,18 @@ func (s *DeleteAssociationInput) Validate() error {
return nil
}
+// SetInstanceId sets the InstanceId field's value.
+func (s *DeleteAssociationInput) SetInstanceId(v string) *DeleteAssociationInput {
+ s.InstanceId = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *DeleteAssociationInput) SetName(v string) *DeleteAssociationInput {
+ s.Name = &v
+ return s
+}
+
type DeleteAssociationOutput struct {
_ struct{} `type:"structure"`
}
@@ -3131,6 +3623,12 @@ func (s *DeleteDocumentInput) Validate() error {
return nil
}
+// SetName sets the Name field's value.
+func (s *DeleteDocumentInput) SetName(v string) *DeleteDocumentInput {
+ s.Name = &v
+ return s
+}
+
type DeleteDocumentOutput struct {
_ struct{} `type:"structure"`
}
@@ -3178,6 +3676,12 @@ func (s *DeregisterManagedInstanceInput) Validate() error {
return nil
}
+// SetInstanceId sets the InstanceId field's value.
+func (s *DeregisterManagedInstanceInput) SetInstanceId(v string) *DeregisterManagedInstanceInput {
+ s.InstanceId = &v
+ return s
+}
+
type DeregisterManagedInstanceOutput struct {
_ struct{} `type:"structure"`
}
@@ -3213,6 +3717,18 @@ func (s DescribeActivationsFilter) GoString() string {
return s.String()
}
+// SetFilterKey sets the FilterKey field's value.
+func (s *DescribeActivationsFilter) SetFilterKey(v string) *DescribeActivationsFilter {
+ s.FilterKey = &v
+ return s
+}
+
+// SetFilterValues sets the FilterValues field's value.
+func (s *DescribeActivationsFilter) SetFilterValues(v []*string) *DescribeActivationsFilter {
+ s.FilterValues = v
+ return s
+}
+
type DescribeActivationsInput struct {
_ struct{} `type:"structure"`
@@ -3251,6 +3767,24 @@ func (s *DescribeActivationsInput) Validate() error {
return nil
}
+// SetFilters sets the Filters field's value.
+func (s *DescribeActivationsInput) SetFilters(v []*DescribeActivationsFilter) *DescribeActivationsInput {
+ s.Filters = v
+ return s
+}
+
+// SetMaxResults sets the MaxResults field's value.
+func (s *DescribeActivationsInput) SetMaxResults(v int64) *DescribeActivationsInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeActivationsInput) SetNextToken(v string) *DescribeActivationsInput {
+ s.NextToken = &v
+ return s
+}
+
type DescribeActivationsOutput struct {
_ struct{} `type:"structure"`
@@ -3272,6 +3806,18 @@ func (s DescribeActivationsOutput) GoString() string {
return s.String()
}
+// SetActivationList sets the ActivationList field's value.
+func (s *DescribeActivationsOutput) SetActivationList(v []*Activation) *DescribeActivationsOutput {
+ s.ActivationList = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeActivationsOutput) SetNextToken(v string) *DescribeActivationsOutput {
+ s.NextToken = &v
+ return s
+}
+
type DescribeAssociationInput struct {
_ struct{} `type:"structure"`
@@ -3312,6 +3858,18 @@ func (s *DescribeAssociationInput) Validate() error {
return nil
}
+// SetInstanceId sets the InstanceId field's value.
+func (s *DescribeAssociationInput) SetInstanceId(v string) *DescribeAssociationInput {
+ s.InstanceId = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *DescribeAssociationInput) SetName(v string) *DescribeAssociationInput {
+ s.Name = &v
+ return s
+}
+
type DescribeAssociationOutput struct {
_ struct{} `type:"structure"`
@@ -3329,6 +3887,12 @@ func (s DescribeAssociationOutput) GoString() string {
return s.String()
}
+// SetAssociationDescription sets the AssociationDescription field's value.
+func (s *DescribeAssociationOutput) SetAssociationDescription(v *AssociationDescription) *DescribeAssociationOutput {
+ s.AssociationDescription = v
+ return s
+}
+
type DescribeDocumentInput struct {
_ struct{} `type:"structure"`
@@ -3361,6 +3925,12 @@ func (s *DescribeDocumentInput) Validate() error {
return nil
}
+// SetName sets the Name field's value.
+func (s *DescribeDocumentInput) SetName(v string) *DescribeDocumentInput {
+ s.Name = &v
+ return s
+}
+
type DescribeDocumentOutput struct {
_ struct{} `type:"structure"`
@@ -3378,6 +3948,12 @@ func (s DescribeDocumentOutput) GoString() string {
return s.String()
}
+// SetDocument sets the Document field's value.
+func (s *DescribeDocumentOutput) SetDocument(v *DocumentDescription) *DescribeDocumentOutput {
+ s.Document = v
+ return s
+}
+
type DescribeDocumentPermissionInput struct {
_ struct{} `type:"structure"`
@@ -3418,6 +3994,18 @@ func (s *DescribeDocumentPermissionInput) Validate() error {
return nil
}
+// SetName sets the Name field's value.
+func (s *DescribeDocumentPermissionInput) SetName(v string) *DescribeDocumentPermissionInput {
+ s.Name = &v
+ return s
+}
+
+// SetPermissionType sets the PermissionType field's value.
+func (s *DescribeDocumentPermissionInput) SetPermissionType(v string) *DescribeDocumentPermissionInput {
+ s.PermissionType = &v
+ return s
+}
+
type DescribeDocumentPermissionOutput struct {
_ struct{} `type:"structure"`
@@ -3436,6 +4024,12 @@ func (s DescribeDocumentPermissionOutput) GoString() string {
return s.String()
}
+// SetAccountIds sets the AccountIds field's value.
+func (s *DescribeDocumentPermissionOutput) SetAccountIds(v []*string) *DescribeDocumentPermissionOutput {
+ s.AccountIds = v
+ return s
+}
+
type DescribeInstanceInformationInput struct {
_ struct{} `type:"structure"`
@@ -3488,6 +4082,24 @@ func (s *DescribeInstanceInformationInput) Validate() error {
return nil
}
+// SetInstanceInformationFilterList sets the InstanceInformationFilterList field's value.
+func (s *DescribeInstanceInformationInput) SetInstanceInformationFilterList(v []*InstanceInformationFilter) *DescribeInstanceInformationInput {
+ s.InstanceInformationFilterList = v
+ return s
+}
+
+// SetMaxResults sets the MaxResults field's value.
+func (s *DescribeInstanceInformationInput) SetMaxResults(v int64) *DescribeInstanceInformationInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeInstanceInformationInput) SetNextToken(v string) *DescribeInstanceInformationInput {
+ s.NextToken = &v
+ return s
+}
+
type DescribeInstanceInformationOutput struct {
_ struct{} `type:"structure"`
@@ -3509,6 +4121,18 @@ func (s DescribeInstanceInformationOutput) GoString() string {
return s.String()
}
+// SetInstanceInformationList sets the InstanceInformationList field's value.
+func (s *DescribeInstanceInformationOutput) SetInstanceInformationList(v []*InstanceInformation) *DescribeInstanceInformationOutput {
+ s.InstanceInformationList = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeInstanceInformationOutput) SetNextToken(v string) *DescribeInstanceInformationOutput {
+ s.NextToken = &v
+ return s
+}
+
// Describes an SSM document.
type DocumentDescription struct {
_ struct{} `type:"structure"`
@@ -3558,6 +4182,66 @@ func (s DocumentDescription) GoString() string {
return s.String()
}
+// SetCreatedDate sets the CreatedDate field's value.
+func (s *DocumentDescription) SetCreatedDate(v time.Time) *DocumentDescription {
+ s.CreatedDate = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *DocumentDescription) SetDescription(v string) *DocumentDescription {
+ s.Description = &v
+ return s
+}
+
+// SetHash sets the Hash field's value.
+func (s *DocumentDescription) SetHash(v string) *DocumentDescription {
+ s.Hash = &v
+ return s
+}
+
+// SetHashType sets the HashType field's value.
+func (s *DocumentDescription) SetHashType(v string) *DocumentDescription {
+ s.HashType = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *DocumentDescription) SetName(v string) *DocumentDescription {
+ s.Name = &v
+ return s
+}
+
+// SetOwner sets the Owner field's value.
+func (s *DocumentDescription) SetOwner(v string) *DocumentDescription {
+ s.Owner = &v
+ return s
+}
+
+// SetParameters sets the Parameters field's value.
+func (s *DocumentDescription) SetParameters(v []*DocumentParameter) *DocumentDescription {
+ s.Parameters = v
+ return s
+}
+
+// SetPlatformTypes sets the PlatformTypes field's value.
+func (s *DocumentDescription) SetPlatformTypes(v []*string) *DocumentDescription {
+ s.PlatformTypes = v
+ return s
+}
+
+// SetSha1 sets the Sha1 field's value.
+func (s *DocumentDescription) SetSha1(v string) *DocumentDescription {
+ s.Sha1 = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *DocumentDescription) SetStatus(v string) *DocumentDescription {
+ s.Status = &v
+ return s
+}
+
// Describes a filter.
type DocumentFilter struct {
_ struct{} `type:"structure"`
@@ -3602,6 +4286,18 @@ func (s *DocumentFilter) Validate() error {
return nil
}
+// SetKey sets the Key field's value.
+func (s *DocumentFilter) SetKey(v string) *DocumentFilter {
+ s.Key = &v
+ return s
+}
+
+// SetValue sets the Value field's value.
+func (s *DocumentFilter) SetValue(v string) *DocumentFilter {
+ s.Value = &v
+ return s
+}
+
// Describes the name of an SSM document.
type DocumentIdentifier struct {
_ struct{} `type:"structure"`
@@ -3626,6 +4322,24 @@ func (s DocumentIdentifier) GoString() string {
return s.String()
}
+// SetName sets the Name field's value.
+func (s *DocumentIdentifier) SetName(v string) *DocumentIdentifier {
+ s.Name = &v
+ return s
+}
+
+// SetOwner sets the Owner field's value.
+func (s *DocumentIdentifier) SetOwner(v string) *DocumentIdentifier {
+ s.Owner = &v
+ return s
+}
+
+// SetPlatformTypes sets the PlatformTypes field's value.
+func (s *DocumentIdentifier) SetPlatformTypes(v []*string) *DocumentIdentifier {
+ s.PlatformTypes = v
+ return s
+}
+
// Parameters specified in the SSM document that execute on the server when
// the command is run.
type DocumentParameter struct {
@@ -3656,6 +4370,30 @@ func (s DocumentParameter) GoString() string {
return s.String()
}
+// SetDefaultValue sets the DefaultValue field's value.
+func (s *DocumentParameter) SetDefaultValue(v string) *DocumentParameter {
+ s.DefaultValue = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *DocumentParameter) SetDescription(v string) *DocumentParameter {
+ s.Description = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *DocumentParameter) SetName(v string) *DocumentParameter {
+ s.Name = &v
+ return s
+}
+
+// SetType sets the Type field's value.
+func (s *DocumentParameter) SetType(v string) *DocumentParameter {
+ s.Type = &v
+ return s
+}
+
// Describes a failed association.
type FailedCreateAssociation struct {
_ struct{} `type:"structure"`
@@ -3680,6 +4418,24 @@ func (s FailedCreateAssociation) GoString() string {
return s.String()
}
+// SetEntry sets the Entry field's value.
+func (s *FailedCreateAssociation) SetEntry(v *CreateAssociationBatchRequestEntry) *FailedCreateAssociation {
+ s.Entry = v
+ return s
+}
+
+// SetFault sets the Fault field's value.
+func (s *FailedCreateAssociation) SetFault(v string) *FailedCreateAssociation {
+ s.Fault = &v
+ return s
+}
+
+// SetMessage sets the Message field's value.
+func (s *FailedCreateAssociation) SetMessage(v string) *FailedCreateAssociation {
+ s.Message = &v
+ return s
+}
+
type GetDocumentInput struct {
_ struct{} `type:"structure"`
@@ -3712,6 +4468,12 @@ func (s *GetDocumentInput) Validate() error {
return nil
}
+// SetName sets the Name field's value.
+func (s *GetDocumentInput) SetName(v string) *GetDocumentInput {
+ s.Name = &v
+ return s
+}
+
type GetDocumentOutput struct {
_ struct{} `type:"structure"`
@@ -3732,6 +4494,18 @@ func (s GetDocumentOutput) GoString() string {
return s.String()
}
+// SetContent sets the Content field's value.
+func (s *GetDocumentOutput) SetContent(v string) *GetDocumentOutput {
+ s.Content = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *GetDocumentOutput) SetName(v string) *GetDocumentOutput {
+ s.Name = &v
+ return s
+}
+
// Describes a filter for a specific list of instances.
type InstanceInformation struct {
_ struct{} `type:"structure"`
@@ -3793,6 +4567,96 @@ func (s InstanceInformation) GoString() string {
return s.String()
}
+// SetActivationId sets the ActivationId field's value.
+func (s *InstanceInformation) SetActivationId(v string) *InstanceInformation {
+ s.ActivationId = &v
+ return s
+}
+
+// SetAgentVersion sets the AgentVersion field's value.
+func (s *InstanceInformation) SetAgentVersion(v string) *InstanceInformation {
+ s.AgentVersion = &v
+ return s
+}
+
+// SetComputerName sets the ComputerName field's value.
+func (s *InstanceInformation) SetComputerName(v string) *InstanceInformation {
+ s.ComputerName = &v
+ return s
+}
+
+// SetIPAddress sets the IPAddress field's value.
+func (s *InstanceInformation) SetIPAddress(v string) *InstanceInformation {
+ s.IPAddress = &v
+ return s
+}
+
+// SetIamRole sets the IamRole field's value.
+func (s *InstanceInformation) SetIamRole(v string) *InstanceInformation {
+ s.IamRole = &v
+ return s
+}
+
+// SetInstanceId sets the InstanceId field's value.
+func (s *InstanceInformation) SetInstanceId(v string) *InstanceInformation {
+ s.InstanceId = &v
+ return s
+}
+
+// SetIsLatestVersion sets the IsLatestVersion field's value.
+func (s *InstanceInformation) SetIsLatestVersion(v bool) *InstanceInformation {
+ s.IsLatestVersion = &v
+ return s
+}
+
+// SetLastPingDateTime sets the LastPingDateTime field's value.
+func (s *InstanceInformation) SetLastPingDateTime(v time.Time) *InstanceInformation {
+ s.LastPingDateTime = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *InstanceInformation) SetName(v string) *InstanceInformation {
+ s.Name = &v
+ return s
+}
+
+// SetPingStatus sets the PingStatus field's value.
+func (s *InstanceInformation) SetPingStatus(v string) *InstanceInformation {
+ s.PingStatus = &v
+ return s
+}
+
+// SetPlatformName sets the PlatformName field's value.
+func (s *InstanceInformation) SetPlatformName(v string) *InstanceInformation {
+ s.PlatformName = &v
+ return s
+}
+
+// SetPlatformType sets the PlatformType field's value.
+func (s *InstanceInformation) SetPlatformType(v string) *InstanceInformation {
+ s.PlatformType = &v
+ return s
+}
+
+// SetPlatformVersion sets the PlatformVersion field's value.
+func (s *InstanceInformation) SetPlatformVersion(v string) *InstanceInformation {
+ s.PlatformVersion = &v
+ return s
+}
+
+// SetRegistrationDate sets the RegistrationDate field's value.
+func (s *InstanceInformation) SetRegistrationDate(v time.Time) *InstanceInformation {
+ s.RegistrationDate = &v
+ return s
+}
+
+// SetResourceType sets the ResourceType field's value.
+func (s *InstanceInformation) SetResourceType(v string) *InstanceInformation {
+ s.ResourceType = &v
+ return s
+}
+
// Describes a filter for a specific list of instances.
type InstanceInformationFilter struct {
_ struct{} `type:"structure"`
@@ -3837,6 +4701,18 @@ func (s *InstanceInformationFilter) Validate() error {
return nil
}
+// SetKey sets the Key field's value.
+func (s *InstanceInformationFilter) SetKey(v string) *InstanceInformationFilter {
+ s.Key = &v
+ return s
+}
+
+// SetValueSet sets the ValueSet field's value.
+func (s *InstanceInformationFilter) SetValueSet(v []*string) *InstanceInformationFilter {
+ s.ValueSet = v
+ return s
+}
+
type ListAssociationsInput struct {
_ struct{} `type:"structure"`
@@ -3894,6 +4770,24 @@ func (s *ListAssociationsInput) Validate() error {
return nil
}
+// SetAssociationFilterList sets the AssociationFilterList field's value.
+func (s *ListAssociationsInput) SetAssociationFilterList(v []*AssociationFilter) *ListAssociationsInput {
+ s.AssociationFilterList = v
+ return s
+}
+
+// SetMaxResults sets the MaxResults field's value.
+func (s *ListAssociationsInput) SetMaxResults(v int64) *ListAssociationsInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListAssociationsInput) SetNextToken(v string) *ListAssociationsInput {
+ s.NextToken = &v
+ return s
+}
+
type ListAssociationsOutput struct {
_ struct{} `type:"structure"`
@@ -3915,6 +4809,18 @@ func (s ListAssociationsOutput) GoString() string {
return s.String()
}
+// SetAssociations sets the Associations field's value.
+func (s *ListAssociationsOutput) SetAssociations(v []*Association) *ListAssociationsOutput {
+ s.Associations = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListAssociationsOutput) SetNextToken(v string) *ListAssociationsOutput {
+ s.NextToken = &v
+ return s
+}
+
type ListCommandInvocationsInput struct {
_ struct{} `type:"structure"`
@@ -3981,6 +4887,42 @@ func (s *ListCommandInvocationsInput) Validate() error {
return nil
}
+// SetCommandId sets the CommandId field's value.
+func (s *ListCommandInvocationsInput) SetCommandId(v string) *ListCommandInvocationsInput {
+ s.CommandId = &v
+ return s
+}
+
+// SetDetails sets the Details field's value.
+func (s *ListCommandInvocationsInput) SetDetails(v bool) *ListCommandInvocationsInput {
+ s.Details = &v
+ return s
+}
+
+// SetFilters sets the Filters field's value.
+func (s *ListCommandInvocationsInput) SetFilters(v []*CommandFilter) *ListCommandInvocationsInput {
+ s.Filters = v
+ return s
+}
+
+// SetInstanceId sets the InstanceId field's value.
+func (s *ListCommandInvocationsInput) SetInstanceId(v string) *ListCommandInvocationsInput {
+ s.InstanceId = &v
+ return s
+}
+
+// SetMaxResults sets the MaxResults field's value.
+func (s *ListCommandInvocationsInput) SetMaxResults(v int64) *ListCommandInvocationsInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListCommandInvocationsInput) SetNextToken(v string) *ListCommandInvocationsInput {
+ s.NextToken = &v
+ return s
+}
+
type ListCommandInvocationsOutput struct {
_ struct{} `type:"structure"`
@@ -4002,6 +4944,18 @@ func (s ListCommandInvocationsOutput) GoString() string {
return s.String()
}
+// SetCommandInvocations sets the CommandInvocations field's value.
+func (s *ListCommandInvocationsOutput) SetCommandInvocations(v []*CommandInvocation) *ListCommandInvocationsOutput {
+ s.CommandInvocations = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListCommandInvocationsOutput) SetNextToken(v string) *ListCommandInvocationsOutput {
+ s.NextToken = &v
+ return s
+}
+
type ListCommandsInput struct {
_ struct{} `type:"structure"`
@@ -4064,6 +5018,36 @@ func (s *ListCommandsInput) Validate() error {
return nil
}
+// SetCommandId sets the CommandId field's value.
+func (s *ListCommandsInput) SetCommandId(v string) *ListCommandsInput {
+ s.CommandId = &v
+ return s
+}
+
+// SetFilters sets the Filters field's value.
+func (s *ListCommandsInput) SetFilters(v []*CommandFilter) *ListCommandsInput {
+ s.Filters = v
+ return s
+}
+
+// SetInstanceId sets the InstanceId field's value.
+func (s *ListCommandsInput) SetInstanceId(v string) *ListCommandsInput {
+ s.InstanceId = &v
+ return s
+}
+
+// SetMaxResults sets the MaxResults field's value.
+func (s *ListCommandsInput) SetMaxResults(v int64) *ListCommandsInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListCommandsInput) SetNextToken(v string) *ListCommandsInput {
+ s.NextToken = &v
+ return s
+}
+
type ListCommandsOutput struct {
_ struct{} `type:"structure"`
@@ -4085,6 +5069,18 @@ func (s ListCommandsOutput) GoString() string {
return s.String()
}
+// SetCommands sets the Commands field's value.
+func (s *ListCommandsOutput) SetCommands(v []*Command) *ListCommandsOutput {
+ s.Commands = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListCommandsOutput) SetNextToken(v string) *ListCommandsOutput {
+ s.NextToken = &v
+ return s
+}
+
type ListDocumentsInput struct {
_ struct{} `type:"structure"`
@@ -4137,6 +5133,24 @@ func (s *ListDocumentsInput) Validate() error {
return nil
}
+// SetDocumentFilterList sets the DocumentFilterList field's value.
+func (s *ListDocumentsInput) SetDocumentFilterList(v []*DocumentFilter) *ListDocumentsInput {
+ s.DocumentFilterList = v
+ return s
+}
+
+// SetMaxResults sets the MaxResults field's value.
+func (s *ListDocumentsInput) SetMaxResults(v int64) *ListDocumentsInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListDocumentsInput) SetNextToken(v string) *ListDocumentsInput {
+ s.NextToken = &v
+ return s
+}
+
type ListDocumentsOutput struct {
_ struct{} `type:"structure"`
@@ -4158,6 +5172,18 @@ func (s ListDocumentsOutput) GoString() string {
return s.String()
}
+// SetDocumentIdentifiers sets the DocumentIdentifiers field's value.
+func (s *ListDocumentsOutput) SetDocumentIdentifiers(v []*DocumentIdentifier) *ListDocumentsOutput {
+ s.DocumentIdentifiers = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListDocumentsOutput) SetNextToken(v string) *ListDocumentsOutput {
+ s.NextToken = &v
+ return s
+}
+
type ListTagsForResourceInput struct {
_ struct{} `type:"structure"`
@@ -4198,6 +5224,18 @@ func (s *ListTagsForResourceInput) Validate() error {
return nil
}
+// SetResourceId sets the ResourceId field's value.
+func (s *ListTagsForResourceInput) SetResourceId(v string) *ListTagsForResourceInput {
+ s.ResourceId = &v
+ return s
+}
+
+// SetResourceType sets the ResourceType field's value.
+func (s *ListTagsForResourceInput) SetResourceType(v string) *ListTagsForResourceInput {
+ s.ResourceType = &v
+ return s
+}
+
type ListTagsForResourceOutput struct {
_ struct{} `type:"structure"`
@@ -4215,6 +5253,12 @@ func (s ListTagsForResourceOutput) GoString() string {
return s.String()
}
+// SetTagList sets the TagList field's value.
+func (s *ListTagsForResourceOutput) SetTagList(v []*Tag) *ListTagsForResourceOutput {
+ s.TagList = v
+ return s
+}
+
type ModifyDocumentPermissionInput struct {
_ struct{} `type:"structure"`
@@ -4265,6 +5309,30 @@ func (s *ModifyDocumentPermissionInput) Validate() error {
return nil
}
+// SetAccountIdsToAdd sets the AccountIdsToAdd field's value.
+func (s *ModifyDocumentPermissionInput) SetAccountIdsToAdd(v []*string) *ModifyDocumentPermissionInput {
+ s.AccountIdsToAdd = v
+ return s
+}
+
+// SetAccountIdsToRemove sets the AccountIdsToRemove field's value.
+func (s *ModifyDocumentPermissionInput) SetAccountIdsToRemove(v []*string) *ModifyDocumentPermissionInput {
+ s.AccountIdsToRemove = v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *ModifyDocumentPermissionInput) SetName(v string) *ModifyDocumentPermissionInput {
+ s.Name = &v
+ return s
+}
+
+// SetPermissionType sets the PermissionType field's value.
+func (s *ModifyDocumentPermissionInput) SetPermissionType(v string) *ModifyDocumentPermissionInput {
+ s.PermissionType = &v
+ return s
+}
+
type ModifyDocumentPermissionOutput struct {
_ struct{} `type:"structure"`
}
@@ -4309,6 +5377,24 @@ func (s NotificationConfig) GoString() string {
return s.String()
}
+// SetNotificationArn sets the NotificationArn field's value.
+func (s *NotificationConfig) SetNotificationArn(v string) *NotificationConfig {
+ s.NotificationArn = &v
+ return s
+}
+
+// SetNotificationEvents sets the NotificationEvents field's value.
+func (s *NotificationConfig) SetNotificationEvents(v []*string) *NotificationConfig {
+ s.NotificationEvents = v
+ return s
+}
+
+// SetNotificationType sets the NotificationType field's value.
+func (s *NotificationConfig) SetNotificationType(v string) *NotificationConfig {
+ s.NotificationType = &v
+ return s
+}
+
type RemoveTagsFromResourceInput struct {
_ struct{} `type:"structure"`
@@ -4357,6 +5443,24 @@ func (s *RemoveTagsFromResourceInput) Validate() error {
return nil
}
+// SetResourceId sets the ResourceId field's value.
+func (s *RemoveTagsFromResourceInput) SetResourceId(v string) *RemoveTagsFromResourceInput {
+ s.ResourceId = &v
+ return s
+}
+
+// SetResourceType sets the ResourceType field's value.
+func (s *RemoveTagsFromResourceInput) SetResourceType(v string) *RemoveTagsFromResourceInput {
+ s.ResourceType = &v
+ return s
+}
+
+// SetTagKeys sets the TagKeys field's value.
+func (s *RemoveTagsFromResourceInput) SetTagKeys(v []*string) *RemoveTagsFromResourceInput {
+ s.TagKeys = v
+ return s
+}
+
type RemoveTagsFromResourceOutput struct {
_ struct{} `type:"structure"`
}
@@ -4457,6 +5561,72 @@ func (s *SendCommandInput) Validate() error {
return nil
}
+// SetComment sets the Comment field's value.
+func (s *SendCommandInput) SetComment(v string) *SendCommandInput {
+ s.Comment = &v
+ return s
+}
+
+// SetDocumentHash sets the DocumentHash field's value.
+func (s *SendCommandInput) SetDocumentHash(v string) *SendCommandInput {
+ s.DocumentHash = &v
+ return s
+}
+
+// SetDocumentHashType sets the DocumentHashType field's value.
+func (s *SendCommandInput) SetDocumentHashType(v string) *SendCommandInput {
+ s.DocumentHashType = &v
+ return s
+}
+
+// SetDocumentName sets the DocumentName field's value.
+func (s *SendCommandInput) SetDocumentName(v string) *SendCommandInput {
+ s.DocumentName = &v
+ return s
+}
+
+// SetInstanceIds sets the InstanceIds field's value.
+func (s *SendCommandInput) SetInstanceIds(v []*string) *SendCommandInput {
+ s.InstanceIds = v
+ return s
+}
+
+// SetNotificationConfig sets the NotificationConfig field's value.
+func (s *SendCommandInput) SetNotificationConfig(v *NotificationConfig) *SendCommandInput {
+ s.NotificationConfig = v
+ return s
+}
+
+// SetOutputS3BucketName sets the OutputS3BucketName field's value.
+func (s *SendCommandInput) SetOutputS3BucketName(v string) *SendCommandInput {
+ s.OutputS3BucketName = &v
+ return s
+}
+
+// SetOutputS3KeyPrefix sets the OutputS3KeyPrefix field's value.
+func (s *SendCommandInput) SetOutputS3KeyPrefix(v string) *SendCommandInput {
+ s.OutputS3KeyPrefix = &v
+ return s
+}
+
+// SetParameters sets the Parameters field's value.
+func (s *SendCommandInput) SetParameters(v map[string][]*string) *SendCommandInput {
+ s.Parameters = v
+ return s
+}
+
+// SetServiceRoleArn sets the ServiceRoleArn field's value.
+func (s *SendCommandInput) SetServiceRoleArn(v string) *SendCommandInput {
+ s.ServiceRoleArn = &v
+ return s
+}
+
+// SetTimeoutSeconds sets the TimeoutSeconds field's value.
+func (s *SendCommandInput) SetTimeoutSeconds(v int64) *SendCommandInput {
+ s.TimeoutSeconds = &v
+ return s
+}
+
type SendCommandOutput struct {
_ struct{} `type:"structure"`
@@ -4475,6 +5645,12 @@ func (s SendCommandOutput) GoString() string {
return s.String()
}
+// SetCommand sets the Command field's value.
+func (s *SendCommandOutput) SetCommand(v *Command) *SendCommandOutput {
+ s.Command = v
+ return s
+}
+
// Metadata that you assign to your managed instances. Tags enable you to categorize
// your managed instances in different ways, for example, by purpose, owner,
// or environment.
@@ -4524,6 +5700,18 @@ func (s *Tag) Validate() error {
return nil
}
+// 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
+}
+
type UpdateAssociationStatusInput struct {
_ struct{} `type:"structure"`
@@ -4577,6 +5765,24 @@ func (s *UpdateAssociationStatusInput) Validate() error {
return nil
}
+// SetAssociationStatus sets the AssociationStatus field's value.
+func (s *UpdateAssociationStatusInput) SetAssociationStatus(v *AssociationStatus) *UpdateAssociationStatusInput {
+ s.AssociationStatus = v
+ return s
+}
+
+// SetInstanceId sets the InstanceId field's value.
+func (s *UpdateAssociationStatusInput) SetInstanceId(v string) *UpdateAssociationStatusInput {
+ s.InstanceId = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *UpdateAssociationStatusInput) SetName(v string) *UpdateAssociationStatusInput {
+ s.Name = &v
+ return s
+}
+
type UpdateAssociationStatusOutput struct {
_ struct{} `type:"structure"`
@@ -4594,6 +5800,12 @@ func (s UpdateAssociationStatusOutput) GoString() string {
return s.String()
}
+// SetAssociationDescription sets the AssociationDescription field's value.
+func (s *UpdateAssociationStatusOutput) SetAssociationDescription(v *AssociationDescription) *UpdateAssociationStatusOutput {
+ s.AssociationDescription = v
+ return s
+}
+
type UpdateManagedInstanceRoleInput struct {
_ struct{} `type:"structure"`
@@ -4634,6 +5846,18 @@ func (s *UpdateManagedInstanceRoleInput) Validate() error {
return nil
}
+// SetIamRole sets the IamRole field's value.
+func (s *UpdateManagedInstanceRoleInput) SetIamRole(v string) *UpdateManagedInstanceRoleInput {
+ s.IamRole = &v
+ return s
+}
+
+// SetInstanceId sets the InstanceId field's value.
+func (s *UpdateManagedInstanceRoleInput) SetInstanceId(v string) *UpdateManagedInstanceRoleInput {
+ s.InstanceId = &v
+ return s
+}
+
type UpdateManagedInstanceRoleOutput struct {
_ struct{} `type:"structure"`
}
diff --git a/vendor/github.com/aws/aws-sdk-go/service/storagegateway/api.go b/vendor/github.com/aws/aws-sdk-go/service/storagegateway/api.go
index 1c25809..148d4e4 100644
--- a/vendor/github.com/aws/aws-sdk-go/service/storagegateway/api.go
+++ b/vendor/github.com/aws/aws-sdk-go/service/storagegateway/api.go
@@ -4551,6 +4551,48 @@ func (s *ActivateGatewayInput) Validate() error {
return nil
}
+// SetActivationKey sets the ActivationKey field's value.
+func (s *ActivateGatewayInput) SetActivationKey(v string) *ActivateGatewayInput {
+ s.ActivationKey = &v
+ return s
+}
+
+// SetGatewayName sets the GatewayName field's value.
+func (s *ActivateGatewayInput) SetGatewayName(v string) *ActivateGatewayInput {
+ s.GatewayName = &v
+ return s
+}
+
+// SetGatewayRegion sets the GatewayRegion field's value.
+func (s *ActivateGatewayInput) SetGatewayRegion(v string) *ActivateGatewayInput {
+ s.GatewayRegion = &v
+ return s
+}
+
+// SetGatewayTimezone sets the GatewayTimezone field's value.
+func (s *ActivateGatewayInput) SetGatewayTimezone(v string) *ActivateGatewayInput {
+ s.GatewayTimezone = &v
+ return s
+}
+
+// SetGatewayType sets the GatewayType field's value.
+func (s *ActivateGatewayInput) SetGatewayType(v string) *ActivateGatewayInput {
+ s.GatewayType = &v
+ return s
+}
+
+// SetMediumChangerType sets the MediumChangerType field's value.
+func (s *ActivateGatewayInput) SetMediumChangerType(v string) *ActivateGatewayInput {
+ s.MediumChangerType = &v
+ return s
+}
+
+// SetTapeDriveType sets the TapeDriveType field's value.
+func (s *ActivateGatewayInput) SetTapeDriveType(v string) *ActivateGatewayInput {
+ s.TapeDriveType = &v
+ return s
+}
+
// AWS Storage Gateway returns the Amazon Resource Name (ARN) of the activated
// gateway. It is a string made of information such as your account, gateway
// name, and region. This ARN is used to reference the gateway in other API
@@ -4577,6 +4619,12 @@ func (s ActivateGatewayOutput) GoString() string {
return s.String()
}
+// SetGatewayARN sets the GatewayARN field's value.
+func (s *ActivateGatewayOutput) SetGatewayARN(v string) *ActivateGatewayOutput {
+ s.GatewayARN = &v
+ return s
+}
+
type AddCacheInput struct {
_ struct{} `type:"structure"`
@@ -4619,6 +4667,18 @@ func (s *AddCacheInput) Validate() error {
return nil
}
+// SetDiskIds sets the DiskIds field's value.
+func (s *AddCacheInput) SetDiskIds(v []*string) *AddCacheInput {
+ s.DiskIds = v
+ return s
+}
+
+// SetGatewayARN sets the GatewayARN field's value.
+func (s *AddCacheInput) SetGatewayARN(v string) *AddCacheInput {
+ s.GatewayARN = &v
+ return s
+}
+
type AddCacheOutput struct {
_ struct{} `type:"structure"`
@@ -4637,6 +4697,12 @@ func (s AddCacheOutput) GoString() string {
return s.String()
}
+// SetGatewayARN sets the GatewayARN field's value.
+func (s *AddCacheOutput) SetGatewayARN(v string) *AddCacheOutput {
+ s.GatewayARN = &v
+ return s
+}
+
// AddTagsToResourceInput
type AddTagsToResourceInput struct {
_ struct{} `type:"structure"`
@@ -4695,6 +4761,18 @@ func (s *AddTagsToResourceInput) Validate() error {
return nil
}
+// SetResourceARN sets the ResourceARN field's value.
+func (s *AddTagsToResourceInput) SetResourceARN(v string) *AddTagsToResourceInput {
+ s.ResourceARN = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *AddTagsToResourceInput) SetTags(v []*Tag) *AddTagsToResourceInput {
+ s.Tags = v
+ return s
+}
+
// AddTagsToResourceOutput
type AddTagsToResourceOutput struct {
_ struct{} `type:"structure"`
@@ -4713,6 +4791,12 @@ func (s AddTagsToResourceOutput) GoString() string {
return s.String()
}
+// SetResourceARN sets the ResourceARN field's value.
+func (s *AddTagsToResourceOutput) SetResourceARN(v string) *AddTagsToResourceOutput {
+ s.ResourceARN = &v
+ return s
+}
+
type AddUploadBufferInput struct {
_ struct{} `type:"structure"`
@@ -4755,6 +4839,18 @@ func (s *AddUploadBufferInput) Validate() error {
return nil
}
+// SetDiskIds sets the DiskIds field's value.
+func (s *AddUploadBufferInput) SetDiskIds(v []*string) *AddUploadBufferInput {
+ s.DiskIds = v
+ return s
+}
+
+// SetGatewayARN sets the GatewayARN field's value.
+func (s *AddUploadBufferInput) SetGatewayARN(v string) *AddUploadBufferInput {
+ s.GatewayARN = &v
+ return s
+}
+
type AddUploadBufferOutput struct {
_ struct{} `type:"structure"`
@@ -4773,6 +4869,12 @@ func (s AddUploadBufferOutput) GoString() string {
return s.String()
}
+// SetGatewayARN sets the GatewayARN field's value.
+func (s *AddUploadBufferOutput) SetGatewayARN(v string) *AddUploadBufferOutput {
+ s.GatewayARN = &v
+ return s
+}
+
// A JSON object containing one or more of the following fields:
//
// * AddWorkingStorageInput$DiskIds
@@ -4822,6 +4924,18 @@ func (s *AddWorkingStorageInput) Validate() error {
return nil
}
+// SetDiskIds sets the DiskIds field's value.
+func (s *AddWorkingStorageInput) SetDiskIds(v []*string) *AddWorkingStorageInput {
+ s.DiskIds = v
+ return s
+}
+
+// SetGatewayARN sets the GatewayARN field's value.
+func (s *AddWorkingStorageInput) SetGatewayARN(v string) *AddWorkingStorageInput {
+ s.GatewayARN = &v
+ return s
+}
+
// A JSON object containing the of the gateway for which working storage was
// configured.
type AddWorkingStorageOutput struct {
@@ -4842,6 +4956,12 @@ func (s AddWorkingStorageOutput) GoString() string {
return s.String()
}
+// SetGatewayARN sets the GatewayARN field's value.
+func (s *AddWorkingStorageOutput) SetGatewayARN(v string) *AddWorkingStorageOutput {
+ s.GatewayARN = &v
+ return s
+}
+
type CachediSCSIVolume struct {
_ struct{} `type:"structure"`
@@ -4873,6 +4993,54 @@ func (s CachediSCSIVolume) GoString() string {
return s.String()
}
+// SetSourceSnapshotId sets the SourceSnapshotId field's value.
+func (s *CachediSCSIVolume) SetSourceSnapshotId(v string) *CachediSCSIVolume {
+ s.SourceSnapshotId = &v
+ return s
+}
+
+// SetVolumeARN sets the VolumeARN field's value.
+func (s *CachediSCSIVolume) SetVolumeARN(v string) *CachediSCSIVolume {
+ s.VolumeARN = &v
+ return s
+}
+
+// SetVolumeId sets the VolumeId field's value.
+func (s *CachediSCSIVolume) SetVolumeId(v string) *CachediSCSIVolume {
+ s.VolumeId = &v
+ return s
+}
+
+// SetVolumeProgress sets the VolumeProgress field's value.
+func (s *CachediSCSIVolume) SetVolumeProgress(v float64) *CachediSCSIVolume {
+ s.VolumeProgress = &v
+ return s
+}
+
+// SetVolumeSizeInBytes sets the VolumeSizeInBytes field's value.
+func (s *CachediSCSIVolume) SetVolumeSizeInBytes(v int64) *CachediSCSIVolume {
+ s.VolumeSizeInBytes = &v
+ return s
+}
+
+// SetVolumeStatus sets the VolumeStatus field's value.
+func (s *CachediSCSIVolume) SetVolumeStatus(v string) *CachediSCSIVolume {
+ s.VolumeStatus = &v
+ return s
+}
+
+// SetVolumeType sets the VolumeType field's value.
+func (s *CachediSCSIVolume) SetVolumeType(v string) *CachediSCSIVolume {
+ s.VolumeType = &v
+ return s
+}
+
+// SetVolumeiSCSIAttributes sets the VolumeiSCSIAttributes field's value.
+func (s *CachediSCSIVolume) SetVolumeiSCSIAttributes(v *VolumeiSCSIAttributes) *CachediSCSIVolume {
+ s.VolumeiSCSIAttributes = v
+ return s
+}
+
// CancelArchivalInput
type CancelArchivalInput struct {
_ struct{} `type:"structure"`
@@ -4922,6 +5090,18 @@ func (s *CancelArchivalInput) Validate() error {
return nil
}
+// SetGatewayARN sets the GatewayARN field's value.
+func (s *CancelArchivalInput) SetGatewayARN(v string) *CancelArchivalInput {
+ s.GatewayARN = &v
+ return s
+}
+
+// SetTapeARN sets the TapeARN field's value.
+func (s *CancelArchivalInput) SetTapeARN(v string) *CancelArchivalInput {
+ s.TapeARN = &v
+ return s
+}
+
// CancelArchivalOutput
type CancelArchivalOutput struct {
_ struct{} `type:"structure"`
@@ -4941,6 +5121,12 @@ func (s CancelArchivalOutput) GoString() string {
return s.String()
}
+// SetTapeARN sets the TapeARN field's value.
+func (s *CancelArchivalOutput) SetTapeARN(v string) *CancelArchivalOutput {
+ s.TapeARN = &v
+ return s
+}
+
// CancelRetrievalInput
type CancelRetrievalInput struct {
_ struct{} `type:"structure"`
@@ -4990,6 +5176,18 @@ func (s *CancelRetrievalInput) Validate() error {
return nil
}
+// SetGatewayARN sets the GatewayARN field's value.
+func (s *CancelRetrievalInput) SetGatewayARN(v string) *CancelRetrievalInput {
+ s.GatewayARN = &v
+ return s
+}
+
+// SetTapeARN sets the TapeARN field's value.
+func (s *CancelRetrievalInput) SetTapeARN(v string) *CancelRetrievalInput {
+ s.TapeARN = &v
+ return s
+}
+
// CancelRetrievalOutput
type CancelRetrievalOutput struct {
_ struct{} `type:"structure"`
@@ -5009,6 +5207,12 @@ func (s CancelRetrievalOutput) GoString() string {
return s.String()
}
+// SetTapeARN sets the TapeARN field's value.
+func (s *CancelRetrievalOutput) SetTapeARN(v string) *CancelRetrievalOutput {
+ s.TapeARN = &v
+ return s
+}
+
// Describes Challenge-Handshake Authentication Protocol (CHAP) information
// that supports authentication between your gateway and iSCSI initiators.
type ChapInfo struct {
@@ -5042,6 +5246,30 @@ func (s ChapInfo) GoString() string {
return s.String()
}
+// SetInitiatorName sets the InitiatorName field's value.
+func (s *ChapInfo) SetInitiatorName(v string) *ChapInfo {
+ s.InitiatorName = &v
+ return s
+}
+
+// SetSecretToAuthenticateInitiator sets the SecretToAuthenticateInitiator field's value.
+func (s *ChapInfo) SetSecretToAuthenticateInitiator(v string) *ChapInfo {
+ s.SecretToAuthenticateInitiator = &v
+ return s
+}
+
+// SetSecretToAuthenticateTarget sets the SecretToAuthenticateTarget field's value.
+func (s *ChapInfo) SetSecretToAuthenticateTarget(v string) *ChapInfo {
+ s.SecretToAuthenticateTarget = &v
+ return s
+}
+
+// SetTargetARN sets the TargetARN field's value.
+func (s *ChapInfo) SetTargetARN(v string) *ChapInfo {
+ s.TargetARN = &v
+ return s
+}
+
type CreateCachediSCSIVolumeInput struct {
_ struct{} `type:"structure"`
@@ -5110,6 +5338,42 @@ func (s *CreateCachediSCSIVolumeInput) Validate() error {
return nil
}
+// SetClientToken sets the ClientToken field's value.
+func (s *CreateCachediSCSIVolumeInput) SetClientToken(v string) *CreateCachediSCSIVolumeInput {
+ s.ClientToken = &v
+ return s
+}
+
+// SetGatewayARN sets the GatewayARN field's value.
+func (s *CreateCachediSCSIVolumeInput) SetGatewayARN(v string) *CreateCachediSCSIVolumeInput {
+ s.GatewayARN = &v
+ return s
+}
+
+// SetNetworkInterfaceId sets the NetworkInterfaceId field's value.
+func (s *CreateCachediSCSIVolumeInput) SetNetworkInterfaceId(v string) *CreateCachediSCSIVolumeInput {
+ s.NetworkInterfaceId = &v
+ return s
+}
+
+// SetSnapshotId sets the SnapshotId field's value.
+func (s *CreateCachediSCSIVolumeInput) SetSnapshotId(v string) *CreateCachediSCSIVolumeInput {
+ s.SnapshotId = &v
+ return s
+}
+
+// SetTargetName sets the TargetName field's value.
+func (s *CreateCachediSCSIVolumeInput) SetTargetName(v string) *CreateCachediSCSIVolumeInput {
+ s.TargetName = &v
+ return s
+}
+
+// SetVolumeSizeInBytes sets the VolumeSizeInBytes field's value.
+func (s *CreateCachediSCSIVolumeInput) SetVolumeSizeInBytes(v int64) *CreateCachediSCSIVolumeInput {
+ s.VolumeSizeInBytes = &v
+ return s
+}
+
type CreateCachediSCSIVolumeOutput struct {
_ struct{} `type:"structure"`
@@ -5128,6 +5392,18 @@ func (s CreateCachediSCSIVolumeOutput) GoString() string {
return s.String()
}
+// SetTargetARN sets the TargetARN field's value.
+func (s *CreateCachediSCSIVolumeOutput) SetTargetARN(v string) *CreateCachediSCSIVolumeOutput {
+ s.TargetARN = &v
+ return s
+}
+
+// SetVolumeARN sets the VolumeARN field's value.
+func (s *CreateCachediSCSIVolumeOutput) SetVolumeARN(v string) *CreateCachediSCSIVolumeOutput {
+ s.VolumeARN = &v
+ return s
+}
+
type CreateSnapshotFromVolumeRecoveryPointInput struct {
_ struct{} `type:"structure"`
@@ -5170,6 +5446,18 @@ func (s *CreateSnapshotFromVolumeRecoveryPointInput) Validate() error {
return nil
}
+// SetSnapshotDescription sets the SnapshotDescription field's value.
+func (s *CreateSnapshotFromVolumeRecoveryPointInput) SetSnapshotDescription(v string) *CreateSnapshotFromVolumeRecoveryPointInput {
+ s.SnapshotDescription = &v
+ return s
+}
+
+// SetVolumeARN sets the VolumeARN field's value.
+func (s *CreateSnapshotFromVolumeRecoveryPointInput) SetVolumeARN(v string) *CreateSnapshotFromVolumeRecoveryPointInput {
+ s.VolumeARN = &v
+ return s
+}
+
type CreateSnapshotFromVolumeRecoveryPointOutput struct {
_ struct{} `type:"structure"`
@@ -5190,6 +5478,24 @@ func (s CreateSnapshotFromVolumeRecoveryPointOutput) GoString() string {
return s.String()
}
+// SetSnapshotId sets the SnapshotId field's value.
+func (s *CreateSnapshotFromVolumeRecoveryPointOutput) SetSnapshotId(v string) *CreateSnapshotFromVolumeRecoveryPointOutput {
+ s.SnapshotId = &v
+ return s
+}
+
+// SetVolumeARN sets the VolumeARN field's value.
+func (s *CreateSnapshotFromVolumeRecoveryPointOutput) SetVolumeARN(v string) *CreateSnapshotFromVolumeRecoveryPointOutput {
+ s.VolumeARN = &v
+ return s
+}
+
+// SetVolumeRecoveryPointTime sets the VolumeRecoveryPointTime field's value.
+func (s *CreateSnapshotFromVolumeRecoveryPointOutput) SetVolumeRecoveryPointTime(v string) *CreateSnapshotFromVolumeRecoveryPointOutput {
+ s.VolumeRecoveryPointTime = &v
+ return s
+}
+
// A JSON object containing one or more of the following fields:
//
// * CreateSnapshotInput$SnapshotDescription
@@ -5244,6 +5550,18 @@ func (s *CreateSnapshotInput) Validate() error {
return nil
}
+// SetSnapshotDescription sets the SnapshotDescription field's value.
+func (s *CreateSnapshotInput) SetSnapshotDescription(v string) *CreateSnapshotInput {
+ s.SnapshotDescription = &v
+ return s
+}
+
+// SetVolumeARN sets the VolumeARN field's value.
+func (s *CreateSnapshotInput) SetVolumeARN(v string) *CreateSnapshotInput {
+ s.VolumeARN = &v
+ return s
+}
+
// A JSON object containing the following fields:
type CreateSnapshotOutput struct {
_ struct{} `type:"structure"`
@@ -5267,6 +5585,18 @@ func (s CreateSnapshotOutput) GoString() string {
return s.String()
}
+// SetSnapshotId sets the SnapshotId field's value.
+func (s *CreateSnapshotOutput) SetSnapshotId(v string) *CreateSnapshotOutput {
+ s.SnapshotId = &v
+ return s
+}
+
+// SetVolumeARN sets the VolumeARN field's value.
+func (s *CreateSnapshotOutput) SetVolumeARN(v string) *CreateSnapshotOutput {
+ s.VolumeARN = &v
+ return s
+}
+
// A JSON object containing one or more of the following fields:
//
// * CreateStorediSCSIVolumeInput$DiskId
@@ -5371,6 +5701,42 @@ func (s *CreateStorediSCSIVolumeInput) Validate() error {
return nil
}
+// SetDiskId sets the DiskId field's value.
+func (s *CreateStorediSCSIVolumeInput) SetDiskId(v string) *CreateStorediSCSIVolumeInput {
+ s.DiskId = &v
+ return s
+}
+
+// SetGatewayARN sets the GatewayARN field's value.
+func (s *CreateStorediSCSIVolumeInput) SetGatewayARN(v string) *CreateStorediSCSIVolumeInput {
+ s.GatewayARN = &v
+ return s
+}
+
+// SetNetworkInterfaceId sets the NetworkInterfaceId field's value.
+func (s *CreateStorediSCSIVolumeInput) SetNetworkInterfaceId(v string) *CreateStorediSCSIVolumeInput {
+ s.NetworkInterfaceId = &v
+ return s
+}
+
+// SetPreserveExistingData sets the PreserveExistingData field's value.
+func (s *CreateStorediSCSIVolumeInput) SetPreserveExistingData(v bool) *CreateStorediSCSIVolumeInput {
+ s.PreserveExistingData = &v
+ return s
+}
+
+// SetSnapshotId sets the SnapshotId field's value.
+func (s *CreateStorediSCSIVolumeInput) SetSnapshotId(v string) *CreateStorediSCSIVolumeInput {
+ s.SnapshotId = &v
+ return s
+}
+
+// SetTargetName sets the TargetName field's value.
+func (s *CreateStorediSCSIVolumeInput) SetTargetName(v string) *CreateStorediSCSIVolumeInput {
+ s.TargetName = &v
+ return s
+}
+
// A JSON object containing the following fields:
type CreateStorediSCSIVolumeOutput struct {
_ struct{} `type:"structure"`
@@ -5396,6 +5762,24 @@ func (s CreateStorediSCSIVolumeOutput) GoString() string {
return s.String()
}
+// SetTargetARN sets the TargetARN field's value.
+func (s *CreateStorediSCSIVolumeOutput) SetTargetARN(v string) *CreateStorediSCSIVolumeOutput {
+ s.TargetARN = &v
+ return s
+}
+
+// SetVolumeARN sets the VolumeARN field's value.
+func (s *CreateStorediSCSIVolumeOutput) SetVolumeARN(v string) *CreateStorediSCSIVolumeOutput {
+ s.VolumeARN = &v
+ return s
+}
+
+// SetVolumeSizeInBytes sets the VolumeSizeInBytes field's value.
+func (s *CreateStorediSCSIVolumeOutput) SetVolumeSizeInBytes(v int64) *CreateStorediSCSIVolumeOutput {
+ s.VolumeSizeInBytes = &v
+ return s
+}
+
// CreateTapeWithBarcodeInput
type CreateTapeWithBarcodeInput struct {
_ struct{} `type:"structure"`
@@ -5455,6 +5839,24 @@ func (s *CreateTapeWithBarcodeInput) Validate() error {
return nil
}
+// SetGatewayARN sets the GatewayARN field's value.
+func (s *CreateTapeWithBarcodeInput) SetGatewayARN(v string) *CreateTapeWithBarcodeInput {
+ s.GatewayARN = &v
+ return s
+}
+
+// SetTapeBarcode sets the TapeBarcode field's value.
+func (s *CreateTapeWithBarcodeInput) SetTapeBarcode(v string) *CreateTapeWithBarcodeInput {
+ s.TapeBarcode = &v
+ return s
+}
+
+// SetTapeSizeInBytes sets the TapeSizeInBytes field's value.
+func (s *CreateTapeWithBarcodeInput) SetTapeSizeInBytes(v int64) *CreateTapeWithBarcodeInput {
+ s.TapeSizeInBytes = &v
+ return s
+}
+
// CreateTapeOutput
type CreateTapeWithBarcodeOutput struct {
_ struct{} `type:"structure"`
@@ -5474,6 +5876,12 @@ func (s CreateTapeWithBarcodeOutput) GoString() string {
return s.String()
}
+// SetTapeARN sets the TapeARN field's value.
+func (s *CreateTapeWithBarcodeOutput) SetTapeARN(v string) *CreateTapeWithBarcodeOutput {
+ s.TapeARN = &v
+ return s
+}
+
// CreateTapesInput
type CreateTapesInput struct {
_ struct{} `type:"structure"`
@@ -5562,6 +5970,36 @@ func (s *CreateTapesInput) Validate() error {
return nil
}
+// SetClientToken sets the ClientToken field's value.
+func (s *CreateTapesInput) SetClientToken(v string) *CreateTapesInput {
+ s.ClientToken = &v
+ return s
+}
+
+// SetGatewayARN sets the GatewayARN field's value.
+func (s *CreateTapesInput) SetGatewayARN(v string) *CreateTapesInput {
+ s.GatewayARN = &v
+ return s
+}
+
+// SetNumTapesToCreate sets the NumTapesToCreate field's value.
+func (s *CreateTapesInput) SetNumTapesToCreate(v int64) *CreateTapesInput {
+ s.NumTapesToCreate = &v
+ return s
+}
+
+// SetTapeBarcodePrefix sets the TapeBarcodePrefix field's value.
+func (s *CreateTapesInput) SetTapeBarcodePrefix(v string) *CreateTapesInput {
+ s.TapeBarcodePrefix = &v
+ return s
+}
+
+// SetTapeSizeInBytes sets the TapeSizeInBytes field's value.
+func (s *CreateTapesInput) SetTapeSizeInBytes(v int64) *CreateTapesInput {
+ s.TapeSizeInBytes = &v
+ return s
+}
+
// CreateTapeOutput
type CreateTapesOutput struct {
_ struct{} `type:"structure"`
@@ -5581,6 +6019,12 @@ func (s CreateTapesOutput) GoString() string {
return s.String()
}
+// SetTapeARNs sets the TapeARNs field's value.
+func (s *CreateTapesOutput) SetTapeARNs(v []*string) *CreateTapesOutput {
+ s.TapeARNs = v
+ return s
+}
+
type DeleteBandwidthRateLimitInput struct {
_ struct{} `type:"structure"`
@@ -5626,6 +6070,18 @@ func (s *DeleteBandwidthRateLimitInput) Validate() error {
return nil
}
+// SetBandwidthType sets the BandwidthType field's value.
+func (s *DeleteBandwidthRateLimitInput) SetBandwidthType(v string) *DeleteBandwidthRateLimitInput {
+ s.BandwidthType = &v
+ return s
+}
+
+// SetGatewayARN sets the GatewayARN field's value.
+func (s *DeleteBandwidthRateLimitInput) SetGatewayARN(v string) *DeleteBandwidthRateLimitInput {
+ s.GatewayARN = &v
+ return s
+}
+
// A JSON object containing the of the gateway whose bandwidth rate information
// was deleted.
type DeleteBandwidthRateLimitOutput struct {
@@ -5646,6 +6102,12 @@ func (s DeleteBandwidthRateLimitOutput) GoString() string {
return s.String()
}
+// SetGatewayARN sets the GatewayARN field's value.
+func (s *DeleteBandwidthRateLimitOutput) SetGatewayARN(v string) *DeleteBandwidthRateLimitOutput {
+ s.GatewayARN = &v
+ return s
+}
+
// A JSON object containing one or more of the following fields:
//
// * DeleteChapCredentialsInput$InitiatorName
@@ -5698,6 +6160,18 @@ func (s *DeleteChapCredentialsInput) Validate() error {
return nil
}
+// SetInitiatorName sets the InitiatorName field's value.
+func (s *DeleteChapCredentialsInput) SetInitiatorName(v string) *DeleteChapCredentialsInput {
+ s.InitiatorName = &v
+ return s
+}
+
+// SetTargetARN sets the TargetARN field's value.
+func (s *DeleteChapCredentialsInput) SetTargetARN(v string) *DeleteChapCredentialsInput {
+ s.TargetARN = &v
+ return s
+}
+
// A JSON object containing the following fields:
type DeleteChapCredentialsOutput struct {
_ struct{} `type:"structure"`
@@ -5719,6 +6193,18 @@ func (s DeleteChapCredentialsOutput) GoString() string {
return s.String()
}
+// SetInitiatorName sets the InitiatorName field's value.
+func (s *DeleteChapCredentialsOutput) SetInitiatorName(v string) *DeleteChapCredentialsOutput {
+ s.InitiatorName = &v
+ return s
+}
+
+// SetTargetARN sets the TargetARN field's value.
+func (s *DeleteChapCredentialsOutput) SetTargetARN(v string) *DeleteChapCredentialsOutput {
+ s.TargetARN = &v
+ return s
+}
+
// A JSON object containing the id of the gateway to delete.
type DeleteGatewayInput struct {
_ struct{} `type:"structure"`
@@ -5756,6 +6242,12 @@ func (s *DeleteGatewayInput) Validate() error {
return nil
}
+// SetGatewayARN sets the GatewayARN field's value.
+func (s *DeleteGatewayInput) SetGatewayARN(v string) *DeleteGatewayInput {
+ s.GatewayARN = &v
+ return s
+}
+
// A JSON object containing the id of the deleted gateway.
type DeleteGatewayOutput struct {
_ struct{} `type:"structure"`
@@ -5775,6 +6267,12 @@ func (s DeleteGatewayOutput) GoString() string {
return s.String()
}
+// SetGatewayARN sets the GatewayARN field's value.
+func (s *DeleteGatewayOutput) SetGatewayARN(v string) *DeleteGatewayOutput {
+ s.GatewayARN = &v
+ return s
+}
+
type DeleteSnapshotScheduleInput struct {
_ struct{} `type:"structure"`
@@ -5808,6 +6306,12 @@ func (s *DeleteSnapshotScheduleInput) Validate() error {
return nil
}
+// SetVolumeARN sets the VolumeARN field's value.
+func (s *DeleteSnapshotScheduleInput) SetVolumeARN(v string) *DeleteSnapshotScheduleInput {
+ s.VolumeARN = &v
+ return s
+}
+
type DeleteSnapshotScheduleOutput struct {
_ struct{} `type:"structure"`
@@ -5824,6 +6328,12 @@ func (s DeleteSnapshotScheduleOutput) GoString() string {
return s.String()
}
+// SetVolumeARN sets the VolumeARN field's value.
+func (s *DeleteSnapshotScheduleOutput) SetVolumeARN(v string) *DeleteSnapshotScheduleOutput {
+ s.VolumeARN = &v
+ return s
+}
+
// DeleteTapeArchiveInput
type DeleteTapeArchiveInput struct {
_ struct{} `type:"structure"`
@@ -5861,6 +6371,12 @@ func (s *DeleteTapeArchiveInput) Validate() error {
return nil
}
+// SetTapeARN sets the TapeARN field's value.
+func (s *DeleteTapeArchiveInput) SetTapeARN(v string) *DeleteTapeArchiveInput {
+ s.TapeARN = &v
+ return s
+}
+
// DeleteTapeArchiveOutput
type DeleteTapeArchiveOutput struct {
_ struct{} `type:"structure"`
@@ -5880,6 +6396,12 @@ func (s DeleteTapeArchiveOutput) GoString() string {
return s.String()
}
+// SetTapeARN sets the TapeARN field's value.
+func (s *DeleteTapeArchiveOutput) SetTapeARN(v string) *DeleteTapeArchiveOutput {
+ s.TapeARN = &v
+ return s
+}
+
// DeleteTapeInput
type DeleteTapeInput struct {
_ struct{} `type:"structure"`
@@ -5929,6 +6451,18 @@ func (s *DeleteTapeInput) Validate() error {
return nil
}
+// SetGatewayARN sets the GatewayARN field's value.
+func (s *DeleteTapeInput) SetGatewayARN(v string) *DeleteTapeInput {
+ s.GatewayARN = &v
+ return s
+}
+
+// SetTapeARN sets the TapeARN field's value.
+func (s *DeleteTapeInput) SetTapeARN(v string) *DeleteTapeInput {
+ s.TapeARN = &v
+ return s
+}
+
// DeleteTapeOutput
type DeleteTapeOutput struct {
_ struct{} `type:"structure"`
@@ -5947,6 +6481,12 @@ func (s DeleteTapeOutput) GoString() string {
return s.String()
}
+// SetTapeARN sets the TapeARN field's value.
+func (s *DeleteTapeOutput) SetTapeARN(v string) *DeleteTapeOutput {
+ s.TapeARN = &v
+ return s
+}
+
// A JSON object containing the DeleteVolumeInput$VolumeARN to delete.
type DeleteVolumeInput struct {
_ struct{} `type:"structure"`
@@ -5984,6 +6524,12 @@ func (s *DeleteVolumeInput) Validate() error {
return nil
}
+// SetVolumeARN sets the VolumeARN field's value.
+func (s *DeleteVolumeInput) SetVolumeARN(v string) *DeleteVolumeInput {
+ s.VolumeARN = &v
+ return s
+}
+
// A JSON object containing the of the storage volume that was deleted
type DeleteVolumeOutput struct {
_ struct{} `type:"structure"`
@@ -6003,6 +6549,12 @@ func (s DeleteVolumeOutput) GoString() string {
return s.String()
}
+// SetVolumeARN sets the VolumeARN field's value.
+func (s *DeleteVolumeOutput) SetVolumeARN(v string) *DeleteVolumeOutput {
+ s.VolumeARN = &v
+ return s
+}
+
// A JSON object containing the of the gateway.
type DescribeBandwidthRateLimitInput struct {
_ struct{} `type:"structure"`
@@ -6040,6 +6592,12 @@ func (s *DescribeBandwidthRateLimitInput) Validate() error {
return nil
}
+// SetGatewayARN sets the GatewayARN field's value.
+func (s *DescribeBandwidthRateLimitInput) SetGatewayARN(v string) *DescribeBandwidthRateLimitInput {
+ s.GatewayARN = &v
+ return s
+}
+
// A JSON object containing the following fields:
type DescribeBandwidthRateLimitOutput struct {
_ struct{} `type:"structure"`
@@ -6067,6 +6625,24 @@ func (s DescribeBandwidthRateLimitOutput) GoString() string {
return s.String()
}
+// SetAverageDownloadRateLimitInBitsPerSec sets the AverageDownloadRateLimitInBitsPerSec field's value.
+func (s *DescribeBandwidthRateLimitOutput) SetAverageDownloadRateLimitInBitsPerSec(v int64) *DescribeBandwidthRateLimitOutput {
+ s.AverageDownloadRateLimitInBitsPerSec = &v
+ return s
+}
+
+// SetAverageUploadRateLimitInBitsPerSec sets the AverageUploadRateLimitInBitsPerSec field's value.
+func (s *DescribeBandwidthRateLimitOutput) SetAverageUploadRateLimitInBitsPerSec(v int64) *DescribeBandwidthRateLimitOutput {
+ s.AverageUploadRateLimitInBitsPerSec = &v
+ return s
+}
+
+// SetGatewayARN sets the GatewayARN field's value.
+func (s *DescribeBandwidthRateLimitOutput) SetGatewayARN(v string) *DescribeBandwidthRateLimitOutput {
+ s.GatewayARN = &v
+ return s
+}
+
type DescribeCacheInput struct {
_ struct{} `type:"structure"`
@@ -6103,6 +6679,12 @@ func (s *DescribeCacheInput) Validate() error {
return nil
}
+// SetGatewayARN sets the GatewayARN field's value.
+func (s *DescribeCacheInput) SetGatewayARN(v string) *DescribeCacheInput {
+ s.GatewayARN = &v
+ return s
+}
+
type DescribeCacheOutput struct {
_ struct{} `type:"structure"`
@@ -6133,6 +6715,48 @@ func (s DescribeCacheOutput) GoString() string {
return s.String()
}
+// SetCacheAllocatedInBytes sets the CacheAllocatedInBytes field's value.
+func (s *DescribeCacheOutput) SetCacheAllocatedInBytes(v int64) *DescribeCacheOutput {
+ s.CacheAllocatedInBytes = &v
+ return s
+}
+
+// SetCacheDirtyPercentage sets the CacheDirtyPercentage field's value.
+func (s *DescribeCacheOutput) SetCacheDirtyPercentage(v float64) *DescribeCacheOutput {
+ s.CacheDirtyPercentage = &v
+ return s
+}
+
+// SetCacheHitPercentage sets the CacheHitPercentage field's value.
+func (s *DescribeCacheOutput) SetCacheHitPercentage(v float64) *DescribeCacheOutput {
+ s.CacheHitPercentage = &v
+ return s
+}
+
+// SetCacheMissPercentage sets the CacheMissPercentage field's value.
+func (s *DescribeCacheOutput) SetCacheMissPercentage(v float64) *DescribeCacheOutput {
+ s.CacheMissPercentage = &v
+ return s
+}
+
+// SetCacheUsedPercentage sets the CacheUsedPercentage field's value.
+func (s *DescribeCacheOutput) SetCacheUsedPercentage(v float64) *DescribeCacheOutput {
+ s.CacheUsedPercentage = &v
+ return s
+}
+
+// SetDiskIds sets the DiskIds field's value.
+func (s *DescribeCacheOutput) SetDiskIds(v []*string) *DescribeCacheOutput {
+ s.DiskIds = v
+ return s
+}
+
+// SetGatewayARN sets the GatewayARN field's value.
+func (s *DescribeCacheOutput) SetGatewayARN(v string) *DescribeCacheOutput {
+ s.GatewayARN = &v
+ return s
+}
+
type DescribeCachediSCSIVolumesInput struct {
_ struct{} `type:"structure"`
@@ -6163,6 +6787,12 @@ func (s *DescribeCachediSCSIVolumesInput) Validate() error {
return nil
}
+// SetVolumeARNs sets the VolumeARNs field's value.
+func (s *DescribeCachediSCSIVolumesInput) SetVolumeARNs(v []*string) *DescribeCachediSCSIVolumesInput {
+ s.VolumeARNs = v
+ return s
+}
+
// A JSON object containing the following fields:
type DescribeCachediSCSIVolumesOutput struct {
_ struct{} `type:"structure"`
@@ -6182,6 +6812,12 @@ func (s DescribeCachediSCSIVolumesOutput) GoString() string {
return s.String()
}
+// SetCachediSCSIVolumes sets the CachediSCSIVolumes field's value.
+func (s *DescribeCachediSCSIVolumesOutput) SetCachediSCSIVolumes(v []*CachediSCSIVolume) *DescribeCachediSCSIVolumesOutput {
+ s.CachediSCSIVolumes = v
+ return s
+}
+
// A JSON object containing the Amazon Resource Name (ARN) of the iSCSI volume
// target.
type DescribeChapCredentialsInput struct {
@@ -6220,6 +6856,12 @@ func (s *DescribeChapCredentialsInput) Validate() error {
return nil
}
+// SetTargetARN sets the TargetARN field's value.
+func (s *DescribeChapCredentialsInput) SetTargetARN(v string) *DescribeChapCredentialsInput {
+ s.TargetARN = &v
+ return s
+}
+
// A JSON object containing a .
type DescribeChapCredentialsOutput struct {
_ struct{} `type:"structure"`
@@ -6252,6 +6894,12 @@ func (s DescribeChapCredentialsOutput) GoString() string {
return s.String()
}
+// SetChapCredentials sets the ChapCredentials field's value.
+func (s *DescribeChapCredentialsOutput) SetChapCredentials(v []*ChapInfo) *DescribeChapCredentialsOutput {
+ s.ChapCredentials = v
+ return s
+}
+
// A JSON object containing the id of the gateway.
type DescribeGatewayInformationInput struct {
_ struct{} `type:"structure"`
@@ -6289,6 +6937,12 @@ func (s *DescribeGatewayInformationInput) Validate() error {
return nil
}
+// SetGatewayARN sets the GatewayARN field's value.
+func (s *DescribeGatewayInformationInput) SetGatewayARN(v string) *DescribeGatewayInformationInput {
+ s.GatewayARN = &v
+ return s
+}
+
// A JSON object containing the following fields:
type DescribeGatewayInformationOutput struct {
_ struct{} `type:"structure"`
@@ -6339,6 +6993,60 @@ func (s DescribeGatewayInformationOutput) GoString() string {
return s.String()
}
+// SetGatewayARN sets the GatewayARN field's value.
+func (s *DescribeGatewayInformationOutput) SetGatewayARN(v string) *DescribeGatewayInformationOutput {
+ s.GatewayARN = &v
+ return s
+}
+
+// SetGatewayId sets the GatewayId field's value.
+func (s *DescribeGatewayInformationOutput) SetGatewayId(v string) *DescribeGatewayInformationOutput {
+ s.GatewayId = &v
+ return s
+}
+
+// SetGatewayName sets the GatewayName field's value.
+func (s *DescribeGatewayInformationOutput) SetGatewayName(v string) *DescribeGatewayInformationOutput {
+ s.GatewayName = &v
+ return s
+}
+
+// SetGatewayNetworkInterfaces sets the GatewayNetworkInterfaces field's value.
+func (s *DescribeGatewayInformationOutput) SetGatewayNetworkInterfaces(v []*NetworkInterface) *DescribeGatewayInformationOutput {
+ s.GatewayNetworkInterfaces = v
+ return s
+}
+
+// SetGatewayState sets the GatewayState field's value.
+func (s *DescribeGatewayInformationOutput) SetGatewayState(v string) *DescribeGatewayInformationOutput {
+ s.GatewayState = &v
+ return s
+}
+
+// SetGatewayTimezone sets the GatewayTimezone field's value.
+func (s *DescribeGatewayInformationOutput) SetGatewayTimezone(v string) *DescribeGatewayInformationOutput {
+ s.GatewayTimezone = &v
+ return s
+}
+
+// SetGatewayType sets the GatewayType field's value.
+func (s *DescribeGatewayInformationOutput) SetGatewayType(v string) *DescribeGatewayInformationOutput {
+ s.GatewayType = &v
+ return s
+}
+
+// SetLastSoftwareUpdate sets the LastSoftwareUpdate field's value.
+func (s *DescribeGatewayInformationOutput) SetLastSoftwareUpdate(v string) *DescribeGatewayInformationOutput {
+ s.LastSoftwareUpdate = &v
+ return s
+}
+
+// SetNextUpdateAvailabilityDate sets the NextUpdateAvailabilityDate field's value.
+func (s *DescribeGatewayInformationOutput) SetNextUpdateAvailabilityDate(v string) *DescribeGatewayInformationOutput {
+ s.NextUpdateAvailabilityDate = &v
+ return s
+}
+
// A JSON object containing the of the gateway.
type DescribeMaintenanceStartTimeInput struct {
_ struct{} `type:"structure"`
@@ -6376,6 +7084,12 @@ func (s *DescribeMaintenanceStartTimeInput) Validate() error {
return nil
}
+// SetGatewayARN sets the GatewayARN field's value.
+func (s *DescribeMaintenanceStartTimeInput) SetGatewayARN(v string) *DescribeMaintenanceStartTimeInput {
+ s.GatewayARN = &v
+ return s
+}
+
type DescribeMaintenanceStartTimeOutput struct {
_ struct{} `type:"structure"`
@@ -6402,6 +7116,36 @@ func (s DescribeMaintenanceStartTimeOutput) GoString() string {
return s.String()
}
+// SetDayOfWeek sets the DayOfWeek field's value.
+func (s *DescribeMaintenanceStartTimeOutput) SetDayOfWeek(v int64) *DescribeMaintenanceStartTimeOutput {
+ s.DayOfWeek = &v
+ return s
+}
+
+// SetGatewayARN sets the GatewayARN field's value.
+func (s *DescribeMaintenanceStartTimeOutput) SetGatewayARN(v string) *DescribeMaintenanceStartTimeOutput {
+ s.GatewayARN = &v
+ return s
+}
+
+// SetHourOfDay sets the HourOfDay field's value.
+func (s *DescribeMaintenanceStartTimeOutput) SetHourOfDay(v int64) *DescribeMaintenanceStartTimeOutput {
+ s.HourOfDay = &v
+ return s
+}
+
+// SetMinuteOfHour sets the MinuteOfHour field's value.
+func (s *DescribeMaintenanceStartTimeOutput) SetMinuteOfHour(v int64) *DescribeMaintenanceStartTimeOutput {
+ s.MinuteOfHour = &v
+ return s
+}
+
+// SetTimezone sets the Timezone field's value.
+func (s *DescribeMaintenanceStartTimeOutput) SetTimezone(v string) *DescribeMaintenanceStartTimeOutput {
+ s.Timezone = &v
+ return s
+}
+
// A JSON object containing the DescribeSnapshotScheduleInput$VolumeARN of the
// volume.
type DescribeSnapshotScheduleInput struct {
@@ -6440,6 +7184,12 @@ func (s *DescribeSnapshotScheduleInput) Validate() error {
return nil
}
+// SetVolumeARN sets the VolumeARN field's value.
+func (s *DescribeSnapshotScheduleInput) SetVolumeARN(v string) *DescribeSnapshotScheduleInput {
+ s.VolumeARN = &v
+ return s
+}
+
type DescribeSnapshotScheduleOutput struct {
_ struct{} `type:"structure"`
@@ -6464,12 +7214,42 @@ func (s DescribeSnapshotScheduleOutput) GoString() string {
return s.String()
}
-// A JSON object containing a list of DescribeStorediSCSIVolumesInput$VolumeARNs.
-type DescribeStorediSCSIVolumesInput struct {
- _ struct{} `type:"structure"`
+// SetDescription sets the Description field's value.
+func (s *DescribeSnapshotScheduleOutput) SetDescription(v string) *DescribeSnapshotScheduleOutput {
+ s.Description = &v
+ return s
+}
- // An array of strings where each string represents the Amazon Resource Name
- // (ARN) of a stored volume. All of the specified stored volumes must from the
+// SetRecurrenceInHours sets the RecurrenceInHours field's value.
+func (s *DescribeSnapshotScheduleOutput) SetRecurrenceInHours(v int64) *DescribeSnapshotScheduleOutput {
+ s.RecurrenceInHours = &v
+ return s
+}
+
+// SetStartAt sets the StartAt field's value.
+func (s *DescribeSnapshotScheduleOutput) SetStartAt(v int64) *DescribeSnapshotScheduleOutput {
+ s.StartAt = &v
+ return s
+}
+
+// SetTimezone sets the Timezone field's value.
+func (s *DescribeSnapshotScheduleOutput) SetTimezone(v string) *DescribeSnapshotScheduleOutput {
+ s.Timezone = &v
+ return s
+}
+
+// SetVolumeARN sets the VolumeARN field's value.
+func (s *DescribeSnapshotScheduleOutput) SetVolumeARN(v string) *DescribeSnapshotScheduleOutput {
+ s.VolumeARN = &v
+ return s
+}
+
+// A JSON object containing a list of DescribeStorediSCSIVolumesInput$VolumeARNs.
+type DescribeStorediSCSIVolumesInput struct {
+ _ struct{} `type:"structure"`
+
+ // An array of strings where each string represents the Amazon Resource Name
+ // (ARN) of a stored volume. All of the specified stored volumes must from the
// same gateway. Use ListVolumes to get volume ARNs for a gateway.
//
// VolumeARNs is a required field
@@ -6499,6 +7279,12 @@ func (s *DescribeStorediSCSIVolumesInput) Validate() error {
return nil
}
+// SetVolumeARNs sets the VolumeARNs field's value.
+func (s *DescribeStorediSCSIVolumesInput) SetVolumeARNs(v []*string) *DescribeStorediSCSIVolumesInput {
+ s.VolumeARNs = v
+ return s
+}
+
type DescribeStorediSCSIVolumesOutput struct {
_ struct{} `type:"structure"`
@@ -6515,6 +7301,12 @@ func (s DescribeStorediSCSIVolumesOutput) GoString() string {
return s.String()
}
+// SetStorediSCSIVolumes sets the StorediSCSIVolumes field's value.
+func (s *DescribeStorediSCSIVolumesOutput) SetStorediSCSIVolumes(v []*StorediSCSIVolume) *DescribeStorediSCSIVolumesOutput {
+ s.StorediSCSIVolumes = v
+ return s
+}
+
// DescribeTapeArchivesInput
type DescribeTapeArchivesInput struct {
_ struct{} `type:"structure"`
@@ -6558,6 +7350,24 @@ func (s *DescribeTapeArchivesInput) Validate() error {
return nil
}
+// SetLimit sets the Limit field's value.
+func (s *DescribeTapeArchivesInput) SetLimit(v int64) *DescribeTapeArchivesInput {
+ s.Limit = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeTapeArchivesInput) SetMarker(v string) *DescribeTapeArchivesInput {
+ s.Marker = &v
+ return s
+}
+
+// SetTapeARNs sets the TapeARNs field's value.
+func (s *DescribeTapeArchivesInput) SetTapeARNs(v []*string) *DescribeTapeArchivesInput {
+ s.TapeARNs = v
+ return s
+}
+
// DescribeTapeArchivesOutput
type DescribeTapeArchivesOutput struct {
_ struct{} `type:"structure"`
@@ -6586,6 +7396,18 @@ func (s DescribeTapeArchivesOutput) GoString() string {
return s.String()
}
+// SetMarker sets the Marker field's value.
+func (s *DescribeTapeArchivesOutput) SetMarker(v string) *DescribeTapeArchivesOutput {
+ s.Marker = &v
+ return s
+}
+
+// SetTapeArchives sets the TapeArchives field's value.
+func (s *DescribeTapeArchivesOutput) SetTapeArchives(v []*TapeArchive) *DescribeTapeArchivesOutput {
+ s.TapeArchives = v
+ return s
+}
+
// DescribeTapeRecoveryPointsInput
type DescribeTapeRecoveryPointsInput struct {
_ struct{} `type:"structure"`
@@ -6637,6 +7459,24 @@ func (s *DescribeTapeRecoveryPointsInput) Validate() error {
return nil
}
+// SetGatewayARN sets the GatewayARN field's value.
+func (s *DescribeTapeRecoveryPointsInput) SetGatewayARN(v string) *DescribeTapeRecoveryPointsInput {
+ s.GatewayARN = &v
+ return s
+}
+
+// SetLimit sets the Limit field's value.
+func (s *DescribeTapeRecoveryPointsInput) SetLimit(v int64) *DescribeTapeRecoveryPointsInput {
+ s.Limit = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeTapeRecoveryPointsInput) SetMarker(v string) *DescribeTapeRecoveryPointsInput {
+ s.Marker = &v
+ return s
+}
+
// DescribeTapeRecoveryPointsOutput
type DescribeTapeRecoveryPointsOutput struct {
_ struct{} `type:"structure"`
@@ -6667,6 +7507,24 @@ func (s DescribeTapeRecoveryPointsOutput) GoString() string {
return s.String()
}
+// SetGatewayARN sets the GatewayARN field's value.
+func (s *DescribeTapeRecoveryPointsOutput) SetGatewayARN(v string) *DescribeTapeRecoveryPointsOutput {
+ s.GatewayARN = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeTapeRecoveryPointsOutput) SetMarker(v string) *DescribeTapeRecoveryPointsOutput {
+ s.Marker = &v
+ return s
+}
+
+// SetTapeRecoveryPointInfos sets the TapeRecoveryPointInfos field's value.
+func (s *DescribeTapeRecoveryPointsOutput) SetTapeRecoveryPointInfos(v []*TapeRecoveryPointInfo) *DescribeTapeRecoveryPointsOutput {
+ s.TapeRecoveryPointInfos = v
+ return s
+}
+
// DescribeTapesInput
type DescribeTapesInput struct {
_ struct{} `type:"structure"`
@@ -6728,6 +7586,30 @@ func (s *DescribeTapesInput) Validate() error {
return nil
}
+// SetGatewayARN sets the GatewayARN field's value.
+func (s *DescribeTapesInput) SetGatewayARN(v string) *DescribeTapesInput {
+ s.GatewayARN = &v
+ return s
+}
+
+// SetLimit sets the Limit field's value.
+func (s *DescribeTapesInput) SetLimit(v int64) *DescribeTapesInput {
+ s.Limit = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeTapesInput) SetMarker(v string) *DescribeTapesInput {
+ s.Marker = &v
+ return s
+}
+
+// SetTapeARNs sets the TapeARNs field's value.
+func (s *DescribeTapesInput) SetTapeARNs(v []*string) *DescribeTapesInput {
+ s.TapeARNs = v
+ return s
+}
+
// DescribeTapesOutput
type DescribeTapesOutput struct {
_ struct{} `type:"structure"`
@@ -6753,6 +7635,18 @@ func (s DescribeTapesOutput) GoString() string {
return s.String()
}
+// SetMarker sets the Marker field's value.
+func (s *DescribeTapesOutput) SetMarker(v string) *DescribeTapesOutput {
+ s.Marker = &v
+ return s
+}
+
+// SetTapes sets the Tapes field's value.
+func (s *DescribeTapesOutput) SetTapes(v []*Tape) *DescribeTapesOutput {
+ s.Tapes = v
+ return s
+}
+
type DescribeUploadBufferInput struct {
_ struct{} `type:"structure"`
@@ -6789,6 +7683,12 @@ func (s *DescribeUploadBufferInput) Validate() error {
return nil
}
+// SetGatewayARN sets the GatewayARN field's value.
+func (s *DescribeUploadBufferInput) SetGatewayARN(v string) *DescribeUploadBufferInput {
+ s.GatewayARN = &v
+ return s
+}
+
type DescribeUploadBufferOutput struct {
_ struct{} `type:"structure"`
@@ -6813,6 +7713,30 @@ func (s DescribeUploadBufferOutput) GoString() string {
return s.String()
}
+// SetDiskIds sets the DiskIds field's value.
+func (s *DescribeUploadBufferOutput) SetDiskIds(v []*string) *DescribeUploadBufferOutput {
+ s.DiskIds = v
+ return s
+}
+
+// SetGatewayARN sets the GatewayARN field's value.
+func (s *DescribeUploadBufferOutput) SetGatewayARN(v string) *DescribeUploadBufferOutput {
+ s.GatewayARN = &v
+ return s
+}
+
+// SetUploadBufferAllocatedInBytes sets the UploadBufferAllocatedInBytes field's value.
+func (s *DescribeUploadBufferOutput) SetUploadBufferAllocatedInBytes(v int64) *DescribeUploadBufferOutput {
+ s.UploadBufferAllocatedInBytes = &v
+ return s
+}
+
+// SetUploadBufferUsedInBytes sets the UploadBufferUsedInBytes field's value.
+func (s *DescribeUploadBufferOutput) SetUploadBufferUsedInBytes(v int64) *DescribeUploadBufferOutput {
+ s.UploadBufferUsedInBytes = &v
+ return s
+}
+
// DescribeVTLDevicesInput
type DescribeVTLDevicesInput struct {
_ struct{} `type:"structure"`
@@ -6872,6 +7796,30 @@ func (s *DescribeVTLDevicesInput) Validate() error {
return nil
}
+// SetGatewayARN sets the GatewayARN field's value.
+func (s *DescribeVTLDevicesInput) SetGatewayARN(v string) *DescribeVTLDevicesInput {
+ s.GatewayARN = &v
+ return s
+}
+
+// SetLimit sets the Limit field's value.
+func (s *DescribeVTLDevicesInput) SetLimit(v int64) *DescribeVTLDevicesInput {
+ s.Limit = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeVTLDevicesInput) SetMarker(v string) *DescribeVTLDevicesInput {
+ s.Marker = &v
+ return s
+}
+
+// SetVTLDeviceARNs sets the VTLDeviceARNs field's value.
+func (s *DescribeVTLDevicesInput) SetVTLDeviceARNs(v []*string) *DescribeVTLDevicesInput {
+ s.VTLDeviceARNs = v
+ return s
+}
+
// DescribeVTLDevicesOutput
type DescribeVTLDevicesOutput struct {
_ struct{} `type:"structure"`
@@ -6901,6 +7849,24 @@ func (s DescribeVTLDevicesOutput) GoString() string {
return s.String()
}
+// SetGatewayARN sets the GatewayARN field's value.
+func (s *DescribeVTLDevicesOutput) SetGatewayARN(v string) *DescribeVTLDevicesOutput {
+ s.GatewayARN = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *DescribeVTLDevicesOutput) SetMarker(v string) *DescribeVTLDevicesOutput {
+ s.Marker = &v
+ return s
+}
+
+// SetVTLDevices sets the VTLDevices field's value.
+func (s *DescribeVTLDevicesOutput) SetVTLDevices(v []*VTLDevice) *DescribeVTLDevicesOutput {
+ s.VTLDevices = v
+ return s
+}
+
// A JSON object containing the of the gateway.
type DescribeWorkingStorageInput struct {
_ struct{} `type:"structure"`
@@ -6938,6 +7904,12 @@ func (s *DescribeWorkingStorageInput) Validate() error {
return nil
}
+// SetGatewayARN sets the GatewayARN field's value.
+func (s *DescribeWorkingStorageInput) SetGatewayARN(v string) *DescribeWorkingStorageInput {
+ s.GatewayARN = &v
+ return s
+}
+
// A JSON object containing the following fields:
type DescribeWorkingStorageOutput struct {
_ struct{} `type:"structure"`
@@ -6971,6 +7943,30 @@ func (s DescribeWorkingStorageOutput) GoString() string {
return s.String()
}
+// SetDiskIds sets the DiskIds field's value.
+func (s *DescribeWorkingStorageOutput) SetDiskIds(v []*string) *DescribeWorkingStorageOutput {
+ s.DiskIds = v
+ return s
+}
+
+// SetGatewayARN sets the GatewayARN field's value.
+func (s *DescribeWorkingStorageOutput) SetGatewayARN(v string) *DescribeWorkingStorageOutput {
+ s.GatewayARN = &v
+ return s
+}
+
+// SetWorkingStorageAllocatedInBytes sets the WorkingStorageAllocatedInBytes field's value.
+func (s *DescribeWorkingStorageOutput) SetWorkingStorageAllocatedInBytes(v int64) *DescribeWorkingStorageOutput {
+ s.WorkingStorageAllocatedInBytes = &v
+ return s
+}
+
+// SetWorkingStorageUsedInBytes sets the WorkingStorageUsedInBytes field's value.
+func (s *DescribeWorkingStorageOutput) SetWorkingStorageUsedInBytes(v int64) *DescribeWorkingStorageOutput {
+ s.WorkingStorageUsedInBytes = &v
+ return s
+}
+
// Lists iSCSI information about a VTL device.
type DeviceiSCSIAttributes struct {
_ struct{} `type:"structure"`
@@ -6999,6 +7995,30 @@ func (s DeviceiSCSIAttributes) GoString() string {
return s.String()
}
+// SetChapEnabled sets the ChapEnabled field's value.
+func (s *DeviceiSCSIAttributes) SetChapEnabled(v bool) *DeviceiSCSIAttributes {
+ s.ChapEnabled = &v
+ return s
+}
+
+// SetNetworkInterfaceId sets the NetworkInterfaceId field's value.
+func (s *DeviceiSCSIAttributes) SetNetworkInterfaceId(v string) *DeviceiSCSIAttributes {
+ s.NetworkInterfaceId = &v
+ return s
+}
+
+// SetNetworkInterfacePort sets the NetworkInterfacePort field's value.
+func (s *DeviceiSCSIAttributes) SetNetworkInterfacePort(v int64) *DeviceiSCSIAttributes {
+ s.NetworkInterfacePort = &v
+ return s
+}
+
+// SetTargetARN sets the TargetARN field's value.
+func (s *DeviceiSCSIAttributes) SetTargetARN(v string) *DeviceiSCSIAttributes {
+ s.TargetARN = &v
+ return s
+}
+
// DisableGatewayInput
type DisableGatewayInput struct {
_ struct{} `type:"structure"`
@@ -7036,6 +8056,12 @@ func (s *DisableGatewayInput) Validate() error {
return nil
}
+// SetGatewayARN sets the GatewayARN field's value.
+func (s *DisableGatewayInput) SetGatewayARN(v string) *DisableGatewayInput {
+ s.GatewayARN = &v
+ return s
+}
+
// DisableGatewayOutput
type DisableGatewayOutput struct {
_ struct{} `type:"structure"`
@@ -7054,6 +8080,12 @@ func (s DisableGatewayOutput) GoString() string {
return s.String()
}
+// SetGatewayARN sets the GatewayARN field's value.
+func (s *DisableGatewayOutput) SetGatewayARN(v string) *DisableGatewayOutput {
+ s.GatewayARN = &v
+ return s
+}
+
type Disk struct {
_ struct{} `type:"structure"`
@@ -7082,6 +8114,48 @@ func (s Disk) GoString() string {
return s.String()
}
+// SetDiskAllocationResource sets the DiskAllocationResource field's value.
+func (s *Disk) SetDiskAllocationResource(v string) *Disk {
+ s.DiskAllocationResource = &v
+ return s
+}
+
+// SetDiskAllocationType sets the DiskAllocationType field's value.
+func (s *Disk) SetDiskAllocationType(v string) *Disk {
+ s.DiskAllocationType = &v
+ return s
+}
+
+// SetDiskId sets the DiskId field's value.
+func (s *Disk) SetDiskId(v string) *Disk {
+ s.DiskId = &v
+ return s
+}
+
+// SetDiskNode sets the DiskNode field's value.
+func (s *Disk) SetDiskNode(v string) *Disk {
+ s.DiskNode = &v
+ return s
+}
+
+// SetDiskPath sets the DiskPath field's value.
+func (s *Disk) SetDiskPath(v string) *Disk {
+ s.DiskPath = &v
+ return s
+}
+
+// SetDiskSizeInBytes sets the DiskSizeInBytes field's value.
+func (s *Disk) SetDiskSizeInBytes(v int64) *Disk {
+ s.DiskSizeInBytes = &v
+ return s
+}
+
+// SetDiskStatus sets the DiskStatus field's value.
+func (s *Disk) SetDiskStatus(v string) *Disk {
+ s.DiskStatus = &v
+ return s
+}
+
// Provides additional information about an error that was returned by the service
// as an or. See the errorCode and errorDetails members for more information
// about the error.
@@ -7105,6 +8179,18 @@ func (s Error) GoString() string {
return s.String()
}
+// SetErrorCode sets the ErrorCode field's value.
+func (s *Error) SetErrorCode(v string) *Error {
+ s.ErrorCode = &v
+ return s
+}
+
+// SetErrorDetails sets the ErrorDetails field's value.
+func (s *Error) SetErrorDetails(v map[string]*string) *Error {
+ s.ErrorDetails = v
+ return s
+}
+
// Describes a gateway object.
type GatewayInfo struct {
_ struct{} `type:"structure"`
@@ -7140,6 +8226,36 @@ func (s GatewayInfo) GoString() string {
return s.String()
}
+// SetGatewayARN sets the GatewayARN field's value.
+func (s *GatewayInfo) SetGatewayARN(v string) *GatewayInfo {
+ s.GatewayARN = &v
+ return s
+}
+
+// SetGatewayId sets the GatewayId field's value.
+func (s *GatewayInfo) SetGatewayId(v string) *GatewayInfo {
+ s.GatewayId = &v
+ return s
+}
+
+// SetGatewayName sets the GatewayName field's value.
+func (s *GatewayInfo) SetGatewayName(v string) *GatewayInfo {
+ s.GatewayName = &v
+ return s
+}
+
+// SetGatewayOperationalState sets the GatewayOperationalState field's value.
+func (s *GatewayInfo) SetGatewayOperationalState(v string) *GatewayInfo {
+ s.GatewayOperationalState = &v
+ return s
+}
+
+// SetGatewayType sets the GatewayType field's value.
+func (s *GatewayInfo) SetGatewayType(v string) *GatewayInfo {
+ s.GatewayType = &v
+ return s
+}
+
// A JSON object containing zero or more of the following fields:
//
// * ListGatewaysInput$Limit
@@ -7183,6 +8299,18 @@ func (s *ListGatewaysInput) Validate() error {
return nil
}
+// SetLimit sets the Limit field's value.
+func (s *ListGatewaysInput) SetLimit(v int64) *ListGatewaysInput {
+ s.Limit = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *ListGatewaysInput) SetMarker(v string) *ListGatewaysInput {
+ s.Marker = &v
+ return s
+}
+
type ListGatewaysOutput struct {
_ struct{} `type:"structure"`
@@ -7201,6 +8329,18 @@ func (s ListGatewaysOutput) GoString() string {
return s.String()
}
+// SetGateways sets the Gateways field's value.
+func (s *ListGatewaysOutput) SetGateways(v []*GatewayInfo) *ListGatewaysOutput {
+ s.Gateways = v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *ListGatewaysOutput) SetMarker(v string) *ListGatewaysOutput {
+ s.Marker = &v
+ return s
+}
+
// A JSON object containing the of the gateway.
type ListLocalDisksInput struct {
_ struct{} `type:"structure"`
@@ -7238,6 +8378,12 @@ func (s *ListLocalDisksInput) Validate() error {
return nil
}
+// SetGatewayARN sets the GatewayARN field's value.
+func (s *ListLocalDisksInput) SetGatewayARN(v string) *ListLocalDisksInput {
+ s.GatewayARN = &v
+ return s
+}
+
type ListLocalDisksOutput struct {
_ struct{} `type:"structure"`
@@ -7258,6 +8404,18 @@ func (s ListLocalDisksOutput) GoString() string {
return s.String()
}
+// SetDisks sets the Disks field's value.
+func (s *ListLocalDisksOutput) SetDisks(v []*Disk) *ListLocalDisksOutput {
+ s.Disks = v
+ return s
+}
+
+// SetGatewayARN sets the GatewayARN field's value.
+func (s *ListLocalDisksOutput) SetGatewayARN(v string) *ListLocalDisksOutput {
+ s.GatewayARN = &v
+ return s
+}
+
// ListTagsForResourceInput
type ListTagsForResourceInput struct {
_ struct{} `type:"structure"`
@@ -7309,6 +8467,24 @@ func (s *ListTagsForResourceInput) Validate() error {
return nil
}
+// SetLimit sets the Limit field's value.
+func (s *ListTagsForResourceInput) SetLimit(v int64) *ListTagsForResourceInput {
+ s.Limit = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *ListTagsForResourceInput) SetMarker(v string) *ListTagsForResourceInput {
+ s.Marker = &v
+ return s
+}
+
+// SetResourceARN sets the ResourceARN field's value.
+func (s *ListTagsForResourceInput) SetResourceARN(v string) *ListTagsForResourceInput {
+ s.ResourceARN = &v
+ return s
+}
+
// ListTagsForResourceOutput
type ListTagsForResourceOutput struct {
_ struct{} `type:"structure"`
@@ -7335,6 +8511,24 @@ func (s ListTagsForResourceOutput) GoString() string {
return s.String()
}
+// SetMarker sets the Marker field's value.
+func (s *ListTagsForResourceOutput) SetMarker(v string) *ListTagsForResourceOutput {
+ s.Marker = &v
+ return s
+}
+
+// SetResourceARN sets the ResourceARN field's value.
+func (s *ListTagsForResourceOutput) SetResourceARN(v string) *ListTagsForResourceOutput {
+ s.ResourceARN = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *ListTagsForResourceOutput) SetTags(v []*Tag) *ListTagsForResourceOutput {
+ s.Tags = v
+ return s
+}
+
// A JSON object that contains one or more of the following fields:
//
// * ListTapesInput$Limit
@@ -7384,6 +8578,24 @@ func (s *ListTapesInput) Validate() error {
return nil
}
+// SetLimit sets the Limit field's value.
+func (s *ListTapesInput) SetLimit(v int64) *ListTapesInput {
+ s.Limit = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *ListTapesInput) SetMarker(v string) *ListTapesInput {
+ s.Marker = &v
+ return s
+}
+
+// SetTapeARNs sets the TapeARNs field's value.
+func (s *ListTapesInput) SetTapeARNs(v []*string) *ListTapesInput {
+ s.TapeARNs = v
+ return s
+}
+
// A JSON object containing the following fields:
//
// * ListTapesOutput$Marker
@@ -7414,6 +8626,18 @@ func (s ListTapesOutput) GoString() string {
return s.String()
}
+// SetMarker sets the Marker field's value.
+func (s *ListTapesOutput) SetMarker(v string) *ListTapesOutput {
+ s.Marker = &v
+ return s
+}
+
+// SetTapeInfos sets the TapeInfos field's value.
+func (s *ListTapesOutput) SetTapeInfos(v []*TapeInfo) *ListTapesOutput {
+ s.TapeInfos = v
+ return s
+}
+
// ListVolumeInitiatorsInput
type ListVolumeInitiatorsInput struct {
_ struct{} `type:"structure"`
@@ -7451,6 +8675,12 @@ func (s *ListVolumeInitiatorsInput) Validate() error {
return nil
}
+// SetVolumeARN sets the VolumeARN field's value.
+func (s *ListVolumeInitiatorsInput) SetVolumeARN(v string) *ListVolumeInitiatorsInput {
+ s.VolumeARN = &v
+ return s
+}
+
// ListVolumeInitiatorsOutput
type ListVolumeInitiatorsOutput struct {
_ struct{} `type:"structure"`
@@ -7470,6 +8700,12 @@ func (s ListVolumeInitiatorsOutput) GoString() string {
return s.String()
}
+// SetInitiators sets the Initiators field's value.
+func (s *ListVolumeInitiatorsOutput) SetInitiators(v []*string) *ListVolumeInitiatorsOutput {
+ s.Initiators = v
+ return s
+}
+
type ListVolumeRecoveryPointsInput struct {
_ struct{} `type:"structure"`
@@ -7506,6 +8742,12 @@ func (s *ListVolumeRecoveryPointsInput) Validate() error {
return nil
}
+// SetGatewayARN sets the GatewayARN field's value.
+func (s *ListVolumeRecoveryPointsInput) SetGatewayARN(v string) *ListVolumeRecoveryPointsInput {
+ s.GatewayARN = &v
+ return s
+}
+
type ListVolumeRecoveryPointsOutput struct {
_ struct{} `type:"structure"`
@@ -7526,6 +8768,18 @@ func (s ListVolumeRecoveryPointsOutput) GoString() string {
return s.String()
}
+// SetGatewayARN sets the GatewayARN field's value.
+func (s *ListVolumeRecoveryPointsOutput) SetGatewayARN(v string) *ListVolumeRecoveryPointsOutput {
+ s.GatewayARN = &v
+ return s
+}
+
+// SetVolumeRecoveryPointInfos sets the VolumeRecoveryPointInfos field's value.
+func (s *ListVolumeRecoveryPointsOutput) SetVolumeRecoveryPointInfos(v []*VolumeRecoveryPointInfo) *ListVolumeRecoveryPointsOutput {
+ s.VolumeRecoveryPointInfos = v
+ return s
+}
+
// A JSON object that contains one or more of the following fields:
//
// * ListVolumesInput$Limit
@@ -7577,6 +8831,24 @@ func (s *ListVolumesInput) Validate() error {
return nil
}
+// SetGatewayARN sets the GatewayARN field's value.
+func (s *ListVolumesInput) SetGatewayARN(v string) *ListVolumesInput {
+ s.GatewayARN = &v
+ return s
+}
+
+// SetLimit sets the Limit field's value.
+func (s *ListVolumesInput) SetLimit(v int64) *ListVolumesInput {
+ s.Limit = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *ListVolumesInput) SetMarker(v string) *ListVolumesInput {
+ s.Marker = &v
+ return s
+}
+
type ListVolumesOutput struct {
_ struct{} `type:"structure"`
@@ -7599,6 +8871,24 @@ func (s ListVolumesOutput) GoString() string {
return s.String()
}
+// SetGatewayARN sets the GatewayARN field's value.
+func (s *ListVolumesOutput) SetGatewayARN(v string) *ListVolumesOutput {
+ s.GatewayARN = &v
+ return s
+}
+
+// SetMarker sets the Marker field's value.
+func (s *ListVolumesOutput) SetMarker(v string) *ListVolumesOutput {
+ s.Marker = &v
+ return s
+}
+
+// SetVolumeInfos sets the VolumeInfos field's value.
+func (s *ListVolumesOutput) SetVolumeInfos(v []*VolumeInfo) *ListVolumesOutput {
+ s.VolumeInfos = v
+ return s
+}
+
// Describes a gateway's network interface.
type NetworkInterface struct {
_ struct{} `type:"structure"`
@@ -7626,6 +8916,24 @@ func (s NetworkInterface) GoString() string {
return s.String()
}
+// SetIpv4Address sets the Ipv4Address field's value.
+func (s *NetworkInterface) SetIpv4Address(v string) *NetworkInterface {
+ s.Ipv4Address = &v
+ return s
+}
+
+// SetIpv6Address sets the Ipv6Address field's value.
+func (s *NetworkInterface) SetIpv6Address(v string) *NetworkInterface {
+ s.Ipv6Address = &v
+ return s
+}
+
+// SetMacAddress sets the MacAddress field's value.
+func (s *NetworkInterface) SetMacAddress(v string) *NetworkInterface {
+ s.MacAddress = &v
+ return s
+}
+
// RemoveTagsFromResourceInput
type RemoveTagsFromResourceInput struct {
_ struct{} `type:"structure"`
@@ -7672,6 +8980,18 @@ func (s *RemoveTagsFromResourceInput) Validate() error {
return nil
}
+// SetResourceARN sets the ResourceARN field's value.
+func (s *RemoveTagsFromResourceInput) SetResourceARN(v string) *RemoveTagsFromResourceInput {
+ s.ResourceARN = &v
+ return s
+}
+
+// SetTagKeys sets the TagKeys field's value.
+func (s *RemoveTagsFromResourceInput) SetTagKeys(v []*string) *RemoveTagsFromResourceInput {
+ s.TagKeys = v
+ return s
+}
+
// RemoveTagsFromResourceOutput
type RemoveTagsFromResourceOutput struct {
_ struct{} `type:"structure"`
@@ -7691,6 +9011,12 @@ func (s RemoveTagsFromResourceOutput) GoString() string {
return s.String()
}
+// SetResourceARN sets the ResourceARN field's value.
+func (s *RemoveTagsFromResourceOutput) SetResourceARN(v string) *RemoveTagsFromResourceOutput {
+ s.ResourceARN = &v
+ return s
+}
+
type ResetCacheInput struct {
_ struct{} `type:"structure"`
@@ -7727,6 +9053,12 @@ func (s *ResetCacheInput) Validate() error {
return nil
}
+// SetGatewayARN sets the GatewayARN field's value.
+func (s *ResetCacheInput) SetGatewayARN(v string) *ResetCacheInput {
+ s.GatewayARN = &v
+ return s
+}
+
type ResetCacheOutput struct {
_ struct{} `type:"structure"`
@@ -7745,6 +9077,12 @@ func (s ResetCacheOutput) GoString() string {
return s.String()
}
+// SetGatewayARN sets the GatewayARN field's value.
+func (s *ResetCacheOutput) SetGatewayARN(v string) *ResetCacheOutput {
+ s.GatewayARN = &v
+ return s
+}
+
// RetrieveTapeArchiveInput
type RetrieveTapeArchiveInput struct {
_ struct{} `type:"structure"`
@@ -7798,6 +9136,18 @@ func (s *RetrieveTapeArchiveInput) Validate() error {
return nil
}
+// SetGatewayARN sets the GatewayARN field's value.
+func (s *RetrieveTapeArchiveInput) SetGatewayARN(v string) *RetrieveTapeArchiveInput {
+ s.GatewayARN = &v
+ return s
+}
+
+// SetTapeARN sets the TapeARN field's value.
+func (s *RetrieveTapeArchiveInput) SetTapeARN(v string) *RetrieveTapeArchiveInput {
+ s.TapeARN = &v
+ return s
+}
+
// RetrieveTapeArchiveOutput
type RetrieveTapeArchiveOutput struct {
_ struct{} `type:"structure"`
@@ -7816,6 +9166,12 @@ func (s RetrieveTapeArchiveOutput) GoString() string {
return s.String()
}
+// SetTapeARN sets the TapeARN field's value.
+func (s *RetrieveTapeArchiveOutput) SetTapeARN(v string) *RetrieveTapeArchiveOutput {
+ s.TapeARN = &v
+ return s
+}
+
// RetrieveTapeRecoveryPointInput
type RetrieveTapeRecoveryPointInput struct {
_ struct{} `type:"structure"`
@@ -7865,6 +9221,18 @@ func (s *RetrieveTapeRecoveryPointInput) Validate() error {
return nil
}
+// SetGatewayARN sets the GatewayARN field's value.
+func (s *RetrieveTapeRecoveryPointInput) SetGatewayARN(v string) *RetrieveTapeRecoveryPointInput {
+ s.GatewayARN = &v
+ return s
+}
+
+// SetTapeARN sets the TapeARN field's value.
+func (s *RetrieveTapeRecoveryPointInput) SetTapeARN(v string) *RetrieveTapeRecoveryPointInput {
+ s.TapeARN = &v
+ return s
+}
+
// RetrieveTapeRecoveryPointOutput
type RetrieveTapeRecoveryPointOutput struct {
_ struct{} `type:"structure"`
@@ -7884,6 +9252,12 @@ func (s RetrieveTapeRecoveryPointOutput) GoString() string {
return s.String()
}
+// SetTapeARN sets the TapeARN field's value.
+func (s *RetrieveTapeRecoveryPointOutput) SetTapeARN(v string) *RetrieveTapeRecoveryPointOutput {
+ s.TapeARN = &v
+ return s
+}
+
// SetLocalConsolePasswordInput
type SetLocalConsolePasswordInput struct {
_ struct{} `type:"structure"`
@@ -7932,6 +9306,18 @@ func (s *SetLocalConsolePasswordInput) Validate() error {
return nil
}
+// SetGatewayARN sets the GatewayARN field's value.
+func (s *SetLocalConsolePasswordInput) SetGatewayARN(v string) *SetLocalConsolePasswordInput {
+ s.GatewayARN = &v
+ return s
+}
+
+// SetLocalConsolePassword sets the LocalConsolePassword field's value.
+func (s *SetLocalConsolePasswordInput) SetLocalConsolePassword(v string) *SetLocalConsolePasswordInput {
+ s.LocalConsolePassword = &v
+ return s
+}
+
type SetLocalConsolePasswordOutput struct {
_ struct{} `type:"structure"`
@@ -7950,6 +9336,12 @@ func (s SetLocalConsolePasswordOutput) GoString() string {
return s.String()
}
+// SetGatewayARN sets the GatewayARN field's value.
+func (s *SetLocalConsolePasswordOutput) SetGatewayARN(v string) *SetLocalConsolePasswordOutput {
+ s.GatewayARN = &v
+ return s
+}
+
// A JSON object containing the of the gateway to shut down.
type ShutdownGatewayInput struct {
_ struct{} `type:"structure"`
@@ -7987,6 +9379,12 @@ func (s *ShutdownGatewayInput) Validate() error {
return nil
}
+// SetGatewayARN sets the GatewayARN field's value.
+func (s *ShutdownGatewayInput) SetGatewayARN(v string) *ShutdownGatewayInput {
+ s.GatewayARN = &v
+ return s
+}
+
// A JSON object containing the of the gateway that was shut down.
type ShutdownGatewayOutput struct {
_ struct{} `type:"structure"`
@@ -8006,6 +9404,12 @@ func (s ShutdownGatewayOutput) GoString() string {
return s.String()
}
+// SetGatewayARN sets the GatewayARN field's value.
+func (s *ShutdownGatewayOutput) SetGatewayARN(v string) *ShutdownGatewayOutput {
+ s.GatewayARN = &v
+ return s
+}
+
// A JSON object containing the of the gateway to start.
type StartGatewayInput struct {
_ struct{} `type:"structure"`
@@ -8043,6 +9447,12 @@ func (s *StartGatewayInput) Validate() error {
return nil
}
+// SetGatewayARN sets the GatewayARN field's value.
+func (s *StartGatewayInput) SetGatewayARN(v string) *StartGatewayInput {
+ s.GatewayARN = &v
+ return s
+}
+
// A JSON object containing the of the gateway that was restarted.
type StartGatewayOutput struct {
_ struct{} `type:"structure"`
@@ -8062,6 +9472,12 @@ func (s StartGatewayOutput) GoString() string {
return s.String()
}
+// SetGatewayARN sets the GatewayARN field's value.
+func (s *StartGatewayOutput) SetGatewayARN(v string) *StartGatewayOutput {
+ s.GatewayARN = &v
+ return s
+}
+
type StorediSCSIVolume struct {
_ struct{} `type:"structure"`
@@ -8097,6 +9513,66 @@ func (s StorediSCSIVolume) GoString() string {
return s.String()
}
+// SetPreservedExistingData sets the PreservedExistingData field's value.
+func (s *StorediSCSIVolume) SetPreservedExistingData(v bool) *StorediSCSIVolume {
+ s.PreservedExistingData = &v
+ return s
+}
+
+// SetSourceSnapshotId sets the SourceSnapshotId field's value.
+func (s *StorediSCSIVolume) SetSourceSnapshotId(v string) *StorediSCSIVolume {
+ s.SourceSnapshotId = &v
+ return s
+}
+
+// SetVolumeARN sets the VolumeARN field's value.
+func (s *StorediSCSIVolume) SetVolumeARN(v string) *StorediSCSIVolume {
+ s.VolumeARN = &v
+ return s
+}
+
+// SetVolumeDiskId sets the VolumeDiskId field's value.
+func (s *StorediSCSIVolume) SetVolumeDiskId(v string) *StorediSCSIVolume {
+ s.VolumeDiskId = &v
+ return s
+}
+
+// SetVolumeId sets the VolumeId field's value.
+func (s *StorediSCSIVolume) SetVolumeId(v string) *StorediSCSIVolume {
+ s.VolumeId = &v
+ return s
+}
+
+// SetVolumeProgress sets the VolumeProgress field's value.
+func (s *StorediSCSIVolume) SetVolumeProgress(v float64) *StorediSCSIVolume {
+ s.VolumeProgress = &v
+ return s
+}
+
+// SetVolumeSizeInBytes sets the VolumeSizeInBytes field's value.
+func (s *StorediSCSIVolume) SetVolumeSizeInBytes(v int64) *StorediSCSIVolume {
+ s.VolumeSizeInBytes = &v
+ return s
+}
+
+// SetVolumeStatus sets the VolumeStatus field's value.
+func (s *StorediSCSIVolume) SetVolumeStatus(v string) *StorediSCSIVolume {
+ s.VolumeStatus = &v
+ return s
+}
+
+// SetVolumeType sets the VolumeType field's value.
+func (s *StorediSCSIVolume) SetVolumeType(v string) *StorediSCSIVolume {
+ s.VolumeType = &v
+ return s
+}
+
+// SetVolumeiSCSIAttributes sets the VolumeiSCSIAttributes field's value.
+func (s *StorediSCSIVolume) SetVolumeiSCSIAttributes(v *VolumeiSCSIAttributes) *StorediSCSIVolume {
+ s.VolumeiSCSIAttributes = v
+ return s
+}
+
type Tag struct {
_ struct{} `type:"structure"`
@@ -8136,6 +9612,18 @@ func (s *Tag) Validate() error {
return nil
}
+// 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
+}
+
// Describes a virtual tape object.
type Tape struct {
_ struct{} `type:"structure"`
@@ -8173,6 +9661,42 @@ func (s Tape) GoString() string {
return s.String()
}
+// SetProgress sets the Progress field's value.
+func (s *Tape) SetProgress(v float64) *Tape {
+ s.Progress = &v
+ return s
+}
+
+// SetTapeARN sets the TapeARN field's value.
+func (s *Tape) SetTapeARN(v string) *Tape {
+ s.TapeARN = &v
+ return s
+}
+
+// SetTapeBarcode sets the TapeBarcode field's value.
+func (s *Tape) SetTapeBarcode(v string) *Tape {
+ s.TapeBarcode = &v
+ return s
+}
+
+// SetTapeSizeInBytes sets the TapeSizeInBytes field's value.
+func (s *Tape) SetTapeSizeInBytes(v int64) *Tape {
+ s.TapeSizeInBytes = &v
+ return s
+}
+
+// SetTapeStatus sets the TapeStatus field's value.
+func (s *Tape) SetTapeStatus(v string) *Tape {
+ s.TapeStatus = &v
+ return s
+}
+
+// SetVTLDevice sets the VTLDevice field's value.
+func (s *Tape) SetVTLDevice(v string) *Tape {
+ s.VTLDevice = &v
+ return s
+}
+
// Represents a virtual tape that is archived in the virtual tape shelf (VTS).
type TapeArchive struct {
_ struct{} `type:"structure"`
@@ -8212,6 +9736,42 @@ func (s TapeArchive) GoString() string {
return s.String()
}
+// SetCompletionTime sets the CompletionTime field's value.
+func (s *TapeArchive) SetCompletionTime(v time.Time) *TapeArchive {
+ s.CompletionTime = &v
+ return s
+}
+
+// SetRetrievedTo sets the RetrievedTo field's value.
+func (s *TapeArchive) SetRetrievedTo(v string) *TapeArchive {
+ s.RetrievedTo = &v
+ return s
+}
+
+// SetTapeARN sets the TapeARN field's value.
+func (s *TapeArchive) SetTapeARN(v string) *TapeArchive {
+ s.TapeARN = &v
+ return s
+}
+
+// SetTapeBarcode sets the TapeBarcode field's value.
+func (s *TapeArchive) SetTapeBarcode(v string) *TapeArchive {
+ s.TapeBarcode = &v
+ return s
+}
+
+// SetTapeSizeInBytes sets the TapeSizeInBytes field's value.
+func (s *TapeArchive) SetTapeSizeInBytes(v int64) *TapeArchive {
+ s.TapeSizeInBytes = &v
+ return s
+}
+
+// SetTapeStatus sets the TapeStatus field's value.
+func (s *TapeArchive) SetTapeStatus(v string) *TapeArchive {
+ s.TapeStatus = &v
+ return s
+}
+
// Describes a virtual tape.
type TapeInfo struct {
_ struct{} `type:"structure"`
@@ -8243,6 +9803,36 @@ func (s TapeInfo) GoString() string {
return s.String()
}
+// SetGatewayARN sets the GatewayARN field's value.
+func (s *TapeInfo) SetGatewayARN(v string) *TapeInfo {
+ s.GatewayARN = &v
+ return s
+}
+
+// SetTapeARN sets the TapeARN field's value.
+func (s *TapeInfo) SetTapeARN(v string) *TapeInfo {
+ s.TapeARN = &v
+ return s
+}
+
+// SetTapeBarcode sets the TapeBarcode field's value.
+func (s *TapeInfo) SetTapeBarcode(v string) *TapeInfo {
+ s.TapeBarcode = &v
+ return s
+}
+
+// SetTapeSizeInBytes sets the TapeSizeInBytes field's value.
+func (s *TapeInfo) SetTapeSizeInBytes(v int64) *TapeInfo {
+ s.TapeSizeInBytes = &v
+ return s
+}
+
+// SetTapeStatus sets the TapeStatus field's value.
+func (s *TapeInfo) SetTapeStatus(v string) *TapeInfo {
+ s.TapeStatus = &v
+ return s
+}
+
// Describes a recovery point.
type TapeRecoveryPointInfo struct {
_ struct{} `type:"structure"`
@@ -8273,6 +9863,30 @@ func (s TapeRecoveryPointInfo) GoString() string {
return s.String()
}
+// SetTapeARN sets the TapeARN field's value.
+func (s *TapeRecoveryPointInfo) SetTapeARN(v string) *TapeRecoveryPointInfo {
+ s.TapeARN = &v
+ return s
+}
+
+// SetTapeRecoveryPointTime sets the TapeRecoveryPointTime field's value.
+func (s *TapeRecoveryPointInfo) SetTapeRecoveryPointTime(v time.Time) *TapeRecoveryPointInfo {
+ s.TapeRecoveryPointTime = &v
+ return s
+}
+
+// SetTapeSizeInBytes sets the TapeSizeInBytes field's value.
+func (s *TapeRecoveryPointInfo) SetTapeSizeInBytes(v int64) *TapeRecoveryPointInfo {
+ s.TapeSizeInBytes = &v
+ return s
+}
+
+// SetTapeStatus sets the TapeStatus field's value.
+func (s *TapeRecoveryPointInfo) SetTapeStatus(v string) *TapeRecoveryPointInfo {
+ s.TapeStatus = &v
+ return s
+}
+
// A JSON object containing one or more of the following fields:
//
// * UpdateBandwidthRateLimitInput$AverageDownloadRateLimitInBitsPerSec
@@ -8326,6 +9940,24 @@ func (s *UpdateBandwidthRateLimitInput) Validate() error {
return nil
}
+// SetAverageDownloadRateLimitInBitsPerSec sets the AverageDownloadRateLimitInBitsPerSec field's value.
+func (s *UpdateBandwidthRateLimitInput) SetAverageDownloadRateLimitInBitsPerSec(v int64) *UpdateBandwidthRateLimitInput {
+ s.AverageDownloadRateLimitInBitsPerSec = &v
+ return s
+}
+
+// SetAverageUploadRateLimitInBitsPerSec sets the AverageUploadRateLimitInBitsPerSec field's value.
+func (s *UpdateBandwidthRateLimitInput) SetAverageUploadRateLimitInBitsPerSec(v int64) *UpdateBandwidthRateLimitInput {
+ s.AverageUploadRateLimitInBitsPerSec = &v
+ return s
+}
+
+// SetGatewayARN sets the GatewayARN field's value.
+func (s *UpdateBandwidthRateLimitInput) SetGatewayARN(v string) *UpdateBandwidthRateLimitInput {
+ s.GatewayARN = &v
+ return s
+}
+
// A JSON object containing the of the gateway whose throttle information was
// updated.
type UpdateBandwidthRateLimitOutput struct {
@@ -8346,6 +9978,12 @@ func (s UpdateBandwidthRateLimitOutput) GoString() string {
return s.String()
}
+// SetGatewayARN sets the GatewayARN field's value.
+func (s *UpdateBandwidthRateLimitOutput) SetGatewayARN(v string) *UpdateBandwidthRateLimitOutput {
+ s.GatewayARN = &v
+ return s
+}
+
// A JSON object containing one or more of the following fields:
//
// * UpdateChapCredentialsInput$InitiatorName
@@ -8427,6 +10065,30 @@ func (s *UpdateChapCredentialsInput) Validate() error {
return nil
}
+// SetInitiatorName sets the InitiatorName field's value.
+func (s *UpdateChapCredentialsInput) SetInitiatorName(v string) *UpdateChapCredentialsInput {
+ s.InitiatorName = &v
+ return s
+}
+
+// SetSecretToAuthenticateInitiator sets the SecretToAuthenticateInitiator field's value.
+func (s *UpdateChapCredentialsInput) SetSecretToAuthenticateInitiator(v string) *UpdateChapCredentialsInput {
+ s.SecretToAuthenticateInitiator = &v
+ return s
+}
+
+// SetSecretToAuthenticateTarget sets the SecretToAuthenticateTarget field's value.
+func (s *UpdateChapCredentialsInput) SetSecretToAuthenticateTarget(v string) *UpdateChapCredentialsInput {
+ s.SecretToAuthenticateTarget = &v
+ return s
+}
+
+// SetTargetARN sets the TargetARN field's value.
+func (s *UpdateChapCredentialsInput) SetTargetARN(v string) *UpdateChapCredentialsInput {
+ s.TargetARN = &v
+ return s
+}
+
// A JSON object containing the following fields:
type UpdateChapCredentialsOutput struct {
_ struct{} `type:"structure"`
@@ -8450,6 +10112,18 @@ func (s UpdateChapCredentialsOutput) GoString() string {
return s.String()
}
+// SetInitiatorName sets the InitiatorName field's value.
+func (s *UpdateChapCredentialsOutput) SetInitiatorName(v string) *UpdateChapCredentialsOutput {
+ s.InitiatorName = &v
+ return s
+}
+
+// SetTargetARN sets the TargetARN field's value.
+func (s *UpdateChapCredentialsOutput) SetTargetARN(v string) *UpdateChapCredentialsOutput {
+ s.TargetARN = &v
+ return s
+}
+
type UpdateGatewayInformationInput struct {
_ struct{} `type:"structure"`
@@ -8497,6 +10171,24 @@ func (s *UpdateGatewayInformationInput) Validate() error {
return nil
}
+// SetGatewayARN sets the GatewayARN field's value.
+func (s *UpdateGatewayInformationInput) SetGatewayARN(v string) *UpdateGatewayInformationInput {
+ s.GatewayARN = &v
+ return s
+}
+
+// SetGatewayName sets the GatewayName field's value.
+func (s *UpdateGatewayInformationInput) SetGatewayName(v string) *UpdateGatewayInformationInput {
+ s.GatewayName = &v
+ return s
+}
+
+// SetGatewayTimezone sets the GatewayTimezone field's value.
+func (s *UpdateGatewayInformationInput) SetGatewayTimezone(v string) *UpdateGatewayInformationInput {
+ s.GatewayTimezone = &v
+ return s
+}
+
// A JSON object containing the ARN of the gateway that was updated.
type UpdateGatewayInformationOutput struct {
_ struct{} `type:"structure"`
@@ -8518,6 +10210,18 @@ func (s UpdateGatewayInformationOutput) GoString() string {
return s.String()
}
+// SetGatewayARN sets the GatewayARN field's value.
+func (s *UpdateGatewayInformationOutput) SetGatewayARN(v string) *UpdateGatewayInformationOutput {
+ s.GatewayARN = &v
+ return s
+}
+
+// SetGatewayName sets the GatewayName field's value.
+func (s *UpdateGatewayInformationOutput) SetGatewayName(v string) *UpdateGatewayInformationOutput {
+ s.GatewayName = &v
+ return s
+}
+
// A JSON object containing the of the gateway to update.
type UpdateGatewaySoftwareNowInput struct {
_ struct{} `type:"structure"`
@@ -8555,6 +10259,12 @@ func (s *UpdateGatewaySoftwareNowInput) Validate() error {
return nil
}
+// SetGatewayARN sets the GatewayARN field's value.
+func (s *UpdateGatewaySoftwareNowInput) SetGatewayARN(v string) *UpdateGatewaySoftwareNowInput {
+ s.GatewayARN = &v
+ return s
+}
+
// A JSON object containing the of the gateway that was updated.
type UpdateGatewaySoftwareNowOutput struct {
_ struct{} `type:"structure"`
@@ -8574,6 +10284,12 @@ func (s UpdateGatewaySoftwareNowOutput) GoString() string {
return s.String()
}
+// SetGatewayARN sets the GatewayARN field's value.
+func (s *UpdateGatewaySoftwareNowOutput) SetGatewayARN(v string) *UpdateGatewaySoftwareNowOutput {
+ s.GatewayARN = &v
+ return s
+}
+
// A JSON object containing the following fields:
//
// * UpdateMaintenanceStartTimeInput$DayOfWeek
@@ -8645,6 +10361,30 @@ func (s *UpdateMaintenanceStartTimeInput) Validate() error {
return nil
}
+// SetDayOfWeek sets the DayOfWeek field's value.
+func (s *UpdateMaintenanceStartTimeInput) SetDayOfWeek(v int64) *UpdateMaintenanceStartTimeInput {
+ s.DayOfWeek = &v
+ return s
+}
+
+// SetGatewayARN sets the GatewayARN field's value.
+func (s *UpdateMaintenanceStartTimeInput) SetGatewayARN(v string) *UpdateMaintenanceStartTimeInput {
+ s.GatewayARN = &v
+ return s
+}
+
+// SetHourOfDay sets the HourOfDay field's value.
+func (s *UpdateMaintenanceStartTimeInput) SetHourOfDay(v int64) *UpdateMaintenanceStartTimeInput {
+ s.HourOfDay = &v
+ return s
+}
+
+// SetMinuteOfHour sets the MinuteOfHour field's value.
+func (s *UpdateMaintenanceStartTimeInput) SetMinuteOfHour(v int64) *UpdateMaintenanceStartTimeInput {
+ s.MinuteOfHour = &v
+ return s
+}
+
// A JSON object containing the of the gateway whose maintenance start time
// is updated.
type UpdateMaintenanceStartTimeOutput struct {
@@ -8665,6 +10405,12 @@ func (s UpdateMaintenanceStartTimeOutput) GoString() string {
return s.String()
}
+// SetGatewayARN sets the GatewayARN field's value.
+func (s *UpdateMaintenanceStartTimeOutput) SetGatewayARN(v string) *UpdateMaintenanceStartTimeOutput {
+ s.GatewayARN = &v
+ return s
+}
+
// A JSON object containing one or more of the following fields:
//
// * UpdateSnapshotScheduleInput$Description
@@ -8737,6 +10483,30 @@ func (s *UpdateSnapshotScheduleInput) Validate() error {
return nil
}
+// SetDescription sets the Description field's value.
+func (s *UpdateSnapshotScheduleInput) SetDescription(v string) *UpdateSnapshotScheduleInput {
+ s.Description = &v
+ return s
+}
+
+// SetRecurrenceInHours sets the RecurrenceInHours field's value.
+func (s *UpdateSnapshotScheduleInput) SetRecurrenceInHours(v int64) *UpdateSnapshotScheduleInput {
+ s.RecurrenceInHours = &v
+ return s
+}
+
+// SetStartAt sets the StartAt field's value.
+func (s *UpdateSnapshotScheduleInput) SetStartAt(v int64) *UpdateSnapshotScheduleInput {
+ s.StartAt = &v
+ return s
+}
+
+// SetVolumeARN sets the VolumeARN field's value.
+func (s *UpdateSnapshotScheduleInput) SetVolumeARN(v string) *UpdateSnapshotScheduleInput {
+ s.VolumeARN = &v
+ return s
+}
+
// A JSON object containing the of the updated storage volume.
type UpdateSnapshotScheduleOutput struct {
_ struct{} `type:"structure"`
@@ -8754,6 +10524,12 @@ func (s UpdateSnapshotScheduleOutput) GoString() string {
return s.String()
}
+// SetVolumeARN sets the VolumeARN field's value.
+func (s *UpdateSnapshotScheduleOutput) SetVolumeARN(v string) *UpdateSnapshotScheduleOutput {
+ s.VolumeARN = &v
+ return s
+}
+
type UpdateVTLDeviceTypeInput struct {
_ struct{} `type:"structure"`
@@ -8802,6 +10578,18 @@ func (s *UpdateVTLDeviceTypeInput) Validate() error {
return nil
}
+// SetDeviceType sets the DeviceType field's value.
+func (s *UpdateVTLDeviceTypeInput) SetDeviceType(v string) *UpdateVTLDeviceTypeInput {
+ s.DeviceType = &v
+ return s
+}
+
+// SetVTLDeviceARN sets the VTLDeviceARN field's value.
+func (s *UpdateVTLDeviceTypeInput) SetVTLDeviceARN(v string) *UpdateVTLDeviceTypeInput {
+ s.VTLDeviceARN = &v
+ return s
+}
+
// UpdateVTLDeviceTypeOutput
type UpdateVTLDeviceTypeOutput struct {
_ struct{} `type:"structure"`
@@ -8820,6 +10608,12 @@ func (s UpdateVTLDeviceTypeOutput) GoString() string {
return s.String()
}
+// SetVTLDeviceARN sets the VTLDeviceARN field's value.
+func (s *UpdateVTLDeviceTypeOutput) SetVTLDeviceARN(v string) *UpdateVTLDeviceTypeOutput {
+ s.VTLDeviceARN = &v
+ return s
+}
+
// Represents a device object associated with a gateway-VTL.
type VTLDevice struct {
_ struct{} `type:"structure"`
@@ -8848,6 +10642,36 @@ func (s VTLDevice) GoString() string {
return s.String()
}
+// SetDeviceiSCSIAttributes sets the DeviceiSCSIAttributes field's value.
+func (s *VTLDevice) SetDeviceiSCSIAttributes(v *DeviceiSCSIAttributes) *VTLDevice {
+ s.DeviceiSCSIAttributes = v
+ return s
+}
+
+// SetVTLDeviceARN sets the VTLDeviceARN field's value.
+func (s *VTLDevice) SetVTLDeviceARN(v string) *VTLDevice {
+ s.VTLDeviceARN = &v
+ return s
+}
+
+// SetVTLDeviceProductIdentifier sets the VTLDeviceProductIdentifier field's value.
+func (s *VTLDevice) SetVTLDeviceProductIdentifier(v string) *VTLDevice {
+ s.VTLDeviceProductIdentifier = &v
+ return s
+}
+
+// SetVTLDeviceType sets the VTLDeviceType field's value.
+func (s *VTLDevice) SetVTLDeviceType(v string) *VTLDevice {
+ s.VTLDeviceType = &v
+ return s
+}
+
+// SetVTLDeviceVendor sets the VTLDeviceVendor field's value.
+func (s *VTLDevice) SetVTLDeviceVendor(v string) *VTLDevice {
+ s.VTLDeviceVendor = &v
+ return s
+}
+
// Describes a storage volume object.
type VolumeInfo struct {
_ struct{} `type:"structure"`
@@ -8899,6 +10723,42 @@ func (s VolumeInfo) GoString() string {
return s.String()
}
+// SetGatewayARN sets the GatewayARN field's value.
+func (s *VolumeInfo) SetGatewayARN(v string) *VolumeInfo {
+ s.GatewayARN = &v
+ return s
+}
+
+// SetGatewayId sets the GatewayId field's value.
+func (s *VolumeInfo) SetGatewayId(v string) *VolumeInfo {
+ s.GatewayId = &v
+ return s
+}
+
+// SetVolumeARN sets the VolumeARN field's value.
+func (s *VolumeInfo) SetVolumeARN(v string) *VolumeInfo {
+ s.VolumeARN = &v
+ return s
+}
+
+// SetVolumeId sets the VolumeId field's value.
+func (s *VolumeInfo) SetVolumeId(v string) *VolumeInfo {
+ s.VolumeId = &v
+ return s
+}
+
+// SetVolumeSizeInBytes sets the VolumeSizeInBytes field's value.
+func (s *VolumeInfo) SetVolumeSizeInBytes(v int64) *VolumeInfo {
+ s.VolumeSizeInBytes = &v
+ return s
+}
+
+// SetVolumeType sets the VolumeType field's value.
+func (s *VolumeInfo) SetVolumeType(v string) *VolumeInfo {
+ s.VolumeType = &v
+ return s
+}
+
type VolumeRecoveryPointInfo struct {
_ struct{} `type:"structure"`
@@ -8921,6 +10781,30 @@ func (s VolumeRecoveryPointInfo) GoString() string {
return s.String()
}
+// SetVolumeARN sets the VolumeARN field's value.
+func (s *VolumeRecoveryPointInfo) SetVolumeARN(v string) *VolumeRecoveryPointInfo {
+ s.VolumeARN = &v
+ return s
+}
+
+// SetVolumeRecoveryPointTime sets the VolumeRecoveryPointTime field's value.
+func (s *VolumeRecoveryPointInfo) SetVolumeRecoveryPointTime(v string) *VolumeRecoveryPointInfo {
+ s.VolumeRecoveryPointTime = &v
+ return s
+}
+
+// SetVolumeSizeInBytes sets the VolumeSizeInBytes field's value.
+func (s *VolumeRecoveryPointInfo) SetVolumeSizeInBytes(v int64) *VolumeRecoveryPointInfo {
+ s.VolumeSizeInBytes = &v
+ return s
+}
+
+// SetVolumeUsageInBytes sets the VolumeUsageInBytes field's value.
+func (s *VolumeRecoveryPointInfo) SetVolumeUsageInBytes(v int64) *VolumeRecoveryPointInfo {
+ s.VolumeUsageInBytes = &v
+ return s
+}
+
// Lists iSCSI information about a volume.
type VolumeiSCSIAttributes struct {
_ struct{} `type:"structure"`
@@ -8951,6 +10835,36 @@ func (s VolumeiSCSIAttributes) GoString() string {
return s.String()
}
+// SetChapEnabled sets the ChapEnabled field's value.
+func (s *VolumeiSCSIAttributes) SetChapEnabled(v bool) *VolumeiSCSIAttributes {
+ s.ChapEnabled = &v
+ return s
+}
+
+// SetLunNumber sets the LunNumber field's value.
+func (s *VolumeiSCSIAttributes) SetLunNumber(v int64) *VolumeiSCSIAttributes {
+ s.LunNumber = &v
+ return s
+}
+
+// SetNetworkInterfaceId sets the NetworkInterfaceId field's value.
+func (s *VolumeiSCSIAttributes) SetNetworkInterfaceId(v string) *VolumeiSCSIAttributes {
+ s.NetworkInterfaceId = &v
+ return s
+}
+
+// SetNetworkInterfacePort sets the NetworkInterfacePort field's value.
+func (s *VolumeiSCSIAttributes) SetNetworkInterfacePort(v int64) *VolumeiSCSIAttributes {
+ s.NetworkInterfacePort = &v
+ return s
+}
+
+// SetTargetARN sets the TargetARN field's value.
+func (s *VolumeiSCSIAttributes) SetTargetARN(v string) *VolumeiSCSIAttributes {
+ s.TargetARN = &v
+ return s
+}
+
const (
// ErrorCodeActivationKeyExpired is a ErrorCode enum value
ErrorCodeActivationKeyExpired = "ActivationKeyExpired"
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 e10ca8f..7d4e143 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
@@ -1094,6 +1094,48 @@ func (s *AssumeRoleInput) Validate() error {
return nil
}
+// SetDurationSeconds sets the DurationSeconds field's value.
+func (s *AssumeRoleInput) SetDurationSeconds(v int64) *AssumeRoleInput {
+ s.DurationSeconds = &v
+ return s
+}
+
+// SetExternalId sets the ExternalId field's value.
+func (s *AssumeRoleInput) SetExternalId(v string) *AssumeRoleInput {
+ s.ExternalId = &v
+ return s
+}
+
+// SetPolicy sets the Policy field's value.
+func (s *AssumeRoleInput) SetPolicy(v string) *AssumeRoleInput {
+ s.Policy = &v
+ return s
+}
+
+// SetRoleArn sets the RoleArn field's value.
+func (s *AssumeRoleInput) SetRoleArn(v string) *AssumeRoleInput {
+ s.RoleArn = &v
+ return s
+}
+
+// SetRoleSessionName sets the RoleSessionName field's value.
+func (s *AssumeRoleInput) SetRoleSessionName(v string) *AssumeRoleInput {
+ s.RoleSessionName = &v
+ return s
+}
+
+// SetSerialNumber sets the SerialNumber field's value.
+func (s *AssumeRoleInput) SetSerialNumber(v string) *AssumeRoleInput {
+ s.SerialNumber = &v
+ return s
+}
+
+// SetTokenCode sets the TokenCode field's value.
+func (s *AssumeRoleInput) SetTokenCode(v string) *AssumeRoleInput {
+ s.TokenCode = &v
+ return s
+}
+
// Contains the response to a successful AssumeRole request, including temporary
// AWS credentials that can be used to make AWS requests.
type AssumeRoleOutput struct {
@@ -1131,6 +1173,24 @@ func (s AssumeRoleOutput) GoString() string {
return s.String()
}
+// SetAssumedRoleUser sets the AssumedRoleUser field's value.
+func (s *AssumeRoleOutput) SetAssumedRoleUser(v *AssumedRoleUser) *AssumeRoleOutput {
+ s.AssumedRoleUser = v
+ return s
+}
+
+// SetCredentials sets the Credentials field's value.
+func (s *AssumeRoleOutput) SetCredentials(v *Credentials) *AssumeRoleOutput {
+ s.Credentials = v
+ return s
+}
+
+// SetPackedPolicySize sets the PackedPolicySize field's value.
+func (s *AssumeRoleOutput) SetPackedPolicySize(v int64) *AssumeRoleOutput {
+ s.PackedPolicySize = &v
+ return s
+}
+
type AssumeRoleWithSAMLInput struct {
_ struct{} `type:"structure"`
@@ -1239,6 +1299,36 @@ func (s *AssumeRoleWithSAMLInput) Validate() error {
return nil
}
+// SetDurationSeconds sets the DurationSeconds field's value.
+func (s *AssumeRoleWithSAMLInput) SetDurationSeconds(v int64) *AssumeRoleWithSAMLInput {
+ s.DurationSeconds = &v
+ return s
+}
+
+// SetPolicy sets the Policy field's value.
+func (s *AssumeRoleWithSAMLInput) SetPolicy(v string) *AssumeRoleWithSAMLInput {
+ s.Policy = &v
+ return s
+}
+
+// SetPrincipalArn sets the PrincipalArn field's value.
+func (s *AssumeRoleWithSAMLInput) SetPrincipalArn(v string) *AssumeRoleWithSAMLInput {
+ s.PrincipalArn = &v
+ return s
+}
+
+// SetRoleArn sets the RoleArn field's value.
+func (s *AssumeRoleWithSAMLInput) SetRoleArn(v string) *AssumeRoleWithSAMLInput {
+ s.RoleArn = &v
+ return s
+}
+
+// SetSAMLAssertion sets the SAMLAssertion field's value.
+func (s *AssumeRoleWithSAMLInput) SetSAMLAssertion(v string) *AssumeRoleWithSAMLInput {
+ s.SAMLAssertion = &v
+ return s
+}
+
// Contains the response to a successful AssumeRoleWithSAML request, including
// temporary AWS credentials that can be used to make AWS requests.
type AssumeRoleWithSAMLOutput struct {
@@ -1304,6 +1394,54 @@ func (s AssumeRoleWithSAMLOutput) GoString() string {
return s.String()
}
+// SetAssumedRoleUser sets the AssumedRoleUser field's value.
+func (s *AssumeRoleWithSAMLOutput) SetAssumedRoleUser(v *AssumedRoleUser) *AssumeRoleWithSAMLOutput {
+ s.AssumedRoleUser = v
+ return s
+}
+
+// SetAudience sets the Audience field's value.
+func (s *AssumeRoleWithSAMLOutput) SetAudience(v string) *AssumeRoleWithSAMLOutput {
+ s.Audience = &v
+ return s
+}
+
+// SetCredentials sets the Credentials field's value.
+func (s *AssumeRoleWithSAMLOutput) SetCredentials(v *Credentials) *AssumeRoleWithSAMLOutput {
+ s.Credentials = v
+ return s
+}
+
+// SetIssuer sets the Issuer field's value.
+func (s *AssumeRoleWithSAMLOutput) SetIssuer(v string) *AssumeRoleWithSAMLOutput {
+ s.Issuer = &v
+ return s
+}
+
+// SetNameQualifier sets the NameQualifier field's value.
+func (s *AssumeRoleWithSAMLOutput) SetNameQualifier(v string) *AssumeRoleWithSAMLOutput {
+ s.NameQualifier = &v
+ return s
+}
+
+// SetPackedPolicySize sets the PackedPolicySize field's value.
+func (s *AssumeRoleWithSAMLOutput) SetPackedPolicySize(v int64) *AssumeRoleWithSAMLOutput {
+ s.PackedPolicySize = &v
+ return s
+}
+
+// SetSubject sets the Subject field's value.
+func (s *AssumeRoleWithSAMLOutput) SetSubject(v string) *AssumeRoleWithSAMLOutput {
+ s.Subject = &v
+ return s
+}
+
+// SetSubjectType sets the SubjectType field's value.
+func (s *AssumeRoleWithSAMLOutput) SetSubjectType(v string) *AssumeRoleWithSAMLOutput {
+ s.SubjectType = &v
+ return s
+}
+
type AssumeRoleWithWebIdentityInput struct {
_ struct{} `type:"structure"`
@@ -1429,6 +1567,42 @@ func (s *AssumeRoleWithWebIdentityInput) Validate() error {
return nil
}
+// SetDurationSeconds sets the DurationSeconds field's value.
+func (s *AssumeRoleWithWebIdentityInput) SetDurationSeconds(v int64) *AssumeRoleWithWebIdentityInput {
+ s.DurationSeconds = &v
+ return s
+}
+
+// SetPolicy sets the Policy field's value.
+func (s *AssumeRoleWithWebIdentityInput) SetPolicy(v string) *AssumeRoleWithWebIdentityInput {
+ s.Policy = &v
+ return s
+}
+
+// SetProviderId sets the ProviderId field's value.
+func (s *AssumeRoleWithWebIdentityInput) SetProviderId(v string) *AssumeRoleWithWebIdentityInput {
+ s.ProviderId = &v
+ return s
+}
+
+// SetRoleArn sets the RoleArn field's value.
+func (s *AssumeRoleWithWebIdentityInput) SetRoleArn(v string) *AssumeRoleWithWebIdentityInput {
+ s.RoleArn = &v
+ return s
+}
+
+// SetRoleSessionName sets the RoleSessionName field's value.
+func (s *AssumeRoleWithWebIdentityInput) SetRoleSessionName(v string) *AssumeRoleWithWebIdentityInput {
+ s.RoleSessionName = &v
+ return s
+}
+
+// SetWebIdentityToken sets the WebIdentityToken field's value.
+func (s *AssumeRoleWithWebIdentityInput) SetWebIdentityToken(v string) *AssumeRoleWithWebIdentityInput {
+ s.WebIdentityToken = &v
+ return s
+}
+
// Contains the response to a successful AssumeRoleWithWebIdentity request,
// including temporary AWS credentials that can be used to make AWS requests.
type AssumeRoleWithWebIdentityOutput struct {
@@ -1485,6 +1659,42 @@ func (s AssumeRoleWithWebIdentityOutput) GoString() string {
return s.String()
}
+// SetAssumedRoleUser sets the AssumedRoleUser field's value.
+func (s *AssumeRoleWithWebIdentityOutput) SetAssumedRoleUser(v *AssumedRoleUser) *AssumeRoleWithWebIdentityOutput {
+ s.AssumedRoleUser = v
+ return s
+}
+
+// SetAudience sets the Audience field's value.
+func (s *AssumeRoleWithWebIdentityOutput) SetAudience(v string) *AssumeRoleWithWebIdentityOutput {
+ s.Audience = &v
+ return s
+}
+
+// SetCredentials sets the Credentials field's value.
+func (s *AssumeRoleWithWebIdentityOutput) SetCredentials(v *Credentials) *AssumeRoleWithWebIdentityOutput {
+ s.Credentials = v
+ return s
+}
+
+// SetPackedPolicySize sets the PackedPolicySize field's value.
+func (s *AssumeRoleWithWebIdentityOutput) SetPackedPolicySize(v int64) *AssumeRoleWithWebIdentityOutput {
+ s.PackedPolicySize = &v
+ return s
+}
+
+// SetProvider sets the Provider field's value.
+func (s *AssumeRoleWithWebIdentityOutput) SetProvider(v string) *AssumeRoleWithWebIdentityOutput {
+ s.Provider = &v
+ return s
+}
+
+// SetSubjectFromWebIdentityToken sets the SubjectFromWebIdentityToken field's value.
+func (s *AssumeRoleWithWebIdentityOutput) SetSubjectFromWebIdentityToken(v string) *AssumeRoleWithWebIdentityOutput {
+ s.SubjectFromWebIdentityToken = &v
+ return s
+}
+
// The identifiers for the temporary security credentials that the operation
// returns.
type AssumedRoleUser struct {
@@ -1516,6 +1726,18 @@ func (s AssumedRoleUser) GoString() string {
return s.String()
}
+// SetArn sets the Arn field's value.
+func (s *AssumedRoleUser) SetArn(v string) *AssumedRoleUser {
+ s.Arn = &v
+ return s
+}
+
+// SetAssumedRoleId sets the AssumedRoleId field's value.
+func (s *AssumedRoleUser) SetAssumedRoleId(v string) *AssumedRoleUser {
+ s.AssumedRoleId = &v
+ return s
+}
+
// AWS credentials for API authentication.
type Credentials struct {
_ struct{} `type:"structure"`
@@ -1551,6 +1773,30 @@ func (s Credentials) GoString() string {
return s.String()
}
+// SetAccessKeyId sets the AccessKeyId field's value.
+func (s *Credentials) SetAccessKeyId(v string) *Credentials {
+ s.AccessKeyId = &v
+ return s
+}
+
+// SetExpiration sets the Expiration field's value.
+func (s *Credentials) SetExpiration(v time.Time) *Credentials {
+ s.Expiration = &v
+ return s
+}
+
+// SetSecretAccessKey sets the SecretAccessKey field's value.
+func (s *Credentials) SetSecretAccessKey(v string) *Credentials {
+ s.SecretAccessKey = &v
+ return s
+}
+
+// SetSessionToken sets the SessionToken field's value.
+func (s *Credentials) SetSessionToken(v string) *Credentials {
+ s.SessionToken = &v
+ return s
+}
+
type DecodeAuthorizationMessageInput struct {
_ struct{} `type:"structure"`
@@ -1586,6 +1832,12 @@ func (s *DecodeAuthorizationMessageInput) Validate() error {
return nil
}
+// SetEncodedMessage sets the EncodedMessage field's value.
+func (s *DecodeAuthorizationMessageInput) SetEncodedMessage(v string) *DecodeAuthorizationMessageInput {
+ s.EncodedMessage = &v
+ return s
+}
+
// 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.
@@ -1606,6 +1858,12 @@ func (s DecodeAuthorizationMessageOutput) GoString() string {
return s.String()
}
+// SetDecodedMessage sets the DecodedMessage field's value.
+func (s *DecodeAuthorizationMessageOutput) SetDecodedMessage(v string) *DecodeAuthorizationMessageOutput {
+ s.DecodedMessage = &v
+ return s
+}
+
// Identifiers for the federated user that is associated with the credentials.
type FederatedUser struct {
_ struct{} `type:"structure"`
@@ -1635,6 +1893,18 @@ func (s FederatedUser) GoString() string {
return s.String()
}
+// SetArn sets the Arn field's value.
+func (s *FederatedUser) SetArn(v string) *FederatedUser {
+ s.Arn = &v
+ return s
+}
+
+// SetFederatedUserId sets the FederatedUserId field's value.
+func (s *FederatedUser) SetFederatedUserId(v string) *FederatedUser {
+ s.FederatedUserId = &v
+ return s
+}
+
type GetCallerIdentityInput struct {
_ struct{} `type:"structure"`
}
@@ -1678,6 +1948,24 @@ func (s GetCallerIdentityOutput) GoString() string {
return s.String()
}
+// SetAccount sets the Account field's value.
+func (s *GetCallerIdentityOutput) SetAccount(v string) *GetCallerIdentityOutput {
+ s.Account = &v
+ return s
+}
+
+// SetArn sets the Arn field's value.
+func (s *GetCallerIdentityOutput) SetArn(v string) *GetCallerIdentityOutput {
+ s.Arn = &v
+ return s
+}
+
+// SetUserId sets the UserId field's value.
+func (s *GetCallerIdentityOutput) SetUserId(v string) *GetCallerIdentityOutput {
+ s.UserId = &v
+ return s
+}
+
type GetFederationTokenInput struct {
_ struct{} `type:"structure"`
@@ -1767,6 +2055,24 @@ func (s *GetFederationTokenInput) Validate() error {
return nil
}
+// SetDurationSeconds sets the DurationSeconds field's value.
+func (s *GetFederationTokenInput) SetDurationSeconds(v int64) *GetFederationTokenInput {
+ s.DurationSeconds = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *GetFederationTokenInput) SetName(v string) *GetFederationTokenInput {
+ s.Name = &v
+ return s
+}
+
+// SetPolicy sets the Policy field's value.
+func (s *GetFederationTokenInput) SetPolicy(v string) *GetFederationTokenInput {
+ s.Policy = &v
+ return s
+}
+
// Contains the response to a successful GetFederationToken request, including
// temporary AWS credentials that can be used to make AWS requests.
type GetFederationTokenOutput struct {
@@ -1803,6 +2109,24 @@ func (s GetFederationTokenOutput) GoString() string {
return s.String()
}
+// SetCredentials sets the Credentials field's value.
+func (s *GetFederationTokenOutput) SetCredentials(v *Credentials) *GetFederationTokenOutput {
+ s.Credentials = v
+ return s
+}
+
+// SetFederatedUser sets the FederatedUser field's value.
+func (s *GetFederationTokenOutput) SetFederatedUser(v *FederatedUser) *GetFederationTokenOutput {
+ s.FederatedUser = v
+ return s
+}
+
+// SetPackedPolicySize sets the PackedPolicySize field's value.
+func (s *GetFederationTokenOutput) SetPackedPolicySize(v int64) *GetFederationTokenOutput {
+ s.PackedPolicySize = &v
+ return s
+}
+
type GetSessionTokenInput struct {
_ struct{} `type:"structure"`
@@ -1868,6 +2192,24 @@ func (s *GetSessionTokenInput) Validate() error {
return nil
}
+// SetDurationSeconds sets the DurationSeconds field's value.
+func (s *GetSessionTokenInput) SetDurationSeconds(v int64) *GetSessionTokenInput {
+ s.DurationSeconds = &v
+ return s
+}
+
+// SetSerialNumber sets the SerialNumber field's value.
+func (s *GetSessionTokenInput) SetSerialNumber(v string) *GetSessionTokenInput {
+ s.SerialNumber = &v
+ return s
+}
+
+// SetTokenCode sets the TokenCode field's value.
+func (s *GetSessionTokenInput) SetTokenCode(v string) *GetSessionTokenInput {
+ s.TokenCode = &v
+ return s
+}
+
// Contains the response to a successful GetSessionToken request, including
// temporary AWS credentials that can be used to make AWS requests.
type GetSessionTokenOutput struct {
@@ -1892,3 +2234,9 @@ func (s GetSessionTokenOutput) String() string {
func (s GetSessionTokenOutput) GoString() string {
return s.String()
}
+
+// SetCredentials sets the Credentials field's value.
+func (s *GetSessionTokenOutput) SetCredentials(v *Credentials) *GetSessionTokenOutput {
+ s.Credentials = v
+ return s
+}
diff --git a/vendor/github.com/aws/aws-sdk-go/service/support/api.go b/vendor/github.com/aws/aws-sdk-go/service/support/api.go
index bb1b919..7077701 100644
--- a/vendor/github.com/aws/aws-sdk-go/service/support/api.go
+++ b/vendor/github.com/aws/aws-sdk-go/service/support/api.go
@@ -1200,6 +1200,18 @@ func (s *AddAttachmentsToSetInput) Validate() error {
return nil
}
+// SetAttachmentSetId sets the AttachmentSetId field's value.
+func (s *AddAttachmentsToSetInput) SetAttachmentSetId(v string) *AddAttachmentsToSetInput {
+ s.AttachmentSetId = &v
+ return s
+}
+
+// SetAttachments sets the Attachments field's value.
+func (s *AddAttachmentsToSetInput) SetAttachments(v []*Attachment) *AddAttachmentsToSetInput {
+ s.Attachments = v
+ return s
+}
+
// The ID and expiry time of the attachment set returned by the AddAttachmentsToSet
// operation.
type AddAttachmentsToSetOutput struct {
@@ -1225,6 +1237,18 @@ func (s AddAttachmentsToSetOutput) GoString() string {
return s.String()
}
+// SetAttachmentSetId sets the AttachmentSetId field's value.
+func (s *AddAttachmentsToSetOutput) SetAttachmentSetId(v string) *AddAttachmentsToSetOutput {
+ s.AttachmentSetId = &v
+ return s
+}
+
+// SetExpiryTime sets the ExpiryTime field's value.
+func (s *AddAttachmentsToSetOutput) SetExpiryTime(v string) *AddAttachmentsToSetOutput {
+ s.ExpiryTime = &v
+ return s
+}
+
// To be written.
type AddCommunicationToCaseInput struct {
_ struct{} `type:"structure"`
@@ -1273,6 +1297,30 @@ func (s *AddCommunicationToCaseInput) Validate() error {
return nil
}
+// SetAttachmentSetId sets the AttachmentSetId field's value.
+func (s *AddCommunicationToCaseInput) SetAttachmentSetId(v string) *AddCommunicationToCaseInput {
+ s.AttachmentSetId = &v
+ return s
+}
+
+// SetCaseId sets the CaseId field's value.
+func (s *AddCommunicationToCaseInput) SetCaseId(v string) *AddCommunicationToCaseInput {
+ s.CaseId = &v
+ return s
+}
+
+// SetCcEmailAddresses sets the CcEmailAddresses field's value.
+func (s *AddCommunicationToCaseInput) SetCcEmailAddresses(v []*string) *AddCommunicationToCaseInput {
+ s.CcEmailAddresses = v
+ return s
+}
+
+// SetCommunicationBody sets the CommunicationBody field's value.
+func (s *AddCommunicationToCaseInput) SetCommunicationBody(v string) *AddCommunicationToCaseInput {
+ s.CommunicationBody = &v
+ return s
+}
+
// The result of the AddCommunicationToCase operation.
type AddCommunicationToCaseOutput struct {
_ struct{} `type:"structure"`
@@ -1291,6 +1339,12 @@ func (s AddCommunicationToCaseOutput) GoString() string {
return s.String()
}
+// SetResult sets the Result field's value.
+func (s *AddCommunicationToCaseOutput) SetResult(v bool) *AddCommunicationToCaseOutput {
+ s.Result = &v
+ return s
+}
+
// An attachment to a case communication. The attachment consists of the file
// name and the content of the file.
type Attachment struct {
@@ -1315,6 +1369,18 @@ func (s Attachment) GoString() string {
return s.String()
}
+// SetData sets the Data field's value.
+func (s *Attachment) SetData(v []byte) *Attachment {
+ s.Data = v
+ return s
+}
+
+// SetFileName sets the FileName field's value.
+func (s *Attachment) SetFileName(v string) *Attachment {
+ s.FileName = &v
+ return s
+}
+
// The file name and ID of an attachment to a case communication. You can use
// the ID to retrieve the attachment with the DescribeAttachment operation.
type AttachmentDetails struct {
@@ -1337,6 +1403,18 @@ func (s AttachmentDetails) GoString() string {
return s.String()
}
+// SetAttachmentId sets the AttachmentId field's value.
+func (s *AttachmentDetails) SetAttachmentId(v string) *AttachmentDetails {
+ s.AttachmentId = &v
+ return s
+}
+
+// SetFileName sets the FileName field's value.
+func (s *AttachmentDetails) SetFileName(v string) *AttachmentDetails {
+ s.FileName = &v
+ return s
+}
+
// A JSON-formatted object that contains the metadata for a support case. It
// is contained the response from a DescribeCases request. CaseDetails contains
// the following fields:
@@ -1429,6 +1507,78 @@ func (s CaseDetails) GoString() string {
return s.String()
}
+// SetCaseId sets the CaseId field's value.
+func (s *CaseDetails) SetCaseId(v string) *CaseDetails {
+ s.CaseId = &v
+ return s
+}
+
+// SetCategoryCode sets the CategoryCode field's value.
+func (s *CaseDetails) SetCategoryCode(v string) *CaseDetails {
+ s.CategoryCode = &v
+ return s
+}
+
+// SetCcEmailAddresses sets the CcEmailAddresses field's value.
+func (s *CaseDetails) SetCcEmailAddresses(v []*string) *CaseDetails {
+ s.CcEmailAddresses = v
+ return s
+}
+
+// SetDisplayId sets the DisplayId field's value.
+func (s *CaseDetails) SetDisplayId(v string) *CaseDetails {
+ s.DisplayId = &v
+ return s
+}
+
+// SetLanguage sets the Language field's value.
+func (s *CaseDetails) SetLanguage(v string) *CaseDetails {
+ s.Language = &v
+ return s
+}
+
+// SetRecentCommunications sets the RecentCommunications field's value.
+func (s *CaseDetails) SetRecentCommunications(v *RecentCaseCommunications) *CaseDetails {
+ s.RecentCommunications = v
+ return s
+}
+
+// SetServiceCode sets the ServiceCode field's value.
+func (s *CaseDetails) SetServiceCode(v string) *CaseDetails {
+ s.ServiceCode = &v
+ return s
+}
+
+// SetSeverityCode sets the SeverityCode field's value.
+func (s *CaseDetails) SetSeverityCode(v string) *CaseDetails {
+ s.SeverityCode = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *CaseDetails) SetStatus(v string) *CaseDetails {
+ s.Status = &v
+ return s
+}
+
+// SetSubject sets the Subject field's value.
+func (s *CaseDetails) SetSubject(v string) *CaseDetails {
+ s.Subject = &v
+ return s
+}
+
+// SetSubmittedBy sets the SubmittedBy field's value.
+func (s *CaseDetails) SetSubmittedBy(v string) *CaseDetails {
+ s.SubmittedBy = &v
+ return s
+}
+
+// SetTimeCreated sets the TimeCreated field's value.
+func (s *CaseDetails) SetTimeCreated(v string) *CaseDetails {
+ s.TimeCreated = &v
+ return s
+}
+
// A JSON-formatted name/value pair that represents the category name and category
// code of the problem, selected from the DescribeServices response for each
// AWS service.
@@ -1452,6 +1602,18 @@ func (s Category) GoString() string {
return s.String()
}
+// SetCode sets the Code field's value.
+func (s *Category) SetCode(v string) *Category {
+ s.Code = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *Category) SetName(v string) *Category {
+ s.Name = &v
+ return s
+}
+
// A communication associated with an AWS Support case. The communication consists
// of the case ID, the message body, attachment information, the account email
// address, and the date and time of the communication.
@@ -1485,6 +1647,36 @@ func (s Communication) GoString() string {
return s.String()
}
+// SetAttachmentSet sets the AttachmentSet field's value.
+func (s *Communication) SetAttachmentSet(v []*AttachmentDetails) *Communication {
+ s.AttachmentSet = v
+ return s
+}
+
+// SetBody sets the Body field's value.
+func (s *Communication) SetBody(v string) *Communication {
+ s.Body = &v
+ return s
+}
+
+// SetCaseId sets the CaseId field's value.
+func (s *Communication) SetCaseId(v string) *Communication {
+ s.CaseId = &v
+ return s
+}
+
+// SetSubmittedBy sets the SubmittedBy field's value.
+func (s *Communication) SetSubmittedBy(v string) *Communication {
+ s.SubmittedBy = &v
+ return s
+}
+
+// SetTimeCreated sets the TimeCreated field's value.
+func (s *Communication) SetTimeCreated(v string) *Communication {
+ s.TimeCreated = &v
+ return s
+}
+
type CreateCaseInput struct {
_ struct{} `type:"structure"`
@@ -1558,6 +1750,60 @@ func (s *CreateCaseInput) Validate() error {
return nil
}
+// SetAttachmentSetId sets the AttachmentSetId field's value.
+func (s *CreateCaseInput) SetAttachmentSetId(v string) *CreateCaseInput {
+ s.AttachmentSetId = &v
+ return s
+}
+
+// SetCategoryCode sets the CategoryCode field's value.
+func (s *CreateCaseInput) SetCategoryCode(v string) *CreateCaseInput {
+ s.CategoryCode = &v
+ return s
+}
+
+// SetCcEmailAddresses sets the CcEmailAddresses field's value.
+func (s *CreateCaseInput) SetCcEmailAddresses(v []*string) *CreateCaseInput {
+ s.CcEmailAddresses = v
+ return s
+}
+
+// SetCommunicationBody sets the CommunicationBody field's value.
+func (s *CreateCaseInput) SetCommunicationBody(v string) *CreateCaseInput {
+ s.CommunicationBody = &v
+ return s
+}
+
+// SetIssueType sets the IssueType field's value.
+func (s *CreateCaseInput) SetIssueType(v string) *CreateCaseInput {
+ s.IssueType = &v
+ return s
+}
+
+// SetLanguage sets the Language field's value.
+func (s *CreateCaseInput) SetLanguage(v string) *CreateCaseInput {
+ s.Language = &v
+ return s
+}
+
+// SetServiceCode sets the ServiceCode field's value.
+func (s *CreateCaseInput) SetServiceCode(v string) *CreateCaseInput {
+ s.ServiceCode = &v
+ return s
+}
+
+// SetSeverityCode sets the SeverityCode field's value.
+func (s *CreateCaseInput) SetSeverityCode(v string) *CreateCaseInput {
+ s.SeverityCode = &v
+ return s
+}
+
+// SetSubject sets the Subject field's value.
+func (s *CreateCaseInput) SetSubject(v string) *CreateCaseInput {
+ s.Subject = &v
+ return s
+}
+
// The AWS Support case ID returned by a successful completion of the CreateCase
// operation.
type CreateCaseOutput struct {
@@ -1578,6 +1824,12 @@ func (s CreateCaseOutput) GoString() string {
return s.String()
}
+// SetCaseId sets the CaseId field's value.
+func (s *CreateCaseOutput) SetCaseId(v string) *CreateCaseOutput {
+ s.CaseId = &v
+ return s
+}
+
type DescribeAttachmentInput struct {
_ struct{} `type:"structure"`
@@ -1611,6 +1863,12 @@ func (s *DescribeAttachmentInput) Validate() error {
return nil
}
+// SetAttachmentId sets the AttachmentId field's value.
+func (s *DescribeAttachmentInput) SetAttachmentId(v string) *DescribeAttachmentInput {
+ s.AttachmentId = &v
+ return s
+}
+
// The content and file name of the attachment returned by the DescribeAttachment
// operation.
type DescribeAttachmentOutput struct {
@@ -1630,6 +1888,12 @@ func (s DescribeAttachmentOutput) GoString() string {
return s.String()
}
+// SetAttachment sets the Attachment field's value.
+func (s *DescribeAttachmentOutput) SetAttachment(v *Attachment) *DescribeAttachmentOutput {
+ s.Attachment = v
+ return s
+}
+
type DescribeCasesInput struct {
_ struct{} `type:"structure"`
@@ -1691,6 +1955,60 @@ func (s *DescribeCasesInput) Validate() error {
return nil
}
+// SetAfterTime sets the AfterTime field's value.
+func (s *DescribeCasesInput) SetAfterTime(v string) *DescribeCasesInput {
+ s.AfterTime = &v
+ return s
+}
+
+// SetBeforeTime sets the BeforeTime field's value.
+func (s *DescribeCasesInput) SetBeforeTime(v string) *DescribeCasesInput {
+ s.BeforeTime = &v
+ return s
+}
+
+// SetCaseIdList sets the CaseIdList field's value.
+func (s *DescribeCasesInput) SetCaseIdList(v []*string) *DescribeCasesInput {
+ s.CaseIdList = v
+ return s
+}
+
+// SetDisplayId sets the DisplayId field's value.
+func (s *DescribeCasesInput) SetDisplayId(v string) *DescribeCasesInput {
+ s.DisplayId = &v
+ return s
+}
+
+// SetIncludeCommunications sets the IncludeCommunications field's value.
+func (s *DescribeCasesInput) SetIncludeCommunications(v bool) *DescribeCasesInput {
+ s.IncludeCommunications = &v
+ return s
+}
+
+// SetIncludeResolvedCases sets the IncludeResolvedCases field's value.
+func (s *DescribeCasesInput) SetIncludeResolvedCases(v bool) *DescribeCasesInput {
+ s.IncludeResolvedCases = &v
+ return s
+}
+
+// SetLanguage sets the Language field's value.
+func (s *DescribeCasesInput) SetLanguage(v string) *DescribeCasesInput {
+ s.Language = &v
+ return s
+}
+
+// SetMaxResults sets the MaxResults field's value.
+func (s *DescribeCasesInput) SetMaxResults(v int64) *DescribeCasesInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeCasesInput) SetNextToken(v string) *DescribeCasesInput {
+ s.NextToken = &v
+ return s
+}
+
// Returns an array of CaseDetails objects and a nextToken that defines a point
// for pagination in the result set.
type DescribeCasesOutput struct {
@@ -1713,6 +2031,18 @@ func (s DescribeCasesOutput) GoString() string {
return s.String()
}
+// SetCases sets the Cases field's value.
+func (s *DescribeCasesOutput) SetCases(v []*CaseDetails) *DescribeCasesOutput {
+ s.Cases = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeCasesOutput) SetNextToken(v string) *DescribeCasesOutput {
+ s.NextToken = &v
+ return s
+}
+
type DescribeCommunicationsInput struct {
_ struct{} `type:"structure"`
@@ -1763,6 +2093,36 @@ func (s *DescribeCommunicationsInput) Validate() error {
return nil
}
+// SetAfterTime sets the AfterTime field's value.
+func (s *DescribeCommunicationsInput) SetAfterTime(v string) *DescribeCommunicationsInput {
+ s.AfterTime = &v
+ return s
+}
+
+// SetBeforeTime sets the BeforeTime field's value.
+func (s *DescribeCommunicationsInput) SetBeforeTime(v string) *DescribeCommunicationsInput {
+ s.BeforeTime = &v
+ return s
+}
+
+// SetCaseId sets the CaseId field's value.
+func (s *DescribeCommunicationsInput) SetCaseId(v string) *DescribeCommunicationsInput {
+ s.CaseId = &v
+ return s
+}
+
+// SetMaxResults sets the MaxResults field's value.
+func (s *DescribeCommunicationsInput) SetMaxResults(v int64) *DescribeCommunicationsInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeCommunicationsInput) SetNextToken(v string) *DescribeCommunicationsInput {
+ s.NextToken = &v
+ return s
+}
+
// The communications returned by the DescribeCommunications operation.
type DescribeCommunicationsOutput struct {
_ struct{} `type:"structure"`
@@ -1784,6 +2144,18 @@ func (s DescribeCommunicationsOutput) GoString() string {
return s.String()
}
+// SetCommunications sets the Communications field's value.
+func (s *DescribeCommunicationsOutput) SetCommunications(v []*Communication) *DescribeCommunicationsOutput {
+ s.Communications = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeCommunicationsOutput) SetNextToken(v string) *DescribeCommunicationsOutput {
+ s.NextToken = &v
+ return s
+}
+
type DescribeServicesInput struct {
_ struct{} `type:"structure"`
@@ -1806,6 +2178,18 @@ func (s DescribeServicesInput) GoString() string {
return s.String()
}
+// SetLanguage sets the Language field's value.
+func (s *DescribeServicesInput) SetLanguage(v string) *DescribeServicesInput {
+ s.Language = &v
+ return s
+}
+
+// SetServiceCodeList sets the ServiceCodeList field's value.
+func (s *DescribeServicesInput) SetServiceCodeList(v []*string) *DescribeServicesInput {
+ s.ServiceCodeList = v
+ return s
+}
+
// The list of AWS services returned by the DescribeServices operation.
type DescribeServicesOutput struct {
_ struct{} `type:"structure"`
@@ -1824,6 +2208,12 @@ func (s DescribeServicesOutput) GoString() string {
return s.String()
}
+// SetServices sets the Services field's value.
+func (s *DescribeServicesOutput) SetServices(v []*Service) *DescribeServicesOutput {
+ s.Services = v
+ return s
+}
+
type DescribeSeverityLevelsInput struct {
_ struct{} `type:"structure"`
@@ -1843,6 +2233,12 @@ func (s DescribeSeverityLevelsInput) GoString() string {
return s.String()
}
+// SetLanguage sets the Language field's value.
+func (s *DescribeSeverityLevelsInput) SetLanguage(v string) *DescribeSeverityLevelsInput {
+ s.Language = &v
+ return s
+}
+
// The list of severity levels returned by the DescribeSeverityLevels operation.
type DescribeSeverityLevelsOutput struct {
_ struct{} `type:"structure"`
@@ -1862,6 +2258,12 @@ func (s DescribeSeverityLevelsOutput) GoString() string {
return s.String()
}
+// SetSeverityLevels sets the SeverityLevels field's value.
+func (s *DescribeSeverityLevelsOutput) SetSeverityLevels(v []*SeverityLevel) *DescribeSeverityLevelsOutput {
+ s.SeverityLevels = v
+ return s
+}
+
type DescribeTrustedAdvisorCheckRefreshStatusesInput struct {
_ struct{} `type:"structure"`
@@ -1896,6 +2298,12 @@ func (s *DescribeTrustedAdvisorCheckRefreshStatusesInput) Validate() error {
return nil
}
+// SetCheckIds sets the CheckIds field's value.
+func (s *DescribeTrustedAdvisorCheckRefreshStatusesInput) SetCheckIds(v []*string) *DescribeTrustedAdvisorCheckRefreshStatusesInput {
+ s.CheckIds = v
+ return s
+}
+
// The statuses of the Trusted Advisor checks returned by the DescribeTrustedAdvisorCheckRefreshStatuses
// operation.
type DescribeTrustedAdvisorCheckRefreshStatusesOutput struct {
@@ -1917,6 +2325,12 @@ func (s DescribeTrustedAdvisorCheckRefreshStatusesOutput) GoString() string {
return s.String()
}
+// SetStatuses sets the Statuses field's value.
+func (s *DescribeTrustedAdvisorCheckRefreshStatusesOutput) SetStatuses(v []*TrustedAdvisorCheckRefreshStatus) *DescribeTrustedAdvisorCheckRefreshStatusesOutput {
+ s.Statuses = v
+ return s
+}
+
type DescribeTrustedAdvisorCheckResultInput struct {
_ struct{} `type:"structure"`
@@ -1954,6 +2368,18 @@ func (s *DescribeTrustedAdvisorCheckResultInput) Validate() error {
return nil
}
+// SetCheckId sets the CheckId field's value.
+func (s *DescribeTrustedAdvisorCheckResultInput) SetCheckId(v string) *DescribeTrustedAdvisorCheckResultInput {
+ s.CheckId = &v
+ return s
+}
+
+// SetLanguage sets the Language field's value.
+func (s *DescribeTrustedAdvisorCheckResultInput) SetLanguage(v string) *DescribeTrustedAdvisorCheckResultInput {
+ s.Language = &v
+ return s
+}
+
// The result of the Trusted Advisor check returned by the DescribeTrustedAdvisorCheckResult
// operation.
type DescribeTrustedAdvisorCheckResultOutput struct {
@@ -1973,6 +2399,12 @@ func (s DescribeTrustedAdvisorCheckResultOutput) GoString() string {
return s.String()
}
+// SetResult sets the Result field's value.
+func (s *DescribeTrustedAdvisorCheckResultOutput) SetResult(v *TrustedAdvisorCheckResult) *DescribeTrustedAdvisorCheckResultOutput {
+ s.Result = v
+ return s
+}
+
type DescribeTrustedAdvisorCheckSummariesInput struct {
_ struct{} `type:"structure"`
@@ -2005,6 +2437,12 @@ func (s *DescribeTrustedAdvisorCheckSummariesInput) Validate() error {
return nil
}
+// SetCheckIds sets the CheckIds field's value.
+func (s *DescribeTrustedAdvisorCheckSummariesInput) SetCheckIds(v []*string) *DescribeTrustedAdvisorCheckSummariesInput {
+ s.CheckIds = v
+ return s
+}
+
// The summaries of the Trusted Advisor checks returned by the DescribeTrustedAdvisorCheckSummaries
// operation.
type DescribeTrustedAdvisorCheckSummariesOutput struct {
@@ -2026,6 +2464,12 @@ func (s DescribeTrustedAdvisorCheckSummariesOutput) GoString() string {
return s.String()
}
+// SetSummaries sets the Summaries field's value.
+func (s *DescribeTrustedAdvisorCheckSummariesOutput) SetSummaries(v []*TrustedAdvisorCheckSummary) *DescribeTrustedAdvisorCheckSummariesOutput {
+ s.Summaries = v
+ return s
+}
+
type DescribeTrustedAdvisorChecksInput struct {
_ struct{} `type:"structure"`
@@ -2060,6 +2504,12 @@ func (s *DescribeTrustedAdvisorChecksInput) Validate() error {
return nil
}
+// SetLanguage sets the Language field's value.
+func (s *DescribeTrustedAdvisorChecksInput) SetLanguage(v string) *DescribeTrustedAdvisorChecksInput {
+ s.Language = &v
+ return s
+}
+
// Information about the Trusted Advisor checks returned by the DescribeTrustedAdvisorChecks
// operation.
type DescribeTrustedAdvisorChecksOutput struct {
@@ -2081,6 +2531,12 @@ func (s DescribeTrustedAdvisorChecksOutput) GoString() string {
return s.String()
}
+// SetChecks sets the Checks field's value.
+func (s *DescribeTrustedAdvisorChecksOutput) SetChecks(v []*TrustedAdvisorCheckDescription) *DescribeTrustedAdvisorChecksOutput {
+ s.Checks = v
+ return s
+}
+
// The five most recent communications associated with the case.
type RecentCaseCommunications struct {
_ struct{} `type:"structure"`
@@ -2102,6 +2558,18 @@ func (s RecentCaseCommunications) GoString() string {
return s.String()
}
+// SetCommunications sets the Communications field's value.
+func (s *RecentCaseCommunications) SetCommunications(v []*Communication) *RecentCaseCommunications {
+ s.Communications = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *RecentCaseCommunications) SetNextToken(v string) *RecentCaseCommunications {
+ s.NextToken = &v
+ return s
+}
+
type RefreshTrustedAdvisorCheckInput struct {
_ struct{} `type:"structure"`
@@ -2136,6 +2604,12 @@ func (s *RefreshTrustedAdvisorCheckInput) Validate() error {
return nil
}
+// SetCheckId sets the CheckId field's value.
+func (s *RefreshTrustedAdvisorCheckInput) SetCheckId(v string) *RefreshTrustedAdvisorCheckInput {
+ s.CheckId = &v
+ return s
+}
+
// The current refresh status of a Trusted Advisor check.
type RefreshTrustedAdvisorCheckOutput struct {
_ struct{} `type:"structure"`
@@ -2157,6 +2631,12 @@ func (s RefreshTrustedAdvisorCheckOutput) GoString() string {
return s.String()
}
+// SetStatus sets the Status field's value.
+func (s *RefreshTrustedAdvisorCheckOutput) SetStatus(v *TrustedAdvisorCheckRefreshStatus) *RefreshTrustedAdvisorCheckOutput {
+ s.Status = v
+ return s
+}
+
type ResolveCaseInput struct {
_ struct{} `type:"structure"`
@@ -2175,6 +2655,12 @@ func (s ResolveCaseInput) GoString() string {
return s.String()
}
+// SetCaseId sets the CaseId field's value.
+func (s *ResolveCaseInput) SetCaseId(v string) *ResolveCaseInput {
+ s.CaseId = &v
+ return s
+}
+
// The status of the case returned by the ResolveCase operation.
type ResolveCaseOutput struct {
_ struct{} `type:"structure"`
@@ -2196,6 +2682,18 @@ func (s ResolveCaseOutput) GoString() string {
return s.String()
}
+// SetFinalCaseStatus sets the FinalCaseStatus field's value.
+func (s *ResolveCaseOutput) SetFinalCaseStatus(v string) *ResolveCaseOutput {
+ s.FinalCaseStatus = &v
+ return s
+}
+
+// SetInitialCaseStatus sets the InitialCaseStatus field's value.
+func (s *ResolveCaseOutput) SetInitialCaseStatus(v string) *ResolveCaseOutput {
+ s.InitialCaseStatus = &v
+ return s
+}
+
// Information about an AWS service returned by the DescribeServices operation.
type Service struct {
_ struct{} `type:"structure"`
@@ -2224,6 +2722,24 @@ func (s Service) GoString() string {
return s.String()
}
+// SetCategories sets the Categories field's value.
+func (s *Service) SetCategories(v []*Category) *Service {
+ s.Categories = v
+ return s
+}
+
+// SetCode sets the Code field's value.
+func (s *Service) SetCode(v string) *Service {
+ s.Code = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *Service) SetName(v string) *Service {
+ s.Name = &v
+ return s
+}
+
// A code and name pair that represent a severity level that can be applied
// to a support case.
type SeverityLevel struct {
@@ -2247,6 +2763,18 @@ func (s SeverityLevel) GoString() string {
return s.String()
}
+// SetCode sets the Code field's value.
+func (s *SeverityLevel) SetCode(v string) *SeverityLevel {
+ s.Code = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *SeverityLevel) SetName(v string) *SeverityLevel {
+ s.Name = &v
+ return s
+}
+
// The container for summary information that relates to the category of the
// Trusted Advisor check.
type TrustedAdvisorCategorySpecificSummary struct {
@@ -2267,6 +2795,12 @@ func (s TrustedAdvisorCategorySpecificSummary) GoString() string {
return s.String()
}
+// SetCostOptimizing sets the CostOptimizing field's value.
+func (s *TrustedAdvisorCategorySpecificSummary) SetCostOptimizing(v *TrustedAdvisorCostOptimizingSummary) *TrustedAdvisorCategorySpecificSummary {
+ s.CostOptimizing = v
+ return s
+}
+
// The description and metadata for a Trusted Advisor check.
type TrustedAdvisorCheckDescription struct {
_ struct{} `type:"structure"`
@@ -2312,6 +2846,36 @@ func (s TrustedAdvisorCheckDescription) GoString() string {
return s.String()
}
+// SetCategory sets the Category field's value.
+func (s *TrustedAdvisorCheckDescription) SetCategory(v string) *TrustedAdvisorCheckDescription {
+ s.Category = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *TrustedAdvisorCheckDescription) SetDescription(v string) *TrustedAdvisorCheckDescription {
+ s.Description = &v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *TrustedAdvisorCheckDescription) SetId(v string) *TrustedAdvisorCheckDescription {
+ s.Id = &v
+ return s
+}
+
+// SetMetadata sets the Metadata field's value.
+func (s *TrustedAdvisorCheckDescription) SetMetadata(v []*string) *TrustedAdvisorCheckDescription {
+ s.Metadata = v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *TrustedAdvisorCheckDescription) SetName(v string) *TrustedAdvisorCheckDescription {
+ s.Name = &v
+ return s
+}
+
// The refresh status of a Trusted Advisor check.
type TrustedAdvisorCheckRefreshStatus struct {
_ struct{} `type:"structure"`
@@ -2344,6 +2908,24 @@ func (s TrustedAdvisorCheckRefreshStatus) GoString() string {
return s.String()
}
+// SetCheckId sets the CheckId field's value.
+func (s *TrustedAdvisorCheckRefreshStatus) SetCheckId(v string) *TrustedAdvisorCheckRefreshStatus {
+ s.CheckId = &v
+ return s
+}
+
+// SetMillisUntilNextRefreshable sets the MillisUntilNextRefreshable field's value.
+func (s *TrustedAdvisorCheckRefreshStatus) SetMillisUntilNextRefreshable(v int64) *TrustedAdvisorCheckRefreshStatus {
+ s.MillisUntilNextRefreshable = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *TrustedAdvisorCheckRefreshStatus) SetStatus(v string) *TrustedAdvisorCheckRefreshStatus {
+ s.Status = &v
+ return s
+}
+
// The results of a Trusted Advisor check returned by DescribeTrustedAdvisorCheckResult.
type TrustedAdvisorCheckResult struct {
_ struct{} `type:"structure"`
@@ -2392,6 +2974,42 @@ func (s TrustedAdvisorCheckResult) GoString() string {
return s.String()
}
+// SetCategorySpecificSummary sets the CategorySpecificSummary field's value.
+func (s *TrustedAdvisorCheckResult) SetCategorySpecificSummary(v *TrustedAdvisorCategorySpecificSummary) *TrustedAdvisorCheckResult {
+ s.CategorySpecificSummary = v
+ return s
+}
+
+// SetCheckId sets the CheckId field's value.
+func (s *TrustedAdvisorCheckResult) SetCheckId(v string) *TrustedAdvisorCheckResult {
+ s.CheckId = &v
+ return s
+}
+
+// SetFlaggedResources sets the FlaggedResources field's value.
+func (s *TrustedAdvisorCheckResult) SetFlaggedResources(v []*TrustedAdvisorResourceDetail) *TrustedAdvisorCheckResult {
+ s.FlaggedResources = v
+ return s
+}
+
+// SetResourcesSummary sets the ResourcesSummary field's value.
+func (s *TrustedAdvisorCheckResult) SetResourcesSummary(v *TrustedAdvisorResourcesSummary) *TrustedAdvisorCheckResult {
+ s.ResourcesSummary = v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *TrustedAdvisorCheckResult) SetStatus(v string) *TrustedAdvisorCheckResult {
+ s.Status = &v
+ return s
+}
+
+// SetTimestamp sets the Timestamp field's value.
+func (s *TrustedAdvisorCheckResult) SetTimestamp(v string) *TrustedAdvisorCheckResult {
+ s.Timestamp = &v
+ return s
+}
+
// A summary of a Trusted Advisor check result, including the alert status,
// last refresh, and number of resources examined.
type TrustedAdvisorCheckSummary struct {
@@ -2439,6 +3057,42 @@ func (s TrustedAdvisorCheckSummary) GoString() string {
return s.String()
}
+// SetCategorySpecificSummary sets the CategorySpecificSummary field's value.
+func (s *TrustedAdvisorCheckSummary) SetCategorySpecificSummary(v *TrustedAdvisorCategorySpecificSummary) *TrustedAdvisorCheckSummary {
+ s.CategorySpecificSummary = v
+ return s
+}
+
+// SetCheckId sets the CheckId field's value.
+func (s *TrustedAdvisorCheckSummary) SetCheckId(v string) *TrustedAdvisorCheckSummary {
+ s.CheckId = &v
+ return s
+}
+
+// SetHasFlaggedResources sets the HasFlaggedResources field's value.
+func (s *TrustedAdvisorCheckSummary) SetHasFlaggedResources(v bool) *TrustedAdvisorCheckSummary {
+ s.HasFlaggedResources = &v
+ return s
+}
+
+// SetResourcesSummary sets the ResourcesSummary field's value.
+func (s *TrustedAdvisorCheckSummary) SetResourcesSummary(v *TrustedAdvisorResourcesSummary) *TrustedAdvisorCheckSummary {
+ s.ResourcesSummary = v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *TrustedAdvisorCheckSummary) SetStatus(v string) *TrustedAdvisorCheckSummary {
+ s.Status = &v
+ return s
+}
+
+// SetTimestamp sets the Timestamp field's value.
+func (s *TrustedAdvisorCheckSummary) SetTimestamp(v string) *TrustedAdvisorCheckSummary {
+ s.Timestamp = &v
+ return s
+}
+
// The estimated cost savings that might be realized if the recommended actions
// are taken.
type TrustedAdvisorCostOptimizingSummary struct {
@@ -2467,6 +3121,18 @@ func (s TrustedAdvisorCostOptimizingSummary) GoString() string {
return s.String()
}
+// SetEstimatedMonthlySavings sets the EstimatedMonthlySavings field's value.
+func (s *TrustedAdvisorCostOptimizingSummary) SetEstimatedMonthlySavings(v float64) *TrustedAdvisorCostOptimizingSummary {
+ s.EstimatedMonthlySavings = &v
+ return s
+}
+
+// SetEstimatedPercentMonthlySavings sets the EstimatedPercentMonthlySavings field's value.
+func (s *TrustedAdvisorCostOptimizingSummary) SetEstimatedPercentMonthlySavings(v float64) *TrustedAdvisorCostOptimizingSummary {
+ s.EstimatedPercentMonthlySavings = &v
+ return s
+}
+
// Contains information about a resource identified by a Trusted Advisor check.
type TrustedAdvisorResourceDetail struct {
_ struct{} `type:"structure"`
@@ -2508,6 +3174,36 @@ func (s TrustedAdvisorResourceDetail) GoString() string {
return s.String()
}
+// SetIsSuppressed sets the IsSuppressed field's value.
+func (s *TrustedAdvisorResourceDetail) SetIsSuppressed(v bool) *TrustedAdvisorResourceDetail {
+ s.IsSuppressed = &v
+ return s
+}
+
+// SetMetadata sets the Metadata field's value.
+func (s *TrustedAdvisorResourceDetail) SetMetadata(v []*string) *TrustedAdvisorResourceDetail {
+ s.Metadata = v
+ return s
+}
+
+// SetRegion sets the Region field's value.
+func (s *TrustedAdvisorResourceDetail) SetRegion(v string) *TrustedAdvisorResourceDetail {
+ s.Region = &v
+ return s
+}
+
+// SetResourceId sets the ResourceId field's value.
+func (s *TrustedAdvisorResourceDetail) SetResourceId(v string) *TrustedAdvisorResourceDetail {
+ s.ResourceId = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *TrustedAdvisorResourceDetail) SetStatus(v string) *TrustedAdvisorResourceDetail {
+ s.Status = &v
+ return s
+}
+
// Details about AWS resources that were analyzed in a call to Trusted Advisor
// DescribeTrustedAdvisorCheckSummaries.
type TrustedAdvisorResourcesSummary struct {
@@ -2546,3 +3242,27 @@ func (s TrustedAdvisorResourcesSummary) String() string {
func (s TrustedAdvisorResourcesSummary) GoString() string {
return s.String()
}
+
+// SetResourcesFlagged sets the ResourcesFlagged field's value.
+func (s *TrustedAdvisorResourcesSummary) SetResourcesFlagged(v int64) *TrustedAdvisorResourcesSummary {
+ s.ResourcesFlagged = &v
+ return s
+}
+
+// SetResourcesIgnored sets the ResourcesIgnored field's value.
+func (s *TrustedAdvisorResourcesSummary) SetResourcesIgnored(v int64) *TrustedAdvisorResourcesSummary {
+ s.ResourcesIgnored = &v
+ return s
+}
+
+// SetResourcesProcessed sets the ResourcesProcessed field's value.
+func (s *TrustedAdvisorResourcesSummary) SetResourcesProcessed(v int64) *TrustedAdvisorResourcesSummary {
+ s.ResourcesProcessed = &v
+ return s
+}
+
+// SetResourcesSuppressed sets the ResourcesSuppressed field's value.
+func (s *TrustedAdvisorResourcesSummary) SetResourcesSuppressed(v int64) *TrustedAdvisorResourcesSummary {
+ s.ResourcesSuppressed = &v
+ return s
+}
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
index a1c79be..5a3bc79 100644
--- a/vendor/github.com/aws/aws-sdk-go/service/swf/api.go
+++ b/vendor/github.com/aws/aws-sdk-go/service/swf/api.go
@@ -3241,6 +3241,18 @@ 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 details of the ActivityTaskCanceled event.
type ActivityTaskCanceledEventAttributes struct {
_ struct{} `type:"structure"`
@@ -3278,6 +3290,30 @@ 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 details of the ActivityTaskCompleted event.
type ActivityTaskCompletedEventAttributes struct {
_ struct{} `type:"structure"`
@@ -3310,6 +3346,24 @@ 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 details of the ActivityTaskFailed event.
type ActivityTaskFailedEventAttributes struct {
_ struct{} `type:"structure"`
@@ -3345,6 +3399,30 @@ 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 details of the ActivityTaskScheduled event.
type ActivityTaskScheduledEventAttributes struct {
_ struct{} `type:"structure"`
@@ -3418,6 +3496,72 @@ 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 details of the ActivityTaskStarted event.
type ActivityTaskStartedEventAttributes struct {
_ struct{} `type:"structure"`
@@ -3444,6 +3588,18 @@ 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 details of the ActivityTaskTimedOut event.
type ActivityTaskTimedOutEventAttributes struct {
_ struct{} `type:"structure"`
@@ -3482,6 +3638,30 @@ 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"`
@@ -3535,6 +3715,18 @@ func (s *ActivityType) Validate() error {
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"`
@@ -3607,6 +3799,42 @@ 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"`
@@ -3643,6 +3871,36 @@ 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 details of the CancelTimer decision.
//
// Access Control
@@ -3696,6 +3954,12 @@ func (s *CancelTimerDecisionAttributes) Validate() error {
return nil
}
+// SetTimerId sets the TimerId field's value.
+func (s *CancelTimerDecisionAttributes) SetTimerId(v string) *CancelTimerDecisionAttributes {
+ s.TimerId = &v
+ return s
+}
+
// Provides details of the CancelTimerFailed event.
type CancelTimerFailedEventAttributes struct {
_ struct{} `type:"structure"`
@@ -3734,6 +3998,24 @@ 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 details of the CancelWorkflowExecution decision.
//
// Access Control
@@ -3769,6 +4051,12 @@ 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 details of the CancelWorkflowExecutionFailed event.
type CancelWorkflowExecutionFailedEventAttributes struct {
_ struct{} `type:"structure"`
@@ -3802,6 +4090,18 @@ 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"`
@@ -3845,6 +4145,36 @@ 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 details of the ChildWorkflowExecutionCompleted event.
type ChildWorkflowExecutionCompletedEventAttributes struct {
_ struct{} `type:"structure"`
@@ -3888,6 +4218,36 @@ 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 details of the ChildWorkflowExecutionFailed event.
type ChildWorkflowExecutionFailedEventAttributes struct {
_ struct{} `type:"structure"`
@@ -3934,6 +4294,42 @@ 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 details of the ChildWorkflowExecutionStarted event.
type ChildWorkflowExecutionStartedEventAttributes struct {
_ struct{} `type:"structure"`
@@ -3967,6 +4363,24 @@ 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 details of the ChildWorkflowExecutionTerminated event.
type ChildWorkflowExecutionTerminatedEventAttributes struct {
_ struct{} `type:"structure"`
@@ -4007,6 +4421,30 @@ 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 details of the ChildWorkflowExecutionTimedOut event.
type ChildWorkflowExecutionTimedOutEventAttributes struct {
_ struct{} `type:"structure"`
@@ -4053,6 +4491,36 @@ 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 {
@@ -4088,6 +4556,12 @@ func (s *CloseStatusFilter) Validate() error {
return nil
}
+// SetStatus sets the Status field's value.
+func (s *CloseStatusFilter) SetStatus(v string) *CloseStatusFilter {
+ s.Status = &v
+ return s
+}
+
// Provides details of the CompleteWorkflowExecution decision.
//
// Access Control
@@ -4124,6 +4598,12 @@ 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 details of the CompleteWorkflowExecutionFailed event.
type CompleteWorkflowExecutionFailedEventAttributes struct {
_ struct{} `type:"structure"`
@@ -4157,6 +4637,18 @@ 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 details of the ContinueAsNewWorkflowExecution decision.
//
// Access Control
@@ -4292,6 +4784,60 @@ func (s *ContinueAsNewWorkflowExecutionDecisionAttributes) Validate() error {
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 details of the ContinueAsNewWorkflowExecutionFailed event.
type ContinueAsNewWorkflowExecutionFailedEventAttributes struct {
_ struct{} `type:"structure"`
@@ -4325,6 +4871,18 @@ 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"`
@@ -4431,6 +4989,48 @@ func (s *CountClosedWorkflowExecutionsInput) Validate() error {
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"`
@@ -4515,6 +5115,36 @@ func (s *CountOpenWorkflowExecutionsInput) Validate() error {
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"`
@@ -4563,6 +5193,18 @@ func (s *CountPendingActivityTasksInput) Validate() error {
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"`
@@ -4611,6 +5253,18 @@ func (s *CountPendingDecisionTasksInput) Validate() error {
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:
//
@@ -4900,6 +5554,90 @@ func (s *Decision) Validate() error {
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 details of the DecisionTaskCompleted event.
type DecisionTaskCompletedEventAttributes struct {
_ struct{} `type:"structure"`
@@ -4932,6 +5670,24 @@ 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"`
@@ -4969,9 +5725,27 @@ func (s DecisionTaskScheduledEventAttributes) GoString() string {
return s.String()
}
-// Provides details of the DecisionTaskStarted event.
-type DecisionTaskStartedEventAttributes struct {
- _ struct{} `type:"structure"`
+// 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 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.
@@ -4995,6 +5769,18 @@ 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 details of the DecisionTaskTimedOut event.
type DecisionTaskTimedOutEventAttributes struct {
_ struct{} `type:"structure"`
@@ -5029,6 +5815,24 @@ 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"`
@@ -5077,6 +5881,18 @@ func (s *DeprecateActivityTypeInput) Validate() error {
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"`
}
@@ -5126,6 +5942,12 @@ func (s *DeprecateDomainInput) Validate() error {
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"`
}
@@ -5188,6 +6010,18 @@ func (s *DeprecateWorkflowTypeInput) Validate() error {
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"`
}
@@ -5251,6 +6085,18 @@ func (s *DescribeActivityTypeInput) Validate() error {
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"`
@@ -5285,6 +6131,18 @@ 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"`
@@ -5320,6 +6178,12 @@ func (s *DescribeDomainInput) Validate() error {
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"`
@@ -5345,6 +6209,18 @@ 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"`
@@ -5393,6 +6269,18 @@ func (s *DescribeWorkflowExecutionInput) Validate() error {
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"`
@@ -5435,6 +6323,36 @@ 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"`
@@ -5483,6 +6401,18 @@ func (s *DescribeWorkflowTypeInput) Validate() error {
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"`
@@ -5517,6 +6447,18 @@ 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"`
@@ -5537,6 +6479,12 @@ 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"`
@@ -5572,6 +6520,24 @@ 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
@@ -5612,6 +6578,18 @@ func (s *ExecutionTimeFilter) Validate() error {
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 details of the ExternalWorkflowExecutionCancelRequested event.
type ExternalWorkflowExecutionCancelRequestedEventAttributes struct {
_ struct{} `type:"structure"`
@@ -5640,6 +6618,18 @@ func (s ExternalWorkflowExecutionCancelRequestedEventAttributes) GoString() stri
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 details of the ExternalWorkflowExecutionSignaled event.
type ExternalWorkflowExecutionSignaledEventAttributes struct {
_ struct{} `type:"structure"`
@@ -5668,6 +6658,18 @@ 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 details of the FailWorkflowExecution decision.
//
// Access Control
@@ -5706,6 +6708,18 @@ 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 details of the FailWorkflowExecutionFailed event.
type FailWorkflowExecutionFailedEventAttributes struct {
_ struct{} `type:"structure"`
@@ -5739,6 +6753,18 @@ 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"`
@@ -5808,6 +6834,36 @@ func (s *GetWorkflowExecutionHistoryInput) Validate() error {
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.
@@ -5838,6 +6894,18 @@ 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:
//
// * WorkflowExecutionStarted: The workflow execution was started.
@@ -6219,6 +7287,348 @@ 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 details for the LambdaFunctionCompleted event.
type LambdaFunctionCompletedEventAttributes struct {
_ struct{} `type:"structure"`
@@ -6249,6 +7659,24 @@ 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 details for the LambdaFunctionFailed event.
type LambdaFunctionFailedEventAttributes struct {
_ struct{} `type:"structure"`
@@ -6282,6 +7710,30 @@ 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 details for the LambdaFunctionScheduled event.
type LambdaFunctionScheduledEventAttributes struct {
_ struct{} `type:"structure"`
@@ -6322,6 +7774,36 @@ func (s LambdaFunctionScheduledEventAttributes) GoString() string {
return s.String()
}
+// 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 details for the LambdaFunctionStarted event.
type LambdaFunctionStartedEventAttributes struct {
_ struct{} `type:"structure"`
@@ -6344,6 +7826,12 @@ 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 for the LambdaFunctionTimedOut event.
type LambdaFunctionTimedOutEventAttributes struct {
_ struct{} `type:"structure"`
@@ -6374,6 +7862,24 @@ 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"`
@@ -6444,6 +7950,42 @@ func (s *ListActivityTypesInput) Validate() error {
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"`
@@ -6472,6 +8014,18 @@ 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"`
@@ -6603,6 +8157,66 @@ func (s *ListClosedWorkflowExecutionsInput) Validate() error {
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"`
@@ -6656,6 +8270,30 @@ func (s *ListDomainsInput) Validate() error {
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"`
@@ -6684,6 +8322,18 @@ 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"`
@@ -6788,6 +8438,54 @@ func (s *ListOpenWorkflowExecutionsInput) Validate() error {
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"`
@@ -6859,6 +8557,42 @@ func (s *ListWorkflowTypesInput) Validate() error {
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"`
@@ -6887,6 +8621,18 @@ 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 details of the MarkerRecorded event.
type MarkerRecordedEventAttributes struct {
_ struct{} `type:"structure"`
@@ -6918,6 +8664,24 @@ 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"`
@@ -6942,6 +8706,18 @@ 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"`
@@ -6999,6 +8775,24 @@ func (s *PollForActivityTaskInput) Validate() error {
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"`
@@ -7045,6 +8839,42 @@ 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"`
@@ -7128,6 +8958,42 @@ func (s *PollForDecisionTaskInput) Validate() error {
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 {
@@ -7186,6 +9052,48 @@ 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"`
@@ -7228,6 +9136,18 @@ func (s *RecordActivityTaskHeartbeatInput) Validate() error {
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"`
@@ -7248,6 +9168,12 @@ 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 details of the RecordMarker decision.
//
// Access Control
@@ -7304,6 +9230,18 @@ func (s *RecordMarkerDecisionAttributes) Validate() error {
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 details of the RecordMarkerFailed event.
type RecordMarkerFailedEventAttributes struct {
_ struct{} `type:"structure"`
@@ -7342,6 +9280,24 @@ 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"`
@@ -7462,10 +9418,70 @@ func (s *RegisterActivityTypeInput) Validate() error {
}
}
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
+ 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 {
@@ -7546,6 +9562,24 @@ func (s *RegisterDomainInput) Validate() error {
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"`
}
@@ -7699,6 +9733,66 @@ func (s *RegisterWorkflowTypeInput) Validate() error {
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"`
}
@@ -7766,6 +9860,12 @@ func (s *RequestCancelActivityTaskDecisionAttributes) Validate() error {
return nil
}
+// SetActivityId sets the ActivityId field's value.
+func (s *RequestCancelActivityTaskDecisionAttributes) SetActivityId(v string) *RequestCancelActivityTaskDecisionAttributes {
+ s.ActivityId = &v
+ return s
+}
+
// Provides details of the RequestCancelActivityTaskFailed event.
type RequestCancelActivityTaskFailedEventAttributes struct {
_ struct{} `type:"structure"`
@@ -7804,6 +9904,24 @@ 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 details of the RequestCancelExternalWorkflowExecution decision.
//
// Access Control
@@ -7864,6 +9982,24 @@ func (s *RequestCancelExternalWorkflowExecutionDecisionAttributes) Validate() er
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 details of the RequestCancelExternalWorkflowExecutionFailed event.
type RequestCancelExternalWorkflowExecutionFailedEventAttributes struct {
_ struct{} `type:"structure"`
@@ -7916,6 +10052,42 @@ func (s RequestCancelExternalWorkflowExecutionFailedEventAttributes) GoString()
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 details of the RequestCancelExternalWorkflowExecutionInitiated event.
type RequestCancelExternalWorkflowExecutionInitiatedEventAttributes struct {
_ struct{} `type:"structure"`
@@ -7951,6 +10123,30 @@ func (s RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) GoString
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"`
@@ -8000,6 +10196,24 @@ func (s *RequestCancelWorkflowExecutionInput) Validate() error {
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"`
}
@@ -8056,6 +10270,18 @@ func (s *RespondActivityTaskCanceledInput) Validate() error {
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"`
}
@@ -8113,6 +10339,18 @@ func (s *RespondActivityTaskCompletedInput) Validate() error {
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"`
}
@@ -8172,6 +10410,24 @@ func (s *RespondActivityTaskFailedInput) Validate() error {
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"`
}
@@ -8242,6 +10498,24 @@ func (s *RespondDecisionTaskCompletedInput) Validate() error {
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"`
}
@@ -8414,6 +10688,66 @@ func (s *ScheduleActivityTaskDecisionAttributes) Validate() error {
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 details of the ScheduleActivityTaskFailed event.
type ScheduleActivityTaskFailedEventAttributes struct {
_ struct{} `type:"structure"`
@@ -8457,6 +10791,30 @@ 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
+}
+
// Provides details of the ScheduleLambdaFunction decision.
//
// Access Control
@@ -8539,6 +10897,30 @@ func (s *ScheduleLambdaFunctionDecisionAttributes) Validate() error {
return nil
}
+// 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 details for the ScheduleLambdaFunctionFailed event.
type ScheduleLambdaFunctionFailedEventAttributes struct {
_ struct{} `type:"structure"`
@@ -8582,6 +10964,30 @@ 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 details of the SignalExternalWorkflowExecution decision.
//
// Access Control
@@ -8658,6 +11064,36 @@ func (s *SignalExternalWorkflowExecutionDecisionAttributes) Validate() error {
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 details of the SignalExternalWorkflowExecutionFailed event.
type SignalExternalWorkflowExecutionFailedEventAttributes struct {
_ struct{} `type:"structure"`
@@ -8711,6 +11147,42 @@ 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 details of the SignalExternalWorkflowExecutionInitiated event.
type SignalExternalWorkflowExecutionInitiatedEventAttributes struct {
_ struct{} `type:"structure"`
@@ -8754,6 +11226,42 @@ func (s SignalExternalWorkflowExecutionInitiatedEventAttributes) GoString() stri
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"`
@@ -8818,6 +11326,36 @@ func (s *SignalWorkflowExecutionInput) Validate() error {
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"`
}
@@ -9002,6 +11540,72 @@ func (s *StartChildWorkflowExecutionDecisionAttributes) Validate() error {
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 details of the StartChildWorkflowExecutionFailed event.
type StartChildWorkflowExecutionFailedEventAttributes struct {
_ struct{} `type:"structure"`
@@ -9056,6 +11660,42 @@ 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 details of the StartChildWorkflowExecutionInitiated event.
type StartChildWorkflowExecutionInitiatedEventAttributes struct {
_ struct{} `type:"structure"`
@@ -9133,20 +11773,92 @@ type StartChildWorkflowExecutionInitiatedEventAttributes struct {
// 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"`
+ // 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
}
-// String returns the string representation
-func (s StartChildWorkflowExecutionInitiatedEventAttributes) String() string {
- return awsutil.Prettify(s)
+// SetWorkflowId sets the WorkflowId field's value.
+func (s *StartChildWorkflowExecutionInitiatedEventAttributes) SetWorkflowId(v string) *StartChildWorkflowExecutionInitiatedEventAttributes {
+ s.WorkflowId = &v
+ return s
}
-// GoString returns the string representation
-func (s StartChildWorkflowExecutionInitiatedEventAttributes) GoString() string {
- return s.String()
+// SetWorkflowType sets the WorkflowType field's value.
+func (s *StartChildWorkflowExecutionInitiatedEventAttributes) SetWorkflowType(v *WorkflowType) *StartChildWorkflowExecutionInitiatedEventAttributes {
+ s.WorkflowType = v
+ return s
}
// Provides details for the StartLambdaFunctionFailed event.
@@ -9180,6 +11892,24 @@ 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 details of the StartTimer decision.
//
// Access Control
@@ -9255,6 +11985,24 @@ func (s *StartTimerDecisionAttributes) Validate() error {
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 details of the StartTimerFailed event.
type StartTimerFailedEventAttributes struct {
_ struct{} `type:"structure"`
@@ -9293,6 +12041,24 @@ 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"`
@@ -9458,6 +12224,72 @@ func (s *StartWorkflowExecutionInput) Validate() error {
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"`
@@ -9477,6 +12309,12 @@ 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"`
@@ -9514,6 +12352,12 @@ func (s *TagFilter) Validate() error {
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"`
@@ -9550,6 +12394,12 @@ func (s *TaskList) Validate() error {
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"`
@@ -9625,6 +12475,42 @@ func (s *TerminateWorkflowExecutionInput) Validate() error {
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"`
}
@@ -9674,6 +12560,24 @@ 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 details of the TimerFired event.
type TimerFiredEventAttributes struct {
_ struct{} `type:"structure"`
@@ -9701,6 +12605,18 @@ 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 details of the TimerStarted event.
type TimerStartedEventAttributes struct {
_ struct{} `type:"structure"`
@@ -9741,6 +12657,30 @@ 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"`
@@ -9788,6 +12728,18 @@ func (s *WorkflowExecution) Validate() error {
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 details of the WorkflowExecutionCancelRequested event.
type WorkflowExecutionCancelRequestedEventAttributes struct {
_ struct{} `type:"structure"`
@@ -9818,6 +12770,24 @@ 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 details of the WorkflowExecutionCanceled event.
type WorkflowExecutionCanceledEventAttributes struct {
_ struct{} `type:"structure"`
@@ -9844,6 +12814,18 @@ 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 details of the WorkflowExecutionCompleted event.
type WorkflowExecutionCompletedEventAttributes struct {
_ struct{} `type:"structure"`
@@ -9870,6 +12852,18 @@ 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
@@ -9938,6 +12932,42 @@ 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 details of the WorkflowExecutionContinuedAsNew event.
type WorkflowExecutionContinuedAsNewEventAttributes struct {
_ struct{} `type:"structure"`
@@ -10017,6 +13047,72 @@ 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 {
@@ -10042,6 +13138,18 @@ 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 details of the WorkflowExecutionFailed event.
type WorkflowExecutionFailedEventAttributes struct {
_ struct{} `type:"structure"`
@@ -10071,6 +13179,24 @@ 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"`
@@ -10107,6 +13233,12 @@ func (s *WorkflowExecutionFilter) Validate() error {
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"`
@@ -10173,6 +13305,60 @@ 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"`
@@ -10201,6 +13387,18 @@ 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 {
@@ -10242,6 +13440,36 @@ 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 details of the WorkflowExecutionSignaled event.
type WorkflowExecutionSignaledEventAttributes struct {
_ struct{} `type:"structure"`
@@ -10279,6 +13507,30 @@ 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"`
@@ -10363,6 +13615,78 @@ 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 details of the WorkflowExecutionTerminated event.
type WorkflowExecutionTerminatedEventAttributes struct {
_ struct{} `type:"structure"`
@@ -10404,6 +13728,30 @@ 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 details of the WorkflowExecutionTimedOut event.
type WorkflowExecutionTimedOutEventAttributes struct {
_ struct{} `type:"structure"`
@@ -10439,6 +13787,18 @@ 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"`
@@ -10492,6 +13852,18 @@ func (s *WorkflowType) Validate() error {
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"`
@@ -10568,6 +13940,42 @@ 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 {
@@ -10608,6 +14016,18 @@ func (s *WorkflowTypeFilter) Validate() error {
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"`
@@ -10645,6 +14065,36 @@ 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"
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 143e5d0..2f2f9f9 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
@@ -4266,6 +4266,24 @@ func (s *ActivatedRule) Validate() error {
return nil
}
+// SetAction sets the Action field's value.
+func (s *ActivatedRule) SetAction(v *WafAction) *ActivatedRule {
+ s.Action = v
+ return s
+}
+
+// SetPriority sets the Priority field's value.
+func (s *ActivatedRule) SetPriority(v int64) *ActivatedRule {
+ s.Priority = &v
+ return s
+}
+
+// SetRuleId sets the RuleId field's value.
+func (s *ActivatedRule) SetRuleId(v string) *ActivatedRule {
+ s.RuleId = &v
+ return s
+}
+
// In a GetByteMatchSet request, ByteMatchSet is a complex type that contains
// the ByteMatchSetId and Name of a ByteMatchSet, and the values that you specified
// when you updated the ByteMatchSet.
@@ -4310,6 +4328,24 @@ func (s ByteMatchSet) GoString() string {
return s.String()
}
+// SetByteMatchSetId sets the ByteMatchSetId field's value.
+func (s *ByteMatchSet) SetByteMatchSetId(v string) *ByteMatchSet {
+ s.ByteMatchSetId = &v
+ return s
+}
+
+// SetByteMatchTuples sets the ByteMatchTuples field's value.
+func (s *ByteMatchSet) SetByteMatchTuples(v []*ByteMatchTuple) *ByteMatchSet {
+ s.ByteMatchTuples = v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *ByteMatchSet) SetName(v string) *ByteMatchSet {
+ s.Name = &v
+ return s
+}
+
// Returned by ListByteMatchSets. Each ByteMatchSetSummary object includes the
// Name and ByteMatchSetId for one ByteMatchSet.
type ByteMatchSetSummary struct {
@@ -4341,6 +4377,18 @@ func (s ByteMatchSetSummary) GoString() string {
return s.String()
}
+// SetByteMatchSetId sets the ByteMatchSetId field's value.
+func (s *ByteMatchSetSummary) SetByteMatchSetId(v string) *ByteMatchSetSummary {
+ s.ByteMatchSetId = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *ByteMatchSetSummary) SetName(v string) *ByteMatchSetSummary {
+ s.Name = &v
+ return s
+}
+
// In an UpdateByteMatchSet request, ByteMatchSetUpdate specifies whether to
// insert or delete a ByteMatchTuple and includes the settings for the ByteMatchTuple.
type ByteMatchSetUpdate struct {
@@ -4391,6 +4439,18 @@ func (s *ByteMatchSetUpdate) Validate() error {
return nil
}
+// SetAction sets the Action field's value.
+func (s *ByteMatchSetUpdate) SetAction(v string) *ByteMatchSetUpdate {
+ s.Action = &v
+ return s
+}
+
+// SetByteMatchTuple sets the ByteMatchTuple field's value.
+func (s *ByteMatchSetUpdate) SetByteMatchTuple(v *ByteMatchTuple) *ByteMatchSetUpdate {
+ s.ByteMatchTuple = v
+ return s
+}
+
// 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.
@@ -4615,6 +4675,30 @@ func (s *ByteMatchTuple) Validate() error {
return nil
}
+// SetFieldToMatch sets the FieldToMatch field's value.
+func (s *ByteMatchTuple) SetFieldToMatch(v *FieldToMatch) *ByteMatchTuple {
+ s.FieldToMatch = v
+ return s
+}
+
+// SetPositionalConstraint sets the PositionalConstraint field's value.
+func (s *ByteMatchTuple) SetPositionalConstraint(v string) *ByteMatchTuple {
+ s.PositionalConstraint = &v
+ return s
+}
+
+// SetTargetString sets the TargetString field's value.
+func (s *ByteMatchTuple) SetTargetString(v []byte) *ByteMatchTuple {
+ s.TargetString = v
+ return s
+}
+
+// SetTextTransformation sets the TextTransformation field's value.
+func (s *ByteMatchTuple) SetTextTransformation(v string) *ByteMatchTuple {
+ s.TextTransformation = &v
+ return s
+}
+
type CreateByteMatchSetInput struct {
_ struct{} `type:"structure"`
@@ -4662,6 +4746,18 @@ func (s *CreateByteMatchSetInput) Validate() error {
return nil
}
+// SetChangeToken sets the ChangeToken field's value.
+func (s *CreateByteMatchSetInput) SetChangeToken(v string) *CreateByteMatchSetInput {
+ s.ChangeToken = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *CreateByteMatchSetInput) SetName(v string) *CreateByteMatchSetInput {
+ s.Name = &v
+ return s
+}
+
type CreateByteMatchSetOutput struct {
_ struct{} `type:"structure"`
@@ -4684,6 +4780,18 @@ func (s CreateByteMatchSetOutput) GoString() string {
return s.String()
}
+// SetByteMatchSet sets the ByteMatchSet field's value.
+func (s *CreateByteMatchSetOutput) SetByteMatchSet(v *ByteMatchSet) *CreateByteMatchSetOutput {
+ s.ByteMatchSet = v
+ return s
+}
+
+// SetChangeToken sets the ChangeToken field's value.
+func (s *CreateByteMatchSetOutput) SetChangeToken(v string) *CreateByteMatchSetOutput {
+ s.ChangeToken = &v
+ return s
+}
+
type CreateIPSetInput struct {
_ struct{} `type:"structure"`
@@ -4731,6 +4839,18 @@ func (s *CreateIPSetInput) Validate() error {
return nil
}
+// SetChangeToken sets the ChangeToken field's value.
+func (s *CreateIPSetInput) SetChangeToken(v string) *CreateIPSetInput {
+ s.ChangeToken = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *CreateIPSetInput) SetName(v string) *CreateIPSetInput {
+ s.Name = &v
+ return s
+}
+
type CreateIPSetOutput struct {
_ struct{} `type:"structure"`
@@ -4753,6 +4873,18 @@ func (s CreateIPSetOutput) GoString() string {
return s.String()
}
+// SetChangeToken sets the ChangeToken field's value.
+func (s *CreateIPSetOutput) SetChangeToken(v string) *CreateIPSetOutput {
+ s.ChangeToken = &v
+ return s
+}
+
+// SetIPSet sets the IPSet field's value.
+func (s *CreateIPSetOutput) SetIPSet(v *IPSet) *CreateIPSetOutput {
+ s.IPSet = v
+ return s
+}
+
type CreateRuleInput struct {
_ struct{} `type:"structure"`
@@ -4811,6 +4943,24 @@ func (s *CreateRuleInput) Validate() error {
return nil
}
+// SetChangeToken sets the ChangeToken field's value.
+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 *CreateRuleInput) SetName(v string) *CreateRuleInput {
+ s.Name = &v
+ return s
+}
+
type CreateRuleOutput struct {
_ struct{} `type:"structure"`
@@ -4833,6 +4983,18 @@ 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
+}
+
type CreateSizeConstraintSetInput struct {
_ struct{} `type:"structure"`
@@ -4880,6 +5042,18 @@ func (s *CreateSizeConstraintSetInput) Validate() error {
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
+}
+
type CreateSizeConstraintSetOutput struct {
_ struct{} `type:"structure"`
@@ -4902,6 +5076,18 @@ func (s CreateSizeConstraintSetOutput) GoString() string {
return s.String()
}
+// SetChangeToken sets the ChangeToken field's value.
+func (s *CreateSizeConstraintSetOutput) SetChangeToken(v string) *CreateSizeConstraintSetOutput {
+ s.ChangeToken = &v
+ return s
+}
+
+// SetSizeConstraintSet sets the SizeConstraintSet field's value.
+func (s *CreateSizeConstraintSetOutput) SetSizeConstraintSet(v *SizeConstraintSet) *CreateSizeConstraintSetOutput {
+ s.SizeConstraintSet = v
+ return s
+}
+
// A request to create a SqlInjectionMatchSet.
type CreateSqlInjectionMatchSetInput struct {
_ struct{} `type:"structure"`
@@ -4950,6 +5136,18 @@ func (s *CreateSqlInjectionMatchSetInput) Validate() error {
return nil
}
+// SetChangeToken sets the ChangeToken field's value.
+func (s *CreateSqlInjectionMatchSetInput) SetChangeToken(v string) *CreateSqlInjectionMatchSetInput {
+ s.ChangeToken = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *CreateSqlInjectionMatchSetInput) SetName(v string) *CreateSqlInjectionMatchSetInput {
+ s.Name = &v
+ return s
+}
+
// The response to a CreateSqlInjectionMatchSet request.
type CreateSqlInjectionMatchSetOutput struct {
_ struct{} `type:"structure"`
@@ -4973,6 +5171,18 @@ func (s CreateSqlInjectionMatchSetOutput) GoString() string {
return s.String()
}
+// SetChangeToken sets the ChangeToken field's value.
+func (s *CreateSqlInjectionMatchSetOutput) SetChangeToken(v string) *CreateSqlInjectionMatchSetOutput {
+ s.ChangeToken = &v
+ return s
+}
+
+// SetSqlInjectionMatchSet sets the SqlInjectionMatchSet field's value.
+func (s *CreateSqlInjectionMatchSetOutput) SetSqlInjectionMatchSet(v *SqlInjectionMatchSet) *CreateSqlInjectionMatchSetOutput {
+ s.SqlInjectionMatchSet = v
+ return s
+}
+
type CreateWebACLInput struct {
_ struct{} `type:"structure"`
@@ -5045,6 +5255,30 @@ func (s *CreateWebACLInput) Validate() error {
return nil
}
+// SetChangeToken sets the ChangeToken field's value.
+func (s *CreateWebACLInput) SetChangeToken(v string) *CreateWebACLInput {
+ s.ChangeToken = &v
+ return s
+}
+
+// SetDefaultAction sets the DefaultAction field's value.
+func (s *CreateWebACLInput) SetDefaultAction(v *WafAction) *CreateWebACLInput {
+ s.DefaultAction = v
+ return s
+}
+
+// SetMetricName sets the MetricName field's value.
+func (s *CreateWebACLInput) SetMetricName(v string) *CreateWebACLInput {
+ s.MetricName = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *CreateWebACLInput) SetName(v string) *CreateWebACLInput {
+ s.Name = &v
+ return s
+}
+
type CreateWebACLOutput struct {
_ struct{} `type:"structure"`
@@ -5067,6 +5301,18 @@ func (s CreateWebACLOutput) GoString() string {
return s.String()
}
+// SetChangeToken sets the ChangeToken field's value.
+func (s *CreateWebACLOutput) SetChangeToken(v string) *CreateWebACLOutput {
+ s.ChangeToken = &v
+ return s
+}
+
+// SetWebACL sets the WebACL field's value.
+func (s *CreateWebACLOutput) SetWebACL(v *WebACL) *CreateWebACLOutput {
+ s.WebACL = v
+ return s
+}
+
// A request to create an XssMatchSet.
type CreateXssMatchSetInput struct {
_ struct{} `type:"structure"`
@@ -5115,6 +5361,18 @@ func (s *CreateXssMatchSetInput) Validate() error {
return nil
}
+// SetChangeToken sets the ChangeToken field's value.
+func (s *CreateXssMatchSetInput) SetChangeToken(v string) *CreateXssMatchSetInput {
+ s.ChangeToken = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *CreateXssMatchSetInput) SetName(v string) *CreateXssMatchSetInput {
+ s.Name = &v
+ return s
+}
+
// The response to a CreateXssMatchSet request.
type CreateXssMatchSetOutput struct {
_ struct{} `type:"structure"`
@@ -5138,6 +5396,18 @@ func (s CreateXssMatchSetOutput) GoString() string {
return s.String()
}
+// SetChangeToken sets the ChangeToken field's value.
+func (s *CreateXssMatchSetOutput) SetChangeToken(v string) *CreateXssMatchSetOutput {
+ s.ChangeToken = &v
+ return s
+}
+
+// SetXssMatchSet sets the XssMatchSet field's value.
+func (s *CreateXssMatchSetOutput) SetXssMatchSet(v *XssMatchSet) *CreateXssMatchSetOutput {
+ s.XssMatchSet = v
+ return s
+}
+
type DeleteByteMatchSetInput struct {
_ struct{} `type:"structure"`
@@ -5185,6 +5455,18 @@ func (s *DeleteByteMatchSetInput) Validate() error {
return nil
}
+// SetByteMatchSetId sets the ByteMatchSetId field's value.
+func (s *DeleteByteMatchSetInput) SetByteMatchSetId(v string) *DeleteByteMatchSetInput {
+ s.ByteMatchSetId = &v
+ return s
+}
+
+// SetChangeToken sets the ChangeToken field's value.
+func (s *DeleteByteMatchSetInput) SetChangeToken(v string) *DeleteByteMatchSetInput {
+ s.ChangeToken = &v
+ return s
+}
+
type DeleteByteMatchSetOutput struct {
_ struct{} `type:"structure"`
@@ -5204,6 +5486,12 @@ func (s DeleteByteMatchSetOutput) GoString() string {
return s.String()
}
+// SetChangeToken sets the ChangeToken field's value.
+func (s *DeleteByteMatchSetOutput) SetChangeToken(v string) *DeleteByteMatchSetOutput {
+ s.ChangeToken = &v
+ return s
+}
+
type DeleteIPSetInput struct {
_ struct{} `type:"structure"`
@@ -5251,6 +5539,18 @@ func (s *DeleteIPSetInput) Validate() error {
return nil
}
+// SetChangeToken sets the ChangeToken field's value.
+func (s *DeleteIPSetInput) SetChangeToken(v string) *DeleteIPSetInput {
+ s.ChangeToken = &v
+ return s
+}
+
+// SetIPSetId sets the IPSetId field's value.
+func (s *DeleteIPSetInput) SetIPSetId(v string) *DeleteIPSetInput {
+ s.IPSetId = &v
+ return s
+}
+
type DeleteIPSetOutput struct {
_ struct{} `type:"structure"`
@@ -5270,6 +5570,12 @@ func (s DeleteIPSetOutput) GoString() string {
return s.String()
}
+// SetChangeToken sets the ChangeToken field's value.
+func (s *DeleteIPSetOutput) SetChangeToken(v string) *DeleteIPSetOutput {
+ s.ChangeToken = &v
+ return s
+}
+
type DeleteRuleInput struct {
_ struct{} `type:"structure"`
@@ -5317,6 +5623,18 @@ func (s *DeleteRuleInput) Validate() error {
return nil
}
+// SetChangeToken sets the ChangeToken field's value.
+func (s *DeleteRuleInput) SetChangeToken(v string) *DeleteRuleInput {
+ s.ChangeToken = &v
+ return s
+}
+
+// SetRuleId sets the RuleId field's value.
+func (s *DeleteRuleInput) SetRuleId(v string) *DeleteRuleInput {
+ s.RuleId = &v
+ return s
+}
+
type DeleteRuleOutput struct {
_ struct{} `type:"structure"`
@@ -5336,6 +5654,12 @@ func (s DeleteRuleOutput) GoString() string {
return s.String()
}
+// SetChangeToken sets the ChangeToken field's value.
+func (s *DeleteRuleOutput) SetChangeToken(v string) *DeleteRuleOutput {
+ s.ChangeToken = &v
+ return s
+}
+
type DeleteSizeConstraintSetInput struct {
_ struct{} `type:"structure"`
@@ -5383,6 +5707,18 @@ func (s *DeleteSizeConstraintSetInput) Validate() error {
return nil
}
+// SetChangeToken sets the ChangeToken field's value.
+func (s *DeleteSizeConstraintSetInput) SetChangeToken(v string) *DeleteSizeConstraintSetInput {
+ s.ChangeToken = &v
+ return s
+}
+
+// SetSizeConstraintSetId sets the SizeConstraintSetId field's value.
+func (s *DeleteSizeConstraintSetInput) SetSizeConstraintSetId(v string) *DeleteSizeConstraintSetInput {
+ s.SizeConstraintSetId = &v
+ return s
+}
+
type DeleteSizeConstraintSetOutput struct {
_ struct{} `type:"structure"`
@@ -5402,6 +5738,12 @@ func (s DeleteSizeConstraintSetOutput) GoString() string {
return s.String()
}
+// SetChangeToken sets the ChangeToken field's value.
+func (s *DeleteSizeConstraintSetOutput) SetChangeToken(v string) *DeleteSizeConstraintSetOutput {
+ s.ChangeToken = &v
+ return s
+}
+
// A request to delete a SqlInjectionMatchSet from AWS WAF.
type DeleteSqlInjectionMatchSetInput struct {
_ struct{} `type:"structure"`
@@ -5450,6 +5792,18 @@ func (s *DeleteSqlInjectionMatchSetInput) Validate() error {
return nil
}
+// SetChangeToken sets the ChangeToken field's value.
+func (s *DeleteSqlInjectionMatchSetInput) SetChangeToken(v string) *DeleteSqlInjectionMatchSetInput {
+ s.ChangeToken = &v
+ return s
+}
+
+// SetSqlInjectionMatchSetId sets the SqlInjectionMatchSetId field's value.
+func (s *DeleteSqlInjectionMatchSetInput) SetSqlInjectionMatchSetId(v string) *DeleteSqlInjectionMatchSetInput {
+ s.SqlInjectionMatchSetId = &v
+ return s
+}
+
// The response to a request to delete a SqlInjectionMatchSet from AWS WAF.
type DeleteSqlInjectionMatchSetOutput struct {
_ struct{} `type:"structure"`
@@ -5470,6 +5824,12 @@ func (s DeleteSqlInjectionMatchSetOutput) GoString() string {
return s.String()
}
+// SetChangeToken sets the ChangeToken field's value.
+func (s *DeleteSqlInjectionMatchSetOutput) SetChangeToken(v string) *DeleteSqlInjectionMatchSetOutput {
+ s.ChangeToken = &v
+ return s
+}
+
type DeleteWebACLInput struct {
_ struct{} `type:"structure"`
@@ -5517,6 +5877,18 @@ func (s *DeleteWebACLInput) Validate() error {
return nil
}
+// SetChangeToken sets the ChangeToken field's value.
+func (s *DeleteWebACLInput) SetChangeToken(v string) *DeleteWebACLInput {
+ s.ChangeToken = &v
+ return s
+}
+
+// SetWebACLId sets the WebACLId field's value.
+func (s *DeleteWebACLInput) SetWebACLId(v string) *DeleteWebACLInput {
+ s.WebACLId = &v
+ return s
+}
+
type DeleteWebACLOutput struct {
_ struct{} `type:"structure"`
@@ -5536,6 +5908,12 @@ func (s DeleteWebACLOutput) GoString() string {
return s.String()
}
+// SetChangeToken sets the ChangeToken field's value.
+func (s *DeleteWebACLOutput) SetChangeToken(v string) *DeleteWebACLOutput {
+ s.ChangeToken = &v
+ return s
+}
+
// A request to delete an XssMatchSet from AWS WAF.
type DeleteXssMatchSetInput struct {
_ struct{} `type:"structure"`
@@ -5584,6 +5962,18 @@ func (s *DeleteXssMatchSetInput) Validate() error {
return nil
}
+// SetChangeToken sets the ChangeToken field's value.
+func (s *DeleteXssMatchSetInput) SetChangeToken(v string) *DeleteXssMatchSetInput {
+ s.ChangeToken = &v
+ return s
+}
+
+// SetXssMatchSetId sets the XssMatchSetId field's value.
+func (s *DeleteXssMatchSetInput) SetXssMatchSetId(v string) *DeleteXssMatchSetInput {
+ s.XssMatchSetId = &v
+ return s
+}
+
// The response to a request to delete an XssMatchSet from AWS WAF.
type DeleteXssMatchSetOutput struct {
_ struct{} `type:"structure"`
@@ -5604,6 +5994,12 @@ func (s DeleteXssMatchSetOutput) GoString() string {
return s.String()
}
+// SetChangeToken sets the ChangeToken field's value.
+func (s *DeleteXssMatchSetOutput) SetChangeToken(v string) *DeleteXssMatchSetOutput {
+ s.ChangeToken = &v
+ return s
+}
+
// Specifies where in a web request to look for TargetString.
type FieldToMatch struct {
_ struct{} `type:"structure"`
@@ -5667,6 +6063,18 @@ func (s *FieldToMatch) Validate() error {
return nil
}
+// SetData sets the Data field's value.
+func (s *FieldToMatch) SetData(v string) *FieldToMatch {
+ s.Data = &v
+ return s
+}
+
+// SetType sets the Type field's value.
+func (s *FieldToMatch) SetType(v string) *FieldToMatch {
+ s.Type = &v
+ return s
+}
+
type GetByteMatchSetInput struct {
_ struct{} `type:"structure"`
@@ -5703,6 +6111,12 @@ func (s *GetByteMatchSetInput) Validate() error {
return nil
}
+// SetByteMatchSetId sets the ByteMatchSetId field's value.
+func (s *GetByteMatchSetInput) SetByteMatchSetId(v string) *GetByteMatchSetInput {
+ s.ByteMatchSetId = &v
+ return s
+}
+
type GetByteMatchSetOutput struct {
_ struct{} `type:"structure"`
@@ -5729,6 +6143,12 @@ func (s GetByteMatchSetOutput) GoString() string {
return s.String()
}
+// SetByteMatchSet sets the ByteMatchSet field's value.
+func (s *GetByteMatchSetOutput) SetByteMatchSet(v *ByteMatchSet) *GetByteMatchSetOutput {
+ s.ByteMatchSet = v
+ return s
+}
+
type GetChangeTokenInput struct {
_ struct{} `type:"structure"`
}
@@ -5761,6 +6181,12 @@ func (s GetChangeTokenOutput) GoString() string {
return s.String()
}
+// SetChangeToken sets the ChangeToken field's value.
+func (s *GetChangeTokenOutput) SetChangeToken(v string) *GetChangeTokenOutput {
+ s.ChangeToken = &v
+ return s
+}
+
type GetChangeTokenStatusInput struct {
_ struct{} `type:"structure"`
@@ -5797,6 +6223,12 @@ func (s *GetChangeTokenStatusInput) Validate() error {
return nil
}
+// SetChangeToken sets the ChangeToken field's value.
+func (s *GetChangeTokenStatusInput) SetChangeToken(v string) *GetChangeTokenStatusInput {
+ s.ChangeToken = &v
+ return s
+}
+
type GetChangeTokenStatusOutput struct {
_ struct{} `type:"structure"`
@@ -5814,6 +6246,12 @@ func (s GetChangeTokenStatusOutput) GoString() string {
return s.String()
}
+// SetChangeTokenStatus sets the ChangeTokenStatus field's value.
+func (s *GetChangeTokenStatusOutput) SetChangeTokenStatus(v string) *GetChangeTokenStatusOutput {
+ s.ChangeTokenStatus = &v
+ return s
+}
+
type GetIPSetInput struct {
_ struct{} `type:"structure"`
@@ -5850,6 +6288,12 @@ func (s *GetIPSetInput) Validate() error {
return nil
}
+// SetIPSetId sets the IPSetId field's value.
+func (s *GetIPSetInput) SetIPSetId(v string) *GetIPSetInput {
+ s.IPSetId = &v
+ return s
+}
+
type GetIPSetOutput struct {
_ struct{} `type:"structure"`
@@ -5873,6 +6317,12 @@ func (s GetIPSetOutput) GoString() string {
return s.String()
}
+// SetIPSet sets the IPSet field's value.
+func (s *GetIPSetOutput) SetIPSet(v *IPSet) *GetIPSetOutput {
+ s.IPSet = v
+ return s
+}
+
type GetRuleInput struct {
_ struct{} `type:"structure"`
@@ -5909,6 +6359,12 @@ func (s *GetRuleInput) Validate() error {
return nil
}
+// SetRuleId sets the RuleId field's value.
+func (s *GetRuleInput) SetRuleId(v string) *GetRuleInput {
+ s.RuleId = &v
+ return s
+}
+
type GetRuleOutput struct {
_ struct{} `type:"structure"`
@@ -5932,6 +6388,12 @@ func (s GetRuleOutput) GoString() string {
return s.String()
}
+// SetRule sets the Rule field's value.
+func (s *GetRuleOutput) SetRule(v *Rule) *GetRuleOutput {
+ s.Rule = v
+ return s
+}
+
type GetSampledRequestsInput struct {
_ struct{} `type:"structure"`
@@ -6015,6 +6477,30 @@ func (s *GetSampledRequestsInput) Validate() error {
return nil
}
+// SetMaxItems sets the MaxItems field's value.
+func (s *GetSampledRequestsInput) SetMaxItems(v int64) *GetSampledRequestsInput {
+ s.MaxItems = &v
+ return s
+}
+
+// SetRuleId sets the RuleId field's value.
+func (s *GetSampledRequestsInput) SetRuleId(v string) *GetSampledRequestsInput {
+ s.RuleId = &v
+ return s
+}
+
+// SetTimeWindow sets the TimeWindow field's value.
+func (s *GetSampledRequestsInput) SetTimeWindow(v *TimeWindow) *GetSampledRequestsInput {
+ s.TimeWindow = v
+ return s
+}
+
+// SetWebAclId sets the WebAclId field's value.
+func (s *GetSampledRequestsInput) SetWebAclId(v string) *GetSampledRequestsInput {
+ s.WebAclId = &v
+ return s
+}
+
type GetSampledRequestsOutput struct {
_ struct{} `type:"structure"`
@@ -6044,6 +6530,24 @@ func (s GetSampledRequestsOutput) GoString() string {
return s.String()
}
+// SetPopulationSize sets the PopulationSize field's value.
+func (s *GetSampledRequestsOutput) SetPopulationSize(v int64) *GetSampledRequestsOutput {
+ s.PopulationSize = &v
+ return s
+}
+
+// SetSampledRequests sets the SampledRequests field's value.
+func (s *GetSampledRequestsOutput) SetSampledRequests(v []*SampledHTTPRequest) *GetSampledRequestsOutput {
+ s.SampledRequests = v
+ return s
+}
+
+// SetTimeWindow sets the TimeWindow field's value.
+func (s *GetSampledRequestsOutput) SetTimeWindow(v *TimeWindow) *GetSampledRequestsOutput {
+ s.TimeWindow = v
+ return s
+}
+
type GetSizeConstraintSetInput struct {
_ struct{} `type:"structure"`
@@ -6080,6 +6584,12 @@ func (s *GetSizeConstraintSetInput) Validate() error {
return nil
}
+// SetSizeConstraintSetId sets the SizeConstraintSetId field's value.
+func (s *GetSizeConstraintSetInput) SetSizeConstraintSetId(v string) *GetSizeConstraintSetInput {
+ s.SizeConstraintSetId = &v
+ return s
+}
+
type GetSizeConstraintSetOutput struct {
_ struct{} `type:"structure"`
@@ -6107,6 +6617,12 @@ func (s GetSizeConstraintSetOutput) GoString() string {
return s.String()
}
+// SetSizeConstraintSet sets the SizeConstraintSet field's value.
+func (s *GetSizeConstraintSetOutput) SetSizeConstraintSet(v *SizeConstraintSet) *GetSizeConstraintSetOutput {
+ s.SizeConstraintSet = v
+ return s
+}
+
// A request to get a SqlInjectionMatchSet.
type GetSqlInjectionMatchSetInput struct {
_ struct{} `type:"structure"`
@@ -6144,6 +6660,12 @@ func (s *GetSqlInjectionMatchSetInput) Validate() error {
return nil
}
+// SetSqlInjectionMatchSetId sets the SqlInjectionMatchSetId field's value.
+func (s *GetSqlInjectionMatchSetInput) SetSqlInjectionMatchSetId(v string) *GetSqlInjectionMatchSetInput {
+ s.SqlInjectionMatchSetId = &v
+ return s
+}
+
// The response to a GetSqlInjectionMatchSet request.
type GetSqlInjectionMatchSetOutput struct {
_ struct{} `type:"structure"`
@@ -6171,6 +6693,12 @@ func (s GetSqlInjectionMatchSetOutput) GoString() string {
return s.String()
}
+// SetSqlInjectionMatchSet sets the SqlInjectionMatchSet field's value.
+func (s *GetSqlInjectionMatchSetOutput) SetSqlInjectionMatchSet(v *SqlInjectionMatchSet) *GetSqlInjectionMatchSetOutput {
+ s.SqlInjectionMatchSet = v
+ return s
+}
+
type GetWebACLInput struct {
_ struct{} `type:"structure"`
@@ -6207,6 +6735,12 @@ func (s *GetWebACLInput) Validate() error {
return nil
}
+// SetWebACLId sets the WebACLId field's value.
+func (s *GetWebACLInput) SetWebACLId(v string) *GetWebACLInput {
+ s.WebACLId = &v
+ return s
+}
+
type GetWebACLOutput struct {
_ struct{} `type:"structure"`
@@ -6235,6 +6769,12 @@ func (s GetWebACLOutput) GoString() string {
return s.String()
}
+// SetWebACL sets the WebACL field's value.
+func (s *GetWebACLOutput) SetWebACL(v *WebACL) *GetWebACLOutput {
+ s.WebACL = v
+ return s
+}
+
// A request to get an XssMatchSet.
type GetXssMatchSetInput struct {
_ struct{} `type:"structure"`
@@ -6272,6 +6812,12 @@ func (s *GetXssMatchSetInput) Validate() error {
return nil
}
+// SetXssMatchSetId sets the XssMatchSetId field's value.
+func (s *GetXssMatchSetInput) SetXssMatchSetId(v string) *GetXssMatchSetInput {
+ s.XssMatchSetId = &v
+ return s
+}
+
// The response to a GetXssMatchSet request.
type GetXssMatchSetOutput struct {
_ struct{} `type:"structure"`
@@ -6298,6 +6844,12 @@ func (s GetXssMatchSetOutput) GoString() string {
return s.String()
}
+// SetXssMatchSet sets the XssMatchSet field's value.
+func (s *GetXssMatchSetOutput) SetXssMatchSet(v *XssMatchSet) *GetXssMatchSetOutput {
+ s.XssMatchSet = v
+ return s
+}
+
// The response from a GetSampledRequests request includes an HTTPHeader complex
// 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
@@ -6322,6 +6874,18 @@ func (s HTTPHeader) GoString() string {
return s.String()
}
+// SetName sets the Name field's value.
+func (s *HTTPHeader) SetName(v string) *HTTPHeader {
+ s.Name = &v
+ return s
+}
+
+// SetValue sets the Value field's value.
+func (s *HTTPHeader) SetValue(v string) *HTTPHeader {
+ s.Value = &v
+ return s
+}
+
// 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.
@@ -6369,6 +6933,42 @@ func (s HTTPRequest) GoString() string {
return s.String()
}
+// SetClientIP sets the ClientIP field's value.
+func (s *HTTPRequest) SetClientIP(v string) *HTTPRequest {
+ s.ClientIP = &v
+ return s
+}
+
+// SetCountry sets the Country field's value.
+func (s *HTTPRequest) SetCountry(v string) *HTTPRequest {
+ s.Country = &v
+ return s
+}
+
+// SetHTTPVersion sets the HTTPVersion field's value.
+func (s *HTTPRequest) SetHTTPVersion(v string) *HTTPRequest {
+ s.HTTPVersion = &v
+ return s
+}
+
+// SetHeaders sets the Headers field's value.
+func (s *HTTPRequest) SetHeaders(v []*HTTPHeader) *HTTPRequest {
+ s.Headers = v
+ return s
+}
+
+// SetMethod sets the Method field's value.
+func (s *HTTPRequest) SetMethod(v string) *HTTPRequest {
+ s.Method = &v
+ return s
+}
+
+// SetURI sets the URI field's value.
+func (s *HTTPRequest) SetURI(v string) *HTTPRequest {
+ s.URI = &v
+ return s
+}
+
// Contains one or more IP addresses or blocks of IP addresses specified in
// Classless Inter-Domain Routing (CIDR) notation. To specify an individual
// IP address, you specify the four-part IP address followed by a /32, for example,
@@ -6417,6 +7017,24 @@ func (s IPSet) GoString() string {
return s.String()
}
+// SetIPSetDescriptors sets the IPSetDescriptors field's value.
+func (s *IPSet) SetIPSetDescriptors(v []*IPSetDescriptor) *IPSet {
+ s.IPSetDescriptors = v
+ return s
+}
+
+// SetIPSetId sets the IPSetId field's value.
+func (s *IPSet) SetIPSetId(v string) *IPSet {
+ s.IPSetId = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *IPSet) SetName(v string) *IPSet {
+ s.Name = &v
+ return s
+}
+
// Specifies the IP address type (IPV4) and the IP address range (in CIDR format)
// that web requests originate from.
type IPSetDescriptor struct {
@@ -6470,6 +7088,18 @@ func (s *IPSetDescriptor) Validate() error {
return nil
}
+// SetType sets the Type field's value.
+func (s *IPSetDescriptor) SetType(v string) *IPSetDescriptor {
+ s.Type = &v
+ return s
+}
+
+// SetValue sets the Value field's value.
+func (s *IPSetDescriptor) SetValue(v string) *IPSetDescriptor {
+ s.Value = &v
+ return s
+}
+
// Contains the identifier and the name of the IPSet.
type IPSetSummary struct {
_ struct{} `type:"structure"`
@@ -6497,6 +7127,18 @@ func (s IPSetSummary) GoString() string {
return s.String()
}
+// SetIPSetId sets the IPSetId field's value.
+func (s *IPSetSummary) SetIPSetId(v string) *IPSetSummary {
+ s.IPSetId = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *IPSetSummary) SetName(v string) *IPSetSummary {
+ s.Name = &v
+ return s
+}
+
// Specifies the type of update to perform to an IPSet with UpdateIPSet.
type IPSetUpdate struct {
_ struct{} `type:"structure"`
@@ -6544,6 +7186,18 @@ func (s *IPSetUpdate) Validate() error {
return nil
}
+// SetAction sets the Action field's value.
+func (s *IPSetUpdate) SetAction(v string) *IPSetUpdate {
+ s.Action = &v
+ return s
+}
+
+// SetIPSetDescriptor sets the IPSetDescriptor field's value.
+func (s *IPSetUpdate) SetIPSetDescriptor(v *IPSetDescriptor) *IPSetUpdate {
+ s.IPSetDescriptor = v
+ return s
+}
+
type ListByteMatchSetsInput struct {
_ struct{} `type:"structure"`
@@ -6584,6 +7238,18 @@ func (s *ListByteMatchSetsInput) Validate() error {
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
+}
+
type ListByteMatchSetsOutput struct {
_ struct{} `type:"structure"`
@@ -6608,6 +7274,18 @@ 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
+}
+
type ListIPSetsInput struct {
_ struct{} `type:"structure"`
@@ -6648,6 +7326,18 @@ func (s *ListIPSetsInput) Validate() error {
return nil
}
+// SetLimit sets the Limit field's value.
+func (s *ListIPSetsInput) SetLimit(v int64) *ListIPSetsInput {
+ s.Limit = &v
+ return s
+}
+
+// SetNextMarker sets the NextMarker field's value.
+func (s *ListIPSetsInput) SetNextMarker(v string) *ListIPSetsInput {
+ s.NextMarker = &v
+ return s
+}
+
type ListIPSetsOutput struct {
_ struct{} `type:"structure"`
@@ -6671,6 +7361,18 @@ func (s ListIPSetsOutput) GoString() string {
return s.String()
}
+// SetIPSets sets the IPSets field's value.
+func (s *ListIPSetsOutput) SetIPSets(v []*IPSetSummary) *ListIPSetsOutput {
+ s.IPSets = v
+ return s
+}
+
+// SetNextMarker sets the NextMarker field's value.
+func (s *ListIPSetsOutput) SetNextMarker(v string) *ListIPSetsOutput {
+ s.NextMarker = &v
+ return s
+}
+
type ListRulesInput struct {
_ struct{} `type:"structure"`
@@ -6710,6 +7412,18 @@ func (s *ListRulesInput) Validate() error {
return nil
}
+// SetLimit sets the Limit field's value.
+func (s *ListRulesInput) SetLimit(v int64) *ListRulesInput {
+ s.Limit = &v
+ return s
+}
+
+// SetNextMarker sets the NextMarker field's value.
+func (s *ListRulesInput) SetNextMarker(v string) *ListRulesInput {
+ s.NextMarker = &v
+ return s
+}
+
type ListRulesOutput struct {
_ struct{} `type:"structure"`
@@ -6733,6 +7447,18 @@ func (s ListRulesOutput) GoString() string {
return s.String()
}
+// SetNextMarker sets the NextMarker field's value.
+func (s *ListRulesOutput) SetNextMarker(v string) *ListRulesOutput {
+ s.NextMarker = &v
+ return s
+}
+
+// SetRules sets the Rules field's value.
+func (s *ListRulesOutput) SetRules(v []*RuleSummary) *ListRulesOutput {
+ s.Rules = v
+ return s
+}
+
type ListSizeConstraintSetsInput struct {
_ struct{} `type:"structure"`
@@ -6773,6 +7499,18 @@ func (s *ListSizeConstraintSetsInput) Validate() error {
return nil
}
+// SetLimit sets the Limit field's value.
+func (s *ListSizeConstraintSetsInput) SetLimit(v int64) *ListSizeConstraintSetsInput {
+ s.Limit = &v
+ return s
+}
+
+// SetNextMarker sets the NextMarker field's value.
+func (s *ListSizeConstraintSetsInput) SetNextMarker(v string) *ListSizeConstraintSetsInput {
+ s.NextMarker = &v
+ return s
+}
+
type ListSizeConstraintSetsOutput struct {
_ struct{} `type:"structure"`
@@ -6797,6 +7535,18 @@ func (s ListSizeConstraintSetsOutput) GoString() string {
return s.String()
}
+// SetNextMarker sets the NextMarker field's value.
+func (s *ListSizeConstraintSetsOutput) SetNextMarker(v string) *ListSizeConstraintSetsOutput {
+ s.NextMarker = &v
+ return s
+}
+
+// SetSizeConstraintSets sets the SizeConstraintSets field's value.
+func (s *ListSizeConstraintSetsOutput) SetSizeConstraintSets(v []*SizeConstraintSetSummary) *ListSizeConstraintSetsOutput {
+ s.SizeConstraintSets = v
+ return s
+}
+
// A request to list the SqlInjectionMatchSet objects created by the current
// AWS account.
type ListSqlInjectionMatchSetsInput struct {
@@ -6839,6 +7589,18 @@ func (s *ListSqlInjectionMatchSetsInput) Validate() error {
return nil
}
+// SetLimit sets the Limit field's value.
+func (s *ListSqlInjectionMatchSetsInput) SetLimit(v int64) *ListSqlInjectionMatchSetsInput {
+ s.Limit = &v
+ return s
+}
+
+// SetNextMarker sets the NextMarker field's value.
+func (s *ListSqlInjectionMatchSetsInput) SetNextMarker(v string) *ListSqlInjectionMatchSetsInput {
+ s.NextMarker = &v
+ return s
+}
+
// The response to a ListSqlInjectionMatchSets request.
type ListSqlInjectionMatchSetsOutput struct {
_ struct{} `type:"structure"`
@@ -6864,6 +7626,18 @@ func (s ListSqlInjectionMatchSetsOutput) GoString() string {
return s.String()
}
+// SetNextMarker sets the NextMarker field's value.
+func (s *ListSqlInjectionMatchSetsOutput) SetNextMarker(v string) *ListSqlInjectionMatchSetsOutput {
+ s.NextMarker = &v
+ return s
+}
+
+// SetSqlInjectionMatchSets sets the SqlInjectionMatchSets field's value.
+func (s *ListSqlInjectionMatchSetsOutput) SetSqlInjectionMatchSets(v []*SqlInjectionMatchSetSummary) *ListSqlInjectionMatchSetsOutput {
+ s.SqlInjectionMatchSets = v
+ return s
+}
+
type ListWebACLsInput struct {
_ struct{} `type:"structure"`
@@ -6905,6 +7679,18 @@ func (s *ListWebACLsInput) Validate() error {
return nil
}
+// SetLimit sets the Limit field's value.
+func (s *ListWebACLsInput) SetLimit(v int64) *ListWebACLsInput {
+ s.Limit = &v
+ return s
+}
+
+// SetNextMarker sets the NextMarker field's value.
+func (s *ListWebACLsInput) SetNextMarker(v string) *ListWebACLsInput {
+ s.NextMarker = &v
+ return s
+}
+
type ListWebACLsOutput struct {
_ struct{} `type:"structure"`
@@ -6928,6 +7714,18 @@ func (s ListWebACLsOutput) GoString() string {
return s.String()
}
+// SetNextMarker sets the NextMarker field's value.
+func (s *ListWebACLsOutput) SetNextMarker(v string) *ListWebACLsOutput {
+ s.NextMarker = &v
+ return s
+}
+
+// SetWebACLs sets the WebACLs field's value.
+func (s *ListWebACLsOutput) SetWebACLs(v []*WebACLSummary) *ListWebACLsOutput {
+ s.WebACLs = v
+ return s
+}
+
// A request to list the XssMatchSet objects created by the current AWS account.
type ListXssMatchSetsInput struct {
_ struct{} `type:"structure"`
@@ -6969,6 +7767,18 @@ func (s *ListXssMatchSetsInput) Validate() error {
return nil
}
+// SetLimit sets the Limit field's value.
+func (s *ListXssMatchSetsInput) SetLimit(v int64) *ListXssMatchSetsInput {
+ s.Limit = &v
+ return s
+}
+
+// SetNextMarker sets the NextMarker field's value.
+func (s *ListXssMatchSetsInput) SetNextMarker(v string) *ListXssMatchSetsInput {
+ s.NextMarker = &v
+ return s
+}
+
// The response to a ListXssMatchSets request.
type ListXssMatchSetsOutput struct {
_ struct{} `type:"structure"`
@@ -6994,6 +7804,18 @@ func (s ListXssMatchSetsOutput) GoString() string {
return s.String()
}
+// SetNextMarker sets the NextMarker field's value.
+func (s *ListXssMatchSetsOutput) SetNextMarker(v string) *ListXssMatchSetsOutput {
+ s.NextMarker = &v
+ return s
+}
+
+// SetXssMatchSets sets the XssMatchSets field's value.
+func (s *ListXssMatchSetsOutput) SetXssMatchSets(v []*XssMatchSetSummary) *ListXssMatchSetsOutput {
+ s.XssMatchSets = v
+ return s
+}
+
// Specifies the ByteMatchSet, IPSet, SqlInjectionMatchSet, XssMatchSet, 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
@@ -7060,6 +7882,24 @@ func (s *Predicate) Validate() error {
return nil
}
+// SetDataId sets the DataId field's value.
+func (s *Predicate) SetDataId(v string) *Predicate {
+ s.DataId = &v
+ return s
+}
+
+// SetNegated sets the Negated field's value.
+func (s *Predicate) SetNegated(v bool) *Predicate {
+ s.Negated = &v
+ return s
+}
+
+// SetType sets the Type field's value.
+func (s *Predicate) SetType(v string) *Predicate {
+ s.Type = &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:
@@ -7108,6 +7948,30 @@ 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
+}
+
// Contains the identifier and the friendly name or description of the Rule.
type RuleSummary struct {
_ struct{} `type:"structure"`
@@ -7139,6 +8003,18 @@ func (s RuleSummary) GoString() string {
return s.String()
}
+// SetName sets the Name field's value.
+func (s *RuleSummary) SetName(v string) *RuleSummary {
+ s.Name = &v
+ return s
+}
+
+// SetRuleId sets the RuleId field's value.
+func (s *RuleSummary) SetRuleId(v string) *RuleSummary {
+ s.RuleId = &v
+ return s
+}
+
// Specifies a Predicate (such as an IPSet) and indicates whether you want to
// add it to a Rule or delete it from a Rule.
type RuleUpdate struct {
@@ -7187,6 +8063,18 @@ func (s *RuleUpdate) Validate() error {
return nil
}
+// SetAction sets the Action field's value.
+func (s *RuleUpdate) SetAction(v string) *RuleUpdate {
+ s.Action = &v
+ return s
+}
+
+// SetPredicate sets the Predicate field's value.
+func (s *RuleUpdate) SetPredicate(v *Predicate) *RuleUpdate {
+ s.Predicate = v
+ return s
+}
+
// The response from a GetSampledRequests request includes a SampledHTTPRequests
// complex type that appears as SampledRequests in the response syntax. SampledHTTPRequests
// contains one SampledHTTPRequest object for each web request that is returned
@@ -7225,6 +8113,30 @@ func (s SampledHTTPRequest) GoString() string {
return s.String()
}
+// SetAction sets the Action field's value.
+func (s *SampledHTTPRequest) SetAction(v string) *SampledHTTPRequest {
+ s.Action = &v
+ return s
+}
+
+// SetRequest sets the Request field's value.
+func (s *SampledHTTPRequest) SetRequest(v *HTTPRequest) *SampledHTTPRequest {
+ s.Request = v
+ return s
+}
+
+// SetTimestamp sets the Timestamp field's value.
+func (s *SampledHTTPRequest) SetTimestamp(v time.Time) *SampledHTTPRequest {
+ s.Timestamp = &v
+ return s
+}
+
+// SetWeight sets the Weight field's value.
+func (s *SampledHTTPRequest) SetWeight(v int64) *SampledHTTPRequest {
+ s.Weight = &v
+ return s
+}
+
// Specifies a constraint on the size of a part of the web request. AWS WAF
// uses the Size, ComparisonOperator, and FieldToMatch to build an expression
// in the form of "SizeComparisonOperator size in bytes of FieldToMatch". If
@@ -7388,6 +8300,30 @@ func (s *SizeConstraint) Validate() error {
return nil
}
+// SetComparisonOperator sets the ComparisonOperator field's value.
+func (s *SizeConstraint) SetComparisonOperator(v string) *SizeConstraint {
+ s.ComparisonOperator = &v
+ return s
+}
+
+// SetFieldToMatch sets the FieldToMatch field's value.
+func (s *SizeConstraint) SetFieldToMatch(v *FieldToMatch) *SizeConstraint {
+ s.FieldToMatch = v
+ return s
+}
+
+// SetSize sets the Size field's value.
+func (s *SizeConstraint) SetSize(v int64) *SizeConstraint {
+ s.Size = &v
+ return s
+}
+
+// SetTextTransformation sets the TextTransformation field's value.
+func (s *SizeConstraint) SetTextTransformation(v string) *SizeConstraint {
+ s.TextTransformation = &v
+ return s
+}
+
// A complex type that contains SizeConstraint objects, which specify the parts
// 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
@@ -7425,6 +8361,24 @@ func (s SizeConstraintSet) GoString() string {
return s.String()
}
+// SetName sets the Name field's value.
+func (s *SizeConstraintSet) SetName(v string) *SizeConstraintSet {
+ s.Name = &v
+ return s
+}
+
+// SetSizeConstraintSetId sets the SizeConstraintSetId field's value.
+func (s *SizeConstraintSet) SetSizeConstraintSetId(v string) *SizeConstraintSet {
+ s.SizeConstraintSetId = &v
+ return s
+}
+
+// SetSizeConstraints sets the SizeConstraints field's value.
+func (s *SizeConstraintSet) SetSizeConstraints(v []*SizeConstraint) *SizeConstraintSet {
+ s.SizeConstraints = v
+ return s
+}
+
// The Id and Name of a SizeConstraintSet.
type SizeConstraintSetSummary struct {
_ struct{} `type:"structure"`
@@ -7456,6 +8410,18 @@ func (s SizeConstraintSetSummary) GoString() string {
return s.String()
}
+// SetName sets the Name field's value.
+func (s *SizeConstraintSetSummary) SetName(v string) *SizeConstraintSetSummary {
+ s.Name = &v
+ return s
+}
+
+// SetSizeConstraintSetId sets the SizeConstraintSetId field's value.
+func (s *SizeConstraintSetSummary) SetSizeConstraintSetId(v string) *SizeConstraintSetSummary {
+ s.SizeConstraintSetId = &v
+ return s
+}
+
// 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.
@@ -7508,6 +8474,18 @@ func (s *SizeConstraintSetUpdate) Validate() error {
return nil
}
+// SetAction sets the Action field's value.
+func (s *SizeConstraintSetUpdate) SetAction(v string) *SizeConstraintSetUpdate {
+ s.Action = &v
+ return s
+}
+
+// SetSizeConstraint sets the SizeConstraint field's value.
+func (s *SizeConstraintSetUpdate) SetSizeConstraint(v *SizeConstraint) *SizeConstraintSetUpdate {
+ s.SizeConstraint = v
+ return s
+}
+
// A complex type that contains SqlInjectionMatchTuple objects, which specify
// the parts of web requests 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
@@ -7548,6 +8526,24 @@ func (s SqlInjectionMatchSet) GoString() string {
return s.String()
}
+// SetName sets the Name field's value.
+func (s *SqlInjectionMatchSet) SetName(v string) *SqlInjectionMatchSet {
+ s.Name = &v
+ return s
+}
+
+// SetSqlInjectionMatchSetId sets the SqlInjectionMatchSetId field's value.
+func (s *SqlInjectionMatchSet) SetSqlInjectionMatchSetId(v string) *SqlInjectionMatchSet {
+ s.SqlInjectionMatchSetId = &v
+ return s
+}
+
+// SetSqlInjectionMatchTuples sets the SqlInjectionMatchTuples field's value.
+func (s *SqlInjectionMatchSet) SetSqlInjectionMatchTuples(v []*SqlInjectionMatchTuple) *SqlInjectionMatchSet {
+ s.SqlInjectionMatchTuples = v
+ return s
+}
+
// The Id and Name of a SqlInjectionMatchSet.
type SqlInjectionMatchSetSummary struct {
_ struct{} `type:"structure"`
@@ -7579,6 +8575,18 @@ func (s SqlInjectionMatchSetSummary) GoString() string {
return s.String()
}
+// SetName sets the Name field's value.
+func (s *SqlInjectionMatchSetSummary) SetName(v string) *SqlInjectionMatchSetSummary {
+ s.Name = &v
+ return s
+}
+
+// SetSqlInjectionMatchSetId sets the SqlInjectionMatchSetId field's value.
+func (s *SqlInjectionMatchSetSummary) SetSqlInjectionMatchSetId(v string) *SqlInjectionMatchSetSummary {
+ s.SqlInjectionMatchSetId = &v
+ return s
+}
+
// 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.
@@ -7630,6 +8638,18 @@ func (s *SqlInjectionMatchSetUpdate) Validate() error {
return nil
}
+// SetAction sets the Action field's value.
+func (s *SqlInjectionMatchSetUpdate) SetAction(v string) *SqlInjectionMatchSetUpdate {
+ s.Action = &v
+ return s
+}
+
+// SetSqlInjectionMatchTuple sets the SqlInjectionMatchTuple field's value.
+func (s *SqlInjectionMatchSetUpdate) SetSqlInjectionMatchTuple(v *SqlInjectionMatchTuple) *SqlInjectionMatchSetUpdate {
+ s.SqlInjectionMatchTuple = v
+ return s
+}
+
// 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.
@@ -7747,6 +8767,18 @@ func (s *SqlInjectionMatchTuple) Validate() error {
return nil
}
+// SetFieldToMatch sets the FieldToMatch field's value.
+func (s *SqlInjectionMatchTuple) SetFieldToMatch(v *FieldToMatch) *SqlInjectionMatchTuple {
+ s.FieldToMatch = v
+ return s
+}
+
+// SetTextTransformation sets the TextTransformation field's value.
+func (s *SqlInjectionMatchTuple) SetTextTransformation(v string) *SqlInjectionMatchTuple {
+ s.TextTransformation = &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.
//
@@ -7801,6 +8833,18 @@ func (s *TimeWindow) Validate() error {
return nil
}
+// SetEndTime sets the EndTime field's value.
+func (s *TimeWindow) SetEndTime(v time.Time) *TimeWindow {
+ s.EndTime = &v
+ return s
+}
+
+// SetStartTime sets the StartTime field's value.
+func (s *TimeWindow) SetStartTime(v time.Time) *TimeWindow {
+ s.StartTime = &v
+ return s
+}
+
type UpdateByteMatchSetInput struct {
_ struct{} `type:"structure"`
@@ -7874,6 +8918,24 @@ func (s *UpdateByteMatchSetInput) Validate() error {
return nil
}
+// SetByteMatchSetId sets the ByteMatchSetId field's value.
+func (s *UpdateByteMatchSetInput) SetByteMatchSetId(v string) *UpdateByteMatchSetInput {
+ s.ByteMatchSetId = &v
+ return s
+}
+
+// SetChangeToken sets the ChangeToken field's value.
+func (s *UpdateByteMatchSetInput) SetChangeToken(v string) *UpdateByteMatchSetInput {
+ s.ChangeToken = &v
+ return s
+}
+
+// SetUpdates sets the Updates field's value.
+func (s *UpdateByteMatchSetInput) SetUpdates(v []*ByteMatchSetUpdate) *UpdateByteMatchSetInput {
+ s.Updates = v
+ return s
+}
+
type UpdateByteMatchSetOutput struct {
_ struct{} `type:"structure"`
@@ -7893,6 +8955,12 @@ func (s UpdateByteMatchSetOutput) GoString() string {
return s.String()
}
+// SetChangeToken sets the ChangeToken field's value.
+func (s *UpdateByteMatchSetOutput) SetChangeToken(v string) *UpdateByteMatchSetOutput {
+ s.ChangeToken = &v
+ return s
+}
+
type UpdateIPSetInput struct {
_ struct{} `type:"structure"`
@@ -7963,6 +9031,24 @@ func (s *UpdateIPSetInput) Validate() error {
return nil
}
+// SetChangeToken sets the ChangeToken field's value.
+func (s *UpdateIPSetInput) SetChangeToken(v string) *UpdateIPSetInput {
+ s.ChangeToken = &v
+ return s
+}
+
+// SetIPSetId sets the IPSetId field's value.
+func (s *UpdateIPSetInput) SetIPSetId(v string) *UpdateIPSetInput {
+ s.IPSetId = &v
+ return s
+}
+
+// SetUpdates sets the Updates field's value.
+func (s *UpdateIPSetInput) SetUpdates(v []*IPSetUpdate) *UpdateIPSetInput {
+ s.Updates = v
+ return s
+}
+
type UpdateIPSetOutput struct {
_ struct{} `type:"structure"`
@@ -7982,6 +9068,12 @@ func (s UpdateIPSetOutput) GoString() string {
return s.String()
}
+// SetChangeToken sets the ChangeToken field's value.
+func (s *UpdateIPSetOutput) SetChangeToken(v string) *UpdateIPSetOutput {
+ s.ChangeToken = &v
+ return s
+}
+
type UpdateRuleInput struct {
_ struct{} `type:"structure"`
@@ -8054,6 +9146,24 @@ func (s *UpdateRuleInput) Validate() error {
return nil
}
+// SetChangeToken sets the ChangeToken field's value.
+func (s *UpdateRuleInput) SetChangeToken(v string) *UpdateRuleInput {
+ s.ChangeToken = &v
+ return s
+}
+
+// SetRuleId sets the RuleId field's value.
+func (s *UpdateRuleInput) SetRuleId(v string) *UpdateRuleInput {
+ s.RuleId = &v
+ return s
+}
+
+// SetUpdates sets the Updates field's value.
+func (s *UpdateRuleInput) SetUpdates(v []*RuleUpdate) *UpdateRuleInput {
+ s.Updates = v
+ return s
+}
+
type UpdateRuleOutput struct {
_ struct{} `type:"structure"`
@@ -8073,6 +9183,12 @@ func (s UpdateRuleOutput) GoString() string {
return s.String()
}
+// SetChangeToken sets the ChangeToken field's value.
+func (s *UpdateRuleOutput) SetChangeToken(v string) *UpdateRuleOutput {
+ s.ChangeToken = &v
+ return s
+}
+
type UpdateSizeConstraintSetInput struct {
_ struct{} `type:"structure"`
@@ -8147,6 +9263,24 @@ func (s *UpdateSizeConstraintSetInput) Validate() error {
return nil
}
+// SetChangeToken sets the ChangeToken field's value.
+func (s *UpdateSizeConstraintSetInput) SetChangeToken(v string) *UpdateSizeConstraintSetInput {
+ s.ChangeToken = &v
+ return s
+}
+
+// SetSizeConstraintSetId sets the SizeConstraintSetId field's value.
+func (s *UpdateSizeConstraintSetInput) SetSizeConstraintSetId(v string) *UpdateSizeConstraintSetInput {
+ s.SizeConstraintSetId = &v
+ return s
+}
+
+// SetUpdates sets the Updates field's value.
+func (s *UpdateSizeConstraintSetInput) SetUpdates(v []*SizeConstraintSetUpdate) *UpdateSizeConstraintSetInput {
+ s.Updates = v
+ return s
+}
+
type UpdateSizeConstraintSetOutput struct {
_ struct{} `type:"structure"`
@@ -8166,6 +9300,12 @@ func (s UpdateSizeConstraintSetOutput) GoString() string {
return s.String()
}
+// SetChangeToken sets the ChangeToken field's value.
+func (s *UpdateSizeConstraintSetOutput) SetChangeToken(v string) *UpdateSizeConstraintSetOutput {
+ s.ChangeToken = &v
+ return s
+}
+
// A request to update a SqlInjectionMatchSet.
type UpdateSqlInjectionMatchSetInput struct {
_ struct{} `type:"structure"`
@@ -8240,6 +9380,24 @@ func (s *UpdateSqlInjectionMatchSetInput) Validate() error {
return nil
}
+// SetChangeToken sets the ChangeToken field's value.
+func (s *UpdateSqlInjectionMatchSetInput) SetChangeToken(v string) *UpdateSqlInjectionMatchSetInput {
+ s.ChangeToken = &v
+ return s
+}
+
+// SetSqlInjectionMatchSetId sets the SqlInjectionMatchSetId field's value.
+func (s *UpdateSqlInjectionMatchSetInput) SetSqlInjectionMatchSetId(v string) *UpdateSqlInjectionMatchSetInput {
+ s.SqlInjectionMatchSetId = &v
+ return s
+}
+
+// SetUpdates sets the Updates field's value.
+func (s *UpdateSqlInjectionMatchSetInput) SetUpdates(v []*SqlInjectionMatchSetUpdate) *UpdateSqlInjectionMatchSetInput {
+ s.Updates = v
+ return s
+}
+
// The response to an UpdateSqlInjectionMatchSets request.
type UpdateSqlInjectionMatchSetOutput struct {
_ struct{} `type:"structure"`
@@ -8260,6 +9418,12 @@ func (s UpdateSqlInjectionMatchSetOutput) GoString() string {
return s.String()
}
+// SetChangeToken sets the ChangeToken field's value.
+func (s *UpdateSqlInjectionMatchSetOutput) SetChangeToken(v string) *UpdateSqlInjectionMatchSetOutput {
+ s.ChangeToken = &v
+ return s
+}
+
type UpdateWebACLInput struct {
_ struct{} `type:"structure"`
@@ -8341,6 +9505,30 @@ func (s *UpdateWebACLInput) Validate() error {
return nil
}
+// SetChangeToken sets the ChangeToken field's value.
+func (s *UpdateWebACLInput) SetChangeToken(v string) *UpdateWebACLInput {
+ s.ChangeToken = &v
+ return s
+}
+
+// SetDefaultAction sets the DefaultAction field's value.
+func (s *UpdateWebACLInput) SetDefaultAction(v *WafAction) *UpdateWebACLInput {
+ s.DefaultAction = v
+ return s
+}
+
+// SetUpdates sets the Updates field's value.
+func (s *UpdateWebACLInput) SetUpdates(v []*WebACLUpdate) *UpdateWebACLInput {
+ s.Updates = v
+ return s
+}
+
+// SetWebACLId sets the WebACLId field's value.
+func (s *UpdateWebACLInput) SetWebACLId(v string) *UpdateWebACLInput {
+ s.WebACLId = &v
+ return s
+}
+
type UpdateWebACLOutput struct {
_ struct{} `type:"structure"`
@@ -8360,6 +9548,12 @@ func (s UpdateWebACLOutput) GoString() string {
return s.String()
}
+// SetChangeToken sets the ChangeToken field's value.
+func (s *UpdateWebACLOutput) SetChangeToken(v string) *UpdateWebACLOutput {
+ s.ChangeToken = &v
+ return s
+}
+
// A request to update an XssMatchSet.
type UpdateXssMatchSetInput struct {
_ struct{} `type:"structure"`
@@ -8433,6 +9627,24 @@ func (s *UpdateXssMatchSetInput) Validate() error {
return nil
}
+// SetChangeToken sets the ChangeToken field's value.
+func (s *UpdateXssMatchSetInput) SetChangeToken(v string) *UpdateXssMatchSetInput {
+ s.ChangeToken = &v
+ return s
+}
+
+// SetUpdates sets the Updates field's value.
+func (s *UpdateXssMatchSetInput) SetUpdates(v []*XssMatchSetUpdate) *UpdateXssMatchSetInput {
+ s.Updates = v
+ return s
+}
+
+// SetXssMatchSetId sets the XssMatchSetId field's value.
+func (s *UpdateXssMatchSetInput) SetXssMatchSetId(v string) *UpdateXssMatchSetInput {
+ s.XssMatchSetId = &v
+ return s
+}
+
// The response to an UpdateXssMatchSets request.
type UpdateXssMatchSetOutput struct {
_ struct{} `type:"structure"`
@@ -8453,6 +9665,12 @@ func (s UpdateXssMatchSetOutput) GoString() string {
return s.String()
}
+// SetChangeToken sets the ChangeToken field's value.
+func (s *UpdateXssMatchSetOutput) SetChangeToken(v string) *UpdateXssMatchSetOutput {
+ s.ChangeToken = &v
+ return s
+}
+
// For the action that is associated with a rule in a WebACL, specifies the
// action that you want AWS WAF to perform when a web request matches all of
// the conditions in a rule. For the default action in a WebACL, specifies the
@@ -8500,6 +9718,12 @@ func (s *WafAction) Validate() error {
return nil
}
+// SetType sets the Type field's value.
+func (s *WafAction) SetType(v string) *WafAction {
+ 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
@@ -8549,6 +9773,36 @@ func (s WebACL) GoString() string {
return s.String()
}
+// SetDefaultAction sets the DefaultAction field's value.
+func (s *WebACL) SetDefaultAction(v *WafAction) *WebACL {
+ s.DefaultAction = v
+ return s
+}
+
+// SetMetricName sets the MetricName field's value.
+func (s *WebACL) SetMetricName(v string) *WebACL {
+ s.MetricName = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *WebACL) SetName(v string) *WebACL {
+ s.Name = &v
+ return s
+}
+
+// SetRules sets the Rules field's value.
+func (s *WebACL) SetRules(v []*ActivatedRule) *WebACL {
+ s.Rules = v
+ return s
+}
+
+// SetWebACLId sets the WebACLId field's value.
+func (s *WebACL) SetWebACLId(v string) *WebACL {
+ s.WebACLId = &v
+ return s
+}
+
// Contains the identifier and the name or description of the WebACL.
type WebACLSummary struct {
_ struct{} `type:"structure"`
@@ -8579,6 +9833,18 @@ func (s WebACLSummary) GoString() string {
return s.String()
}
+// SetName sets the Name field's value.
+func (s *WebACLSummary) SetName(v string) *WebACLSummary {
+ s.Name = &v
+ return s
+}
+
+// SetWebACLId sets the WebACLId field's value.
+func (s *WebACLSummary) SetWebACLId(v string) *WebACLSummary {
+ s.WebACLId = &v
+ return s
+}
+
// Specifies whether to insert a Rule into or delete a Rule from a WebACL.
type WebACLUpdate struct {
_ struct{} `type:"structure"`
@@ -8631,6 +9897,18 @@ func (s *WebACLUpdate) Validate() error {
return nil
}
+// SetAction sets the Action field's value.
+func (s *WebACLUpdate) SetAction(v string) *WebACLUpdate {
+ s.Action = &v
+ return s
+}
+
+// SetActivatedRule sets the ActivatedRule field's value.
+func (s *WebACLUpdate) SetActivatedRule(v *ActivatedRule) *WebACLUpdate {
+ s.ActivatedRule = v
+ return s
+}
+
// A complex type that contains XssMatchTuple objects, which specify the parts
// of web requests 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.
@@ -8670,6 +9948,24 @@ func (s XssMatchSet) GoString() string {
return s.String()
}
+// SetName sets the Name field's value.
+func (s *XssMatchSet) SetName(v string) *XssMatchSet {
+ s.Name = &v
+ return s
+}
+
+// SetXssMatchSetId sets the XssMatchSetId field's value.
+func (s *XssMatchSet) SetXssMatchSetId(v string) *XssMatchSet {
+ s.XssMatchSetId = &v
+ return s
+}
+
+// SetXssMatchTuples sets the XssMatchTuples field's value.
+func (s *XssMatchSet) SetXssMatchTuples(v []*XssMatchTuple) *XssMatchSet {
+ s.XssMatchTuples = v
+ return s
+}
+
// The Id and Name of an XssMatchSet.
type XssMatchSetSummary struct {
_ struct{} `type:"structure"`
@@ -8700,6 +9996,18 @@ func (s XssMatchSetSummary) GoString() string {
return s.String()
}
+// SetName sets the Name field's value.
+func (s *XssMatchSetSummary) SetName(v string) *XssMatchSetSummary {
+ s.Name = &v
+ return s
+}
+
+// SetXssMatchSetId sets the XssMatchSetId field's value.
+func (s *XssMatchSetSummary) SetXssMatchSetId(v string) *XssMatchSetSummary {
+ s.XssMatchSetId = &v
+ return s
+}
+
// 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.
@@ -8751,6 +10059,18 @@ func (s *XssMatchSetUpdate) Validate() error {
return nil
}
+// SetAction sets the Action field's value.
+func (s *XssMatchSetUpdate) SetAction(v string) *XssMatchSetUpdate {
+ s.Action = &v
+ return s
+}
+
+// SetXssMatchTuple sets the XssMatchTuple field's value.
+func (s *XssMatchSetUpdate) SetXssMatchTuple(v *XssMatchTuple) *XssMatchSetUpdate {
+ s.XssMatchTuple = v
+ return s
+}
+
// 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.
@@ -8868,6 +10188,18 @@ func (s *XssMatchTuple) Validate() error {
return nil
}
+// SetFieldToMatch sets the FieldToMatch field's value.
+func (s *XssMatchTuple) SetFieldToMatch(v *FieldToMatch) *XssMatchTuple {
+ s.FieldToMatch = v
+ return s
+}
+
+// SetTextTransformation sets the TextTransformation field's value.
+func (s *XssMatchTuple) SetTextTransformation(v string) *XssMatchTuple {
+ s.TextTransformation = &v
+ return s
+}
+
const (
// ChangeActionInsert is a ChangeAction enum value
ChangeActionInsert = "INSERT"
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 4e8b742..a46e86e 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
@@ -1090,6 +1090,12 @@ func (s ComputeType) GoString() string {
return s.String()
}
+// SetName sets the Name field's value.
+func (s *ComputeType) SetName(v string) *ComputeType {
+ s.Name = &v
+ return s
+}
+
// The request of the CreateTags operation.
type CreateTagsInput struct {
_ struct{} `type:"structure"`
@@ -1144,6 +1150,18 @@ func (s *CreateTagsInput) Validate() error {
return nil
}
+// SetResourceId sets the ResourceId field's value.
+func (s *CreateTagsInput) SetResourceId(v string) *CreateTagsInput {
+ s.ResourceId = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *CreateTagsInput) SetTags(v []*Tag) *CreateTagsInput {
+ s.Tags = v
+ return s
+}
+
// The result of the CreateTags operation.
type CreateTagsOutput struct {
_ struct{} `type:"structure"`
@@ -1205,6 +1223,12 @@ func (s *CreateWorkspacesInput) Validate() error {
return nil
}
+// SetWorkspaces sets the Workspaces field's value.
+func (s *CreateWorkspacesInput) SetWorkspaces(v []*WorkspaceRequest) *CreateWorkspacesInput {
+ s.Workspaces = v
+ return s
+}
+
// Contains the result of the CreateWorkspaces operation.
type CreateWorkspacesOutput struct {
_ struct{} `type:"structure"`
@@ -1230,6 +1254,18 @@ func (s CreateWorkspacesOutput) GoString() string {
return s.String()
}
+// SetFailedRequests sets the FailedRequests field's value.
+func (s *CreateWorkspacesOutput) SetFailedRequests(v []*FailedCreateWorkspaceRequest) *CreateWorkspacesOutput {
+ s.FailedRequests = v
+ return s
+}
+
+// SetPendingRequests sets the PendingRequests field's value.
+func (s *CreateWorkspacesOutput) SetPendingRequests(v []*Workspace) *CreateWorkspacesOutput {
+ s.PendingRequests = v
+ return s
+}
+
// Contains default WorkSpace creation information.
type DefaultWorkspaceCreationProperties struct {
_ struct{} `type:"structure"`
@@ -1263,6 +1299,36 @@ func (s DefaultWorkspaceCreationProperties) GoString() string {
return s.String()
}
+// SetCustomSecurityGroupId sets the CustomSecurityGroupId field's value.
+func (s *DefaultWorkspaceCreationProperties) SetCustomSecurityGroupId(v string) *DefaultWorkspaceCreationProperties {
+ s.CustomSecurityGroupId = &v
+ return s
+}
+
+// SetDefaultOu sets the DefaultOu field's value.
+func (s *DefaultWorkspaceCreationProperties) SetDefaultOu(v string) *DefaultWorkspaceCreationProperties {
+ s.DefaultOu = &v
+ return s
+}
+
+// SetEnableInternetAccess sets the EnableInternetAccess field's value.
+func (s *DefaultWorkspaceCreationProperties) SetEnableInternetAccess(v bool) *DefaultWorkspaceCreationProperties {
+ s.EnableInternetAccess = &v
+ return s
+}
+
+// SetEnableWorkDocs sets the EnableWorkDocs field's value.
+func (s *DefaultWorkspaceCreationProperties) SetEnableWorkDocs(v bool) *DefaultWorkspaceCreationProperties {
+ s.EnableWorkDocs = &v
+ return s
+}
+
+// SetUserEnabledAsLocalAdministrator sets the UserEnabledAsLocalAdministrator field's value.
+func (s *DefaultWorkspaceCreationProperties) SetUserEnabledAsLocalAdministrator(v bool) *DefaultWorkspaceCreationProperties {
+ s.UserEnabledAsLocalAdministrator = &v
+ return s
+}
+
// The request of the DeleteTags operation.
type DeleteTagsInput struct {
_ struct{} `type:"structure"`
@@ -1307,6 +1373,18 @@ func (s *DeleteTagsInput) Validate() error {
return nil
}
+// SetResourceId sets the ResourceId field's value.
+func (s *DeleteTagsInput) SetResourceId(v string) *DeleteTagsInput {
+ s.ResourceId = &v
+ return s
+}
+
+// SetTagKeys sets the TagKeys field's value.
+func (s *DeleteTagsInput) SetTagKeys(v []*string) *DeleteTagsInput {
+ s.TagKeys = v
+ return s
+}
+
// The result of the DeleteTags operation.
type DeleteTagsOutput struct {
_ struct{} `type:"structure"`
@@ -1358,6 +1436,12 @@ func (s *DescribeTagsInput) Validate() error {
return nil
}
+// SetResourceId sets the ResourceId field's value.
+func (s *DescribeTagsInput) SetResourceId(v string) *DescribeTagsInput {
+ s.ResourceId = &v
+ return s
+}
+
// The result of the DescribeTags operation.
type DescribeTagsOutput struct {
_ struct{} `type:"structure"`
@@ -1376,6 +1460,12 @@ func (s DescribeTagsOutput) GoString() string {
return s.String()
}
+// SetTagList sets the TagList field's value.
+func (s *DescribeTagsOutput) SetTagList(v []*Tag) *DescribeTagsOutput {
+ s.TagList = v
+ return s
+}
+
// Contains the inputs for the DescribeWorkspaceBundles operation.
type DescribeWorkspaceBundlesInput struct {
_ struct{} `type:"structure"`
@@ -1425,6 +1515,24 @@ func (s *DescribeWorkspaceBundlesInput) Validate() error {
return nil
}
+// SetBundleIds sets the BundleIds field's value.
+func (s *DescribeWorkspaceBundlesInput) SetBundleIds(v []*string) *DescribeWorkspaceBundlesInput {
+ s.BundleIds = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeWorkspaceBundlesInput) SetNextToken(v string) *DescribeWorkspaceBundlesInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetOwner sets the Owner field's value.
+func (s *DescribeWorkspaceBundlesInput) SetOwner(v string) *DescribeWorkspaceBundlesInput {
+ s.Owner = &v
+ return s
+}
+
// Contains the results of the DescribeWorkspaceBundles operation.
type DescribeWorkspaceBundlesOutput struct {
_ struct{} `type:"structure"`
@@ -1449,6 +1557,18 @@ func (s DescribeWorkspaceBundlesOutput) GoString() string {
return s.String()
}
+// SetBundles sets the Bundles field's value.
+func (s *DescribeWorkspaceBundlesOutput) SetBundles(v []*WorkspaceBundle) *DescribeWorkspaceBundlesOutput {
+ s.Bundles = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeWorkspaceBundlesOutput) SetNextToken(v string) *DescribeWorkspaceBundlesOutput {
+ s.NextToken = &v
+ return s
+}
+
// Contains the inputs for the DescribeWorkspaceDirectories operation.
type DescribeWorkspaceDirectoriesInput struct {
_ struct{} `type:"structure"`
@@ -1488,6 +1608,18 @@ func (s *DescribeWorkspaceDirectoriesInput) Validate() error {
return nil
}
+// SetDirectoryIds sets the DirectoryIds field's value.
+func (s *DescribeWorkspaceDirectoriesInput) SetDirectoryIds(v []*string) *DescribeWorkspaceDirectoriesInput {
+ s.DirectoryIds = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeWorkspaceDirectoriesInput) SetNextToken(v string) *DescribeWorkspaceDirectoriesInput {
+ s.NextToken = &v
+ return s
+}
+
// Contains the results of the DescribeWorkspaceDirectories operation.
type DescribeWorkspaceDirectoriesOutput struct {
_ struct{} `type:"structure"`
@@ -1512,6 +1644,18 @@ func (s DescribeWorkspaceDirectoriesOutput) GoString() string {
return s.String()
}
+// SetDirectories sets the Directories field's value.
+func (s *DescribeWorkspaceDirectoriesOutput) SetDirectories(v []*WorkspaceDirectory) *DescribeWorkspaceDirectoriesOutput {
+ s.Directories = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeWorkspaceDirectoriesOutput) SetNextToken(v string) *DescribeWorkspaceDirectoriesOutput {
+ s.NextToken = &v
+ return s
+}
+
type DescribeWorkspacesConnectionStatusInput struct {
_ struct{} `type:"structure"`
@@ -1548,6 +1692,18 @@ func (s *DescribeWorkspacesConnectionStatusInput) Validate() error {
return nil
}
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeWorkspacesConnectionStatusInput) SetNextToken(v string) *DescribeWorkspacesConnectionStatusInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetWorkspaceIds sets the WorkspaceIds field's value.
+func (s *DescribeWorkspacesConnectionStatusInput) SetWorkspaceIds(v []*string) *DescribeWorkspacesConnectionStatusInput {
+ s.WorkspaceIds = v
+ return s
+}
+
type DescribeWorkspacesConnectionStatusOutput struct {
_ struct{} `type:"structure"`
@@ -1568,6 +1724,18 @@ func (s DescribeWorkspacesConnectionStatusOutput) GoString() string {
return s.String()
}
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeWorkspacesConnectionStatusOutput) SetNextToken(v string) *DescribeWorkspacesConnectionStatusOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetWorkspacesConnectionStatus sets the WorkspacesConnectionStatus field's value.
+func (s *DescribeWorkspacesConnectionStatusOutput) SetWorkspacesConnectionStatus(v []*WorkspaceConnectionStatus) *DescribeWorkspacesConnectionStatusOutput {
+ s.WorkspacesConnectionStatus = v
+ return s
+}
+
// Contains the inputs for the DescribeWorkspaces operation.
type DescribeWorkspacesInput struct {
_ struct{} `type:"structure"`
@@ -1635,6 +1803,42 @@ func (s *DescribeWorkspacesInput) Validate() error {
return nil
}
+// SetBundleId sets the BundleId field's value.
+func (s *DescribeWorkspacesInput) SetBundleId(v string) *DescribeWorkspacesInput {
+ s.BundleId = &v
+ return s
+}
+
+// SetDirectoryId sets the DirectoryId field's value.
+func (s *DescribeWorkspacesInput) SetDirectoryId(v string) *DescribeWorkspacesInput {
+ s.DirectoryId = &v
+ return s
+}
+
+// SetLimit sets the Limit field's value.
+func (s *DescribeWorkspacesInput) SetLimit(v int64) *DescribeWorkspacesInput {
+ s.Limit = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeWorkspacesInput) SetNextToken(v string) *DescribeWorkspacesInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetUserName sets the UserName field's value.
+func (s *DescribeWorkspacesInput) SetUserName(v string) *DescribeWorkspacesInput {
+ s.UserName = &v
+ return s
+}
+
+// SetWorkspaceIds sets the WorkspaceIds field's value.
+func (s *DescribeWorkspacesInput) SetWorkspaceIds(v []*string) *DescribeWorkspacesInput {
+ s.WorkspaceIds = v
+ return s
+}
+
// Contains the results for the DescribeWorkspaces operation.
type DescribeWorkspacesOutput struct {
_ struct{} `type:"structure"`
@@ -1662,6 +1866,18 @@ func (s DescribeWorkspacesOutput) GoString() string {
return s.String()
}
+// SetNextToken sets the NextToken field's value.
+func (s *DescribeWorkspacesOutput) SetNextToken(v string) *DescribeWorkspacesOutput {
+ s.NextToken = &v
+ return s
+}
+
+// SetWorkspaces sets the Workspaces field's value.
+func (s *DescribeWorkspacesOutput) SetWorkspaces(v []*Workspace) *DescribeWorkspacesOutput {
+ s.Workspaces = v
+ return s
+}
+
// Contains information about a WorkSpace that could not be created.
type FailedCreateWorkspaceRequest struct {
_ struct{} `type:"structure"`
@@ -1687,6 +1903,24 @@ func (s FailedCreateWorkspaceRequest) GoString() string {
return s.String()
}
+// SetErrorCode sets the ErrorCode field's value.
+func (s *FailedCreateWorkspaceRequest) SetErrorCode(v string) *FailedCreateWorkspaceRequest {
+ s.ErrorCode = &v
+ return s
+}
+
+// SetErrorMessage sets the ErrorMessage field's value.
+func (s *FailedCreateWorkspaceRequest) SetErrorMessage(v string) *FailedCreateWorkspaceRequest {
+ s.ErrorMessage = &v
+ return s
+}
+
+// SetWorkspaceRequest sets the WorkspaceRequest field's value.
+func (s *FailedCreateWorkspaceRequest) SetWorkspaceRequest(v *WorkspaceRequest) *FailedCreateWorkspaceRequest {
+ s.WorkspaceRequest = v
+ return s
+}
+
// Contains information about a WorkSpace that could not be rebooted (RebootWorkspaces),
// rebuilt (RebuildWorkspaces), terminated (TerminateWorkspaces), started (StartWorkspaces),
// or stopped (StopWorkspaces).
@@ -1713,6 +1947,24 @@ func (s FailedWorkspaceChangeRequest) GoString() string {
return s.String()
}
+// SetErrorCode sets the ErrorCode field's value.
+func (s *FailedWorkspaceChangeRequest) SetErrorCode(v string) *FailedWorkspaceChangeRequest {
+ s.ErrorCode = &v
+ return s
+}
+
+// SetErrorMessage sets the ErrorMessage field's value.
+func (s *FailedWorkspaceChangeRequest) SetErrorMessage(v string) *FailedWorkspaceChangeRequest {
+ s.ErrorMessage = &v
+ return s
+}
+
+// SetWorkspaceId sets the WorkspaceId field's value.
+func (s *FailedWorkspaceChangeRequest) SetWorkspaceId(v string) *FailedWorkspaceChangeRequest {
+ s.WorkspaceId = &v
+ return s
+}
+
type ModifyWorkspacePropertiesInput struct {
_ struct{} `type:"structure"`
@@ -1753,6 +2005,18 @@ func (s *ModifyWorkspacePropertiesInput) Validate() error {
return nil
}
+// SetWorkspaceId sets the WorkspaceId field's value.
+func (s *ModifyWorkspacePropertiesInput) SetWorkspaceId(v string) *ModifyWorkspacePropertiesInput {
+ s.WorkspaceId = &v
+ return s
+}
+
+// SetWorkspaceProperties sets the WorkspaceProperties field's value.
+func (s *ModifyWorkspacePropertiesInput) SetWorkspaceProperties(v *WorkspaceProperties) *ModifyWorkspacePropertiesInput {
+ s.WorkspaceProperties = v
+ return s
+}
+
type ModifyWorkspacePropertiesOutput struct {
_ struct{} `type:"structure"`
}
@@ -1801,6 +2065,12 @@ func (s *RebootRequest) Validate() error {
return nil
}
+// SetWorkspaceId sets the WorkspaceId field's value.
+func (s *RebootRequest) SetWorkspaceId(v string) *RebootRequest {
+ s.WorkspaceId = &v
+ return s
+}
+
// Contains the inputs for the RebootWorkspaces operation.
type RebootWorkspacesInput struct {
_ struct{} `type:"structure"`
@@ -1847,6 +2117,12 @@ func (s *RebootWorkspacesInput) Validate() error {
return nil
}
+// SetRebootWorkspaceRequests sets the RebootWorkspaceRequests field's value.
+func (s *RebootWorkspacesInput) SetRebootWorkspaceRequests(v []*RebootRequest) *RebootWorkspacesInput {
+ s.RebootWorkspaceRequests = v
+ return s
+}
+
// Contains the results of the RebootWorkspaces operation.
type RebootWorkspacesOutput struct {
_ struct{} `type:"structure"`
@@ -1865,6 +2141,12 @@ func (s RebootWorkspacesOutput) GoString() string {
return s.String()
}
+// SetFailedRequests sets the FailedRequests field's value.
+func (s *RebootWorkspacesOutput) SetFailedRequests(v []*FailedWorkspaceChangeRequest) *RebootWorkspacesOutput {
+ s.FailedRequests = v
+ return s
+}
+
// Contains information used with the RebuildWorkspaces operation to rebuild
// a WorkSpace.
type RebuildRequest struct {
@@ -1899,6 +2181,12 @@ func (s *RebuildRequest) Validate() error {
return nil
}
+// SetWorkspaceId sets the WorkspaceId field's value.
+func (s *RebuildRequest) SetWorkspaceId(v string) *RebuildRequest {
+ s.WorkspaceId = &v
+ return s
+}
+
// Contains the inputs for the RebuildWorkspaces operation.
type RebuildWorkspacesInput struct {
_ struct{} `type:"structure"`
@@ -1945,6 +2233,12 @@ func (s *RebuildWorkspacesInput) Validate() error {
return nil
}
+// SetRebuildWorkspaceRequests sets the RebuildWorkspaceRequests field's value.
+func (s *RebuildWorkspacesInput) SetRebuildWorkspaceRequests(v []*RebuildRequest) *RebuildWorkspacesInput {
+ s.RebuildWorkspaceRequests = v
+ return s
+}
+
// Contains the results of the RebuildWorkspaces operation.
type RebuildWorkspacesOutput struct {
_ struct{} `type:"structure"`
@@ -1963,6 +2257,12 @@ func (s RebuildWorkspacesOutput) GoString() string {
return s.String()
}
+// SetFailedRequests sets the FailedRequests field's value.
+func (s *RebuildWorkspacesOutput) SetFailedRequests(v []*FailedWorkspaceChangeRequest) *RebuildWorkspacesOutput {
+ s.FailedRequests = v
+ return s
+}
+
// Describes the start request.
type StartRequest struct {
_ struct{} `type:"structure"`
@@ -1981,6 +2281,12 @@ func (s StartRequest) GoString() string {
return s.String()
}
+// SetWorkspaceId sets the WorkspaceId field's value.
+func (s *StartRequest) SetWorkspaceId(v string) *StartRequest {
+ s.WorkspaceId = &v
+ return s
+}
+
type StartWorkspacesInput struct {
_ struct{} `type:"structure"`
@@ -2016,6 +2322,12 @@ func (s *StartWorkspacesInput) Validate() error {
return nil
}
+// SetStartWorkspaceRequests sets the StartWorkspaceRequests field's value.
+func (s *StartWorkspacesInput) SetStartWorkspaceRequests(v []*StartRequest) *StartWorkspacesInput {
+ s.StartWorkspaceRequests = v
+ return s
+}
+
type StartWorkspacesOutput struct {
_ struct{} `type:"structure"`
@@ -2033,6 +2345,12 @@ func (s StartWorkspacesOutput) GoString() string {
return s.String()
}
+// SetFailedRequests sets the FailedRequests field's value.
+func (s *StartWorkspacesOutput) SetFailedRequests(v []*FailedWorkspaceChangeRequest) *StartWorkspacesOutput {
+ s.FailedRequests = v
+ return s
+}
+
// Describes the stop request.
type StopRequest struct {
_ struct{} `type:"structure"`
@@ -2051,6 +2369,12 @@ func (s StopRequest) GoString() string {
return s.String()
}
+// SetWorkspaceId sets the WorkspaceId field's value.
+func (s *StopRequest) SetWorkspaceId(v string) *StopRequest {
+ s.WorkspaceId = &v
+ return s
+}
+
type StopWorkspacesInput struct {
_ struct{} `type:"structure"`
@@ -2086,6 +2410,12 @@ func (s *StopWorkspacesInput) Validate() error {
return nil
}
+// SetStopWorkspaceRequests sets the StopWorkspaceRequests field's value.
+func (s *StopWorkspacesInput) SetStopWorkspaceRequests(v []*StopRequest) *StopWorkspacesInput {
+ s.StopWorkspaceRequests = v
+ return s
+}
+
type StopWorkspacesOutput struct {
_ struct{} `type:"structure"`
@@ -2103,6 +2433,12 @@ func (s StopWorkspacesOutput) GoString() string {
return s.String()
}
+// SetFailedRequests sets the FailedRequests field's value.
+func (s *StopWorkspacesOutput) SetFailedRequests(v []*FailedWorkspaceChangeRequest) *StopWorkspacesOutput {
+ s.FailedRequests = v
+ return s
+}
+
// Describes the tag of the WorkSpace.
type Tag struct {
_ struct{} `type:"structure"`
@@ -2142,6 +2478,18 @@ func (s *Tag) Validate() error {
return nil
}
+// 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
+}
+
// Contains information used with the TerminateWorkspaces operation to terminate
// a WorkSpace.
type TerminateRequest struct {
@@ -2176,6 +2524,12 @@ func (s *TerminateRequest) Validate() error {
return nil
}
+// SetWorkspaceId sets the WorkspaceId field's value.
+func (s *TerminateRequest) SetWorkspaceId(v string) *TerminateRequest {
+ s.WorkspaceId = &v
+ return s
+}
+
// Contains the inputs for the TerminateWorkspaces operation.
type TerminateWorkspacesInput struct {
_ struct{} `type:"structure"`
@@ -2222,6 +2576,12 @@ func (s *TerminateWorkspacesInput) Validate() error {
return nil
}
+// SetTerminateWorkspaceRequests sets the TerminateWorkspaceRequests field's value.
+func (s *TerminateWorkspacesInput) SetTerminateWorkspaceRequests(v []*TerminateRequest) *TerminateWorkspacesInput {
+ s.TerminateWorkspaceRequests = v
+ return s
+}
+
// Contains the results of the TerminateWorkspaces operation.
type TerminateWorkspacesOutput struct {
_ struct{} `type:"structure"`
@@ -2240,6 +2600,12 @@ func (s TerminateWorkspacesOutput) GoString() string {
return s.String()
}
+// SetFailedRequests sets the FailedRequests field's value.
+func (s *TerminateWorkspacesOutput) SetFailedRequests(v []*FailedWorkspaceChangeRequest) *TerminateWorkspacesOutput {
+ s.FailedRequests = v
+ return s
+}
+
// Contains information about the user storage for a WorkSpace bundle.
type UserStorage struct {
_ struct{} `type:"structure"`
@@ -2258,6 +2624,12 @@ func (s UserStorage) GoString() string {
return s.String()
}
+// SetCapacity sets the Capacity field's value.
+func (s *UserStorage) SetCapacity(v string) *UserStorage {
+ s.Capacity = &v
+ return s
+}
+
// Contains information about a WorkSpace.
type Workspace struct {
_ struct{} `type:"structure"`
@@ -2317,6 +2689,90 @@ func (s Workspace) GoString() string {
return s.String()
}
+// SetBundleId sets the BundleId field's value.
+func (s *Workspace) SetBundleId(v string) *Workspace {
+ s.BundleId = &v
+ return s
+}
+
+// SetComputerName sets the ComputerName field's value.
+func (s *Workspace) SetComputerName(v string) *Workspace {
+ s.ComputerName = &v
+ return s
+}
+
+// SetDirectoryId sets the DirectoryId field's value.
+func (s *Workspace) SetDirectoryId(v string) *Workspace {
+ s.DirectoryId = &v
+ return s
+}
+
+// SetErrorCode sets the ErrorCode field's value.
+func (s *Workspace) SetErrorCode(v string) *Workspace {
+ s.ErrorCode = &v
+ return s
+}
+
+// SetErrorMessage sets the ErrorMessage field's value.
+func (s *Workspace) SetErrorMessage(v string) *Workspace {
+ s.ErrorMessage = &v
+ return s
+}
+
+// SetIpAddress sets the IpAddress field's value.
+func (s *Workspace) SetIpAddress(v string) *Workspace {
+ s.IpAddress = &v
+ return s
+}
+
+// SetRootVolumeEncryptionEnabled sets the RootVolumeEncryptionEnabled field's value.
+func (s *Workspace) SetRootVolumeEncryptionEnabled(v bool) *Workspace {
+ s.RootVolumeEncryptionEnabled = &v
+ return s
+}
+
+// SetState sets the State field's value.
+func (s *Workspace) SetState(v string) *Workspace {
+ s.State = &v
+ return s
+}
+
+// SetSubnetId sets the SubnetId field's value.
+func (s *Workspace) SetSubnetId(v string) *Workspace {
+ s.SubnetId = &v
+ return s
+}
+
+// SetUserName sets the UserName field's value.
+func (s *Workspace) SetUserName(v string) *Workspace {
+ s.UserName = &v
+ return s
+}
+
+// SetUserVolumeEncryptionEnabled sets the UserVolumeEncryptionEnabled field's value.
+func (s *Workspace) SetUserVolumeEncryptionEnabled(v bool) *Workspace {
+ s.UserVolumeEncryptionEnabled = &v
+ return s
+}
+
+// SetVolumeEncryptionKey sets the VolumeEncryptionKey field's value.
+func (s *Workspace) SetVolumeEncryptionKey(v string) *Workspace {
+ s.VolumeEncryptionKey = &v
+ return s
+}
+
+// SetWorkspaceId sets the WorkspaceId field's value.
+func (s *Workspace) SetWorkspaceId(v string) *Workspace {
+ s.WorkspaceId = &v
+ return s
+}
+
+// SetWorkspaceProperties sets the WorkspaceProperties field's value.
+func (s *Workspace) SetWorkspaceProperties(v *WorkspaceProperties) *Workspace {
+ s.WorkspaceProperties = v
+ return s
+}
+
// Contains information about a WorkSpace bundle.
type WorkspaceBundle struct {
_ struct{} `type:"structure"`
@@ -2352,6 +2808,42 @@ func (s WorkspaceBundle) GoString() string {
return s.String()
}
+// SetBundleId sets the BundleId field's value.
+func (s *WorkspaceBundle) SetBundleId(v string) *WorkspaceBundle {
+ s.BundleId = &v
+ return s
+}
+
+// SetComputeType sets the ComputeType field's value.
+func (s *WorkspaceBundle) SetComputeType(v *ComputeType) *WorkspaceBundle {
+ s.ComputeType = v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *WorkspaceBundle) SetDescription(v string) *WorkspaceBundle {
+ s.Description = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *WorkspaceBundle) SetName(v string) *WorkspaceBundle {
+ s.Name = &v
+ return s
+}
+
+// SetOwner sets the Owner field's value.
+func (s *WorkspaceBundle) SetOwner(v string) *WorkspaceBundle {
+ s.Owner = &v
+ return s
+}
+
+// SetUserStorage sets the UserStorage field's value.
+func (s *WorkspaceBundle) SetUserStorage(v *UserStorage) *WorkspaceBundle {
+ s.UserStorage = v
+ return s
+}
+
// Describes the connection status of a WorkSpace.
type WorkspaceConnectionStatus struct {
_ struct{} `type:"structure"`
@@ -2380,6 +2872,30 @@ func (s WorkspaceConnectionStatus) GoString() string {
return s.String()
}
+// SetConnectionState sets the ConnectionState field's value.
+func (s *WorkspaceConnectionStatus) SetConnectionState(v string) *WorkspaceConnectionStatus {
+ s.ConnectionState = &v
+ return s
+}
+
+// SetConnectionStateCheckTimestamp sets the ConnectionStateCheckTimestamp field's value.
+func (s *WorkspaceConnectionStatus) SetConnectionStateCheckTimestamp(v time.Time) *WorkspaceConnectionStatus {
+ s.ConnectionStateCheckTimestamp = &v
+ return s
+}
+
+// SetLastKnownUserConnectionTimestamp sets the LastKnownUserConnectionTimestamp field's value.
+func (s *WorkspaceConnectionStatus) SetLastKnownUserConnectionTimestamp(v time.Time) *WorkspaceConnectionStatus {
+ s.LastKnownUserConnectionTimestamp = &v
+ return s
+}
+
+// SetWorkspaceId sets the WorkspaceId field's value.
+func (s *WorkspaceConnectionStatus) SetWorkspaceId(v string) *WorkspaceConnectionStatus {
+ s.WorkspaceId = &v
+ return s
+}
+
// Contains information about an AWS Directory Service directory for use with
// Amazon WorkSpaces.
type WorkspaceDirectory struct {
@@ -2437,6 +2953,78 @@ func (s WorkspaceDirectory) GoString() string {
return s.String()
}
+// SetAlias sets the Alias field's value.
+func (s *WorkspaceDirectory) SetAlias(v string) *WorkspaceDirectory {
+ s.Alias = &v
+ return s
+}
+
+// SetCustomerUserName sets the CustomerUserName field's value.
+func (s *WorkspaceDirectory) SetCustomerUserName(v string) *WorkspaceDirectory {
+ s.CustomerUserName = &v
+ return s
+}
+
+// SetDirectoryId sets the DirectoryId field's value.
+func (s *WorkspaceDirectory) SetDirectoryId(v string) *WorkspaceDirectory {
+ s.DirectoryId = &v
+ return s
+}
+
+// SetDirectoryName sets the DirectoryName field's value.
+func (s *WorkspaceDirectory) SetDirectoryName(v string) *WorkspaceDirectory {
+ s.DirectoryName = &v
+ return s
+}
+
+// SetDirectoryType sets the DirectoryType field's value.
+func (s *WorkspaceDirectory) SetDirectoryType(v string) *WorkspaceDirectory {
+ s.DirectoryType = &v
+ return s
+}
+
+// SetDnsIpAddresses sets the DnsIpAddresses field's value.
+func (s *WorkspaceDirectory) SetDnsIpAddresses(v []*string) *WorkspaceDirectory {
+ s.DnsIpAddresses = v
+ return s
+}
+
+// SetIamRoleId sets the IamRoleId field's value.
+func (s *WorkspaceDirectory) SetIamRoleId(v string) *WorkspaceDirectory {
+ s.IamRoleId = &v
+ return s
+}
+
+// SetRegistrationCode sets the RegistrationCode field's value.
+func (s *WorkspaceDirectory) SetRegistrationCode(v string) *WorkspaceDirectory {
+ s.RegistrationCode = &v
+ return s
+}
+
+// SetState sets the State field's value.
+func (s *WorkspaceDirectory) SetState(v string) *WorkspaceDirectory {
+ s.State = &v
+ return s
+}
+
+// SetSubnetIds sets the SubnetIds field's value.
+func (s *WorkspaceDirectory) SetSubnetIds(v []*string) *WorkspaceDirectory {
+ s.SubnetIds = v
+ return s
+}
+
+// SetWorkspaceCreationProperties sets the WorkspaceCreationProperties field's value.
+func (s *WorkspaceDirectory) SetWorkspaceCreationProperties(v *DefaultWorkspaceCreationProperties) *WorkspaceDirectory {
+ s.WorkspaceCreationProperties = v
+ return s
+}
+
+// SetWorkspaceSecurityGroupId sets the WorkspaceSecurityGroupId field's value.
+func (s *WorkspaceDirectory) SetWorkspaceSecurityGroupId(v string) *WorkspaceDirectory {
+ s.WorkspaceSecurityGroupId = &v
+ return s
+}
+
// Describes the properties of a WorkSpace.
type WorkspaceProperties struct {
_ struct{} `type:"structure"`
@@ -2461,6 +3049,18 @@ func (s WorkspaceProperties) GoString() string {
return s.String()
}
+// SetRunningMode sets the RunningMode field's value.
+func (s *WorkspaceProperties) SetRunningMode(v string) *WorkspaceProperties {
+ s.RunningMode = &v
+ return s
+}
+
+// SetRunningModeAutoStopTimeoutInMinutes sets the RunningModeAutoStopTimeoutInMinutes field's value.
+func (s *WorkspaceProperties) SetRunningModeAutoStopTimeoutInMinutes(v int64) *WorkspaceProperties {
+ s.RunningModeAutoStopTimeoutInMinutes = &v
+ return s
+}
+
// Contains information about a WorkSpace creation request.
type WorkspaceRequest struct {
_ struct{} `type:"structure"`
@@ -2543,6 +3143,54 @@ func (s *WorkspaceRequest) Validate() error {
return nil
}
+// SetBundleId sets the BundleId field's value.
+func (s *WorkspaceRequest) SetBundleId(v string) *WorkspaceRequest {
+ s.BundleId = &v
+ return s
+}
+
+// SetDirectoryId sets the DirectoryId field's value.
+func (s *WorkspaceRequest) SetDirectoryId(v string) *WorkspaceRequest {
+ s.DirectoryId = &v
+ return s
+}
+
+// SetRootVolumeEncryptionEnabled sets the RootVolumeEncryptionEnabled field's value.
+func (s *WorkspaceRequest) SetRootVolumeEncryptionEnabled(v bool) *WorkspaceRequest {
+ s.RootVolumeEncryptionEnabled = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *WorkspaceRequest) SetTags(v []*Tag) *WorkspaceRequest {
+ s.Tags = v
+ return s
+}
+
+// SetUserName sets the UserName field's value.
+func (s *WorkspaceRequest) SetUserName(v string) *WorkspaceRequest {
+ s.UserName = &v
+ return s
+}
+
+// SetUserVolumeEncryptionEnabled sets the UserVolumeEncryptionEnabled field's value.
+func (s *WorkspaceRequest) SetUserVolumeEncryptionEnabled(v bool) *WorkspaceRequest {
+ s.UserVolumeEncryptionEnabled = &v
+ return s
+}
+
+// SetVolumeEncryptionKey sets the VolumeEncryptionKey field's value.
+func (s *WorkspaceRequest) SetVolumeEncryptionKey(v string) *WorkspaceRequest {
+ s.VolumeEncryptionKey = &v
+ return s
+}
+
+// SetWorkspaceProperties sets the WorkspaceProperties field's value.
+func (s *WorkspaceRequest) SetWorkspaceProperties(v *WorkspaceProperties) *WorkspaceRequest {
+ s.WorkspaceProperties = v
+ return s
+}
+
const (
// ComputeValue is a Compute enum value
ComputeValue = "VALUE"
diff --git a/vendor/github.com/aymerick/raymond/.gitmodules b/vendor/github.com/aymerick/raymond/.gitmodules
deleted file mode 100644
index a757998..0000000
--- a/vendor/github.com/aymerick/raymond/.gitmodules
+++ /dev/null
@@ -1,3 +0,0 @@
-[submodule "mustache"]
- path = mustache
- url = git://github.com/mustache/spec.git
diff --git a/vendor/github.com/dnaeon/go-vcr/.gitignore b/vendor/github.com/dnaeon/go-vcr/.gitignore
index e323625..8312255 100644
--- a/vendor/github.com/dnaeon/go-vcr/.gitignore
+++ b/vendor/github.com/dnaeon/go-vcr/.gitignore
@@ -28,3 +28,6 @@ _testmain.go
# Ignore Golang vendor packages
vendor/
+
+# Ignore test code coverage
+coverage.txt
diff --git a/vendor/github.com/dnaeon/go-vcr/.travis.yml b/vendor/github.com/dnaeon/go-vcr/.travis.yml
index ee55f5f..a991692 100644
--- a/vendor/github.com/dnaeon/go-vcr/.travis.yml
+++ b/vendor/github.com/dnaeon/go-vcr/.travis.yml
@@ -6,8 +6,14 @@ go:
go_import_path: github.com/dnaeon/go-vcr
+before_install:
+- go get github.com/modocache/gover
+
install:
- make get
script:
- - make test
+ - make test_cover
+
+after_success:
+ - bash <(curl -s https://codecov.io/bash)
diff --git a/vendor/github.com/dnaeon/go-vcr/Makefile b/vendor/github.com/dnaeon/go-vcr/Makefile
index c3c7241..16153af 100644
--- a/vendor/github.com/dnaeon/go-vcr/Makefile
+++ b/vendor/github.com/dnaeon/go-vcr/Makefile
@@ -2,6 +2,9 @@ get:
go get -v -t -d ./...
test:
- go test -v ./...
+ go test -v -race ./...
+
+test_cover:
+ ./test_cover.sh
.PHONY: get test
diff --git a/vendor/github.com/dnaeon/go-vcr/README.md b/vendor/github.com/dnaeon/go-vcr/README.md
index 84f2839..4e2f0c7 100644
--- a/vendor/github.com/dnaeon/go-vcr/README.md
+++ b/vendor/github.com/dnaeon/go-vcr/README.md
@@ -3,6 +3,8 @@
[![Build Status](https://travis-ci.org/dnaeon/go-vcr.svg)](https://travis-ci.org/dnaeon/go-vcr)
[![GoDoc](https://godoc.org/github.com/dnaeon/go-vcr?status.svg)](https://godoc.org/github.com/dnaeon/go-vcr)
[![Go Report Card](https://goreportcard.com/badge/github.com/dnaeon/go-vcr)](https://goreportcard.com/report/github.com/dnaeon/go-vcr)
+[![codecov](https://codecov.io/gh/dnaeon/go-vcr/branch/master/graph/badge.svg)](https://codecov.io/gh/dnaeon/go-vcr)
+
`go-vcr` simplifies testing by recording your HTTP interactions and
replaying them in future runs in order to provide fast, deterministic
diff --git a/vendor/github.com/dnaeon/go-vcr/recorder/recorder.go b/vendor/github.com/dnaeon/go-vcr/recorder/recorder.go
index 6078cd2..2a554dc 100644
--- a/vendor/github.com/dnaeon/go-vcr/recorder/recorder.go
+++ b/vendor/github.com/dnaeon/go-vcr/recorder/recorder.go
@@ -140,19 +140,21 @@ func NewAsMode(cassetteName string, mode Mode, realTransport http.RoundTripper)
var c *cassette.Cassette
cassetteFile := fmt.Sprintf("%s.yaml", cassetteName)
- // Depending on whether the cassette file exists or not we
- // either create a new empty cassette or load from file
- if _, err := os.Stat(cassetteFile); os.IsNotExist(err) || mode == ModeRecording {
- // Create new cassette and enter in recording mode
- c = cassette.New(cassetteName)
- mode = ModeRecording
- } else {
- // Load cassette from file and enter replay mode
- c, err = cassette.Load(cassetteName)
- if err != nil {
- return nil, err
+ if mode != ModeDisabled {
+ // Depending on whether the cassette file exists or not we
+ // either create a new empty cassette or load from file
+ if _, err := os.Stat(cassetteFile); os.IsNotExist(err) || mode == ModeRecording {
+ // Create new cassette and enter in recording mode
+ c = cassette.New(cassetteName)
+ mode = ModeRecording
+ } else {
+ // Load cassette from file and enter replay mode
+ c, err = cassette.Load(cassetteName)
+ if err != nil {
+ return nil, err
+ }
+ mode = ModeReplaying
}
- mode = ModeReplaying
}
if realTransport == nil {
@@ -215,5 +217,7 @@ func (r *Recorder) CancelRequest(req *http.Request) {
// SetMatcher sets a function to match requests against recorded HTTP interactions.
func (r *Recorder) SetMatcher(matcher cassette.Matcher) {
- r.cassette.Matcher = matcher
+ if r.cassette != nil {
+ r.cassette.Matcher = matcher
+ }
}
diff --git a/vendor/github.com/dnaeon/go-vcr/recorder/recorder_test.go b/vendor/github.com/dnaeon/go-vcr/recorder/recorder_test.go
index 502ec8c..ff03737 100644
--- a/vendor/github.com/dnaeon/go-vcr/recorder/recorder_test.go
+++ b/vendor/github.com/dnaeon/go-vcr/recorder/recorder_test.go
@@ -31,6 +31,8 @@ import (
"io/ioutil"
"net/http"
"net/http/httptest"
+ "net/url"
+ "os"
"path"
"strings"
"testing"
@@ -47,34 +49,8 @@ type recordTest struct {
out string
}
-func (test recordTest) perform(t *testing.T, url string, r *recorder.Recorder) {
- // Create an HTTP client and inject our transport
- client := &http.Client{
- Transport: r, // Inject as transport!
- }
-
- req, err := http.NewRequest(test.method, url, strings.NewReader(test.body))
- if err != nil {
- t.Fatal(err)
- }
- resp, err := client.Do(req)
- if err != nil {
- t.Fatal(err)
- }
- defer resp.Body.Close()
-
- content, err := ioutil.ReadAll(resp.Body)
- if err != nil {
- t.Fatal(err)
- }
- if strings.TrimSpace(string(content)) != test.out {
- t.Fatalf("got:\t%s\n\twant:\t%s", string(content), string(test.out))
- }
-}
-
-func TestRecord(t *testing.T) {
- runID := time.Now().Format(time.RFC3339Nano)
- tests := []recordTest{
+func httpTests(runID string) []recordTest {
+ return []recordTest{
{
method: "GET",
out: "GET " + runID,
@@ -90,49 +66,18 @@ func TestRecord(t *testing.T) {
out: "POST " + runID + "\nalt body",
},
}
+}
- dir, err := ioutil.TempDir("", "")
- if err != nil {
- t.Fatal(err)
- }
- cassPath := path.Join(dir, "record_test")
- var serverURL string
- serverUp := false
-
- func() {
- // Start our recorder
- r, err := recorder.New(cassPath)
- if err != nil {
- t.Fatal(err)
- }
- defer r.Stop() // Make sure recorder is stopped once done with it
-
- server := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
- fmt.Fprintf(w, "%s %s", r.Method, runID)
- if r.Body != nil {
- defer r.Body.Close()
- fmt.Fprintln(w)
- io.Copy(w, r.Body)
- }
- }))
- serverUp = true
- defer func() {
- server.Close()
- t.Log("server shut down")
- serverUp = false
- }()
- serverURL = server.URL
-
- t.Log("recording")
- for _, test := range tests {
- test.perform(t, serverURL, r)
- }
- }()
+func TestRecord(t *testing.T) {
+ runID, cassPath, tests := setupTests(t, "record_test")
+
+ serverURL := httpRecorderTest(t, runID, tests, cassPath, recorder.ModeRecording)
c, err := cassette.Load(cassPath)
if err != nil {
t.Fatal(err)
}
+
for i, test := range tests {
body := c.Interactions[i].Request.Body
if body != test.body {
@@ -140,10 +85,6 @@ func TestRecord(t *testing.T) {
}
}
- if serverUp {
- t.Fatal("expected server to have shut down")
- }
-
// Re-run without the actual server
r, err := recorder.New(cassPath)
if err != nil {
@@ -167,3 +108,125 @@ func TestRecord(t *testing.T) {
test.perform(t, serverURL, r)
}
}
+
+func TestModePlaybackMissing(t *testing.T) {
+ // Record initial requests
+ runID, cassPath, tests := setupTests(t, "record_playback_missing_test")
+ httpRecorderTest(t, runID, tests, cassPath, recorder.ModeReplaying)
+
+ // setup same path but a new runID so requests won't match
+ runID = time.Now().Format(time.RFC3339Nano)
+ recorder, server := httpRecorderTestSetup(t, runID, cassPath, recorder.ModeReplaying)
+ serverURL := server.URL
+
+ defer server.Close()
+ defer recorder.Stop()
+
+ for _, test := range tests {
+ resp, err := test.performReq(t, serverURL, recorder)
+ if resp != nil {
+ t.Fatalf("Expected response to be nil but was %s", resp)
+ }
+
+ urlErr, ok := err.(*url.Error)
+ if !ok {
+ t.Fatalf("Expected err but was %T %s", err, err)
+ }
+
+ if urlErr.Err != cassette.ErrInteractionNotFound {
+ t.Fatalf("Expected cassette.ErrInteractionNotFound but was %T %s", err, err)
+ }
+ }
+}
+
+func TestModeDisabled(t *testing.T) {
+ runID, cassPath, tests := setupTests(t, "record_disabled_test")
+
+ httpRecorderTest(t, runID, tests, cassPath, recorder.ModeDisabled)
+
+ _, err := cassette.Load(cassPath)
+ // Expect the file to not exist if record is disabled
+ if !os.IsNotExist(err) {
+ t.Fatal(err)
+ }
+}
+
+func httpRecorderTestSetup(t *testing.T, runID string, cassPath string, mode recorder.Mode) (*recorder.Recorder, *httptest.Server) {
+ // Start our recorder
+ recorder, err := recorder.NewAsMode(cassPath, mode, http.DefaultTransport)
+ if err != nil {
+ t.Fatal(err)
+ }
+
+ server := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
+ fmt.Fprintf(w, "%s %s", r.Method, runID)
+ if r.Body != nil {
+ defer r.Body.Close()
+ fmt.Fprintln(w)
+ io.Copy(w, r.Body)
+ }
+ }))
+
+ return recorder, server
+}
+
+func httpRecorderTest(t *testing.T, runID string, tests []recordTest, cassPath string, mode recorder.Mode) string {
+ recorder, server := httpRecorderTestSetup(t, runID, cassPath, mode)
+ serverURL := server.URL
+
+ t.Log("test http requests")
+ for _, test := range tests {
+ test.perform(t, serverURL, recorder)
+ }
+
+ // Make sure recorder is stopped once done with it
+ server.Close()
+ t.Log("server shut down")
+
+ recorder.Stop()
+ t.Log("recorder stopped")
+
+ return serverURL
+}
+
+func (test recordTest) perform(t *testing.T, url string, r *recorder.Recorder) {
+ resp, err := test.performReq(t, url, r)
+ if err != nil {
+ t.Fatal(err)
+ }
+ defer resp.Body.Close()
+
+ content, err := ioutil.ReadAll(resp.Body)
+ if err != nil {
+ t.Fatal(err)
+ }
+ if strings.TrimSpace(string(content)) != test.out {
+ t.Fatalf("got:\t%s\n\twant:\t%s", string(content), string(test.out))
+ }
+}
+
+func (test recordTest) performReq(t *testing.T, url string, r *recorder.Recorder) (*http.Response, error) {
+ // Create an HTTP client and inject our transport
+ client := &http.Client{
+ Transport: r, // Inject as transport!
+ }
+
+ req, err := http.NewRequest(test.method, url, strings.NewReader(test.body))
+ if err != nil {
+ t.Fatal(err)
+ }
+ return client.Do(req)
+}
+
+func setupTests(t *testing.T, name string) (runID, cassPath string, tests []recordTest) {
+ runID = time.Now().Format(time.RFC3339Nano)
+
+ dir, err := ioutil.TempDir("", "")
+ if err != nil {
+ t.Fatal(err)
+ }
+ cassPath = path.Join(dir, name)
+ tests = httpTests(runID)
+
+ return
+}
diff --git a/vendor/github.com/dnaeon/go-vcr/test_cover.sh b/vendor/github.com/dnaeon/go-vcr/test_cover.sh
new file mode 100755
index 0000000..0542345
--- /dev/null
+++ b/vendor/github.com/dnaeon/go-vcr/test_cover.sh
@@ -0,0 +1,10 @@
+#!/usr/bin/env bash
+
+set -e
+echo "" > coverage.txt
+
+go list -f '"go test -v -race -covermode=atomic -coverprofile={{.Name}}.coverprofile -coverpkg={{range $i, $f := .XTestImports}}{{if eq (printf "%.24s" $f) "github.com/dnaeon/go-vcr" }}{{$f}},{{end}}{{end}}{{.ImportPath}} {{.ImportPath}}"' ./... | grep -v vendor | xargs -I {} bash -c {}
+
+gover . coverage.txt
+
+rm *.coverprofile
diff --git a/vendor/github.com/hashicorp/errwrap/LICENSE b/vendor/github.com/hashicorp/errwrap/LICENSE
deleted file mode 100644
index c33dcc7..0000000
--- a/vendor/github.com/hashicorp/errwrap/LICENSE
+++ /dev/null
@@ -1,354 +0,0 @@
-Mozilla Public License, version 2.0
-
-1. Definitions
-
-1.1. “Contributor”
-
- means each individual or legal entity that creates, contributes to the
- creation of, or owns Covered Software.
-
-1.2. “Contributor Version”
-
- means the combination of the Contributions of others (if any) used by a
- Contributor and that particular Contributor’s Contribution.
-
-1.3. “Contribution”
-
- means Covered Software of a particular Contributor.
-
-1.4. “Covered Software”
-
- means Source Code Form to which the initial Contributor has attached the
- notice in Exhibit A, the Executable Form of such Source Code Form, and
- Modifications of such Source Code Form, in each case including portions
- thereof.
-
-1.5. “Incompatible With Secondary Licenses”
- means
-
- a. that the initial Contributor has attached the notice described in
- Exhibit B to the Covered Software; or
-
- b. that the Covered Software was made available under the terms of version
- 1.1 or earlier of the License, but not also under the terms of a
- Secondary License.
-
-1.6. “Executable Form”
-
- means any form of the work other than Source Code Form.
-
-1.7. “Larger Work”
-
- means a work that combines Covered Software with other material, in a separate
- file or files, that is not Covered Software.
-
-1.8. “License”
-
- means this document.
-
-1.9. “Licensable”
-
- means having the right to grant, to the maximum extent possible, whether at the
- time of the initial grant or subsequently, any and all of the rights conveyed by
- this License.
-
-1.10. “Modifications”
-
- means any of the following:
-
- a. any file in Source Code Form that results from an addition to, deletion
- from, or modification of the contents of Covered Software; or
-
- b. any new file in Source Code Form that contains any Covered Software.
-
-1.11. “Patent Claims” of a Contributor
-
- means any patent claim(s), including without limitation, method, process,
- and apparatus claims, in any patent Licensable by such Contributor that
- would be infringed, but for the grant of the License, by the making,
- using, selling, offering for sale, having made, import, or transfer of
- either its Contributions or its Contributor Version.
-
-1.12. “Secondary License”
-
- means either the GNU General Public License, Version 2.0, the GNU Lesser
- General Public License, Version 2.1, the GNU Affero General Public
- License, Version 3.0, or any later versions of those licenses.
-
-1.13. “Source Code Form”
-
- means the form of the work preferred for making modifications.
-
-1.14. “You” (or “Your”)
-
- means an individual or a legal entity exercising rights under this
- License. For legal entities, “You” includes any entity that controls, is
- controlled by, or is under common control with You. For purposes of this
- definition, “control” means (a) the power, direct or indirect, to cause
- the direction or management of such entity, whether by contract or
- otherwise, or (b) ownership of more than fifty percent (50%) of the
- outstanding shares or beneficial ownership of such entity.
-
-
-2. License Grants and Conditions
-
-2.1. Grants
-
- Each Contributor hereby grants You a world-wide, royalty-free,
- non-exclusive license:
-
- a. under intellectual property rights (other than patent or trademark)
- Licensable by such Contributor to use, reproduce, make available,
- modify, display, perform, distribute, and otherwise exploit its
- Contributions, either on an unmodified basis, with Modifications, or as
- part of a Larger Work; and
-
- b. under Patent Claims of such Contributor to make, use, sell, offer for
- sale, have made, import, and otherwise transfer either its Contributions
- or its Contributor Version.
-
-2.2. Effective Date
-
- The licenses granted in Section 2.1 with respect to any Contribution become
- effective for each Contribution on the date the Contributor first distributes
- such Contribution.
-
-2.3. Limitations on Grant Scope
-
- The licenses granted in this Section 2 are the only rights granted under this
- License. No additional rights or licenses will be implied from the distribution
- or licensing of Covered Software under this License. Notwithstanding Section
- 2.1(b) above, no patent license is granted by a Contributor:
-
- a. for any code that a Contributor has removed from Covered Software; or
-
- b. for infringements caused by: (i) Your and any other third party’s
- modifications of Covered Software, or (ii) the combination of its
- Contributions with other software (except as part of its Contributor
- Version); or
-
- c. under Patent Claims infringed by Covered Software in the absence of its
- Contributions.
-
- This License does not grant any rights in the trademarks, service marks, or
- logos of any Contributor (except as may be necessary to comply with the
- notice requirements in Section 3.4).
-
-2.4. Subsequent Licenses
-
- No Contributor makes additional grants as a result of Your choice to
- distribute the Covered Software under a subsequent version of this License
- (see Section 10.2) or under the terms of a Secondary License (if permitted
- under the terms of Section 3.3).
-
-2.5. Representation
-
- Each Contributor represents that the Contributor believes its Contributions
- are its original creation(s) or it has sufficient rights to grant the
- rights to its Contributions conveyed by this License.
-
-2.6. Fair Use
-
- This License is not intended to limit any rights You have under applicable
- copyright doctrines of fair use, fair dealing, or other equivalents.
-
-2.7. Conditions
-
- Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted in
- Section 2.1.
-
-
-3. Responsibilities
-
-3.1. Distribution of Source Form
-
- All distribution of Covered Software in Source Code Form, including any
- Modifications that You create or to which You contribute, must be under the
- terms of this License. You must inform recipients that the Source Code Form
- of the Covered Software is governed by the terms of this License, and how
- they can obtain a copy of this License. You may not attempt to alter or
- restrict the recipients’ rights in the Source Code Form.
-
-3.2. Distribution of Executable Form
-
- If You distribute Covered Software in Executable Form then:
-
- a. such Covered Software must also be made available in Source Code Form,
- as described in Section 3.1, and You must inform recipients of the
- Executable Form how they can obtain a copy of such Source Code Form by
- reasonable means in a timely manner, at a charge no more than the cost
- of distribution to the recipient; and
-
- b. You may distribute such Executable Form under the terms of this License,
- or sublicense it under different terms, provided that the license for
- the Executable Form does not attempt to limit or alter the recipients’
- rights in the Source Code Form under this License.
-
-3.3. Distribution of a Larger Work
-
- You may create and distribute a Larger Work under terms of Your choice,
- provided that You also comply with the requirements of this License for the
- Covered Software. If the Larger Work is a combination of Covered Software
- with a work governed by one or more Secondary Licenses, and the Covered
- Software is not Incompatible With Secondary Licenses, this License permits
- You to additionally distribute such Covered Software under the terms of
- such Secondary License(s), so that the recipient of the Larger Work may, at
- their option, further distribute the Covered Software under the terms of
- either this License or such Secondary License(s).
-
-3.4. Notices
-
- You may not remove or alter the substance of any license notices (including
- copyright notices, patent notices, disclaimers of warranty, or limitations
- of liability) contained within the Source Code Form of the Covered
- Software, except that You may alter any license notices to the extent
- required to remedy known factual inaccuracies.
-
-3.5. Application of Additional Terms
-
- You may choose to offer, and to charge a fee for, warranty, support,
- indemnity or liability obligations to one or more recipients of Covered
- Software. However, You may do so only on Your own behalf, and not on behalf
- of any Contributor. You must make it absolutely clear that any such
- warranty, support, indemnity, or liability obligation is offered by You
- alone, and You hereby agree to indemnify every Contributor for any
- liability incurred by such Contributor as a result of warranty, support,
- indemnity or liability terms You offer. You may include additional
- disclaimers of warranty and limitations of liability specific to any
- jurisdiction.
-
-4. Inability to Comply Due to Statute or Regulation
-
- If it is impossible for You to comply with any of the terms of this License
- with respect to some or all of the Covered Software due to statute, judicial
- order, or regulation then You must: (a) comply with the terms of this License
- to the maximum extent possible; and (b) describe the limitations and the code
- they affect. Such description must be placed in a text file included with all
- distributions of the Covered Software under this License. Except to the
- extent prohibited by statute or regulation, such description must be
- sufficiently detailed for a recipient of ordinary skill to be able to
- understand it.
-
-5. Termination
-
-5.1. The rights granted under this License will terminate automatically if You
- fail to comply with any of its terms. However, if You become compliant,
- then the rights granted under this License from a particular Contributor
- are reinstated (a) provisionally, unless and until such Contributor
- explicitly and finally terminates Your grants, and (b) on an ongoing basis,
- if such Contributor fails to notify You of the non-compliance by some
- reasonable means prior to 60 days after You have come back into compliance.
- Moreover, Your grants from a particular Contributor are reinstated on an
- ongoing basis if such Contributor notifies You of the non-compliance by
- some reasonable means, this is the first time You have received notice of
- non-compliance with this License from such Contributor, and You become
- compliant prior to 30 days after Your receipt of the notice.
-
-5.2. If You initiate litigation against any entity by asserting a patent
- infringement claim (excluding declaratory judgment actions, counter-claims,
- and cross-claims) alleging that a Contributor Version directly or
- indirectly infringes any patent, then the rights granted to You by any and
- all Contributors for the Covered Software under Section 2.1 of this License
- shall terminate.
-
-5.3. In the event of termination under Sections 5.1 or 5.2 above, all end user
- license agreements (excluding distributors and resellers) which have been
- validly granted by You or Your distributors under this License prior to
- termination shall survive termination.
-
-6. Disclaimer of Warranty
-
- Covered Software is provided under this License on an “as is” basis, without
- warranty of any kind, either expressed, implied, or statutory, including,
- without limitation, warranties that the Covered Software is free of defects,
- merchantable, fit for a particular purpose or non-infringing. The entire
- risk as to the quality and performance of the Covered Software is with You.
- Should any Covered Software prove defective in any respect, You (not any
- Contributor) assume the cost of any necessary servicing, repair, or
- correction. This disclaimer of warranty constitutes an essential part of this
- License. No use of any Covered Software is authorized under this License
- except under this disclaimer.
-
-7. Limitation of Liability
-
- Under no circumstances and under no legal theory, whether tort (including
- negligence), contract, or otherwise, shall any Contributor, or anyone who
- distributes Covered Software as permitted above, be liable to You for any
- direct, indirect, special, incidental, or consequential damages of any
- character including, without limitation, damages for lost profits, loss of
- goodwill, work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses, even if such party shall have been
- informed of the possibility of such damages. This limitation of liability
- shall not apply to liability for death or personal injury resulting from such
- party’s negligence to the extent applicable law prohibits such limitation.
- Some jurisdictions do not allow the exclusion or limitation of incidental or
- consequential damages, so this exclusion and limitation may not apply to You.
-
-8. Litigation
-
- Any litigation relating to this License may be brought only in the courts of
- a jurisdiction where the defendant maintains its principal place of business
- and such litigation shall be governed by laws of that jurisdiction, without
- reference to its conflict-of-law provisions. Nothing in this Section shall
- prevent a party’s ability to bring cross-claims or counter-claims.
-
-9. Miscellaneous
-
- This License represents the complete agreement concerning the subject matter
- hereof. If any provision of this License is held to be unenforceable, such
- provision shall be reformed only to the extent necessary to make it
- enforceable. Any law or regulation which provides that the language of a
- contract shall be construed against the drafter shall not be used to construe
- this License against a Contributor.
-
-
-10. Versions of the License
-
-10.1. New Versions
-
- Mozilla Foundation is the license steward. Except as provided in Section
- 10.3, no one other than the license steward has the right to modify or
- publish new versions of this License. Each version will be given a
- distinguishing version number.
-
-10.2. Effect of New Versions
-
- You may distribute the Covered Software under the terms of the version of
- the License under which You originally received the Covered Software, or
- under the terms of any subsequent version published by the license
- steward.
-
-10.3. Modified Versions
-
- If you create software not governed by this License, and you want to
- create a new license for such software, you may create and use a modified
- version of this License if you rename the license and remove any
- references to the name of the license steward (except to note that such
- modified license differs from this License).
-
-10.4. Distributing Source Code Form that is Incompatible With Secondary Licenses
- If You choose to distribute Source Code Form that is Incompatible With
- Secondary Licenses under the terms of this version of the License, the
- notice described in Exhibit B of this License must be attached.
-
-Exhibit A - Source Code Form License Notice
-
- This Source Code Form is subject to the
- terms of the Mozilla Public License, v.
- 2.0. If a copy of the MPL was not
- distributed with this file, You can
- obtain one at
- http://mozilla.org/MPL/2.0/.
-
-If it is not possible or desirable to put the notice in a particular file, then
-You may include the notice in a location (such as a LICENSE file in a relevant
-directory) where a recipient would be likely to look for such a notice.
-
-You may add additional accurate notices of copyright ownership.
-
-Exhibit B - “Incompatible With Secondary Licenses” Notice
-
- This Source Code Form is “Incompatible
- With Secondary Licenses”, as defined by
- the Mozilla Public License, v. 2.0.
-
diff --git a/vendor/github.com/hashicorp/errwrap/README.md b/vendor/github.com/hashicorp/errwrap/README.md
deleted file mode 100644
index 1c95f59..0000000
--- a/vendor/github.com/hashicorp/errwrap/README.md
+++ /dev/null
@@ -1,89 +0,0 @@
-# errwrap
-
-`errwrap` is a package for Go that formalizes the pattern of wrapping errors
-and checking if an error contains another error.
-
-There is a common pattern in Go of taking a returned `error` value and
-then wrapping it (such as with `fmt.Errorf`) before returning it. The problem
-with this pattern is that you completely lose the original `error` structure.
-
-Arguably the _correct_ approach is that you should make a custom structure
-implementing the `error` interface, and have the original error as a field
-on that structure, such [as this example](http://golang.org/pkg/os/#PathError).
-This is a good approach, but you have to know the entire chain of possible
-rewrapping that happens, when you might just care about one.
-
-`errwrap` formalizes this pattern (it doesn't matter what approach you use
-above) by giving a single interface for wrapping errors, checking if a specific
-error is wrapped, and extracting that error.
-
-## Installation and Docs
-
-Install using `go get github.com/hashicorp/errwrap`.
-
-Full documentation is available at
-http://godoc.org/github.com/hashicorp/errwrap
-
-## Usage
-
-#### Basic Usage
-
-Below is a very basic example of its usage:
-
-```go
-// A function that always returns an error, but wraps it, like a real
-// function might.
-func tryOpen() error {
- _, err := os.Open("/i/dont/exist")
- if err != nil {
- return errwrap.Wrapf("Doesn't exist: {{err}}", err)
- }
-
- return nil
-}
-
-func main() {
- err := tryOpen()
-
- // We can use the Contains helpers to check if an error contains
- // another error. It is safe to do this with a nil error, or with
- // an error that doesn't even use the errwrap package.
- if errwrap.Contains(err, ErrNotExist) {
- // Do something
- }
- if errwrap.ContainsType(err, new(os.PathError)) {
- // Do something
- }
-
- // Or we can use the associated `Get` functions to just extract
- // a specific error. This would return nil if that specific error doesn't
- // exist.
- perr := errwrap.GetType(err, new(os.PathError))
-}
-```
-
-#### Custom Types
-
-If you're already making custom types that properly wrap errors, then
-you can get all the functionality of `errwraps.Contains` and such by
-implementing the `Wrapper` interface with just one function. Example:
-
-```go
-type AppError {
- Code ErrorCode
- Err error
-}
-
-func (e *AppError) WrappedErrors() []error {
- return []error{e.Err}
-}
-```
-
-Now this works:
-
-```go
-err := &AppError{Err: fmt.Errorf("an error")}
-if errwrap.ContainsType(err, fmt.Errorf("")) {
- // This will work!
-}
-```
diff --git a/vendor/github.com/hashicorp/errwrap/errwrap.go b/vendor/github.com/hashicorp/errwrap/errwrap.go
deleted file mode 100644
index a733bef..0000000
--- a/vendor/github.com/hashicorp/errwrap/errwrap.go
+++ /dev/null
@@ -1,169 +0,0 @@
-// Package errwrap implements methods to formalize error wrapping in Go.
-//
-// All of the top-level functions that take an `error` are built to be able
-// to take any error, not just wrapped errors. This allows you to use errwrap
-// without having to type-check and type-cast everywhere.
-package errwrap
-
-import (
- "errors"
- "reflect"
- "strings"
-)
-
-// WalkFunc is the callback called for Walk.
-type WalkFunc func(error)
-
-// Wrapper is an interface that can be implemented by custom types to
-// have all the Contains, Get, etc. functions in errwrap work.
-//
-// When Walk reaches a Wrapper, it will call the callback for every
-// wrapped error in addition to the wrapper itself. Since all the top-level
-// functions in errwrap use Walk, this means that all those functions work
-// with your custom type.
-type Wrapper interface {
- WrappedErrors() []error
-}
-
-// Wrap defines that outer wraps inner, returning an error type that
-// can be cleanly used with the other methods in this package, such as
-// Contains, GetAll, etc.
-//
-// This function won't modify the error message at all (the outer message
-// will be used).
-func Wrap(outer, inner error) error {
- return &wrappedError{
- Outer: outer,
- Inner: inner,
- }
-}
-
-// Wrapf wraps an error with a formatting message. This is similar to using
-// `fmt.Errorf` to wrap an error. If you're using `fmt.Errorf` to wrap
-// errors, you should replace it with this.
-//
-// format is the format of the error message. The string '{{err}}' will
-// be replaced with the original error message.
-func Wrapf(format string, err error) error {
- outerMsg := ""
- if err != nil {
- outerMsg = err.Error()
- }
-
- outer := errors.New(strings.Replace(
- format, "{{err}}", outerMsg, -1))
-
- return Wrap(outer, err)
-}
-
-// Contains checks if the given error contains an error with the
-// message msg. If err is not a wrapped error, this will always return
-// false unless the error itself happens to match this msg.
-func Contains(err error, msg string) bool {
- return len(GetAll(err, msg)) > 0
-}
-
-// ContainsType checks if the given error contains an error with
-// the same concrete type as v. If err is not a wrapped error, this will
-// check the err itself.
-func ContainsType(err error, v interface{}) bool {
- return len(GetAllType(err, v)) > 0
-}
-
-// Get is the same as GetAll but returns the deepest matching error.
-func Get(err error, msg string) error {
- es := GetAll(err, msg)
- if len(es) > 0 {
- return es[len(es)-1]
- }
-
- return nil
-}
-
-// GetType is the same as GetAllType but returns the deepest matching error.
-func GetType(err error, v interface{}) error {
- es := GetAllType(err, v)
- if len(es) > 0 {
- return es[len(es)-1]
- }
-
- return nil
-}
-
-// GetAll gets all the errors that might be wrapped in err with the
-// given message. The order of the errors is such that the outermost
-// matching error (the most recent wrap) is index zero, and so on.
-func GetAll(err error, msg string) []error {
- var result []error
-
- Walk(err, func(err error) {
- if err.Error() == msg {
- result = append(result, err)
- }
- })
-
- return result
-}
-
-// GetAllType gets all the errors that are the same type as v.
-//
-// The order of the return value is the same as described in GetAll.
-func GetAllType(err error, v interface{}) []error {
- var result []error
-
- var search string
- if v != nil {
- search = reflect.TypeOf(v).String()
- }
- Walk(err, func(err error) {
- var needle string
- if err != nil {
- needle = reflect.TypeOf(err).String()
- }
-
- if needle == search {
- result = append(result, err)
- }
- })
-
- return result
-}
-
-// Walk walks all the wrapped errors in err and calls the callback. If
-// err isn't a wrapped error, this will be called once for err. If err
-// is a wrapped error, the callback will be called for both the wrapper
-// that implements error as well as the wrapped error itself.
-func Walk(err error, cb WalkFunc) {
- if err == nil {
- return
- }
-
- switch e := err.(type) {
- case *wrappedError:
- cb(e.Outer)
- Walk(e.Inner, cb)
- case Wrapper:
- cb(err)
-
- for _, err := range e.WrappedErrors() {
- Walk(err, cb)
- }
- default:
- cb(err)
- }
-}
-
-// wrappedError is an implementation of error that has both the
-// outer and inner errors.
-type wrappedError struct {
- Outer error
- Inner error
-}
-
-func (w *wrappedError) Error() string {
- return w.Outer.Error()
-}
-
-func (w *wrappedError) WrappedErrors() []error {
- return []error{w.Outer, w.Inner}
-}
diff --git a/vendor/github.com/hashicorp/errwrap/errwrap_test.go b/vendor/github.com/hashicorp/errwrap/errwrap_test.go
deleted file mode 100644
index 5ae5f8e..0000000
--- a/vendor/github.com/hashicorp/errwrap/errwrap_test.go
+++ /dev/null
@@ -1,94 +0,0 @@
-package errwrap
-
-import (
- "fmt"
- "testing"
-)
-
-func TestWrappedError_impl(t *testing.T) {
- var _ error = new(wrappedError)
-}
-
-func TestGetAll(t *testing.T) {
- cases := []struct {
- Err error
- Msg string
- Len int
- }{
- {},
- {
- fmt.Errorf("foo"),
- "foo",
- 1,
- },
- {
- fmt.Errorf("bar"),
- "foo",
- 0,
- },
- {
- Wrapf("bar", fmt.Errorf("foo")),
- "foo",
- 1,
- },
- {
- Wrapf("{{err}}", fmt.Errorf("foo")),
- "foo",
- 2,
- },
- {
- Wrapf("bar", Wrapf("baz", fmt.Errorf("foo"))),
- "foo",
- 1,
- },
- }
-
- for i, tc := range cases {
- actual := GetAll(tc.Err, tc.Msg)
- if len(actual) != tc.Len {
- t.Fatalf("%d: bad: %#v", i, actual)
- }
- for _, v := range actual {
- if v.Error() != tc.Msg {
- t.Fatalf("%d: bad: %#v", i, actual)
- }
- }
- }
-}
-
-func TestGetAllType(t *testing.T) {
- cases := []struct {
- Err error
- Type interface{}
- Len int
- }{
- {},
- {
- fmt.Errorf("foo"),
- "foo",
- 0,
- },
- {
- fmt.Errorf("bar"),
- fmt.Errorf("foo"),
- 1,
- },
- {
- Wrapf("bar", fmt.Errorf("foo")),
- fmt.Errorf("baz"),
- 2,
- },
- {
- Wrapf("bar", Wrapf("baz", fmt.Errorf("foo"))),
- Wrapf("", nil),
- 0,
- },
- }
-
- for i, tc := range cases {
- actual := GetAllType(tc.Err, tc.Type)
- if len(actual) != tc.Len {
- t.Fatalf("%d: bad: %#v", i, actual)
- }
- }
-}
diff --git a/vendor/github.com/hashicorp/go-multierror/.travis.yml b/vendor/github.com/hashicorp/go-multierror/.travis.yml
deleted file mode 100644
index 4b865d1..0000000
--- a/vendor/github.com/hashicorp/go-multierror/.travis.yml
+++ /dev/null
@@ -1,12 +0,0 @@
-sudo: false
-
-language: go
-
-go:
- - 1.6
-
-branches:
- only:
- - master
-
-script: make test testrace
diff --git a/vendor/github.com/hashicorp/go-multierror/LICENSE b/vendor/github.com/hashicorp/go-multierror/LICENSE
deleted file mode 100644
index 82b4de9..0000000
--- a/vendor/github.com/hashicorp/go-multierror/LICENSE
+++ /dev/null
@@ -1,353 +0,0 @@
-Mozilla Public License, version 2.0
-
-1. Definitions
-
-1.1. “Contributor”
-
- means each individual or legal entity that creates, contributes to the
- creation of, or owns Covered Software.
-
-1.2. “Contributor Version”
-
- means the combination of the Contributions of others (if any) used by a
- Contributor and that particular Contributor’s Contribution.
-
-1.3. “Contribution”
-
- means Covered Software of a particular Contributor.
-
-1.4. “Covered Software”
-
- means Source Code Form to which the initial Contributor has attached the
- notice in Exhibit A, the Executable Form of such Source Code Form, and
- Modifications of such Source Code Form, in each case including portions
- thereof.
-
-1.5. “Incompatible With Secondary Licenses”
- means
-
- a. that the initial Contributor has attached the notice described in
- Exhibit B to the Covered Software; or
-
- b. that the Covered Software was made available under the terms of version
- 1.1 or earlier of the License, but not also under the terms of a
- Secondary License.
-
-1.6. “Executable Form”
-
- means any form of the work other than Source Code Form.
-
-1.7. “Larger Work”
-
- means a work that combines Covered Software with other material, in a separate
- file or files, that is not Covered Software.
-
-1.8. “License”
-
- means this document.
-
-1.9. “Licensable”
-
- means having the right to grant, to the maximum extent possible, whether at the
- time of the initial grant or subsequently, any and all of the rights conveyed by
- this License.
-
-1.10. “Modifications”
-
- means any of the following:
-
- a. any file in Source Code Form that results from an addition to, deletion
- from, or modification of the contents of Covered Software; or
-
- b. any new file in Source Code Form that contains any Covered Software.
-
-1.11. “Patent Claims” of a Contributor
-
- means any patent claim(s), including without limitation, method, process,
- and apparatus claims, in any patent Licensable by such Contributor that
- would be infringed, but for the grant of the License, by the making,
- using, selling, offering for sale, having made, import, or transfer of
- either its Contributions or its Contributor Version.
-
-1.12. “Secondary License”
-
- means either the GNU General Public License, Version 2.0, the GNU Lesser
- General Public License, Version 2.1, the GNU Affero General Public
- License, Version 3.0, or any later versions of those licenses.
-
-1.13. “Source Code Form”
-
- means the form of the work preferred for making modifications.
-
-1.14. “You” (or “Your”)
-
- means an individual or a legal entity exercising rights under this
- License. For legal entities, “You” includes any entity that controls, is
- controlled by, or is under common control with You. For purposes of this
- definition, “control” means (a) the power, direct or indirect, to cause
- the direction or management of such entity, whether by contract or
- otherwise, or (b) ownership of more than fifty percent (50%) of the
- outstanding shares or beneficial ownership of such entity.
-
-
-2. License Grants and Conditions
-
-2.1. Grants
-
- Each Contributor hereby grants You a world-wide, royalty-free,
- non-exclusive license:
-
- a. under intellectual property rights (other than patent or trademark)
- Licensable by such Contributor to use, reproduce, make available,
- modify, display, perform, distribute, and otherwise exploit its
- Contributions, either on an unmodified basis, with Modifications, or as
- part of a Larger Work; and
-
- b. under Patent Claims of such Contributor to make, use, sell, offer for
- sale, have made, import, and otherwise transfer either its Contributions
- or its Contributor Version.
-
-2.2. Effective Date
-
- The licenses granted in Section 2.1 with respect to any Contribution become
- effective for each Contribution on the date the Contributor first distributes
- such Contribution.
-
-2.3. Limitations on Grant Scope
-
- The licenses granted in this Section 2 are the only rights granted under this
- License. No additional rights or licenses will be implied from the distribution
- or licensing of Covered Software under this License. Notwithstanding Section
- 2.1(b) above, no patent license is granted by a Contributor:
-
- a. for any code that a Contributor has removed from Covered Software; or
-
- b. for infringements caused by: (i) Your and any other third party’s
- modifications of Covered Software, or (ii) the combination of its
- Contributions with other software (except as part of its Contributor
- Version); or
-
- c. under Patent Claims infringed by Covered Software in the absence of its
- Contributions.
-
- This License does not grant any rights in the trademarks, service marks, or
- logos of any Contributor (except as may be necessary to comply with the
- notice requirements in Section 3.4).
-
-2.4. Subsequent Licenses
-
- No Contributor makes additional grants as a result of Your choice to
- distribute the Covered Software under a subsequent version of this License
- (see Section 10.2) or under the terms of a Secondary License (if permitted
- under the terms of Section 3.3).
-
-2.5. Representation
-
- Each Contributor represents that the Contributor believes its Contributions
- are its original creation(s) or it has sufficient rights to grant the
- rights to its Contributions conveyed by this License.
-
-2.6. Fair Use
-
- This License is not intended to limit any rights You have under applicable
- copyright doctrines of fair use, fair dealing, or other equivalents.
-
-2.7. Conditions
-
- Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted in
- Section 2.1.
-
-
-3. Responsibilities
-
-3.1. Distribution of Source Form
-
- All distribution of Covered Software in Source Code Form, including any
- Modifications that You create or to which You contribute, must be under the
- terms of this License. You must inform recipients that the Source Code Form
- of the Covered Software is governed by the terms of this License, and how
- they can obtain a copy of this License. You may not attempt to alter or
- restrict the recipients’ rights in the Source Code Form.
-
-3.2. Distribution of Executable Form
-
- If You distribute Covered Software in Executable Form then:
-
- a. such Covered Software must also be made available in Source Code Form,
- as described in Section 3.1, and You must inform recipients of the
- Executable Form how they can obtain a copy of such Source Code Form by
- reasonable means in a timely manner, at a charge no more than the cost
- of distribution to the recipient; and
-
- b. You may distribute such Executable Form under the terms of this License,
- or sublicense it under different terms, provided that the license for
- the Executable Form does not attempt to limit or alter the recipients’
- rights in the Source Code Form under this License.
-
-3.3. Distribution of a Larger Work
-
- You may create and distribute a Larger Work under terms of Your choice,
- provided that You also comply with the requirements of this License for the
- Covered Software. If the Larger Work is a combination of Covered Software
- with a work governed by one or more Secondary Licenses, and the Covered
- Software is not Incompatible With Secondary Licenses, this License permits
- You to additionally distribute such Covered Software under the terms of
- such Secondary License(s), so that the recipient of the Larger Work may, at
- their option, further distribute the Covered Software under the terms of
- either this License or such Secondary License(s).
-
-3.4. Notices
-
- You may not remove or alter the substance of any license notices (including
- copyright notices, patent notices, disclaimers of warranty, or limitations
- of liability) contained within the Source Code Form of the Covered
- Software, except that You may alter any license notices to the extent
- required to remedy known factual inaccuracies.
-
-3.5. Application of Additional Terms
-
- You may choose to offer, and to charge a fee for, warranty, support,
- indemnity or liability obligations to one or more recipients of Covered
- Software. However, You may do so only on Your own behalf, and not on behalf
- of any Contributor. You must make it absolutely clear that any such
- warranty, support, indemnity, or liability obligation is offered by You
- alone, and You hereby agree to indemnify every Contributor for any
- liability incurred by such Contributor as a result of warranty, support,
- indemnity or liability terms You offer. You may include additional
- disclaimers of warranty and limitations of liability specific to any
- jurisdiction.
-
-4. Inability to Comply Due to Statute or Regulation
-
- If it is impossible for You to comply with any of the terms of this License
- with respect to some or all of the Covered Software due to statute, judicial
- order, or regulation then You must: (a) comply with the terms of this License
- to the maximum extent possible; and (b) describe the limitations and the code
- they affect. Such description must be placed in a text file included with all
- distributions of the Covered Software under this License. Except to the
- extent prohibited by statute or regulation, such description must be
- sufficiently detailed for a recipient of ordinary skill to be able to
- understand it.
-
-5. Termination
-
-5.1. The rights granted under this License will terminate automatically if You
- fail to comply with any of its terms. However, if You become compliant,
- then the rights granted under this License from a particular Contributor
- are reinstated (a) provisionally, unless and until such Contributor
- explicitly and finally terminates Your grants, and (b) on an ongoing basis,
- if such Contributor fails to notify You of the non-compliance by some
- reasonable means prior to 60 days after You have come back into compliance.
- Moreover, Your grants from a particular Contributor are reinstated on an
- ongoing basis if such Contributor notifies You of the non-compliance by
- some reasonable means, this is the first time You have received notice of
- non-compliance with this License from such Contributor, and You become
- compliant prior to 30 days after Your receipt of the notice.
-
-5.2. If You initiate litigation against any entity by asserting a patent
- infringement claim (excluding declaratory judgment actions, counter-claims,
- and cross-claims) alleging that a Contributor Version directly or
- indirectly infringes any patent, then the rights granted to You by any and
- all Contributors for the Covered Software under Section 2.1 of this License
- shall terminate.
-
-5.3. In the event of termination under Sections 5.1 or 5.2 above, all end user
- license agreements (excluding distributors and resellers) which have been
- validly granted by You or Your distributors under this License prior to
- termination shall survive termination.
-
-6. Disclaimer of Warranty
-
- Covered Software is provided under this License on an “as is” basis, without
- warranty of any kind, either expressed, implied, or statutory, including,
- without limitation, warranties that the Covered Software is free of defects,
- merchantable, fit for a particular purpose or non-infringing. The entire
- risk as to the quality and performance of the Covered Software is with You.
- Should any Covered Software prove defective in any respect, You (not any
- Contributor) assume the cost of any necessary servicing, repair, or
- correction. This disclaimer of warranty constitutes an essential part of this
- License. No use of any Covered Software is authorized under this License
- except under this disclaimer.
-
-7. Limitation of Liability
-
- Under no circumstances and under no legal theory, whether tort (including
- negligence), contract, or otherwise, shall any Contributor, or anyone who
- distributes Covered Software as permitted above, be liable to You for any
- direct, indirect, special, incidental, or consequential damages of any
- character including, without limitation, damages for lost profits, loss of
- goodwill, work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses, even if such party shall have been
- informed of the possibility of such damages. This limitation of liability
- shall not apply to liability for death or personal injury resulting from such
- party’s negligence to the extent applicable law prohibits such limitation.
- Some jurisdictions do not allow the exclusion or limitation of incidental or
- consequential damages, so this exclusion and limitation may not apply to You.
-
-8. Litigation
-
- Any litigation relating to this License may be brought only in the courts of
- a jurisdiction where the defendant maintains its principal place of business
- and such litigation shall be governed by laws of that jurisdiction, without
- reference to its conflict-of-law provisions. Nothing in this Section shall
- prevent a party’s ability to bring cross-claims or counter-claims.
-
-9. Miscellaneous
-
- This License represents the complete agreement concerning the subject matter
- hereof. If any provision of this License is held to be unenforceable, such
- provision shall be reformed only to the extent necessary to make it
- enforceable. Any law or regulation which provides that the language of a
- contract shall be construed against the drafter shall not be used to construe
- this License against a Contributor.
-
-
-10. Versions of the License
-
-10.1. New Versions
-
- Mozilla Foundation is the license steward. Except as provided in Section
- 10.3, no one other than the license steward has the right to modify or
- publish new versions of this License. Each version will be given a
- distinguishing version number.
-
-10.2. Effect of New Versions
-
- You may distribute the Covered Software under the terms of the version of
- the License under which You originally received the Covered Software, or
- under the terms of any subsequent version published by the license
- steward.
-
-10.3. Modified Versions
-
- If you create software not governed by this License, and you want to
- create a new license for such software, you may create and use a modified
- version of this License if you rename the license and remove any
- references to the name of the license steward (except to note that such
- modified license differs from this License).
-
-10.4. Distributing Source Code Form that is Incompatible With Secondary Licenses
- If You choose to distribute Source Code Form that is Incompatible With
- Secondary Licenses under the terms of this version of the License, the
- notice described in Exhibit B of this License must be attached.
-
-Exhibit A - Source Code Form License Notice
-
- This Source Code Form is subject to the
- terms of the Mozilla Public License, v.
- 2.0. If a copy of the MPL was not
- distributed with this file, You can
- obtain one at
- http://mozilla.org/MPL/2.0/.
-
-If it is not possible or desirable to put the notice in a particular file, then
-You may include the notice in a location (such as a LICENSE file in a relevant
-directory) where a recipient would be likely to look for such a notice.
-
-You may add additional accurate notices of copyright ownership.
-
-Exhibit B - “Incompatible With Secondary Licenses” Notice
-
- This Source Code Form is “Incompatible
- With Secondary Licenses”, as defined by
- the Mozilla Public License, v. 2.0.
diff --git a/vendor/github.com/hashicorp/go-multierror/Makefile b/vendor/github.com/hashicorp/go-multierror/Makefile
deleted file mode 100644
index b97cd6e..0000000
--- a/vendor/github.com/hashicorp/go-multierror/Makefile
+++ /dev/null
@@ -1,31 +0,0 @@
-TEST?=./...
-
-default: test
-
-# test runs the test suite and vets the code.
-test: generate
- @echo "==> Running tests..."
- @go list $(TEST) \
- | grep -v "/vendor/" \
- | xargs -n1 go test -timeout=60s -parallel=10 ${TESTARGS}
-
-# testrace runs the race checker
-testrace: generate
- @echo "==> Running tests (race)..."
- @go list $(TEST) \
- | grep -v "/vendor/" \
- | xargs -n1 go test -timeout=60s -race ${TESTARGS}
-
-# updatedeps installs all the dependencies needed to run and build.
-updatedeps:
- @sh -c "'${CURDIR}/scripts/deps.sh' '${NAME}'"
-
-# generate runs `go generate` to build the dynamically generated source files.
-generate:
- @echo "==> Generating..."
- @find . -type f -name '.DS_Store' -delete
- @go list ./... \
- | grep -v "/vendor/" \
- | xargs -n1 go generate
-
-.PHONY: default test testrace updatedeps generate
diff --git a/vendor/github.com/hashicorp/go-multierror/README.md b/vendor/github.com/hashicorp/go-multierror/README.md
deleted file mode 100644
index ead5830..0000000
--- a/vendor/github.com/hashicorp/go-multierror/README.md
+++ /dev/null
@@ -1,97 +0,0 @@
-# go-multierror
-
-[![Build Status](http://img.shields.io/travis/hashicorp/go-multierror.svg?style=flat-square)][travis]
-[![Go Documentation](http://img.shields.io/badge/go-documentation-blue.svg?style=flat-square)][godocs]
-
-[travis]: https://travis-ci.org/hashicorp/go-multierror
-[godocs]: https://godoc.org/github.com/hashicorp/go-multierror
-
-`go-multierror` is a package for Go that provides a mechanism for
-representing a list of `error` values as a single `error`.
-
-This allows a function in Go to return an `error` that might actually
-be a list of errors. If the caller knows this, they can unwrap the
-list and access the errors. If the caller doesn't know, the error
-formats to a nice human-readable format.
-
-`go-multierror` implements the
-[errwrap](https://github.com/hashicorp/errwrap) interface so that it can
-be used with that library, as well.
-
-## Installation and Docs
-
-Install using `go get github.com/hashicorp/go-multierror`.
-
-Full documentation is available at
-http://godoc.org/github.com/hashicorp/go-multierror
-
-## Usage
-
-go-multierror is easy to use and purposely built to be unobtrusive in
-existing Go applications/libraries that may not be aware of it.
-
-**Building a list of errors**
-
-The `Append` function is used to create a list of errors. This function
-behaves a lot like the Go built-in `append` function: it doesn't matter
-if the first argument is nil, a `multierror.Error`, or any other `error`,
-the function behaves as you would expect.
-
-```go
-var result error
-
-if err := step1(); err != nil {
- result = multierror.Append(result, err)
-}
-if err := step2(); err != nil {
- result = multierror.Append(result, err)
-}
-
-return result
-```
-
-**Customizing the formatting of the errors**
-
-By specifying a custom `ErrorFormat`, you can customize the format
-of the `Error() string` function:
-
-```go
-var result *multierror.Error
-
-// ... accumulate errors here, maybe using Append
-
-if result != nil {
- result.ErrorFormat = func([]error) string {
- return "errors!"
- }
-}
-```
-
-**Accessing the list of errors**
-
-`multierror.Error` implements `error` so if the caller doesn't know about
-multierror, it will work just fine. But if you're aware a multierror might
-be returned, you can use type switches to access the list of errors:
-
-```go
-if err := something(); err != nil {
- if merr, ok := err.(*multierror.Error); ok {
- // Use merr.Errors
- }
-}
-```
-
-**Returning a multierror only if there are errors**
-
-If you build a `multierror.Error`, you can use the `ErrorOrNil` function
-to return an `error` implementation only if there are errors to return:
-
-```go
-var result *multierror.Error
-
-// ... accumulate errors here
-
-// Return the `error` only if errors were added to the multierror, otherwise
-// return nil since there are no errors.
-return result.ErrorOrNil()
-```
diff --git a/vendor/github.com/hashicorp/go-multierror/append.go b/vendor/github.com/hashicorp/go-multierror/append.go
deleted file mode 100644
index 00afa9b..0000000
--- a/vendor/github.com/hashicorp/go-multierror/append.go
+++ /dev/null
@@ -1,37 +0,0 @@
-package multierror
-
-// Append is a helper function that will append more errors
-// onto an Error in order to create a larger multi-error.
-//
-// If err is not a multierror.Error, then it will be turned into
-// one. If any of the errs are multierr.Error, they will be flattened
-// one level into err.
-func Append(err error, errs ...error) *Error {
- switch err := err.(type) {
- case *Error:
- // Typed nils can reach here, so initialize if we are nil
- if err == nil {
- err = new(Error)
- }
-
- // Go through each error and flatten
- for _, e := range errs {
- switch e := e.(type) {
- case *Error:
- err.Errors = append(err.Errors, e.Errors...)
- default:
- err.Errors = append(err.Errors, e)
- }
- }
-
- return err
- default:
- newErrs := make([]error, 0, len(errs)+1)
- if err != nil {
- newErrs = append(newErrs, err)
- }
- newErrs = append(newErrs, errs...)
-
- return Append(&Error{}, newErrs...)
- }
-}
diff --git a/vendor/github.com/hashicorp/go-multierror/append_test.go b/vendor/github.com/hashicorp/go-multierror/append_test.go
deleted file mode 100644
index dfa79e2..0000000
--- a/vendor/github.com/hashicorp/go-multierror/append_test.go
+++ /dev/null
@@ -1,64 +0,0 @@
-package multierror
-
-import (
- "errors"
- "testing"
-)
-
-func TestAppend_Error(t *testing.T) {
- original := &Error{
- Errors: []error{errors.New("foo")},
- }
-
- result := Append(original, errors.New("bar"))
- if len(result.Errors) != 2 {
- t.Fatalf("wrong len: %d", len(result.Errors))
- }
-
- original = &Error{}
- result = Append(original, errors.New("bar"))
- if len(result.Errors) != 1 {
- t.Fatalf("wrong len: %d", len(result.Errors))
- }
-
- // Test when a typed nil is passed
- var e *Error
- result = Append(e, errors.New("baz"))
- if len(result.Errors) != 1 {
- t.Fatalf("wrong len: %d", len(result.Errors))
- }
-
- // Test flattening
- original = &Error{
- Errors: []error{errors.New("foo")},
- }
-
- result = Append(original, Append(nil, errors.New("foo"), errors.New("bar")))
- if len(result.Errors) != 3 {
- t.Fatalf("wrong len: %d", len(result.Errors))
- }
-}
-
-func TestAppend_NilError(t *testing.T) {
- var err error
- result := Append(err, errors.New("bar"))
- if len(result.Errors) != 1 {
- t.Fatalf("wrong len: %d", len(result.Errors))
- }
-}
-
-func TestAppend_NonError(t *testing.T) {
- original := errors.New("foo")
- result := Append(original, errors.New("bar"))
- if len(result.Errors) != 2 {
- t.Fatalf("wrong len: %d", len(result.Errors))
- }
-}
-
-func TestAppend_NonError_Error(t *testing.T) {
- original := errors.New("foo")
- result := Append(original, Append(nil, errors.New("bar")))
- if len(result.Errors) != 2 {
- t.Fatalf("wrong len: %d", len(result.Errors))
- }
-}
diff --git a/vendor/github.com/hashicorp/go-multierror/flatten.go b/vendor/github.com/hashicorp/go-multierror/flatten.go
deleted file mode 100644
index aab8e9a..0000000
--- a/vendor/github.com/hashicorp/go-multierror/flatten.go
+++ /dev/null
@@ -1,26 +0,0 @@
-package multierror
-
-// Flatten flattens the given error, merging any *Errors together into
-// a single *Error.
-func Flatten(err error) error {
- // If it isn't an *Error, just return the error as-is
- if _, ok := err.(*Error); !ok {
- return err
- }
-
- // Otherwise, make the result and flatten away!
- flatErr := new(Error)
- flatten(err, flatErr)
- return flatErr
-}
-
-func flatten(err error, flatErr *Error) {
- switch err := err.(type) {
- case *Error:
- for _, e := range err.Errors {
- flatten(e, flatErr)
- }
- default:
- flatErr.Errors = append(flatErr.Errors, err)
- }
-}
diff --git a/vendor/github.com/hashicorp/go-multierror/flatten_test.go b/vendor/github.com/hashicorp/go-multierror/flatten_test.go
deleted file mode 100644
index 75218f1..0000000
--- a/vendor/github.com/hashicorp/go-multierror/flatten_test.go
+++ /dev/null
@@ -1,48 +0,0 @@
-package multierror
-
-import (
- "errors"
- "fmt"
- "reflect"
- "strings"
- "testing"
-)
-
-func TestFlatten(t *testing.T) {
- original := &Error{
- Errors: []error{
- errors.New("one"),
- &Error{
- Errors: []error{
- errors.New("two"),
- &Error{
- Errors: []error{
- errors.New("three"),
- },
- },
- },
- },
- },
- }
-
- expected := strings.TrimSpace(`
-3 error(s) occurred:
-
-* one
-* two
-* three
- `)
- actual := fmt.Sprintf("%s", Flatten(original))
-
- if expected != actual {
- t.Fatalf("expected: %s, got: %s", expected, actual)
- }
-}
-
-func TestFlatten_nonError(t *testing.T) {
- err := errors.New("foo")
- actual := Flatten(err)
- if !reflect.DeepEqual(actual, err) {
- t.Fatalf("bad: %#v", actual)
- }
-}
diff --git a/vendor/github.com/hashicorp/go-multierror/format.go b/vendor/github.com/hashicorp/go-multierror/format.go
deleted file mode 100644
index bb65a12..0000000
--- a/vendor/github.com/hashicorp/go-multierror/format.go
+++ /dev/null
@@ -1,23 +0,0 @@
-package multierror
-
-import (
- "fmt"
- "strings"
-)
-
-// ErrorFormatFunc is a function callback that is called by Error to
-// turn the list of errors into a string.
-type ErrorFormatFunc func([]error) string
-
-// ListFormatFunc is a basic formatter that outputs the number of errors
-// that occurred along with a bullet point list of the errors.
-func ListFormatFunc(es []error) string {
- points := make([]string, len(es))
- for i, err := range es {
- points[i] = fmt.Sprintf("* %s", err)
- }
-
- return fmt.Sprintf(
- "%d error(s) occurred:\n\n%s",
- len(es), strings.Join(points, "\n"))
-}
diff --git a/vendor/github.com/hashicorp/go-multierror/format_test.go b/vendor/github.com/hashicorp/go-multierror/format_test.go
deleted file mode 100644
index d7cee5d..0000000
--- a/vendor/github.com/hashicorp/go-multierror/format_test.go
+++ /dev/null
@@ -1,23 +0,0 @@
-package multierror
-
-import (
- "errors"
- "testing"
-)
-
-func TestListFormatFunc(t *testing.T) {
- expected := `2 error(s) occurred:
-
-* foo
-* bar`
-
- errors := []error{
- errors.New("foo"),
- errors.New("bar"),
- }
-
- actual := ListFormatFunc(errors)
- if actual != expected {
- t.Fatalf("bad: %#v", actual)
- }
-}
diff --git a/vendor/github.com/hashicorp/go-multierror/multierror.go b/vendor/github.com/hashicorp/go-multierror/multierror.go
deleted file mode 100644
index 2ea0827..0000000
--- a/vendor/github.com/hashicorp/go-multierror/multierror.go
+++ /dev/null
@@ -1,51 +0,0 @@
-package multierror
-
-import (
- "fmt"
-)
-
-// Error is an error type to track multiple errors. This is used to
-// accumulate errors in cases and return them as a single "error".
-type Error struct {
- Errors []error
- ErrorFormat ErrorFormatFunc
-}
-
-func (e *Error) Error() string {
- fn := e.ErrorFormat
- if fn == nil {
- fn = ListFormatFunc
- }
-
- return fn(e.Errors)
-}
-
-// ErrorOrNil returns an error interface if this Error represents
-// a list of errors, or returns nil if the list of errors is empty. This
-// function is useful at the end of accumulation to make sure that the value
-// returned represents the existence of errors.
-func (e *Error) ErrorOrNil() error {
- if e == nil {
- return nil
- }
- if len(e.Errors) == 0 {
- return nil
- }
-
- return e
-}
-
-func (e *Error) GoString() string {
- return fmt.Sprintf("*%#v", *e)
-}
-
-// WrappedErrors returns the list of errors that this Error is wrapping.
-// It is an implementatin of the errwrap.Wrapper interface so that
-// multierror.Error can be used with that library.
-//
-// This method is not safe to be called concurrently and is no different
-// than accessing the Errors field directly. It is implementd only to
-// satisfy the errwrap.Wrapper interface.
-func (e *Error) WrappedErrors() []error {
- return e.Errors
-}
diff --git a/vendor/github.com/hashicorp/go-multierror/multierror_test.go b/vendor/github.com/hashicorp/go-multierror/multierror_test.go
deleted file mode 100644
index 3e78079..0000000
--- a/vendor/github.com/hashicorp/go-multierror/multierror_test.go
+++ /dev/null
@@ -1,70 +0,0 @@
-package multierror
-
-import (
- "errors"
- "reflect"
- "testing"
-)
-
-func TestError_Impl(t *testing.T) {
- var _ error = new(Error)
-}
-
-func TestErrorError_custom(t *testing.T) {
- errors := []error{
- errors.New("foo"),
- errors.New("bar"),
- }
-
- fn := func(es []error) string {
- return "foo"
- }
-
- multi := &Error{Errors: errors, ErrorFormat: fn}
- if multi.Error() != "foo" {
- t.Fatalf("bad: %s", multi.Error())
- }
-}
-
-func TestErrorError_default(t *testing.T) {
- expected := `2 error(s) occurred:
-
-* foo
-* bar`
-
- errors := []error{
- errors.New("foo"),
- errors.New("bar"),
- }
-
- multi := &Error{Errors: errors}
- if multi.Error() != expected {
- t.Fatalf("bad: %s", multi.Error())
- }
-}
-
-func TestErrorErrorOrNil(t *testing.T) {
- err := new(Error)
- if err.ErrorOrNil() != nil {
- t.Fatalf("bad: %#v", err.ErrorOrNil())
- }
-
- err.Errors = []error{errors.New("foo")}
- if v := err.ErrorOrNil(); v == nil {
- t.Fatal("should not be nil")
- } else if !reflect.DeepEqual(v, err) {
- t.Fatalf("bad: %#v", v)
- }
-}
-
-func TestErrorWrappedErrors(t *testing.T) {
- errors := []error{
- errors.New("foo"),
- errors.New("bar"),
- }
-
- multi := &Error{Errors: errors}
- if !reflect.DeepEqual(multi.Errors, multi.WrappedErrors()) {
- t.Fatalf("bad: %s", multi.WrappedErrors())
- }
-}
diff --git a/vendor/github.com/hashicorp/go-multierror/prefix.go b/vendor/github.com/hashicorp/go-multierror/prefix.go
deleted file mode 100644
index 5c477ab..0000000
--- a/vendor/github.com/hashicorp/go-multierror/prefix.go
+++ /dev/null
@@ -1,37 +0,0 @@
-package multierror
-
-import (
- "fmt"
-
- "github.com/hashicorp/errwrap"
-)
-
-// Prefix is a helper function that will prefix some text
-// to the given error. If the error is a multierror.Error, then
-// it will be prefixed to each wrapped error.
-//
-// This is useful to use when appending multiple multierrors
-// together in order to give better scoping.
-func Prefix(err error, prefix string) error {
- if err == nil {
- return nil
- }
-
- format := fmt.Sprintf("%s {{err}}", prefix)
- switch err := err.(type) {
- case *Error:
- // Typed nils can reach here, so initialize if we are nil
- if err == nil {
- err = new(Error)
- }
-
- // Wrap each of the errors
- for i, e := range err.Errors {
- err.Errors[i] = errwrap.Wrapf(format, e)
- }
-
- return err
- default:
- return errwrap.Wrapf(format, err)
- }
-}
diff --git a/vendor/github.com/hashicorp/go-multierror/prefix_test.go b/vendor/github.com/hashicorp/go-multierror/prefix_test.go
deleted file mode 100644
index 1d4a6f6..0000000
--- a/vendor/github.com/hashicorp/go-multierror/prefix_test.go
+++ /dev/null
@@ -1,33 +0,0 @@
-package multierror
-
-import (
- "errors"
- "testing"
-)
-
-func TestPrefix_Error(t *testing.T) {
- original := &Error{
- Errors: []error{errors.New("foo")},
- }
-
- result := Prefix(original, "bar")
- if result.(*Error).Errors[0].Error() != "bar foo" {
- t.Fatalf("bad: %s", result)
- }
-}
-
-func TestPrefix_NilError(t *testing.T) {
- var err error
- result := Prefix(err, "bar")
- if result != nil {
- t.Fatalf("bad: %#v", result)
- }
-}
-
-func TestPrefix_NonError(t *testing.T) {
- original := errors.New("foo")
- result := Prefix(original, "bar")
- if result.Error() != "bar foo" {
- t.Fatalf("bad: %s", result)
- }
-}
diff --git a/vendor/github.com/hashicorp/go-multierror/scripts/deps.sh b/vendor/github.com/hashicorp/go-multierror/scripts/deps.sh
deleted file mode 100755
index 1d2fcf9..0000000
--- a/vendor/github.com/hashicorp/go-multierror/scripts/deps.sh
+++ /dev/null
@@ -1,54 +0,0 @@
-#!/usr/bin/env bash
-#
-# This script updates dependencies using a temporary directory. This is required
-# to avoid any auxillary dependencies that sneak into GOPATH.
-set -e
-
-# Get the parent directory of where this script is.
-SOURCE="${BASH_SOURCE[0]}"
-while [ -h "$SOURCE" ] ; do SOURCE="$(readlink "$SOURCE")"; done
-DIR="$(cd -P "$(dirname "$SOURCE")/.." && pwd)"
-
-# Change into that directory
-cd "$DIR"
-
-# Get the name from the directory
-NAME=${NAME:-"$(basename $(pwd))"}
-
-# Announce
-echo "==> Updating dependencies..."
-
-echo "--> Making tmpdir..."
-tmpdir=$(mktemp -d)
-function cleanup {
- rm -rf "${tmpdir}"
-}
-trap cleanup EXIT
-
-export GOPATH="${tmpdir}"
-export PATH="${tmpdir}/bin:$PATH"
-
-mkdir -p "${tmpdir}/src/github.com/hashicorp"
-pushd "${tmpdir}/src/github.com/hashicorp" &>/dev/null
-
-echo "--> Copying ${NAME}..."
-cp -R "$DIR" "${tmpdir}/src/github.com/hashicorp/${NAME}"
-pushd "${tmpdir}/src/github.com/hashicorp/${NAME}" &>/dev/null
-rm -rf vendor/
-
-echo "--> Installing dependency manager..."
-go get -u github.com/kardianos/govendor
-govendor init
-
-echo "--> Installing all dependencies (may take some time)..."
-govendor fetch -v +outside
-
-echo "--> Vendoring..."
-govendor add +external
-
-echo "--> Moving into place..."
-vpath="${tmpdir}/src/github.com/hashicorp/${NAME}/vendor"
-popd &>/dev/null
-popd &>/dev/null
-rm -rf vendor/
-cp -R "${vpath}" .
diff --git a/vendor/github.com/hashicorp/hcl/decoder_test.go b/vendor/github.com/hashicorp/hcl/decoder_test.go
index 5a8404c..50f52f7 100644
--- a/vendor/github.com/hashicorp/hcl/decoder_test.go
+++ b/vendor/github.com/hashicorp/hcl/decoder_test.go
@@ -64,7 +64,7 @@ func TestDecode_interface(t *testing.T) {
"qux": "back\\slash",
"bar": "new\nline",
"qax": `slash\:colon`,
- "nested": `${HH\:mm\:ss}`,
+ "nested": `${HH\\:mm\\:ss}`,
"nestedquotes": `${"\"stringwrappedinquotes\""}`,
},
},
@@ -274,6 +274,14 @@ func TestDecode_interface(t *testing.T) {
},
},
+ {
+ "structure_list_empty.json",
+ false,
+ map[string]interface{}{
+ "foo": []interface{}{},
+ },
+ },
+
{
"nested_block_comment.hcl",
false,
@@ -357,6 +365,20 @@ func TestDecode_interface(t *testing.T) {
true,
nil,
},
+
+ {
+ "escape_backslash.hcl",
+ false,
+ map[string]interface{}{
+ "output": []map[string]interface{}{
+ map[string]interface{}{
+ "one": `${replace(var.sub_domain, ".", "\\.")}`,
+ "two": `${replace(var.sub_domain, ".", "\\\\.")}`,
+ "many": `${replace(var.sub_domain, ".", "\\\\\\\\.")}`,
+ },
+ },
+ },
+ },
}
for _, tc := range cases {
diff --git a/vendor/github.com/hashicorp/hcl/hcl/parser/parser_test.go b/vendor/github.com/hashicorp/hcl/hcl/parser/parser_test.go
index b2a8937..96b25b2 100644
--- a/vendor/github.com/hashicorp/hcl/hcl/parser/parser_test.go
+++ b/vendor/github.com/hashicorp/hcl/hcl/parser/parser_test.go
@@ -62,10 +62,6 @@ func TestListType(t *testing.T) {
`foo = []`,
[]token.Type{},
},
- {
- `foo = ["123", 123]`,
- []token.Type{token.STRING, token.NUMBER},
- },
{
`foo = [1,
"string",
diff --git a/vendor/github.com/hashicorp/hcl/hcl/printer/nodes.go b/vendor/github.com/hashicorp/hcl/hcl/printer/nodes.go
index 83f6a4f..708bf32 100644
--- a/vendor/github.com/hashicorp/hcl/hcl/printer/nodes.go
+++ b/vendor/github.com/hashicorp/hcl/hcl/printer/nodes.go
@@ -118,17 +118,27 @@ func (p *printer) output(n interface{}) []byte {
defer un(trace(p, "ObjectList"))
var index int
- var nextItem token.Pos
for {
- // TODO(arslan): refactor below comment printing, we have the same in objectType
+ // Determine the location of the next actual non-comment
+ // item. If we're at the end, the next item is at "infinity"
+ var nextItem token.Pos
+ if index != len(t.Items) {
+ nextItem = t.Items[index].Pos()
+ } else {
+ nextItem = token.Pos{Offset: infinity, Line: infinity}
+ }
+
+ // Go through the standalone comments in the file and print out
+ // the comments that we should be for this object item.
for _, c := range p.standaloneComments {
+ // Go through all the comments in the group. The group
+ // should be printed together, not separated by double newlines.
+ printed := false
for _, comment := range c.List {
- if index != len(t.Items) {
- nextItem = t.Items[index].Pos()
- } else {
- nextItem = token.Pos{Offset: infinity, Line: infinity}
- }
-
+ // We only care about comments after the previous item
+ // we've printed so that comments are printed in the
+ // correct locations (between two objects for example).
+ // And before the next item.
if comment.Pos().After(p.prev) && comment.Pos().Before(nextItem) {
// if we hit the end add newlines so we can print the comment
// we don't do this if prev is invalid which means the
@@ -138,14 +148,21 @@ func (p *printer) output(n interface{}) []byte {
buf.Write([]byte{newline, newline})
}
+ // Write the actual comment.
buf.WriteString(comment.Text)
-
buf.WriteByte(newline)
- if index != len(t.Items) {
- buf.WriteByte(newline)
- }
+
+ // Set printed to true to note that we printed something
+ printed = true
}
}
+
+ // If we're not at the last item, write a new line so
+ // that there is a newline separating this comment from
+ // the next object.
+ if printed && index != len(t.Items) {
+ buf.WriteByte(newline)
+ }
}
if index == len(t.Items) {
@@ -178,7 +195,8 @@ func (p *printer) output(n interface{}) []byte {
func (p *printer) literalType(lit *ast.LiteralType) []byte {
result := []byte(lit.Token.Text)
- if lit.Token.Type == token.HEREDOC {
+ switch lit.Token.Type {
+ case token.HEREDOC:
// Clear the trailing newline from heredocs
if result[len(result)-1] == '\n' {
result = result[:len(result)-1]
@@ -186,6 +204,12 @@ func (p *printer) literalType(lit *ast.LiteralType) []byte {
// Poison lines 2+ so that we don't indent them
result = p.heredocIndent(result)
+ case token.STRING:
+ // If this is a multiline string, poison lines 2+ so we don't
+ // indent them.
+ if bytes.ContainsRune(result, '\n') {
+ result = p.heredocIndent(result)
+ }
}
return result
@@ -264,7 +288,7 @@ func (p *printer) objectType(o *ast.ObjectType) []byte {
buf.WriteByte(newline)
}
- buf.Write(p.indent([]byte(comment.Text)))
+ buf.Write(p.indent(p.heredocIndent([]byte(comment.Text))))
buf.WriteByte(newline)
if index != len(o.List.Items) {
buf.WriteByte(newline) // do not print on the end
diff --git a/vendor/github.com/hashicorp/hcl/hcl/printer/printer_test.go b/vendor/github.com/hashicorp/hcl/hcl/printer/printer_test.go
index 55a32df..573cf91 100644
--- a/vendor/github.com/hashicorp/hcl/hcl/printer/printer_test.go
+++ b/vendor/github.com/hashicorp/hcl/hcl/printer/printer_test.go
@@ -34,10 +34,14 @@ var data = []entry{
{"comment.input", "comment.golden"},
{"comment_aligned.input", "comment_aligned.golden"},
{"comment_array.input", "comment_array.golden"},
+ {"comment_multiline_indent.input", "comment_multiline_indent.golden"},
+ {"comment_multiline_no_stanza.input", "comment_multiline_no_stanza.golden"},
+ {"comment_multiline_stanza.input", "comment_multiline_stanza.golden"},
{"comment_newline.input", "comment_newline.golden"},
{"comment_standalone.input", "comment_standalone.golden"},
{"empty_block.input", "empty_block.golden"},
{"list_of_objects.input", "list_of_objects.golden"},
+ {"multiline_string.input", "multiline_string.golden"},
}
func TestFiles(t *testing.T) {
diff --git a/vendor/github.com/hashicorp/hcl/hcl/printer/testdata/comment_multiline_indent.golden b/vendor/github.com/hashicorp/hcl/hcl/printer/testdata/comment_multiline_indent.golden
new file mode 100644
index 0000000..74c4ccd
--- /dev/null
+++ b/vendor/github.com/hashicorp/hcl/hcl/printer/testdata/comment_multiline_indent.golden
@@ -0,0 +1,12 @@
+resource "provider" "resource" {
+ /*
+ SPACE_SENSITIVE_CODE = < 0 {
// If we're starting a '${}' then let it through un-unquoted.
// Specifically: we don't unquote any characters within the `${}`
- // section, except for escaped backslashes, which we handle specifically.
+ // section.
if s[0] == '$' && len(s) > 1 && s[1] == '{' {
buf = append(buf, '$', '{')
s = s[2:]
@@ -61,16 +61,6 @@ func Unquote(s string) (t string, err error) {
s = s[size:]
- // We special case escaped backslashes in interpolations, converting
- // them to their unescaped equivalents.
- if r == '\\' {
- q, _ := utf8.DecodeRuneInString(s)
- switch q {
- case '\\':
- continue
- }
- }
-
n := utf8.EncodeRune(runeTmp[:], r)
buf = append(buf, runeTmp[:n]...)
diff --git a/vendor/github.com/hashicorp/hcl/hcl/strconv/quote_test.go b/vendor/github.com/hashicorp/hcl/hcl/strconv/quote_test.go
index af2d848..9de8c9f 100644
--- a/vendor/github.com/hashicorp/hcl/hcl/strconv/quote_test.go
+++ b/vendor/github.com/hashicorp/hcl/hcl/strconv/quote_test.go
@@ -39,7 +39,7 @@ var unquotetests = []unQuoteTest{
{`"${file("\"foo\"")}"`, `${file("\"foo\"")}`},
{`"echo ${var.region}${element(split(",",var.zones),0)}"`,
`echo ${var.region}${element(split(",",var.zones),0)}`},
- {`"${HH\\:mm\\:ss}"`, `${HH\:mm\:ss}`},
+ {`"${HH\\:mm\\:ss}"`, `${HH\\:mm\\:ss}`},
}
var misquoted = []string{
diff --git a/vendor/github.com/hashicorp/hcl/hcl/token/token_test.go b/vendor/github.com/hashicorp/hcl/hcl/token/token_test.go
index 932951c..e4b4af2 100644
--- a/vendor/github.com/hashicorp/hcl/hcl/token/token_test.go
+++ b/vendor/github.com/hashicorp/hcl/hcl/token/token_test.go
@@ -51,6 +51,12 @@ func TestTokenValue(t *testing.T) {
{Token{Type: STRING, Text: `"foo"`}, "foo"},
{Token{Type: STRING, Text: `"foo\nbar"`}, "foo\nbar"},
{Token{Type: STRING, Text: `"${file("foo")}"`}, `${file("foo")}`},
+ {
+ Token{
+ Type: STRING,
+ Text: `"${replace("foo", ".", "\\.")}"`,
+ },
+ `${replace("foo", ".", "\\.")}`},
{Token{Type: HEREDOC, Text: "< Checking that code complies with gofmt requirements...
-go generate ./...
-TF_ACC=1 go test ./builtin/providers/azurerm -v -run=TestAccAzureRMPublicIpStatic_update -timeout 120m
-=== RUN TestAccAzureRMPublicIpStatic_update
---- PASS: TestAccAzureRMPublicIpStatic_update (177.48s)
-PASS
-ok github.com/hashicorp/terraform/builtin/providers/azurerm 177.504s
-```
-
-Entire resource test suites can be targeted by using the naming convention to
-write the regular expression. For example, to run all tests of the
-`azurerm_public_ip` resource rather than just the update test, you can start
-testing like this:
-
-```sh
-$ make testacc TEST=./builtin/providers/azurerm TESTARGS='-run=TestAccAzureRMPublicIpStatic'
-==> Checking that code complies with gofmt requirements...
-go generate ./...
-TF_ACC=1 go test ./builtin/providers/azurerm -v -run=TestAccAzureRMPublicIpStatic -timeout 120m
-=== RUN TestAccAzureRMPublicIpStatic_basic
---- PASS: TestAccAzureRMPublicIpStatic_basic (137.74s)
-=== RUN TestAccAzureRMPublicIpStatic_update
---- PASS: TestAccAzureRMPublicIpStatic_update (180.63s)
-PASS
-ok github.com/hashicorp/terraform/builtin/providers/azurerm 318.392s
-```
-
-#### Writing an Acceptance Test
-
-Terraform has a framework for writing acceptance tests which minimises the
-amount of boilerplate code necessary to use common testing patterns. The entry
-point to the framework is the `resource.Test()` function.
-
-Tests are divided into `TestStep`s. Each `TestStep` proceeds by applying some
-Terraform configuration using the provider under test, and then verifying that
-results are as expected by making assertions using the provider API. It is
-common for a single test function to excercise both the creation of and updates
-to a single resource. Most tests follow a similar structure.
-
-1. Pre-flight checks are made to ensure that sufficient provider configuration
- is available to be able to proceed - for example in an acceptance test
- targetting AWS, `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY` must be set prior
- to running acceptance tests. This is common to all tests exercising a single
- provider.
-
-Each `TestStep` is defined in the call to `resource.Test()`. Most assertion
-functions are defined out of band with the tests. This keeps the tests
-readable, and allows reuse of assertion functions across different tests of the
-same type of resource. The definition of a complete test looks like this:
-
-```go
-func TestAccAzureRMPublicIpStatic_update(t *testing.T) {
- resource.Test(t, resource.TestCase{
- PreCheck: func() { testAccPreCheck(t) },
- Providers: testAccProviders,
- CheckDestroy: testCheckAzureRMPublicIpDestroy,
- Steps: []resource.TestStep{
- resource.TestStep{
- Config: testAccAzureRMVPublicIpStatic_basic,
- Check: resource.ComposeTestCheckFunc(
- testCheckAzureRMPublicIpExists("azurerm_public_ip.test"),
- ),
- },
- },
- })
-}
-```
-
-When executing the test, the following steps are taken for each `TestStep`:
-
-1. The Terraform configuration required for the test is applied. This is
- responsible for configuring the resource under test, and any dependencies it
- may have. For example, to test the `azurerm_public_ip` resource, an
- `azurerm_resource_group` is required. This results in configuration which
- looks like this:
-
- ```hcl
- resource "azurerm_resource_group" "test" {
- name = "acceptanceTestResourceGroup1"
- location = "West US"
- }
-
- resource "azurerm_public_ip" "test" {
- name = "acceptanceTestPublicIp1"
- location = "West US"
- resource_group_name = "${azurerm_resource_group.test.name}"
- public_ip_address_allocation = "static"
- }
- ```
-
-1. Assertions are run using the provider API. These use the provider API
- directly rather than asserting against the resource state. For example, to
- verify that the `azurerm_public_ip` described above was created
- successfully, a test function like this is used:
-
- ```go
- func testCheckAzureRMPublicIpExists(name string) resource.TestCheckFunc {
- return func(s *terraform.State) error {
- // Ensure we have enough information in state to look up in API
- rs, ok := s.RootModule().Resources[name]
- if !ok {
- return fmt.Errorf("Not found: %s", name)
- }
-
- publicIPName := rs.Primary.Attributes["name"]
- resourceGroup, hasResourceGroup := rs.Primary.Attributes["resource_group_name"]
- if !hasResourceGroup {
- return fmt.Errorf("Bad: no resource group found in state for public ip: %s", availSetName)
- }
-
- conn := testAccProvider.Meta().(*ArmClient).publicIPClient
-
- resp, err := conn.Get(resourceGroup, publicIPName, "")
- if err != nil {
- return fmt.Errorf("Bad: Get on publicIPClient: %s", err)
- }
-
- if resp.StatusCode == http.StatusNotFound {
- return fmt.Errorf("Bad: Public IP %q (resource group: %q) does not exist", name, resourceGroup)
- }
-
- return nil
- }
- }
- ```
-
- Notice that the only information used from the Terraform state is the ID of
- the resource - though in this case it is necessary to split the ID into
- constituent parts in order to use the provider API. For computed properties,
- we instead assert that the value saved in the Terraform state was the
- expected value if possible. The testing framework providers helper functions
- for several common types of check - for example:
-
- ```go
- resource.TestCheckResourceAttr("azurerm_public_ip.test", "domain_name_label", "mylabel01"),
- ```
-
-1. The resources created by the test are destroyed. This step happens
- automatically, and is the equivalent of calling `terraform destroy`.
-
-1. Assertions are made against the provider API to verify that the resources
- have indeed been removed. If these checks fail, the test fails and reports
- "dangling resources". The code to ensure that the `azurerm_public_ip` shown
- above looks like this:
-
- ```go
- func testCheckAzureRMPublicIpDestroy(s *terraform.State) error {
- conn := testAccProvider.Meta().(*ArmClient).publicIPClient
-
- for _, rs := range s.RootModule().Resources {
- if rs.Type != "azurerm_public_ip" {
- continue
- }
-
- name := rs.Primary.Attributes["name"]
- resourceGroup := rs.Primary.Attributes["resource_group_name"]
-
- resp, err := conn.Get(resourceGroup, name, "")
-
- if err != nil {
- return nil
- }
-
- if resp.StatusCode != http.StatusNotFound {
- return fmt.Errorf("Public IP still exists:\n%#v", resp.Properties)
- }
- }
-
- return nil
- }
- ```
-
- These functions usually test only for the resource directly under test: we
- skip the check that the `azurerm_resource_group` has been destroyed when
- testing `azurerm_resource_group`, under the assumption that
- `azurerm_resource_group` is tested independently in its own acceptance
- tests.
-
-[website]: https://github.com/hashicorp/terraform/tree/master/website
-[acctests]: https://github.com/hashicorp/terraform#acceptance-tests
-[ml]: https://groups.google.com/group/terraform-tool
diff --git a/vendor/github.com/hashicorp/terraform/.github/ISSUE_TEMPLATE.md b/vendor/github.com/hashicorp/terraform/.github/ISSUE_TEMPLATE.md
deleted file mode 100644
index c220bce..0000000
--- a/vendor/github.com/hashicorp/terraform/.github/ISSUE_TEMPLATE.md
+++ /dev/null
@@ -1,43 +0,0 @@
-Hi there,
-
-Thank you for opening an issue. Please note that we try to keep the Terraform issue tracker reserved for bug reports and feature requests. For general usage questions, please see: https://www.terraform.io/community.html.
-
-### Terraform Version
-Run `terraform -v` to show the version. If you are not running the latest version of Terraform, please upgrade because your issue may have already been fixed.
-
-### Affected Resource(s)
-Please list the resources as a list, for example:
-- aws_instance
-- dnsimple_record
-
-If this issue appears to affect multiple resources, it may be an issue with Terraform's core, so please mention this.
-
-### Terraform Configuration Files
-```hcl
-# Copy-paste your Terraform configurations here - for large Terraform configs,
-# please use a service like Dropbox and share a link to the ZIP file. For
-# security, you can also encrypt the files using our GPG public key.
-```
-
-### Debug Output
-Please provider a link to a GitHub Gist containing the complete debug output: https://www.terraform.io/docs/internals/debugging.html. Please do NOT paste the debug output in the issue; just paste a link to the Gist.
-
-### Panic Output
-If Terraform produced a panic, please provide a link to a GitHub Gist containing the output of the `crash.log`.
-
-### Expected Behavior
-What should have happened?
-
-### Actual Behavior
-What actually happened?
-
-### Steps to Reproduce
-Please list the steps required to reproduce the issue, for example:
-1. `terraform apply`
-
-### Important Factoids
-Are there anything atypical about your accounts that we should know? For example: Running in EC2 Classic? Custom version of OpenStack? Tight ACLs?
-
-### References
-Are there any other GitHub issues (open or closed) or Pull Requests that should be linked here? For example:
-- GH-1234
diff --git a/vendor/github.com/hashicorp/terraform/.gitignore b/vendor/github.com/hashicorp/terraform/.gitignore
deleted file mode 100644
index 3ad3dd4..0000000
--- a/vendor/github.com/hashicorp/terraform/.gitignore
+++ /dev/null
@@ -1,27 +0,0 @@
-*.dll
-*.exe
-.DS_Store
-example.tf
-terraform.tfplan
-terraform.tfstate
-bin/
-modules-dev/
-/pkg/
-website/.vagrant
-website/.bundle
-website/build
-website/node_modules
-.vagrant/
-*.backup
-./*.tfstate
-.terraform/
-*.log
-*.bak
-*~
-.*.swp
-.idea
-*.iml
-*.test
-*.iml
-
-website/vendor
diff --git a/vendor/github.com/hashicorp/terraform/.travis.yml b/vendor/github.com/hashicorp/terraform/.travis.yml
deleted file mode 100644
index 2b1501a..0000000
--- a/vendor/github.com/hashicorp/terraform/.travis.yml
+++ /dev/null
@@ -1,25 +0,0 @@
-sudo: false
-language: go
-go:
-- 1.7.1
-install:
-# This script is used by the Travis build to install a cookie for
-# go.googlesource.com so rate limits are higher when using `go get` to fetch
-# packages that live there.
-# See: https://github.com/golang/go/issues/12933
-- bash scripts/gogetcookie.sh
-script:
-- make test vet
-branches:
- only:
- - master
-notifications:
- irc:
- channels:
- - irc.freenode.org#terraform-tool
- skip_join: true
- use_notice: true
-matrix:
- fast_finish: true
- allow_failures:
- - go: tip
diff --git a/vendor/github.com/hashicorp/terraform/BUILDING.md b/vendor/github.com/hashicorp/terraform/BUILDING.md
deleted file mode 100644
index fae3a9e..0000000
--- a/vendor/github.com/hashicorp/terraform/BUILDING.md
+++ /dev/null
@@ -1,56 +0,0 @@
-# Building Terraform
-
-This document contains details about the process for building binaries for
-Terraform.
-
-## Versioning
-
-As a pre-1.0 project, we use the MINOR and PATCH versions as follows:
-
- * a `MINOR` version increment indicates a release that may contain backwards
- incompatible changes
- * a `PATCH` version increment indicates a release that may contain bugfixes as
- well as additive (backwards compatible) features and enhancements
-
-## Process
-
-If only need to build binaries for the platform you're running (Windows, Linux,
-Mac OS X etc..), you can follow the instructions in the README for [Developing
-Terraform][1].
-
-The guide below outlines the steps HashiCorp takes to build the official release
-binaries for Terraform. This process will generate a set of binaries for each supported
-platform, using the [gox](https://github.com/mitchellh/gox) tool.
-
-A Vagrant virtual machine is used to provide a consistent environment with
-the pre-requisite tools in place. The specifics of this VM are defined in the
-[Vagrantfile](Vagrantfile).
-
-
-```sh
-# clone the repository if needed
-git clone https://github.com/hashicorp/terraform.git
-cd terraform
-
-# Spin up a fresh build VM
-vagrant destroy -f
-vagrant up
-vagrant ssh
-
-# The Vagrantfile installs Go and configures the $GOPATH at /opt/gopath
-# The current "terraform" directory is then sync'd into the gopath
-cd /opt/gopath/src/github.com/hashicorp/terraform/
-
-# Verify unit tests pass
-make test
-
-# Build the release
-# This generates binaries for each platform and places them in the pkg folder
-make bin
-```
-
-After running these commands, you should have binaries for all supported
-platforms in the `pkg` folder.
-
-
-[1]: https://github.com/hashicorp/terraform#developing-terraform
diff --git a/vendor/github.com/hashicorp/terraform/CHANGELOG.md b/vendor/github.com/hashicorp/terraform/CHANGELOG.md
deleted file mode 100644
index ba0045b..0000000
--- a/vendor/github.com/hashicorp/terraform/CHANGELOG.md
+++ /dev/null
@@ -1,2716 +0,0 @@
-## 0.7.7 (October 18, 2016)
-
-FEATURES:
-
- * **New Data Source:** `scaleway_bootsscript`. ([#9386](https://github.com/hashicorp/terraform/issues/9386))
- * **New Data Source:** `scaleway_image`. [GH9386]
-
-IMPROVEMENTS:
-
- * provider/aws: Expose ARN for `aws_lambda_alias`. ([#9390](https://github.com/hashicorp/terraform/issues/9390))
- * provider/aws: Add support for AWS US East (Ohio) region. ([#9414](https://github.com/hashicorp/terraform/issues/9414))
- * provider/scaleway: `scaleway_ip`, `scaleway_security_group`, `scalway_server` and `scaleway_volume` resources can now be imported. ([#9387](https://github.com/hashicorp/terraform/issues/9387))
-
-BUG FIXES:
-
- * core: List and map indexes support arithmetic. ([#9372](https://github.com/hashicorp/terraform/issues/9372))
- * core: List and map indexes are implicitly converted to the correct type if possible. ([#9372](https://github.com/hashicorp/terraform/issues/9372))
- * provider/aws: Read back `aassociate_public_ip_address` in `aws_launch_configuration` resources to enable importing. ([#9399](https://github.com/hashicorp/terraform/issues/9399))
- * provider/aws: Remove `aws_route` resources from state if their associated `aws_route_table` has been removed. ([#9431](https://github.com/hashicorp/terraform/issues/9431))
- * provider/azurerm: Load balancer resources now have their `id` attribute set to the resource URI instead of the load balancer URI. ([#9401](https://github.com/hashicorp/terraform/issues/9401))
- * provider/google: Fix a bug causing a crash when migrating `google_compute_target_pool` resources from 0.6.x releases. ([#9370](https://github.com/hashicorp/terraform/issues/9370))
-
-## 0.7.6 (October 14, 2016)
-
-BACKWARDS INCOMPATIBILITIES / NOTES:
- * `azurerm_virtual_machine` has deprecated the use of `diagnostics_profile` in favour of `boot_diagnostics`. ([#9122](https://github.com/hashicorp/terraform/issues/9122))
- * The deprecated `key_file` and `bastion_key_file` arguments to Provisioner Connections have been removed ([#9340](https://github.com/hashicorp/terraform/issues/9340))
-
-FEATURES:
- * **New Data Source:** `aws_billing_service_account` ([#8701](https://github.com/hashicorp/terraform/issues/8701))
- * **New Data Source:** `aws_availability_zone` ([#6819](https://github.com/hashicorp/terraform/issues/6819))
- * **New Data Source:** `aws_region` ([#6819](https://github.com/hashicorp/terraform/issues/6819))
- * **New Data Source:** `aws_subnet` ([#6819](https://github.com/hashicorp/terraform/issues/6819))
- * **New Data Source:** `aws_vpc` ([#6819](https://github.com/hashicorp/terraform/issues/6819))
- * **New Resource:** `azurerm_lb` ([#9199](https://github.com/hashicorp/terraform/issues/9199))
- * **New Resource:** `azurerm_lb_backend_address_pool` ([#9199](https://github.com/hashicorp/terraform/issues/9199))
- * **New Resource:** `azurerm_lb_nat_rule` ([#9199](https://github.com/hashicorp/terraform/issues/9199))
- * **New Resource:** `azurerm_lb_nat_pool` ([#9199](https://github.com/hashicorp/terraform/issues/9199))
- * **New Resource:** `azurerm_lb_probe` ([#9199](https://github.com/hashicorp/terraform/issues/9199))
- * **New Resource:** `azurerm_lb_rule` ([#9199](https://github.com/hashicorp/terraform/issues/9199))
- * **New Resource:** `github_repository` ([#9327](https://github.com/hashicorp/terraform/issues/9327))
-
-IMPROVEMENTS:
- * core-validation: create validation package to provide common validation functions ([#8103](https://github.com/hashicorp/terraform/issues/8103))
- * provider/aws: Support Import of OpsWorks Custom Layers ([#9252](https://github.com/hashicorp/terraform/issues/9252))
- * provider/aws: Automatically constructed ARNs now support partitions other than `aws`, allowing operation with `aws-cn` and `aws-us-gov` ([#9273](https://github.com/hashicorp/terraform/issues/9273))
- * provider/aws: Retry setTags operation for EC2 resources ([#7890](https://github.com/hashicorp/terraform/issues/7890))
- * provider/aws: Support refresh of EC2 instance `user_data` ([#6736](https://github.com/hashicorp/terraform/issues/6736))
- * provider/aws: Poll to confirm delete of `resource_aws_customer_gateway` ([#9346](https://github.com/hashicorp/terraform/issues/9346))
- * provider/azurerm: expose default keys for `servicebus_namespace` ([#9242](https://github.com/hashicorp/terraform/issues/9242))
- * provider/azurerm: add `enable_blob_encryption` to `azurerm_storage_account` resource ([#9233](https://github.com/hashicorp/terraform/issues/9233))
- * provider/azurerm: set `resource_group_name` on resource import across the provider ([#9073](https://github.com/hashicorp/terraform/issues/9073))
- * provider/azurerm: `azurerm_cdn_profile` resources can now be imported ([#9306](https://github.com/hashicorp/terraform/issues/9306))
- * provider/datadog: add support for Datadog dashboard "type" and "style" options ([#9228](https://github.com/hashicorp/terraform/issues/9228))
- * provider/scaleway: `region` is now supported for provider configuration
-
-BUG FIXES:
- * core: Local state can now be refreshed when no resources exist ([#7320](https://github.com/hashicorp/terraform/issues/7320))
- * core: Orphaned nested (depth 2+) modules will inherit provider configs ([#9318](https://github.com/hashicorp/terraform/issues/9318))
- * core: Fix crash when a map key contains an interpolation function ([#9282](https://github.com/hashicorp/terraform/issues/9282))
- * core: Numeric variables values were incorrectly converted to numbers ([#9263](https://github.com/hashicorp/terraform/issues/9263))
- * core: Fix input and output of map variables from HCL ([#9268](https://github.com/hashicorp/terraform/issues/9268))
- * core: Crash when interpolating a map value with a function in the key ([#9282](https://github.com/hashicorp/terraform/issues/9282))
- * core: Crash when copying a nil value in an InstanceState ([#9356](https://github.com/hashicorp/terraform/issues/9356))
- * command/fmt: Bare comment groups no longer have superfluous newlines
- * command/fmt: Leading comments on list items are formatted properly
- * provider/aws: Return correct AMI image when `most_recent` is set to `true`. ([#9277](https://github.com/hashicorp/terraform/issues/9277))
- * provider/aws: Fix issue with diff on import of `aws_eip` in EC2 Classic ([#9009](https://github.com/hashicorp/terraform/issues/9009))
- * provider/aws: Handle EC2 tags related errors in CloudFront Distribution resource. ([#9298](https://github.com/hashicorp/terraform/issues/9298))
- * provider/aws: Fix cause error when using `etag` and `kms_key_id` with `aws_s3_bucket_object` ([#9168](https://github.com/hashicorp/terraform/issues/9168))
- * provider/aws: Fix issue reassigning EIP instances appropriately ([#7686](https://github.com/hashicorp/terraform/issues/7686))
- * provider/azurerm: removing resources from state when the API returns a 404 for them ([#8859](https://github.com/hashicorp/terraform/issues/8859))
- * provider/azurerm: Fixed a panic in `azurerm_virtual_machine` when using `diagnostic_profile` ([#9122](https://github.com/hashicorp/terraform/issues/9122))
-
-## 0.7.5 (October 6, 2016)
-
-BACKWARDS INCOMPATIBILITIES / NOTES:
- * `tls_cert_request` is now a managed resource instead of a data source, restoring the pre-Terraform 0.7 behaviour ([#9035](https://github.com/hashicorp/terraform/issues/9035))
-
-FEATURES:
- * **New Provider:** `bitbucket` ([#7405](https://github.com/hashicorp/terraform/issues/7405))
- * **New Resource:** `aws_api_gateway_client_certificate` ([#8775](https://github.com/hashicorp/terraform/issues/8775))
- * **New Resource:** `azurerm_servicebus_topic` ([#9151](https://github.com/hashicorp/terraform/issues/9151))
- * **New Resource:** `azurerm_servicebus_subscription` ([#9185](https://github.com/hashicorp/terraform/issues/9185))
- * **New Resource:** `aws_emr_cluster` ([#9106](https://github.com/hashicorp/terraform/issues/9106))
- * **New Resource:** `aws_emr_instance_group` ([#9106](https://github.com/hashicorp/terraform/issues/9106))
-
-IMPROVEMENTS:
- * helper/schema: Adding of MinItems as a validation to Lists and Maps ([#9216](https://github.com/hashicorp/terraform/issues/9216))
- * provider/aws: Add JSON validation to the `aws_cloudwatch_event_rule` resource ([#8897](https://github.com/hashicorp/terraform/issues/8897))
- * provider/aws: S3 bucket policies are imported as separate resources ([#8915](https://github.com/hashicorp/terraform/issues/8915))
- * provider/aws: S3 bucket policies can now be removed via the `aws_s3_bucket` resource ([#8915](https://github.com/hashicorp/terraform/issues/8915))
- * provider/aws: Added a `cluster_address` attribute to aws elasticache ([#8935](https://github.com/hashicorp/terraform/issues/8935))
- * provider/aws: Add JSON validation to the `aws_elasticsearch_domain resource`. ([#8898](https://github.com/hashicorp/terraform/issues/8898))
- * provider/aws: Add JSON validation to the `aws_kms_key resource`. ([#8900](https://github.com/hashicorp/terraform/issues/8900))
- * provider/aws: Add JSON validation to the `aws_s3_bucket_policy resource`. ([#8901](https://github.com/hashicorp/terraform/issues/8901))
- * provider/aws: Add JSON validation to the `aws_sns_topic resource`. ([#8902](https://github.com/hashicorp/terraform/issues/8902))
- * provider/aws: Add JSON validation to the `aws_sns_topic_policy resource`. ([#8903](https://github.com/hashicorp/terraform/issues/8903))
- * provider/aws: Add JSON validation to the `aws_sqs_queue resource`. ([#8904](https://github.com/hashicorp/terraform/issues/8904))
- * provider/aws: Add JSON validation to the `aws_sqs_queue_policy resource`. ([#8905](https://github.com/hashicorp/terraform/issues/8905))
- * provider/aws: Add JSON validation to the `aws_vpc_endpoint resource`. ([#8906](https://github.com/hashicorp/terraform/issues/8906))
- * provider/aws: Update `aws_cloudformation_stack` data source with new helper function. ([#8907](https://github.com/hashicorp/terraform/issues/8907))
- * provider/aws: Add JSON validation to the `aws_s3_bucket` resource. ([#8908](https://github.com/hashicorp/terraform/issues/8908))
- * provider/aws: Add support for `cloudwatch_logging_options` to Firehose Delivery Streams ([#8671](https://github.com/hashicorp/terraform/issues/8671))
- * provider/aws: Add HTTP/2 support via the http_version parameter to CloudFront distribution ([#8777](https://github.com/hashicorp/terraform/issues/8777))
- * provider/aws: Add `query_string_cache_keys` to allow for selective caching of CloudFront keys ([#8777](https://github.com/hashicorp/terraform/issues/8777))
- * provider/aws: Support Import `aws_elasticache_cluster` ([#9010](https://github.com/hashicorp/terraform/issues/9010))
- * provider/aws: Add support for tags to `aws_cloudfront_distribution` ([#9011](https://github.com/hashicorp/terraform/issues/9011))
- * provider/aws: Support Import `aws_opsworks_stack` ([#9124](https://github.com/hashicorp/terraform/issues/9124))
- * provider/aws: Support Import `aws_elasticache_replication_groups` ([#9140](https://github.com/hashicorp/terraform/issues/9140))
- * provider/aws: Add new aws api-gateway integration types ([#9213](https://github.com/hashicorp/terraform/issues/9213))
- * provider/aws: Import `aws_db_event_subscription` ([#9220](https://github.com/hashicorp/terraform/issues/9220))
- * provider/azurerm: Add normalizeJsonString and validateJsonString functions ([#8909](https://github.com/hashicorp/terraform/issues/8909))
- * provider/azurerm: Support AzureRM Sql Database DataWarehouse ([#9196](https://github.com/hashicorp/terraform/issues/9196))
- * provider/openstack: Use proxy environment variables for communication with services ([#8948](https://github.com/hashicorp/terraform/issues/8948))
- * provider/vsphere: Adding `detach_unknown_disks_on_delete` flag for VM resource ([#8947](https://github.com/hashicorp/terraform/issues/8947))
- * provisioner/chef: Add `skip_register` attribute to allow skipping the registering steps ([#9127](https://github.com/hashicorp/terraform/issues/9127))
-
-BUG FIXES:
- * core: Fixed variables not being in scope for destroy -target on modules ([#9021](https://github.com/hashicorp/terraform/issues/9021))
- * core: Fixed issue that prevented diffs from being properly generated in a specific resource schema scenario ([#8891](https://github.com/hashicorp/terraform/issues/8891))
- * provider/aws: Remove support for `ah` and `esp` literals in Security Group Ingress/Egress rules; you must use the actual protocol number for protocols other than `tcp`, `udp`, `icmp`, or `all` ([#8975](https://github.com/hashicorp/terraform/issues/8975))
- * provider/aws: Do not report drift for effect values differing only by case in AWS policies ([#9139](https://github.com/hashicorp/terraform/issues/9139))
- * provider/aws: VPC ID, Port, Protocol and Name change on aws_alb_target_group will ForceNew resource ([#8989](https://github.com/hashicorp/terraform/issues/8989))
- * provider/aws: Wait for Spot Fleet to drain before removing from state ([#8938](https://github.com/hashicorp/terraform/issues/8938))
- * provider/aws: Fix issue when importing `aws_eip` resources by IP address ([#8970](https://github.com/hashicorp/terraform/issues/8970))
- * provider/aws: Ensure that origin_access_identity is a required value within the CloudFront distribution s3_config block ([#8777](https://github.com/hashicorp/terraform/issues/8777))
- * provider/aws: Corrected Seoul S3 Website Endpoint format ([#9032](https://github.com/hashicorp/terraform/issues/9032))
- * provider/aws: Fix failed remove S3 lifecycle_rule ([#9031](https://github.com/hashicorp/terraform/issues/9031))
- * provider/aws: Fix crashing bug in `aws_ami` data source when using `name_regex` ([#9033](https://github.com/hashicorp/terraform/issues/9033))
- * provider/aws: Fix reading dimensions on cloudwatch alarms ([#9029](https://github.com/hashicorp/terraform/issues/9029))
- * provider/aws: Changing snapshot_identifier on aws_db_instance resource should force… ([#8806](https://github.com/hashicorp/terraform/issues/8806))
- * provider/aws: Refresh AWS EIP association from state when not found ([#9056](https://github.com/hashicorp/terraform/issues/9056))
- * provider/aws: Make encryption in Aurora instances computed-only ([#9060](https://github.com/hashicorp/terraform/issues/9060))
- * provider/aws: Make sure that VPC Peering Connection in a failed state returns an error. ([#9038](https://github.com/hashicorp/terraform/issues/9038))
- * provider/aws: guard against aws_route53_record delete panic ([#9049](https://github.com/hashicorp/terraform/issues/9049))
- * provider/aws: aws_db_option_group flattenOptions failing due to missing values ([#9052](https://github.com/hashicorp/terraform/issues/9052))
- * provider/aws: Add retry logic to the aws_ecr_repository delete func ([#9050](https://github.com/hashicorp/terraform/issues/9050))
- * provider/aws: Modifying the parameter_group_name of aws_elasticache_replication_group caused a panic ([#9101](https://github.com/hashicorp/terraform/issues/9101))
- * provider/aws: Fix issue with updating ELB subnets for subnets in the same AZ ([#9131](https://github.com/hashicorp/terraform/issues/9131))
- * provider/aws: aws_route53_record alias refresh manually updated record ([#9125](https://github.com/hashicorp/terraform/issues/9125))
- * provider/aws: Fix issue detaching volumes that were already detached ([#9023](https://github.com/hashicorp/terraform/issues/9023))
- * provider/aws: Add retry to the `aws_ssm_document` delete func ([#9188](https://github.com/hashicorp/terraform/issues/9188))
- * provider/aws: Fix issue updating `search_string` in aws_cloudwatch_metric_alarm ([#9230](https://github.com/hashicorp/terraform/issues/9230))
- * provider/aws: Update EFS resource to read performance mode and creation_token ([#9234](https://github.com/hashicorp/terraform/issues/9234))
- * provider/azurerm: fix resource ID parsing for subscriptions resources ([#9163](https://github.com/hashicorp/terraform/issues/9163))
- * provider/librato: Mandatory name and conditions attributes weren't being sent on Update unless changed ([#8984](https://github.com/hashicorp/terraform/issues/8984))
- * provisioner/chef: Fix an error with parsing certain `vault_json` content ([#9114](https://github.com/hashicorp/terraform/issues/9114))
- * provisioner/chef: Change to order in which to cleanup the user key so this is done before the Chef run starts ([#9114](https://github.com/hashicorp/terraform/issues/9114))
-
-## 0.7.4 (September 19, 2016)
-
-FEATURES:
- * **New Resource:** `aws_codecommit_trigger` ([#8751](https://github.com/hashicorp/terraform/issues/8751))
- * **New Resource:** `aws_default_security_group` ([#8861](https://github.com/hashicorp/terraform/issues/8861))
- * **New Remote State Backend:** `manta` ([#8830](https://github.com/hashicorp/terraform/issues/8830))
-
-IMPROVEMENTS:
- * provider/aws: Support 'publish' attribute in `lambda_function` ([#8653](https://github.com/hashicorp/terraform/issues/8653))
- * provider/aws: Add `reader_endpoint` RDS Clusters ([#8884](https://github.com/hashicorp/terraform/issues/8884))
- * provider/aws: Export AWS ELB service account ARN ([#8700](https://github.com/hashicorp/terraform/issues/8700))
- * provider/aws: Allow `aws_alb` to have the name auto-generated ([#8673](https://github.com/hashicorp/terraform/issues/8673))
- * provider/aws: Expose `arn_suffix` on `aws_alb` ([#8833](https://github.com/hashicorp/terraform/issues/8833))
- * provider/aws: Add JSON validation to the `aws_cloudformation_stack` resource ([#8896](https://github.com/hashicorp/terraform/issues/8896))
- * provider/aws: Add JSON validation to the `aws_glacier_vault` resource ([#8899](https://github.com/hashicorp/terraform/issues/8899))
- * provider/azurerm: support Diagnostics Profile ([#8277](https://github.com/hashicorp/terraform/issues/8277))
- * provider/google: Resources depending on the `network` attribute can now reference the network by `self_link` or `name` ([#8639](https://github.com/hashicorp/terraform/issues/8639))
- * provider/postgresql: The standard environment variables PGHOST, PGUSER, PGPASSWORD and PGSSLMODE are now supported for provider configuration ([#8666](https://github.com/hashicorp/terraform/issues/8666))
- * helper/resource: Add timeout duration to timeout error message ([#8773](https://github.com/hashicorp/terraform/issues/8773))
- * provisioner/chef: Support recreating Chef clients by setting `recreate_client=true` ([#8577](https://github.com/hashicorp/terraform/issues/8577))
- * provisioner/chef: Support encrypting existing Chef-Vaults for newly created clients ([#8577](https://github.com/hashicorp/terraform/issues/8577))
-
-BUG FIXES:
- * core: Fix regression when loading variables from json ([#8820](https://github.com/hashicorp/terraform/issues/8820))
- * provider/aws: Prevent crash creating an `aws_sns_topic` with an empty policy ([#8834](https://github.com/hashicorp/terraform/issues/8834))
- * provider/aws: Bump `aws_elasticsearch_domain` timeout values ([#672](https://github.com/hashicorp/terraform/issues/672))
- * provider/aws: `aws_nat_gateways` will now recreate on `failed` state ([#8689](https://github.com/hashicorp/terraform/issues/8689))
- * provider/aws: Prevent crash on account ID validation ([#8731](https://github.com/hashicorp/terraform/issues/8731))
- * provider/aws: `aws_db_instance` unexpected state when configurating enhanced monitoring ([#8707](https://github.com/hashicorp/terraform/issues/8707))
- * provider/aws: Remove region condition from `aws_codecommit_repository` ([#8778](https://github.com/hashicorp/terraform/issues/8778))
- * provider/aws: Support Policy DiffSuppression in `aws_kms_key` policy ([#8675](https://github.com/hashicorp/terraform/issues/8675))
- * provider/aws: Fix issue updating Elastic Beanstalk Environment variables ([#8848](https://github.com/hashicorp/terraform/issues/8848))
- * provider/scaleway: Fix `security_group_rule` identification ([#8661](https://github.com/hashicorp/terraform/issues/8661))
- * provider/cloudstack: Fix renaming a VPC with the `cloudstack_vpc` resource ([#8784](https://github.com/hashicorp/terraform/issues/8784))
-
-## 0.7.3 (September 5, 2016)
-
-BACKWARDS INCOMPATIBILITIES / NOTES:
- * Terraform now validates the uniqueness of variable and output names in your configurations. In prior versions certain ways of duplicating variable names would work. This is now a configuration error (and should've always been). If you get an error running Terraform you may need to remove the duplicates. Done right, this should not affect the behavior of Terraform.
- * The internal structure of `.terraform/modules` changed slightly. For configurations with modules, you'll need to run `terraform get` again.
-
-FEATURES:
- * **New Provider:** `rabbitmq` ([#7694](https://github.com/hashicorp/terraform/issues/7694))
- * **New Data Source:** `aws_cloudformation_stack` ([#8640](https://github.com/hashicorp/terraform/issues/8640))
- * **New Resource:** `aws_cloudwatch_log_stream` ([#8626](https://github.com/hashicorp/terraform/issues/8626))
- * **New Resource:** `aws_default_route_table` ([#8323](https://github.com/hashicorp/terraform/issues/8323))
- * **New Resource:** `aws_spot_datafeed_subscription` ([#8640](https://github.com/hashicorp/terraform/issues/8640))
- * **New Resource:** `aws_s3_bucket_policy` ([#8615](https://github.com/hashicorp/terraform/issues/8615))
- * **New Resource:** `aws_sns_topic_policy` ([#8654](https://github.com/hashicorp/terraform/issues/8654))
- * **New Resource:** `aws_sqs_queue_policy` ([#8657](https://github.com/hashicorp/terraform/issues/8657))
- * **New Resource:** `aws_ssm_association` ([#8376](https://github.com/hashicorp/terraform/issues/8376))
- * **New Resource:** `cloudstack_affinity_group` ([#8360](https://github.com/hashicorp/terraform/issues/8360))
- * **New Resource:** `librato_alert` ([#8170](https://github.com/hashicorp/terraform/issues/8170))
- * **New Resource:** `librato_service` ([#8170](https://github.com/hashicorp/terraform/issues/8170))
- * **New Remote State Backend:** `local` ([#8647](https://github.com/hashicorp/terraform/issues/8647))
- * Data source blocks can now have a count associated with them ([#8635](https://github.com/hashicorp/terraform/issues/8635))
- * The count of a resource can now be referenced for interpolations: `self.count` and `type.name.count` work ([#8581](https://github.com/hashicorp/terraform/issues/8581))
- * Provisioners now support connection using IPv6 in addition to IPv4 ([#6616](https://github.com/hashicorp/terraform/issues/6616))
-
-IMPROVEMENTS:
- * core: Add wildcard (match all) support to `ignore_changes` ([#8599](https://github.com/hashicorp/terraform/issues/8599))
- * core: HTTP module sources can now use netrc files for auth
- * core: Show last resource state in a timeout error message ([#8510](https://github.com/hashicorp/terraform/issues/8510))
- * helper/schema: Add diff suppression callback ([#8585](https://github.com/hashicorp/terraform/issues/8585))
- * provider/aws: API Gateway Custom Authorizer ([#8535](https://github.com/hashicorp/terraform/issues/8535))
- * provider/aws: Add MemoryReservation To `aws_ecs_container_definition` data source ([#8437](https://github.com/hashicorp/terraform/issues/8437))
- * provider/aws: Add ability Enable/Disable For ELB Access logs ([#8438](https://github.com/hashicorp/terraform/issues/8438))
- * provider/aws: Add support for assuming a role prior to performing API operations ([#8638](https://github.com/hashicorp/terraform/issues/8638))
- * provider/aws: Export `arn` of `aws_autoscaling_group` ([#8503](https://github.com/hashicorp/terraform/issues/8503))
- * provider/aws: More robust handling of Lambda function archives hosted on S3 ([#6860](https://github.com/hashicorp/terraform/issues/6860))
- * provider/aws: Spurious diffs of `aws_s3_bucket` policy attributes due to JSON field ordering are reduced ([#8615](https://github.com/hashicorp/terraform/issues/8615))
- * provider/aws: `name_regex` attribute for local post-filtering of `aws_ami` data source results ([#8403](https://github.com/hashicorp/terraform/issues/8403))
- * provider/aws: Support for lifecycle hooks at ASG creation ([#5620](https://github.com/hashicorp/terraform/issues/5620))
- * provider/consul: Make provider settings truly optional ([#8551](https://github.com/hashicorp/terraform/issues/8551))
- * provider/statuscake: Add support for contact-group id in statuscake test ([#8417](https://github.com/hashicorp/terraform/issues/8417))
-
-BUG FIXES:
- * core: Changing a module source from file to VCS no longer errors ([#8398](https://github.com/hashicorp/terraform/issues/8398))
- * core: Configuration is now validated prior to input, fixing an obscure parse error when attempting to interpolate a count ([#8591](https://github.com/hashicorp/terraform/issues/8591))
- * core: JSON configuration with resources with a single key parse properly ([#8485](https://github.com/hashicorp/terraform/issues/8485))
- * core: States with duplicate modules are detected and an error is shown ([#8463](https://github.com/hashicorp/terraform/issues/8463))
- * core: Validate uniqueness of variables/outputs in a module ([#8482](https://github.com/hashicorp/terraform/issues/8482))
- * core: `-var` flag inputs starting with `/` work
- * core: `-var` flag inputs starting with a number work and was fixed in such a way that this should overall be a lot more resilient to inputs ([#8044](https://github.com/hashicorp/terraform/issues/8044))
- * provider/aws: Add AWS error message to retry APIGateway account update ([#8533](https://github.com/hashicorp/terraform/issues/8533))
- * provider/aws: Do not set empty string to state for `aws_vpn_gateway` availability zone ([#8645](https://github.com/hashicorp/terraform/issues/8645))
- * provider/aws: Fix. Adjust create and destroy timeout in aws_vpn_gateway_attachment. ([#8636](https://github.com/hashicorp/terraform/issues/8636))
- * provider/aws: Handle missing EFS mount target in `aws_efs_mount_target` ([#8529](https://github.com/hashicorp/terraform/issues/8529))
- * provider/aws: If an `aws_security_group` was used in Lambda function it may have prevented you from destroying such SG due to dangling ENIs created by Lambda service. These ENIs are now automatically cleaned up prior to SG deletion ([#8033](https://github.com/hashicorp/terraform/issues/8033))
- * provider/aws: Increase `aws_route_table` timeouts from 1 min to 2 mins ([#8465](https://github.com/hashicorp/terraform/issues/8465))
- * provider/aws: Increase aws_rds_cluster timeout to 40 minutes ([#8623](https://github.com/hashicorp/terraform/issues/8623))
- * provider/aws: Refresh `aws_route` from state if `aws_route_table` not found ([#8443](https://github.com/hashicorp/terraform/issues/8443))
- * provider/aws: Remove `aws_elasticsearch_domain` from state if it doesn't exist ([#8643](https://github.com/hashicorp/terraform/issues/8643))
- * provider/aws: Remove unsafe ptr dereferencing from ECS/ECR ([#8514](https://github.com/hashicorp/terraform/issues/8514))
- * provider/aws: Set `apply_method` to state in `aws_db_parameter_group` ([#8603](https://github.com/hashicorp/terraform/issues/8603))
- * provider/aws: Stop `aws_instance` `source_dest_check` triggering an API call on each terraform run ([#8450](https://github.com/hashicorp/terraform/issues/8450))
- * provider/aws: Wait for `aws_route_53_record` to be in-sync after a delete ([#8646](https://github.com/hashicorp/terraform/issues/8646))
- * provider/aws: `aws_volume_attachment` detachment errors are caught ([#8479](https://github.com/hashicorp/terraform/issues/8479))
- * provider/aws: adds resource retry to `aws_spot_instance_request` ([#8516](https://github.com/hashicorp/terraform/issues/8516))
- * provider/aws: Add validation of Health Check target to aws_elb. ([#8578](https://github.com/hashicorp/terraform/issues/8578))
- * provider/aws: Skip detaching when aws_internet_gateway not found ([#8454](https://github.com/hashicorp/terraform/issues/8454))
- * provider/aws: Handle all kinds of CloudFormation stack failures ([#5606](https://github.com/hashicorp/terraform/issues/5606))
- * provider/azurerm: Reordering the checks after an Azure API Get ([#8607](https://github.com/hashicorp/terraform/issues/8607))
- * provider/chef: Fix "invalid header" errors that could occur ([#8382](https://github.com/hashicorp/terraform/issues/8382))
- * provider/github: Remove unsafe ptr dereferencing ([#8512](https://github.com/hashicorp/terraform/issues/8512))
- * provider/librato: Refresh space from state when not found ([#8596](https://github.com/hashicorp/terraform/issues/8596))
- * provider/mysql: Fix breakage in parsing MySQL version string ([#8571](https://github.com/hashicorp/terraform/issues/8571))
- * provider/template: `template_file` vars can be floating point ([#8590](https://github.com/hashicorp/terraform/issues/8590))
- * provider/triton: Fix bug where the ID of a `triton_key` was used prior to being set ([#8563](https://github.com/hashicorp/terraform/issues/8563))
-
-## 0.7.2 (August 25, 2016)
-
-BACKWARDS INCOMPATIBILITIES / NOTES:
- * provider/openstack: changes were made to how volumes attached to instances are detected. If you attached a volume to an instance out of band to Terraform, it will be detached upon the next apply. You can resolve this by adding a `volume` entry for the attached volume.
- * provider/aws: `aws_spot_fleet_request` has changed the `associate_public_ip_address` default from `true` to `false`
-
-FEATURES:
- * **New Resource:** `aws_api_gateway_base_path_mapping` ([#8353](https://github.com/hashicorp/terraform/issues/8353))
- * **New Resource:** `aws_api_gateway_domain_name` ([#8353](https://github.com/hashicorp/terraform/issues/8353))
- * **New Resource:** `aws_ssm_document` ([#8460](https://github.com/hashicorp/terraform/issues/8460))
-
-IMPROVEMENTS:
- * core: Names generated with a unique prefix are now sortable based on age ([#8249](https://github.com/hashicorp/terraform/issues/8249))
- * provider/aws: Add Primary Endpoint Address attribute for `aws_elasticache_replication_group` ([#8385](https://github.com/hashicorp/terraform/issues/8385))
- * provider/aws: Add support for `network_mode` to `aws_ecs_task_definition` ([#8391](https://github.com/hashicorp/terraform/issues/8391))
- * provider/aws: Add support for LB target group to ECS service ([#8190](https://github.com/hashicorp/terraform/issues/8190))
- * provider/aws: Support Tags for `aws_alb` and `aws_alb_target_group` resources ([#8422](https://github.com/hashicorp/terraform/issues/8422))
- * provider/aws: Support `snapshot_name` for ElastiCache Cluster and Replication Groups ([#8419](https://github.com/hashicorp/terraform/issues/8419))
- * provider/aws: Add support to `aws_redshift_cluster` for restoring from snapshot ([#8414](https://github.com/hashicorp/terraform/issues/8414))
- * provider/aws: Add validation for master_password in `aws_redshift_cluster` ([#8434](https://github.com/hashicorp/terraform/issues/8434))
- * provider/openstack: Add `allowed_address_pairs` to `openstack_networking_port_v2` ([#8257](https://github.com/hashicorp/terraform/issues/8257))
-
-BUG FIXES:
- * core: fix crash case when malformed JSON given ([#8295](https://github.com/hashicorp/terraform/issues/8295))
- * core: when asking for input, spaces are allowed ([#8394](https://github.com/hashicorp/terraform/issues/8394))
- * core: module sources with URL encodings in the local file path won't error ([#8418](https://github.com/hashicorp/terraform/issues/8418))
- * command/apply: prefix destroying resources with module path ([#8396](https://github.com/hashicorp/terraform/issues/8396))
- * command/import: can import into specific indexes ([#8335](https://github.com/hashicorp/terraform/issues/8335))
- * command/push: -upload-modules=false works ([#8456](https://github.com/hashicorp/terraform/issues/8456))
- * command/state mv: nested modules can be moved ([#8304](https://github.com/hashicorp/terraform/issues/8304))
- * command/state mv: resources with a count > 1 can be moved ([#8304](https://github.com/hashicorp/terraform/issues/8304))
- * provider/aws: Refresh `aws_lambda_event_source_mapping` from state when NotFound ([#8378](https://github.com/hashicorp/terraform/issues/8378))
- * provider/aws: `aws_elasticache_replication_group_id` validation change ([#8381](https://github.com/hashicorp/terraform/issues/8381))
- * provider/aws: Fix possible crash if using duplicate Route53 records ([#8399](https://github.com/hashicorp/terraform/issues/8399))
- * provider/aws: Refresh `aws_autoscaling_policy` from state on 404 ([#8430](https://github.com/hashicorp/terraform/issues/8430))
- * provider/aws: Fix crash with VPC Peering connection accept/requests ([#8432](https://github.com/hashicorp/terraform/issues/8432))
- * provider/aws: AWS SpotFleet Requests now works with Subnets and AZs ([#8320](https://github.com/hashicorp/terraform/issues/8320))
- * provider/aws: Refresh `aws_cloudwatch_event_target` from state on `ResourceNotFoundException` ([#8442](https://github.com/hashicorp/terraform/issues/8442))
- * provider/aws: Validate `aws_iam_policy_attachment` Name parameter to stop being empty ([#8441](https://github.com/hashicorp/terraform/issues/8441))
- * provider/aws: Fix segmentation fault in `aws_api_gateway_base_path_mapping` resource ([#8466](https://github.com/hashicorp/terraform/issues/8466))
- * provider/google: fix crash regression from Terraform 0.7.1 on `google_compute_firewall` resource ([#8390](https://github.com/hashicorp/terraform/issues/8390))
- * provider/openstack: Volume Attachment and Detachment Fixes ([#8172](https://github.com/hashicorp/terraform/issues/8172))
-
-## 0.7.1 (August 19, 2016)
-
-FEATURES:
- * **New Command:** `terraform state rm` ([#8200](https://github.com/hashicorp/terraform/issues/8200))
- * **New Provider:** `archive` ([#7322](https://github.com/hashicorp/terraform/issues/7322))
- * **New Resource:** `aws_alb` ([#8254](https://github.com/hashicorp/terraform/issues/8254))
- * **New Resource:** `aws_alb_listener` ([#8269](https://github.com/hashicorp/terraform/issues/8269))
- * **New Resource:** `aws_alb_target_group` ([#8254](https://github.com/hashicorp/terraform/issues/8254))
- * **New Resource:** `aws_alb_target_group_attachment` ([#8254](https://github.com/hashicorp/terraform/issues/8254))
- * **New Resource:** `aws_alb_target_group_rule` ([#8321](https://github.com/hashicorp/terraform/issues/8321))
- * **New Resource:** `aws_vpn_gateway_attachment` ([#7870](https://github.com/hashicorp/terraform/issues/7870))
- * **New Resource:** `aws_load_balancer_policy` ([#7458](https://github.com/hashicorp/terraform/issues/7458))
- * **New Resource:** `aws_load_balancer_backend_server_policy` ([#7458](https://github.com/hashicorp/terraform/issues/7458))
- * **New Resource:** `aws_load_balancer_listener_policy` ([#7458](https://github.com/hashicorp/terraform/issues/7458))
- * **New Resource:** `aws_lb_ssl_negotiation_policy` ([#8084](https://github.com/hashicorp/terraform/issues/8084))
- * **New Resource:** `aws_elasticache_replication_groups` ([#8275](https://github.com/hashicorp/terraform/issues/8275))
- * **New Resource:** `azurerm_virtual_network_peering` ([#8168](https://github.com/hashicorp/terraform/issues/8168))
- * **New Resource:** `azurerm_servicebus_namespace` ([#8195](https://github.com/hashicorp/terraform/issues/8195))
- * **New Resource:** `google_compute_image` ([#7960](https://github.com/hashicorp/terraform/issues/7960))
- * **New Resource:** `packet_volume` ([#8142](https://github.com/hashicorp/terraform/issues/8142))
- * **New Resource:** `consul_prepared_query` ([#7474](https://github.com/hashicorp/terraform/issues/7474))
- * **New Data Source:** `aws_ip_ranges` ([#7984](https://github.com/hashicorp/terraform/issues/7984))
- * **New Data Source:** `fastly_ip_ranges` ([#7984](https://github.com/hashicorp/terraform/issues/7984))
- * **New Data Source:** `aws_caller_identity` ([#8206](https://github.com/hashicorp/terraform/issues/8206))
- * **New Data Source:** `aws_elb_service_account` ([#8221](https://github.com/hashicorp/terraform/issues/8221))
- * **New Data Source:** `aws_redshift_service_account` ([#8224](https://github.com/hashicorp/terraform/issues/8224))
-
-IMPROVEMENTS
- * provider/archive support folders in output_path ([#8278](https://github.com/hashicorp/terraform/issues/8278))
- * provider/aws: Introduce `aws_elasticsearch_domain` `elasticsearch_version` field (to specify ES version) ([#7860](https://github.com/hashicorp/terraform/issues/7860))
- * provider/aws: Add support for TargetGroups (`aws_alb_target_groups`) to `aws_autoscaling_group` [8327]
- * provider/aws: CloudWatch Metrics are now supported for `aws_route53_health_check` resources ([#8319](https://github.com/hashicorp/terraform/issues/8319))
- * provider/aws: Query all pages of group membership ([#6726](https://github.com/hashicorp/terraform/issues/6726))
- * provider/aws: Query all pages of IAM Policy attachments ([#7779](https://github.com/hashicorp/terraform/issues/7779))
- * provider/aws: Change the way ARNs are built ([#7151](https://github.com/hashicorp/terraform/issues/7151))
- * provider/aws: Add support for Elasticsearch destination to firehose delivery streams ([#7839](https://github.com/hashicorp/terraform/issues/7839))
- * provider/aws: Retry AttachInternetGateway and increase timeout on `aws_internet_gateway` ([#7891](https://github.com/hashicorp/terraform/issues/7891))
- * provider/aws: Add support for Enhanced monitoring to `aws_rds_cluster_instance` ([#8038](https://github.com/hashicorp/terraform/issues/8038))
- * provider/aws: Add ability to set Requests Payer in `aws_s3_bucket` ([#8065](https://github.com/hashicorp/terraform/issues/8065))
- * provider/aws: Add ability to set canned ACL in `aws_s3_bucket_object` ([#8091](https://github.com/hashicorp/terraform/issues/8091))
- * provider/aws: Allow skipping credentials validation, requesting Account ID and/or metadata API check ([#7874](https://github.com/hashicorp/terraform/issues/7874))
- * provider/aws: API gateway request/response parameters can now be specified as map, original `*_in_json` parameters deprecated ([#7794](https://github.com/hashicorp/terraform/issues/7794))
- * provider/aws: Add support for `promotion_tier` to `aws_rds_cluster_instance` ([#8087](https://github.com/hashicorp/terraform/issues/8087))
- * provider/aws: Allow specifying custom S3 endpoint and enforcing S3 path style URLs via new provider options ([#7871](https://github.com/hashicorp/terraform/issues/7871))
- * provider/aws: Add ability to set Storage Class in `aws_s3_bucket_object` ([#8174](https://github.com/hashicorp/terraform/issues/8174))
- * provider/aws: Treat `aws_lambda_function` w/ empty `subnet_ids` & `security_groups_ids` in `vpc_config` as VPC-disabled function ([#6191](https://github.com/hashicorp/terraform/issues/6191))
- * provider/aws: Allow `source_ids` in `aws_db_event_subscription` to be Updatable ([#7892](https://github.com/hashicorp/terraform/issues/7892))
- * provider/aws: Make `aws_efs_mount_target` creation fail for 2+ targets per AZ ([#8205](https://github.com/hashicorp/terraform/issues/8205))
- * provider/aws: Add `force_destroy` option to `aws_route53_zone` ([#8239](https://github.com/hashicorp/terraform/issues/8239))
- * provider/aws: Support import of `aws_s3_bucket` ([#8262](https://github.com/hashicorp/terraform/issues/8262))
- * provider/aws: Increase timeout for retrying creation of IAM role ([#7733](https://github.com/hashicorp/terraform/issues/7733))
- * provider/aws: Add ability to set peering options in aws_vpc_peering_connection. ([#8310](https://github.com/hashicorp/terraform/issues/8310))
- * provider/azure: add custom_data argument for azure_instance resource ([#8158](https://github.com/hashicorp/terraform/issues/8158))
- * provider/azurerm: Adds support for uploading blobs to azure storage from local source ([#7994](https://github.com/hashicorp/terraform/issues/7994))
- * provider/azurerm: Storage blob contents can be copied from an existing blob ([#8126](https://github.com/hashicorp/terraform/issues/8126))
- * provider/datadog: Allow `tags` to be configured for monitor resources. ([#8284](https://github.com/hashicorp/terraform/issues/8284))
- * provider/google: allows atomic Cloud DNS record changes ([#6575](https://github.com/hashicorp/terraform/issues/6575))
- * provider/google: Move URLMap hosts to TypeSet from TypeList ([#7472](https://github.com/hashicorp/terraform/issues/7472))
- * provider/google: Support static private IP addresses in `resource_compute_instance` ([#6310](https://github.com/hashicorp/terraform/issues/6310))
- * provider/google: Add support for using a GCP Image Family ([#8083](https://github.com/hashicorp/terraform/issues/8083))
- * provider/openstack: Support updating the External Gateway assigned to a Neutron router ([#8070](https://github.com/hashicorp/terraform/issues/8070))
- * provider/openstack: Support for `value_specs` param on `openstack_networking_network_v2` ([#8155](https://github.com/hashicorp/terraform/issues/8155))
- * provider/openstack: Add `value_specs` param on `openstack_networking_subnet_v2` ([#8181](https://github.com/hashicorp/terraform/issues/8181))
- * provider/vsphere: Improved SCSI controller handling in `vsphere_virtual_machine` ([#7908](https://github.com/hashicorp/terraform/issues/7908))
- * provider/vsphere: Adding disk type of `Thick Lazy` to `vsphere_virtual_disk` and `vsphere_virtual_machine` ([#7916](https://github.com/hashicorp/terraform/issues/7916))
- * provider/vsphere: Standardizing datastore references to use builtin Path func ([#8075](https://github.com/hashicorp/terraform/issues/8075))
- * provider/consul: add tls config support to consul provider ([#7015](https://github.com/hashicorp/terraform/issues/7015))
- * remote/consul: Support setting datacenter when using consul remote state ([#8102](https://github.com/hashicorp/terraform/issues/8102))
- * provider/google: Support import of `google_compute_instance_template` ([#8147](https://github.com/hashicorp/terraform/issues/8147)), `google_compute_firewall` ([#8236](https://github.com/hashicorp/terraform/issues/8236)), `google_compute_target_pool` ([#8133](https://github.com/hashicorp/terraform/issues/8133)), `google_compute_fowarding_rule` ([#8122](https://github.com/hashicorp/terraform/issues/8122)), `google_compute_http_health_check` ([#8121](https://github.com/hashicorp/terraform/issues/8121)), `google_compute_autoscaler` ([#8115](https://github.com/hashicorp/terraform/issues/8115))
-
-BUG FIXES:
- * core: Fix issue preventing `taint` from working with resources that had no other attributes in their diff ([#8167](https://github.com/hashicorp/terraform/issues/8167))
- * core: CLI will only run exact match commands ([#7983](https://github.com/hashicorp/terraform/issues/7983))
- * core: Fix panic when resources ends up null in state file ([#8120](https://github.com/hashicorp/terraform/issues/8120))
- * core: Fix panic when validating a count with a unprefixed variable ([#8243](https://github.com/hashicorp/terraform/issues/8243))
- * core: Divide by zero in interpolations no longer panics ([#7701](https://github.com/hashicorp/terraform/issues/7701))
- * core: Fix panic on some invalid interpolation syntax ([#5672](https://github.com/hashicorp/terraform/issues/5672))
- * provider/aws: guard against missing image_digest in `aws_ecs_task_definition` ([#7966](https://github.com/hashicorp/terraform/issues/7966))
- * provider/aws: `aws_cloudformation_stack` now respects `timeout_in_minutes` field when waiting for CF API to finish an update operation ([#7997](https://github.com/hashicorp/terraform/issues/7997))
- * provider/aws: Prevent errors when `aws_s3_bucket` `acceleration_status` is not available in a given region ([#7999](https://github.com/hashicorp/terraform/issues/7999))
- * provider/aws: Add state filter to `aws_availability_zone`s data source ([#7965](https://github.com/hashicorp/terraform/issues/7965))
- * provider/aws: Handle lack of snapshot ID for a volume in `ami_copy` ([#7995](https://github.com/hashicorp/terraform/issues/7995))
- * provider/aws: Retry association of IAM Role & instance profile ([#7938](https://github.com/hashicorp/terraform/issues/7938))
- * provider/aws: Fix `aws_s3_bucket` resource `redirect_all_requests_to` action ([#7883](https://github.com/hashicorp/terraform/issues/7883))
- * provider/aws: Fix issue updating ElasticBeanstalk Environment Settings ([#7777](https://github.com/hashicorp/terraform/issues/7777))
- * provider/aws: `aws_rds_cluster` creation timeout bumped to 40 minutes ([#8052](https://github.com/hashicorp/terraform/issues/8052))
- * provider/aws: Update ElasticTranscoder to allow empty notifications, removing notifications, etc ([#8207](https://github.com/hashicorp/terraform/issues/8207))
- * provider/aws: Fix line ending errors/diffs with IAM Server Certs ([#8074](https://github.com/hashicorp/terraform/issues/8074))
- * provider/aws: Fixing IAM data source policy generation to prevent spurious diffs ([#6956](https://github.com/hashicorp/terraform/issues/6956))
- * provider/aws: Correct how CORS rules are handled in `aws_s3_bucket` ([#8096](https://github.com/hashicorp/terraform/issues/8096))
- * provider/aws: allow numeric characters in RedshiftClusterDbName ([#8178](https://github.com/hashicorp/terraform/issues/8178))
- * provider/aws: `aws_security_group` now creates tags as early as possible in the process ([#7849](https://github.com/hashicorp/terraform/issues/7849))
- * provider/aws: Defensively code around `db_security_group` ingress rules ([#7893](https://github.com/hashicorp/terraform/issues/7893))
- * provider/aws: `aws_spot_fleet_request` throws panic on missing subnet_id or availability_zone ([#8217](https://github.com/hashicorp/terraform/issues/8217))
- * provider/aws: Terraform fails during Redshift delete if FinalSnapshot is being taken. ([#8270](https://github.com/hashicorp/terraform/issues/8270))
- * provider/azurerm: `azurerm_storage_account` will interrupt for Ctrl-C ([#8215](https://github.com/hashicorp/terraform/issues/8215))
- * provider/azurerm: Public IP - Setting idle timeout value caused panic. #8283
- * provider/digitalocean: trim whitespace from ssh key ([#8173](https://github.com/hashicorp/terraform/issues/8173))
- * provider/digitalocean: Enforce Lowercase on IPV6 Addresses ([#7652](https://github.com/hashicorp/terraform/issues/7652))
- * provider/google: Use resource specific project when making queries/changes ([#7029](https://github.com/hashicorp/terraform/issues/7029))
- * provider/google: Fix read for the backend service resource ([#7476](https://github.com/hashicorp/terraform/issues/7476))
- * provider/mysql: `mysql_user` works with MySQL versions before 5.7.6 ([#8251](https://github.com/hashicorp/terraform/issues/8251))
- * provider/openstack: Fix typo in OpenStack LBaaSv2 pool resource ([#8179](https://github.com/hashicorp/terraform/issues/8179))
- * provider/vSphere: Fix for IPv6 only environment creation ([#7643](https://github.com/hashicorp/terraform/issues/7643))
- * provider/google: Correct update process for authorized networks in `google_sql_database_instance` ([#8290](https://github.com/hashicorp/terraform/issues/8290))
-
-## 0.7.0 (August 2, 2016)
-
-BACKWARDS INCOMPATIBILITIES / NOTES:
-
- * Terraform Core
- * Terraform's built-in plugins are now distributed as part of the main Terraform binary, and use the go-plugin framework. Overrides are still available using separate binaries, but will need recompiling against Terraform 0.7.
- * The `terraform plan` command no longer persists state. This makes the command much safer to run, since it is now side-effect free. The `refresh` and `apply` commands still persist state to local and remote storage. Any automation that assumes that `terraform plan` persists state will need to be reworked to explicitly call `terraform refresh` to get the equivalent side-effect. (The `terraform plan` command no longer has the `-state-out` or `-backup` flags due to this change.)
- * The `concat()` interpolation function can no longer be used to join strings.
- * Quotation marks may no longer be escaped in HIL expressions ([#7201](https://github.com/hashicorp/terraform/issues/7201))
- * Lists materialized using splat syntax, for example `aws_instance.foo.*.id` are now ordered by the count index rather than lexographically sorted. If this produces a large number of undesirable differences, you can use the new `sort()` interpolation function to produce the previous behaviour.
- * You now access the values of maps using the syntax `var.map["key"]` or the `lookup` function instead of `var.map.key`.
- * Outputs on `terraform_remote_state` resources are now top level attributes rather than inside the `output` map. In order to access outputs, use the syntax: `terraform_remote_state.name.outputname`. Currently outputs cannot be named `config` or `backend`.
- * AWS Provider
- * `aws_elb` now defaults `cross_zone_load_balancing` to `true`
- * `aws_instance`: EC2 Classic users may continue to use `security_groups` to reference Security Groups by their `name`. Users who are managing Instances inside VPCs will need to use `vpc_security_group_ids` instead, and reference the security groups by their `id`. Ref https://github.com/hashicorp/terraform/issues/6416#issuecomment-219145065
- * `aws_kinesis_firehose_delivery_stream`: AWS Kinesis Firehose has been refactored to support Redshift as a destination in addition to S3. As a result, the configuration has changed and users will need to update their configuration to match the new `s3_configuration` block. Checkout the documentaiton on [AWS Kinesis Firehose](http://localhost:4567/docs/providers/aws/r/kinesis_firehose_delivery_stream.html) for more information ([#7375](https://github.com/hashicorp/terraform/issues/7375))
- * `aws_route53_record`: `latency_routing_policy`, `geolocation_routing_policy`, and `failover_routing_policy` block options have been added. With these additions we’ve renamed the `weight` attribute to `weighted_routing_policy`, and it has changed from a string to a block to match the others. Please see the updated documentation on using `weighted_routing_policy`: https://www.terraform.io/docs/providers/aws/r/route53_record.html . ([#6954](https://github.com/hashicorp/terraform/issues/6954))
- * `aws_db_instance` now defaults `publicly_accessible` to false
- * Microsoft Azure Provider
- * In documentation, the "Azure (Resource Manager)" provider has been renamed to the "Microsoft Azure" provider.
- * `azurerm_dns_cname_record` now accepts a single record rather than a list of records
- * `azurerm_virtual_machine` computer_name now Required
- * Openstack Provider
- * `openstack_networking_subnet_v2` now defaults to turning DHCP on.
- * `openstack_fw_policy_v1` now correctly applies rules in the order they are specified. Upon the next apply, current rules might be re-ordered.
- * The `member` attribute of `openstack_lb_pool_v1` has been deprecated. Please ue the new `openstack_lb_member_v1` resource.
- * Docker Provider
- * `keep_updated` parameter removed from `docker_image` - This parameter never did what it was supposed to do. See relevant docs, specifically `pull_trigger` & new `docker_registry_image` data source to understand how to keep your `docker_image` updated.
- * Atlas Provider
- * `atlas_artifact` resource has be deprecated. Please use the new `atlas_artifact` Data Source.
- * CloudStack Provider
- * All deprecated parameters are removed from all `CloudStack` resources
-
-FEATURES:
-
- * **Data sources** are a new kind of primitive in Terraform. Attributes for data sources are refreshed and available during the planning stage. ([#6598](https://github.com/hashicorp/terraform/issues/6598))
- * **Lists and maps** can now be used as first class types for variables and may also be passed between modules. ([#6322](https://github.com/hashicorp/terraform/issues/6322))
- * **State management CLI commands** provide a variety of state manipulation functions for advanced use cases. This should be used where possible instead of manually modifying state files. ([#5811](https://github.com/hashicorp/terraform/issues/5811))
- * **State Import** allows a way to import existing resources into Terraform state for many types of resource. Initial coverage of AWS is quite high, and it is straightforward to add support for new resources.
- * **New Command:** `terraform state` to provide access to a variety of state manipulation functions ([#5811](https://github.com/hashicorp/terraform/issues/5811))
- * **New Option:** `terraform output` now supports the `-json` flag to print a machine-readable representation of outputs ([#7608](https://github.com/hashicorp/terraform/issues/7608))
- * **New Data Source:** `aws_ami` ([#6911](https://github.com/hashicorp/terraform/issues/6911))
- * **New Data Source:** `aws_availability_zones` ([#6805](https://github.com/hashicorp/terraform/issues/6805))
- * **New Data Source:** `aws_iam_policy_document` ([#6881](https://github.com/hashicorp/terraform/issues/6881))
- * **New Data Source:** `aws_s3_bucket_object` ([#6946](https://github.com/hashicorp/terraform/issues/6946))
- * **New Data Source:** `aws_ecs_container_definition` ([#7230](https://github.com/hashicorp/terraform/issues/7230))
- * **New Data Source:** `atlas_artifact` ([#7419](https://github.com/hashicorp/terraform/issues/7419))
- * **New Data Source:** `docker_registry_image` ([#7000](https://github.com/hashicorp/terraform/issues/7000))
- * **New Data Source:** `consul_keys` ([#7678](https://github.com/hashicorp/terraform/issues/7678))
- * **New Interpolation Function:** `sort` ([#7128](https://github.com/hashicorp/terraform/issues/7128))
- * **New Interpolation Function:** `distinct` ([#7174](https://github.com/hashicorp/terraform/issues/7174))
- * **New Interpolation Function:** `list` ([#7528](https://github.com/hashicorp/terraform/issues/7528))
- * **New Interpolation Function:** `map` ([#7832](https://github.com/hashicorp/terraform/issues/7832))
- * **New Provider:** `grafana` ([#6206](https://github.com/hashicorp/terraform/issues/6206))
- * **New Provider:** `logentries` ([#7067](https://github.com/hashicorp/terraform/issues/7067))
- * **New Provider:** `scaleway` ([#7331](https://github.com/hashicorp/terraform/issues/7331))
- * **New Provider:** `random` - allows generation of random values without constantly generating diffs ([#6672](https://github.com/hashicorp/terraform/issues/6672))
- * **New Remote State Provider:** - `gcs` - Google Cloud Storage ([#6814](https://github.com/hashicorp/terraform/issues/6814))
- * **New Remote State Provider:** - `azure` - Microsoft Azure Storage ([#7064](https://github.com/hashicorp/terraform/issues/7064))
- * **New Resource:** `aws_elb_attachment` ([#6879](https://github.com/hashicorp/terraform/issues/6879))
- * **New Resource:** `aws_elastictranscoder_preset` ([#6965](https://github.com/hashicorp/terraform/issues/6965))
- * **New Resource:** `aws_elastictranscoder_pipeline` ([#6965](https://github.com/hashicorp/terraform/issues/6965))
- * **New Resource:** `aws_iam_group_policy_attachment` ([#6858](https://github.com/hashicorp/terraform/issues/6858))
- * **New Resource:** `aws_iam_role_policy_attachment` ([#6858](https://github.com/hashicorp/terraform/issues/6858))
- * **New Resource:** `aws_iam_user_policy_attachment` ([#6858](https://github.com/hashicorp/terraform/issues/6858))
- * **New Resource:** `aws_rds_cluster_parameter_group` ([#5269](https://github.com/hashicorp/terraform/issues/5269))
- * **New Resource:** `aws_spot_fleet_request` ([#7243](https://github.com/hashicorp/terraform/issues/7243))
- * **New Resource:** `aws_ses_active_receipt_rule_set` ([#5387](https://github.com/hashicorp/terraform/issues/5387))
- * **New Resource:** `aws_ses_receipt_filter` ([#5387](https://github.com/hashicorp/terraform/issues/5387))
- * **New Resource:** `aws_ses_receipt_rule` ([#5387](https://github.com/hashicorp/terraform/issues/5387))
- * **New Resource:** `aws_ses_receipt_rule_set` ([#5387](https://github.com/hashicorp/terraform/issues/5387))
- * **New Resource:** `aws_simpledb_domain` ([#7600](https://github.com/hashicorp/terraform/issues/7600))
- * **New Resource:** `aws_opsworks_user_profile` ([#6304](https://github.com/hashicorp/terraform/issues/6304))
- * **New Resource:** `aws_opsworks_permission` ([#6304](https://github.com/hashicorp/terraform/issues/6304))
- * **New Resource:** `aws_ami_launch_permission` ([#7365](https://github.com/hashicorp/terraform/issues/7365))
- * **New Resource:** `aws_appautoscaling_policy` ([#7663](https://github.com/hashicorp/terraform/issues/7663))
- * **New Resource:** `aws_appautoscaling_target` ([#7663](https://github.com/hashicorp/terraform/issues/7663))
- * **New Resource:** `openstack_blockstorage_volume_v2` ([#6693](https://github.com/hashicorp/terraform/issues/6693))
- * **New Resource:** `openstack_lb_loadbalancer_v2` ([#7012](https://github.com/hashicorp/terraform/issues/7012))
- * **New Resource:** `openstack_lb_listener_v2` ([#7012](https://github.com/hashicorp/terraform/issues/7012))
- * **New Resource:** `openstack_lb_pool_v2` ([#7012](https://github.com/hashicorp/terraform/issues/7012))
- * **New Resource:** `openstack_lb_member_v2` ([#7012](https://github.com/hashicorp/terraform/issues/7012))
- * **New Resource:** `openstack_lb_monitor_v2` ([#7012](https://github.com/hashicorp/terraform/issues/7012))
- * **New Resource:** `vsphere_virtual_disk` ([#6273](https://github.com/hashicorp/terraform/issues/6273))
- * **New Resource:** `github_repository_collaborator` ([#6861](https://github.com/hashicorp/terraform/issues/6861))
- * **New Resource:** `datadog_timeboard` ([#6900](https://github.com/hashicorp/terraform/issues/6900))
- * **New Resource:** `digitalocean_tag` ([#7500](https://github.com/hashicorp/terraform/issues/7500))
- * **New Resource:** `digitalocean_volume` ([#7560](https://github.com/hashicorp/terraform/issues/7560))
- * **New Resource:** `consul_agent_service` ([#7508](https://github.com/hashicorp/terraform/issues/7508))
- * **New Resource:** `consul_catalog_entry` ([#7508](https://github.com/hashicorp/terraform/issues/7508))
- * **New Resource:** `consul_node` ([#7508](https://github.com/hashicorp/terraform/issues/7508))
- * **New Resource:** `consul_service` ([#7508](https://github.com/hashicorp/terraform/issues/7508))
- * **New Resource:** `mysql_grant` ([#7656](https://github.com/hashicorp/terraform/issues/7656))
- * **New Resource:** `mysql_user` ([#7656](https://github.com/hashicorp/terraform/issues/7656))
- * **New Resource:** `azurerm_storage_table` ([#7327](https://github.com/hashicorp/terraform/issues/7327))
- * **New Resource:** `azurerm_virtual_machine_scale_set` ([#6711](https://github.com/hashicorp/terraform/issues/6711))
- * **New Resource:** `azurerm_traffic_manager_endpoint` ([#7826](https://github.com/hashicorp/terraform/issues/7826))
- * **New Resource:** `azurerm_traffic_manager_profile` ([#7826](https://github.com/hashicorp/terraform/issues/7826))
- * core: Tainted resources now show up in the plan and respect dependency ordering ([#6600](https://github.com/hashicorp/terraform/issues/6600))
- * core: The `lookup` interpolation function can now have a default fall-back value specified ([#6884](https://github.com/hashicorp/terraform/issues/6884))
- * core: The `terraform plan` command no longer persists state. ([#6811](https://github.com/hashicorp/terraform/issues/6811))
-
-IMPROVEMENTS:
-
- * core: The `jsonencode` interpolation function now supports encoding lists and maps ([#6749](https://github.com/hashicorp/terraform/issues/6749))
- * core: Add the ability for resource definitions to mark attributes as "sensitive" which will omit them from UI output. ([#6923](https://github.com/hashicorp/terraform/issues/6923))
- * core: Support `.` in map keys ([#7654](https://github.com/hashicorp/terraform/issues/7654))
- * core: Enhance interpolation functions to account for first class maps and lists ([#7832](https://github.com/hashicorp/terraform/issues/7832)) ([#7834](https://github.com/hashicorp/terraform/issues/7834))
- * command: Remove second DefaultDataDirectory const ([#7666](https://github.com/hashicorp/terraform/issues/7666))
- * provider/aws: Add `dns_name` to `aws_efs_mount_target` ([#7428](https://github.com/hashicorp/terraform/issues/7428))
- * provider/aws: Add `force_destroy` to `aws_iam_user` for force-deleting access keys assigned to the user ([#7766](https://github.com/hashicorp/terraform/issues/7766))
- * provider/aws: Add `option_settings` to `aws_db_option_group` ([#6560](https://github.com/hashicorp/terraform/issues/6560))
- * provider/aws: Add more explicit support for Skipping Final Snapshot in RDS Cluster ([#6795](https://github.com/hashicorp/terraform/issues/6795))
- * provider/aws: Add support for S3 Bucket Acceleration ([#6628](https://github.com/hashicorp/terraform/issues/6628))
- * provider/aws: Add support for `kms_key_id` to `aws_db_instance` ([#6651](https://github.com/hashicorp/terraform/issues/6651))
- * provider/aws: Specifying more than one health check on an `aws_elb` fails with an error prior to making an API request ([#7489](https://github.com/hashicorp/terraform/issues/7489))
- * provider/aws: Add support to `aws_redshift_cluster` for `iam_roles` ([#6647](https://github.com/hashicorp/terraform/issues/6647))
- * provider/aws: SQS use raw policy string if compact fails ([#6724](https://github.com/hashicorp/terraform/issues/6724))
- * provider/aws: Set default description to "Managed by Terraform" ([#6104](https://github.com/hashicorp/terraform/issues/6104))
- * provider/aws: Support for Redshift Cluster encryption using a KMS key ([#6712](https://github.com/hashicorp/terraform/issues/6712))
- * provider/aws: Support tags for AWS redshift cluster ([#5356](https://github.com/hashicorp/terraform/issues/5356))
- * provider/aws: Add `iam_arn` to aws_cloudfront_origin_access_identity ([#6955](https://github.com/hashicorp/terraform/issues/6955))
- * provider/aws: Add `cross_zone_load_balancing` on `aws_elb` default to true ([#6897](https://github.com/hashicorp/terraform/issues/6897))
- * provider/aws: Add support for `character_set_name` to `aws_db_instance` ([#4861](https://github.com/hashicorp/terraform/issues/4861))
- * provider/aws: Add support for DB parameter group with RDS Cluster Instances (Aurora) ([#6865](https://github.com/hashicorp/terraform/issues/6865))
- * provider/aws: Add `name_prefix` to `aws_iam_instance_profile` and `aws_iam_role` ([#6939](https://github.com/hashicorp/terraform/issues/6939))
- * provider/aws: Allow authentication & credentials validation for federated IAM Roles and EC2 instance profiles ([#6536](https://github.com/hashicorp/terraform/issues/6536))
- * provider/aws: Rename parameter_group_name to db_cluster_parameter_group_name ([#7083](https://github.com/hashicorp/terraform/issues/7083))
- * provider/aws: Retry RouteTable Route/Assocation creation ([#7156](https://github.com/hashicorp/terraform/issues/7156))
- * provider/aws: `delegation_set_id` conflicts w/ `vpc_id` in `aws_route53_zone` as delegation sets can only be used for public zones ([#7213](https://github.com/hashicorp/terraform/issues/7213))
- * provider/aws: Support Elastic Beanstalk scheduledaction ([#7376](https://github.com/hashicorp/terraform/issues/7376))
- * provider/aws: Add support for NewInstancesProtectedFromScaleIn to `aws_autoscaling_group` ([#6490](https://github.com/hashicorp/terraform/issues/6490))
- * provider/aws: Added support for `snapshot_identifier` parameter in aws_rds_cluster ([#7158](https://github.com/hashicorp/terraform/issues/7158))
- * provider/aws: Add inplace edit/update DB Security Group Rule Ingress ([#7245](https://github.com/hashicorp/terraform/issues/7245))
- * provider/aws: Added support for redshift destination to firehose delivery streams ([#7375](https://github.com/hashicorp/terraform/issues/7375))
- * provider/aws: Allow `aws_redshift_security_group` ingress rules to change ([#5939](https://github.com/hashicorp/terraform/issues/5939))
- * provider/aws: Add support for `encryption` and `kms_key_id` to `aws_ami` ([#7181](https://github.com/hashicorp/terraform/issues/7181))
- * provider/aws: AWS prefix lists to enable security group egress to a VPC Endpoint ([#7511](https://github.com/hashicorp/terraform/issues/7511))
- * provider/aws: Retry creation of IAM role depending on new IAM user ([#7324](https://github.com/hashicorp/terraform/issues/7324))
- * provider/aws: Allow `port` on `aws_db_instance` to be updated ([#7441](https://github.com/hashicorp/terraform/issues/7441))
- * provider/aws: Allow VPC Classic Linking in Autoscaling Launch Configs ([#7470](https://github.com/hashicorp/terraform/issues/7470))
- * provider/aws: Support `task_role_arn` on `aws_ecs_task_definition ([#7653](https://github.com/hashicorp/terraform/issues/7653))
- * provider/aws: Support Tags on `aws_rds_cluster` ([#7695](https://github.com/hashicorp/terraform/issues/7695))
- * provider/aws: Support kms_key_id for `aws_rds_cluster` ([#7662](https://github.com/hashicorp/terraform/issues/7662))
- * provider/aws: Allow setting a `poll_interval` on `aws_elastic_beanstalk_environment` ([#7523](https://github.com/hashicorp/terraform/issues/7523))
- * provider/aws: Add support for Kinesis streams shard-level metrics ([#7684](https://github.com/hashicorp/terraform/issues/7684))
- * provider/aws: Support create / update greater than twenty db parameters in `aws_db_parameter_group` ([#7364](https://github.com/hashicorp/terraform/issues/7364))
- * provider/aws: expose network interface id in `aws_instance` ([#6751](https://github.com/hashicorp/terraform/issues/6751))
- * provider/aws: Adding passthrough behavior for API Gateway integration ([#7801](https://github.com/hashicorp/terraform/issues/7801))
- * provider/aws: Enable Redshift Cluster Logging ([#7813](https://github.com/hashicorp/terraform/issues/7813))
- * provider/aws: Add ability to set Performance Mode in `aws_efs_file_system` ([#7791](https://github.com/hashicorp/terraform/issues/7791))
- * provider/azurerm: Add support for EnableIPForwarding to `azurerm_network_interface` ([#6807](https://github.com/hashicorp/terraform/issues/6807))
- * provider/azurerm: Add support for exporting the `azurerm_storage_account` access keys ([#6742](https://github.com/hashicorp/terraform/issues/6742))
- * provider/azurerm: The Azure SDK now exposes better error messages ([#6976](https://github.com/hashicorp/terraform/issues/6976))
- * provider/azurerm: `azurerm_dns_zone` now returns `name_servers` ([#7434](https://github.com/hashicorp/terraform/issues/7434))
- * provider/azurerm: dump entire Request/Response in autorest Decorator ([#7719](https://github.com/hashicorp/terraform/issues/7719))
- * provider/azurerm: add option to delete VMs Data disks on termination ([#7793](https://github.com/hashicorp/terraform/issues/7793))
- * provider/clc: Add support for hyperscale and bareMetal server types and package installation
- * provider/clc: Fix optional server password ([#6414](https://github.com/hashicorp/terraform/issues/6414))
- * provider/cloudstack: Add support for affinity groups to `cloudstack_instance` ([#6898](https://github.com/hashicorp/terraform/issues/6898))
- * provider/cloudstack: Enable swapping of ACLs without having to rebuild the network tier ([#6741](https://github.com/hashicorp/terraform/issues/6741))
- * provider/cloudstack: Improve ACL swapping ([#7315](https://github.com/hashicorp/terraform/issues/7315))
- * provider/cloudstack: Add project support to `cloudstack_network_acl` and `cloudstack_network_acl_rule` ([#7612](https://github.com/hashicorp/terraform/issues/7612))
- * provider/cloudstack: Add option to set `root_disk_size` to `cloudstack_instance` ([#7070](https://github.com/hashicorp/terraform/issues/7070))
- * provider/cloudstack: Do no longer force a new `cloudstack_instance` resource when updating `user_data` ([#7074](https://github.com/hashicorp/terraform/issues/7074))
- * provider/cloudstack: Add option to set `security_group_names` to `cloudstack_instance` ([#7240](https://github.com/hashicorp/terraform/issues/7240))
- * provider/cloudstack: Add option to set `affinity_group_names` to `cloudstack_instance` ([#7242](https://github.com/hashicorp/terraform/issues/7242))
- * provider/datadog: Add support for 'require full window' and 'locked' ([#6738](https://github.com/hashicorp/terraform/issues/6738))
- * provider/docker: Docker Container DNS Setting Enhancements ([#7392](https://github.com/hashicorp/terraform/issues/7392))
- * provider/docker: Add `destroy_grace_seconds` option to stop container before delete ([#7513](https://github.com/hashicorp/terraform/issues/7513))
- * provider/docker: Add `pull_trigger` option to `docker_image` to trigger pulling layers of a given image ([#7000](https://github.com/hashicorp/terraform/issues/7000))
- * provider/fastly: Add support for Cache Settings ([#6781](https://github.com/hashicorp/terraform/issues/6781))
- * provider/fastly: Add support for Service Request Settings on `fastly_service_v1` resources ([#6622](https://github.com/hashicorp/terraform/issues/6622))
- * provider/fastly: Add support for custom VCL configuration ([#6662](https://github.com/hashicorp/terraform/issues/6662))
- * provider/google: Support optional uuid naming for Instance Template ([#6604](https://github.com/hashicorp/terraform/issues/6604))
- * provider/openstack: Add support for client certificate authentication ([#6279](https://github.com/hashicorp/terraform/issues/6279))
- * provider/openstack: Allow Neutron-based Floating IP to target a specific tenant ([#6454](https://github.com/hashicorp/terraform/issues/6454))
- * provider/openstack: Enable DHCP By Default ([#6838](https://github.com/hashicorp/terraform/issues/6838))
- * provider/openstack: Implement fixed_ip on Neutron floating ip allocations ([#6837](https://github.com/hashicorp/terraform/issues/6837))
- * provider/openstack: Increase timeouts for image resize, subnets, and routers ([#6764](https://github.com/hashicorp/terraform/issues/6764))
- * provider/openstack: Add `lb_provider` argument to `lb_pool_v1` resource ([#6919](https://github.com/hashicorp/terraform/issues/6919))
- * provider/openstack: Enforce `ForceNew` on Instance Block Device ([#6921](https://github.com/hashicorp/terraform/issues/6921))
- * provider/openstack: Can now stop instances before destroying them ([#7184](https://github.com/hashicorp/terraform/issues/7184))
- * provider/openstack: Disassociate LBaaS v1 Monitors from Pool Before Deletion ([#6997](https://github.com/hashicorp/terraform/issues/6997))
- * provider/powerdns: Add support for PowerDNS 4 API ([#7819](https://github.com/hashicorp/terraform/issues/7819))
- * provider/triton: add `triton_machine` `domain names` ([#7149](https://github.com/hashicorp/terraform/issues/7149))
- * provider/vsphere: Add support for `controller_type` to `vsphere_virtual_machine` ([#6785](https://github.com/hashicorp/terraform/issues/6785))
- * provider/vsphere: Fix bug with `vsphere_virtual_machine` wait for ip ([#6377](https://github.com/hashicorp/terraform/issues/6377))
- * provider/vsphere: Virtual machine update disk ([#6619](https://github.com/hashicorp/terraform/issues/6619))
- * provider/vsphere: `vsphere_virtual_machine` adding controller creation logic ([#6853](https://github.com/hashicorp/terraform/issues/6853))
- * provider/vsphere: `vsphere_virtual_machine` added support for `mac address` on `network_interface` ([#6966](https://github.com/hashicorp/terraform/issues/6966))
- * provider/vsphere: Enhanced `vsphere` logging capabilities ([#6893](https://github.com/hashicorp/terraform/issues/6893))
- * provider/vsphere: Add DiskEnableUUID option to `vsphere_virtual_machine` ([#7088](https://github.com/hashicorp/terraform/issues/7088))
- * provider/vsphere: Virtual Machine and File resources handle Read errors properley ([#7220](https://github.com/hashicorp/terraform/issues/7220))
- * provider/vsphere: set uuid as `vsphere_virtual_machine` output ([#4382](https://github.com/hashicorp/terraform/issues/4382))
- * provider/vsphere: Add support for `keep_on_remove` to `vsphere_virtual_machine` ([#7169](https://github.com/hashicorp/terraform/issues/7169))
- * provider/vsphere: Add support for additional `vsphere_virtial_machine` SCSI controller types ([#7525](https://github.com/hashicorp/terraform/issues/7525))
- * provisioner/file: File provisioners may now have file content set as an attribute ([#7561](https://github.com/hashicorp/terraform/issues/7561))
-
-BUG FIXES:
-
- * core: Correct the previous fix for a bug causing "attribute not found" messages during destroy, as it was insufficient ([#6599](https://github.com/hashicorp/terraform/issues/6599))
- * core: Fix issue causing syntax errors interpolating count attribute when value passed between modules ([#6833](https://github.com/hashicorp/terraform/issues/6833))
- * core: Fix "diffs didn't match during apply" error for computed sets ([#7205](https://github.com/hashicorp/terraform/issues/7205))
- * core: Fix issue where `terraform init .` would truncate existing files ([#7273](https://github.com/hashicorp/terraform/issues/7273))
- * core: Don't compare diffs between maps with computed values ([#7249](https://github.com/hashicorp/terraform/issues/7249))
- * core: Don't copy existing files over themselves when fetching modules ([#7273](https://github.com/hashicorp/terraform/issues/7273))
- * core: Always increment the state serial number when upgrading the version ([#7402](https://github.com/hashicorp/terraform/issues/7402))
- * core: Fix a crash during eval when we're upgrading an empty state ([#7403](https://github.com/hashicorp/terraform/issues/7403))
- * core: Honor the `-state-out` flag when applying with a plan file ([#7443](https://github.com/hashicorp/terraform/issues/7443))
- * core: Fix a panic when a `terraform_remote_state` data source doesn't exist ([#7464](https://github.com/hashicorp/terraform/issues/7464))
- * core: Fix issue where `ignore_changes` caused incorrect diffs on dependent resources ([#7563](https://github.com/hashicorp/terraform/issues/7563))
- * provider/aws: Manual changes to `aws_codedeploy_deployment_group` resources are now detected ([#7530](https://github.com/hashicorp/terraform/issues/7530))
- * provider/aws: Changing keys in `aws_dynamodb_table` correctly force new resources ([#6829](https://github.com/hashicorp/terraform/issues/6829))
- * provider/aws: Fix a bug where CloudWatch alarms are created repeatedly if the user does not have permission to use the the DescribeAlarms operation ([#7227](https://github.com/hashicorp/terraform/issues/7227))
- * provider/aws: Fix crash in `aws_elasticache_parameter_group` occuring following edits in the console ([#6687](https://github.com/hashicorp/terraform/issues/6687))
- * provider/aws: Fix issue reattaching a VPN gateway to a VPC ([#6987](https://github.com/hashicorp/terraform/issues/6987))
- * provider/aws: Fix issue with Root Block Devices and encrypted flag in Launch Configurations ([#6512](https://github.com/hashicorp/terraform/issues/6512))
- * provider/aws: If more ENIs are attached to `aws_instance`, the one w/ DeviceIndex `0` is always used in context of `aws_instance` (previously unpredictable) ([#6761](https://github.com/hashicorp/terraform/issues/6761))
- * provider/aws: Increased lambda event mapping creation timeout ([#7657](https://github.com/hashicorp/terraform/issues/7657))
- * provider/aws: Handle spurious failures in resourceAwsSecurityGroupRuleRead ([#7377](https://github.com/hashicorp/terraform/issues/7377))
- * provider/aws: Make 'stage_name' required in api_gateway_deployment ([#6797](https://github.com/hashicorp/terraform/issues/6797))
- * provider/aws: Mark Lambda function as gone when it's gone ([#6924](https://github.com/hashicorp/terraform/issues/6924))
- * provider/aws: Trim trailing `.` from `name` in `aws_route53_record` resources to prevent spurious diffs ([#6592](https://github.com/hashicorp/terraform/issues/6592))
- * provider/aws: Update Lambda functions on name change ([#7081](https://github.com/hashicorp/terraform/issues/7081))
- * provider/aws: Updating state when `aws_sns_topic_subscription` is missing ([#6629](https://github.com/hashicorp/terraform/issues/6629))
- * provider/aws: `aws_codedeploy_deployment_group` panic when setting `on_premises_instance_tag_filter` ([#6617](https://github.com/hashicorp/terraform/issues/6617))
- * provider/aws: `aws_db_instance` now defaults `publicly_accessible` to false ([#7117](https://github.com/hashicorp/terraform/issues/7117))
- * provider/aws: `aws_opsworks_application.app_source` SSH key is write-only ([#6649](https://github.com/hashicorp/terraform/issues/6649))
- * provider/aws: fix Elastic Beanstalk `cname_prefix` continual plans ([#6653](https://github.com/hashicorp/terraform/issues/6653))
- * provider/aws: Bundle IOPs and Allocated Storage update for DB Instances ([#7203](https://github.com/hashicorp/terraform/issues/7203))
- * provider/aws: Fix case when instanceId is absent in network interfaces ([#6851](https://github.com/hashicorp/terraform/issues/6851))
- * provider/aws: fix aws_security_group_rule refresh ([#6730](https://github.com/hashicorp/terraform/issues/6730))
- * provider/aws: Fix issue with Elastic Beanstalk and invalid settings ([#7222](https://github.com/hashicorp/terraform/issues/7222))
- * provider/aws: Fix issue where aws_app_cookie_stickiness_policy fails on destroy if LoadBalancer doesn't exist ([#7166](https://github.com/hashicorp/terraform/issues/7166))
- * provider/aws: Stickiness Policy exists, but isn't assigned to the ELB ([#7188](https://github.com/hashicorp/terraform/issues/7188))
- * provider/aws: Fix issue with `manage_bundler` on `aws_opsworks_layers` ([#7219](https://github.com/hashicorp/terraform/issues/7219))
- * provider/aws: Set Elastic Beanstalk stack name back to state ([#7445](https://github.com/hashicorp/terraform/issues/7445))
- * provider/aws: Allow recreation of VPC Peering Connection when state is rejected ([#7466](https://github.com/hashicorp/terraform/issues/7466))
- * provider/aws: Remove EFS File System from State when NotFound ([#7437](https://github.com/hashicorp/terraform/issues/7437))
- * provider/aws: `aws_customer_gateway` refreshing from state on deleted state ([#7482](https://github.com/hashicorp/terraform/issues/7482))
- * provider/aws: Retry finding `aws_route` after creating it ([#7463](https://github.com/hashicorp/terraform/issues/7463))
- * provider/aws: Refresh CloudWatch Group from state on 404 ([#7576](https://github.com/hashicorp/terraform/issues/7576))
- * provider/aws: Adding in additional retry logic due to latency with delete of `db_option_group` ([#7312](https://github.com/hashicorp/terraform/issues/7312))
- * provider/aws: Safely get ELB values ([#7585](https://github.com/hashicorp/terraform/issues/7585))
- * provider/aws: Fix bug for recurring plans on ec2-classic and vpc in beanstalk ([#6491](https://github.com/hashicorp/terraform/issues/6491))
- * provider/aws: Bump rds_cluster timeout to 15 mins ([#7604](https://github.com/hashicorp/terraform/issues/7604))
- * provider/aws: Fix ICMP fields in `aws_network_acl_rule` to allow ICMP code 0 (echo reply) to be configured ([#7669](https://github.com/hashicorp/terraform/issues/7669))
- * provider/aws: Fix bug with Updating `aws_autoscaling_group` `enabled_metrics` ([#7698](https://github.com/hashicorp/terraform/issues/7698))
- * provider/aws: Ignore IOPS on non io1 AWS root_block_device ([#7783](https://github.com/hashicorp/terraform/issues/7783))
- * provider/aws: Ignore missing ENI attachment when trying to detach ENI ([#7185](https://github.com/hashicorp/terraform/issues/7185))
- * provider/aws: Fix issue updating ElasticBeanstalk Environment templates ([#7811](https://github.com/hashicorp/terraform/issues/7811))
- * provider/aws: Restore Defaults to SQS Queues ([#7818](https://github.com/hashicorp/terraform/issues/7818))
- * provider/aws: Don't delete Lambda function from state on initial call of the Read func ([#7829](https://github.com/hashicorp/terraform/issues/7829))
- * provider/aws: `aws_vpn_gateway` should be removed from state when in deleted state ([#7861](https://github.com/hashicorp/terraform/issues/7861))
- * provider/aws: Fix aws_route53_record 0-2 migration ([#7907](https://github.com/hashicorp/terraform/issues/7907))
- * provider/azurerm: Fixes terraform crash when using SSH keys with `azurerm_virtual_machine` ([#6766](https://github.com/hashicorp/terraform/issues/6766))
- * provider/azurerm: Fix a bug causing 'diffs do not match' on `azurerm_network_interface` resources ([#6790](https://github.com/hashicorp/terraform/issues/6790))
- * provider/azurerm: Normalizes `availability_set_id` casing to avoid spurious diffs in `azurerm_virtual_machine` ([#6768](https://github.com/hashicorp/terraform/issues/6768))
- * provider/azurerm: Add support for storage container name validation ([#6852](https://github.com/hashicorp/terraform/issues/6852))
- * provider/azurerm: Remove storage containers and blobs when storage accounts are not found ([#6855](https://github.com/hashicorp/terraform/issues/6855))
- * provider/azurerm: `azurerm_virtual_machine` fix `additional_unattend_rm` Windows config option ([#7105](https://github.com/hashicorp/terraform/issues/7105))
- * provider/azurerm: Fix `azurerm_virtual_machine` windows_config ([#7123](https://github.com/hashicorp/terraform/issues/7123))
- * provider/azurerm: `azurerm_dns_cname_record` can create CNAME records again ([#7113](https://github.com/hashicorp/terraform/issues/7113))
- * provider/azurerm: `azurerm_network_security_group` now waits for the provisioning state of `ready` before proceeding ([#7307](https://github.com/hashicorp/terraform/issues/7307))
- * provider/azurerm: `computer_name` is now required for `azurerm_virtual_machine` resources ([#7308](https://github.com/hashicorp/terraform/issues/7308))
- * provider/azurerm: destroy azurerm_virtual_machine OS Disk VHD on deletion ([#7584](https://github.com/hashicorp/terraform/issues/7584))
- * provider/azurerm: catch `azurerm_template_deployment` erroring silently ([#7644](https://github.com/hashicorp/terraform/issues/7644))
- * provider/azurerm: changing the name of an `azurerm_virtual_machine` now forces a new resource ([#7646](https://github.com/hashicorp/terraform/issues/7646))
- * provider/azurerm: azurerm_storage_account now returns storage keys value instead of their names ([#7674](https://github.com/hashicorp/terraform/issues/7674))
- * provider/azurerm: `azurerm_virtual_machine` computer_name now Required ([#7308](https://github.com/hashicorp/terraform/issues/7308))
- * provider/azurerm: Change of `availability_set_id` on `azurerm_virtual_machine` should ForceNew ([#7650](https://github.com/hashicorp/terraform/issues/7650))
- * provider/azurerm: Wait for `azurerm_storage_account` to be available ([#7329](https://github.com/hashicorp/terraform/issues/7329))
- * provider/cloudflare: Fix issue upgrading CloudFlare Records created before v0.6.15 ([#6969](https://github.com/hashicorp/terraform/issues/6969))
- * provider/cloudstack: Fix using `cloudstack_network_acl` within a project ([#6743](https://github.com/hashicorp/terraform/issues/6743))
- * provider/cloudstack: Fix refresing `cloudstack_network_acl_rule` when the associated ACL is deleted ([#7612](https://github.com/hashicorp/terraform/issues/7612))
- * provider/cloudstack: Fix refresing `cloudstack_port_forward` when the associated IP address is no longer associated ([#7612](https://github.com/hashicorp/terraform/issues/7612))
- * provider/cloudstack: Fix creating `cloudstack_network` with offerings that do not support specifying IP ranges ([#7612](https://github.com/hashicorp/terraform/issues/7612))
- * provider/digitalocean: Stop `digitocean_droplet` forcing new resource on uppercase region ([#7044](https://github.com/hashicorp/terraform/issues/7044))
- * provider/digitalocean: Reassign Floating IP when droplet changes ([#7411](https://github.com/hashicorp/terraform/issues/7411))
- * provider/google: Fix a bug causing an error attempting to delete an already-deleted `google_compute_disk` ([#6689](https://github.com/hashicorp/terraform/issues/6689))
- * provider/mysql: Specifying empty provider credentials no longer causes a panic ([#7211](https://github.com/hashicorp/terraform/issues/7211))
- * provider/openstack: Reassociate Floating IP on network changes ([#6579](https://github.com/hashicorp/terraform/issues/6579))
- * provider/openstack: Ensure CIDRs Are Lower Case ([#6864](https://github.com/hashicorp/terraform/issues/6864))
- * provider/openstack: Rebuild Instances On Network Changes ([#6844](https://github.com/hashicorp/terraform/issues/6844))
- * provider/openstack: Firewall rules are applied in the correct order ([#7194](https://github.com/hashicorp/terraform/issues/7194))
- * provider/openstack: Fix Security Group EOF Error when Adding / Removing Multiple Groups ([#7468](https://github.com/hashicorp/terraform/issues/7468))
- * provider/openstack: Fixing boot volumes interfering with block storage volumes list ([#7649](https://github.com/hashicorp/terraform/issues/7649))
- * provider/vsphere: `gateway` and `ipv6_gateway` are now read from `vsphere_virtual_machine` resources ([#6522](https://github.com/hashicorp/terraform/issues/6522))
- * provider/vsphere: `ipv*_gateway` parameters won't force a new `vsphere_virtual_machine` ([#6635](https://github.com/hashicorp/terraform/issues/6635))
- * provider/vsphere: adding a `vsphere_virtual_machine` migration ([#7023](https://github.com/hashicorp/terraform/issues/7023))
- * provider/vsphere: Don't require vsphere debug paths to be set ([#7027](https://github.com/hashicorp/terraform/issues/7027))
- * provider/vsphere: Fix bug where `enable_disk_uuid` was not set on `vsphere_virtual_machine` resources ([#7275](https://github.com/hashicorp/terraform/issues/7275))
- * provider/vsphere: Make `vsphere_virtual_machine` `product_key` optional ([#7410](https://github.com/hashicorp/terraform/issues/7410))
- * provider/vsphere: Refreshing devices list after adding a disk or cdrom controller ([#7167](https://github.com/hashicorp/terraform/issues/7167))
- * provider/vsphere: `vsphere_virtual_machine` no longer has to be powered on to delete ([#7206](https://github.com/hashicorp/terraform/issues/7206))
- * provider/vSphere: Fixes the hasBootableVmdk flag when attaching multiple disks ([#7804](https://github.com/hashicorp/terraform/issues/7804))
- * provisioner/remote-exec: Properly seed random script paths so they are not deterministic across runs ([#7413](https://github.com/hashicorp/terraform/issues/7413))
-
-## 0.6.16 (May 9, 2016)
-
-BACKWARDS INCOMPATIBILITIES / NOTES:
-
- * provider/aws: `aws_eip` field `private_ip` is now a computed value, and cannot be set in your configuration.
- Use `associate_with_private_ip` instead. See ([#6521](https://github.com/hashicorp/terraform/issues/6521))
-
-FEATURES:
-
- * **New provider:** `librato` ([#3371](https://github.com/hashicorp/terraform/issues/3371))
- * **New provider:** `softlayer` ([#4327](https://github.com/hashicorp/terraform/issues/4327))
- * **New resource:** `aws_api_gateway_account` ([#6321](https://github.com/hashicorp/terraform/issues/6321))
- * **New resource:** `aws_api_gateway_authorizer` ([#6320](https://github.com/hashicorp/terraform/issues/6320))
- * **New resource:** `aws_db_event_subscription` ([#6367](https://github.com/hashicorp/terraform/issues/6367))
- * **New resource:** `aws_db_option_group` ([#4401](https://github.com/hashicorp/terraform/issues/4401))
- * **New resource:** `aws_eip_association` ([#6552](https://github.com/hashicorp/terraform/issues/6552))
- * **New resource:** `openstack_networking_secgroup_rule_v2` ([#6410](https://github.com/hashicorp/terraform/issues/6410))
- * **New resource:** `openstack_networking_secgroup_v2` ([#6410](https://github.com/hashicorp/terraform/issues/6410))
- * **New resource:** `vsphere_file` ([#6401](https://github.com/hashicorp/terraform/issues/6401))
-
-IMPROVEMENTS:
-
- * core: update HCL dependency to improve whitespace handling in `terraform fmt` ([#6347](https://github.com/hashicorp/terraform/issues/6347))
- * core: Add support for marking outputs as sensitive ([#6559](https://github.com/hashicorp/terraform/issues/6559))
- * provider/aws: Add agent_version argument to `aws_opswork_stack` ([#6493](https://github.com/hashicorp/terraform/issues/6493))
- * provider/aws: Add support for request parameters to `api_gateway_method` & `api_gateway_integration` ([#6501](https://github.com/hashicorp/terraform/issues/6501))
- * provider/aws: Add support for response parameters to `api_gateway_method_response` & `api_gateway_integration_response` ([#6344](https://github.com/hashicorp/terraform/issues/6344))
- * provider/aws: Allow empty S3 config in Cloudfront Origin ([#6487](https://github.com/hashicorp/terraform/issues/6487))
- * provider/aws: Improve error handling in IAM Server Certificates ([#6442](https://github.com/hashicorp/terraform/issues/6442))
- * provider/aws: Use `sts:GetCallerIdentity` as additional method for getting AWS account ID ([#6385](https://github.com/hashicorp/terraform/issues/6385))
- * provider/aws: `aws_redshift_cluster` `automated_snapshot_retention_period` didn't allow 0 value ([#6537](https://github.com/hashicorp/terraform/issues/6537))
- * provider/aws: Add CloudFront `hosted_zone_id` attribute ([#6530](https://github.com/hashicorp/terraform/issues/6530))
- * provider/azurerm: Increase timeout for ARM Template deployments to 40 minutes ([#6319](https://github.com/hashicorp/terraform/issues/6319))
- * provider/azurerm: Make `private_ip_address` an exported field on `azurerm_network_interface` ([#6538](https://github.com/hashicorp/terraform/issues/6538))
- * provider/azurerm: Add support for `tags` to `azurerm_virtual_machine` ([#6556](https://github.com/hashicorp/terraform/issues/6556))
- * provider/azurerm: Add `os_type` and `image_uri` in `azurerm_virtual_machine` ([#6553](https://github.com/hashicorp/terraform/issues/6553))
- * provider/cloudflare: Add proxied option to `cloudflare_record` ([#5508](https://github.com/hashicorp/terraform/issues/5508))
- * provider/docker: Add ability to keep docker image locally on terraform destroy ([#6376](https://github.com/hashicorp/terraform/issues/6376))
- * provider/fastly: Add S3 Log Streaming to Fastly Service ([#6378](https://github.com/hashicorp/terraform/issues/6378))
- * provider/fastly: Add Conditions to Fastly Service ([#6481](https://github.com/hashicorp/terraform/issues/6481))
- * provider/github: Add support for Github Enterprise via base_url configuration option ([#6434](https://github.com/hashicorp/terraform/issues/6434))
- * provider/triton: Add support for specifying network interfaces on `triton machine` resources ([#6418](https://github.com/hashicorp/terraform/issues/6418))
- * provider/triton: Deleted firewall rules no longer prevent refresh ([#6529](https://github.com/hashicorp/terraform/issues/6529))
- * provider/vsphere: Add `skip_customization` option to `vsphere_virtual_machine` resources ([#6355](https://github.com/hashicorp/terraform/issues/6355))
- * provider/vsphere: Add ability to specify and mount bootable vmdk in `vsphere_virtual_machine` ([#6146](https://github.com/hashicorp/terraform/issues/6146))
- * provider/vsphere: Add support for IPV6 to `vsphere_virtual_machine` ([#6457](https://github.com/hashicorp/terraform/issues/6457))
- * provider/vsphere: Add support for `memory_reservation` to `vsphere_virtual_machine` ([#6036](https://github.com/hashicorp/terraform/issues/6036))
- * provider/vsphere: Checking for empty diskPath in `vsphere_virtual_machine` before creating ([#6400](https://github.com/hashicorp/terraform/issues/6400))
- * provider/vsphere: Support updates to vcpu and memory on `vsphere_virtual_machine` ([#6356](https://github.com/hashicorp/terraform/issues/6356))
- * remote/s3: Logic for loading credentials now follows the same [conventions as AWS provider](https://www.terraform.io/docs/providers/aws/index.html#authentication) which means it also supports EC2 role auth and session token (e.g. assumed IAM Roles) ([#5270](https://github.com/hashicorp/terraform/issues/5270))
-
-BUG FIXES:
-
- * core: Boolean values in diffs are normalized to `true` and `false`, eliminating some erroneous diffs ([#6499](https://github.com/hashicorp/terraform/issues/6499))
- * core: Fix a bug causing "attribute not found" messages during destroy ([#6557](https://github.com/hashicorp/terraform/issues/6557))
- * provider/aws: Allow account ID checks on EC2 instances & w/ federated accounts ([#5030](https://github.com/hashicorp/terraform/issues/5030))
- * provider/aws: Fix an eventually consistent issue aws_security_group_rule and possible duplications ([#6325](https://github.com/hashicorp/terraform/issues/6325))
- * provider/aws: Fix bug where `aws_elastic_beanstalk_environment` ignored `wait_for_ready_timeout` ([#6358](https://github.com/hashicorp/terraform/issues/6358))
- * provider/aws: Fix bug where `aws_elastic_beanstalk_environment` update config template didn't work ([#6342](https://github.com/hashicorp/terraform/issues/6342))
- * provider/aws: Fix issue in updating CloudFront distribution LoggingConfig ([#6407](https://github.com/hashicorp/terraform/issues/6407))
- * provider/aws: Fix issue in upgrading AutoScaling Policy to use `min_adjustment_magnitude` ([#6440](https://github.com/hashicorp/terraform/issues/6440))
- * provider/aws: Fix issue replacing Network ACL Relationship ([#6421](https://github.com/hashicorp/terraform/issues/6421))
- * provider/aws: Fix issue with KMS Alias keys and name prefixes ([#6328](https://github.com/hashicorp/terraform/issues/6328))
- * provider/aws: Fix issue with encrypted snapshots of block devices in `aws_launch_configuration` resources ([#6452](https://github.com/hashicorp/terraform/issues/6452))
- * provider/aws: Fix read of `aws_cloudwatch_log_group` after an update is applied ([#6384](https://github.com/hashicorp/terraform/issues/6384))
- * provider/aws: Fix updating `number_of_nodes` on `aws_redshift_cluster` ([#6333](https://github.com/hashicorp/terraform/issues/6333))
- * provider/aws: Omit `aws_cloudfront_distribution` custom_error fields when not explicitly set ([#6382](https://github.com/hashicorp/terraform/issues/6382))
- * provider/aws: Refresh state on `aws_sqs_queue` not found ([#6381](https://github.com/hashicorp/terraform/issues/6381))
- * provider/aws: Respect `selection_pattern` in `aws_api_gateway_integration_response` (previously ignored field) ([#5893](https://github.com/hashicorp/terraform/issues/5893))
- * provider/aws: `aws_cloudfront_distribution` resources now require the `cookies` argument ([#6505](https://github.com/hashicorp/terraform/issues/6505))
- * provider/aws: `aws_route` crash when used with `aws_vpc_endpoint` ([#6338](https://github.com/hashicorp/terraform/issues/6338))
- * provider/aws: validate `cluster_id` length for `aws_elasticache_cluster` ([#6330](https://github.com/hashicorp/terraform/issues/6330))
- * provider/azurerm: `ssh_keys` can now be set for `azurerm_virtual_machine` resources, allowing provisioning ([#6541](https://github.com/hashicorp/terraform/issues/6541))
- * provider/azurerm: Fix issue that updating `azurerm_virtual_machine` was failing due to empty adminPassword ([#6528](https://github.com/hashicorp/terraform/issues/6528))
- * provider/azurerm: `storage_data_disk` settings now work correctly on `azurerm_virtual_machine` resources ([#6543](https://github.com/hashicorp/terraform/issues/6543))
- * provider/cloudflare: can manage apex records ([#6449](https://github.com/hashicorp/terraform/issues/6449))
- * provider/cloudflare: won't refresh with incorrect record if names match ([#6449](https://github.com/hashicorp/terraform/issues/6449))
- * provider/datadog: `notify_no_data` and `no_data_timeframe` are set correctly for `datadog_monitor` resources ([#6509](https://github.com/hashicorp/terraform/issues/6509))
- * provider/docker: Fix crash when using empty string in the `command` list in `docker_container` resources ([#6424](https://github.com/hashicorp/terraform/issues/6424))
- * provider/vsphere: Memory reservations are now set correctly in `vsphere_virtual_machine` resources ([#6482](https://github.com/hashicorp/terraform/issues/6482))
-
-## 0.6.15 (April 22, 2016)
-
-BACKWARDS INCOMPATIBILITIES / NOTES:
- * `aws_instance` - if you still use `security_groups` field for SG IDs - i.e. inside VPC, this will generate diffs during `plan` and `apply` will **recreate** the resource. Terraform expects IDs (VPC SGs) inside `vpc_security_group_ids`.
-
-FEATURES:
-
- * **New command:** `terraform fmt` to automatically normalize config file style ([#4955](https://github.com/hashicorp/terraform/issues/4955))
- * **New interpolation function:** `jsonencode` ([#5890](https://github.com/hashicorp/terraform/issues/5890))
- * **New provider:** `cobbler` ([#5969](https://github.com/hashicorp/terraform/issues/5969))
- * **New provider:** `fastly` ([#5814](https://github.com/hashicorp/terraform/issues/5814))
- * **New resource:** `aws_cloudfront_distribution` ([#5221](https://github.com/hashicorp/terraform/issues/5221))
- * **New resource:** `aws_cloudfront_origin_access_identity` ([#5221](https://github.com/hashicorp/terraform/issues/5221))
- * **New resource:** `aws_iam_user_ssh_key` ([#5774](https://github.com/hashicorp/terraform/issues/5774))
- * **New resource:** `aws_s3_bucket_notification` ([#5473](https://github.com/hashicorp/terraform/issues/5473))
- * **New resource:** `cloudstack_static_nat` ([#6004](https://github.com/hashicorp/terraform/issues/6004))
- * **New resource:** `consul_key_prefix` ([#5988](https://github.com/hashicorp/terraform/issues/5988))
- * **New resource:** `aws_default_network_acl` ([#6165](https://github.com/hashicorp/terraform/issues/6165))
- * **New resource:** `triton_fabric` ([#5920](https://github.com/hashicorp/terraform/issues/5920))
- * **New resource:** `triton_vlan` ([#5920](https://github.com/hashicorp/terraform/issues/5920))
- * **New resource:** `aws_opsworks_application` ([#4419](https://github.com/hashicorp/terraform/issues/4419))
- * **New resource:** `aws_opsworks_instance` ([#4276](https://github.com/hashicorp/terraform/issues/4276))
- * **New resource:** `aws_cloudwatch_log_subscription_filter` ([#5996](https://github.com/hashicorp/terraform/issues/5996))
- * **New resource:** `openstack_networking_router_route_v2` ([#6207](https://github.com/hashicorp/terraform/issues/6207))
-
-IMPROVEMENTS:
-
- * command/apply: Output will now show periodic status updates of slow resources. ([#6163](https://github.com/hashicorp/terraform/issues/6163))
- * core: Variables passed between modules are now type checked ([#6185](https://github.com/hashicorp/terraform/issues/6185))
- * core: Smaller release binaries by stripping debug information ([#6238](https://github.com/hashicorp/terraform/issues/6238))
- * provider/aws: Add support for Step Scaling in `aws_autoscaling_policy` ([#4277](https://github.com/hashicorp/terraform/issues/4277))
- * provider/aws: Add support for `cname_prefix` to `aws_elastic_beanstalk_environment` resource ([#5966](https://github.com/hashicorp/terraform/issues/5966))
- * provider/aws: Add support for trigger_configuration to `aws_codedeploy_deployment_group` ([#5599](https://github.com/hashicorp/terraform/issues/5599))
- * provider/aws: Adding outputs for elastic_beanstalk_environment resource ([#5915](https://github.com/hashicorp/terraform/issues/5915))
- * provider/aws: Adds `wait_for_ready_timeout` option to `aws_elastic_beanstalk_environment` ([#5967](https://github.com/hashicorp/terraform/issues/5967))
- * provider/aws: Allow `aws_db_subnet_group` description to be updated ([#5921](https://github.com/hashicorp/terraform/issues/5921))
- * provider/aws: Allow multiple EIPs to associate to single ENI ([#6070](https://github.com/hashicorp/terraform/issues/6070))
- * provider/aws: Change `aws_elb` access_logs to list type ([#5065](https://github.com/hashicorp/terraform/issues/5065))
- * provider/aws: Check that InternetGateway exists before returning from creation ([#6105](https://github.com/hashicorp/terraform/issues/6105))
- * provider/aws: Don't Base64-encode EC2 userdata if it is already Base64 encoded ([#6140](https://github.com/hashicorp/terraform/issues/6140))
- * provider/aws: Making the Cloudwatch Event Rule Target `target_id` optional ([#5787](https://github.com/hashicorp/terraform/issues/5787))
- * provider/aws: Timeouts for `elasticsearch_domain` are increased ([#5910](https://github.com/hashicorp/terraform/issues/5910))
- * provider/aws: `aws_codecommit_repository` set `default_branch` only if defined ([#5904](https://github.com/hashicorp/terraform/issues/5904))
- * provider/aws: `aws_redshift_cluster` allows usernames with underscore in it ([#5935](https://github.com/hashicorp/terraform/issues/5935))
- * provider/aws: normalise json for `aws_sns_topic` ([#6089](https://github.com/hashicorp/terraform/issues/6089))
- * provider/aws: normalize json for `aws_cloudwatch_event_rule` ([#6025](https://github.com/hashicorp/terraform/issues/6025))
- * provider/aws: increase timeout for aws_redshift_cluster ([#6305](https://github.com/hashicorp/terraform/issues/6305))
- * provider/aws: Opsworks layers now support `custom_json` argument ([#4272](https://github.com/hashicorp/terraform/issues/4272))
- * provider/aws: Added migration for `tier` attribute in `aws_elastic_beanstalk_environment` ([#6167](https://github.com/hashicorp/terraform/issues/6167))
- * provider/aws: Use resource.Retry for route creation and deletion ([#6225](https://github.com/hashicorp/terraform/issues/6225))
- * provider/aws: Add support S3 Bucket Lifecycle Rule ([#6220](https://github.com/hashicorp/terraform/issues/6220))
- * provider/clc: Override default `account` alias in provider config ([#5785](https://github.com/hashicorp/terraform/issues/5785))
- * provider/cloudstack: Deprecate `ipaddress` in favour of `ip_address` in all resources ([#6010](https://github.com/hashicorp/terraform/issues/6010))
- * provider/cloudstack: Deprecate allowing names (instead of IDs) for parameters that reference other resources ([#6123](https://github.com/hashicorp/terraform/issues/6123))
- * provider/datadog: Add heredoc support to message, escalation_message, and query ([#5788](https://github.com/hashicorp/terraform/issues/5788))
- * provider/docker: Add support for docker run --user option ([#5300](https://github.com/hashicorp/terraform/issues/5300))
- * provider/github: Add support for privacy to `github_team` ([#6116](https://github.com/hashicorp/terraform/issues/6116))
- * provider/google: Accept GOOGLE_CLOUD_KEYFILE_JSON env var for credentials ([#6007](https://github.com/hashicorp/terraform/issues/6007))
- * provider/google: Add "project" argument and attribute to all GCP compute resources which inherit from the provider's value ([#6112](https://github.com/hashicorp/terraform/issues/6112))
- * provider/google: Make "project" attribute on provider configuration optional ([#6112](https://github.com/hashicorp/terraform/issues/6112))
- * provider/google: Read more common configuration values from the environment and clarify precedence ordering ([#6114](https://github.com/hashicorp/terraform/issues/6114))
- * provider/google: `addons_config` and `subnetwork` added as attributes to `google_container_cluster` ([#5871](https://github.com/hashicorp/terraform/issues/5871))
- * provider/fastly: Add support for Request Headers ([#6197](https://github.com/hashicorp/terraform/issues/6197))
- * provider/fastly: Add support for Gzip rules ([#6247](https://github.com/hashicorp/terraform/issues/6247))
- * provider/openstack: Add value_specs argument and attribute for routers ([#4898](https://github.com/hashicorp/terraform/issues/4898))
- * provider/openstack: Allow subnets with no gateway ([#6060](https://github.com/hashicorp/terraform/issues/6060))
- * provider/openstack: Enable Token Authentication ([#6081](https://github.com/hashicorp/terraform/issues/6081))
- * provider/postgresql: New `ssl_mode` argument allowing different SSL usage tradeoffs ([#6008](https://github.com/hashicorp/terraform/issues/6008))
- * provider/vsphere: Support for linked clones and Windows-specific guest config options ([#6087](https://github.com/hashicorp/terraform/issues/6087))
- * provider/vsphere: Checking for Powered Off State before `vsphere_virtual_machine` deletion ([#6283](https://github.com/hashicorp/terraform/issues/6283))
- * provider/vsphere: Support mounting ISO images to virtual cdrom drives ([#4243](https://github.com/hashicorp/terraform/issues/4243))
- * provider/vsphere: Fix missing ssh connection info ([#4283](https://github.com/hashicorp/terraform/issues/4283))
- * provider/google: Deprecate unused "region" attribute in `global_forwarding_rule`; this attribute was never used anywhere in the computation of the resource ([#6112](https://github.com/hashicorp/terraform/issues/6112))
- * provider/cloudstack: Add group attribute to `cloudstack_instance` resource ([#6023](https://github.com/hashicorp/terraform/issues/6023))
- * provider/azurerm: Provider meaningful error message when credentials not correct ([#6290](https://github.com/hashicorp/terraform/issues/6290))
- * provider/cloudstack: Improve support for using projects ([#6282](https://github.com/hashicorp/terraform/issues/6282))
-
-BUG FIXES:
-
- * core: Providers are now correctly inherited down a nested module tree ([#6186](https://github.com/hashicorp/terraform/issues/6186))
- * provider/aws: Convert protocols to standard format for Security Groups ([#5881](https://github.com/hashicorp/terraform/issues/5881))
- * provider/aws: Fix Lambda VPC integration (missing `vpc_id` field in schema) ([#6157](https://github.com/hashicorp/terraform/issues/6157))
- * provider/aws: Fix `aws_route panic` when destination CIDR block is nil ([#5781](https://github.com/hashicorp/terraform/issues/5781))
- * provider/aws: Fix issue re-creating deleted VPC peering connections ([#5959](https://github.com/hashicorp/terraform/issues/5959))
- * provider/aws: Fix issue with changing iops when also changing storage type to io1 on RDS ([#5676](https://github.com/hashicorp/terraform/issues/5676))
- * provider/aws: Fix issue with retrying deletion of Network ACLs ([#5954](https://github.com/hashicorp/terraform/issues/5954))
- * provider/aws: Fix potential crash when receiving malformed `aws_route` API responses ([#5867](https://github.com/hashicorp/terraform/issues/5867))
- * provider/aws: Guard against empty responses from Lambda Permissions ([#5838](https://github.com/hashicorp/terraform/issues/5838))
- * provider/aws: Normalize and compact SQS Redrive, Policy JSON ([#5888](https://github.com/hashicorp/terraform/issues/5888))
- * provider/aws: Fix issue updating ElasticBeanstalk Configuraiton Templates ([#6307](https://github.com/hashicorp/terraform/issues/6307))
- * provider/aws: Remove CloudTrail Trail from state if not found ([#6024](https://github.com/hashicorp/terraform/issues/6024))
- * provider/aws: Fix crash in AWS S3 Bucket when website index/error is empty ([#6269](https://github.com/hashicorp/terraform/issues/6269))
- * provider/aws: Report better error message in `aws_route53_record` when `set_identifier` is required ([#5777](https://github.com/hashicorp/terraform/issues/5777))
- * provider/aws: Show human-readable error message when failing to read an EBS volume ([#6038](https://github.com/hashicorp/terraform/issues/6038))
- * provider/aws: set ASG `health_check_grace_period` default to 300 ([#5830](https://github.com/hashicorp/terraform/issues/5830))
- * provider/aws: Fix issue with with Opsworks and empty Custom Cook Book sources ([#6078](https://github.com/hashicorp/terraform/issues/6078))
- * provider/aws: wait for IAM instance profile to propagate when creating Opsworks stacks ([#6049](https://github.com/hashicorp/terraform/issues/6049))
- * provider/aws: Don't read back `aws_opsworks_stack` cookbooks source password ([#6203](https://github.com/hashicorp/terraform/issues/6203))
- * provider/aws: Resolves DefaultOS and ConfigurationManager conflict on `aws_opsworks_stack` ([#6244](https://github.com/hashicorp/terraform/issues/6244))
- * provider/aws: Renaming `aws_elastic_beanstalk_configuration_template``option_settings` to `setting` ([#6043](https://github.com/hashicorp/terraform/issues/6043))
- * provider/aws: `aws_customer_gateway` will properly populate `bgp_asn` on refresh. [no issue]
- * provider/aws: provider/aws: Refresh state on `aws_directory_service_directory` not found ([#6294](https://github.com/hashicorp/terraform/issues/6294))
- * provider/aws: `aws_elb` `cross_zone_load_balancing` is not refreshed in the state file ([#6295](https://github.com/hashicorp/terraform/issues/6295))
- * provider/aws: `aws_autoscaling_group` will properly populate `tag` on refresh. [no issue]
- * provider/azurerm: Fix detection of `azurerm_storage_account` resources removed manually ([#5878](https://github.com/hashicorp/terraform/issues/5878))
- * provider/docker: Docker Image will be deleted on destroy ([#5801](https://github.com/hashicorp/terraform/issues/5801))
- * provider/openstack: Fix Disabling DHCP on Subnets ([#6052](https://github.com/hashicorp/terraform/issues/6052))
- * provider/openstack: Fix resizing when Flavor Name changes ([#6020](https://github.com/hashicorp/terraform/issues/6020))
- * provider/openstack: Fix Access Address Detection ([#6181](https://github.com/hashicorp/terraform/issues/6181))
- * provider/openstack: Fix admin_state_up on openstack_lb_member_v1 ([#6267](https://github.com/hashicorp/terraform/issues/6267))
- * provider/triton: Firewall status on `triton_machine` resources is reflected correctly ([#6119](https://github.com/hashicorp/terraform/issues/6119))
- * provider/triton: Fix time out when applying updates to Triton machine metadata ([#6149](https://github.com/hashicorp/terraform/issues/6149))
- * provider/vsphere: Add error handling to `vsphere_folder` ([#6095](https://github.com/hashicorp/terraform/issues/6095))
- * provider/cloudstack: Fix mashalling errors when using CloudStack 4.7.x (or newer) [GH-#226]
-
-## 0.6.14 (March 21, 2016)
-
-FEATURES:
-
- * **New provider:** `triton` - Manage Joyent Triton public cloud or on-premise installations ([#5738](https://github.com/hashicorp/terraform/issues/5738))
- * **New provider:** `clc` - Manage CenturyLink Cloud resources ([#4893](https://github.com/hashicorp/terraform/issues/4893))
- * **New provider:** `github` - Manage GitHub Organization permissions with Terraform config ([#5194](https://github.com/hashicorp/terraform/issues/5194))
- * **New provider:** `influxdb` - Manage InfluxDB databases ([#3478](https://github.com/hashicorp/terraform/issues/3478))
- * **New provider:** `ultradns` - Manage UltraDNS records ([#5716](https://github.com/hashicorp/terraform/issues/5716))
- * **New resource:** `aws_cloudwatch_log_metric_filter` ([#5444](https://github.com/hashicorp/terraform/issues/5444))
- * **New resource:** `azurerm_virtual_machine` ([#5514](https://github.com/hashicorp/terraform/issues/5514))
- * **New resource:** `azurerm_template_deployment` ([#5758](https://github.com/hashicorp/terraform/issues/5758))
- * **New interpolation function:** `uuid` ([#5575](https://github.com/hashicorp/terraform/issues/5575))
-
-IMPROVEMENTS:
-
- * core: provisioners connecting via WinRM now respect HTTPS settings ([#5761](https://github.com/hashicorp/terraform/issues/5761))
- * provider/aws: `aws_db_instance` now makes `identifier` optional and generates a unique ID when it is omitted ([#5723](https://github.com/hashicorp/terraform/issues/5723))
- * provider/aws: `aws_redshift_cluster` now allows`publicly_accessible` to be modified ([#5721](https://github.com/hashicorp/terraform/issues/5721))
- * provider/aws: `aws_kms_alias` now allows name to be auto-generated with a `name_prefix` ([#5594](https://github.com/hashicorp/terraform/issues/5594))
-
-BUG FIXES:
-
- * core: Color output is now shown correctly when running Terraform on Windows ([#5718](https://github.com/hashicorp/terraform/issues/5718))
- * core: HEREDOCs can now be indented in line with configuration using `<<-` and hanging indent is removed ([#5740](https://github.com/hashicorp/terraform/issues/5740))
- * core: Invalid HCL syntax of nested object blocks no longer causes a crash ([#5740](https://github.com/hashicorp/terraform/issues/5740))
- * core: Local directory-based modules now use junctions instead of symbolic links on Windows ([#5739](https://github.com/hashicorp/terraform/issues/5739))
- * core: Modules sourced from a Mercurial repository now work correctly on Windows ([#5739](https://github.com/hashicorp/terraform/issues/5739))
- * core: Address some issues with ignore_changes ([#5635](https://github.com/hashicorp/terraform/issues/5635))
- * core: Add a lock to fix an interpolation issue caught by the Go 1.6 concurrent map access detector ([#5772](https://github.com/hashicorp/terraform/issues/5772))
- * provider/aws: Fix crash when an `aws_rds_cluster_instance` is removed outside of Terraform ([#5717](https://github.com/hashicorp/terraform/issues/5717))
- * provider/aws: `aws_cloudformation_stack` use `timeout_in_minutes` for retry timeout to prevent unecessary timeouts ([#5712](https://github.com/hashicorp/terraform/issues/5712))
- * provider/aws: `aws_lambda_function` resources no longer error on refresh if deleted externally to Terraform ([#5668](https://github.com/hashicorp/terraform/issues/5668))
- * provider/aws: `aws_vpn_connection` resources deleted via the console on longer cause a crash ([#5747](https://github.com/hashicorp/terraform/issues/5747))
- * provider/aws: Fix crasher in Elastic Beanstalk Configuration when using options ([#5756](https://github.com/hashicorp/terraform/issues/5756))
- * provider/aws: Fix issue preventing `aws_opsworks_stck` from working with Windows set as the OS ([#5724](https://github.com/hashicorp/terraform/issues/5724))
- * provider/digitalocean: `digitalocean_ssh_key` resources no longer cause a panic if there is no network connectivity ([#5748](https://github.com/hashicorp/terraform/issues/5748))
- * provider/google: Default description `google_dns_managed_zone` resources to "Managed By Terraform" ([#5428](https://github.com/hashicorp/terraform/issues/5428))
- * provider/google: Fix error message on invalid instance URL for `google_compute_instance_group` ([#5715](https://github.com/hashicorp/terraform/issues/5715))
- * provider/vsphere: provide `host` to provisioner connections ([#5558](https://github.com/hashicorp/terraform/issues/5558))
- * provisioner/remote-exec: Address race condition introduced with script cleanup step introduced in 0.6.13 ([#5751](https://github.com/hashicorp/terraform/issues/5751))
-
-## 0.6.13 (March 16, 2016)
-
-BACKWARDS INCOMPATIBILITIES / NOTES:
-
- * provider/aws: `aws_s3_bucket_object` field `etag` is now trimming off quotes (returns raw MD5 hash) ([#5305](https://github.com/hashicorp/terraform/issues/5305))
- * provider/aws: `aws_autoscaling_group` now supports metrics collection, so a diff installing the default value of `1Minute` for the `metrics_granularity` field is expected. This diff should resolve in the next `terraform apply` w/ no AWS API calls ([#4688](https://github.com/hashicorp/terraform/issues/4688))
- * provider/consul: `consul_keys` `key` blocks now respect `delete` flag for removing individual blocks. Previously keys would be deleted only when the entire resource was removed.
- * provider/google: `next_hop_network` on `google_compute_route` is now read-only, to mirror the behavior in the official docs ([#5564](https://github.com/hashicorp/terraform/issues/5564))
- * state/remote/http: PUT requests for this backend will now have `Content-Type: application/json` instead of `application/octet-stream` ([#5499](https://github.com/hashicorp/terraform/issues/5499))
-
-FEATURES:
-
- * **New command:** `terraform untaint` ([#5527](https://github.com/hashicorp/terraform/issues/5527))
- * **New resource:** `aws_api_gateway_api_key` ([#4295](https://github.com/hashicorp/terraform/issues/4295))
- * **New resource:** `aws_api_gateway_deployment` ([#4295](https://github.com/hashicorp/terraform/issues/4295))
- * **New resource:** `aws_api_gateway_integration_response` ([#4295](https://github.com/hashicorp/terraform/issues/4295))
- * **New resource:** `aws_api_gateway_integration` ([#4295](https://github.com/hashicorp/terraform/issues/4295))
- * **New resource:** `aws_api_gateway_method_response` ([#4295](https://github.com/hashicorp/terraform/issues/4295))
- * **New resource:** `aws_api_gateway_method` ([#4295](https://github.com/hashicorp/terraform/issues/4295))
- * **New resource:** `aws_api_gateway_model` ([#4295](https://github.com/hashicorp/terraform/issues/4295))
- * **New resource:** `aws_api_gateway_resource` ([#4295](https://github.com/hashicorp/terraform/issues/4295))
- * **New resource:** `aws_api_gateway_rest_api` ([#4295](https://github.com/hashicorp/terraform/issues/4295))
- * **New resource:** `aws_elastic_beanstalk_application` ([#3157](https://github.com/hashicorp/terraform/issues/3157))
- * **New resource:** `aws_elastic_beanstalk_configuration_template` ([#3157](https://github.com/hashicorp/terraform/issues/3157))
- * **New resource:** `aws_elastic_beanstalk_environment` ([#3157](https://github.com/hashicorp/terraform/issues/3157))
- * **New resource:** `aws_iam_account_password_policy` ([#5029](https://github.com/hashicorp/terraform/issues/5029))
- * **New resource:** `aws_kms_alias` ([#3928](https://github.com/hashicorp/terraform/issues/3928))
- * **New resource:** `aws_kms_key` ([#3928](https://github.com/hashicorp/terraform/issues/3928))
- * **New resource:** `google_compute_instance_group` ([#4087](https://github.com/hashicorp/terraform/issues/4087))
-
-IMPROVEMENTS:
-
- * provider/aws: Add `repository_link` as a computed field for `aws_ecr_repository` ([#5524](https://github.com/hashicorp/terraform/issues/5524))
- * provider/aws: Add ability to update Route53 zone comments ([#5318](https://github.com/hashicorp/terraform/issues/5318))
- * provider/aws: Add support for Metrics Collection to `aws_autoscaling_group` ([#4688](https://github.com/hashicorp/terraform/issues/4688))
- * provider/aws: Add support for `description` to `aws_network_interface` ([#5523](https://github.com/hashicorp/terraform/issues/5523))
- * provider/aws: Add support for `storage_encrypted` to `aws_rds_cluster` ([#5520](https://github.com/hashicorp/terraform/issues/5520))
- * provider/aws: Add support for routing rules on `aws_s3_bucket` resources ([#5327](https://github.com/hashicorp/terraform/issues/5327))
- * provider/aws: Enable updates & versioning for `aws_s3_bucket_object` ([#5305](https://github.com/hashicorp/terraform/issues/5305))
- * provider/aws: Guard against Nil Reference in Redshift Endpoints ([#5593](https://github.com/hashicorp/terraform/issues/5593))
- * provider/aws: Lambda S3 object version defaults to `$LATEST` if unspecified ([#5370](https://github.com/hashicorp/terraform/issues/5370))
- * provider/aws: Retry DB Creation on IAM propigation error ([#5515](https://github.com/hashicorp/terraform/issues/5515))
- * provider/aws: Support KMS encryption of S3 objects ([#5453](https://github.com/hashicorp/terraform/issues/5453))
- * provider/aws: `aws_autoscaling_lifecycle_hook` now have `notification_target_arn` and `role_arn` as optional ([#5616](https://github.com/hashicorp/terraform/issues/5616))
- * provider/aws: `aws_ecs_service` validates number of `load_balancer`s before creation/updates ([#5605](https://github.com/hashicorp/terraform/issues/5605))
- * provider/aws: send Terraform version in User-Agent ([#5621](https://github.com/hashicorp/terraform/issues/5621))
- * provider/cloudflare: Change `cloudflare_record` type to ForceNew ([#5353](https://github.com/hashicorp/terraform/issues/5353))
- * provider/consul: `consul_keys` now detects drift and supports deletion of individual `key` blocks ([#5210](https://github.com/hashicorp/terraform/issues/5210))
- * provider/digitalocean: Guard against Nil reference in `digitalocean_droplet` ([#5588](https://github.com/hashicorp/terraform/issues/5588))
- * provider/docker: Add support for `unless-stopped` to docker container `restart_policy` ([#5337](https://github.com/hashicorp/terraform/issues/5337))
- * provider/google: Mark `next_hop_network` as read-only on `google_compute_route` ([#5564](https://github.com/hashicorp/terraform/issues/5564))
- * provider/google: Validate VPN tunnel peer_ip at plan time ([#5501](https://github.com/hashicorp/terraform/issues/5501))
- * provider/openstack: Add Support for Domain ID and Domain Name environment variables ([#5355](https://github.com/hashicorp/terraform/issues/5355))
- * provider/openstack: Add support for instances to have multiple ephemeral disks. ([#5131](https://github.com/hashicorp/terraform/issues/5131))
- * provider/openstack: Re-Add server.AccessIPv4 and server.AccessIPv6 ([#5366](https://github.com/hashicorp/terraform/issues/5366))
- * provider/vsphere: Add support for disk init types ([#4284](https://github.com/hashicorp/terraform/issues/4284))
- * provisioner/remote-exec: Clear out scripts after uploading ([#5577](https://github.com/hashicorp/terraform/issues/5577))
- * state/remote/http: Change content type of PUT requests to the more appropriate `application/json` ([#5499](https://github.com/hashicorp/terraform/issues/5499))
-
-BUG FIXES:
-
- * core: Disallow negative indices in the element() interpolation function, preventing crash ([#5263](https://github.com/hashicorp/terraform/issues/5263))
- * core: Fix issue that caused tainted resource destroys to be improperly filtered out when using -target and a plan file ([#5516](https://github.com/hashicorp/terraform/issues/5516))
- * core: Fix several issues with retry logic causing spurious "timeout while waiting for state to become ..." errors and unnecessary retry loops ([#5460](https://github.com/hashicorp/terraform/issues/5460)), ([#5538](https://github.com/hashicorp/terraform/issues/5538)), ([#5543](https://github.com/hashicorp/terraform/issues/5543)), ([#5553](https://github.com/hashicorp/terraform/issues/5553))
- * core: Includes upstream HCL fix to properly detect unbalanced braces and throw an error ([#5400](https://github.com/hashicorp/terraform/issues/5400))
- * provider/aws: Allow recovering from failed CloudWatch Event Target creation ([#5395](https://github.com/hashicorp/terraform/issues/5395))
- * provider/aws: Fix EC2 Classic SG Rule issue when referencing rules by name ([#5533](https://github.com/hashicorp/terraform/issues/5533))
- * provider/aws: Fix `aws_cloudformation_stack` update for `parameters` & `capabilities` if unmodified ([#5603](https://github.com/hashicorp/terraform/issues/5603))
- * provider/aws: Fix a bug where AWS Kinesis Stream includes closed shards in the shard_count ([#5401](https://github.com/hashicorp/terraform/issues/5401))
- * provider/aws: Fix a bug where ElasticSearch Domain tags were not being set correctly ([#5361](https://github.com/hashicorp/terraform/issues/5361))
- * provider/aws: Fix a bug where `aws_route` would show continual changes in the plan when not computed ([#5321](https://github.com/hashicorp/terraform/issues/5321))
- * provider/aws: Fix a bug where `publicly_assessible` wasn't being set to state in `aws_db_instance` ([#5535](https://github.com/hashicorp/terraform/issues/5535))
- * provider/aws: Fix a bug where listener protocol on `aws_elb` resources was case insensitive ([#5376](https://github.com/hashicorp/terraform/issues/5376))
- * provider/aws: Fix a bug which caused panics creating rules on security groups in EC2 Classic ([#5329](https://github.com/hashicorp/terraform/issues/5329))
- * provider/aws: Fix crash when `aws_lambda_function` VpcId is nil ([#5182](https://github.com/hashicorp/terraform/issues/5182))
- * provider/aws: Fix error with parsing JSON in `aws_s3_bucket` policy attribute ([#5474](https://github.com/hashicorp/terraform/issues/5474))
- * provider/aws: `aws_lambda_function` can be properly updated, either via `s3_object_version` or via `filename` & `source_code_hash` as described in docs ([#5239](https://github.com/hashicorp/terraform/issues/5239))
- * provider/google: Fix managed instance group preemptible instance creation ([#4834](https://github.com/hashicorp/terraform/issues/4834))
- * provider/openstack: Account for a 403 reply when os-tenant-networks is disabled ([#5432](https://github.com/hashicorp/terraform/issues/5432))
- * provider/openstack: Fix crashing during certain network updates in instances ([#5365](https://github.com/hashicorp/terraform/issues/5365))
- * provider/openstack: Fix create/delete statuses in load balancing resources ([#5557](https://github.com/hashicorp/terraform/issues/5557))
- * provider/openstack: Fix race condition between instance deletion and volume detachment ([#5359](https://github.com/hashicorp/terraform/issues/5359))
- * provider/template: Warn when `template` attribute specified as path ([#5563](https://github.com/hashicorp/terraform/issues/5563))
-
-INTERNAL IMPROVEMENTS:
-
- * helper/schema: `MaxItems` attribute on schema lists and sets ([#5218](https://github.com/hashicorp/terraform/issues/5218))
-
-## 0.6.12 (February 24, 2016)
-
-BACKWARDS INCOMPATIBILITIES / NOTES:
-
- * The `publicly_accessible` attribute on `aws_redshift_cluster` resources now defaults to true
-
-FEATURES:
-
- * **New command:** `validate` to perform syntax validation ([#3783](https://github.com/hashicorp/terraform/issues/3783))
- * **New provider:** `datadog` ([#5251](https://github.com/hashicorp/terraform/issues/5251))
- * **New interpolation function:** `md5` ([#5267](https://github.com/hashicorp/terraform/issues/5267))
- * **New interpolation function:** `signum` ([#4854](https://github.com/hashicorp/terraform/issues/4854))
- * **New resource:** `aws_cloudwatch_event_rule` ([#4986](https://github.com/hashicorp/terraform/issues/4986))
- * **New resource:** `aws_cloudwatch_event_target` ([#4986](https://github.com/hashicorp/terraform/issues/4986))
- * **New resource:** `aws_lambda_permission` ([#4826](https://github.com/hashicorp/terraform/issues/4826))
- * **New resource:** `azurerm_dns_a_record` ([#5013](https://github.com/hashicorp/terraform/issues/5013))
- * **New resource:** `azurerm_dns_aaaa_record` ([#5013](https://github.com/hashicorp/terraform/issues/5013))
- * **New resource:** `azurerm_dns_cname_record` ([#5013](https://github.com/hashicorp/terraform/issues/5013))
- * **New resource:** `azurerm_dns_mx_record` ([#5041](https://github.com/hashicorp/terraform/issues/5041))
- * **New resource:** `azurerm_dns_ns_record` ([#5041](https://github.com/hashicorp/terraform/issues/5041))
- * **New resource:** `azurerm_dns_srv_record` ([#5041](https://github.com/hashicorp/terraform/issues/5041))
- * **New resource:** `azurerm_dns_txt_record` ([#5041](https://github.com/hashicorp/terraform/issues/5041))
- * **New resource:** `azurerm_dns_zone` ([#4979](https://github.com/hashicorp/terraform/issues/4979))
- * **New resource:** `azurerm_search_service` ([#5203](https://github.com/hashicorp/terraform/issues/5203))
- * **New resource:** `azurerm_sql_database` ([#5003](https://github.com/hashicorp/terraform/issues/5003))
- * **New resource:** `azurerm_sql_firewall_rule` ([#5057](https://github.com/hashicorp/terraform/issues/5057))
- * **New resource:** `azurerm_sql_server` ([#4991](https://github.com/hashicorp/terraform/issues/4991))
- * **New resource:** `google_compute_subnetwork` ([#5130](https://github.com/hashicorp/terraform/issues/5130))
-
-IMPROVEMENTS:
-
- * core: Backend names are now down cased during `init` in the same manner as `remote config` ([#5012](https://github.com/hashicorp/terraform/issues/5012))
- * core: Upgrade resource name validation warning to an error as planned ([#5272](https://github.com/hashicorp/terraform/issues/5272))
- * core: output "diffs didn't match" error details ([#5276](https://github.com/hashicorp/terraform/issues/5276))
- * provider/aws: Add `is_multi_region_trail` option to CloudTrail ([#4939](https://github.com/hashicorp/terraform/issues/4939))
- * provider/aws: Add support for HTTP(S) endpoints that auto confirm SNS subscription ([#4711](https://github.com/hashicorp/terraform/issues/4711))
- * provider/aws: Add support for Tags to CloudTrail ([#5135](https://github.com/hashicorp/terraform/issues/5135))
- * provider/aws: Add support for Tags to ElasticSearch ([#4973](https://github.com/hashicorp/terraform/issues/4973))
- * provider/aws: Add support for deployment configuration to `aws_ecs_service` ([#5220](https://github.com/hashicorp/terraform/issues/5220))
- * provider/aws: Add support for log validation + KMS encryption to `aws_cloudtrail` ([#5051](https://github.com/hashicorp/terraform/issues/5051))
- * provider/aws: Allow name-prefix and auto-generated names for IAM Server Cert ([#5178](https://github.com/hashicorp/terraform/issues/5178))
- * provider/aws: Expose additional VPN Connection attributes ([#5032](https://github.com/hashicorp/terraform/issues/5032))
- * provider/aws: Return an error if no matching route is found for an AWS Route ([#5155](https://github.com/hashicorp/terraform/issues/5155))
- * provider/aws: Support custom endpoints for AWS EC2 ELB and IAM ([#5114](https://github.com/hashicorp/terraform/issues/5114))
- * provider/aws: The `cluster_type` on `aws_redshift_cluster` resources is now computed ([#5238](https://github.com/hashicorp/terraform/issues/5238))
- * provider/aws: `aws_lambda_function` resources now support VPC configuration ([#5149](https://github.com/hashicorp/terraform/issues/5149))
- * provider/aws: Add support for Enhanced Monitoring to RDS Instances ([#4945](https://github.com/hashicorp/terraform/issues/4945))
- * provider/aws: Improve vpc cidr_block err message ([#5255](https://github.com/hashicorp/terraform/issues/5255))
- * provider/aws: Implement Retention Period for `aws_kinesis_stream` ([#5223](https://github.com/hashicorp/terraform/issues/5223))
- * provider/aws: Enable `stream_arm` output for DynamoDB Table when streams are enabled ([#5271](https://github.com/hashicorp/terraform/issues/5271))
- * provider/digitalocean: `digitalocean_record` resources now export a computed `fqdn` attribute ([#5071](https://github.com/hashicorp/terraform/issues/5071))
- * provider/google: Add assigned IP Address to CloudSQL Instance `google_sql_database_instance` ([#5245](https://github.com/hashicorp/terraform/issues/5245))
- * provider/openstack: Add support for Distributed Routers ([#4878](https://github.com/hashicorp/terraform/issues/4878))
- * provider/openstack: Add support for optional cacert_file parameter ([#5106](https://github.com/hashicorp/terraform/issues/5106))
-
-BUG FIXES:
-
- * core: Fix bug detecting deeply nested module orphans ([#5022](https://github.com/hashicorp/terraform/issues/5022))
- * core: Fix bug where `ignore_changes` could produce "diffs didn't match during apply" errors ([#4965](https://github.com/hashicorp/terraform/issues/4965))
- * core: Fix race condition when handling tainted resource destroys ([#5026](https://github.com/hashicorp/terraform/issues/5026))
- * core: Improve handling of Provisioners in the graph, fixing "Provisioner already initialized" errors ([#4877](https://github.com/hashicorp/terraform/issues/4877))
- * core: Skip `create_before_destroy` processing during a `terraform destroy`, solving several issues preventing `destroy`
- from working properly with CBD resources ([#5096](https://github.com/hashicorp/terraform/issues/5096))
- * core: Error instead of panic on self var in wrong scope ([#5273](https://github.com/hashicorp/terraform/issues/5273))
- * provider/aws: Fix Copy of Tags to DB Instance when created from Snapshot ([#5197](https://github.com/hashicorp/terraform/issues/5197))
- * provider/aws: Fix DynamoDB Table Refresh to ensure deleted tables are removed from state ([#4943](https://github.com/hashicorp/terraform/issues/4943))
- * provider/aws: Fix ElasticSearch `domain_name` validation ([#4973](https://github.com/hashicorp/terraform/issues/4973))
- * provider/aws: Fix issue applying security group changes in EC2 Classic RDS for aws_db_instance ([#4969](https://github.com/hashicorp/terraform/issues/4969))
- * provider/aws: Fix reading auto scaling group availability zones ([#5044](https://github.com/hashicorp/terraform/issues/5044))
- * provider/aws: Fix reading auto scaling group load balancers ([#5045](https://github.com/hashicorp/terraform/issues/5045))
- * provider/aws: Fix `aws_redshift_cluster` to allow `publicly_accessible` to be false ([#5262](https://github.com/hashicorp/terraform/issues/5262))
- * provider/aws: Wait longer for internet gateways to detach ([#5120](https://github.com/hashicorp/terraform/issues/5120))
- * provider/aws: Fix issue reading auto scaling group termination policies ([#5101](https://github.com/hashicorp/terraform/issues/5101))
- * provider/cloudflare: `ttl` no longer shows a change on each plan on `cloudflare_record` resources ([#5042](https://github.com/hashicorp/terraform/issues/5042))
- * provider/docker: Fix the default docker_host value ([#5088](https://github.com/hashicorp/terraform/issues/5088))
- * provider/google: Fix backend service max_utilization attribute ([#5075](https://github.com/hashicorp/terraform/issues/5075))
- * provider/google: Fix reading of `google_compute_vpn_gateway` without an explicit ([#5125](https://github.com/hashicorp/terraform/issues/5125))
- * provider/google: Fix crash when setting `ack_deadline_seconds` on `google_pubsub_subscription` ([#5110](https://github.com/hashicorp/terraform/issues/5110))
- * provider/openstack: Fix crash when `access_network` was not defined in instances ([#4966](https://github.com/hashicorp/terraform/issues/4966))
- * provider/powerdns: Fix refresh of `powerdns_record` no longer fails if the record name contains a `-` ([#5228](https://github.com/hashicorp/terraform/issues/5228))
- * provider/vcd: Wait for DHCP assignment when creating `vcd_vapp` resources with no static IP assignment ([#5195](https://github.com/hashicorp/terraform/issues/5195))
-
-## 0.6.11 (February 1, 2016)
-
-BACKWARDS INCOMPATIBILITIES / NOTES:
-
- * The `max_size`, `min_size` and `desired_capacity` attributes on `aws_autoscaling_schedule` resources now default to 0
-
-FEATURES:
-
- * **New provider: `powerdns` - PowerDNS REST API** ([#4885](https://github.com/hashicorp/terraform/issues/4885))
- * **New builtin function:** `trimspace` for trimming whitespaces ([#4910](https://github.com/hashicorp/terraform/issues/4910))
- * **New builtin function:** `base64sha256` for base64 encoding raw sha256 sum of a given string ([#4899](https://github.com/hashicorp/terraform/issues/4899))
- * **New resource:** `openstack_lb_member_v1` ([#4359](https://github.com/hashicorp/terraform/issues/4359))
-
-IMPROVEMENTS:
-
- * provider/template: Remove unnecessary mime-type validation from `template_cloudinit_config` resources ([#4873](https://github.com/hashicorp/terraform/issues/4873))
- * provider/template: Correct spelling of "Boundary" in the part separator of rendered `template_cloudinit_config` resources ([#4873](https://github.com/hashicorp/terraform/issues/4873))
- * provider/aws: Provide a better message if no AWS creds are found ([#4869](https://github.com/hashicorp/terraform/issues/4869))
- * provider/openstack: Ability to specify per-network Floating IPs ([#4812](https://github.com/hashicorp/terraform/issues/4812))
-
-BUG FIXES:
-
- * provider/aws: `aws_autoscale_schedule` 0 values ([#4693](https://github.com/hashicorp/terraform/issues/4693))
- * provider/aws: Fix regression with VPCs and ClassicLink for regions that do not support it ([#4879](https://github.com/hashicorp/terraform/issues/4879))
- * provider/aws: Change VPC ClassicLink to be computed ([#4933](https://github.com/hashicorp/terraform/issues/4933))
- * provider/aws: Fix SNS Topic Refresh to ensure deleted topics are removed from state ([#4891](https://github.com/hashicorp/terraform/issues/4891))
- * provider/aws: Refactor Route53 record to fix regression in deleting records created in previous versions of Terraform ([#4892](https://github.com/hashicorp/terraform/issues/4892))
- * provider/azurerm: Fix panic if no creds supplied ([#4902](https://github.com/hashicorp/terraform/issues/4902))
- * provider/openstack: Changing the port resource to mark the ip_address as optional ([#4850](https://github.com/hashicorp/terraform/issues/4850))
- * provider/docker: Catch potential custom network errors in docker ([#4918](https://github.com/hashicorp/terraform/issues/4918))
-
-
-
-## 0.6.10 (January 27, 2016)
-
-BACKWARDS INCOMPATIBILITIES / NOTES:
-
- * The `-module-depth` flag available on `plan`, `apply`, `show`, and `graph` now defaults to `-1`, causing
- resources within modules to be expanded in command output. This is only a cosmetic change; it does not affect
- any behavior.
- * This release includes a bugfix for `$${}` interpolation escaping. These strings are now properly converted to `${}`
- during interpolation. This may cause diffs on existing configurations in certain cases.
- * Users of `consul_keys` should note that the `value` sub-attribute of `key` will no longer be updated with the remote value of the key. It should be only used to _set_ a key in Consul K/V. To reference key values, use the `var` attribute.
- * The 0.6.9 release contained a regression in `aws_autoscaling_group` capacity waiting behavior for configs where `min_elb_capacity != desired_capacity` or `min_size != desired_capacity`. This release remedies that regression by un-deprecating `min_elb_capacity` and restoring the prior behavior.
- * Users of `aws_security_group` may notice new diffs in initial plans with 0.6.10 due to a bugfix that fixes drift detection on nested security group rules. These new diffs should reflect the actual state of the resources, which Terraform previously was unable to see.
-
-
-FEATURES:
-
- * **New resource: `aws_lambda_alias`** ([#4664](https://github.com/hashicorp/terraform/issues/4664))
- * **New resource: `aws_redshift_cluster`** ([#3862](https://github.com/hashicorp/terraform/issues/3862))
- * **New resource: `aws_redshift_parameter_group`** ([#3862](https://github.com/hashicorp/terraform/issues/3862))
- * **New resource: `aws_redshift_security_group`** ([#3862](https://github.com/hashicorp/terraform/issues/3862))
- * **New resource: `aws_redshift_subnet_group`** ([#3862](https://github.com/hashicorp/terraform/issues/3862))
- * **New resource: `azurerm_cdn_endpoint`** ([#4759](https://github.com/hashicorp/terraform/issues/4759))
- * **New resource: `azurerm_cdn_profile`** ([#4740](https://github.com/hashicorp/terraform/issues/4740))
- * **New resource: `azurerm_network_interface`** ([#4598](https://github.com/hashicorp/terraform/issues/4598))
- * **New resource: `azurerm_network_security_rule`** ([#4586](https://github.com/hashicorp/terraform/issues/4586))
- * **New resource: `azurerm_route_table`** ([#4602](https://github.com/hashicorp/terraform/issues/4602))
- * **New resource: `azurerm_route`** ([#4604](https://github.com/hashicorp/terraform/issues/4604))
- * **New resource: `azurerm_storage_account`** ([#4698](https://github.com/hashicorp/terraform/issues/4698))
- * **New resource: `azurerm_storage_blob`** ([#4862](https://github.com/hashicorp/terraform/issues/4862))
- * **New resource: `azurerm_storage_container`** ([#4862](https://github.com/hashicorp/terraform/issues/4862))
- * **New resource: `azurerm_storage_queue`** ([#4862](https://github.com/hashicorp/terraform/issues/4862))
- * **New resource: `azurerm_subnet`** ([#4595](https://github.com/hashicorp/terraform/issues/4595))
- * **New resource: `docker_network`** ([#4483](https://github.com/hashicorp/terraform/issues/4483))
- * **New resource: `docker_volume`** ([#4483](https://github.com/hashicorp/terraform/issues/4483))
- * **New resource: `google_sql_user`** ([#4669](https://github.com/hashicorp/terraform/issues/4669))
-
-IMPROVEMENTS:
-
- * core: Add `sha256()` interpolation function ([#4704](https://github.com/hashicorp/terraform/issues/4704))
- * core: Validate lifecycle keys to show helpful error messages whe they are mistypes ([#4745](https://github.com/hashicorp/terraform/issues/4745))
- * core: Default `module-depth` parameter to `-1`, which expands resources within modules in command output ([#4763](https://github.com/hashicorp/terraform/issues/4763))
- * core: Variable types may now be specified explicitly using the `type` argument ([#4795](https://github.com/hashicorp/terraform/issues/4795))
- * provider/aws: Add new parameters `az_mode` and `availability_zone(s)` in ElastiCache ([#4631](https://github.com/hashicorp/terraform/issues/4631))
- * provider/aws: Allow ap-northeast-2 (Seoul) as valid region ([#4637](https://github.com/hashicorp/terraform/issues/4637))
- * provider/aws: Limit SNS Topic Subscription protocols ([#4639](https://github.com/hashicorp/terraform/issues/4639))
- * provider/aws: Add support for configuring logging on `aws_s3_bucket` resources ([#4482](https://github.com/hashicorp/terraform/issues/4482))
- * provider/aws: Add AWS Classiclink for AWS VPC resource ([#3994](https://github.com/hashicorp/terraform/issues/3994))
- * provider/aws: Supporting New AWS Route53 HealthCheck additions ([#4564](https://github.com/hashicorp/terraform/issues/4564))
- * provider/aws: Store instance state ([#3261](https://github.com/hashicorp/terraform/issues/3261))
- * provider/aws: Add support for updating ELB availability zones and subnets ([#4597](https://github.com/hashicorp/terraform/issues/4597))
- * provider/aws: Enable specifying aws s3 redirect protocol ([#4098](https://github.com/hashicorp/terraform/issues/4098))
- * provider/aws: Added support for `encrypted` on `ebs_block_devices` in Launch Configurations ([#4481](https://github.com/hashicorp/terraform/issues/4481))
- * provider/aws: Retry Listener Creation for ELBs ([#4825](https://github.com/hashicorp/terraform/issues/4825))
- * provider/aws: Add support for creating Managed Microsoft Active Directory
- and Directory Connectors ([#4388](https://github.com/hashicorp/terraform/issues/4388))
- * provider/aws: Mark some `aws_db_instance` fields as optional ([#3138](https://github.com/hashicorp/terraform/issues/3138))
- * provider/digitalocean: Add support for reassigning `digitalocean_floating_ip` resources ([#4476](https://github.com/hashicorp/terraform/issues/4476))
- * provider/dme: Add support for Global Traffic Director locations on `dme_record` resources ([#4305](https://github.com/hashicorp/terraform/issues/4305))
- * provider/docker: Add support for adding host entries on `docker_container` resources ([#3463](https://github.com/hashicorp/terraform/issues/3463))
- * provider/docker: Add support for mounting named volumes on `docker_container` resources ([#4480](https://github.com/hashicorp/terraform/issues/4480))
- * provider/google: Add content field to bucket object ([#3893](https://github.com/hashicorp/terraform/issues/3893))
- * provider/google: Add support for `named_port` blocks on `google_compute_instance_group_manager` resources ([#4605](https://github.com/hashicorp/terraform/issues/4605))
- * provider/openstack: Add "personality" support to instance resource ([#4623](https://github.com/hashicorp/terraform/issues/4623))
- * provider/packet: Handle external state changes for Packet resources gracefully ([#4676](https://github.com/hashicorp/terraform/issues/4676))
- * provider/tls: `tls_private_key` now exports attributes with public key in both PEM and OpenSSH format ([#4606](https://github.com/hashicorp/terraform/issues/4606))
- * provider/vdc: Add `allow_unverified_ssl` for connections to vCloud API ([#4811](https://github.com/hashicorp/terraform/issues/4811))
- * state/remote: Allow KMS Key Encryption to be used with S3 backend ([#2903](https://github.com/hashicorp/terraform/issues/2903))
-
-BUG FIXES:
-
- * core: Fix handling of literals with escaped interpolations `$${var}` ([#4747](https://github.com/hashicorp/terraform/issues/4747))
- * core: Fix diff mismatch when RequiresNew field and list both change ([#4749](https://github.com/hashicorp/terraform/issues/4749))
- * core: Respect module target path argument on `terraform init` ([#4753](https://github.com/hashicorp/terraform/issues/4753))
- * core: Write planfile even on empty plans ([#4766](https://github.com/hashicorp/terraform/issues/4766))
- * core: Add validation error when output is missing value field ([#4762](https://github.com/hashicorp/terraform/issues/4762))
- * core: Fix improper handling of orphan resources when targeting ([#4574](https://github.com/hashicorp/terraform/issues/4574))
- * core: Properly handle references to computed set attributes ([#4840](https://github.com/hashicorp/terraform/issues/4840))
- * config: Detect a specific JSON edge case and show a helpful workaround ([#4746](https://github.com/hashicorp/terraform/issues/4746))
- * provider/openstack: Ensure valid Security Group Rule attribute combination ([#4466](https://github.com/hashicorp/terraform/issues/4466))
- * provider/openstack: Don't put fixed_ip in port creation request if not defined ([#4617](https://github.com/hashicorp/terraform/issues/4617))
- * provider/google: Clarify SQL Database Instance recent name restriction ([#4577](https://github.com/hashicorp/terraform/issues/4577))
- * provider/google: Split Instance network interface into two fields ([#4265](https://github.com/hashicorp/terraform/issues/4265))
- * provider/aws: Error with empty list item on security group ([#4140](https://github.com/hashicorp/terraform/issues/4140))
- * provider/aws: Fix issue with detecting drift in AWS Security Groups rules ([#4779](https://github.com/hashicorp/terraform/issues/4779))
- * provider/aws: Trap Instance error from mismatched SG IDs and Names ([#4240](https://github.com/hashicorp/terraform/issues/4240))
- * provider/aws: EBS optimised to force new resource in AWS Instance ([#4627](https://github.com/hashicorp/terraform/issues/4627))
- * provider/aws: Wait for NACL rule to be visible ([#4734](https://github.com/hashicorp/terraform/issues/4734))
- * provider/aws: `default_result` on `aws_autoscaling_lifecycle_hook` resources is now computed ([#4695](https://github.com/hashicorp/terraform/issues/4695))
- * provider/aws: fix ASG capacity waiting regression by un-deprecating `min_elb_capacity` ([#4864](https://github.com/hashicorp/terraform/issues/4864))
- * provider/consul: fix several bugs surrounding update behavior ([#4787](https://github.com/hashicorp/terraform/issues/4787))
- * provider/mailgun: Handle the fact that the domain destroy API is eventually consistent ([#4777](https://github.com/hashicorp/terraform/issues/4777))
- * provider/template: Fix race causing sporadic crashes in template_file with count > 1 ([#4694](https://github.com/hashicorp/terraform/issues/4694))
- * provider/template: Add support for updating `template_cloudinit_config` resources ([#4757](https://github.com/hashicorp/terraform/issues/4757))
- * provisioner/chef: Add ENV['no_proxy'] to chef provisioner if no_proxy is detected ([#4661](https://github.com/hashicorp/terraform/issues/4661))
-
-## 0.6.9 (January 8, 2016)
-
-FEATURES:
-
- * **New provider: `vcd` - VMware vCloud Director** ([#3785](https://github.com/hashicorp/terraform/issues/3785))
- * **New provider: `postgresql` - Create PostgreSQL databases and roles** ([#3653](https://github.com/hashicorp/terraform/issues/3653))
- * **New provider: `chef` - Create chef environments, roles, etc** ([#3084](https://github.com/hashicorp/terraform/issues/3084))
- * **New provider: `azurerm` - Preliminary support for Azure Resource Manager** ([#4226](https://github.com/hashicorp/terraform/issues/4226))
- * **New provider: `mysql` - Create MySQL databases** ([#3122](https://github.com/hashicorp/terraform/issues/3122))
- * **New resource: `aws_autoscaling_schedule`** ([#4256](https://github.com/hashicorp/terraform/issues/4256))
- * **New resource: `aws_nat_gateway`** ([#4381](https://github.com/hashicorp/terraform/issues/4381))
- * **New resource: `aws_network_acl_rule`** ([#4286](https://github.com/hashicorp/terraform/issues/4286))
- * **New resources: `aws_ecr_repository` and `aws_ecr_repository_policy`** ([#4415](https://github.com/hashicorp/terraform/issues/4415))
- * **New resource: `google_pubsub_topic`** ([#3671](https://github.com/hashicorp/terraform/issues/3671))
- * **New resource: `google_pubsub_subscription`** ([#3671](https://github.com/hashicorp/terraform/issues/3671))
- * **New resource: `template_cloudinit_config`** ([#4095](https://github.com/hashicorp/terraform/issues/4095))
- * **New resource: `tls_locally_signed_cert`** ([#3930](https://github.com/hashicorp/terraform/issues/3930))
- * **New remote state backend: `artifactory`** ([#3684](https://github.com/hashicorp/terraform/issues/3684))
-
-IMPROVEMENTS:
-
- * core: Change set internals for performance improvements ([#3992](https://github.com/hashicorp/terraform/issues/3992))
- * core: Support HTTP basic auth in consul remote state ([#4166](https://github.com/hashicorp/terraform/issues/4166))
- * core: Improve error message on resource arity mismatch ([#4244](https://github.com/hashicorp/terraform/issues/4244))
- * core: Add support for unary operators + and - to the interpolation syntax ([#3621](https://github.com/hashicorp/terraform/issues/3621))
- * core: Add SSH agent support for Windows ([#4323](https://github.com/hashicorp/terraform/issues/4323))
- * core: Add `sha1()` interpolation function ([#4450](https://github.com/hashicorp/terraform/issues/4450))
- * provider/aws: Add `placement_group` as an option for `aws_autoscaling_group` ([#3704](https://github.com/hashicorp/terraform/issues/3704))
- * provider/aws: Add support for DynamoDB Table StreamSpecifications ([#4208](https://github.com/hashicorp/terraform/issues/4208))
- * provider/aws: Add `name_prefix` to Security Groups ([#4167](https://github.com/hashicorp/terraform/issues/4167))
- * provider/aws: Add support for removing nodes to `aws_elasticache_cluster` ([#3809](https://github.com/hashicorp/terraform/issues/3809))
- * provider/aws: Add support for `skip_final_snapshot` to `aws_db_instance` ([#3853](https://github.com/hashicorp/terraform/issues/3853))
- * provider/aws: Adding support for Tags to DB SecurityGroup ([#4260](https://github.com/hashicorp/terraform/issues/4260))
- * provider/aws: Adding Tag support for DB Param Groups ([#4259](https://github.com/hashicorp/terraform/issues/4259))
- * provider/aws: Fix issue with updated route ids for VPC Endpoints ([#4264](https://github.com/hashicorp/terraform/issues/4264))
- * provider/aws: Added measure_latency option to Route 53 Health Check resource ([#3688](https://github.com/hashicorp/terraform/issues/3688))
- * provider/aws: Validate IOPs for EBS Volumes ([#4146](https://github.com/hashicorp/terraform/issues/4146))
- * provider/aws: DB Subnet group arn output ([#4261](https://github.com/hashicorp/terraform/issues/4261))
- * provider/aws: Get full Kinesis streams view with pagination ([#4368](https://github.com/hashicorp/terraform/issues/4368))
- * provider/aws: Allow changing private IPs for ENIs ([#4307](https://github.com/hashicorp/terraform/issues/4307))
- * provider/aws: Retry MalformedPolicy errors due to newly created principals in S3 Buckets ([#4315](https://github.com/hashicorp/terraform/issues/4315))
- * provider/aws: Validate `name` on `db_subnet_group` against AWS requirements ([#4340](https://github.com/hashicorp/terraform/issues/4340))
- * provider/aws: wait for ASG capacity on update ([#3947](https://github.com/hashicorp/terraform/issues/3947))
- * provider/aws: Add validation for ECR repository name ([#4431](https://github.com/hashicorp/terraform/issues/4431))
- * provider/cloudstack: performance improvements ([#4150](https://github.com/hashicorp/terraform/issues/4150))
- * provider/docker: Add support for setting the entry point on `docker_container` resources ([#3761](https://github.com/hashicorp/terraform/issues/3761))
- * provider/docker: Add support for setting the restart policy on `docker_container` resources ([#3761](https://github.com/hashicorp/terraform/issues/3761))
- * provider/docker: Add support for setting memory, swap and CPU shares on `docker_container` resources ([#3761](https://github.com/hashicorp/terraform/issues/3761))
- * provider/docker: Add support for setting labels on `docker_container` resources ([#3761](https://github.com/hashicorp/terraform/issues/3761))
- * provider/docker: Add support for setting log driver and options on `docker_container` resources ([#3761](https://github.com/hashicorp/terraform/issues/3761))
- * provider/docker: Add support for settings network mode on `docker_container` resources ([#4475](https://github.com/hashicorp/terraform/issues/4475))
- * provider/heroku: Improve handling of Applications within an Organization ([#4495](https://github.com/hashicorp/terraform/issues/4495))
- * provider/vsphere: Add support for custom vm params on `vsphere_virtual_machine` ([#3867](https://github.com/hashicorp/terraform/issues/3867))
- * provider/vsphere: Rename vcenter_server config parameter to something clearer ([#3718](https://github.com/hashicorp/terraform/issues/3718))
- * provider/vsphere: Make allow_unverified_ssl a configuable on the provider ([#3933](https://github.com/hashicorp/terraform/issues/3933))
- * provider/vsphere: Add folder handling for folder-qualified vm names ([#3939](https://github.com/hashicorp/terraform/issues/3939))
- * provider/vsphere: Change ip_address parameter for ipv6 support ([#4035](https://github.com/hashicorp/terraform/issues/4035))
- * provider/openstack: Increase instance timeout from 10 to 30 minutes ([#4223](https://github.com/hashicorp/terraform/issues/4223))
- * provider/google: Add `restart_policy` attribute to `google_managed_instance_group` ([#3892](https://github.com/hashicorp/terraform/issues/3892))
-
-BUG FIXES:
-
- * core: skip provider input for deprecated fields ([#4193](https://github.com/hashicorp/terraform/issues/4193))
- * core: Fix issue which could cause fields that become empty to retain old values in the state ([#3257](https://github.com/hashicorp/terraform/issues/3257))
- * provider/docker: Fix an issue running with Docker Swarm by looking up containers by ID instead of name ([#4148](https://github.com/hashicorp/terraform/issues/4148))
- * provider/openstack: Better handling of load balancing resource state changes ([#3926](https://github.com/hashicorp/terraform/issues/3926))
- * provider/aws: Treat `INACTIVE` ECS cluster as deleted ([#4364](https://github.com/hashicorp/terraform/issues/4364))
- * provider/aws: Skip `source_security_group_id` determination logic for Classic ELBs ([#4075](https://github.com/hashicorp/terraform/issues/4075))
- * provider/aws: Fix issue destroy Route 53 zone/record if it no longer exists ([#4198](https://github.com/hashicorp/terraform/issues/4198))
- * provider/aws: Fix issue force destroying a versioned S3 bucket ([#4168](https://github.com/hashicorp/terraform/issues/4168))
- * provider/aws: Update DB Replica to honor storage type ([#4155](https://github.com/hashicorp/terraform/issues/4155))
- * provider/aws: Fix issue creating AWS RDS replicas across regions ([#4215](https://github.com/hashicorp/terraform/issues/4215))
- * provider/aws: Fix issue with Route53 and zero weighted records ([#4427](https://github.com/hashicorp/terraform/issues/4427))
- * provider/aws: Fix issue with iam_profile in aws_instance when a path is specified ([#3663](https://github.com/hashicorp/terraform/issues/3663))
- * provider/aws: Refactor AWS Authentication chain to fix issue with authentication and IAM ([#4254](https://github.com/hashicorp/terraform/issues/4254))
- * provider/aws: Fix issue with finding S3 Hosted Zone ID for eu-central-1 region ([#4236](https://github.com/hashicorp/terraform/issues/4236))
- * provider/aws: Fix missing AMI issue with Launch Configurations ([#4242](https://github.com/hashicorp/terraform/issues/4242))
- * provider/aws: Opsworks stack SSH key is write-only ([#4241](https://github.com/hashicorp/terraform/issues/4241))
- * provider/aws: Update VPC Endpoint to correctly set route table ids ([#4392](https://github.com/hashicorp/terraform/issues/4392))
- * provider/aws: Fix issue with ElasticSearch Domain `access_policies` always appear changed ([#4245](https://github.com/hashicorp/terraform/issues/4245))
- * provider/aws: Fix issue with nil parameter group value causing panic in `aws_db_parameter_group` ([#4318](https://github.com/hashicorp/terraform/issues/4318))
- * provider/aws: Fix issue with Elastic IPs not recognizing when they have been unassigned manually ([#4387](https://github.com/hashicorp/terraform/issues/4387))
- * provider/aws: Use body or URL for all CloudFormation stack updates ([#4370](https://github.com/hashicorp/terraform/issues/4370))
- * provider/aws: Fix template_url/template_body conflict ([#4540](https://github.com/hashicorp/terraform/issues/4540))
- * provider/aws: Fix bug w/ changing ECS svc/ELB association ([#4366](https://github.com/hashicorp/terraform/issues/4366))
- * provider/aws: Fix RDS unexpected state config ([#4490](https://github.com/hashicorp/terraform/issues/4490))
- * provider/digitalocean: Fix issue where a floating IP attached to a missing droplet causes a panic ([#4214](https://github.com/hashicorp/terraform/issues/4214))
- * provider/google: Fix project metadata sshKeys from showing up and causing unnecessary diffs ([#4512](https://github.com/hashicorp/terraform/issues/4512))
- * provider/heroku: Retry drain create until log channel is assigned ([#4823](https://github.com/hashicorp/terraform/issues/4823))
- * provider/openstack: Handle volumes in "deleting" state ([#4204](https://github.com/hashicorp/terraform/issues/4204))
- * provider/rundeck: Tolerate Rundeck server not returning project name when reading a job ([#4301](https://github.com/hashicorp/terraform/issues/4301))
- * provider/vsphere: Create and attach additional disks before bootup ([#4196](https://github.com/hashicorp/terraform/issues/4196))
- * provider/openstack: Convert block_device from a Set to a List ([#4288](https://github.com/hashicorp/terraform/issues/4288))
- * provider/google: Terraform identifies deleted resources and handles them appropriately on Read ([#3913](https://github.com/hashicorp/terraform/issues/3913))
-
-## 0.6.8 (December 2, 2015)
-
-FEATURES:
-
- * **New provider: `statuscake`** ([#3340](https://github.com/hashicorp/terraform/issues/3340))
- * **New resource: `digitalocean_floating_ip`** ([#3748](https://github.com/hashicorp/terraform/issues/3748))
- * **New resource: `aws_lambda_event_source_mapping`** ([#4093](https://github.com/hashicorp/terraform/issues/4093))
-
-IMPROVEMENTS:
-
- * provider/cloudstack: Reduce the number of network calls required for common operations ([#4051](https://github.com/hashicorp/terraform/issues/4051))
- * provider/aws: Make `publically_accessible` on an `aws_db_instance` update existing instances instead of forcing new ones ([#3895](https://github.com/hashicorp/terraform/issues/3895))
- * provider/aws: Allow `block_duration_minutes` to be set for spot instance requests ([#4071](https://github.com/hashicorp/terraform/issues/4071))
- * provider/aws: Make setting `acl` on S3 buckets update existing buckets instead of forcing new ones ([#4080](https://github.com/hashicorp/terraform/issues/4080))
- * provider/aws: Make updates to `assume_role_policy` modify existing IAM roles instead of forcing new ones ([#4107](https://github.com/hashicorp/terraform/issues/4107))
-
-BUG FIXES:
-
- * core: Fix a bug which prevented HEREDOC syntax being used in lists ([#4078](https://github.com/hashicorp/terraform/issues/4078))
- * core: Fix a bug which prevented HEREDOC syntax where the anchor ends in a number ([#4128](https://github.com/hashicorp/terraform/issues/4128))
- * core: Fix a bug which prevented HEREDOC syntax being used with Windows line endings ([#4069](https://github.com/hashicorp/terraform/issues/4069))
- * provider/aws: Fix a bug which could result in a panic when reading EC2 metadata ([#4024](https://github.com/hashicorp/terraform/issues/4024))
- * provider/aws: Fix issue recreating security group rule if it has been destroyed ([#4050](https://github.com/hashicorp/terraform/issues/4050))
- * provider/aws: Fix issue with some attributes in Spot Instance Requests returning as nil ([#4132](https://github.com/hashicorp/terraform/issues/4132))
- * provider/aws: Fix issue where SPF records in Route 53 could show differences with no modification to the configuration ([#4108](https://github.com/hashicorp/terraform/issues/4108))
- * provisioner/chef: Fix issue with path separators breaking the Chef provisioner on Windows ([#4041](https://github.com/hashicorp/terraform/issues/4041))
-
-## 0.6.7 (November 23, 2015)
-
-FEATURES:
-
- * **New provider: `tls`** - A utility provider for generating TLS keys/self-signed certificates for development and testing ([#2778](https://github.com/hashicorp/terraform/issues/2778))
- * **New provider: `dyn`** - Manage DNS records on Dyn
- * **New resource: `aws_cloudformation_stack`** ([#2636](https://github.com/hashicorp/terraform/issues/2636))
- * **New resource: `aws_cloudtrail`** ([#3094](https://github.com/hashicorp/terraform/issues/3094)), ([#4010](https://github.com/hashicorp/terraform/issues/4010))
- * **New resource: `aws_route`** ([#3548](https://github.com/hashicorp/terraform/issues/3548))
- * **New resource: `aws_codecommit_repository`** ([#3274](https://github.com/hashicorp/terraform/issues/3274))
- * **New resource: `aws_kinesis_firehose_delivery_stream`** ([#3833](https://github.com/hashicorp/terraform/issues/3833))
- * **New resource: `google_sql_database` and `google_sql_database_instance`** ([#3617](https://github.com/hashicorp/terraform/issues/3617))
- * **New resource: `google_compute_global_address`** ([#3701](https://github.com/hashicorp/terraform/issues/3701))
- * **New resource: `google_compute_https_health_check`** ([#3883](https://github.com/hashicorp/terraform/issues/3883))
- * **New resource: `google_compute_ssl_certificate`** ([#3723](https://github.com/hashicorp/terraform/issues/3723))
- * **New resource: `google_compute_url_map`** ([#3722](https://github.com/hashicorp/terraform/issues/3722))
- * **New resource: `google_compute_target_http_proxy`** ([#3727](https://github.com/hashicorp/terraform/issues/3727))
- * **New resource: `google_compute_target_https_proxy`** ([#3728](https://github.com/hashicorp/terraform/issues/3728))
- * **New resource: `google_compute_global_forwarding_rule`** ([#3702](https://github.com/hashicorp/terraform/issues/3702))
- * **New resource: `openstack_networking_port_v2`** ([#3731](https://github.com/hashicorp/terraform/issues/3731))
- * New interpolation function: `coalesce` ([#3814](https://github.com/hashicorp/terraform/issues/3814))
-
-IMPROVEMENTS:
-
- * core: Improve message to list only resources which will be destroyed when using `--target` ([#3859](https://github.com/hashicorp/terraform/issues/3859))
- * connection/ssh: Accept `private_key` contents instead of paths ([#3846](https://github.com/hashicorp/terraform/issues/3846))
- * provider/google: `preemptible` option for instance_template ([#3667](https://github.com/hashicorp/terraform/issues/3667))
- * provider/google: Accurate Terraform Version ([#3554](https://github.com/hashicorp/terraform/issues/3554))
- * provider/google: Simplified auth (DefaultClient support) ([#3553](https://github.com/hashicorp/terraform/issues/3553))
- * provider/google: `automatic_restart`, `preemptible`, `on_host_maintenance` options ([#3643](https://github.com/hashicorp/terraform/issues/3643))
- * provider/google: Read credentials as contents instead of path ([#3901](https://github.com/hashicorp/terraform/issues/3901))
- * null_resource: Enhance and document [GH-3244, GH-3659]
- * provider/aws: Add CORS settings to S3 bucket ([#3387](https://github.com/hashicorp/terraform/issues/3387))
- * provider/aws: Add notification topic ARN for ElastiCache clusters ([#3674](https://github.com/hashicorp/terraform/issues/3674))
- * provider/aws: Add `kinesis_endpoint` for configuring Kinesis ([#3255](https://github.com/hashicorp/terraform/issues/3255))
- * provider/aws: Add a computed ARN for S3 Buckets ([#3685](https://github.com/hashicorp/terraform/issues/3685))
- * provider/aws: Add S3 support for Lambda Function resource ([#3794](https://github.com/hashicorp/terraform/issues/3794))
- * provider/aws: Add `name_prefix` option to launch configurations ([#3802](https://github.com/hashicorp/terraform/issues/3802))
- * provider/aws: Add support for group name and path changes with IAM group update function ([#3237](https://github.com/hashicorp/terraform/issues/3237))
- * provider/aws: Provide `source_security_group_id` for ELBs inside a VPC ([#3780](https://github.com/hashicorp/terraform/issues/3780))
- * provider/aws: Add snapshot window and retention limits for ElastiCache (Redis) ([#3707](https://github.com/hashicorp/terraform/issues/3707))
- * provider/aws: Add username updates for `aws_iam_user` ([#3227](https://github.com/hashicorp/terraform/issues/3227))
- * provider/aws: Add AutoMinorVersionUpgrade to RDS Instances ([#3677](https://github.com/hashicorp/terraform/issues/3677))
- * provider/aws: Add `access_logs` to ELB resource ([#3756](https://github.com/hashicorp/terraform/issues/3756))
- * provider/aws: Add a retry function to rescue an error in creating Autoscaling Lifecycle Hooks ([#3694](https://github.com/hashicorp/terraform/issues/3694))
- * provider/aws: `engine_version` is now optional for DB Instance ([#3744](https://github.com/hashicorp/terraform/issues/3744))
- * provider/aws: Add configuration to enable copying RDS tags to final snapshot ([#3529](https://github.com/hashicorp/terraform/issues/3529))
- * provider/aws: RDS Cluster additions (`backup_retention_period`, `preferred_backup_window`, `preferred_maintenance_window`) ([#3757](https://github.com/hashicorp/terraform/issues/3757))
- * provider/aws: Document and validate ELB `ssl_certificate_id` and protocol requirements ([#3887](https://github.com/hashicorp/terraform/issues/3887))
- * provider/azure: Read `publish_settings` as contents instead of path ([#3899](https://github.com/hashicorp/terraform/issues/3899))
- * provider/openstack: Use IPv4 as the default IP version for subnets ([#3091](https://github.com/hashicorp/terraform/issues/3091))
- * provider/aws: Apply security group after restoring `db_instance` from snapshot ([#3513](https://github.com/hashicorp/terraform/issues/3513))
- * provider/aws: Make the AutoScalingGroup `name` optional ([#3710](https://github.com/hashicorp/terraform/issues/3710))
- * provider/openstack: Add "delete on termination" boot-from-volume option ([#3232](https://github.com/hashicorp/terraform/issues/3232))
- * provider/digitalocean: Make `user_data` force a new droplet ([#3740](https://github.com/hashicorp/terraform/issues/3740))
- * provider/vsphere: Do not add network interfaces by default ([#3652](https://github.com/hashicorp/terraform/issues/3652))
- * provider/openstack: Configure Fixed IPs through ports ([#3772](https://github.com/hashicorp/terraform/issues/3772))
- * provider/openstack: Specify a port ID on a Router Interface ([#3903](https://github.com/hashicorp/terraform/issues/3903))
- * provider/openstack: Make LBaaS Virtual IP computed ([#3927](https://github.com/hashicorp/terraform/issues/3927))
-
-BUG FIXES:
-
- * `terraform remote config`: update `--help` output ([#3632](https://github.com/hashicorp/terraform/issues/3632))
- * core: Modules on Git branches now update properly ([#1568](https://github.com/hashicorp/terraform/issues/1568))
- * core: Fix issue preventing input prompts for unset variables during plan ([#3843](https://github.com/hashicorp/terraform/issues/3843))
- * core: Fix issue preventing input prompts for unset variables during refresh ([#4017](https://github.com/hashicorp/terraform/issues/4017))
- * core: Orphan resources can now be targets ([#3912](https://github.com/hashicorp/terraform/issues/3912))
- * helper/schema: Skip StateFunc when value is nil ([#4002](https://github.com/hashicorp/terraform/issues/4002))
- * provider/google: Timeout when deleting large `instance_group_manager` ([#3591](https://github.com/hashicorp/terraform/issues/3591))
- * provider/aws: Fix issue with order of Termination Policies in AutoScaling Groups.
- This will introduce plans on upgrade to this version, in order to correct the ordering ([#2890](https://github.com/hashicorp/terraform/issues/2890))
- * provider/aws: Allow cluster name, not only ARN for `aws_ecs_service` ([#3668](https://github.com/hashicorp/terraform/issues/3668))
- * provider/aws: Fix a bug where a non-lower-cased `maintenance_window` can cause unnecessary planned changes ([#4020](https://github.com/hashicorp/terraform/issues/4020))
- * provider/aws: Only set `weight` on an `aws_route53_record` if it has been set in configuration ([#3900](https://github.com/hashicorp/terraform/issues/3900))
- * provider/aws: Ignore association not existing on route table destroy ([#3615](https://github.com/hashicorp/terraform/issues/3615))
- * provider/aws: Fix policy encoding issue with SNS Topics ([#3700](https://github.com/hashicorp/terraform/issues/3700))
- * provider/aws: Correctly export ARN in `aws_iam_saml_provider` ([#3827](https://github.com/hashicorp/terraform/issues/3827))
- * provider/aws: Fix issue deleting users who are attached to a group ([#4005](https://github.com/hashicorp/terraform/issues/4005))
- * provider/aws: Fix crash in Route53 Record if Zone not found ([#3945](https://github.com/hashicorp/terraform/issues/3945))
- * provider/aws: Retry deleting IAM Server Cert on dependency violation ([#3898](https://github.com/hashicorp/terraform/issues/3898))
- * provider/aws: Update Spot Instance request to provide connection information ([#3940](https://github.com/hashicorp/terraform/issues/3940))
- * provider/aws: Fix typo in error checking for IAM Policy Attachments ([#3970](https://github.com/hashicorp/terraform/issues/3970))
- * provider/aws: Fix issue with LB Cookie Stickiness and empty expiration period ([#3908](https://github.com/hashicorp/terraform/issues/3908))
- * provider/aws: Tolerate ElastiCache clusters being deleted outside Terraform ([#3767](https://github.com/hashicorp/terraform/issues/3767))
- * provider/aws: Downcase Route 53 record names in state file to match API output ([#3574](https://github.com/hashicorp/terraform/issues/3574))
- * provider/aws: Fix issue that could occur if no ECS Cluster was found for a given name ([#3829](https://github.com/hashicorp/terraform/issues/3829))
- * provider/aws: Fix issue with SNS topic policy if omitted ([#3777](https://github.com/hashicorp/terraform/issues/3777))
- * provider/aws: Support scratch volumes in `aws_ecs_task_definition` ([#3810](https://github.com/hashicorp/terraform/issues/3810))
- * provider/aws: Treat `aws_ecs_service` w/ Status==INACTIVE as deleted ([#3828](https://github.com/hashicorp/terraform/issues/3828))
- * provider/aws: Expand ~ to homedir in `aws_s3_bucket_object.source` ([#3910](https://github.com/hashicorp/terraform/issues/3910))
- * provider/aws: Fix issue with updating the `aws_ecs_task_definition` where `aws_ecs_service` didn't wait for a new computed ARN ([#3924](https://github.com/hashicorp/terraform/issues/3924))
- * provider/aws: Prevent crashing when deleting `aws_ecs_service` that is already gone ([#3914](https://github.com/hashicorp/terraform/issues/3914))
- * provider/aws: Allow spaces in `aws_db_subnet_group.name` (undocumented in the API) ([#3955](https://github.com/hashicorp/terraform/issues/3955))
- * provider/aws: Make VPC ID required on subnets ([#4021](https://github.com/hashicorp/terraform/issues/4021))
- * provider/azure: Various bug fixes ([#3695](https://github.com/hashicorp/terraform/issues/3695))
- * provider/digitalocean: Fix issue preventing SSH fingerprints from working ([#3633](https://github.com/hashicorp/terraform/issues/3633))
- * provider/digitalocean: Fix the DigitalOcean Droplet 404 potential on refresh of state ([#3768](https://github.com/hashicorp/terraform/issues/3768))
- * provider/openstack: Fix several issues causing unresolvable diffs ([#3440](https://github.com/hashicorp/terraform/issues/3440))
- * provider/openstack: Safely delete security groups ([#3696](https://github.com/hashicorp/terraform/issues/3696))
- * provider/openstack: Ignore order of `security_groups` in instance ([#3651](https://github.com/hashicorp/terraform/issues/3651))
- * provider/vsphere: Fix d.SetConnInfo error in case of a missing IP address ([#3636](https://github.com/hashicorp/terraform/issues/3636))
- * provider/openstack: Fix boot from volume ([#3206](https://github.com/hashicorp/terraform/issues/3206))
- * provider/openstack: Fix crashing when image is no longer accessible ([#2189](https://github.com/hashicorp/terraform/issues/2189))
- * provider/openstack: Better handling of network resource state changes ([#3712](https://github.com/hashicorp/terraform/issues/3712))
- * provider/openstack: Fix crashing when no security group is specified ([#3801](https://github.com/hashicorp/terraform/issues/3801))
- * provider/packet: Fix issue that could cause errors when provisioning many devices at once ([#3847](https://github.com/hashicorp/terraform/issues/3847))
- * provider/packet: Fix connection information for devices, allowing provisioners to run ([#3948](https://github.com/hashicorp/terraform/issues/3948))
- * provider/openstack: Fix issue preventing security group rules from being removed ([#3796](https://github.com/hashicorp/terraform/issues/3796))
- * provider/template: `template_file`: source contents instead of path ([#3909](https://github.com/hashicorp/terraform/issues/3909))
-
-## 0.6.6 (October 23, 2015)
-
-FEATURES:
-
- * New interpolation functions: `cidrhost`, `cidrnetmask` and `cidrsubnet` ([#3127](https://github.com/hashicorp/terraform/issues/3127))
-
-IMPROVEMENTS:
-
- * "forces new resource" now highlighted in plan output ([#3136](https://github.com/hashicorp/terraform/issues/3136))
-
-BUG FIXES:
-
- * helper/schema: Better error message for assigning list/map to string ([#3009](https://github.com/hashicorp/terraform/issues/3009))
- * remote/state/atlas: Additional remote state conflict handling for semantically neutral state changes ([#3603](https://github.com/hashicorp/terraform/issues/3603))
-
-## 0.6.5 (October 21, 2015)
-
-FEATURES:
-
- * **New resources: `aws_codeploy_app` and `aws_codeploy_deployment_group`** ([#2783](https://github.com/hashicorp/terraform/issues/2783))
- * New remote state backend: `etcd` ([#3487](https://github.com/hashicorp/terraform/issues/3487))
- * New interpolation functions: `upper` and `lower` ([#3558](https://github.com/hashicorp/terraform/issues/3558))
-
-BUG FIXES:
-
- * core: Fix remote state conflicts caused by ambiguity in ordering of deeply nested modules ([#3573](https://github.com/hashicorp/terraform/issues/3573))
- * core: Fix remote state conflicts caused by state metadata differences ([#3569](https://github.com/hashicorp/terraform/issues/3569))
- * core: Avoid using http.DefaultClient ([#3532](https://github.com/hashicorp/terraform/issues/3532))
-
-INTERNAL IMPROVEMENTS:
-
- * provider/digitalocean: use official Go client ([#3333](https://github.com/hashicorp/terraform/issues/3333))
- * core: extract module fetching to external library ([#3516](https://github.com/hashicorp/terraform/issues/3516))
-
-## 0.6.4 (October 15, 2015)
-
-FEATURES:
-
- * **New provider: `rundeck`** ([#2412](https://github.com/hashicorp/terraform/issues/2412))
- * **New provider: `packet`** ([#2260](https://github.com/hashicorp/terraform/issues/2260)), ([#3472](https://github.com/hashicorp/terraform/issues/3472))
- * **New provider: `vsphere`**: Initial support for a VM resource ([#3419](https://github.com/hashicorp/terraform/issues/3419))
- * **New resource: `cloudstack_loadbalancer_rule`** ([#2934](https://github.com/hashicorp/terraform/issues/2934))
- * **New resource: `google_compute_project_metadata`** ([#3065](https://github.com/hashicorp/terraform/issues/3065))
- * **New resources: `aws_ami`, `aws_ami_copy`, `aws_ami_from_instance`** ([#2784](https://github.com/hashicorp/terraform/issues/2784))
- * **New resources: `aws_cloudwatch_log_group`** ([#2415](https://github.com/hashicorp/terraform/issues/2415))
- * **New resource: `google_storage_bucket_object`** ([#3192](https://github.com/hashicorp/terraform/issues/3192))
- * **New resources: `google_compute_vpn_gateway`, `google_compute_vpn_tunnel`** ([#3213](https://github.com/hashicorp/terraform/issues/3213))
- * **New resources: `google_storage_bucket_acl`, `google_storage_object_acl`** ([#3272](https://github.com/hashicorp/terraform/issues/3272))
- * **New resource: `aws_iam_saml_provider`** ([#3156](https://github.com/hashicorp/terraform/issues/3156))
- * **New resources: `aws_efs_file_system` and `aws_efs_mount_target`** ([#2196](https://github.com/hashicorp/terraform/issues/2196))
- * **New resources: `aws_opsworks_*`** ([#2162](https://github.com/hashicorp/terraform/issues/2162))
- * **New resource: `aws_elasticsearch_domain`** ([#3443](https://github.com/hashicorp/terraform/issues/3443))
- * **New resource: `aws_directory_service_directory`** ([#3228](https://github.com/hashicorp/terraform/issues/3228))
- * **New resource: `aws_autoscaling_lifecycle_hook`** ([#3351](https://github.com/hashicorp/terraform/issues/3351))
- * **New resource: `aws_placement_group`** ([#3457](https://github.com/hashicorp/terraform/issues/3457))
- * **New resource: `aws_glacier_vault`** ([#3491](https://github.com/hashicorp/terraform/issues/3491))
- * **New lifecycle flag: `ignore_changes`** ([#2525](https://github.com/hashicorp/terraform/issues/2525))
-
-IMPROVEMENTS:
-
- * core: Add a function to find the index of an element in a list. ([#2704](https://github.com/hashicorp/terraform/issues/2704))
- * core: Print all outputs when `terraform output` is called with no arguments ([#2920](https://github.com/hashicorp/terraform/issues/2920))
- * core: In plan output summary, count resource replacement as Add/Remove instead of Change ([#3173](https://github.com/hashicorp/terraform/issues/3173))
- * core: Add interpolation functions for base64 encoding and decoding. ([#3325](https://github.com/hashicorp/terraform/issues/3325))
- * core: Expose parallelism as a CLI option instead of a hard-coding the default of 10 ([#3365](https://github.com/hashicorp/terraform/issues/3365))
- * core: Add interpolation function `compact`, to remove empty elements from a list. ([#3239](https://github.com/hashicorp/terraform/issues/3239)), ([#3479](https://github.com/hashicorp/terraform/issues/3479))
- * core: Allow filtering of log output by level, using e.g. ``TF_LOG=INFO`` ([#3380](https://github.com/hashicorp/terraform/issues/3380))
- * provider/aws: Add `instance_initiated_shutdown_behavior` to AWS Instance ([#2887](https://github.com/hashicorp/terraform/issues/2887))
- * provider/aws: Support IAM role names (previously just ARNs) in `aws_ecs_service.iam_role` ([#3061](https://github.com/hashicorp/terraform/issues/3061))
- * provider/aws: Add update method to RDS Subnet groups, can modify subnets without recreating ([#3053](https://github.com/hashicorp/terraform/issues/3053))
- * provider/aws: Paginate notifications returned for ASG Notifications ([#3043](https://github.com/hashicorp/terraform/issues/3043))
- * provider/aws: Adds additional S3 Bucket Object inputs ([#3265](https://github.com/hashicorp/terraform/issues/3265))
- * provider/aws: add `ses_smtp_password` to `aws_iam_access_key` ([#3165](https://github.com/hashicorp/terraform/issues/3165))
- * provider/aws: read `iam_instance_profile` for `aws_instance` and save to state ([#3167](https://github.com/hashicorp/terraform/issues/3167))
- * provider/aws: allow `instance` to be computed in `aws_eip` ([#3036](https://github.com/hashicorp/terraform/issues/3036))
- * provider/aws: Add `versioning` option to `aws_s3_bucket` ([#2942](https://github.com/hashicorp/terraform/issues/2942))
- * provider/aws: Add `configuration_endpoint` to `aws_elasticache_cluster` ([#3250](https://github.com/hashicorp/terraform/issues/3250))
- * provider/aws: Add validation for `app_cookie_stickiness_policy.name` ([#3277](https://github.com/hashicorp/terraform/issues/3277))
- * provider/aws: Add validation for `db_parameter_group.name` ([#3279](https://github.com/hashicorp/terraform/issues/3279))
- * provider/aws: Set DynamoDB Table ARN after creation ([#3500](https://github.com/hashicorp/terraform/issues/3500))
- * provider/aws: `aws_s3_bucket_object` allows interpolated content to be set with new `content` attribute. ([#3200](https://github.com/hashicorp/terraform/issues/3200))
- * provider/aws: Allow tags for `aws_kinesis_stream` resource. ([#3397](https://github.com/hashicorp/terraform/issues/3397))
- * provider/aws: Configurable capacity waiting duration for ASGs ([#3191](https://github.com/hashicorp/terraform/issues/3191))
- * provider/aws: Allow non-persistent Spot Requests ([#3311](https://github.com/hashicorp/terraform/issues/3311))
- * provider/aws: Support tags for AWS DB subnet group ([#3138](https://github.com/hashicorp/terraform/issues/3138))
- * provider/cloudstack: Add `project` parameter to `cloudstack_vpc`, `cloudstack_network`, `cloudstack_ipaddress` and `cloudstack_disk` ([#3035](https://github.com/hashicorp/terraform/issues/3035))
- * provider/openstack: add functionality to attach FloatingIP to Port ([#1788](https://github.com/hashicorp/terraform/issues/1788))
- * provider/google: Can now do multi-region deployments without using multiple providers ([#3258](https://github.com/hashicorp/terraform/issues/3258))
- * remote/s3: Allow canned ACLs to be set on state objects. ([#3233](https://github.com/hashicorp/terraform/issues/3233))
- * remote/s3: Remote state is stored in S3 with `Content-Type: application/json` ([#3385](https://github.com/hashicorp/terraform/issues/3385))
-
-BUG FIXES:
-
- * core: Fix problems referencing list attributes in interpolations ([#2157](https://github.com/hashicorp/terraform/issues/2157))
- * core: don't error on computed value during input walk ([#2988](https://github.com/hashicorp/terraform/issues/2988))
- * core: Ignore missing variables during destroy phase ([#3393](https://github.com/hashicorp/terraform/issues/3393))
- * provider/google: Crashes with interface conversion in GCE Instance Template ([#3027](https://github.com/hashicorp/terraform/issues/3027))
- * provider/google: Convert int to int64 when building the GKE cluster.NodeConfig struct ([#2978](https://github.com/hashicorp/terraform/issues/2978))
- * provider/google: google_compute_instance_template.network_interface.network should be a URL ([#3226](https://github.com/hashicorp/terraform/issues/3226))
- * provider/aws: Retry creation of `aws_ecs_service` if IAM policy isn't ready yet ([#3061](https://github.com/hashicorp/terraform/issues/3061))
- * provider/aws: Fix issue with mixed capitalization for RDS Instances ([#3053](https://github.com/hashicorp/terraform/issues/3053))
- * provider/aws: Fix issue with RDS to allow major version upgrades ([#3053](https://github.com/hashicorp/terraform/issues/3053))
- * provider/aws: Fix shard_count in `aws_kinesis_stream` ([#2986](https://github.com/hashicorp/terraform/issues/2986))
- * provider/aws: Fix issue with `key_name` and using VPCs with spot instance requests ([#2954](https://github.com/hashicorp/terraform/issues/2954))
- * provider/aws: Fix unresolvable diffs coming from `aws_elasticache_cluster` names being downcased
- by AWS ([#3120](https://github.com/hashicorp/terraform/issues/3120))
- * provider/aws: Read instance source_dest_check and save to state ([#3152](https://github.com/hashicorp/terraform/issues/3152))
- * provider/aws: Allow `weight = 0` in Route53 records ([#3196](https://github.com/hashicorp/terraform/issues/3196))
- * provider/aws: Normalize aws_elasticache_cluster id to lowercase, allowing convergence. ([#3235](https://github.com/hashicorp/terraform/issues/3235))
- * provider/aws: Fix ValidateAccountId for IAM Instance Profiles ([#3313](https://github.com/hashicorp/terraform/issues/3313))
- * provider/aws: Update Security Group Rules to Version 2 ([#3019](https://github.com/hashicorp/terraform/issues/3019))
- * provider/aws: Migrate KeyPair to version 1, fixing issue with using `file()` ([#3470](https://github.com/hashicorp/terraform/issues/3470))
- * provider/aws: Fix force_delete on autoscaling groups ([#3485](https://github.com/hashicorp/terraform/issues/3485))
- * provider/aws: Fix crash with VPC Peering connections ([#3490](https://github.com/hashicorp/terraform/issues/3490))
- * provider/aws: fix bug with reading GSIs from dynamodb ([#3300](https://github.com/hashicorp/terraform/issues/3300))
- * provider/docker: Fix issue preventing private images from being referenced ([#2619](https://github.com/hashicorp/terraform/issues/2619))
- * provider/digitalocean: Fix issue causing unnecessary diffs based on droplet slugsize case ([#3284](https://github.com/hashicorp/terraform/issues/3284))
- * provider/openstack: add state 'downloading' to list of expected states in
- `blockstorage_volume_v1` creation ([#2866](https://github.com/hashicorp/terraform/issues/2866))
- * provider/openstack: remove security groups (by name) before adding security
- groups (by id) ([#2008](https://github.com/hashicorp/terraform/issues/2008))
-
-INTERNAL IMPROVEMENTS:
-
- * core: Makefile target "plugin-dev" for building just one plugin. ([#3229](https://github.com/hashicorp/terraform/issues/3229))
- * helper/schema: Don't allow ``Update`` func if no attributes can actually be updated, per schema. ([#3288](https://github.com/hashicorp/terraform/issues/3288))
- * helper/schema: Default hashing function for sets ([#3018](https://github.com/hashicorp/terraform/issues/3018))
- * helper/multierror: Remove in favor of [github.com/hashicorp/go-multierror](http://github.com/hashicorp/go-multierror). ([#3336](https://github.com/hashicorp/terraform/issues/3336))
-
-## 0.6.3 (August 11, 2015)
-
-BUG FIXES:
-
- * core: Skip all descendents after error, not just children; helps prevent confusing
- additional errors/crashes after initial failure ([#2963](https://github.com/hashicorp/terraform/issues/2963))
- * core: fix deadlock possibility when both a module and a dependent resource are
- removed in the same run ([#2968](https://github.com/hashicorp/terraform/issues/2968))
- * provider/aws: Fix issue with authenticating when using IAM profiles ([#2959](https://github.com/hashicorp/terraform/issues/2959))
-
-## 0.6.2 (August 6, 2015)
-
-FEATURES:
-
- * **New resource: `google_compute_instance_group_manager`** ([#2868](https://github.com/hashicorp/terraform/issues/2868))
- * **New resource: `google_compute_autoscaler`** ([#2868](https://github.com/hashicorp/terraform/issues/2868))
- * **New resource: `aws_s3_bucket_object`** ([#2898](https://github.com/hashicorp/terraform/issues/2898))
-
-IMPROVEMENTS:
-
- * core: Add resource IDs to errors coming from `apply`/`refresh` ([#2815](https://github.com/hashicorp/terraform/issues/2815))
- * provider/aws: Validate credentials before walking the graph ([#2730](https://github.com/hashicorp/terraform/issues/2730))
- * provider/aws: Added website_domain for S3 buckets ([#2210](https://github.com/hashicorp/terraform/issues/2210))
- * provider/aws: ELB names are now optional, and generated by Terraform if omitted ([#2571](https://github.com/hashicorp/terraform/issues/2571))
- * provider/aws: Downcase RDS engine names to prevent continuous diffs ([#2745](https://github.com/hashicorp/terraform/issues/2745))
- * provider/aws: Added `source_dest_check` attribute to the aws_network_interface ([#2741](https://github.com/hashicorp/terraform/issues/2741))
- * provider/aws: Clean up externally removed Launch Configurations ([#2806](https://github.com/hashicorp/terraform/issues/2806))
- * provider/aws: Allow configuration of the DynamoDB Endpoint ([#2825](https://github.com/hashicorp/terraform/issues/2825))
- * provider/aws: Compute private ip addresses of ENIs if they are not specified ([#2743](https://github.com/hashicorp/terraform/issues/2743))
- * provider/aws: Add `arn` attribute for DynamoDB tables ([#2924](https://github.com/hashicorp/terraform/issues/2924))
- * provider/aws: Fail silently when account validation fails while from instance profile ([#3001](https://github.com/hashicorp/terraform/issues/3001))
- * provider/azure: Allow `settings_file` to accept XML string ([#2922](https://github.com/hashicorp/terraform/issues/2922))
- * provider/azure: Provide a simpler error when using a Platform Image without a
- Storage Service ([#2861](https://github.com/hashicorp/terraform/issues/2861))
- * provider/google: `account_file` is now expected to be JSON. Paths are still supported for
- backwards compatibility. ([#2839](https://github.com/hashicorp/terraform/issues/2839))
-
-BUG FIXES:
-
- * core: Prevent error duplication in `apply` ([#2815](https://github.com/hashicorp/terraform/issues/2815))
- * core: Fix crash when a provider validation adds a warning ([#2878](https://github.com/hashicorp/terraform/issues/2878))
- * provider/aws: Fix issue with toggling monitoring in AWS Instances ([#2794](https://github.com/hashicorp/terraform/issues/2794))
- * provider/aws: Fix issue with Spot Instance Requests and cancellation ([#2805](https://github.com/hashicorp/terraform/issues/2805))
- * provider/aws: Fix issue with checking for ElastiCache cluster cache node status ([#2842](https://github.com/hashicorp/terraform/issues/2842))
- * provider/aws: Fix issue when unable to find a Root Block Device name of an Instance Backed
- AMI ([#2646](https://github.com/hashicorp/terraform/issues/2646))
- * provider/dnsimple: Domain and type should force new records ([#2777](https://github.com/hashicorp/terraform/issues/2777))
- * provider/aws: Fix issue with IAM Server Certificates and Chains ([#2871](https://github.com/hashicorp/terraform/issues/2871))
- * provider/aws: Fix issue with IAM Server Certificates when using `path` ([#2871](https://github.com/hashicorp/terraform/issues/2871))
- * provider/aws: Fix issue in Security Group Rules when the Security Group is not found ([#2897](https://github.com/hashicorp/terraform/issues/2897))
- * provider/aws: allow external ENI attachments ([#2943](https://github.com/hashicorp/terraform/issues/2943))
- * provider/aws: Fix issue with S3 Buckets, and throwing an error when not found ([#2925](https://github.com/hashicorp/terraform/issues/2925))
-
-## 0.6.1 (July 20, 2015)
-
-FEATURES:
-
- * **New resource: `google_container_cluster`** ([#2357](https://github.com/hashicorp/terraform/issues/2357))
- * **New resource: `aws_vpc_endpoint`** ([#2695](https://github.com/hashicorp/terraform/issues/2695))
-
-IMPROVEMENTS:
-
- * connection/ssh: Print SSH bastion host details to output ([#2684](https://github.com/hashicorp/terraform/issues/2684))
- * provider/aws: Create RDS databases from snapshots ([#2062](https://github.com/hashicorp/terraform/issues/2062))
- * provider/aws: Add support for restoring from Redis backup stored in S3 ([#2634](https://github.com/hashicorp/terraform/issues/2634))
- * provider/aws: Add `maintenance_window` to ElastiCache cluster ([#2642](https://github.com/hashicorp/terraform/issues/2642))
- * provider/aws: Availability Zones are optional when specifying VPC Zone Identifiers in
- Auto Scaling Groups updates ([#2724](https://github.com/hashicorp/terraform/issues/2724))
- * provider/google: Add metadata_startup_script to google_compute_instance ([#2375](https://github.com/hashicorp/terraform/issues/2375))
-
-BUG FIXES:
-
- * core: Don't prompt for variables with defaults ([#2613](https://github.com/hashicorp/terraform/issues/2613))
- * core: Return correct number of planned updates ([#2620](https://github.com/hashicorp/terraform/issues/2620))
- * core: Fix "provider not found" error that can occur while running
- a destroy plan with grandchildren modules ([#2755](https://github.com/hashicorp/terraform/issues/2755))
- * core: Fix UUID showing up in diff for computed splat (`foo.*.bar`)
- variables. ([#2788](https://github.com/hashicorp/terraform/issues/2788))
- * core: Orphan modules that contain no resources (only other modules)
- are properly destroyed up to arbitrary depth ([#2786](https://github.com/hashicorp/terraform/issues/2786))
- * core: Fix "attribute not available" during destroy plans in
- cases where the parameter is passed between modules ([#2775](https://github.com/hashicorp/terraform/issues/2775))
- * core: Record schema version when destroy fails ([#2923](https://github.com/hashicorp/terraform/issues/2923))
- * connection/ssh: fix issue on machines with an SSH Agent available
- preventing `key_file` from being read without explicitly
- setting `agent = false` ([#2615](https://github.com/hashicorp/terraform/issues/2615))
- * provider/aws: Allow uppercase characters in `aws_elb.name` ([#2580](https://github.com/hashicorp/terraform/issues/2580))
- * provider/aws: Allow underscores in `aws_db_subnet_group.name` (undocumented by AWS) ([#2604](https://github.com/hashicorp/terraform/issues/2604))
- * provider/aws: Allow dots in `aws_db_subnet_group.name` (undocumented by AWS) ([#2665](https://github.com/hashicorp/terraform/issues/2665))
- * provider/aws: Fix issue with pending Spot Instance requests ([#2640](https://github.com/hashicorp/terraform/issues/2640))
- * provider/aws: Fix issue in AWS Classic environment with referencing external
- Security Groups ([#2644](https://github.com/hashicorp/terraform/issues/2644))
- * provider/aws: Bump internet gateway detach timeout ([#2669](https://github.com/hashicorp/terraform/issues/2669))
- * provider/aws: Fix issue with detecting differences in DB Parameters ([#2728](https://github.com/hashicorp/terraform/issues/2728))
- * provider/aws: `ecs_cluster` rename (recreation) and deletion is handled correctly ([#2698](https://github.com/hashicorp/terraform/issues/2698))
- * provider/aws: `aws_route_table` ignores routes generated for VPC endpoints ([#2695](https://github.com/hashicorp/terraform/issues/2695))
- * provider/aws: Fix issue with Launch Configurations and enable_monitoring ([#2735](https://github.com/hashicorp/terraform/issues/2735))
- * provider/openstack: allow empty api_key and endpoint_type ([#2626](https://github.com/hashicorp/terraform/issues/2626))
- * provisioner/chef: Fix permission denied error with ohai hints ([#2781](https://github.com/hashicorp/terraform/issues/2781))
-
-## 0.6.0 (June 30, 2015)
-
-BACKWARDS INCOMPATIBILITIES:
-
- * command/push: If a variable is already set within Atlas, it won't be
- updated unless the `-overwrite` flag is present ([#2373](https://github.com/hashicorp/terraform/issues/2373))
- * connection/ssh: The `agent` field now defaults to `true` if
- the `SSH_AGENT_SOCK` environment variable is present. In other words,
- `ssh-agent` support is now opt-out instead of opt-in functionality. ([#2408](https://github.com/hashicorp/terraform/issues/2408))
- * provider/aws: If you were setting access and secret key to blank ("")
- to force Terraform to load credentials from another source such as the
- EC2 role, this will now error. Remove the blank lines and Terraform
- will load from other sources.
- * `concat()` has been repurposed to combine lists instead of strings (old behavior
- of joining strings is maintained in this version but is deprecated, strings
- should be combined using interpolation syntax, like "${var.foo}{var.bar}")
- ([#1790](https://github.com/hashicorp/terraform/issues/1790))
-
-FEATURES:
-
- * **New provider: `azure`** [GH-2052, GH-2053, GH-2372, GH-2380, GH-2394, GH-2515, GH-2530, GH-2562]
- * **New resource: `aws_autoscaling_notification`** ([#2197](https://github.com/hashicorp/terraform/issues/2197))
- * **New resource: `aws_autoscaling_policy`** ([#2201](https://github.com/hashicorp/terraform/issues/2201))
- * **New resource: `aws_cloudwatch_metric_alarm`** ([#2201](https://github.com/hashicorp/terraform/issues/2201))
- * **New resource: `aws_dynamodb_table`** ([#2121](https://github.com/hashicorp/terraform/issues/2121))
- * **New resource: `aws_ecs_cluster`** ([#1803](https://github.com/hashicorp/terraform/issues/1803))
- * **New resource: `aws_ecs_service`** ([#1803](https://github.com/hashicorp/terraform/issues/1803))
- * **New resource: `aws_ecs_task_definition`** [GH-1803, GH-2402]
- * **New resource: `aws_elasticache_parameter_group`** ([#2276](https://github.com/hashicorp/terraform/issues/2276))
- * **New resource: `aws_flow_log`** ([#2384](https://github.com/hashicorp/terraform/issues/2384))
- * **New resource: `aws_iam_group_association`** ([#2273](https://github.com/hashicorp/terraform/issues/2273))
- * **New resource: `aws_iam_policy_attachment`** ([#2395](https://github.com/hashicorp/terraform/issues/2395))
- * **New resource: `aws_lambda_function`** ([#2170](https://github.com/hashicorp/terraform/issues/2170))
- * **New resource: `aws_route53_delegation_set`** ([#1999](https://github.com/hashicorp/terraform/issues/1999))
- * **New resource: `aws_route53_health_check`** ([#2226](https://github.com/hashicorp/terraform/issues/2226))
- * **New resource: `aws_spot_instance_request`** ([#2263](https://github.com/hashicorp/terraform/issues/2263))
- * **New resource: `cloudstack_ssh_keypair`** ([#2004](https://github.com/hashicorp/terraform/issues/2004))
- * **New remote state backend: `swift`**: You can now store remote state in
- a OpenStack Swift. ([#2254](https://github.com/hashicorp/terraform/issues/2254))
- * command/output: support display of module outputs ([#2102](https://github.com/hashicorp/terraform/issues/2102))
- * core: `keys()` and `values()` funcs for map variables ([#2198](https://github.com/hashicorp/terraform/issues/2198))
- * connection/ssh: SSH bastion host support and ssh-agent forwarding ([#2425](https://github.com/hashicorp/terraform/issues/2425))
-
-IMPROVEMENTS:
-
- * core: HTTP remote state now accepts `skip_cert_verification`
- option to ignore TLS cert verification. ([#2214](https://github.com/hashicorp/terraform/issues/2214))
- * core: S3 remote state now accepts the 'encrypt' option for SSE ([#2405](https://github.com/hashicorp/terraform/issues/2405))
- * core: `plan` now reports sum of resources to be changed/created/destroyed ([#2458](https://github.com/hashicorp/terraform/issues/2458))
- * core: Change string list representation so we can distinguish empty, single
- element lists ([#2504](https://github.com/hashicorp/terraform/issues/2504))
- * core: Properly close provider and provisioner plugin connections [GH-2406, GH-2527]
- * provider/aws: AutoScaling groups now support updating Load Balancers without
- recreation ([#2472](https://github.com/hashicorp/terraform/issues/2472))
- * provider/aws: Allow more in-place updates for ElastiCache cluster without recreating
- ([#2469](https://github.com/hashicorp/terraform/issues/2469))
- * provider/aws: ElastiCache Subnet Groups can be updated
- without destroying first ([#2191](https://github.com/hashicorp/terraform/issues/2191))
- * provider/aws: Normalize `certificate_chain` in `aws_iam_server_certificate` to
- prevent unnecessary replacement. ([#2411](https://github.com/hashicorp/terraform/issues/2411))
- * provider/aws: `aws_instance` supports `monitoring' ([#2489](https://github.com/hashicorp/terraform/issues/2489))
- * provider/aws: `aws_launch_configuration` now supports `enable_monitoring` ([#2410](https://github.com/hashicorp/terraform/issues/2410))
- * provider/aws: Show outputs after `terraform refresh` ([#2347](https://github.com/hashicorp/terraform/issues/2347))
- * provider/aws: Add backoff/throttling during DynamoDB creation ([#2462](https://github.com/hashicorp/terraform/issues/2462))
- * provider/aws: Add validation for aws_vpc.cidr_block ([#2514](https://github.com/hashicorp/terraform/issues/2514))
- * provider/aws: Add validation for aws_db_subnet_group.name ([#2513](https://github.com/hashicorp/terraform/issues/2513))
- * provider/aws: Add validation for aws_db_instance.identifier ([#2516](https://github.com/hashicorp/terraform/issues/2516))
- * provider/aws: Add validation for aws_elb.name ([#2517](https://github.com/hashicorp/terraform/issues/2517))
- * provider/aws: Add validation for aws_security_group (name+description) ([#2518](https://github.com/hashicorp/terraform/issues/2518))
- * provider/aws: Add validation for aws_launch_configuration ([#2519](https://github.com/hashicorp/terraform/issues/2519))
- * provider/aws: Add validation for aws_autoscaling_group.name ([#2520](https://github.com/hashicorp/terraform/issues/2520))
- * provider/aws: Add validation for aws_iam_role.name ([#2521](https://github.com/hashicorp/terraform/issues/2521))
- * provider/aws: Add validation for aws_iam_role_policy.name ([#2552](https://github.com/hashicorp/terraform/issues/2552))
- * provider/aws: Add validation for aws_iam_instance_profile.name ([#2553](https://github.com/hashicorp/terraform/issues/2553))
- * provider/aws: aws_auto_scaling_group.default_cooldown no longer requires
- resource replacement ([#2510](https://github.com/hashicorp/terraform/issues/2510))
- * provider/aws: add AH and ESP protocol integers ([#2321](https://github.com/hashicorp/terraform/issues/2321))
- * provider/docker: `docker_container` has the `privileged`
- option. ([#2227](https://github.com/hashicorp/terraform/issues/2227))
- * provider/openstack: allow `OS_AUTH_TOKEN` environment variable
- to set the openstack `api_key` field ([#2234](https://github.com/hashicorp/terraform/issues/2234))
- * provider/openstack: Can now configure endpoint type (public, admin,
- internal) ([#2262](https://github.com/hashicorp/terraform/issues/2262))
- * provider/cloudstack: `cloudstack_instance` now supports projects ([#2115](https://github.com/hashicorp/terraform/issues/2115))
- * provisioner/chef: Added a `os_type` to specifically specify the target OS ([#2483](https://github.com/hashicorp/terraform/issues/2483))
- * provisioner/chef: Added a `ohai_hints` option to upload hint files ([#2487](https://github.com/hashicorp/terraform/issues/2487))
-
-BUG FIXES:
-
- * core: lifecycle `prevent_destroy` can be any value that can be
- coerced into a bool ([#2268](https://github.com/hashicorp/terraform/issues/2268))
- * core: matching provider types in sibling modules won't override
- each other's config. ([#2464](https://github.com/hashicorp/terraform/issues/2464))
- * core: computed provider configurations now properly validate ([#2457](https://github.com/hashicorp/terraform/issues/2457))
- * core: orphan (commented out) resource dependencies are destroyed in
- the correct order ([#2453](https://github.com/hashicorp/terraform/issues/2453))
- * core: validate object types in plugins are actually objects ([#2450](https://github.com/hashicorp/terraform/issues/2450))
- * core: fix `-no-color` flag in subcommands ([#2414](https://github.com/hashicorp/terraform/issues/2414))
- * core: Fix error of 'attribute not found for variable' when a computed
- resource attribute is used as a parameter to a module ([#2477](https://github.com/hashicorp/terraform/issues/2477))
- * core: moduled orphans will properly inherit provider configs ([#2476](https://github.com/hashicorp/terraform/issues/2476))
- * core: modules with provider aliases work properly if the parent
- doesn't implement those aliases ([#2475](https://github.com/hashicorp/terraform/issues/2475))
- * core: unknown resource attributes passed in as parameters to modules
- now error ([#2478](https://github.com/hashicorp/terraform/issues/2478))
- * core: better error messages for missing variables ([#2479](https://github.com/hashicorp/terraform/issues/2479))
- * core: removed set items now properly appear in diffs and applies ([#2507](https://github.com/hashicorp/terraform/issues/2507))
- * core: '*' will not be added as part of the variable name when you
- attempt multiplication without a space ([#2505](https://github.com/hashicorp/terraform/issues/2505))
- * core: fix target dependency calculation across module boundaries ([#2555](https://github.com/hashicorp/terraform/issues/2555))
- * command/*: fixed bug where variable input was not asked for unset
- vars if terraform.tfvars existed ([#2502](https://github.com/hashicorp/terraform/issues/2502))
- * command/apply: prevent output duplication when reporting errors ([#2267](https://github.com/hashicorp/terraform/issues/2267))
- * command/apply: destroyed orphan resources are properly counted ([#2506](https://github.com/hashicorp/terraform/issues/2506))
- * provider/aws: loading credentials from the environment (vars, EC2 role,
- etc.) is more robust and will not ask for credentials from stdin ([#1841](https://github.com/hashicorp/terraform/issues/1841))
- * provider/aws: fix panic when route has no `cidr_block` ([#2215](https://github.com/hashicorp/terraform/issues/2215))
- * provider/aws: fix issue preventing destruction of IAM Roles ([#2177](https://github.com/hashicorp/terraform/issues/2177))
- * provider/aws: fix issue where Security Group Rules could collide and fail
- to save to the state file correctly ([#2376](https://github.com/hashicorp/terraform/issues/2376))
- * provider/aws: fix issue preventing destruction self referencing Securtity
- Group Rules ([#2305](https://github.com/hashicorp/terraform/issues/2305))
- * provider/aws: fix issue causing perpetual diff on ELB listeners
- when non-lowercase protocol strings were used ([#2246](https://github.com/hashicorp/terraform/issues/2246))
- * provider/aws: corrected frankfurt S3 website region ([#2259](https://github.com/hashicorp/terraform/issues/2259))
- * provider/aws: `aws_elasticache_cluster` port is required ([#2160](https://github.com/hashicorp/terraform/issues/2160))
- * provider/aws: Handle AMIs where RootBlockDevice does not appear in the
- BlockDeviceMapping, preventing root_block_device from working ([#2271](https://github.com/hashicorp/terraform/issues/2271))
- * provider/aws: fix `terraform show` with remote state ([#2371](https://github.com/hashicorp/terraform/issues/2371))
- * provider/aws: detect `instance_type` drift on `aws_instance` ([#2374](https://github.com/hashicorp/terraform/issues/2374))
- * provider/aws: fix crash when `security_group_rule` referenced non-existent
- security group ([#2434](https://github.com/hashicorp/terraform/issues/2434))
- * provider/aws: `aws_launch_configuration` retries if IAM instance
- profile is not ready yet. ([#2452](https://github.com/hashicorp/terraform/issues/2452))
- * provider/aws: `fqdn` is populated during creation for `aws_route53_record` ([#2528](https://github.com/hashicorp/terraform/issues/2528))
- * provider/aws: retry VPC delete on DependencyViolation due to eventual
- consistency ([#2532](https://github.com/hashicorp/terraform/issues/2532))
- * provider/aws: VPC peering connections in "failed" state are deleted ([#2544](https://github.com/hashicorp/terraform/issues/2544))
- * provider/aws: EIP deletion works if it was manually disassociated ([#2543](https://github.com/hashicorp/terraform/issues/2543))
- * provider/aws: `elasticache_subnet_group.subnet_ids` is now a required argument ([#2534](https://github.com/hashicorp/terraform/issues/2534))
- * provider/aws: handle nil response from VPN connection describes ([#2533](https://github.com/hashicorp/terraform/issues/2533))
- * provider/cloudflare: manual record deletion doesn't cause error ([#2545](https://github.com/hashicorp/terraform/issues/2545))
- * provider/digitalocean: handle case where droplet is deleted outside of
- terraform ([#2497](https://github.com/hashicorp/terraform/issues/2497))
- * provider/dme: No longer an error if record deleted manually ([#2546](https://github.com/hashicorp/terraform/issues/2546))
- * provider/docker: Fix issues when using containers with links ([#2327](https://github.com/hashicorp/terraform/issues/2327))
- * provider/openstack: fix panic case if API returns nil network ([#2448](https://github.com/hashicorp/terraform/issues/2448))
- * provider/template: fix issue causing "unknown variable" rendering errors
- when an existing set of template variables is changed ([#2386](https://github.com/hashicorp/terraform/issues/2386))
- * provisioner/chef: improve the decoding logic to prevent parameter not found errors ([#2206](https://github.com/hashicorp/terraform/issues/2206))
-
-## 0.5.3 (June 1, 2015)
-
-IMPROVEMENTS:
-
- * **New resource: `aws_kinesis_stream`** ([#2110](https://github.com/hashicorp/terraform/issues/2110))
- * **New resource: `aws_iam_server_certificate`** ([#2086](https://github.com/hashicorp/terraform/issues/2086))
- * **New resource: `aws_sqs_queue`** ([#1939](https://github.com/hashicorp/terraform/issues/1939))
- * **New resource: `aws_sns_topic`** ([#1974](https://github.com/hashicorp/terraform/issues/1974))
- * **New resource: `aws_sns_topic_subscription`** ([#1974](https://github.com/hashicorp/terraform/issues/1974))
- * **New resource: `aws_volume_attachment`** ([#2050](https://github.com/hashicorp/terraform/issues/2050))
- * **New resource: `google_storage_bucket`** ([#2060](https://github.com/hashicorp/terraform/issues/2060))
- * provider/aws: support ec2 termination protection ([#1988](https://github.com/hashicorp/terraform/issues/1988))
- * provider/aws: support for RDS Read Replicas ([#1946](https://github.com/hashicorp/terraform/issues/1946))
- * provider/aws: `aws_s3_bucket` add support for `policy` ([#1992](https://github.com/hashicorp/terraform/issues/1992))
- * provider/aws: `aws_ebs_volume` add support for `tags` ([#2135](https://github.com/hashicorp/terraform/issues/2135))
- * provider/aws: `aws_elasticache_cluster` Confirm node status before reporting
- available
- * provider/aws: `aws_network_acl` Add support for ICMP Protocol ([#2148](https://github.com/hashicorp/terraform/issues/2148))
- * provider/aws: New `force_destroy` parameter for S3 buckets, to destroy
- Buckets that contain objects ([#2007](https://github.com/hashicorp/terraform/issues/2007))
- * provider/aws: switching `health_check_type` on ASGs no longer requires
- resource refresh ([#2147](https://github.com/hashicorp/terraform/issues/2147))
- * provider/aws: ignore empty `vpc_security_group_ids` on `aws_instance` ([#2311](https://github.com/hashicorp/terraform/issues/2311))
-
-BUG FIXES:
-
- * provider/aws: Correctly handle AWS keypairs which no longer exist ([#2032](https://github.com/hashicorp/terraform/issues/2032))
- * provider/aws: Fix issue with restoring an Instance from snapshot ID ([#2120](https://github.com/hashicorp/terraform/issues/2120))
- * provider/template: store relative path in the state ([#2038](https://github.com/hashicorp/terraform/issues/2038))
- * provisioner/chef: fix interpolation in the Chef provisioner ([#2168](https://github.com/hashicorp/terraform/issues/2168))
- * provisioner/remote-exec: Don't prepend shebang on scripts that already
- have one ([#2041](https://github.com/hashicorp/terraform/issues/2041))
-
-## 0.5.2 (May 15, 2015)
-
-FEATURES:
-
- * **Chef provisioning**: You can now provision new hosts (both Linux and
- Windows) with [Chef](https://chef.io) using a native provisioner ([#1868](https://github.com/hashicorp/terraform/issues/1868))
-
-IMPROVEMENTS:
-
- * **New config function: `formatlist`** - Format lists in a similar way to `format`.
- Useful for creating URLs from a list of IPs. ([#1829](https://github.com/hashicorp/terraform/issues/1829))
- * **New resource: `aws_route53_zone_association`**
- * provider/aws: `aws_autoscaling_group` can wait for capacity in ELB
- via `min_elb_capacity` ([#1970](https://github.com/hashicorp/terraform/issues/1970))
- * provider/aws: `aws_db_instances` supports `license_model` ([#1966](https://github.com/hashicorp/terraform/issues/1966))
- * provider/aws: `aws_elasticache_cluster` add support for Tags ([#1965](https://github.com/hashicorp/terraform/issues/1965))
- * provider/aws: `aws_network_acl` Network ACLs can be applied to multiple subnets ([#1931](https://github.com/hashicorp/terraform/issues/1931))
- * provider/aws: `aws_s3_bucket` exports `hosted_zone_id` and `region` ([#1865](https://github.com/hashicorp/terraform/issues/1865))
- * provider/aws: `aws_s3_bucket` add support for website `redirect_all_requests_to` ([#1909](https://github.com/hashicorp/terraform/issues/1909))
- * provider/aws: `aws_route53_record` exports `fqdn` ([#1847](https://github.com/hashicorp/terraform/issues/1847))
- * provider/aws: `aws_route53_zone` can create private hosted zones ([#1526](https://github.com/hashicorp/terraform/issues/1526))
- * provider/google: `google_compute_instance` `scratch` attribute added ([#1920](https://github.com/hashicorp/terraform/issues/1920))
-
-BUG FIXES:
-
- * core: fix "resource not found" for interpolation issues with modules
- * core: fix unflattenable error for orphans ([#1922](https://github.com/hashicorp/terraform/issues/1922))
- * core: fix deadlock with create-before-destroy + modules ([#1949](https://github.com/hashicorp/terraform/issues/1949))
- * core: fix "no roots found" error with create-before-destroy ([#1953](https://github.com/hashicorp/terraform/issues/1953))
- * core: variables set with environment variables won't validate as
- not set without a default ([#1930](https://github.com/hashicorp/terraform/issues/1930))
- * core: resources with a blank ID in the state are now assumed to not exist ([#1905](https://github.com/hashicorp/terraform/issues/1905))
- * command/push: local vars override remote ones ([#1881](https://github.com/hashicorp/terraform/issues/1881))
- * provider/aws: Mark `aws_security_group` description as `ForceNew` ([#1871](https://github.com/hashicorp/terraform/issues/1871))
- * provider/aws: `aws_db_instance` ARN value is correct ([#1910](https://github.com/hashicorp/terraform/issues/1910))
- * provider/aws: `aws_db_instance` only submit modify request if there
- is a change. ([#1906](https://github.com/hashicorp/terraform/issues/1906))
- * provider/aws: `aws_elasticache_cluster` export missing information on cluster nodes ([#1965](https://github.com/hashicorp/terraform/issues/1965))
- * provider/aws: bad AMI on a launch configuration won't block refresh ([#1901](https://github.com/hashicorp/terraform/issues/1901))
- * provider/aws: `aws_security_group` + `aws_subnet` - destroy timeout increased
- to prevent DependencyViolation errors. ([#1886](https://github.com/hashicorp/terraform/issues/1886))
- * provider/google: `google_compute_instance` Local SSDs no-longer cause crash
- ([#1088](https://github.com/hashicorp/terraform/issues/1088))
- * provider/google: `google_http_health_check` Defaults now driven from Terraform,
- avoids errors on update ([#1894](https://github.com/hashicorp/terraform/issues/1894))
- * provider/google: `google_compute_template` Update Instance Template network
- definition to match changes to Instance ([#980](https://github.com/hashicorp/terraform/issues/980))
- * provider/template: Fix infinite diff ([#1898](https://github.com/hashicorp/terraform/issues/1898))
-
-## 0.5.1 (never released)
-
-This version was never released since we accidentally skipped it!
-
-## 0.5.0 (May 7, 2015)
-
-BACKWARDS INCOMPATIBILITIES:
-
- * provider/aws: Terraform now remove the default egress rule created by AWS in
- a new security group.
-
-FEATURES:
-
- * **Multi-provider (a.k.a multi-region)**: Multiple instances of a single
- provider can be configured so resources can apply to different settings.
- As an example, this allows Terraform to manage multiple regions with AWS.
- * **Environmental variables to set variables**: Environment variables can be
- used to set variables. The environment variables must be in the format
- `TF_VAR_name` and this will be checked last for a value.
- * **New remote state backend: `s3`**: You can now store remote state in
- an S3 bucket. ([#1723](https://github.com/hashicorp/terraform/issues/1723))
- * **Automatic AWS retries**: This release includes a lot of improvement
- around automatic retries of transient errors in AWS. The number of
- retry attempts is also configurable.
- * **Templates**: A new `template_file` resource allows long strings needing
- variable interpolation to be moved into files. ([#1778](https://github.com/hashicorp/terraform/issues/1778))
- * **Provision with WinRM**: Provisioners can now run remote commands on
- Windows hosts. ([#1483](https://github.com/hashicorp/terraform/issues/1483))
-
-IMPROVEMENTS:
-
- * **New config function: `length`** - Get the length of a string or a list.
- Useful in conjunction with `split`. ([#1495](https://github.com/hashicorp/terraform/issues/1495))
- * **New resource: `aws_app_cookie_stickiness_policy`**
- * **New resource: `aws_customer_gateway`**
- * **New resource: `aws_ebs_volume`**
- * **New resource: `aws_elasticache_cluster`**
- * **New resource: `aws_elasticache_security_group`**
- * **New resource: `aws_elasticache_subnet_group`**
- * **New resource: `aws_iam_access_key`**
- * **New resource: `aws_iam_group_policy`**
- * **New resource: `aws_iam_group`**
- * **New resource: `aws_iam_instance_profile`**
- * **New resource: `aws_iam_policy`**
- * **New resource: `aws_iam_role_policy`**
- * **New resource: `aws_iam_role`**
- * **New resource: `aws_iam_user_policy`**
- * **New resource: `aws_iam_user`**
- * **New resource: `aws_lb_cookie_stickiness_policy`**
- * **New resource: `aws_proxy_protocol_policy`**
- * **New resource: `aws_security_group_rule`**
- * **New resource: `aws_vpc_dhcp_options_association`**
- * **New resource: `aws_vpc_dhcp_options`**
- * **New resource: `aws_vpn_connection_route`**
- * **New resource: `google_dns_managed_zone`**
- * **New resource: `google_dns_record_set`**
- * **Migrate to upstream AWS SDK:** Migrate the AWS provider to
- [awslabs/aws-sdk-go](https://github.com/awslabs/aws-sdk-go),
- the official `awslabs` library. Previously we had forked the library for
- stability while `awslabs` refactored. Now that work has completed, and we've
- migrated back to the upstream version.
- * core: Improve error message on diff mismatch ([#1501](https://github.com/hashicorp/terraform/issues/1501))
- * provisioner/file: expand `~` in source path ([#1569](https://github.com/hashicorp/terraform/issues/1569))
- * provider/aws: Better retry logic, now retries up to 11 times by default
- with exponentional backoff. This number is configurable. ([#1787](https://github.com/hashicorp/terraform/issues/1787))
- * provider/aws: Improved credential detection ([#1470](https://github.com/hashicorp/terraform/issues/1470))
- * provider/aws: Can specify a `token` via the config file ([#1601](https://github.com/hashicorp/terraform/issues/1601))
- * provider/aws: Added new `vpc_security_group_ids` attribute for AWS
- Instances. If using a VPC, you can now modify the security groups for that
- Instance without destroying it ([#1539](https://github.com/hashicorp/terraform/issues/1539))
- * provider/aws: White or blacklist account IDs that can be used to
- protect against accidents. ([#1595](https://github.com/hashicorp/terraform/issues/1595))
- * provider/aws: Add a subset of IAM resources ([#939](https://github.com/hashicorp/terraform/issues/939))
- * provider/aws: `aws_autoscaling_group` retries deletes through "in progress"
- errors ([#1840](https://github.com/hashicorp/terraform/issues/1840))
- * provider/aws: `aws_autoscaling_group` waits for healthy capacity during
- ASG creation ([#1839](https://github.com/hashicorp/terraform/issues/1839))
- * provider/aws: `aws_instance` supports placement groups ([#1358](https://github.com/hashicorp/terraform/issues/1358))
- * provider/aws: `aws_eip` supports network interface attachment ([#1681](https://github.com/hashicorp/terraform/issues/1681))
- * provider/aws: `aws_elb` supports in-place changing of listeners ([#1619](https://github.com/hashicorp/terraform/issues/1619))
- * provider/aws: `aws_elb` supports connection draining settings ([#1502](https://github.com/hashicorp/terraform/issues/1502))
- * provider/aws: `aws_elb` increase default idle timeout to 60s ([#1646](https://github.com/hashicorp/terraform/issues/1646))
- * provider/aws: `aws_key_pair` name can be omitted and generated ([#1751](https://github.com/hashicorp/terraform/issues/1751))
- * provider/aws: `aws_network_acl` improved validation for network ACL ports
- and protocols ([#1798](https://github.com/hashicorp/terraform/issues/1798)) ([#1808](https://github.com/hashicorp/terraform/issues/1808))
- * provider/aws: `aws_route_table` can target network interfaces ([#968](https://github.com/hashicorp/terraform/issues/968))
- * provider/aws: `aws_route_table` can specify propagating VGWs ([#1516](https://github.com/hashicorp/terraform/issues/1516))
- * provider/aws: `aws_route53_record` supports weighted sets ([#1578](https://github.com/hashicorp/terraform/issues/1578))
- * provider/aws: `aws_route53_zone` exports nameservers ([#1525](https://github.com/hashicorp/terraform/issues/1525))
- * provider/aws: `aws_s3_bucket` website support ([#1738](https://github.com/hashicorp/terraform/issues/1738))
- * provider/aws: `aws_security_group` name becomes optional and can be
- automatically set to a unique identifier; this helps with
- `create_before_destroy` scenarios ([#1632](https://github.com/hashicorp/terraform/issues/1632))
- * provider/aws: `aws_security_group` description becomes optional with a
- static default value ([#1632](https://github.com/hashicorp/terraform/issues/1632))
- * provider/aws: automatically set the private IP as the SSH address
- if not specified and no public IP is available ([#1623](https://github.com/hashicorp/terraform/issues/1623))
- * provider/aws: `aws_elb` exports `source_security_group` field ([#1708](https://github.com/hashicorp/terraform/issues/1708))
- * provider/aws: `aws_route53_record` supports alias targeting ([#1775](https://github.com/hashicorp/terraform/issues/1775))
- * provider/aws: Remove default AWS egress rule for newly created Security Groups ([#1765](https://github.com/hashicorp/terraform/issues/1765))
- * provider/consul: add `scheme` configuration argument ([#1838](https://github.com/hashicorp/terraform/issues/1838))
- * provider/docker: `docker_container` can specify links ([#1564](https://github.com/hashicorp/terraform/issues/1564))
- * provider/google: `resource_compute_disk` supports snapshots ([#1426](https://github.com/hashicorp/terraform/issues/1426))
- * provider/google: `resource_compute_instance` supports specifying the
- device name ([#1426](https://github.com/hashicorp/terraform/issues/1426))
- * provider/openstack: Floating IP support for LBaaS ([#1550](https://github.com/hashicorp/terraform/issues/1550))
- * provider/openstack: Add AZ to `openstack_blockstorage_volume_v1` ([#1726](https://github.com/hashicorp/terraform/issues/1726))
-
-BUG FIXES:
-
- * core: Fix graph cycle issues surrounding modules ([#1582](https://github.com/hashicorp/terraform/issues/1582)) ([#1637](https://github.com/hashicorp/terraform/issues/1637))
- * core: math on arbitrary variables works if first operand isn't a
- numeric primitive. ([#1381](https://github.com/hashicorp/terraform/issues/1381))
- * core: avoid unnecessary cycles by pruning tainted destroys from
- graph if there are no tainted resources ([#1475](https://github.com/hashicorp/terraform/issues/1475))
- * core: fix issue where destroy nodes weren't pruned in specific
- edge cases around matching prefixes, which could cause cycles ([#1527](https://github.com/hashicorp/terraform/issues/1527))
- * core: fix issue causing diff mismatch errors in certain scenarios during
- resource replacement ([#1515](https://github.com/hashicorp/terraform/issues/1515))
- * core: dependencies on resources with a different index work when
- count > 1 ([#1540](https://github.com/hashicorp/terraform/issues/1540))
- * core: don't panic if variable default type is invalid ([#1344](https://github.com/hashicorp/terraform/issues/1344))
- * core: fix perpetual diff issue for computed maps that are empty ([#1607](https://github.com/hashicorp/terraform/issues/1607))
- * core: validation added to check for `self` variables in modules ([#1609](https://github.com/hashicorp/terraform/issues/1609))
- * core: fix edge case where validation didn't pick up unknown fields
- if the value was computed ([#1507](https://github.com/hashicorp/terraform/issues/1507))
- * core: Fix issue where values in sets on resources couldn't contain
- hyphens. ([#1641](https://github.com/hashicorp/terraform/issues/1641))
- * core: Outputs removed from the config are removed from the state ([#1714](https://github.com/hashicorp/terraform/issues/1714))
- * core: Validate against the worst-case graph during plan phase to catch cycles
- that would previously only show up during apply ([#1655](https://github.com/hashicorp/terraform/issues/1655))
- * core: Referencing invalid module output in module validates ([#1448](https://github.com/hashicorp/terraform/issues/1448))
- * command: remote states with uppercase types work ([#1356](https://github.com/hashicorp/terraform/issues/1356))
- * provider/aws: Support `AWS_SECURITY_TOKEN` env var again ([#1785](https://github.com/hashicorp/terraform/issues/1785))
- * provider/aws: Don't save "instance" for EIP if association fails ([#1776](https://github.com/hashicorp/terraform/issues/1776))
- * provider/aws: launch configuration ID set after create success ([#1518](https://github.com/hashicorp/terraform/issues/1518))
- * provider/aws: Fixed an issue with creating ELBs without any tags ([#1580](https://github.com/hashicorp/terraform/issues/1580))
- * provider/aws: Fix issue in Security Groups with empty IPRanges ([#1612](https://github.com/hashicorp/terraform/issues/1612))
- * provider/aws: manually deleted S3 buckets are refreshed properly ([#1574](https://github.com/hashicorp/terraform/issues/1574))
- * provider/aws: only check for EIP allocation ID in VPC ([#1555](https://github.com/hashicorp/terraform/issues/1555))
- * provider/aws: raw protocol numbers work in `aws_network_acl` ([#1435](https://github.com/hashicorp/terraform/issues/1435))
- * provider/aws: Block devices can be encrypted ([#1718](https://github.com/hashicorp/terraform/issues/1718))
- * provider/aws: ASG health check grace period can be updated in-place ([#1682](https://github.com/hashicorp/terraform/issues/1682))
- * provider/aws: ELB security groups can be updated in-place ([#1662](https://github.com/hashicorp/terraform/issues/1662))
- * provider/aws: `aws_main_route_table_association` can be deleted
- manually ([#1806](https://github.com/hashicorp/terraform/issues/1806))
- * provider/docker: image can reference more complex image addresses,
- such as with private repos with ports ([#1818](https://github.com/hashicorp/terraform/issues/1818))
- * provider/openstack: region config is not required ([#1441](https://github.com/hashicorp/terraform/issues/1441))
- * provider/openstack: `enable_dhcp` for networking subnet should be bool ([#1741](https://github.com/hashicorp/terraform/issues/1741))
- * provisioner/remote-exec: add random number to uploaded script path so
- that parallel provisions work ([#1588](https://github.com/hashicorp/terraform/issues/1588))
- * provisioner/remote-exec: chmod the script to 0755 properly ([#1796](https://github.com/hashicorp/terraform/issues/1796))
-
-## 0.4.2 (April 10, 2015)
-
-BUG FIXES:
-
- * core: refresh won't remove outputs from state file ([#1369](https://github.com/hashicorp/terraform/issues/1369))
- * core: clarify "unknown variable" error ([#1480](https://github.com/hashicorp/terraform/issues/1480))
- * core: properly merge parent provider configs when asking for input
- * provider/aws: fix panic possibility if RDS DB name is empty ([#1460](https://github.com/hashicorp/terraform/issues/1460))
- * provider/aws: fix issue detecting credentials for some resources ([#1470](https://github.com/hashicorp/terraform/issues/1470))
- * provider/google: fix issue causing unresolvable diffs when using legacy
- `network` field on `google_compute_instance` ([#1458](https://github.com/hashicorp/terraform/issues/1458))
-
-## 0.4.1 (April 9, 2015)
-
-IMPROVEMENTS:
-
- * provider/aws: Route 53 records can now update `ttl` and `records` attributes
- without destroying/creating the record ([#1396](https://github.com/hashicorp/terraform/issues/1396))
- * provider/aws: Support changing additional attributes of RDS databases
- without forcing a new resource ([#1382](https://github.com/hashicorp/terraform/issues/1382))
-
-BUG FIXES:
-
- * core: module paths in ".terraform" are consistent across different
- systems so copying your ".terraform" folder works. ([#1418](https://github.com/hashicorp/terraform/issues/1418))
- * core: don't validate providers too early when nested in a module ([#1380](https://github.com/hashicorp/terraform/issues/1380))
- * core: fix race condition in `count.index` interpolation ([#1454](https://github.com/hashicorp/terraform/issues/1454))
- * core: properly initialize provisioners, fixing resource targeting
- during destroy ([#1544](https://github.com/hashicorp/terraform/issues/1544))
- * command/push: don't ask for input if terraform.tfvars is present
- * command/remote-config: remove spurrious error "nil" when initializing
- remote state on a new configuration. ([#1392](https://github.com/hashicorp/terraform/issues/1392))
- * provider/aws: Fix issue with Route 53 and pre-existing Hosted Zones ([#1415](https://github.com/hashicorp/terraform/issues/1415))
- * provider/aws: Fix refresh issue in Route 53 hosted zone ([#1384](https://github.com/hashicorp/terraform/issues/1384))
- * provider/aws: Fix issue when changing map-public-ip in Subnets #1234
- * provider/aws: Fix issue finding db subnets ([#1377](https://github.com/hashicorp/terraform/issues/1377))
- * provider/aws: Fix issues with `*_block_device` attributes on instances and
- launch configs creating unresolvable diffs when certain optional
- parameters were omitted from the config ([#1445](https://github.com/hashicorp/terraform/issues/1445))
- * provider/aws: Fix issue with `aws_launch_configuration` causing an
- unnecessary diff for pre-0.4 environments ([#1371](https://github.com/hashicorp/terraform/issues/1371))
- * provider/aws: Fix several related issues with `aws_launch_configuration`
- causing unresolvable diffs ([#1444](https://github.com/hashicorp/terraform/issues/1444))
- * provider/aws: Fix issue preventing launch configurations from being valid
- in EC2 Classic ([#1412](https://github.com/hashicorp/terraform/issues/1412))
- * provider/aws: Fix issue in updating Route 53 records on refresh/read. ([#1430](https://github.com/hashicorp/terraform/issues/1430))
- * provider/docker: Don't ask for `cert_path` input on every run ([#1432](https://github.com/hashicorp/terraform/issues/1432))
- * provider/google: Fix issue causing unresolvable diff on instances with
- `network_interface` ([#1427](https://github.com/hashicorp/terraform/issues/1427))
-
-## 0.4.0 (April 2, 2015)
-
-BACKWARDS INCOMPATIBILITIES:
-
- * Commands `terraform push` and `terraform pull` are now nested under
- the `remote` command: `terraform remote push` and `terraform remote pull`.
- The old `remote` functionality is now at `terraform remote config`. This
- consolidates all remote state management under one command.
- * Period-prefixed configuration files are now ignored. This might break
- existing Terraform configurations if you had period-prefixed files.
- * The `block_device` attribute of `aws_instance` has been removed in favor
- of three more specific attributes to specify block device mappings:
- `root_block_device`, `ebs_block_device`, and `ephemeral_block_device`.
- Configurations using the old attribute will generate a validation error
- indicating that they must be updated to use the new fields ([#1045](https://github.com/hashicorp/terraform/issues/1045)).
-
-FEATURES:
-
- * **New provider: `dme` (DNSMadeEasy)** ([#855](https://github.com/hashicorp/terraform/issues/855))
- * **New provider: `docker` (Docker)** - Manage container lifecycle
- using the standard Docker API. ([#855](https://github.com/hashicorp/terraform/issues/855))
- * **New provider: `openstack` (OpenStack)** - Interact with the many resources
- provided by OpenStack. ([#924](https://github.com/hashicorp/terraform/issues/924))
- * **New feature: `terraform_remote_state` resource** - Reference remote
- states from other Terraform runs to use Terraform outputs as inputs
- into another Terraform run.
- * **New command: `taint`** - Manually mark a resource as tainted, causing
- a destroy and recreate on the next plan/apply.
- * **New resource: `aws_vpn_gateway`** ([#1137](https://github.com/hashicorp/terraform/issues/1137))
- * **New resource: `aws_elastic_network_interfaces`** ([#1149](https://github.com/hashicorp/terraform/issues/1149))
- * **Self-variables** can be used to reference the current resource's
- attributes within a provisioner. Ex. `${self.private_ip_address}` ([#1033](https://github.com/hashicorp/terraform/issues/1033))
- * **Continuous state** saving during `terraform apply`. The state file is
- continuously updated as apply is running, meaning that the state is
- less likely to become corrupt in a catastrophic case: terraform panic
- or system killing Terraform.
- * **Math operations** in interpolations. You can now do things like
- `${count.index + 1}`. ([#1068](https://github.com/hashicorp/terraform/issues/1068))
- * **New AWS SDK:** Move to `aws-sdk-go` (hashicorp/aws-sdk-go),
- a fork of the official `awslabs` repo. We forked for stability while
- `awslabs` refactored the library, and will move back to the officially
- supported version in the next release.
-
-IMPROVEMENTS:
-
- * **New config function: `format`** - Format a string using `sprintf`
- format. ([#1096](https://github.com/hashicorp/terraform/issues/1096))
- * **New config function: `replace`** - Search and replace string values.
- Search can be a regular expression. See documentation for more
- info. ([#1029](https://github.com/hashicorp/terraform/issues/1029))
- * **New config function: `split`** - Split a value based on a delimiter.
- This is useful for faking lists as parameters to modules.
- * **New resource: `digitalocean_ssh_key`** ([#1074](https://github.com/hashicorp/terraform/issues/1074))
- * config: Expand `~` with homedir in `file()` paths ([#1338](https://github.com/hashicorp/terraform/issues/1338))
- * core: The serial of the state is only updated if there is an actual
- change. This will lower the amount of state changing on things
- like refresh.
- * core: Autoload `terraform.tfvars.json` as well as `terraform.tfvars` ([#1030](https://github.com/hashicorp/terraform/issues/1030))
- * core: `.tf` files that start with a period are now ignored. ([#1227](https://github.com/hashicorp/terraform/issues/1227))
- * command/remote-config: After enabling remote state, a `pull` is
- automatically done initially.
- * providers/google: Add `size` option to disk blocks for instances. ([#1284](https://github.com/hashicorp/terraform/issues/1284))
- * providers/aws: Improve support for tagging resources.
- * providers/aws: Add a short syntax for Route 53 Record names, e.g.
- `www` instead of `www.example.com`.
- * providers/aws: Improve dependency violation error handling, when deleting
- Internet Gateways or Auto Scaling groups ([#1325](https://github.com/hashicorp/terraform/issues/1325)).
- * provider/aws: Add non-destructive updates to AWS RDS. You can now upgrade
- `engine_version`, `parameter_group_name`, and `multi_az` without forcing
- a new database to be created.([#1341](https://github.com/hashicorp/terraform/issues/1341))
- * providers/aws: Full support for block device mappings on instances and
- launch configurations [GH-1045, GH-1364]
- * provisioners/remote-exec: SSH agent support. ([#1208](https://github.com/hashicorp/terraform/issues/1208))
-
-BUG FIXES:
-
- * core: module outputs can be used as inputs to other modules ([#822](https://github.com/hashicorp/terraform/issues/822))
- * core: Self-referencing splat variables are no longer allowed in
- provisioners. ([#795](https://github.com/hashicorp/terraform/issues/795))([#868](https://github.com/hashicorp/terraform/issues/868))
- * core: Validate that `depends_on` doesn't contain interpolations. ([#1015](https://github.com/hashicorp/terraform/issues/1015))
- * core: Module inputs can be non-strings. ([#819](https://github.com/hashicorp/terraform/issues/819))
- * core: Fix invalid plan that resulted in "diffs don't match" error when
- a computed attribute was used as part of a set parameter. ([#1073](https://github.com/hashicorp/terraform/issues/1073))
- * core: Fix edge case where state containing both "resource" and
- "resource.0" would ignore the latter completely. ([#1086](https://github.com/hashicorp/terraform/issues/1086))
- * core: Modules with a source of a relative file path moving up
- directories work properly, i.e. "../a" ([#1232](https://github.com/hashicorp/terraform/issues/1232))
- * providers/aws: manually deleted VPC removes it from the state
- * providers/aws: `source_dest_check` regression fixed (now works). ([#1020](https://github.com/hashicorp/terraform/issues/1020))
- * providers/aws: Longer wait times for DB instances.
- * providers/aws: Longer wait times for route53 records (30 mins). ([#1164](https://github.com/hashicorp/terraform/issues/1164))
- * providers/aws: Fix support for TXT records in Route 53. ([#1213](https://github.com/hashicorp/terraform/issues/1213))
- * providers/aws: Fix support for wildcard records in Route 53. ([#1222](https://github.com/hashicorp/terraform/issues/1222))
- * providers/aws: Fix issue with ignoring the 'self' attribute of a
- Security Group rule. ([#1223](https://github.com/hashicorp/terraform/issues/1223))
- * providers/aws: Fix issue with `sql_mode` in RDS parameter group always
- causing an update. ([#1225](https://github.com/hashicorp/terraform/issues/1225))
- * providers/aws: Fix dependency violation with subnets and security groups
- ([#1252](https://github.com/hashicorp/terraform/issues/1252))
- * providers/aws: Fix issue with refreshing `db_subnet_groups` causing an error
- instead of updating state ([#1254](https://github.com/hashicorp/terraform/issues/1254))
- * providers/aws: Prevent empty string to be used as default
- `health_check_type` ([#1052](https://github.com/hashicorp/terraform/issues/1052))
- * providers/aws: Add tags on AWS IG creation, not just on update ([#1176](https://github.com/hashicorp/terraform/issues/1176))
- * providers/digitalocean: Waits until droplet is ready to be destroyed ([#1057](https://github.com/hashicorp/terraform/issues/1057))
- * providers/digitalocean: More lenient about 404's while waiting ([#1062](https://github.com/hashicorp/terraform/issues/1062))
- * providers/digitalocean: FQDN for domain records in CNAME, MX, NS, etc.
- Also fixes invalid updates in plans. ([#863](https://github.com/hashicorp/terraform/issues/863))
- * providers/google: Network data in state was not being stored. ([#1095](https://github.com/hashicorp/terraform/issues/1095))
- * providers/heroku: Fix panic when config vars block was empty. ([#1211](https://github.com/hashicorp/terraform/issues/1211))
-
-PLUGIN CHANGES:
-
- * New `helper/schema` fields for resources: `Deprecated` and `Removed` allow
- plugins to generate warning or error messages when a given attribute is used.
-
-## 0.3.7 (February 19, 2015)
-
-IMPROVEMENTS:
-
- * **New resources: `google_compute_forwarding_rule`, `google_compute_http_health_check`,
- and `google_compute_target_pool`** - Together these provide network-level
- load balancing. ([#588](https://github.com/hashicorp/terraform/issues/588))
- * **New resource: `aws_main_route_table_association`** - Manage the main routing table
- of a VPC. ([#918](https://github.com/hashicorp/terraform/issues/918))
- * **New resource: `aws_vpc_peering_connection`** ([#963](https://github.com/hashicorp/terraform/issues/963))
- * core: Formalized the syntax of interpolations and documented it
- very heavily.
- * core: Strings in interpolations can now contain further interpolations,
- e.g.: `foo ${bar("${baz}")}`.
- * provider/aws: Internet gateway supports tags ([#720](https://github.com/hashicorp/terraform/issues/720))
- * provider/aws: Support the more standard environmental variable names
- for access key and secret keys. ([#851](https://github.com/hashicorp/terraform/issues/851))
- * provider/aws: The `aws_db_instance` resource no longer requires both
- `final_snapshot_identifier` and `skip_final_snapshot`; the presence or
- absence of the former now implies the latter. ([#874](https://github.com/hashicorp/terraform/issues/874))
- * provider/aws: Avoid unnecessary update of `aws_subnet` when
- `map_public_ip_on_launch` is not specified in config. ([#898](https://github.com/hashicorp/terraform/issues/898))
- * provider/aws: Add `apply_method` to `aws_db_parameter_group` ([#897](https://github.com/hashicorp/terraform/issues/897))
- * provider/aws: Add `storage_type` to `aws_db_instance` ([#896](https://github.com/hashicorp/terraform/issues/896))
- * provider/aws: ELB can update listeners without requiring new. ([#721](https://github.com/hashicorp/terraform/issues/721))
- * provider/aws: Security group support egress rules. ([#856](https://github.com/hashicorp/terraform/issues/856))
- * provider/aws: Route table supports VPC peering connection on route. ([#963](https://github.com/hashicorp/terraform/issues/963))
- * provider/aws: Add `root_block_device` to `aws_db_instance` ([#998](https://github.com/hashicorp/terraform/issues/998))
- * provider/google: Remove "client secrets file", as it's no longer necessary
- for API authentication ([#884](https://github.com/hashicorp/terraform/issues/884)).
- * provider/google: Expose `self_link` on `google_compute_instance` ([#906](https://github.com/hashicorp/terraform/issues/906))
-
-BUG FIXES:
-
- * core: Fixing use of remote state with plan files. ([#741](https://github.com/hashicorp/terraform/issues/741))
- * core: Fix a panic case when certain invalid types were used in
- the configuration. ([#691](https://github.com/hashicorp/terraform/issues/691))
- * core: Escape characters `\"`, `\n`, and `\\` now work in interpolations.
- * core: Fix crash that could occur when there are exactly zero providers
- installed on a system. ([#786](https://github.com/hashicorp/terraform/issues/786))
- * core: JSON TF configurations can configure provisioners. ([#807](https://github.com/hashicorp/terraform/issues/807))
- * core: Sort `depends_on` in state to prevent unnecessary file changes. ([#928](https://github.com/hashicorp/terraform/issues/928))
- * core: State containing the zero value won't cause a diff with the
- lack of a value. ([#952](https://github.com/hashicorp/terraform/issues/952))
- * core: If a set type becomes empty, the state will be properly updated
- to remove it. ([#952](https://github.com/hashicorp/terraform/issues/952))
- * core: Bare "splat" variables are not allowed in provisioners. ([#636](https://github.com/hashicorp/terraform/issues/636))
- * core: Invalid configuration keys to sub-resources are now errors. ([#740](https://github.com/hashicorp/terraform/issues/740))
- * command/apply: Won't try to initialize modules in some cases when
- no arguments are given. ([#780](https://github.com/hashicorp/terraform/issues/780))
- * command/apply: Fix regression where user variables weren't asked ([#736](https://github.com/hashicorp/terraform/issues/736))
- * helper/hashcode: Update `hash.String()` to always return a positive index.
- Fixes issue where specific strings would convert to a negative index
- and be omitted when creating Route53 records. ([#967](https://github.com/hashicorp/terraform/issues/967))
- * provider/aws: Automatically suffix the Route53 zone name on record names. ([#312](https://github.com/hashicorp/terraform/issues/312))
- * provider/aws: Instance should ignore root EBS devices. ([#877](https://github.com/hashicorp/terraform/issues/877))
- * provider/aws: Fix `aws_db_instance` to not recreate each time. ([#874](https://github.com/hashicorp/terraform/issues/874))
- * provider/aws: ASG termination policies are synced with remote state. ([#923](https://github.com/hashicorp/terraform/issues/923))
- * provider/aws: ASG launch configuration setting can now be updated in-place. ([#904](https://github.com/hashicorp/terraform/issues/904))
- * provider/aws: No read error when subnet is manually deleted. ([#889](https://github.com/hashicorp/terraform/issues/889))
- * provider/aws: Tags with empty values (empty string) are properly
- managed. ([#968](https://github.com/hashicorp/terraform/issues/968))
- * provider/aws: Fix case where route table would delete its routes
- on an unrelated change. ([#990](https://github.com/hashicorp/terraform/issues/990))
- * provider/google: Fix bug preventing instances with metadata from being
- created ([#884](https://github.com/hashicorp/terraform/issues/884)).
-
-PLUGIN CHANGES:
-
- * New `helper/schema` type: `TypeFloat` ([#594](https://github.com/hashicorp/terraform/issues/594))
- * New `helper/schema` field for resources: `Exists` must point to a function
- to check for the existence of a resource. This is used to properly
- handle the case where the resource was manually deleted. ([#766](https://github.com/hashicorp/terraform/issues/766))
- * There is a semantic change in `GetOk` where it will return `true` if
- there is any value in the diff that is _non-zero_. Before, it would
- return true only if there was a value in the diff.
-
-## 0.3.6 (January 6, 2015)
-
-FEATURES:
-
- * **New provider: `cloudstack`**
-
-IMPROVEMENTS:
-
- * **New resource: `aws_key_pair`** - Import a public key into AWS. ([#695](https://github.com/hashicorp/terraform/issues/695))
- * **New resource: `heroku_cert`** - Manage Heroku app certs.
- * provider/aws: Support `eu-central-1`, `cn-north-1`, and GovCloud. ([#525](https://github.com/hashicorp/terraform/issues/525))
- * provider/aws: `route_table` can have tags. ([#648](https://github.com/hashicorp/terraform/issues/648))
- * provider/google: Support Ubuntu images. ([#724](https://github.com/hashicorp/terraform/issues/724))
- * provider/google: Support for service accounts. ([#725](https://github.com/hashicorp/terraform/issues/725))
-
-BUG FIXES:
-
- * core: temporary/hidden files that look like Terraform configurations
- are no longer loaded. ([#548](https://github.com/hashicorp/terraform/issues/548))
- * core: Set types in resources now result in deterministic states,
- resulting in cleaner plans. ([#663](https://github.com/hashicorp/terraform/issues/663))
- * core: fix issue where "diff was not the same" would come up with
- diffing lists. ([#661](https://github.com/hashicorp/terraform/issues/661))
- * core: fix crash where module inputs weren't strings, and add more
- validation around invalid types here. ([#624](https://github.com/hashicorp/terraform/issues/624))
- * core: fix error when using a computed module output as an input to
- another module. ([#659](https://github.com/hashicorp/terraform/issues/659))
- * core: map overrides in "terraform.tfvars" no longer result in a syntax
- error. ([#647](https://github.com/hashicorp/terraform/issues/647))
- * core: Colon character works in interpolation ([#700](https://github.com/hashicorp/terraform/issues/700))
- * provider/aws: Fix crash case when internet gateway is not attached
- to any VPC. ([#664](https://github.com/hashicorp/terraform/issues/664))
- * provider/aws: `vpc_id` is no longer required. ([#667](https://github.com/hashicorp/terraform/issues/667))
- * provider/aws: `availability_zones` on ELB will contain more than one
- AZ if it is set as such. ([#682](https://github.com/hashicorp/terraform/issues/682))
- * provider/aws: More fields are marked as "computed" properly, resulting
- in more accurate diffs for AWS instances. ([#712](https://github.com/hashicorp/terraform/issues/712))
- * provider/aws: Fix panic case by using the wrong type when setting
- volume size for AWS instances. ([#712](https://github.com/hashicorp/terraform/issues/712))
- * provider/aws: route table ignores routes with 'EnableVgwRoutePropagation'
- origin since those come from gateways. ([#722](https://github.com/hashicorp/terraform/issues/722))
- * provider/aws: Default network ACL ID and default security group ID
- support for `aws_vpc`. ([#704](https://github.com/hashicorp/terraform/issues/704))
- * provider/aws: Tags are not marked as computed. This introduces another
- issue with not detecting external tags, but this will be fixed in
- the future. ([#730](https://github.com/hashicorp/terraform/issues/730))
-
-## 0.3.5 (December 9, 2014)
-
-FEATURES:
-
- * **Remote State**: State files can now be stored remotely via HTTP,
- Consul, or HashiCorp's Atlas.
- * **New Provider: `atlas`**: Retrieve artifacts for deployment from
- HashiCorp's Atlas service.
- * New `element()` function to index into arrays
-
-IMPROVEMENTS:
-
- * provider/aws: Support tenancy for aws\_instance
- * provider/aws: Support block devices for aws\_instance
- * provider/aws: Support virtual\_name on block device
- * provider/aws: Improve RDS reliability (more grace time)
- * provider/aws: Added aws\_db\_parameter\_group resource
- * provider/aws: Added tag support to aws\_subnet
- * provider/aws: Routes in RouteTable are optional
- * provider/aws: associate\_public\_ip\_address on aws\_launch\_configuration
- * provider/aws: Added aws\_network\_acl
- * provider/aws: Ingress rules in security groups are optional
- * provider/aws: Support termination policy for ASG
- * provider/digitalocean: Improved droplet size compatibility
-
-BUG FIXES:
-
- * core: Fixed issue causing double delete. ([#555](https://github.com/hashicorp/terraform/issues/555))
- * core: Fixed issue with create-before-destroy not being respected in
- some circumstances.
- * core: Fixing issue with count expansion with non-homogenous instance
- plans.
- * core: Fix issue with referencing resource variables from resources
- that don't exist yet within resources that do exist, or modules.
- * core: Fixing depedency handling for modules
- * core: Fixing output handling ([#474](https://github.com/hashicorp/terraform/issues/474))
- * core: Fixing count interpolation in modules
- * core: Fixing multi-var without module state
- * core: Fixing HCL variable declaration
- * core: Fixing resource interpolation for without state
- * core: Fixing handling of computed maps
- * command/init: Fixing recursion issue ([#518](https://github.com/hashicorp/terraform/issues/518))
- * command: Validate config before requesting input ([#602](https://github.com/hashicorp/terraform/issues/602))
- * build: Fixing GOPATHs with spaces
-
-MISC:
-
- * provider/aws: Upgraded to helper.Schema
- * provider/heroku: Upgraded to helper.Schema
- * provider/mailgun: Upgraded to helper.Schema
- * provider/dnsimple: Upgraded to helper.Schema
- * provider/cloudflare: Upgraded to helper.Schema
- * provider/digitalocean: Upgraded to helper.Schema
- * provider/google: Upgraded to helper.Schema
-
-## 0.3.1 (October 21, 2014)
-
-IMPROVEMENTS:
-
- * providers/aws: Support tags for security groups.
- * providers/google: Add "external\_address" to network attributes ([#454](https://github.com/hashicorp/terraform/issues/454))
- * providers/google: External address is used as default connection host. ([#454](https://github.com/hashicorp/terraform/issues/454))
- * providers/heroku: Support `locked` and `personal` booleans on organization
- settings. ([#406](https://github.com/hashicorp/terraform/issues/406))
-
-BUG FIXES:
-
- * core: Remove panic case when applying with a plan that generates no
- new state. ([#403](https://github.com/hashicorp/terraform/issues/403))
- * core: Fix a hang that can occur with enough resources. ([#410](https://github.com/hashicorp/terraform/issues/410))
- * core: Config validation will not error if the field is being
- computed so the value is still unknown.
- * core: If a resource fails to create and has provisioners, it is
- marked as tainted. ([#434](https://github.com/hashicorp/terraform/issues/434))
- * core: Set types are validated to be sets. ([#413](https://github.com/hashicorp/terraform/issues/413))
- * core: String types are validated properly. ([#460](https://github.com/hashicorp/terraform/issues/460))
- * core: Fix crash case when destroying with tainted resources. ([#412](https://github.com/hashicorp/terraform/issues/412))
- * core: Don't execute provisioners in some cases on destroy.
- * core: Inherited provider configurations will be properly interpolated. ([#418](https://github.com/hashicorp/terraform/issues/418))
- * core: Refresh works properly if there are outputs that depend on resources
- that aren't yet created. ([#483](https://github.com/hashicorp/terraform/issues/483))
- * providers/aws: Refresh of launch configs and autoscale groups load
- the correct data and don't incorrectly recreate themselves. ([#425](https://github.com/hashicorp/terraform/issues/425))
- * providers/aws: Fix case where ELB would incorrectly plan to modify
- listeners (with the same data) in some cases.
- * providers/aws: Retry destroying internet gateway for some amount of time
- if there is a dependency violation since it is probably just eventual
- consistency (public facing resources being destroyed). ([#447](https://github.com/hashicorp/terraform/issues/447))
- * providers/aws: Retry deleting security groups for some amount of time
- if there is a dependency violation since it is probably just eventual
- consistency. ([#436](https://github.com/hashicorp/terraform/issues/436))
- * providers/aws: Retry deleting subnet for some amount of time if there is a
- dependency violation since probably asynchronous destroy events take
- place still. ([#449](https://github.com/hashicorp/terraform/issues/449))
- * providers/aws: Drain autoscale groups before deleting. ([#435](https://github.com/hashicorp/terraform/issues/435))
- * providers/aws: Fix crash case if launch config is manually deleted. ([#421](https://github.com/hashicorp/terraform/issues/421))
- * providers/aws: Disassociate EIP before destroying.
- * providers/aws: ELB treats subnets as a set.
- * providers/aws: Fix case where in a destroy/create tags weren't reapplied. ([#464](https://github.com/hashicorp/terraform/issues/464))
- * providers/aws: Fix incorrect/erroneous apply cases around security group
- rules. ([#457](https://github.com/hashicorp/terraform/issues/457))
- * providers/consul: Fix regression where `key` param changed to `keys. ([#475](https://github.com/hashicorp/terraform/issues/475))
-
-## 0.3.0 (October 14, 2014)
-
-FEATURES:
-
- * **Modules**: Configuration can now be modularized. Modules can live on
- GitHub, BitBucket, Git/Hg repos, HTTP URLs, and file paths. Terraform
- automatically downloads/updates modules for you on request.
- * **New Command: `init`**. This command initializes a Terraform configuration
- from an existing Terraform module (also new in 0.3).
- * **New Command: `destroy`**. This command destroys infrastructure
- created with `apply`.
- * Terraform will ask for user input to fill in required variables and
- provider configurations if they aren't set.
- * `terraform apply MODULE` can be used as a shorthand to quickly build
- infrastructure from a module.
- * The state file format is now JSON rather than binary. This allows for
- easier machine and human read/write. Old binary state files will be
- automatically upgraded.
- * You can now specify `create_before_destroy` as an option for replacement
- so that new resources are created before the old ones are destroyed.
- * The `count` metaparameter can now contain interpolations (such as
- variables).
- * The current index for a resource with a `count` set can be interpolated
- using `${count.index}`.
- * Various paths can be interpolated with the `path.X` variables. For example,
- the path to the current module can be interpolated using `${path.module}`.
-
-IMPROVEMENTS:
-
- * config: Trailing commas are now allowed for the final elements of lists.
- * core: Plugins are loaded from `~/.terraform.d/plugins` (Unix) or
- `%USERDATA%/terraform.d/plugins` (Windows).
- * command/show: With no arguments, it will show the default state. ([#349](https://github.com/hashicorp/terraform/issues/349))
- * helper/schema: Can now have default values. ([#245](https://github.com/hashicorp/terraform/issues/245))
- * providers/aws: Tag support for most resources.
- * providers/aws: New resource `db_subnet_group`. ([#295](https://github.com/hashicorp/terraform/issues/295))
- * providers/aws: Add `map_public_ip_on_launch` for subnets. ([#285](https://github.com/hashicorp/terraform/issues/285))
- * providers/aws: Add `iam_instance_profile` for instances. ([#319](https://github.com/hashicorp/terraform/issues/319))
- * providers/aws: Add `internal` option for ELBs. ([#303](https://github.com/hashicorp/terraform/issues/303))
- * providers/aws: Add `ssl_certificate_id` for ELB listeners. ([#350](https://github.com/hashicorp/terraform/issues/350))
- * providers/aws: Add `self` option for security groups for ingress
- rules with self as source. ([#303](https://github.com/hashicorp/terraform/issues/303))
- * providers/aws: Add `iam_instance_profile` option to
- `aws_launch_configuration`. ([#371](https://github.com/hashicorp/terraform/issues/371))
- * providers/aws: Non-destructive update of `desired_capacity` for
- autoscale groups.
- * providers/aws: Add `main_route_table_id` attribute to VPCs. ([#193](https://github.com/hashicorp/terraform/issues/193))
- * providers/consul: Support tokens. ([#396](https://github.com/hashicorp/terraform/issues/396))
- * providers/google: Support `target_tags` for firewalls. ([#324](https://github.com/hashicorp/terraform/issues/324))
- * providers/google: `google_compute_instance` supports `can_ip_forward` ([#375](https://github.com/hashicorp/terraform/issues/375))
- * providers/google: `google_compute_disk` supports `type` to support disks
- such as SSDs. ([#351](https://github.com/hashicorp/terraform/issues/351))
- * provisioners/local-exec: Output from command is shown in CLI output. ([#311](https://github.com/hashicorp/terraform/issues/311))
- * provisioners/remote-exec: Output from command is shown in CLI output. ([#311](https://github.com/hashicorp/terraform/issues/311))
-
-BUG FIXES:
-
- * core: Providers are validated even without a `provider` block. ([#284](https://github.com/hashicorp/terraform/issues/284))
- * core: In the case of error, walk all non-dependent trees.
- * core: Plugin loading from CWD works properly.
- * core: Fix many edge cases surrounding the `count` meta-parameter.
- * core: Strings in the configuration can escape double-quotes with the
- standard `\"` syntax.
- * core: Error parsing CLI config will show properly. ([#288](https://github.com/hashicorp/terraform/issues/288))
- * core: More than one Ctrl-C will exit immediately.
- * providers/aws: autoscaling_group can be launched into a vpc ([#259](https://github.com/hashicorp/terraform/issues/259))
- * providers/aws: not an error when RDS instance is deleted manually. ([#307](https://github.com/hashicorp/terraform/issues/307))
- * providers/aws: Retry deleting subnet for some time while AWS eventually
- destroys dependencies. ([#357](https://github.com/hashicorp/terraform/issues/357))
- * providers/aws: More robust destroy for route53 records. ([#342](https://github.com/hashicorp/terraform/issues/342))
- * providers/aws: ELB generates much more correct plans without extraneous
- data.
- * providers/aws: ELB works properly with dynamically changing
- count of instances.
- * providers/aws: Terraform can handle ELBs deleted manually. ([#304](https://github.com/hashicorp/terraform/issues/304))
- * providers/aws: Report errors properly if RDS fails to delete. ([#310](https://github.com/hashicorp/terraform/issues/310))
- * providers/aws: Wait for launch configuration to exist after creation
- (AWS eventual consistency) ([#302](https://github.com/hashicorp/terraform/issues/302))
-
-## 0.2.2 (September 9, 2014)
-
-IMPROVEMENTS:
-
- * providers/amazon: Add `ebs_optimized` flag. ([#260](https://github.com/hashicorp/terraform/issues/260))
- * providers/digitalocean: Handle 404 on delete
- * providers/digitalocean: Add `user_data` argument for creating droplets
- * providers/google: Disks can be marked `auto_delete`. ([#254](https://github.com/hashicorp/terraform/issues/254))
-
-BUG FIXES:
-
- * core: Fix certain syntax of configuration that could cause hang. ([#261](https://github.com/hashicorp/terraform/issues/261))
- * core: `-no-color` flag properly disables color. ([#250](https://github.com/hashicorp/terraform/issues/250))
- * core: "~" is expanded in `-var-file` flags. ([#273](https://github.com/hashicorp/terraform/issues/273))
- * core: Errors with tfvars are shown in console. ([#269](https://github.com/hashicorp/terraform/issues/269))
- * core: Interpolation function calls with more than two args parse. ([#282](https://github.com/hashicorp/terraform/issues/282))
- * providers/aws: Refreshing EIP from pre-0.2 state file won't error. ([#258](https://github.com/hashicorp/terraform/issues/258))
- * providers/aws: Creating EIP without an instance/network won't fail.
- * providers/aws: Refreshing EIP manually deleted works.
- * providers/aws: Retry EIP delete to allow AWS eventual consistency to
- detect it isn't attached. ([#276](https://github.com/hashicorp/terraform/issues/276))
- * providers/digitalocean: Handle situations when resource was destroyed
- manually. ([#279](https://github.com/hashicorp/terraform/issues/279))
- * providers/digitalocean: Fix a couple scenarios where the diff was
- incorrect (and therefore the execution as well).
- * providers/google: Attaching a disk source (not an image) works
- properly. ([#254](https://github.com/hashicorp/terraform/issues/254))
-
-## 0.2.1 (August 31, 2014)
-
-IMPROVEMENTS:
-
- * core: Plugins are automatically discovered in the executable directory
- or pwd if named properly. ([#190](https://github.com/hashicorp/terraform/issues/190))
- * providers/mailgun: domain records are now saved to state
-
-BUG FIXES:
-
- * core: Configuration parses when identifier and '=' have no space. ([#243](https://github.com/hashicorp/terraform/issues/243))
- * core: `depends_on` with `count` generates the proper graph. ([#244](https://github.com/hashicorp/terraform/issues/244))
- * core: Depending on a computed variable of a list type generates a
- plan without failure. i.e. `${type.name.foos.0.bar}` where `foos`
- is computed. ([#247](https://github.com/hashicorp/terraform/issues/247))
- * providers/aws: Route53 destroys in parallel work properly. ([#183](https://github.com/hashicorp/terraform/issues/183))
-
-## 0.2.0 (August 28, 2014)
-
-BACKWARDS INCOMPATIBILITIES:
-
- * We've replaced the configuration language in use from a C library to
- a pure-Go reimplementation. In the process, we removed some features
- of the language since it was too flexible:
- * Semicolons are no longer valid at the end of lines
- * Keys cannot be double-quoted strings: `"foo" = "bar"` is no longer
- valid.
- * JSON style maps `{ "foo": "bar" }` are no longer valid outside of JSON.
- Maps must be in the format of `{ foo = "bar" }` (like other objects
- in the config)
- * Heroku apps now require (will not validate without) `region` and
- `name` due to an upstream API change. ([#239](https://github.com/hashicorp/terraform/issues/239))
-
-FEATURES:
-
- * **New Provider: `google`**: Manage Google Compute instances, disks,
- firewalls, and more.
- * **New Provider: `mailgun`**: Manage mailgun domains.
- * **New Function: `concat`**: Concatenate multiple strings together.
- Example: `concat(var.region, "-", var.channel)`.
-
-IMPROVEMENTS:
-
- * core: "~/.terraformrc" (Unix) or "%APPDATA%/terraform.rc" (Windows)
- can be used to configure custom providers and provisioners. ([#192](https://github.com/hashicorp/terraform/issues/192))
- * providers/aws: EIPs now expose `allocation_id` and `public_ip`
- attributes.
- * providers/aws: Security group rules can be updated without a
- destroy/create.
- * providers/aws: You can enable and disable dns settings for VPCs. ([#172](https://github.com/hashicorp/terraform/issues/172))
- * providers/aws: Can specify a private IP address for `aws_instance` ([#217](https://github.com/hashicorp/terraform/issues/217))
-
-BUG FIXES:
-
- * core: Variables are validated to not contain interpolations. ([#180](https://github.com/hashicorp/terraform/issues/180))
- * core: Key files for provisioning can now contain `~` and will be expanded
- to the user's home directory. ([#179](https://github.com/hashicorp/terraform/issues/179))
- * core: The `file()` function can load files in sub-directories. ([#213](https://github.com/hashicorp/terraform/issues/213))
- * core: Fix issue where some JSON structures didn't map properly into
- Terraform structures. ([#177](https://github.com/hashicorp/terraform/issues/177))
- * core: Resources with only `file()` calls will interpolate. ([#159](https://github.com/hashicorp/terraform/issues/159))
- * core: Variables work in block names. ([#234](https://github.com/hashicorp/terraform/issues/234))
- * core: Plugins are searched for in the same directory as the executable
- before the PATH. ([#157](https://github.com/hashicorp/terraform/issues/157))
- * command/apply: "tfvars" file no longer interferes with plan apply. ([#153](https://github.com/hashicorp/terraform/issues/153))
- * providers/aws: Fix issues around failing to read EIPs. ([#122](https://github.com/hashicorp/terraform/issues/122))
- * providers/aws: Autoscaling groups now register and export load
- balancers. ([#207](https://github.com/hashicorp/terraform/issues/207))
- * providers/aws: Ingress results are treated as a set, so order doesn't
- matter anymore. ([#87](https://github.com/hashicorp/terraform/issues/87))
- * providers/aws: Instance security groups treated as a set ([#194](https://github.com/hashicorp/terraform/issues/194))
- * providers/aws: Retry Route53 requests if operation failed because another
- operation is in progress ([#183](https://github.com/hashicorp/terraform/issues/183))
- * providers/aws: Route53 records with multiple record values work. ([#221](https://github.com/hashicorp/terraform/issues/221))
- * providers/aws: Changing AMI doesn't result in errors anymore. ([#196](https://github.com/hashicorp/terraform/issues/196))
- * providers/heroku: If you delete the `config_vars` block, config vars
- are properly nuked.
- * providers/heroku: Domains and drains are deleted before the app.
- * providers/heroku: Moved from the client library bgentry/heroku-go to
- cyberdelia/heroku-go ([#239](https://github.com/hashicorp/terraform/issues/239)).
- * providers/heroku: Plans without a specific plan name for
- heroku\_addon work. ([#198](https://github.com/hashicorp/terraform/issues/198))
-
-PLUGIN CHANGES:
-
- * **New Package:** `helper/schema`. This introduces a high-level framework
- for easily writing new providers and resources. The Heroku provider has
- been converted to this as an example.
-
-## 0.1.1 (August 5, 2014)
-
-FEATURES:
-
- * providers/heroku: Now supports creating Heroku Drains ([#97](https://github.com/hashicorp/terraform/issues/97))
-
-IMPROVEMENTS:
-
- * providers/aws: Launch configurations accept user data ([#94](https://github.com/hashicorp/terraform/issues/94))
- * providers/aws: Regions are now validated ([#96](https://github.com/hashicorp/terraform/issues/96))
- * providers/aws: ELB now supports health check configurations ([#109](https://github.com/hashicorp/terraform/issues/109))
-
-BUG FIXES:
-
- * core: Default variable file "terraform.tfvars" is auto-loaded. ([#59](https://github.com/hashicorp/terraform/issues/59))
- * core: Multi-variables (`foo.*.bar`) work even when `count = 1`. ([#115](https://github.com/hashicorp/terraform/issues/115))
- * core: `file()` function can have string literal arg ([#145](https://github.com/hashicorp/terraform/issues/145))
- * providers/cloudflare: Include the proper bins so the cloudflare
- provider is compiled
- * providers/aws: Engine version for RDS now properly set ([#118](https://github.com/hashicorp/terraform/issues/118))
- * providers/aws: Security groups now depend on each other and
- * providers/aws: DB instances now wait for destroys, have proper
- dependencies and allow passing skip_final_snapshot
- * providers/aws: Add associate_public_ip_address as an attribute on
- the aws_instance resource ([#85](https://github.com/hashicorp/terraform/issues/85))
- * providers/aws: Fix cidr blocks being updated [GH-65, GH-85]
- * providers/aws: Description is now required for security groups
- * providers/digitalocean: Private IP addresses are now a separate
- attribute
- * provisioner/all: If an SSH key is given with a password, a better
- error message is shown. ([#73](https://github.com/hashicorp/terraform/issues/73))
-
-## 0.1.0 (July 28, 2014)
-
- * Initial release
diff --git a/vendor/github.com/hashicorp/terraform/LICENSE b/vendor/github.com/hashicorp/terraform/LICENSE
deleted file mode 100644
index c33dcc7..0000000
--- a/vendor/github.com/hashicorp/terraform/LICENSE
+++ /dev/null
@@ -1,354 +0,0 @@
-Mozilla Public License, version 2.0
-
-1. Definitions
-
-1.1. “Contributor”
-
- means each individual or legal entity that creates, contributes to the
- creation of, or owns Covered Software.
-
-1.2. “Contributor Version”
-
- means the combination of the Contributions of others (if any) used by a
- Contributor and that particular Contributor’s Contribution.
-
-1.3. “Contribution”
-
- means Covered Software of a particular Contributor.
-
-1.4. “Covered Software”
-
- means Source Code Form to which the initial Contributor has attached the
- notice in Exhibit A, the Executable Form of such Source Code Form, and
- Modifications of such Source Code Form, in each case including portions
- thereof.
-
-1.5. “Incompatible With Secondary Licenses”
- means
-
- a. that the initial Contributor has attached the notice described in
- Exhibit B to the Covered Software; or
-
- b. that the Covered Software was made available under the terms of version
- 1.1 or earlier of the License, but not also under the terms of a
- Secondary License.
-
-1.6. “Executable Form”
-
- means any form of the work other than Source Code Form.
-
-1.7. “Larger Work”
-
- means a work that combines Covered Software with other material, in a separate
- file or files, that is not Covered Software.
-
-1.8. “License”
-
- means this document.
-
-1.9. “Licensable”
-
- means having the right to grant, to the maximum extent possible, whether at the
- time of the initial grant or subsequently, any and all of the rights conveyed by
- this License.
-
-1.10. “Modifications”
-
- means any of the following:
-
- a. any file in Source Code Form that results from an addition to, deletion
- from, or modification of the contents of Covered Software; or
-
- b. any new file in Source Code Form that contains any Covered Software.
-
-1.11. “Patent Claims” of a Contributor
-
- means any patent claim(s), including without limitation, method, process,
- and apparatus claims, in any patent Licensable by such Contributor that
- would be infringed, but for the grant of the License, by the making,
- using, selling, offering for sale, having made, import, or transfer of
- either its Contributions or its Contributor Version.
-
-1.12. “Secondary License”
-
- means either the GNU General Public License, Version 2.0, the GNU Lesser
- General Public License, Version 2.1, the GNU Affero General Public
- License, Version 3.0, or any later versions of those licenses.
-
-1.13. “Source Code Form”
-
- means the form of the work preferred for making modifications.
-
-1.14. “You” (or “Your”)
-
- means an individual or a legal entity exercising rights under this
- License. For legal entities, “You” includes any entity that controls, is
- controlled by, or is under common control with You. For purposes of this
- definition, “control” means (a) the power, direct or indirect, to cause
- the direction or management of such entity, whether by contract or
- otherwise, or (b) ownership of more than fifty percent (50%) of the
- outstanding shares or beneficial ownership of such entity.
-
-
-2. License Grants and Conditions
-
-2.1. Grants
-
- Each Contributor hereby grants You a world-wide, royalty-free,
- non-exclusive license:
-
- a. under intellectual property rights (other than patent or trademark)
- Licensable by such Contributor to use, reproduce, make available,
- modify, display, perform, distribute, and otherwise exploit its
- Contributions, either on an unmodified basis, with Modifications, or as
- part of a Larger Work; and
-
- b. under Patent Claims of such Contributor to make, use, sell, offer for
- sale, have made, import, and otherwise transfer either its Contributions
- or its Contributor Version.
-
-2.2. Effective Date
-
- The licenses granted in Section 2.1 with respect to any Contribution become
- effective for each Contribution on the date the Contributor first distributes
- such Contribution.
-
-2.3. Limitations on Grant Scope
-
- The licenses granted in this Section 2 are the only rights granted under this
- License. No additional rights or licenses will be implied from the distribution
- or licensing of Covered Software under this License. Notwithstanding Section
- 2.1(b) above, no patent license is granted by a Contributor:
-
- a. for any code that a Contributor has removed from Covered Software; or
-
- b. for infringements caused by: (i) Your and any other third party’s
- modifications of Covered Software, or (ii) the combination of its
- Contributions with other software (except as part of its Contributor
- Version); or
-
- c. under Patent Claims infringed by Covered Software in the absence of its
- Contributions.
-
- This License does not grant any rights in the trademarks, service marks, or
- logos of any Contributor (except as may be necessary to comply with the
- notice requirements in Section 3.4).
-
-2.4. Subsequent Licenses
-
- No Contributor makes additional grants as a result of Your choice to
- distribute the Covered Software under a subsequent version of this License
- (see Section 10.2) or under the terms of a Secondary License (if permitted
- under the terms of Section 3.3).
-
-2.5. Representation
-
- Each Contributor represents that the Contributor believes its Contributions
- are its original creation(s) or it has sufficient rights to grant the
- rights to its Contributions conveyed by this License.
-
-2.6. Fair Use
-
- This License is not intended to limit any rights You have under applicable
- copyright doctrines of fair use, fair dealing, or other equivalents.
-
-2.7. Conditions
-
- Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted in
- Section 2.1.
-
-
-3. Responsibilities
-
-3.1. Distribution of Source Form
-
- All distribution of Covered Software in Source Code Form, including any
- Modifications that You create or to which You contribute, must be under the
- terms of this License. You must inform recipients that the Source Code Form
- of the Covered Software is governed by the terms of this License, and how
- they can obtain a copy of this License. You may not attempt to alter or
- restrict the recipients’ rights in the Source Code Form.
-
-3.2. Distribution of Executable Form
-
- If You distribute Covered Software in Executable Form then:
-
- a. such Covered Software must also be made available in Source Code Form,
- as described in Section 3.1, and You must inform recipients of the
- Executable Form how they can obtain a copy of such Source Code Form by
- reasonable means in a timely manner, at a charge no more than the cost
- of distribution to the recipient; and
-
- b. You may distribute such Executable Form under the terms of this License,
- or sublicense it under different terms, provided that the license for
- the Executable Form does not attempt to limit or alter the recipients’
- rights in the Source Code Form under this License.
-
-3.3. Distribution of a Larger Work
-
- You may create and distribute a Larger Work under terms of Your choice,
- provided that You also comply with the requirements of this License for the
- Covered Software. If the Larger Work is a combination of Covered Software
- with a work governed by one or more Secondary Licenses, and the Covered
- Software is not Incompatible With Secondary Licenses, this License permits
- You to additionally distribute such Covered Software under the terms of
- such Secondary License(s), so that the recipient of the Larger Work may, at
- their option, further distribute the Covered Software under the terms of
- either this License or such Secondary License(s).
-
-3.4. Notices
-
- You may not remove or alter the substance of any license notices (including
- copyright notices, patent notices, disclaimers of warranty, or limitations
- of liability) contained within the Source Code Form of the Covered
- Software, except that You may alter any license notices to the extent
- required to remedy known factual inaccuracies.
-
-3.5. Application of Additional Terms
-
- You may choose to offer, and to charge a fee for, warranty, support,
- indemnity or liability obligations to one or more recipients of Covered
- Software. However, You may do so only on Your own behalf, and not on behalf
- of any Contributor. You must make it absolutely clear that any such
- warranty, support, indemnity, or liability obligation is offered by You
- alone, and You hereby agree to indemnify every Contributor for any
- liability incurred by such Contributor as a result of warranty, support,
- indemnity or liability terms You offer. You may include additional
- disclaimers of warranty and limitations of liability specific to any
- jurisdiction.
-
-4. Inability to Comply Due to Statute or Regulation
-
- If it is impossible for You to comply with any of the terms of this License
- with respect to some or all of the Covered Software due to statute, judicial
- order, or regulation then You must: (a) comply with the terms of this License
- to the maximum extent possible; and (b) describe the limitations and the code
- they affect. Such description must be placed in a text file included with all
- distributions of the Covered Software under this License. Except to the
- extent prohibited by statute or regulation, such description must be
- sufficiently detailed for a recipient of ordinary skill to be able to
- understand it.
-
-5. Termination
-
-5.1. The rights granted under this License will terminate automatically if You
- fail to comply with any of its terms. However, if You become compliant,
- then the rights granted under this License from a particular Contributor
- are reinstated (a) provisionally, unless and until such Contributor
- explicitly and finally terminates Your grants, and (b) on an ongoing basis,
- if such Contributor fails to notify You of the non-compliance by some
- reasonable means prior to 60 days after You have come back into compliance.
- Moreover, Your grants from a particular Contributor are reinstated on an
- ongoing basis if such Contributor notifies You of the non-compliance by
- some reasonable means, this is the first time You have received notice of
- non-compliance with this License from such Contributor, and You become
- compliant prior to 30 days after Your receipt of the notice.
-
-5.2. If You initiate litigation against any entity by asserting a patent
- infringement claim (excluding declaratory judgment actions, counter-claims,
- and cross-claims) alleging that a Contributor Version directly or
- indirectly infringes any patent, then the rights granted to You by any and
- all Contributors for the Covered Software under Section 2.1 of this License
- shall terminate.
-
-5.3. In the event of termination under Sections 5.1 or 5.2 above, all end user
- license agreements (excluding distributors and resellers) which have been
- validly granted by You or Your distributors under this License prior to
- termination shall survive termination.
-
-6. Disclaimer of Warranty
-
- Covered Software is provided under this License on an “as is” basis, without
- warranty of any kind, either expressed, implied, or statutory, including,
- without limitation, warranties that the Covered Software is free of defects,
- merchantable, fit for a particular purpose or non-infringing. The entire
- risk as to the quality and performance of the Covered Software is with You.
- Should any Covered Software prove defective in any respect, You (not any
- Contributor) assume the cost of any necessary servicing, repair, or
- correction. This disclaimer of warranty constitutes an essential part of this
- License. No use of any Covered Software is authorized under this License
- except under this disclaimer.
-
-7. Limitation of Liability
-
- Under no circumstances and under no legal theory, whether tort (including
- negligence), contract, or otherwise, shall any Contributor, or anyone who
- distributes Covered Software as permitted above, be liable to You for any
- direct, indirect, special, incidental, or consequential damages of any
- character including, without limitation, damages for lost profits, loss of
- goodwill, work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses, even if such party shall have been
- informed of the possibility of such damages. This limitation of liability
- shall not apply to liability for death or personal injury resulting from such
- party’s negligence to the extent applicable law prohibits such limitation.
- Some jurisdictions do not allow the exclusion or limitation of incidental or
- consequential damages, so this exclusion and limitation may not apply to You.
-
-8. Litigation
-
- Any litigation relating to this License may be brought only in the courts of
- a jurisdiction where the defendant maintains its principal place of business
- and such litigation shall be governed by laws of that jurisdiction, without
- reference to its conflict-of-law provisions. Nothing in this Section shall
- prevent a party’s ability to bring cross-claims or counter-claims.
-
-9. Miscellaneous
-
- This License represents the complete agreement concerning the subject matter
- hereof. If any provision of this License is held to be unenforceable, such
- provision shall be reformed only to the extent necessary to make it
- enforceable. Any law or regulation which provides that the language of a
- contract shall be construed against the drafter shall not be used to construe
- this License against a Contributor.
-
-
-10. Versions of the License
-
-10.1. New Versions
-
- Mozilla Foundation is the license steward. Except as provided in Section
- 10.3, no one other than the license steward has the right to modify or
- publish new versions of this License. Each version will be given a
- distinguishing version number.
-
-10.2. Effect of New Versions
-
- You may distribute the Covered Software under the terms of the version of
- the License under which You originally received the Covered Software, or
- under the terms of any subsequent version published by the license
- steward.
-
-10.3. Modified Versions
-
- If you create software not governed by this License, and you want to
- create a new license for such software, you may create and use a modified
- version of this License if you rename the license and remove any
- references to the name of the license steward (except to note that such
- modified license differs from this License).
-
-10.4. Distributing Source Code Form that is Incompatible With Secondary Licenses
- If You choose to distribute Source Code Form that is Incompatible With
- Secondary Licenses under the terms of this version of the License, the
- notice described in Exhibit B of this License must be attached.
-
-Exhibit A - Source Code Form License Notice
-
- This Source Code Form is subject to the
- terms of the Mozilla Public License, v.
- 2.0. If a copy of the MPL was not
- distributed with this file, You can
- obtain one at
- http://mozilla.org/MPL/2.0/.
-
-If it is not possible or desirable to put the notice in a particular file, then
-You may include the notice in a location (such as a LICENSE file in a relevant
-directory) where a recipient would be likely to look for such a notice.
-
-You may add additional accurate notices of copyright ownership.
-
-Exhibit B - “Incompatible With Secondary Licenses” Notice
-
- This Source Code Form is “Incompatible
- With Secondary Licenses”, as defined by
- the Mozilla Public License, v. 2.0.
-
diff --git a/vendor/github.com/hashicorp/terraform/Makefile b/vendor/github.com/hashicorp/terraform/Makefile
deleted file mode 100644
index 836824e..0000000
--- a/vendor/github.com/hashicorp/terraform/Makefile
+++ /dev/null
@@ -1,95 +0,0 @@
-TEST?=$$(go list ./... | grep -v '/terraform/vendor/' | grep -v '/builtin/bins/')
-VETARGS?=-all
-GOFMT_FILES?=$$(find . -name '*.go' | grep -v vendor)
-
-default: test vet
-
-tools:
- go get -u github.com/kardianos/govendor
- go get -u golang.org/x/tools/cmd/stringer
- go get -u golang.org/x/tools/cmd/cover
-
-# bin generates the releaseable binaries for Terraform
-bin: fmtcheck generate
- @TF_RELEASE=1 sh -c "'$(CURDIR)/scripts/build.sh'"
-
-# dev creates binaries for testing Terraform locally. These are put
-# into ./bin/ as well as $GOPATH/bin
-dev: fmtcheck generate
- @TF_DEV=1 sh -c "'$(CURDIR)/scripts/build.sh'"
-
-quickdev: generate
- @TF_DEV=1 sh -c "'$(CURDIR)/scripts/build.sh'"
-
-# Shorthand for quickly building the core of Terraform. Note that some
-# changes will require a rebuild of everything, in which case the dev
-# target should be used.
-core-dev: generate
- go install -tags 'core' github.com/hashicorp/terraform
-
-# Shorthand for quickly testing the core of Terraform (i.e. "not providers")
-core-test: generate
- @echo "Testing core packages..." && \
- go test -tags 'core' $(TESTARGS) $(shell go list ./... | grep -v -E 'terraform/(builtin|vendor)')
-
-# Shorthand for building and installing just one plugin for local testing.
-# Run as (for example): make plugin-dev PLUGIN=provider-aws
-plugin-dev: generate
- go install github.com/hashicorp/terraform/builtin/bins/$(PLUGIN)
- mv $(GOPATH)/bin/$(PLUGIN) $(GOPATH)/bin/terraform-$(PLUGIN)
-
-# test runs the unit tests
-test: fmtcheck errcheck generate
- TF_ACC= go test $(TEST) $(TESTARGS) -timeout=30s -parallel=4
-
-# testacc runs acceptance tests
-testacc: fmtcheck generate
- @if [ "$(TEST)" = "./..." ]; then \
- echo "ERROR: Set TEST to a specific package. For example,"; \
- echo " make testacc TEST=./builtin/providers/aws"; \
- exit 1; \
- fi
- TF_ACC=1 go test $(TEST) -v $(TESTARGS) -timeout 120m
-
-# testrace runs the race checker
-testrace: fmtcheck generate
- TF_ACC= go test -race $(TEST) $(TESTARGS)
-
-cover:
- @go tool cover 2>/dev/null; if [ $$? -eq 3 ]; then \
- go get -u golang.org/x/tools/cmd/cover; \
- fi
- go test $(TEST) -coverprofile=coverage.out
- go tool cover -html=coverage.out
- rm coverage.out
-
-# vet runs the Go source code static analysis tool `vet` to find
-# any common errors.
-vet:
- @echo "go tool vet $(VETARGS) ."
- @go tool vet $(VETARGS) $$(ls -d */ | grep -v vendor) ; if [ $$? -eq 1 ]; then \
- echo ""; \
- echo "Vet found suspicious constructs. Please check the reported constructs"; \
- echo "and fix them if necessary before submitting the code for review."; \
- exit 1; \
- fi
-
-# generate runs `go generate` to build the dynamically generated
-# source files.
-generate:
- @which stringer > /dev/null; if [ $$? -ne 0 ]; then \
- go get -u golang.org/x/tools/cmd/stringer; \
- fi
- go generate $$(go list ./... | grep -v /terraform/vendor/)
- @go fmt command/internal_plugin_list.go > /dev/null
-
-fmt:
- gofmt -w $(GOFMT_FILES)
-
-fmtcheck:
- @sh -c "'$(CURDIR)/scripts/gofmtcheck.sh'"
-
-errcheck:
- @sh -c "'$(CURDIR)/scripts/errcheck.sh'"
-
-.PHONY: bin default generate test vet fmt fmtcheck tools
diff --git a/vendor/github.com/hashicorp/terraform/README.md b/vendor/github.com/hashicorp/terraform/README.md
deleted file mode 100644
index d24bd4b..0000000
--- a/vendor/github.com/hashicorp/terraform/README.md
+++ /dev/null
@@ -1,154 +0,0 @@
-Terraform
-=========
-
-- Website: http://www.terraform.io
-- IRC: `#terraform-tool` on Freenode
-- Mailing list: [Google Groups](http://groups.google.com/group/terraform-tool)
-
-![Terraform](https://raw.githubusercontent.com/hashicorp/terraform/master/website/source/assets/images/readme.png)
-
-Terraform is a tool for building, changing, and versioning infrastructure safely and efficiently. Terraform can manage existing and popular service providers as well as custom in-house solutions.
-
-The key features of Terraform are:
-
-- **Infrastructure as Code**: Infrastructure is described using a high-level configuration syntax. This allows a blueprint of your datacenter to be versioned and treated as you would any other code. Additionally, infrastructure can be shared and re-used.
-
-- **Execution Plans**: Terraform has a "planning" step where it generates an *execution plan*. The execution plan shows what Terraform will do when you call apply. This lets you avoid any surprises when Terraform manipulates infrastructure.
-
-- **Resource Graph**: Terraform builds a graph of all your resources, and parallelizes the creation and modification of any non-dependent resources. Because of this, Terraform builds infrastructure as efficiently as possible, and operators get insight into dependencies in their infrastructure.
-
-- **Change Automation**: Complex changesets can be applied to your infrastructure with minimal human interaction. With the previously mentioned execution plan and resource graph, you know exactly what Terraform will change and in what order, avoiding many possible human errors.
-
-For more information, see the [introduction section](http://www.terraform.io/intro) of the Terraform website.
-
-Getting Started & Documentation
--------------------------------
-
-All documentation is available on the [Terraform website](http://www.terraform.io).
-
-Developing Terraform
---------------------
-
-If you wish to work on Terraform itself or any of its built-in providers, you'll first need [Go](http://www.golang.org) installed on your machine (version 1.7+ is *required*). Alternatively, you can use the Vagrantfile in the root of this repo to stand up a virtual machine with the appropriate dev tooling already set up for you.
-
-For local dev first make sure Go is properly installed, including setting up a [GOPATH](http://golang.org/doc/code.html#GOPATH). You will also need to add `$GOPATH/bin` to your `$PATH`.
-
-Next, using [Git](https://git-scm.com/), clone this repository into `$GOPATH/src/github.com/hashicorp/terraform`. All the necessary dependencies are either vendored or automatically installed, so you just need to type `make`. This will compile the code and then run the tests. If this exits with exit status 0, then everything is working!
-
-```sh
-$ cd $GOPATH/src/github.com/hashicorp/terraform
-$ make
-```
-
-To compile a development version of Terraform and the built-in plugins, run `make dev`. This will build everything using [gox](https://github.com/mitchellh/gox) and put Terraform binaries in the `bin` and `$GOPATH/bin` folders:
-
-```sh
-$ make dev
-...
-$ bin/terraform
-...
-```
-
-If you're developing a specific package, you can run tests for just that package by specifying the `TEST` variable. For example below, only`terraform` package tests will be run.
-
-```sh
-$ make test TEST=./terraform
-...
-```
-
-If you're working on a specific provider and only wish to rebuild that provider, you can use the `plugin-dev` target. For example, to build only the Azure provider:
-
-```sh
-$ make plugin-dev PLUGIN=provider-azure
-```
-
-If you're working on the core of Terraform, and only wish to rebuild that without rebuilding providers, you can use the `core-dev` target. It is important to note that some types of changes may require both core and providers to be rebuilt - for example work on the RPC interface. To build just the core of Terraform:
-
-```sh
-$ make core-dev
-```
-
-### Dependencies
-
-Terraform stores its dependencies under `vendor/`, which [Go 1.6+ will automatically recognize and load](https://golang.org/cmd/go/#hdr-Vendor_Directories). We use [`govendor`](https://github.com/kardianos/govendor) to manage the vendored dependencies.
-
-If you're developing Terraform, there are a few tasks you might need to perform.
-
-#### Adding a dependency
-
-If you're adding a dependency, you'll need to vendor it in the same Pull Request as the code that depends on it. You should do this in a separate commit from your code, as makes PR review easier and Git history simpler to read in the future.
-
-To add a dependency:
-
-Assuming your work is on a branch called `my-feature-branch`, the steps look like this:
-
-1. Add the new package to your GOPATH:
-
- ```bash
- go get github.com/hashicorp/my-project
- ```
-
-2. Add the new package to your vendor/ directory:
-
- ```bash
- govendor add github.com/hashicorp/my-project/package
- ```
-
-3. Review the changes in git and commit them.
-
-#### Updating a dependency
-
-To update a dependency:
-
-1. Fetch the dependency:
-
- ```bash
- govendor fetch github.com/hashicorp/my-project
- ```
-
-2. Review the changes in git and commit them.
-
-### Acceptance Tests
-
-Terraform has a comprehensive [acceptance
-test](http://en.wikipedia.org/wiki/Acceptance_testing) suite covering the
-built-in providers. Our [Contributing Guide](https://github.com/hashicorp/terraform/blob/master/.github/CONTRIBUTING.md) includes details about how and when to write and run acceptance tests in order to help contributions get accepted quickly.
-
-
-### Cross Compilation and Building for Distribution
-
-If you wish to cross-compile Terraform for another architecture, you can set the `XC_OS` and `XC_ARCH` environment variables to values representing the target operating system and architecture before calling `make`. The output is placed in the `pkg` subdirectory tree both expanded in a directory representing the OS/architecture combination and as a ZIP archive.
-
-For example, to compile 64-bit Linux binaries on Mac OS X Linux, you can run:
-
-```sh
-$ XC_OS=linux XC_ARCH=amd64 make bin
-...
-$ file pkg/linux_amd64/terraform
-terraform: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, not stripped
-```
-
-`XC_OS` and `XC_ARCH` can be space separated lists representing different combinations of operating system and architecture. For example, to compile for both Linux and Mac OS X, targeting both 32- and 64-bit architectures, you can run:
-
-```sh
-$ XC_OS="linux darwin" XC_ARCH="386 amd64" make bin
-...
-$ tree ./pkg/ -P "terraform|*.zip"
-./pkg/
-├── darwin_386
-│ └── terraform
-├── darwin_386.zip
-├── darwin_amd64
-│ └── terraform
-├── darwin_amd64.zip
-├── linux_386
-│ └── terraform
-├── linux_386.zip
-├── linux_amd64
-│ └── terraform
-└── linux_amd64.zip
-
-4 directories, 8 files
-```
-
-_Note: Cross-compilation uses [gox](https://github.com/mitchellh/gox), which requires toolchains to be built with versions of Go prior to 1.5. In order to successfully cross-compile with older versions of Go, you will need to run `gox -build-toolchain` before running the commands detailed above._
diff --git a/vendor/github.com/hashicorp/terraform/Vagrantfile b/vendor/github.com/hashicorp/terraform/Vagrantfile
deleted file mode 100644
index a41bd82..0000000
--- a/vendor/github.com/hashicorp/terraform/Vagrantfile
+++ /dev/null
@@ -1,76 +0,0 @@
-# -*- mode: ruby -*-
-# vi: set ft=ruby :
-
-# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
-VAGRANTFILE_API_VERSION = "2"
-
-$script = <